2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Cycript 0.9.
5 # Report bugs to <saurik@saurik.com>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
14 # Copyright (C) 2009-2012 Jay Freeman (saurik)
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE
=1; export DUALCASE
# for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print
-rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
57 as_echo_n='/usr
/ucb
/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh
-c $as_echo_n_body as_echo
'
73 as_echo='sh
-c $as_echo_body as_echo
'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x
; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var
in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\
${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
137 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
139 # Use a proper internal environment variable to ensure we don't fall
140 # into an infinite loop, continuously re-executing ourselves.
141 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
142 _as_can_reexec
=no
; export _as_can_reexec
;
143 # We cannot yet assume a decent shell, so we have to provide a
144 # neutralization value for shells without unset; and this also
145 # works around shells that cannot unset nonexistent variables.
146 # Preserve -v and -x to the replacement shell.
149 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
151 *v
*x
* | *x
*v
* ) as_opts
=-vx ;;
156 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
157 # Admittedly, this is quite paranoid, since all the known shells bail
158 # out after a failed `exec'.
159 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
162 # We don't want this to propagate to other subprocesses.
163 { _as_can_reexec
=; unset _as_can_reexec
;}
164 if test "x$CONFIG_SHELL" = x
; then
165 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
168 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
169 # is contrary to our usage. Disable this feature.
170 alias -g '\${1+\"\$@\"}'='\"\$@\"'
173 case \`(set -o) 2>/dev/null\` in #(
181 as_required
="as_fn_return () { (exit \$1); }
182 as_fn_success () { as_fn_return 0; }
183 as_fn_failure () { as_fn_return 1; }
184 as_fn_ret_success () { return 0; }
185 as_fn_ret_failure () { return 1; }
188 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
189 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
190 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
191 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
192 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
195 exitcode=1; echo positional parameters were not saved.
197 test x\$exitcode = x0 || exit 1
199 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
200 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
201 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
202 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
204 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
205 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
208 PATH=/empty FPATH=/empty; export PATH FPATH
209 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
210 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
211 test \$(( 1 + 1 )) = 2 || exit 1"
212 if (eval "$as_required") 2>/dev
/null
; then :
217 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
222 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir
=.
229 for as_base
in sh bash ksh sh5
; do
230 # Try only shells that exist, to save several forks.
231 as_shell
=$as_dir/$as_base
232 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
233 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
234 CONFIG_SHELL
=$as_shell as_have_required
=yes
235 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
243 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
244 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
245 CONFIG_SHELL
=$SHELL as_have_required
=yes
250 if test "x$CONFIG_SHELL" != x
; then :
252 # We cannot yet assume a decent shell, so we have to provide a
253 # neutralization value for shells without unset; and this also
254 # works around shells that cannot unset nonexistent variables.
255 # Preserve -v and -x to the replacement shell.
258 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
260 *v
*x
* | *x
*v
* ) as_opts
=-vx ;;
265 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
266 # Admittedly, this is quite paranoid, since all the known shells bail
267 # out after a failed `exec'.
268 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
272 if test x
$as_have_required = xno
; then :
273 $as_echo "$0: This script requires a shell more modern than all"
274 $as_echo "$0: the shells that I found on your system."
275 if test x
${ZSH_VERSION+set} = xset
; then
276 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
277 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
279 $as_echo "$0: Please tell bug-autoconf@gnu.org and saurik@saurik.com
280 $0: about your system, including any error possibly output
281 $0: before this message. Then install a modern shell, or
282 $0: manually run the script under such a shell if you do
289 SHELL
=${CONFIG_SHELL-/bin/sh}
291 # Unset more variables known to interfere with behavior of common tools.
292 CLICOLOR_FORCE
= GREP_OPTIONS
=
293 unset CLICOLOR_FORCE GREP_OPTIONS
295 ## --------------------- ##
296 ## M4sh Shell Functions. ##
297 ## --------------------- ##
300 # Portably unset VAR.
303 { eval $1=; unset $1;}
307 # as_fn_set_status STATUS
308 # -----------------------
309 # Set $? to STATUS, without forking.
317 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
327 # Create "$as_dir" as a directory, including parents if necessary.
332 -*) as_dir
=.
/$as_dir;;
334 test -d "$as_dir" || eval $as_mkdir_p || {
338 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
341 as_dirs
="'$as_qdir' $as_dirs"
342 as_dir
=`$as_dirname -- "$as_dir" ||
343 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
344 X"$as_dir" : 'X\(//\)[^/]' \| \
345 X"$as_dir" : 'X\(//\)$' \| \
346 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
347 $as_echo X"$as_dir" |
348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
365 test -d "$as_dir" && break
367 test -z "$as_dirs" || eval "mkdir $as_dirs"
368 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
373 # as_fn_executable_p FILE
374 # -----------------------
375 # Test if FILE is an executable regular file.
376 as_fn_executable_p
()
378 test -f "$1" && test -x "$1"
379 } # as_fn_executable_p
380 # as_fn_append VAR VALUE
381 # ----------------------
382 # Append the text in VALUE to the end of the definition contained in VAR. Take
383 # advantage of any shell optimizations that allow amortized linear growth over
384 # repeated appends, instead of the typical quadratic growth present in naive
386 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
387 eval 'as_fn_append ()
400 # Perform arithmetic evaluation on the ARGs, and store the result in the
401 # global $as_val. Take advantage of shells that can avoid forks. The arguments
402 # must be portable across $(()) and expr.
403 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
411 as_val
=`expr "$@" || test $? -eq 1`
416 # as_fn_error STATUS ERROR [LINENO LOG_FD]
417 # ----------------------------------------
418 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
419 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
420 # script with STATUS, using 1 if that was 0.
423 as_status
=$1; test $as_status -eq 0 && as_status
=1
425 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
426 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
428 $as_echo "$as_me: error: $2" >&2
429 as_fn_exit
$as_status
432 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
433 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
439 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
445 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
451 as_me
=`$as_basename -- "$0" ||
452 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
453 X"$0" : 'X\(//\)$' \| \
454 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
456 sed '/^.*\/\([^/][^/]*\)\/*$/{
470 # Avoid depending upon Character Ranges.
471 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
472 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
473 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
474 as_cr_digits
='0123456789'
475 as_cr_alnum
=$as_cr_Letters$as_cr_digits
478 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
479 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
480 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
481 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
482 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
494 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
498 chmod +x
"$as_me.lineno" ||
499 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
501 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
502 # already done that, so ensure we don't try to do so again and fall
503 # in an infinite loop. This has already happened in practice.
504 _as_can_reexec
=no
; export _as_can_reexec
505 # Don't try to exec as it changes $[0], causing all sort of problems
506 # (the dirname of $[0] is not the place where we might find the
507 # original and so on. Autoconf is especially sensitive to this).
509 # Exit status is that of the last command.
513 ECHO_C
= ECHO_N
= ECHO_T
=
514 case `echo -n x` in #(((((
516 case `echo 'xy\c'` in
517 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
519 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
526 rm -f conf$$ conf$$.exe conf$$.
file
527 if test -d conf$$.dir
; then
528 rm -f conf$$.dir
/conf$$.
file
531 mkdir conf$$.dir
2>/dev
/null
533 if (echo >conf$$.
file) 2>/dev
/null
; then
534 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
536 # ... but there are two gotchas:
537 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
538 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
539 # In both cases, we have to default to `cp -pR'.
540 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
542 elif ln conf$$.
file conf$$
2>/dev
/null
; then
550 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
551 rmdir conf$$.dir
2>/dev
/null
553 if mkdir -p .
2>/dev
/null
; then
554 as_mkdir_p
='mkdir -p "$as_dir"'
556 test -d .
/-p && rmdir .
/-p
561 as_executable_p
=as_fn_executable_p
563 # Sed expression to map a string onto a valid CPP name.
564 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
566 # Sed expression to map a string onto a valid variable name.
567 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
569 SHELL
=${CONFIG_SHELL-/bin/sh}
572 test -n "$DJDIR" || exec 7<&0 </dev
/null
576 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
577 # so uname gets run too.
578 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
583 ac_default_prefix
=/usr
/local
585 ac_config_libobj_dir
=.
592 # Identity of this package.
593 PACKAGE_NAME
='Cycript'
594 PACKAGE_TARNAME
='cycript'
595 PACKAGE_VERSION
='0.9'
596 PACKAGE_STRING
='Cycript 0.9'
597 PACKAGE_BUGREPORT
='saurik@saurik.com'
598 PACKAGE_URL
='http://www.cycript.org/'
600 ac_unique_file
="Console.cpp"
601 # Factoring default headers for most tests.
602 ac_includes_default
="\
604 #ifdef HAVE_SYS_TYPES_H
605 # include <sys/types.h>
607 #ifdef HAVE_SYS_STAT_H
608 # include <sys/stat.h>
614 # ifdef HAVE_STDLIB_H
619 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
624 #ifdef HAVE_STRINGS_H
625 # include <strings.h>
627 #ifdef HAVE_INTTYPES_H
628 # include <inttypes.h>
637 ac_subst_vars
='am__EXEEXT_FALSE
713 am__fastdepOBJCXX_FALSE
714 am__fastdepOBJCXX_TRUE
743 MAINTAINER_MODE_FALSE
757 INSTALL_STRIP_PROGRAM
799 program_transform_name
812 enable_option_checking
814 enable_maintainer_mode
815 enable_dependency_tracking
827 ac_precious_vars
='build_alias
856 # Initialize some variables set by options.
858 ac_init_version
=false
859 ac_unrecognized_opts
=
861 # The variables have the same names as the options, with
862 # dashes changed to underlines.
870 program_transform_name
=s
,x
,x
,
878 # Installation directory options.
879 # These are left unexpanded so users can "make install exec_prefix=/foo"
880 # and all the variables that are supposed to be based on exec_prefix
881 # by default will actually change.
882 # Use braces instead of parens because sh, perl, etc. also accept them.
883 # (The list follows the same order as the GNU Coding Standards.)
884 bindir
='${exec_prefix}/bin'
885 sbindir
='${exec_prefix}/sbin'
886 libexecdir
='${exec_prefix}/libexec'
887 datarootdir
='${prefix}/share'
888 datadir
='${datarootdir}'
889 sysconfdir
='${prefix}/etc'
890 sharedstatedir
='${prefix}/com'
891 localstatedir
='${prefix}/var'
892 includedir
='${prefix}/include'
893 oldincludedir
='/usr/include'
894 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
895 infodir
='${datarootdir}/info'
900 libdir
='${exec_prefix}/lib'
901 localedir
='${datarootdir}/locale'
902 mandir
='${datarootdir}/man'
908 # If the previous option needs an argument, assign it.
909 if test -n "$ac_prev"; then
910 eval $ac_prev=\
$ac_option
916 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
921 # Accept the important Cygnus configure options, so we can diagnose typos.
923 case $ac_dashdash$ac_option in
927 -bindir | --bindir | --bindi | --bind | --bin | --bi)
929 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
932 -build | --build | --buil | --bui | --bu)
933 ac_prev
=build_alias
;;
934 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
935 build_alias
=$ac_optarg ;;
937 -cache-file | --cache-file | --cache-fil | --cache-fi \
938 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
939 ac_prev
=cache_file
;;
940 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
941 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
942 cache_file
=$ac_optarg ;;
945 cache_file
=config.cache
;;
947 -datadir | --datadir | --datadi | --datad)
949 -datadir=* | --datadir=* | --datadi=* | --datad=*)
950 datadir
=$ac_optarg ;;
952 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
953 | --dataroo | --dataro | --datar)
954 ac_prev
=datarootdir
;;
955 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
956 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
957 datarootdir
=$ac_optarg ;;
959 -disable-* | --disable-*)
960 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
961 # Reject names that are not valid shell variable names.
962 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
963 as_fn_error $?
"invalid feature name: $ac_useropt"
964 ac_useropt_orig
=$ac_useropt
965 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
966 case $ac_user_opts in
970 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
971 ac_unrecognized_sep
=', ';;
973 eval enable_
$ac_useropt=no
;;
975 -docdir | --docdir | --docdi | --doc | --do)
977 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
980 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
982 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
985 -enable-* | --enable-*)
986 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
987 # Reject names that are not valid shell variable names.
988 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
989 as_fn_error $?
"invalid feature name: $ac_useropt"
990 ac_useropt_orig
=$ac_useropt
991 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
992 case $ac_user_opts in
996 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
997 ac_unrecognized_sep
=', ';;
999 eval enable_
$ac_useropt=\
$ac_optarg ;;
1001 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1002 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1003 | --exec | --exe | --ex)
1004 ac_prev
=exec_prefix
;;
1005 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1006 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1007 | --exec=* | --exe=* | --ex=*)
1008 exec_prefix
=$ac_optarg ;;
1010 -gas | --gas | --ga | --g)
1011 # Obsolete; use --with-gas.
1014 -help | --help | --hel | --he | -h)
1015 ac_init_help
=long
;;
1016 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1017 ac_init_help
=recursive
;;
1018 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1019 ac_init_help
=short
;;
1021 -host | --host | --hos | --ho)
1022 ac_prev
=host_alias
;;
1023 -host=* | --host=* | --hos=* | --ho=*)
1024 host_alias
=$ac_optarg ;;
1026 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1028 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1030 htmldir
=$ac_optarg ;;
1032 -includedir | --includedir | --includedi | --included | --include \
1033 | --includ | --inclu | --incl | --inc)
1034 ac_prev
=includedir
;;
1035 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1036 | --includ=* | --inclu=* | --incl=* | --inc=*)
1037 includedir
=$ac_optarg ;;
1039 -infodir | --infodir | --infodi | --infod | --info | --inf)
1041 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1042 infodir
=$ac_optarg ;;
1044 -libdir | --libdir | --libdi | --libd)
1046 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1047 libdir
=$ac_optarg ;;
1049 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1050 | --libexe | --libex | --libe)
1051 ac_prev
=libexecdir
;;
1052 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1053 | --libexe=* | --libex=* | --libe=*)
1054 libexecdir
=$ac_optarg ;;
1056 -localedir | --localedir | --localedi | --localed | --locale)
1057 ac_prev
=localedir
;;
1058 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1059 localedir
=$ac_optarg ;;
1061 -localstatedir | --localstatedir | --localstatedi | --localstated \
1062 | --localstate | --localstat | --localsta | --localst | --locals)
1063 ac_prev
=localstatedir
;;
1064 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1065 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1066 localstatedir
=$ac_optarg ;;
1068 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1070 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1071 mandir
=$ac_optarg ;;
1073 -nfp | --nfp | --nf)
1074 # Obsolete; use --without-fp.
1077 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1078 | --no-cr | --no-c | -n)
1081 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1082 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1085 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1086 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1087 | --oldin | --oldi | --old | --ol | --o)
1088 ac_prev
=oldincludedir
;;
1089 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1090 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1091 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1092 oldincludedir
=$ac_optarg ;;
1094 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1096 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1097 prefix
=$ac_optarg ;;
1099 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1100 | --program-pre | --program-pr | --program-p)
1101 ac_prev
=program_prefix
;;
1102 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1103 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1104 program_prefix
=$ac_optarg ;;
1106 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1107 | --program-suf | --program-su | --program-s)
1108 ac_prev
=program_suffix
;;
1109 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1110 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1111 program_suffix
=$ac_optarg ;;
1113 -program-transform-name | --program-transform-name \
1114 | --program-transform-nam | --program-transform-na \
1115 | --program-transform-n | --program-transform- \
1116 | --program-transform | --program-transfor \
1117 | --program-transfo | --program-transf \
1118 | --program-trans | --program-tran \
1119 | --progr-tra | --program-tr | --program-t)
1120 ac_prev
=program_transform_name
;;
1121 -program-transform-name=* | --program-transform-name=* \
1122 | --program-transform-nam=* | --program-transform-na=* \
1123 | --program-transform-n=* | --program-transform-=* \
1124 | --program-transform=* | --program-transfor=* \
1125 | --program-transfo=* | --program-transf=* \
1126 | --program-trans=* | --program-tran=* \
1127 | --progr-tra=* | --program-tr=* | --program-t=*)
1128 program_transform_name
=$ac_optarg ;;
1130 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1132 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1133 pdfdir
=$ac_optarg ;;
1135 -psdir | --psdir | --psdi | --psd | --ps)
1137 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1140 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1141 | -silent | --silent | --silen | --sile | --sil)
1144 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1146 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1148 sbindir
=$ac_optarg ;;
1150 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1151 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1152 | --sharedst | --shareds | --shared | --share | --shar \
1154 ac_prev
=sharedstatedir
;;
1155 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1156 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1157 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1159 sharedstatedir
=$ac_optarg ;;
1161 -site | --site | --sit)
1163 -site=* | --site=* | --sit=*)
1166 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1168 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1169 srcdir
=$ac_optarg ;;
1171 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1172 | --syscon | --sysco | --sysc | --sys | --sy)
1173 ac_prev
=sysconfdir
;;
1174 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1175 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1176 sysconfdir
=$ac_optarg ;;
1178 -target | --target | --targe | --targ | --tar | --ta | --t)
1179 ac_prev
=target_alias
;;
1180 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1181 target_alias
=$ac_optarg ;;
1183 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1186 -version | --version | --versio | --versi | --vers | -V)
1187 ac_init_version
=: ;;
1190 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1191 # Reject names that are not valid shell variable names.
1192 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1193 as_fn_error $?
"invalid package name: $ac_useropt"
1194 ac_useropt_orig
=$ac_useropt
1195 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1196 case $ac_user_opts in
1200 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1201 ac_unrecognized_sep
=', ';;
1203 eval with_
$ac_useropt=\
$ac_optarg ;;
1205 -without-* | --without-*)
1206 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1207 # Reject names that are not valid shell variable names.
1208 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1209 as_fn_error $?
"invalid package name: $ac_useropt"
1210 ac_useropt_orig
=$ac_useropt
1211 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1212 case $ac_user_opts in
1216 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1217 ac_unrecognized_sep
=', ';;
1219 eval with_
$ac_useropt=no
;;
1222 # Obsolete; use --with-x.
1225 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1226 | --x-incl | --x-inc | --x-in | --x-i)
1227 ac_prev
=x_includes
;;
1228 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1229 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1230 x_includes
=$ac_optarg ;;
1232 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1233 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1234 ac_prev
=x_libraries
;;
1235 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1236 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1237 x_libraries
=$ac_optarg ;;
1239 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1240 Try \`$0 --help' for more information"
1244 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1245 # Reject names that are not valid shell variable names.
1246 case $ac_envvar in #(
1247 '' | [0-9]* | *[!_$as_cr_alnum]* )
1248 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1250 eval $ac_envvar=\
$ac_optarg
1251 export $ac_envvar ;;
1254 # FIXME: should be removed in autoconf 3.0.
1255 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1256 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1257 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1258 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1264 if test -n "$ac_prev"; then
1265 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1266 as_fn_error $?
"missing argument to $ac_option"
1269 if test -n "$ac_unrecognized_opts"; then
1270 case $enable_option_checking in
1272 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1273 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1277 # Check all directory arguments for consistency.
1278 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1279 datadir sysconfdir sharedstatedir localstatedir includedir \
1280 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1281 libdir localedir mandir
1283 eval ac_val
=\$
$ac_var
1284 # Remove trailing slashes.
1287 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1288 eval $ac_var=\
$ac_val;;
1290 # Be sure to have absolute directory names.
1292 [\\/$
]* | ?
:[\\/]* ) continue;;
1293 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1295 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1298 # There might be people who depend on the old broken behavior: `$host'
1299 # used to hold the argument of --host etc.
1300 # FIXME: To remove some day.
1303 target
=$target_alias
1305 # FIXME: To remove some day.
1306 if test "x$host_alias" != x
; then
1307 if test "x$build_alias" = x
; then
1308 cross_compiling
=maybe
1309 elif test "x$build_alias" != "x$host_alias"; then
1315 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1317 test "$silent" = yes && exec 6>/dev
/null
1320 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1321 ac_ls_di
=`ls -di .` &&
1322 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1323 as_fn_error $?
"working directory cannot be determined"
1324 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1325 as_fn_error $?
"pwd does not report name of working directory"
1328 # Find the source files, if location was not specified.
1329 if test -z "$srcdir"; then
1330 ac_srcdir_defaulted
=yes
1331 # Try the directory containing this script, then the parent directory.
1332 ac_confdir
=`$as_dirname -- "$as_myself" ||
1333 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1334 X"$as_myself" : 'X\(//\)[^/]' \| \
1335 X"$as_myself" : 'X\(//\)$' \| \
1336 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1337 $as_echo X"$as_myself" |
1338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1356 if test ! -r "$srcdir/$ac_unique_file"; then
1360 ac_srcdir_defaulted
=no
1362 if test ! -r "$srcdir/$ac_unique_file"; then
1363 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1364 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1366 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1368 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1370 # When building in place, set srcdir=.
1371 if test "$ac_abs_confdir" = "$ac_pwd"; then
1374 # Remove unnecessary trailing slashes from srcdir.
1375 # Double slashes in file names in object file debugging info
1376 # mess up M-x gdb in Emacs.
1378 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1380 for ac_var
in $ac_precious_vars; do
1381 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1382 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1383 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1384 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1388 # Report the --help message.
1390 if test "$ac_init_help" = "long"; then
1391 # Omit some internal or obsolete options to make the list less imposing.
1392 # This message is too long to be a string in the A/UX 3.1 sh.
1394 \`configure' configures Cycript 0.9 to adapt to many kinds of systems.
1396 Usage: $0 [OPTION]... [VAR=VALUE]...
1398 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1399 VAR=VALUE. See below for descriptions of some of the useful variables.
1401 Defaults for the options are specified in brackets.
1404 -h, --help display this help and exit
1405 --help=short display options specific to this package
1406 --help=recursive display the short help of all the included packages
1407 -V, --version display version information and exit
1408 -q, --quiet, --silent do not print \`checking ...' messages
1409 --cache-file=FILE cache test results in FILE [disabled]
1410 -C, --config-cache alias for \`--cache-file=config.cache'
1411 -n, --no-create do not create output files
1412 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1414 Installation directories:
1415 --prefix=PREFIX install architecture-independent files in PREFIX
1416 [$ac_default_prefix]
1417 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1420 By default, \`make install' will install all the files in
1421 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1422 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1423 for instance \`--prefix=\$HOME'.
1425 For better control, use the options below.
1427 Fine tuning of the installation directories:
1428 --bindir=DIR user executables [EPREFIX/bin]
1429 --sbindir=DIR system admin executables [EPREFIX/sbin]
1430 --libexecdir=DIR program executables [EPREFIX/libexec]
1431 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1432 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1433 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1434 --libdir=DIR object code libraries [EPREFIX/lib]
1435 --includedir=DIR C header files [PREFIX/include]
1436 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1437 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1438 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1439 --infodir=DIR info documentation [DATAROOTDIR/info]
1440 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1441 --mandir=DIR man documentation [DATAROOTDIR/man]
1442 --docdir=DIR documentation root [DATAROOTDIR/doc/cycript]
1443 --htmldir=DIR html documentation [DOCDIR]
1444 --dvidir=DIR dvi documentation [DOCDIR]
1445 --pdfdir=DIR pdf documentation [DOCDIR]
1446 --psdir=DIR ps documentation [DOCDIR]
1452 --program-prefix=PREFIX prepend PREFIX to installed program names
1453 --program-suffix=SUFFIX append SUFFIX to installed program names
1454 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1457 --build=BUILD configure
for building on BUILD
[guessed
]
1458 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1462 if test -n "$ac_init_help"; then
1463 case $ac_init_help in
1464 short
| recursive
) echo "Configuration of Cycript 0.9:";;
1469 --disable-option-checking ignore unrecognized
--enable/--with options
1470 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1471 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1472 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1473 --disable-silent-rules verbose build output
(undo
: "make V=0")
1474 --enable-maintainer-mode
1475 enable make rules and dependencies not useful
(and
1476 sometimes confusing
) to the casual installer
1477 --enable-dependency-tracking
1478 do not reject slow dependency extractors
1479 --disable-dependency-tracking
1480 speeds up one
-time build
1481 --enable-static[=PKGS
] build static libraries
[default
=no
]
1482 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1483 --enable-fast-install[=PKGS
]
1484 optimize
for fast installation
[default
=yes]
1485 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1486 --enable-javascript[=ENGINE
]
1487 use a JavaScript runtime
(currently the only
1488 available option
for ENGINE is JavaScriptCore
)
1490 --disable-console disable console
1493 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1494 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1495 --with-pic[=PKGS
] try to use only PIC
/non
-PIC objects
[default
=use
1497 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1498 --with-sysroot=DIR Search
for dependent libraries within DIR
1499 (or the compiler
's sysroot if not specified).
1500 --with-apr=PATH prefix for installed APR or the full path to
1503 Some influential environment variables:
1504 CC C compiler command
1505 CFLAGS C compiler flags
1506 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1507 nonstandard directory <lib dir>
1508 LIBS libraries to pass to the linker, e.g. -l<library>
1509 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1510 you have headers in a nonstandard directory <include dir>
1511 CXX C++ compiler command
1512 CXXFLAGS C++ compiler flags
1513 OBJCXX Objective C++ compiler command
1514 OBJCXXFLAGS Objective C++ compiler flags
1516 CXXCPP C++ preprocessor
1517 PKG_CONFIG path to pkg-config utility
1519 directories to add to pkg-config's search path
1521 path overriding pkg
-config's built-in search path
1522 BISON GNU Project parser generator (yacc replacement)
1523 FLEX the fast lexical analyser generator
1524 GPERF perfect hash function generator
1525 GNUTAR a very sticky lump of files
1527 C compiler flags for WEBKIT, overriding pkg-config
1528 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
1530 prints information about the current gnustep installation
1532 Use these variables to override the choices made by `configure' or to
help
1533 it to
find libraries and programs with nonstandard names
/locations.
1535 Report bugs to
<saurik@saurik.com
>.
1536 Cycript home page
: <http
://www.cycript.org
/>.
1541 if test "$ac_init_help" = "recursive"; then
1542 # If there are subdirs, report their specific --help.
1543 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1544 test -d "$ac_dir" ||
1545 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1550 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1552 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1553 # A ".." for each directory in $ac_dir_suffix.
1554 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1555 case $ac_top_builddir_sub in
1556 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1557 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1560 ac_abs_top_builddir
=$ac_pwd
1561 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1562 # for backward compatibility:
1563 ac_top_builddir
=$ac_top_build_prefix
1566 .
) # We are building in place.
1568 ac_top_srcdir
=$ac_top_builddir_sub
1569 ac_abs_top_srcdir
=$ac_pwd ;;
1570 [\\/]* | ?
:[\\/]* ) # Absolute name.
1571 ac_srcdir
=$srcdir$ac_dir_suffix;
1572 ac_top_srcdir
=$srcdir
1573 ac_abs_top_srcdir
=$srcdir ;;
1575 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1576 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1577 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1579 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1581 cd "$ac_dir" || { ac_status
=$?
; continue; }
1582 # Check for guested configure.
1583 if test -f "$ac_srcdir/configure.gnu"; then
1585 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1586 elif test -f "$ac_srcdir/configure"; then
1588 $SHELL "$ac_srcdir/configure" --help=recursive
1590 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1592 cd "$ac_pwd" || { ac_status
=$?
; break; }
1596 test -n "$ac_init_help" && exit $ac_status
1597 if $ac_init_version; then
1599 Cycript configure
0.9
1600 generated by GNU Autoconf
2.69
1602 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1603 This configure
script is free software
; the Free Software Foundation
1604 gives unlimited permission to copy
, distribute and modify it.
1606 Copyright
(C
) 2009-2012 Jay Freeman
(saurik
)
1611 ## ------------------------ ##
1612 ## Autoconf initialization. ##
1613 ## ------------------------ ##
1615 # ac_fn_c_try_compile LINENO
1616 # --------------------------
1617 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1618 ac_fn_c_try_compile
()
1620 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1621 rm -f conftest.
$ac_objext
1622 if { { ac_try
="$ac_compile"
1624 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1625 *) ac_try_echo=$ac_try;;
1627 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1628 $as_echo "$ac_try_echo"; } >&5
1629 (eval "$ac_compile") 2>conftest.err
1631 if test -s conftest.err; then
1632 grep -v '^ *+' conftest.err >conftest.er1
1633 cat conftest.er1 >&5
1634 mv -f conftest.er1 conftest.err
1636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1637 test $ac_status = 0; } && {
1638 test -z "$ac_c_werror_flag" ||
1639 test ! -s conftest.err
1640 } && test -s conftest.$ac_objext; then :
1643 $as_echo "$as_me: failed program was:" >&5
1644 sed 's/^/| /' conftest.$ac_ext >&5
1648 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1649 as_fn_set_status $ac_retval
1651 } # ac_fn_c_try_compile
1653 # ac_fn_cxx_try_compile LINENO
1654 # ----------------------------
1655 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1656 ac_fn_cxx_try_compile ()
1658 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1659 rm -f conftest.$ac_objext
1660 if { { ac_try="$ac_compile"
1662 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1663 *) ac_try_echo
=$ac_try;;
1665 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1666 $as_echo "$ac_try_echo"; } >&5
1667 (eval "$ac_compile") 2>conftest.err
1669 if test -s conftest.err
; then
1670 grep -v '^ *+' conftest.err
>conftest.er1
1671 cat conftest.er1
>&5
1672 mv -f conftest.er1 conftest.err
1674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1675 test $ac_status = 0; } && {
1676 test -z "$ac_cxx_werror_flag" ||
1677 test ! -s conftest.err
1678 } && test -s conftest.
$ac_objext; then :
1681 $as_echo "$as_me: failed program was:" >&5
1682 sed 's/^/| /' conftest.
$ac_ext >&5
1686 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1687 as_fn_set_status
$ac_retval
1689 } # ac_fn_cxx_try_compile
1691 # ac_fn_objcxx_try_compile LINENO
1692 # -------------------------------
1693 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1694 ac_fn_objcxx_try_compile
()
1696 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1697 rm -f conftest.
$ac_objext
1698 if { { ac_try
="$ac_compile"
1700 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1701 *) ac_try_echo=$ac_try;;
1703 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1704 $as_echo "$ac_try_echo"; } >&5
1705 (eval "$ac_compile") 2>conftest.err
1707 if test -s conftest.err; then
1708 grep -v '^ *+' conftest.err >conftest.er1
1709 cat conftest.er1 >&5
1710 mv -f conftest.er1 conftest.err
1712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1713 test $ac_status = 0; } && {
1714 test -z "$ac_objcxx_werror_flag" ||
1715 test ! -s conftest.err
1716 } && test -s conftest.$ac_objext; then :
1719 $as_echo "$as_me: failed program was:" >&5
1720 sed 's/^/| /' conftest.$ac_ext >&5
1724 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1725 as_fn_set_status $ac_retval
1727 } # ac_fn_objcxx_try_compile
1729 # ac_fn_c_try_link LINENO
1730 # -----------------------
1731 # Try to link conftest.$ac_ext, and return whether this succeeded.
1734 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1735 rm -f conftest.$ac_objext conftest$ac_exeext
1736 if { { ac_try="$ac_link"
1738 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1739 *) ac_try_echo
=$ac_try;;
1741 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1742 $as_echo "$ac_try_echo"; } >&5
1743 (eval "$ac_link") 2>conftest.err
1745 if test -s conftest.err
; then
1746 grep -v '^ *+' conftest.err
>conftest.er1
1747 cat conftest.er1
>&5
1748 mv -f conftest.er1 conftest.err
1750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1751 test $ac_status = 0; } && {
1752 test -z "$ac_c_werror_flag" ||
1753 test ! -s conftest.err
1754 } && test -s conftest
$ac_exeext && {
1755 test "$cross_compiling" = yes ||
1756 test -x conftest
$ac_exeext
1760 $as_echo "$as_me: failed program was:" >&5
1761 sed 's/^/| /' conftest.
$ac_ext >&5
1765 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1766 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1767 # interfere with the next link command; also delete a directory that is
1768 # left behind by Apple's compiler. We do this before executing the actions.
1769 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1770 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1771 as_fn_set_status
$ac_retval
1773 } # ac_fn_c_try_link
1775 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1776 # -------------------------------------------------------
1777 # Tests whether HEADER exists and can be compiled using the include files in
1778 # INCLUDES, setting the cache variable VAR accordingly.
1779 ac_fn_c_check_header_compile
()
1781 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1783 $as_echo_n "checking for $2... " >&6; }
1784 if eval \
${$3+:} false
; then :
1785 $as_echo_n "(cached) " >&6
1787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1788 /* end confdefs.h. */
1792 if ac_fn_c_try_compile
"$LINENO"; then :
1797 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1801 $as_echo "$ac_res" >&6; }
1802 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1804 } # ac_fn_c_check_header_compile
1806 # ac_fn_c_try_cpp LINENO
1807 # ----------------------
1808 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1811 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1812 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1814 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1815 *) ac_try_echo=$ac_try;;
1817 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1818 $as_echo "$ac_try_echo"; } >&5
1819 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1821 if test -s conftest.err; then
1822 grep -v '^ *+' conftest.err >conftest.er1
1823 cat conftest.er1 >&5
1824 mv -f conftest.er1 conftest.err
1826 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1827 test $ac_status = 0; } > conftest.i && {
1828 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1829 test ! -s conftest.err
1833 $as_echo "$as_me: failed program was:" >&5
1834 sed 's/^/| /' conftest.$ac_ext >&5
1838 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1839 as_fn_set_status $ac_retval
1843 # ac_fn_c_try_run LINENO
1844 # ----------------------
1845 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1846 # that executables *can* be run.
1849 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1850 if { { ac_try="$ac_link"
1852 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1853 *) ac_try_echo
=$ac_try;;
1855 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1856 $as_echo "$ac_try_echo"; } >&5
1857 (eval "$ac_link") 2>&5
1859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1860 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1861 { { case "(($ac_try" in
1862 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1863 *) ac_try_echo=$ac_try;;
1865 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1866 $as_echo "$ac_try_echo"; } >&5
1867 (eval "$ac_try") 2>&5
1869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1870 test $ac_status = 0; }; }; then :
1873 $as_echo "$as_me: program exited with status $ac_status" >&5
1874 $as_echo "$as_me: failed program was:" >&5
1875 sed 's/^/| /' conftest.$ac_ext >&5
1877 ac_retval=$ac_status
1879 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1880 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1881 as_fn_set_status $ac_retval
1885 # ac_fn_c_check_func LINENO FUNC VAR
1886 # ----------------------------------
1887 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1888 ac_fn_c_check_func ()
1890 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1892 $as_echo_n "checking for $2... " >&6; }
1893 if eval \${$3+:} false; then :
1894 $as_echo_n "(cached) " >&6
1896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1897 /* end confdefs.h. */
1898 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1899 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1900 #define $2 innocuous_$2
1902 /* System header to define __stub macros and hopefully few prototypes,
1903 which can conflict with char $2 (); below.
1904 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1905 <limits.h> exists even on freestanding compilers. */
1908 # include <limits.h>
1910 # include <assert.h>
1915 /* Override any GCC internal prototype to avoid an error.
1916 Use char because int might match the return type of a GCC
1917 builtin and then its argument prototype would still apply. */
1922 /* The GNU C library defines this for functions which it implements
1923 to always fail with ENOSYS. Some functions are actually named
1924 something starting with __ and the normal name is an alias. */
1925 #if defined __stub_$2 || defined __stub___$2
1937 if ac_fn_c_try_link "$LINENO"; then :
1942 rm -f core conftest.err conftest.$ac_objext \
1943 conftest$ac_exeext conftest.$ac_ext
1946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1947 $as_echo "$ac_res" >&6; }
1948 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1950 } # ac_fn_c_check_func
1952 # ac_fn_cxx_try_cpp LINENO
1953 # ------------------------
1954 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1955 ac_fn_cxx_try_cpp ()
1957 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1958 if { { ac_try="$ac_cpp conftest.$ac_ext"
1960 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1961 *) ac_try_echo
=$ac_try;;
1963 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1964 $as_echo "$ac_try_echo"; } >&5
1965 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1967 if test -s conftest.err
; then
1968 grep -v '^ *+' conftest.err
>conftest.er1
1969 cat conftest.er1
>&5
1970 mv -f conftest.er1 conftest.err
1972 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1973 test $ac_status = 0; } > conftest.i
&& {
1974 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1975 test ! -s conftest.err
1979 $as_echo "$as_me: failed program was:" >&5
1980 sed 's/^/| /' conftest.
$ac_ext >&5
1984 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1985 as_fn_set_status
$ac_retval
1987 } # ac_fn_cxx_try_cpp
1989 # ac_fn_cxx_try_link LINENO
1990 # -------------------------
1991 # Try to link conftest.$ac_ext, and return whether this succeeded.
1992 ac_fn_cxx_try_link
()
1994 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1995 rm -f conftest.
$ac_objext conftest
$ac_exeext
1996 if { { ac_try
="$ac_link"
1998 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1999 *) ac_try_echo=$ac_try;;
2001 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2002 $as_echo "$ac_try_echo"; } >&5
2003 (eval "$ac_link") 2>conftest.err
2005 if test -s conftest.err; then
2006 grep -v '^ *+' conftest.err >conftest.er1
2007 cat conftest.er1 >&5
2008 mv -f conftest.er1 conftest.err
2010 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2011 test $ac_status = 0; } && {
2012 test -z "$ac_cxx_werror_flag" ||
2013 test ! -s conftest.err
2014 } && test -s conftest$ac_exeext && {
2015 test "$cross_compiling" = yes ||
2016 test -x conftest$ac_exeext
2020 $as_echo "$as_me: failed program was:" >&5
2021 sed 's/^/| /' conftest.$ac_ext >&5
2025 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2026 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2027 # interfere with the next link command; also delete a directory that is
2028 # left behind by Apple's compiler. We do this before executing the actions.
2029 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2030 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2031 as_fn_set_status $ac_retval
2033 } # ac_fn_cxx_try_link
2035 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2036 # ---------------------------------------------------------
2037 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2038 # the include files in INCLUDES and setting the cache variable VAR
2040 ac_fn_cxx_check_header_mongrel ()
2042 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2043 if eval \${$3+:} false; then :
2044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2045 $as_echo_n "checking for $2... " >&6; }
2046 if eval \${$3+:} false; then :
2047 $as_echo_n "(cached) " >&6
2050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2051 $as_echo "$ac_res" >&6; }
2053 # Is the header compilable?
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2055 $as_echo_n "checking $2 usability... " >&6; }
2056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2057 /* end confdefs.h. */
2061 if ac_fn_cxx_try_compile "$LINENO"; then :
2062 ac_header_compiler=yes
2064 ac_header_compiler=no
2066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2068 $as_echo "$ac_header_compiler" >&6; }
2070 # Is the header present?
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2072 $as_echo_n "checking $2 presence... " >&6; }
2073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2074 /* end confdefs.h. */
2077 if ac_fn_cxx_try_cpp "$LINENO"; then :
2078 ac_header_preproc=yes
2080 ac_header_preproc=no
2082 rm -f conftest.err conftest.i conftest.$ac_ext
2083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2084 $as_echo "$ac_header_preproc" >&6; }
2086 # So? What about this header?
2087 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2090 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2092 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2096 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2098 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2100 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2102 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2104 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2105 ( $as_echo "## -------------------------------- ##
2106 ## Report this to saurik@saurik.com ##
2107 ## -------------------------------- ##"
2108 ) | sed "s/^/$as_me: WARNING: /" >&2
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2112 $as_echo_n "checking for $2... " >&6; }
2113 if eval \${$3+:} false; then :
2114 $as_echo_n "(cached) " >&6
2116 eval "$3=\$ac_header_compiler"
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2120 $as_echo "$ac_res" >&6; }
2122 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2124 } # ac_fn_cxx_check_header_mongrel
2126 # ac_fn_objcxx_try_link LINENO
2127 # ----------------------------
2128 # Try to link conftest.$ac_ext, and return whether this succeeded.
2129 ac_fn_objcxx_try_link ()
2131 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2132 rm -f conftest.$ac_objext conftest$ac_exeext
2133 if { { ac_try="$ac_link"
2135 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2136 *) ac_try_echo
=$ac_try;;
2138 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2139 $as_echo "$ac_try_echo"; } >&5
2140 (eval "$ac_link") 2>conftest.err
2142 if test -s conftest.err
; then
2143 grep -v '^ *+' conftest.err
>conftest.er1
2144 cat conftest.er1
>&5
2145 mv -f conftest.er1 conftest.err
2147 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2148 test $ac_status = 0; } && {
2149 test -z "$ac_objcxx_werror_flag" ||
2150 test ! -s conftest.err
2151 } && test -s conftest
$ac_exeext && {
2152 test "$cross_compiling" = yes ||
2153 test -x conftest
$ac_exeext
2157 $as_echo "$as_me: failed program was:" >&5
2158 sed 's/^/| /' conftest.
$ac_ext >&5
2162 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2163 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2164 # interfere with the next link command; also delete a directory that is
2165 # left behind by Apple's compiler. We do this before executing the actions.
2166 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2167 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2168 as_fn_set_status
$ac_retval
2170 } # ac_fn_objcxx_try_link
2171 cat >config.log
<<_ACEOF
2172 This file contains any messages produced by compilers while
2173 running configure, to aid debugging if configure makes a mistake.
2175 It was created by Cycript $as_me 0.9, which was
2176 generated by GNU Autoconf 2.69. Invocation command line was
2188 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2189 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2190 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2191 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2192 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2194 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2195 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2197 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2198 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2199 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2200 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2201 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2202 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2203 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2207 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2211 test -z "$as_dir" && as_dir
=.
2212 $as_echo "PATH: $as_dir"
2228 # Keep a trace of the command line.
2229 # Strip out --no-create and --no-recursion so they do not pile up.
2230 # Strip out --silent because we don't want to record it for future runs.
2231 # Also quote any args containing shell meta-characters.
2232 # Make two passes to allow for proper duplicate-argument suppression.
2236 ac_must_keep_next
=false
2242 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2243 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2244 | -silent | --silent | --silen | --sile | --sil)
2247 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2250 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2252 as_fn_append ac_configure_args1
" '$ac_arg'"
2253 if test $ac_must_keep_next = true
; then
2254 ac_must_keep_next
=false
# Got value, back to normal.
2257 *=* | --config-cache | -C | -disable-* | --disable-* \
2258 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2259 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2260 | -with-* | --with-* | -without-* | --without-* | --x)
2261 case "$ac_configure_args0 " in
2262 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2265 -* ) ac_must_keep_next
=true
;;
2268 as_fn_append ac_configure_args
" '$ac_arg'"
2273 { ac_configure_args0
=; unset ac_configure_args0
;}
2274 { ac_configure_args1
=; unset ac_configure_args1
;}
2276 # When interrupted or exit'd, cleanup temporary files, and complete
2277 # config.log. We remove comments because anyway the quotes in there
2278 # would cause problems or look ugly.
2279 # WARNING: Use '\'' to represent an apostrophe within the trap.
2280 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2281 trap 'exit_status=$?
2282 # Save into config.log some information that might help in debugging.
2286 $as_echo "## ---------------- ##
2287 ## Cache variables. ##
2288 ## ---------------- ##"
2290 # The following way of writing the cache mishandles newlines in values,
2292 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2293 eval ac_val=\$$ac_var
2297 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2298 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2301 _ | IFS | as_nl) ;; #(
2302 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2303 *) { eval $ac_var=; unset $ac_var;} ;;
2308 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2309 *${as_nl}ac_space=\ *)
2311 "s/'\''/'\''\\\\'\'''\''/g;
2312 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2315 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2322 $as_echo "## ----------------- ##
2323 ## Output variables. ##
2324 ## ----------------- ##"
2326 for ac_var in $ac_subst_vars
2328 eval ac_val=\$$ac_var
2330 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2332 $as_echo "$ac_var='\''$ac_val'\''"
2336 if test -n "$ac_subst_files"; then
2337 $as_echo "## ------------------- ##
2338 ## File substitutions. ##
2339 ## ------------------- ##"
2341 for ac_var
in $ac_subst_files
2343 eval ac_val
=\$
$ac_var
2345 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2347 $as_echo "$ac_var='\''$ac_val'\''"
2352 if test -s confdefs.h; then
2353 $as_echo "## ----------- ##
2360 test "$ac_signal" != 0 &&
2361 $as_echo "$as_me: caught signal $ac_signal"
2362 $as_echo "$as_me: exit $exit_status"
2364 rm -f core *.core core.conftest.* &&
2365 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2368 for ac_signal
in 1 2 13 15; do
2369 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2373 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2374 rm -f -r conftest
* confdefs.h
2376 $as_echo "/* confdefs.h */" > confdefs.h
2378 # Predefined preprocessor variables.
2380 cat >>confdefs.h
<<_ACEOF
2381 #define PACKAGE_NAME "$PACKAGE_NAME"
2384 cat >>confdefs.h
<<_ACEOF
2385 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2388 cat >>confdefs.h
<<_ACEOF
2389 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2392 cat >>confdefs.h
<<_ACEOF
2393 #define PACKAGE_STRING "$PACKAGE_STRING"
2396 cat >>confdefs.h
<<_ACEOF
2397 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2400 cat >>confdefs.h
<<_ACEOF
2401 #define PACKAGE_URL "$PACKAGE_URL"
2405 # Let the site file select an alternate cache file if it wants to.
2406 # Prefer an explicitly selected file to automatically selected ones.
2409 if test -n "$CONFIG_SITE"; then
2410 # We do not want a PATH search for config.site.
2411 case $CONFIG_SITE in #((
2412 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2413 */*) ac_site_file1
=$CONFIG_SITE;;
2414 *) ac_site_file1
=.
/$CONFIG_SITE;;
2416 elif test "x$prefix" != xNONE
; then
2417 ac_site_file1
=$prefix/share
/config.site
2418 ac_site_file2
=$prefix/etc
/config.site
2420 ac_site_file1
=$ac_default_prefix/share
/config.site
2421 ac_site_file2
=$ac_default_prefix/etc
/config.site
2423 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2425 test "x$ac_site_file" = xNONE
&& continue
2426 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2428 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2429 sed 's/^/| /' "$ac_site_file" >&5
2431 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2432 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2433 as_fn_error $?
"failed to load site script $ac_site_file
2434 See \`config.log' for more details" "$LINENO" 5; }
2438 if test -r "$cache_file"; then
2439 # Some versions of bash will fail to source /dev/null (special files
2440 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2441 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2443 $as_echo "$as_me: loading cache $cache_file" >&6;}
2445 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2446 *) .
"./$cache_file";;
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2451 $as_echo "$as_me: creating cache $cache_file" >&6;}
2455 # Check that the precious variables saved in the cache have kept the same
2457 ac_cache_corrupted
=false
2458 for ac_var
in $ac_precious_vars; do
2459 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2460 eval ac_new_set
=\
$ac_env_${ac_var}_set
2461 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2462 eval ac_new_val
=\
$ac_env_${ac_var}_value
2463 case $ac_old_set,$ac_new_set in
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2466 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2467 ac_cache_corrupted
=: ;;
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2470 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2471 ac_cache_corrupted
=: ;;
2474 if test "x$ac_old_val" != "x$ac_new_val"; then
2475 # differences in whitespace do not lead to failure.
2476 ac_old_val_w
=`echo x $ac_old_val`
2477 ac_new_val_w
=`echo x $ac_new_val`
2478 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2480 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2481 ac_cache_corrupted
=:
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2484 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2485 eval $ac_var=\
$ac_old_val
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2488 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2490 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2493 # Pass precious variables to config.status.
2494 if test "$ac_new_set" = set; then
2496 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2497 *) ac_arg
=$ac_var=$ac_new_val ;;
2499 case " $ac_configure_args " in
2500 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2501 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2505 if $ac_cache_corrupted; then
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2507 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2509 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2510 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2512 ## -------------------- ##
2513 ## Main body of script. ##
2514 ## -------------------- ##
2517 ac_cpp
='$CPP $CPPFLAGS'
2518 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2519 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2520 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2527 for ac_dir
in .
"$srcdir"/.
; do
2528 if test -f "$ac_dir/install-sh"; then
2530 ac_install_sh
="$ac_aux_dir/install-sh -c"
2532 elif test -f "$ac_dir/install.sh"; then
2534 ac_install_sh
="$ac_aux_dir/install.sh -c"
2536 elif test -f "$ac_dir/shtool"; then
2538 ac_install_sh
="$ac_aux_dir/shtool install -c"
2542 if test -z "$ac_aux_dir"; then
2543 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2546 # These three variables are undocumented and unsupported,
2547 # and are intended to be withdrawn in a future Autoconf release.
2548 # They can cause serious problems if a builder's source tree is in a directory
2549 # whose full name contains unusual characters.
2550 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2551 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2552 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2556 ac_config_headers
="$ac_config_headers config.h"
2559 am__api_version
='1.14'
2561 # Find a good install program. We prefer a C program (faster),
2562 # so one script is as good as another. But avoid the broken or
2563 # incompatible versions:
2564 # SysV /etc/install, /usr/sbin/install
2565 # SunOS /usr/etc/install
2566 # IRIX /sbin/install
2568 # AmigaOS /C/install, which installs bootblocks on floppy discs
2569 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2570 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2571 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2572 # OS/2's system install, which has a completely different semantic
2573 # ./install, which can be erroneously created by make from ./install.sh.
2574 # Reject install programs that cannot install multiple files.
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2576 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2577 if test -z "$INSTALL"; then
2578 if ${ac_cv_path_install+:} false
; then :
2579 $as_echo_n "(cached) " >&6
2581 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2585 test -z "$as_dir" && as_dir
=.
2586 # Account for people who put trailing slashes in PATH elements.
2587 case $as_dir/ in #((
2588 .
/ | .
// | /[cC
]/* | \
2589 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
2590 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2593 # OSF1 and SCO ODT 3.0 have their own names for install.
2594 # Don't use installbsd from OSF since it installs stuff as root
2596 for ac_prog
in ginstall scoinst
install; do
2597 for ac_exec_ext
in '' $ac_executable_extensions; do
2598 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2599 if test $ac_prog = install &&
2600 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2601 # AIX install. It has an incompatible calling convention.
2603 elif test $ac_prog = install &&
2604 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2605 # program-specific install script used by HP pwplus--don't use.
2608 rm -rf conftest.one conftest.two conftest.dir
2609 echo one
> conftest.one
2610 echo two
> conftest.two
2612 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2613 test -s conftest.one
&& test -s conftest.two
&&
2614 test -s conftest.dir
/conftest.one
&&
2615 test -s conftest.dir
/conftest.two
2617 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2630 rm -rf conftest.one conftest.two conftest.dir
2633 if test "${ac_cv_path_install+set}" = set; then
2634 INSTALL
=$ac_cv_path_install
2636 # As a last resort, use the slow shell script. Don't cache a
2637 # value for INSTALL within a source directory, because that will
2638 # break other packages using the cache if that directory is
2639 # removed, or if the value is a relative name.
2640 INSTALL
=$ac_install_sh
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2644 $as_echo "$INSTALL" >&6; }
2646 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2647 # It thinks the first close brace ends the variable substitution.
2648 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2650 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2652 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2655 $as_echo_n "checking whether build environment is sane... " >&6; }
2656 # Reject unsafe characters in $srcdir or the absolute working directory
2657 # name. Accept space and tab only in the latter.
2661 *[\\\"\#\$\&\'\`$am_lf]*)
2662 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2665 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2666 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2669 # Do 'set' in a subshell so we don't clobber the current shell's
2670 # arguments. Must try -L first in case configure is actually a
2671 # symlink; some systems play weird games with the mod time of symlinks
2672 # (eg FreeBSD returns the mod time of the symlink's containing
2676 for am_try
in 1 2; do
2677 echo "timestamp, slept: $am_has_slept" > conftest.
file
2678 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2679 if test "$*" = "X"; then
2681 set X
`ls -t "$srcdir/configure" conftest.file`
2683 if test "$*" != "X $srcdir/configure conftest.file" \
2684 && test "$*" != "X conftest.file $srcdir/configure"; then
2686 # If neither matched, then we have a broken ls. This can happen
2687 # if, for instance, CONFIG_SHELL is bash and it inherits a
2688 # broken ls alias from the environment. This has actually
2689 # happened. Such a system could not be considered "sane".
2690 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2691 alias in your environment" "$LINENO" 5
2693 if test "$2" = conftest.
file || test $am_try -eq 2; then
2700 test "$2" = conftest.
file
2706 as_fn_error $?
"newly created file is older than distributed files!
2707 Check your system clock" "$LINENO" 5
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2710 $as_echo "yes" >&6; }
2711 # If we didn't sleep, we still need to ensure time stamps of config.status and
2712 # generated files are strictly newer.
2714 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2721 test "$program_prefix" != NONE
&&
2722 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2723 # Use a double $ so make ignores it.
2724 test "$program_suffix" != NONE
&&
2725 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2726 # Double any \ or $.
2727 # By default was `s,x,x', remove it if useless.
2728 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2729 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2731 # expand $ac_aux_dir to an absolute path
2732 am_aux_dir
=`cd $ac_aux_dir && pwd`
2734 if test x
"${MISSING+set}" != xset
; then
2737 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2739 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2742 # Use eval to expand $SHELL
2743 if eval "$MISSING --is-lightweight"; then
2744 am_missing_run
="$MISSING "
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2748 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2751 if test x
"${install_sh}" != xset
; then
2754 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2756 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2760 # Installed binaries are usually stripped using 'strip' when the user
2761 # run "make install-strip". However 'strip' might not be the right
2762 # tool to use in cross-compilation environments, therefore Automake
2763 # will honor the 'STRIP' environment variable to overrule this program.
2764 if test "$cross_compiling" != no
; then
2765 if test -n "$ac_tool_prefix"; then
2766 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2767 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2769 $as_echo_n "checking for $ac_word... " >&6; }
2770 if ${ac_cv_prog_STRIP+:} false
; then :
2771 $as_echo_n "(cached) " >&6
2773 if test -n "$STRIP"; then
2774 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2776 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2780 test -z "$as_dir" && as_dir
=.
2781 for ac_exec_ext
in '' $ac_executable_extensions; do
2782 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2783 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2793 STRIP
=$ac_cv_prog_STRIP
2794 if test -n "$STRIP"; then
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2796 $as_echo "$STRIP" >&6; }
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2799 $as_echo "no" >&6; }
2804 if test -z "$ac_cv_prog_STRIP"; then
2806 # Extract the first word of "strip", so it can be a program name with args.
2807 set dummy strip
; ac_word
=$2
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2809 $as_echo_n "checking for $ac_word... " >&6; }
2810 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2811 $as_echo_n "(cached) " >&6
2813 if test -n "$ac_ct_STRIP"; then
2814 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2816 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2820 test -z "$as_dir" && as_dir
=.
2821 for ac_exec_ext
in '' $ac_executable_extensions; do
2822 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2823 ac_cv_prog_ac_ct_STRIP
="strip"
2824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2833 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2834 if test -n "$ac_ct_STRIP"; then
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2836 $as_echo "$ac_ct_STRIP" >&6; }
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2839 $as_echo "no" >&6; }
2842 if test "x$ac_ct_STRIP" = x
; then
2845 case $cross_compiling:$ac_tool_warned in
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2848 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2849 ac_tool_warned
=yes ;;
2854 STRIP
="$ac_cv_prog_STRIP"
2858 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2861 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2862 if test -z "$MKDIR_P"; then
2863 if ${ac_cv_path_mkdir+:} false
; then :
2864 $as_echo_n "(cached) " >&6
2866 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2867 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2870 test -z "$as_dir" && as_dir
=.
2871 for ac_prog
in mkdir gmkdir
; do
2872 for ac_exec_ext
in '' $ac_executable_extensions; do
2873 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" || continue
2874 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2875 'mkdir (GNU coreutils) '* | \
2876 'mkdir (coreutils) '* | \
2877 'mkdir (fileutils) '4.1*)
2878 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2888 test -d .
/--version && rmdir .
/--version
2889 if test "${ac_cv_path_mkdir+set}" = set; then
2890 MKDIR_P
="$ac_cv_path_mkdir -p"
2892 # As a last resort, use the slow shell script. Don't cache a
2893 # value for MKDIR_P within a source directory, because that will
2894 # break other packages using the cache if that directory is
2895 # removed, or if the value is a relative name.
2896 MKDIR_P
="$ac_install_sh -d"
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2900 $as_echo "$MKDIR_P" >&6; }
2902 for ac_prog
in gawk mawk nawk
awk
2904 # Extract the first word of "$ac_prog", so it can be a program name with args.
2905 set dummy
$ac_prog; ac_word
=$2
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2907 $as_echo_n "checking for $ac_word... " >&6; }
2908 if ${ac_cv_prog_AWK+:} false
; then :
2909 $as_echo_n "(cached) " >&6
2911 if test -n "$AWK"; then
2912 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2914 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2918 test -z "$as_dir" && as_dir
=.
2919 for ac_exec_ext
in '' $ac_executable_extensions; do
2920 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2921 ac_cv_prog_AWK
="$ac_prog"
2922 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2932 if test -n "$AWK"; then
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2934 $as_echo "$AWK" >&6; }
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2937 $as_echo "no" >&6; }
2941 test -n "$AWK" && break
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2945 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2947 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2948 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2949 $as_echo_n "(cached) " >&6
2951 cat >conftest.
make <<\_ACEOF
2954 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2956 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2957 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2959 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2961 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2965 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2967 $as_echo "yes" >&6; }
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2971 $as_echo "no" >&6; }
2972 SET_MAKE
="MAKE=${MAKE-make}"
2975 rm -rf .tst
2>/dev
/null
2976 mkdir .tst
2>/dev
/null
2977 if test -d .tst
; then
2982 rmdir .tst
2>/dev
/null
2984 # Check whether --enable-silent-rules was given.
2985 if test "${enable_silent_rules+set}" = set; then :
2986 enableval
=$enable_silent_rules;
2989 case $enable_silent_rules in # (((
2990 yes) AM_DEFAULT_VERBOSITY
=0;;
2991 no
) AM_DEFAULT_VERBOSITY
=1;;
2992 *) AM_DEFAULT_VERBOSITY
=1;;
2994 am_make
=${MAKE-make}
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2996 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2997 if ${am_cv_make_support_nested_variables+:} false
; then :
2998 $as_echo_n "(cached) " >&6
3000 if $as_echo 'TRUE=$(BAR$(V))
3006 .PHONY: am__doit' | $am_make -f - >/dev
/null
2>&1; then
3007 am_cv_make_support_nested_variables
=yes
3009 am_cv_make_support_nested_variables
=no
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3013 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3014 if test $am_cv_make_support_nested_variables = yes; then
3016 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3018 AM_V
=$AM_DEFAULT_VERBOSITY
3019 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3023 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3024 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3025 # is not polluted with repeated "-I."
3026 am__isrc
=' -I$(srcdir)'
3027 # test to see if srcdir already configured
3028 if test -f $srcdir/config.status
; then
3029 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3033 # test whether we have cygpath
3034 if test -z "$CYGPATH_W"; then
3035 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3036 CYGPATH_W
='cygpath -w'
3043 # Define the identity of the package.
3048 cat >>confdefs.h
<<_ACEOF
3049 #define PACKAGE "$PACKAGE"
3053 cat >>confdefs.h
<<_ACEOF
3054 #define VERSION "$VERSION"
3057 # Some tools Automake needs.
3059 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3062 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3065 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3068 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3071 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3073 # For better backward compatibility. To be removed once Automake 1.9.x
3074 # dies out for good. For more background, see:
3075 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3076 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3077 mkdir_p
='$(MKDIR_P)'
3079 # We need awk for the "check" target. The system "awk" is bad on
3081 # Always define AMTAR for backward compatibility. Yes, it's still used
3082 # in the wild :-( We should find a proper way to deprecate it ...
3086 # We'll loop over all known methods to create a tar archive until one works.
3087 _am_tools
='gnutar pax cpio none'
3089 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3096 # POSIX will say in a future version that running "rm -f" with no argument
3097 # is OK; and we want to be able to make that assumption in our Makefile
3098 # recipes. So use an aggressive probe to check that the usage we want is
3099 # actually supported "in the wild" to an acceptable degree.
3100 # See automake bug#10828.
3101 # To make any issue more visible, cause the running configure to be aborted
3102 # by default if the 'rm' program in use doesn't match our expectations; the
3103 # user can still override this though.
3104 if rm -f && rm -fr && rm -rf; then : OK
; else
3108 Your 'rm' program seems unable to run without file operands specified
3109 on the command line, even when the '-f' option is present. This is contrary
3110 to the behaviour of most rm programs out there, and not conforming with
3111 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3113 Please tell bug-automake@gnu.org about your system, including the value
3114 of your $PATH and any error possibly output before this message. This
3115 can help us improve future automake versions.
3118 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3119 echo 'Configuration will proceed anyway, since you have set the' >&2
3120 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3124 Aborting the configuration process, to ensure you take notice of the issue.
3126 You can download and install GNU coreutils to get an 'rm' implementation
3127 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3129 If you want to complete the configuration process using your problematic
3130 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3131 to "yes", and re-run configure.
3134 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3139 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3140 # Check whether --enable-maintainer-mode was given.
3141 if test "${enable_maintainer_mode+set}" = set; then :
3142 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3144 USE_MAINTAINER_MODE
=no
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3148 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3149 if test $USE_MAINTAINER_MODE = yes; then
3150 MAINTAINER_MODE_TRUE
=
3151 MAINTAINER_MODE_FALSE
='#'
3153 MAINTAINER_MODE_TRUE
='#'
3154 MAINTAINER_MODE_FALSE
=
3157 MAINT
=$MAINTAINER_MODE_TRUE
3161 am_cv_CC_dependencies_compiler_type
=none
3162 am_cv_CXX_dependencies_compiler_type
=none
3163 am_cv_OBJCXX_dependencies_compiler_type
=none
3166 ac_cpp
='$CPP $CPPFLAGS'
3167 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3168 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3169 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3170 if test -n "$ac_tool_prefix"; then
3171 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3172 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3174 $as_echo_n "checking for $ac_word... " >&6; }
3175 if ${ac_cv_prog_CC+:} false
; then :
3176 $as_echo_n "(cached) " >&6
3178 if test -n "$CC"; then
3179 ac_cv_prog_CC
="$CC" # Let the user override the test.
3181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3185 test -z "$as_dir" && as_dir
=.
3186 for ac_exec_ext
in '' $ac_executable_extensions; do
3187 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3188 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3199 if test -n "$CC"; then
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3201 $as_echo "$CC" >&6; }
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3204 $as_echo "no" >&6; }
3209 if test -z "$ac_cv_prog_CC"; then
3211 # Extract the first word of "gcc", so it can be a program name with args.
3212 set dummy gcc
; ac_word
=$2
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3214 $as_echo_n "checking for $ac_word... " >&6; }
3215 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3216 $as_echo_n "(cached) " >&6
3218 if test -n "$ac_ct_CC"; then
3219 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3225 test -z "$as_dir" && as_dir
=.
3226 for ac_exec_ext
in '' $ac_executable_extensions; do
3227 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3228 ac_cv_prog_ac_ct_CC
="gcc"
3229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3238 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3239 if test -n "$ac_ct_CC"; then
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3241 $as_echo "$ac_ct_CC" >&6; }
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3244 $as_echo "no" >&6; }
3247 if test "x$ac_ct_CC" = x
; then
3250 case $cross_compiling:$ac_tool_warned in
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3253 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3254 ac_tool_warned
=yes ;;
3262 if test -z "$CC"; then
3263 if test -n "$ac_tool_prefix"; then
3264 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3265 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3267 $as_echo_n "checking for $ac_word... " >&6; }
3268 if ${ac_cv_prog_CC+:} false
; then :
3269 $as_echo_n "(cached) " >&6
3271 if test -n "$CC"; then
3272 ac_cv_prog_CC
="$CC" # Let the user override the test.
3274 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3278 test -z "$as_dir" && as_dir
=.
3279 for ac_exec_ext
in '' $ac_executable_extensions; do
3280 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3281 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3292 if test -n "$CC"; then
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3294 $as_echo "$CC" >&6; }
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3297 $as_echo "no" >&6; }
3303 if test -z "$CC"; then
3304 # Extract the first word of "cc", so it can be a program name with args.
3305 set dummy cc
; ac_word
=$2
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3307 $as_echo_n "checking for $ac_word... " >&6; }
3308 if ${ac_cv_prog_CC+:} false
; then :
3309 $as_echo_n "(cached) " >&6
3311 if test -n "$CC"; then
3312 ac_cv_prog_CC
="$CC" # Let the user override the test.
3315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3319 test -z "$as_dir" && as_dir
=.
3320 for ac_exec_ext
in '' $ac_executable_extensions; do
3321 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3322 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3323 ac_prog_rejected
=yes
3327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3334 if test $ac_prog_rejected = yes; then
3335 # We found a bogon in the path, so make sure we never use it.
3336 set dummy
$ac_cv_prog_CC
3338 if test $# != 0; then
3339 # We chose a different compiler from the bogus one.
3340 # However, it has the same basename, so the bogon will be chosen
3341 # first if we set CC to just the basename; use the full file name.
3343 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3349 if test -n "$CC"; then
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3351 $as_echo "$CC" >&6; }
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3354 $as_echo "no" >&6; }
3359 if test -z "$CC"; then
3360 if test -n "$ac_tool_prefix"; then
3361 for ac_prog
in cl.exe
3363 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3364 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3366 $as_echo_n "checking for $ac_word... " >&6; }
3367 if ${ac_cv_prog_CC+:} false
; then :
3368 $as_echo_n "(cached) " >&6
3370 if test -n "$CC"; then
3371 ac_cv_prog_CC
="$CC" # Let the user override the test.
3373 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3377 test -z "$as_dir" && as_dir
=.
3378 for ac_exec_ext
in '' $ac_executable_extensions; do
3379 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3380 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3391 if test -n "$CC"; then
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3393 $as_echo "$CC" >&6; }
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3396 $as_echo "no" >&6; }
3400 test -n "$CC" && break
3403 if test -z "$CC"; then
3405 for ac_prog
in cl.exe
3407 # Extract the first word of "$ac_prog", so it can be a program name with args.
3408 set dummy
$ac_prog; ac_word
=$2
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3410 $as_echo_n "checking for $ac_word... " >&6; }
3411 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3412 $as_echo_n "(cached) " >&6
3414 if test -n "$ac_ct_CC"; then
3415 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3417 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3421 test -z "$as_dir" && as_dir
=.
3422 for ac_exec_ext
in '' $ac_executable_extensions; do
3423 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3424 ac_cv_prog_ac_ct_CC
="$ac_prog"
3425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3434 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3435 if test -n "$ac_ct_CC"; then
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3437 $as_echo "$ac_ct_CC" >&6; }
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3440 $as_echo "no" >&6; }
3444 test -n "$ac_ct_CC" && break
3447 if test "x$ac_ct_CC" = x
; then
3450 case $cross_compiling:$ac_tool_warned in
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3453 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3454 ac_tool_warned
=yes ;;
3463 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3464 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3465 as_fn_error $?
"no acceptable C compiler found in \$PATH
3466 See \`config.log' for more details" "$LINENO" 5; }
3468 # Provide some information about the compiler.
3469 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3472 for ac_option
in --version -v -V -qversion; do
3473 { { ac_try
="$ac_compiler $ac_option >&5"
3475 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3476 *) ac_try_echo=$ac_try;;
3478 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3479 $as_echo "$ac_try_echo"; } >&5
3480 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3482 if test -s conftest.err; then
3484 ... rest of stderr output deleted ...
3485 10q' conftest.err >conftest.er1
3486 cat conftest.er1 >&5
3488 rm -f conftest.er1 conftest.err
3489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3490 test $ac_status = 0; }
3493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3494 /* end confdefs.h. */
3504 ac_clean_files_save=$ac_clean_files
3505 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3506 # Try to create an executable without -o first, disregard a.out.
3507 # It will help us diagnose broken compilers, and finding out an intuition
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3510 $as_echo_n "checking whether the C compiler works... " >&6; }
3511 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3513 # The possible output files:
3514 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3517 for ac_file in $ac_files
3520 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3521 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3526 if { { ac_try="$ac_link_default"
3528 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3529 *) ac_try_echo
=$ac_try;;
3531 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3532 $as_echo "$ac_try_echo"; } >&5
3533 (eval "$ac_link_default") 2>&5
3535 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3536 test $ac_status = 0; }; then :
3537 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3538 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3539 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3540 # so that the user can short-circuit this test for compilers unknown to
3542 for ac_file
in $ac_files ''
3544 test -f "$ac_file" || continue
3546 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
3549 # We found the default executable, but exeext='' is most
3553 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3555 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3557 # We set ac_cv_exeext here because the later test for it is not
3558 # safe: cross compilers may not add the suffix if given an `-o'
3559 # argument, so we may need to know it at that point already.
3560 # Even if this section looks crufty: it has the advantage of
3567 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3572 if test -z "$ac_file"; then :
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3574 $as_echo "no" >&6; }
3575 $as_echo "$as_me: failed program was:" >&5
3576 sed 's/^/| /' conftest.
$ac_ext >&5
3578 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3579 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3580 as_fn_error
77 "C compiler cannot create executables
3581 See \`config.log' for more details" "$LINENO" 5; }
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3584 $as_echo "yes" >&6; }
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3587 $as_echo_n "checking for C compiler default output file name... " >&6; }
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3589 $as_echo "$ac_file" >&6; }
3590 ac_exeext
=$ac_cv_exeext
3592 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3593 ac_clean_files
=$ac_clean_files_save
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3595 $as_echo_n "checking for suffix of executables... " >&6; }
3596 if { { ac_try
="$ac_link"
3598 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3599 *) ac_try_echo=$ac_try;;
3601 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3602 $as_echo "$ac_try_echo"; } >&5
3603 (eval "$ac_link") 2>&5
3605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3606 test $ac_status = 0; }; then :
3607 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3608 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3609 # work properly (i.e., refer to `conftest.exe'), while it won't with
3611 for ac_file
in conftest.exe conftest conftest.
*; do
3612 test -f "$ac_file" || continue
3614 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3615 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3621 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3622 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3623 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3624 See \`config.log' for more details" "$LINENO" 5; }
3626 rm -f conftest conftest
$ac_cv_exeext
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3628 $as_echo "$ac_cv_exeext" >&6; }
3630 rm -f conftest.
$ac_ext
3631 EXEEXT
=$ac_cv_exeext
3633 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3634 /* end confdefs.h. */
3639 FILE *f = fopen ("conftest.out", "w");
3640 return ferror (f) || fclose (f) != 0;
3646 ac_clean_files
="$ac_clean_files conftest.out"
3647 # Check that the compiler produces executables we can run. If not, either
3648 # the compiler is broken, or we cross compile.
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3650 $as_echo_n "checking whether we are cross compiling... " >&6; }
3651 if test "$cross_compiling" != yes; then
3652 { { ac_try
="$ac_link"
3654 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3655 *) ac_try_echo=$ac_try;;
3657 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3658 $as_echo "$ac_try_echo"; } >&5
3659 (eval "$ac_link") 2>&5
3661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3662 test $ac_status = 0; }
3663 if { ac_try='./conftest$ac_cv_exeext'
3664 { { case "(($ac_try" in
3665 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3666 *) ac_try_echo
=$ac_try;;
3668 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3669 $as_echo "$ac_try_echo"; } >&5
3670 (eval "$ac_try") 2>&5
3672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3673 test $ac_status = 0; }; }; then
3676 if test "$cross_compiling" = maybe
; then
3679 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3680 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3681 as_fn_error $?
"cannot run C compiled programs.
3682 If you meant to cross compile, use \`--host'.
3683 See \`config.log' for more details" "$LINENO" 5; }
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3688 $as_echo "$cross_compiling" >&6; }
3690 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3691 ac_clean_files
=$ac_clean_files_save
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3693 $as_echo_n "checking for suffix of object files... " >&6; }
3694 if ${ac_cv_objext+:} false
; then :
3695 $as_echo_n "(cached) " >&6
3697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3698 /* end confdefs.h. */
3708 rm -f conftest.o conftest.obj
3709 if { { ac_try
="$ac_compile"
3711 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3712 *) ac_try_echo=$ac_try;;
3714 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3715 $as_echo "$ac_try_echo"; } >&5
3716 (eval "$ac_compile") 2>&5
3718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3719 test $ac_status = 0; }; then :
3720 for ac_file in conftest.o conftest.obj conftest.*; do
3721 test -f "$ac_file" || continue;
3723 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3724 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3729 $as_echo "$as_me: failed program was:" >&5
3730 sed 's/^/| /' conftest.$ac_ext >&5
3732 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3733 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3734 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3735 See \
`config.log' for more details" "$LINENO" 5; }
3737 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3740 $as_echo "$ac_cv_objext" >&6; }
3741 OBJEXT=$ac_cv_objext
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3744 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3745 if ${ac_cv_c_compiler_gnu+:} false; then :
3746 $as_echo_n "(cached) " >&6
3748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3749 /* end confdefs.h. */
3762 if ac_fn_c_try_compile "$LINENO"; then :
3767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3768 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3772 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3773 if test $ac_compiler_gnu = yes; then
3778 ac_test_CFLAGS=${CFLAGS+set}
3779 ac_save_CFLAGS=$CFLAGS
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3781 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3782 if ${ac_cv_prog_cc_g+:} false; then :
3783 $as_echo_n "(cached) " >&6
3785 ac_save_c_werror_flag=$ac_c_werror_flag
3786 ac_c_werror_flag=yes
3789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3790 /* end confdefs.h. */
3800 if ac_fn_c_try_compile "$LINENO"; then :
3804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3805 /* end confdefs.h. */
3815 if ac_fn_c_try_compile "$LINENO"; then :
3818 ac_c_werror_flag=$ac_save_c_werror_flag
3820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3821 /* end confdefs.h. */
3831 if ac_fn_c_try_compile "$LINENO"; then :
3834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3839 ac_c_werror_flag=$ac_save_c_werror_flag
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3842 $as_echo "$ac_cv_prog_cc_g" >&6; }
3843 if test "$ac_test_CFLAGS" = set; then
3844 CFLAGS=$ac_save_CFLAGS
3845 elif test $ac_cv_prog_cc_g = yes; then
3846 if test "$GCC" = yes; then
3852 if test "$GCC" = yes; then
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3859 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3860 if ${ac_cv_prog_cc_c89+:} false; then :
3861 $as_echo_n "(cached) " >&6
3863 ac_cv_prog_cc_c89=no
3865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3866 /* end confdefs.h. */
3870 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3871 struct buf { int x; };
3872 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3873 static char *e (p, i)
3879 static char *f (char * (*g) (char **, int), char **p, ...)
3884 s = g (p, va_arg (v,int));
3889 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3890 function prototypes and stuff, but not '\xHH' hex character constants.
3891 These don't provoke an error unfortunately, instead are silently treated
3892 as 'x'. The following induces an error, until -std is added to get
3893 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3894 array size at least. It's necessary to write '\x00'==0 to get something
3895 that's true only with -std. */
3896 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3898 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3899 inside strings and character constants. */
3901 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3903 int test (int i, double x);
3904 struct s1 {int (*f) (int a);};
3905 struct s2 {int (*f) (double a);};
3906 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3912 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3917 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3918 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3920 CC="$ac_save_CC $ac_arg"
3921 if ac_fn_c_try_compile "$LINENO"; then :
3922 ac_cv_prog_cc_c89=$ac_arg
3924 rm -f core conftest.err conftest.$ac_objext
3925 test "x$ac_cv_prog_cc_c89" != "xno" && break
3927 rm -f conftest.$ac_ext
3932 case "x$ac_cv_prog_cc_c89" in
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3935 $as_echo "none needed" >&6; } ;;
3937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3938 $as_echo "unsupported" >&6; } ;;
3940 CC="$CC $ac_cv_prog_cc_c89"
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3942 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3944 if test "x$ac_cv_prog_cc_c89" != xno; then :
3949 ac_cpp='$CPP $CPPFLAGS'
3950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3955 ac_cpp='$CPP $CPPFLAGS'
3956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3960 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3961 if ${am_cv_prog_cc_c_o+:} false; then :
3962 $as_echo_n "(cached) " >&6
3964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3965 /* end confdefs.h. */
3975 # Make sure it works both with $CC and with simple cc.
3976 # Following AC_PROG_CC_C_O, we do the test twice because some
3977 # compilers refuse to overwrite an existing .o file with -o,
3978 # though they will create one.
3979 am_cv_prog_cc_c_o=yes
3981 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3982 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3985 (exit $ac_status); } \
3986 && test -f conftest2.$ac_objext; then
3989 am_cv_prog_cc_c_o=no
3993 rm -f core conftest*
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3997 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3998 if test "$am_cv_prog_cc_c_o" != yes; then
3999 # Losing compiler, so override with the script.
4000 # FIXME: It is wrong to rewrite CC.
4001 # But if we don't then we get into trouble of one sort or another.
4002 # A longer-term fix would be to have automake use am__CC in this case,
4003 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4004 CC="$am_aux_dir/compile $CC"
4007 ac_cpp='$CPP $CPPFLAGS'
4008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4012 DEPDIR="${am__leading_dot}deps"
4014 ac_config_commands="$ac_config_commands depfiles"
4017 am_make=${MAKE-make}
4018 cat > confinc << 'END'
4020 @echo this is the am__doit target
4023 # If we don't find an include directive, just comment out the code.
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4025 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4029 # First try GNU make style include.
4030 echo "include confinc" > confmf
4031 # Ignore all kinds of additional output from 'make'.
4032 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4033 *the\ am__doit\ target*)
4039 # Now try BSD make style include.
4040 if test "$am__include" = "#"; then
4041 echo '.include "confinc"' > confmf
4042 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4043 *the\ am__doit\ target*)
4044 am__include=.include
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4053 $as_echo "$_am_result" >&6; }
4054 rm -f confinc confmf
4056 # Check whether --enable-dependency-tracking was given.
4057 if test "${enable_dependency_tracking+set}" = set; then :
4058 enableval=$enable_dependency_tracking;
4061 if test "x$enable_dependency_tracking" != xno; then
4062 am_depcomp="$ac_aux_dir/depcomp"
4066 if test "x$enable_dependency_tracking" != xno; then
4076 depcc="$CC" am_compiler_list=
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4079 $as_echo_n "checking dependency style of $depcc... " >&6; }
4080 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4081 $as_echo_n "(cached) " >&6
4083 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4084 # We make a subdir and do the tests there. Otherwise we can end up
4085 # making bogus files that we don't know about and never remove. For
4086 # instance it was reported that on HP-UX the gcc test will end up
4087 # making a dummy file named 'D' -- because '-MD' means "put the output
4091 # Copy depcomp to subdir because otherwise we won't find it if we're
4092 # using a relative directory.
4093 cp "$am_depcomp" conftest.dir
4095 # We will build objects and dependencies in a subdirectory because
4096 # it helps to detect inapplicable dependency modes. For instance
4097 # both Tru64's cc and ICC support -MD to output dependencies as a
4098 # side effect of compilation, but ICC will put the dependencies in
4099 # the current directory while Tru64 will put them in the object
4103 am_cv_CC_dependencies_compiler_type=none
4104 if test "$am_compiler_list" = ""; then
4105 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4108 case " $depcc " in #(
4109 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4112 for depmode in $am_compiler_list; do
4113 # Setup a source with many dependencies, because some compilers
4114 # like to wrap large dependency lists on column 80 (with \), and
4115 # we should not choose a depcomp mode which is confused by this.
4117 # We need to recreate these files for each test, as the compiler may
4118 # overwrite some of them when testing with obscure command lines.
4119 # This happens at least with the AIX C compiler.
4121 for i in 1 2 3 4 5 6; do
4122 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4123 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4124 # Solaris 10 /bin/sh.
4125 echo '/* dummy */' > sub/conftst$i.h
4127 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4129 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4130 # mode. It turns out that the SunPro C++ compiler does not properly
4131 # handle '-M -o', and we need to detect this. Also, some Intel
4132 # versions had trouble with output in subdirs.
4133 am__obj=sub/conftest.${OBJEXT-o}
4134 am__minus_obj="-o $am__obj"
4137 # This depmode causes a compiler race in universal mode.
4138 test "$am__universal" = false || continue
4141 # After this tag, mechanisms are not by side-effect, so they'll
4142 # only be used when explicitly requested.
4143 if test "x$enable_dependency_tracking" = xyes; then
4149 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4150 # This compiler won't grok '-c -o', but also, the minuso test has
4151 # not run yet. These depmodes are late enough in the game, and
4152 # so weak that their functioning should not be impacted.
4153 am__obj=conftest.${OBJEXT-o}
4158 if depmode=$depmode \
4159 source=sub/conftest.c object=$am__obj \
4160 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4161 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4162 >/dev/null 2>conftest.err &&
4163 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4164 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4165 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4166 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4167 # icc doesn't choke on unknown options, it will just issue warnings
4168 # or remarks (even with -Werror). So we grep stderr for any message
4169 # that says an option was ignored or not supported.
4170 # When given -MP, icc 7.0 and 7.1 complain thusly:
4171 # icc: Command line warning: ignoring option '-M'; no argument required
4172 # The diagnosis changed in icc 8.0:
4173 # icc: Command line remark: option '-MP' not supported
4174 if (grep 'ignoring option' conftest.err ||
4175 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4176 am_cv_CC_dependencies_compiler_type=$depmode
4185 am_cv_CC_dependencies_compiler_type=none
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4190 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4191 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4194 test "x$enable_dependency_tracking" != xno \
4195 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4197 am__fastdepCC_FALSE='#'
4199 am__fastdepCC_TRUE='#'
4200 am__fastdepCC_FALSE=
4205 ac_cpp='$CXXCPP $CPPFLAGS'
4206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4209 if test -z "$CXX"; then
4210 if test -n "$CCC"; then
4213 if test -n "$ac_tool_prefix"; then
4214 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4216 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4217 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4219 $as_echo_n "checking for $ac_word... " >&6; }
4220 if ${ac_cv_prog_CXX+:} false; then :
4221 $as_echo_n "(cached) " >&6
4223 if test -n "$CXX"; then
4224 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4230 test -z "$as_dir" && as_dir=.
4231 for ac_exec_ext in '' $ac_executable_extensions; do
4232 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4233 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4244 if test -n "$CXX"; then
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4246 $as_echo "$CXX" >&6; }
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4249 $as_echo "no" >&6; }
4253 test -n "$CXX" && break
4256 if test -z "$CXX"; then
4258 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4260 # Extract the first word of "$ac_prog", so it can be a program name with args.
4261 set dummy $ac_prog; ac_word=$2
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4263 $as_echo_n "checking for $ac_word... " >&6; }
4264 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4265 $as_echo_n "(cached) " >&6
4267 if test -n "$ac_ct_CXX"; then
4268 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4274 test -z "$as_dir" && as_dir=.
4275 for ac_exec_ext in '' $ac_executable_extensions; do
4276 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4277 ac_cv_prog_ac_ct_CXX="$ac_prog"
4278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4287 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4288 if test -n "$ac_ct_CXX"; then
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4290 $as_echo "$ac_ct_CXX" >&6; }
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4293 $as_echo "no" >&6; }
4297 test -n "$ac_ct_CXX" && break
4300 if test "x$ac_ct_CXX" = x; then
4303 case $cross_compiling:$ac_tool_warned in
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4306 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4307 ac_tool_warned=yes ;;
4315 # Provide some information about the compiler.
4316 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4319 for ac_option in --version -v -V -qversion; do
4320 { { ac_try="$ac_compiler $ac_option >&5"
4322 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
4323 *) ac_try_echo
=$ac_try;;
4325 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4326 $as_echo "$ac_try_echo"; } >&5
4327 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4329 if test -s conftest.err
; then
4331 ... rest of stderr output deleted ...
4332 10q' conftest.err
>conftest.er1
4333 cat conftest.er1
>&5
4335 rm -f conftest.er1 conftest.err
4336 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4337 test $ac_status = 0; }
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4341 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4342 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4343 $as_echo_n "(cached) " >&6
4345 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4346 /* end confdefs.h. */
4359 if ac_fn_cxx_try_compile
"$LINENO"; then :
4364 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4365 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4369 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4370 if test $ac_compiler_gnu = yes; then
4375 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4376 ac_save_CXXFLAGS
=$CXXFLAGS
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4378 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4379 if ${ac_cv_prog_cxx_g+:} false
; then :
4380 $as_echo_n "(cached) " >&6
4382 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4383 ac_cxx_werror_flag
=yes
4386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4387 /* end confdefs.h. */
4397 if ac_fn_cxx_try_compile
"$LINENO"; then :
4398 ac_cv_prog_cxx_g
=yes
4401 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4402 /* end confdefs.h. */
4412 if ac_fn_cxx_try_compile
"$LINENO"; then :
4415 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4418 /* end confdefs.h. */
4428 if ac_fn_cxx_try_compile
"$LINENO"; then :
4429 ac_cv_prog_cxx_g
=yes
4431 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4433 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4435 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4436 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4439 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4440 if test "$ac_test_CXXFLAGS" = set; then
4441 CXXFLAGS
=$ac_save_CXXFLAGS
4442 elif test $ac_cv_prog_cxx_g = yes; then
4443 if test "$GXX" = yes; then
4449 if test "$GXX" = yes; then
4456 ac_cpp
='$CPP $CPPFLAGS'
4457 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4458 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4459 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4461 depcc
="$CXX" am_compiler_list
=
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4464 $as_echo_n "checking dependency style of $depcc... " >&6; }
4465 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
4466 $as_echo_n "(cached) " >&6
4468 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4469 # We make a subdir and do the tests there. Otherwise we can end up
4470 # making bogus files that we don't know about and never remove. For
4471 # instance it was reported that on HP-UX the gcc test will end up
4472 # making a dummy file named 'D' -- because '-MD' means "put the output
4476 # Copy depcomp to subdir because otherwise we won't find it if we're
4477 # using a relative directory.
4478 cp "$am_depcomp" conftest.dir
4480 # We will build objects and dependencies in a subdirectory because
4481 # it helps to detect inapplicable dependency modes. For instance
4482 # both Tru64's cc and ICC support -MD to output dependencies as a
4483 # side effect of compilation, but ICC will put the dependencies in
4484 # the current directory while Tru64 will put them in the object
4488 am_cv_CXX_dependencies_compiler_type
=none
4489 if test "$am_compiler_list" = ""; then
4490 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4493 case " $depcc " in #(
4494 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4497 for depmode
in $am_compiler_list; do
4498 # Setup a source with many dependencies, because some compilers
4499 # like to wrap large dependency lists on column 80 (with \), and
4500 # we should not choose a depcomp mode which is confused by this.
4502 # We need to recreate these files for each test, as the compiler may
4503 # overwrite some of them when testing with obscure command lines.
4504 # This happens at least with the AIX C compiler.
4506 for i
in 1 2 3 4 5 6; do
4507 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4508 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4509 # Solaris 10 /bin/sh.
4510 echo '/* dummy */' > sub
/conftst
$i.h
4512 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4514 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4515 # mode. It turns out that the SunPro C++ compiler does not properly
4516 # handle '-M -o', and we need to detect this. Also, some Intel
4517 # versions had trouble with output in subdirs.
4518 am__obj
=sub
/conftest.
${OBJEXT-o}
4519 am__minus_obj
="-o $am__obj"
4522 # This depmode causes a compiler race in universal mode.
4523 test "$am__universal" = false
|| continue
4526 # After this tag, mechanisms are not by side-effect, so they'll
4527 # only be used when explicitly requested.
4528 if test "x$enable_dependency_tracking" = xyes
; then
4534 msvc7
| msvc7msys
| msvisualcpp
| msvcmsys
)
4535 # This compiler won't grok '-c -o', but also, the minuso test has
4536 # not run yet. These depmodes are late enough in the game, and
4537 # so weak that their functioning should not be impacted.
4538 am__obj
=conftest.
${OBJEXT-o}
4543 if depmode
=$depmode \
4544 source=sub
/conftest.c object
=$am__obj \
4545 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4546 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4547 >/dev
/null
2>conftest.err
&&
4548 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4549 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4550 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4551 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4552 # icc doesn't choke on unknown options, it will just issue warnings
4553 # or remarks (even with -Werror). So we grep stderr for any message
4554 # that says an option was ignored or not supported.
4555 # When given -MP, icc 7.0 and 7.1 complain thusly:
4556 # icc: Command line warning: ignoring option '-M'; no argument required
4557 # The diagnosis changed in icc 8.0:
4558 # icc: Command line remark: option '-MP' not supported
4559 if (grep 'ignoring option' conftest.err
||
4560 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4561 am_cv_CXX_dependencies_compiler_type
=$depmode
4570 am_cv_CXX_dependencies_compiler_type
=none
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4575 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4576 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4579 test "x$enable_dependency_tracking" != xno \
4580 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4581 am__fastdepCXX_TRUE
=
4582 am__fastdepCXX_FALSE
='#'
4584 am__fastdepCXX_TRUE
='#'
4585 am__fastdepCXX_FALSE
=
4590 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
4591 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4592 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4593 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
4594 if test -n "$ac_tool_prefix"; then
4595 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
4597 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4598 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4600 $as_echo_n "checking for $ac_word... " >&6; }
4601 if ${ac_cv_prog_OBJCXX+:} false
; then :
4602 $as_echo_n "(cached) " >&6
4604 if test -n "$OBJCXX"; then
4605 ac_cv_prog_OBJCXX
="$OBJCXX" # Let the user override the test.
4607 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4611 test -z "$as_dir" && as_dir
=.
4612 for ac_exec_ext
in '' $ac_executable_extensions; do
4613 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4614 ac_cv_prog_OBJCXX
="$ac_tool_prefix$ac_prog"
4615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4624 OBJCXX
=$ac_cv_prog_OBJCXX
4625 if test -n "$OBJCXX"; then
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCXX" >&5
4627 $as_echo "$OBJCXX" >&6; }
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4630 $as_echo "no" >&6; }
4634 test -n "$OBJCXX" && break
4637 if test -z "$OBJCXX"; then
4638 ac_ct_OBJCXX
=$OBJCXX
4639 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
4641 # Extract the first word of "$ac_prog", so it can be a program name with args.
4642 set dummy
$ac_prog; ac_word
=$2
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4644 $as_echo_n "checking for $ac_word... " >&6; }
4645 if ${ac_cv_prog_ac_ct_OBJCXX+:} false
; then :
4646 $as_echo_n "(cached) " >&6
4648 if test -n "$ac_ct_OBJCXX"; then
4649 ac_cv_prog_ac_ct_OBJCXX
="$ac_ct_OBJCXX" # Let the user override the test.
4651 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4655 test -z "$as_dir" && as_dir
=.
4656 for ac_exec_ext
in '' $ac_executable_extensions; do
4657 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4658 ac_cv_prog_ac_ct_OBJCXX
="$ac_prog"
4659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4668 ac_ct_OBJCXX
=$ac_cv_prog_ac_ct_OBJCXX
4669 if test -n "$ac_ct_OBJCXX"; then
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCXX" >&5
4671 $as_echo "$ac_ct_OBJCXX" >&6; }
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4674 $as_echo "no" >&6; }
4678 test -n "$ac_ct_OBJCXX" && break
4681 if test "x$ac_ct_OBJCXX" = x
; then
4684 case $cross_compiling:$ac_tool_warned in
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4687 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4688 ac_tool_warned
=yes ;;
4690 OBJCXX
=$ac_ct_OBJCXX
4694 # Provide some information about the compiler.
4695 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C++ compiler version" >&5
4698 for ac_option
in --version -v -V -qversion; do
4699 { { ac_try
="$ac_compiler $ac_option >&5"
4701 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4702 *) ac_try_echo=$ac_try;;
4704 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4705 $as_echo "$ac_try_echo"; } >&5
4706 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4708 if test -s conftest.err; then
4710 ... rest of stderr output deleted ...
4711 10q' conftest.err >conftest.er1
4712 cat conftest.er1 >&5
4714 rm -f conftest.er1 conftest.err
4715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4716 test $ac_status = 0; }
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C++ compiler" >&5
4720 $as_echo_n "checking whether we are using the GNU Objective C++ compiler... " >&6; }
4721 if ${ac_cv_objcxx_compiler_gnu+:} false; then :
4722 $as_echo_n "(cached) " >&6
4724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4725 /* end confdefs.h. */
4738 if ac_fn_objcxx_try_compile "$LINENO"; then :
4743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4744 ac_cv_objcxx_compiler_gnu=$ac_compiler_gnu
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objcxx_compiler_gnu" >&5
4748 $as_echo "$ac_cv_objcxx_compiler_gnu" >&6; }
4749 if test $ac_compiler_gnu = yes; then
4754 ac_test_OBJCXXFLAGS=${OBJCXXFLAGS+set}
4755 ac_save_OBJCXXFLAGS=$OBJCXXFLAGS
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJCXX accepts -g" >&5
4757 $as_echo_n "checking whether $OBJCXX accepts -g... " >&6; }
4758 if ${ac_cv_prog_objcxx_g+:} false; then :
4759 $as_echo_n "(cached) " >&6
4761 ac_save_objcxx_werror_flag=$ac_objcxx_werror_flag
4762 ac_objcxx_werror_flag=yes
4763 ac_cv_prog_objcxx_g=no
4765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4766 /* end confdefs.h. */
4776 if ac_fn_objcxx_try_compile "$LINENO"; then :
4777 ac_cv_prog_objcxx_g=yes
4780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4781 /* end confdefs.h. */
4791 if ac_fn_objcxx_try_compile "$LINENO"; then :
4794 ac_objcxx_werror_flag=$ac_save_objcxx_werror_flag
4796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4797 /* end confdefs.h. */
4807 if ac_fn_objcxx_try_compile "$LINENO"; then :
4808 ac_cv_prog_objcxx_g=yes
4810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4815 ac_objcxx_werror_flag=$ac_save_objcx_werror_flag
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objcxx_g" >&5
4818 $as_echo "$ac_cv_prog_objcxx_g" >&6; }
4819 if test "$ac_test_OBJCXXFLAGS" = set; then
4820 OBJCXXFLAGS=$ac_save_OBJCXXFLAGS
4821 elif test $ac_cv_prog_objcxx_g = yes; then
4822 if test "$GOBJCXX" = yes; then
4823 OBJCXXFLAGS="-g -O2"
4828 if test "$GOBJCXX" = yes; then
4835 ac_cpp='$CPP $CPPFLAGS'
4836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4840 depcc="$OBJCXX" am_compiler_list='gcc3 gcc'
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4843 $as_echo_n "checking dependency style of $depcc... " >&6; }
4844 if ${am_cv_OBJCXX_dependencies_compiler_type+:} false; then :
4845 $as_echo_n "(cached) " >&6
4847 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4848 # We make a subdir and do the tests there. Otherwise we can end up
4849 # making bogus files that we don't know about and never remove. For
4850 # instance it was reported that on HP-UX the gcc test will end up
4851 # making a dummy file named 'D' -- because '-MD' means "put the output
4855 # Copy depcomp to subdir because otherwise we won't find it if we're
4856 # using a relative directory.
4857 cp "$am_depcomp" conftest.dir
4859 # We will build objects and dependencies in a subdirectory because
4860 # it helps to detect inapplicable dependency modes. For instance
4861 # both Tru64's cc and ICC support -MD to output dependencies as a
4862 # side effect of compilation, but ICC will put the dependencies in
4863 # the current directory while Tru64 will put them in the object
4867 am_cv_OBJCXX_dependencies_compiler_type=none
4868 if test "$am_compiler_list" = ""; then
4869 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4874 for depmode in $am_compiler_list; do
4875 # Setup a source with many dependencies, because some compilers
4876 # like to wrap large dependency lists on column 80 (with \), and
4877 # we should not choose a depcomp mode which is confused by this.
4879 # We need to recreate these files for each test, as the compiler may
4880 # overwrite some of them when testing with obscure command lines.
4881 # This happens at least with the AIX C compiler.
4883 for i in 1 2 3 4 5 6; do
4884 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4885 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4886 # Solaris 10 /bin/sh.
4887 echo '/* dummy */' > sub/conftst$i.h
4889 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4891 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4892 # mode. It turns out that the SunPro C++ compiler does not properly
4893 # handle '-M -o', and we need to detect this. Also, some Intel
4894 # versions had trouble with output in subdirs.
4895 am__obj=sub/conftest.${OBJEXT-o}
4896 am__minus_obj="-o $am__obj"
4899 # This depmode causes a compiler race in universal mode.
4900 test "$am__universal" = false || continue
4903 # After this tag, mechanisms are not by side-effect, so they'll
4904 # only be used when explicitly requested.
4905 if test "x$enable_dependency_tracking" = xyes; then
4911 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4912 # This compiler won't grok '-c -o', but also, the minuso test has
4913 # not run yet. These depmodes are late enough in the game, and
4914 # so weak that their functioning should not be impacted.
4915 am__obj=conftest.${OBJEXT-o}
4920 if depmode=$depmode \
4921 source=sub/conftest.c object=$am__obj \
4922 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4923 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4924 >/dev/null 2>conftest.err &&
4925 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4926 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4927 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4928 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4929 # icc doesn't choke on unknown options, it will just issue warnings
4930 # or remarks (even with -Werror). So we grep stderr for any message
4931 # that says an option was ignored or not supported.
4932 # When given -MP, icc 7.0 and 7.1 complain thusly:
4933 # icc: Command line warning: ignoring option '-M'; no argument required
4934 # The diagnosis changed in icc 8.0:
4935 # icc: Command line remark: option '-MP' not supported
4936 if (grep 'ignoring option' conftest.err ||
4937 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4938 am_cv_OBJCXX_dependencies_compiler_type=$depmode
4947 am_cv_OBJCXX_dependencies_compiler_type=none
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJCXX_dependencies_compiler_type" >&5
4952 $as_echo "$am_cv_OBJCXX_dependencies_compiler_type" >&6; }
4953 OBJCXXDEPMODE=depmode=$am_cv_OBJCXX_dependencies_compiler_type
4956 test "x$enable_dependency_tracking" != xno \
4957 && test "$am_cv_OBJCXX_dependencies_compiler_type" = gcc3; then
4958 am__fastdepOBJCXX_TRUE=
4959 am__fastdepOBJCXX_FALSE='#'
4961 am__fastdepOBJCXX_TRUE='#'
4962 am__fastdepOBJCXX_FALSE=
4968 if test -n "$ac_tool_prefix"; then
4969 for ac_prog in ar lib "link -lib"
4971 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4972 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4974 $as_echo_n "checking for $ac_word... " >&6; }
4975 if ${ac_cv_prog_AR+:} false; then :
4976 $as_echo_n "(cached) " >&6
4978 if test -n "$AR"; then
4979 ac_cv_prog_AR="$AR" # Let the user override the test.
4981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4985 test -z "$as_dir" && as_dir=.
4986 for ac_exec_ext in '' $ac_executable_extensions; do
4987 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4988 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4999 if test -n "$AR"; then
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5001 $as_echo "$AR" >&6; }
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5004 $as_echo "no" >&6; }
5008 test -n "$AR" && break
5011 if test -z "$AR"; then
5013 for ac_prog in ar lib "link -lib"
5015 # Extract the first word of "$ac_prog", so it can be a program name with args.
5016 set dummy $ac_prog; ac_word=$2
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5018 $as_echo_n "checking for $ac_word... " >&6; }
5019 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5020 $as_echo_n "(cached) " >&6
5022 if test -n "$ac_ct_AR"; then
5023 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5029 test -z "$as_dir" && as_dir=.
5030 for ac_exec_ext in '' $ac_executable_extensions; do
5031 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5032 ac_cv_prog_ac_ct_AR="$ac_prog"
5033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5042 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5043 if test -n "$ac_ct_AR"; then
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5045 $as_echo "$ac_ct_AR" >&6; }
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5048 $as_echo "no" >&6; }
5052 test -n "$ac_ct_AR" && break
5055 if test "x$ac_ct_AR" = x; then
5058 case $cross_compiling:$ac_tool_warned in
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5061 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5062 ac_tool_warned=yes ;;
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
5071 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
5072 if ${am_cv_ar_interface+:} false; then :
5073 $as_echo_n "(cached) " >&6
5076 ac_cpp='$CPP $CPPFLAGS'
5077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5081 am_cv_ar_interface=ar
5082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5083 /* end confdefs.h. */
5084 int some_variable = 0;
5086 if ac_fn_c_try_compile "$LINENO"; then :
5087 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
5088 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5089 (eval $am_ar_try) 2>&5
5091 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5092 test $ac_status = 0; }
5093 if test "$ac_status" -eq 0; then
5094 am_cv_ar_interface=ar
5096 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
5097 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5098 (eval $am_ar_try) 2>&5
5100 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5101 test $ac_status = 0; }
5102 if test "$ac_status" -eq 0; then
5103 am_cv_ar_interface=lib
5105 am_cv_ar_interface=unknown
5108 rm -f conftest.lib libconftest.a
5111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5113 ac_cpp='$CPP $CPPFLAGS'
5114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
5120 $as_echo "$am_cv_ar_interface" >&6; }
5122 case $am_cv_ar_interface in
5126 # Microsoft lib, so override with the ar-lib wrapper script.
5127 # FIXME: It is wrong to rewrite AR.
5128 # But if we don't then we get into trouble of one sort or another.
5129 # A longer-term fix would be to have automake use am__AR in this case,
5130 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
5132 AR="$am_aux_dir/ar-lib $AR"
5135 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
5144 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5149 macro_version='2.4.2'
5150 macro_revision='1.3337'
5164 ltmain="$ac_aux_dir/ltmain.sh"
5166 # Make sure we can run config.sub.
5167 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5168 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5171 $as_echo_n "checking build system type... " >&6; }
5172 if ${ac_cv_build+:} false; then :
5173 $as_echo_n "(cached) " >&6
5175 ac_build_alias=$build_alias
5176 test "x$ac_build_alias" = x &&
5177 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5178 test "x$ac_build_alias" = x &&
5179 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5180 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5181 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5185 $as_echo "$ac_cv_build" >&6; }
5186 case $ac_cv_build in
5188 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5191 ac_save_IFS=$IFS; IFS='-'
5197 # Remember, the first character of IFS is used to create $*,
5198 # except with old shells:
5201 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5205 $as_echo_n "checking host system type... " >&6; }
5206 if ${ac_cv_host+:} false; then :
5207 $as_echo_n "(cached) " >&6
5209 if test "x$host_alias" = x; then
5210 ac_cv_host=$ac_cv_build
5212 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5213 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5218 $as_echo "$ac_cv_host" >&6; }
5221 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5224 ac_save_IFS=$IFS; IFS='-'
5230 # Remember, the first character of IFS is used to create $*,
5231 # except with old shells:
5234 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5237 # Backslashify metacharacters that are still active within
5238 # double-quoted strings.
5239 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
5241 # Same as above, but do not quote variable references.
5242 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
5244 # Sed substitution to delay expansion of an escaped shell variable in a
5245 # double_quote_subst'ed string.
5246 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5248 # Sed substitution to delay expansion of an escaped single quote.
5249 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5251 # Sed substitution to avoid accidental globbing in evaled expressions
5252 no_glob_subst='s/\*/\\\*/g'
5254 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5255 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5256 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
5259 $as_echo_n "checking how to print
strings...
" >&6; }
5260 # Test print first, because it will be a builtin if present.
5261 if test "X
`( print -r -- -n ) 2>/dev/null`" = X-n && \
5262 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
5264 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
5267 # Use this function as a fallback that always works.
5268 func_fallback_echo ()
5270 eval 'cat <<_LTECHO_EOF
5274 ECHO='func_fallback_echo'
5277 # func_echo_all arg...
5278 # Invoke $ECHO with all args, space-separated.
5285 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
5286 $as_echo "printf" >&6; } ;;
5287 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
5288 $as_echo "print
-r" >&6; } ;;
5289 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
5290 $as_echo "cat" >&6; } ;;
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
5307 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
5308 if ${ac_cv_path_SED+:} false; then :
5309 $as_echo_n "(cached
) " >&6
5311 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5312 for ac_i in 1 2 3 4 5 6 7; do
5313 ac_script="$ac_script$as_nl$ac_script"
5315 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5316 { ac_script=; unset ac_script;}
5317 if test -z "$SED"; then
5318 ac_path_SED_found=false
5319 # Loop through the user's path and test for each of PROGNAME-LIST
5320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5324 test -z "$as_dir" && as_dir=.
5325 for ac_prog in sed gsed; do
5326 for ac_exec_ext in '' $ac_executable_extensions; do
5327 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5328 as_fn_executable_p "$ac_path_SED" || continue
5329 # Check for GNU ac_path_SED and select it if it is found.
5330 # Check for GNU $ac_path_SED
5331 case `"$ac_path_SED" --version 2>&1` in
5333 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5336 $as_echo_n 0123456789 >"conftest.
in"
5339 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5340 mv "conftest.tmp
" "conftest.
in"
5341 cp "conftest.
in" "conftest.
nl"
5342 $as_echo '' >> "conftest.
nl"
5343 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5344 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5345 as_fn_arith $ac_count + 1 && ac_count=$as_val
5346 if test $ac_count -gt ${ac_path_SED_max-0}; then
5347 # Best one so far, save it but keep looking for a better one
5348 ac_cv_path_SED="$ac_path_SED"
5349 ac_path_SED_max=$ac_count
5351 # 10*(2^10) chars as input seems more than enough
5352 test $ac_count -gt 10 && break
5354 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5357 $ac_path_SED_found && break 3
5362 if test -z "$ac_cv_path_SED"; then
5363 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
5371 $as_echo "$ac_cv_path_SED" >&6; }
5372 SED="$ac_cv_path_SED"
5375 test -z "$SED" && SED=sed
5376 Xsed="$SED -e 1s
/^X
//"
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
5389 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
5390 if ${ac_cv_path_GREP+:} false; then :
5391 $as_echo_n "(cached
) " >&6
5393 if test -z "$GREP"; then
5394 ac_path_GREP_found=false
5395 # Loop through the user's path and test for each of PROGNAME-LIST
5396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5397 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5400 test -z "$as_dir" && as_dir=.
5401 for ac_prog in grep ggrep; do
5402 for ac_exec_ext in '' $ac_executable_extensions; do
5403 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5404 as_fn_executable_p "$ac_path_GREP" || continue
5405 # Check for GNU ac_path_GREP and select it if it is found.
5406 # Check for GNU $ac_path_GREP
5407 case `"$ac_path_GREP" --version 2>&1` in
5409 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5412 $as_echo_n 0123456789 >"conftest.
in"
5415 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5416 mv "conftest.tmp
" "conftest.
in"
5417 cp "conftest.
in" "conftest.
nl"
5418 $as_echo 'GREP' >> "conftest.
nl"
5419 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5420 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5421 as_fn_arith $ac_count + 1 && ac_count=$as_val
5422 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5423 # Best one so far, save it but keep looking for a better one
5424 ac_cv_path_GREP="$ac_path_GREP"
5425 ac_path_GREP_max=$ac_count
5427 # 10*(2^10) chars as input seems more than enough
5428 test $ac_count -gt 10 && break
5430 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5433 $ac_path_GREP_found && break 3
5438 if test -z "$ac_cv_path_GREP"; then
5439 as_fn_error $? "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5442 ac_cv_path_GREP=$GREP
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
5447 $as_echo "$ac_cv_path_GREP" >&6; }
5448 GREP="$ac_cv_path_GREP"
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
5452 $as_echo_n "checking
for egrep...
" >&6; }
5453 if ${ac_cv_path_EGREP+:} false; then :
5454 $as_echo_n "(cached
) " >&6
5456 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5457 then ac_cv_path_EGREP="$GREP -E"
5459 if test -z "$EGREP"; then
5460 ac_path_EGREP_found=false
5461 # Loop through the user's path and test for each of PROGNAME-LIST
5462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5463 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5466 test -z "$as_dir" && as_dir=.
5467 for ac_prog in egrep; do
5468 for ac_exec_ext in '' $ac_executable_extensions; do
5469 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5470 as_fn_executable_p "$ac_path_EGREP" || continue
5471 # Check for GNU ac_path_EGREP and select it if it is found.
5472 # Check for GNU $ac_path_EGREP
5473 case `"$ac_path_EGREP" --version 2>&1` in
5475 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5478 $as_echo_n 0123456789 >"conftest.
in"
5481 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5482 mv "conftest.tmp
" "conftest.
in"
5483 cp "conftest.
in" "conftest.
nl"
5484 $as_echo 'EGREP' >> "conftest.
nl"
5485 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5486 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5487 as_fn_arith $ac_count + 1 && ac_count=$as_val
5488 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5489 # Best one so far, save it but keep looking for a better one
5490 ac_cv_path_EGREP="$ac_path_EGREP"
5491 ac_path_EGREP_max=$ac_count
5493 # 10*(2^10) chars as input seems more than enough
5494 test $ac_count -gt 10 && break
5496 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5499 $ac_path_EGREP_found && break 3
5504 if test -z "$ac_cv_path_EGREP"; then
5505 as_fn_error $? "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5508 ac_cv_path_EGREP=$EGREP
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
5514 $as_echo "$ac_cv_path_EGREP" >&6; }
5515 EGREP="$ac_cv_path_EGREP"
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
5519 $as_echo_n "checking
for fgrep...
" >&6; }
5520 if ${ac_cv_path_FGREP+:} false; then :
5521 $as_echo_n "(cached
) " >&6
5523 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5524 then ac_cv_path_FGREP="$GREP -F"
5526 if test -z "$FGREP"; then
5527 ac_path_FGREP_found=false
5528 # Loop through the user's path and test for each of PROGNAME-LIST
5529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5530 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5533 test -z "$as_dir" && as_dir=.
5534 for ac_prog in fgrep; do
5535 for ac_exec_ext in '' $ac_executable_extensions; do
5536 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5537 as_fn_executable_p "$ac_path_FGREP" || continue
5538 # Check for GNU ac_path_FGREP and select it if it is found.
5539 # Check for GNU $ac_path_FGREP
5540 case `"$ac_path_FGREP" --version 2>&1` in
5542 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5545 $as_echo_n 0123456789 >"conftest.
in"
5548 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5549 mv "conftest.tmp
" "conftest.
in"
5550 cp "conftest.
in" "conftest.
nl"
5551 $as_echo 'FGREP' >> "conftest.
nl"
5552 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5553 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5554 as_fn_arith $ac_count + 1 && ac_count=$as_val
5555 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5556 # Best one so far, save it but keep looking for a better one
5557 ac_cv_path_FGREP="$ac_path_FGREP"
5558 ac_path_FGREP_max=$ac_count
5560 # 10*(2^10) chars as input seems more than enough
5561 test $ac_count -gt 10 && break
5563 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5566 $ac_path_FGREP_found && break 3
5571 if test -z "$ac_cv_path_FGREP"; then
5572 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5575 ac_cv_path_FGREP=$FGREP
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
5581 $as_echo "$ac_cv_path_FGREP" >&6; }
5582 FGREP="$ac_cv_path_FGREP"
5585 test -z "$GREP" && GREP=grep
5605 # Check whether --with-gnu-ld was given.
5606 if test "${with_gnu_ld+set}" = set; then :
5607 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5613 if test "$GCC" = yes; then
5614 # Check if gcc -print-prog-name=ld gives a path.
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
5616 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
5619 # gcc leaves a trailing carriage return which upsets mingw
5620 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5622 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5625 # Accept absolute paths.
5627 re_direlt='/[^/][^/]*/\.\./'
5628 # Canonicalize the pathname of ld
5629 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5630 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5631 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
5633 test -z "$LD" && LD="$ac_prog"
5636 # If it fails, then pretend we aren't using GCC.
5640 # If it is relative, then search for the first ld in PATH.
5644 elif test "$with_gnu_ld" = yes; then
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
5646 $as_echo_n "checking
for GNU ld...
" >&6; }
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non
-GNU ld
" >&5
5649 $as_echo_n "checking
for non
-GNU ld...
" >&6; }
5651 if ${lt_cv_path_LD+:} false; then :
5652 $as_echo_n "(cached
) " >&6
5654 if test -z "$LD"; then
5655 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5656 for ac_dir in $PATH; do
5658 test -z "$ac_dir" && ac_dir=.
5659 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5660 lt_cv_path_LD="$ac_dir/$ac_prog"
5661 # Check to see if the program is GNU ld. I'd rather use --version,
5662 # but apparently some variants of GNU ld only accept -v.
5663 # Break only if it was the GNU/non-GNU ld that we prefer.
5664 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5665 *GNU* | *'with BFD'*)
5666 test "$with_gnu_ld" != no && break
5669 test "$with_gnu_ld" != yes && break
5676 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5681 if test -n "$LD"; then
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
5683 $as_echo "$LD" >&6; }
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5686 $as_echo "no
" >&6; }
5688 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
5690 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
5691 if ${lt_cv_prog_gnu_ld+:} false; then :
5692 $as_echo_n "(cached
) " >&6
5694 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5695 case `$LD -v 2>&1 </dev/null` in
5696 *GNU* | *'with BFD'*)
5697 lt_cv_prog_gnu_ld=yes
5700 lt_cv_prog_gnu_ld=no
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
5705 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5706 with_gnu_ld=$lt_cv_prog_gnu_ld
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD
- or MS
-compatible name lister
(nm
)" >&5
5717 $as_echo_n "checking
for BSD
- or MS
-compatible name lister
(nm
)...
" >&6; }
5718 if ${lt_cv_path_NM+:} false; then :
5719 $as_echo_n "(cached
) " >&6
5721 if test -n "$NM"; then
5722 # Let the user override the test.
5725 lt_nm_to_check="${ac_tool_prefix}nm
"
5726 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5727 lt_nm_to_check="$lt_nm_to_check nm
"
5729 for lt_tmp_nm in $lt_nm_to_check; do
5730 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5731 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5733 test -z "$ac_dir" && ac_dir=.
5734 tmp_nm="$ac_dir/$lt_tmp_nm"
5735 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5736 # Check to see if the nm accepts a BSD-compat flag.
5737 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5738 # nm: unknown option "B
" ignored
5739 # Tru64's nm complains that /dev/null is an invalid object file
5740 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5741 */dev/null* | *'Invalid file or object type'*)
5742 lt_cv_path_NM="$tmp_nm -B"
5746 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5748 lt_cv_path_NM="$tmp_nm -p"
5752 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5753 continue # so that we can try to find one that supports BSD flags
5762 : ${lt_cv_path_NM=no}
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5766 $as_echo "$lt_cv_path_NM" >&6; }
5767 if test "$lt_cv_path_NM" != "no
"; then
5770 # Didn't find any BSD compatible name lister, look for dumpbin.
5771 if test -n "$DUMPBIN"; then :
5772 # Let the user override the test.
5774 if test -n "$ac_tool_prefix"; then
5775 for ac_prog in dumpbin "link
-dump"
5777 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5778 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5780 $as_echo_n "checking
for $ac_word...
" >&6; }
5781 if ${ac_cv_prog_DUMPBIN+:} false; then :
5782 $as_echo_n "(cached
) " >&6
5784 if test -n "$DUMPBIN"; then
5785 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5791 test -z "$as_dir" && as_dir=.
5792 for ac_exec_ext in '' $ac_executable_extensions; do
5793 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5794 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5795 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5804 DUMPBIN=$ac_cv_prog_DUMPBIN
5805 if test -n "$DUMPBIN"; then
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5807 $as_echo "$DUMPBIN" >&6; }
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5810 $as_echo "no
" >&6; }
5814 test -n "$DUMPBIN" && break
5817 if test -z "$DUMPBIN"; then
5818 ac_ct_DUMPBIN=$DUMPBIN
5819 for ac_prog in dumpbin "link
-dump"
5821 # Extract the first word of "$ac_prog", so it can be a program name with args.
5822 set dummy $ac_prog; ac_word=$2
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5824 $as_echo_n "checking
for $ac_word...
" >&6; }
5825 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5826 $as_echo_n "(cached
) " >&6
5828 if test -n "$ac_ct_DUMPBIN"; then
5829 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5835 test -z "$as_dir" && as_dir=.
5836 for ac_exec_ext in '' $ac_executable_extensions; do
5837 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5838 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5839 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5848 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5849 if test -n "$ac_ct_DUMPBIN"; then
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5851 $as_echo "$ac_ct_DUMPBIN" >&6; }
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5854 $as_echo "no
" >&6; }
5858 test -n "$ac_ct_DUMPBIN" && break
5861 if test "x
$ac_ct_DUMPBIN" = x; then
5864 case $cross_compiling:$ac_tool_warned in
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5867 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5868 ac_tool_warned=yes ;;
5870 DUMPBIN=$ac_ct_DUMPBIN
5874 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5876 DUMPBIN="$DUMPBIN -symbols"
5884 if test "$DUMPBIN" != ":"; then
5888 test -z "$NM" && NM=nm
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5896 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5897 if ${lt_cv_nm_interface+:} false; then :
5898 $as_echo_n "(cached
) " >&6
5900 lt_cv_nm_interface="BSD nm
"
5901 echo "int some_variable
= 0;" > conftest.$ac_ext
5902 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5903 (eval "$ac_compile" 2>conftest.err)
5904 cat conftest.err >&5
5905 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5906 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5907 cat conftest.err >&5
5908 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5909 cat conftest.out >&5
5910 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5911 lt_cv_nm_interface="MS dumpbin
"
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5916 $as_echo "$lt_cv_nm_interface" >&6; }
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
5919 $as_echo_n "checking whether
ln -s works...
" >&6; }
5921 if test "$LN_S" = "ln -s"; then
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5923 $as_echo "yes" >&6; }
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
5926 $as_echo "no
, using
$LN_S" >&6; }
5929 # find the maximum length of command line arguments
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5931 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5932 if ${lt_cv_sys_max_cmd_len+:} false; then :
5933 $as_echo_n "(cached
) " >&6
5940 # On DJGPP, this test can blow up pretty badly due to problems in libc
5941 # (any single argument exceeding 2000 bytes causes a buffer overrun
5942 # during glob expansion). Even if it were fixed, the result of this
5943 # check would be larger than it should be.
5944 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5948 # Under GNU Hurd, this test is not required because there is
5949 # no limit to the length of command line arguments.
5950 # Libtool will interpret -1 as no limit whatsoever
5951 lt_cv_sys_max_cmd_len=-1;
5954 cygwin* | mingw* | cegcc*)
5955 # On Win9x/ME, this test blows up -- it succeeds, but takes
5956 # about 5 minutes as the teststring grows exponentially.
5957 # Worse, since 9x/ME are not pre-emptively multitasking,
5958 # you end up with a "frozen
" computer, even though with patience
5959 # the test eventually succeeds (with a max line length of 256k).
5960 # Instead, let's just punt: use the minimum linelength reported by
5961 # all of the supported platforms: 8192 (on NT/2K/XP).
5962 lt_cv_sys_max_cmd_len=8192;
5966 # On MiNT this can take a long time and run out of memory.
5967 lt_cv_sys_max_cmd_len=8192;
5971 # On AmigaOS with pdksh, this test takes hours, literally.
5972 # So we just punt and use a minimum line length of 8192.
5973 lt_cv_sys_max_cmd_len=8192;
5976 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5977 # This has been around since 386BSD, at least. Likely further.
5978 if test -x /sbin/sysctl; then
5979 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5980 elif test -x /usr/sbin/sysctl; then
5981 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5983 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5985 # And add a safety zone
5986 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5987 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5991 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5992 lt_cv_sys_max_cmd_len=196608
5996 # The test takes a long time on OS/2.
5997 lt_cv_sys_max_cmd_len=8192
6001 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6002 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6003 # nice to cause kernel panics so lets avoid the loop below.
6004 # First set a reasonable default.
6005 lt_cv_sys_max_cmd_len=16384
6007 if test -x /sbin/sysconfig; then
6008 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6009 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6014 lt_cv_sys_max_cmd_len=102400
6016 sysv5* | sco5v6* | sysv4.2uw2*)
6017 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6018 if test -n "$kargmax"; then
6019 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6021 lt_cv_sys_max_cmd_len=32768
6025 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6026 if test -n "$lt_cv_sys_max_cmd_len"; then
6027 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6028 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6030 # Make teststring a little bigger before we do anything with it.
6031 # a 1K string should be a reasonable start.
6032 for i in 1 2 3 4 5 6 7 8 ; do
6033 teststring=$teststring$teststring
6035 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6036 # If test is not a shell built-in, we'll probably end up computing a
6037 # maximum length that is only half of the actual maximum length, but
6039 while { test "X
"`env echo "$teststring$teststring" 2>/dev/null` \
6040 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
6041 test $i != 17 # 1/2 MB should be enough
6044 teststring=$teststring$teststring
6046 # Only check the string length outside the loop.
6047 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
6049 # Add a significant safety factor because C++ compilers can tack on
6050 # massive amounts of additional arguments before passing them to the
6051 # linker. It appears as though 1/2 is a usable value.
6052 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6059 if test -n $lt_cv_sys_max_cmd_len ; then
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
6061 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
6064 $as_echo "none
" >&6; }
6066 max_cmd_len=$lt_cv_sys_max_cmd_len
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
6078 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
6079 # Try some XSI features
6082 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
6084 && eval 'test $(( 1 + 1 )) -eq 2 \
6085 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
6088 $as_echo "$xsi_shell" >&6; }
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
6092 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
6094 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6096 && lt_shell_append=yes
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
6098 $as_echo "$lt_shell_append" >&6; }
6101 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6111 # test EBCDIC or ASCII
6112 case `echo X|tr X '\101'` in
6113 A) # ASCII based system
6114 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6115 lt_SP2NL='tr \040 \012'
6116 lt_NL2SP='tr \015\012 \040\040'
6118 *) # EBCDIC based system
6119 lt_SP2NL='tr \100 \n'
6120 lt_NL2SP='tr \r\n \100\100'
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
6133 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
6134 if ${lt_cv_to_host_file_cmd+:} false; then :
6135 $as_echo_n "(cached
) " >&6
6140 *-*-mingw* ) # actually msys
6141 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6144 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6146 * ) # otherwise, assume *nix
6147 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6153 *-*-mingw* ) # actually msys
6154 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6157 lt_cv_to_host_file_cmd=func_convert_file_noop
6159 * ) # otherwise, assume *nix
6160 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6164 * ) # unhandled hosts (and "normal
" native builds)
6165 lt_cv_to_host_file_cmd=func_convert_file_noop
6171 to_host_file_cmd=$lt_cv_to_host_file_cmd
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
6173 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
6180 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
6181 if ${lt_cv_to_tool_file_cmd+:} false; then :
6182 $as_echo_n "(cached
) " >&6
6184 #assume ordinary cross tools, or native build.
6185 lt_cv_to_tool_file_cmd=func_convert_file_noop
6189 *-*-mingw* ) # actually msys
6190 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6198 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
6200 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6207 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6208 if ${lt_cv_ld_reload_flag+:} false; then :
6209 $as_echo_n "(cached
) " >&6
6211 lt_cv_ld_reload_flag='-r'
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6214 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6215 reload_flag=$lt_cv_ld_reload_flag
6216 case $reload_flag in
6218 *) reload_flag=" $reload_flag" ;;
6220 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6222 cygwin* | mingw* | pw32* | cegcc*)
6223 if test "$GCC" != yes; then
6228 if test "$GCC" = yes; then
6229 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6231 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6244 if test -n "$ac_tool_prefix"; then
6245 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6246 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6248 $as_echo_n "checking
for $ac_word...
" >&6; }
6249 if ${ac_cv_prog_OBJDUMP+:} false; then :
6250 $as_echo_n "(cached
) " >&6
6252 if test -n "$OBJDUMP"; then
6253 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6259 test -z "$as_dir" && as_dir=.
6260 for ac_exec_ext in '' $ac_executable_extensions; do
6261 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6262 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6263 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6272 OBJDUMP=$ac_cv_prog_OBJDUMP
6273 if test -n "$OBJDUMP"; then
6274 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6275 $as_echo "$OBJDUMP" >&6; }
6277 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6278 $as_echo "no
" >&6; }
6283 if test -z "$ac_cv_prog_OBJDUMP"; then
6284 ac_ct_OBJDUMP=$OBJDUMP
6285 # Extract the first word of "objdump
", so it can be a program name with args.
6286 set dummy objdump; ac_word=$2
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6288 $as_echo_n "checking
for $ac_word...
" >&6; }
6289 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6290 $as_echo_n "(cached
) " >&6
6292 if test -n "$ac_ct_OBJDUMP"; then
6293 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6299 test -z "$as_dir" && as_dir=.
6300 for ac_exec_ext in '' $ac_executable_extensions; do
6301 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6302 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6303 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6312 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6313 if test -n "$ac_ct_OBJDUMP"; then
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6315 $as_echo "$ac_ct_OBJDUMP" >&6; }
6317 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6318 $as_echo "no
" >&6; }
6321 if test "x
$ac_ct_OBJDUMP" = x; then
6324 case $cross_compiling:$ac_tool_warned in
6326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6327 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6328 ac_tool_warned=yes ;;
6330 OBJDUMP=$ac_ct_OBJDUMP
6333 OBJDUMP="$ac_cv_prog_OBJDUMP"
6336 test -z "$OBJDUMP" && OBJDUMP=objdump
6346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6347 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6348 if ${lt_cv_deplibs_check_method+:} false; then :
6349 $as_echo_n "(cached
) " >&6
6351 lt_cv_file_magic_cmd='$MAGIC_CMD'
6352 lt_cv_file_magic_test_file=
6353 lt_cv_deplibs_check_method='unknown'
6354 # Need to set the preceding variable on all platforms that support
6355 # interlibrary dependencies.
6356 # 'none' -- dependencies not supported.
6357 # `unknown' -- same as none, but documents that we really don't know.
6358 # 'pass_all' -- all dependencies passed with no checks.
6359 # 'test_compile' -- check by making test program.
6360 # 'file_magic [[regex]]' -- check by looking for files in library path
6361 # which responds to the $file_magic_cmd with a given extended regex.
6362 # If you have `file' or equivalent on your system and you're not sure
6363 # whether `pass_all' will *always* work, you probably want this one.
6367 lt_cv_deplibs_check_method=pass_all
6371 lt_cv_deplibs_check_method=pass_all
6375 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6376 lt_cv_file_magic_cmd='/usr/bin/file -L'
6377 lt_cv_file_magic_test_file=/shlib/libc.so
6381 # func_win32_libid is a shell function defined in ltmain.sh
6382 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6383 lt_cv_file_magic_cmd='func_win32_libid'
6387 # Base MSYS/MinGW do not provide the 'file' command needed by
6388 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6389 # unless we find 'file', for example because we are cross-compiling.
6390 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6391 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6392 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6393 lt_cv_file_magic_cmd='func_win32_libid'
6395 # Keep this pattern in sync with the one in func_win32_libid.
6396 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6397 lt_cv_file_magic_cmd='$OBJDUMP -f'
6402 # use the weaker test based on 'objdump'. See mingw*.
6403 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6404 lt_cv_file_magic_cmd='$OBJDUMP -f'
6407 darwin* | rhapsody*)
6408 lt_cv_deplibs_check_method=pass_all
6411 freebsd* | dragonfly*)
6412 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6415 # Not sure whether the presence of OpenBSD here was a mistake.
6416 # Let's accept both of them until this is cleared up.
6417 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6418 lt_cv_file_magic_cmd=/usr/bin/file
6419 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6423 lt_cv_deplibs_check_method=pass_all
6428 lt_cv_deplibs_check_method=pass_all
6432 lt_cv_deplibs_check_method=pass_all
6435 hpux10.20* | hpux11*)
6436 lt_cv_file_magic_cmd=/usr/bin/file
6439 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6440 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6443 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]'
6444 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6447 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6448 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6454 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6455 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6458 irix5* | irix6* | nonstopux*)
6460 *-32|*"-32 ") libmagic=32-bit;;
6461 *-n32|*"-n32 ") libmagic=N32;;
6462 *-64|*"-64 ") libmagic=64-bit;;
6463 *) libmagic=never-match;;
6465 lt_cv_deplibs_check_method=pass_all
6468 # This must be glibc/ELF.
6469 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6470 lt_cv_deplibs_check_method=pass_all
6474 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6475 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6477 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6482 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6483 lt_cv_file_magic_cmd=/usr/bin/file
6484 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6488 lt_cv_deplibs_check_method=pass_all
6492 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6493 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6495 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6499 osf3* | osf4* | osf5*)
6500 lt_cv_deplibs_check_method=pass_all
6504 lt_cv_deplibs_check_method=pass_all
6508 lt_cv_deplibs_check_method=pass_all
6511 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6512 lt_cv_deplibs_check_method=pass_all
6516 case $host_vendor in
6518 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]'
6519 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6522 lt_cv_deplibs_check_method=pass_all
6525 lt_cv_file_magic_cmd='/bin/file'
6526 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6529 lt_cv_file_magic_cmd='/bin/file'
6530 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6531 lt_cv_file_magic_test_file=/lib/libc.so
6534 lt_cv_deplibs_check_method=pass_all
6537 lt_cv_deplibs_check_method=pass_all
6543 lt_cv_deplibs_check_method=pass_all
6548 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6549 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6553 if test "$build" = "$host"; then
6556 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6559 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
6565 file_magic_cmd=$lt_cv_file_magic_cmd
6566 deplibs_check_method=$lt_cv_deplibs_check_method
6567 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6590 if test -n "$ac_tool_prefix"; then
6591 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
6592 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6594 $as_echo_n "checking
for $ac_word...
" >&6; }
6595 if ${ac_cv_prog_DLLTOOL+:} false; then :
6596 $as_echo_n "(cached
) " >&6
6598 if test -n "$DLLTOOL"; then
6599 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6605 test -z "$as_dir" && as_dir=.
6606 for ac_exec_ext in '' $ac_executable_extensions; do
6607 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6608 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
6609 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6618 DLLTOOL=$ac_cv_prog_DLLTOOL
6619 if test -n "$DLLTOOL"; then
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
6621 $as_echo "$DLLTOOL" >&6; }
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6624 $as_echo "no
" >&6; }
6629 if test -z "$ac_cv_prog_DLLTOOL"; then
6630 ac_ct_DLLTOOL=$DLLTOOL
6631 # Extract the first word of "dlltool
", so it can be a program name with args.
6632 set dummy dlltool; ac_word=$2
6633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6634 $as_echo_n "checking
for $ac_word...
" >&6; }
6635 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6636 $as_echo_n "(cached
) " >&6
6638 if test -n "$ac_ct_DLLTOOL"; then
6639 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6645 test -z "$as_dir" && as_dir=.
6646 for ac_exec_ext in '' $ac_executable_extensions; do
6647 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6648 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
6649 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6658 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6659 if test -n "$ac_ct_DLLTOOL"; then
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
6661 $as_echo "$ac_ct_DLLTOOL" >&6; }
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6664 $as_echo "no
" >&6; }
6667 if test "x
$ac_ct_DLLTOOL" = x; then
6670 case $cross_compiling:$ac_tool_warned in
6672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6673 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6674 ac_tool_warned=yes ;;
6676 DLLTOOL=$ac_ct_DLLTOOL
6679 DLLTOOL="$ac_cv_prog_DLLTOOL"
6682 test -z "$DLLTOOL" && DLLTOOL=dlltool
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
6694 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
6695 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6696 $as_echo_n "(cached
) " >&6
6698 lt_cv_sharedlib_from_linklib_cmd='unknown'
6701 cygwin* | mingw* | pw32* | cegcc*)
6702 # two different shell functions defined in ltmain.sh
6703 # decide which to use based on capabilities of $DLLTOOL
6704 case `$DLLTOOL --help 2>&1` in
6705 *--identify-strict*)
6706 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6709 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6714 # fallback: assume linklib IS sharedlib
6715 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
6721 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6722 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6723 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6731 if test -n "$ac_tool_prefix"; then
6734 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6735 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6737 $as_echo_n "checking
for $ac_word...
" >&6; }
6738 if ${ac_cv_prog_AR+:} false; then :
6739 $as_echo_n "(cached
) " >&6
6741 if test -n "$AR"; then
6742 ac_cv_prog_AR="$AR" # Let the user override the test.
6744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6748 test -z "$as_dir" && as_dir=.
6749 for ac_exec_ext in '' $ac_executable_extensions; do
6750 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6751 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6752 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6762 if test -n "$AR"; then
6763 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6764 $as_echo "$AR" >&6; }
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6767 $as_echo "no
" >&6; }
6771 test -n "$AR" && break
6774 if test -z "$AR"; then
6778 # Extract the first word of "$ac_prog", so it can be a program name with args.
6779 set dummy $ac_prog; ac_word=$2
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6781 $as_echo_n "checking
for $ac_word...
" >&6; }
6782 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6783 $as_echo_n "(cached
) " >&6
6785 if test -n "$ac_ct_AR"; then
6786 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6792 test -z "$as_dir" && as_dir=.
6793 for ac_exec_ext in '' $ac_executable_extensions; do
6794 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6795 ac_cv_prog_ac_ct_AR="$ac_prog"
6796 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6805 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6806 if test -n "$ac_ct_AR"; then
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6808 $as_echo "$ac_ct_AR" >&6; }
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6811 $as_echo "no
" >&6; }
6815 test -n "$ac_ct_AR" && break
6818 if test "x
$ac_ct_AR" = x; then
6821 case $cross_compiling:$ac_tool_warned in
6823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6824 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6825 ac_tool_warned=yes ;;
6844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
6845 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
6846 if ${lt_cv_ar_at_file+:} false; then :
6847 $as_echo_n "(cached
) " >&6
6850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6851 /* end confdefs.h. */
6861 if ac_fn_c_try_compile "$LINENO"; then :
6862 echo conftest.$ac_objext > conftest.lst
6863 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6864 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6865 (eval $lt_ar_try) 2>&5
6867 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6868 test $ac_status = 0; }
6869 if test "$ac_status" -eq 0; then
6870 # Ensure the archiver fails upon bogus file names.
6871 rm -f conftest.$ac_objext libconftest.a
6872 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6873 (eval $lt_ar_try) 2>&5
6875 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6876 test $ac_status = 0; }
6877 if test "$ac_status" -ne 0; then
6881 rm -f conftest.* libconftest.a
6884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6887 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
6888 $as_echo "$lt_cv_ar_at_file" >&6; }
6890 if test "x
$lt_cv_ar_at_file" = xno; then
6893 archiver_list_spec=$lt_cv_ar_at_file
6902 if test -n "$ac_tool_prefix"; then
6903 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6904 set dummy ${ac_tool_prefix}strip; ac_word=$2
6905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6906 $as_echo_n "checking
for $ac_word...
" >&6; }
6907 if ${ac_cv_prog_STRIP+:} false; then :
6908 $as_echo_n "(cached
) " >&6
6910 if test -n "$STRIP"; then
6911 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6917 test -z "$as_dir" && as_dir=.
6918 for ac_exec_ext in '' $ac_executable_extensions; do
6919 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6920 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6921 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6930 STRIP=$ac_cv_prog_STRIP
6931 if test -n "$STRIP"; then
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6933 $as_echo "$STRIP" >&6; }
6935 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6936 $as_echo "no
" >&6; }
6941 if test -z "$ac_cv_prog_STRIP"; then
6943 # Extract the first word of "strip
", so it can be a program name with args.
6944 set dummy strip; ac_word=$2
6945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6946 $as_echo_n "checking
for $ac_word...
" >&6; }
6947 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6948 $as_echo_n "(cached
) " >&6
6950 if test -n "$ac_ct_STRIP"; then
6951 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6957 test -z "$as_dir" && as_dir=.
6958 for ac_exec_ext in '' $ac_executable_extensions; do
6959 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6960 ac_cv_prog_ac_ct_STRIP="strip
"
6961 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6970 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6971 if test -n "$ac_ct_STRIP"; then
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6973 $as_echo "$ac_ct_STRIP" >&6; }
6975 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6976 $as_echo "no
" >&6; }
6979 if test "x
$ac_ct_STRIP" = x; then
6982 case $cross_compiling:$ac_tool_warned in
6984 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6985 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6986 ac_tool_warned=yes ;;
6991 STRIP="$ac_cv_prog_STRIP"
6994 test -z "$STRIP" && STRIP=:
7001 if test -n "$ac_tool_prefix"; then
7002 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
7003 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7005 $as_echo_n "checking
for $ac_word...
" >&6; }
7006 if ${ac_cv_prog_RANLIB+:} false; then :
7007 $as_echo_n "(cached
) " >&6
7009 if test -n "$RANLIB"; then
7010 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7016 test -z "$as_dir" && as_dir=.
7017 for ac_exec_ext in '' $ac_executable_extensions; do
7018 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7019 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
7020 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7029 RANLIB=$ac_cv_prog_RANLIB
7030 if test -n "$RANLIB"; then
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
7032 $as_echo "$RANLIB" >&6; }
7034 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7035 $as_echo "no
" >&6; }
7040 if test -z "$ac_cv_prog_RANLIB"; then
7041 ac_ct_RANLIB=$RANLIB
7042 # Extract the first word of "ranlib
", so it can be a program name with args.
7043 set dummy ranlib; ac_word=$2
7044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7045 $as_echo_n "checking
for $ac_word...
" >&6; }
7046 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7047 $as_echo_n "(cached
) " >&6
7049 if test -n "$ac_ct_RANLIB"; then
7050 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7056 test -z "$as_dir" && as_dir=.
7057 for ac_exec_ext in '' $ac_executable_extensions; do
7058 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7059 ac_cv_prog_ac_ct_RANLIB="ranlib
"
7060 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7069 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7070 if test -n "$ac_ct_RANLIB"; then
7071 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
7072 $as_echo "$ac_ct_RANLIB" >&6; }
7074 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7075 $as_echo "no
" >&6; }
7078 if test "x
$ac_ct_RANLIB" = x; then
7081 case $cross_compiling:$ac_tool_warned in
7083 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7084 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7085 ac_tool_warned=yes ;;
7087 RANLIB=$ac_ct_RANLIB
7090 RANLIB="$ac_cv_prog_RANLIB"
7093 test -z "$RANLIB" && RANLIB=:
7100 # Determine commands to create old-style static archives.
7101 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7102 old_postinstall_cmds='chmod 644 $oldlib'
7103 old_postuninstall_cmds=
7105 if test -n "$RANLIB"; then
7108 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
7111 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
7114 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
7119 lock_old_archive_extraction=yes ;;
7121 lock_old_archive_extraction=no ;;
7162 # If no C compiler was specified, use CC.
7165 # If no C compiler flags were specified, use CFLAGS.
7166 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7168 # Allow CC to be a program name with arguments.
7172 # Check for command to grab the raw symbol name followed by C symbol from nm.
7173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7174 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7175 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7176 $as_echo_n "(cached
) " >&6
7179 # These are sane defaults that work on at least a few old systems.
7180 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7182 # Character class describing NM global symbol codes.
7183 symcode='[BCDEGRST]'
7185 # Regexp to match symbols that can be accessed directly from C.
7186 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7188 # Define system-specific variables.
7193 cygwin* | mingw* | pw32* | cegcc*)
7194 symcode='[ABCDGISTW]'
7197 if test "$host_cpu" = ia64; then
7198 symcode='[ABCDEGRST]'
7202 symcode='[BCDEGRST]'
7205 symcode='[BCDEGQRST]'
7216 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7224 # If we're using GNU nm, then use its standard symbol codes.
7225 case `$NM -V 2>&1` in
7226 *GNU* | *'with BFD'*)
7227 symcode='[ABCDGIRSTW]' ;;
7230 # Transform an extracted symbol line into a proper C declaration.
7231 # Some systems (esp. on ia64) link data and code symbols differently,
7232 # so use this general approach.
7233 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7235 # Transform an extracted symbol line into symbol name and symbol address
7236 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7237 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
7239 # Handle CRLF in mingw tool chain
7243 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7247 # Try without a prefix underscore, then with it.
7248 for ac_symprfx in "" "_
"; do
7250 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7251 symxfrm="\\1 $ac_symprfx\\2 \\2"
7253 # Write the raw and C identifiers.
7254 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7255 # Fake it for dumpbin and say T for any non-static function
7256 # and D for any global variable.
7257 # Also find C++ and __fastcall symbols from MSVC++,
7258 # which start with @ or ?.
7259 lt_cv_sys_global_symbol_pipe="$AWK '"\
7260 " {last_section=section; section=\$ 3};"\
7261 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7262 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7263 " \$ 0!~/External *\|/{next};"\
7264 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7265 " {if(hide[section]) next};"\
7266 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7267 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7268 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7269 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7270 " ' prfx
=^
$ac_symprfx"
7272 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7274 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7276 # Check to see that the pipe works correctly.
7280 cat > conftest.$ac_ext <<_LT_EOF
7285 void nm_test_func(void);
7286 void nm_test_func(void){}
7290 int main(){nm_test_var='a';nm_test_func();return(0);}
7293 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7294 (eval $ac_compile) 2>&5
7296 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7297 test $ac_status = 0; }; then
7298 # Now try to grab the symbols.
7300 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \
| "$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7301 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7303 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7304 test $ac_status = 0; } && test -s "$nlist"; then
7305 # Try sorting and uniquifying the output.
7306 if sort "$nlist" | uniq > "$nlist"T; then
7307 mv -f "$nlist"T "$nlist"
7312 # Make sure that we snagged all the symbols we need.
7313 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7314 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7315 cat <<_LT_EOF > conftest.$ac_ext
7316 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7317 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7318 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7319 relocations are performed -- see ld's documentation on pseudo-relocs. */
7320 # define LT_DLSYM_CONST
7321 #elif defined(__osf__)
7322 /* This system does not cope well with relocations in const data. */
7323 # define LT_DLSYM_CONST
7325 # define LT_DLSYM_CONST const
7333 # Now generate the symbol file.
7334 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7336 cat <<_LT_EOF >> conftest.$ac_ext
7338 /* The mapping between symbol names and symbols. */
7339 LT_DLSYM_CONST struct {
7343 lt__PROGRAM__LTX_preloaded_symbols[] =
7345 { "@PROGRAM@
", (void *) 0 },
7347 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7348 cat <<\_LT_EOF >> conftest.$ac_ext
7352 /* This works around a problem in FreeBSD linker */
7353 #ifdef FREEBSD_WORKAROUND
7354 static const void *lt_preloaded_setup() {
7355 return lt__PROGRAM__LTX_preloaded_symbols;
7363 # Now try linking the two files.
7364 mv conftest.$ac_objext conftstm.$ac_objext
7365 lt_globsym_save_LIBS=$LIBS
7366 lt_globsym_save_CFLAGS=$CFLAGS
7367 LIBS="conftstm.
$ac_objext"
7368 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7369 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7370 (eval $ac_link) 2>&5
7372 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7373 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7376 LIBS=$lt_globsym_save_LIBS
7377 CFLAGS=$lt_globsym_save_CFLAGS
7379 echo "cannot
find nm_test_func
in $nlist" >&5
7382 echo "cannot
find nm_test_var
in $nlist" >&5
7385 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7388 echo "$progname: failed program was
:" >&5
7389 cat conftest.$ac_ext >&5
7391 rm -rf conftest* conftst*
7393 # Do not use the global_symbol_pipe unless it works.
7394 if test "$pipe_works" = yes; then
7397 lt_cv_sys_global_symbol_pipe=
7403 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7404 lt_cv_sys_global_symbol_to_cdecl=
7406 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7407 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7408 $as_echo "failed
" >&6; }
7410 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7411 $as_echo "ok
" >&6; }
7414 # Response file support.
7415 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7416 nm_file_list_spec='@'
7417 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7418 nm_file_list_spec='@'
7447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
7448 $as_echo_n "checking
for sysroot...
" >&6; }
7450 # Check whether --with-sysroot was given.
7451 if test "${with_sysroot+set}" = set; then :
7452 withval=$with_sysroot;
7459 case ${with_sysroot} in #(
7461 if test "$GCC" = yes; then
7462 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7466 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7471 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${with_sysroot}" >&5
7472 $as_echo "${with_sysroot}" >&6; }
7473 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
7477 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
7478 $as_echo "${lt_sysroot:-no}" >&6; }
7484 # Check whether --enable-libtool-lock was given.
7485 if test "${enable_libtool_lock+set}" = set; then :
7486 enableval=$enable_libtool_lock;
7489 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7491 # Some flags need to be propagated to the compiler or linker for good
7495 # Find out which ABI we are using.
7496 echo 'int i;' > conftest.$ac_ext
7497 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7498 (eval $ac_compile) 2>&5
7500 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7501 test $ac_status = 0; }; then
7502 case `/usr/bin/file conftest.$ac_objext` in
7514 # Find out which ABI we are using.
7515 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7516 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7517 (eval $ac_compile) 2>&5
7519 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7520 test $ac_status = 0; }; then
7521 if test "$lt_cv_prog_gnu_ld" = yes; then
7522 case `/usr/bin/file conftest.$ac_objext` in
7524 LD="${LD-ld} -melf32bsmip"
7527 LD="${LD-ld} -melf32bmipn32"
7530 LD="${LD-ld} -melf64bmip"
7534 case `/usr/bin/file conftest.$ac_objext` in
7550 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7551 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7552 # Find out which ABI we are using.
7553 echo 'int i;' > conftest.$ac_ext
7554 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7555 (eval $ac_compile) 2>&5
7557 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7558 test $ac_status = 0; }; then
7559 case `/usr/bin/file conftest.o` in
7562 x86_64-*kfreebsd*-gnu)
7563 LD="${LD-ld} -m elf_i386_fbsd
"
7566 LD="${LD-ld} -m elf_i386
"
7568 ppc64-*linux*|powerpc64-*linux*)
7569 LD="${LD-ld} -m elf32ppclinux
"
7572 LD="${LD-ld} -m elf_s390
"
7575 LD="${LD-ld} -m elf32_sparc
"
7581 x86_64-*kfreebsd*-gnu)
7582 LD="${LD-ld} -m elf_x86_64_fbsd
"
7585 LD="${LD-ld} -m elf_x86_64
"
7587 ppc*-*linux*|powerpc*-*linux*)
7588 LD="${LD-ld} -m elf64ppc
"
7590 s390*-*linux*|s390*-*tpf*)
7591 LD="${LD-ld} -m elf64_s390
"
7594 LD="${LD-ld} -m elf64_sparc
"
7604 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7605 SAVE_CFLAGS="$CFLAGS"
7606 CFLAGS="$CFLAGS -belf"
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7608 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7609 if ${lt_cv_cc_needs_belf+:} false; then :
7610 $as_echo_n "(cached
) " >&6
7613 ac_cpp='$CPP $CPPFLAGS'
7614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7619 /* end confdefs.h. */
7629 if ac_fn_c_try_link "$LINENO"; then :
7630 lt_cv_cc_needs_belf=yes
7632 lt_cv_cc_needs_belf=no
7634 rm -f core conftest.err conftest.$ac_objext \
7635 conftest$ac_exeext conftest.$ac_ext
7637 ac_cpp='$CPP $CPPFLAGS'
7638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7643 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7644 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7645 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7646 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7647 CFLAGS="$SAVE_CFLAGS"
7651 # Find out which ABI we are using.
7652 echo 'int i;' > conftest.$ac_ext
7653 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7654 (eval $ac_compile) 2>&5
7656 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7657 test $ac_status = 0; }; then
7658 case `/usr/bin/file conftest.o` in
7660 case $lt_cv_prog_gnu_ld in
7664 LD="${LD-ld} -m elf_x86_64
"
7667 LD="${LD-ld} -m elf64_sparc
"
7670 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7671 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7676 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7688 need_locks="$enable_libtool_lock"
7690 if test -n "$ac_tool_prefix"; then
7691 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
7692 set dummy ${ac_tool_prefix}mt; ac_word=$2
7693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7694 $as_echo_n "checking
for $ac_word...
" >&6; }
7695 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7696 $as_echo_n "(cached
) " >&6
7698 if test -n "$MANIFEST_TOOL"; then
7699 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7705 test -z "$as_dir" && as_dir=.
7706 for ac_exec_ext in '' $ac_executable_extensions; do
7707 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7708 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
7709 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7718 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7719 if test -n "$MANIFEST_TOOL"; then
7720 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
7721 $as_echo "$MANIFEST_TOOL" >&6; }
7723 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7724 $as_echo "no
" >&6; }
7729 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7730 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7731 # Extract the first word of "mt
", so it can be a program name with args.
7732 set dummy mt; ac_word=$2
7733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7734 $as_echo_n "checking
for $ac_word...
" >&6; }
7735 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7736 $as_echo_n "(cached
) " >&6
7738 if test -n "$ac_ct_MANIFEST_TOOL"; then
7739 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7745 test -z "$as_dir" && as_dir=.
7746 for ac_exec_ext in '' $ac_executable_extensions; do
7747 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7748 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
7749 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7758 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7759 if test -n "$ac_ct_MANIFEST_TOOL"; then
7760 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
7761 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7763 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7764 $as_echo "no
" >&6; }
7767 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
7770 case $cross_compiling:$ac_tool_warned in
7772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7773 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7774 ac_tool_warned=yes ;;
7776 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7779 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7782 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
7784 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
7785 if ${lt_cv_path_mainfest_tool+:} false; then :
7786 $as_echo_n "(cached
) " >&6
7788 lt_cv_path_mainfest_tool=no
7789 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7790 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7791 cat conftest.err >&5
7792 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7793 lt_cv_path_mainfest_tool=yes
7797 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
7798 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7799 if test "x
$lt_cv_path_mainfest_tool" != xyes; then
7809 rhapsody* | darwin*)
7810 if test -n "$ac_tool_prefix"; then
7811 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7812 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7814 $as_echo_n "checking
for $ac_word...
" >&6; }
7815 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7816 $as_echo_n "(cached
) " >&6
7818 if test -n "$DSYMUTIL"; then
7819 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7825 test -z "$as_dir" && as_dir=.
7826 for ac_exec_ext in '' $ac_executable_extensions; do
7827 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7828 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7829 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7838 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7839 if test -n "$DSYMUTIL"; then
7840 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7841 $as_echo "$DSYMUTIL" >&6; }
7843 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7844 $as_echo "no
" >&6; }
7849 if test -z "$ac_cv_prog_DSYMUTIL"; then
7850 ac_ct_DSYMUTIL=$DSYMUTIL
7851 # Extract the first word of "dsymutil
", so it can be a program name with args.
7852 set dummy dsymutil; ac_word=$2
7853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7854 $as_echo_n "checking
for $ac_word...
" >&6; }
7855 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7856 $as_echo_n "(cached
) " >&6
7858 if test -n "$ac_ct_DSYMUTIL"; then
7859 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7865 test -z "$as_dir" && as_dir=.
7866 for ac_exec_ext in '' $ac_executable_extensions; do
7867 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7868 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7869 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7878 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7879 if test -n "$ac_ct_DSYMUTIL"; then
7880 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7881 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7884 $as_echo "no
" >&6; }
7887 if test "x
$ac_ct_DSYMUTIL" = x; then
7890 case $cross_compiling:$ac_tool_warned in
7892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7893 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7894 ac_tool_warned=yes ;;
7896 DSYMUTIL=$ac_ct_DSYMUTIL
7899 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7902 if test -n "$ac_tool_prefix"; then
7903 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7904 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7906 $as_echo_n "checking
for $ac_word...
" >&6; }
7907 if ${ac_cv_prog_NMEDIT+:} false; then :
7908 $as_echo_n "(cached
) " >&6
7910 if test -n "$NMEDIT"; then
7911 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7917 test -z "$as_dir" && as_dir=.
7918 for ac_exec_ext in '' $ac_executable_extensions; do
7919 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7920 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7921 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7930 NMEDIT=$ac_cv_prog_NMEDIT
7931 if test -n "$NMEDIT"; then
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7933 $as_echo "$NMEDIT" >&6; }
7935 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7936 $as_echo "no
" >&6; }
7941 if test -z "$ac_cv_prog_NMEDIT"; then
7942 ac_ct_NMEDIT=$NMEDIT
7943 # Extract the first word of "nmedit
", so it can be a program name with args.
7944 set dummy nmedit; ac_word=$2
7945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7946 $as_echo_n "checking
for $ac_word...
" >&6; }
7947 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7948 $as_echo_n "(cached
) " >&6
7950 if test -n "$ac_ct_NMEDIT"; then
7951 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7957 test -z "$as_dir" && as_dir=.
7958 for ac_exec_ext in '' $ac_executable_extensions; do
7959 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7960 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7961 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7970 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7971 if test -n "$ac_ct_NMEDIT"; then
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7973 $as_echo "$ac_ct_NMEDIT" >&6; }
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7976 $as_echo "no
" >&6; }
7979 if test "x
$ac_ct_NMEDIT" = x; then
7982 case $cross_compiling:$ac_tool_warned in
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7985 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7986 ac_tool_warned=yes ;;
7988 NMEDIT=$ac_ct_NMEDIT
7991 NMEDIT="$ac_cv_prog_NMEDIT"
7994 if test -n "$ac_tool_prefix"; then
7995 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7996 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7998 $as_echo_n "checking
for $ac_word...
" >&6; }
7999 if ${ac_cv_prog_LIPO+:} false; then :
8000 $as_echo_n "(cached
) " >&6
8002 if test -n "$LIPO"; then
8003 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8009 test -z "$as_dir" && as_dir=.
8010 for ac_exec_ext in '' $ac_executable_extensions; do
8011 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8012 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
8013 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8022 LIPO=$ac_cv_prog_LIPO
8023 if test -n "$LIPO"; then
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8025 $as_echo "$LIPO" >&6; }
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8028 $as_echo "no
" >&6; }
8033 if test -z "$ac_cv_prog_LIPO"; then
8035 # Extract the first word of "lipo
", so it can be a program name with args.
8036 set dummy lipo; ac_word=$2
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8038 $as_echo_n "checking
for $ac_word...
" >&6; }
8039 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8040 $as_echo_n "(cached
) " >&6
8042 if test -n "$ac_ct_LIPO"; then
8043 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8049 test -z "$as_dir" && as_dir=.
8050 for ac_exec_ext in '' $ac_executable_extensions; do
8051 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8052 ac_cv_prog_ac_ct_LIPO="lipo
"
8053 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8062 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8063 if test -n "$ac_ct_LIPO"; then
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
8065 $as_echo "$ac_ct_LIPO" >&6; }
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8068 $as_echo "no
" >&6; }
8071 if test "x
$ac_ct_LIPO" = x; then
8074 case $cross_compiling:$ac_tool_warned in
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8077 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8078 ac_tool_warned=yes ;;
8083 LIPO="$ac_cv_prog_LIPO"
8086 if test -n "$ac_tool_prefix"; then
8087 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
8088 set dummy ${ac_tool_prefix}otool; ac_word=$2
8089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8090 $as_echo_n "checking
for $ac_word...
" >&6; }
8091 if ${ac_cv_prog_OTOOL+:} false; then :
8092 $as_echo_n "(cached
) " >&6
8094 if test -n "$OTOOL"; then
8095 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8101 test -z "$as_dir" && as_dir=.
8102 for ac_exec_ext in '' $ac_executable_extensions; do
8103 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8104 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
8105 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8114 OTOOL=$ac_cv_prog_OTOOL
8115 if test -n "$OTOOL"; then
8116 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
8117 $as_echo "$OTOOL" >&6; }
8119 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8120 $as_echo "no
" >&6; }
8125 if test -z "$ac_cv_prog_OTOOL"; then
8127 # Extract the first word of "otool
", so it can be a program name with args.
8128 set dummy otool; ac_word=$2
8129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8130 $as_echo_n "checking
for $ac_word...
" >&6; }
8131 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8132 $as_echo_n "(cached
) " >&6
8134 if test -n "$ac_ct_OTOOL"; then
8135 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8141 test -z "$as_dir" && as_dir=.
8142 for ac_exec_ext in '' $ac_executable_extensions; do
8143 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8144 ac_cv_prog_ac_ct_OTOOL="otool
"
8145 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8154 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8155 if test -n "$ac_ct_OTOOL"; then
8156 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
8157 $as_echo "$ac_ct_OTOOL" >&6; }
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8160 $as_echo "no
" >&6; }
8163 if test "x
$ac_ct_OTOOL" = x; then
8166 case $cross_compiling:$ac_tool_warned in
8168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8169 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8170 ac_tool_warned=yes ;;
8175 OTOOL="$ac_cv_prog_OTOOL"
8178 if test -n "$ac_tool_prefix"; then
8179 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8180 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8182 $as_echo_n "checking
for $ac_word...
" >&6; }
8183 if ${ac_cv_prog_OTOOL64+:} false; then :
8184 $as_echo_n "(cached
) " >&6
8186 if test -n "$OTOOL64"; then
8187 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8193 test -z "$as_dir" && as_dir=.
8194 for ac_exec_ext in '' $ac_executable_extensions; do
8195 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8196 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8197 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8206 OTOOL64=$ac_cv_prog_OTOOL64
8207 if test -n "$OTOOL64"; then
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8209 $as_echo "$OTOOL64" >&6; }
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8212 $as_echo "no
" >&6; }
8217 if test -z "$ac_cv_prog_OTOOL64"; then
8218 ac_ct_OTOOL64=$OTOOL64
8219 # Extract the first word of "otool64
", so it can be a program name with args.
8220 set dummy otool64; ac_word=$2
8221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8222 $as_echo_n "checking
for $ac_word...
" >&6; }
8223 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8224 $as_echo_n "(cached
) " >&6
8226 if test -n "$ac_ct_OTOOL64"; then
8227 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8233 test -z "$as_dir" && as_dir=.
8234 for ac_exec_ext in '' $ac_executable_extensions; do
8235 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8236 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8237 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8246 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8247 if test -n "$ac_ct_OTOOL64"; then
8248 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8249 $as_echo "$ac_ct_OTOOL64" >&6; }
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8252 $as_echo "no
" >&6; }
8255 if test "x
$ac_ct_OTOOL64" = x; then
8258 case $cross_compiling:$ac_tool_warned in
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8261 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8262 ac_tool_warned=yes ;;
8264 OTOOL64=$ac_ct_OTOOL64
8267 OTOOL64="$ac_cv_prog_OTOOL64"
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8297 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8298 if ${lt_cv_apple_cc_single_mod+:} false; then :
8299 $as_echo_n "(cached
) " >&6
8301 lt_cv_apple_cc_single_mod=no
8302 if test -z "${LT_MULTI_MODULE}"; then
8303 # By default we will add the -single_module flag. You can override
8304 # by either setting the environment variable LT_MULTI_MODULE
8305 # non-empty at configure time, or by adding -multi_module to the
8307 rm -rf libconftest.dylib*
8308 echo "int foo
(void
){return 1;}" > conftest.c
8309 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8310 -dynamiclib -Wl,-single_module conftest.c
" >&5
8311 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8312 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8314 # If there is a non-empty error log, and "single_module
"
8315 # appears in it, assume the flag caused a linker warning
8316 if test -s conftest.err && $GREP single_module conftest.err; then
8317 cat conftest.err >&5
8318 # Otherwise, if the output was created with a 0 exit code from
8319 # the compiler, it worked.
8320 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8321 lt_cv_apple_cc_single_mod=yes
8323 cat conftest.err >&5
8325 rm -rf libconftest.dylib*
8329 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8330 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8333 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8334 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8335 $as_echo_n "(cached
) " >&6
8337 lt_cv_ld_exported_symbols_list=no
8338 save_LDFLAGS=$LDFLAGS
8339 echo "_main
" > conftest.sym
8340 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8342 /* end confdefs.h. */
8352 if ac_fn_c_try_link "$LINENO"; then :
8353 lt_cv_ld_exported_symbols_list=yes
8355 lt_cv_ld_exported_symbols_list=no
8357 rm -f core conftest.err conftest.$ac_objext \
8358 conftest$ac_exeext conftest.$ac_ext
8359 LDFLAGS="$save_LDFLAGS"
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8363 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8366 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8367 if ${lt_cv_ld_force_load+:} false; then :
8368 $as_echo_n "(cached
) " >&6
8370 lt_cv_ld_force_load=no
8371 cat > conftest.c << _LT_EOF
8372 int forced_loaded() { return 2;}
8374 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8375 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8376 echo "$AR cru libconftest.a conftest.o
" >&5
8377 $AR cru libconftest.a conftest.o 2>&5
8378 echo "$RANLIB libconftest.a
" >&5
8379 $RANLIB libconftest.a 2>&5
8380 cat > conftest.c << _LT_EOF
8381 int main() { return 0;}
8383 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8384 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8386 if test -s conftest.err && $GREP force_load conftest.err; then
8387 cat conftest.err >&5
8388 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8389 lt_cv_ld_force_load=yes
8391 cat conftest.err >&5
8393 rm -f conftest.err libconftest.a conftest conftest.c
8394 rm -rf conftest.dSYM
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8398 $as_echo "$lt_cv_ld_force_load" >&6; }
8400 rhapsody* | darwin1.[012])
8401 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8403 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8404 darwin*) # darwin 5.x on
8405 # if running on 10.5 or later, the deployment target defaults
8406 # to the OS version, if on x86, and 10.4, the deployment
8407 # target defaults to 10.4. Don't you love it?
8408 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8409 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8410 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8412 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8414 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8418 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8419 _lt_dar_single_mod='$single_module'
8421 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8422 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8424 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8426 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
8427 _lt_dsymutil='~$DSYMUTIL $lib || :'
8435 ac_cpp='$CPP $CPPFLAGS'
8436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
8440 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
8441 # On Suns, sometimes $CPP names a directory.
8442 if test -n "$CPP" && test -d "$CPP"; then
8445 if test -z "$CPP"; then
8446 if ${ac_cv_prog_CPP+:} false; then :
8447 $as_echo_n "(cached
) " >&6
8449 # Double quotes because CPP needs to be expanded
8450 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
8453 for ac_c_preproc_warn_flag in '' yes
8455 # Use a header file that comes with gcc, so configuring glibc
8456 # with a fresh cross-compiler works.
8457 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8458 # <limits.h> exists even on freestanding compilers.
8459 # On the NeXT, cc -E runs the code through the compiler's parser,
8460 # not just through cpp. "Syntax error
" is here to catch this case.
8461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8462 /* end confdefs.h. */
8464 # include <limits.h>
8466 # include <assert.h>
8470 if ac_fn_c_try_cpp "$LINENO"; then :
8473 # Broken: fails on valid input.
8476 rm -f conftest.err conftest.i conftest.$ac_ext
8478 # OK, works on sane cases. Now check whether nonexistent headers
8479 # can be detected and how.
8480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8481 /* end confdefs.h. */
8482 #include <ac_nonexistent.h>
8484 if ac_fn_c_try_cpp "$LINENO"; then :
8485 # Broken: success on invalid input.
8488 # Passes both tests.
8492 rm -f conftest.err conftest.i conftest.$ac_ext
8495 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8496 rm -f conftest.i conftest.err conftest.$ac_ext
8497 if $ac_preproc_ok; then :
8509 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
8510 $as_echo "$CPP" >&6; }
8512 for ac_c_preproc_warn_flag in '' yes
8514 # Use a header file that comes with gcc, so configuring glibc
8515 # with a fresh cross-compiler works.
8516 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8517 # <limits.h> exists even on freestanding compilers.
8518 # On the NeXT, cc -E runs the code through the compiler's parser,
8519 # not just through cpp. "Syntax error
" is here to catch this case.
8520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8521 /* end confdefs.h. */
8523 # include <limits.h>
8525 # include <assert.h>
8529 if ac_fn_c_try_cpp "$LINENO"; then :
8532 # Broken: fails on valid input.
8535 rm -f conftest.err conftest.i conftest.$ac_ext
8537 # OK, works on sane cases. Now check whether nonexistent headers
8538 # can be detected and how.
8539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8540 /* end confdefs.h. */
8541 #include <ac_nonexistent.h>
8543 if ac_fn_c_try_cpp "$LINENO"; then :
8544 # Broken: success on invalid input.
8547 # Passes both tests.
8551 rm -f conftest.err conftest.i conftest.$ac_ext
8554 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8555 rm -f conftest.i conftest.err conftest.$ac_ext
8556 if $ac_preproc_ok; then :
8559 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
8560 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8561 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8562 See \`config.log' for more details
" "$LINENO" 5; }
8566 ac_cpp='$CPP $CPPFLAGS'
8567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
8573 $as_echo_n "checking
for ANSI C header files...
" >&6; }
8574 if ${ac_cv_header_stdc+:} false; then :
8575 $as_echo_n "(cached
) " >&6
8577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8578 /* end confdefs.h. */
8592 if ac_fn_c_try_compile "$LINENO"; then :
8593 ac_cv_header_stdc=yes
8595 ac_cv_header_stdc=no
8597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8599 if test $ac_cv_header_stdc = yes; then
8600 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8602 /* end confdefs.h. */
8606 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8607 $EGREP "memchr
" >/dev/null 2>&1; then :
8610 ac_cv_header_stdc=no
8616 if test $ac_cv_header_stdc = yes; then
8617 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8619 /* end confdefs.h. */
8623 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8624 $EGREP "free
" >/dev/null 2>&1; then :
8627 ac_cv_header_stdc=no
8633 if test $ac_cv_header_stdc = yes; then
8634 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8635 if test "$cross_compiling" = yes; then :
8638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8639 /* end confdefs.h. */
8642 #if ((' ' & 0x0FF) == 0x020)
8643 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8644 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8646 # define ISLOWER(c) \
8647 (('a' <= (c) && (c) <= 'i') \
8648 || ('j' <= (c) && (c) <= 'r') \
8649 || ('s' <= (c) && (c) <= 'z'))
8650 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8653 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8658 for (i = 0; i < 256; i++)
8659 if (XOR (islower (i), ISLOWER (i))
8660 || toupper (i) != TOUPPER (i))
8665 if ac_fn_c_try_run "$LINENO"; then :
8668 ac_cv_header_stdc=no
8670 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8671 conftest.$ac_objext conftest.beam conftest.$ac_ext
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
8677 $as_echo "$ac_cv_header_stdc" >&6; }
8678 if test $ac_cv_header_stdc = yes; then
8680 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8684 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8685 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
8686 inttypes.h stdint.h unistd.h
8688 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8689 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8691 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8692 cat >>confdefs.h
<<_ACEOF
8693 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8701 for ac_header
in dlfcn.h
8703 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8705 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8706 cat >>confdefs.h
<<_ACEOF
8707 #define HAVE_DLFCN_H 1
8717 func_stripname_cnf
()
8720 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
8721 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
8723 } # func_stripname_cnf
8730 # Check whether --enable-static was given.
8731 if test "${enable_static+set}" = set; then :
8732 enableval
=$enable_static; p
=${PACKAGE-default}
8734 yes) enable_static
=yes ;;
8735 no
) enable_static
=no
;;
8738 # Look at the argument we got. We use all the common list separators.
8739 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8740 for pkg
in $enableval; do
8742 if test "X$pkg" = "X$p"; then
8768 # Check whether --enable-shared was given.
8769 if test "${enable_shared+set}" = set; then :
8770 enableval
=$enable_shared; p
=${PACKAGE-default}
8772 yes) enable_shared
=yes ;;
8773 no
) enable_shared
=no
;;
8776 # Look at the argument we got. We use all the common list separators.
8777 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8778 for pkg
in $enableval; do
8780 if test "X$pkg" = "X$p"; then
8801 # Check whether --with-pic was given.
8802 if test "${with_pic+set}" = set; then :
8803 withval
=$with_pic; lt_p
=${PACKAGE-default}
8805 yes|no
) pic_mode
=$withval ;;
8808 # Look at the argument we got. We use all the common list separators.
8809 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8810 for lt_pkg
in $withval; do
8812 if test "X$lt_pkg" = "X$lt_p"; then
8824 test -z "$pic_mode" && pic_mode
=default
8832 # Check whether --enable-fast-install was given.
8833 if test "${enable_fast_install+set}" = set; then :
8834 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8836 yes) enable_fast_install
=yes ;;
8837 no
) enable_fast_install
=no
;;
8839 enable_fast_install
=no
8840 # Look at the argument we got. We use all the common list separators.
8841 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8842 for pkg
in $enableval; do
8844 if test "X$pkg" = "X$p"; then
8845 enable_fast_install
=yes
8852 enable_fast_install
=yes
8865 # This can be used to rebuild libtool when needed
8866 LIBTOOL_DEPS
="$ltmain"
8868 # Always use our own libtool.
8869 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8900 test -z "$LN_S" && LN_S
="ln -s"
8915 if test -n "${ZSH_VERSION+set}" ; then
8916 setopt NO_GLOB_SUBST
8919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8920 $as_echo_n "checking for objdir... " >&6; }
8921 if ${lt_cv_objdir+:} false
; then :
8922 $as_echo_n "(cached) " >&6
8924 rm -f .libs
2>/dev
/null
8925 mkdir .libs
2>/dev
/null
8926 if test -d .libs
; then
8929 # MS-DOS does not allow filenames that begin with a dot.
8932 rmdir .libs
2>/dev
/null
8934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8935 $as_echo "$lt_cv_objdir" >&6; }
8936 objdir
=$lt_cv_objdir
8942 cat >>confdefs.h
<<_ACEOF
8943 #define LT_OBJDIR "$lt_cv_objdir/"
8951 # AIX sometimes has problems with the GCC collect2 program. For some
8952 # reason, if we set the COLLECT_NAMES environment variable, the problems
8953 # vanish in a puff of smoke.
8954 if test "X${COLLECT_NAMES+set}" != Xset
; then
8956 export COLLECT_NAMES
8963 can_build_shared
=yes
8965 # All known linkers require a `.a' archive for static linking (except MSVC,
8966 # which needs '.lib').
8969 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8972 old_CFLAGS
="$CFLAGS"
8974 # Set sane defaults for various variables
8975 test -z "$CC" && CC
=cc
8976 test -z "$LTCC" && LTCC
=$CC
8977 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8978 test -z "$LD" && LD
=ld
8979 test -z "$ac_objext" && ac_objext
=o
8981 for cc_temp
in $compiler""; do
8983 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
8984 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
8989 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8992 # Only perform the check for file, if the check method requires it
8993 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8994 case $deplibs_check_method in
8996 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8998 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8999 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9000 $as_echo_n "(cached) " >&6
9004 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9007 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9008 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9009 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9010 for ac_dir
in $ac_dummy; do
9012 test -z "$ac_dir" && ac_dir
=.
9013 if test -f $ac_dir/${ac_tool_prefix}file; then
9014 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
9015 if test -n "$file_magic_test_file"; then
9016 case $deplibs_check_method in
9018 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9019 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9020 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
9021 $EGREP "$file_magic_regex" > /dev
/null
; then
9026 *** Warning: the command libtool uses to detect shared libraries,
9027 *** $file_magic_cmd, produces output that libtool cannot recognize.
9028 *** The result is that libtool may fail to recognize shared libraries
9029 *** as such. This will affect the creation of libtool libraries that
9030 *** depend on shared libraries, but programs linked with such libtool
9031 *** libraries will work regardless of this problem. Nevertheless, you
9032 *** may want to report the problem to your system manager and/or to
9033 *** bug-libtool@gnu.org
9043 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9048 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9049 if test -n "$MAGIC_CMD"; then
9050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9051 $as_echo "$MAGIC_CMD" >&6; }
9053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9054 $as_echo "no" >&6; }
9061 if test -z "$lt_cv_path_MAGIC_CMD"; then
9062 if test -n "$ac_tool_prefix"; then
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9064 $as_echo_n "checking for file... " >&6; }
9065 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9066 $as_echo_n "(cached) " >&6
9070 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9073 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9074 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9075 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9076 for ac_dir
in $ac_dummy; do
9078 test -z "$ac_dir" && ac_dir
=.
9079 if test -f $ac_dir/file; then
9080 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
9081 if test -n "$file_magic_test_file"; then
9082 case $deplibs_check_method in
9084 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9085 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9086 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
9087 $EGREP "$file_magic_regex" > /dev
/null
; then
9092 *** Warning: the command libtool uses to detect shared libraries,
9093 *** $file_magic_cmd, produces output that libtool cannot recognize.
9094 *** The result is that libtool may fail to recognize shared libraries
9095 *** as such. This will affect the creation of libtool libraries that
9096 *** depend on shared libraries, but programs linked with such libtool
9097 *** libraries will work regardless of this problem. Nevertheless, you
9098 *** may want to report the problem to your system manager and/or to
9099 *** bug-libtool@gnu.org
9109 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9114 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9115 if test -n "$MAGIC_CMD"; then
9116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9117 $as_echo "$MAGIC_CMD" >&6; }
9119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9120 $as_echo "no" >&6; }
9133 # Use C for the default configuration in the libtool script
9137 ac_cpp
='$CPP $CPPFLAGS'
9138 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9139 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9140 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9143 # Source file extension for C test sources.
9146 # Object file extension for compiled C test sources.
9150 # Code to be used in simple compile tests
9151 lt_simple_compile_test_code
="int some_variable = 0;"
9153 # Code to be used in simple link tests
9154 lt_simple_link_test_code
='int main(){return(0);}'
9162 # If no C compiler was specified, use CC.
9165 # If no C compiler flags were specified, use CFLAGS.
9166 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9168 # Allow CC to be a program name with arguments.
9171 # Save the default compiler, since it gets overwritten when the other
9172 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9173 compiler_DEFAULT
=$CC
9175 # save warnings/boilerplate of simple test code
9176 ac_outfile
=conftest.
$ac_objext
9177 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9178 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
9179 _lt_compiler_boilerplate
=`cat conftest.err`
9182 ac_outfile
=conftest.
$ac_objext
9183 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9184 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
9185 _lt_linker_boilerplate
=`cat conftest.err`
9190 ## There is no encapsulation within the following macros, do not change
9191 ## the running order or otherwise move them around unless you know exactly
9192 ## what you are doing...
9193 if test -n "$compiler"; then
9195 lt_prog_compiler_no_builtin_flag
=
9197 if test "$GCC" = yes; then
9198 case $cc_basename in
9200 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9202 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9206 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9207 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9208 $as_echo_n "(cached) " >&6
9210 lt_cv_prog_compiler_rtti_exceptions
=no
9211 ac_outfile
=conftest.
$ac_objext
9212 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9213 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9214 # Insert the option either (1) after the last *FLAGS variable, or
9215 # (2) before a word containing "conftest.", or (3) at the end.
9216 # Note that $ac_compile itself does not contain backslashes and begins
9217 # with a dollar sign (not a hyphen), so the echo should work correctly.
9218 # The option is referenced via a variable to avoid confusing sed.
9219 lt_compile
=`echo "$ac_compile" | $SED \
9220 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9221 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9222 -e 's:$: $lt_compiler_flag:'`
9223 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9224 (eval "$lt_compile" 2>conftest.err
)
9226 cat conftest.err
>&5
9227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9228 if (exit $ac_status) && test -s "$ac_outfile"; then
9229 # The compiler can only warn and ignore the option if not recognized
9230 # So say no if there are warnings other than the usual output.
9231 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9232 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9233 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
9234 lt_cv_prog_compiler_rtti_exceptions
=yes
9240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9241 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9243 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9244 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9256 lt_prog_compiler_wl
=
9257 lt_prog_compiler_pic
=
9258 lt_prog_compiler_static
=
9261 if test "$GCC" = yes; then
9262 lt_prog_compiler_wl
='-Wl,'
9263 lt_prog_compiler_static
='-static'
9267 # All AIX code is PIC.
9268 if test "$host_cpu" = ia64
; then
9269 # AIX 5 now supports IA64 processor
9270 lt_prog_compiler_static
='-Bstatic'
9277 # see comment about AmigaOS4 .so support
9278 lt_prog_compiler_pic
='-fPIC'
9281 # FIXME: we need at least 68020 code to build shared libraries, but
9282 # adding the `-m68020' flag to GCC prevents building anything better,
9284 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9289 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9290 # PIC is the default for these OSes.
9293 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9294 # This hack is so that the source file can tell whether it is being
9295 # built for inclusion in a dll (and should export symbols for example).
9296 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9297 # (--disable-auto-import) libraries
9298 lt_prog_compiler_pic
='-DDLL_EXPORT'
9301 darwin
* | rhapsody
*)
9302 # PIC is the default on this platform
9303 # Common symbols not allowed in MH_DYLIB files
9304 lt_prog_compiler_pic
='-fno-common'
9308 # PIC is the default for Haiku.
9309 # The "-static" flag exists, but is broken.
9310 lt_prog_compiler_static
=
9314 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9315 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9316 # sets the default TLS model and affects inlining.
9322 lt_prog_compiler_pic
='-fPIC'
9328 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9329 # Instead, we relocate shared libraries at runtime.
9333 # Just because we use GCC doesn't mean we suddenly get shared libraries
9334 # on systems that don't support them.
9335 lt_prog_compiler_can_build_shared
=no
9340 # QNX uses GNU C++, but need to define -shared option too, otherwise
9342 lt_prog_compiler_pic
='-fPIC -shared'
9346 if test -d /usr
/nec
; then
9347 lt_prog_compiler_pic
=-Kconform_pic
9352 lt_prog_compiler_pic
='-fPIC'
9356 case $cc_basename in
9357 nvcc
*) # Cuda Compiler Driver 2.2
9358 lt_prog_compiler_wl
='-Xlinker '
9359 if test -n "$lt_prog_compiler_pic"; then
9360 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
9365 # PORTME Check for flag to pass linker flags through the system compiler.
9368 lt_prog_compiler_wl
='-Wl,'
9369 if test "$host_cpu" = ia64
; then
9370 # AIX 5 now supports IA64 processor
9371 lt_prog_compiler_static
='-Bstatic'
9373 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9377 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9378 # This hack is so that the source file can tell whether it is being
9379 # built for inclusion in a dll (and should export symbols for example).
9380 lt_prog_compiler_pic
='-DDLL_EXPORT'
9383 hpux9
* | hpux10
* | hpux11
*)
9384 lt_prog_compiler_wl
='-Wl,'
9385 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9392 lt_prog_compiler_pic
='+Z'
9395 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9396 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9399 irix5
* | irix6
* | nonstopux
*)
9400 lt_prog_compiler_wl
='-Wl,'
9401 # PIC (with -KPIC) is the default.
9402 lt_prog_compiler_static
='-non_shared'
9405 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9406 case $cc_basename in
9407 # old Intel for x86_64 which still supported -KPIC.
9409 lt_prog_compiler_wl
='-Wl,'
9410 lt_prog_compiler_pic
='-KPIC'
9411 lt_prog_compiler_static
='-static'
9413 # icc used to be incompatible with GCC.
9414 # ICC 10 doesn't accept -KPIC any more.
9416 lt_prog_compiler_wl
='-Wl,'
9417 lt_prog_compiler_pic
='-fPIC'
9418 lt_prog_compiler_static
='-static'
9420 # Lahey Fortran 8.1.
9422 lt_prog_compiler_wl
='-Wl,'
9423 lt_prog_compiler_pic
='--shared'
9424 lt_prog_compiler_static
='--static'
9427 # NAG Fortran compiler
9428 lt_prog_compiler_wl
='-Wl,-Wl,,'
9429 lt_prog_compiler_pic
='-PIC'
9430 lt_prog_compiler_static
='-Bstatic'
9432 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9433 # Portland Group compilers (*not* the Pentium gcc compiler,
9434 # which looks to be a dead project)
9435 lt_prog_compiler_wl
='-Wl,'
9436 lt_prog_compiler_pic
='-fpic'
9437 lt_prog_compiler_static
='-Bstatic'
9440 lt_prog_compiler_wl
='-Wl,'
9441 # All Alpha code is PIC.
9442 lt_prog_compiler_static
='-non_shared'
9444 xl
* | bgxl
* | bgf
* | mpixl
*)
9445 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9446 lt_prog_compiler_wl
='-Wl,'
9447 lt_prog_compiler_pic
='-qpic'
9448 lt_prog_compiler_static
='-qstaticlink'
9451 case `$CC -V 2>&1 | sed 5q` in
9452 *Sun\ Ceres\ Fortran
* | *Sun
*Fortran
*\
[1-7].
* | *Sun
*Fortran
*\
8.
[0-3]*)
9453 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9454 lt_prog_compiler_pic
='-KPIC'
9455 lt_prog_compiler_static
='-Bstatic'
9456 lt_prog_compiler_wl
=''
9458 *Sun\ F
* | *Sun
*Fortran
*)
9459 lt_prog_compiler_pic
='-KPIC'
9460 lt_prog_compiler_static
='-Bstatic'
9461 lt_prog_compiler_wl
='-Qoption ld '
9465 lt_prog_compiler_pic
='-KPIC'
9466 lt_prog_compiler_static
='-Bstatic'
9467 lt_prog_compiler_wl
='-Wl,'
9469 *Intel
*\
[CF
]*Compiler
*)
9470 lt_prog_compiler_wl
='-Wl,'
9471 lt_prog_compiler_pic
='-fPIC'
9472 lt_prog_compiler_static
='-static'
9475 lt_prog_compiler_wl
='-Wl,'
9476 lt_prog_compiler_pic
='-fpic'
9477 lt_prog_compiler_static
='-Bstatic'
9485 lt_prog_compiler_pic
='-KPIC'
9486 lt_prog_compiler_static
='-Bstatic'
9490 # QNX uses GNU C++, but need to define -shared option too, otherwise
9492 lt_prog_compiler_pic
='-fPIC -shared'
9495 osf3
* | osf4
* | osf5
*)
9496 lt_prog_compiler_wl
='-Wl,'
9497 # All OSF/1 code is PIC.
9498 lt_prog_compiler_static
='-non_shared'
9502 lt_prog_compiler_static
='-non_shared'
9506 lt_prog_compiler_pic
='-KPIC'
9507 lt_prog_compiler_static
='-Bstatic'
9508 case $cc_basename in
9509 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
9510 lt_prog_compiler_wl
='-Qoption ld ';;
9512 lt_prog_compiler_wl
='-Wl,';;
9517 lt_prog_compiler_wl
='-Qoption ld '
9518 lt_prog_compiler_pic
='-PIC'
9519 lt_prog_compiler_static
='-Bstatic'
9522 sysv4
| sysv4.2uw2
* | sysv4.3
*)
9523 lt_prog_compiler_wl
='-Wl,'
9524 lt_prog_compiler_pic
='-KPIC'
9525 lt_prog_compiler_static
='-Bstatic'
9529 if test -d /usr
/nec
;then
9530 lt_prog_compiler_pic
='-Kconform_pic'
9531 lt_prog_compiler_static
='-Bstatic'
9535 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9536 lt_prog_compiler_wl
='-Wl,'
9537 lt_prog_compiler_pic
='-KPIC'
9538 lt_prog_compiler_static
='-Bstatic'
9542 lt_prog_compiler_wl
='-Wl,'
9543 lt_prog_compiler_can_build_shared
=no
9547 lt_prog_compiler_pic
='-pic'
9548 lt_prog_compiler_static
='-Bstatic'
9552 lt_prog_compiler_can_build_shared
=no
9558 # For platforms which do not support PIC, -DPIC is meaningless:
9560 lt_prog_compiler_pic
=
9563 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9568 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9569 if ${lt_cv_prog_compiler_pic+:} false
; then :
9570 $as_echo_n "(cached) " >&6
9572 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
9574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9575 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9576 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
9579 # Check to make sure the PIC flag actually works.
9581 if test -n "$lt_prog_compiler_pic"; then
9582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9583 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9584 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
9585 $as_echo_n "(cached) " >&6
9587 lt_cv_prog_compiler_pic_works
=no
9588 ac_outfile
=conftest.
$ac_objext
9589 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9590 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9591 # Insert the option either (1) after the last *FLAGS variable, or
9592 # (2) before a word containing "conftest.", or (3) at the end.
9593 # Note that $ac_compile itself does not contain backslashes and begins
9594 # with a dollar sign (not a hyphen), so the echo should work correctly.
9595 # The option is referenced via a variable to avoid confusing sed.
9596 lt_compile
=`echo "$ac_compile" | $SED \
9597 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9598 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9599 -e 's:$: $lt_compiler_flag:'`
9600 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9601 (eval "$lt_compile" 2>conftest.err
)
9603 cat conftest.err
>&5
9604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9605 if (exit $ac_status) && test -s "$ac_outfile"; then
9606 # The compiler can only warn and ignore the option if not recognized
9607 # So say no if there are warnings other than the usual output.
9608 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9609 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9610 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
9611 lt_cv_prog_compiler_pic_works
=yes
9617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9618 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9620 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9621 case $lt_prog_compiler_pic in
9623 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9626 lt_prog_compiler_pic
=
9627 lt_prog_compiler_can_build_shared
=no
9643 # Check to make sure the static flag actually works.
9645 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9647 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9648 if ${lt_cv_prog_compiler_static_works+:} false
; then :
9649 $as_echo_n "(cached) " >&6
9651 lt_cv_prog_compiler_static_works
=no
9652 save_LDFLAGS
="$LDFLAGS"
9653 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9654 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9655 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9656 # The linker can only warn and ignore the option if not recognized
9657 # So say no if there are warnings
9658 if test -s conftest.err
; then
9659 # Append any errors to the config.log.
9660 cat conftest.err
1>&5
9661 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9662 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9663 if diff conftest.exp conftest.er2
>/dev
/null
; then
9664 lt_cv_prog_compiler_static_works
=yes
9667 lt_cv_prog_compiler_static_works
=yes
9671 LDFLAGS
="$save_LDFLAGS"
9674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9675 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9677 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9680 lt_prog_compiler_static
=
9689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9690 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9691 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9692 $as_echo_n "(cached) " >&6
9694 lt_cv_prog_compiler_c_o
=no
9695 $RM -r conftest
2>/dev
/null
9699 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9701 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9702 # Insert the option either (1) after the last *FLAGS variable, or
9703 # (2) before a word containing "conftest.", or (3) at the end.
9704 # Note that $ac_compile itself does not contain backslashes and begins
9705 # with a dollar sign (not a hyphen), so the echo should work correctly.
9706 lt_compile
=`echo "$ac_compile" | $SED \
9707 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9708 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9709 -e 's:$: $lt_compiler_flag:'`
9710 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9711 (eval "$lt_compile" 2>out
/conftest.err
)
9713 cat out
/conftest.err
>&5
9714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9715 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9717 # The compiler can only warn and ignore the option if not recognized
9718 # So say no if there are warnings
9719 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
9720 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9721 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9722 lt_cv_prog_compiler_c_o
=yes
9727 # SGI C++ compiler will create directory out/ii_files/ for
9728 # template instantiation
9729 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9730 $RM out
/* && rmdir out
9736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9737 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9745 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9746 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9747 $as_echo_n "(cached) " >&6
9749 lt_cv_prog_compiler_c_o
=no
9750 $RM -r conftest
2>/dev
/null
9754 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9756 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9757 # Insert the option either (1) after the last *FLAGS variable, or
9758 # (2) before a word containing "conftest.", or (3) at the end.
9759 # Note that $ac_compile itself does not contain backslashes and begins
9760 # with a dollar sign (not a hyphen), so the echo should work correctly.
9761 lt_compile
=`echo "$ac_compile" | $SED \
9762 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9763 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9764 -e 's:$: $lt_compiler_flag:'`
9765 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9766 (eval "$lt_compile" 2>out
/conftest.err
)
9768 cat out
/conftest.err
>&5
9769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9770 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9772 # The compiler can only warn and ignore the option if not recognized
9773 # So say no if there are warnings
9774 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
9775 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9776 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9777 lt_cv_prog_compiler_c_o
=yes
9782 # SGI C++ compiler will create directory out/ii_files/ for
9783 # template instantiation
9784 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9785 $RM out
/* && rmdir out
9791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9792 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9797 hard_links
="nottested"
9798 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9799 # do not overwrite the value of need_locks provided by the user
9800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9801 $as_echo_n "checking if we can lock with hard links... " >&6; }
9804 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9806 ln conftest.a conftest.b
2>&5 || hard_links
=no
9807 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9809 $as_echo "$hard_links" >&6; }
9810 if test "$hard_links" = no
; then
9811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9812 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9825 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9828 allow_undefined_flag
=
9829 always_export_symbols
=no
9831 archive_expsym_cmds
=
9832 compiler_needs_object
=no
9833 enable_shared_with_static_runtimes
=no
9834 export_dynamic_flag_spec
=
9835 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9836 hardcode_automatic
=no
9838 hardcode_direct_absolute
=no
9839 hardcode_libdir_flag_spec
=
9840 hardcode_libdir_separator
=
9842 hardcode_shlibpath_var
=unsupported
9844 link_all_deplibs
=unknown
9847 old_archive_from_new_cmds
=
9848 old_archive_from_expsyms_cmds
=
9849 thread_safe_flag_spec
=
9850 whole_archive_flag_spec
=
9851 # include_expsyms should be a list of space-separated symbols to be *always*
9852 # included in the symbol list
9854 # exclude_expsyms can be an extended regexp of symbols to exclude
9855 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9856 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9857 # as well as any symbol that contains `d'.
9858 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9859 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9860 # platforms (ab)use it in PIC code, but their linkers get confused if
9861 # the symbol is explicitly referenced. Since portable code cannot
9862 # rely on this symbol name, it's probably fine to never include it in
9863 # preloaded symbol tables.
9864 # Exclude shared library initialization/finalization symbols.
9865 extract_expsyms_cmds
=
9868 cygwin
* | mingw
* | pw32
* | cegcc
*)
9869 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9870 # When not using gcc, we currently assume that we are using
9871 # Microsoft Visual C++.
9872 if test "$GCC" != yes; then
9877 # we just hope/assume this is gcc and not c89 (= MSVC++)
9887 # On some targets, GNU ld is compatible enough with the native linker
9888 # that we're better off using the native interface for both.
9889 lt_use_gnu_ld_interface
=no
9890 if test "$with_gnu_ld" = yes; then
9893 # The AIX port of GNU ld has always aspired to compatibility
9894 # with the native linker. However, as the warning in the GNU ld
9895 # block says, versions before 2.19.5* couldn't really create working
9896 # shared libraries, regardless of the interface used.
9897 case `$LD -v 2>&1` in
9898 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9899 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9900 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9902 lt_use_gnu_ld_interface
=yes
9907 lt_use_gnu_ld_interface
=yes
9912 if test "$lt_use_gnu_ld_interface" = yes; then
9913 # If archive_cmds runs LD, not CC, wlarc should be empty
9916 # Set some defaults for GNU ld with shared library support. These
9917 # are reset later if shared libraries are not supported. Putting them
9918 # here allows them to be overridden if necessary.
9919 runpath_var
=LD_RUN_PATH
9920 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9921 export_dynamic_flag_spec
='${wl}--export-dynamic'
9922 # ancient GNU ld didn't support --whole-archive et. al.
9923 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
9924 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9926 whole_archive_flag_spec
=
9928 supports_anon_versioning
=no
9929 case `$LD -v 2>&1` in
9930 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9931 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
9932 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9933 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9934 *\
2.11.
*) ;; # other 2.11 versions
9935 *) supports_anon_versioning
=yes ;;
9938 # See if GNU ld supports shared libraries.
9941 # On AIX/PPC, the GNU linker is very broken
9942 if test "$host_cpu" != ia64
; then
9946 *** Warning: the GNU linker, at least up to release 2.19, is reported
9947 *** to be unable to reliably create shared libraries on AIX.
9948 *** Therefore, libtool is disabling shared libraries support. If you
9949 *** really care for shared libraries, you may want to install binutils
9950 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9951 *** You will then need to restart the configuration process.
9960 # see comment about AmigaOS4 .so support
9961 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9962 archive_expsym_cmds
=''
9965 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)'
9966 hardcode_libdir_flag_spec
='-L$libdir'
9967 hardcode_minus_L
=yes
9973 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9974 allow_undefined_flag
=unsupported
9975 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9976 # support --undefined. This deserves some investigation. FIXME
9977 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9983 cygwin
* | mingw
* | pw32
* | cegcc
*)
9984 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9985 # as there is no search path for DLLs.
9986 hardcode_libdir_flag_spec
='-L$libdir'
9987 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9988 allow_undefined_flag
=unsupported
9989 always_export_symbols
=no
9990 enable_shared_with_static_runtimes
=yes
9991 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'
9992 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9994 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
9995 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9996 # If the export-symbols file already is a .def file (1st line
9997 # is EXPORTS), use it as is; otherwise, prepend...
9998 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9999 cp $export_symbols $output_objdir/$soname.def;
10001 echo EXPORTS > $output_objdir/$soname.def;
10002 cat $export_symbols >> $output_objdir/$soname.def;
10004 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10011 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10012 link_all_deplibs
=yes
10017 hardcode_shlibpath_var
=no
10018 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10019 export_dynamic_flag_spec
='${wl}-E'
10020 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10021 # Instead, shared libraries are loaded at an image base (0x10000000 by
10022 # default) and relocated if they conflict, which is a slow very memory
10023 # consuming and fragmenting process. To avoid this, we pick a random,
10024 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10025 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10026 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10027 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'
10030 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10032 if test "$host_os" = linux
-dietlibc; then
10033 case $cc_basename in
10034 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10037 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
10038 && test "$tmp_diet" = no
10040 tmp_addflag
=' $pic_flag'
10041 tmp_sharedflag
='-shared'
10042 case $cc_basename,$host_cpu in
10043 pgcc
*) # Portland Group C compiler
10044 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'
10045 tmp_addflag
=' $pic_flag'
10047 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10048 # Portland Group f77 and f90 compilers
10049 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'
10050 tmp_addflag
=' $pic_flag -Mnomain' ;;
10051 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10052 tmp_addflag
=' -i_dynamic' ;;
10053 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10054 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10055 ifc
* | ifort
*) # Intel Fortran compiler
10056 tmp_addflag
=' -nofor_main' ;;
10057 lf95
*) # Lahey Fortran 8.1
10058 whole_archive_flag_spec
=
10059 tmp_sharedflag
='--shared' ;;
10060 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10061 tmp_sharedflag
='-qmkshrobj'
10063 nvcc
*) # Cuda Compiler Driver 2.2
10064 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'
10065 compiler_needs_object
=yes
10068 case `$CC -V 2>&1 | sed 5q` in
10069 *Sun\ C
*) # Sun C 5.9
10070 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'
10071 compiler_needs_object
=yes
10072 tmp_sharedflag
='-G' ;;
10073 *Sun\ F
*) # Sun Fortran 8.3
10074 tmp_sharedflag
='-G' ;;
10076 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10078 if test "x$supports_anon_versioning" = xyes
; then
10079 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10080 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10081 echo "local: *; };" >> $output_objdir/$libname.ver~
10082 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10085 case $cc_basename in
10086 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10087 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10088 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10089 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10090 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10091 if test "x$supports_anon_versioning" = xyes
; then
10092 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10093 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10094 echo "local: *; };" >> $output_objdir/$libname.ver~
10095 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10105 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
10106 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10109 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10110 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10115 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
10119 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10120 *** create shared libraries on Solaris systems. Therefore, libtool
10121 *** is disabling shared libraries support. We urge you to upgrade GNU
10122 *** binutils to release 2.9.1 or newer. Another option is to modify
10123 *** your PATH or compiler configuration so that the native linker is
10124 *** used, and then restart.
10127 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10128 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10129 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10135 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10136 case `$LD -v 2>&1` in
10137 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
10141 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10142 *** reliably create shared libraries on SCO systems. Therefore, libtool
10143 *** is disabling shared libraries support. We urge you to upgrade GNU
10144 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10145 *** your PATH or compiler configuration so that the native linker is
10146 *** used, and then restart.
10151 # For security reasons, it is highly recommended that you always
10152 # use absolute paths for naming shared libraries, and exclude the
10153 # DT_RUNPATH tag from executables and libraries. But doing so
10154 # requires that you compile everything twice, which is a pain.
10155 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10156 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10157 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10158 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10167 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10169 hardcode_direct
=yes
10170 hardcode_shlibpath_var
=no
10174 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10175 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10176 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10183 if test "$ld_shlibs" = no
; then
10185 hardcode_libdir_flag_spec
=
10186 export_dynamic_flag_spec
=
10187 whole_archive_flag_spec
=
10190 # PORTME fill in a description of your system's linker (not GNU ld)
10193 allow_undefined_flag
=unsupported
10194 always_export_symbols
=yes
10195 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'
10196 # Note: this linker hardcodes the directories in LIBPATH if there
10197 # are no directories specified by -L.
10198 hardcode_minus_L
=yes
10199 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10200 # Neither direct hardcoding nor static linking is supported with a
10202 hardcode_direct
=unsupported
10207 if test "$host_cpu" = ia64
; then
10208 # On IA64, the linker does run time linking by default, so we don't
10209 # have to do anything special.
10210 aix_use_runtimelinking
=no
10211 exp_sym_flag
='-Bexport'
10214 # If we're using GNU nm, then we don't want the "-C" option.
10215 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10216 # Also, AIX nm treats weak defined symbols like other global
10217 # defined symbols, whereas GNU nm marks them as "W".
10218 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
10219 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10221 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10223 aix_use_runtimelinking
=no
10225 # Test if we are trying to use run time linking or normal
10226 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10227 # need to do runtime linking.
10228 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10229 for ld_flag
in $LDFLAGS; do
10230 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10231 aix_use_runtimelinking
=yes
10238 exp_sym_flag
='-bexport'
10239 no_entry_flag
='-bnoentry'
10242 # When large executables or shared objects are built, AIX ld can
10243 # have problems creating the table of contents. If linking a library
10244 # or program results in "error TOC overflow" add -mminimal-toc to
10245 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10246 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10249 hardcode_direct
=yes
10250 hardcode_direct_absolute
=yes
10251 hardcode_libdir_separator
=':'
10252 link_all_deplibs
=yes
10253 file_list_spec
='${wl}-f,'
10255 if test "$GCC" = yes; then
10256 case $host_os in aix4.
[012]|aix4.
[012].
*)
10257 # We only want to do this on AIX 4.2 and lower, the check
10258 # below for broken collect2 doesn't work under 4.3+
10259 collect2name
=`${CC} -print-prog-name=collect2`
10260 if test -f "$collect2name" &&
10261 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
10263 # We have reworked collect2
10266 # We have old collect2
10267 hardcode_direct
=unsupported
10268 # It fails to find uninstalled libraries when the uninstalled
10269 # path is not listed in the libpath. Setting hardcode_minus_L
10270 # to unsupported forces relinking
10271 hardcode_minus_L
=yes
10272 hardcode_libdir_flag_spec
='-L$libdir'
10273 hardcode_libdir_separator
=
10277 shared_flag
='-shared'
10278 if test "$aix_use_runtimelinking" = yes; then
10279 shared_flag
="$shared_flag "'${wl}-G'
10283 if test "$host_cpu" = ia64
; then
10284 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10285 # chokes on -Wl,-G. The following line is correct:
10288 if test "$aix_use_runtimelinking" = yes; then
10289 shared_flag
='${wl}-G'
10291 shared_flag
='${wl}-bM:SRE'
10296 export_dynamic_flag_spec
='${wl}-bexpall'
10297 # It seems that -bexpall does not export symbols beginning with
10298 # underscore (_), so it is better to generate a list of symbols to export.
10299 always_export_symbols
=yes
10300 if test "$aix_use_runtimelinking" = yes; then
10301 # Warning - without using the other runtime loading flags (-brtl),
10302 # -berok will link without error, but may produce a broken library.
10303 allow_undefined_flag
='-berok'
10304 # Determine the default libpath from the value encoded in an
10305 # empty executable.
10306 if test "${lt_cv_aix_libpath+set}" = set; then
10307 aix_libpath
=$lt_cv_aix_libpath
10309 if ${lt_cv_aix_libpath_+:} false
; then :
10310 $as_echo_n "(cached) " >&6
10312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10313 /* end confdefs.h. */
10323 if ac_fn_c_try_link
"$LINENO"; then :
10325 lt_aix_libpath_sed
='
10326 /Import File Strings/,/^$/ {
10328 s/^0 *\([^ ]*\) *$/\1/
10332 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10333 # Check for a 64-bit object if we didn't find anything.
10334 if test -z "$lt_cv_aix_libpath_"; then
10335 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10338 rm -f core conftest.err conftest.
$ac_objext \
10339 conftest
$ac_exeext conftest.
$ac_ext
10340 if test -z "$lt_cv_aix_libpath_"; then
10341 lt_cv_aix_libpath_
="/usr/lib:/lib"
10346 aix_libpath
=$lt_cv_aix_libpath_
10349 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10350 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10352 if test "$host_cpu" = ia64
; then
10353 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10354 allow_undefined_flag
="-z nodefs"
10355 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"
10357 # Determine the default libpath from the value encoded in an
10358 # empty executable.
10359 if test "${lt_cv_aix_libpath+set}" = set; then
10360 aix_libpath
=$lt_cv_aix_libpath
10362 if ${lt_cv_aix_libpath_+:} false
; then :
10363 $as_echo_n "(cached) " >&6
10365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10366 /* end confdefs.h. */
10376 if ac_fn_c_try_link
"$LINENO"; then :
10378 lt_aix_libpath_sed
='
10379 /Import File Strings/,/^$/ {
10381 s/^0 *\([^ ]*\) *$/\1/
10385 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10386 # Check for a 64-bit object if we didn't find anything.
10387 if test -z "$lt_cv_aix_libpath_"; then
10388 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10391 rm -f core conftest.err conftest.
$ac_objext \
10392 conftest
$ac_exeext conftest.
$ac_ext
10393 if test -z "$lt_cv_aix_libpath_"; then
10394 lt_cv_aix_libpath_
="/usr/lib:/lib"
10399 aix_libpath
=$lt_cv_aix_libpath_
10402 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10403 # Warning - without using the other run time loading flags,
10404 # -berok will link without error, but may produce a broken library.
10405 no_undefined_flag
=' ${wl}-bernotok'
10406 allow_undefined_flag
=' ${wl}-berok'
10407 if test "$with_gnu_ld" = yes; then
10408 # We only use this code for GNU lds that support --whole-archive.
10409 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10411 # Exported symbols can be pulled into shared objects from archives
10412 whole_archive_flag_spec
='$convenience'
10414 archive_cmds_need_lc
=yes
10415 # This is similar to how AIX traditionally builds its shared libraries.
10416 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10424 # see comment about AmigaOS4 .so support
10425 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10426 archive_expsym_cmds
=''
10429 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)'
10430 hardcode_libdir_flag_spec
='-L$libdir'
10431 hardcode_minus_L
=yes
10437 export_dynamic_flag_spec
=-rdynamic
10440 cygwin
* | mingw
* | pw32
* | cegcc
*)
10441 # When not using gcc, we currently assume that we are using
10442 # Microsoft Visual C++.
10443 # hardcode_libdir_flag_spec is actually meaningless, as there is
10444 # no search path for DLLs.
10445 case $cc_basename in
10448 hardcode_libdir_flag_spec
=' '
10449 allow_undefined_flag
=unsupported
10450 always_export_symbols
=yes
10452 # Tell ltmain to make .lib files, not .a files.
10454 # Tell ltmain to make .dll files, not .so files.
10456 # FIXME: Setting linknames here is a bad hack.
10457 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10458 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10459 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
10461 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
10463 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10465 # The linker will not automatically build a static lib if we build a DLL.
10466 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10467 enable_shared_with_static_runtimes
=yes
10468 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10469 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10471 old_postinstall_cmds
='chmod 644 $oldlib'
10472 postlink_cmds
='lt_outputfile="@OUTPUT@"~
10473 lt_tool_outputfile="@TOOL_OUTPUT@"~
10474 case $lt_outputfile in
10477 lt_outputfile="$lt_outputfile.exe"
10478 lt_tool_outputfile="$lt_tool_outputfile.exe"
10481 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10482 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10483 $RM "$lt_outputfile.manifest";
10487 # Assume MSVC wrapper
10488 hardcode_libdir_flag_spec
=' '
10489 allow_undefined_flag
=unsupported
10490 # Tell ltmain to make .lib files, not .a files.
10492 # Tell ltmain to make .dll files, not .so files.
10494 # FIXME: Setting linknames here is a bad hack.
10495 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10496 # The linker will automatically build a .lib file if we build a DLL.
10497 old_archive_from_new_cmds
='true'
10498 # FIXME: Should let the user specify the lib program.
10499 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10500 enable_shared_with_static_runtimes
=yes
10505 darwin
* | rhapsody
*)
10508 archive_cmds_need_lc
=no
10510 hardcode_automatic
=yes
10511 hardcode_shlibpath_var
=unsupported
10512 if test "$lt_cv_ld_force_load" = "yes"; then
10513 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\"`'
10516 whole_archive_flag_spec
=''
10518 link_all_deplibs
=yes
10519 allow_undefined_flag
="$_lt_dar_allow_undefined"
10520 case $cc_basename in
10521 ifort
*) _lt_dar_can_shared
=yes ;;
10522 *) _lt_dar_can_shared
=$GCC ;;
10524 if test "$_lt_dar_can_shared" = "yes"; then
10525 output_verbose_link_cmd
=func_echo_all
10526 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10527 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10528 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}"
10529 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}"
10538 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10539 hardcode_libdir_flag_spec
='-L$libdir'
10540 hardcode_shlibpath_var
=no
10543 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10544 # support. Future versions do this automatically, but an explicit c++rt0.o
10545 # does not break anything, and helps significantly (at the cost of a little
10548 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10549 hardcode_libdir_flag_spec
='-R$libdir'
10550 hardcode_direct
=yes
10551 hardcode_shlibpath_var
=no
10554 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10556 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10557 hardcode_direct
=yes
10558 hardcode_minus_L
=yes
10559 hardcode_shlibpath_var
=no
10562 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10563 freebsd
* | dragonfly
*)
10564 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10565 hardcode_libdir_flag_spec
='-R$libdir'
10566 hardcode_direct
=yes
10567 hardcode_shlibpath_var
=no
10571 if test "$GCC" = yes; then
10572 archive_cmds
='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10574 archive_cmds
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10576 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10577 hardcode_libdir_separator
=:
10578 hardcode_direct
=yes
10580 # hardcode_minus_L: Not really in the search PATH,
10581 # but as the default location of the library.
10582 hardcode_minus_L
=yes
10583 export_dynamic_flag_spec
='${wl}-E'
10587 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10588 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10590 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10592 if test "$with_gnu_ld" = no
; then
10593 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10594 hardcode_libdir_separator
=:
10595 hardcode_direct
=yes
10596 hardcode_direct_absolute
=yes
10597 export_dynamic_flag_spec
='${wl}-E'
10598 # hardcode_minus_L: Not really in the search PATH,
10599 # but as the default location of the library.
10600 hardcode_minus_L
=yes
10605 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10608 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10611 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10614 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10620 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10623 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10627 # Older versions of the 11.00 compiler do not understand -b yet
10628 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10630 $as_echo_n "checking if $CC understands -b... " >&6; }
10631 if ${lt_cv_prog_compiler__b+:} false
; then :
10632 $as_echo_n "(cached) " >&6
10634 lt_cv_prog_compiler__b
=no
10635 save_LDFLAGS
="$LDFLAGS"
10636 LDFLAGS
="$LDFLAGS -b"
10637 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10638 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10639 # The linker can only warn and ignore the option if not recognized
10640 # So say no if there are warnings
10641 if test -s conftest.err
; then
10642 # Append any errors to the config.log.
10643 cat conftest.err
1>&5
10644 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10645 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10646 if diff conftest.exp conftest.er2
>/dev
/null
; then
10647 lt_cv_prog_compiler__b
=yes
10650 lt_cv_prog_compiler__b
=yes
10654 LDFLAGS
="$save_LDFLAGS"
10657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10658 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10660 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10661 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10663 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10669 if test "$with_gnu_ld" = no
; then
10670 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10671 hardcode_libdir_separator
=:
10676 hardcode_shlibpath_var
=no
10679 hardcode_direct
=yes
10680 hardcode_direct_absolute
=yes
10681 export_dynamic_flag_spec
='${wl}-E'
10683 # hardcode_minus_L: Not really in the search PATH,
10684 # but as the default location of the library.
10685 hardcode_minus_L
=yes
10691 irix5
* | irix6
* | nonstopux
*)
10692 if test "$GCC" = yes; then
10693 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'
10694 # Try to use the -exported_symbol ld option, if it does not
10695 # work, assume that -exports_file does not work either and
10696 # implicitly export all symbols.
10697 # This should be the same for all languages, so no per-tag cache variable.
10698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10699 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10700 if ${lt_cv_irix_exported_symbol+:} false
; then :
10701 $as_echo_n "(cached) " >&6
10703 save_LDFLAGS
="$LDFLAGS"
10704 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10706 /* end confdefs.h. */
10707 int foo (void) { return 0; }
10709 if ac_fn_c_try_link
"$LINENO"; then :
10710 lt_cv_irix_exported_symbol
=yes
10712 lt_cv_irix_exported_symbol
=no
10714 rm -f core conftest.err conftest.
$ac_objext \
10715 conftest
$ac_exeext conftest.
$ac_ext
10716 LDFLAGS
="$save_LDFLAGS"
10718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10719 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10720 if test "$lt_cv_irix_exported_symbol" = yes; then
10721 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'
10724 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'
10725 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'
10727 archive_cmds_need_lc
='no'
10728 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10729 hardcode_libdir_separator
=:
10731 link_all_deplibs
=yes
10735 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
10736 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10738 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10740 hardcode_libdir_flag_spec
='-R$libdir'
10741 hardcode_direct
=yes
10742 hardcode_shlibpath_var
=no
10746 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10747 hardcode_direct
=yes
10748 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10749 hardcode_libdir_separator
=:
10750 hardcode_shlibpath_var
=no
10757 if test -f /usr
/libexec
/ld.so
; then
10758 hardcode_direct
=yes
10759 hardcode_shlibpath_var
=no
10760 hardcode_direct_absolute
=yes
10761 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10762 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10763 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10764 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10765 export_dynamic_flag_spec
='${wl}-E'
10768 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10769 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10770 hardcode_libdir_flag_spec
='-R$libdir'
10773 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10774 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10784 hardcode_libdir_flag_spec
='-L$libdir'
10785 hardcode_minus_L
=yes
10786 allow_undefined_flag
=unsupported
10787 archive_cmds
='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10788 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10792 if test "$GCC" = yes; then
10793 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10794 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'
10796 allow_undefined_flag
=' -expect_unresolved \*'
10797 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'
10799 archive_cmds_need_lc
='no'
10800 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10801 hardcode_libdir_separator
=:
10804 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10805 if test "$GCC" = yes; then
10806 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10807 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'
10808 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10810 allow_undefined_flag
=' -expect_unresolved \*'
10811 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'
10812 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~
10813 $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'
10815 # Both c and cxx compiler support -rpath directly
10816 hardcode_libdir_flag_spec
='-rpath $libdir'
10818 archive_cmds_need_lc
='no'
10819 hardcode_libdir_separator
=:
10823 no_undefined_flag
=' -z defs'
10824 if test "$GCC" = yes; then
10826 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10827 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10828 $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'
10830 case `$CC -V 2>&1` in
10833 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10834 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10835 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10839 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10840 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10841 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10845 hardcode_libdir_flag_spec
='-R$libdir'
10846 hardcode_shlibpath_var
=no
10848 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10850 # The compiler driver will combine and reorder linker options,
10851 # but understands `-z linker_flag'. GCC discards it without `$wl',
10852 # but is careful enough not to reorder.
10853 # Supported since Solaris 2.6 (maybe 2.5.1?)
10854 if test "$GCC" = yes; then
10855 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10857 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10861 link_all_deplibs
=yes
10865 if test "x$host_vendor" = xsequent
; then
10866 # Use $CC to link under sequent, because it throws in some extra .o
10867 # files that make .init and .fini sections work.
10868 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10870 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10872 hardcode_libdir_flag_spec
='-L$libdir'
10873 hardcode_direct
=yes
10874 hardcode_minus_L
=yes
10875 hardcode_shlibpath_var
=no
10879 case $host_vendor in
10881 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10882 hardcode_direct
=yes # is this really true???
10885 ## LD is ld it makes a PLAMLIB
10886 ## CC just makes a GrossModule.
10887 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10888 reload_cmds
='$CC -r -o $output$reload_objs'
10892 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10893 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10896 runpath_var
='LD_RUN_PATH'
10897 hardcode_shlibpath_var
=no
10901 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10902 hardcode_shlibpath_var
=no
10903 export_dynamic_flag_spec
='-Bexport'
10907 if test -d /usr
/nec
; then
10908 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10909 hardcode_shlibpath_var
=no
10910 runpath_var
=LD_RUN_PATH
10911 hardcode_runpath_var
=yes
10916 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10917 no_undefined_flag
='${wl}-z,text'
10918 archive_cmds_need_lc
=no
10919 hardcode_shlibpath_var
=no
10920 runpath_var
='LD_RUN_PATH'
10922 if test "$GCC" = yes; then
10923 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10924 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10926 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10927 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10931 sysv5
* | sco3.2v5
* | sco5v6
*)
10932 # Note: We can NOT use -z defs as we might desire, because we do not
10933 # link with -lc, and that would cause any symbols used from libc to
10934 # always be unresolved, which means just about no library would
10935 # ever link correctly. If we're not using GNU ld we use -z text
10936 # though, which does catch some bad symbols but isn't as heavy-handed
10938 no_undefined_flag
='${wl}-z,text'
10939 allow_undefined_flag
='${wl}-z,nodefs'
10940 archive_cmds_need_lc
=no
10941 hardcode_shlibpath_var
=no
10942 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10943 hardcode_libdir_separator
=':'
10944 link_all_deplibs
=yes
10945 export_dynamic_flag_spec
='${wl}-Bexport'
10946 runpath_var
='LD_RUN_PATH'
10948 if test "$GCC" = yes; then
10949 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10950 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10952 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10953 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10958 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10959 hardcode_libdir_flag_spec
='-L$libdir'
10960 hardcode_shlibpath_var
=no
10968 if test x
$host_vendor = xsni
; then
10970 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10971 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10978 $as_echo "$ld_shlibs" >&6; }
10979 test "$ld_shlibs" = no
&& can_build_shared
=no
10981 with_gnu_ld
=$with_gnu_ld
10998 # Do we need to explicitly link libc?
11000 case "x$archive_cmds_need_lc" in
11002 # Assume -lc should be added
11003 archive_cmds_need_lc
=yes
11005 if test "$enable_shared" = yes && test "$GCC" = yes; then
11006 case $archive_cmds in
11008 # FIXME: we may have to deal with multi-command sequences.
11011 # Test whether the compiler implicitly links with -lc since on some
11012 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11013 # to ld, don't add -lc before -lgcc.
11014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11015 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11016 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11017 $as_echo_n "(cached) " >&6
11020 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11022 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11023 (eval $ac_compile) 2>&5
11025 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11026 test $ac_status = 0; } 2>conftest.err
; then
11029 libobjs
=conftest.
$ac_objext
11031 wl
=$lt_prog_compiler_wl
11032 pic_flag
=$lt_prog_compiler_pic
11038 lt_save_allow_undefined_flag
=$allow_undefined_flag
11039 allow_undefined_flag
=
11040 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11041 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11043 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11044 test $ac_status = 0; }
11046 lt_cv_archive_cmds_need_lc
=no
11048 lt_cv_archive_cmds_need_lc
=yes
11050 allow_undefined_flag
=$lt_save_allow_undefined_flag
11052 cat conftest.err
1>&5
11057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11058 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11059 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11218 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11220 if test "$GCC" = yes; then
11222 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11223 *) lt_awk_arg
="/^libraries:/" ;;
11226 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11227 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11229 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11230 case $lt_search_path_spec in
11232 # if the path contains ";" then we assume it to be the separator
11233 # otherwise default to the standard path separator (i.e. ":") - it is
11234 # assumed that no part of a normal pathname contains ";" but that should
11235 # okay in the real world where ";" in dirpaths is itself problematic.
11236 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11239 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11242 # Ok, now we have the path, separated by spaces, we can step through it
11243 # and add multilib dir if necessary.
11244 lt_tmp_lt_search_path_spec
=
11245 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11246 for lt_sys_path
in $lt_search_path_spec; do
11247 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11248 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11250 test -d "$lt_sys_path" && \
11251 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11254 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11255 BEGIN {RS=" "; FS="/|\n";} {
11258 for (lt_i = NF; lt_i > 0; lt_i--) {
11259 if ($lt_i != "" && $lt_i != ".") {
11260 if ($lt_i == "..") {
11263 if (lt_count == 0) {
11264 lt_foo="/" $lt_i lt_foo;
11271 if (lt_foo != "") { lt_freq[lt_foo]++; }
11272 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11274 # AWK program above erroneously prepends '/' to C:/dos/paths
11277 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11278 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11280 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11282 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11284 library_names_spec
=
11285 libname_spec
='lib$name'
11289 postuninstall_cmds
=
11293 shlibpath_overrides_runpath
=unknown
11295 dynamic_linker
="$host_os ld.so"
11296 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11297 need_lib_prefix
=unknown
11298 hardcode_into_libs
=no
11300 # when you set need_version to no, make sure it does not cause -set_version
11301 # flags to be left without arguments
11302 need_version
=unknown
11306 version_type
=linux
# correct to gnu/linux during the next big refactor
11307 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11308 shlibpath_var
=LIBPATH
11310 # AIX 3 has no versioning support, so we append a major version to the name.
11311 soname_spec
='${libname}${release}${shared_ext}$major'
11315 version_type
=linux
# correct to gnu/linux during the next big refactor
11318 hardcode_into_libs
=yes
11319 if test "$host_cpu" = ia64
; then
11320 # AIX 5 supports IA64
11321 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11322 shlibpath_var
=LD_LIBRARY_PATH
11324 # With GCC up to 2.95.x, collect2 would create an import file
11325 # for dependence libraries. The import file would start with
11326 # the line `#! .'. This would cause the generated library to
11327 # depend on `.', always an invalid library. This was fixed in
11328 # development snapshots of GCC prior to 3.0.
11330 aix4
| aix4.
[01] | aix4.
[01].
*)
11331 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11333 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
11336 can_build_shared
=no
11340 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11341 # soname into executable. Probably we can add versioning support to
11342 # collect2, so additional links can be useful in future.
11343 if test "$aix_use_runtimelinking" = yes; then
11344 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11345 # instead of lib<name>.a to let people know that these are not
11346 # typical AIX shared libraries.
11347 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11349 # We preserve .a as extension for shared libraries through AIX4.2
11350 # and later when we are not doing run time linking.
11351 library_names_spec
='${libname}${release}.a $libname.a'
11352 soname_spec
='${libname}${release}${shared_ext}$major'
11354 shlibpath_var
=LIBPATH
11361 # Since July 2007 AmigaOS4 officially supports .so libraries.
11362 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11363 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11366 library_names_spec
='$libname.ixlibrary $libname.a'
11367 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11368 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11374 library_names_spec
='${libname}${shared_ext}'
11375 dynamic_linker
="$host_os ld.so"
11376 shlibpath_var
=LIBRARY_PATH
11380 version_type
=linux
# correct to gnu/linux during the next big refactor
11382 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11383 soname_spec
='${libname}${release}${shared_ext}$major'
11384 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11385 shlibpath_var
=LD_LIBRARY_PATH
11386 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11387 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11388 # the default ld.so.conf also contains /usr/contrib/lib and
11389 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11390 # libtool to hard-code these into programs
11393 cygwin
* | mingw
* | pw32
* | cegcc
*)
11394 version_type
=windows
11399 case $GCC,$cc_basename in
11402 library_names_spec
='$libname.dll.a'
11403 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11404 postinstall_cmds
='base_file=`basename \${file}`~
11405 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11406 dldir=$destdir/`dirname \$dlpath`~
11407 test -d \$dldir || mkdir -p \$dldir~
11408 $install_prog $dir/$dlname \$dldir/$dlname~
11409 chmod a+x \$dldir/$dlname~
11410 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11411 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11413 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11414 dlpath=$dir/\$dldll~
11416 shlibpath_overrides_runpath
=yes
11420 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11421 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11423 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11426 # MinGW DLLs use traditional 'lib' prefix
11427 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11430 # pw32 DLLs use 'pw' prefix rather than 'lib'
11431 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11434 dynamic_linker
='Win32 ld.exe'
11439 libname_spec
='$name'
11440 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11441 library_names_spec
='${libname}.dll.lib'
11445 sys_lib_search_path_spec
=
11448 for lt_path
in $LIB
11451 # Let DOS variable expansion print the short 8.3 style file name.
11452 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11453 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
11456 # Convert to MSYS style.
11457 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11460 # Convert to unix form, then to dos form, then back to unix form
11461 # but this time dos style (no spaces!) so that the unix form looks
11462 # like /cygdrive/c/PROGRA~1:/cygdr...
11463 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
11464 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11465 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11468 sys_lib_search_path_spec
="$LIB"
11469 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
11470 # It is most probably a Windows format PATH.
11471 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11473 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11475 # FIXME: find the short name or the path components, as spaces are
11476 # common. (e.g. "Program Files" -> "PROGRA~1")
11480 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11481 postinstall_cmds
='base_file=`basename \${file}`~
11482 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11483 dldir=$destdir/`dirname \$dlpath`~
11484 test -d \$dldir || mkdir -p \$dldir~
11485 $install_prog $dir/$dlname \$dldir/$dlname'
11486 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11487 dlpath=$dir/\$dldll~
11489 shlibpath_overrides_runpath
=yes
11490 dynamic_linker
='Win32 link.exe'
11494 # Assume MSVC wrapper
11495 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
11496 dynamic_linker
='Win32 ld.exe'
11499 # FIXME: first we should search . and the directory the executable is in
11503 darwin
* | rhapsody
*)
11504 dynamic_linker
="$host_os dyld"
11505 version_type
=darwin
11508 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11509 soname_spec
='${libname}${release}${major}$shared_ext'
11510 shlibpath_overrides_runpath
=yes
11511 shlibpath_var
=DYLD_LIBRARY_PATH
11512 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11514 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11515 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11519 version_type
=linux
# correct to gnu/linux during the next big refactor
11522 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11523 soname_spec
='${libname}${release}${shared_ext}$major'
11524 shlibpath_var
=LD_LIBRARY_PATH
11527 freebsd
* | dragonfly
*)
11528 # DragonFly does not have aout. When/if they implement a new
11529 # versioning mechanism, adjust this.
11530 if test -x /usr
/bin
/objformat
; then
11531 objformat
=`/usr/bin/objformat`
11534 freebsd
[23].
*) objformat
=aout
;;
11535 *) objformat
=elf
;;
11538 version_type
=freebsd
-$objformat
11539 case $version_type in
11541 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11546 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11550 shlibpath_var
=LD_LIBRARY_PATH
11553 shlibpath_overrides_runpath
=yes
11555 freebsd3.
[01]* | freebsdelf3.
[01]*)
11556 shlibpath_overrides_runpath
=yes
11557 hardcode_into_libs
=yes
11559 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11560 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11561 shlibpath_overrides_runpath
=no
11562 hardcode_into_libs
=yes
11564 *) # from 4.6 on, and DragonFly
11565 shlibpath_overrides_runpath
=yes
11566 hardcode_into_libs
=yes
11572 version_type
=linux
# correct to gnu/linux during the next big refactor
11575 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11576 soname_spec
='${libname}${release}${shared_ext}$major'
11577 shlibpath_var
=LD_LIBRARY_PATH
11578 shlibpath_overrides_runpath
=no
11579 hardcode_into_libs
=yes
11583 version_type
=linux
# correct to gnu/linux during the next big refactor
11586 dynamic_linker
="$host_os runtime_loader"
11587 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11588 soname_spec
='${libname}${release}${shared_ext}$major'
11589 shlibpath_var
=LIBRARY_PATH
11590 shlibpath_overrides_runpath
=yes
11591 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11592 hardcode_into_libs
=yes
11595 hpux9
* | hpux10
* | hpux11
*)
11596 # Give a soname corresponding to the major version so that dld.sl refuses to
11597 # link against other versions.
11604 hardcode_into_libs
=yes
11605 dynamic_linker
="$host_os dld.so"
11606 shlibpath_var
=LD_LIBRARY_PATH
11607 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11608 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11609 soname_spec
='${libname}${release}${shared_ext}$major'
11610 if test "X$HPUX_IA64_MODE" = X32
; then
11611 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11613 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11615 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11619 hardcode_into_libs
=yes
11620 dynamic_linker
="$host_os dld.sl"
11621 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11622 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11623 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11624 soname_spec
='${libname}${release}${shared_ext}$major'
11625 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11626 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11630 dynamic_linker
="$host_os dld.sl"
11631 shlibpath_var
=SHLIB_PATH
11632 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11633 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11634 soname_spec
='${libname}${release}${shared_ext}$major'
11637 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11638 postinstall_cmds
='chmod 555 $lib'
11639 # or fails outright, so override atomically:
11640 install_override_mode
=555
11644 version_type
=linux
# correct to gnu/linux during the next big refactor
11647 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11648 soname_spec
='${libname}${release}${shared_ext}$major'
11649 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11650 shlibpath_var
=LD_LIBRARY_PATH
11651 shlibpath_overrides_runpath
=no
11652 hardcode_into_libs
=yes
11655 irix5
* | irix6
* | nonstopux
*)
11657 nonstopux
*) version_type
=nonstopux
;;
11659 if test "$lt_cv_prog_gnu_ld" = yes; then
11660 version_type
=linux
# correct to gnu/linux during the next big refactor
11667 soname_spec
='${libname}${release}${shared_ext}$major'
11668 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11670 irix5
* | nonstopux
*)
11671 libsuff
= shlibsuff
=
11674 case $LD in # libtool.m4 will add one of these switches to LD
11675 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11676 libsuff
= shlibsuff
= libmagic
=32-bit;;
11677 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11678 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11679 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11680 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11681 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
11685 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11686 shlibpath_overrides_runpath
=no
11687 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11688 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11689 hardcode_into_libs
=yes
11692 # No shared lib support for Linux oldld, aout, or coff.
11693 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11697 # This must be glibc/ELF.
11698 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11699 version_type
=linux
# correct to gnu/linux during the next big refactor
11702 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11703 soname_spec
='${libname}${release}${shared_ext}$major'
11704 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11705 shlibpath_var
=LD_LIBRARY_PATH
11706 shlibpath_overrides_runpath
=no
11708 # Some binutils ld are patched to set DT_RUNPATH
11709 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11710 $as_echo_n "(cached) " >&6
11712 lt_cv_shlibpath_overrides_runpath
=no
11713 save_LDFLAGS
=$LDFLAGS
11714 save_libdir
=$libdir
11715 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11716 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11718 /* end confdefs.h. */
11728 if ac_fn_c_try_link
"$LINENO"; then :
11729 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
11730 lt_cv_shlibpath_overrides_runpath
=yes
11733 rm -f core conftest.err conftest.
$ac_objext \
11734 conftest
$ac_exeext conftest.
$ac_ext
11735 LDFLAGS
=$save_LDFLAGS
11736 libdir
=$save_libdir
11740 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11742 # This implies no fast_install, which is unacceptable.
11743 # Some rework will be needed to allow for fast_install
11744 # before this can be enabled.
11745 hardcode_into_libs
=yes
11747 # Append ld.so.conf contents to the search path
11748 if test -f /etc
/ld.so.conf
; then
11749 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' ' '`
11750 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11753 # We used to test for /lib/ld.so.1 and disable shared libraries on
11754 # powerpc, because MkLinux only supported shared libraries with the
11755 # GNU dynamic linker. Since this was broken with cross compilers,
11756 # most powerpc-linux boxes support dynamic linking these days and
11757 # people can always --disable-shared, the test was removed, and we
11758 # assume the GNU/Linux dynamic linker is in use.
11759 dynamic_linker
='GNU/Linux ld.so'
11766 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
11767 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11768 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11769 dynamic_linker
='NetBSD (a.out) ld.so'
11771 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11772 soname_spec
='${libname}${release}${shared_ext}$major'
11773 dynamic_linker
='NetBSD ld.elf_so'
11775 shlibpath_var
=LD_LIBRARY_PATH
11776 shlibpath_overrides_runpath
=yes
11777 hardcode_into_libs
=yes
11781 version_type
=linux
# correct to gnu/linux during the next big refactor
11782 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11783 shlibpath_var
=LD_LIBRARY_PATH
11784 shlibpath_overrides_runpath
=yes
11791 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11792 soname_spec
='${libname}${release}${shared_ext}$major'
11793 shlibpath_var
=LD_LIBRARY_PATH
11794 shlibpath_overrides_runpath
=no
11795 hardcode_into_libs
=yes
11796 dynamic_linker
='ldqnx.so'
11801 sys_lib_dlsearch_path_spec
="/usr/lib"
11803 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11805 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
11806 *) need_version
=no
;;
11808 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11809 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11810 shlibpath_var
=LD_LIBRARY_PATH
11811 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11813 openbsd2.
[89] | openbsd2.
[89].
*)
11814 shlibpath_overrides_runpath
=no
11817 shlibpath_overrides_runpath
=yes
11821 shlibpath_overrides_runpath
=yes
11826 libname_spec
='$name'
11829 library_names_spec
='$libname${shared_ext} $libname.a'
11830 dynamic_linker
='OS/2 ld.exe'
11831 shlibpath_var
=LIBPATH
11834 osf3
* | osf4
* | osf5
*)
11838 soname_spec
='${libname}${release}${shared_ext}$major'
11839 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11840 shlibpath_var
=LD_LIBRARY_PATH
11841 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11842 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11850 version_type
=linux
# correct to gnu/linux during the next big refactor
11853 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11854 soname_spec
='${libname}${release}${shared_ext}$major'
11855 shlibpath_var
=LD_LIBRARY_PATH
11856 shlibpath_overrides_runpath
=yes
11857 hardcode_into_libs
=yes
11858 # ldd complains unless libraries are executable
11859 postinstall_cmds
='chmod +x $lib'
11864 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11865 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11866 shlibpath_var
=LD_LIBRARY_PATH
11867 shlibpath_overrides_runpath
=yes
11868 if test "$with_gnu_ld" = yes; then
11875 version_type
=linux
# correct to gnu/linux during the next big refactor
11876 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11877 soname_spec
='${libname}${release}${shared_ext}$major'
11878 shlibpath_var
=LD_LIBRARY_PATH
11879 case $host_vendor in
11881 shlibpath_overrides_runpath
=no
11883 runpath_var
=LD_RUN_PATH
11891 shlibpath_overrides_runpath
=no
11892 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11898 if test -d /usr
/nec
;then
11899 version_type
=linux
# correct to gnu/linux during the next big refactor
11900 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11901 soname_spec
='$libname${shared_ext}.$major'
11902 shlibpath_var
=LD_LIBRARY_PATH
11906 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11907 version_type
=freebsd
-elf
11910 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11911 soname_spec
='${libname}${release}${shared_ext}$major'
11912 shlibpath_var
=LD_LIBRARY_PATH
11913 shlibpath_overrides_runpath
=yes
11914 hardcode_into_libs
=yes
11915 if test "$with_gnu_ld" = yes; then
11916 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11918 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11921 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11925 sys_lib_dlsearch_path_spec
='/usr/lib'
11929 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11930 version_type
=linux
# correct to gnu/linux during the next big refactor
11933 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11934 shlibpath_var
=LD_LIBRARY_PATH
11935 shlibpath_overrides_runpath
=no
11936 hardcode_into_libs
=yes
11940 version_type
=linux
# correct to gnu/linux during the next big refactor
11941 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11942 soname_spec
='${libname}${release}${shared_ext}$major'
11943 shlibpath_var
=LD_LIBRARY_PATH
11950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11951 $as_echo "$dynamic_linker" >&6; }
11952 test "$dynamic_linker" = no
&& can_build_shared
=no
11954 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11955 if test "$GCC" = yes; then
11956 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11959 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11960 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11962 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11963 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
12057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12058 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12060 if test -n "$hardcode_libdir_flag_spec" ||
12061 test -n "$runpath_var" ||
12062 test "X$hardcode_automatic" = "Xyes" ; then
12064 # We can hardcode non-existent directories.
12065 if test "$hardcode_direct" != no
&&
12066 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12067 # have to relink, otherwise we might link with an installed library
12068 # when we should be linking with a yet-to-be-installed one
12069 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12070 test "$hardcode_minus_L" != no
; then
12071 # Linking always hardcodes the temporary library directory.
12072 hardcode_action
=relink
12074 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12075 hardcode_action
=immediate
12078 # We cannot hardcode anything, or else we can only hardcode existing
12080 hardcode_action
=unsupported
12082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12083 $as_echo "$hardcode_action" >&6; }
12085 if test "$hardcode_action" = relink
||
12086 test "$inherit_rpath" = yes; then
12087 # Fast installation is not supported
12088 enable_fast_install
=no
12089 elif test "$shlibpath_overrides_runpath" = yes ||
12090 test "$enable_shared" = no
; then
12091 # Fast installation is not necessary
12092 enable_fast_install
=needless
12100 if test "x$enable_dlopen" != xyes
; then
12101 enable_dlopen
=unknown
12102 enable_dlopen_self
=unknown
12103 enable_dlopen_self_static
=unknown
12110 lt_cv_dlopen
="load_add_on"
12112 lt_cv_dlopen_self
=yes
12115 mingw
* | pw32
* | cegcc
*)
12116 lt_cv_dlopen
="LoadLibrary"
12121 lt_cv_dlopen
="dlopen"
12126 # if libdl is installed we need to link against it
12127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12128 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12129 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12130 $as_echo_n "(cached) " >&6
12132 ac_check_lib_save_LIBS
=$LIBS
12134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12135 /* end confdefs.h. */
12137 /* Override any GCC internal prototype to avoid an error.
12138 Use char because int might match the return type of a GCC
12139 builtin and then its argument prototype would still apply. */
12152 if ac_fn_c_try_link
"$LINENO"; then :
12153 ac_cv_lib_dl_dlopen
=yes
12155 ac_cv_lib_dl_dlopen
=no
12157 rm -f core conftest.err conftest.
$ac_objext \
12158 conftest
$ac_exeext conftest.
$ac_ext
12159 LIBS
=$ac_check_lib_save_LIBS
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12162 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12163 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12164 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12167 lt_cv_dlopen
="dyld"
12169 lt_cv_dlopen_self
=yes
12176 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12177 if test "x$ac_cv_func_shl_load" = xyes
; then :
12178 lt_cv_dlopen
="shl_load"
12180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12181 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12182 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12183 $as_echo_n "(cached) " >&6
12185 ac_check_lib_save_LIBS
=$LIBS
12187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12188 /* end confdefs.h. */
12190 /* Override any GCC internal prototype to avoid an error.
12191 Use char because int might match the return type of a GCC
12192 builtin and then its argument prototype would still apply. */
12200 return shl_load ();
12205 if ac_fn_c_try_link
"$LINENO"; then :
12206 ac_cv_lib_dld_shl_load
=yes
12208 ac_cv_lib_dld_shl_load
=no
12210 rm -f core conftest.err conftest.
$ac_objext \
12211 conftest
$ac_exeext conftest.
$ac_ext
12212 LIBS
=$ac_check_lib_save_LIBS
12214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12215 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12216 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12217 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12219 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12220 if test "x$ac_cv_func_dlopen" = xyes
; then :
12221 lt_cv_dlopen
="dlopen"
12223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12224 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12225 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12226 $as_echo_n "(cached) " >&6
12228 ac_check_lib_save_LIBS
=$LIBS
12230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12231 /* end confdefs.h. */
12233 /* Override any GCC internal prototype to avoid an error.
12234 Use char because int might match the return type of a GCC
12235 builtin and then its argument prototype would still apply. */
12248 if ac_fn_c_try_link
"$LINENO"; then :
12249 ac_cv_lib_dl_dlopen
=yes
12251 ac_cv_lib_dl_dlopen
=no
12253 rm -f core conftest.err conftest.
$ac_objext \
12254 conftest
$ac_exeext conftest.
$ac_ext
12255 LIBS
=$ac_check_lib_save_LIBS
12257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12258 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12259 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12260 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12263 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12264 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12265 $as_echo_n "(cached) " >&6
12267 ac_check_lib_save_LIBS
=$LIBS
12268 LIBS
="-lsvld $LIBS"
12269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12270 /* end confdefs.h. */
12272 /* Override any GCC internal prototype to avoid an error.
12273 Use char because int might match the return type of a GCC
12274 builtin and then its argument prototype would still apply. */
12287 if ac_fn_c_try_link
"$LINENO"; then :
12288 ac_cv_lib_svld_dlopen
=yes
12290 ac_cv_lib_svld_dlopen
=no
12292 rm -f core conftest.err conftest.
$ac_objext \
12293 conftest
$ac_exeext conftest.
$ac_ext
12294 LIBS
=$ac_check_lib_save_LIBS
12296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12297 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12298 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12299 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12302 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12303 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12304 $as_echo_n "(cached) " >&6
12306 ac_check_lib_save_LIBS
=$LIBS
12308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12309 /* end confdefs.h. */
12311 /* Override any GCC internal prototype to avoid an error.
12312 Use char because int might match the return type of a GCC
12313 builtin and then its argument prototype would still apply. */
12321 return dld_link ();
12326 if ac_fn_c_try_link
"$LINENO"; then :
12327 ac_cv_lib_dld_dld_link
=yes
12329 ac_cv_lib_dld_dld_link
=no
12331 rm -f core conftest.err conftest.
$ac_objext \
12332 conftest
$ac_exeext conftest.
$ac_ext
12333 LIBS
=$ac_check_lib_save_LIBS
12335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12336 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12337 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12338 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12359 if test "x$lt_cv_dlopen" != xno
; then
12365 case $lt_cv_dlopen in
12367 save_CPPFLAGS
="$CPPFLAGS"
12368 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12370 save_LDFLAGS
="$LDFLAGS"
12371 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12374 LIBS
="$lt_cv_dlopen_libs $LIBS"
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12377 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12378 if ${lt_cv_dlopen_self+:} false
; then :
12379 $as_echo_n "(cached) " >&6
12381 if test "$cross_compiling" = yes; then :
12382 lt_cv_dlopen_self
=cross
12384 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12385 lt_status
=$lt_dlunknown
12386 cat > conftest.
$ac_ext <<_LT_EOF
12387 #line $LINENO "configure"
12388 #include "confdefs.h"
12397 # define LT_DLGLOBAL RTLD_GLOBAL
12400 # define LT_DLGLOBAL DL_GLOBAL
12402 # define LT_DLGLOBAL 0
12406 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12407 find out it does not work in some platform. */
12408 #ifndef LT_DLLAZY_OR_NOW
12410 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12413 # define LT_DLLAZY_OR_NOW DL_LAZY
12416 # define LT_DLLAZY_OR_NOW RTLD_NOW
12419 # define LT_DLLAZY_OR_NOW DL_NOW
12421 # define LT_DLLAZY_OR_NOW 0
12428 /* When -fvisbility=hidden is used, assume the code has been annotated
12429 correspondingly for the symbols needed. */
12430 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12431 int fnord () __attribute__((visibility("default")));
12434 int fnord () { return 42; }
12437 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12438 int status = $lt_dlunknown;
12442 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12445 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12446 else puts (dlerror ());
12448 /* dlclose (self); */
12456 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12457 (eval $ac_link) 2>&5
12459 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12460 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12461 (.
/conftest
; exit; ) >&5 2>/dev
/null
12463 case x
$lt_status in
12464 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12465 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12466 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12469 # compilation failed
12470 lt_cv_dlopen_self
=no
12477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12478 $as_echo "$lt_cv_dlopen_self" >&6; }
12480 if test "x$lt_cv_dlopen_self" = xyes
; then
12481 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12483 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12484 if ${lt_cv_dlopen_self_static+:} false
; then :
12485 $as_echo_n "(cached) " >&6
12487 if test "$cross_compiling" = yes; then :
12488 lt_cv_dlopen_self_static
=cross
12490 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12491 lt_status
=$lt_dlunknown
12492 cat > conftest.
$ac_ext <<_LT_EOF
12493 #line $LINENO "configure"
12494 #include "confdefs.h"
12503 # define LT_DLGLOBAL RTLD_GLOBAL
12506 # define LT_DLGLOBAL DL_GLOBAL
12508 # define LT_DLGLOBAL 0
12512 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12513 find out it does not work in some platform. */
12514 #ifndef LT_DLLAZY_OR_NOW
12516 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12519 # define LT_DLLAZY_OR_NOW DL_LAZY
12522 # define LT_DLLAZY_OR_NOW RTLD_NOW
12525 # define LT_DLLAZY_OR_NOW DL_NOW
12527 # define LT_DLLAZY_OR_NOW 0
12534 /* When -fvisbility=hidden is used, assume the code has been annotated
12535 correspondingly for the symbols needed. */
12536 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12537 int fnord () __attribute__((visibility("default")));
12540 int fnord () { return 42; }
12543 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12544 int status = $lt_dlunknown;
12548 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12551 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12552 else puts (dlerror ());
12554 /* dlclose (self); */
12562 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12563 (eval $ac_link) 2>&5
12565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12566 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12567 (.
/conftest
; exit; ) >&5 2>/dev
/null
12569 case x
$lt_status in
12570 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12571 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12572 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12575 # compilation failed
12576 lt_cv_dlopen_self_static
=no
12583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12584 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12587 CPPFLAGS
="$save_CPPFLAGS"
12588 LDFLAGS
="$save_LDFLAGS"
12593 case $lt_cv_dlopen_self in
12594 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12595 *) enable_dlopen_self
=unknown
;;
12598 case $lt_cv_dlopen_self_static in
12599 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12600 *) enable_dlopen_self_static
=unknown
;;
12622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12623 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12624 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
12625 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12626 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12628 $as_echo "yes" >&6; }
12630 # FIXME - insert some real tests, host_os isn't really good enough
12633 if test -n "$STRIP" ; then
12634 striplib
="$STRIP -x"
12635 old_striplib
="$STRIP -S"
12636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12637 $as_echo "yes" >&6; }
12639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12640 $as_echo "no" >&6; }
12644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12645 $as_echo "no" >&6; }
12661 # Report which library types will actually be built
12662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12663 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12665 $as_echo "$can_build_shared" >&6; }
12667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12668 $as_echo_n "checking whether to build shared libraries... " >&6; }
12669 test "$can_build_shared" = "no" && enable_shared
=no
12671 # On AIX, shared libraries and static libraries use the same namespace, and
12672 # are all built from PIC.
12675 test "$enable_shared" = yes && enable_static
=no
12676 if test -n "$RANLIB"; then
12677 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12678 postinstall_cmds
='$RANLIB $lib'
12683 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12684 test "$enable_shared" = yes && enable_static
=no
12688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12689 $as_echo "$enable_shared" >&6; }
12691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12692 $as_echo_n "checking whether to build static libraries... " >&6; }
12693 # Make sure either enable_shared or enable_static is yes.
12694 test "$enable_shared" = yes || enable_static
=yes
12695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12696 $as_echo "$enable_static" >&6; }
12703 ac_cpp
='$CPP $CPPFLAGS'
12704 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12705 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12706 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12710 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12711 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12712 (test "X$CXX" != "Xg++"))) ; then
12714 ac_cpp
='$CXXCPP $CPPFLAGS'
12715 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12716 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12717 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12719 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12720 if test -z "$CXXCPP"; then
12721 if ${ac_cv_prog_CXXCPP+:} false
; then :
12722 $as_echo_n "(cached) " >&6
12724 # Double quotes because CXXCPP needs to be expanded
12725 for CXXCPP
in "$CXX -E" "/lib/cpp"
12727 ac_preproc_ok
=false
12728 for ac_cxx_preproc_warn_flag
in '' yes
12730 # Use a header file that comes with gcc, so configuring glibc
12731 # with a fresh cross-compiler works.
12732 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12733 # <limits.h> exists even on freestanding compilers.
12734 # On the NeXT, cc -E runs the code through the compiler's parser,
12735 # not just through cpp. "Syntax error" is here to catch this case.
12736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12737 /* end confdefs.h. */
12739 # include <limits.h>
12741 # include <assert.h>
12745 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12748 # Broken: fails on valid input.
12751 rm -f conftest.err conftest.i conftest.
$ac_ext
12753 # OK, works on sane cases. Now check whether nonexistent headers
12754 # can be detected and how.
12755 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12756 /* end confdefs.h. */
12757 #include <ac_nonexistent.h>
12759 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12760 # Broken: success on invalid input.
12763 # Passes both tests.
12767 rm -f conftest.err conftest.i conftest.
$ac_ext
12770 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12771 rm -f conftest.i conftest.err conftest.
$ac_ext
12772 if $ac_preproc_ok; then :
12777 ac_cv_prog_CXXCPP
=$CXXCPP
12780 CXXCPP
=$ac_cv_prog_CXXCPP
12782 ac_cv_prog_CXXCPP
=$CXXCPP
12784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12785 $as_echo "$CXXCPP" >&6; }
12786 ac_preproc_ok
=false
12787 for ac_cxx_preproc_warn_flag
in '' yes
12789 # Use a header file that comes with gcc, so configuring glibc
12790 # with a fresh cross-compiler works.
12791 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12792 # <limits.h> exists even on freestanding compilers.
12793 # On the NeXT, cc -E runs the code through the compiler's parser,
12794 # not just through cpp. "Syntax error" is here to catch this case.
12795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12796 /* end confdefs.h. */
12798 # include <limits.h>
12800 # include <assert.h>
12804 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12807 # Broken: fails on valid input.
12810 rm -f conftest.err conftest.i conftest.
$ac_ext
12812 # OK, works on sane cases. Now check whether nonexistent headers
12813 # can be detected and how.
12814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12815 /* end confdefs.h. */
12816 #include <ac_nonexistent.h>
12818 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12819 # Broken: success on invalid input.
12822 # Passes both tests.
12826 rm -f conftest.err conftest.i conftest.
$ac_ext
12829 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12830 rm -f conftest.i conftest.err conftest.
$ac_ext
12831 if $ac_preproc_ok; then :
12834 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12835 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12836 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
12837 See \`config.log' for more details" "$LINENO" 5; }
12841 ac_cpp
='$CPP $CPPFLAGS'
12842 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12843 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12844 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12847 _lt_caught_CXX_error
=yes
12851 ac_cpp
='$CXXCPP $CPPFLAGS'
12852 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12853 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12854 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12856 archive_cmds_need_lc_CXX
=no
12857 allow_undefined_flag_CXX
=
12858 always_export_symbols_CXX
=no
12859 archive_expsym_cmds_CXX
=
12860 compiler_needs_object_CXX
=no
12861 export_dynamic_flag_spec_CXX
=
12862 hardcode_direct_CXX
=no
12863 hardcode_direct_absolute_CXX
=no
12864 hardcode_libdir_flag_spec_CXX
=
12865 hardcode_libdir_separator_CXX
=
12866 hardcode_minus_L_CXX
=no
12867 hardcode_shlibpath_var_CXX
=unsupported
12868 hardcode_automatic_CXX
=no
12869 inherit_rpath_CXX
=no
12871 module_expsym_cmds_CXX
=
12872 link_all_deplibs_CXX
=unknown
12873 old_archive_cmds_CXX
=$old_archive_cmds
12874 reload_flag_CXX
=$reload_flag
12875 reload_cmds_CXX
=$reload_cmds
12876 no_undefined_flag_CXX
=
12877 whole_archive_flag_spec_CXX
=
12878 enable_shared_with_static_runtimes_CXX
=no
12880 # Source file extension for C++ test sources.
12883 # Object file extension for compiled C++ test sources.
12887 # No sense in running all these tests if we already determined that
12888 # the CXX compiler isn't working. Some variables (like enable_shared)
12889 # are currently assumed to apply to all compilers on this platform,
12890 # and will be corrupted by setting them based on a non-working compiler.
12891 if test "$_lt_caught_CXX_error" != yes; then
12892 # Code to be used in simple compile tests
12893 lt_simple_compile_test_code
="int some_variable = 0;"
12895 # Code to be used in simple link tests
12896 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12898 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12905 # If no C compiler was specified, use CC.
12908 # If no C compiler flags were specified, use CFLAGS.
12909 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12911 # Allow CC to be a program name with arguments.
12915 # save warnings/boilerplate of simple test code
12916 ac_outfile
=conftest.
$ac_objext
12917 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12918 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
12919 _lt_compiler_boilerplate
=`cat conftest.err`
12922 ac_outfile
=conftest.
$ac_objext
12923 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12924 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
12925 _lt_linker_boilerplate
=`cat conftest.err`
12929 # Allow CC to be a program name with arguments.
12931 lt_save_CFLAGS
=$CFLAGS
12935 lt_save_with_gnu_ld
=$with_gnu_ld
12936 lt_save_path_LD
=$lt_cv_path_LD
12937 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12938 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12940 $as_unset lt_cv_prog_gnu_ld
12942 if test -n "${lt_cv_path_LDCXX+set}"; then
12943 lt_cv_path_LD
=$lt_cv_path_LDCXX
12945 $as_unset lt_cv_path_LD
12947 test -z "${LDCXX+set}" || LD
=$LDCXX
12952 for cc_temp
in $compiler""; do
12954 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
12955 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
12960 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12963 if test -n "$compiler"; then
12964 # We don't want -fno-exception when compiling C++ code, so set the
12965 # no_builtin_flag separately
12966 if test "$GXX" = yes; then
12967 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12969 lt_prog_compiler_no_builtin_flag_CXX
=
12972 if test "$GXX" = yes; then
12973 # Set up default GNU C++ configuration
12977 # Check whether --with-gnu-ld was given.
12978 if test "${with_gnu_ld+set}" = set; then :
12979 withval
=$with_gnu_ld; test "$withval" = no
|| with_gnu_ld
=yes
12985 if test "$GCC" = yes; then
12986 # Check if gcc -print-prog-name=ld gives a path.
12987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12988 $as_echo_n "checking for ld used by $CC... " >&6; }
12991 # gcc leaves a trailing carriage return which upsets mingw
12992 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12994 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12997 # Accept absolute paths.
12999 re_direlt
='/[^/][^/]*/\.\./'
13000 # Canonicalize the pathname of ld
13001 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13002 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
13003 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13005 test -z "$LD" && LD
="$ac_prog"
13008 # If it fails, then pretend we aren't using GCC.
13012 # If it is relative, then search for the first ld in PATH.
13013 with_gnu_ld
=unknown
13016 elif test "$with_gnu_ld" = yes; then
13017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13018 $as_echo_n "checking for GNU ld... " >&6; }
13020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13021 $as_echo_n "checking for non-GNU ld... " >&6; }
13023 if ${lt_cv_path_LD+:} false
; then :
13024 $as_echo_n "(cached) " >&6
13026 if test -z "$LD"; then
13027 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
13028 for ac_dir
in $PATH; do
13030 test -z "$ac_dir" && ac_dir
=.
13031 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13032 lt_cv_path_LD
="$ac_dir/$ac_prog"
13033 # Check to see if the program is GNU ld. I'd rather use --version,
13034 # but apparently some variants of GNU ld only accept -v.
13035 # Break only if it was the GNU/non-GNU ld that we prefer.
13036 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13037 *GNU
* | *'with BFD'*)
13038 test "$with_gnu_ld" != no
&& break
13041 test "$with_gnu_ld" != yes && break
13048 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
13052 LD
="$lt_cv_path_LD"
13053 if test -n "$LD"; then
13054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13055 $as_echo "$LD" >&6; }
13057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13058 $as_echo "no" >&6; }
13060 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
13061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13062 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13063 if ${lt_cv_prog_gnu_ld+:} false
; then :
13064 $as_echo_n "(cached) " >&6
13066 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13067 case `$LD -v 2>&1 </dev/null` in
13068 *GNU
* | *'with BFD'*)
13069 lt_cv_prog_gnu_ld
=yes
13072 lt_cv_prog_gnu_ld
=no
13076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13077 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13078 with_gnu_ld
=$lt_cv_prog_gnu_ld
13086 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13087 # archiving commands below assume that GNU ld is being used.
13088 if test "$with_gnu_ld" = yes; then
13089 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13090 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'
13092 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13093 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13095 # If archive_cmds runs LD, not CC, wlarc should be empty
13096 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13097 # investigate it a little bit more. (MM)
13100 # ancient GNU ld didn't support --whole-archive et. al.
13101 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13102 $GREP 'no-whole-archive' > /dev
/null
; then
13103 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13105 whole_archive_flag_spec_CXX
=
13111 # A generic and very simple default shared library creation
13112 # command for GNU C++ for the case where it uses the native
13113 # linker, instead of GNU ld. If possible, this setting should
13114 # overridden to take advantage of the native linker features on
13115 # the platform it is being used on.
13116 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13119 # Commands to make compiler produce verbose output that lists
13120 # what "hidden" libraries, object files and flags are used when
13121 # linking a shared library.
13122 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13130 # PORTME: fill in a description of your system's C++ link characteristics
13131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13132 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13136 # FIXME: insert proper C++ library support
13140 if test "$host_cpu" = ia64
; then
13141 # On IA64, the linker does run time linking by default, so we don't
13142 # have to do anything special.
13143 aix_use_runtimelinking
=no
13144 exp_sym_flag
='-Bexport'
13147 aix_use_runtimelinking
=no
13149 # Test if we are trying to use run time linking or normal
13150 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13151 # need to do runtime linking.
13152 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13153 for ld_flag
in $LDFLAGS; do
13156 aix_use_runtimelinking
=yes
13164 exp_sym_flag
='-bexport'
13165 no_entry_flag
='-bnoentry'
13168 # When large executables or shared objects are built, AIX ld can
13169 # have problems creating the table of contents. If linking a library
13170 # or program results in "error TOC overflow" add -mminimal-toc to
13171 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13172 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13174 archive_cmds_CXX
=''
13175 hardcode_direct_CXX
=yes
13176 hardcode_direct_absolute_CXX
=yes
13177 hardcode_libdir_separator_CXX
=':'
13178 link_all_deplibs_CXX
=yes
13179 file_list_spec_CXX
='${wl}-f,'
13181 if test "$GXX" = yes; then
13182 case $host_os in aix4.
[012]|aix4.
[012].
*)
13183 # We only want to do this on AIX 4.2 and lower, the check
13184 # below for broken collect2 doesn't work under 4.3+
13185 collect2name
=`${CC} -print-prog-name=collect2`
13186 if test -f "$collect2name" &&
13187 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
13189 # We have reworked collect2
13192 # We have old collect2
13193 hardcode_direct_CXX
=unsupported
13194 # It fails to find uninstalled libraries when the uninstalled
13195 # path is not listed in the libpath. Setting hardcode_minus_L
13196 # to unsupported forces relinking
13197 hardcode_minus_L_CXX
=yes
13198 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13199 hardcode_libdir_separator_CXX
=
13202 shared_flag
='-shared'
13203 if test "$aix_use_runtimelinking" = yes; then
13204 shared_flag
="$shared_flag "'${wl}-G'
13208 if test "$host_cpu" = ia64
; then
13209 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13210 # chokes on -Wl,-G. The following line is correct:
13213 if test "$aix_use_runtimelinking" = yes; then
13214 shared_flag
='${wl}-G'
13216 shared_flag
='${wl}-bM:SRE'
13221 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
13222 # It seems that -bexpall does not export symbols beginning with
13223 # underscore (_), so it is better to generate a list of symbols to
13225 always_export_symbols_CXX
=yes
13226 if test "$aix_use_runtimelinking" = yes; then
13227 # Warning - without using the other runtime loading flags (-brtl),
13228 # -berok will link without error, but may produce a broken library.
13229 allow_undefined_flag_CXX
='-berok'
13230 # Determine the default libpath from the value encoded in an empty
13232 if test "${lt_cv_aix_libpath+set}" = set; then
13233 aix_libpath
=$lt_cv_aix_libpath
13235 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13236 $as_echo_n "(cached) " >&6
13238 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13239 /* end confdefs.h. */
13249 if ac_fn_cxx_try_link
"$LINENO"; then :
13251 lt_aix_libpath_sed
='
13252 /Import File Strings/,/^$/ {
13254 s/^0 *\([^ ]*\) *$/\1/
13258 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13259 # Check for a 64-bit object if we didn't find anything.
13260 if test -z "$lt_cv_aix_libpath__CXX"; then
13261 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13264 rm -f core conftest.err conftest.
$ac_objext \
13265 conftest
$ac_exeext conftest.
$ac_ext
13266 if test -z "$lt_cv_aix_libpath__CXX"; then
13267 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
13272 aix_libpath
=$lt_cv_aix_libpath__CXX
13275 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13277 archive_expsym_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13279 if test "$host_cpu" = ia64
; then
13280 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
13281 allow_undefined_flag_CXX
="-z nodefs"
13282 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"
13284 # Determine the default libpath from the value encoded in an
13285 # empty executable.
13286 if test "${lt_cv_aix_libpath+set}" = set; then
13287 aix_libpath
=$lt_cv_aix_libpath
13289 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13290 $as_echo_n "(cached) " >&6
13292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13293 /* end confdefs.h. */
13303 if ac_fn_cxx_try_link
"$LINENO"; then :
13305 lt_aix_libpath_sed
='
13306 /Import File Strings/,/^$/ {
13308 s/^0 *\([^ ]*\) *$/\1/
13312 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13313 # Check for a 64-bit object if we didn't find anything.
13314 if test -z "$lt_cv_aix_libpath__CXX"; then
13315 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13318 rm -f core conftest.err conftest.
$ac_objext \
13319 conftest
$ac_exeext conftest.
$ac_ext
13320 if test -z "$lt_cv_aix_libpath__CXX"; then
13321 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
13326 aix_libpath
=$lt_cv_aix_libpath__CXX
13329 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13330 # Warning - without using the other run time loading flags,
13331 # -berok will link without error, but may produce a broken library.
13332 no_undefined_flag_CXX
=' ${wl}-bernotok'
13333 allow_undefined_flag_CXX
=' ${wl}-berok'
13334 if test "$with_gnu_ld" = yes; then
13335 # We only use this code for GNU lds that support --whole-archive.
13336 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13338 # Exported symbols can be pulled into shared objects from archives
13339 whole_archive_flag_spec_CXX
='$convenience'
13341 archive_cmds_need_lc_CXX
=yes
13342 # This is similar to how AIX traditionally builds its shared
13344 archive_expsym_cmds_CXX
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
13350 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
13351 allow_undefined_flag_CXX
=unsupported
13352 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13353 # support --undefined. This deserves some investigation. FIXME
13354 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13361 case $cc_basename in
13363 # FIXME: insert proper C++ library support
13369 cygwin
* | mingw
* | pw32
* | cegcc
*)
13370 case $GXX,$cc_basename in
13373 # hardcode_libdir_flag_spec is actually meaningless, as there is
13374 # no search path for DLLs.
13375 hardcode_libdir_flag_spec_CXX
=' '
13376 allow_undefined_flag_CXX
=unsupported
13377 always_export_symbols_CXX
=yes
13378 file_list_spec_CXX
='@'
13379 # Tell ltmain to make .lib files, not .a files.
13381 # Tell ltmain to make .dll files, not .so files.
13383 # FIXME: Setting linknames here is a bad hack.
13384 archive_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13385 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13386 $SED -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
13388 $SED -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
13390 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13392 # The linker will not automatically build a static lib if we build a DLL.
13393 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13394 enable_shared_with_static_runtimes_CXX
=yes
13396 old_postinstall_cmds_CXX
='chmod 644 $oldlib'
13397 postlink_cmds_CXX
='lt_outputfile="@OUTPUT@"~
13398 lt_tool_outputfile="@TOOL_OUTPUT@"~
13399 case $lt_outputfile in
13402 lt_outputfile="$lt_outputfile.exe"
13403 lt_tool_outputfile="$lt_tool_outputfile.exe"
13406 func_to_tool_file "$lt_outputfile"~
13407 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13408 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13409 $RM "$lt_outputfile.manifest";
13414 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13415 # as there is no search path for DLLs.
13416 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13417 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
13418 allow_undefined_flag_CXX
=unsupported
13419 always_export_symbols_CXX
=no
13420 enable_shared_with_static_runtimes_CXX
=yes
13422 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
13423 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'
13424 # If the export-symbols file already is a .def file (1st line
13425 # is EXPORTS), use it as is; otherwise, prepend...
13426 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13427 cp $export_symbols $output_objdir/$soname.def;
13429 echo EXPORTS > $output_objdir/$soname.def;
13430 cat $export_symbols >> $output_objdir/$soname.def;
13432 $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'
13439 darwin
* | rhapsody
*)
13442 archive_cmds_need_lc_CXX
=no
13443 hardcode_direct_CXX
=no
13444 hardcode_automatic_CXX
=yes
13445 hardcode_shlibpath_var_CXX
=unsupported
13446 if test "$lt_cv_ld_force_load" = "yes"; then
13447 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\"`'
13450 whole_archive_flag_spec_CXX
=''
13452 link_all_deplibs_CXX
=yes
13453 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13454 case $cc_basename in
13455 ifort
*) _lt_dar_can_shared
=yes ;;
13456 *) _lt_dar_can_shared
=$GCC ;;
13458 if test "$_lt_dar_can_shared" = "yes"; then
13459 output_verbose_link_cmd
=func_echo_all
13460 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}"
13461 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13462 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}"
13463 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}"
13464 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13465 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}"
13466 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}"
13476 case $cc_basename in
13478 # FIXME: insert proper C++ library support
13482 # Green Hills C++ Compiler
13483 # FIXME: insert proper C++ library support
13487 # FIXME: insert proper C++ library support
13494 # C++ shared libraries reported to be fairly broken before
13500 archive_cmds_need_lc_CXX
=no
13503 freebsd
* | dragonfly
*)
13504 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13513 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13514 link_all_deplibs_CXX
=yes
13518 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13519 hardcode_libdir_separator_CXX
=:
13520 export_dynamic_flag_spec_CXX
='${wl}-E'
13521 hardcode_direct_CXX
=yes
13522 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13523 # but as the default
13524 # location of the library.
13526 case $cc_basename in
13528 # FIXME: insert proper C++ library support
13532 archive_cmds_CXX
='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13533 # Commands to make compiler produce verbose output that lists
13534 # what "hidden" libraries, object files and flags are used when
13535 # linking a shared library.
13537 # There doesn't appear to be a way to prevent this compiler from
13538 # explicitly linking system object files so we need to strip them
13539 # from the output so that they don't get included in the library
13541 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"'
13544 if test "$GXX" = yes; then
13545 archive_cmds_CXX
='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13547 # FIXME: insert proper C++ library support
13555 if test $with_gnu_ld = no
; then
13556 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13557 hardcode_libdir_separator_CXX
=:
13563 export_dynamic_flag_spec_CXX
='${wl}-E'
13569 hardcode_direct_CXX
=no
13570 hardcode_shlibpath_var_CXX
=no
13573 hardcode_direct_CXX
=yes
13574 hardcode_direct_absolute_CXX
=yes
13575 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13576 # but as the default
13577 # location of the library.
13581 case $cc_basename in
13583 # FIXME: insert proper C++ library support
13589 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13592 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13595 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13598 # Commands to make compiler produce verbose output that lists
13599 # what "hidden" libraries, object files and flags are used when
13600 # linking a shared library.
13602 # There doesn't appear to be a way to prevent this compiler from
13603 # explicitly linking system object files so we need to strip them
13604 # from the output so that they don't get included in the library
13606 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"'
13609 if test "$GXX" = yes; then
13610 if test $with_gnu_ld = no
; then
13613 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13616 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13619 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'
13624 # FIXME: insert proper C++ library support
13632 hardcode_direct_CXX
=no
13633 hardcode_shlibpath_var_CXX
=no
13634 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13635 export_dynamic_flag_spec_CXX
='${wl}-E'
13636 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13637 # Instead, shared libraries are loaded at an image base (0x10000000 by
13638 # default) and relocated if they conflict, which is a slow very memory
13639 # consuming and fragmenting process. To avoid this, we pick a random,
13640 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13641 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13642 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'
13643 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'
13646 case $cc_basename in
13649 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'
13651 # Archives containing C++ object files must be created using
13652 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13653 # necessary to make sure instantiated templates are included
13655 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13658 if test "$GXX" = yes; then
13659 if test "$with_gnu_ld" = no
; then
13660 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'
13662 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'
13665 link_all_deplibs_CXX
=yes
13668 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13669 hardcode_libdir_separator_CXX
=:
13670 inherit_rpath_CXX
=yes
13673 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13674 case $cc_basename in
13676 # Kuck and Associates, Inc. (KAI) C++ Compiler
13678 # KCC will only create a shared library if the output file
13679 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13680 # to its proper name (with version) after linking.
13681 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'
13682 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'
13683 # Commands to make compiler produce verbose output that lists
13684 # what "hidden" libraries, object files and flags are used when
13685 # linking a shared library.
13687 # There doesn't appear to be a way to prevent this compiler from
13688 # explicitly linking system object files so we need to strip them
13689 # from the output so that they don't get included in the library
13691 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"'
13693 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13694 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13696 # Archives containing C++ object files must be created using
13697 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13698 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13703 # version 8.0 and above of icpc choke on multiply defined symbols
13704 # if we add $predep_objects and $postdep_objects, however 7.1 and
13705 # earlier do not add the objects themselves.
13706 case `$CC -V 2>&1` in
13708 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13709 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'
13711 *) # Version 8.0 or newer
13714 ia64
*) tmp_idyn
=' -i_dynamic';;
13716 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13717 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'
13720 archive_cmds_need_lc_CXX
=no
13721 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13722 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13723 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13726 # Portland Group C++ compiler
13728 *pgCC\
[1-5].
* | *pgcpp\
[1-5].
*)
13729 prelink_cmds_CXX
='tpldir=Template.dir~
13731 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13732 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13733 old_archive_cmds_CXX
='tpldir=Template.dir~
13735 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13736 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13738 archive_cmds_CXX
='tpldir=Template.dir~
13740 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13741 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13742 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13744 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13745 $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'
13747 *) # Version 6 and above use weak symbols
13748 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13749 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'
13753 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13754 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13755 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'
13759 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13760 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'
13762 runpath_var
=LD_RUN_PATH
13763 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13764 hardcode_libdir_separator_CXX
=:
13766 # Commands to make compiler produce verbose output that lists
13767 # what "hidden" libraries, object files and flags are used when
13768 # linking a shared library.
13770 # There doesn't appear to be a way to prevent this compiler from
13771 # explicitly linking system object files so we need to strip them
13772 # from the output so that they don't get included in the library
13774 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'
13776 xl
* | mpixl
* | bgxl
*)
13777 # IBM XL 8.0 on PPC, with GNU ld
13778 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13779 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13780 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13781 if test "x$supports_anon_versioning" = xyes
; then
13782 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13783 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13784 echo "local: *; };" >> $output_objdir/$libname.ver~
13785 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13789 case `$CC -V 2>&1 | sed 5q` in
13792 no_undefined_flag_CXX
=' -zdefs'
13793 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13794 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'
13795 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13796 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'
13797 compiler_needs_object_CXX
=yes
13799 # Not sure whether something based on
13800 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13802 output_verbose_link_cmd
='func_echo_all'
13804 # Archives containing C++ object files must be created using
13805 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13806 # necessary to make sure instantiated templates are included
13808 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13816 # FIXME: insert proper C++ library support
13821 # FIXME: insert proper C++ library support
13826 case $cc_basename in
13828 # FIXME: insert proper C++ library support
13832 # FIXME: insert proper C++ library support
13839 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
13840 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13842 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13843 hardcode_direct_CXX
=yes
13844 hardcode_shlibpath_var_CXX
=no
13846 # Workaround some broken pre-1.5 toolchains
13847 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13855 # C++ shared libraries are fairly broken
13860 if test -f /usr
/libexec
/ld.so
; then
13861 hardcode_direct_CXX
=yes
13862 hardcode_shlibpath_var_CXX
=no
13863 hardcode_direct_absolute_CXX
=yes
13864 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13865 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13866 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13867 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13868 export_dynamic_flag_spec_CXX
='${wl}-E'
13869 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13871 output_verbose_link_cmd
=func_echo_all
13877 osf3
* | osf4
* | osf5
*)
13878 case $cc_basename in
13880 # Kuck and Associates, Inc. (KAI) C++ Compiler
13882 # KCC will only create a shared library if the output file
13883 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13884 # to its proper name (with version) after linking.
13885 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'
13887 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13888 hardcode_libdir_separator_CXX
=:
13890 # Archives containing C++ object files must be created using
13891 # the KAI C++ compiler.
13893 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13894 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13898 # Rational C++ 2.4.1
13899 # FIXME: insert proper C++ library support
13905 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13906 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'
13907 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13910 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13911 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'
13912 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13913 echo "-hidden">> $lib.exp~
13914 $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~
13916 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13920 hardcode_libdir_separator_CXX
=:
13922 # Commands to make compiler produce verbose output that lists
13923 # what "hidden" libraries, object files and flags are used when
13924 # linking a shared library.
13926 # There doesn't appear to be a way to prevent this compiler from
13927 # explicitly linking system object files so we need to strip them
13928 # from the output so that they don't get included in the library
13930 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"'
13933 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13934 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13937 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'
13940 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'
13944 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13945 hardcode_libdir_separator_CXX
=:
13947 # Commands to make compiler produce verbose output that lists
13948 # what "hidden" libraries, object files and flags are used when
13949 # linking a shared library.
13950 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13953 # FIXME: insert proper C++ library support
13961 # FIXME: insert proper C++ library support
13966 case $cc_basename in
13969 # FIXME: insert proper C++ library support
13974 # FIXME: insert proper C++ library support
13978 # FIXME: insert proper C++ library support
13985 case $cc_basename in
13987 # Sun C++ 4.2, 5.x and Centerline C++
13988 archive_cmds_need_lc_CXX
=yes
13989 no_undefined_flag_CXX
=' -zdefs'
13990 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13991 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13992 $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'
13994 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13995 hardcode_shlibpath_var_CXX
=no
13997 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13999 # The compiler driver will combine and reorder linker options,
14000 # but understands `-z linker_flag'.
14001 # Supported since Solaris 2.6 (maybe 2.5.1?)
14002 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
14005 link_all_deplibs_CXX
=yes
14007 output_verbose_link_cmd
='func_echo_all'
14009 # Archives containing C++ object files must be created using
14010 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14011 # necessary to make sure instantiated templates are included
14013 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14016 # Green Hills C++ Compiler
14017 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14019 # The C++ compiler must be used to create the archive.
14020 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14023 # GNU C++ compiler with Solaris linker
14024 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14025 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
14026 if $CC --version | $GREP -v '^2\.7' > /dev
/null
; then
14027 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14028 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14029 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14031 # Commands to make compiler produce verbose output that lists
14032 # what "hidden" libraries, object files and flags are used when
14033 # linking a shared library.
14034 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14036 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14038 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14039 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14040 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14042 # Commands to make compiler produce verbose output that lists
14043 # what "hidden" libraries, object files and flags are used when
14044 # linking a shared library.
14045 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14048 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
14050 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14052 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14060 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14061 no_undefined_flag_CXX
='${wl}-z,text'
14062 archive_cmds_need_lc_CXX
=no
14063 hardcode_shlibpath_var_CXX
=no
14064 runpath_var
='LD_RUN_PATH'
14066 case $cc_basename in
14068 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14069 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14072 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14073 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14078 sysv5
* | sco3.2v5
* | sco5v6
*)
14079 # Note: We can NOT use -z defs as we might desire, because we do not
14080 # link with -lc, and that would cause any symbols used from libc to
14081 # always be unresolved, which means just about no library would
14082 # ever link correctly. If we're not using GNU ld we use -z text
14083 # though, which does catch some bad symbols but isn't as heavy-handed
14085 no_undefined_flag_CXX
='${wl}-z,text'
14086 allow_undefined_flag_CXX
='${wl}-z,nodefs'
14087 archive_cmds_need_lc_CXX
=no
14088 hardcode_shlibpath_var_CXX
=no
14089 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
14090 hardcode_libdir_separator_CXX
=':'
14091 link_all_deplibs_CXX
=yes
14092 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
14093 runpath_var
='LD_RUN_PATH'
14095 case $cc_basename in
14097 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14098 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14099 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
14100 '"$old_archive_cmds_CXX"
14101 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
14102 '"$reload_cmds_CXX"
14105 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14106 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14112 case $cc_basename in
14114 # NonStop-UX NCC 3.20
14115 # FIXME: insert proper C++ library support
14119 # FIXME: insert proper C++ library support
14126 # FIXME: insert proper C++ library support
14131 # FIXME: insert proper C++ library support
14136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14137 $as_echo "$ld_shlibs_CXX" >&6; }
14138 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14144 ## There is no encapsulation within the following macros, do not change
14145 ## the running order or otherwise move them around unless you know exactly
14146 ## what you are doing...
14147 # Dependencies to place before and after the object being linked:
14148 predep_objects_CXX
=
14149 postdep_objects_CXX
=
14152 compiler_lib_search_path_CXX
=
14154 cat > conftest.
$ac_ext <<_LT_EOF
14158 Foo (void) { a = 0; }
14165 _lt_libdeps_save_CFLAGS
=$CFLAGS
14166 case "$CC $CFLAGS " in #(
14167 *\
-flto*\
*) CFLAGS
="$CFLAGS -fno-lto" ;;
14168 *\
-fwhopr*\
*) CFLAGS
="$CFLAGS -fno-whopr" ;;
14169 *\
-fuse-linker-plugin*\
*) CFLAGS
="$CFLAGS -fno-use-linker-plugin" ;;
14172 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14173 (eval $ac_compile) 2>&5
14175 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14176 test $ac_status = 0; }; then
14177 # Parse the compiler output and extract the necessary
14178 # objects, libraries and library flags.
14180 # Sentinel used to keep track of whether or not we are before
14181 # the conftest object file.
14182 pre_test_object_deps_done
=no
14184 for p
in `eval "$output_verbose_link_cmd"`; do
14185 case ${prev}${p} in
14188 # Some compilers place space between "-{L,R}" and the path.
14189 # Remove the space.
14190 if test $p = "-L" ||
14191 test $p = "-R"; then
14196 # Expand the sysroot to ease extracting the directories later.
14197 if test -z "$prev"; then
14199 -L*) func_stripname_cnf
'-L' '' "$p"; prev
=-L; p
=$func_stripname_result ;;
14200 -R*) func_stripname_cnf
'-R' '' "$p"; prev
=-R; p
=$func_stripname_result ;;
14201 -l*) func_stripname_cnf
'-l' '' "$p"; prev
=-l; p
=$func_stripname_result ;;
14205 =*) func_stripname_cnf
'=' '' "$p"; p
=$lt_sysroot$func_stripname_result ;;
14207 if test "$pre_test_object_deps_done" = no
; then
14210 # Internal compiler library paths should come after those
14211 # provided the user. The postdeps already come after the
14212 # user supplied libs so there is no need to process them.
14213 if test -z "$compiler_lib_search_path_CXX"; then
14214 compiler_lib_search_path_CXX
="${prev}${p}"
14216 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
14219 # The "-l" case would never come before the object being
14220 # linked, so don't bother handling this case.
14223 if test -z "$postdeps_CXX"; then
14224 postdeps_CXX
="${prev}${p}"
14226 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
14232 *.lto.
$objext) ;; # Ignore GCC LTO objects
14234 # This assumes that the test object file only shows up
14235 # once in the compiler output.
14236 if test "$p" = "conftest.$objext"; then
14237 pre_test_object_deps_done
=yes
14241 if test "$pre_test_object_deps_done" = no
; then
14242 if test -z "$predep_objects_CXX"; then
14243 predep_objects_CXX
="$p"
14245 predep_objects_CXX
="$predep_objects_CXX $p"
14248 if test -z "$postdep_objects_CXX"; then
14249 postdep_objects_CXX
="$p"
14251 postdep_objects_CXX
="$postdep_objects_CXX $p"
14256 *) ;; # Ignore the rest.
14264 echo "libtool.m4: error: problem compiling CXX test program"
14267 $RM -f confest.
$objext
14268 CFLAGS
=$_lt_libdeps_save_CFLAGS
14270 # PORTME: override above test on systems where it is broken
14273 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14274 # hack all around it, let's just trust "g++" to DTRT.
14275 predep_objects_CXX
=
14276 postdep_objects_CXX
=
14281 case `$CC -V 2>&1 | sed 5q` in
14285 # The more standards-conforming stlport4 library is
14286 # incompatible with the Cstd library. Avoid specifying
14287 # it if it's in CXXFLAGS. Ignore libCrun as
14288 # -library=stlport4 depends on it.
14289 case " $CXX $CXXFLAGS " in
14290 *" -library=stlport4 "*)
14291 solaris_use_stlport4
=yes
14295 if test "$solaris_use_stlport4" != yes; then
14296 postdeps_CXX
='-library=Cstd -library=Crun'
14303 case $cc_basename in
14305 # The more standards-conforming stlport4 library is
14306 # incompatible with the Cstd library. Avoid specifying
14307 # it if it's in CXXFLAGS. Ignore libCrun as
14308 # -library=stlport4 depends on it.
14309 case " $CXX $CXXFLAGS " in
14310 *" -library=stlport4 "*)
14311 solaris_use_stlport4
=yes
14315 # Adding this requires a known-good setup of shared libraries for
14316 # Sun compiler versions before 5.6, else PIC objects from an old
14317 # archive will be linked into the output, leading to subtle bugs.
14318 if test "$solaris_use_stlport4" != yes; then
14319 postdeps_CXX
='-library=Cstd -library=Crun'
14327 case " $postdeps_CXX " in
14328 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14330 compiler_lib_search_dirs_CXX
=
14331 if test -n "${compiler_lib_search_path_CXX}"; then
14332 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14365 lt_prog_compiler_wl_CXX
=
14366 lt_prog_compiler_pic_CXX
=
14367 lt_prog_compiler_static_CXX
=
14370 # C++ specific cases for pic, static, wl, etc.
14371 if test "$GXX" = yes; then
14372 lt_prog_compiler_wl_CXX
='-Wl,'
14373 lt_prog_compiler_static_CXX
='-static'
14377 # All AIX code is PIC.
14378 if test "$host_cpu" = ia64
; then
14379 # AIX 5 now supports IA64 processor
14380 lt_prog_compiler_static_CXX
='-Bstatic'
14387 # see comment about AmigaOS4 .so support
14388 lt_prog_compiler_pic_CXX
='-fPIC'
14391 # FIXME: we need at least 68020 code to build shared libraries, but
14392 # adding the `-m68020' flag to GCC prevents building anything better,
14394 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14399 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14400 # PIC is the default for these OSes.
14402 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14403 # This hack is so that the source file can tell whether it is being
14404 # built for inclusion in a dll (and should export symbols for example).
14405 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14406 # (--disable-auto-import) libraries
14407 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14409 darwin
* | rhapsody
*)
14410 # PIC is the default on this platform
14411 # Common symbols not allowed in MH_DYLIB files
14412 lt_prog_compiler_pic_CXX
='-fno-common'
14415 # DJGPP does not support shared libraries at all
14416 lt_prog_compiler_pic_CXX
=
14419 # PIC is the default for Haiku.
14420 # The "-static" flag exists, but is broken.
14421 lt_prog_compiler_static_CXX
=
14424 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14425 # Instead, we relocate shared libraries at runtime.
14428 if test -d /usr
/nec
; then
14429 lt_prog_compiler_pic_CXX
=-Kconform_pic
14433 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14434 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14435 # sets the default TLS model and affects inlining.
14440 lt_prog_compiler_pic_CXX
='-fPIC'
14445 # QNX uses GNU C++, but need to define -shared option too, otherwise
14446 # it will coredump.
14447 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14450 lt_prog_compiler_pic_CXX
='-fPIC'
14456 # All AIX code is PIC.
14457 if test "$host_cpu" = ia64
; then
14458 # AIX 5 now supports IA64 processor
14459 lt_prog_compiler_static_CXX
='-Bstatic'
14461 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14465 case $cc_basename in
14467 # Green Hills C++ Compiler
14468 # _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"
14472 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14473 # This hack is so that the source file can tell whether it is being
14474 # built for inclusion in a dll (and should export symbols for example).
14475 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14478 case $cc_basename in
14480 lt_prog_compiler_pic_CXX
='-KPIC'
14483 # Green Hills C++ Compiler
14484 lt_prog_compiler_pic_CXX
='-pic'
14490 freebsd
* | dragonfly
*)
14491 # FreeBSD uses GNU C++
14493 hpux9
* | hpux10
* | hpux11
*)
14494 case $cc_basename in
14496 lt_prog_compiler_wl_CXX
='-Wl,'
14497 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14498 if test "$host_cpu" != ia64
; then
14499 lt_prog_compiler_pic_CXX
='+Z'
14503 lt_prog_compiler_wl_CXX
='-Wl,'
14504 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14510 lt_prog_compiler_pic_CXX
='+Z'
14519 # This is c89, which is MS Visual C++ (no shared libs)
14520 # Anyone wants to do a port?
14522 irix5
* | irix6
* | nonstopux
*)
14523 case $cc_basename in
14525 lt_prog_compiler_wl_CXX
='-Wl,'
14526 lt_prog_compiler_static_CXX
='-non_shared'
14527 # CC pic flag -KPIC is the default.
14533 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14534 case $cc_basename in
14537 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14538 lt_prog_compiler_pic_CXX
='-fPIC'
14541 # old Intel C++ for x86_64 which still supported -KPIC.
14542 lt_prog_compiler_wl_CXX
='-Wl,'
14543 lt_prog_compiler_pic_CXX
='-KPIC'
14544 lt_prog_compiler_static_CXX
='-static'
14547 # Intel C++, used to be incompatible with GCC.
14548 # ICC 10 doesn't accept -KPIC any more.
14549 lt_prog_compiler_wl_CXX
='-Wl,'
14550 lt_prog_compiler_pic_CXX
='-fPIC'
14551 lt_prog_compiler_static_CXX
='-static'
14554 # Portland Group C++ compiler
14555 lt_prog_compiler_wl_CXX
='-Wl,'
14556 lt_prog_compiler_pic_CXX
='-fpic'
14557 lt_prog_compiler_static_CXX
='-Bstatic'
14561 # Make sure the PIC flag is empty. It appears that all Alpha
14562 # Linux and Compaq Tru64 Unix objects are PIC.
14563 lt_prog_compiler_pic_CXX
=
14564 lt_prog_compiler_static_CXX
='-non_shared'
14566 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14567 # IBM XL 8.0, 9.0 on PPC and BlueGene
14568 lt_prog_compiler_wl_CXX
='-Wl,'
14569 lt_prog_compiler_pic_CXX
='-qpic'
14570 lt_prog_compiler_static_CXX
='-qstaticlink'
14573 case `$CC -V 2>&1 | sed 5q` in
14576 lt_prog_compiler_pic_CXX
='-KPIC'
14577 lt_prog_compiler_static_CXX
='-Bstatic'
14578 lt_prog_compiler_wl_CXX
='-Qoption ld '
14589 case $cc_basename in
14591 lt_prog_compiler_pic_CXX
='-W c,exportall'
14600 # QNX uses GNU C++, but need to define -shared option too, otherwise
14601 # it will coredump.
14602 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14604 osf3
* | osf4
* | osf5
*)
14605 case $cc_basename in
14607 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14610 # Rational C++ 2.4.1
14611 lt_prog_compiler_pic_CXX
='-pic'
14614 # Digital/Compaq C++
14615 lt_prog_compiler_wl_CXX
='-Wl,'
14616 # Make sure the PIC flag is empty. It appears that all Alpha
14617 # Linux and Compaq Tru64 Unix objects are PIC.
14618 lt_prog_compiler_pic_CXX
=
14619 lt_prog_compiler_static_CXX
='-non_shared'
14628 case $cc_basename in
14630 # Sun C++ 4.2, 5.x and Centerline C++
14631 lt_prog_compiler_pic_CXX
='-KPIC'
14632 lt_prog_compiler_static_CXX
='-Bstatic'
14633 lt_prog_compiler_wl_CXX
='-Qoption ld '
14636 # Green Hills C++ Compiler
14637 lt_prog_compiler_pic_CXX
='-PIC'
14644 case $cc_basename in
14647 lt_prog_compiler_pic_CXX
='-pic'
14648 lt_prog_compiler_static_CXX
='-Bstatic'
14652 lt_prog_compiler_pic_CXX
='-pic'
14658 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14659 case $cc_basename in
14661 lt_prog_compiler_wl_CXX
='-Wl,'
14662 lt_prog_compiler_pic_CXX
='-KPIC'
14663 lt_prog_compiler_static_CXX
='-Bstatic'
14668 case $cc_basename in
14670 # NonStop-UX NCC 3.20
14671 lt_prog_compiler_pic_CXX
='-KPIC'
14680 lt_prog_compiler_can_build_shared_CXX
=no
14686 # For platforms which do not support PIC, -DPIC is meaningless:
14688 lt_prog_compiler_pic_CXX
=
14691 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14696 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14697 if ${lt_cv_prog_compiler_pic_CXX+:} false
; then :
14698 $as_echo_n "(cached) " >&6
14700 lt_cv_prog_compiler_pic_CXX
=$lt_prog_compiler_pic_CXX
14702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14703 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14704 lt_prog_compiler_pic_CXX
=$lt_cv_prog_compiler_pic_CXX
14707 # Check to make sure the PIC flag actually works.
14709 if test -n "$lt_prog_compiler_pic_CXX"; then
14710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14711 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14712 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
14713 $as_echo_n "(cached) " >&6
14715 lt_cv_prog_compiler_pic_works_CXX
=no
14716 ac_outfile
=conftest.
$ac_objext
14717 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14718 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14719 # Insert the option either (1) after the last *FLAGS variable, or
14720 # (2) before a word containing "conftest.", or (3) at the end.
14721 # Note that $ac_compile itself does not contain backslashes and begins
14722 # with a dollar sign (not a hyphen), so the echo should work correctly.
14723 # The option is referenced via a variable to avoid confusing sed.
14724 lt_compile
=`echo "$ac_compile" | $SED \
14725 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14726 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14727 -e 's:$: $lt_compiler_flag:'`
14728 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14729 (eval "$lt_compile" 2>conftest.err
)
14731 cat conftest.err
>&5
14732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14733 if (exit $ac_status) && test -s "$ac_outfile"; then
14734 # The compiler can only warn and ignore the option if not recognized
14735 # So say no if there are warnings other than the usual output.
14736 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14737 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14738 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
14739 lt_cv_prog_compiler_pic_works_CXX
=yes
14745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14746 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14748 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14749 case $lt_prog_compiler_pic_CXX in
14751 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14754 lt_prog_compiler_pic_CXX
=
14755 lt_prog_compiler_can_build_shared_CXX
=no
14765 # Check to make sure the static flag actually works.
14767 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14769 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14770 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
14771 $as_echo_n "(cached) " >&6
14773 lt_cv_prog_compiler_static_works_CXX
=no
14774 save_LDFLAGS
="$LDFLAGS"
14775 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14776 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14777 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14778 # The linker can only warn and ignore the option if not recognized
14779 # So say no if there are warnings
14780 if test -s conftest.err
; then
14781 # Append any errors to the config.log.
14782 cat conftest.err
1>&5
14783 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14784 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14785 if diff conftest.exp conftest.er2
>/dev
/null
; then
14786 lt_cv_prog_compiler_static_works_CXX
=yes
14789 lt_cv_prog_compiler_static_works_CXX
=yes
14793 LDFLAGS
="$save_LDFLAGS"
14796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14797 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14799 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14802 lt_prog_compiler_static_CXX
=
14808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14809 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14810 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14811 $as_echo_n "(cached) " >&6
14813 lt_cv_prog_compiler_c_o_CXX
=no
14814 $RM -r conftest
2>/dev
/null
14818 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14820 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14821 # Insert the option either (1) after the last *FLAGS variable, or
14822 # (2) before a word containing "conftest.", or (3) at the end.
14823 # Note that $ac_compile itself does not contain backslashes and begins
14824 # with a dollar sign (not a hyphen), so the echo should work correctly.
14825 lt_compile
=`echo "$ac_compile" | $SED \
14826 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14827 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14828 -e 's:$: $lt_compiler_flag:'`
14829 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14830 (eval "$lt_compile" 2>out
/conftest.err
)
14832 cat out
/conftest.err
>&5
14833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14834 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14836 # The compiler can only warn and ignore the option if not recognized
14837 # So say no if there are warnings
14838 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
14839 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14840 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14841 lt_cv_prog_compiler_c_o_CXX
=yes
14846 # SGI C++ compiler will create directory out/ii_files/ for
14847 # template instantiation
14848 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14849 $RM out
/* && rmdir out
14855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14856 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14861 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14862 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14863 $as_echo_n "(cached) " >&6
14865 lt_cv_prog_compiler_c_o_CXX
=no
14866 $RM -r conftest
2>/dev
/null
14870 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14872 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14873 # Insert the option either (1) after the last *FLAGS variable, or
14874 # (2) before a word containing "conftest.", or (3) at the end.
14875 # Note that $ac_compile itself does not contain backslashes and begins
14876 # with a dollar sign (not a hyphen), so the echo should work correctly.
14877 lt_compile
=`echo "$ac_compile" | $SED \
14878 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14879 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14880 -e 's:$: $lt_compiler_flag:'`
14881 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14882 (eval "$lt_compile" 2>out
/conftest.err
)
14884 cat out
/conftest.err
>&5
14885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14886 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14888 # The compiler can only warn and ignore the option if not recognized
14889 # So say no if there are warnings
14890 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
14891 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14892 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14893 lt_cv_prog_compiler_c_o_CXX
=yes
14898 # SGI C++ compiler will create directory out/ii_files/ for
14899 # template instantiation
14900 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14901 $RM out
/* && rmdir out
14907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14908 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14913 hard_links
="nottested"
14914 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14915 # do not overwrite the value of need_locks provided by the user
14916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14917 $as_echo_n "checking if we can lock with hard links... " >&6; }
14920 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14922 ln conftest.a conftest.b
2>&5 || hard_links
=no
14923 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14925 $as_echo "$hard_links" >&6; }
14926 if test "$hard_links" = no
; then
14927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14928 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14938 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14940 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14941 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14944 # If we're using GNU nm, then we don't want the "-C" option.
14945 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14946 # Also, AIX nm treats weak defined symbols like other global defined
14947 # symbols, whereas GNU nm marks them as "W".
14948 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
14949 export_symbols_cmds_CXX
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14951 export_symbols_cmds_CXX
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14955 export_symbols_cmds_CXX
="$ltdll_cmds"
14957 cygwin
* | mingw
* | cegcc
*)
14958 case $cc_basename in
14960 exclude_expsyms_CXX
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
14963 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'
14964 exclude_expsyms_CXX
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14969 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14974 $as_echo "$ld_shlibs_CXX" >&6; }
14975 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14977 with_gnu_ld_CXX
=$with_gnu_ld
14985 # Do we need to explicitly link libc?
14987 case "x$archive_cmds_need_lc_CXX" in
14989 # Assume -lc should be added
14990 archive_cmds_need_lc_CXX
=yes
14992 if test "$enable_shared" = yes && test "$GCC" = yes; then
14993 case $archive_cmds_CXX in
14995 # FIXME: we may have to deal with multi-command sequences.
14998 # Test whether the compiler implicitly links with -lc since on some
14999 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15000 # to ld, don't add -lc before -lgcc.
15001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15002 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15003 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
15004 $as_echo_n "(cached) " >&6
15007 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15009 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15010 (eval $ac_compile) 2>&5
15012 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15013 test $ac_status = 0; } 2>conftest.err
; then
15016 libobjs
=conftest.
$ac_objext
15018 wl
=$lt_prog_compiler_wl_CXX
15019 pic_flag
=$lt_prog_compiler_pic_CXX
15025 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
15026 allow_undefined_flag_CXX
=
15027 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15028 (eval $archive_cmds_CXX 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15030 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15031 test $ac_status = 0; }
15033 lt_cv_archive_cmds_need_lc_CXX
=no
15035 lt_cv_archive_cmds_need_lc_CXX
=yes
15037 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
15039 cat conftest.err
1>&5
15044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15045 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15046 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
15114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15115 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15117 library_names_spec
=
15118 libname_spec
='lib$name'
15122 postuninstall_cmds
=
15126 shlibpath_overrides_runpath
=unknown
15128 dynamic_linker
="$host_os ld.so"
15129 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15130 need_lib_prefix
=unknown
15131 hardcode_into_libs
=no
15133 # when you set need_version to no, make sure it does not cause -set_version
15134 # flags to be left without arguments
15135 need_version
=unknown
15139 version_type
=linux
# correct to gnu/linux during the next big refactor
15140 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15141 shlibpath_var
=LIBPATH
15143 # AIX 3 has no versioning support, so we append a major version to the name.
15144 soname_spec
='${libname}${release}${shared_ext}$major'
15148 version_type
=linux
# correct to gnu/linux during the next big refactor
15151 hardcode_into_libs
=yes
15152 if test "$host_cpu" = ia64
; then
15153 # AIX 5 supports IA64
15154 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15155 shlibpath_var
=LD_LIBRARY_PATH
15157 # With GCC up to 2.95.x, collect2 would create an import file
15158 # for dependence libraries. The import file would start with
15159 # the line `#! .'. This would cause the generated library to
15160 # depend on `.', always an invalid library. This was fixed in
15161 # development snapshots of GCC prior to 3.0.
15163 aix4
| aix4.
[01] | aix4.
[01].
*)
15164 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15166 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
15169 can_build_shared
=no
15173 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15174 # soname into executable. Probably we can add versioning support to
15175 # collect2, so additional links can be useful in future.
15176 if test "$aix_use_runtimelinking" = yes; then
15177 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15178 # instead of lib<name>.a to let people know that these are not
15179 # typical AIX shared libraries.
15180 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15182 # We preserve .a as extension for shared libraries through AIX4.2
15183 # and later when we are not doing run time linking.
15184 library_names_spec
='${libname}${release}.a $libname.a'
15185 soname_spec
='${libname}${release}${shared_ext}$major'
15187 shlibpath_var
=LIBPATH
15194 # Since July 2007 AmigaOS4 officially supports .so libraries.
15195 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15196 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15199 library_names_spec
='$libname.ixlibrary $libname.a'
15200 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15201 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
15207 library_names_spec
='${libname}${shared_ext}'
15208 dynamic_linker
="$host_os ld.so"
15209 shlibpath_var
=LIBRARY_PATH
15213 version_type
=linux
# correct to gnu/linux during the next big refactor
15215 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15216 soname_spec
='${libname}${release}${shared_ext}$major'
15217 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15218 shlibpath_var
=LD_LIBRARY_PATH
15219 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15220 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15221 # the default ld.so.conf also contains /usr/contrib/lib and
15222 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15223 # libtool to hard-code these into programs
15226 cygwin
* | mingw
* | pw32
* | cegcc
*)
15227 version_type
=windows
15232 case $GCC,$cc_basename in
15235 library_names_spec
='$libname.dll.a'
15236 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15237 postinstall_cmds
='base_file=`basename \${file}`~
15238 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15239 dldir=$destdir/`dirname \$dlpath`~
15240 test -d \$dldir || mkdir -p \$dldir~
15241 $install_prog $dir/$dlname \$dldir/$dlname~
15242 chmod a+x \$dldir/$dlname~
15243 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15244 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15246 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15247 dlpath=$dir/\$dldll~
15249 shlibpath_overrides_runpath
=yes
15253 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15254 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15258 # MinGW DLLs use traditional 'lib' prefix
15259 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15262 # pw32 DLLs use 'pw' prefix rather than 'lib'
15263 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15266 dynamic_linker
='Win32 ld.exe'
15271 libname_spec
='$name'
15272 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15273 library_names_spec
='${libname}.dll.lib'
15277 sys_lib_search_path_spec
=
15280 for lt_path
in $LIB
15283 # Let DOS variable expansion print the short 8.3 style file name.
15284 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15285 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
15288 # Convert to MSYS style.
15289 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15292 # Convert to unix form, then to dos form, then back to unix form
15293 # but this time dos style (no spaces!) so that the unix form looks
15294 # like /cygdrive/c/PROGRA~1:/cygdr...
15295 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
15296 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15297 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15300 sys_lib_search_path_spec
="$LIB"
15301 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
15302 # It is most probably a Windows format PATH.
15303 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15305 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15307 # FIXME: find the short name or the path components, as spaces are
15308 # common. (e.g. "Program Files" -> "PROGRA~1")
15312 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15313 postinstall_cmds
='base_file=`basename \${file}`~
15314 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15315 dldir=$destdir/`dirname \$dlpath`~
15316 test -d \$dldir || mkdir -p \$dldir~
15317 $install_prog $dir/$dlname \$dldir/$dlname'
15318 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15319 dlpath=$dir/\$dldll~
15321 shlibpath_overrides_runpath
=yes
15322 dynamic_linker
='Win32 link.exe'
15326 # Assume MSVC wrapper
15327 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
15328 dynamic_linker
='Win32 ld.exe'
15331 # FIXME: first we should search . and the directory the executable is in
15335 darwin
* | rhapsody
*)
15336 dynamic_linker
="$host_os dyld"
15337 version_type
=darwin
15340 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15341 soname_spec
='${libname}${release}${major}$shared_ext'
15342 shlibpath_overrides_runpath
=yes
15343 shlibpath_var
=DYLD_LIBRARY_PATH
15344 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15346 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15350 version_type
=linux
# correct to gnu/linux during the next big refactor
15353 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15354 soname_spec
='${libname}${release}${shared_ext}$major'
15355 shlibpath_var
=LD_LIBRARY_PATH
15358 freebsd
* | dragonfly
*)
15359 # DragonFly does not have aout. When/if they implement a new
15360 # versioning mechanism, adjust this.
15361 if test -x /usr
/bin
/objformat
; then
15362 objformat
=`/usr/bin/objformat`
15365 freebsd
[23].
*) objformat
=aout
;;
15366 *) objformat
=elf
;;
15369 version_type
=freebsd
-$objformat
15370 case $version_type in
15372 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15377 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15381 shlibpath_var
=LD_LIBRARY_PATH
15384 shlibpath_overrides_runpath
=yes
15386 freebsd3.
[01]* | freebsdelf3.
[01]*)
15387 shlibpath_overrides_runpath
=yes
15388 hardcode_into_libs
=yes
15390 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15391 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15392 shlibpath_overrides_runpath
=no
15393 hardcode_into_libs
=yes
15395 *) # from 4.6 on, and DragonFly
15396 shlibpath_overrides_runpath
=yes
15397 hardcode_into_libs
=yes
15403 version_type
=linux
# correct to gnu/linux during the next big refactor
15406 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15407 soname_spec
='${libname}${release}${shared_ext}$major'
15408 shlibpath_var
=LD_LIBRARY_PATH
15409 shlibpath_overrides_runpath
=no
15410 hardcode_into_libs
=yes
15414 version_type
=linux
# correct to gnu/linux during the next big refactor
15417 dynamic_linker
="$host_os runtime_loader"
15418 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15419 soname_spec
='${libname}${release}${shared_ext}$major'
15420 shlibpath_var
=LIBRARY_PATH
15421 shlibpath_overrides_runpath
=yes
15422 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15423 hardcode_into_libs
=yes
15426 hpux9
* | hpux10
* | hpux11
*)
15427 # Give a soname corresponding to the major version so that dld.sl refuses to
15428 # link against other versions.
15435 hardcode_into_libs
=yes
15436 dynamic_linker
="$host_os dld.so"
15437 shlibpath_var
=LD_LIBRARY_PATH
15438 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15439 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15440 soname_spec
='${libname}${release}${shared_ext}$major'
15441 if test "X$HPUX_IA64_MODE" = X32
; then
15442 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15444 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15446 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15450 hardcode_into_libs
=yes
15451 dynamic_linker
="$host_os dld.sl"
15452 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15453 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15454 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15455 soname_spec
='${libname}${release}${shared_ext}$major'
15456 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15457 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15461 dynamic_linker
="$host_os dld.sl"
15462 shlibpath_var
=SHLIB_PATH
15463 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15464 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15465 soname_spec
='${libname}${release}${shared_ext}$major'
15468 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15469 postinstall_cmds
='chmod 555 $lib'
15470 # or fails outright, so override atomically:
15471 install_override_mode
=555
15475 version_type
=linux
# correct to gnu/linux during the next big refactor
15478 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15479 soname_spec
='${libname}${release}${shared_ext}$major'
15480 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15481 shlibpath_var
=LD_LIBRARY_PATH
15482 shlibpath_overrides_runpath
=no
15483 hardcode_into_libs
=yes
15486 irix5
* | irix6
* | nonstopux
*)
15488 nonstopux
*) version_type
=nonstopux
;;
15490 if test "$lt_cv_prog_gnu_ld" = yes; then
15491 version_type
=linux
# correct to gnu/linux during the next big refactor
15498 soname_spec
='${libname}${release}${shared_ext}$major'
15499 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15501 irix5
* | nonstopux
*)
15502 libsuff
= shlibsuff
=
15505 case $LD in # libtool.m4 will add one of these switches to LD
15506 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15507 libsuff
= shlibsuff
= libmagic
=32-bit;;
15508 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15509 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15510 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15511 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15512 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
15516 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15517 shlibpath_overrides_runpath
=no
15518 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15519 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15520 hardcode_into_libs
=yes
15523 # No shared lib support for Linux oldld, aout, or coff.
15524 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15528 # This must be glibc/ELF.
15529 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15530 version_type
=linux
# correct to gnu/linux during the next big refactor
15533 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15534 soname_spec
='${libname}${release}${shared_ext}$major'
15535 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15536 shlibpath_var
=LD_LIBRARY_PATH
15537 shlibpath_overrides_runpath
=no
15539 # Some binutils ld are patched to set DT_RUNPATH
15540 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15541 $as_echo_n "(cached) " >&6
15543 lt_cv_shlibpath_overrides_runpath
=no
15544 save_LDFLAGS
=$LDFLAGS
15545 save_libdir
=$libdir
15546 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15547 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15549 /* end confdefs.h. */
15559 if ac_fn_cxx_try_link
"$LINENO"; then :
15560 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
15561 lt_cv_shlibpath_overrides_runpath
=yes
15564 rm -f core conftest.err conftest.
$ac_objext \
15565 conftest
$ac_exeext conftest.
$ac_ext
15566 LDFLAGS
=$save_LDFLAGS
15567 libdir
=$save_libdir
15571 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15573 # This implies no fast_install, which is unacceptable.
15574 # Some rework will be needed to allow for fast_install
15575 # before this can be enabled.
15576 hardcode_into_libs
=yes
15578 # Append ld.so.conf contents to the search path
15579 if test -f /etc
/ld.so.conf
; then
15580 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' ' '`
15581 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15584 # We used to test for /lib/ld.so.1 and disable shared libraries on
15585 # powerpc, because MkLinux only supported shared libraries with the
15586 # GNU dynamic linker. Since this was broken with cross compilers,
15587 # most powerpc-linux boxes support dynamic linking these days and
15588 # people can always --disable-shared, the test was removed, and we
15589 # assume the GNU/Linux dynamic linker is in use.
15590 dynamic_linker
='GNU/Linux ld.so'
15597 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
15598 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15599 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15600 dynamic_linker
='NetBSD (a.out) ld.so'
15602 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15603 soname_spec
='${libname}${release}${shared_ext}$major'
15604 dynamic_linker
='NetBSD ld.elf_so'
15606 shlibpath_var
=LD_LIBRARY_PATH
15607 shlibpath_overrides_runpath
=yes
15608 hardcode_into_libs
=yes
15612 version_type
=linux
# correct to gnu/linux during the next big refactor
15613 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15614 shlibpath_var
=LD_LIBRARY_PATH
15615 shlibpath_overrides_runpath
=yes
15622 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15623 soname_spec
='${libname}${release}${shared_ext}$major'
15624 shlibpath_var
=LD_LIBRARY_PATH
15625 shlibpath_overrides_runpath
=no
15626 hardcode_into_libs
=yes
15627 dynamic_linker
='ldqnx.so'
15632 sys_lib_dlsearch_path_spec
="/usr/lib"
15634 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15636 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
15637 *) need_version
=no
;;
15639 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15640 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15641 shlibpath_var
=LD_LIBRARY_PATH
15642 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15644 openbsd2.
[89] | openbsd2.
[89].
*)
15645 shlibpath_overrides_runpath
=no
15648 shlibpath_overrides_runpath
=yes
15652 shlibpath_overrides_runpath
=yes
15657 libname_spec
='$name'
15660 library_names_spec
='$libname${shared_ext} $libname.a'
15661 dynamic_linker
='OS/2 ld.exe'
15662 shlibpath_var
=LIBPATH
15665 osf3
* | osf4
* | osf5
*)
15669 soname_spec
='${libname}${release}${shared_ext}$major'
15670 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15671 shlibpath_var
=LD_LIBRARY_PATH
15672 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15673 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15681 version_type
=linux
# correct to gnu/linux during the next big refactor
15684 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15685 soname_spec
='${libname}${release}${shared_ext}$major'
15686 shlibpath_var
=LD_LIBRARY_PATH
15687 shlibpath_overrides_runpath
=yes
15688 hardcode_into_libs
=yes
15689 # ldd complains unless libraries are executable
15690 postinstall_cmds
='chmod +x $lib'
15695 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15696 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15697 shlibpath_var
=LD_LIBRARY_PATH
15698 shlibpath_overrides_runpath
=yes
15699 if test "$with_gnu_ld" = yes; then
15706 version_type
=linux
# correct to gnu/linux during the next big refactor
15707 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15708 soname_spec
='${libname}${release}${shared_ext}$major'
15709 shlibpath_var
=LD_LIBRARY_PATH
15710 case $host_vendor in
15712 shlibpath_overrides_runpath
=no
15714 runpath_var
=LD_RUN_PATH
15722 shlibpath_overrides_runpath
=no
15723 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15729 if test -d /usr
/nec
;then
15730 version_type
=linux
# correct to gnu/linux during the next big refactor
15731 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15732 soname_spec
='$libname${shared_ext}.$major'
15733 shlibpath_var
=LD_LIBRARY_PATH
15737 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15738 version_type
=freebsd
-elf
15741 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15742 soname_spec
='${libname}${release}${shared_ext}$major'
15743 shlibpath_var
=LD_LIBRARY_PATH
15744 shlibpath_overrides_runpath
=yes
15745 hardcode_into_libs
=yes
15746 if test "$with_gnu_ld" = yes; then
15747 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15749 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15752 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15756 sys_lib_dlsearch_path_spec
='/usr/lib'
15760 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15761 version_type
=linux
# correct to gnu/linux during the next big refactor
15764 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15765 shlibpath_var
=LD_LIBRARY_PATH
15766 shlibpath_overrides_runpath
=no
15767 hardcode_into_libs
=yes
15771 version_type
=linux
# correct to gnu/linux during the next big refactor
15772 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15773 soname_spec
='${libname}${release}${shared_ext}$major'
15774 shlibpath_var
=LD_LIBRARY_PATH
15781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15782 $as_echo "$dynamic_linker" >&6; }
15783 test "$dynamic_linker" = no
&& can_build_shared
=no
15785 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15786 if test "$GCC" = yes; then
15787 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15790 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15791 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15793 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15794 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15835 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15836 hardcode_action_CXX
=
15837 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15838 test -n "$runpath_var_CXX" ||
15839 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15841 # We can hardcode non-existent directories.
15842 if test "$hardcode_direct_CXX" != no
&&
15843 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15844 # have to relink, otherwise we might link with an installed library
15845 # when we should be linking with a yet-to-be-installed one
15846 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15847 test "$hardcode_minus_L_CXX" != no
; then
15848 # Linking always hardcodes the temporary library directory.
15849 hardcode_action_CXX
=relink
15851 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15852 hardcode_action_CXX
=immediate
15855 # We cannot hardcode anything, or else we can only hardcode existing
15857 hardcode_action_CXX
=unsupported
15859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15860 $as_echo "$hardcode_action_CXX" >&6; }
15862 if test "$hardcode_action_CXX" = relink
||
15863 test "$inherit_rpath_CXX" = yes; then
15864 # Fast installation is not supported
15865 enable_fast_install
=no
15866 elif test "$shlibpath_overrides_runpath" = yes ||
15867 test "$enable_shared" = no
; then
15868 # Fast installation is not necessary
15869 enable_fast_install
=needless
15878 fi # test -n "$compiler"
15881 CFLAGS
=$lt_save_CFLAGS
15885 with_gnu_ld
=$lt_save_with_gnu_ld
15886 lt_cv_path_LDCXX
=$lt_cv_path_LD
15887 lt_cv_path_LD
=$lt_save_path_LD
15888 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15889 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15890 fi # test "$_lt_caught_CXX_error" != yes
15893 ac_cpp
='$CPP $CPPFLAGS'
15894 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15895 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15896 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15912 ac_config_commands
="$ac_config_commands libtool"
15917 # Only expand once:
15922 ac_cpp
='$CXXCPP $CPPFLAGS'
15923 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15924 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15925 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15935 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15936 if test -n "$ac_tool_prefix"; then
15937 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15938 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
15939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15940 $as_echo_n "checking for $ac_word... " >&6; }
15941 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
15942 $as_echo_n "(cached) " >&6
15944 case $PKG_CONFIG in
15946 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
15949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15950 for as_dir
in $PATH
15953 test -z "$as_dir" && as_dir
=.
15954 for ac_exec_ext
in '' $ac_executable_extensions; do
15955 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15956 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
15957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15967 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
15968 if test -n "$PKG_CONFIG"; then
15969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15970 $as_echo "$PKG_CONFIG" >&6; }
15972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15973 $as_echo "no" >&6; }
15978 if test -z "$ac_cv_path_PKG_CONFIG"; then
15979 ac_pt_PKG_CONFIG
=$PKG_CONFIG
15980 # Extract the first word of "pkg-config", so it can be a program name with args.
15981 set dummy pkg
-config; ac_word
=$2
15982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15983 $as_echo_n "checking for $ac_word... " >&6; }
15984 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
15985 $as_echo_n "(cached) " >&6
15987 case $ac_pt_PKG_CONFIG in
15989 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15992 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15993 for as_dir
in $PATH
15996 test -z "$as_dir" && as_dir
=.
15997 for ac_exec_ext
in '' $ac_executable_extensions; do
15998 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15999 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
16000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16010 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
16011 if test -n "$ac_pt_PKG_CONFIG"; then
16012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
16013 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
16015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16016 $as_echo "no" >&6; }
16019 if test "x$ac_pt_PKG_CONFIG" = x
; then
16022 case $cross_compiling:$ac_tool_warned in
16024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16025 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16026 ac_tool_warned
=yes ;;
16028 PKG_CONFIG
=$ac_pt_PKG_CONFIG
16031 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
16035 if test -n "$PKG_CONFIG"; then
16036 _pkg_min_version
=0.22
16037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
16038 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
16039 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
16040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16041 $as_echo "yes" >&6; }
16043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16044 $as_echo "no" >&6; }
16049 # Extract the first word of "git", so it can be a program name with args.
16050 set dummy git
; ac_word
=$2
16051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16052 $as_echo_n "checking for $ac_word... " >&6; }
16053 if ${ac_cv_path_GIT+:} false
; then :
16054 $as_echo_n "(cached) " >&6
16058 ac_cv_path_GIT
="$GIT" # Let the user override the test with a path.
16061 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16062 for as_dir
in $PATH
16065 test -z "$as_dir" && as_dir
=.
16066 for ac_exec_ext
in '' $ac_executable_extensions; do
16067 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16068 ac_cv_path_GIT
="$as_dir/$ac_word$ac_exec_ext"
16069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16079 GIT
=$ac_cv_path_GIT
16080 if test -n "$GIT"; then
16081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIT" >&5
16082 $as_echo "$GIT" >&6; }
16084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16085 $as_echo "no" >&6; }
16089 # Extract the first word of "time", so it can be a program name with args.
16090 set dummy
time; ac_word
=$2
16091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16092 $as_echo_n "checking for $ac_word... " >&6; }
16093 if ${ac_cv_path_TIME+:} false
; then :
16094 $as_echo_n "(cached) " >&6
16098 ac_cv_path_TIME
="$TIME" # Let the user override the test with a path.
16101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16102 for as_dir
in $PATH
16105 test -z "$as_dir" && as_dir
=.
16106 for ac_exec_ext
in '' $ac_executable_extensions; do
16107 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16108 ac_cv_path_TIME
="$as_dir/$ac_word$ac_exec_ext"
16109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16119 TIME
=$ac_cv_path_TIME
16120 if test -n "$TIME"; then
16121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TIME" >&5
16122 $as_echo "$TIME" >&6; }
16124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16125 $as_echo "no" >&6; }
16134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bison >= 2.3" >&5
16135 $as_echo_n "checking for bison >= 2.3... " >&6; }
16136 if test -z "$BISON"; then
16137 ac_path_BISON_found
=false
16138 # Loop through the user's path and test for each of PROGNAME-LIST
16139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16140 for as_dir
in $PATH
16143 test -z "$as_dir" && as_dir
=.
16144 for ac_prog
in bison
; do
16145 for ac_exec_ext
in '' $ac_executable_extensions; do
16146 ac_path_BISON
="$as_dir/$ac_prog$ac_exec_ext"
16147 as_fn_executable_p
"$ac_path_BISON" || continue
16148 version
=`$ac_path_BISON -V | $SED -e '1 s/^bison (GNU Bison) \(.*\)$/\1/p;d'`
16149 if ${version:+false} :; then :
16152 as_awk_strverscmp
='
16153 # Use only awk features that work with 7th edition Unix awk (1978).
16154 # My, what an old awk you have, Mr. Solaris!
16156 while (length(v1) && length(v2)) {
16157 # Set d1 to be the next thing to compare from v1, and likewise for d2.
16158 # Normally this is a single character, but if v1 and v2 contain digits,
16159 # compare them as integers and fractions as strverscmp does.
16160 if (v1 ~ /^0-9/ && v2 ~ /^0-9/) {
16161 # Split v1 and v2 into their leading digit string components d1 and d2,
16162 # and advance v1 and v2 past the leading digit strings.
16163 for (len1 = 1; substr(v1, len1 + 1) ~ /^0-9/; len1++) continue
16164 for (len2 = 1; substr(v2, len2 + 1) ~ /^0-9/; len2++) continue
16165 d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
16166 d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
16169 # Compare two fractions.
16170 while (d1 ~ /^0/ && d2 ~ /^0/) {
16171 d1 = substr(d1, 2); len1--
16172 d2 = substr(d2, 2); len2--
16174 if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
16175 # The two components differ in length, and the common prefix
16176 # contains only leading zeros. Consider the longer to be less.
16180 # Otherwise, compare as strings.
16185 # A fraction is less than an integer.
16190 # An integer is greater than a fraction.
16193 # Compare two integers.
16199 # The normal case, without worrying about digits.
16200 d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
16201 d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
16203 if (d1 < d2) exit 1
16204 if (d1 > d2) exit 2
16206 # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
16207 # which mishandles some comparisons of empty strings to integers.
16208 if (length(v2)) exit 1
16209 if (length(v1)) exit 2
16214 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16219 ac_cv_path_BISON
=$ac_path_BISON ;; #(
16221 ac_cv_path_BISON
=$ac_path_BISON ;; #(
16227 $ac_path_BISON_found && break 3
16232 if test -z "$ac_cv_path_BISON"; then
16233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16234 $as_echo "no" >&6; }
16237 ac_cv_path_BISON
=$BISON
16243 BISON
=$ac_cv_path_BISON
16245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
16246 $as_echo "$BISON" >&6; }
16251 as_fn_error $?
"You need bison 2.3 or greater" "$LINENO" 5
16257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16258 $as_echo "no" >&6; }
16266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flex >= 2.5.33" >&5
16267 $as_echo_n "checking for flex >= 2.5.33... " >&6; }
16268 if test -z "$FLEX"; then
16269 ac_path_FLEX_found
=false
16270 # Loop through the user's path and test for each of PROGNAME-LIST
16271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16272 for as_dir
in $PATH
16275 test -z "$as_dir" && as_dir
=.
16276 for ac_prog
in flex
; do
16277 for ac_exec_ext
in '' $ac_executable_extensions; do
16278 ac_path_FLEX
="$as_dir/$ac_prog$ac_exec_ext"
16279 as_fn_executable_p
"$ac_path_FLEX" || continue
16280 version
=`$ac_path_FLEX --version | $SED -e '1 s/^[^0-9.]* \([0-9.]*\).*$/\1/p;d'`
16281 if ${version:+false} :; then :
16286 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16291 ac_cv_path_FLEX
=$ac_path_FLEX ;; #(
16293 ac_cv_path_FLEX
=$ac_path_FLEX ;; #(
16299 $ac_path_FLEX_found && break 3
16304 if test -z "$ac_cv_path_FLEX"; then
16305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16306 $as_echo "no" >&6; }
16309 ac_cv_path_FLEX
=$FLEX
16315 FLEX
=$ac_cv_path_FLEX
16317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
16318 $as_echo "$FLEX" >&6; }
16323 as_fn_error $?
"You need flex 2.5.33 or greater" "$LINENO" 5
16329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16330 $as_echo "no" >&6; }
16338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gperf >= 3.0.3" >&5
16339 $as_echo_n "checking for gperf >= 3.0.3... " >&6; }
16340 if test -z "$GPERF"; then
16341 ac_path_GPERF_found
=false
16342 # Loop through the user's path and test for each of PROGNAME-LIST
16343 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16344 for as_dir
in $PATH
16347 test -z "$as_dir" && as_dir
=.
16348 for ac_prog
in gperf
; do
16349 for ac_exec_ext
in '' $ac_executable_extensions; do
16350 ac_path_GPERF
="$as_dir/$ac_prog$ac_exec_ext"
16351 as_fn_executable_p
"$ac_path_GPERF" || continue
16352 version
=`$ac_path_GPERF --version | $SED -e '1 s/^.* \([0-9.]*\)$/\1/p;d'`
16353 if ${version:+false} :; then :
16358 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16363 ac_cv_path_GPERF
=$ac_path_GPERF ;; #(
16365 ac_cv_path_GPERF
=$ac_path_GPERF ;; #(
16371 $ac_path_GPERF_found && break 3
16376 if test -z "$ac_cv_path_GPERF"; then
16377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16378 $as_echo "no" >&6; }
16381 ac_cv_path_GPERF
=$GPERF
16387 GPERF
=$ac_cv_path_GPERF
16389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
16390 $as_echo "$GPERF" >&6; }
16395 as_fn_error $?
"You need gperf 3.0.3 or greater" "$LINENO" 5
16401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16402 $as_echo "no" >&6; }
16410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tar gtar gnutar >= 1.19" >&5
16411 $as_echo_n "checking for tar gtar gnutar >= 1.19... " >&6; }
16412 if test -z "$GNUTAR"; then
16413 ac_path_GNUTAR_found
=false
16414 # Loop through the user's path and test for each of PROGNAME-LIST
16415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16416 for as_dir
in $PATH
16419 test -z "$as_dir" && as_dir
=.
16420 for ac_prog
in tar gtar gnutar
; do
16421 for ac_exec_ext
in '' $ac_executable_extensions; do
16422 ac_path_GNUTAR
="$as_dir/$ac_prog$ac_exec_ext"
16423 as_fn_executable_p
"$ac_path_GNUTAR" || continue
16424 version
=`$ac_path_GNUTAR --version | $SED -e '1 s/^tar (GNU tar) \(.*\)$/\1/p;d'`
16425 if ${version:+false} :; then :
16430 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16435 ac_cv_path_GNUTAR
=$ac_path_GNUTAR ;; #(
16437 ac_cv_path_GNUTAR
=$ac_path_GNUTAR ;; #(
16443 $ac_path_GNUTAR_found && break 3
16448 if test -z "$ac_cv_path_GNUTAR"; then
16449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16450 $as_echo "no" >&6; }
16453 ac_cv_path_GNUTAR
=$GNUTAR
16459 GNUTAR
=$ac_cv_path_GNUTAR
16461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUTAR" >&5
16462 $as_echo "$GNUTAR" >&6; }
16467 as_fn_error $?
"You need tar gtar gnutar 1.19 or greater" "$LINENO" 5
16473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16474 $as_echo "no" >&6; }
16480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking bison for %code{}" >&5
16481 $as_echo_n "checking bison for %code{}... " >&6; }
16482 echo '%code{}%%_:' >conftest.y
16483 if $BISON conftest.y
-o/dev
/null
2>/dev
/null
; then
16485 for element
in Bison24
; do
16487 for x
in $CY_FILTERS; do
16489 acl_save_prefix
="$prefix"
16490 prefix
="$acl_final_prefix"
16491 acl_save_exec_prefix
="$exec_prefix"
16492 exec_prefix
="$acl_final_exec_prefix"
16494 exec_prefix
="$acl_save_exec_prefix"
16495 prefix
="$acl_save_prefix"
16497 if test "X$x" = "X$element"; then
16502 if test -z "$haveit"; then
16503 CY_FILTERS
="${CY_FILTERS}${CY_FILTERS:+ }$element"
16507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16508 $as_echo "yes" >&6; }
16511 for element
in Bison23
; do
16513 for x
in $CY_FILTERS; do
16515 acl_save_prefix
="$prefix"
16516 prefix
="$acl_final_prefix"
16517 acl_save_exec_prefix
="$exec_prefix"
16518 exec_prefix
="$acl_final_exec_prefix"
16520 exec_prefix
="$acl_save_exec_prefix"
16521 prefix
="$acl_save_prefix"
16523 if test "X$x" = "X$element"; then
16528 if test -z "$haveit"; then
16529 CY_FILTERS
="${CY_FILTERS}${CY_FILTERS:+ }$element"
16533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16534 $as_echo "no" >&6; }
16548 if ${CFLAGS+:} false
; then :
16549 case " $CFLAGS " in
16551 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains "; } >&5
16552 (: CFLAGS already contains
) 2>&5
16554 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16555 test $ac_status = 0; }
16558 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \""; } >&5
16559 (: CFLAGS
="$CFLAGS ") 2>&5
16561 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16562 test $ac_status = 0; }
16571 ac_cpp
='$CPP $CPPFLAGS'
16572 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16573 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16574 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for maximum warnings" >&5
16577 $as_echo_n "checking CFLAGS for maximum warnings... " >&6; }
16578 if ${ac_cv_cflags_warn_all+:} false
; then :
16579 $as_echo_n "(cached) " >&6
16581 ac_cv_cflags_warn_all
="no, unknown"
16582 ac_save_CFLAGS
="$CFLAGS"
16583 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" #
16584 do CFLAGS
="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
16585 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16586 /* end confdefs.h. */
16596 if ac_fn_c_try_compile
"$LINENO"; then :
16597 ac_cv_cflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
16599 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16601 CFLAGS
="$ac_save_CFLAGS"
16604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_warn_all" >&5
16605 $as_echo "$ac_cv_cflags_warn_all" >&6; }
16607 case ".$ac_cv_cflags_warn_all" in
16610 *) if ${CFLAGS+:} false
; then :
16611 case " $CFLAGS " in
16612 *" $ac_cv_cflags_warn_all "*)
16613 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$ac_cv_cflags_warn_all"; } >&5
16614 (: CFLAGS already contains
$ac_cv_cflags_warn_all) 2>&5
16616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16617 test $ac_status = 0; }
16620 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_warn_all\""; } >&5
16621 (: CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all") 2>&5
16623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16624 test $ac_status = 0; }
16625 CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all"
16629 CFLAGS
="$ac_cv_cflags_warn_all"
16635 ac_cpp
='$CXXCPP $CPPFLAGS'
16636 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16637 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16638 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16642 ac_cpp
='$CXXCPP $CPPFLAGS'
16643 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16644 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16645 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for maximum warnings" >&5
16648 $as_echo_n "checking CXXFLAGS for maximum warnings... " >&6; }
16649 if ${ac_cv_cxxflags_warn_all+:} false
; then :
16650 $as_echo_n "(cached) " >&6
16652 ac_cv_cxxflags_warn_all
="no, unknown"
16653 ac_save_CXXFLAGS
="$CXXFLAGS"
16654 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" #
16655 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
16656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16657 /* end confdefs.h. */
16667 if ac_fn_cxx_try_compile
"$LINENO"; then :
16668 ac_cv_cxxflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
16670 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16672 CXXFLAGS
="$ac_save_CXXFLAGS"
16675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_warn_all" >&5
16676 $as_echo "$ac_cv_cxxflags_warn_all" >&6; }
16678 case ".$ac_cv_cxxflags_warn_all" in
16681 *) if ${CXXFLAGS+:} false
; then :
16682 case " $CXXFLAGS " in
16683 *" $ac_cv_cxxflags_warn_all "*)
16684 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$ac_cv_cxxflags_warn_all"; } >&5
16685 (: CXXFLAGS already contains
$ac_cv_cxxflags_warn_all) 2>&5
16687 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16688 test $ac_status = 0; }
16691 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$ac_cv_cxxflags_warn_all\""; } >&5
16692 (: CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all") 2>&5
16694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16695 test $ac_status = 0; }
16696 CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all"
16700 CXXFLAGS
="$ac_cv_cxxflags_warn_all"
16706 ac_cpp
='$CXXCPP $CPPFLAGS'
16707 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16708 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16709 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for maximum warnings" >&5
16713 $as_echo_n "checking CXXFLAGS for maximum warnings... " >&6; }
16714 if ${ac_cv_cxxflags_warn_all+:} false
; then :
16715 $as_echo_n "(cached) " >&6
16717 ac_cv_cxxflags_warn_all
="no, unknown"
16718 ac_save_CXXFLAGS
="$CXXFLAGS"
16719 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" #
16720 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
16721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16722 /* end confdefs.h. */
16732 if ac_fn_cxx_try_compile
"$LINENO"; then :
16733 ac_cv_cxxflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
16735 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16737 CXXFLAGS
="$ac_save_CXXFLAGS"
16740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_warn_all" >&5
16741 $as_echo "$ac_cv_cxxflags_warn_all" >&6; }
16743 case ".$ac_cv_cxxflags_warn_all" in
16746 *) if ${CXXFLAGS+:} false
; then :
16747 case " $CXXFLAGS " in
16748 *" $ac_cv_cxxflags_warn_all "*)
16749 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$ac_cv_cxxflags_warn_all"; } >&5
16750 (: CXXFLAGS already contains
$ac_cv_cxxflags_warn_all) 2>&5
16752 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16753 test $ac_status = 0; }
16756 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$ac_cv_cxxflags_warn_all\""; } >&5
16757 (: CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all") 2>&5
16759 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16760 test $ac_status = 0; }
16761 CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all"
16765 CXXFLAGS
="$ac_cv_cxxflags_warn_all"
16775 ac_cpp
='$CPP $CPPFLAGS'
16776 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16777 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16778 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Werror" >&5
16781 $as_echo_n "checking for cc -Werror... " >&6; }
16785 for element
in -Werror; do
16787 for x
in $CFLAGS; do
16789 acl_save_prefix
="$prefix"
16790 prefix
="$acl_final_prefix"
16791 acl_save_exec_prefix
="$exec_prefix"
16792 exec_prefix
="$acl_final_exec_prefix"
16794 exec_prefix
="$acl_save_exec_prefix"
16795 prefix
="$acl_save_prefix"
16797 if test "X$x" = "X$element"; then
16802 if test -z "$haveit"; then
16803 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
16808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16809 /* end confdefs.h. */
16812 if ac_fn_c_try_compile
"$LINENO"; then :
16817 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16820 if test "x$cy_good" = x1
; then :
16821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16822 $as_echo "yes" >&6; }
16824 for element
in -Werror; do
16826 for x
in $CFLAGS; do
16828 acl_save_prefix
="$prefix"
16829 prefix
="$acl_final_prefix"
16830 acl_save_exec_prefix
="$exec_prefix"
16831 exec_prefix
="$acl_final_exec_prefix"
16833 exec_prefix
="$acl_save_exec_prefix"
16834 prefix
="$acl_save_prefix"
16836 if test "X$x" = "X$element"; then
16841 if test -z "$haveit"; then
16842 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
16848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16849 $as_echo "no" >&6; }
16853 ac_cpp
='$CXXCPP $CPPFLAGS'
16854 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16855 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16856 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16861 ac_cpp
='$CXXCPP $CPPFLAGS'
16862 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16863 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16864 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Werror" >&5
16867 $as_echo_n "checking for c++ -Werror... " >&6; }
16871 for element
in -Werror; do
16873 for x
in $CXXFLAGS; do
16875 acl_save_prefix
="$prefix"
16876 prefix
="$acl_final_prefix"
16877 acl_save_exec_prefix
="$exec_prefix"
16878 exec_prefix
="$acl_final_exec_prefix"
16880 exec_prefix
="$acl_save_exec_prefix"
16881 prefix
="$acl_save_prefix"
16883 if test "X$x" = "X$element"; then
16888 if test -z "$haveit"; then
16889 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16895 /* end confdefs.h. */
16898 if ac_fn_cxx_try_compile
"$LINENO"; then :
16903 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16906 if test "x$cy_good" = x1
; then :
16907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16908 $as_echo "yes" >&6; }
16910 for element
in -Werror; do
16912 for x
in $CXXFLAGS; do
16914 acl_save_prefix
="$prefix"
16915 prefix
="$acl_final_prefix"
16916 acl_save_exec_prefix
="$exec_prefix"
16917 exec_prefix
="$acl_final_exec_prefix"
16919 exec_prefix
="$acl_save_exec_prefix"
16920 prefix
="$acl_save_prefix"
16922 if test "X$x" = "X$element"; then
16927 if test -z "$haveit"; then
16928 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16935 $as_echo "no" >&6; }
16939 ac_cpp
='$CXXCPP $CPPFLAGS'
16940 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16941 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16942 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16947 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
16948 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16949 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16950 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
16952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Werror" >&5
16953 $as_echo_n "checking for c++ -ObjC -Werror... " >&6; }
16955 cy_save
=$OBJCXXFLAGS
16957 for element
in -Werror; do
16959 for x
in $OBJCXXFLAGS; do
16961 acl_save_prefix
="$prefix"
16962 prefix
="$acl_final_prefix"
16963 acl_save_exec_prefix
="$exec_prefix"
16964 exec_prefix
="$acl_final_exec_prefix"
16966 exec_prefix
="$acl_save_exec_prefix"
16967 prefix
="$acl_save_prefix"
16969 if test "X$x" = "X$element"; then
16974 if test -z "$haveit"; then
16975 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
16980 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16981 /* end confdefs.h. */
16984 if ac_fn_objcxx_try_compile
"$LINENO"; then :
16989 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16991 OBJCXXFLAGS
=$cy_save
16992 if test "x$cy_good" = x1
; then :
16993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16994 $as_echo "yes" >&6; }
16996 for element
in -Werror; do
16998 for x
in $OBJCXXFLAGS; do
17000 acl_save_prefix
="$prefix"
17001 prefix
="$acl_final_prefix"
17002 acl_save_exec_prefix
="$exec_prefix"
17003 exec_prefix
="$acl_final_exec_prefix"
17005 exec_prefix
="$acl_save_exec_prefix"
17006 prefix
="$acl_save_prefix"
17008 if test "X$x" = "X$element"; then
17013 if test -z "$haveit"; then
17014 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17021 $as_echo "no" >&6; }
17025 ac_cpp
='$CXXCPP $CPPFLAGS'
17026 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17027 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17028 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17036 ac_cpp
='$CPP $CPPFLAGS'
17037 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17038 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17039 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-deprecated-declarations" >&5
17042 $as_echo_n "checking for cc -Wno-deprecated-declarations... " >&6; }
17046 for element
in -Wno-deprecated-declarations; do
17048 for x
in $CFLAGS; do
17050 acl_save_prefix
="$prefix"
17051 prefix
="$acl_final_prefix"
17052 acl_save_exec_prefix
="$exec_prefix"
17053 exec_prefix
="$acl_final_exec_prefix"
17055 exec_prefix
="$acl_save_exec_prefix"
17056 prefix
="$acl_save_prefix"
17058 if test "X$x" = "X$element"; then
17063 if test -z "$haveit"; then
17064 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17070 /* end confdefs.h. */
17073 if ac_fn_c_try_compile
"$LINENO"; then :
17078 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17081 if test "x$cy_good" = x1
; then :
17082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17083 $as_echo "yes" >&6; }
17085 for element
in -Wno-deprecated-declarations; do
17087 for x
in $CFLAGS; do
17089 acl_save_prefix
="$prefix"
17090 prefix
="$acl_final_prefix"
17091 acl_save_exec_prefix
="$exec_prefix"
17092 exec_prefix
="$acl_final_exec_prefix"
17094 exec_prefix
="$acl_save_exec_prefix"
17095 prefix
="$acl_save_prefix"
17097 if test "X$x" = "X$element"; then
17102 if test -z "$haveit"; then
17103 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17110 $as_echo "no" >&6; }
17114 ac_cpp
='$CXXCPP $CPPFLAGS'
17115 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17116 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17117 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17122 ac_cpp
='$CXXCPP $CPPFLAGS'
17123 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17124 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17125 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-deprecated-declarations" >&5
17128 $as_echo_n "checking for c++ -Wno-deprecated-declarations... " >&6; }
17132 for element
in -Wno-deprecated-declarations; do
17134 for x
in $CXXFLAGS; do
17136 acl_save_prefix
="$prefix"
17137 prefix
="$acl_final_prefix"
17138 acl_save_exec_prefix
="$exec_prefix"
17139 exec_prefix
="$acl_final_exec_prefix"
17141 exec_prefix
="$acl_save_exec_prefix"
17142 prefix
="$acl_save_prefix"
17144 if test "X$x" = "X$element"; then
17149 if test -z "$haveit"; then
17150 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17156 /* end confdefs.h. */
17159 if ac_fn_cxx_try_compile
"$LINENO"; then :
17164 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17167 if test "x$cy_good" = x1
; then :
17168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17169 $as_echo "yes" >&6; }
17171 for element
in -Wno-deprecated-declarations; do
17173 for x
in $CXXFLAGS; do
17175 acl_save_prefix
="$prefix"
17176 prefix
="$acl_final_prefix"
17177 acl_save_exec_prefix
="$exec_prefix"
17178 exec_prefix
="$acl_final_exec_prefix"
17180 exec_prefix
="$acl_save_exec_prefix"
17181 prefix
="$acl_save_prefix"
17183 if test "X$x" = "X$element"; then
17188 if test -z "$haveit"; then
17189 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17196 $as_echo "no" >&6; }
17200 ac_cpp
='$CXXCPP $CPPFLAGS'
17201 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17202 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17203 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17208 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
17209 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17210 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17211 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
17213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-deprecated-declarations" >&5
17214 $as_echo_n "checking for c++ -ObjC -Wno-deprecated-declarations... " >&6; }
17216 cy_save
=$OBJCXXFLAGS
17218 for element
in -Wno-deprecated-declarations; do
17220 for x
in $OBJCXXFLAGS; do
17222 acl_save_prefix
="$prefix"
17223 prefix
="$acl_final_prefix"
17224 acl_save_exec_prefix
="$exec_prefix"
17225 exec_prefix
="$acl_final_exec_prefix"
17227 exec_prefix
="$acl_save_exec_prefix"
17228 prefix
="$acl_save_prefix"
17230 if test "X$x" = "X$element"; then
17235 if test -z "$haveit"; then
17236 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17242 /* end confdefs.h. */
17245 if ac_fn_objcxx_try_compile
"$LINENO"; then :
17250 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17252 OBJCXXFLAGS
=$cy_save
17253 if test "x$cy_good" = x1
; then :
17254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17255 $as_echo "yes" >&6; }
17257 for element
in -Wno-deprecated-declarations; do
17259 for x
in $OBJCXXFLAGS; do
17261 acl_save_prefix
="$prefix"
17262 prefix
="$acl_final_prefix"
17263 acl_save_exec_prefix
="$exec_prefix"
17264 exec_prefix
="$acl_final_exec_prefix"
17266 exec_prefix
="$acl_save_exec_prefix"
17267 prefix
="$acl_save_prefix"
17269 if test "X$x" = "X$element"; then
17274 if test -z "$haveit"; then
17275 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17282 $as_echo "no" >&6; }
17286 ac_cpp
='$CXXCPP $CPPFLAGS'
17287 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17288 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17289 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17297 ac_cpp
='$CPP $CPPFLAGS'
17298 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17299 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17300 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-dangling-else" >&5
17303 $as_echo_n "checking for cc -Wno-dangling-else... " >&6; }
17307 for element
in -Wno-dangling-else; do
17309 for x
in $CFLAGS; do
17311 acl_save_prefix
="$prefix"
17312 prefix
="$acl_final_prefix"
17313 acl_save_exec_prefix
="$exec_prefix"
17314 exec_prefix
="$acl_final_exec_prefix"
17316 exec_prefix
="$acl_save_exec_prefix"
17317 prefix
="$acl_save_prefix"
17319 if test "X$x" = "X$element"; then
17324 if test -z "$haveit"; then
17325 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17330 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17331 /* end confdefs.h. */
17334 if ac_fn_c_try_compile
"$LINENO"; then :
17339 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17342 if test "x$cy_good" = x1
; then :
17343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17344 $as_echo "yes" >&6; }
17346 for element
in -Wno-dangling-else; do
17348 for x
in $CFLAGS; do
17350 acl_save_prefix
="$prefix"
17351 prefix
="$acl_final_prefix"
17352 acl_save_exec_prefix
="$exec_prefix"
17353 exec_prefix
="$acl_final_exec_prefix"
17355 exec_prefix
="$acl_save_exec_prefix"
17356 prefix
="$acl_save_prefix"
17358 if test "X$x" = "X$element"; then
17363 if test -z "$haveit"; then
17364 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17371 $as_echo "no" >&6; }
17375 ac_cpp
='$CXXCPP $CPPFLAGS'
17376 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17377 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17378 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17383 ac_cpp
='$CXXCPP $CPPFLAGS'
17384 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17385 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17386 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-dangling-else" >&5
17389 $as_echo_n "checking for c++ -Wno-dangling-else... " >&6; }
17393 for element
in -Wno-dangling-else; do
17395 for x
in $CXXFLAGS; do
17397 acl_save_prefix
="$prefix"
17398 prefix
="$acl_final_prefix"
17399 acl_save_exec_prefix
="$exec_prefix"
17400 exec_prefix
="$acl_final_exec_prefix"
17402 exec_prefix
="$acl_save_exec_prefix"
17403 prefix
="$acl_save_prefix"
17405 if test "X$x" = "X$element"; then
17410 if test -z "$haveit"; then
17411 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17416 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17417 /* end confdefs.h. */
17420 if ac_fn_cxx_try_compile
"$LINENO"; then :
17425 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17428 if test "x$cy_good" = x1
; then :
17429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17430 $as_echo "yes" >&6; }
17432 for element
in -Wno-dangling-else; do
17434 for x
in $CXXFLAGS; do
17436 acl_save_prefix
="$prefix"
17437 prefix
="$acl_final_prefix"
17438 acl_save_exec_prefix
="$exec_prefix"
17439 exec_prefix
="$acl_final_exec_prefix"
17441 exec_prefix
="$acl_save_exec_prefix"
17442 prefix
="$acl_save_prefix"
17444 if test "X$x" = "X$element"; then
17449 if test -z "$haveit"; then
17450 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17457 $as_echo "no" >&6; }
17461 ac_cpp
='$CXXCPP $CPPFLAGS'
17462 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17463 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17464 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17469 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
17470 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17471 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17472 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
17474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-dangling-else" >&5
17475 $as_echo_n "checking for c++ -ObjC -Wno-dangling-else... " >&6; }
17477 cy_save
=$OBJCXXFLAGS
17479 for element
in -Wno-dangling-else; do
17481 for x
in $OBJCXXFLAGS; do
17483 acl_save_prefix
="$prefix"
17484 prefix
="$acl_final_prefix"
17485 acl_save_exec_prefix
="$exec_prefix"
17486 exec_prefix
="$acl_final_exec_prefix"
17488 exec_prefix
="$acl_save_exec_prefix"
17489 prefix
="$acl_save_prefix"
17491 if test "X$x" = "X$element"; then
17496 if test -z "$haveit"; then
17497 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17502 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17503 /* end confdefs.h. */
17506 if ac_fn_objcxx_try_compile
"$LINENO"; then :
17511 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17513 OBJCXXFLAGS
=$cy_save
17514 if test "x$cy_good" = x1
; then :
17515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17516 $as_echo "yes" >&6; }
17518 for element
in -Wno-dangling-else; do
17520 for x
in $OBJCXXFLAGS; do
17522 acl_save_prefix
="$prefix"
17523 prefix
="$acl_final_prefix"
17524 acl_save_exec_prefix
="$exec_prefix"
17525 exec_prefix
="$acl_final_exec_prefix"
17527 exec_prefix
="$acl_save_exec_prefix"
17528 prefix
="$acl_save_prefix"
17530 if test "X$x" = "X$element"; then
17535 if test -z "$haveit"; then
17536 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17543 $as_echo "no" >&6; }
17547 ac_cpp
='$CXXCPP $CPPFLAGS'
17548 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17549 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17550 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17557 ac_cpp
='$CPP $CPPFLAGS'
17558 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17559 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17560 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-overloaded-virtual" >&5
17563 $as_echo_n "checking for cc -Wno-overloaded-virtual... " >&6; }
17567 for element
in -Wno-overloaded-virtual; do
17569 for x
in $CFLAGS; do
17571 acl_save_prefix
="$prefix"
17572 prefix
="$acl_final_prefix"
17573 acl_save_exec_prefix
="$exec_prefix"
17574 exec_prefix
="$acl_final_exec_prefix"
17576 exec_prefix
="$acl_save_exec_prefix"
17577 prefix
="$acl_save_prefix"
17579 if test "X$x" = "X$element"; then
17584 if test -z "$haveit"; then
17585 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17591 /* end confdefs.h. */
17594 if ac_fn_c_try_compile
"$LINENO"; then :
17599 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17602 if test "x$cy_good" = x1
; then :
17603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17604 $as_echo "yes" >&6; }
17606 for element
in -Wno-overloaded-virtual; do
17608 for x
in $CFLAGS; do
17610 acl_save_prefix
="$prefix"
17611 prefix
="$acl_final_prefix"
17612 acl_save_exec_prefix
="$exec_prefix"
17613 exec_prefix
="$acl_final_exec_prefix"
17615 exec_prefix
="$acl_save_exec_prefix"
17616 prefix
="$acl_save_prefix"
17618 if test "X$x" = "X$element"; then
17623 if test -z "$haveit"; then
17624 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17631 $as_echo "no" >&6; }
17635 ac_cpp
='$CXXCPP $CPPFLAGS'
17636 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17637 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17638 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17643 ac_cpp
='$CXXCPP $CPPFLAGS'
17644 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17645 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17646 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-overloaded-virtual" >&5
17649 $as_echo_n "checking for c++ -Wno-overloaded-virtual... " >&6; }
17653 for element
in -Wno-overloaded-virtual; do
17655 for x
in $CXXFLAGS; do
17657 acl_save_prefix
="$prefix"
17658 prefix
="$acl_final_prefix"
17659 acl_save_exec_prefix
="$exec_prefix"
17660 exec_prefix
="$acl_final_exec_prefix"
17662 exec_prefix
="$acl_save_exec_prefix"
17663 prefix
="$acl_save_prefix"
17665 if test "X$x" = "X$element"; then
17670 if test -z "$haveit"; then
17671 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17676 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17677 /* end confdefs.h. */
17680 if ac_fn_cxx_try_compile
"$LINENO"; then :
17685 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17688 if test "x$cy_good" = x1
; then :
17689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17690 $as_echo "yes" >&6; }
17692 for element
in -Wno-overloaded-virtual; do
17694 for x
in $CXXFLAGS; do
17696 acl_save_prefix
="$prefix"
17697 prefix
="$acl_final_prefix"
17698 acl_save_exec_prefix
="$exec_prefix"
17699 exec_prefix
="$acl_final_exec_prefix"
17701 exec_prefix
="$acl_save_exec_prefix"
17702 prefix
="$acl_save_prefix"
17704 if test "X$x" = "X$element"; then
17709 if test -z "$haveit"; then
17710 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17717 $as_echo "no" >&6; }
17721 ac_cpp
='$CXXCPP $CPPFLAGS'
17722 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17723 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17724 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17729 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
17730 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17731 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17732 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
17734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-overloaded-virtual" >&5
17735 $as_echo_n "checking for c++ -ObjC -Wno-overloaded-virtual... " >&6; }
17737 cy_save
=$OBJCXXFLAGS
17739 for element
in -Wno-overloaded-virtual; do
17741 for x
in $OBJCXXFLAGS; do
17743 acl_save_prefix
="$prefix"
17744 prefix
="$acl_final_prefix"
17745 acl_save_exec_prefix
="$exec_prefix"
17746 exec_prefix
="$acl_final_exec_prefix"
17748 exec_prefix
="$acl_save_exec_prefix"
17749 prefix
="$acl_save_prefix"
17751 if test "X$x" = "X$element"; then
17756 if test -z "$haveit"; then
17757 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17762 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17763 /* end confdefs.h. */
17766 if ac_fn_objcxx_try_compile
"$LINENO"; then :
17771 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17773 OBJCXXFLAGS
=$cy_save
17774 if test "x$cy_good" = x1
; then :
17775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17776 $as_echo "yes" >&6; }
17778 for element
in -Wno-overloaded-virtual; do
17780 for x
in $OBJCXXFLAGS; do
17782 acl_save_prefix
="$prefix"
17783 prefix
="$acl_final_prefix"
17784 acl_save_exec_prefix
="$exec_prefix"
17785 exec_prefix
="$acl_final_exec_prefix"
17787 exec_prefix
="$acl_save_exec_prefix"
17788 prefix
="$acl_save_prefix"
17790 if test "X$x" = "X$element"; then
17795 if test -z "$haveit"; then
17796 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17803 $as_echo "no" >&6; }
17807 ac_cpp
='$CXXCPP $CPPFLAGS'
17808 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17809 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17810 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17817 ac_cpp
='$CPP $CPPFLAGS'
17818 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17819 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17820 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-parentheses" >&5
17823 $as_echo_n "checking for cc -Wno-parentheses... " >&6; }
17827 for element
in -Wno-parentheses; do
17829 for x
in $CFLAGS; do
17831 acl_save_prefix
="$prefix"
17832 prefix
="$acl_final_prefix"
17833 acl_save_exec_prefix
="$exec_prefix"
17834 exec_prefix
="$acl_final_exec_prefix"
17836 exec_prefix
="$acl_save_exec_prefix"
17837 prefix
="$acl_save_prefix"
17839 if test "X$x" = "X$element"; then
17844 if test -z "$haveit"; then
17845 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17851 /* end confdefs.h. */
17854 if ac_fn_c_try_compile
"$LINENO"; then :
17859 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17862 if test "x$cy_good" = x1
; then :
17863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17864 $as_echo "yes" >&6; }
17866 for element
in -Wno-parentheses; do
17868 for x
in $CFLAGS; do
17870 acl_save_prefix
="$prefix"
17871 prefix
="$acl_final_prefix"
17872 acl_save_exec_prefix
="$exec_prefix"
17873 exec_prefix
="$acl_final_exec_prefix"
17875 exec_prefix
="$acl_save_exec_prefix"
17876 prefix
="$acl_save_prefix"
17878 if test "X$x" = "X$element"; then
17883 if test -z "$haveit"; then
17884 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17891 $as_echo "no" >&6; }
17895 ac_cpp
='$CXXCPP $CPPFLAGS'
17896 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17897 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17898 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17903 ac_cpp
='$CXXCPP $CPPFLAGS'
17904 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17905 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17906 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-parentheses" >&5
17909 $as_echo_n "checking for c++ -Wno-parentheses... " >&6; }
17913 for element
in -Wno-parentheses; do
17915 for x
in $CXXFLAGS; do
17917 acl_save_prefix
="$prefix"
17918 prefix
="$acl_final_prefix"
17919 acl_save_exec_prefix
="$exec_prefix"
17920 exec_prefix
="$acl_final_exec_prefix"
17922 exec_prefix
="$acl_save_exec_prefix"
17923 prefix
="$acl_save_prefix"
17925 if test "X$x" = "X$element"; then
17930 if test -z "$haveit"; then
17931 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17936 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17937 /* end confdefs.h. */
17940 if ac_fn_cxx_try_compile
"$LINENO"; then :
17945 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17948 if test "x$cy_good" = x1
; then :
17949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17950 $as_echo "yes" >&6; }
17952 for element
in -Wno-parentheses; do
17954 for x
in $CXXFLAGS; do
17956 acl_save_prefix
="$prefix"
17957 prefix
="$acl_final_prefix"
17958 acl_save_exec_prefix
="$exec_prefix"
17959 exec_prefix
="$acl_final_exec_prefix"
17961 exec_prefix
="$acl_save_exec_prefix"
17962 prefix
="$acl_save_prefix"
17964 if test "X$x" = "X$element"; then
17969 if test -z "$haveit"; then
17970 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17977 $as_echo "no" >&6; }
17981 ac_cpp
='$CXXCPP $CPPFLAGS'
17982 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17983 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17984 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17989 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
17990 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17991 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17992 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
17994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-parentheses" >&5
17995 $as_echo_n "checking for c++ -ObjC -Wno-parentheses... " >&6; }
17997 cy_save
=$OBJCXXFLAGS
17999 for element
in -Wno-parentheses; do
18001 for x
in $OBJCXXFLAGS; do
18003 acl_save_prefix
="$prefix"
18004 prefix
="$acl_final_prefix"
18005 acl_save_exec_prefix
="$exec_prefix"
18006 exec_prefix
="$acl_final_exec_prefix"
18008 exec_prefix
="$acl_save_exec_prefix"
18009 prefix
="$acl_save_prefix"
18011 if test "X$x" = "X$element"; then
18016 if test -z "$haveit"; then
18017 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18023 /* end confdefs.h. */
18026 if ac_fn_objcxx_try_compile
"$LINENO"; then :
18031 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18033 OBJCXXFLAGS
=$cy_save
18034 if test "x$cy_good" = x1
; then :
18035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18036 $as_echo "yes" >&6; }
18038 for element
in -Wno-parentheses; do
18040 for x
in $OBJCXXFLAGS; do
18042 acl_save_prefix
="$prefix"
18043 prefix
="$acl_final_prefix"
18044 acl_save_exec_prefix
="$exec_prefix"
18045 exec_prefix
="$acl_final_exec_prefix"
18047 exec_prefix
="$acl_save_exec_prefix"
18048 prefix
="$acl_save_prefix"
18050 if test "X$x" = "X$element"; then
18055 if test -z "$haveit"; then
18056 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18063 $as_echo "no" >&6; }
18067 ac_cpp
='$CXXCPP $CPPFLAGS'
18068 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18069 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18070 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18077 ac_cpp
='$CPP $CPPFLAGS'
18078 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18079 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18080 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-unneeded-internal-declaration" >&5
18083 $as_echo_n "checking for cc -Wno-unneeded-internal-declaration... " >&6; }
18087 for element
in -Wno-unneeded-internal-declaration; do
18089 for x
in $CFLAGS; do
18091 acl_save_prefix
="$prefix"
18092 prefix
="$acl_final_prefix"
18093 acl_save_exec_prefix
="$exec_prefix"
18094 exec_prefix
="$acl_final_exec_prefix"
18096 exec_prefix
="$acl_save_exec_prefix"
18097 prefix
="$acl_save_prefix"
18099 if test "X$x" = "X$element"; then
18104 if test -z "$haveit"; then
18105 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18110 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18111 /* end confdefs.h. */
18114 if ac_fn_c_try_compile
"$LINENO"; then :
18119 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18122 if test "x$cy_good" = x1
; then :
18123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18124 $as_echo "yes" >&6; }
18126 for element
in -Wno-unneeded-internal-declaration; do
18128 for x
in $CFLAGS; do
18130 acl_save_prefix
="$prefix"
18131 prefix
="$acl_final_prefix"
18132 acl_save_exec_prefix
="$exec_prefix"
18133 exec_prefix
="$acl_final_exec_prefix"
18135 exec_prefix
="$acl_save_exec_prefix"
18136 prefix
="$acl_save_prefix"
18138 if test "X$x" = "X$element"; then
18143 if test -z "$haveit"; then
18144 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18151 $as_echo "no" >&6; }
18155 ac_cpp
='$CXXCPP $CPPFLAGS'
18156 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18157 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18158 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18163 ac_cpp
='$CXXCPP $CPPFLAGS'
18164 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18165 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18166 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-unneeded-internal-declaration" >&5
18169 $as_echo_n "checking for c++ -Wno-unneeded-internal-declaration... " >&6; }
18173 for element
in -Wno-unneeded-internal-declaration; do
18175 for x
in $CXXFLAGS; do
18177 acl_save_prefix
="$prefix"
18178 prefix
="$acl_final_prefix"
18179 acl_save_exec_prefix
="$exec_prefix"
18180 exec_prefix
="$acl_final_exec_prefix"
18182 exec_prefix
="$acl_save_exec_prefix"
18183 prefix
="$acl_save_prefix"
18185 if test "X$x" = "X$element"; then
18190 if test -z "$haveit"; then
18191 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18197 /* end confdefs.h. */
18200 if ac_fn_cxx_try_compile
"$LINENO"; then :
18205 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18208 if test "x$cy_good" = x1
; then :
18209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18210 $as_echo "yes" >&6; }
18212 for element
in -Wno-unneeded-internal-declaration; do
18214 for x
in $CXXFLAGS; do
18216 acl_save_prefix
="$prefix"
18217 prefix
="$acl_final_prefix"
18218 acl_save_exec_prefix
="$exec_prefix"
18219 exec_prefix
="$acl_final_exec_prefix"
18221 exec_prefix
="$acl_save_exec_prefix"
18222 prefix
="$acl_save_prefix"
18224 if test "X$x" = "X$element"; then
18229 if test -z "$haveit"; then
18230 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18237 $as_echo "no" >&6; }
18241 ac_cpp
='$CXXCPP $CPPFLAGS'
18242 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18243 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18244 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18249 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
18250 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18251 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18252 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
18254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-unneeded-internal-declaration" >&5
18255 $as_echo_n "checking for c++ -ObjC -Wno-unneeded-internal-declaration... " >&6; }
18257 cy_save
=$OBJCXXFLAGS
18259 for element
in -Wno-unneeded-internal-declaration; do
18261 for x
in $OBJCXXFLAGS; do
18263 acl_save_prefix
="$prefix"
18264 prefix
="$acl_final_prefix"
18265 acl_save_exec_prefix
="$exec_prefix"
18266 exec_prefix
="$acl_final_exec_prefix"
18268 exec_prefix
="$acl_save_exec_prefix"
18269 prefix
="$acl_save_prefix"
18271 if test "X$x" = "X$element"; then
18276 if test -z "$haveit"; then
18277 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18283 /* end confdefs.h. */
18286 if ac_fn_objcxx_try_compile
"$LINENO"; then :
18291 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18293 OBJCXXFLAGS
=$cy_save
18294 if test "x$cy_good" = x1
; then :
18295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18296 $as_echo "yes" >&6; }
18298 for element
in -Wno-unneeded-internal-declaration; do
18300 for x
in $OBJCXXFLAGS; do
18302 acl_save_prefix
="$prefix"
18303 prefix
="$acl_final_prefix"
18304 acl_save_exec_prefix
="$exec_prefix"
18305 exec_prefix
="$acl_final_exec_prefix"
18307 exec_prefix
="$acl_save_exec_prefix"
18308 prefix
="$acl_save_prefix"
18310 if test "X$x" = "X$element"; then
18315 if test -z "$haveit"; then
18316 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18323 $as_echo "no" >&6; }
18327 ac_cpp
='$CXXCPP $CPPFLAGS'
18328 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18329 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18330 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18341 # Check whether --enable-javascript was given.
18342 if test "${enable_javascript+set}" = set; then :
18343 enableval
=$enable_javascript;
18344 case $enableval in #(
18353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18354 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18355 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
18356 $as_echo_n "(cached) " >&6
18359 ac_check_framework_save_LIBS
=$LIBS
18360 LIBS
="-framework JavaScriptCore $LIBS"
18361 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18362 /* end confdefs.h. */
18364 #include <JavaScriptCore/JSBase.h>
18370 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18376 if ac_fn_cxx_try_link
"$LINENO"; then :
18378 ac_cv_framework_JavaScriptCore
=yes
18381 ac_cv_framework_JavaScriptCore
=no
18383 rm -f core conftest.err conftest.
$ac_objext \
18384 conftest
$ac_exeext conftest.
$ac_ext
18385 LIBS
=$ac_check_framework_save_LIBS
18388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18389 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18390 if test $ac_cv_framework_JavaScriptCore = yes; then :
18393 for element
in "-framework JavaScriptCore"; do
18397 acl_save_prefix
="$prefix"
18398 prefix
="$acl_final_prefix"
18399 acl_save_exec_prefix
="$exec_prefix"
18400 exec_prefix
="$acl_final_exec_prefix"
18402 exec_prefix
="$acl_save_exec_prefix"
18403 prefix
="$acl_save_prefix"
18405 if test "X$x" = "X$element"; then
18410 if test -z "$haveit"; then
18411 LIBS
="${LIBS}${LIBS:+ }$element"
18422 for cy_webkit_pkg
in "webkit-1.0" "WebKitGtk"; do
18425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
18426 $as_echo_n "checking for WEBKIT... " >&6; }
18428 if test -n "$WEBKIT_CFLAGS"; then
18429 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
18430 elif test -n "$PKG_CONFIG"; then
18431 if test -n "$PKG_CONFIG" && \
18432 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18433 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18435 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18436 test $ac_status = 0; }; then
18437 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
18438 test "x$?" != "x0" && pkg_failed
=yes
18445 if test -n "$WEBKIT_LIBS"; then
18446 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
18447 elif test -n "$PKG_CONFIG"; then
18448 if test -n "$PKG_CONFIG" && \
18449 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18450 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18453 test $ac_status = 0; }; then
18454 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
18455 test "x$?" != "x0" && pkg_failed
=yes
18465 if test $pkg_failed = yes; then
18466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18467 $as_echo "no" >&6; }
18469 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18470 _pkg_short_errors_supported
=yes
18472 _pkg_short_errors_supported
=no
18474 if test $_pkg_short_errors_supported = yes; then
18475 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
18477 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
18479 # Put the nasty error message in config.log where it belongs
18480 echo "$WEBKIT_PKG_ERRORS" >&5
18483 elif test $pkg_failed = untried
; then
18484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18485 $as_echo "no" >&6; }
18488 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
18489 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
18490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18491 $as_echo "yes" >&6; }
18496 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
18498 for x
in $CPPFLAGS; do
18500 acl_save_prefix
="$prefix"
18501 prefix
="$acl_final_prefix"
18502 acl_save_exec_prefix
="$exec_prefix"
18503 exec_prefix
="$acl_final_exec_prefix"
18505 exec_prefix
="$acl_save_exec_prefix"
18506 prefix
="$acl_save_prefix"
18508 if test "X$x" = "X$element"; then
18513 if test -z "$haveit"; then
18514 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
18519 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
18523 acl_save_prefix
="$prefix"
18524 prefix
="$acl_final_prefix"
18525 acl_save_exec_prefix
="$exec_prefix"
18526 exec_prefix
="$acl_final_exec_prefix"
18528 exec_prefix
="$acl_save_exec_prefix"
18529 prefix
="$acl_save_prefix"
18531 if test "X$x" = "X$element"; then
18536 if test -z "$haveit"; then
18537 LIBS
="${LIBS}${LIBS:+ }$element"
18542 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
18546 LTJAVASCRIPTCORE
=$LIBS
18562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18563 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18564 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
18565 $as_echo_n "(cached) " >&6
18568 ac_check_framework_save_LIBS
=$LIBS
18569 LIBS
="-framework JavaScriptCore $LIBS"
18570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18571 /* end confdefs.h. */
18573 #include <JavaScriptCore/JSBase.h>
18579 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18585 if ac_fn_cxx_try_link
"$LINENO"; then :
18587 ac_cv_framework_JavaScriptCore
=yes
18590 ac_cv_framework_JavaScriptCore
=no
18592 rm -f core conftest.err conftest.
$ac_objext \
18593 conftest
$ac_exeext conftest.
$ac_ext
18594 LIBS
=$ac_check_framework_save_LIBS
18597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18598 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18599 if test $ac_cv_framework_JavaScriptCore = yes; then :
18602 for element
in "-framework JavaScriptCore"; do
18606 acl_save_prefix
="$prefix"
18607 prefix
="$acl_final_prefix"
18608 acl_save_exec_prefix
="$exec_prefix"
18609 exec_prefix
="$acl_final_exec_prefix"
18611 exec_prefix
="$acl_save_exec_prefix"
18612 prefix
="$acl_save_prefix"
18614 if test "X$x" = "X$element"; then
18619 if test -z "$haveit"; then
18620 LIBS
="${LIBS}${LIBS:+ }$element"
18631 for cy_webkit_pkg
in "webkit-1.0" "WebKitGtk"; do
18634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
18635 $as_echo_n "checking for WEBKIT... " >&6; }
18637 if test -n "$WEBKIT_CFLAGS"; then
18638 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
18639 elif test -n "$PKG_CONFIG"; then
18640 if test -n "$PKG_CONFIG" && \
18641 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18642 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18644 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18645 test $ac_status = 0; }; then
18646 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
18647 test "x$?" != "x0" && pkg_failed
=yes
18654 if test -n "$WEBKIT_LIBS"; then
18655 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
18656 elif test -n "$PKG_CONFIG"; then
18657 if test -n "$PKG_CONFIG" && \
18658 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18659 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18662 test $ac_status = 0; }; then
18663 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
18664 test "x$?" != "x0" && pkg_failed
=yes
18674 if test $pkg_failed = yes; then
18675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18676 $as_echo "no" >&6; }
18678 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18679 _pkg_short_errors_supported
=yes
18681 _pkg_short_errors_supported
=no
18683 if test $_pkg_short_errors_supported = yes; then
18684 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
18686 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
18688 # Put the nasty error message in config.log where it belongs
18689 echo "$WEBKIT_PKG_ERRORS" >&5
18692 elif test $pkg_failed = untried
; then
18693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18694 $as_echo "no" >&6; }
18697 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
18698 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
18699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18700 $as_echo "yes" >&6; }
18705 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
18707 for x
in $CPPFLAGS; do
18709 acl_save_prefix
="$prefix"
18710 prefix
="$acl_final_prefix"
18711 acl_save_exec_prefix
="$exec_prefix"
18712 exec_prefix
="$acl_final_exec_prefix"
18714 exec_prefix
="$acl_save_exec_prefix"
18715 prefix
="$acl_save_prefix"
18717 if test "X$x" = "X$element"; then
18722 if test -z "$haveit"; then
18723 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
18728 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
18732 acl_save_prefix
="$prefix"
18733 prefix
="$acl_final_prefix"
18734 acl_save_exec_prefix
="$exec_prefix"
18735 exec_prefix
="$acl_final_exec_prefix"
18737 exec_prefix
="$acl_save_exec_prefix"
18738 prefix
="$acl_save_prefix"
18740 if test "X$x" = "X$element"; then
18745 if test -z "$haveit"; then
18746 LIBS
="${LIBS}${LIBS:+ }$element"
18751 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
18755 LTJAVASCRIPTCORE
=$LIBS
18761 as_fn_error $?
"Unknown JavaScript engine: $enableval" "$LINENO" 5 ;;
18771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18772 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18773 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
18774 $as_echo_n "(cached) " >&6
18777 ac_check_framework_save_LIBS
=$LIBS
18778 LIBS
="-framework JavaScriptCore $LIBS"
18779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18780 /* end confdefs.h. */
18782 #include <JavaScriptCore/JSBase.h>
18788 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18794 if ac_fn_cxx_try_link
"$LINENO"; then :
18796 ac_cv_framework_JavaScriptCore
=yes
18799 ac_cv_framework_JavaScriptCore
=no
18801 rm -f core conftest.err conftest.
$ac_objext \
18802 conftest
$ac_exeext conftest.
$ac_ext
18803 LIBS
=$ac_check_framework_save_LIBS
18806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18807 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18808 if test $ac_cv_framework_JavaScriptCore = yes; then :
18811 for element
in "-framework JavaScriptCore"; do
18815 acl_save_prefix
="$prefix"
18816 prefix
="$acl_final_prefix"
18817 acl_save_exec_prefix
="$exec_prefix"
18818 exec_prefix
="$acl_final_exec_prefix"
18820 exec_prefix
="$acl_save_exec_prefix"
18821 prefix
="$acl_save_prefix"
18823 if test "X$x" = "X$element"; then
18828 if test -z "$haveit"; then
18829 LIBS
="${LIBS}${LIBS:+ }$element"
18840 for cy_webkit_pkg
in "webkit-1.0" "WebKitGtk"; do
18843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
18844 $as_echo_n "checking for WEBKIT... " >&6; }
18846 if test -n "$WEBKIT_CFLAGS"; then
18847 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
18848 elif test -n "$PKG_CONFIG"; then
18849 if test -n "$PKG_CONFIG" && \
18850 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18851 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18853 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18854 test $ac_status = 0; }; then
18855 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
18856 test "x$?" != "x0" && pkg_failed
=yes
18863 if test -n "$WEBKIT_LIBS"; then
18864 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
18865 elif test -n "$PKG_CONFIG"; then
18866 if test -n "$PKG_CONFIG" && \
18867 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18868 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18870 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18871 test $ac_status = 0; }; then
18872 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
18873 test "x$?" != "x0" && pkg_failed
=yes
18883 if test $pkg_failed = yes; then
18884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18885 $as_echo "no" >&6; }
18887 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18888 _pkg_short_errors_supported
=yes
18890 _pkg_short_errors_supported
=no
18892 if test $_pkg_short_errors_supported = yes; then
18893 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
18895 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
18897 # Put the nasty error message in config.log where it belongs
18898 echo "$WEBKIT_PKG_ERRORS" >&5
18901 elif test $pkg_failed = untried
; then
18902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18903 $as_echo "no" >&6; }
18906 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
18907 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
18908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18909 $as_echo "yes" >&6; }
18914 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
18916 for x
in $CPPFLAGS; do
18918 acl_save_prefix
="$prefix"
18919 prefix
="$acl_final_prefix"
18920 acl_save_exec_prefix
="$exec_prefix"
18921 exec_prefix
="$acl_final_exec_prefix"
18923 exec_prefix
="$acl_save_exec_prefix"
18924 prefix
="$acl_save_prefix"
18926 if test "X$x" = "X$element"; then
18931 if test -z "$haveit"; then
18932 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
18937 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
18941 acl_save_prefix
="$prefix"
18942 prefix
="$acl_final_prefix"
18943 acl_save_exec_prefix
="$exec_prefix"
18944 exec_prefix
="$acl_final_exec_prefix"
18946 exec_prefix
="$acl_save_exec_prefix"
18947 prefix
="$acl_save_prefix"
18949 if test "X$x" = "X$element"; then
18954 if test -z "$haveit"; then
18955 LIBS
="${LIBS}${LIBS:+ }$element"
18960 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
18964 LTJAVASCRIPTCORE
=$LIBS
18972 # Check whether --enable-console was given.
18973 if test "${enable_console+set}" = set; then :
18974 enableval
=$enable_console;
18977 if test "x$enable_console" != "xno"; then
18979 CY_CONSOLE_FALSE
='#'
18981 CY_CONSOLE_TRUE
='#'
18986 if test -z "$CY_CONSOLE_TRUE"; then :
18988 if test "x$LTLIBAPR" != x
; then :
18997 if test "$target_os" = "os2-emx"; then
18998 # Scripts don't pass test -x on OS/2
19004 acceptable_majors
="1"
19006 apr_temp_acceptable_apr_config
=""
19007 for apr_temp_major
in $acceptable_majors
19009 case $apr_temp_major in
19011 apr_temp_acceptable_apr_config
="$apr_temp_acceptable_apr_config apr-config"
19014 apr_temp_acceptable_apr_config
="$apr_temp_acceptable_apr_config apr-$apr_temp_major-config"
19019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APR" >&5
19020 $as_echo_n "checking for APR... " >&6; }
19022 # Check whether --with-apr was given.
19023 if test "${with_apr+set}" = set; then :
19025 if test "$withval" = "no" || test "$withval" = "yes"; then
19026 as_fn_error $?
"--with-apr requires a directory or file to be provided" "$LINENO" 5
19029 for apr_temp_apr_config_file
in $apr_temp_acceptable_apr_config
19031 for lookdir
in "$withval/bin" "$withval"
19033 if $TEST_X "$lookdir/$apr_temp_apr_config_file"; then
19034 apr_config
="$lookdir/$apr_temp_apr_config_file"
19042 if test "$apr_found" != "yes" && $TEST_X "$withval" && $withval --help > /dev
/null
2>&1 ; then
19043 apr_config
="$withval"
19047 if test "$apr_found" != "yes"; then
19048 as_fn_error $?
"the --with-apr parameter is incorrect. It must specify an install prefix, a build directory, or an apr-config file." "$LINENO" 5
19053 if test -n "1" && test "1" = "1"; then
19054 for apr_temp_apr_config_file
in $apr_temp_acceptable_apr_config
19056 if $apr_temp_apr_config_file --help > /dev
/null
2>&1 ; then
19057 apr_config
="$apr_temp_apr_config_file"
19062 for lookdir
in /usr
/usr
/local /usr
/local
/apr
/opt
/apr
; do
19063 if $TEST_X "$lookdir/bin/$apr_temp_apr_config_file"; then
19064 apr_config
="$lookdir/bin/$apr_temp_apr_config_file"
19073 if test "$apr_found" = "no" && test -d ""; then
19074 apr_temp_abs_srcdir
="`cd && pwd`"
19075 apr_found
="reconfig"
19076 apr_bundled_major
="`sed -n '/#define.*APR_MAJOR_VERSION/s/^[^0-9]*\([0-9]*\).*$/\1/p' \"/include/apr_version.h\"`"
19077 case $apr_bundled_major in
19079 as_fn_error $?
"failed to find major version of bundled APR" "$LINENO" 5
19082 apr_temp_apr_config_file
="apr-config"
19085 apr_temp_apr_config_file
="apr-$apr_bundled_major-config"
19088 if test -n ""; then
19089 apr_config
="/$apr_temp_apr_config_file"
19091 apr_config
="/$apr_temp_apr_config_file"
19098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $apr_found" >&5
19099 $as_echo "$apr_found" >&6; }
19101 case $apr_found in #(
19105 for element
in `$apr_config --includes`; do
19107 for x
in $CPPFLAGS; do
19109 acl_save_prefix
="$prefix"
19110 prefix
="$acl_final_prefix"
19111 acl_save_exec_prefix
="$exec_prefix"
19112 exec_prefix
="$acl_final_exec_prefix"
19114 exec_prefix
="$acl_save_exec_prefix"
19115 prefix
="$acl_save_prefix"
19117 if test "X$x" = "X$element"; then
19122 if test -z "$haveit"; then
19123 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
19128 for element
in `$apr_config --link-libtool`; do
19130 for x
in $LTLIBAPR; do
19132 acl_save_prefix
="$prefix"
19133 prefix
="$acl_final_prefix"
19134 acl_save_exec_prefix
="$exec_prefix"
19135 exec_prefix
="$acl_final_exec_prefix"
19137 exec_prefix
="$acl_save_exec_prefix"
19138 prefix
="$acl_save_prefix"
19140 if test "X$x" = "X$element"; then
19145 if test -z "$haveit"; then
19146 LTLIBAPR
="${LTLIBAPR}${LTLIBAPR:+ }$element"
19154 as_fn_error $?
"missing \"libapr\"" "$LINENO" 5
19163 if test "x$CY_EXECUTE" = x1
; then
19165 CY_EXECUTE_FALSE
='#'
19167 CY_EXECUTE_TRUE
='#'
19173 case $CY_EXECUTE in #(
19176 for ac_header
in ffi.h ffi
/ffi.h
19178 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19179 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19180 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
19181 cat >>confdefs.h
<<_ACEOF
19182 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19193 if test "x$ac_cv_header_ffi_h" = xno
&& test "x$ac_cv_header_ffi_ffi_h" = xno
; then :
19197 C compiler flags
for LIBFFI
, overriding pkg
-config
19198 LIBFFI_LIBS linker flags
for LIBFFI
, overriding pkg
-config
19201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
19202 $as_echo_n "checking for LIBFFI... " >&6; }
19204 if test -n "$LIBFFI_CFLAGS"; then
19205 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
19206 elif test -n "$PKG_CONFIG"; then
19207 if test -n "$PKG_CONFIG" && \
19208 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
19209 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
19211 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19212 test $ac_status = 0; }; then
19213 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
19214 test "x$?" != "x0" && pkg_failed
=yes
19221 if test -n "$LIBFFI_LIBS"; then
19222 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
19223 elif test -n "$PKG_CONFIG"; then
19224 if test -n "$PKG_CONFIG" && \
19225 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
19226 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
19228 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19229 test $ac_status = 0; }; then
19230 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
19231 test "x$?" != "x0" && pkg_failed
=yes
19241 if test $pkg_failed = yes; then
19242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19243 $as_echo "no" >&6; }
19245 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19246 _pkg_short_errors_supported
=yes
19248 _pkg_short_errors_supported
=no
19250 if test $_pkg_short_errors_supported = yes; then
19251 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libffi" 2>&1`
19253 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libffi" 2>&1`
19255 # Put the nasty error message in config.log where it belongs
19256 echo "$LIBFFI_PKG_ERRORS" >&5
19258 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
19259 elif test $pkg_failed = untried
; then
19260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19261 $as_echo "no" >&6; }
19262 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
19264 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
19265 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
19266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19267 $as_echo "yes" >&6; }
19270 for element
in `$PKG_CONFIG --cflags libffi`; do
19272 for x
in $CPPFLAGS; do
19274 acl_save_prefix
="$prefix"
19275 prefix
="$acl_final_prefix"
19276 acl_save_exec_prefix
="$exec_prefix"
19277 exec_prefix
="$acl_final_exec_prefix"
19279 exec_prefix
="$acl_save_exec_prefix"
19280 prefix
="$acl_save_prefix"
19282 if test "X$x" = "X$element"; then
19287 if test -z "$haveit"; then
19288 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
19293 for element
in `$PKG_CONFIG --libs libffi`; do
19297 acl_save_prefix
="$prefix"
19298 prefix
="$acl_final_prefix"
19299 acl_save_exec_prefix
="$exec_prefix"
19300 exec_prefix
="$acl_final_exec_prefix"
19302 exec_prefix
="$acl_save_exec_prefix"
19303 prefix
="$acl_save_prefix"
19305 if test "X$x" = "X$element"; then
19310 if test -z "$haveit"; then
19311 LIBS
="${LIBS}${LIBS:+ }$element"
19320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
19321 $as_echo_n "checking for library containing ffi_call... " >&6; }
19322 if ${ac_cv_search_ffi_call+:} false
; then :
19323 $as_echo_n "(cached) " >&6
19325 ac_func_search_save_LIBS
=$LIBS
19326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19327 /* end confdefs.h. */
19329 /* Override any GCC internal prototype to avoid an error.
19330 Use char because int might match the return type of a GCC
19331 builtin and then its argument prototype would still apply. */
19339 return ffi_call ();
19344 for ac_lib
in '' ffi
; do
19345 if test -z "$ac_lib"; then
19346 ac_res
="none required"
19349 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19351 if ac_fn_cxx_try_link
"$LINENO"; then :
19352 ac_cv_search_ffi_call
=$ac_res
19354 rm -f core conftest.err conftest.
$ac_objext \
19356 if ${ac_cv_search_ffi_call+:} false
; then :
19360 if ${ac_cv_search_ffi_call+:} false
; then :
19363 ac_cv_search_ffi_call
=no
19365 rm conftest.
$ac_ext
19366 LIBS
=$ac_func_search_save_LIBS
19368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
19369 $as_echo "$ac_cv_search_ffi_call" >&6; }
19370 ac_res
=$ac_cv_search_ffi_call
19371 if test "$ac_res" != no
; then :
19372 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19376 case $ac_cv_search_ffi_call in #(
19381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
19382 $as_echo_n "checking for LIBFFI... " >&6; }
19384 if test -n "$LIBFFI_CFLAGS"; then
19385 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
19386 elif test -n "$PKG_CONFIG"; then
19387 if test -n "$PKG_CONFIG" && \
19388 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
19389 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
19391 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19392 test $ac_status = 0; }; then
19393 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
19394 test "x$?" != "x0" && pkg_failed
=yes
19401 if test -n "$LIBFFI_LIBS"; then
19402 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
19403 elif test -n "$PKG_CONFIG"; then
19404 if test -n "$PKG_CONFIG" && \
19405 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
19406 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
19408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19409 test $ac_status = 0; }; then
19410 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
19411 test "x$?" != "x0" && pkg_failed
=yes
19421 if test $pkg_failed = yes; then
19422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19423 $as_echo "no" >&6; }
19425 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19426 _pkg_short_errors_supported
=yes
19428 _pkg_short_errors_supported
=no
19430 if test $_pkg_short_errors_supported = yes; then
19431 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libffi" 2>&1`
19433 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libffi" 2>&1`
19435 # Put the nasty error message in config.log where it belongs
19436 echo "$LIBFFI_PKG_ERRORS" >&5
19438 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
19439 elif test $pkg_failed = untried
; then
19440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19441 $as_echo "no" >&6; }
19442 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
19444 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
19445 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
19446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19447 $as_echo "yes" >&6; }
19450 for element
in `$PKG_CONFIG --cflags libffi`; do
19452 for x
in $CPPFLAGS; do
19454 acl_save_prefix
="$prefix"
19455 prefix
="$acl_final_prefix"
19456 acl_save_exec_prefix
="$exec_prefix"
19457 exec_prefix
="$acl_final_exec_prefix"
19459 exec_prefix
="$acl_save_exec_prefix"
19460 prefix
="$acl_save_prefix"
19462 if test "X$x" = "X$element"; then
19467 if test -z "$haveit"; then
19468 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
19473 for element
in `$PKG_CONFIG --libs libffi`; do
19477 acl_save_prefix
="$prefix"
19478 prefix
="$acl_final_prefix"
19479 acl_save_exec_prefix
="$exec_prefix"
19480 exec_prefix
="$acl_final_exec_prefix"
19482 exec_prefix
="$acl_save_exec_prefix"
19483 prefix
="$acl_save_prefix"
19485 if test "X$x" = "X$element"; then
19490 if test -z "$haveit"; then
19491 LIBS
="${LIBS}${LIBS:+ }$element"
19508 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
19509 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19510 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19511 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
19514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we really have Objective C++" >&5
19515 $as_echo_n "checking if we really have Objective C++... " >&6; }
19516 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19517 /* end confdefs.h. */
19520 if ac_fn_objcxx_try_compile
"$LINENO"; then :
19523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19524 $as_echo "yes" >&6; }
19527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19528 $as_echo "no" >&6; }
19530 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19532 if test "x$CY_OBJECTIVEC" = x1
; then :
19538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework CoreFoundation" >&5
19539 $as_echo_n "checking for framework CoreFoundation... " >&6; }
19540 if ${ac_cv_framework_CoreFoundation+:} false
; then :
19541 $as_echo_n "(cached) " >&6
19544 ac_check_framework_save_LIBS
=$LIBS
19545 LIBS
="-framework CoreFoundation $LIBS"
19546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19547 /* end confdefs.h. */
19549 #include <CoreFoundation/CFBase.h>
19554 CFAllocatorGetDefault();
19559 if ac_fn_objcxx_try_link
"$LINENO"; then :
19561 ac_cv_framework_CoreFoundation
=yes
19564 ac_cv_framework_CoreFoundation
=no
19566 rm -f core conftest.err conftest.
$ac_objext \
19567 conftest
$ac_exeext conftest.
$ac_ext
19568 LIBS
=$ac_check_framework_save_LIBS
19571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_CoreFoundation" >&5
19572 $as_echo "$ac_cv_framework_CoreFoundation" >&6; }
19573 if test $ac_cv_framework_CoreFoundation = yes; then :
19576 for element
in "-framework CoreFoundation"; do
19580 acl_save_prefix
="$prefix"
19581 prefix
="$acl_final_prefix"
19582 acl_save_exec_prefix
="$exec_prefix"
19583 exec_prefix
="$acl_final_exec_prefix"
19585 exec_prefix
="$acl_save_exec_prefix"
19586 prefix
="$acl_save_prefix"
19588 if test "X$x" = "X$element"; then
19593 if test -z "$haveit"; then
19594 LIBS
="${LIBS}${LIBS:+ }$element"
19603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework Foundation" >&5
19604 $as_echo_n "checking for framework Foundation... " >&6; }
19605 if ${ac_cv_framework_Foundation+:} false
; then :
19606 $as_echo_n "(cached) " >&6
19609 ac_check_framework_save_LIBS
=$LIBS
19610 LIBS
="-framework Foundation $LIBS"
19611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19612 /* end confdefs.h. */
19614 #include <Foundation/NSObject.h>
19619 [[NSObject alloc] init];
19624 if ac_fn_objcxx_try_link
"$LINENO"; then :
19626 ac_cv_framework_Foundation
=yes
19629 ac_cv_framework_Foundation
=no
19631 rm -f core conftest.err conftest.
$ac_objext \
19632 conftest
$ac_exeext conftest.
$ac_ext
19633 LIBS
=$ac_check_framework_save_LIBS
19636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_Foundation" >&5
19637 $as_echo "$ac_cv_framework_Foundation" >&6; }
19638 if test $ac_cv_framework_Foundation = yes; then :
19641 for element
in "-framework Foundation"; do
19645 acl_save_prefix
="$prefix"
19646 prefix
="$acl_final_prefix"
19647 acl_save_exec_prefix
="$exec_prefix"
19648 exec_prefix
="$acl_final_exec_prefix"
19650 exec_prefix
="$acl_save_exec_prefix"
19651 prefix
="$acl_save_prefix"
19653 if test "X$x" = "X$element"; then
19658 if test -z "$haveit"; then
19659 LIBS
="${LIBS}${LIBS:+ }$element"
19663 cat >>confdefs.h
<<_ACEOF
19664 #define HAVE_FRAMEWORK_FOUNDATION 1
19674 for ac_prog
in gnustep
-config
19676 # Extract the first word of "$ac_prog", so it can be a program name with args.
19677 set dummy
$ac_prog; ac_word
=$2
19678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19679 $as_echo_n "checking for $ac_word... " >&6; }
19680 if ${ac_cv_prog_GNUSTEP_CONFIG+:} false
; then :
19681 $as_echo_n "(cached) " >&6
19683 if test -n "$GNUSTEP_CONFIG"; then
19684 ac_cv_prog_GNUSTEP_CONFIG
="$GNUSTEP_CONFIG" # Let the user override the test.
19686 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19687 for as_dir
in $PATH
19690 test -z "$as_dir" && as_dir
=.
19691 for ac_exec_ext
in '' $ac_executable_extensions; do
19692 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19693 ac_cv_prog_GNUSTEP_CONFIG
="$ac_prog"
19694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19703 GNUSTEP_CONFIG
=$ac_cv_prog_GNUSTEP_CONFIG
19704 if test -n "$GNUSTEP_CONFIG"; then
19705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUSTEP_CONFIG" >&5
19706 $as_echo "$GNUSTEP_CONFIG" >&6; }
19708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19709 $as_echo "no" >&6; }
19713 test -n "$GNUSTEP_CONFIG" && break
19717 if test "x$GNUSTEP_CONFIG" != x
; then :
19721 for element
in `$GNUSTEP_CONFIG --objc-flags`; do
19723 for x
in $OBJCXXFLAGS; do
19725 acl_save_prefix
="$prefix"
19726 prefix
="$acl_final_prefix"
19727 acl_save_exec_prefix
="$exec_prefix"
19728 exec_prefix
="$acl_final_exec_prefix"
19730 exec_prefix
="$acl_save_exec_prefix"
19731 prefix
="$acl_save_prefix"
19733 if test "X$x" = "X$element"; then
19738 if test -z "$haveit"; then
19739 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19744 for element
in `$GNUSTEP_CONFIG --base-libs`; do
19748 acl_save_prefix
="$prefix"
19749 prefix
="$acl_final_prefix"
19750 acl_save_exec_prefix
="$exec_prefix"
19751 exec_prefix
="$acl_final_exec_prefix"
19753 exec_prefix
="$acl_save_exec_prefix"
19754 prefix
="$acl_save_prefix"
19756 if test "X$x" = "X$element"; then
19761 if test -z "$haveit"; then
19762 LIBS
="${LIBS}${LIBS:+ }$element"
19781 ac_cpp
='$CXXCPP $CPPFLAGS'
19782 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19783 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19784 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19791 if test "x$CY_OBJECTIVEC" = x1
; then
19792 CY_OBJECTIVEC_TRUE
=
19793 CY_OBJECTIVEC_FALSE
='#'
19795 CY_OBJECTIVEC_TRUE
='#'
19796 CY_OBJECTIVEC_FALSE
=
19804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a readline compatible library" >&5
19805 $as_echo_n "checking for a readline compatible library... " >&6; }
19806 if ${ax_cv_lib_readline+:} false
; then :
19807 $as_echo_n "(cached) " >&6
19811 for readline_lib
in readline edit editline
; do
19812 for termcap_lib
in "" termcap curses ncurses
; do
19813 if test -z "$termcap_lib"; then
19814 TRY_LIB
="-l$readline_lib"
19816 TRY_LIB
="-l$readline_lib -l$termcap_lib"
19818 LIBS
="$ORIG_LIBS $TRY_LIB"
19819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19820 /* end confdefs.h. */
19822 /* Override any GCC internal prototype to avoid an error.
19823 Use char because int might match the return type of a GCC
19824 builtin and then its argument prototype would still apply. */
19832 return readline ();
19837 if ac_fn_cxx_try_link
"$LINENO"; then :
19838 ax_cv_lib_readline
="$TRY_LIB"
19840 rm -f core conftest.err conftest.
$ac_objext \
19841 conftest
$ac_exeext conftest.
$ac_ext
19842 if test -n "$ax_cv_lib_readline"; then
19846 if test -n "$ax_cv_lib_readline"; then
19850 if test -z "$ax_cv_lib_readline"; then
19851 ax_cv_lib_readline
="no"
19856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline" >&5
19857 $as_echo "$ax_cv_lib_readline" >&6; }
19859 if test "$ax_cv_lib_readline" != "no"; then
19860 LIBS
="$LIBS $ax_cv_lib_readline"
19862 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
19864 for ac_header
in readline.h readline
/readline.h
19866 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19867 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19868 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
19869 cat >>confdefs.h
<<_ACEOF
19870 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5
19878 $as_echo_n "checking whether readline supports history... " >&6; }
19879 if ${ax_cv_lib_readline_history+:} false
; then :
19880 $as_echo_n "(cached) " >&6
19883 ax_cv_lib_readline_history
="no"
19884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19885 /* end confdefs.h. */
19887 /* Override any GCC internal prototype to avoid an error.
19888 Use char because int might match the return type of a GCC
19889 builtin and then its argument prototype would still apply. */
19893 char add_history ();
19897 return add_history ();
19902 if ac_fn_cxx_try_link
"$LINENO"; then :
19903 ax_cv_lib_readline_history
="yes"
19905 rm -f core conftest.err conftest.
$ac_objext \
19906 conftest
$ac_exeext conftest.
$ac_ext
19909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline_history" >&5
19910 $as_echo "$ax_cv_lib_readline_history" >&6; }
19911 if test "$ax_cv_lib_readline_history" = "yes"; then
19913 $as_echo "#define HAVE_READLINE_HISTORY 1" >>confdefs.h
19915 for ac_header
in history.h readline
/history.h
19917 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19918 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19919 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
19920 cat >>confdefs.h
<<_ACEOF
19921 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19931 LTLIBREADLINE
=$LIBS
19935 case $ax_cv_lib_readline in #(
19937 as_fn_error $?
"missing \"libreadline\"" "$LINENO" 5 ;; #(
19945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing cur_term" >&5
19946 $as_echo_n "checking for library containing cur_term... " >&6; }
19947 if ${ac_cv_search_cur_term+:} false
; then :
19948 $as_echo_n "(cached) " >&6
19950 ac_func_search_save_LIBS
=$LIBS
19951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19952 /* end confdefs.h. */
19954 /* Override any GCC internal prototype to avoid an error.
19955 Use char because int might match the return type of a GCC
19956 builtin and then its argument prototype would still apply. */
19964 return cur_term ();
19969 for ac_lib
in '' termcap ncurses
; do
19970 if test -z "$ac_lib"; then
19971 ac_res
="none required"
19974 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19976 if ac_fn_cxx_try_link
"$LINENO"; then :
19977 ac_cv_search_cur_term
=$ac_res
19979 rm -f core conftest.err conftest.
$ac_objext \
19981 if ${ac_cv_search_cur_term+:} false
; then :
19985 if ${ac_cv_search_cur_term+:} false
; then :
19988 ac_cv_search_cur_term
=no
19990 rm conftest.
$ac_ext
19991 LIBS
=$ac_func_search_save_LIBS
19993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_cur_term" >&5
19994 $as_echo "$ac_cv_search_cur_term" >&6; }
19995 ac_res
=$ac_cv_search_cur_term
19996 if test "$ac_res" != no
; then :
19997 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20010 if test "x$CY_EXECUTE" = x1
; then :
20012 ac_fn_cxx_check_header_mongrel
"$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
20013 if test "x$ac_cv_header_mach_mach_h" = xyes
; then :
20015 if test -n "$ac_tool_prefix"; then
20016 for ac_prog
in lipo
20018 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
20019 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
20020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20021 $as_echo_n "checking for $ac_word... " >&6; }
20022 if ${ac_cv_prog__LIPO+:} false
; then :
20023 $as_echo_n "(cached) " >&6
20025 if test -n "$_LIPO"; then
20026 ac_cv_prog__LIPO
="$_LIPO" # Let the user override the test.
20028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20029 for as_dir
in $PATH
20032 test -z "$as_dir" && as_dir
=.
20033 for ac_exec_ext
in '' $ac_executable_extensions; do
20034 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20035 ac_cv_prog__LIPO
="$ac_tool_prefix$ac_prog"
20036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20045 _LIPO
=$ac_cv_prog__LIPO
20046 if test -n "$_LIPO"; then
20047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_LIPO" >&5
20048 $as_echo "$_LIPO" >&6; }
20050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20051 $as_echo "no" >&6; }
20055 test -n "$_LIPO" && break
20058 if test -z "$_LIPO"; then
20060 for ac_prog
in lipo
20062 # Extract the first word of "$ac_prog", so it can be a program name with args.
20063 set dummy
$ac_prog; ac_word
=$2
20064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20065 $as_echo_n "checking for $ac_word... " >&6; }
20066 if ${ac_cv_prog_ac_ct__LIPO+:} false
; then :
20067 $as_echo_n "(cached) " >&6
20069 if test -n "$ac_ct__LIPO"; then
20070 ac_cv_prog_ac_ct__LIPO
="$ac_ct__LIPO" # Let the user override the test.
20072 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20073 for as_dir
in $PATH
20076 test -z "$as_dir" && as_dir
=.
20077 for ac_exec_ext
in '' $ac_executable_extensions; do
20078 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20079 ac_cv_prog_ac_ct__LIPO
="$ac_prog"
20080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20089 ac_ct__LIPO
=$ac_cv_prog_ac_ct__LIPO
20090 if test -n "$ac_ct__LIPO"; then
20091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__LIPO" >&5
20092 $as_echo "$ac_ct__LIPO" >&6; }
20094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20095 $as_echo "no" >&6; }
20099 test -n "$ac_ct__LIPO" && break
20102 if test "x$ac_ct__LIPO" = x
; then
20103 _LIPO
="as_fn_error $? "missing
\"lipo
\"" "$LINENO" 5"
20105 case $cross_compiling:$ac_tool_warned in
20107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20108 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20109 ac_tool_warned
=yes ;;
20115 if test -n "$ac_tool_prefix"; then
20118 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
20119 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
20120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20121 $as_echo_n "checking for $ac_word... " >&6; }
20122 if ${ac_cv_prog__NM+:} false
; then :
20123 $as_echo_n "(cached) " >&6
20125 if test -n "$_NM"; then
20126 ac_cv_prog__NM
="$_NM" # Let the user override the test.
20128 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20129 for as_dir
in $PATH
20132 test -z "$as_dir" && as_dir
=.
20133 for ac_exec_ext
in '' $ac_executable_extensions; do
20134 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20135 ac_cv_prog__NM
="$ac_tool_prefix$ac_prog"
20136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20145 _NM
=$ac_cv_prog__NM
20146 if test -n "$_NM"; then
20147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_NM" >&5
20148 $as_echo "$_NM" >&6; }
20150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20151 $as_echo "no" >&6; }
20155 test -n "$_NM" && break
20158 if test -z "$_NM"; then
20162 # Extract the first word of "$ac_prog", so it can be a program name with args.
20163 set dummy
$ac_prog; ac_word
=$2
20164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20165 $as_echo_n "checking for $ac_word... " >&6; }
20166 if ${ac_cv_prog_ac_ct__NM+:} false
; then :
20167 $as_echo_n "(cached) " >&6
20169 if test -n "$ac_ct__NM"; then
20170 ac_cv_prog_ac_ct__NM
="$ac_ct__NM" # Let the user override the test.
20172 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20173 for as_dir
in $PATH
20176 test -z "$as_dir" && as_dir
=.
20177 for ac_exec_ext
in '' $ac_executable_extensions; do
20178 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20179 ac_cv_prog_ac_ct__NM
="$ac_prog"
20180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20189 ac_ct__NM
=$ac_cv_prog_ac_ct__NM
20190 if test -n "$ac_ct__NM"; then
20191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__NM" >&5
20192 $as_echo "$ac_ct__NM" >&6; }
20194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20195 $as_echo "no" >&6; }
20199 test -n "$ac_ct__NM" && break
20202 if test "x$ac_ct__NM" = x
; then
20203 _NM
="as_fn_error $? "missing
\"nm
\"" "$LINENO" 5"
20205 case $cross_compiling:$ac_tool_warned in
20207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20208 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20209 ac_tool_warned
=yes ;;
20215 if test -n "$ac_tool_prefix"; then
20216 for ac_prog
in otool
20218 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
20219 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
20220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20221 $as_echo_n "checking for $ac_word... " >&6; }
20222 if ${ac_cv_prog__OTOOL+:} false
; then :
20223 $as_echo_n "(cached) " >&6
20225 if test -n "$_OTOOL"; then
20226 ac_cv_prog__OTOOL
="$_OTOOL" # Let the user override the test.
20228 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20229 for as_dir
in $PATH
20232 test -z "$as_dir" && as_dir
=.
20233 for ac_exec_ext
in '' $ac_executable_extensions; do
20234 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20235 ac_cv_prog__OTOOL
="$ac_tool_prefix$ac_prog"
20236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20245 _OTOOL
=$ac_cv_prog__OTOOL
20246 if test -n "$_OTOOL"; then
20247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_OTOOL" >&5
20248 $as_echo "$_OTOOL" >&6; }
20250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20251 $as_echo "no" >&6; }
20255 test -n "$_OTOOL" && break
20258 if test -z "$_OTOOL"; then
20259 ac_ct__OTOOL
=$_OTOOL
20260 for ac_prog
in otool
20262 # Extract the first word of "$ac_prog", so it can be a program name with args.
20263 set dummy
$ac_prog; ac_word
=$2
20264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20265 $as_echo_n "checking for $ac_word... " >&6; }
20266 if ${ac_cv_prog_ac_ct__OTOOL+:} false
; then :
20267 $as_echo_n "(cached) " >&6
20269 if test -n "$ac_ct__OTOOL"; then
20270 ac_cv_prog_ac_ct__OTOOL
="$ac_ct__OTOOL" # Let the user override the test.
20272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20273 for as_dir
in $PATH
20276 test -z "$as_dir" && as_dir
=.
20277 for ac_exec_ext
in '' $ac_executable_extensions; do
20278 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20279 ac_cv_prog_ac_ct__OTOOL
="$ac_prog"
20280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20289 ac_ct__OTOOL
=$ac_cv_prog_ac_ct__OTOOL
20290 if test -n "$ac_ct__OTOOL"; then
20291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__OTOOL" >&5
20292 $as_echo "$ac_ct__OTOOL" >&6; }
20294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20295 $as_echo "no" >&6; }
20299 test -n "$ac_ct__OTOOL" && break
20302 if test "x$ac_ct__OTOOL" = x
; then
20303 _OTOOL
="as_fn_error $? "missing
\"otool
\"" "$LINENO" 5"
20305 case $cross_compiling:$ac_tool_warned in
20307 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20308 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20309 ac_tool_warned
=yes ;;
20311 _OTOOL
=$ac_ct__OTOOL
20315 CY_ATTACH_GROUP
=procmod
20323 if test "x$CY_MACH" = x1
; then
20332 ac_config_files
="$ac_config_files Makefile"
20334 cat >confcache
<<\_ACEOF
20335 # This file is a shell script that caches the results of configure
20336 # tests run on this system so they can be shared between configure
20337 # scripts and configure runs, see configure's option --config-cache.
20338 # It is not useful on other systems. If it contains results you don't
20339 # want to keep, you may remove or edit it.
20341 # config.status only pays attention to the cache file if you give it
20342 # the --recheck option to rerun configure.
20344 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20345 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20346 # following values.
20350 # The following way of writing the cache mishandles newlines in values,
20351 # but we know of no workaround that is simple, portable, and efficient.
20352 # So, we kill variables containing newlines.
20353 # Ultrix sh set writes to stderr and can't be redirected directly,
20354 # and sets the high bit in the cache file unless we assign to the vars.
20356 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20357 eval ac_val
=\$
$ac_var
20361 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20362 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20365 _
| IFS
| as_nl
) ;; #(
20366 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
20367 *) { eval $ac_var=; unset $ac_var;} ;;
20373 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20374 *${as_nl}ac_space
=\
*)
20375 # `set' does not quote correctly, so add quotes: double-quote
20376 # substitution turns \\\\ into \\, and sed turns \\ into \.
20379 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20382 # `set' quotes correctly as required by POSIX, so do not add quotes.
20383 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20392 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20394 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20396 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
20397 if test -w "$cache_file"; then
20398 if test "x$cache_file" != "x/dev/null"; then
20399 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20400 $as_echo "$as_me: updating cache $cache_file" >&6;}
20401 if test ! -f "$cache_file" || test -h "$cache_file"; then
20402 cat confcache
>"$cache_file"
20404 case $cache_file in #(
20406 mv -f confcache
"$cache_file"$$
&&
20407 mv -f "$cache_file"$$
"$cache_file" ;; #(
20409 mv -f confcache
"$cache_file" ;;
20414 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
20415 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20420 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20421 # Let make expand exec_prefix.
20422 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20424 DEFS
=-DHAVE_CONFIG_H
20429 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20430 # 1. Remove the extension, and $U if already installed.
20431 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
20432 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
20433 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20434 # will be set to the directory where LIBOBJS objects are built.
20435 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20436 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
20438 LIBOBJS
=$ac_libobjs
20440 LTLIBOBJS
=$ac_ltlibobjs
20443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
20444 $as_echo_n "checking that generated files are newer than configure... " >&6; }
20445 if test -n "$am_sleep_pid"; then
20446 # Hide warnings about reused PIDs.
20447 wait $am_sleep_pid 2>/dev
/null
20449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
20450 $as_echo "done" >&6; }
20451 if test -n "$EXEEXT"; then
20453 am__EXEEXT_FALSE
='#'
20455 am__EXEEXT_TRUE
='#'
20459 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
20460 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
20461 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20463 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20464 as_fn_error $?
"conditional \"AMDEP\" was never defined.
20465 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20467 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20468 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
20469 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20471 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20472 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
20473 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20475 if test -z "${am__fastdepOBJCXX_TRUE}" && test -z "${am__fastdepOBJCXX_FALSE}"; then
20476 as_fn_error $?
"conditional \"am__fastdepOBJCXX\" was never defined.
20477 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20479 if test -z "${CY_CONSOLE_TRUE}" && test -z "${CY_CONSOLE_FALSE}"; then
20480 as_fn_error $?
"conditional \"CY_CONSOLE\" was never defined.
20481 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20483 if test -z "${CY_EXECUTE_TRUE}" && test -z "${CY_EXECUTE_FALSE}"; then
20484 as_fn_error $?
"conditional \"CY_EXECUTE\" was never defined.
20485 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20487 if test -z "${CY_OBJECTIVEC_TRUE}" && test -z "${CY_OBJECTIVEC_FALSE}"; then
20488 as_fn_error $?
"conditional \"CY_OBJECTIVEC\" was never defined.
20489 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20491 if test -z "${CY_MACH_TRUE}" && test -z "${CY_MACH_FALSE}"; then
20492 as_fn_error $?
"conditional \"CY_MACH\" was never defined.
20493 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20496 : "${CONFIG_STATUS=./config.status}"
20498 ac_clean_files_save
=$ac_clean_files
20499 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20500 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
20501 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20503 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
20505 # Generated by $as_me.
20506 # Run this file to recreate the current configuration.
20507 # Compiler output produced by configure, useful for debugging
20508 # configure, is in config.log if it exists.
20511 ac_cs_recheck=false
20514 SHELL=\${CONFIG_SHELL-$SHELL}
20517 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
20518 ## -------------------- ##
20519 ## M4sh Initialization. ##
20520 ## -------------------- ##
20522 # Be more Bourne compatible
20523 DUALCASE
=1; export DUALCASE
# for MKS sh
20524 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20527 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20528 # is contrary to our usage. Disable this feature.
20529 alias -g '${1+"$@"}'='"$@"'
20530 setopt NO_GLOB_SUBST
20532 case `(set -o) 2>/dev/null` in #(
20544 # Printing a long string crashes Solaris 7 /usr/bin/printf.
20545 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20546 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20547 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20548 # Prefer a ksh shell builtin over an external printf program on Solaris,
20549 # but without wasting forks for bash or zsh.
20550 if test -z "$BASH_VERSION$ZSH_VERSION" \
20551 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
20552 as_echo='print
-r --'
20553 as_echo_n='print
-rn --'
20554 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20555 as_echo='printf %s
\n'
20556 as_echo_n='printf %s
'
20558 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20559 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
20560 as_echo_n='/usr
/ucb
/echo -n'
20562 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20563 as_echo_n_body='eval
20567 expr "X$arg" : "X\\(.*\\)$as_nl";
20568 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20570 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
20572 export as_echo_n_body
20573 as_echo_n='sh
-c $as_echo_n_body as_echo
'
20575 export as_echo_body
20576 as_echo='sh
-c $as_echo_body as_echo
'
20579 # The user is always right.
20580 if test "${PATH_SEPARATOR+set}" != set; then
20582 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20583 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20590 # We need space, tab and new line, in precisely that order. Quoting is
20591 # there to prevent editors from complaining about space-tab.
20592 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20593 # splitting by setting IFS to empty value.)
20596 # Find who we are. Look in the path if we contain no directory separator.
20599 *[\\/]* ) as_myself=$0 ;;
20600 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20601 for as_dir in $PATH
20604 test -z "$as_dir" && as_dir=.
20605 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20611 # We did not find ourselves, most probably we were run as `sh COMMAND'
20612 # in which case we are not to be found in the path.
20613 if test "x$as_myself" = x
; then
20616 if test ! -f "$as_myself"; then
20617 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20621 # Unset variables that we do not need and which cause bugs (e.g. in
20622 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
20623 # suppresses any "Segmentation fault" message there. '((' could
20624 # trigger a bug in pdksh 5.2.14.
20625 for as_var
in BASH_ENV ENV MAIL MAILPATH
20626 do eval test x\
${$as_var+set} = xset \
20627 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
20640 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
20643 # as_fn_error STATUS ERROR [LINENO LOG_FD]
20644 # ----------------------------------------
20645 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20646 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20647 # script with STATUS, using 1 if that was 0.
20650 as_status
=$1; test $as_status -eq 0 && as_status
=1
20652 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
20653 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20655 $as_echo "$as_me: error: $2" >&2
20656 as_fn_exit
$as_status
20660 # as_fn_set_status STATUS
20661 # -----------------------
20662 # Set $? to STATUS, without forking.
20663 as_fn_set_status
()
20666 } # as_fn_set_status
20668 # as_fn_exit STATUS
20669 # -----------------
20670 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20674 as_fn_set_status
$1
20680 # Portably unset VAR.
20683 { eval $1=; unset $1;}
20685 as_unset
=as_fn_unset
20686 # as_fn_append VAR VALUE
20687 # ----------------------
20688 # Append the text in VALUE to the end of the definition contained in VAR. Take
20689 # advantage of any shell optimizations that allow amortized linear growth over
20690 # repeated appends, instead of the typical quadratic growth present in naive
20692 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
20693 eval 'as_fn_append ()
20704 # as_fn_arith ARG...
20705 # ------------------
20706 # Perform arithmetic evaluation on the ARGs, and store the result in the
20707 # global $as_val. Take advantage of shells that can avoid forks. The arguments
20708 # must be portable across $(()) and expr.
20709 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
20710 eval 'as_fn_arith ()
20717 as_val
=`expr "$@" || test $? -eq 1`
20722 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20723 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20729 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20730 as_basename
=basename
20735 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
20741 as_me
=`$as_basename -- "$0" ||
20742 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20743 X"$0" : 'X\(//\)$' \| \
20744 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20746 sed '/^.*\/\([^/][^/]*\)\/*$/{
20760 # Avoid depending upon Character Ranges.
20761 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20762 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20763 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20764 as_cr_digits
='0123456789'
20765 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20767 ECHO_C
= ECHO_N
= ECHO_T
=
20768 case `echo -n x` in #(((((
20770 case `echo 'xy\c'` in
20771 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
20773 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
20780 rm -f conf$$ conf$$.exe conf$$.
file
20781 if test -d conf$$.dir
; then
20782 rm -f conf$$.dir
/conf$$.
file
20785 mkdir conf$$.dir
2>/dev
/null
20787 if (echo >conf$$.
file) 2>/dev
/null
; then
20788 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20790 # ... but there are two gotchas:
20791 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20792 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20793 # In both cases, we have to default to `cp -pR'.
20794 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
20796 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20804 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
20805 rmdir conf$$.dir
2>/dev
/null
20810 # Create "$as_dir" as a directory, including parents if necessary.
20815 -*) as_dir
=.
/$as_dir;;
20817 test -d "$as_dir" || eval $as_mkdir_p || {
20821 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20822 *) as_qdir
=$as_dir;;
20824 as_dirs
="'$as_qdir' $as_dirs"
20825 as_dir
=`$as_dirname -- "$as_dir" ||
20826 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20827 X"$as_dir" : 'X\(//\)[^/]' \| \
20828 X"$as_dir" : 'X\(//\)$' \| \
20829 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20830 $as_echo X"$as_dir" |
20831 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20835 /^X\(\/\/\)[^/].*/{
20848 test -d "$as_dir" && break
20850 test -z "$as_dirs" || eval "mkdir $as_dirs"
20851 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
20855 if mkdir -p .
2>/dev
/null
; then
20856 as_mkdir_p
='mkdir -p "$as_dir"'
20858 test -d .
/-p && rmdir .
/-p
20863 # as_fn_executable_p FILE
20864 # -----------------------
20865 # Test if FILE is an executable regular file.
20866 as_fn_executable_p
()
20868 test -f "$1" && test -x "$1"
20869 } # as_fn_executable_p
20870 as_test_x
='test -x'
20871 as_executable_p
=as_fn_executable_p
20873 # Sed expression to map a string onto a valid CPP name.
20874 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20876 # Sed expression to map a string onto a valid variable name.
20877 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20881 ## ----------------------------------- ##
20882 ## Main body of $CONFIG_STATUS script. ##
20883 ## ----------------------------------- ##
20885 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
20887 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
20888 # Save the log message, to keep $0 and so on meaningful, and to
20889 # report actual input values of CONFIG_FILES etc. instead of their
20890 # values after options handling.
20892 This file was extended by Cycript $as_me 0.9, which was
20893 generated by GNU Autoconf 2.69. Invocation command line was
20895 CONFIG_FILES = $CONFIG_FILES
20896 CONFIG_HEADERS = $CONFIG_HEADERS
20897 CONFIG_LINKS = $CONFIG_LINKS
20898 CONFIG_COMMANDS = $CONFIG_COMMANDS
20901 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20906 case $ac_config_files in *"
20907 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
20910 case $ac_config_headers in *"
20911 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
20915 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20916 # Files that config.status was made for.
20917 config_files="$ac_config_files"
20918 config_headers="$ac_config_headers"
20919 config_commands="$ac_config_commands"
20923 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
20925 \`$as_me' instantiates files and other configuration actions
20926 from templates according to the current configuration. Unless the files
20927 and actions are specified as TAGs, all are instantiated by default.
20929 Usage: $0 [OPTION]... [TAG]...
20931 -h, --help print this help, then exit
20932 -V, --version print version number and configuration settings, then exit
20933 --config print configuration, then exit
20934 -q, --quiet, --silent
20935 do not print progress messages
20936 -d, --debug don't remove temporary files
20937 --recheck update $as_me by reconfiguring in the same conditions
20938 --file=FILE[:TEMPLATE]
20939 instantiate the configuration file FILE
20940 --header=FILE[:TEMPLATE]
20941 instantiate the configuration header FILE
20943 Configuration files:
20946 Configuration headers:
20949 Configuration commands:
20952 Report bugs to <saurik@saurik.com>.
20953 Cycript home page: <http://www.cycript.org/>."
20956 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20957 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20959 Cycript config.status 0.9
20960 configured by $0, generated by GNU Autoconf 2.69,
20961 with options \\"\$ac_cs_config\\"
20963 Copyright (C) 2012 Free Software Foundation, Inc.
20964 This config.status script is free software; the Free Software Foundation
20965 gives unlimited permission to copy, distribute and modify it."
20972 test -n "\$AWK" || AWK=awk
20975 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
20976 # The default lists apply if the user does not specify any file.
20982 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20983 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
20987 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20999 # Handling of the options.
21000 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21002 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21003 $as_echo "$ac_cs_version"; exit ;;
21004 --config | --confi | --conf | --con | --co | --c )
21005 $as_echo "$ac_cs_config"; exit ;;
21006 --debug | --debu | --deb | --de | --d | -d )
21008 --file | --fil | --fi | --f )
21011 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21012 '') as_fn_error $?
"missing file argument" ;;
21014 as_fn_append CONFIG_FILES
" '$ac_optarg'"
21015 ac_need_defaults
=false
;;
21016 --header | --heade | --head | --hea )
21019 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21021 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
21022 ac_need_defaults
=false
;;
21024 # Conflict between --help and --header
21025 as_fn_error $?
"ambiguous option: \`$1'
21026 Try \`$0 --help' for more information.";;
21027 --help | --hel | -h )
21028 $as_echo "$ac_cs_usage"; exit ;;
21029 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21030 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21033 # This is an error.
21034 -*) as_fn_error $?
"unrecognized option: \`$1'
21035 Try \`$0 --help' for more information." ;;
21037 *) as_fn_append ac_config_targets
" $1"
21038 ac_need_defaults
=false
;;
21044 ac_configure_extra_args
=
21046 if $ac_cs_silent; then
21048 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21052 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21053 if \$ac_cs_recheck; then
21054 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21056 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21057 CONFIG_SHELL='$SHELL'
21058 export CONFIG_SHELL
21063 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21067 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21068 ## Running $as_me. ##
21074 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21078 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
21081 # The HP-UX ksh and POSIX shell print the target directory to stdout
21082 # if CDPATH is set.
21083 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21085 sed_quote_subst='$sed_quote_subst'
21086 double_quote_subst='$double_quote_subst'
21087 delay_variable_subst='$delay_variable_subst'
21088 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
21089 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
21090 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
21091 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
21092 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
21093 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
21094 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
21095 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
21096 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
21097 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
21098 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
21099 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
21100 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
21101 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
21102 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
21103 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
21104 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
21105 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
21106 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
21107 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
21108 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
21109 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
21110 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
21111 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
21112 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
21113 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
21114 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
21115 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
21116 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
21117 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
21118 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
21119 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
21120 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
21121 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
21122 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
21123 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
21124 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
21125 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
21126 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
21127 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
21128 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
21129 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
21130 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
21131 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
21132 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
21133 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
21134 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
21135 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
21136 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
21137 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
21138 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
21139 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
21140 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
21141 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
21142 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
21143 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
21144 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"`'
21145 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
21146 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
21147 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
21148 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
21149 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
21150 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
21151 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
21152 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
21153 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
21154 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
21155 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
21156 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
21157 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
21158 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
21159 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
21160 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
21161 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
21162 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
21163 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
21164 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
21165 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
21166 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
21167 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
21168 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
21169 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
21170 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
21171 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
21172 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
21173 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
21174 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
21175 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
21176 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
21177 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
21178 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
21179 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
21180 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
21181 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
21182 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
21183 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
21184 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
21185 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
21186 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
21187 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
21188 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
21189 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
21190 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
21191 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
21192 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
21193 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
21194 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
21195 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
21196 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
21197 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
21198 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
21199 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
21200 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
21201 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
21202 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
21203 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
21204 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
21205 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
21206 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
21207 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
21208 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
21209 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
21210 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
21211 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
21212 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
21213 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
21214 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
21215 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
21216 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
21217 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
21218 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
21219 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
21220 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
21221 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
21222 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
21223 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
21224 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
21225 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
21226 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21227 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21228 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
21229 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
21230 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
21231 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
21232 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
21233 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
21234 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
21235 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
21236 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
21237 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21238 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21239 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
21240 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21241 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21242 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21243 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21244 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21245 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21246 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
21247 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
21248 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
21249 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21250 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
21251 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
21252 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
21253 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
21254 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
21255 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
21256 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
21257 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
21258 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
21259 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21260 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
21261 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
21262 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21263 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21264 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
21265 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
21266 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
21267 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
21268 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
21269 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
21270 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
21271 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
21274 LTCFLAGS='$LTCFLAGS'
21275 compiler='$compiler_DEFAULT'
21277 # A function that is used when there is no print builtin or printf.
21278 func_fallback_echo ()
21280 eval 'cat <<_LTECHO_EOF
21285 # Quote evaled strings.
21300 deplibs_check_method \
21305 sharedlib_from_linklib_cmd \
21308 archiver_list_spec \
21314 lt_cv_sys_global_symbol_pipe \
21315 lt_cv_sys_global_symbol_to_cdecl \
21316 lt_cv_sys_global_symbol_to_c_name_address \
21317 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
21318 nm_file_list_spec \
21319 lt_prog_compiler_no_builtin_flag \
21320 lt_prog_compiler_pic \
21321 lt_prog_compiler_wl \
21322 lt_prog_compiler_static \
21323 lt_cv_prog_compiler_c_o \
21332 export_dynamic_flag_spec \
21333 whole_archive_flag_spec \
21334 compiler_needs_object \
21336 allow_undefined_flag \
21337 no_undefined_flag \
21338 hardcode_libdir_flag_spec \
21339 hardcode_libdir_separator \
21343 variables_saved_for_relink \
21345 library_names_spec \
21347 install_override_mode \
21351 compiler_lib_search_dirs \
21356 compiler_lib_search_path \
21360 lt_prog_compiler_no_builtin_flag_CXX \
21361 lt_prog_compiler_pic_CXX \
21362 lt_prog_compiler_wl_CXX \
21363 lt_prog_compiler_static_CXX \
21364 lt_cv_prog_compiler_c_o_CXX \
21365 export_dynamic_flag_spec_CXX \
21366 whole_archive_flag_spec_CXX \
21367 compiler_needs_object_CXX \
21369 allow_undefined_flag_CXX \
21370 no_undefined_flag_CXX \
21371 hardcode_libdir_flag_spec_CXX \
21372 hardcode_libdir_separator_CXX \
21373 exclude_expsyms_CXX \
21374 include_expsyms_CXX \
21375 file_list_spec_CXX \
21376 compiler_lib_search_dirs_CXX \
21377 predep_objects_CXX \
21378 postdep_objects_CXX \
21381 compiler_lib_search_path_CXX; do
21382 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21383 *[\\\\\\\`\\"\\\$]*)
21384 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
21387 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21392 # Double-quote double-evaled strings.
21393 for var in reload_cmds \
21394 old_postinstall_cmds \
21395 old_postuninstall_cmds \
21397 extract_expsyms_cmds \
21398 old_archive_from_new_cmds \
21399 old_archive_from_expsyms_cmds \
21401 archive_expsym_cmds \
21403 module_expsym_cmds \
21404 export_symbols_cmds \
21408 postuninstall_cmds \
21410 sys_lib_search_path_spec \
21411 sys_lib_dlsearch_path_spec \
21413 old_archive_cmds_CXX \
21414 old_archive_from_new_cmds_CXX \
21415 old_archive_from_expsyms_cmds_CXX \
21417 archive_expsym_cmds_CXX \
21419 module_expsym_cmds_CXX \
21420 export_symbols_cmds_CXX \
21422 postlink_cmds_CXX; do
21423 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21424 *[\\\\\\\`\\"\\\$]*)
21425 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
21428 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21433 ac_aux_dir='$ac_aux_dir'
21434 xsi_shell='$xsi_shell'
21435 lt_shell_append='$lt_shell_append'
21437 # See if we are running on zsh, and set the options which allow our
21438 # commands through without removal of \ escapes INIT.
21439 if test -n "\${ZSH_VERSION+set}" ; then
21440 setopt NO_GLOB_SUBST
21446 TIMESTAMP='$TIMESTAMP'
21457 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21459 # Handling of arguments.
21460 for ac_config_target
in $ac_config_targets
21462 case $ac_config_target in
21463 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
21464 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
21465 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
21466 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21468 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21473 # If the user did not use the arguments to specify the items to instantiate,
21474 # then the envvar interface is used. Set only those that are not.
21475 # We use the long form for the default assignment because of an extremely
21476 # bizarre bug on SunOS 4.1.3.
21477 if $ac_need_defaults; then
21478 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21479 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
21480 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21483 # Have a temporary directory for convenience. Make it in the build tree
21484 # simply because there is no reason against having it here, and in addition,
21485 # creating and moving files from /tmp can sometimes cause problems.
21486 # Hook for its removal unless debugging.
21487 # Note that there is a small window in which the directory will not be cleaned:
21488 # after its creation but before its name has been assigned to `$tmp'.
21492 trap 'exit_status=$?
21493 : "${ac_tmp:=$tmp}"
21494 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21496 trap 'as_fn_exit 1' 1 2 13 15
21498 # Create a (secure) tmp directory for tmp files.
21501 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21505 tmp
=.
/conf$$
-$RANDOM
21506 (umask 077 && mkdir "$tmp")
21507 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
21510 # Set up the scripts for CONFIG_FILES section.
21511 # No need to generate them if there are no CONFIG_FILES.
21512 # This happens for instance with `./config.status config.h'.
21513 if test -n "$CONFIG_FILES"; then
21516 ac_cr
=`echo X | tr X '\015'`
21517 # On cygwin, bash can eat \r inside `` if the user requested igncr.
21518 # But we know of no other shell where ac_cr would be empty at this
21519 # point, so we can use a bashism as a fallback.
21520 if test "x$ac_cr" = x
; then
21521 eval ac_cr
=\$
\'\\r
\'
21523 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21524 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21527 ac_cs_awk_cr
=$ac_cr
21530 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21535 echo "cat >conf$$subs.awk <<_ACEOF" &&
21536 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21538 } >conf$$subs.sh ||
21539 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21540 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21542 for ac_last_try in false false false false false :; do
21543 . ./conf$$subs.sh ||
21544 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21546 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
21547 if test $ac_delim_n = $ac_delim_num; then
21549 elif $ac_last_try; then
21550 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21552 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
21555 rm -f conf$$subs.sh
21557 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21558 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
21562 s/^/S["/; s
/!.
*/"]=/
21572 s/\(.\{148\}\)..*/\1/
21574 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
21579 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
21586 s/\(.\{148\}\)..*/\1/
21588 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
21592 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
21597 ' <conf$$subs.awk | sed '
21602 ' >>$CONFIG_STATUS || ac_write_fail=1
21603 rm -f conf$$subs.awk
21604 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21606 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
21607 for (key in S) S_is_set[key] = 1
21613 nfields = split(line, field, "@
")
21615 len = length(field[1])
21616 for (i = 2; i < nfields; i++) {
21618 keylen = length(key)
21619 if (S_is_set[key]) {
21621 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21622 len += length(value) + length(field[++i])
21633 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21634 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21635 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
21638 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
21639 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
21642 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21643 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
21644 # trailing colons and then remove the whole line if VPATH becomes empty
21645 # (actually we leave an empty line to preserve line numbers).
21646 if test "x
$srcdir" = x.; then
21647 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21665 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21666 fi # test -n "$CONFIG_FILES"
21668 # Set up the scripts for CONFIG_HEADERS section.
21669 # No need to generate them if there are no CONFIG_HEADERS.
21670 # This happens for instance with `./config.status Makefile'.
21671 if test -n "$CONFIG_HEADERS"; then
21672 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
21676 # Transform confdefs.h into an awk script `defines.awk', embedded as
21677 # here-document in config.status, that substitutes the proper values into
21678 # config.h.in to produce config.h.
21680 # Create a delimiter string that does not exist in confdefs.h, to ease
21681 # handling of long lines.
21683 for ac_last_try in false false :; do
21684 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
21685 if test -z "$ac_tt"; then
21687 elif $ac_last_try; then
21688 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
21690 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
21694 # For the awk script, D is an array of macro values keyed by name,
21695 # likewise P contains macro parameters if any. Preserve backslash
21696 # newline sequences.
21698 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21700 s/.\{148\}/&'"$ac_delim"'/g
21703 s/^[ ]*#[ ]*define[ ][ ]*/ /
21710 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
21712 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
21716 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
21717 D["\
1"]=" \
3\\\\\\n
"\\/p
21719 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
21724 s/.\{148\}/&'"$ac_delim"'/g
21729 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
21732 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
21734 ' <confdefs.h | sed '
21735 s/'"$ac_delim"'/"\\\
21736 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21738 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21739 for (key in D) D_is_set[key] = 1
21742 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21744 split(line, arg, " ")
21745 if (arg[1] == "#") {
21749 defundef
= substr
(arg
[1], 2)
21752 split(mac1
, mac2
, "(") #)
21754 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
21755 if (D_is_set
[macro
]) {
21756 # Preserve the white space surrounding the "#".
21757 print prefix
"define", macro P
[macro
] D
[macro
]
21760 # Replace #undef with comments. This is necessary, for example,
21761 # in the case of _POSIX_SOURCE, which is predefined and required
21762 # on some systems where configure will not decide to define it.
21763 if (defundef
== "undef") {
21764 print
"/*", prefix defundef
, macro
, "*/"
21772 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21773 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
21774 fi # test -n "$CONFIG_HEADERS"
21777 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
21782 :[FHLC
]) ac_mode
=$ac_tag; continue;;
21784 case $ac_mode$ac_tag in
21786 :L
* | :C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
21787 :[FH
]-) ac_tag
=-:-;;
21788 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
21805 -) ac_f
="$ac_tmp/stdin";;
21806 *) # Look for the file first in the build tree, then in the source tree
21807 # (if the path is not absolute). The absolute path cannot be DOS-style,
21808 # because $ac_f cannot contain `:'.
21812 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
21814 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21816 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21817 as_fn_append ac_file_inputs
" '$ac_f'"
21820 # Let's still pretend it is `configure' which instantiates (i.e., don't
21821 # use $as_me), people would be surprised to read:
21822 # /* config.h. Generated by config.status. */
21823 configure_input
='Generated from '`
21824 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21826 if test x
"$ac_file" != x
-; then
21827 configure_input
="$ac_file. $configure_input"
21828 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21829 $as_echo "$as_me: creating $ac_file" >&6;}
21831 # Neutralize special characters interpreted by sed in replacement strings.
21832 case $configure_input in #(
21833 *\
&* | *\
|* | *\\* )
21834 ac_sed_conf_input
=`$as_echo "$configure_input" |
21835 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21836 *) ac_sed_conf_input
=$configure_input;;
21840 *:-:* | *:-) cat >"$ac_tmp/stdin" \
21841 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
21846 ac_dir
=`$as_dirname -- "$ac_file" ||
21847 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21848 X"$ac_file" : 'X\(//\)[^/]' \| \
21849 X"$ac_file" : 'X\(//\)$' \| \
21850 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21851 $as_echo X"$ac_file" |
21852 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21856 /^X\(\/\/\)[^/].*/{
21869 as_dir
="$ac_dir"; as_fn_mkdir_p
21873 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21875 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21876 # A ".." for each directory in $ac_dir_suffix.
21877 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21878 case $ac_top_builddir_sub in
21879 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21880 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
21883 ac_abs_top_builddir
=$ac_pwd
21884 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
21885 # for backward compatibility:
21886 ac_top_builddir
=$ac_top_build_prefix
21889 .
) # We are building in place.
21891 ac_top_srcdir
=$ac_top_builddir_sub
21892 ac_abs_top_srcdir
=$ac_pwd ;;
21893 [\\/]* | ?
:[\\/]* ) # Absolute name.
21894 ac_srcdir
=$srcdir$ac_dir_suffix;
21895 ac_top_srcdir
=$srcdir
21896 ac_abs_top_srcdir
=$srcdir ;;
21897 *) # Relative name.
21898 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
21899 ac_top_srcdir
=$ac_top_build_prefix$srcdir
21900 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
21902 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
21912 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21913 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
21915 ac_MKDIR_P
=$MKDIR_P
21917 [\\/$
]* | ?
:[\\/]* ) ;;
21918 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
21922 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21923 # If the template does not know about datarootdir, expand it.
21924 # FIXME: This hack should be removed a few years after 2.60.
21925 ac_datarootdir_hack
=; ac_datarootdir_seen
=
21936 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21937 *datarootdir
*) ac_datarootdir_seen
=yes;;
21938 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
21939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21940 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21942 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21943 ac_datarootdir_hack='
21944 s&@datadir@&$datadir&g
21945 s&@docdir@&$docdir&g
21946 s&@infodir@&$infodir&g
21947 s&@localedir@&$localedir&g
21948 s&@mandir@&$mandir&g
21949 s&\\\${datarootdir}&$datarootdir&g' ;;
21953 # Neutralize VPATH when `$srcdir' = `.'.
21954 # Shell code in configure.ac might set extrasub.
21955 # FIXME: do we really want to maintain this feature?
21956 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21957 ac_sed_extra="$ac_vpsub
21960 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21962 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
21963 s
|@configure_input@
|$ac_sed_conf_input|;t t
21964 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
21965 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
21966 s
&@srcdir@
&$ac_srcdir&;t t
21967 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
21968 s
&@top_srcdir@
&$ac_top_srcdir&;t t
21969 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
21970 s
&@builddir@
&$ac_builddir&;t t
21971 s
&@abs_builddir@
&$ac_abs_builddir&;t t
21972 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
21973 s
&@INSTALL@
&$ac_INSTALL&;t t
21974 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
21975 $ac_datarootdir_hack
21977 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
21978 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
21980 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21981 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
21982 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21983 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
21984 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
21985 which seems to be undefined. Please make sure it is defined" >&5
21986 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
21987 which seems to be undefined. Please make sure it is defined" >&2;}
21989 rm -f "$ac_tmp/stdin"
21991 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21992 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21994 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22000 if test x"$ac_file" != x-; then
22002 $as_echo "/* $configure_input */" \
22003 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22004 } >"$ac_tmp/config.h" \
22005 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22006 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22007 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22008 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22011 mv "$ac_tmp/config.h" "$ac_file" \
22012 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22015 $as_echo "/* $configure_input */" \
22016 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22017 || as_fn_error $? "could not create -" "$LINENO" 5
22019 # Compute "$ac_file"'s index
in $config_headers.
22022 for _am_header
in $config_headers :; do
22023 case $_am_header in
22024 $_am_arg | $_am_arg:* )
22027 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
22030 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
22031 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22032 X"$_am_arg" : 'X\(//\)[^/]' \| \
22033 X"$_am_arg" : 'X\(//\)$' \| \
22034 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
22035 $as_echo X"$_am_arg" |
22036 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22040 /^X\(\/\/\)[^/].*/{
22052 s/.*/./; q'`/stamp
-h$_am_stamp_count
22055 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22056 $as_echo "$as_me: executing $ac_file commands" >&6;}
22061 case $ac_file$ac_mode in
22062 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" || {
22063 # Older Autoconf quotes --file arguments for eval, but not when files
22064 # are listed without --file. Let's play safe and only enable the eval
22065 # if we detect the quoting.
22066 case $CONFIG_FILES in
22067 *\'*) eval set x
"$CONFIG_FILES" ;;
22068 *) set x
$CONFIG_FILES ;;
22073 # Strip MF so we end up with the name of the file.
22074 mf
=`echo "$mf" | sed -e 's/:.*$//'`
22075 # Check whether this is an Automake generated Makefile or not.
22076 # We used to match only the files named 'Makefile.in', but
22077 # some people rename them; so instead we look at the file content.
22078 # Grep'ing the first line is not enough: some people post-process
22079 # each Makefile.in and add a new line on top of each file to say so.
22080 # Grep'ing the whole file is not good either: AIX grep has a line
22081 # limit of 2048, but all sed's we know have understand at least 4000.
22082 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X
>/dev
/null
2>&1; then
22083 dirpart
=`$as_dirname -- "$mf" ||
22084 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22085 X"$mf" : 'X\(//\)[^/]' \| \
22086 X"$mf" : 'X\(//\)$' \| \
22087 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
22089 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22093 /^X\(\/\/\)[^/].*/{
22109 # Extract the definition of DEPDIR, am__include, and am__quote
22110 # from the Makefile without running 'make'.
22111 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
22112 test -z "$DEPDIR" && continue
22113 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
22114 test -z "$am__include" && continue
22115 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
22116 # Find all dependency output files, they are included files with
22117 # $(DEPDIR) in their names. We invoke sed twice because it is the
22118 # simplest approach to changing $(DEPDIR) to its actual value in the
22120 for file in `sed -n "
22121 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
22122 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
22123 # Make sure the directory exists.
22124 test -f "$dirpart/$file" && continue
22125 fdir
=`$as_dirname -- "$file" ||
22126 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22127 X"$file" : 'X\(//\)[^/]' \| \
22128 X"$file" : 'X\(//\)$' \| \
22129 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
22130 $as_echo X"$file" |
22131 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22135 /^X\(\/\/\)[^/].*/{
22148 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
22149 # echo "creating $dirpart/$file"
22150 echo '# dummy' > "$dirpart/$file"
22157 # See if we are running on zsh, and set the options which allow our
22158 # commands through without removal of \ escapes.
22159 if test -n "${ZSH_VERSION+set}" ; then
22160 setopt NO_GLOB_SUBST
22163 cfgfile
="${ofile}T"
22164 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
22167 cat <<_LT_EOF >> "$cfgfile"
22170 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
22171 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
22172 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22173 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
22175 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
22176 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
22178 # Written by Gordon Matzigkeit, 1996
22180 # This file is part of GNU Libtool.
22182 # GNU Libtool is free software; you can redistribute it and/or
22183 # modify it under the terms of the GNU General Public License as
22184 # published by the Free Software Foundation; either version 2 of
22185 # the License, or (at your option) any later version.
22187 # As a special exception to the GNU General Public License,
22188 # if you distribute this file as part of a program or library that
22189 # is built using GNU Libtool, you may include this file under the
22190 # same distribution terms that you use for the rest of that program.
22192 # GNU Libtool is distributed in the hope that it will be useful,
22193 # but WITHOUT ANY WARRANTY; without even the implied warranty of
22194 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22195 # GNU General Public License for more details.
22197 # You should have received a copy of the GNU General Public License
22198 # along with GNU Libtool; see the file COPYING. If not, a copy
22199 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
22200 # obtained by writing to the Free Software Foundation, Inc.,
22201 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22204 # The names of the tagged configurations supported by this script.
22205 available_tags="CXX "
22207 # ### BEGIN LIBTOOL CONFIG
22209 # Which release of libtool.m4 was used?
22210 macro_version=$macro_version
22211 macro_revision=$macro_revision
22213 # Whether or not to build static libraries.
22214 build_old_libs=$enable_static
22216 # Whether or not to build shared libraries.
22217 build_libtool_libs=$enable_shared
22219 # What type of objects to build.
22222 # Whether or not to optimize for fast installation.
22223 fast_install=$enable_fast_install
22225 # Shell to use when invoking shell scripts.
22228 # An echo program that protects backslashes.
22231 # The PATH separator for the build system.
22232 PATH_SEPARATOR=$lt_PATH_SEPARATOR
22235 host_alias=$host_alias
22239 # The build system.
22240 build_alias=$build_alias
22244 # A sed program that does not truncate output.
22247 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
22248 Xsed="\$SED -e 1s/^X//"
22250 # A grep program that handles long lines.
22256 # A literal string matcher.
22259 # A BSD- or MS-compatible name lister.
22262 # Whether we need soft or hard links.
22265 # What is the maximum length of a command?
22266 max_cmd_len=$max_cmd_len
22268 # Object file suffix (normally "o").
22271 # Executable file suffix (normally "").
22274 # whether the shell understands "unset".
22277 # turn spaces into newlines.
22280 # turn newlines into spaces.
22283 # convert \$build file names to \$host format.
22284 to_host_file_cmd=$lt_cv_to_host_file_cmd
22286 # convert \$build files to toolchain format.
22287 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
22289 # An object symbol dumper.
22290 OBJDUMP=$lt_OBJDUMP
22292 # Method to check whether dependent libraries are shared objects.
22293 deplibs_check_method=$lt_deplibs_check_method
22295 # Command to use when deplibs_check_method = "file_magic".
22296 file_magic_cmd=$lt_file_magic_cmd
22298 # How to find potential files when deplibs_check_method = "file_magic".
22299 file_magic_glob=$lt_file_magic_glob
22301 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
22302 want_nocaseglob=$lt_want_nocaseglob
22304 # DLL creation program.
22305 DLLTOOL=$lt_DLLTOOL
22307 # Command to associate shared and link libraries.
22308 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
22313 # Flags to create an archive.
22314 AR_FLAGS=$lt_AR_FLAGS
22316 # How to feed a file listing to the archiver.
22317 archiver_list_spec=$lt_archiver_list_spec
22319 # A symbol stripping program.
22322 # Commands used to install an old-style archive.
22324 old_postinstall_cmds=$lt_old_postinstall_cmds
22325 old_postuninstall_cmds=$lt_old_postuninstall_cmds
22327 # Whether to use a lock for old archive extraction.
22328 lock_old_archive_extraction=$lock_old_archive_extraction
22333 # LTCC compiler flags.
22334 LTCFLAGS=$lt_CFLAGS
22336 # Take the output of nm and produce a listing of raw symbols and C names.
22337 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
22339 # Transform the output of nm in a proper C declaration.
22340 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
22342 # Transform the output of nm in a C name address pair.
22343 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
22345 # Transform the output of nm in a C name address pair when lib prefix is needed.
22346 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
22348 # Specify filename containing input files for \$NM.
22349 nm_file_list_spec=$lt_nm_file_list_spec
22351 # The root where to search for dependent libraries,and in which our libraries should be installed.
22352 lt_sysroot=$lt_sysroot
22354 # The name of the directory that contains temporary libtool files.
22357 # Used to examine libraries when file_magic_cmd begins with "file".
22358 MAGIC_CMD=$MAGIC_CMD
22360 # Must we lock files when doing compilation?
22361 need_locks=$lt_need_locks
22364 MANIFEST_TOOL=$lt_MANIFEST_TOOL
22366 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
22367 DSYMUTIL=$lt_DSYMUTIL
22369 # Tool to change global to local symbols on Mac OS X.
22372 # Tool to manipulate fat objects and archives on Mac OS X.
22375 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
22378 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
22379 OTOOL64=$lt_OTOOL64
22381 # Old archive suffix (normally "a").
22384 # Shared library suffix (normally ".so").
22385 shrext_cmds=$lt_shrext_cmds
22387 # The commands to extract the exported symbol list from a shared archive.
22388 extract_expsyms_cmds=$lt_extract_expsyms_cmds
22390 # Variables whose values should be saved in libtool wrapper scripts and
22391 # restored at link time.
22392 variables_saved_for_relink=$lt_variables_saved_for_relink
22394 # Do we need the "lib" prefix for modules?
22395 need_lib_prefix=$need_lib_prefix
22397 # Do we need a version for libraries?
22398 need_version=$need_version
22400 # Library versioning type.
22401 version_type=$version_type
22403 # Shared library runtime path variable.
22404 runpath_var=$runpath_var
22406 # Shared library path variable.
22407 shlibpath_var=$shlibpath_var
22409 # Is shlibpath searched before the hard-coded library search path?
22410 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
22412 # Format of library name prefix.
22413 libname_spec=$lt_libname_spec
22415 # List of archive names. First name is the real one, the rest are links.
22416 # The last name is the one that the linker finds with -lNAME
22417 library_names_spec=$lt_library_names_spec
22419 # The coded name of the library, if different from the real name.
22420 soname_spec=$lt_soname_spec
22422 # Permission mode override for installation of shared libraries.
22423 install_override_mode=$lt_install_override_mode
22425 # Command to use after installation of a shared archive.
22426 postinstall_cmds=$lt_postinstall_cmds
22428 # Command to use after uninstallation of a shared archive.
22429 postuninstall_cmds=$lt_postuninstall_cmds
22431 # Commands used to finish a libtool library installation in a directory.
22432 finish_cmds=$lt_finish_cmds
22434 # As "finish_cmds", except a single script fragment to be evaled but
22436 finish_eval=$lt_finish_eval
22438 # Whether we should hardcode library paths into libraries.
22439 hardcode_into_libs=$hardcode_into_libs
22441 # Compile-time system search path for libraries.
22442 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
22444 # Run-time system search path for libraries.
22445 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
22447 # Whether dlopen is supported.
22448 dlopen_support=$enable_dlopen
22450 # Whether dlopen of programs is supported.
22451 dlopen_self=$enable_dlopen_self
22453 # Whether dlopen of statically linked programs is supported.
22454 dlopen_self_static=$enable_dlopen_self_static
22456 # Commands to strip libraries.
22457 old_striplib=$lt_old_striplib
22458 striplib=$lt_striplib
22461 # The linker used to build libraries.
22464 # How to create reloadable object files.
22465 reload_flag=$lt_reload_flag
22466 reload_cmds=$lt_reload_cmds
22468 # Commands used to build an old-style archive.
22469 old_archive_cmds=$lt_old_archive_cmds
22471 # A language specific compiler.
22474 # Is the compiler the GNU compiler?
22477 # Compiler flag to turn off builtin functions.
22478 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
22480 # Additional compiler flags for building library objects.
22481 pic_flag=$lt_lt_prog_compiler_pic
22483 # How to pass a linker flag through the compiler.
22484 wl=$lt_lt_prog_compiler_wl
22486 # Compiler flag to prevent dynamic linking.
22487 link_static_flag=$lt_lt_prog_compiler_static
22489 # Does compiler simultaneously support -c and -o options?
22490 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
22492 # Whether or not to add -lc for building shared libraries.
22493 build_libtool_need_lc=$archive_cmds_need_lc
22495 # Whether or not to disallow shared libs when runtime libs are static.
22496 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
22498 # Compiler flag to allow reflexive dlopens.
22499 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
22501 # Compiler flag to generate shared objects directly from archives.
22502 whole_archive_flag_spec=$lt_whole_archive_flag_spec
22504 # Whether the compiler copes with passing no objects directly.
22505 compiler_needs_object=$lt_compiler_needs_object
22507 # Create an old-style archive from a shared archive.
22508 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
22510 # Create a temporary old-style archive to link instead of a shared archive.
22511 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
22513 # Commands used to build a shared archive.
22514 archive_cmds=$lt_archive_cmds
22515 archive_expsym_cmds=$lt_archive_expsym_cmds
22517 # Commands used to build a loadable module if different from building
22518 # a shared archive.
22519 module_cmds=$lt_module_cmds
22520 module_expsym_cmds=$lt_module_expsym_cmds
22522 # Whether we are building with GNU ld or not.
22523 with_gnu_ld=$lt_with_gnu_ld
22525 # Flag that allows shared libraries with undefined symbols to be built.
22526 allow_undefined_flag=$lt_allow_undefined_flag
22528 # Flag that enforces no undefined symbols.
22529 no_undefined_flag=$lt_no_undefined_flag
22531 # Flag to hardcode \$libdir into a binary during linking.
22532 # This must work even if \$libdir does not exist
22533 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
22535 # Whether we need a single "-rpath" flag with a separated argument.
22536 hardcode_libdir_separator=$lt_hardcode_libdir_separator
22538 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22539 # DIR into the resulting binary.
22540 hardcode_direct=$hardcode_direct
22542 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22543 # DIR into the resulting binary and the resulting library dependency is
22544 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22545 # library is relocated.
22546 hardcode_direct_absolute=$hardcode_direct_absolute
22548 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22549 # into the resulting binary.
22550 hardcode_minus_L=$hardcode_minus_L
22552 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22553 # into the resulting binary.
22554 hardcode_shlibpath_var=$hardcode_shlibpath_var
22556 # Set to "yes" if building a shared library automatically hardcodes DIR
22557 # into the library and all subsequent libraries and executables linked
22559 hardcode_automatic=$hardcode_automatic
22561 # Set to yes if linker adds runtime paths of dependent libraries
22562 # to runtime path list.
22563 inherit_rpath=$inherit_rpath
22565 # Whether libtool must link a program against all its dependency libraries.
22566 link_all_deplibs=$link_all_deplibs
22568 # Set to "yes" if exported symbols are required.
22569 always_export_symbols=$always_export_symbols
22571 # The commands to list exported symbols.
22572 export_symbols_cmds=$lt_export_symbols_cmds
22574 # Symbols that should not be listed in the preloaded symbols.
22575 exclude_expsyms=$lt_exclude_expsyms
22577 # Symbols that must always be exported.
22578 include_expsyms=$lt_include_expsyms
22580 # Commands necessary for linking programs (against libraries) with templates.
22581 prelink_cmds=$lt_prelink_cmds
22583 # Commands necessary for finishing linking programs.
22584 postlink_cmds=$lt_postlink_cmds
22586 # Specify filename containing input files.
22587 file_list_spec=$lt_file_list_spec
22589 # How to hardcode a shared library path into an executable.
22590 hardcode_action=$hardcode_action
22592 # The directories searched by this compiler when creating a shared library.
22593 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
22595 # Dependencies to place before and after the objects being linked to
22596 # create a shared library.
22597 predep_objects=$lt_predep_objects
22598 postdep_objects=$lt_postdep_objects
22599 predeps=$lt_predeps
22600 postdeps=$lt_postdeps
22602 # The library search path used internally by the compiler when linking
22603 # a shared library.
22604 compiler_lib_search_path=$lt_compiler_lib_search_path
22606 # ### END LIBTOOL CONFIG
22612 cat <<\_LT_EOF
>> "$cfgfile"
22613 # AIX sometimes has problems with the GCC collect2 program. For some
22614 # reason, if we set the COLLECT_NAMES environment variable, the problems
22615 # vanish in a puff of smoke.
22616 if test "X${COLLECT_NAMES+set}" != Xset
; then
22618 export COLLECT_NAMES
22625 ltmain
="$ac_aux_dir/ltmain.sh"
22628 # We use sed instead of cat because bash on DJGPP gets confused if
22629 # if finds mixed CR/LF and LF-only lines. Since sed operates in
22630 # text mode, it properly converts lines to CR/LF. This bash problem
22631 # is reportedly fixed, but why not run on old versions too?
22632 sed '$q' "$ltmain" >> "$cfgfile" \
22633 || (rm -f "$cfgfile"; exit 1)
22635 if test x
"$xsi_shell" = xyes
; then
22636 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
22640 \ */*) func_dirname_result="${1%/*}${2}" ;;\
22641 \ * ) func_dirname_result="${3}" ;;\
22643 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
22644 && mv -f "$cfgfile.tmp" "$cfgfile" \
22645 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22646 test 0 -eq $?
|| _lt_function_replace_fail
=:
22649 sed -e '/^func_basename ()$/,/^} # func_basename /c\
22652 \ func_basename_result="${1##*/}"\
22653 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
22654 && mv -f "$cfgfile.tmp" "$cfgfile" \
22655 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22656 test 0 -eq $?
|| _lt_function_replace_fail
=:
22659 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
22660 func_dirname_and_basename ()\
22663 \ */*) func_dirname_result="${1%/*}${2}" ;;\
22664 \ * ) func_dirname_result="${3}" ;;\
22666 \ func_basename_result="${1##*/}"\
22667 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
22668 && mv -f "$cfgfile.tmp" "$cfgfile" \
22669 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22670 test 0 -eq $?
|| _lt_function_replace_fail
=:
22673 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
22676 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
22677 \ # positional parameters, so assign one to ordinary parameter first.\
22678 \ func_stripname_result=${3}\
22679 \ func_stripname_result=${func_stripname_result#"${1}"}\
22680 \ func_stripname_result=${func_stripname_result%"${2}"}\
22681 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
22682 && mv -f "$cfgfile.tmp" "$cfgfile" \
22683 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22684 test 0 -eq $?
|| _lt_function_replace_fail
=:
22687 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
22688 func_split_long_opt ()\
22690 \ func_split_long_opt_name=${1%%=*}\
22691 \ func_split_long_opt_arg=${1#*=}\
22692 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
22693 && mv -f "$cfgfile.tmp" "$cfgfile" \
22694 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22695 test 0 -eq $?
|| _lt_function_replace_fail
=:
22698 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
22699 func_split_short_opt ()\
22701 \ func_split_short_opt_arg=${1#??}\
22702 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
22703 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
22704 && mv -f "$cfgfile.tmp" "$cfgfile" \
22705 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22706 test 0 -eq $?
|| _lt_function_replace_fail
=:
22709 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
22713 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
22714 \ *) func_lo2o_result=${1} ;;\
22716 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
22717 && mv -f "$cfgfile.tmp" "$cfgfile" \
22718 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22719 test 0 -eq $?
|| _lt_function_replace_fail
=:
22722 sed -e '/^func_xform ()$/,/^} # func_xform /c\
22725 func_xform_result=${1%.*}.lo\
22726 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
22727 && mv -f "$cfgfile.tmp" "$cfgfile" \
22728 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22729 test 0 -eq $?
|| _lt_function_replace_fail
=:
22732 sed -e '/^func_arith ()$/,/^} # func_arith /c\
22735 func_arith_result=$(( $* ))\
22736 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
22737 && mv -f "$cfgfile.tmp" "$cfgfile" \
22738 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22739 test 0 -eq $?
|| _lt_function_replace_fail
=:
22742 sed -e '/^func_len ()$/,/^} # func_len /c\
22745 func_len_result=${#1}\
22746 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
22747 && mv -f "$cfgfile.tmp" "$cfgfile" \
22748 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22749 test 0 -eq $?
|| _lt_function_replace_fail
=:
22753 if test x
"$lt_shell_append" = xyes
; then
22754 sed -e '/^func_append ()$/,/^} # func_append /c\
22757 eval "${1}+=\\${2}"\
22758 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
22759 && mv -f "$cfgfile.tmp" "$cfgfile" \
22760 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22761 test 0 -eq $?
|| _lt_function_replace_fail
=:
22764 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
22765 func_append_quoted ()\
22767 \ func_quote_for_eval "${2}"\
22768 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
22769 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
22770 && mv -f "$cfgfile.tmp" "$cfgfile" \
22771 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22772 test 0 -eq $?
|| _lt_function_replace_fail
=:
22775 # Save a `func_append' function call where possible by direct use of '+='
22776 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
22777 && mv -f "$cfgfile.tmp" "$cfgfile" \
22778 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22779 test 0 -eq $?
|| _lt_function_replace_fail
=:
22781 # Save a `func_append' function call even when '+=' is not available
22782 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
22783 && mv -f "$cfgfile.tmp" "$cfgfile" \
22784 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22785 test 0 -eq $?
|| _lt_function_replace_fail
=:
22788 if test x
"$_lt_function_replace_fail" = x
":"; then
22789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
22790 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
22794 mv -f "$cfgfile" "$ofile" ||
22795 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
22799 cat <<_LT_EOF >> "$ofile"
22801 # ### BEGIN LIBTOOL TAG CONFIG: CXX
22803 # The linker used to build libraries.
22806 # How to create reloadable object files.
22807 reload_flag=$lt_reload_flag_CXX
22808 reload_cmds=$lt_reload_cmds_CXX
22810 # Commands used to build an old-style archive.
22811 old_archive_cmds=$lt_old_archive_cmds_CXX
22813 # A language specific compiler.
22814 CC=$lt_compiler_CXX
22816 # Is the compiler the GNU compiler?
22819 # Compiler flag to turn off builtin functions.
22820 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
22822 # Additional compiler flags for building library objects.
22823 pic_flag=$lt_lt_prog_compiler_pic_CXX
22825 # How to pass a linker flag through the compiler.
22826 wl=$lt_lt_prog_compiler_wl_CXX
22828 # Compiler flag to prevent dynamic linking.
22829 link_static_flag=$lt_lt_prog_compiler_static_CXX
22831 # Does compiler simultaneously support -c and -o options?
22832 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
22834 # Whether or not to add -lc for building shared libraries.
22835 build_libtool_need_lc=$archive_cmds_need_lc_CXX
22837 # Whether or not to disallow shared libs when runtime libs are static.
22838 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
22840 # Compiler flag to allow reflexive dlopens.
22841 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
22843 # Compiler flag to generate shared objects directly from archives.
22844 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
22846 # Whether the compiler copes with passing no objects directly.
22847 compiler_needs_object=$lt_compiler_needs_object_CXX
22849 # Create an old-style archive from a shared archive.
22850 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
22852 # Create a temporary old-style archive to link instead of a shared archive.
22853 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
22855 # Commands used to build a shared archive.
22856 archive_cmds=$lt_archive_cmds_CXX
22857 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
22859 # Commands used to build a loadable module if different from building
22860 # a shared archive.
22861 module_cmds=$lt_module_cmds_CXX
22862 module_expsym_cmds=$lt_module_expsym_cmds_CXX
22864 # Whether we are building with GNU ld or not.
22865 with_gnu_ld=$lt_with_gnu_ld_CXX
22867 # Flag that allows shared libraries with undefined symbols to be built.
22868 allow_undefined_flag=$lt_allow_undefined_flag_CXX
22870 # Flag that enforces no undefined symbols.
22871 no_undefined_flag=$lt_no_undefined_flag_CXX
22873 # Flag to hardcode \$libdir into a binary during linking.
22874 # This must work even if \$libdir does not exist
22875 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
22877 # Whether we need a single "-rpath" flag with a separated argument.
22878 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
22880 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22881 # DIR into the resulting binary.
22882 hardcode_direct=$hardcode_direct_CXX
22884 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22885 # DIR into the resulting binary and the resulting library dependency is
22886 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22887 # library is relocated.
22888 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
22890 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22891 # into the resulting binary.
22892 hardcode_minus_L=$hardcode_minus_L_CXX
22894 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22895 # into the resulting binary.
22896 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
22898 # Set to "yes" if building a shared library automatically hardcodes DIR
22899 # into the library and all subsequent libraries and executables linked
22901 hardcode_automatic=$hardcode_automatic_CXX
22903 # Set to yes if linker adds runtime paths of dependent libraries
22904 # to runtime path list.
22905 inherit_rpath=$inherit_rpath_CXX
22907 # Whether libtool must link a program against all its dependency libraries.
22908 link_all_deplibs=$link_all_deplibs_CXX
22910 # Set to "yes" if exported symbols are required.
22911 always_export_symbols=$always_export_symbols_CXX
22913 # The commands to list exported symbols.
22914 export_symbols_cmds=$lt_export_symbols_cmds_CXX
22916 # Symbols that should not be listed in the preloaded symbols.
22917 exclude_expsyms=$lt_exclude_expsyms_CXX
22919 # Symbols that must always be exported.
22920 include_expsyms=$lt_include_expsyms_CXX
22922 # Commands necessary for linking programs (against libraries) with templates.
22923 prelink_cmds=$lt_prelink_cmds_CXX
22925 # Commands necessary for finishing linking programs.
22926 postlink_cmds=$lt_postlink_cmds_CXX
22928 # Specify filename containing input files.
22929 file_list_spec=$lt_file_list_spec_CXX
22931 # How to hardcode a shared library path into an executable.
22932 hardcode_action=$hardcode_action_CXX
22934 # The directories searched by this compiler when creating a shared library.
22935 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
22937 # Dependencies to place before and after the objects being linked to
22938 # create a shared library.
22939 predep_objects=$lt_predep_objects_CXX
22940 postdep_objects=$lt_postdep_objects_CXX
22941 predeps=$lt_predeps_CXX
22942 postdeps=$lt_postdeps_CXX
22944 # The library search path used internally by the compiler when linking
22945 # a shared library.
22946 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
22948 # ### END LIBTOOL TAG CONFIG: CXX
22959 ac_clean_files
=$ac_clean_files_save
22961 test $ac_write_fail = 0 ||
22962 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
22965 # configure is writing to config.log, and then calls config.status.
22966 # config.status does its own redirection, appending to config.log.
22967 # Unfortunately, on DOS this fails, as config.log is still kept open
22968 # by configure, so config.status won't be able to write to it; its
22969 # output is simply discarded. So we exec the FD to /dev/null,
22970 # effectively closing config.log, so it can be properly (re)opened and
22971 # appended to by config.status. When coming back to configure, we
22972 # need to make the FD available again.
22973 if test "$no_create" != yes; then
22975 ac_config_status_args
=
22976 test "$silent" = yes &&
22977 ac_config_status_args
="$ac_config_status_args --quiet"
22979 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22981 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22982 # would make configure fail if this is the last instruction.
22983 $ac_cs_success || as_fn_exit
1
22985 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
22986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22987 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}