2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for quvi 0.2.15.
5 # Report bugs to <http://sourceforge.net/apps/trac/quvi>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
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 if test "x$CONFIG_SHELL" = x
; then
140 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required
="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1
179 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
180 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
183 PATH=/empty FPATH=/empty; export PATH FPATH
184 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
185 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
186 if (eval "$as_required") 2>/dev
/null
; then :
191 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
196 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
199 test -z "$as_dir" && as_dir
=.
203 for as_base
in sh bash ksh sh5
; do
204 # Try only shells that exist, to save several forks.
205 as_shell
=$as_dir/$as_base
206 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
208 CONFIG_SHELL
=$as_shell as_have_required
=yes
209 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
217 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
218 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
219 CONFIG_SHELL
=$SHELL as_have_required
=yes
224 if test "x$CONFIG_SHELL" != x
; then :
225 # We cannot yet assume a decent shell, so we have to provide a
226 # neutralization value for shells without unset; and this also
227 # works around shells that cannot unset nonexistent variables.
228 # Preserve -v and -x to the replacement shell.
231 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
234 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
239 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
242 if test x
$as_have_required = xno
; then :
243 $as_echo "$0: This script requires a shell more modern than all"
244 $as_echo "$0: the shells that I found on your system."
245 if test x
${ZSH_VERSION+set} = xset
; then
246 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
249 $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: http://sourceforge.net/apps/trac/quvi about your
251 $0: system, including any error possibly output before this
252 $0: message. Then install a modern shell, or manually run
253 $0: the script under such a shell if you do have one."
259 SHELL
=${CONFIG_SHELL-/bin/sh}
261 # Unset more variables known to interfere with behavior of common tools.
262 CLICOLOR_FORCE
= GREP_OPTIONS
=
263 unset CLICOLOR_FORCE GREP_OPTIONS
265 ## --------------------- ##
266 ## M4sh Shell Functions. ##
267 ## --------------------- ##
270 # Portably unset VAR.
273 { eval $1=; unset $1;}
277 # as_fn_set_status STATUS
278 # -----------------------
279 # Set $? to STATUS, without forking.
287 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
297 # Create "$as_dir" as a directory, including parents if necessary.
302 -*) as_dir
=.
/$as_dir;;
304 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
308 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
311 as_dirs
="'$as_qdir' $as_dirs"
312 as_dir
=`$as_dirname -- "$as_dir" ||
313 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314 X"$as_dir" : 'X\(//\)[^/]' \| \
315 X"$as_dir" : 'X\(//\)$' \| \
316 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317 $as_echo X"$as_dir" |
318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 test -d "$as_dir" && break
337 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
338 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
342 # as_fn_append VAR VALUE
343 # ----------------------
344 # Append the text in VALUE to the end of the definition contained in VAR. Take
345 # advantage of any shell optimizations that allow amortized linear growth over
346 # repeated appends, instead of the typical quadratic growth present in naive
348 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
349 eval 'as_fn_append ()
362 # Perform arithmetic evaluation on the ARGs, and store the result in the
363 # global $as_val. Take advantage of shells that can avoid forks. The arguments
364 # must be portable across $(()) and expr.
365 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
373 as_val
=`expr "$@" || test $? -eq 1`
378 # as_fn_error STATUS ERROR [LINENO LOG_FD]
379 # ----------------------------------------
380 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
382 # script with STATUS, using 1 if that was 0.
385 as_status
=$1; test $as_status -eq 0 && as_status
=1
387 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
388 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
390 $as_echo "$as_me: error: $2" >&2
391 as_fn_exit
$as_status
394 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
395 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
401 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
407 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
413 as_me
=`$as_basename -- "$0" ||
414 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415 X"$0" : 'X\(//\)$' \| \
416 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
418 sed '/^.*\/\([^/][^/]*\)\/*$/{
432 # Avoid depending upon Character Ranges.
433 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
434 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
436 as_cr_digits
='0123456789'
437 as_cr_alnum
=$as_cr_Letters$as_cr_digits
440 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
441 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
442 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
444 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
456 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
460 chmod +x
"$as_me.lineno" ||
461 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
463 # Don't try to exec as it changes $[0], causing all sort of problems
464 # (the dirname of $[0] is not the place where we might find the
465 # original and so on. Autoconf is especially sensitive to this).
467 # Exit status is that of the last command.
471 ECHO_C
= ECHO_N
= ECHO_T
=
472 case `echo -n x` in #(((((
474 case `echo 'xy\c'` in
475 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
477 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
484 rm -f conf$$ conf$$.exe conf$$.
file
485 if test -d conf$$.dir
; then
486 rm -f conf$$.dir
/conf$$.
file
489 mkdir conf$$.dir
2>/dev
/null
491 if (echo >conf$$.
file) 2>/dev
/null
; then
492 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
494 # ... but there are two gotchas:
495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497 # In both cases, we have to default to `cp -p'.
498 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
500 elif ln conf$$.
file conf$$
2>/dev
/null
; then
508 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
509 rmdir conf$$.dir
2>/dev
/null
511 if mkdir
-p .
2>/dev
/null
; then
512 as_mkdir_p
='mkdir -p "$as_dir"'
514 test -d .
/-p && rmdir .
/-p
518 if test -x / >/dev
/null
2>&1; then
521 if ls -dL / >/dev
/null
2>&1; then
528 if test -d "$1"; then
534 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535 ???[sx]*):;;*)false;;esac;fi
539 as_executable_p
=$as_test_x
541 # Sed expression to map a string onto a valid CPP name.
542 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
544 # Sed expression to map a string onto a valid variable name.
545 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
547 SHELL
=${CONFIG_SHELL-/bin/sh}
550 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
554 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
555 # so uname gets run too.
556 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
561 ac_default_prefix
=/usr
/local
563 ac_config_libobj_dir
=.
570 # Identity of this package.
572 PACKAGE_TARNAME
='quvi'
573 PACKAGE_VERSION
='0.2.15'
574 PACKAGE_STRING
='quvi 0.2.15'
575 PACKAGE_BUGREPORT
='http://sourceforge.net/apps/trac/quvi'
576 PACKAGE_URL
='http://quvi.sourceforge.net/'
578 ac_unique_file
="lib/quvi.c"
579 # Factoring default headers for most tests.
580 ac_includes_default
="\
582 #ifdef HAVE_SYS_TYPES_H
583 # include <sys/types.h>
585 #ifdef HAVE_SYS_STAT_H
586 # include <sys/stat.h>
592 # ifdef HAVE_STDLIB_H
597 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 #ifdef HAVE_STRINGS_H
603 # include <strings.h>
605 #ifdef HAVE_INTTYPES_H
606 # include <inttypes.h>
615 ac_subst_vars
='am__EXEEXT_FALSE
630 ENABLE_VERBOSE_TESTS_FALSE
631 ENABLE_VERBOSE_TESTS_TRUE
634 ENABLE_EXAMPLES_FALSE
680 EXTRA_LIBQUVI_LDFLAGS
717 INSTALL_STRIP_PROGRAM
784 program_transform_name
797 enable_option_checking
798 enable_dependency_tracking
819 ac_precious_vars
='build_alias
841 # Initialize some variables set by options.
843 ac_init_version
=false
844 ac_unrecognized_opts
=
846 # The variables have the same names as the options, with
847 # dashes changed to underlines.
855 program_transform_name
=s
,x
,x
,
863 # Installation directory options.
864 # These are left unexpanded so users can "make install exec_prefix=/foo"
865 # and all the variables that are supposed to be based on exec_prefix
866 # by default will actually change.
867 # Use braces instead of parens because sh, perl, etc. also accept them.
868 # (The list follows the same order as the GNU Coding Standards.)
869 bindir
='${exec_prefix}/bin'
870 sbindir
='${exec_prefix}/sbin'
871 libexecdir
='${exec_prefix}/libexec'
872 datarootdir
='${prefix}/share'
873 datadir
='${datarootdir}'
874 sysconfdir
='${prefix}/etc'
875 sharedstatedir
='${prefix}/com'
876 localstatedir
='${prefix}/var'
877 includedir
='${prefix}/include'
878 oldincludedir
='/usr/include'
879 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
880 infodir
='${datarootdir}/info'
885 libdir
='${exec_prefix}/lib'
886 localedir
='${datarootdir}/locale'
887 mandir
='${datarootdir}/man'
893 # If the previous option needs an argument, assign it.
894 if test -n "$ac_prev"; then
895 eval $ac_prev=\
$ac_option
901 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
906 # Accept the important Cygnus configure options, so we can diagnose typos.
908 case $ac_dashdash$ac_option in
912 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
914 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
917 -build |
--build |
--buil |
--bui |
--bu)
918 ac_prev
=build_alias
;;
919 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
920 build_alias
=$ac_optarg ;;
922 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
923 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
924 ac_prev
=cache_file
;;
925 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
926 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
927 cache_file
=$ac_optarg ;;
930 cache_file
=config.cache
;;
932 -datadir |
--datadir |
--datadi |
--datad)
934 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
935 datadir
=$ac_optarg ;;
937 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
938 |
--dataroo |
--dataro |
--datar)
939 ac_prev
=datarootdir
;;
940 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
941 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
942 datarootdir
=$ac_optarg ;;
944 -disable-* |
--disable-*)
945 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
946 # Reject names that are not valid shell variable names.
947 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
948 as_fn_error $?
"invalid feature name: $ac_useropt"
949 ac_useropt_orig
=$ac_useropt
950 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
951 case $ac_user_opts in
955 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
956 ac_unrecognized_sep
=', ';;
958 eval enable_
$ac_useropt=no
;;
960 -docdir |
--docdir |
--docdi |
--doc |
--do)
962 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
965 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
967 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
970 -enable-* |
--enable-*)
971 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
972 # Reject names that are not valid shell variable names.
973 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
974 as_fn_error $?
"invalid feature name: $ac_useropt"
975 ac_useropt_orig
=$ac_useropt
976 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
977 case $ac_user_opts in
981 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
982 ac_unrecognized_sep
=', ';;
984 eval enable_
$ac_useropt=\
$ac_optarg ;;
986 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
987 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
988 |
--exec |
--exe |
--ex)
989 ac_prev
=exec_prefix
;;
990 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
991 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
992 |
--exec=* |
--exe=* |
--ex=*)
993 exec_prefix
=$ac_optarg ;;
995 -gas |
--gas |
--ga |
--g)
996 # Obsolete; use --with-gas.
999 -help |
--help |
--hel |
--he |
-h)
1000 ac_init_help
=long
;;
1001 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1002 ac_init_help
=recursive
;;
1003 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1004 ac_init_help
=short
;;
1006 -host |
--host |
--hos |
--ho)
1007 ac_prev
=host_alias
;;
1008 -host=* |
--host=* |
--hos=* |
--ho=*)
1009 host_alias
=$ac_optarg ;;
1011 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1013 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1015 htmldir
=$ac_optarg ;;
1017 -includedir |
--includedir |
--includedi |
--included |
--include \
1018 |
--includ |
--inclu |
--incl |
--inc)
1019 ac_prev
=includedir
;;
1020 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1021 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1022 includedir
=$ac_optarg ;;
1024 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1026 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1027 infodir
=$ac_optarg ;;
1029 -libdir |
--libdir |
--libdi |
--libd)
1031 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1032 libdir
=$ac_optarg ;;
1034 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1035 |
--libexe |
--libex |
--libe)
1036 ac_prev
=libexecdir
;;
1037 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1038 |
--libexe=* |
--libex=* |
--libe=*)
1039 libexecdir
=$ac_optarg ;;
1041 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1042 ac_prev
=localedir
;;
1043 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1044 localedir
=$ac_optarg ;;
1046 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1047 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1048 ac_prev
=localstatedir
;;
1049 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1050 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1051 localstatedir
=$ac_optarg ;;
1053 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1055 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1056 mandir
=$ac_optarg ;;
1058 -nfp |
--nfp |
--nf)
1059 # Obsolete; use --without-fp.
1062 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1063 |
--no-cr |
--no-c |
-n)
1066 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1067 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1070 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1071 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1072 |
--oldin |
--oldi |
--old |
--ol |
--o)
1073 ac_prev
=oldincludedir
;;
1074 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1075 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1076 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1077 oldincludedir
=$ac_optarg ;;
1079 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1081 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1082 prefix
=$ac_optarg ;;
1084 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1085 |
--program-pre |
--program-pr |
--program-p)
1086 ac_prev
=program_prefix
;;
1087 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1088 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1089 program_prefix
=$ac_optarg ;;
1091 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1092 |
--program-suf |
--program-su |
--program-s)
1093 ac_prev
=program_suffix
;;
1094 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1095 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1096 program_suffix
=$ac_optarg ;;
1098 -program-transform-name |
--program-transform-name \
1099 |
--program-transform-nam |
--program-transform-na \
1100 |
--program-transform-n |
--program-transform- \
1101 |
--program-transform |
--program-transfor \
1102 |
--program-transfo |
--program-transf \
1103 |
--program-trans |
--program-tran \
1104 |
--progr-tra |
--program-tr |
--program-t)
1105 ac_prev
=program_transform_name
;;
1106 -program-transform-name=* |
--program-transform-name=* \
1107 |
--program-transform-nam=* |
--program-transform-na=* \
1108 |
--program-transform-n=* |
--program-transform-=* \
1109 |
--program-transform=* |
--program-transfor=* \
1110 |
--program-transfo=* |
--program-transf=* \
1111 |
--program-trans=* |
--program-tran=* \
1112 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1113 program_transform_name
=$ac_optarg ;;
1115 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1117 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1118 pdfdir
=$ac_optarg ;;
1120 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1122 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1125 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1126 |
-silent |
--silent |
--silen |
--sile |
--sil)
1129 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1131 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1133 sbindir
=$ac_optarg ;;
1135 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1136 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1137 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1139 ac_prev
=sharedstatedir
;;
1140 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1141 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1142 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1144 sharedstatedir
=$ac_optarg ;;
1146 -site |
--site |
--sit)
1148 -site=* |
--site=* |
--sit=*)
1151 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1153 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1154 srcdir
=$ac_optarg ;;
1156 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1157 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1158 ac_prev
=sysconfdir
;;
1159 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1160 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1161 sysconfdir
=$ac_optarg ;;
1163 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1164 ac_prev
=target_alias
;;
1165 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1166 target_alias
=$ac_optarg ;;
1168 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1171 -version |
--version |
--versio |
--versi |
--vers |
-V)
1172 ac_init_version
=: ;;
1175 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1176 # Reject names that are not valid shell variable names.
1177 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1178 as_fn_error $?
"invalid package name: $ac_useropt"
1179 ac_useropt_orig
=$ac_useropt
1180 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1181 case $ac_user_opts in
1185 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1186 ac_unrecognized_sep
=', ';;
1188 eval with_
$ac_useropt=\
$ac_optarg ;;
1190 -without-* |
--without-*)
1191 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1192 # Reject names that are not valid shell variable names.
1193 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1194 as_fn_error $?
"invalid package name: $ac_useropt"
1195 ac_useropt_orig
=$ac_useropt
1196 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1197 case $ac_user_opts in
1201 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1202 ac_unrecognized_sep
=', ';;
1204 eval with_
$ac_useropt=no
;;
1207 # Obsolete; use --with-x.
1210 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1211 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1212 ac_prev
=x_includes
;;
1213 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1214 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1215 x_includes
=$ac_optarg ;;
1217 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1218 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1219 ac_prev
=x_libraries
;;
1220 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1221 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1222 x_libraries
=$ac_optarg ;;
1224 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1225 Try \`$0 --help' for more information"
1229 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1230 # Reject names that are not valid shell variable names.
1231 case $ac_envvar in #(
1232 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1233 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1235 eval $ac_envvar=\
$ac_optarg
1236 export $ac_envvar ;;
1239 # FIXME: should be removed in autoconf 3.0.
1240 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1241 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1242 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1243 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1249 if test -n "$ac_prev"; then
1250 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1251 as_fn_error $?
"missing argument to $ac_option"
1254 if test -n "$ac_unrecognized_opts"; then
1255 case $enable_option_checking in
1257 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1258 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1262 # Check all directory arguments for consistency.
1263 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1264 datadir sysconfdir sharedstatedir localstatedir includedir \
1265 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1266 libdir localedir mandir
1268 eval ac_val
=\$
$ac_var
1269 # Remove trailing slashes.
1272 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1273 eval $ac_var=\
$ac_val;;
1275 # Be sure to have absolute directory names.
1277 [\\/$
]* | ?
:[\\/]* ) continue;;
1278 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1280 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1283 # There might be people who depend on the old broken behavior: `$host'
1284 # used to hold the argument of --host etc.
1285 # FIXME: To remove some day.
1288 target
=$target_alias
1290 # FIXME: To remove some day.
1291 if test "x$host_alias" != x
; then
1292 if test "x$build_alias" = x
; then
1293 cross_compiling
=maybe
1294 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1295 If a cross compiler is detected then cross compile mode will be used" >&2
1296 elif test "x$build_alias" != "x$host_alias"; then
1302 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1304 test "$silent" = yes && exec 6>/dev
/null
1307 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1308 ac_ls_di
=`ls -di .` &&
1309 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1310 as_fn_error $?
"working directory cannot be determined"
1311 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1312 as_fn_error $?
"pwd does not report name of working directory"
1315 # Find the source files, if location was not specified.
1316 if test -z "$srcdir"; then
1317 ac_srcdir_defaulted
=yes
1318 # Try the directory containing this script, then the parent directory.
1319 ac_confdir
=`$as_dirname -- "$as_myself" ||
1320 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1321 X"$as_myself" : 'X\(//\)[^/]' \| \
1322 X"$as_myself" : 'X\(//\)$' \| \
1323 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1324 $as_echo X"$as_myself" |
1325 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1343 if test ! -r "$srcdir/$ac_unique_file"; then
1347 ac_srcdir_defaulted
=no
1349 if test ! -r "$srcdir/$ac_unique_file"; then
1350 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1351 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1353 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1355 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1357 # When building in place, set srcdir=.
1358 if test "$ac_abs_confdir" = "$ac_pwd"; then
1361 # Remove unnecessary trailing slashes from srcdir.
1362 # Double slashes in file names in object file debugging info
1363 # mess up M-x gdb in Emacs.
1365 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1367 for ac_var
in $ac_precious_vars; do
1368 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1369 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1370 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1371 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1375 # Report the --help message.
1377 if test "$ac_init_help" = "long"; then
1378 # Omit some internal or obsolete options to make the list less imposing.
1379 # This message is too long to be a string in the A/UX 3.1 sh.
1381 \`configure' configures quvi 0.2.15 to adapt to many kinds of systems.
1383 Usage: $0 [OPTION]... [VAR=VALUE]...
1385 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1386 VAR=VALUE. See below for descriptions of some of the useful variables.
1388 Defaults for the options are specified in brackets.
1391 -h, --help display this help and exit
1392 --help=short display options specific to this package
1393 --help=recursive display the short help of all the included packages
1394 -V, --version display version information and exit
1395 -q, --quiet, --silent do not print \`checking ...' messages
1396 --cache-file=FILE cache test results in FILE [disabled]
1397 -C, --config-cache alias for \`--cache-file=config.cache'
1398 -n, --no-create do not create output files
1399 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1401 Installation directories:
1402 --prefix=PREFIX install architecture-independent files in PREFIX
1403 [$ac_default_prefix]
1404 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1407 By default, \`make install' will install all the files in
1408 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1409 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1410 for instance \`--prefix=\$HOME'.
1412 For better control, use the options below.
1414 Fine tuning of the installation directories:
1415 --bindir=DIR user executables [EPREFIX/bin]
1416 --sbindir=DIR system admin executables [EPREFIX/sbin]
1417 --libexecdir=DIR program executables [EPREFIX/libexec]
1418 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1419 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1420 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1421 --libdir=DIR object code libraries [EPREFIX/lib]
1422 --includedir=DIR C header files [PREFIX/include]
1423 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1424 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1425 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1426 --infodir=DIR info documentation [DATAROOTDIR/info]
1427 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1428 --mandir=DIR man documentation [DATAROOTDIR/man]
1429 --docdir=DIR documentation root [DATAROOTDIR/doc/quvi]
1430 --htmldir=DIR html documentation [DOCDIR]
1431 --dvidir=DIR dvi documentation [DOCDIR]
1432 --pdfdir=DIR pdf documentation [DOCDIR]
1433 --psdir=DIR ps documentation [DOCDIR]
1439 --program-prefix=PREFIX prepend PREFIX to installed program names
1440 --program-suffix=SUFFIX append SUFFIX to installed program names
1441 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1444 --build=BUILD configure
for building on BUILD
[guessed
]
1445 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1446 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1450 if test -n "$ac_init_help"; then
1451 case $ac_init_help in
1452 short | recursive
) echo "Configuration of quvi 0.2.15:";;
1457 --disable-option-checking ignore unrecognized
--enable/--with options
1458 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1459 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1460 --disable-dependency-tracking speeds up one-time build
1461 --enable-dependency-tracking do not reject slow dependency extractors
1462 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1463 --enable-static[=PKGS
] build static libraries
[default
=yes]
1464 --enable-fast-install[=PKGS
]
1465 optimize
for fast installation
[default
=yes]
1466 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1467 --disable-rpath do not hardcode runtime library paths
1468 --enable-silent-rules less verbose build output
(undo
: `make V=1')
1469 --disable-silent-rules verbose build output (undo: `make V
=0')
1470 --enable-quvi build quvi command line tool[default=yes]
1471 --enable-examples build examples [default=no]
1472 --enable-tests enable tests [default=no]
1473 --enable-verbose-tests enable verbose tests [default=no]
1474 --enable-nsfw build with adult website support [default=no]
1475 --enable-todo with website scripts marked as "todo" [default=no]
1476 --enable-nlfy test scripts marked as "nlfy" [default=no]
1479 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1480 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1481 --with-pic try to use only PIC/non-PIC objects [default=use
1483 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1484 --with-sysroot=DIR Search for dependent libraries within DIR
1485 (or the compiler's sysroot
if not specified
).
1486 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1487 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1488 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1489 --with-man install manual pages [default=yes]
1490 --with-doc install documentation [default=yes]
1492 Some influential environment variables:
1493 CC C compiler command
1494 CFLAGS C compiler flags
1495 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1496 nonstandard directory <lib dir>
1497 LIBS libraries to pass to the linker, e.g. -l<library>
1498 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1499 you have headers in a nonstandard directory <include dir>
1501 CXX C++ compiler command
1502 CXXFLAGS C++ compiler flags
1503 CXXCPP C++ preprocessor
1504 PKG_CONFIG path to pkg-config utility
1506 directories to add to pkg-config's search path
1508 path overriding pkg-config
's built-in search path
1510 C compiler flags for libcurl, overriding pkg-config
1512 linker flags for libcurl, overriding pkg-config
1514 C compiler flags for liblua, overriding pkg-config
1515 liblua_LIBS linker flags for liblua, overriding pkg-config
1517 Use these variables to override the choices made by `configure' or to
help
1518 it to
find libraries and programs with nonstandard names
/locations.
1520 Report bugs to
<http
://sourceforge.net
/apps
/trac
/quvi
>.
1521 quvi home page
: <http
://quvi.sourceforge.net
/>.
1526 if test "$ac_init_help" = "recursive"; then
1527 # If there are subdirs, report their specific --help.
1528 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1529 test -d "$ac_dir" ||
1530 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1535 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1537 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1538 # A ".." for each directory in $ac_dir_suffix.
1539 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1540 case $ac_top_builddir_sub in
1541 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1542 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1545 ac_abs_top_builddir
=$ac_pwd
1546 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1547 # for backward compatibility:
1548 ac_top_builddir
=$ac_top_build_prefix
1551 .
) # We are building in place.
1553 ac_top_srcdir
=$ac_top_builddir_sub
1554 ac_abs_top_srcdir
=$ac_pwd ;;
1555 [\\/]* | ?
:[\\/]* ) # Absolute name.
1556 ac_srcdir
=$srcdir$ac_dir_suffix;
1557 ac_top_srcdir
=$srcdir
1558 ac_abs_top_srcdir
=$srcdir ;;
1560 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1561 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1562 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1564 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1566 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1567 # Check for guested configure.
1568 if test -f "$ac_srcdir/configure.gnu"; then
1570 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1571 elif test -f "$ac_srcdir/configure"; then
1573 $SHELL "$ac_srcdir/configure" --help=recursive
1575 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1577 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1581 test -n "$ac_init_help" && exit $ac_status
1582 if $ac_init_version; then
1584 quvi configure
0.2.15
1585 generated by GNU Autoconf
2.68
1587 Copyright
(C
) 2010 Free Software Foundation
, Inc.
1588 This configure
script is free software
; the Free Software Foundation
1589 gives unlimited permission to copy
, distribute and modify it.
1594 ## ------------------------ ##
1595 ## Autoconf initialization. ##
1596 ## ------------------------ ##
1598 # ac_fn_c_try_compile LINENO
1599 # --------------------------
1600 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1601 ac_fn_c_try_compile
()
1603 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1604 rm -f conftest.
$ac_objext
1605 if { { ac_try
="$ac_compile"
1607 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1608 *) ac_try_echo=$ac_try;;
1610 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1611 $as_echo "$ac_try_echo"; } >&5
1612 (eval "$ac_compile") 2>conftest.err
1614 if test -s conftest.err; then
1615 grep -v '^ *+' conftest.err >conftest.er1
1616 cat conftest.er1 >&5
1617 mv -f conftest.er1 conftest.err
1619 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1620 test $ac_status = 0; } && {
1621 test -z "$ac_c_werror_flag" ||
1622 test ! -s conftest.err
1623 } && test -s conftest.$ac_objext; then :
1626 $as_echo "$as_me: failed program was:" >&5
1627 sed 's/^/| /' conftest.$ac_ext >&5
1631 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1632 as_fn_set_status $ac_retval
1634 } # ac_fn_c_try_compile
1636 # ac_fn_c_try_cpp LINENO
1637 # ----------------------
1638 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1641 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1642 if { { ac_try="$ac_cpp conftest.$ac_ext"
1644 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1645 *) ac_try_echo
=$ac_try;;
1647 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1648 $as_echo "$ac_try_echo"; } >&5
1649 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1651 if test -s conftest.err
; then
1652 grep -v '^ *+' conftest.err
>conftest.er1
1653 cat conftest.er1
>&5
1654 mv -f conftest.er1 conftest.err
1656 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1657 test $ac_status = 0; } > conftest.i
&& {
1658 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1659 test ! -s conftest.err
1663 $as_echo "$as_me: failed program was:" >&5
1664 sed 's/^/| /' conftest.
$ac_ext >&5
1668 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1669 as_fn_set_status
$ac_retval
1673 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1674 # -------------------------------------------------------
1675 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1676 # the include files in INCLUDES and setting the cache variable VAR
1678 ac_fn_c_check_header_mongrel
()
1680 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1681 if eval \
${$3+:} false
; then :
1682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1683 $as_echo_n "checking for $2... " >&6; }
1684 if eval \
${$3+:} false
; then :
1685 $as_echo_n "(cached) " >&6
1688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1689 $as_echo "$ac_res" >&6; }
1691 # Is the header compilable?
1692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1693 $as_echo_n "checking $2 usability... " >&6; }
1694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1695 /* end confdefs.h. */
1699 if ac_fn_c_try_compile
"$LINENO"; then :
1700 ac_header_compiler
=yes
1702 ac_header_compiler
=no
1704 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1706 $as_echo "$ac_header_compiler" >&6; }
1708 # Is the header present?
1709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1710 $as_echo_n "checking $2 presence... " >&6; }
1711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1712 /* end confdefs.h. */
1715 if ac_fn_c_try_cpp
"$LINENO"; then :
1716 ac_header_preproc
=yes
1718 ac_header_preproc
=no
1720 rm -f conftest.err conftest.i conftest.
$ac_ext
1721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1722 $as_echo "$ac_header_preproc" >&6; }
1724 # So? What about this header?
1725 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1728 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1730 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1734 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1736 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1738 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1740 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1742 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1743 ( $as_echo "## ---------------------------------------------------- ##
1744 ## Report this to http://sourceforge.net/apps/trac/quvi ##
1745 ## ---------------------------------------------------- ##"
1746 ) |
sed "s/^/$as_me: WARNING: /" >&2
1749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1750 $as_echo_n "checking for $2... " >&6; }
1751 if eval \
${$3+:} false
; then :
1752 $as_echo_n "(cached) " >&6
1754 eval "$3=\$ac_header_compiler"
1757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1758 $as_echo "$ac_res" >&6; }
1760 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1762 } # ac_fn_c_check_header_mongrel
1764 # ac_fn_c_try_run LINENO
1765 # ----------------------
1766 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1767 # that executables *can* be run.
1770 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1771 if { { ac_try
="$ac_link"
1773 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1774 *) ac_try_echo=$ac_try;;
1776 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1777 $as_echo "$ac_try_echo"; } >&5
1778 (eval "$ac_link") 2>&5
1780 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1781 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1782 { { case "(($ac_try" in
1783 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1784 *) ac_try_echo
=$ac_try;;
1786 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1787 $as_echo "$ac_try_echo"; } >&5
1788 (eval "$ac_try") 2>&5
1790 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1791 test $ac_status = 0; }; }; then :
1794 $as_echo "$as_me: program exited with status $ac_status" >&5
1795 $as_echo "$as_me: failed program was:" >&5
1796 sed 's/^/| /' conftest.
$ac_ext >&5
1798 ac_retval
=$ac_status
1800 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1801 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1802 as_fn_set_status
$ac_retval
1806 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1807 # -------------------------------------------------------
1808 # Tests whether HEADER exists and can be compiled using the include files in
1809 # INCLUDES, setting the cache variable VAR accordingly.
1810 ac_fn_c_check_header_compile
()
1812 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1814 $as_echo_n "checking for $2... " >&6; }
1815 if eval \
${$3+:} false
; then :
1816 $as_echo_n "(cached) " >&6
1818 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1819 /* end confdefs.h. */
1823 if ac_fn_c_try_compile
"$LINENO"; then :
1828 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1832 $as_echo "$ac_res" >&6; }
1833 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1835 } # ac_fn_c_check_header_compile
1837 # ac_fn_c_try_link LINENO
1838 # -----------------------
1839 # Try to link conftest.$ac_ext, and return whether this succeeded.
1842 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1843 rm -f conftest.
$ac_objext conftest
$ac_exeext
1844 if { { ac_try
="$ac_link"
1846 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1847 *) ac_try_echo=$ac_try;;
1849 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1850 $as_echo "$ac_try_echo"; } >&5
1851 (eval "$ac_link") 2>conftest.err
1853 if test -s conftest.err; then
1854 grep -v '^ *+' conftest.err >conftest.er1
1855 cat conftest.er1 >&5
1856 mv -f conftest.er1 conftest.err
1858 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1859 test $ac_status = 0; } && {
1860 test -z "$ac_c_werror_flag" ||
1861 test ! -s conftest.err
1862 } && test -s conftest$ac_exeext && {
1863 test "$cross_compiling" = yes ||
1864 $as_test_x conftest$ac_exeext
1868 $as_echo "$as_me: failed program was:" >&5
1869 sed 's/^/| /' conftest.$ac_ext >&5
1873 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1874 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1875 # interfere with the next link command; also delete a directory that is
1876 # left behind by Apple's compiler. We do this before executing the actions.
1877 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1878 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1879 as_fn_set_status $ac_retval
1881 } # ac_fn_c_try_link
1883 # ac_fn_c_check_func LINENO FUNC VAR
1884 # ----------------------------------
1885 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1886 ac_fn_c_check_func ()
1888 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1890 $as_echo_n "checking for $2... " >&6; }
1891 if eval \${$3+:} false; then :
1892 $as_echo_n "(cached) " >&6
1894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1895 /* end confdefs.h. */
1896 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1897 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1898 #define $2 innocuous_$2
1900 /* System header to define __stub macros and hopefully few prototypes,
1901 which can conflict with char $2 (); below.
1902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1903 <limits.h> exists even on freestanding compilers. */
1906 # include <limits.h>
1908 # include <assert.h>
1913 /* Override any GCC internal prototype to avoid an error.
1914 Use char because int might match the return type of a GCC
1915 builtin and then its argument prototype would still apply. */
1920 /* The GNU C library defines this for functions which it implements
1921 to always fail with ENOSYS. Some functions are actually named
1922 something starting with __ and the normal name is an alias. */
1923 #if defined __stub_$2 || defined __stub___$2
1935 if ac_fn_c_try_link "$LINENO"; then :
1940 rm -f core conftest.err conftest.$ac_objext \
1941 conftest$ac_exeext conftest.$ac_ext
1944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1945 $as_echo "$ac_res" >&6; }
1946 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1948 } # ac_fn_c_check_func
1950 # ac_fn_cxx_try_compile LINENO
1951 # ----------------------------
1952 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1953 ac_fn_cxx_try_compile ()
1955 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1956 rm -f conftest.$ac_objext
1957 if { { ac_try="$ac_compile"
1959 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1960 *) ac_try_echo
=$ac_try;;
1962 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1963 $as_echo "$ac_try_echo"; } >&5
1964 (eval "$ac_compile") 2>conftest.err
1966 if test -s conftest.err
; then
1967 grep -v '^ *+' conftest.err
>conftest.er1
1968 cat conftest.er1
>&5
1969 mv -f conftest.er1 conftest.err
1971 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1972 test $ac_status = 0; } && {
1973 test -z "$ac_cxx_werror_flag" ||
1974 test ! -s conftest.err
1975 } && test -s conftest.
$ac_objext; then :
1978 $as_echo "$as_me: failed program was:" >&5
1979 sed 's/^/| /' conftest.
$ac_ext >&5
1983 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1984 as_fn_set_status
$ac_retval
1986 } # ac_fn_cxx_try_compile
1988 # ac_fn_cxx_try_cpp LINENO
1989 # ------------------------
1990 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1991 ac_fn_cxx_try_cpp
()
1993 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1994 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1996 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1997 *) ac_try_echo=$ac_try;;
1999 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2000 $as_echo "$ac_try_echo"; } >&5
2001 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2003 if test -s conftest.err; then
2004 grep -v '^ *+' conftest.err >conftest.er1
2005 cat conftest.er1 >&5
2006 mv -f conftest.er1 conftest.err
2008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2009 test $ac_status = 0; } > conftest.i && {
2010 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2011 test ! -s conftest.err
2015 $as_echo "$as_me: failed program was:" >&5
2016 sed 's/^/| /' conftest.$ac_ext >&5
2020 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2021 as_fn_set_status $ac_retval
2023 } # ac_fn_cxx_try_cpp
2025 # ac_fn_cxx_try_link LINENO
2026 # -------------------------
2027 # Try to link conftest.$ac_ext, and return whether this succeeded.
2028 ac_fn_cxx_try_link ()
2030 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2031 rm -f conftest.$ac_objext conftest$ac_exeext
2032 if { { ac_try="$ac_link"
2034 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2035 *) ac_try_echo
=$ac_try;;
2037 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2038 $as_echo "$ac_try_echo"; } >&5
2039 (eval "$ac_link") 2>conftest.err
2041 if test -s conftest.err
; then
2042 grep -v '^ *+' conftest.err
>conftest.er1
2043 cat conftest.er1
>&5
2044 mv -f conftest.er1 conftest.err
2046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2047 test $ac_status = 0; } && {
2048 test -z "$ac_cxx_werror_flag" ||
2049 test ! -s conftest.err
2050 } && test -s conftest
$ac_exeext && {
2051 test "$cross_compiling" = yes ||
2052 $as_test_x conftest
$ac_exeext
2056 $as_echo "$as_me: failed program was:" >&5
2057 sed 's/^/| /' conftest.
$ac_ext >&5
2061 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2062 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2063 # interfere with the next link command; also delete a directory that is
2064 # left behind by Apple's compiler. We do this before executing the actions.
2065 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2066 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2067 as_fn_set_status
$ac_retval
2069 } # ac_fn_cxx_try_link
2071 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2072 # -------------------------------------------
2073 # Tests whether TYPE exists after having included INCLUDES, setting cache
2074 # variable VAR accordingly.
2075 ac_fn_c_check_type
()
2077 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2079 $as_echo_n "checking for $2... " >&6; }
2080 if eval \
${$3+:} false
; then :
2081 $as_echo_n "(cached) " >&6
2084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2085 /* end confdefs.h. */
2096 if ac_fn_c_try_compile
"$LINENO"; then :
2097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2098 /* end confdefs.h. */
2109 if ac_fn_c_try_compile
"$LINENO"; then :
2114 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2116 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2120 $as_echo "$ac_res" >&6; }
2121 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2123 } # ac_fn_c_check_type
2125 # ac_fn_c_find_uintX_t LINENO BITS VAR
2126 # ------------------------------------
2127 # Finds an unsigned integer type with width BITS, setting cache variable VAR
2129 ac_fn_c_find_uintX_t
()
2131 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
2133 $as_echo_n "checking for uint$2_t... " >&6; }
2134 if eval \
${$3+:} false
; then :
2135 $as_echo_n "(cached) " >&6
2138 # Order is important - never check a type that is potentially smaller
2139 # than half of the expected target width.
2140 for ac_type
in uint
$2_t 'unsigned int' 'unsigned long int' \
2141 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
2142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2143 /* end confdefs.h. */
2144 $ac_includes_default
2148 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
2155 if ac_fn_c_try_compile
"$LINENO"; then :
2160 eval "$3=\$ac_type" ;;
2163 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2164 if eval test \"x\$
"$3"\" = x
"no"; then :
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2173 $as_echo "$ac_res" >&6; }
2174 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2176 } # ac_fn_c_find_uintX_t
2177 cat >config.log
<<_ACEOF
2178 This file contains any messages produced by compilers while
2179 running configure, to aid debugging if configure makes a mistake.
2181 It was created by quvi $as_me 0.2.15, which was
2182 generated by GNU Autoconf 2.68. Invocation command line was
2194 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2195 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2196 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2197 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2198 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2200 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2201 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2203 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2204 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2205 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2206 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2207 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2208 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2209 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2213 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2217 test -z "$as_dir" && as_dir
=.
2218 $as_echo "PATH: $as_dir"
2234 # Keep a trace of the command line.
2235 # Strip out --no-create and --no-recursion so they do not pile up.
2236 # Strip out --silent because we don't want to record it for future runs.
2237 # Also quote any args containing shell meta-characters.
2238 # Make two passes to allow for proper duplicate-argument suppression.
2242 ac_must_keep_next
=false
2248 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2249 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2250 |
-silent |
--silent |
--silen |
--sile |
--sil)
2253 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2256 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2258 as_fn_append ac_configure_args1
" '$ac_arg'"
2259 if test $ac_must_keep_next = true
; then
2260 ac_must_keep_next
=false
# Got value, back to normal.
2263 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2264 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2265 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2266 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2267 case "$ac_configure_args0 " in
2268 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2271 -* ) ac_must_keep_next
=true
;;
2274 as_fn_append ac_configure_args
" '$ac_arg'"
2279 { ac_configure_args0
=; unset ac_configure_args0
;}
2280 { ac_configure_args1
=; unset ac_configure_args1
;}
2282 # When interrupted or exit'd, cleanup temporary files, and complete
2283 # config.log. We remove comments because anyway the quotes in there
2284 # would cause problems or look ugly.
2285 # WARNING: Use '\'' to represent an apostrophe within the trap.
2286 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2287 trap 'exit_status=$?
2288 # Save into config.log some information that might help in debugging.
2292 $as_echo "## ---------------- ##
2293 ## Cache variables. ##
2294 ## ---------------- ##"
2296 # The following way of writing the cache mishandles newlines in values,
2298 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2299 eval ac_val=\$$ac_var
2303 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2304 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2307 _ | IFS | as_nl) ;; #(
2308 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2309 *) { eval $ac_var=; unset $ac_var;} ;;
2314 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2315 *${as_nl}ac_space=\ *)
2317 "s/'\''/'\''\\\\'\'''\''/g;
2318 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2321 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2328 $as_echo "## ----------------- ##
2329 ## Output variables. ##
2330 ## ----------------- ##"
2332 for ac_var in $ac_subst_vars
2334 eval ac_val=\$$ac_var
2336 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2338 $as_echo "$ac_var='\''$ac_val'\''"
2342 if test -n "$ac_subst_files"; then
2343 $as_echo "## ------------------- ##
2344 ## File substitutions. ##
2345 ## ------------------- ##"
2347 for ac_var
in $ac_subst_files
2349 eval ac_val
=\$
$ac_var
2351 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2353 $as_echo "$ac_var='\''$ac_val'\''"
2358 if test -s confdefs.h; then
2359 $as_echo "## ----------- ##
2366 test "$ac_signal" != 0 &&
2367 $as_echo "$as_me: caught signal $ac_signal"
2368 $as_echo "$as_me: exit $exit_status"
2370 rm -f core *.core core.conftest.* &&
2371 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2374 for ac_signal
in 1 2 13 15; do
2375 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2379 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2380 rm -f -r conftest
* confdefs.h
2382 $as_echo "/* confdefs.h */" > confdefs.h
2384 # Predefined preprocessor variables.
2386 cat >>confdefs.h
<<_ACEOF
2387 #define PACKAGE_NAME "$PACKAGE_NAME"
2390 cat >>confdefs.h
<<_ACEOF
2391 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2394 cat >>confdefs.h
<<_ACEOF
2395 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2398 cat >>confdefs.h
<<_ACEOF
2399 #define PACKAGE_STRING "$PACKAGE_STRING"
2402 cat >>confdefs.h
<<_ACEOF
2403 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2406 cat >>confdefs.h
<<_ACEOF
2407 #define PACKAGE_URL "$PACKAGE_URL"
2411 # Let the site file select an alternate cache file if it wants to.
2412 # Prefer an explicitly selected file to automatically selected ones.
2415 if test -n "$CONFIG_SITE"; then
2416 # We do not want a PATH search for config.site.
2417 case $CONFIG_SITE in #((
2418 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2419 */*) ac_site_file1
=$CONFIG_SITE;;
2420 *) ac_site_file1
=.
/$CONFIG_SITE;;
2422 elif test "x$prefix" != xNONE
; then
2423 ac_site_file1
=$prefix/share
/config.site
2424 ac_site_file2
=$prefix/etc
/config.site
2426 ac_site_file1
=$ac_default_prefix/share
/config.site
2427 ac_site_file2
=$ac_default_prefix/etc
/config.site
2429 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2431 test "x$ac_site_file" = xNONE
&& continue
2432 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2434 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2435 sed 's/^/| /' "$ac_site_file" >&5
2437 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2438 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2439 as_fn_error $?
"failed to load site script $ac_site_file
2440 See \`config.log' for more details" "$LINENO" 5; }
2444 if test -r "$cache_file"; then
2445 # Some versions of bash will fail to source /dev/null (special files
2446 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2447 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2449 $as_echo "$as_me: loading cache $cache_file" >&6;}
2451 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2452 *) .
"./$cache_file";;
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2457 $as_echo "$as_me: creating cache $cache_file" >&6;}
2461 # Check that the precious variables saved in the cache have kept the same
2463 ac_cache_corrupted
=false
2464 for ac_var
in $ac_precious_vars; do
2465 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2466 eval ac_new_set
=\
$ac_env_${ac_var}_set
2467 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2468 eval ac_new_val
=\
$ac_env_${ac_var}_value
2469 case $ac_old_set,$ac_new_set in
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2472 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2473 ac_cache_corrupted
=: ;;
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2476 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2477 ac_cache_corrupted
=: ;;
2480 if test "x$ac_old_val" != "x$ac_new_val"; then
2481 # differences in whitespace do not lead to failure.
2482 ac_old_val_w
=`echo x $ac_old_val`
2483 ac_new_val_w
=`echo x $ac_new_val`
2484 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2486 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2487 ac_cache_corrupted
=:
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2490 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2491 eval $ac_var=\
$ac_old_val
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2494 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2496 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2499 # Pass precious variables to config.status.
2500 if test "$ac_new_set" = set; then
2502 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2503 *) ac_arg
=$ac_var=$ac_new_val ;;
2505 case " $ac_configure_args " in
2506 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2507 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2511 if $ac_cache_corrupted; then
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2513 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2515 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2516 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2518 ## -------------------- ##
2519 ## Main body of script. ##
2520 ## -------------------- ##
2523 ac_cpp
='$CPP $CPPFLAGS'
2524 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2525 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2526 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2539 ac_config_headers
="$ac_config_headers config.h"
2542 for ac_dir
in config.aux
"$srcdir"/config.aux
; do
2543 if test -f "$ac_dir/install-sh"; then
2545 ac_install_sh
="$ac_aux_dir/install-sh -c"
2547 elif test -f "$ac_dir/install.sh"; then
2549 ac_install_sh
="$ac_aux_dir/install.sh -c"
2551 elif test -f "$ac_dir/shtool"; then
2553 ac_install_sh
="$ac_aux_dir/shtool install -c"
2557 if test -z "$ac_aux_dir"; then
2558 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in config.aux \"$srcdir\"/config.aux" "$LINENO" 5
2561 # These three variables are undocumented and unsupported,
2562 # and are intended to be withdrawn in a future Autoconf release.
2563 # They can cause serious problems if a builder's source tree is in a directory
2564 # whose full name contains unusual characters.
2565 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2566 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2567 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2572 # Make sure we can run config.sub.
2573 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2574 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2577 $as_echo_n "checking build system type... " >&6; }
2578 if ${ac_cv_build+:} false
; then :
2579 $as_echo_n "(cached) " >&6
2581 ac_build_alias
=$build_alias
2582 test "x$ac_build_alias" = x
&&
2583 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2584 test "x$ac_build_alias" = x
&&
2585 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2586 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2587 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2591 $as_echo "$ac_cv_build" >&6; }
2592 case $ac_cv_build in
2594 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2597 ac_save_IFS
=$IFS; IFS
='-'
2603 # Remember, the first character of IFS is used to create $*,
2604 # except with old shells:
2607 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2611 $as_echo_n "checking host system type... " >&6; }
2612 if ${ac_cv_host+:} false
; then :
2613 $as_echo_n "(cached) " >&6
2615 if test "x$host_alias" = x
; then
2616 ac_cv_host
=$ac_cv_build
2618 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2619 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2624 $as_echo "$ac_cv_host" >&6; }
2627 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2630 ac_save_IFS
=$IFS; IFS
='-'
2636 # Remember, the first character of IFS is used to create $*,
2637 # except with old shells:
2640 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2644 $as_echo_n "checking target system type... " >&6; }
2645 if ${ac_cv_target+:} false
; then :
2646 $as_echo_n "(cached) " >&6
2648 if test "x$target_alias" = x
; then
2649 ac_cv_target
=$ac_cv_host
2651 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2652 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2657 $as_echo "$ac_cv_target" >&6; }
2658 case $ac_cv_target in
2660 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2662 target
=$ac_cv_target
2663 ac_save_IFS
=$IFS; IFS
='-'
2669 # Remember, the first character of IFS is used to create $*,
2670 # except with old shells:
2673 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2676 # The aliases save the names the user supplied, while $host etc.
2677 # will get canonicalized.
2678 test -n "$target_alias" &&
2679 test "$program_prefix$program_suffix$program_transform_name" = \
2681 program_prefix
=${target_alias}-
2684 ac_cpp
='$CPP $CPPFLAGS'
2685 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2686 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2687 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2688 if test -n "$ac_tool_prefix"; then
2689 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2690 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2692 $as_echo_n "checking for $ac_word... " >&6; }
2693 if ${ac_cv_prog_CC+:} false
; then :
2694 $as_echo_n "(cached) " >&6
2696 if test -n "$CC"; then
2697 ac_cv_prog_CC
="$CC" # Let the user override the test.
2699 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2703 test -z "$as_dir" && as_dir
=.
2704 for ac_exec_ext
in '' $ac_executable_extensions; do
2705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2706 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2717 if test -n "$CC"; then
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2719 $as_echo "$CC" >&6; }
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2722 $as_echo "no" >&6; }
2727 if test -z "$ac_cv_prog_CC"; then
2729 # Extract the first word of "gcc", so it can be a program name with args.
2730 set dummy gcc
; ac_word
=$2
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2732 $as_echo_n "checking for $ac_word... " >&6; }
2733 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2734 $as_echo_n "(cached) " >&6
2736 if test -n "$ac_ct_CC"; then
2737 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2739 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2743 test -z "$as_dir" && as_dir
=.
2744 for ac_exec_ext
in '' $ac_executable_extensions; do
2745 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2746 ac_cv_prog_ac_ct_CC
="gcc"
2747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2756 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2757 if test -n "$ac_ct_CC"; then
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2759 $as_echo "$ac_ct_CC" >&6; }
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2762 $as_echo "no" >&6; }
2765 if test "x$ac_ct_CC" = x
; then
2768 case $cross_compiling:$ac_tool_warned in
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2771 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2772 ac_tool_warned
=yes ;;
2780 if test -z "$CC"; then
2781 if test -n "$ac_tool_prefix"; then
2782 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2783 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2785 $as_echo_n "checking for $ac_word... " >&6; }
2786 if ${ac_cv_prog_CC+:} false
; then :
2787 $as_echo_n "(cached) " >&6
2789 if test -n "$CC"; then
2790 ac_cv_prog_CC
="$CC" # Let the user override the test.
2792 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2796 test -z "$as_dir" && as_dir
=.
2797 for ac_exec_ext
in '' $ac_executable_extensions; do
2798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2799 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2810 if test -n "$CC"; then
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2812 $as_echo "$CC" >&6; }
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2815 $as_echo "no" >&6; }
2821 if test -z "$CC"; then
2822 # Extract the first word of "cc", so it can be a program name with args.
2823 set dummy cc
; ac_word
=$2
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2825 $as_echo_n "checking for $ac_word... " >&6; }
2826 if ${ac_cv_prog_CC+:} false
; then :
2827 $as_echo_n "(cached) " >&6
2829 if test -n "$CC"; then
2830 ac_cv_prog_CC
="$CC" # Let the user override the test.
2833 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2837 test -z "$as_dir" && as_dir
=.
2838 for ac_exec_ext
in '' $ac_executable_extensions; do
2839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2840 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2841 ac_prog_rejected
=yes
2845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2852 if test $ac_prog_rejected = yes; then
2853 # We found a bogon in the path, so make sure we never use it.
2854 set dummy
$ac_cv_prog_CC
2856 if test $# != 0; then
2857 # We chose a different compiler from the bogus one.
2858 # However, it has the same basename, so the bogon will be chosen
2859 # first if we set CC to just the basename; use the full file name.
2861 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2867 if test -n "$CC"; then
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2869 $as_echo "$CC" >&6; }
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2872 $as_echo "no" >&6; }
2877 if test -z "$CC"; then
2878 if test -n "$ac_tool_prefix"; then
2879 for ac_prog
in cl.exe
2881 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2882 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2884 $as_echo_n "checking for $ac_word... " >&6; }
2885 if ${ac_cv_prog_CC+:} false
; then :
2886 $as_echo_n "(cached) " >&6
2888 if test -n "$CC"; then
2889 ac_cv_prog_CC
="$CC" # Let the user override the test.
2891 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2895 test -z "$as_dir" && as_dir
=.
2896 for ac_exec_ext
in '' $ac_executable_extensions; do
2897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2898 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2909 if test -n "$CC"; then
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2911 $as_echo "$CC" >&6; }
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2914 $as_echo "no" >&6; }
2918 test -n "$CC" && break
2921 if test -z "$CC"; then
2923 for ac_prog
in cl.exe
2925 # Extract the first word of "$ac_prog", so it can be a program name with args.
2926 set dummy
$ac_prog; ac_word
=$2
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2928 $as_echo_n "checking for $ac_word... " >&6; }
2929 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2930 $as_echo_n "(cached) " >&6
2932 if test -n "$ac_ct_CC"; then
2933 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2939 test -z "$as_dir" && as_dir
=.
2940 for ac_exec_ext
in '' $ac_executable_extensions; do
2941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2942 ac_cv_prog_ac_ct_CC
="$ac_prog"
2943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2952 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2953 if test -n "$ac_ct_CC"; then
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2955 $as_echo "$ac_ct_CC" >&6; }
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2958 $as_echo "no" >&6; }
2962 test -n "$ac_ct_CC" && break
2965 if test "x$ac_ct_CC" = x
; then
2968 case $cross_compiling:$ac_tool_warned in
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2971 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2972 ac_tool_warned
=yes ;;
2981 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2982 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2983 as_fn_error $?
"no acceptable C compiler found in \$PATH
2984 See \`config.log' for more details" "$LINENO" 5; }
2986 # Provide some information about the compiler.
2987 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2990 for ac_option
in --version -v -V -qversion; do
2991 { { ac_try
="$ac_compiler $ac_option >&5"
2993 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2994 *) ac_try_echo=$ac_try;;
2996 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2997 $as_echo "$ac_try_echo"; } >&5
2998 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3000 if test -s conftest.err; then
3002 ... rest of stderr output deleted ...
3003 10q' conftest.err >conftest.er1
3004 cat conftest.er1 >&5
3006 rm -f conftest.er1 conftest.err
3007 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3008 test $ac_status = 0; }
3011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3012 /* end confdefs.h. */
3022 ac_clean_files_save=$ac_clean_files
3023 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3024 # Try to create an executable without -o first, disregard a.out.
3025 # It will help us diagnose broken compilers, and finding out an intuition
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3028 $as_echo_n "checking whether the C compiler works... " >&6; }
3029 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3031 # The possible output files:
3032 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3035 for ac_file in $ac_files
3038 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3039 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3044 if { { ac_try="$ac_link_default"
3046 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3047 *) ac_try_echo
=$ac_try;;
3049 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3050 $as_echo "$ac_try_echo"; } >&5
3051 (eval "$ac_link_default") 2>&5
3053 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3054 test $ac_status = 0; }; then :
3055 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3056 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3057 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3058 # so that the user can short-circuit this test for compilers unknown to
3060 for ac_file
in $ac_files ''
3062 test -f "$ac_file" ||
continue
3064 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3067 # We found the default executable, but exeext='' is most
3071 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3073 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3075 # We set ac_cv_exeext here because the later test for it is not
3076 # safe: cross compilers may not add the suffix if given an `-o'
3077 # argument, so we may need to know it at that point already.
3078 # Even if this section looks crufty: it has the advantage of
3085 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3090 if test -z "$ac_file"; then :
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3092 $as_echo "no" >&6; }
3093 $as_echo "$as_me: failed program was:" >&5
3094 sed 's/^/| /' conftest.
$ac_ext >&5
3096 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3097 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3098 as_fn_error
77 "C compiler cannot create executables
3099 See \`config.log' for more details" "$LINENO" 5; }
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3102 $as_echo "yes" >&6; }
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3105 $as_echo_n "checking for C compiler default output file name... " >&6; }
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3107 $as_echo "$ac_file" >&6; }
3108 ac_exeext
=$ac_cv_exeext
3110 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3111 ac_clean_files
=$ac_clean_files_save
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3113 $as_echo_n "checking for suffix of executables... " >&6; }
3114 if { { ac_try
="$ac_link"
3116 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3117 *) ac_try_echo=$ac_try;;
3119 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3120 $as_echo "$ac_try_echo"; } >&5
3121 (eval "$ac_link") 2>&5
3123 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3124 test $ac_status = 0; }; then :
3125 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3126 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3127 # work properly (i.e., refer to `conftest.exe'), while it won't with
3129 for ac_file
in conftest.exe conftest conftest.
*; do
3130 test -f "$ac_file" ||
continue
3132 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3133 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3139 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3140 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3141 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3142 See \`config.log' for more details" "$LINENO" 5; }
3144 rm -f conftest conftest
$ac_cv_exeext
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3146 $as_echo "$ac_cv_exeext" >&6; }
3148 rm -f conftest.
$ac_ext
3149 EXEEXT
=$ac_cv_exeext
3151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3152 /* end confdefs.h. */
3157 FILE *f = fopen ("conftest.out", "w");
3158 return ferror (f) || fclose (f) != 0;
3164 ac_clean_files
="$ac_clean_files conftest.out"
3165 # Check that the compiler produces executables we can run. If not, either
3166 # the compiler is broken, or we cross compile.
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3168 $as_echo_n "checking whether we are cross compiling... " >&6; }
3169 if test "$cross_compiling" != yes; then
3170 { { ac_try
="$ac_link"
3172 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3173 *) ac_try_echo=$ac_try;;
3175 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3176 $as_echo "$ac_try_echo"; } >&5
3177 (eval "$ac_link") 2>&5
3179 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3180 test $ac_status = 0; }
3181 if { ac_try='./conftest$ac_cv_exeext'
3182 { { case "(($ac_try" in
3183 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3184 *) ac_try_echo
=$ac_try;;
3186 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3187 $as_echo "$ac_try_echo"; } >&5
3188 (eval "$ac_try") 2>&5
3190 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3191 test $ac_status = 0; }; }; then
3194 if test "$cross_compiling" = maybe
; then
3197 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3198 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3199 as_fn_error $?
"cannot run C compiled programs.
3200 If you meant to cross compile, use \`--host'.
3201 See \`config.log' for more details" "$LINENO" 5; }
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3206 $as_echo "$cross_compiling" >&6; }
3208 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3209 ac_clean_files
=$ac_clean_files_save
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3211 $as_echo_n "checking for suffix of object files... " >&6; }
3212 if ${ac_cv_objext+:} false
; then :
3213 $as_echo_n "(cached) " >&6
3215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3216 /* end confdefs.h. */
3226 rm -f conftest.o conftest.obj
3227 if { { ac_try
="$ac_compile"
3229 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3230 *) ac_try_echo=$ac_try;;
3232 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3233 $as_echo "$ac_try_echo"; } >&5
3234 (eval "$ac_compile") 2>&5
3236 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3237 test $ac_status = 0; }; then :
3238 for ac_file in conftest.o conftest.obj conftest.*; do
3239 test -f "$ac_file" || continue;
3241 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3242 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3247 $as_echo "$as_me: failed program was:" >&5
3248 sed 's/^/| /' conftest.$ac_ext >&5
3250 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3251 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3252 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3253 See \
`config.log' for more details" "$LINENO" 5; }
3255 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3258 $as_echo "$ac_cv_objext" >&6; }
3259 OBJEXT=$ac_cv_objext
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3262 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3263 if ${ac_cv_c_compiler_gnu+:} false; then :
3264 $as_echo_n "(cached) " >&6
3266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3267 /* end confdefs.h. */
3280 if ac_fn_c_try_compile "$LINENO"; then :
3285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3286 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3290 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3291 if test $ac_compiler_gnu = yes; then
3296 ac_test_CFLAGS=${CFLAGS+set}
3297 ac_save_CFLAGS=$CFLAGS
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3299 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3300 if ${ac_cv_prog_cc_g+:} false; then :
3301 $as_echo_n "(cached) " >&6
3303 ac_save_c_werror_flag=$ac_c_werror_flag
3304 ac_c_werror_flag=yes
3307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3308 /* end confdefs.h. */
3318 if ac_fn_c_try_compile "$LINENO"; then :
3322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3323 /* end confdefs.h. */
3333 if ac_fn_c_try_compile "$LINENO"; then :
3336 ac_c_werror_flag=$ac_save_c_werror_flag
3338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3339 /* end confdefs.h. */
3349 if ac_fn_c_try_compile "$LINENO"; then :
3352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3357 ac_c_werror_flag=$ac_save_c_werror_flag
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3360 $as_echo "$ac_cv_prog_cc_g" >&6; }
3361 if test "$ac_test_CFLAGS" = set; then
3362 CFLAGS=$ac_save_CFLAGS
3363 elif test $ac_cv_prog_cc_g = yes; then
3364 if test "$GCC" = yes; then
3370 if test "$GCC" = yes; then
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3377 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3378 if ${ac_cv_prog_cc_c89+:} false; then :
3379 $as_echo_n "(cached) " >&6
3381 ac_cv_prog_cc_c89=no
3383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3384 /* end confdefs.h. */
3387 #include <sys/types.h>
3388 #include <sys/stat.h>
3389 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3390 struct buf { int x; };
3391 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3392 static char *e (p, i)
3398 static char *f (char * (*g) (char **, int), char **p, ...)
3403 s = g (p, va_arg (v,int));
3408 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3409 function prototypes and stuff, but not '\xHH' hex character constants.
3410 These don't provoke an error unfortunately, instead are silently treated
3411 as 'x'. The following induces an error, until -std is added to get
3412 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3413 array size at least. It's necessary to write '\x00'==0 to get something
3414 that's true only with -std. */
3415 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3417 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3418 inside strings and character constants. */
3420 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3422 int test (int i, double x);
3423 struct s1 {int (*f) (int a);};
3424 struct s2 {int (*f) (double a);};
3425 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3431 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3436 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3437 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3439 CC="$ac_save_CC $ac_arg"
3440 if ac_fn_c_try_compile "$LINENO"; then :
3441 ac_cv_prog_cc_c89=$ac_arg
3443 rm -f core conftest.err conftest.$ac_objext
3444 test "x$ac_cv_prog_cc_c89" != "xno" && break
3446 rm -f conftest.$ac_ext
3451 case "x$ac_cv_prog_cc_c89" in
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3454 $as_echo "none needed" >&6; } ;;
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3457 $as_echo "unsupported" >&6; } ;;
3459 CC="$CC $ac_cv_prog_cc_c89"
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3461 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3463 if test "x$ac_cv_prog_cc_c89" != xno; then :
3468 ac_cpp='$CPP $CPPFLAGS'
3469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3475 ac_cpp='$CPP $CPPFLAGS'
3476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3480 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3481 # On Suns, sometimes $CPP names a directory.
3482 if test -n "$CPP" && test -d "$CPP"; then
3485 if test -z "$CPP"; then
3486 if ${ac_cv_prog_CPP+:} false; then :
3487 $as_echo_n "(cached) " >&6
3489 # Double quotes because CPP needs to be expanded
3490 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3493 for ac_c_preproc_warn_flag in '' yes
3495 # Use a header file that comes with gcc, so configuring glibc
3496 # with a fresh cross-compiler works.
3497 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3498 # <limits.h> exists even on freestanding compilers.
3499 # On the NeXT, cc -E runs the code through the compiler's parser,
3500 # not just through cpp. "Syntax error" is here to catch this case.
3501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3502 /* end confdefs.h. */
3504 # include <limits.h>
3506 # include <assert.h>
3510 if ac_fn_c_try_cpp "$LINENO"; then :
3513 # Broken: fails on valid input.
3516 rm -f conftest.err conftest.i conftest.$ac_ext
3518 # OK, works on sane cases. Now check whether nonexistent headers
3519 # can be detected and how.
3520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3521 /* end confdefs.h. */
3522 #include <ac_nonexistent.h>
3524 if ac_fn_c_try_cpp "$LINENO"; then :
3525 # Broken: success on invalid input.
3528 # Passes both tests.
3532 rm -f conftest.err conftest.i conftest.$ac_ext
3535 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3536 rm -f conftest.i conftest.err conftest.
$ac_ext
3537 if $ac_preproc_ok; then :
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3550 $as_echo "$CPP" >&6; }
3552 for ac_c_preproc_warn_flag
in '' yes
3554 # Use a header file that comes with gcc, so configuring glibc
3555 # with a fresh cross-compiler works.
3556 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3557 # <limits.h> exists even on freestanding compilers.
3558 # On the NeXT, cc -E runs the code through the compiler's parser,
3559 # not just through cpp. "Syntax error" is here to catch this case.
3560 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3561 /* end confdefs.h. */
3563 # include <limits.h>
3565 # include <assert.h>
3569 if ac_fn_c_try_cpp
"$LINENO"; then :
3572 # Broken: fails on valid input.
3575 rm -f conftest.err conftest.i conftest.
$ac_ext
3577 # OK, works on sane cases. Now check whether nonexistent headers
3578 # can be detected and how.
3579 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3580 /* end confdefs.h. */
3581 #include <ac_nonexistent.h>
3583 if ac_fn_c_try_cpp
"$LINENO"; then :
3584 # Broken: success on invalid input.
3587 # Passes both tests.
3591 rm -f conftest.err conftest.i conftest.
$ac_ext
3594 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3595 rm -f conftest.i conftest.err conftest.
$ac_ext
3596 if $ac_preproc_ok; then :
3599 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3600 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3601 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3602 See \`config.log' for more details" "$LINENO" 5; }
3606 ac_cpp
='$CPP $CPPFLAGS'
3607 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3608 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3609 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3613 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3614 if ${ac_cv_path_GREP+:} false
; then :
3615 $as_echo_n "(cached) " >&6
3617 if test -z "$GREP"; then
3618 ac_path_GREP_found
=false
3619 # Loop through the user's path and test for each of PROGNAME-LIST
3620 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3621 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3624 test -z "$as_dir" && as_dir
=.
3625 for ac_prog
in grep ggrep
; do
3626 for ac_exec_ext
in '' $ac_executable_extensions; do
3627 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3628 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3629 # Check for GNU ac_path_GREP and select it if it is found.
3630 # Check for GNU $ac_path_GREP
3631 case `"$ac_path_GREP" --version 2>&1` in
3633 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3636 $as_echo_n 0123456789 >"conftest.in"
3639 cat "conftest.in" "conftest.in" >"conftest.tmp"
3640 mv "conftest.tmp" "conftest.in"
3641 cp "conftest.in" "conftest.nl"
3642 $as_echo 'GREP' >> "conftest.nl"
3643 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3644 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3645 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3646 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3647 # Best one so far, save it but keep looking for a better one
3648 ac_cv_path_GREP
="$ac_path_GREP"
3649 ac_path_GREP_max
=$ac_count
3651 # 10*(2^10) chars as input seems more than enough
3652 test $ac_count -gt 10 && break
3654 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3657 $ac_path_GREP_found && break 3
3662 if test -z "$ac_cv_path_GREP"; then
3663 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3666 ac_cv_path_GREP
=$GREP
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3671 $as_echo "$ac_cv_path_GREP" >&6; }
3672 GREP
="$ac_cv_path_GREP"
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3676 $as_echo_n "checking for egrep... " >&6; }
3677 if ${ac_cv_path_EGREP+:} false
; then :
3678 $as_echo_n "(cached) " >&6
3680 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3681 then ac_cv_path_EGREP
="$GREP -E"
3683 if test -z "$EGREP"; then
3684 ac_path_EGREP_found
=false
3685 # Loop through the user's path and test for each of PROGNAME-LIST
3686 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3687 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3690 test -z "$as_dir" && as_dir
=.
3691 for ac_prog
in egrep; do
3692 for ac_exec_ext
in '' $ac_executable_extensions; do
3693 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3694 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3695 # Check for GNU ac_path_EGREP and select it if it is found.
3696 # Check for GNU $ac_path_EGREP
3697 case `"$ac_path_EGREP" --version 2>&1` in
3699 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3702 $as_echo_n 0123456789 >"conftest.in"
3705 cat "conftest.in" "conftest.in" >"conftest.tmp"
3706 mv "conftest.tmp" "conftest.in"
3707 cp "conftest.in" "conftest.nl"
3708 $as_echo 'EGREP' >> "conftest.nl"
3709 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3710 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3711 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3712 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3713 # Best one so far, save it but keep looking for a better one
3714 ac_cv_path_EGREP
="$ac_path_EGREP"
3715 ac_path_EGREP_max
=$ac_count
3717 # 10*(2^10) chars as input seems more than enough
3718 test $ac_count -gt 10 && break
3720 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3723 $ac_path_EGREP_found && break 3
3728 if test -z "$ac_cv_path_EGREP"; then
3729 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3732 ac_cv_path_EGREP
=$EGREP
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3738 $as_echo "$ac_cv_path_EGREP" >&6; }
3739 EGREP
="$ac_cv_path_EGREP"
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3743 $as_echo_n "checking for ANSI C header files... " >&6; }
3744 if ${ac_cv_header_stdc+:} false
; then :
3745 $as_echo_n "(cached) " >&6
3747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3748 /* end confdefs.h. */
3762 if ac_fn_c_try_compile
"$LINENO"; then :
3763 ac_cv_header_stdc
=yes
3765 ac_cv_header_stdc
=no
3767 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3769 if test $ac_cv_header_stdc = yes; then
3770 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3772 /* end confdefs.h. */
3776 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3777 $EGREP "memchr" >/dev
/null
2>&1; then :
3780 ac_cv_header_stdc
=no
3786 if test $ac_cv_header_stdc = yes; then
3787 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3788 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3789 /* end confdefs.h. */
3793 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3794 $EGREP "free" >/dev
/null
2>&1; then :
3797 ac_cv_header_stdc
=no
3803 if test $ac_cv_header_stdc = yes; then
3804 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3805 if test "$cross_compiling" = yes; then :
3808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3809 /* end confdefs.h. */
3812 #if ((' ' & 0x0FF) == 0x020)
3813 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3814 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3816 # define ISLOWER(c) \
3817 (('a' <= (c) && (c) <= 'i') \
3818 || ('j' <= (c) && (c) <= 'r') \
3819 || ('s' <= (c) && (c) <= 'z'))
3820 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3823 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3828 for (i = 0; i < 256; i++)
3829 if (XOR (islower (i), ISLOWER (i))
3830 || toupper (i) != TOUPPER (i))
3835 if ac_fn_c_try_run
"$LINENO"; then :
3838 ac_cv_header_stdc
=no
3840 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3841 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3847 $as_echo "$ac_cv_header_stdc" >&6; }
3848 if test $ac_cv_header_stdc = yes; then
3850 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3854 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3855 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3856 inttypes.h stdint.h unistd.h
3858 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3859 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3861 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3862 cat >>confdefs.h
<<_ACEOF
3863 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3872 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3873 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
3880 if test "$MINIX" = yes; then
3882 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3885 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3888 $as_echo "#define _MINIX 1" >>confdefs.h
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3894 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3895 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
3896 $as_echo_n "(cached) " >&6
3898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3899 /* end confdefs.h. */
3901 # define __EXTENSIONS__ 1
3902 $ac_includes_default
3911 if ac_fn_c_try_compile
"$LINENO"; then :
3912 ac_cv_safe_to_define___extensions__
=yes
3914 ac_cv_safe_to_define___extensions__
=no
3916 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3919 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3920 test $ac_cv_safe_to_define___extensions__ = yes &&
3921 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3923 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3925 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3927 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3929 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3935 cat >>confdefs.h
<<_ACEOF
3936 #define CANONICAL_TARGET "$target"
3940 cat >>confdefs.h
<<_ACEOF
3941 #define CANONICAL_HOST "$host"
3945 am__api_version
='1.11'
3947 # Find a good install program. We prefer a C program (faster),
3948 # so one script is as good as another. But avoid the broken or
3949 # incompatible versions:
3950 # SysV /etc/install, /usr/sbin/install
3951 # SunOS /usr/etc/install
3952 # IRIX /sbin/install
3954 # AmigaOS /C/install, which installs bootblocks on floppy discs
3955 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3956 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3957 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3958 # OS/2's system install, which has a completely different semantic
3959 # ./install, which can be erroneously created by make from ./install.sh.
3960 # Reject install programs that cannot install multiple files.
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3962 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3963 if test -z "$INSTALL"; then
3964 if ${ac_cv_path_install+:} false
; then :
3965 $as_echo_n "(cached) " >&6
3967 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3971 test -z "$as_dir" && as_dir
=.
3972 # Account for people who put trailing slashes in PATH elements.
3973 case $as_dir/ in #((
3974 .
/ | .
// |
/[cC
]/* | \
3975 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3976 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3979 # OSF1 and SCO ODT 3.0 have their own names for install.
3980 # Don't use installbsd from OSF since it installs stuff as root
3982 for ac_prog
in ginstall scoinst
install; do
3983 for ac_exec_ext
in '' $ac_executable_extensions; do
3984 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3985 if test $ac_prog = install &&
3986 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3987 # AIX install. It has an incompatible calling convention.
3989 elif test $ac_prog = install &&
3990 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3991 # program-specific install script used by HP pwplus--don't use.
3994 rm -rf conftest.one conftest.two conftest.dir
3995 echo one
> conftest.one
3996 echo two
> conftest.two
3998 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3999 test -s conftest.one
&& test -s conftest.two
&&
4000 test -s conftest.dir
/conftest.one
&&
4001 test -s conftest.dir
/conftest.two
4003 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4016 rm -rf conftest.one conftest.two conftest.dir
4019 if test "${ac_cv_path_install+set}" = set; then
4020 INSTALL
=$ac_cv_path_install
4022 # As a last resort, use the slow shell script. Don't cache a
4023 # value for INSTALL within a source directory, because that will
4024 # break other packages using the cache if that directory is
4025 # removed, or if the value is a relative name.
4026 INSTALL
=$ac_install_sh
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4030 $as_echo "$INSTALL" >&6; }
4032 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4033 # It thinks the first close brace ends the variable substitution.
4034 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4036 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4038 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4041 $as_echo_n "checking whether build environment is sane... " >&6; }
4044 echo timestamp
> conftest.
file
4045 # Reject unsafe characters in $srcdir or the absolute working directory
4046 # name. Accept space and tab only in the latter.
4050 *[\\\"\
#\$\&\'\`$am_lf]*)
4051 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
4054 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
4055 as_fn_error $?
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
4058 # Do `set' in a subshell so we don't clobber the current shell's
4059 # arguments. Must try -L first in case configure is actually a
4060 # symlink; some systems play weird games with the mod time of symlinks
4061 # (eg FreeBSD returns the mod time of the symlink's containing
4064 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4065 if test "$*" = "X"; then
4067 set X
`ls -t "$srcdir/configure" conftest.file`
4070 if test "$*" != "X $srcdir/configure conftest.file" \
4071 && test "$*" != "X conftest.file $srcdir/configure"; then
4073 # If neither matched, then we have a broken ls. This can happen
4074 # if, for instance, CONFIG_SHELL is bash and it inherits a
4075 # broken ls alias from the environment. This has actually
4076 # happened. Such a system could not be considered "sane".
4077 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
4078 alias in your environment" "$LINENO" 5
4081 test "$2" = conftest.
file
4087 as_fn_error $?
"newly created file is older than distributed files!
4088 Check your system clock" "$LINENO" 5
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4091 $as_echo "yes" >&6; }
4092 test "$program_prefix" != NONE
&&
4093 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4094 # Use a double $ so make ignores it.
4095 test "$program_suffix" != NONE
&&
4096 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4097 # Double any \ or $.
4098 # By default was `s,x,x', remove it if useless.
4099 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4100 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4102 # expand $ac_aux_dir to an absolute path
4103 am_aux_dir
=`cd $ac_aux_dir && pwd`
4105 if test x
"${MISSING+set}" != xset
; then
4108 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
4110 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
4113 # Use eval to expand $SHELL
4114 if eval "$MISSING --run true"; then
4115 am_missing_run
="$MISSING --run "
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
4119 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
4122 if test x
"${install_sh}" != xset
; then
4125 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
4127 install_sh
="\${SHELL} $am_aux_dir/install-sh"
4131 # Installed binaries are usually stripped using `strip' when the user
4132 # run `make install-strip'. However `strip' might not be the right
4133 # tool to use in cross-compilation environments, therefore Automake
4134 # will honor the `STRIP' environment variable to overrule this program.
4135 if test "$cross_compiling" != no
; then
4136 if test -n "$ac_tool_prefix"; then
4137 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4138 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4140 $as_echo_n "checking for $ac_word... " >&6; }
4141 if ${ac_cv_prog_STRIP+:} false
; then :
4142 $as_echo_n "(cached) " >&6
4144 if test -n "$STRIP"; then
4145 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4147 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4151 test -z "$as_dir" && as_dir
=.
4152 for ac_exec_ext
in '' $ac_executable_extensions; do
4153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4154 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4164 STRIP
=$ac_cv_prog_STRIP
4165 if test -n "$STRIP"; then
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4167 $as_echo "$STRIP" >&6; }
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4170 $as_echo "no" >&6; }
4175 if test -z "$ac_cv_prog_STRIP"; then
4177 # Extract the first word of "strip", so it can be a program name with args.
4178 set dummy strip
; ac_word
=$2
4179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4180 $as_echo_n "checking for $ac_word... " >&6; }
4181 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
4182 $as_echo_n "(cached) " >&6
4184 if test -n "$ac_ct_STRIP"; then
4185 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4187 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4191 test -z "$as_dir" && as_dir
=.
4192 for ac_exec_ext
in '' $ac_executable_extensions; do
4193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4194 ac_cv_prog_ac_ct_STRIP
="strip"
4195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4204 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4205 if test -n "$ac_ct_STRIP"; then
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4207 $as_echo "$ac_ct_STRIP" >&6; }
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4210 $as_echo "no" >&6; }
4213 if test "x$ac_ct_STRIP" = x
; then
4216 case $cross_compiling:$ac_tool_warned in
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4219 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4220 ac_tool_warned
=yes ;;
4225 STRIP
="$ac_cv_prog_STRIP"
4229 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4232 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4233 if test -z "$MKDIR_P"; then
4234 if ${ac_cv_path_mkdir+:} false
; then :
4235 $as_echo_n "(cached) " >&6
4237 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4238 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
4241 test -z "$as_dir" && as_dir
=.
4242 for ac_prog
in mkdir gmkdir
; do
4243 for ac_exec_ext
in '' $ac_executable_extensions; do
4244 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
4245 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4246 'mkdir (GNU coreutils) '* | \
4247 'mkdir (coreutils) '* | \
4248 'mkdir (fileutils) '4.1*)
4249 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
4259 test -d .
/--version && rmdir .
/--version
4260 if test "${ac_cv_path_mkdir+set}" = set; then
4261 MKDIR_P
="$ac_cv_path_mkdir -p"
4263 # As a last resort, use the slow shell script. Don't cache a
4264 # value for MKDIR_P within a source directory, because that will
4265 # break other packages using the cache if that directory is
4266 # removed, or if the value is a relative name.
4267 MKDIR_P
="$ac_install_sh -d"
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4271 $as_echo "$MKDIR_P" >&6; }
4275 [\\/$
]* | ?
:[\\/]*) ;;
4276 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
4279 for ac_prog
in gawk mawk nawk
awk
4281 # Extract the first word of "$ac_prog", so it can be a program name with args.
4282 set dummy
$ac_prog; ac_word
=$2
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4284 $as_echo_n "checking for $ac_word... " >&6; }
4285 if ${ac_cv_prog_AWK+:} false
; then :
4286 $as_echo_n "(cached) " >&6
4288 if test -n "$AWK"; then
4289 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4295 test -z "$as_dir" && as_dir
=.
4296 for ac_exec_ext
in '' $ac_executable_extensions; do
4297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4298 ac_cv_prog_AWK
="$ac_prog"
4299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4309 if test -n "$AWK"; then
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4311 $as_echo "$AWK" >&6; }
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4314 $as_echo "no" >&6; }
4318 test -n "$AWK" && break
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4322 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4324 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4325 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
4326 $as_echo_n "(cached) " >&6
4328 cat >conftest.
make <<\_ACEOF
4331 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4333 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4334 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4336 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4338 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4342 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4344 $as_echo "yes" >&6; }
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4348 $as_echo "no" >&6; }
4349 SET_MAKE
="MAKE=${MAKE-make}"
4352 rm -rf .tst
2>/dev
/null
4353 mkdir .tst
2>/dev
/null
4354 if test -d .tst
; then
4359 rmdir .tst
2>/dev
/null
4361 DEPDIR
="${am__leading_dot}deps"
4363 ac_config_commands
="$ac_config_commands depfiles"
4366 am_make
=${MAKE-make}
4367 cat > confinc
<< 'END'
4369 @
echo this is the am__doit target
4372 # If we don't find an include directive, just comment out the code.
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4374 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4378 # First try GNU make style include.
4379 echo "include confinc" > confmf
4380 # Ignore all kinds of additional output from `make'.
4381 case `$am_make -s -f confmf 2> /dev/null` in #(
4382 *the\ am__doit\ target
*)
4388 # Now try BSD make style include.
4389 if test "$am__include" = "#"; then
4390 echo '.include "confinc"' > confmf
4391 case `$am_make -s -f confmf 2> /dev/null` in #(
4392 *the\ am__doit\ target
*)
4393 am__include
=.include
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4402 $as_echo "$_am_result" >&6; }
4403 rm -f confinc confmf
4405 # Check whether --enable-dependency-tracking was given.
4406 if test "${enable_dependency_tracking+set}" = set; then :
4407 enableval
=$enable_dependency_tracking;
4410 if test "x$enable_dependency_tracking" != xno
; then
4411 am_depcomp
="$ac_aux_dir/depcomp"
4414 if test "x$enable_dependency_tracking" != xno; then
4423 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4424 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4425 # is not polluted with repeated "-I."
4426 am__isrc
=' -I$(srcdir)'
4427 # test to see if srcdir already configured
4428 if test -f $srcdir/config.status
; then
4429 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4433 # test whether we have cygpath
4434 if test -z "$CYGPATH_W"; then
4435 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4436 CYGPATH_W
='cygpath -w'
4443 # Define the identity of the package.
4448 cat >>confdefs.h
<<_ACEOF
4449 #define PACKAGE "$PACKAGE"
4453 cat >>confdefs.h
<<_ACEOF
4454 #define VERSION "$VERSION"
4457 # Some tools Automake needs.
4459 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4462 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4465 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4468 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4471 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4473 # We need awk for the "check" target. The system "awk" is bad on
4475 # Always define AMTAR for backward compatibility.
4477 AMTAR
=${AMTAR-"${am_missing_run}tar"}
4479 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
4484 depcc
="$CC" am_compiler_list
=
4486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4487 $as_echo_n "checking dependency style of $depcc... " >&6; }
4488 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
4489 $as_echo_n "(cached) " >&6
4491 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4492 # We make a subdir and do the tests there. Otherwise we can end up
4493 # making bogus files that we don't know about and never remove. For
4494 # instance it was reported that on HP-UX the gcc test will end up
4495 # making a dummy file named `D' -- because `-MD' means `put the output
4498 # Copy depcomp to subdir because otherwise we won't find it if we're
4499 # using a relative directory.
4500 cp "$am_depcomp" conftest.dir
4502 # We will build objects and dependencies in a subdirectory because
4503 # it helps to detect inapplicable dependency modes. For instance
4504 # both Tru64's cc and ICC support -MD to output dependencies as a
4505 # side effect of compilation, but ICC will put the dependencies in
4506 # the current directory while Tru64 will put them in the object
4510 am_cv_CC_dependencies_compiler_type
=none
4511 if test "$am_compiler_list" = ""; then
4512 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4515 case " $depcc " in #(
4516 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4519 for depmode
in $am_compiler_list; do
4520 # Setup a source with many dependencies, because some compilers
4521 # like to wrap large dependency lists on column 80 (with \), and
4522 # we should not choose a depcomp mode which is confused by this.
4524 # We need to recreate these files for each test, as the compiler may
4525 # overwrite some of them when testing with obscure command lines.
4526 # This happens at least with the AIX C compiler.
4528 for i
in 1 2 3 4 5 6; do
4529 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4530 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4531 # Solaris 8's {/usr,}/bin/sh.
4532 touch sub
/conftst
$i.h
4534 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4536 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4537 # mode. It turns out that the SunPro C++ compiler does not properly
4538 # handle `-M -o', and we need to detect this. Also, some Intel
4539 # versions had trouble with output in subdirs
4540 am__obj
=sub
/conftest.
${OBJEXT-o}
4541 am__minus_obj
="-o $am__obj"
4544 # This depmode causes a compiler race in universal mode.
4545 test "$am__universal" = false ||
continue
4548 # after this tag, mechanisms are not by side-effect, so they'll
4549 # only be used when explicitly requested
4550 if test "x$enable_dependency_tracking" = xyes
; then
4556 msvisualcpp | msvcmsys
)
4557 # This compiler won't grok `-c -o', but also, the minuso test has
4558 # not run yet. These depmodes are late enough in the game, and
4559 # so weak that their functioning should not be impacted.
4560 am__obj
=conftest.
${OBJEXT-o}
4565 if depmode
=$depmode \
4566 source=sub
/conftest.c object
=$am__obj \
4567 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4568 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4569 >/dev
/null
2>conftest.err
&&
4570 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4571 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4572 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4573 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4574 # icc doesn't choke on unknown options, it will just issue warnings
4575 # or remarks (even with -Werror). So we grep stderr for any message
4576 # that says an option was ignored or not supported.
4577 # When given -MP, icc 7.0 and 7.1 complain thusly:
4578 # icc: Command line warning: ignoring option '-M'; no argument required
4579 # The diagnosis changed in icc 8.0:
4580 # icc: Command line remark: option '-MP' not supported
4581 if (grep 'ignoring option' conftest.err ||
4582 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4583 am_cv_CC_dependencies_compiler_type
=$depmode
4592 am_cv_CC_dependencies_compiler_type
=none
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4597 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4598 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4601 test "x$enable_dependency_tracking" != xno \
4602 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4604 am__fastdepCC_FALSE
='#'
4606 am__fastdepCC_TRUE
='#'
4607 am__fastdepCC_FALSE
=
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4616 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4622 macro_revision
='1.3293'
4636 ltmain
="$ac_aux_dir/ltmain.sh"
4638 # Backslashify metacharacters that are still active within
4639 # double-quoted strings.
4640 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
4642 # Same as above, but do not quote variable references.
4643 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
4645 # Sed substitution to delay expansion of an escaped shell variable in a
4646 # double_quote_subst'ed string.
4647 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
4649 # Sed substitution to delay expansion of an escaped single quote.
4650 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
4652 # Sed substitution to avoid accidental globbing in evaled expressions
4653 no_glob_subst
='s/\*/\\\*/g'
4655 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4656 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4657 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4660 $as_echo_n "checking how to print strings... " >&6; }
4661 # Test print first, because it will be a builtin if present.
4662 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4663 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4665 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4668 # Use this function as a fallback that always works.
4669 func_fallback_echo ()
4671 eval 'cat <<_LTECHO_EOF
4675 ECHO='func_fallback_echo
'
4678 # func_echo_all arg...
4679 # Invoke $ECHO with all args, space-separated.
4686 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4687 $as_echo "printf" >&6; } ;;
4688 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4689 $as_echo "print -r" >&6; } ;;
4690 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4691 $as_echo "cat" >&6; } ;;
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4708 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4709 if ${ac_cv_path_SED+:} false; then :
4710 $as_echo_n "(cached) " >&6
4712 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4713 for ac_i in 1 2 3 4 5 6 7; do
4714 ac_script="$ac_script$as_nl$ac_script"
4716 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4717 { ac_script=; unset ac_script;}
4718 if test -z "$SED"; then
4719 ac_path_SED_found=false
4720 # Loop through the user's path and
test for each of PROGNAME-LIST
4721 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4725 test -z "$as_dir" && as_dir
=.
4726 for ac_prog
in sed gsed
; do
4727 for ac_exec_ext
in '' $ac_executable_extensions; do
4728 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4729 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
4730 # Check for GNU ac_path_SED and select it if it is found.
4731 # Check for GNU $ac_path_SED
4732 case `"$ac_path_SED" --version 2>&1` in
4734 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4737 $as_echo_n 0123456789 >"conftest.in"
4740 cat "conftest.in" "conftest.in" >"conftest.tmp"
4741 mv "conftest.tmp" "conftest.in"
4742 cp "conftest.in" "conftest.nl"
4743 $as_echo '' >> "conftest.nl"
4744 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4745 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4746 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4747 if test $ac_count -gt ${ac_path_SED_max-0}; then
4748 # Best one so far, save it but keep looking for a better one
4749 ac_cv_path_SED
="$ac_path_SED"
4750 ac_path_SED_max
=$ac_count
4752 # 10*(2^10) chars as input seems more than enough
4753 test $ac_count -gt 10 && break
4755 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4758 $ac_path_SED_found && break 3
4763 if test -z "$ac_cv_path_SED"; then
4764 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4772 $as_echo "$ac_cv_path_SED" >&6; }
4773 SED
="$ac_cv_path_SED"
4776 test -z "$SED" && SED
=sed
4777 Xsed
="$SED -e 1s/^X//"
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4790 $as_echo_n "checking for fgrep... " >&6; }
4791 if ${ac_cv_path_FGREP+:} false
; then :
4792 $as_echo_n "(cached) " >&6
4794 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4795 then ac_cv_path_FGREP
="$GREP -F"
4797 if test -z "$FGREP"; then
4798 ac_path_FGREP_found
=false
4799 # Loop through the user's path and test for each of PROGNAME-LIST
4800 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4801 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4804 test -z "$as_dir" && as_dir
=.
4805 for ac_prog
in fgrep
; do
4806 for ac_exec_ext
in '' $ac_executable_extensions; do
4807 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4808 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
4809 # Check for GNU ac_path_FGREP and select it if it is found.
4810 # Check for GNU $ac_path_FGREP
4811 case `"$ac_path_FGREP" --version 2>&1` in
4813 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4816 $as_echo_n 0123456789 >"conftest.in"
4819 cat "conftest.in" "conftest.in" >"conftest.tmp"
4820 mv "conftest.tmp" "conftest.in"
4821 cp "conftest.in" "conftest.nl"
4822 $as_echo 'FGREP' >> "conftest.nl"
4823 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4824 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4825 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4826 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4827 # Best one so far, save it but keep looking for a better one
4828 ac_cv_path_FGREP
="$ac_path_FGREP"
4829 ac_path_FGREP_max
=$ac_count
4831 # 10*(2^10) chars as input seems more than enough
4832 test $ac_count -gt 10 && break
4834 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4837 $ac_path_FGREP_found && break 3
4842 if test -z "$ac_cv_path_FGREP"; then
4843 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4846 ac_cv_path_FGREP
=$FGREP
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4852 $as_echo "$ac_cv_path_FGREP" >&6; }
4853 FGREP
="$ac_cv_path_FGREP"
4856 test -z "$GREP" && GREP
=grep
4876 # Check whether --with-gnu-ld was given.
4877 if test "${with_gnu_ld+set}" = set; then :
4878 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4884 if test "$GCC" = yes; then
4885 # Check if gcc -print-prog-name=ld gives a path.
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4887 $as_echo_n "checking for ld used by $CC... " >&6; }
4890 # gcc leaves a trailing carriage return which upsets mingw
4891 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4893 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4896 # Accept absolute paths.
4898 re_direlt
='/[^/][^/]*/\.\./'
4899 # Canonicalize the pathname of ld
4900 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4901 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4902 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4904 test -z "$LD" && LD
="$ac_prog"
4907 # If it fails, then pretend we aren't using GCC.
4911 # If it is relative, then search for the first ld in PATH.
4915 elif test "$with_gnu_ld" = yes; then
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4917 $as_echo_n "checking for GNU ld... " >&6; }
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4920 $as_echo_n "checking for non-GNU ld... " >&6; }
4922 if ${lt_cv_path_LD+:} false
; then :
4923 $as_echo_n "(cached) " >&6
4925 if test -z "$LD"; then
4926 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4927 for ac_dir
in $PATH; do
4929 test -z "$ac_dir" && ac_dir
=.
4930 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4931 lt_cv_path_LD
="$ac_dir/$ac_prog"
4932 # Check to see if the program is GNU ld. I'd rather use --version,
4933 # but apparently some variants of GNU ld only accept -v.
4934 # Break only if it was the GNU/non-GNU ld that we prefer.
4935 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4936 *GNU
* |
*'with BFD'*)
4937 test "$with_gnu_ld" != no
&& break
4940 test "$with_gnu_ld" != yes && break
4947 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4952 if test -n "$LD"; then
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4954 $as_echo "$LD" >&6; }
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4957 $as_echo "no" >&6; }
4959 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4961 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4962 if ${lt_cv_prog_gnu_ld+:} false
; then :
4963 $as_echo_n "(cached) " >&6
4965 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4966 case `$LD -v 2>&1 </dev/null` in
4967 *GNU
* |
*'with BFD'*)
4968 lt_cv_prog_gnu_ld
=yes
4971 lt_cv_prog_gnu_ld
=no
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4976 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4977 with_gnu_ld
=$lt_cv_prog_gnu_ld
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4988 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4989 if ${lt_cv_path_NM+:} false
; then :
4990 $as_echo_n "(cached) " >&6
4992 if test -n "$NM"; then
4993 # Let the user override the test.
4996 lt_nm_to_check
="${ac_tool_prefix}nm"
4997 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4998 lt_nm_to_check
="$lt_nm_to_check nm"
5000 for lt_tmp_nm
in $lt_nm_to_check; do
5001 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5002 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5004 test -z "$ac_dir" && ac_dir
=.
5005 tmp_nm
="$ac_dir/$lt_tmp_nm"
5006 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5007 # Check to see if the nm accepts a BSD-compat flag.
5008 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5009 # nm: unknown option "B" ignored
5010 # Tru64's nm complains that /dev/null is an invalid object file
5011 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5012 */dev
/null
* |
*'Invalid file or object type'*)
5013 lt_cv_path_NM
="$tmp_nm -B"
5017 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5019 lt_cv_path_NM
="$tmp_nm -p"
5023 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5024 continue # so that we can try to find one that supports BSD flags
5033 : ${lt_cv_path_NM=no}
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5037 $as_echo "$lt_cv_path_NM" >&6; }
5038 if test "$lt_cv_path_NM" != "no"; then
5041 # Didn't find any BSD compatible name lister, look for dumpbin.
5042 if test -n "$DUMPBIN"; then :
5043 # Let the user override the test.
5045 if test -n "$ac_tool_prefix"; then
5046 for ac_prog
in dumpbin
"link -dump"
5048 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5049 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5051 $as_echo_n "checking for $ac_word... " >&6; }
5052 if ${ac_cv_prog_DUMPBIN+:} false
; then :
5053 $as_echo_n "(cached) " >&6
5055 if test -n "$DUMPBIN"; then
5056 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5058 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5062 test -z "$as_dir" && as_dir
=.
5063 for ac_exec_ext
in '' $ac_executable_extensions; do
5064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5065 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5075 DUMPBIN
=$ac_cv_prog_DUMPBIN
5076 if test -n "$DUMPBIN"; then
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5078 $as_echo "$DUMPBIN" >&6; }
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5081 $as_echo "no" >&6; }
5085 test -n "$DUMPBIN" && break
5088 if test -z "$DUMPBIN"; then
5089 ac_ct_DUMPBIN
=$DUMPBIN
5090 for ac_prog
in dumpbin
"link -dump"
5092 # Extract the first word of "$ac_prog", so it can be a program name with args.
5093 set dummy
$ac_prog; ac_word
=$2
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5095 $as_echo_n "checking for $ac_word... " >&6; }
5096 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
5097 $as_echo_n "(cached) " >&6
5099 if test -n "$ac_ct_DUMPBIN"; then
5100 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5102 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5106 test -z "$as_dir" && as_dir
=.
5107 for ac_exec_ext
in '' $ac_executable_extensions; do
5108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5109 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5119 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5120 if test -n "$ac_ct_DUMPBIN"; then
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5122 $as_echo "$ac_ct_DUMPBIN" >&6; }
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5125 $as_echo "no" >&6; }
5129 test -n "$ac_ct_DUMPBIN" && break
5132 if test "x$ac_ct_DUMPBIN" = x
; then
5135 case $cross_compiling:$ac_tool_warned in
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5138 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5139 ac_tool_warned
=yes ;;
5141 DUMPBIN
=$ac_ct_DUMPBIN
5145 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5147 DUMPBIN
="$DUMPBIN -symbols"
5155 if test "$DUMPBIN" != ":"; then
5159 test -z "$NM" && NM
=nm
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5167 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5168 if ${lt_cv_nm_interface+:} false
; then :
5169 $as_echo_n "(cached) " >&6
5171 lt_cv_nm_interface
="BSD nm"
5172 echo "int some_variable = 0;" > conftest.
$ac_ext
5173 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5174 (eval "$ac_compile" 2>conftest.err
)
5175 cat conftest.err
>&5
5176 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5177 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5178 cat conftest.err
>&5
5179 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5180 cat conftest.out
>&5
5181 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5182 lt_cv_nm_interface
="MS dumpbin"
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5187 $as_echo "$lt_cv_nm_interface" >&6; }
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5190 $as_echo_n "checking whether ln -s works... " >&6; }
5192 if test "$LN_S" = "ln -s"; then
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5194 $as_echo "yes" >&6; }
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5197 $as_echo "no, using $LN_S" >&6; }
5200 # find the maximum length of command line arguments
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5202 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5203 if ${lt_cv_sys_max_cmd_len+:} false
; then :
5204 $as_echo_n "(cached) " >&6
5211 # On DJGPP, this test can blow up pretty badly due to problems in libc
5212 # (any single argument exceeding 2000 bytes causes a buffer overrun
5213 # during glob expansion). Even if it were fixed, the result of this
5214 # check would be larger than it should be.
5215 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5219 # Under GNU Hurd, this test is not required because there is
5220 # no limit to the length of command line arguments.
5221 # Libtool will interpret -1 as no limit whatsoever
5222 lt_cv_sys_max_cmd_len
=-1;
5225 cygwin
* | mingw
* | cegcc
*)
5226 # On Win9x/ME, this test blows up -- it succeeds, but takes
5227 # about 5 minutes as the teststring grows exponentially.
5228 # Worse, since 9x/ME are not pre-emptively multitasking,
5229 # you end up with a "frozen" computer, even though with patience
5230 # the test eventually succeeds (with a max line length of 256k).
5231 # Instead, let's just punt: use the minimum linelength reported by
5232 # all of the supported platforms: 8192 (on NT/2K/XP).
5233 lt_cv_sys_max_cmd_len
=8192;
5237 # On MiNT this can take a long time and run out of memory.
5238 lt_cv_sys_max_cmd_len
=8192;
5242 # On AmigaOS with pdksh, this test takes hours, literally.
5243 # So we just punt and use a minimum line length of 8192.
5244 lt_cv_sys_max_cmd_len
=8192;
5247 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5248 # This has been around since 386BSD, at least. Likely further.
5249 if test -x /sbin
/sysctl
; then
5250 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5251 elif test -x /usr
/sbin
/sysctl
; then
5252 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5254 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5256 # And add a safety zone
5257 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5258 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5262 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5263 lt_cv_sys_max_cmd_len
=196608
5267 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5268 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5269 # nice to cause kernel panics so lets avoid the loop below.
5270 # First set a reasonable default.
5271 lt_cv_sys_max_cmd_len
=16384
5273 if test -x /sbin
/sysconfig
; then
5274 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5275 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5280 lt_cv_sys_max_cmd_len
=102400
5282 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5283 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5284 if test -n "$kargmax"; then
5285 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5287 lt_cv_sys_max_cmd_len
=32768
5291 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5292 if test -n "$lt_cv_sys_max_cmd_len"; then
5293 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5294 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5296 # Make teststring a little bigger before we do anything with it.
5297 # a 1K string should be a reasonable start.
5298 for i
in 1 2 3 4 5 6 7 8 ; do
5299 teststring
=$teststring$teststring
5301 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5302 # If test is not a shell built-in, we'll probably end up computing a
5303 # maximum length that is only half of the actual maximum length, but
5305 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5306 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5307 test $i != 17 # 1/2 MB should be enough
5310 teststring
=$teststring$teststring
5312 # Only check the string length outside the loop.
5313 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5315 # Add a significant safety factor because C++ compilers can tack on
5316 # massive amounts of additional arguments before passing them to the
5317 # linker. It appears as though 1/2 is a usable value.
5318 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5325 if test -n $lt_cv_sys_max_cmd_len ; then
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5327 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5330 $as_echo "none" >&6; }
5332 max_cmd_len
=$lt_cv_sys_max_cmd_len
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5344 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5345 # Try some XSI features
5348 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5350 && eval 'test $(( 1 + 1 )) -eq 2 \
5351 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5354 $as_echo "$xsi_shell" >&6; }
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5358 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5360 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5362 && lt_shell_append=yes
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5364 $as_echo "$lt_shell_append" >&6; }
5367 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5377 # test EBCDIC or ASCII
5378 case `echo X|tr X '\101'` in
5379 A) # ASCII based system
5380 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5381 lt_SP2NL='tr \040 \012'
5382 lt_NL2SP='tr \015\012 \040\040'
5384 *) # EBCDIC based system
5385 lt_SP2NL='tr \100 \n'
5386 lt_NL2SP='tr \r\n \100\100'
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
5399 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
5400 if ${lt_cv_to_host_file_cmd+:} false; then :
5401 $as_echo_n "(cached
) " >&6
5406 *-*-mingw* ) # actually msys
5407 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5410 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5412 * ) # otherwise, assume *nix
5413 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5419 *-*-mingw* ) # actually msys
5420 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5423 lt_cv_to_host_file_cmd=func_convert_file_noop
5425 * ) # otherwise, assume *nix
5426 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5430 * ) # unhandled hosts (and "normal
" native builds)
5431 lt_cv_to_host_file_cmd=func_convert_file_noop
5437 to_host_file_cmd=$lt_cv_to_host_file_cmd
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
5439 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
5446 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
5447 if ${lt_cv_to_tool_file_cmd+:} false; then :
5448 $as_echo_n "(cached
) " >&6
5450 #assume ordinary cross tools, or native build.
5451 lt_cv_to_tool_file_cmd=func_convert_file_noop
5455 *-*-mingw* ) # actually msys
5456 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5464 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
5466 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5473 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5474 if ${lt_cv_ld_reload_flag+:} false; then :
5475 $as_echo_n "(cached
) " >&6
5477 lt_cv_ld_reload_flag='-r'
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5480 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5481 reload_flag=$lt_cv_ld_reload_flag
5482 case $reload_flag in
5484 *) reload_flag=" $reload_flag" ;;
5486 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5488 cygwin* | mingw* | pw32* | cegcc*)
5489 if test "$GCC" != yes; then
5494 if test "$GCC" = yes; then
5495 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5497 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5510 if test -n "$ac_tool_prefix"; then
5511 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5512 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5514 $as_echo_n "checking
for $ac_word...
" >&6; }
5515 if ${ac_cv_prog_OBJDUMP+:} false; then :
5516 $as_echo_n "(cached
) " >&6
5518 if test -n "$OBJDUMP"; then
5519 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5525 test -z "$as_dir" && as_dir=.
5526 for ac_exec_ext in '' $ac_executable_extensions; do
5527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5528 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5529 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5538 OBJDUMP=$ac_cv_prog_OBJDUMP
5539 if test -n "$OBJDUMP"; then
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5541 $as_echo "$OBJDUMP" >&6; }
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5544 $as_echo "no
" >&6; }
5549 if test -z "$ac_cv_prog_OBJDUMP"; then
5550 ac_ct_OBJDUMP=$OBJDUMP
5551 # Extract the first word of "objdump
", so it can be a program name with args.
5552 set dummy objdump; ac_word=$2
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5554 $as_echo_n "checking
for $ac_word...
" >&6; }
5555 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5556 $as_echo_n "(cached
) " >&6
5558 if test -n "$ac_ct_OBJDUMP"; then
5559 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5565 test -z "$as_dir" && as_dir=.
5566 for ac_exec_ext in '' $ac_executable_extensions; do
5567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5568 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5569 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5578 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5579 if test -n "$ac_ct_OBJDUMP"; then
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5581 $as_echo "$ac_ct_OBJDUMP" >&6; }
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5584 $as_echo "no
" >&6; }
5587 if test "x
$ac_ct_OBJDUMP" = x; then
5590 case $cross_compiling:$ac_tool_warned in
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5593 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5594 ac_tool_warned=yes ;;
5596 OBJDUMP=$ac_ct_OBJDUMP
5599 OBJDUMP="$ac_cv_prog_OBJDUMP"
5602 test -z "$OBJDUMP" && OBJDUMP=objdump
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5613 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5614 if ${lt_cv_deplibs_check_method+:} false; then :
5615 $as_echo_n "(cached
) " >&6
5617 lt_cv_file_magic_cmd='$MAGIC_CMD'
5618 lt_cv_file_magic_test_file=
5619 lt_cv_deplibs_check_method='unknown'
5620 # Need to set the preceding variable on all platforms that support
5621 # interlibrary dependencies.
5622 # 'none' -- dependencies not supported.
5623 # `unknown' -- same as none, but documents that we really don't know.
5624 # 'pass_all' -- all dependencies passed with no checks.
5625 # 'test_compile' -- check by making test program.
5626 # 'file_magic [[regex]]' -- check by looking for files in library path
5627 # which responds to the $file_magic_cmd with a given extended regex.
5628 # If you have `file' or equivalent on your system and you're not sure
5629 # whether `pass_all' will *always* work, you probably want this one.
5633 lt_cv_deplibs_check_method=pass_all
5637 lt_cv_deplibs_check_method=pass_all
5641 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5642 lt_cv_file_magic_cmd='/usr/bin/file -L'
5643 lt_cv_file_magic_test_file=/shlib/libc.so
5647 # func_win32_libid is a shell function defined in ltmain.sh
5648 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5649 lt_cv_file_magic_cmd='func_win32_libid'
5653 # Base MSYS/MinGW do not provide the 'file' command needed by
5654 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5655 # unless we find 'file', for example because we are cross-compiling.
5656 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5657 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
5658 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5659 lt_cv_file_magic_cmd='func_win32_libid'
5661 # Keep this pattern in sync with the one in func_win32_libid.
5662 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5663 lt_cv_file_magic_cmd='$OBJDUMP -f'
5668 # use the weaker test based on 'objdump'. See mingw*.
5669 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5670 lt_cv_file_magic_cmd='$OBJDUMP -f'
5673 darwin* | rhapsody*)
5674 lt_cv_deplibs_check_method=pass_all
5677 freebsd* | dragonfly*)
5678 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5681 # Not sure whether the presence of OpenBSD here was a mistake.
5682 # Let's accept both of them until this is cleared up.
5683 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5684 lt_cv_file_magic_cmd=/usr/bin/file
5685 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5689 lt_cv_deplibs_check_method=pass_all
5694 lt_cv_deplibs_check_method=pass_all
5698 lt_cv_deplibs_check_method=pass_all
5701 hpux10.20* | hpux11*)
5702 lt_cv_file_magic_cmd=/usr/bin/file
5705 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5706 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5709 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]'
5710 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5713 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5714 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5720 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5721 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5724 irix5* | irix6* | nonstopux*)
5726 *-32|*"-32 ") libmagic=32-bit;;
5727 *-n32|*"-n32 ") libmagic=N32;;
5728 *-64|*"-64 ") libmagic=64-bit;;
5729 *) libmagic=never-match;;
5731 lt_cv_deplibs_check_method=pass_all
5734 # This must be Linux ELF.
5735 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5736 lt_cv_deplibs_check_method=pass_all
5740 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5741 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5743 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5748 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5749 lt_cv_file_magic_cmd=/usr/bin/file
5750 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5754 lt_cv_deplibs_check_method=pass_all
5758 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5759 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5761 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5765 osf3* | osf4* | osf5*)
5766 lt_cv_deplibs_check_method=pass_all
5770 lt_cv_deplibs_check_method=pass_all
5774 lt_cv_deplibs_check_method=pass_all
5777 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5778 lt_cv_deplibs_check_method=pass_all
5782 case $host_vendor in
5784 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]'
5785 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5788 lt_cv_deplibs_check_method=pass_all
5791 lt_cv_file_magic_cmd='/bin/file'
5792 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5795 lt_cv_file_magic_cmd='/bin/file'
5796 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5797 lt_cv_file_magic_test_file=/lib/libc.so
5800 lt_cv_deplibs_check_method=pass_all
5803 lt_cv_deplibs_check_method=pass_all
5809 lt_cv_deplibs_check_method=pass_all
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5815 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5819 if test "$build" = "$host"; then
5822 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5825 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
5831 file_magic_cmd=$lt_cv_file_magic_cmd
5832 deplibs_check_method=$lt_cv_deplibs_check_method
5833 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5856 if test -n "$ac_tool_prefix"; then
5857 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
5858 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5860 $as_echo_n "checking
for $ac_word...
" >&6; }
5861 if ${ac_cv_prog_DLLTOOL+:} false; then :
5862 $as_echo_n "(cached
) " >&6
5864 if test -n "$DLLTOOL"; then
5865 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5871 test -z "$as_dir" && as_dir=.
5872 for ac_exec_ext in '' $ac_executable_extensions; do
5873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5874 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
5875 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5884 DLLTOOL=$ac_cv_prog_DLLTOOL
5885 if test -n "$DLLTOOL"; then
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
5887 $as_echo "$DLLTOOL" >&6; }
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5890 $as_echo "no
" >&6; }
5895 if test -z "$ac_cv_prog_DLLTOOL"; then
5896 ac_ct_DLLTOOL=$DLLTOOL
5897 # Extract the first word of "dlltool
", so it can be a program name with args.
5898 set dummy dlltool; ac_word=$2
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5900 $as_echo_n "checking
for $ac_word...
" >&6; }
5901 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5902 $as_echo_n "(cached
) " >&6
5904 if test -n "$ac_ct_DLLTOOL"; then
5905 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5911 test -z "$as_dir" && as_dir=.
5912 for ac_exec_ext in '' $ac_executable_extensions; do
5913 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5914 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
5915 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5924 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5925 if test -n "$ac_ct_DLLTOOL"; then
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
5927 $as_echo "$ac_ct_DLLTOOL" >&6; }
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5930 $as_echo "no
" >&6; }
5933 if test "x
$ac_ct_DLLTOOL" = x; then
5936 case $cross_compiling:$ac_tool_warned in
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5939 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5940 ac_tool_warned=yes ;;
5942 DLLTOOL=$ac_ct_DLLTOOL
5945 DLLTOOL="$ac_cv_prog_DLLTOOL"
5948 test -z "$DLLTOOL" && DLLTOOL=dlltool
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
5960 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
5961 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5962 $as_echo_n "(cached
) " >&6
5964 lt_cv_sharedlib_from_linklib_cmd='unknown'
5967 cygwin* | mingw* | pw32* | cegcc*)
5968 # two different shell functions defined in ltmain.sh
5969 # decide which to use based on capabilities of $DLLTOOL
5970 case `$DLLTOOL --help 2>&1` in
5971 *--identify-strict*)
5972 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5975 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5980 # fallback: assume linklib IS sharedlib
5981 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
5987 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5988 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5989 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5997 if test -n "$ac_tool_prefix"; then
6000 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6001 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6003 $as_echo_n "checking
for $ac_word...
" >&6; }
6004 if ${ac_cv_prog_AR+:} false; then :
6005 $as_echo_n "(cached
) " >&6
6007 if test -n "$AR"; then
6008 ac_cv_prog_AR="$AR" # Let the user override the test.
6010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6014 test -z "$as_dir" && as_dir=.
6015 for ac_exec_ext in '' $ac_executable_extensions; do
6016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6017 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6018 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6028 if test -n "$AR"; then
6029 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6030 $as_echo "$AR" >&6; }
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6033 $as_echo "no
" >&6; }
6037 test -n "$AR" && break
6040 if test -z "$AR"; then
6044 # Extract the first word of "$ac_prog", so it can be a program name with args.
6045 set dummy $ac_prog; ac_word=$2
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6047 $as_echo_n "checking
for $ac_word...
" >&6; }
6048 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6049 $as_echo_n "(cached
) " >&6
6051 if test -n "$ac_ct_AR"; then
6052 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6058 test -z "$as_dir" && as_dir=.
6059 for ac_exec_ext in '' $ac_executable_extensions; do
6060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6061 ac_cv_prog_ac_ct_AR="$ac_prog"
6062 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6071 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6072 if test -n "$ac_ct_AR"; then
6073 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6074 $as_echo "$ac_ct_AR" >&6; }
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6077 $as_echo "no
" >&6; }
6081 test -n "$ac_ct_AR" && break
6084 if test "x
$ac_ct_AR" = x; then
6087 case $cross_compiling:$ac_tool_warned in
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6090 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6091 ac_tool_warned=yes ;;
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
6111 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
6112 if ${lt_cv_ar_at_file+:} false; then :
6113 $as_echo_n "(cached
) " >&6
6116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6117 /* end confdefs.h. */
6127 if ac_fn_c_try_compile "$LINENO"; then :
6128 echo conftest.$ac_objext > conftest.lst
6129 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6130 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6131 (eval $lt_ar_try) 2>&5
6133 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6134 test $ac_status = 0; }
6135 if test "$ac_status" -eq 0; then
6136 # Ensure the archiver fails upon bogus file names.
6137 rm -f conftest.$ac_objext libconftest.a
6138 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6139 (eval $lt_ar_try) 2>&5
6141 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6142 test $ac_status = 0; }
6143 if test "$ac_status" -ne 0; then
6147 rm -f conftest.* libconftest.a
6150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
6154 $as_echo "$lt_cv_ar_at_file" >&6; }
6156 if test "x
$lt_cv_ar_at_file" = xno; then
6159 archiver_list_spec=$lt_cv_ar_at_file
6168 if test -n "$ac_tool_prefix"; then
6169 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6170 set dummy ${ac_tool_prefix}strip; ac_word=$2
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6172 $as_echo_n "checking
for $ac_word...
" >&6; }
6173 if ${ac_cv_prog_STRIP+:} false; then :
6174 $as_echo_n "(cached
) " >&6
6176 if test -n "$STRIP"; then
6177 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6183 test -z "$as_dir" && as_dir=.
6184 for ac_exec_ext in '' $ac_executable_extensions; do
6185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6186 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6187 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6196 STRIP=$ac_cv_prog_STRIP
6197 if test -n "$STRIP"; then
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6199 $as_echo "$STRIP" >&6; }
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6202 $as_echo "no
" >&6; }
6207 if test -z "$ac_cv_prog_STRIP"; then
6209 # Extract the first word of "strip
", so it can be a program name with args.
6210 set dummy strip; ac_word=$2
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6212 $as_echo_n "checking
for $ac_word...
" >&6; }
6213 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6214 $as_echo_n "(cached
) " >&6
6216 if test -n "$ac_ct_STRIP"; then
6217 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6223 test -z "$as_dir" && as_dir=.
6224 for ac_exec_ext in '' $ac_executable_extensions; do
6225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6226 ac_cv_prog_ac_ct_STRIP="strip
"
6227 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6236 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6237 if test -n "$ac_ct_STRIP"; then
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6239 $as_echo "$ac_ct_STRIP" >&6; }
6241 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6242 $as_echo "no
" >&6; }
6245 if test "x
$ac_ct_STRIP" = x; then
6248 case $cross_compiling:$ac_tool_warned in
6250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6251 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6252 ac_tool_warned=yes ;;
6257 STRIP="$ac_cv_prog_STRIP"
6260 test -z "$STRIP" && STRIP=:
6267 if test -n "$ac_tool_prefix"; then
6268 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6269 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6271 $as_echo_n "checking
for $ac_word...
" >&6; }
6272 if ${ac_cv_prog_RANLIB+:} false; then :
6273 $as_echo_n "(cached
) " >&6
6275 if test -n "$RANLIB"; then
6276 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6282 test -z "$as_dir" && as_dir=.
6283 for ac_exec_ext in '' $ac_executable_extensions; do
6284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6285 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6286 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6295 RANLIB=$ac_cv_prog_RANLIB
6296 if test -n "$RANLIB"; then
6297 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6298 $as_echo "$RANLIB" >&6; }
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6301 $as_echo "no
" >&6; }
6306 if test -z "$ac_cv_prog_RANLIB"; then
6307 ac_ct_RANLIB=$RANLIB
6308 # Extract the first word of "ranlib
", so it can be a program name with args.
6309 set dummy ranlib; ac_word=$2
6310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6311 $as_echo_n "checking
for $ac_word...
" >&6; }
6312 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6313 $as_echo_n "(cached
) " >&6
6315 if test -n "$ac_ct_RANLIB"; then
6316 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6322 test -z "$as_dir" && as_dir=.
6323 for ac_exec_ext in '' $ac_executable_extensions; do
6324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6325 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6326 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6335 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6336 if test -n "$ac_ct_RANLIB"; then
6337 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6338 $as_echo "$ac_ct_RANLIB" >&6; }
6340 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6341 $as_echo "no
" >&6; }
6344 if test "x
$ac_ct_RANLIB" = x; then
6347 case $cross_compiling:$ac_tool_warned in
6349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6350 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6351 ac_tool_warned=yes ;;
6353 RANLIB=$ac_ct_RANLIB
6356 RANLIB="$ac_cv_prog_RANLIB"
6359 test -z "$RANLIB" && RANLIB=:
6366 # Determine commands to create old-style static archives.
6367 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6368 old_postinstall_cmds='chmod 644 $oldlib'
6369 old_postuninstall_cmds=
6371 if test -n "$RANLIB"; then
6374 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6377 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6380 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6385 lock_old_archive_extraction=yes ;;
6387 lock_old_archive_extraction=no ;;
6428 # If no C compiler was specified, use CC.
6431 # If no C compiler flags were specified, use CFLAGS.
6432 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6434 # Allow CC to be a program name with arguments.
6438 # Check for command to grab the raw symbol name followed by C symbol from nm.
6439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6440 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6441 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6442 $as_echo_n "(cached
) " >&6
6445 # These are sane defaults that work on at least a few old systems.
6446 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6448 # Character class describing NM global symbol codes.
6449 symcode='[BCDEGRST]'
6451 # Regexp to match symbols that can be accessed directly from C.
6452 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6454 # Define system-specific variables.
6459 cygwin* | mingw* | pw32* | cegcc*)
6460 symcode='[ABCDGISTW]'
6463 if test "$host_cpu" = ia64; then
6464 symcode='[ABCDEGRST]'
6468 symcode='[BCDEGRST]'
6471 symcode='[BCDEGQRST]'
6482 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6490 # If we're using GNU nm, then use its standard symbol codes.
6491 case `$NM -V 2>&1` in
6492 *GNU* | *'with BFD'*)
6493 symcode='[ABCDGIRSTW]' ;;
6496 # Transform an extracted symbol line into a proper C declaration.
6497 # Some systems (esp. on ia64) link data and code symbols differently,
6498 # so use this general approach.
6499 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6501 # Transform an extracted symbol line into symbol name and symbol address
6502 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6503 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'"
6505 # Handle CRLF in mingw tool chain
6509 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6513 # Try without a prefix underscore, then with it.
6514 for ac_symprfx in "" "_
"; do
6516 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6517 symxfrm="\\1 $ac_symprfx\\2 \\2"
6519 # Write the raw and C identifiers.
6520 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6521 # Fake it for dumpbin and say T for any non-static function
6522 # and D for any global variable.
6523 # Also find C++ and __fastcall symbols from MSVC++,
6524 # which start with @ or ?.
6525 lt_cv_sys_global_symbol_pipe="$AWK '"\
6526 " {last_section=section; section=\$ 3};"\
6527 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6528 " \$ 0!~/External *\|/{next};"\
6529 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6530 " {if(hide[section]) next};"\
6531 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6532 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6533 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6534 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6535 " ' prfx
=^
$ac_symprfx"
6537 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6539 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe |
sed '/ __gnu_lto/d'"
6541 # Check to see that the pipe works correctly.
6545 cat > conftest.$ac_ext <<_LT_EOF
6550 void nm_test_func(void);
6551 void nm_test_func(void){}
6555 int main(){nm_test_var='a';nm_test_func();return(0);}
6558 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6559 (eval $ac_compile) 2>&5
6561 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6562 test $ac_status = 0; }; then
6563 # Now try to grab the symbols.
6565 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6566 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6568 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6569 test $ac_status = 0; } && test -s "$nlist"; then
6570 # Try sorting and uniquifying the output.
6571 if sort "$nlist" | uniq > "$nlist"T; then
6572 mv -f "$nlist"T "$nlist"
6577 # Make sure that we snagged all the symbols we need.
6578 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6579 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6580 cat <<_LT_EOF > conftest.$ac_ext
6581 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6582 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6583 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6584 relocations are performed -- see ld's documentation on pseudo-relocs. */
6585 # define LT_DLSYM_CONST
6586 #elif defined(__osf__)
6587 /* This system does not cope well with relocations in const data. */
6588 # define LT_DLSYM_CONST
6590 # define LT_DLSYM_CONST const
6598 # Now generate the symbol file.
6599 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6601 cat <<_LT_EOF >> conftest.$ac_ext
6603 /* The mapping between symbol names and symbols. */
6604 LT_DLSYM_CONST struct {
6608 lt__PROGRAM__LTX_preloaded_symbols[] =
6610 { "@PROGRAM@
", (void *) 0 },
6612 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6613 cat <<\_LT_EOF >> conftest.$ac_ext
6617 /* This works around a problem in FreeBSD linker */
6618 #ifdef FREEBSD_WORKAROUND
6619 static const void *lt_preloaded_setup() {
6620 return lt__PROGRAM__LTX_preloaded_symbols;
6628 # Now try linking the two files.
6629 mv conftest.$ac_objext conftstm.$ac_objext
6630 lt_globsym_save_LIBS=$LIBS
6631 lt_globsym_save_CFLAGS=$CFLAGS
6632 LIBS="conftstm.
$ac_objext"
6633 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6634 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6635 (eval $ac_link) 2>&5
6637 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6638 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6641 LIBS=$lt_globsym_save_LIBS
6642 CFLAGS=$lt_globsym_save_CFLAGS
6644 echo "cannot
find nm_test_func
in $nlist" >&5
6647 echo "cannot
find nm_test_var
in $nlist" >&5
6650 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6653 echo "$progname: failed program was
:" >&5
6654 cat conftest.$ac_ext >&5
6656 rm -rf conftest* conftst*
6658 # Do not use the global_symbol_pipe unless it works.
6659 if test "$pipe_works" = yes; then
6662 lt_cv_sys_global_symbol_pipe=
6668 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6669 lt_cv_sys_global_symbol_to_cdecl=
6671 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6672 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6673 $as_echo "failed
" >&6; }
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6676 $as_echo "ok
" >&6; }
6679 # Response file support.
6680 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6681 nm_file_list_spec='@'
6682 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6683 nm_file_list_spec='@'
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
6713 $as_echo_n "checking
for sysroot...
" >&6; }
6715 # Check whether --with-sysroot was given.
6716 if test "${with_sysroot+set}" = set; then :
6717 withval=$with_sysroot;
6724 case ${with_sysroot} in #(
6726 if test "$GCC" = yes; then
6727 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6731 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${with_sysroot}" >&5
6737 $as_echo "${with_sysroot}" >&6; }
6738 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
6743 $as_echo "${lt_sysroot:-no}" >&6; }
6749 # Check whether --enable-libtool-lock was given.
6750 if test "${enable_libtool_lock+set}" = set; then :
6751 enableval=$enable_libtool_lock;
6754 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6756 # Some flags need to be propagated to the compiler or linker for good
6760 # Find out which ABI we are using.
6761 echo 'int i;' > conftest.$ac_ext
6762 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6763 (eval $ac_compile) 2>&5
6765 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6766 test $ac_status = 0; }; then
6767 case `/usr/bin/file conftest.$ac_objext` in
6779 # Find out which ABI we are using.
6780 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6781 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6782 (eval $ac_compile) 2>&5
6784 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6785 test $ac_status = 0; }; then
6786 if test "$lt_cv_prog_gnu_ld" = yes; then
6787 case `/usr/bin/file conftest.$ac_objext` in
6789 LD="${LD-ld} -melf32bsmip"
6792 LD="${LD-ld} -melf32bmipn32"
6795 LD="${LD-ld} -melf64bmip"
6799 case `/usr/bin/file conftest.$ac_objext` in
6815 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6816 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6817 # Find out which ABI we are using.
6818 echo 'int i;' > conftest.$ac_ext
6819 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6820 (eval $ac_compile) 2>&5
6822 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6823 test $ac_status = 0; }; then
6824 case `/usr/bin/file conftest.o` in
6827 x86_64-*kfreebsd*-gnu)
6828 LD="${LD-ld} -m elf_i386_fbsd
"
6831 LD="${LD-ld} -m elf_i386
"
6833 ppc64-*linux*|powerpc64-*linux*)
6834 LD="${LD-ld} -m elf32ppclinux
"
6837 LD="${LD-ld} -m elf_s390
"
6840 LD="${LD-ld} -m elf32_sparc
"
6846 x86_64-*kfreebsd*-gnu)
6847 LD="${LD-ld} -m elf_x86_64_fbsd
"
6850 LD="${LD-ld} -m elf_x86_64
"
6852 ppc*-*linux*|powerpc*-*linux*)
6853 LD="${LD-ld} -m elf64ppc
"
6855 s390*-*linux*|s390*-*tpf*)
6856 LD="${LD-ld} -m elf64_s390
"
6859 LD="${LD-ld} -m elf64_sparc
"
6869 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6870 SAVE_CFLAGS="$CFLAGS"
6871 CFLAGS="$CFLAGS -belf"
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6873 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6874 if ${lt_cv_cc_needs_belf+:} false; then :
6875 $as_echo_n "(cached
) " >&6
6878 ac_cpp='$CPP $CPPFLAGS'
6879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6884 /* end confdefs.h. */
6894 if ac_fn_c_try_link "$LINENO"; then :
6895 lt_cv_cc_needs_belf=yes
6897 lt_cv_cc_needs_belf=no
6899 rm -f core conftest.err conftest.$ac_objext \
6900 conftest$ac_exeext conftest.$ac_ext
6902 ac_cpp='$CPP $CPPFLAGS'
6903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6908 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6909 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6910 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6911 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6912 CFLAGS="$SAVE_CFLAGS"
6916 # Find out which ABI we are using.
6917 echo 'int i;' > conftest.$ac_ext
6918 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6919 (eval $ac_compile) 2>&5
6921 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6922 test $ac_status = 0; }; then
6923 case `/usr/bin/file conftest.o` in
6925 case $lt_cv_prog_gnu_ld in
6926 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6928 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6940 need_locks="$enable_libtool_lock"
6942 if test -n "$ac_tool_prefix"; then
6943 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
6944 set dummy ${ac_tool_prefix}mt; 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_MANIFEST_TOOL+:} false; then :
6948 $as_echo_n "(cached
) " >&6
6950 if test -n "$MANIFEST_TOOL"; then
6951 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6960 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
6961 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6970 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6971 if test -n "$MANIFEST_TOOL"; then
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
6973 $as_echo "$MANIFEST_TOOL" >&6; }
6975 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6976 $as_echo "no
" >&6; }
6981 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6982 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6983 # Extract the first word of "mt
", so it can be a program name with args.
6984 set dummy mt; ac_word=$2
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6986 $as_echo_n "checking
for $ac_word...
" >&6; }
6987 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6988 $as_echo_n "(cached
) " >&6
6990 if test -n "$ac_ct_MANIFEST_TOOL"; then
6991 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6997 test -z "$as_dir" && as_dir=.
6998 for ac_exec_ext in '' $ac_executable_extensions; do
6999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7000 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
7001 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7010 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7011 if test -n "$ac_ct_MANIFEST_TOOL"; then
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
7013 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7016 $as_echo "no
" >&6; }
7019 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
7022 case $cross_compiling:$ac_tool_warned in
7024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7025 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7026 ac_tool_warned=yes ;;
7028 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7031 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7034 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
7036 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
7037 if ${lt_cv_path_mainfest_tool+:} false; then :
7038 $as_echo_n "(cached
) " >&6
7040 lt_cv_path_mainfest_tool=no
7041 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7042 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7043 cat conftest.err >&5
7044 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7045 lt_cv_path_mainfest_tool=yes
7049 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
7050 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7051 if test "x
$lt_cv_path_mainfest_tool" != xyes; then
7061 rhapsody* | darwin*)
7062 if test -n "$ac_tool_prefix"; then
7063 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7064 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7066 $as_echo_n "checking
for $ac_word...
" >&6; }
7067 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7068 $as_echo_n "(cached
) " >&6
7070 if test -n "$DSYMUTIL"; then
7071 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7077 test -z "$as_dir" && as_dir=.
7078 for ac_exec_ext in '' $ac_executable_extensions; do
7079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7080 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7081 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7090 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7091 if test -n "$DSYMUTIL"; then
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7093 $as_echo "$DSYMUTIL" >&6; }
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7096 $as_echo "no
" >&6; }
7101 if test -z "$ac_cv_prog_DSYMUTIL"; then
7102 ac_ct_DSYMUTIL=$DSYMUTIL
7103 # Extract the first word of "dsymutil
", so it can be a program name with args.
7104 set dummy dsymutil; ac_word=$2
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7106 $as_echo_n "checking
for $ac_word...
" >&6; }
7107 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7108 $as_echo_n "(cached
) " >&6
7110 if test -n "$ac_ct_DSYMUTIL"; then
7111 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7117 test -z "$as_dir" && as_dir=.
7118 for ac_exec_ext in '' $ac_executable_extensions; do
7119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7120 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7121 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7130 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7131 if test -n "$ac_ct_DSYMUTIL"; then
7132 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7133 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7135 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7136 $as_echo "no
" >&6; }
7139 if test "x
$ac_ct_DSYMUTIL" = x; then
7142 case $cross_compiling:$ac_tool_warned in
7144 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7145 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7146 ac_tool_warned=yes ;;
7148 DSYMUTIL=$ac_ct_DSYMUTIL
7151 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7154 if test -n "$ac_tool_prefix"; then
7155 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7156 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7158 $as_echo_n "checking
for $ac_word...
" >&6; }
7159 if ${ac_cv_prog_NMEDIT+:} false; then :
7160 $as_echo_n "(cached
) " >&6
7162 if test -n "$NMEDIT"; then
7163 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7169 test -z "$as_dir" && as_dir=.
7170 for ac_exec_ext in '' $ac_executable_extensions; do
7171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7172 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7173 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7182 NMEDIT=$ac_cv_prog_NMEDIT
7183 if test -n "$NMEDIT"; then
7184 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7185 $as_echo "$NMEDIT" >&6; }
7187 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7188 $as_echo "no
" >&6; }
7193 if test -z "$ac_cv_prog_NMEDIT"; then
7194 ac_ct_NMEDIT=$NMEDIT
7195 # Extract the first word of "nmedit
", so it can be a program name with args.
7196 set dummy nmedit; ac_word=$2
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7198 $as_echo_n "checking
for $ac_word...
" >&6; }
7199 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7200 $as_echo_n "(cached
) " >&6
7202 if test -n "$ac_ct_NMEDIT"; then
7203 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7209 test -z "$as_dir" && as_dir=.
7210 for ac_exec_ext in '' $ac_executable_extensions; do
7211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7212 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7213 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7222 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7223 if test -n "$ac_ct_NMEDIT"; then
7224 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7225 $as_echo "$ac_ct_NMEDIT" >&6; }
7227 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7228 $as_echo "no
" >&6; }
7231 if test "x
$ac_ct_NMEDIT" = x; then
7234 case $cross_compiling:$ac_tool_warned in
7236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7237 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7238 ac_tool_warned=yes ;;
7240 NMEDIT=$ac_ct_NMEDIT
7243 NMEDIT="$ac_cv_prog_NMEDIT"
7246 if test -n "$ac_tool_prefix"; then
7247 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7248 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7250 $as_echo_n "checking
for $ac_word...
" >&6; }
7251 if ${ac_cv_prog_LIPO+:} false; then :
7252 $as_echo_n "(cached
) " >&6
7254 if test -n "$LIPO"; then
7255 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7261 test -z "$as_dir" && as_dir=.
7262 for ac_exec_ext in '' $ac_executable_extensions; do
7263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7264 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7265 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7274 LIPO=$ac_cv_prog_LIPO
7275 if test -n "$LIPO"; then
7276 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7277 $as_echo "$LIPO" >&6; }
7279 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7280 $as_echo "no
" >&6; }
7285 if test -z "$ac_cv_prog_LIPO"; then
7287 # Extract the first word of "lipo
", so it can be a program name with args.
7288 set dummy lipo; ac_word=$2
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7290 $as_echo_n "checking
for $ac_word...
" >&6; }
7291 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7292 $as_echo_n "(cached
) " >&6
7294 if test -n "$ac_ct_LIPO"; then
7295 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7301 test -z "$as_dir" && as_dir=.
7302 for ac_exec_ext in '' $ac_executable_extensions; do
7303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7304 ac_cv_prog_ac_ct_LIPO="lipo
"
7305 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7314 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7315 if test -n "$ac_ct_LIPO"; then
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7317 $as_echo "$ac_ct_LIPO" >&6; }
7319 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7320 $as_echo "no
" >&6; }
7323 if test "x
$ac_ct_LIPO" = x; then
7326 case $cross_compiling:$ac_tool_warned in
7328 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7329 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7330 ac_tool_warned=yes ;;
7335 LIPO="$ac_cv_prog_LIPO"
7338 if test -n "$ac_tool_prefix"; then
7339 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7340 set dummy ${ac_tool_prefix}otool; ac_word=$2
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7342 $as_echo_n "checking
for $ac_word...
" >&6; }
7343 if ${ac_cv_prog_OTOOL+:} false; then :
7344 $as_echo_n "(cached
) " >&6
7346 if test -n "$OTOOL"; then
7347 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7353 test -z "$as_dir" && as_dir=.
7354 for ac_exec_ext in '' $ac_executable_extensions; do
7355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7356 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7357 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7366 OTOOL=$ac_cv_prog_OTOOL
7367 if test -n "$OTOOL"; then
7368 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7369 $as_echo "$OTOOL" >&6; }
7371 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7372 $as_echo "no
" >&6; }
7377 if test -z "$ac_cv_prog_OTOOL"; then
7379 # Extract the first word of "otool
", so it can be a program name with args.
7380 set dummy otool; ac_word=$2
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7382 $as_echo_n "checking
for $ac_word...
" >&6; }
7383 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7384 $as_echo_n "(cached
) " >&6
7386 if test -n "$ac_ct_OTOOL"; then
7387 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7393 test -z "$as_dir" && as_dir=.
7394 for ac_exec_ext in '' $ac_executable_extensions; do
7395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7396 ac_cv_prog_ac_ct_OTOOL="otool
"
7397 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7406 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7407 if test -n "$ac_ct_OTOOL"; then
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7409 $as_echo "$ac_ct_OTOOL" >&6; }
7411 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7412 $as_echo "no
" >&6; }
7415 if test "x
$ac_ct_OTOOL" = x; then
7418 case $cross_compiling:$ac_tool_warned in
7420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7421 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7422 ac_tool_warned=yes ;;
7427 OTOOL="$ac_cv_prog_OTOOL"
7430 if test -n "$ac_tool_prefix"; then
7431 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7432 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7434 $as_echo_n "checking
for $ac_word...
" >&6; }
7435 if ${ac_cv_prog_OTOOL64+:} false; then :
7436 $as_echo_n "(cached
) " >&6
7438 if test -n "$OTOOL64"; then
7439 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7445 test -z "$as_dir" && as_dir=.
7446 for ac_exec_ext in '' $ac_executable_extensions; do
7447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7448 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7449 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7458 OTOOL64=$ac_cv_prog_OTOOL64
7459 if test -n "$OTOOL64"; then
7460 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7461 $as_echo "$OTOOL64" >&6; }
7463 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7464 $as_echo "no
" >&6; }
7469 if test -z "$ac_cv_prog_OTOOL64"; then
7470 ac_ct_OTOOL64=$OTOOL64
7471 # Extract the first word of "otool64
", so it can be a program name with args.
7472 set dummy otool64; ac_word=$2
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7474 $as_echo_n "checking
for $ac_word...
" >&6; }
7475 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7476 $as_echo_n "(cached
) " >&6
7478 if test -n "$ac_ct_OTOOL64"; then
7479 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7485 test -z "$as_dir" && as_dir=.
7486 for ac_exec_ext in '' $ac_executable_extensions; do
7487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7488 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7489 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7498 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7499 if test -n "$ac_ct_OTOOL64"; then
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7501 $as_echo "$ac_ct_OTOOL64" >&6; }
7503 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7504 $as_echo "no
" >&6; }
7507 if test "x
$ac_ct_OTOOL64" = x; then
7510 case $cross_compiling:$ac_tool_warned in
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7513 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7514 ac_tool_warned=yes ;;
7516 OTOOL64=$ac_ct_OTOOL64
7519 OTOOL64="$ac_cv_prog_OTOOL64"
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7549 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7550 if ${lt_cv_apple_cc_single_mod+:} false; then :
7551 $as_echo_n "(cached
) " >&6
7553 lt_cv_apple_cc_single_mod=no
7554 if test -z "${LT_MULTI_MODULE}"; then
7555 # By default we will add the -single_module flag. You can override
7556 # by either setting the environment variable LT_MULTI_MODULE
7557 # non-empty at configure time, or by adding -multi_module to the
7559 rm -rf libconftest.dylib*
7560 echo "int foo
(void
){return 1;}" > conftest.c
7561 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7562 -dynamiclib -Wl,-single_module conftest.c
" >&5
7563 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7564 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7566 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7567 lt_cv_apple_cc_single_mod=yes
7569 cat conftest.err >&5
7571 rm -rf libconftest.dylib*
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7576 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7578 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7579 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7580 $as_echo_n "(cached
) " >&6
7582 lt_cv_ld_exported_symbols_list=no
7583 save_LDFLAGS=$LDFLAGS
7584 echo "_main
" > conftest.sym
7585 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7587 /* end confdefs.h. */
7597 if ac_fn_c_try_link "$LINENO"; then :
7598 lt_cv_ld_exported_symbols_list=yes
7600 lt_cv_ld_exported_symbols_list=no
7602 rm -f core conftest.err conftest.$ac_objext \
7603 conftest$ac_exeext conftest.$ac_ext
7604 LDFLAGS="$save_LDFLAGS"
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7608 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7610 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7611 if ${lt_cv_ld_force_load+:} false; then :
7612 $as_echo_n "(cached
) " >&6
7614 lt_cv_ld_force_load=no
7615 cat > conftest.c << _LT_EOF
7616 int forced_loaded() { return 2;}
7618 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7619 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7620 echo "$AR cru libconftest.a conftest.o
" >&5
7621 $AR cru libconftest.a conftest.o 2>&5
7622 echo "$RANLIB libconftest.a
" >&5
7623 $RANLIB libconftest.a 2>&5
7624 cat > conftest.c << _LT_EOF
7625 int main() { return 0;}
7627 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7628 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7630 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7631 lt_cv_ld_force_load=yes
7633 cat conftest.err >&5
7635 rm -f conftest.err libconftest.a conftest conftest.c
7636 rm -rf conftest.dSYM
7639 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7640 $as_echo "$lt_cv_ld_force_load" >&6; }
7642 rhapsody* | darwin1.[012])
7643 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7645 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7646 darwin*) # darwin 5.x on
7647 # if running on 10.5 or later, the deployment target defaults
7648 # to the OS version, if on x86, and 10.4, the deployment
7649 # target defaults to 10.4. Don't you love it?
7650 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7651 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7652 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7654 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7656 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7660 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7661 _lt_dar_single_mod='$single_module'
7663 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7664 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7666 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7668 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7669 _lt_dsymutil='~$DSYMUTIL $lib || :'
7676 for ac_header in dlfcn.h
7678 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
7680 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
7681 cat >>confdefs.h <<_ACEOF
7682 #define HAVE_DLFCN_H 1
7703 # Check whether --enable-shared was given.
7704 if test "${enable_shared+set}" = set; then :
7705 enableval=$enable_shared; p=${PACKAGE-default}
7707 yes) enable_shared=yes ;;
7708 no) enable_shared=no ;;
7711 # Look at the argument we got. We use all the common list separators.
7712 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7713 for pkg in $enableval; do
7715 if test "X
$pkg" = "X
$p"; then
7734 # Check whether --enable-static was given.
7735 if test "${enable_static+set}" = set; then :
7736 enableval=$enable_static; p=${PACKAGE-default}
7738 yes) enable_static=yes ;;
7739 no) enable_static=no ;;
7742 # Look at the argument we got. We use all the common list separators.
7743 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7744 for pkg in $enableval; do
7746 if test "X
$pkg" = "X
$p"; then
7766 # Check whether --with-pic was given.
7767 if test "${with_pic+set}" = set; then :
7768 withval=$with_pic; pic_mode="$withval"
7774 test -z "$pic_mode" && pic_mode=default
7782 # Check whether --enable-fast-install was given.
7783 if test "${enable_fast_install+set}" = set; then :
7784 enableval=$enable_fast_install; p=${PACKAGE-default}
7786 yes) enable_fast_install=yes ;;
7787 no) enable_fast_install=no ;;
7789 enable_fast_install=no
7790 # Look at the argument we got. We use all the common list separators.
7791 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7792 for pkg in $enableval; do
7794 if test "X
$pkg" = "X
$p"; then
7795 enable_fast_install=yes
7802 enable_fast_install=yes
7815 # This can be used to rebuild libtool when needed
7816 LIBTOOL_DEPS="$ltmain"
7818 # Always use our own libtool.
7819 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7846 test -z "$LN_S" && LN_S="ln -s"
7861 if test -n "${ZSH_VERSION+set}" ; then
7862 setopt NO_GLOB_SUBST
7865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
7866 $as_echo_n "checking
for objdir...
" >&6; }
7867 if ${lt_cv_objdir+:} false; then :
7868 $as_echo_n "(cached
) " >&6
7870 rm -f .libs 2>/dev/null
7871 mkdir .libs 2>/dev/null
7872 if test -d .libs; then
7875 # MS-DOS does not allow filenames that begin with a dot.
7878 rmdir .libs 2>/dev/null
7880 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
7881 $as_echo "$lt_cv_objdir" >&6; }
7882 objdir=$lt_cv_objdir
7888 cat >>confdefs.h <<_ACEOF
7889 #define LT_OBJDIR "$lt_cv_objdir/"
7897 # AIX sometimes has problems with the GCC collect2 program. For some
7898 # reason, if we set the COLLECT_NAMES environment variable, the problems
7899 # vanish in a puff of smoke.
7900 if test "X
${COLLECT_NAMES+set}" != Xset; then
7902 export COLLECT_NAMES
7909 can_build_shared=yes
7911 # All known linkers require a `.a' archive for static linking (except MSVC,
7912 # which needs '.lib').
7915 with_gnu_ld="$lt_cv_prog_gnu_ld"
7918 old_CFLAGS="$CFLAGS"
7920 # Set sane defaults for various variables
7921 test -z "$CC" && CC=cc
7922 test -z "$LTCC" && LTCC=$CC
7923 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7924 test -z "$LD" && LD=ld
7925 test -z "$ac_objext" && ac_objext=o
7927 for cc_temp in $compiler""; do
7929 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7930 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7935 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
7938 # Only perform the check for file, if the check method requires it
7939 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7940 case $deplibs_check_method in
7942 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
7944 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
7945 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7946 $as_echo_n "(cached
) " >&6
7950 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7953 lt_save_MAGIC_CMD="$MAGIC_CMD"
7954 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7955 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
7956 for ac_dir in $ac_dummy; do
7958 test -z "$ac_dir" && ac_dir=.
7959 if test -f $ac_dir/${ac_tool_prefix}file; then
7960 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7961 if test -n "$file_magic_test_file"; then
7962 case $deplibs_check_method in
7964 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
7965 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7966 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7967 $EGREP "$file_magic_regex" > /dev/null; then
7972 *** Warning: the command libtool uses to detect shared libraries,
7973 *** $file_magic_cmd, produces output that libtool cannot recognize.
7974 *** The result is that libtool may fail to recognize shared libraries
7975 *** as such. This will affect the creation of libtool libraries that
7976 *** depend on shared libraries, but programs linked with such libtool
7977 *** libraries will work regardless of this problem. Nevertheless, you
7978 *** may want to report the problem to your system manager and/or to
7979 *** bug-libtool@gnu.org
7989 MAGIC_CMD="$lt_save_MAGIC_CMD"
7994 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7995 if test -n "$MAGIC_CMD"; then
7996 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
7997 $as_echo "$MAGIC_CMD" >&6; }
7999 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8000 $as_echo "no
" >&6; }
8007 if test -z "$lt_cv_path_MAGIC_CMD"; then
8008 if test -n "$ac_tool_prefix"; then
8009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
8010 $as_echo_n "checking
for file...
" >&6; }
8011 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8012 $as_echo_n "(cached
) " >&6
8016 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8019 lt_save_MAGIC_CMD="$MAGIC_CMD"
8020 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8021 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8022 for ac_dir in $ac_dummy; do
8024 test -z "$ac_dir" && ac_dir=.
8025 if test -f $ac_dir/file; then
8026 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8027 if test -n "$file_magic_test_file"; then
8028 case $deplibs_check_method in
8030 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8031 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8032 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8033 $EGREP "$file_magic_regex" > /dev/null; then
8038 *** Warning: the command libtool uses to detect shared libraries,
8039 *** $file_magic_cmd, produces output that libtool cannot recognize.
8040 *** The result is that libtool may fail to recognize shared libraries
8041 *** as such. This will affect the creation of libtool libraries that
8042 *** depend on shared libraries, but programs linked with such libtool
8043 *** libraries will work regardless of this problem. Nevertheless, you
8044 *** may want to report the problem to your system manager and/or to
8045 *** bug-libtool@gnu.org
8055 MAGIC_CMD="$lt_save_MAGIC_CMD"
8060 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8061 if test -n "$MAGIC_CMD"; then
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8063 $as_echo "$MAGIC_CMD" >&6; }
8065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8066 $as_echo "no
" >&6; }
8079 # Use C for the default configuration in the libtool script
8083 ac_cpp='$CPP $CPPFLAGS'
8084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8089 # Source file extension for C test sources.
8092 # Object file extension for compiled C test sources.
8096 # Code to be used in simple compile tests
8097 lt_simple_compile_test_code="int some_variable
= 0;"
8099 # Code to be used in simple link tests
8100 lt_simple_link_test_code='int main(){return(0);}'
8108 # If no C compiler was specified, use CC.
8111 # If no C compiler flags were specified, use CFLAGS.
8112 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8114 # Allow CC to be a program name with arguments.
8117 # Save the default compiler, since it gets overwritten when the other
8118 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8119 compiler_DEFAULT=$CC
8121 # save warnings/boilerplate of simple test code
8122 ac_outfile=conftest.$ac_objext
8123 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8124 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8125 _lt_compiler_boilerplate=`cat conftest.err`
8128 ac_outfile=conftest.$ac_objext
8129 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8130 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8131 _lt_linker_boilerplate=`cat conftest.err`
8136 ## There is no encapsulation within the following macros, do not change
8137 ## the running order or otherwise move them around unless you know exactly
8138 ## what you are doing...
8139 if test -n "$compiler"; then
8141 lt_prog_compiler_no_builtin_flag=
8143 if test "$GCC" = yes; then
8144 case $cc_basename in
8146 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8148 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
8152 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
8153 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8154 $as_echo_n "(cached
) " >&6
8156 lt_cv_prog_compiler_rtti_exceptions=no
8157 ac_outfile=conftest.$ac_objext
8158 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8159 lt_compiler_flag="-fno-rtti -fno-exceptions"
8160 # Insert the option either (1) after the last *FLAGS variable, or
8161 # (2) before a word containing "conftest.
", or (3) at the end.
8162 # Note that $ac_compile itself does not contain backslashes and begins
8163 # with a dollar sign (not a hyphen), so the echo should work correctly.
8164 # The option is referenced via a variable to avoid confusing sed.
8165 lt_compile=`echo "$ac_compile" | $SED \
8166 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8167 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8168 -e 's:$: $lt_compiler_flag:'`
8169 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8170 (eval "$lt_compile" 2>conftest.err)
8172 cat conftest.err >&5
8173 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8174 if (exit $ac_status) && test -s "$ac_outfile"; then
8175 # The compiler can only warn and ignore the option if not recognized
8176 # So say no if there are warnings other than the usual output.
8177 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8178 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8179 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8180 lt_cv_prog_compiler_rtti_exceptions=yes
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
8187 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8189 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8190 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8202 lt_prog_compiler_wl=
8203 lt_prog_compiler_pic=
8204 lt_prog_compiler_static=
8207 if test "$GCC" = yes; then
8208 lt_prog_compiler_wl='-Wl,'
8209 lt_prog_compiler_static='-static'
8213 # All AIX code is PIC.
8214 if test "$host_cpu" = ia64; then
8215 # AIX 5 now supports IA64 processor
8216 lt_prog_compiler_static='-Bstatic'
8223 # see comment about AmigaOS4 .so support
8224 lt_prog_compiler_pic='-fPIC'
8227 # FIXME: we need at least 68020 code to build shared libraries, but
8228 # adding the `-m68020' flag to GCC prevents building anything better,
8230 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8235 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8236 # PIC is the default for these OSes.
8239 mingw* | cygwin* | pw32* | os2* | cegcc*)
8240 # This hack is so that the source file can tell whether it is being
8241 # built for inclusion in a dll (and should export symbols for example).
8242 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8243 # (--disable-auto-import) libraries
8244 lt_prog_compiler_pic='-DDLL_EXPORT'
8247 darwin* | rhapsody*)
8248 # PIC is the default on this platform
8249 # Common symbols not allowed in MH_DYLIB files
8250 lt_prog_compiler_pic='-fno-common'
8254 # PIC is the default for Haiku.
8255 # The "-static" flag exists, but is broken.
8256 lt_prog_compiler_static=
8260 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8261 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8262 # sets the default TLS model and affects inlining.
8268 lt_prog_compiler_pic='-fPIC'
8274 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8275 # Instead, we relocate shared libraries at runtime.
8279 # Just because we use GCC doesn't mean we suddenly get shared libraries
8280 # on systems that don't support them.
8281 lt_prog_compiler_can_build_shared=no
8286 # QNX uses GNU C++, but need to define -shared option too, otherwise
8288 lt_prog_compiler_pic='-fPIC -shared'
8292 if test -d /usr/nec; then
8293 lt_prog_compiler_pic=-Kconform_pic
8298 lt_prog_compiler_pic='-fPIC'
8302 case $cc_basename in
8303 nvcc*) # Cuda Compiler Driver 2.2
8304 lt_prog_compiler_wl='-Xlinker '
8305 lt_prog_compiler_pic='-Xcompiler -fPIC'
8309 # PORTME Check for flag to pass linker flags through the system compiler.
8312 lt_prog_compiler_wl='-Wl,'
8313 if test "$host_cpu" = ia64; then
8314 # AIX 5 now supports IA64 processor
8315 lt_prog_compiler_static='-Bstatic'
8317 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8321 mingw* | cygwin* | pw32* | os2* | cegcc*)
8322 # This hack is so that the source file can tell whether it is being
8323 # built for inclusion in a dll (and should export symbols for example).
8324 lt_prog_compiler_pic='-DDLL_EXPORT'
8327 hpux9* | hpux10* | hpux11*)
8328 lt_prog_compiler_wl='-Wl,'
8329 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8336 lt_prog_compiler_pic='+Z'
8339 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8340 lt_prog_compiler_static='${wl}-a ${wl}archive'
8343 irix5* | irix6* | nonstopux*)
8344 lt_prog_compiler_wl='-Wl,'
8345 # PIC (with -KPIC) is the default.
8346 lt_prog_compiler_static='-non_shared'
8349 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8350 case $cc_basename in
8351 # old Intel for x86_64 which still supported -KPIC.
8353 lt_prog_compiler_wl='-Wl,'
8354 lt_prog_compiler_pic='-KPIC'
8355 lt_prog_compiler_static='-static'
8357 # icc used to be incompatible with GCC.
8358 # ICC 10 doesn't accept -KPIC any more.
8360 lt_prog_compiler_wl='-Wl,'
8361 lt_prog_compiler_pic='-fPIC'
8362 lt_prog_compiler_static='-static'
8364 # Lahey Fortran 8.1.
8366 lt_prog_compiler_wl='-Wl,'
8367 lt_prog_compiler_pic='--shared'
8368 lt_prog_compiler_static='--static'
8371 # NAG Fortran compiler
8372 lt_prog_compiler_wl='-Wl,-Wl,,'
8373 lt_prog_compiler_pic='-PIC'
8374 lt_prog_compiler_static='-Bstatic'
8376 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8377 # Portland Group compilers (*not* the Pentium gcc compiler,
8378 # which looks to be a dead project)
8379 lt_prog_compiler_wl='-Wl,'
8380 lt_prog_compiler_pic='-fpic'
8381 lt_prog_compiler_static='-Bstatic'
8384 lt_prog_compiler_wl='-Wl,'
8385 # All Alpha code is PIC.
8386 lt_prog_compiler_static='-non_shared'
8388 xl* | bgxl* | bgf* | mpixl*)
8389 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8390 lt_prog_compiler_wl='-Wl,'
8391 lt_prog_compiler_pic='-qpic'
8392 lt_prog_compiler_static='-qstaticlink'
8395 case `$CC -V 2>&1 | sed 5q` in
8396 *Sun\ F* | *Sun*Fortran*)
8397 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8398 lt_prog_compiler_pic='-KPIC'
8399 lt_prog_compiler_static='-Bstatic'
8400 lt_prog_compiler_wl=''
8404 lt_prog_compiler_pic='-KPIC'
8405 lt_prog_compiler_static='-Bstatic'
8406 lt_prog_compiler_wl='-Wl,'
8414 lt_prog_compiler_pic='-KPIC'
8415 lt_prog_compiler_static='-Bstatic'
8419 # QNX uses GNU C++, but need to define -shared option too, otherwise
8421 lt_prog_compiler_pic='-fPIC -shared'
8424 osf3* | osf4* | osf5*)
8425 lt_prog_compiler_wl='-Wl,'
8426 # All OSF/1 code is PIC.
8427 lt_prog_compiler_static='-non_shared'
8431 lt_prog_compiler_static='-non_shared'
8435 lt_prog_compiler_pic='-KPIC'
8436 lt_prog_compiler_static='-Bstatic'
8437 case $cc_basename in
8438 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8439 lt_prog_compiler_wl='-Qoption ld ';;
8441 lt_prog_compiler_wl='-Wl,';;
8446 lt_prog_compiler_wl='-Qoption ld '
8447 lt_prog_compiler_pic='-PIC'
8448 lt_prog_compiler_static='-Bstatic'
8451 sysv4 | sysv4.2uw2* | sysv4.3*)
8452 lt_prog_compiler_wl='-Wl,'
8453 lt_prog_compiler_pic='-KPIC'
8454 lt_prog_compiler_static='-Bstatic'
8458 if test -d /usr/nec ;then
8459 lt_prog_compiler_pic='-Kconform_pic'
8460 lt_prog_compiler_static='-Bstatic'
8464 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8465 lt_prog_compiler_wl='-Wl,'
8466 lt_prog_compiler_pic='-KPIC'
8467 lt_prog_compiler_static='-Bstatic'
8471 lt_prog_compiler_wl='-Wl,'
8472 lt_prog_compiler_can_build_shared=no
8476 lt_prog_compiler_pic='-pic'
8477 lt_prog_compiler_static='-Bstatic'
8481 lt_prog_compiler_can_build_shared=no
8487 # For platforms which do not support PIC, -DPIC is meaningless:
8489 lt_prog_compiler_pic=
8492 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
8497 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
8498 if ${lt_cv_prog_compiler_pic+:} false; then :
8499 $as_echo_n "(cached
) " >&6
8501 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic" >&5
8504 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8505 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8508 # Check to make sure the PIC flag actually works.
8510 if test -n "$lt_prog_compiler_pic"; then
8511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
8512 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
8513 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8514 $as_echo_n "(cached
) " >&6
8516 lt_cv_prog_compiler_pic_works=no
8517 ac_outfile=conftest.$ac_objext
8518 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8519 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8520 # Insert the option either (1) after the last *FLAGS variable, or
8521 # (2) before a word containing "conftest.
", or (3) at the end.
8522 # Note that $ac_compile itself does not contain backslashes and begins
8523 # with a dollar sign (not a hyphen), so the echo should work correctly.
8524 # The option is referenced via a variable to avoid confusing sed.
8525 lt_compile=`echo "$ac_compile" | $SED \
8526 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8527 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8528 -e 's:$: $lt_compiler_flag:'`
8529 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8530 (eval "$lt_compile" 2>conftest.err)
8532 cat conftest.err >&5
8533 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8534 if (exit $ac_status) && test -s "$ac_outfile"; then
8535 # The compiler can only warn and ignore the option if not recognized
8536 # So say no if there are warnings other than the usual output.
8537 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8538 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8539 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8540 lt_cv_prog_compiler_pic_works=yes
8546 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
8547 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8549 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8550 case $lt_prog_compiler_pic in
8552 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8555 lt_prog_compiler_pic=
8556 lt_prog_compiler_can_build_shared=no
8572 # Check to make sure the static flag actually works.
8574 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
8576 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
8577 if ${lt_cv_prog_compiler_static_works+:} false; then :
8578 $as_echo_n "(cached
) " >&6
8580 lt_cv_prog_compiler_static_works=no
8581 save_LDFLAGS="$LDFLAGS"
8582 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8583 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8584 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8585 # The linker can only warn and ignore the option if not recognized
8586 # So say no if there are warnings
8587 if test -s conftest.err; then
8588 # Append any errors to the config.log.
8589 cat conftest.err 1>&5
8590 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8591 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8592 if diff conftest.exp conftest.er2 >/dev/null; then
8593 lt_cv_prog_compiler_static_works=yes
8596 lt_cv_prog_compiler_static_works=yes
8600 LDFLAGS="$save_LDFLAGS"
8603 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
8604 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8606 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8609 lt_prog_compiler_static=
8618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
8619 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
8620 if ${lt_cv_prog_compiler_c_o+:} false; then :
8621 $as_echo_n "(cached
) " >&6
8623 lt_cv_prog_compiler_c_o=no
8624 $RM -r conftest 2>/dev/null
8628 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8630 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8631 # Insert the option either (1) after the last *FLAGS variable, or
8632 # (2) before a word containing "conftest.
", or (3) at the end.
8633 # Note that $ac_compile itself does not contain backslashes and begins
8634 # with a dollar sign (not a hyphen), so the echo should work correctly.
8635 lt_compile=`echo "$ac_compile" | $SED \
8636 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8637 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8638 -e 's:$: $lt_compiler_flag:'`
8639 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8640 (eval "$lt_compile" 2>out/conftest.err)
8642 cat out/conftest.err >&5
8643 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8644 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8646 # The compiler can only warn and ignore the option if not recognized
8647 # So say no if there are warnings
8648 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8649 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8650 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8651 lt_cv_prog_compiler_c_o=yes
8656 # SGI C++ compiler will create directory out/ii_files/ for
8657 # template instantiation
8658 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8659 $RM out/* && rmdir out
8665 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8666 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
8674 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
8675 if ${lt_cv_prog_compiler_c_o+:} false; then :
8676 $as_echo_n "(cached
) " >&6
8678 lt_cv_prog_compiler_c_o=no
8679 $RM -r conftest 2>/dev/null
8683 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8685 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8686 # Insert the option either (1) after the last *FLAGS variable, or
8687 # (2) before a word containing "conftest.
", or (3) at the end.
8688 # Note that $ac_compile itself does not contain backslashes and begins
8689 # with a dollar sign (not a hyphen), so the echo should work correctly.
8690 lt_compile=`echo "$ac_compile" | $SED \
8691 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8692 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8693 -e 's:$: $lt_compiler_flag:'`
8694 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8695 (eval "$lt_compile" 2>out/conftest.err)
8697 cat out/conftest.err >&5
8698 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8699 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8701 # The compiler can only warn and ignore the option if not recognized
8702 # So say no if there are warnings
8703 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8704 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8705 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8706 lt_cv_prog_compiler_c_o=yes
8711 # SGI C++ compiler will create directory out/ii_files/ for
8712 # template instantiation
8713 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8714 $RM out/* && rmdir out
8720 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8721 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8726 hard_links="nottested
"
8727 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8728 # do not overwrite the value of need_locks provided by the user
8729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
8730 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
8733 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8735 ln conftest.a conftest.b 2>&5 || hard_links=no
8736 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8737 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
8738 $as_echo "$hard_links" >&6; }
8739 if test "$hard_links" = no; then
8740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
8741 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
8753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
8754 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
8757 allow_undefined_flag=
8758 always_export_symbols=no
8760 archive_expsym_cmds=
8761 compiler_needs_object=no
8762 enable_shared_with_static_runtimes=no
8763 export_dynamic_flag_spec=
8764 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8765 hardcode_automatic=no
8767 hardcode_direct_absolute=no
8768 hardcode_libdir_flag_spec=
8769 hardcode_libdir_flag_spec_ld=
8770 hardcode_libdir_separator=
8772 hardcode_shlibpath_var=unsupported
8774 link_all_deplibs=unknown
8777 old_archive_from_new_cmds=
8778 old_archive_from_expsyms_cmds=
8779 thread_safe_flag_spec=
8780 whole_archive_flag_spec=
8781 # include_expsyms should be a list of space-separated symbols to be *always*
8782 # included in the symbol list
8784 # exclude_expsyms can be an extended regexp of symbols to exclude
8785 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8786 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8787 # as well as any symbol that contains `d'.
8788 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8789 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8790 # platforms (ab)use it in PIC code, but their linkers get confused if
8791 # the symbol is explicitly referenced. Since portable code cannot
8792 # rely on this symbol name, it's probably fine to never include it in
8793 # preloaded symbol tables.
8794 # Exclude shared library initialization/finalization symbols.
8795 extract_expsyms_cmds=
8798 cygwin* | mingw* | pw32* | cegcc*)
8799 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8800 # When not using gcc, we currently assume that we are using
8801 # Microsoft Visual C++.
8802 if test "$GCC" != yes; then
8807 # we just hope/assume this is gcc and not c89 (= MSVC++)
8817 # On some targets, GNU ld is compatible enough with the native linker
8818 # that we're better off using the native interface for both.
8819 lt_use_gnu_ld_interface=no
8820 if test "$with_gnu_ld" = yes; then
8823 # The AIX port of GNU ld has always aspired to compatibility
8824 # with the native linker. However, as the warning in the GNU ld
8825 # block says, versions before 2.19.5* couldn't really create working
8826 # shared libraries, regardless of the interface used.
8827 case `$LD -v 2>&1` in
8828 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8829 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8830 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8832 lt_use_gnu_ld_interface=yes
8837 lt_use_gnu_ld_interface=yes
8842 if test "$lt_use_gnu_ld_interface" = yes; then
8843 # If archive_cmds runs LD, not CC, wlarc should be empty
8846 # Set some defaults for GNU ld with shared library support. These
8847 # are reset later if shared libraries are not supported. Putting them
8848 # here allows them to be overridden if necessary.
8849 runpath_var=LD_RUN_PATH
8850 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8851 export_dynamic_flag_spec='${wl}--export-dynamic'
8852 # ancient GNU ld didn't support --whole-archive et. al.
8853 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8854 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8856 whole_archive_flag_spec=
8858 supports_anon_versioning=no
8859 case `$LD -v 2>&1` in
8860 *GNU\ gold*) supports_anon_versioning=yes ;;
8861 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8862 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8863 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8864 *\ 2.11.*) ;; # other 2.11 versions
8865 *) supports_anon_versioning=yes ;;
8868 # See if GNU ld supports shared libraries.
8871 # On AIX/PPC, the GNU linker is very broken
8872 if test "$host_cpu" != ia64; then
8876 *** Warning: the GNU linker, at least up to release 2.19, is reported
8877 *** to be unable to reliably create shared libraries on AIX.
8878 *** Therefore, libtool is disabling shared libraries support. If you
8879 *** really care for shared libraries, you may want to install binutils
8880 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8881 *** You will then need to restart the configuration process.
8890 # see comment about AmigaOS4 .so support
8891 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8892 archive_expsym_cmds=''
8895 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)'
8896 hardcode_libdir_flag_spec
='-L$libdir'
8897 hardcode_minus_L
=yes
8903 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8904 allow_undefined_flag
=unsupported
8905 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8906 # support --undefined. This deserves some investigation. FIXME
8907 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8913 cygwin
* | mingw
* | pw32
* | cegcc
*)
8914 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8915 # as there is no search path for DLLs.
8916 hardcode_libdir_flag_spec
='-L$libdir'
8917 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8918 allow_undefined_flag
=unsupported
8919 always_export_symbols
=no
8920 enable_shared_with_static_runtimes
=yes
8921 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'
8922 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8924 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8925 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8926 # If the export-symbols file already is a .def file (1st line
8927 # is EXPORTS), use it as is; otherwise, prepend...
8928 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8929 cp $export_symbols $output_objdir/$soname.def;
8931 echo EXPORTS > $output_objdir/$soname.def;
8932 cat $export_symbols >> $output_objdir/$soname.def;
8934 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8941 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8942 link_all_deplibs
=yes
8947 hardcode_shlibpath_var
=no
8948 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8949 export_dynamic_flag_spec
='${wl}-E'
8950 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8951 # Instead, shared libraries are loaded at an image base (0x10000000 by
8952 # default) and relocated if they conflict, which is a slow very memory
8953 # consuming and fragmenting process. To avoid this, we pick a random,
8954 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8955 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8956 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8957 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'
8960 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8962 if test "$host_os" = linux-dietlibc
; then
8963 case $cc_basename in
8964 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8967 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8968 && test "$tmp_diet" = no
8970 tmp_addflag
=' $pic_flag'
8971 tmp_sharedflag
='-shared'
8972 case $cc_basename,$host_cpu in
8973 pgcc
*) # Portland Group C compiler
8974 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'
8975 tmp_addflag
=' $pic_flag'
8977 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8978 # Portland Group f77 and f90 compilers
8979 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'
8980 tmp_addflag
=' $pic_flag -Mnomain' ;;
8981 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8982 tmp_addflag
=' -i_dynamic' ;;
8983 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8984 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8985 ifc
* | ifort
*) # Intel Fortran compiler
8986 tmp_addflag
=' -nofor_main' ;;
8987 lf95
*) # Lahey Fortran 8.1
8988 whole_archive_flag_spec
=
8989 tmp_sharedflag
='--shared' ;;
8990 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8991 tmp_sharedflag
='-qmkshrobj'
8993 nvcc
*) # Cuda Compiler Driver 2.2
8994 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'
8995 compiler_needs_object
=yes
8998 case `$CC -V 2>&1 | sed 5q` in
8999 *Sun\ C
*) # Sun C 5.9
9000 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'
9001 compiler_needs_object
=yes
9002 tmp_sharedflag
='-G' ;;
9003 *Sun\ F
*) # Sun Fortran 8.3
9004 tmp_sharedflag
='-G' ;;
9006 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9008 if test "x$supports_anon_versioning" = xyes
; then
9009 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9010 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9011 echo "local: *; };" >> $output_objdir/$libname.ver~
9012 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9015 case $cc_basename in
9016 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9017 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9018 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9019 hardcode_libdir_flag_spec
=
9020 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9021 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9022 if test "x$supports_anon_versioning" = xyes
; then
9023 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9024 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9025 echo "local: *; };" >> $output_objdir/$libname.ver~
9026 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9036 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9037 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9040 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9041 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9046 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9050 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9051 *** create shared libraries on Solaris systems. Therefore, libtool
9052 *** is disabling shared libraries support. We urge you to upgrade GNU
9053 *** binutils to release 2.9.1 or newer. Another option is to modify
9054 *** your PATH or compiler configuration so that the native linker is
9055 *** used, and then restart.
9058 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9059 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9060 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9066 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9067 case `$LD -v 2>&1` in
9068 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9072 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9073 *** reliably create shared libraries on SCO systems. Therefore, libtool
9074 *** is disabling shared libraries support. We urge you to upgrade GNU
9075 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9076 *** your PATH or compiler configuration so that the native linker is
9077 *** used, and then restart.
9082 # For security reasons, it is highly recommended that you always
9083 # use absolute paths for naming shared libraries, and exclude the
9084 # DT_RUNPATH tag from executables and libraries. But doing so
9085 # requires that you compile everything twice, which is a pain.
9086 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9087 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9088 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9089 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9098 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9101 hardcode_shlibpath_var
=no
9105 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9106 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9107 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9114 if test "$ld_shlibs" = no
; then
9116 hardcode_libdir_flag_spec
=
9117 export_dynamic_flag_spec
=
9118 whole_archive_flag_spec
=
9121 # PORTME fill in a description of your system's linker (not GNU ld)
9124 allow_undefined_flag
=unsupported
9125 always_export_symbols
=yes
9126 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'
9127 # Note: this linker hardcodes the directories in LIBPATH if there
9128 # are no directories specified by -L.
9129 hardcode_minus_L
=yes
9130 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9131 # Neither direct hardcoding nor static linking is supported with a
9133 hardcode_direct
=unsupported
9138 if test "$host_cpu" = ia64
; then
9139 # On IA64, the linker does run time linking by default, so we don't
9140 # have to do anything special.
9141 aix_use_runtimelinking
=no
9142 exp_sym_flag
='-Bexport'
9145 # If we're using GNU nm, then we don't want the "-C" option.
9146 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9147 # Also, AIX nm treats weak defined symbols like other global
9148 # defined symbols, whereas GNU nm marks them as "W".
9149 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9150 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'
9152 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'
9154 aix_use_runtimelinking
=no
9156 # Test if we are trying to use run time linking or normal
9157 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9158 # need to do runtime linking.
9159 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9160 for ld_flag
in $LDFLAGS; do
9161 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9162 aix_use_runtimelinking
=yes
9169 exp_sym_flag
='-bexport'
9170 no_entry_flag
='-bnoentry'
9173 # When large executables or shared objects are built, AIX ld can
9174 # have problems creating the table of contents. If linking a library
9175 # or program results in "error TOC overflow" add -mminimal-toc to
9176 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9177 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9181 hardcode_direct_absolute
=yes
9182 hardcode_libdir_separator
=':'
9183 link_all_deplibs
=yes
9184 file_list_spec
='${wl}-f,'
9186 if test "$GCC" = yes; then
9187 case $host_os in aix4.
[012]|aix4.
[012].
*)
9188 # We only want to do this on AIX 4.2 and lower, the check
9189 # below for broken collect2 doesn't work under 4.3+
9190 collect2name
=`${CC} -print-prog-name=collect2`
9191 if test -f "$collect2name" &&
9192 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9194 # We have reworked collect2
9197 # We have old collect2
9198 hardcode_direct
=unsupported
9199 # It fails to find uninstalled libraries when the uninstalled
9200 # path is not listed in the libpath. Setting hardcode_minus_L
9201 # to unsupported forces relinking
9202 hardcode_minus_L
=yes
9203 hardcode_libdir_flag_spec
='-L$libdir'
9204 hardcode_libdir_separator
=
9208 shared_flag
='-shared'
9209 if test "$aix_use_runtimelinking" = yes; then
9210 shared_flag
="$shared_flag "'${wl}-G'
9214 if test "$host_cpu" = ia64
; then
9215 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9216 # chokes on -Wl,-G. The following line is correct:
9219 if test "$aix_use_runtimelinking" = yes; then
9220 shared_flag
='${wl}-G'
9222 shared_flag
='${wl}-bM:SRE'
9227 export_dynamic_flag_spec
='${wl}-bexpall'
9228 # It seems that -bexpall does not export symbols beginning with
9229 # underscore (_), so it is better to generate a list of symbols to export.
9230 always_export_symbols
=yes
9231 if test "$aix_use_runtimelinking" = yes; then
9232 # Warning - without using the other runtime loading flags (-brtl),
9233 # -berok will link without error, but may produce a broken library.
9234 allow_undefined_flag
='-berok'
9235 # Determine the default libpath from the value encoded in an
9237 if test "${lt_cv_aix_libpath+set}" = set; then
9238 aix_libpath
=$lt_cv_aix_libpath
9240 if ${lt_cv_aix_libpath_+:} false
; then :
9241 $as_echo_n "(cached) " >&6
9243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9244 /* end confdefs.h. */
9254 if ac_fn_c_try_link
"$LINENO"; then :
9256 lt_aix_libpath_sed
='
9257 /Import File Strings/,/^$/ {
9259 s/^0 *\([^ ]*\) *$/\1/
9263 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9264 # Check for a 64-bit object if we didn't find anything.
9265 if test -z "$lt_cv_aix_libpath_"; then
9266 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9269 rm -f core conftest.err conftest.
$ac_objext \
9270 conftest
$ac_exeext conftest.
$ac_ext
9271 if test -z "$lt_cv_aix_libpath_"; then
9272 lt_cv_aix_libpath_
="/usr/lib:/lib"
9277 aix_libpath
=$lt_cv_aix_libpath_
9280 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9281 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"
9283 if test "$host_cpu" = ia64
; then
9284 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9285 allow_undefined_flag
="-z nodefs"
9286 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"
9288 # Determine the default libpath from the value encoded in an
9290 if test "${lt_cv_aix_libpath+set}" = set; then
9291 aix_libpath
=$lt_cv_aix_libpath
9293 if ${lt_cv_aix_libpath_+:} false
; then :
9294 $as_echo_n "(cached) " >&6
9296 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9297 /* end confdefs.h. */
9307 if ac_fn_c_try_link
"$LINENO"; then :
9309 lt_aix_libpath_sed
='
9310 /Import File Strings/,/^$/ {
9312 s/^0 *\([^ ]*\) *$/\1/
9316 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9317 # Check for a 64-bit object if we didn't find anything.
9318 if test -z "$lt_cv_aix_libpath_"; then
9319 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9322 rm -f core conftest.err conftest.
$ac_objext \
9323 conftest
$ac_exeext conftest.
$ac_ext
9324 if test -z "$lt_cv_aix_libpath_"; then
9325 lt_cv_aix_libpath_
="/usr/lib:/lib"
9330 aix_libpath
=$lt_cv_aix_libpath_
9333 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9334 # Warning - without using the other run time loading flags,
9335 # -berok will link without error, but may produce a broken library.
9336 no_undefined_flag
=' ${wl}-bernotok'
9337 allow_undefined_flag
=' ${wl}-berok'
9338 if test "$with_gnu_ld" = yes; then
9339 # We only use this code for GNU lds that support --whole-archive.
9340 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9342 # Exported symbols can be pulled into shared objects from archives
9343 whole_archive_flag_spec
='$convenience'
9345 archive_cmds_need_lc
=yes
9346 # This is similar to how AIX traditionally builds its shared libraries.
9347 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'
9355 # see comment about AmigaOS4 .so support
9356 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9357 archive_expsym_cmds
=''
9360 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)'
9361 hardcode_libdir_flag_spec
='-L$libdir'
9362 hardcode_minus_L
=yes
9368 export_dynamic_flag_spec
=-rdynamic
9371 cygwin
* | mingw
* | pw32
* | cegcc
*)
9372 # When not using gcc, we currently assume that we are using
9373 # Microsoft Visual C++.
9374 # hardcode_libdir_flag_spec is actually meaningless, as there is
9375 # no search path for DLLs.
9376 case $cc_basename in
9379 hardcode_libdir_flag_spec
=' '
9380 allow_undefined_flag
=unsupported
9381 always_export_symbols
=yes
9383 # Tell ltmain to make .lib files, not .a files.
9385 # Tell ltmain to make .dll files, not .so files.
9387 # FIXME: Setting linknames here is a bad hack.
9388 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9389 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9390 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
9392 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
9394 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9396 # The linker will not automatically build a static lib if we build a DLL.
9397 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9398 enable_shared_with_static_runtimes
=yes
9399 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9401 old_postinstall_cmds
='chmod 644 $oldlib'
9402 postlink_cmds
='lt_outputfile="@OUTPUT@"~
9403 lt_tool_outputfile="@TOOL_OUTPUT@"~
9404 case $lt_outputfile in
9407 lt_outputfile="$lt_outputfile.exe"
9408 lt_tool_outputfile="$lt_tool_outputfile.exe"
9411 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9412 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9413 $RM "$lt_outputfile.manifest";
9417 # Assume MSVC wrapper
9418 hardcode_libdir_flag_spec
=' '
9419 allow_undefined_flag
=unsupported
9420 # Tell ltmain to make .lib files, not .a files.
9422 # Tell ltmain to make .dll files, not .so files.
9424 # FIXME: Setting linknames here is a bad hack.
9425 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9426 # The linker will automatically build a .lib file if we build a DLL.
9427 old_archive_from_new_cmds
='true'
9428 # FIXME: Should let the user specify the lib program.
9429 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9430 enable_shared_with_static_runtimes
=yes
9435 darwin
* | rhapsody
*)
9438 archive_cmds_need_lc
=no
9440 hardcode_automatic
=yes
9441 hardcode_shlibpath_var
=unsupported
9442 if test "$lt_cv_ld_force_load" = "yes"; then
9443 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\"`'
9445 whole_archive_flag_spec
=''
9447 link_all_deplibs
=yes
9448 allow_undefined_flag
="$_lt_dar_allow_undefined"
9449 case $cc_basename in
9450 ifort
*) _lt_dar_can_shared
=yes ;;
9451 *) _lt_dar_can_shared
=$GCC ;;
9453 if test "$_lt_dar_can_shared" = "yes"; then
9454 output_verbose_link_cmd
=func_echo_all
9455 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9456 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9457 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}"
9458 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}"
9467 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9468 hardcode_libdir_flag_spec
='-L$libdir'
9469 hardcode_shlibpath_var
=no
9476 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9477 # support. Future versions do this automatically, but an explicit c++rt0.o
9478 # does not break anything, and helps significantly (at the cost of a little
9481 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9482 hardcode_libdir_flag_spec
='-R$libdir'
9484 hardcode_shlibpath_var
=no
9487 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9489 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9491 hardcode_minus_L
=yes
9492 hardcode_shlibpath_var
=no
9495 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9496 freebsd
* | dragonfly
*)
9497 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9498 hardcode_libdir_flag_spec
='-R$libdir'
9500 hardcode_shlibpath_var
=no
9504 if test "$GCC" = yes; then
9505 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'
9507 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'
9509 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9510 hardcode_libdir_separator
=:
9513 # hardcode_minus_L: Not really in the search PATH,
9514 # but as the default location of the library.
9515 hardcode_minus_L
=yes
9516 export_dynamic_flag_spec
='${wl}-E'
9520 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9521 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9523 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9525 if test "$with_gnu_ld" = no
; then
9526 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9527 hardcode_libdir_flag_spec_ld
='+b $libdir'
9528 hardcode_libdir_separator
=:
9530 hardcode_direct_absolute
=yes
9531 export_dynamic_flag_spec
='${wl}-E'
9532 # hardcode_minus_L: Not really in the search PATH,
9533 # but as the default location of the library.
9534 hardcode_minus_L
=yes
9539 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9542 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9545 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9548 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9554 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9557 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9561 # Older versions of the 11.00 compiler do not understand -b yet
9562 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9564 $as_echo_n "checking if $CC understands -b... " >&6; }
9565 if ${lt_cv_prog_compiler__b+:} false
; then :
9566 $as_echo_n "(cached) " >&6
9568 lt_cv_prog_compiler__b
=no
9569 save_LDFLAGS
="$LDFLAGS"
9570 LDFLAGS
="$LDFLAGS -b"
9571 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9572 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9573 # The linker can only warn and ignore the option if not recognized
9574 # So say no if there are warnings
9575 if test -s conftest.err
; then
9576 # Append any errors to the config.log.
9577 cat conftest.err
1>&5
9578 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9579 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9580 if diff conftest.exp conftest.er2
>/dev
/null
; then
9581 lt_cv_prog_compiler__b
=yes
9584 lt_cv_prog_compiler__b
=yes
9588 LDFLAGS
="$save_LDFLAGS"
9591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9592 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9594 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9595 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9597 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9603 if test "$with_gnu_ld" = no
; then
9604 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9605 hardcode_libdir_separator
=:
9610 hardcode_shlibpath_var
=no
9614 hardcode_direct_absolute
=yes
9615 export_dynamic_flag_spec
='${wl}-E'
9617 # hardcode_minus_L: Not really in the search PATH,
9618 # but as the default location of the library.
9619 hardcode_minus_L
=yes
9625 irix5
* | irix6
* | nonstopux
*)
9626 if test "$GCC" = yes; then
9627 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'
9628 # Try to use the -exported_symbol ld option, if it does not
9629 # work, assume that -exports_file does not work either and
9630 # implicitly export all symbols.
9631 # This should be the same for all languages, so no per-tag cache variable.
9632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9633 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9634 if ${lt_cv_irix_exported_symbol+:} false
; then :
9635 $as_echo_n "(cached) " >&6
9637 save_LDFLAGS
="$LDFLAGS"
9638 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9640 /* end confdefs.h. */
9641 int foo (void) { return 0; }
9643 if ac_fn_c_try_link
"$LINENO"; then :
9644 lt_cv_irix_exported_symbol
=yes
9646 lt_cv_irix_exported_symbol
=no
9648 rm -f core conftest.err conftest.
$ac_objext \
9649 conftest
$ac_exeext conftest.
$ac_ext
9650 LDFLAGS
="$save_LDFLAGS"
9652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9653 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9654 if test "$lt_cv_irix_exported_symbol" = yes; then
9655 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'
9658 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'
9659 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'
9661 archive_cmds_need_lc
='no'
9662 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9663 hardcode_libdir_separator
=:
9665 link_all_deplibs
=yes
9669 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9670 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9672 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9674 hardcode_libdir_flag_spec
='-R$libdir'
9676 hardcode_shlibpath_var
=no
9680 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9682 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9683 hardcode_libdir_separator
=:
9684 hardcode_shlibpath_var
=no
9691 if test -f /usr
/libexec
/ld.so
; then
9693 hardcode_shlibpath_var
=no
9694 hardcode_direct_absolute
=yes
9695 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9696 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9697 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9698 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9699 export_dynamic_flag_spec
='${wl}-E'
9702 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9703 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9704 hardcode_libdir_flag_spec
='-R$libdir'
9707 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9708 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9718 hardcode_libdir_flag_spec
='-L$libdir'
9719 hardcode_minus_L
=yes
9720 allow_undefined_flag
=unsupported
9721 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'
9722 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9726 if test "$GCC" = yes; then
9727 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9728 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'
9730 allow_undefined_flag
=' -expect_unresolved \*'
9731 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'
9733 archive_cmds_need_lc
='no'
9734 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9735 hardcode_libdir_separator
=:
9738 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9739 if test "$GCC" = yes; then
9740 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9741 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'
9742 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9744 allow_undefined_flag
=' -expect_unresolved \*'
9745 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'
9746 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~
9747 $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'
9749 # Both c and cxx compiler support -rpath directly
9750 hardcode_libdir_flag_spec
='-rpath $libdir'
9752 archive_cmds_need_lc
='no'
9753 hardcode_libdir_separator
=:
9757 no_undefined_flag
=' -z defs'
9758 if test "$GCC" = yes; then
9760 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9761 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9762 $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'
9764 case `$CC -V 2>&1` in
9767 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9768 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9769 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9773 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9774 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9775 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9779 hardcode_libdir_flag_spec
='-R$libdir'
9780 hardcode_shlibpath_var
=no
9782 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9784 # The compiler driver will combine and reorder linker options,
9785 # but understands `-z linker_flag'. GCC discards it without `$wl',
9786 # but is careful enough not to reorder.
9787 # Supported since Solaris 2.6 (maybe 2.5.1?)
9788 if test "$GCC" = yes; then
9789 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9791 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9795 link_all_deplibs
=yes
9799 if test "x$host_vendor" = xsequent
; then
9800 # Use $CC to link under sequent, because it throws in some extra .o
9801 # files that make .init and .fini sections work.
9802 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9804 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9806 hardcode_libdir_flag_spec
='-L$libdir'
9808 hardcode_minus_L
=yes
9809 hardcode_shlibpath_var
=no
9813 case $host_vendor in
9815 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9816 hardcode_direct
=yes # is this really true???
9819 ## LD is ld it makes a PLAMLIB
9820 ## CC just makes a GrossModule.
9821 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9822 reload_cmds
='$CC -r -o $output$reload_objs'
9826 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9827 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9830 runpath_var
='LD_RUN_PATH'
9831 hardcode_shlibpath_var
=no
9835 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9836 hardcode_shlibpath_var
=no
9837 export_dynamic_flag_spec
='-Bexport'
9841 if test -d /usr
/nec
; then
9842 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9843 hardcode_shlibpath_var
=no
9844 runpath_var
=LD_RUN_PATH
9845 hardcode_runpath_var
=yes
9850 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9851 no_undefined_flag
='${wl}-z,text'
9852 archive_cmds_need_lc
=no
9853 hardcode_shlibpath_var
=no
9854 runpath_var
='LD_RUN_PATH'
9856 if test "$GCC" = yes; then
9857 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9858 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9860 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9861 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9865 sysv5
* | sco3.2v5
* | sco5v6
*)
9866 # Note: We can NOT use -z defs as we might desire, because we do not
9867 # link with -lc, and that would cause any symbols used from libc to
9868 # always be unresolved, which means just about no library would
9869 # ever link correctly. If we're not using GNU ld we use -z text
9870 # though, which does catch some bad symbols but isn't as heavy-handed
9872 no_undefined_flag
='${wl}-z,text'
9873 allow_undefined_flag
='${wl}-z,nodefs'
9874 archive_cmds_need_lc
=no
9875 hardcode_shlibpath_var
=no
9876 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9877 hardcode_libdir_separator
=':'
9878 link_all_deplibs
=yes
9879 export_dynamic_flag_spec
='${wl}-Bexport'
9880 runpath_var
='LD_RUN_PATH'
9882 if test "$GCC" = yes; then
9883 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9884 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9886 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9887 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9892 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9893 hardcode_libdir_flag_spec
='-L$libdir'
9894 hardcode_shlibpath_var
=no
9902 if test x
$host_vendor = xsni
; then
9904 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9905 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9912 $as_echo "$ld_shlibs" >&6; }
9913 test "$ld_shlibs" = no
&& can_build_shared
=no
9915 with_gnu_ld
=$with_gnu_ld
9932 # Do we need to explicitly link libc?
9934 case "x$archive_cmds_need_lc" in
9936 # Assume -lc should be added
9937 archive_cmds_need_lc
=yes
9939 if test "$enable_shared" = yes && test "$GCC" = yes; then
9940 case $archive_cmds in
9942 # FIXME: we may have to deal with multi-command sequences.
9945 # Test whether the compiler implicitly links with -lc since on some
9946 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9947 # to ld, don't add -lc before -lgcc.
9948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9949 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9950 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
9951 $as_echo_n "(cached) " >&6
9954 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9956 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9957 (eval $ac_compile) 2>&5
9959 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9960 test $ac_status = 0; } 2>conftest.err
; then
9963 libobjs
=conftest.
$ac_objext
9965 wl
=$lt_prog_compiler_wl
9966 pic_flag
=$lt_prog_compiler_pic
9972 lt_save_allow_undefined_flag
=$allow_undefined_flag
9973 allow_undefined_flag
=
9974 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9975 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9977 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9978 test $ac_status = 0; }
9980 lt_cv_archive_cmds_need_lc
=no
9982 lt_cv_archive_cmds_need_lc
=yes
9984 allow_undefined_flag
=$lt_save_allow_undefined_flag
9986 cat conftest.err
1>&5
9991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9992 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9993 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10157 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10159 if test "$GCC" = yes; then
10161 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10162 *) lt_awk_arg
="/^libraries:/" ;;
10165 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10166 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10168 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10169 case $lt_search_path_spec in
10171 # if the path contains ";" then we assume it to be the separator
10172 # otherwise default to the standard path separator (i.e. ":") - it is
10173 # assumed that no part of a normal pathname contains ";" but that should
10174 # okay in the real world where ";" in dirpaths is itself problematic.
10175 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10178 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10181 # Ok, now we have the path, separated by spaces, we can step through it
10182 # and add multilib dir if necessary.
10183 lt_tmp_lt_search_path_spec
=
10184 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10185 for lt_sys_path
in $lt_search_path_spec; do
10186 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10187 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10189 test -d "$lt_sys_path" && \
10190 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10193 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10194 BEGIN {RS=" "; FS="/|\n";} {
10197 for (lt_i = NF; lt_i > 0; lt_i--) {
10198 if ($lt_i != "" && $lt_i != ".") {
10199 if ($lt_i == "..") {
10202 if (lt_count == 0) {
10203 lt_foo="/" $lt_i lt_foo;
10210 if (lt_foo != "") { lt_freq[lt_foo]++; }
10211 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10213 # AWK program above erroneously prepends '/' to C:/dos/paths
10216 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10217 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10219 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10221 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10223 library_names_spec
=
10224 libname_spec
='lib$name'
10228 postuninstall_cmds
=
10232 shlibpath_overrides_runpath
=unknown
10234 dynamic_linker
="$host_os ld.so"
10235 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10236 need_lib_prefix
=unknown
10237 hardcode_into_libs
=no
10239 # when you set need_version to no, make sure it does not cause -set_version
10240 # flags to be left without arguments
10241 need_version
=unknown
10246 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10247 shlibpath_var
=LIBPATH
10249 # AIX 3 has no versioning support, so we append a major version to the name.
10250 soname_spec
='${libname}${release}${shared_ext}$major'
10257 hardcode_into_libs
=yes
10258 if test "$host_cpu" = ia64
; then
10259 # AIX 5 supports IA64
10260 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10261 shlibpath_var
=LD_LIBRARY_PATH
10263 # With GCC up to 2.95.x, collect2 would create an import file
10264 # for dependence libraries. The import file would start with
10265 # the line `#! .'. This would cause the generated library to
10266 # depend on `.', always an invalid library. This was fixed in
10267 # development snapshots of GCC prior to 3.0.
10269 aix4 | aix4.
[01] | aix4.
[01].
*)
10270 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10272 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10275 can_build_shared
=no
10279 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10280 # soname into executable. Probably we can add versioning support to
10281 # collect2, so additional links can be useful in future.
10282 if test "$aix_use_runtimelinking" = yes; then
10283 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10284 # instead of lib<name>.a to let people know that these are not
10285 # typical AIX shared libraries.
10286 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10288 # We preserve .a as extension for shared libraries through AIX4.2
10289 # and later when we are not doing run time linking.
10290 library_names_spec
='${libname}${release}.a $libname.a'
10291 soname_spec
='${libname}${release}${shared_ext}$major'
10293 shlibpath_var
=LIBPATH
10300 # Since July 2007 AmigaOS4 officially supports .so libraries.
10301 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10302 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10305 library_names_spec
='$libname.ixlibrary $libname.a'
10306 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10307 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'
10313 library_names_spec
='${libname}${shared_ext}'
10314 dynamic_linker
="$host_os ld.so"
10315 shlibpath_var
=LIBRARY_PATH
10321 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10322 soname_spec
='${libname}${release}${shared_ext}$major'
10323 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10324 shlibpath_var
=LD_LIBRARY_PATH
10325 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10326 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10327 # the default ld.so.conf also contains /usr/contrib/lib and
10328 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10329 # libtool to hard-code these into programs
10332 cygwin
* | mingw
* | pw32
* | cegcc
*)
10333 version_type
=windows
10338 case $GCC,$cc_basename in
10341 library_names_spec
='$libname.dll.a'
10342 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10343 postinstall_cmds
='base_file=`basename \${file}`~
10344 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10345 dldir=$destdir/`dirname \$dlpath`~
10346 test -d \$dldir || mkdir -p \$dldir~
10347 $install_prog $dir/$dlname \$dldir/$dlname~
10348 chmod a+x \$dldir/$dlname~
10349 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10350 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10352 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10353 dlpath=$dir/\$dldll~
10355 shlibpath_overrides_runpath
=yes
10359 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10360 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10362 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10365 # MinGW DLLs use traditional 'lib' prefix
10366 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10369 # pw32 DLLs use 'pw' prefix rather than 'lib'
10370 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10373 dynamic_linker
='Win32 ld.exe'
10378 libname_spec
='$name'
10379 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10380 library_names_spec
='${libname}.dll.lib'
10384 sys_lib_search_path_spec
=
10387 for lt_path
in $LIB
10390 # Let DOS variable expansion print the short 8.3 style file name.
10391 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10392 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
10395 # Convert to MSYS style.
10396 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10399 # Convert to unix form, then to dos form, then back to unix form
10400 # but this time dos style (no spaces!) so that the unix form looks
10401 # like /cygdrive/c/PROGRA~1:/cygdr...
10402 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
10403 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10404 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10407 sys_lib_search_path_spec
="$LIB"
10408 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10409 # It is most probably a Windows format PATH.
10410 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10412 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10414 # FIXME: find the short name or the path components, as spaces are
10415 # common. (e.g. "Program Files" -> "PROGRA~1")
10419 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10420 postinstall_cmds
='base_file=`basename \${file}`~
10421 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10422 dldir=$destdir/`dirname \$dlpath`~
10423 test -d \$dldir || mkdir -p \$dldir~
10424 $install_prog $dir/$dlname \$dldir/$dlname'
10425 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10426 dlpath=$dir/\$dldll~
10428 shlibpath_overrides_runpath
=yes
10429 dynamic_linker
='Win32 link.exe'
10433 # Assume MSVC wrapper
10434 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10435 dynamic_linker
='Win32 ld.exe'
10438 # FIXME: first we should search . and the directory the executable is in
10442 darwin
* | rhapsody
*)
10443 dynamic_linker
="$host_os dyld"
10444 version_type
=darwin
10447 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10448 soname_spec
='${libname}${release}${major}$shared_ext'
10449 shlibpath_overrides_runpath
=yes
10450 shlibpath_var
=DYLD_LIBRARY_PATH
10451 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10453 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10454 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10461 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10462 soname_spec
='${libname}${release}${shared_ext}$major'
10463 shlibpath_var
=LD_LIBRARY_PATH
10470 freebsd
* | dragonfly
*)
10471 # DragonFly does not have aout. When/if they implement a new
10472 # versioning mechanism, adjust this.
10473 if test -x /usr
/bin
/objformat
; then
10474 objformat
=`/usr/bin/objformat`
10477 freebsd
[123]*) objformat
=aout
;;
10478 *) objformat
=elf
;;
10481 version_type
=freebsd-
$objformat
10482 case $version_type in
10484 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10489 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10493 shlibpath_var
=LD_LIBRARY_PATH
10496 shlibpath_overrides_runpath
=yes
10498 freebsd3.
[01]* | freebsdelf3.
[01]*)
10499 shlibpath_overrides_runpath
=yes
10500 hardcode_into_libs
=yes
10502 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10503 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10504 shlibpath_overrides_runpath
=no
10505 hardcode_into_libs
=yes
10507 *) # from 4.6 on, and DragonFly
10508 shlibpath_overrides_runpath
=yes
10509 hardcode_into_libs
=yes
10518 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10519 soname_spec
='${libname}${release}${shared_ext}$major'
10520 shlibpath_var
=LD_LIBRARY_PATH
10521 hardcode_into_libs
=yes
10528 dynamic_linker
="$host_os runtime_loader"
10529 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10530 soname_spec
='${libname}${release}${shared_ext}$major'
10531 shlibpath_var
=LIBRARY_PATH
10532 shlibpath_overrides_runpath
=yes
10533 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10534 hardcode_into_libs
=yes
10537 hpux9
* | hpux10
* | hpux11
*)
10538 # Give a soname corresponding to the major version so that dld.sl refuses to
10539 # link against other versions.
10546 hardcode_into_libs
=yes
10547 dynamic_linker
="$host_os dld.so"
10548 shlibpath_var
=LD_LIBRARY_PATH
10549 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10550 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10551 soname_spec
='${libname}${release}${shared_ext}$major'
10552 if test "X$HPUX_IA64_MODE" = X32
; then
10553 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10555 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10557 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10561 hardcode_into_libs
=yes
10562 dynamic_linker
="$host_os dld.sl"
10563 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10564 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10565 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10566 soname_spec
='${libname}${release}${shared_ext}$major'
10567 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10568 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10572 dynamic_linker
="$host_os dld.sl"
10573 shlibpath_var
=SHLIB_PATH
10574 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10575 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10576 soname_spec
='${libname}${release}${shared_ext}$major'
10579 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10580 postinstall_cmds
='chmod 555 $lib'
10581 # or fails outright, so override atomically:
10582 install_override_mode
=555
10589 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10590 soname_spec
='${libname}${release}${shared_ext}$major'
10591 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10592 shlibpath_var
=LD_LIBRARY_PATH
10593 shlibpath_overrides_runpath
=no
10594 hardcode_into_libs
=yes
10597 irix5
* | irix6
* | nonstopux
*)
10599 nonstopux
*) version_type
=nonstopux
;;
10601 if test "$lt_cv_prog_gnu_ld" = yes; then
10609 soname_spec
='${libname}${release}${shared_ext}$major'
10610 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10612 irix5
* | nonstopux
*)
10613 libsuff
= shlibsuff
=
10616 case $LD in # libtool.m4 will add one of these switches to LD
10617 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10618 libsuff
= shlibsuff
= libmagic
=32-bit;;
10619 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10620 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10621 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10622 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10623 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10627 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10628 shlibpath_overrides_runpath
=no
10629 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10630 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10631 hardcode_into_libs
=yes
10634 # No shared lib support for Linux oldld, aout, or coff.
10635 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10639 # This must be Linux ELF.
10640 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10644 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10645 soname_spec
='${libname}${release}${shared_ext}$major'
10646 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10647 shlibpath_var
=LD_LIBRARY_PATH
10648 shlibpath_overrides_runpath
=no
10650 # Some binutils ld are patched to set DT_RUNPATH
10651 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10652 $as_echo_n "(cached) " >&6
10654 lt_cv_shlibpath_overrides_runpath
=no
10655 save_LDFLAGS
=$LDFLAGS
10656 save_libdir
=$libdir
10657 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10658 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10660 /* end confdefs.h. */
10670 if ac_fn_c_try_link
"$LINENO"; then :
10671 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10672 lt_cv_shlibpath_overrides_runpath
=yes
10675 rm -f core conftest.err conftest.
$ac_objext \
10676 conftest
$ac_exeext conftest.
$ac_ext
10677 LDFLAGS
=$save_LDFLAGS
10678 libdir
=$save_libdir
10682 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10684 # This implies no fast_install, which is unacceptable.
10685 # Some rework will be needed to allow for fast_install
10686 # before this can be enabled.
10687 hardcode_into_libs
=yes
10689 # Append ld.so.conf contents to the search path
10690 if test -f /etc
/ld.so.conf
; then
10691 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' ' '`
10692 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10695 # We used to test for /lib/ld.so.1 and disable shared libraries on
10696 # powerpc, because MkLinux only supported shared libraries with the
10697 # GNU dynamic linker. Since this was broken with cross compilers,
10698 # most powerpc-linux boxes support dynamic linking these days and
10699 # people can always --disable-shared, the test was removed, and we
10700 # assume the GNU/Linux dynamic linker is in use.
10701 dynamic_linker
='GNU/Linux ld.so'
10708 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10709 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10710 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10711 dynamic_linker
='NetBSD (a.out) ld.so'
10713 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10714 soname_spec
='${libname}${release}${shared_ext}$major'
10715 dynamic_linker
='NetBSD ld.elf_so'
10717 shlibpath_var
=LD_LIBRARY_PATH
10718 shlibpath_overrides_runpath
=yes
10719 hardcode_into_libs
=yes
10724 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10725 shlibpath_var
=LD_LIBRARY_PATH
10726 shlibpath_overrides_runpath
=yes
10733 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10734 soname_spec
='${libname}${release}${shared_ext}$major'
10735 shlibpath_var
=LD_LIBRARY_PATH
10736 shlibpath_overrides_runpath
=no
10737 hardcode_into_libs
=yes
10738 dynamic_linker
='ldqnx.so'
10743 sys_lib_dlsearch_path_spec
="/usr/lib"
10745 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10747 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10748 *) need_version
=no
;;
10750 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10751 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10752 shlibpath_var
=LD_LIBRARY_PATH
10753 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10755 openbsd2.
[89] | openbsd2.
[89].
*)
10756 shlibpath_overrides_runpath
=no
10759 shlibpath_overrides_runpath
=yes
10763 shlibpath_overrides_runpath
=yes
10768 libname_spec
='$name'
10771 library_names_spec
='$libname${shared_ext} $libname.a'
10772 dynamic_linker
='OS/2 ld.exe'
10773 shlibpath_var
=LIBPATH
10776 osf3
* | osf4
* | osf5
*)
10780 soname_spec
='${libname}${release}${shared_ext}$major'
10781 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10782 shlibpath_var
=LD_LIBRARY_PATH
10783 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10784 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10795 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10796 soname_spec
='${libname}${release}${shared_ext}$major'
10797 shlibpath_var
=LD_LIBRARY_PATH
10798 shlibpath_overrides_runpath
=yes
10799 hardcode_into_libs
=yes
10800 # ldd complains unless libraries are executable
10801 postinstall_cmds
='chmod +x $lib'
10806 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10807 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10808 shlibpath_var
=LD_LIBRARY_PATH
10809 shlibpath_overrides_runpath
=yes
10810 if test "$with_gnu_ld" = yes; then
10818 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10819 soname_spec
='${libname}${release}${shared_ext}$major'
10820 shlibpath_var
=LD_LIBRARY_PATH
10821 case $host_vendor in
10823 shlibpath_overrides_runpath
=no
10825 runpath_var
=LD_RUN_PATH
10833 shlibpath_overrides_runpath
=no
10834 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10840 if test -d /usr
/nec
;then
10842 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10843 soname_spec
='$libname${shared_ext}.$major'
10844 shlibpath_var
=LD_LIBRARY_PATH
10848 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10849 version_type
=freebsd-elf
10852 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10853 soname_spec
='${libname}${release}${shared_ext}$major'
10854 shlibpath_var
=LD_LIBRARY_PATH
10855 shlibpath_overrides_runpath
=yes
10856 hardcode_into_libs
=yes
10857 if test "$with_gnu_ld" = yes; then
10858 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10860 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10863 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10867 sys_lib_dlsearch_path_spec
='/usr/lib'
10871 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10875 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10876 shlibpath_var
=LD_LIBRARY_PATH
10877 shlibpath_overrides_runpath
=no
10878 hardcode_into_libs
=yes
10883 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10884 soname_spec
='${libname}${release}${shared_ext}$major'
10885 shlibpath_var
=LD_LIBRARY_PATH
10892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10893 $as_echo "$dynamic_linker" >&6; }
10894 test "$dynamic_linker" = no
&& can_build_shared
=no
10896 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10897 if test "$GCC" = yes; then
10898 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10901 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10902 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10904 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10905 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11000 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11002 if test -n "$hardcode_libdir_flag_spec" ||
11003 test -n "$runpath_var" ||
11004 test "X$hardcode_automatic" = "Xyes" ; then
11006 # We can hardcode non-existent directories.
11007 if test "$hardcode_direct" != no
&&
11008 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11009 # have to relink, otherwise we might link with an installed library
11010 # when we should be linking with a yet-to-be-installed one
11011 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11012 test "$hardcode_minus_L" != no
; then
11013 # Linking always hardcodes the temporary library directory.
11014 hardcode_action
=relink
11016 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11017 hardcode_action
=immediate
11020 # We cannot hardcode anything, or else we can only hardcode existing
11022 hardcode_action
=unsupported
11024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11025 $as_echo "$hardcode_action" >&6; }
11027 if test "$hardcode_action" = relink ||
11028 test "$inherit_rpath" = yes; then
11029 # Fast installation is not supported
11030 enable_fast_install
=no
11031 elif test "$shlibpath_overrides_runpath" = yes ||
11032 test "$enable_shared" = no
; then
11033 # Fast installation is not necessary
11034 enable_fast_install
=needless
11042 if test "x$enable_dlopen" != xyes
; then
11043 enable_dlopen
=unknown
11044 enable_dlopen_self
=unknown
11045 enable_dlopen_self_static
=unknown
11052 lt_cv_dlopen
="load_add_on"
11054 lt_cv_dlopen_self
=yes
11057 mingw
* | pw32
* | cegcc
*)
11058 lt_cv_dlopen
="LoadLibrary"
11063 lt_cv_dlopen
="dlopen"
11068 # if libdl is installed we need to link against it
11069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11070 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11071 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11072 $as_echo_n "(cached) " >&6
11074 ac_check_lib_save_LIBS
=$LIBS
11076 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11077 /* end confdefs.h. */
11079 /* Override any GCC internal prototype to avoid an error.
11080 Use char because int might match the return type of a GCC
11081 builtin and then its argument prototype would still apply. */
11094 if ac_fn_c_try_link
"$LINENO"; then :
11095 ac_cv_lib_dl_dlopen
=yes
11097 ac_cv_lib_dl_dlopen
=no
11099 rm -f core conftest.err conftest.
$ac_objext \
11100 conftest
$ac_exeext conftest.
$ac_ext
11101 LIBS
=$ac_check_lib_save_LIBS
11103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11104 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11105 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11106 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11109 lt_cv_dlopen
="dyld"
11111 lt_cv_dlopen_self
=yes
11118 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11119 if test "x$ac_cv_func_shl_load" = xyes
; then :
11120 lt_cv_dlopen
="shl_load"
11122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11123 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11124 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11125 $as_echo_n "(cached) " >&6
11127 ac_check_lib_save_LIBS
=$LIBS
11129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11130 /* end confdefs.h. */
11132 /* Override any GCC internal prototype to avoid an error.
11133 Use char because int might match the return type of a GCC
11134 builtin and then its argument prototype would still apply. */
11142 return shl_load ();
11147 if ac_fn_c_try_link
"$LINENO"; then :
11148 ac_cv_lib_dld_shl_load
=yes
11150 ac_cv_lib_dld_shl_load
=no
11152 rm -f core conftest.err conftest.
$ac_objext \
11153 conftest
$ac_exeext conftest.
$ac_ext
11154 LIBS
=$ac_check_lib_save_LIBS
11156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11157 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11158 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11159 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11161 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11162 if test "x$ac_cv_func_dlopen" = xyes
; then :
11163 lt_cv_dlopen
="dlopen"
11165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11166 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11167 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11168 $as_echo_n "(cached) " >&6
11170 ac_check_lib_save_LIBS
=$LIBS
11172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11173 /* end confdefs.h. */
11175 /* Override any GCC internal prototype to avoid an error.
11176 Use char because int might match the return type of a GCC
11177 builtin and then its argument prototype would still apply. */
11190 if ac_fn_c_try_link
"$LINENO"; then :
11191 ac_cv_lib_dl_dlopen
=yes
11193 ac_cv_lib_dl_dlopen
=no
11195 rm -f core conftest.err conftest.
$ac_objext \
11196 conftest
$ac_exeext conftest.
$ac_ext
11197 LIBS
=$ac_check_lib_save_LIBS
11199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11200 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11201 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11202 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11205 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11206 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11207 $as_echo_n "(cached) " >&6
11209 ac_check_lib_save_LIBS
=$LIBS
11210 LIBS
="-lsvld $LIBS"
11211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11212 /* end confdefs.h. */
11214 /* Override any GCC internal prototype to avoid an error.
11215 Use char because int might match the return type of a GCC
11216 builtin and then its argument prototype would still apply. */
11229 if ac_fn_c_try_link
"$LINENO"; then :
11230 ac_cv_lib_svld_dlopen
=yes
11232 ac_cv_lib_svld_dlopen
=no
11234 rm -f core conftest.err conftest.
$ac_objext \
11235 conftest
$ac_exeext conftest.
$ac_ext
11236 LIBS
=$ac_check_lib_save_LIBS
11238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11239 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11240 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11241 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11244 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11245 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11246 $as_echo_n "(cached) " >&6
11248 ac_check_lib_save_LIBS
=$LIBS
11250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11251 /* end confdefs.h. */
11253 /* Override any GCC internal prototype to avoid an error.
11254 Use char because int might match the return type of a GCC
11255 builtin and then its argument prototype would still apply. */
11263 return dld_link ();
11268 if ac_fn_c_try_link
"$LINENO"; then :
11269 ac_cv_lib_dld_dld_link
=yes
11271 ac_cv_lib_dld_dld_link
=no
11273 rm -f core conftest.err conftest.
$ac_objext \
11274 conftest
$ac_exeext conftest.
$ac_ext
11275 LIBS
=$ac_check_lib_save_LIBS
11277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11278 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11279 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11280 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11301 if test "x$lt_cv_dlopen" != xno
; then
11307 case $lt_cv_dlopen in
11309 save_CPPFLAGS
="$CPPFLAGS"
11310 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11312 save_LDFLAGS
="$LDFLAGS"
11313 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11316 LIBS
="$lt_cv_dlopen_libs $LIBS"
11318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11319 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11320 if ${lt_cv_dlopen_self+:} false
; then :
11321 $as_echo_n "(cached) " >&6
11323 if test "$cross_compiling" = yes; then :
11324 lt_cv_dlopen_self
=cross
11326 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11327 lt_status
=$lt_dlunknown
11328 cat > conftest.
$ac_ext <<_LT_EOF
11329 #line $LINENO "configure"
11330 #include "confdefs.h"
11339 # define LT_DLGLOBAL RTLD_GLOBAL
11342 # define LT_DLGLOBAL DL_GLOBAL
11344 # define LT_DLGLOBAL 0
11348 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11349 find out it does not work in some platform. */
11350 #ifndef LT_DLLAZY_OR_NOW
11352 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11355 # define LT_DLLAZY_OR_NOW DL_LAZY
11358 # define LT_DLLAZY_OR_NOW RTLD_NOW
11361 # define LT_DLLAZY_OR_NOW DL_NOW
11363 # define LT_DLLAZY_OR_NOW 0
11370 /* When -fvisbility=hidden is used, assume the code has been annotated
11371 correspondingly for the symbols needed. */
11372 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11373 int fnord () __attribute__((visibility("default")));
11376 int fnord () { return 42; }
11379 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11380 int status = $lt_dlunknown;
11384 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11387 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11388 else puts (dlerror ());
11390 /* dlclose (self); */
11398 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11399 (eval $ac_link) 2>&5
11401 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11402 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11403 (.
/conftest
; exit; ) >&5 2>/dev
/null
11405 case x
$lt_status in
11406 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11407 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11408 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11411 # compilation failed
11412 lt_cv_dlopen_self
=no
11419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11420 $as_echo "$lt_cv_dlopen_self" >&6; }
11422 if test "x$lt_cv_dlopen_self" = xyes
; then
11423 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11425 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11426 if ${lt_cv_dlopen_self_static+:} false
; then :
11427 $as_echo_n "(cached) " >&6
11429 if test "$cross_compiling" = yes; then :
11430 lt_cv_dlopen_self_static
=cross
11432 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11433 lt_status
=$lt_dlunknown
11434 cat > conftest.
$ac_ext <<_LT_EOF
11435 #line $LINENO "configure"
11436 #include "confdefs.h"
11445 # define LT_DLGLOBAL RTLD_GLOBAL
11448 # define LT_DLGLOBAL DL_GLOBAL
11450 # define LT_DLGLOBAL 0
11454 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11455 find out it does not work in some platform. */
11456 #ifndef LT_DLLAZY_OR_NOW
11458 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11461 # define LT_DLLAZY_OR_NOW DL_LAZY
11464 # define LT_DLLAZY_OR_NOW RTLD_NOW
11467 # define LT_DLLAZY_OR_NOW DL_NOW
11469 # define LT_DLLAZY_OR_NOW 0
11476 /* When -fvisbility=hidden is used, assume the code has been annotated
11477 correspondingly for the symbols needed. */
11478 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11479 int fnord () __attribute__((visibility("default")));
11482 int fnord () { return 42; }
11485 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11486 int status = $lt_dlunknown;
11490 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11493 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11494 else puts (dlerror ());
11496 /* dlclose (self); */
11504 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11505 (eval $ac_link) 2>&5
11507 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11508 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11509 (.
/conftest
; exit; ) >&5 2>/dev
/null
11511 case x
$lt_status in
11512 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11513 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11514 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11517 # compilation failed
11518 lt_cv_dlopen_self_static
=no
11525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11526 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11529 CPPFLAGS
="$save_CPPFLAGS"
11530 LDFLAGS
="$save_LDFLAGS"
11535 case $lt_cv_dlopen_self in
11536 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11537 *) enable_dlopen_self
=unknown
;;
11540 case $lt_cv_dlopen_self_static in
11541 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11542 *) enable_dlopen_self_static
=unknown
;;
11564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11565 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11566 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11567 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11568 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11570 $as_echo "yes" >&6; }
11572 # FIXME - insert some real tests, host_os isn't really good enough
11575 if test -n "$STRIP" ; then
11576 striplib
="$STRIP -x"
11577 old_striplib
="$STRIP -S"
11578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11579 $as_echo "yes" >&6; }
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11582 $as_echo "no" >&6; }
11586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11587 $as_echo "no" >&6; }
11603 # Report which library types will actually be built
11604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11605 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11607 $as_echo "$can_build_shared" >&6; }
11609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11610 $as_echo_n "checking whether to build shared libraries... " >&6; }
11611 test "$can_build_shared" = "no" && enable_shared
=no
11613 # On AIX, shared libraries and static libraries use the same namespace, and
11614 # are all built from PIC.
11617 test "$enable_shared" = yes && enable_static
=no
11618 if test -n "$RANLIB"; then
11619 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11620 postinstall_cmds
='$RANLIB $lib'
11625 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11626 test "$enable_shared" = yes && enable_static
=no
11630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11631 $as_echo "$enable_shared" >&6; }
11633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11634 $as_echo_n "checking whether to build static libraries... " >&6; }
11635 # Make sure either enable_shared or enable_static is yes.
11636 test "$enable_shared" = yes || enable_static
=yes
11637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11638 $as_echo "$enable_static" >&6; }
11645 ac_cpp
='$CPP $CPPFLAGS'
11646 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11647 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11648 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11664 ac_config_commands
="$ac_config_commands libtool"
11669 # Only expand once:
11677 *-*-mingw32* |
*-*-cygwin*)
11679 $as_echo "#define HOST_W32 1" >>confdefs.h
11682 if test x
"$enable_shared" != "xno" ; then
11683 NO_UNDEFINED
="-no-undefined"
11687 EXTRA_LIBQUVI_LDFLAGS
="$NO_UNDEFINED"
11690 # Checks for programs.
11691 for ac_prog
in gawk mawk nawk
awk
11693 # Extract the first word of "$ac_prog", so it can be a program name with args.
11694 set dummy
$ac_prog; ac_word
=$2
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11696 $as_echo_n "checking for $ac_word... " >&6; }
11697 if ${ac_cv_prog_AWK+:} false
; then :
11698 $as_echo_n "(cached) " >&6
11700 if test -n "$AWK"; then
11701 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
11703 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11704 for as_dir
in $PATH
11707 test -z "$as_dir" && as_dir
=.
11708 for ac_exec_ext
in '' $ac_executable_extensions; do
11709 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11710 ac_cv_prog_AWK
="$ac_prog"
11711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11720 AWK
=$ac_cv_prog_AWK
11721 if test -n "$AWK"; then
11722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
11723 $as_echo "$AWK" >&6; }
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11726 $as_echo "no" >&6; }
11730 test -n "$AWK" && break
11734 ac_cpp
='$CPP $CPPFLAGS'
11735 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11736 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11737 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11738 if test -n "$ac_tool_prefix"; then
11739 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11740 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11742 $as_echo_n "checking for $ac_word... " >&6; }
11743 if ${ac_cv_prog_CC+:} false
; then :
11744 $as_echo_n "(cached) " >&6
11746 if test -n "$CC"; then
11747 ac_cv_prog_CC
="$CC" # Let the user override the test.
11749 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11750 for as_dir
in $PATH
11753 test -z "$as_dir" && as_dir
=.
11754 for ac_exec_ext
in '' $ac_executable_extensions; do
11755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11756 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
11757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11767 if test -n "$CC"; then
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11769 $as_echo "$CC" >&6; }
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11772 $as_echo "no" >&6; }
11777 if test -z "$ac_cv_prog_CC"; then
11779 # Extract the first word of "gcc", so it can be a program name with args.
11780 set dummy gcc
; ac_word
=$2
11781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11782 $as_echo_n "checking for $ac_word... " >&6; }
11783 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
11784 $as_echo_n "(cached) " >&6
11786 if test -n "$ac_ct_CC"; then
11787 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11790 for as_dir
in $PATH
11793 test -z "$as_dir" && as_dir
=.
11794 for ac_exec_ext
in '' $ac_executable_extensions; do
11795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11796 ac_cv_prog_ac_ct_CC
="gcc"
11797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11806 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11807 if test -n "$ac_ct_CC"; then
11808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11809 $as_echo "$ac_ct_CC" >&6; }
11811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11812 $as_echo "no" >&6; }
11815 if test "x$ac_ct_CC" = x
; then
11818 case $cross_compiling:$ac_tool_warned in
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11821 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11822 ac_tool_warned
=yes ;;
11827 CC
="$ac_cv_prog_CC"
11830 if test -z "$CC"; then
11831 if test -n "$ac_tool_prefix"; then
11832 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11833 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
11834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11835 $as_echo_n "checking for $ac_word... " >&6; }
11836 if ${ac_cv_prog_CC+:} false
; then :
11837 $as_echo_n "(cached) " >&6
11839 if test -n "$CC"; then
11840 ac_cv_prog_CC
="$CC" # Let the user override the test.
11842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11843 for as_dir
in $PATH
11846 test -z "$as_dir" && as_dir
=.
11847 for ac_exec_ext
in '' $ac_executable_extensions; do
11848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11849 ac_cv_prog_CC
="${ac_tool_prefix}cc"
11850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11860 if test -n "$CC"; then
11861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11862 $as_echo "$CC" >&6; }
11864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11865 $as_echo "no" >&6; }
11871 if test -z "$CC"; then
11872 # Extract the first word of "cc", so it can be a program name with args.
11873 set dummy cc
; ac_word
=$2
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11875 $as_echo_n "checking for $ac_word... " >&6; }
11876 if ${ac_cv_prog_CC+:} false
; then :
11877 $as_echo_n "(cached) " >&6
11879 if test -n "$CC"; then
11880 ac_cv_prog_CC
="$CC" # Let the user override the test.
11882 ac_prog_rejected
=no
11883 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11884 for as_dir
in $PATH
11887 test -z "$as_dir" && as_dir
=.
11888 for ac_exec_ext
in '' $ac_executable_extensions; do
11889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11890 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11891 ac_prog_rejected
=yes
11895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11902 if test $ac_prog_rejected = yes; then
11903 # We found a bogon in the path, so make sure we never use it.
11904 set dummy
$ac_cv_prog_CC
11906 if test $# != 0; then
11907 # We chose a different compiler from the bogus one.
11908 # However, it has the same basename, so the bogon will be chosen
11909 # first if we set CC to just the basename; use the full file name.
11911 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
11917 if test -n "$CC"; then
11918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11919 $as_echo "$CC" >&6; }
11921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11922 $as_echo "no" >&6; }
11927 if test -z "$CC"; then
11928 if test -n "$ac_tool_prefix"; then
11929 for ac_prog
in cl.exe
11931 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11932 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11934 $as_echo_n "checking for $ac_word... " >&6; }
11935 if ${ac_cv_prog_CC+:} false
; then :
11936 $as_echo_n "(cached) " >&6
11938 if test -n "$CC"; then
11939 ac_cv_prog_CC
="$CC" # Let the user override the test.
11941 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11942 for as_dir
in $PATH
11945 test -z "$as_dir" && as_dir
=.
11946 for ac_exec_ext
in '' $ac_executable_extensions; do
11947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11948 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
11949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11959 if test -n "$CC"; then
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11961 $as_echo "$CC" >&6; }
11963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11964 $as_echo "no" >&6; }
11968 test -n "$CC" && break
11971 if test -z "$CC"; then
11973 for ac_prog
in cl.exe
11975 # Extract the first word of "$ac_prog", so it can be a program name with args.
11976 set dummy
$ac_prog; ac_word
=$2
11977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11978 $as_echo_n "checking for $ac_word... " >&6; }
11979 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
11980 $as_echo_n "(cached) " >&6
11982 if test -n "$ac_ct_CC"; then
11983 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11985 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11986 for as_dir
in $PATH
11989 test -z "$as_dir" && as_dir
=.
11990 for ac_exec_ext
in '' $ac_executable_extensions; do
11991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11992 ac_cv_prog_ac_ct_CC
="$ac_prog"
11993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12002 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12003 if test -n "$ac_ct_CC"; then
12004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12005 $as_echo "$ac_ct_CC" >&6; }
12007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12008 $as_echo "no" >&6; }
12012 test -n "$ac_ct_CC" && break
12015 if test "x$ac_ct_CC" = x
; then
12018 case $cross_compiling:$ac_tool_warned in
12020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12021 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12022 ac_tool_warned
=yes ;;
12031 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12032 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12033 as_fn_error $?
"no acceptable C compiler found in \$PATH
12034 See \`config.log' for more details" "$LINENO" 5; }
12036 # Provide some information about the compiler.
12037 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12040 for ac_option
in --version -v -V -qversion; do
12041 { { ac_try
="$ac_compiler $ac_option >&5"
12042 case "(($ac_try" in
12043 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12044 *) ac_try_echo=$ac_try;;
12046 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12047 $as_echo "$ac_try_echo"; } >&5
12048 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12050 if test -s conftest.err; then
12052 ... rest of stderr output deleted ...
12053 10q' conftest.err >conftest.er1
12054 cat conftest.er1 >&5
12056 rm -f conftest.er1 conftest.err
12057 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12058 test $ac_status = 0; }
12061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12062 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12063 if ${ac_cv_c_compiler_gnu+:} false; then :
12064 $as_echo_n "(cached) " >&6
12066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12067 /* end confdefs.h. */
12080 if ac_fn_c_try_compile "$LINENO"; then :
12081 ac_compiler_gnu=yes
12085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12086 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12090 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12091 if test $ac_compiler_gnu = yes; then
12096 ac_test_CFLAGS=${CFLAGS+set}
12097 ac_save_CFLAGS=$CFLAGS
12098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12099 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12100 if ${ac_cv_prog_cc_g+:} false; then :
12101 $as_echo_n "(cached) " >&6
12103 ac_save_c_werror_flag=$ac_c_werror_flag
12104 ac_c_werror_flag=yes
12107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12108 /* end confdefs.h. */
12118 if ac_fn_c_try_compile "$LINENO"; then :
12119 ac_cv_prog_cc_g=yes
12122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12123 /* end confdefs.h. */
12133 if ac_fn_c_try_compile "$LINENO"; then :
12136 ac_c_werror_flag=$ac_save_c_werror_flag
12138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12139 /* end confdefs.h. */
12149 if ac_fn_c_try_compile "$LINENO"; then :
12150 ac_cv_prog_cc_g=yes
12152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12157 ac_c_werror_flag=$ac_save_c_werror_flag
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12160 $as_echo "$ac_cv_prog_cc_g" >&6; }
12161 if test "$ac_test_CFLAGS" = set; then
12162 CFLAGS=$ac_save_CFLAGS
12163 elif test $ac_cv_prog_cc_g = yes; then
12164 if test "$GCC" = yes; then
12170 if test "$GCC" = yes; then
12176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12177 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12178 if ${ac_cv_prog_cc_c89+:} false; then :
12179 $as_echo_n "(cached) " >&6
12181 ac_cv_prog_cc_c89=no
12183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12184 /* end confdefs.h. */
12185 #include <stdarg.h>
12187 #include <sys/types.h>
12188 #include <sys/stat.h>
12189 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12190 struct buf { int x; };
12191 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12192 static char *e (p, i)
12198 static char *f (char * (*g) (char **, int), char **p, ...)
12203 s = g (p, va_arg (v,int));
12208 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12209 function prototypes and stuff, but not '\xHH' hex character constants.
12210 These don't provoke an error unfortunately, instead are silently treated
12211 as 'x'. The following induces an error, until -std is added to get
12212 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12213 array size at least. It's necessary to write '\x00'==0 to get something
12214 that's true only with -std. */
12215 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12217 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12218 inside strings and character constants. */
12220 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12222 int test (int i, double x);
12223 struct s1 {int (*f) (int a);};
12224 struct s2 {int (*f) (double a);};
12225 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12231 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12236 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12237 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12239 CC="$ac_save_CC $ac_arg"
12240 if ac_fn_c_try_compile "$LINENO"; then :
12241 ac_cv_prog_cc_c89=$ac_arg
12243 rm -f core conftest.err conftest.$ac_objext
12244 test "x$ac_cv_prog_cc_c89" != "xno" && break
12246 rm -f conftest.$ac_ext
12251 case "x$ac_cv_prog_cc_c89" in
12253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12254 $as_echo "none needed" >&6; } ;;
12256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12257 $as_echo "unsupported" >&6; } ;;
12259 CC="$CC $ac_cv_prog_cc_c89"
12260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12261 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12263 if test "x$ac_cv_prog_cc_c89" != xno; then :
12268 ac_cpp='$CPP $CPPFLAGS'
12269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12274 ac_cpp='$CXXCPP $CPPFLAGS'
12275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12278 if test -z "$CXX"; then
12279 if test -n "$CCC"; then
12282 if test -n "$ac_tool_prefix"; then
12283 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12285 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12286 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12288 $as_echo_n "checking for $ac_word... " >&6; }
12289 if ${ac_cv_prog_CXX+:} false; then :
12290 $as_echo_n "(cached) " >&6
12292 if test -n "$CXX"; then
12293 ac_cv_prog_CXX="$CXX" # Let the user override the test.
12295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12296 for as_dir in $PATH
12299 test -z "$as_dir" && as_dir=.
12300 for ac_exec_ext in '' $ac_executable_extensions; do
12301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12302 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
12303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12312 CXX=$ac_cv_prog_CXX
12313 if test -n "$CXX"; then
12314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
12315 $as_echo "$CXX" >&6; }
12317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12318 $as_echo "no" >&6; }
12322 test -n "$CXX" && break
12325 if test -z "$CXX"; then
12327 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12329 # Extract the first word of "$ac_prog", so it can be a program name with args.
12330 set dummy $ac_prog; ac_word=$2
12331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12332 $as_echo_n "checking for $ac_word... " >&6; }
12333 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
12334 $as_echo_n "(cached) " >&6
12336 if test -n "$ac_ct_CXX"; then
12337 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
12339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12340 for as_dir in $PATH
12343 test -z "$as_dir" && as_dir=.
12344 for ac_exec_ext in '' $ac_executable_extensions; do
12345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12346 ac_cv_prog_ac_ct_CXX="$ac_prog"
12347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12356 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
12357 if test -n "$ac_ct_CXX"; then
12358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
12359 $as_echo "$ac_ct_CXX" >&6; }
12361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12362 $as_echo "no" >&6; }
12366 test -n "$ac_ct_CXX" && break
12369 if test "x$ac_ct_CXX" = x; then
12372 case $cross_compiling:$ac_tool_warned in
12374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12375 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12376 ac_tool_warned=yes ;;
12384 # Provide some information about the compiler.
12385 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
12388 for ac_option in --version -v -V -qversion; do
12389 { { ac_try="$ac_compiler $ac_option >&5"
12390 case "(($ac_try" in
12391 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12392 *) ac_try_echo
=$ac_try;;
12394 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12395 $as_echo "$ac_try_echo"; } >&5
12396 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12398 if test -s conftest.err
; then
12400 ... rest of stderr output deleted ...
12401 10q' conftest.err
>conftest.er1
12402 cat conftest.er1
>&5
12404 rm -f conftest.er1 conftest.err
12405 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12406 test $ac_status = 0; }
12409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
12410 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
12411 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
12412 $as_echo_n "(cached) " >&6
12414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12415 /* end confdefs.h. */
12428 if ac_fn_cxx_try_compile
"$LINENO"; then :
12429 ac_compiler_gnu
=yes
12433 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12434 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
12437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
12438 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
12439 if test $ac_compiler_gnu = yes; then
12444 ac_test_CXXFLAGS
=${CXXFLAGS+set}
12445 ac_save_CXXFLAGS
=$CXXFLAGS
12446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
12447 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
12448 if ${ac_cv_prog_cxx_g+:} false
; then :
12449 $as_echo_n "(cached) " >&6
12451 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
12452 ac_cxx_werror_flag
=yes
12453 ac_cv_prog_cxx_g
=no
12455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12456 /* end confdefs.h. */
12466 if ac_fn_cxx_try_compile
"$LINENO"; then :
12467 ac_cv_prog_cxx_g
=yes
12470 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12471 /* end confdefs.h. */
12481 if ac_fn_cxx_try_compile
"$LINENO"; then :
12484 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
12486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12487 /* end confdefs.h. */
12497 if ac_fn_cxx_try_compile
"$LINENO"; then :
12498 ac_cv_prog_cxx_g
=yes
12500 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12502 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12504 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12505 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
12507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
12508 $as_echo "$ac_cv_prog_cxx_g" >&6; }
12509 if test "$ac_test_CXXFLAGS" = set; then
12510 CXXFLAGS
=$ac_save_CXXFLAGS
12511 elif test $ac_cv_prog_cxx_g = yes; then
12512 if test "$GXX" = yes; then
12518 if test "$GXX" = yes; then
12525 ac_cpp
='$CPP $CPPFLAGS'
12526 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12527 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12528 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12530 depcc
="$CXX" am_compiler_list
=
12532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12533 $as_echo_n "checking dependency style of $depcc... " >&6; }
12534 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
12535 $as_echo_n "(cached) " >&6
12537 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12538 # We make a subdir and do the tests there. Otherwise we can end up
12539 # making bogus files that we don't know about and never remove. For
12540 # instance it was reported that on HP-UX the gcc test will end up
12541 # making a dummy file named `D' -- because `-MD' means `put the output
12544 # Copy depcomp to subdir because otherwise we won't find it if we're
12545 # using a relative directory.
12546 cp "$am_depcomp" conftest.dir
12548 # We will build objects and dependencies in a subdirectory because
12549 # it helps to detect inapplicable dependency modes. For instance
12550 # both Tru64's cc and ICC support -MD to output dependencies as a
12551 # side effect of compilation, but ICC will put the dependencies in
12552 # the current directory while Tru64 will put them in the object
12556 am_cv_CXX_dependencies_compiler_type
=none
12557 if test "$am_compiler_list" = ""; then
12558 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12560 am__universal
=false
12561 case " $depcc " in #(
12562 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
12565 for depmode
in $am_compiler_list; do
12566 # Setup a source with many dependencies, because some compilers
12567 # like to wrap large dependency lists on column 80 (with \), and
12568 # we should not choose a depcomp mode which is confused by this.
12570 # We need to recreate these files for each test, as the compiler may
12571 # overwrite some of them when testing with obscure command lines.
12572 # This happens at least with the AIX C compiler.
12574 for i
in 1 2 3 4 5 6; do
12575 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
12576 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12577 # Solaris 8's {/usr,}/bin/sh.
12578 touch sub
/conftst
$i.h
12580 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12582 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12583 # mode. It turns out that the SunPro C++ compiler does not properly
12584 # handle `-M -o', and we need to detect this. Also, some Intel
12585 # versions had trouble with output in subdirs
12586 am__obj
=sub
/conftest.
${OBJEXT-o}
12587 am__minus_obj
="-o $am__obj"
12590 # This depmode causes a compiler race in universal mode.
12591 test "$am__universal" = false ||
continue
12594 # after this tag, mechanisms are not by side-effect, so they'll
12595 # only be used when explicitly requested
12596 if test "x$enable_dependency_tracking" = xyes
; then
12602 msvisualcpp | msvcmsys
)
12603 # This compiler won't grok `-c -o', but also, the minuso test has
12604 # not run yet. These depmodes are late enough in the game, and
12605 # so weak that their functioning should not be impacted.
12606 am__obj
=conftest.
${OBJEXT-o}
12611 if depmode
=$depmode \
12612 source=sub
/conftest.c object
=$am__obj \
12613 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
12614 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
12615 >/dev
/null
2>conftest.err
&&
12616 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
12617 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
12618 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
12619 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
12620 # icc doesn't choke on unknown options, it will just issue warnings
12621 # or remarks (even with -Werror). So we grep stderr for any message
12622 # that says an option was ignored or not supported.
12623 # When given -MP, icc 7.0 and 7.1 complain thusly:
12624 # icc: Command line warning: ignoring option '-M'; no argument required
12625 # The diagnosis changed in icc 8.0:
12626 # icc: Command line remark: option '-MP' not supported
12627 if (grep 'ignoring option' conftest.err ||
12628 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
12629 am_cv_CXX_dependencies_compiler_type
=$depmode
12636 rm -rf conftest.dir
12638 am_cv_CXX_dependencies_compiler_type
=none
12642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
12643 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
12644 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
12647 test "x$enable_dependency_tracking" != xno \
12648 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
12649 am__fastdepCXX_TRUE
=
12650 am__fastdepCXX_FALSE
='#'
12652 am__fastdepCXX_TRUE
='#'
12653 am__fastdepCXX_FALSE
=
12659 func_stripname_cnf
()
12662 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
12663 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
12665 } # func_stripname_cnf
12667 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12668 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12669 (test "X$CXX" != "Xg++"))) ; then
12671 ac_cpp
='$CXXCPP $CPPFLAGS'
12672 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12673 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12674 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12676 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12677 if test -z "$CXXCPP"; then
12678 if ${ac_cv_prog_CXXCPP+:} false
; then :
12679 $as_echo_n "(cached) " >&6
12681 # Double quotes because CXXCPP needs to be expanded
12682 for CXXCPP
in "$CXX -E" "/lib/cpp"
12684 ac_preproc_ok
=false
12685 for ac_cxx_preproc_warn_flag
in '' yes
12687 # Use a header file that comes with gcc, so configuring glibc
12688 # with a fresh cross-compiler works.
12689 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12690 # <limits.h> exists even on freestanding compilers.
12691 # On the NeXT, cc -E runs the code through the compiler's parser,
12692 # not just through cpp. "Syntax error" is here to catch this case.
12693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12694 /* end confdefs.h. */
12696 # include <limits.h>
12698 # include <assert.h>
12702 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12705 # Broken: fails on valid input.
12708 rm -f conftest.err conftest.i conftest.
$ac_ext
12710 # OK, works on sane cases. Now check whether nonexistent headers
12711 # can be detected and how.
12712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12713 /* end confdefs.h. */
12714 #include <ac_nonexistent.h>
12716 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12717 # Broken: success on invalid input.
12720 # Passes both tests.
12724 rm -f conftest.err conftest.i conftest.
$ac_ext
12727 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12728 rm -f conftest.i conftest.err conftest.
$ac_ext
12729 if $ac_preproc_ok; then :
12734 ac_cv_prog_CXXCPP
=$CXXCPP
12737 CXXCPP
=$ac_cv_prog_CXXCPP
12739 ac_cv_prog_CXXCPP
=$CXXCPP
12741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12742 $as_echo "$CXXCPP" >&6; }
12743 ac_preproc_ok
=false
12744 for ac_cxx_preproc_warn_flag
in '' yes
12746 # Use a header file that comes with gcc, so configuring glibc
12747 # with a fresh cross-compiler works.
12748 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12749 # <limits.h> exists even on freestanding compilers.
12750 # On the NeXT, cc -E runs the code through the compiler's parser,
12751 # not just through cpp. "Syntax error" is here to catch this case.
12752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12753 /* end confdefs.h. */
12755 # include <limits.h>
12757 # include <assert.h>
12761 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12764 # Broken: fails on valid input.
12767 rm -f conftest.err conftest.i conftest.
$ac_ext
12769 # OK, works on sane cases. Now check whether nonexistent headers
12770 # can be detected and how.
12771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12772 /* end confdefs.h. */
12773 #include <ac_nonexistent.h>
12775 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12776 # Broken: success on invalid input.
12779 # Passes both tests.
12783 rm -f conftest.err conftest.i conftest.
$ac_ext
12786 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12787 rm -f conftest.i conftest.err conftest.
$ac_ext
12788 if $ac_preproc_ok; then :
12791 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12792 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12793 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
12794 See \`config.log' for more details" "$LINENO" 5; }
12798 ac_cpp
='$CPP $CPPFLAGS'
12799 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12800 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12801 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12804 _lt_caught_CXX_error
=yes
12808 ac_cpp
='$CXXCPP $CPPFLAGS'
12809 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12810 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12811 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12813 archive_cmds_need_lc_CXX
=no
12814 allow_undefined_flag_CXX
=
12815 always_export_symbols_CXX
=no
12816 archive_expsym_cmds_CXX
=
12817 compiler_needs_object_CXX
=no
12818 export_dynamic_flag_spec_CXX
=
12819 hardcode_direct_CXX
=no
12820 hardcode_direct_absolute_CXX
=no
12821 hardcode_libdir_flag_spec_CXX
=
12822 hardcode_libdir_flag_spec_ld_CXX
=
12823 hardcode_libdir_separator_CXX
=
12824 hardcode_minus_L_CXX
=no
12825 hardcode_shlibpath_var_CXX
=unsupported
12826 hardcode_automatic_CXX
=no
12827 inherit_rpath_CXX
=no
12829 module_expsym_cmds_CXX
=
12830 link_all_deplibs_CXX
=unknown
12831 old_archive_cmds_CXX
=$old_archive_cmds
12832 reload_flag_CXX
=$reload_flag
12833 reload_cmds_CXX
=$reload_cmds
12834 no_undefined_flag_CXX
=
12835 whole_archive_flag_spec_CXX
=
12836 enable_shared_with_static_runtimes_CXX
=no
12838 # Source file extension for C++ test sources.
12841 # Object file extension for compiled C++ test sources.
12845 # No sense in running all these tests if we already determined that
12846 # the CXX compiler isn't working. Some variables (like enable_shared)
12847 # are currently assumed to apply to all compilers on this platform,
12848 # and will be corrupted by setting them based on a non-working compiler.
12849 if test "$_lt_caught_CXX_error" != yes; then
12850 # Code to be used in simple compile tests
12851 lt_simple_compile_test_code
="int some_variable = 0;"
12853 # Code to be used in simple link tests
12854 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12856 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12863 # If no C compiler was specified, use CC.
12866 # If no C compiler flags were specified, use CFLAGS.
12867 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12869 # Allow CC to be a program name with arguments.
12873 # save warnings/boilerplate of simple test code
12874 ac_outfile
=conftest.
$ac_objext
12875 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12876 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12877 _lt_compiler_boilerplate
=`cat conftest.err`
12880 ac_outfile
=conftest.
$ac_objext
12881 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12882 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12883 _lt_linker_boilerplate
=`cat conftest.err`
12887 # Allow CC to be a program name with arguments.
12889 lt_save_CFLAGS
=$CFLAGS
12893 lt_save_with_gnu_ld
=$with_gnu_ld
12894 lt_save_path_LD
=$lt_cv_path_LD
12895 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12896 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12898 $as_unset lt_cv_prog_gnu_ld
12900 if test -n "${lt_cv_path_LDCXX+set}"; then
12901 lt_cv_path_LD
=$lt_cv_path_LDCXX
12903 $as_unset lt_cv_path_LD
12905 test -z "${LDCXX+set}" || LD
=$LDCXX
12910 for cc_temp
in $compiler""; do
12912 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12913 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12918 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12921 if test -n "$compiler"; then
12922 # We don't want -fno-exception when compiling C++ code, so set the
12923 # no_builtin_flag separately
12924 if test "$GXX" = yes; then
12925 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12927 lt_prog_compiler_no_builtin_flag_CXX
=
12930 if test "$GXX" = yes; then
12931 # Set up default GNU C++ configuration
12935 # Check whether --with-gnu-ld was given.
12936 if test "${with_gnu_ld+set}" = set; then :
12937 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12943 if test "$GCC" = yes; then
12944 # Check if gcc -print-prog-name=ld gives a path.
12945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12946 $as_echo_n "checking for ld used by $CC... " >&6; }
12949 # gcc leaves a trailing carriage return which upsets mingw
12950 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12952 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12955 # Accept absolute paths.
12957 re_direlt
='/[^/][^/]*/\.\./'
12958 # Canonicalize the pathname of ld
12959 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12960 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12961 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12963 test -z "$LD" && LD
="$ac_prog"
12966 # If it fails, then pretend we aren't using GCC.
12970 # If it is relative, then search for the first ld in PATH.
12971 with_gnu_ld
=unknown
12974 elif test "$with_gnu_ld" = yes; then
12975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12976 $as_echo_n "checking for GNU ld... " >&6; }
12978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12979 $as_echo_n "checking for non-GNU ld... " >&6; }
12981 if ${lt_cv_path_LD+:} false
; then :
12982 $as_echo_n "(cached) " >&6
12984 if test -z "$LD"; then
12985 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12986 for ac_dir
in $PATH; do
12988 test -z "$ac_dir" && ac_dir
=.
12989 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12990 lt_cv_path_LD
="$ac_dir/$ac_prog"
12991 # Check to see if the program is GNU ld. I'd rather use --version,
12992 # but apparently some variants of GNU ld only accept -v.
12993 # Break only if it was the GNU/non-GNU ld that we prefer.
12994 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12995 *GNU
* |
*'with BFD'*)
12996 test "$with_gnu_ld" != no
&& break
12999 test "$with_gnu_ld" != yes && break
13006 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
13010 LD
="$lt_cv_path_LD"
13011 if test -n "$LD"; then
13012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13013 $as_echo "$LD" >&6; }
13015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13016 $as_echo "no" >&6; }
13018 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
13019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13020 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13021 if ${lt_cv_prog_gnu_ld+:} false
; then :
13022 $as_echo_n "(cached) " >&6
13024 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13025 case `$LD -v 2>&1 </dev/null` in
13026 *GNU
* |
*'with BFD'*)
13027 lt_cv_prog_gnu_ld
=yes
13030 lt_cv_prog_gnu_ld
=no
13034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13035 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13036 with_gnu_ld
=$lt_cv_prog_gnu_ld
13044 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13045 # archiving commands below assume that GNU ld is being used.
13046 if test "$with_gnu_ld" = yes; then
13047 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13048 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'
13050 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13051 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13053 # If archive_cmds runs LD, not CC, wlarc should be empty
13054 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13055 # investigate it a little bit more. (MM)
13058 # ancient GNU ld didn't support --whole-archive et. al.
13059 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13060 $GREP 'no-whole-archive' > /dev
/null
; then
13061 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13063 whole_archive_flag_spec_CXX
=
13069 # A generic and very simple default shared library creation
13070 # command for GNU C++ for the case where it uses the native
13071 # linker, instead of GNU ld. If possible, this setting should
13072 # overridden to take advantage of the native linker features on
13073 # the platform it is being used on.
13074 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13077 # Commands to make compiler produce verbose output that lists
13078 # what "hidden" libraries, object files and flags are used when
13079 # linking a shared library.
13080 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13088 # PORTME: fill in a description of your system's C++ link characteristics
13089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13090 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13094 # FIXME: insert proper C++ library support
13098 if test "$host_cpu" = ia64
; then
13099 # On IA64, the linker does run time linking by default, so we don't
13100 # have to do anything special.
13101 aix_use_runtimelinking
=no
13102 exp_sym_flag
='-Bexport'
13105 aix_use_runtimelinking
=no
13107 # Test if we are trying to use run time linking or normal
13108 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13109 # need to do runtime linking.
13110 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13111 for ld_flag
in $LDFLAGS; do
13114 aix_use_runtimelinking
=yes
13122 exp_sym_flag
='-bexport'
13123 no_entry_flag
='-bnoentry'
13126 # When large executables or shared objects are built, AIX ld can
13127 # have problems creating the table of contents. If linking a library
13128 # or program results in "error TOC overflow" add -mminimal-toc to
13129 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13130 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13132 archive_cmds_CXX
=''
13133 hardcode_direct_CXX
=yes
13134 hardcode_direct_absolute_CXX
=yes
13135 hardcode_libdir_separator_CXX
=':'
13136 link_all_deplibs_CXX
=yes
13137 file_list_spec_CXX
='${wl}-f,'
13139 if test "$GXX" = yes; then
13140 case $host_os in aix4.
[012]|aix4.
[012].
*)
13141 # We only want to do this on AIX 4.2 and lower, the check
13142 # below for broken collect2 doesn't work under 4.3+
13143 collect2name
=`${CC} -print-prog-name=collect2`
13144 if test -f "$collect2name" &&
13145 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
13147 # We have reworked collect2
13150 # We have old collect2
13151 hardcode_direct_CXX
=unsupported
13152 # It fails to find uninstalled libraries when the uninstalled
13153 # path is not listed in the libpath. Setting hardcode_minus_L
13154 # to unsupported forces relinking
13155 hardcode_minus_L_CXX
=yes
13156 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13157 hardcode_libdir_separator_CXX
=
13160 shared_flag
='-shared'
13161 if test "$aix_use_runtimelinking" = yes; then
13162 shared_flag
="$shared_flag "'${wl}-G'
13166 if test "$host_cpu" = ia64
; then
13167 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13168 # chokes on -Wl,-G. The following line is correct:
13171 if test "$aix_use_runtimelinking" = yes; then
13172 shared_flag
='${wl}-G'
13174 shared_flag
='${wl}-bM:SRE'
13179 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
13180 # It seems that -bexpall does not export symbols beginning with
13181 # underscore (_), so it is better to generate a list of symbols to
13183 always_export_symbols_CXX
=yes
13184 if test "$aix_use_runtimelinking" = yes; then
13185 # Warning - without using the other runtime loading flags (-brtl),
13186 # -berok will link without error, but may produce a broken library.
13187 allow_undefined_flag_CXX
='-berok'
13188 # Determine the default libpath from the value encoded in an empty
13190 if test "${lt_cv_aix_libpath+set}" = set; then
13191 aix_libpath
=$lt_cv_aix_libpath
13193 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13194 $as_echo_n "(cached) " >&6
13196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13197 /* end confdefs.h. */
13207 if ac_fn_cxx_try_link
"$LINENO"; then :
13209 lt_aix_libpath_sed
='
13210 /Import File Strings/,/^$/ {
13212 s/^0 *\([^ ]*\) *$/\1/
13216 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13217 # Check for a 64-bit object if we didn't find anything.
13218 if test -z "$lt_cv_aix_libpath__CXX"; then
13219 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13222 rm -f core conftest.err conftest.
$ac_objext \
13223 conftest
$ac_exeext conftest.
$ac_ext
13224 if test -z "$lt_cv_aix_libpath__CXX"; then
13225 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
13230 aix_libpath
=$lt_cv_aix_libpath__CXX
13233 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13235 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"
13237 if test "$host_cpu" = ia64
; then
13238 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
13239 allow_undefined_flag_CXX
="-z nodefs"
13240 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"
13242 # Determine the default libpath from the value encoded in an
13243 # empty executable.
13244 if test "${lt_cv_aix_libpath+set}" = set; then
13245 aix_libpath
=$lt_cv_aix_libpath
13247 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13248 $as_echo_n "(cached) " >&6
13250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13251 /* end confdefs.h. */
13261 if ac_fn_cxx_try_link
"$LINENO"; then :
13263 lt_aix_libpath_sed
='
13264 /Import File Strings/,/^$/ {
13266 s/^0 *\([^ ]*\) *$/\1/
13270 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13271 # Check for a 64-bit object if we didn't find anything.
13272 if test -z "$lt_cv_aix_libpath__CXX"; then
13273 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13276 rm -f core conftest.err conftest.
$ac_objext \
13277 conftest
$ac_exeext conftest.
$ac_ext
13278 if test -z "$lt_cv_aix_libpath__CXX"; then
13279 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
13284 aix_libpath
=$lt_cv_aix_libpath__CXX
13287 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13288 # Warning - without using the other run time loading flags,
13289 # -berok will link without error, but may produce a broken library.
13290 no_undefined_flag_CXX
=' ${wl}-bernotok'
13291 allow_undefined_flag_CXX
=' ${wl}-berok'
13292 if test "$with_gnu_ld" = yes; then
13293 # We only use this code for GNU lds that support --whole-archive.
13294 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13296 # Exported symbols can be pulled into shared objects from archives
13297 whole_archive_flag_spec_CXX
='$convenience'
13299 archive_cmds_need_lc_CXX
=yes
13300 # This is similar to how AIX traditionally builds its shared
13302 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'
13308 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13309 allow_undefined_flag_CXX
=unsupported
13310 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13311 # support --undefined. This deserves some investigation. FIXME
13312 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13319 case $cc_basename in
13321 # FIXME: insert proper C++ library support
13327 cygwin
* | mingw
* | pw32
* | cegcc
*)
13328 case $GXX,$cc_basename in
13331 # hardcode_libdir_flag_spec is actually meaningless, as there is
13332 # no search path for DLLs.
13333 hardcode_libdir_flag_spec_CXX
=' '
13334 allow_undefined_flag_CXX
=unsupported
13335 always_export_symbols_CXX
=yes
13336 file_list_spec_CXX
='@'
13337 # Tell ltmain to make .lib files, not .a files.
13339 # Tell ltmain to make .dll files, not .so files.
13341 # FIXME: Setting linknames here is a bad hack.
13342 archive_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13343 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13344 $SED -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
13346 $SED -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
13348 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13350 # The linker will not automatically build a static lib if we build a DLL.
13351 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13352 enable_shared_with_static_runtimes_CXX
=yes
13354 old_postinstall_cmds_CXX
='chmod 644 $oldlib'
13355 postlink_cmds_CXX
='lt_outputfile="@OUTPUT@"~
13356 lt_tool_outputfile="@TOOL_OUTPUT@"~
13357 case $lt_outputfile in
13360 lt_outputfile="$lt_outputfile.exe"
13361 lt_tool_outputfile="$lt_tool_outputfile.exe"
13364 func_to_tool_file "$lt_outputfile"~
13365 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13366 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13367 $RM "$lt_outputfile.manifest";
13372 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13373 # as there is no search path for DLLs.
13374 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13375 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
13376 allow_undefined_flag_CXX
=unsupported
13377 always_export_symbols_CXX
=no
13378 enable_shared_with_static_runtimes_CXX
=yes
13380 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13381 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'
13382 # If the export-symbols file already is a .def file (1st line
13383 # is EXPORTS), use it as is; otherwise, prepend...
13384 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13385 cp $export_symbols $output_objdir/$soname.def;
13387 echo EXPORTS > $output_objdir/$soname.def;
13388 cat $export_symbols >> $output_objdir/$soname.def;
13390 $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'
13397 darwin
* | rhapsody
*)
13400 archive_cmds_need_lc_CXX
=no
13401 hardcode_direct_CXX
=no
13402 hardcode_automatic_CXX
=yes
13403 hardcode_shlibpath_var_CXX
=unsupported
13404 if test "$lt_cv_ld_force_load" = "yes"; then
13405 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\"`'
13407 whole_archive_flag_spec_CXX
=''
13409 link_all_deplibs_CXX
=yes
13410 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13411 case $cc_basename in
13412 ifort
*) _lt_dar_can_shared
=yes ;;
13413 *) _lt_dar_can_shared
=$GCC ;;
13415 if test "$_lt_dar_can_shared" = "yes"; then
13416 output_verbose_link_cmd
=func_echo_all
13417 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}"
13418 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13419 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}"
13420 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}"
13421 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13422 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}"
13423 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}"
13433 case $cc_basename in
13435 # FIXME: insert proper C++ library support
13439 # Green Hills C++ Compiler
13440 # FIXME: insert proper C++ library support
13444 # FIXME: insert proper C++ library support
13451 # C++ shared libraries reported to be fairly broken before
13457 archive_cmds_need_lc_CXX
=no
13460 freebsd
* | dragonfly
*)
13461 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13470 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13471 link_all_deplibs_CXX
=yes
13475 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13476 hardcode_libdir_separator_CXX
=:
13477 export_dynamic_flag_spec_CXX
='${wl}-E'
13478 hardcode_direct_CXX
=yes
13479 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13480 # but as the default
13481 # location of the library.
13483 case $cc_basename in
13485 # FIXME: insert proper C++ library support
13489 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'
13490 # Commands to make compiler produce verbose output that lists
13491 # what "hidden" libraries, object files and flags are used when
13492 # linking a shared library.
13494 # There doesn't appear to be a way to prevent this compiler from
13495 # explicitly linking system object files so we need to strip them
13496 # from the output so that they don't get included in the library
13498 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"'
13501 if test "$GXX" = yes; then
13502 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'
13504 # FIXME: insert proper C++ library support
13512 if test $with_gnu_ld = no
; then
13513 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13514 hardcode_libdir_separator_CXX
=:
13520 export_dynamic_flag_spec_CXX
='${wl}-E'
13526 hardcode_direct_CXX
=no
13527 hardcode_shlibpath_var_CXX
=no
13530 hardcode_direct_CXX
=yes
13531 hardcode_direct_absolute_CXX
=yes
13532 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13533 # but as the default
13534 # location of the library.
13538 case $cc_basename in
13540 # FIXME: insert proper C++ library support
13546 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13549 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13552 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13555 # Commands to make compiler produce verbose output that lists
13556 # what "hidden" libraries, object files and flags are used when
13557 # linking a shared library.
13559 # There doesn't appear to be a way to prevent this compiler from
13560 # explicitly linking system object files so we need to strip them
13561 # from the output so that they don't get included in the library
13563 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"'
13566 if test "$GXX" = yes; then
13567 if test $with_gnu_ld = no
; then
13570 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13573 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13576 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'
13581 # FIXME: insert proper C++ library support
13589 hardcode_direct_CXX
=no
13590 hardcode_shlibpath_var_CXX
=no
13591 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13592 export_dynamic_flag_spec_CXX
='${wl}-E'
13593 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13594 # Instead, shared libraries are loaded at an image base (0x10000000 by
13595 # default) and relocated if they conflict, which is a slow very memory
13596 # consuming and fragmenting process. To avoid this, we pick a random,
13597 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13598 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13599 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'
13600 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'
13603 case $cc_basename in
13606 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'
13608 # Archives containing C++ object files must be created using
13609 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13610 # necessary to make sure instantiated templates are included
13612 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13615 if test "$GXX" = yes; then
13616 if test "$with_gnu_ld" = no
; then
13617 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'
13619 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'
13622 link_all_deplibs_CXX
=yes
13625 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13626 hardcode_libdir_separator_CXX
=:
13627 inherit_rpath_CXX
=yes
13630 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13631 case $cc_basename in
13633 # Kuck and Associates, Inc. (KAI) C++ Compiler
13635 # KCC will only create a shared library if the output file
13636 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13637 # to its proper name (with version) after linking.
13638 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'
13639 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'
13640 # Commands to make compiler produce verbose output that lists
13641 # what "hidden" libraries, object files and flags are used when
13642 # linking a shared library.
13644 # There doesn't appear to be a way to prevent this compiler from
13645 # explicitly linking system object files so we need to strip them
13646 # from the output so that they don't get included in the library
13648 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"'
13650 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13651 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13653 # Archives containing C++ object files must be created using
13654 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13655 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13660 # version 8.0 and above of icpc choke on multiply defined symbols
13661 # if we add $predep_objects and $postdep_objects, however 7.1 and
13662 # earlier do not add the objects themselves.
13663 case `$CC -V 2>&1` in
13665 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13666 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'
13668 *) # Version 8.0 or newer
13671 ia64
*) tmp_idyn
=' -i_dynamic';;
13673 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13674 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'
13677 archive_cmds_need_lc_CXX
=no
13678 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13679 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13680 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13683 # Portland Group C++ compiler
13685 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
13686 prelink_cmds_CXX
='tpldir=Template.dir~
13688 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13689 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13690 old_archive_cmds_CXX
='tpldir=Template.dir~
13692 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13693 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13695 archive_cmds_CXX
='tpldir=Template.dir~
13697 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13698 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13699 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13701 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13702 $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'
13704 *) # Version 6 and above use weak symbols
13705 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13706 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'
13710 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13711 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13712 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'
13716 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13717 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'
13719 runpath_var
=LD_RUN_PATH
13720 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13721 hardcode_libdir_separator_CXX
=:
13723 # Commands to make compiler produce verbose output that lists
13724 # what "hidden" libraries, object files and flags are used when
13725 # linking a shared library.
13727 # There doesn't appear to be a way to prevent this compiler from
13728 # explicitly linking system object files so we need to strip them
13729 # from the output so that they don't get included in the library
13731 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'
13733 xl
* | mpixl
* | bgxl
*)
13734 # IBM XL 8.0 on PPC, with GNU ld
13735 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13736 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13737 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13738 if test "x$supports_anon_versioning" = xyes
; then
13739 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13740 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13741 echo "local: *; };" >> $output_objdir/$libname.ver~
13742 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13746 case `$CC -V 2>&1 | sed 5q` in
13749 no_undefined_flag_CXX
=' -zdefs'
13750 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13751 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'
13752 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13753 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'
13754 compiler_needs_object_CXX
=yes
13756 # Not sure whether something based on
13757 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13759 output_verbose_link_cmd
='func_echo_all'
13761 # Archives containing C++ object files must be created using
13762 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13763 # necessary to make sure instantiated templates are included
13765 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13773 # FIXME: insert proper C++ library support
13778 # FIXME: insert proper C++ library support
13783 case $cc_basename in
13785 # FIXME: insert proper C++ library support
13789 # FIXME: insert proper C++ library support
13796 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13797 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13799 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13800 hardcode_direct_CXX
=yes
13801 hardcode_shlibpath_var_CXX
=no
13803 # Workaround some broken pre-1.5 toolchains
13804 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13812 # C++ shared libraries are fairly broken
13817 if test -f /usr
/libexec
/ld.so
; then
13818 hardcode_direct_CXX
=yes
13819 hardcode_shlibpath_var_CXX
=no
13820 hardcode_direct_absolute_CXX
=yes
13821 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13822 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13823 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13824 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13825 export_dynamic_flag_spec_CXX
='${wl}-E'
13826 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13828 output_verbose_link_cmd
=func_echo_all
13834 osf3
* | osf4
* | osf5
*)
13835 case $cc_basename in
13837 # Kuck and Associates, Inc. (KAI) C++ Compiler
13839 # KCC will only create a shared library if the output file
13840 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13841 # to its proper name (with version) after linking.
13842 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'
13844 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13845 hardcode_libdir_separator_CXX
=:
13847 # Archives containing C++ object files must be created using
13848 # the KAI C++ compiler.
13850 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13851 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13855 # Rational C++ 2.4.1
13856 # FIXME: insert proper C++ library support
13862 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13863 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'
13864 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13867 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13868 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'
13869 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13870 echo "-hidden">> $lib.exp~
13871 $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~
13873 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13877 hardcode_libdir_separator_CXX
=:
13879 # Commands to make compiler produce verbose output that lists
13880 # what "hidden" libraries, object files and flags are used when
13881 # linking a shared library.
13883 # There doesn't appear to be a way to prevent this compiler from
13884 # explicitly linking system object files so we need to strip them
13885 # from the output so that they don't get included in the library
13887 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"'
13890 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13891 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13894 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'
13897 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'
13901 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13902 hardcode_libdir_separator_CXX
=:
13904 # Commands to make compiler produce verbose output that lists
13905 # what "hidden" libraries, object files and flags are used when
13906 # linking a shared library.
13907 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13910 # FIXME: insert proper C++ library support
13918 # FIXME: insert proper C++ library support
13923 case $cc_basename in
13926 # FIXME: insert proper C++ library support
13931 # FIXME: insert proper C++ library support
13935 # FIXME: insert proper C++ library support
13942 case $cc_basename in
13944 # Sun C++ 4.2, 5.x and Centerline C++
13945 archive_cmds_need_lc_CXX
=yes
13946 no_undefined_flag_CXX
=' -zdefs'
13947 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13948 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13949 $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'
13951 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13952 hardcode_shlibpath_var_CXX
=no
13954 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13956 # The compiler driver will combine and reorder linker options,
13957 # but understands `-z linker_flag'.
13958 # Supported since Solaris 2.6 (maybe 2.5.1?)
13959 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13962 link_all_deplibs_CXX
=yes
13964 output_verbose_link_cmd
='func_echo_all'
13966 # Archives containing C++ object files must be created using
13967 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13968 # necessary to make sure instantiated templates are included
13970 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13973 # Green Hills C++ Compiler
13974 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13976 # The C++ compiler must be used to create the archive.
13977 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13980 # GNU C++ compiler with Solaris linker
13981 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13982 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13983 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
13984 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13985 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13986 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13988 # Commands to make compiler produce verbose output that lists
13989 # what "hidden" libraries, object files and flags are used when
13990 # linking a shared library.
13991 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13993 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13995 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13996 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13997 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13999 # Commands to make compiler produce verbose output that lists
14000 # what "hidden" libraries, object files and flags are used when
14001 # linking a shared library.
14002 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14005 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
14007 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14009 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14017 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14018 no_undefined_flag_CXX
='${wl}-z,text'
14019 archive_cmds_need_lc_CXX
=no
14020 hardcode_shlibpath_var_CXX
=no
14021 runpath_var
='LD_RUN_PATH'
14023 case $cc_basename in
14025 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14026 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14029 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14030 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14035 sysv5
* | sco3.2v5
* | sco5v6
*)
14036 # Note: We can NOT use -z defs as we might desire, because we do not
14037 # link with -lc, and that would cause any symbols used from libc to
14038 # always be unresolved, which means just about no library would
14039 # ever link correctly. If we're not using GNU ld we use -z text
14040 # though, which does catch some bad symbols but isn't as heavy-handed
14042 no_undefined_flag_CXX
='${wl}-z,text'
14043 allow_undefined_flag_CXX
='${wl}-z,nodefs'
14044 archive_cmds_need_lc_CXX
=no
14045 hardcode_shlibpath_var_CXX
=no
14046 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
14047 hardcode_libdir_separator_CXX
=':'
14048 link_all_deplibs_CXX
=yes
14049 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
14050 runpath_var
='LD_RUN_PATH'
14052 case $cc_basename in
14054 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14055 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14056 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
14057 '"$old_archive_cmds_CXX"
14058 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
14059 '"$reload_cmds_CXX"
14062 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14063 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14069 case $cc_basename in
14071 # NonStop-UX NCC 3.20
14072 # FIXME: insert proper C++ library support
14076 # FIXME: insert proper C++ library support
14083 # FIXME: insert proper C++ library support
14088 # FIXME: insert proper C++ library support
14093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14094 $as_echo "$ld_shlibs_CXX" >&6; }
14095 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14101 ## There is no encapsulation within the following macros, do not change
14102 ## the running order or otherwise move them around unless you know exactly
14103 ## what you are doing...
14104 # Dependencies to place before and after the object being linked:
14105 predep_objects_CXX
=
14106 postdep_objects_CXX
=
14109 compiler_lib_search_path_CXX
=
14111 cat > conftest.
$ac_ext <<_LT_EOF
14115 Foo (void) { a = 0; }
14122 _lt_libdeps_save_CFLAGS
=$CFLAGS
14123 case "$CC $CFLAGS " in #(
14124 *\
-flto*\
*) CFLAGS
="$CFLAGS -fno-lto" ;;
14125 *\
-fwhopr*\
*) CFLAGS
="$CFLAGS -fno-whopr" ;;
14128 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14129 (eval $ac_compile) 2>&5
14131 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14132 test $ac_status = 0; }; then
14133 # Parse the compiler output and extract the necessary
14134 # objects, libraries and library flags.
14136 # Sentinel used to keep track of whether or not we are before
14137 # the conftest object file.
14138 pre_test_object_deps_done
=no
14140 for p
in `eval "$output_verbose_link_cmd"`; do
14141 case ${prev}${p} in
14144 # Some compilers place space between "-{L,R}" and the path.
14145 # Remove the space.
14146 if test $p = "-L" ||
14147 test $p = "-R"; then
14152 # Expand the sysroot to ease extracting the directories later.
14153 if test -z "$prev"; then
14155 -L*) func_stripname_cnf
'-L' '' "$p"; prev
=-L; p
=$func_stripname_result ;;
14156 -R*) func_stripname_cnf
'-R' '' "$p"; prev
=-R; p
=$func_stripname_result ;;
14157 -l*) func_stripname_cnf
'-l' '' "$p"; prev
=-l; p
=$func_stripname_result ;;
14161 =*) func_stripname_cnf
'=' '' "$p"; p
=$lt_sysroot$func_stripname_result ;;
14163 if test "$pre_test_object_deps_done" = no
; then
14166 # Internal compiler library paths should come after those
14167 # provided the user. The postdeps already come after the
14168 # user supplied libs so there is no need to process them.
14169 if test -z "$compiler_lib_search_path_CXX"; then
14170 compiler_lib_search_path_CXX
="${prev}${p}"
14172 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
14175 # The "-l" case would never come before the object being
14176 # linked, so don't bother handling this case.
14179 if test -z "$postdeps_CXX"; then
14180 postdeps_CXX
="${prev}${p}"
14182 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
14188 *.lto.
$objext) ;; # Ignore GCC LTO objects
14190 # This assumes that the test object file only shows up
14191 # once in the compiler output.
14192 if test "$p" = "conftest.$objext"; then
14193 pre_test_object_deps_done
=yes
14197 if test "$pre_test_object_deps_done" = no
; then
14198 if test -z "$predep_objects_CXX"; then
14199 predep_objects_CXX
="$p"
14201 predep_objects_CXX
="$predep_objects_CXX $p"
14204 if test -z "$postdep_objects_CXX"; then
14205 postdep_objects_CXX
="$p"
14207 postdep_objects_CXX
="$postdep_objects_CXX $p"
14212 *) ;; # Ignore the rest.
14220 echo "libtool.m4: error: problem compiling CXX test program"
14223 $RM -f confest.
$objext
14224 CFLAGS
=$_lt_libdeps_save_CFLAGS
14226 # PORTME: override above test on systems where it is broken
14229 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14230 # hack all around it, let's just trust "g++" to DTRT.
14231 predep_objects_CXX
=
14232 postdep_objects_CXX
=
14237 case `$CC -V 2>&1 | sed 5q` in
14241 # The more standards-conforming stlport4 library is
14242 # incompatible with the Cstd library. Avoid specifying
14243 # it if it's in CXXFLAGS. Ignore libCrun as
14244 # -library=stlport4 depends on it.
14245 case " $CXX $CXXFLAGS " in
14246 *" -library=stlport4 "*)
14247 solaris_use_stlport4
=yes
14251 if test "$solaris_use_stlport4" != yes; then
14252 postdeps_CXX
='-library=Cstd -library=Crun'
14259 case $cc_basename in
14261 # The more standards-conforming stlport4 library is
14262 # incompatible with the Cstd library. Avoid specifying
14263 # it if it's in CXXFLAGS. Ignore libCrun as
14264 # -library=stlport4 depends on it.
14265 case " $CXX $CXXFLAGS " in
14266 *" -library=stlport4 "*)
14267 solaris_use_stlport4
=yes
14271 # Adding this requires a known-good setup of shared libraries for
14272 # Sun compiler versions before 5.6, else PIC objects from an old
14273 # archive will be linked into the output, leading to subtle bugs.
14274 if test "$solaris_use_stlport4" != yes; then
14275 postdeps_CXX
='-library=Cstd -library=Crun'
14283 case " $postdeps_CXX " in
14284 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14286 compiler_lib_search_dirs_CXX
=
14287 if test -n "${compiler_lib_search_path_CXX}"; then
14288 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14321 lt_prog_compiler_wl_CXX
=
14322 lt_prog_compiler_pic_CXX
=
14323 lt_prog_compiler_static_CXX
=
14326 # C++ specific cases for pic, static, wl, etc.
14327 if test "$GXX" = yes; then
14328 lt_prog_compiler_wl_CXX
='-Wl,'
14329 lt_prog_compiler_static_CXX
='-static'
14333 # All AIX code is PIC.
14334 if test "$host_cpu" = ia64
; then
14335 # AIX 5 now supports IA64 processor
14336 lt_prog_compiler_static_CXX
='-Bstatic'
14343 # see comment about AmigaOS4 .so support
14344 lt_prog_compiler_pic_CXX
='-fPIC'
14347 # FIXME: we need at least 68020 code to build shared libraries, but
14348 # adding the `-m68020' flag to GCC prevents building anything better,
14350 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14355 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14356 # PIC is the default for these OSes.
14358 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14359 # This hack is so that the source file can tell whether it is being
14360 # built for inclusion in a dll (and should export symbols for example).
14361 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14362 # (--disable-auto-import) libraries
14363 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14365 darwin
* | rhapsody
*)
14366 # PIC is the default on this platform
14367 # Common symbols not allowed in MH_DYLIB files
14368 lt_prog_compiler_pic_CXX
='-fno-common'
14371 # DJGPP does not support shared libraries at all
14372 lt_prog_compiler_pic_CXX
=
14375 # PIC is the default for Haiku.
14376 # The "-static" flag exists, but is broken.
14377 lt_prog_compiler_static_CXX
=
14380 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14381 # Instead, we relocate shared libraries at runtime.
14384 if test -d /usr
/nec
; then
14385 lt_prog_compiler_pic_CXX
=-Kconform_pic
14389 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14390 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14391 # sets the default TLS model and affects inlining.
14396 lt_prog_compiler_pic_CXX
='-fPIC'
14401 # QNX uses GNU C++, but need to define -shared option too, otherwise
14402 # it will coredump.
14403 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14406 lt_prog_compiler_pic_CXX
='-fPIC'
14412 # All AIX code is PIC.
14413 if test "$host_cpu" = ia64
; then
14414 # AIX 5 now supports IA64 processor
14415 lt_prog_compiler_static_CXX
='-Bstatic'
14417 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14421 case $cc_basename in
14423 # Green Hills C++ Compiler
14424 # _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"
14428 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14429 # This hack is so that the source file can tell whether it is being
14430 # built for inclusion in a dll (and should export symbols for example).
14431 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14434 case $cc_basename in
14436 lt_prog_compiler_pic_CXX
='-KPIC'
14439 # Green Hills C++ Compiler
14440 lt_prog_compiler_pic_CXX
='-pic'
14446 freebsd
* | dragonfly
*)
14447 # FreeBSD uses GNU C++
14449 hpux9
* | hpux10
* | hpux11
*)
14450 case $cc_basename in
14452 lt_prog_compiler_wl_CXX
='-Wl,'
14453 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14454 if test "$host_cpu" != ia64
; then
14455 lt_prog_compiler_pic_CXX
='+Z'
14459 lt_prog_compiler_wl_CXX
='-Wl,'
14460 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14466 lt_prog_compiler_pic_CXX
='+Z'
14475 # This is c89, which is MS Visual C++ (no shared libs)
14476 # Anyone wants to do a port?
14478 irix5
* | irix6
* | nonstopux
*)
14479 case $cc_basename in
14481 lt_prog_compiler_wl_CXX
='-Wl,'
14482 lt_prog_compiler_static_CXX
='-non_shared'
14483 # CC pic flag -KPIC is the default.
14489 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14490 case $cc_basename in
14493 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14494 lt_prog_compiler_pic_CXX
='-fPIC'
14497 # old Intel C++ for x86_64 which still supported -KPIC.
14498 lt_prog_compiler_wl_CXX
='-Wl,'
14499 lt_prog_compiler_pic_CXX
='-KPIC'
14500 lt_prog_compiler_static_CXX
='-static'
14503 # Intel C++, used to be incompatible with GCC.
14504 # ICC 10 doesn't accept -KPIC any more.
14505 lt_prog_compiler_wl_CXX
='-Wl,'
14506 lt_prog_compiler_pic_CXX
='-fPIC'
14507 lt_prog_compiler_static_CXX
='-static'
14510 # Portland Group C++ compiler
14511 lt_prog_compiler_wl_CXX
='-Wl,'
14512 lt_prog_compiler_pic_CXX
='-fpic'
14513 lt_prog_compiler_static_CXX
='-Bstatic'
14517 # Make sure the PIC flag is empty. It appears that all Alpha
14518 # Linux and Compaq Tru64 Unix objects are PIC.
14519 lt_prog_compiler_pic_CXX
=
14520 lt_prog_compiler_static_CXX
='-non_shared'
14522 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14523 # IBM XL 8.0, 9.0 on PPC and BlueGene
14524 lt_prog_compiler_wl_CXX
='-Wl,'
14525 lt_prog_compiler_pic_CXX
='-qpic'
14526 lt_prog_compiler_static_CXX
='-qstaticlink'
14529 case `$CC -V 2>&1 | sed 5q` in
14532 lt_prog_compiler_pic_CXX
='-KPIC'
14533 lt_prog_compiler_static_CXX
='-Bstatic'
14534 lt_prog_compiler_wl_CXX
='-Qoption ld '
14545 case $cc_basename in
14547 lt_prog_compiler_pic_CXX
='-W c,exportall'
14556 # QNX uses GNU C++, but need to define -shared option too, otherwise
14557 # it will coredump.
14558 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14560 osf3
* | osf4
* | osf5
*)
14561 case $cc_basename in
14563 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14566 # Rational C++ 2.4.1
14567 lt_prog_compiler_pic_CXX
='-pic'
14570 # Digital/Compaq C++
14571 lt_prog_compiler_wl_CXX
='-Wl,'
14572 # Make sure the PIC flag is empty. It appears that all Alpha
14573 # Linux and Compaq Tru64 Unix objects are PIC.
14574 lt_prog_compiler_pic_CXX
=
14575 lt_prog_compiler_static_CXX
='-non_shared'
14584 case $cc_basename in
14586 # Sun C++ 4.2, 5.x and Centerline C++
14587 lt_prog_compiler_pic_CXX
='-KPIC'
14588 lt_prog_compiler_static_CXX
='-Bstatic'
14589 lt_prog_compiler_wl_CXX
='-Qoption ld '
14592 # Green Hills C++ Compiler
14593 lt_prog_compiler_pic_CXX
='-PIC'
14600 case $cc_basename in
14603 lt_prog_compiler_pic_CXX
='-pic'
14604 lt_prog_compiler_static_CXX
='-Bstatic'
14608 lt_prog_compiler_pic_CXX
='-pic'
14614 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14615 case $cc_basename in
14617 lt_prog_compiler_wl_CXX
='-Wl,'
14618 lt_prog_compiler_pic_CXX
='-KPIC'
14619 lt_prog_compiler_static_CXX
='-Bstatic'
14624 case $cc_basename in
14626 # NonStop-UX NCC 3.20
14627 lt_prog_compiler_pic_CXX
='-KPIC'
14636 lt_prog_compiler_can_build_shared_CXX
=no
14642 # For platforms which do not support PIC, -DPIC is meaningless:
14644 lt_prog_compiler_pic_CXX
=
14647 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14652 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14653 if ${lt_cv_prog_compiler_pic_CXX+:} false
; then :
14654 $as_echo_n "(cached) " >&6
14656 lt_cv_prog_compiler_pic_CXX
=$lt_prog_compiler_pic_CXX
14658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14659 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14660 lt_prog_compiler_pic_CXX
=$lt_cv_prog_compiler_pic_CXX
14663 # Check to make sure the PIC flag actually works.
14665 if test -n "$lt_prog_compiler_pic_CXX"; then
14666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14667 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14668 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
14669 $as_echo_n "(cached) " >&6
14671 lt_cv_prog_compiler_pic_works_CXX
=no
14672 ac_outfile
=conftest.
$ac_objext
14673 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14674 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14675 # Insert the option either (1) after the last *FLAGS variable, or
14676 # (2) before a word containing "conftest.", or (3) at the end.
14677 # Note that $ac_compile itself does not contain backslashes and begins
14678 # with a dollar sign (not a hyphen), so the echo should work correctly.
14679 # The option is referenced via a variable to avoid confusing sed.
14680 lt_compile
=`echo "$ac_compile" | $SED \
14681 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14682 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14683 -e 's:$: $lt_compiler_flag:'`
14684 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14685 (eval "$lt_compile" 2>conftest.err
)
14687 cat conftest.err
>&5
14688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14689 if (exit $ac_status) && test -s "$ac_outfile"; then
14690 # The compiler can only warn and ignore the option if not recognized
14691 # So say no if there are warnings other than the usual output.
14692 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
14693 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14694 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14695 lt_cv_prog_compiler_pic_works_CXX
=yes
14701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14702 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14704 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14705 case $lt_prog_compiler_pic_CXX in
14707 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14710 lt_prog_compiler_pic_CXX
=
14711 lt_prog_compiler_can_build_shared_CXX
=no
14721 # Check to make sure the static flag actually works.
14723 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14725 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14726 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
14727 $as_echo_n "(cached) " >&6
14729 lt_cv_prog_compiler_static_works_CXX
=no
14730 save_LDFLAGS
="$LDFLAGS"
14731 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14732 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14733 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14734 # The linker can only warn and ignore the option if not recognized
14735 # So say no if there are warnings
14736 if test -s conftest.err
; then
14737 # Append any errors to the config.log.
14738 cat conftest.err
1>&5
14739 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
14740 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14741 if diff conftest.exp conftest.er2
>/dev
/null
; then
14742 lt_cv_prog_compiler_static_works_CXX
=yes
14745 lt_cv_prog_compiler_static_works_CXX
=yes
14749 LDFLAGS
="$save_LDFLAGS"
14752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14753 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14755 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14758 lt_prog_compiler_static_CXX
=
14764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14765 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14766 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14767 $as_echo_n "(cached) " >&6
14769 lt_cv_prog_compiler_c_o_CXX
=no
14770 $RM -r conftest
2>/dev
/null
14774 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14776 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14777 # Insert the option either (1) after the last *FLAGS variable, or
14778 # (2) before a word containing "conftest.", or (3) at the end.
14779 # Note that $ac_compile itself does not contain backslashes and begins
14780 # with a dollar sign (not a hyphen), so the echo should work correctly.
14781 lt_compile
=`echo "$ac_compile" | $SED \
14782 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14783 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14784 -e 's:$: $lt_compiler_flag:'`
14785 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14786 (eval "$lt_compile" 2>out
/conftest.err
)
14788 cat out
/conftest.err
>&5
14789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14790 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14792 # The compiler can only warn and ignore the option if not recognized
14793 # So say no if there are warnings
14794 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14795 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14796 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14797 lt_cv_prog_compiler_c_o_CXX
=yes
14802 # SGI C++ compiler will create directory out/ii_files/ for
14803 # template instantiation
14804 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14805 $RM out
/* && rmdir out
14811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14812 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14817 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14818 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14819 $as_echo_n "(cached) " >&6
14821 lt_cv_prog_compiler_c_o_CXX
=no
14822 $RM -r conftest
2>/dev
/null
14826 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14828 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14829 # Insert the option either (1) after the last *FLAGS variable, or
14830 # (2) before a word containing "conftest.", or (3) at the end.
14831 # Note that $ac_compile itself does not contain backslashes and begins
14832 # with a dollar sign (not a hyphen), so the echo should work correctly.
14833 lt_compile
=`echo "$ac_compile" | $SED \
14834 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14835 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14836 -e 's:$: $lt_compiler_flag:'`
14837 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14838 (eval "$lt_compile" 2>out
/conftest.err
)
14840 cat out
/conftest.err
>&5
14841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14842 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14844 # The compiler can only warn and ignore the option if not recognized
14845 # So say no if there are warnings
14846 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14847 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14848 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14849 lt_cv_prog_compiler_c_o_CXX
=yes
14854 # SGI C++ compiler will create directory out/ii_files/ for
14855 # template instantiation
14856 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14857 $RM out
/* && rmdir out
14863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14864 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14869 hard_links
="nottested"
14870 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14871 # do not overwrite the value of need_locks provided by the user
14872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14873 $as_echo_n "checking if we can lock with hard links... " >&6; }
14876 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14878 ln conftest.a conftest.b
2>&5 || hard_links
=no
14879 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14881 $as_echo "$hard_links" >&6; }
14882 if test "$hard_links" = no
; then
14883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14884 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14894 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14896 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14897 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14900 # If we're using GNU nm, then we don't want the "-C" option.
14901 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14902 # Also, AIX nm treats weak defined symbols like other global defined
14903 # symbols, whereas GNU nm marks them as "W".
14904 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14905 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'
14907 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'
14911 export_symbols_cmds_CXX
="$ltdll_cmds"
14913 cygwin
* | mingw
* | cegcc
*)
14914 case $cc_basename in
14917 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'
14918 exclude_expsyms_CXX
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14923 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14928 $as_echo "$ld_shlibs_CXX" >&6; }
14929 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14931 with_gnu_ld_CXX
=$with_gnu_ld
14939 # Do we need to explicitly link libc?
14941 case "x$archive_cmds_need_lc_CXX" in
14943 # Assume -lc should be added
14944 archive_cmds_need_lc_CXX
=yes
14946 if test "$enable_shared" = yes && test "$GCC" = yes; then
14947 case $archive_cmds_CXX in
14949 # FIXME: we may have to deal with multi-command sequences.
14952 # Test whether the compiler implicitly links with -lc since on some
14953 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14954 # to ld, don't add -lc before -lgcc.
14955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14956 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14957 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
14958 $as_echo_n "(cached) " >&6
14961 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14963 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14964 (eval $ac_compile) 2>&5
14966 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14967 test $ac_status = 0; } 2>conftest.err
; then
14970 libobjs
=conftest.
$ac_objext
14972 wl
=$lt_prog_compiler_wl_CXX
14973 pic_flag
=$lt_prog_compiler_pic_CXX
14979 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14980 allow_undefined_flag_CXX
=
14981 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14982 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14984 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14985 test $ac_status = 0; }
14987 lt_cv_archive_cmds_need_lc_CXX
=no
14989 lt_cv_archive_cmds_need_lc_CXX
=yes
14991 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14993 cat conftest.err
1>&5
14998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14999 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15000 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
15070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15071 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15073 library_names_spec
=
15074 libname_spec
='lib$name'
15078 postuninstall_cmds
=
15082 shlibpath_overrides_runpath
=unknown
15084 dynamic_linker
="$host_os ld.so"
15085 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15086 need_lib_prefix
=unknown
15087 hardcode_into_libs
=no
15089 # when you set need_version to no, make sure it does not cause -set_version
15090 # flags to be left without arguments
15091 need_version
=unknown
15096 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15097 shlibpath_var
=LIBPATH
15099 # AIX 3 has no versioning support, so we append a major version to the name.
15100 soname_spec
='${libname}${release}${shared_ext}$major'
15107 hardcode_into_libs
=yes
15108 if test "$host_cpu" = ia64
; then
15109 # AIX 5 supports IA64
15110 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15111 shlibpath_var
=LD_LIBRARY_PATH
15113 # With GCC up to 2.95.x, collect2 would create an import file
15114 # for dependence libraries. The import file would start with
15115 # the line `#! .'. This would cause the generated library to
15116 # depend on `.', always an invalid library. This was fixed in
15117 # development snapshots of GCC prior to 3.0.
15119 aix4 | aix4.
[01] | aix4.
[01].
*)
15120 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15122 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
15125 can_build_shared
=no
15129 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15130 # soname into executable. Probably we can add versioning support to
15131 # collect2, so additional links can be useful in future.
15132 if test "$aix_use_runtimelinking" = yes; then
15133 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15134 # instead of lib<name>.a to let people know that these are not
15135 # typical AIX shared libraries.
15136 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15138 # We preserve .a as extension for shared libraries through AIX4.2
15139 # and later when we are not doing run time linking.
15140 library_names_spec
='${libname}${release}.a $libname.a'
15141 soname_spec
='${libname}${release}${shared_ext}$major'
15143 shlibpath_var
=LIBPATH
15150 # Since July 2007 AmigaOS4 officially supports .so libraries.
15151 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15152 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15155 library_names_spec
='$libname.ixlibrary $libname.a'
15156 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15157 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'
15163 library_names_spec
='${libname}${shared_ext}'
15164 dynamic_linker
="$host_os ld.so"
15165 shlibpath_var
=LIBRARY_PATH
15171 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15172 soname_spec
='${libname}${release}${shared_ext}$major'
15173 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15174 shlibpath_var
=LD_LIBRARY_PATH
15175 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15176 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15177 # the default ld.so.conf also contains /usr/contrib/lib and
15178 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15179 # libtool to hard-code these into programs
15182 cygwin
* | mingw
* | pw32
* | cegcc
*)
15183 version_type
=windows
15188 case $GCC,$cc_basename in
15191 library_names_spec
='$libname.dll.a'
15192 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15193 postinstall_cmds
='base_file=`basename \${file}`~
15194 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15195 dldir=$destdir/`dirname \$dlpath`~
15196 test -d \$dldir || mkdir -p \$dldir~
15197 $install_prog $dir/$dlname \$dldir/$dlname~
15198 chmod a+x \$dldir/$dlname~
15199 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15200 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15202 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15203 dlpath=$dir/\$dldll~
15205 shlibpath_overrides_runpath
=yes
15209 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15210 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15214 # MinGW DLLs use traditional 'lib' prefix
15215 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15218 # pw32 DLLs use 'pw' prefix rather than 'lib'
15219 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15222 dynamic_linker
='Win32 ld.exe'
15227 libname_spec
='$name'
15228 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15229 library_names_spec
='${libname}.dll.lib'
15233 sys_lib_search_path_spec
=
15236 for lt_path
in $LIB
15239 # Let DOS variable expansion print the short 8.3 style file name.
15240 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15241 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
15244 # Convert to MSYS style.
15245 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15248 # Convert to unix form, then to dos form, then back to unix form
15249 # but this time dos style (no spaces!) so that the unix form looks
15250 # like /cygdrive/c/PROGRA~1:/cygdr...
15251 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
15252 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15253 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15256 sys_lib_search_path_spec
="$LIB"
15257 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
15258 # It is most probably a Windows format PATH.
15259 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15261 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15263 # FIXME: find the short name or the path components, as spaces are
15264 # common. (e.g. "Program Files" -> "PROGRA~1")
15268 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15269 postinstall_cmds
='base_file=`basename \${file}`~
15270 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15271 dldir=$destdir/`dirname \$dlpath`~
15272 test -d \$dldir || mkdir -p \$dldir~
15273 $install_prog $dir/$dlname \$dldir/$dlname'
15274 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15275 dlpath=$dir/\$dldll~
15277 shlibpath_overrides_runpath
=yes
15278 dynamic_linker
='Win32 link.exe'
15282 # Assume MSVC wrapper
15283 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15284 dynamic_linker
='Win32 ld.exe'
15287 # FIXME: first we should search . and the directory the executable is in
15291 darwin
* | rhapsody
*)
15292 dynamic_linker
="$host_os dyld"
15293 version_type
=darwin
15296 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15297 soname_spec
='${libname}${release}${major}$shared_ext'
15298 shlibpath_overrides_runpath
=yes
15299 shlibpath_var
=DYLD_LIBRARY_PATH
15300 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15302 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15309 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15310 soname_spec
='${libname}${release}${shared_ext}$major'
15311 shlibpath_var
=LD_LIBRARY_PATH
15318 freebsd
* | dragonfly
*)
15319 # DragonFly does not have aout. When/if they implement a new
15320 # versioning mechanism, adjust this.
15321 if test -x /usr
/bin
/objformat
; then
15322 objformat
=`/usr/bin/objformat`
15325 freebsd
[123]*) objformat
=aout
;;
15326 *) objformat
=elf
;;
15329 version_type
=freebsd-
$objformat
15330 case $version_type in
15332 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15337 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15341 shlibpath_var
=LD_LIBRARY_PATH
15344 shlibpath_overrides_runpath
=yes
15346 freebsd3.
[01]* | freebsdelf3.
[01]*)
15347 shlibpath_overrides_runpath
=yes
15348 hardcode_into_libs
=yes
15350 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15351 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15352 shlibpath_overrides_runpath
=no
15353 hardcode_into_libs
=yes
15355 *) # from 4.6 on, and DragonFly
15356 shlibpath_overrides_runpath
=yes
15357 hardcode_into_libs
=yes
15366 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15367 soname_spec
='${libname}${release}${shared_ext}$major'
15368 shlibpath_var
=LD_LIBRARY_PATH
15369 hardcode_into_libs
=yes
15376 dynamic_linker
="$host_os runtime_loader"
15377 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15378 soname_spec
='${libname}${release}${shared_ext}$major'
15379 shlibpath_var
=LIBRARY_PATH
15380 shlibpath_overrides_runpath
=yes
15381 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15382 hardcode_into_libs
=yes
15385 hpux9
* | hpux10
* | hpux11
*)
15386 # Give a soname corresponding to the major version so that dld.sl refuses to
15387 # link against other versions.
15394 hardcode_into_libs
=yes
15395 dynamic_linker
="$host_os dld.so"
15396 shlibpath_var
=LD_LIBRARY_PATH
15397 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15398 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15399 soname_spec
='${libname}${release}${shared_ext}$major'
15400 if test "X$HPUX_IA64_MODE" = X32
; then
15401 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15403 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15405 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15409 hardcode_into_libs
=yes
15410 dynamic_linker
="$host_os dld.sl"
15411 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15412 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15413 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15414 soname_spec
='${libname}${release}${shared_ext}$major'
15415 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15416 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15420 dynamic_linker
="$host_os dld.sl"
15421 shlibpath_var
=SHLIB_PATH
15422 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15423 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15424 soname_spec
='${libname}${release}${shared_ext}$major'
15427 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15428 postinstall_cmds
='chmod 555 $lib'
15429 # or fails outright, so override atomically:
15430 install_override_mode
=555
15437 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15438 soname_spec
='${libname}${release}${shared_ext}$major'
15439 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15440 shlibpath_var
=LD_LIBRARY_PATH
15441 shlibpath_overrides_runpath
=no
15442 hardcode_into_libs
=yes
15445 irix5
* | irix6
* | nonstopux
*)
15447 nonstopux
*) version_type
=nonstopux
;;
15449 if test "$lt_cv_prog_gnu_ld" = yes; then
15457 soname_spec
='${libname}${release}${shared_ext}$major'
15458 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15460 irix5
* | nonstopux
*)
15461 libsuff
= shlibsuff
=
15464 case $LD in # libtool.m4 will add one of these switches to LD
15465 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15466 libsuff
= shlibsuff
= libmagic
=32-bit;;
15467 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15468 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15469 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15470 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15471 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15475 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15476 shlibpath_overrides_runpath
=no
15477 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15478 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15479 hardcode_into_libs
=yes
15482 # No shared lib support for Linux oldld, aout, or coff.
15483 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15487 # This must be Linux ELF.
15488 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15492 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15493 soname_spec
='${libname}${release}${shared_ext}$major'
15494 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15495 shlibpath_var
=LD_LIBRARY_PATH
15496 shlibpath_overrides_runpath
=no
15498 # Some binutils ld are patched to set DT_RUNPATH
15499 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15500 $as_echo_n "(cached) " >&6
15502 lt_cv_shlibpath_overrides_runpath
=no
15503 save_LDFLAGS
=$LDFLAGS
15504 save_libdir
=$libdir
15505 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15506 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15508 /* end confdefs.h. */
15518 if ac_fn_cxx_try_link
"$LINENO"; then :
15519 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15520 lt_cv_shlibpath_overrides_runpath
=yes
15523 rm -f core conftest.err conftest.
$ac_objext \
15524 conftest
$ac_exeext conftest.
$ac_ext
15525 LDFLAGS
=$save_LDFLAGS
15526 libdir
=$save_libdir
15530 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15532 # This implies no fast_install, which is unacceptable.
15533 # Some rework will be needed to allow for fast_install
15534 # before this can be enabled.
15535 hardcode_into_libs
=yes
15537 # Append ld.so.conf contents to the search path
15538 if test -f /etc
/ld.so.conf
; then
15539 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' ' '`
15540 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15543 # We used to test for /lib/ld.so.1 and disable shared libraries on
15544 # powerpc, because MkLinux only supported shared libraries with the
15545 # GNU dynamic linker. Since this was broken with cross compilers,
15546 # most powerpc-linux boxes support dynamic linking these days and
15547 # people can always --disable-shared, the test was removed, and we
15548 # assume the GNU/Linux dynamic linker is in use.
15549 dynamic_linker
='GNU/Linux ld.so'
15556 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15557 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15558 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15559 dynamic_linker
='NetBSD (a.out) ld.so'
15561 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15562 soname_spec
='${libname}${release}${shared_ext}$major'
15563 dynamic_linker
='NetBSD ld.elf_so'
15565 shlibpath_var
=LD_LIBRARY_PATH
15566 shlibpath_overrides_runpath
=yes
15567 hardcode_into_libs
=yes
15572 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15573 shlibpath_var
=LD_LIBRARY_PATH
15574 shlibpath_overrides_runpath
=yes
15581 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15582 soname_spec
='${libname}${release}${shared_ext}$major'
15583 shlibpath_var
=LD_LIBRARY_PATH
15584 shlibpath_overrides_runpath
=no
15585 hardcode_into_libs
=yes
15586 dynamic_linker
='ldqnx.so'
15591 sys_lib_dlsearch_path_spec
="/usr/lib"
15593 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15595 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15596 *) need_version
=no
;;
15598 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15599 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15600 shlibpath_var
=LD_LIBRARY_PATH
15601 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15603 openbsd2.
[89] | openbsd2.
[89].
*)
15604 shlibpath_overrides_runpath
=no
15607 shlibpath_overrides_runpath
=yes
15611 shlibpath_overrides_runpath
=yes
15616 libname_spec
='$name'
15619 library_names_spec
='$libname${shared_ext} $libname.a'
15620 dynamic_linker
='OS/2 ld.exe'
15621 shlibpath_var
=LIBPATH
15624 osf3
* | osf4
* | osf5
*)
15628 soname_spec
='${libname}${release}${shared_ext}$major'
15629 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15630 shlibpath_var
=LD_LIBRARY_PATH
15631 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15632 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15643 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15644 soname_spec
='${libname}${release}${shared_ext}$major'
15645 shlibpath_var
=LD_LIBRARY_PATH
15646 shlibpath_overrides_runpath
=yes
15647 hardcode_into_libs
=yes
15648 # ldd complains unless libraries are executable
15649 postinstall_cmds
='chmod +x $lib'
15654 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15655 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15656 shlibpath_var
=LD_LIBRARY_PATH
15657 shlibpath_overrides_runpath
=yes
15658 if test "$with_gnu_ld" = yes; then
15666 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15667 soname_spec
='${libname}${release}${shared_ext}$major'
15668 shlibpath_var
=LD_LIBRARY_PATH
15669 case $host_vendor in
15671 shlibpath_overrides_runpath
=no
15673 runpath_var
=LD_RUN_PATH
15681 shlibpath_overrides_runpath
=no
15682 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15688 if test -d /usr
/nec
;then
15690 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15691 soname_spec
='$libname${shared_ext}.$major'
15692 shlibpath_var
=LD_LIBRARY_PATH
15696 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15697 version_type
=freebsd-elf
15700 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15701 soname_spec
='${libname}${release}${shared_ext}$major'
15702 shlibpath_var
=LD_LIBRARY_PATH
15703 shlibpath_overrides_runpath
=yes
15704 hardcode_into_libs
=yes
15705 if test "$with_gnu_ld" = yes; then
15706 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15708 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15711 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15715 sys_lib_dlsearch_path_spec
='/usr/lib'
15719 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15723 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15724 shlibpath_var
=LD_LIBRARY_PATH
15725 shlibpath_overrides_runpath
=no
15726 hardcode_into_libs
=yes
15731 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15732 soname_spec
='${libname}${release}${shared_ext}$major'
15733 shlibpath_var
=LD_LIBRARY_PATH
15740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15741 $as_echo "$dynamic_linker" >&6; }
15742 test "$dynamic_linker" = no
&& can_build_shared
=no
15744 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15745 if test "$GCC" = yes; then
15746 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15749 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15750 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15752 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15753 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15794 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15795 hardcode_action_CXX
=
15796 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15797 test -n "$runpath_var_CXX" ||
15798 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15800 # We can hardcode non-existent directories.
15801 if test "$hardcode_direct_CXX" != no
&&
15802 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15803 # have to relink, otherwise we might link with an installed library
15804 # when we should be linking with a yet-to-be-installed one
15805 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15806 test "$hardcode_minus_L_CXX" != no
; then
15807 # Linking always hardcodes the temporary library directory.
15808 hardcode_action_CXX
=relink
15810 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15811 hardcode_action_CXX
=immediate
15814 # We cannot hardcode anything, or else we can only hardcode existing
15816 hardcode_action_CXX
=unsupported
15818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15819 $as_echo "$hardcode_action_CXX" >&6; }
15821 if test "$hardcode_action_CXX" = relink ||
15822 test "$inherit_rpath_CXX" = yes; then
15823 # Fast installation is not supported
15824 enable_fast_install
=no
15825 elif test "$shlibpath_overrides_runpath" = yes ||
15826 test "$enable_shared" = no
; then
15827 # Fast installation is not necessary
15828 enable_fast_install
=needless
15837 fi # test -n "$compiler"
15840 CFLAGS
=$lt_save_CFLAGS
15844 with_gnu_ld
=$lt_save_with_gnu_ld
15845 lt_cv_path_LDCXX
=$lt_cv_path_LD
15846 lt_cv_path_LD
=$lt_save_path_LD
15847 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15848 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15849 fi # test "$_lt_caught_CXX_error" != yes
15852 ac_cpp
='$CPP $CPPFLAGS'
15853 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15854 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15855 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
15859 $as_echo_n "checking whether ln -s works... " >&6; }
15861 if test "$LN_S" = "ln -s"; then
15862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15863 $as_echo "yes" >&6; }
15865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
15866 $as_echo "no, using $LN_S" >&6; }
15870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
15871 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
15873 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
15874 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
15875 $as_echo_n "(cached) " >&6
15877 cat >conftest.
make <<\_ACEOF
15880 @
echo '@@@%%%=$(MAKE)=@@@%%%'
15882 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
15883 case `${MAKE-make} -f conftest.make 2>/dev/null` in
15884 *@@@
%%%=?
*=@@@
%%%*)
15885 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
15887 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
15889 rm -f conftest.
make
15891 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
15892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15893 $as_echo "yes" >&6; }
15896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15897 $as_echo "no" >&6; }
15898 SET_MAKE
="MAKE=${MAKE-make}"
15903 # Extract the first word of "gengetopt", so it can be a program name with args.
15904 set dummy gengetopt
; ac_word
=$2
15905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15906 $as_echo_n "checking for $ac_word... " >&6; }
15907 if ${ac_cv_path_GENGETOPT+:} false
; then :
15908 $as_echo_n "(cached) " >&6
15912 ac_cv_path_GENGETOPT
="$GENGETOPT" # Let the user override the test with a path.
15915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15916 for as_dir
in $PATH
15919 test -z "$as_dir" && as_dir
=.
15920 for ac_exec_ext
in '' $ac_executable_extensions; do
15921 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15922 ac_cv_path_GENGETOPT
="$as_dir/$ac_word$ac_exec_ext"
15923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15930 test -z "$ac_cv_path_GENGETOPT" && ac_cv_path_GENGETOPT
="no"
15934 GENGETOPT
=$ac_cv_path_GENGETOPT
15935 if test -n "$GENGETOPT"; then
15936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENGETOPT" >&5
15937 $as_echo "$GENGETOPT" >&6; }
15939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15940 $as_echo "no" >&6; }
15944 if test x
"$GENGETOPT" != "xno"; then
15945 HAVE_GENGETOPT_TRUE
=
15946 HAVE_GENGETOPT_FALSE
='#'
15948 HAVE_GENGETOPT_TRUE
='#'
15949 HAVE_GENGETOPT_FALSE
=
15954 # Extract the first word of "doxygen", so it can be a program name with args.
15955 set dummy doxygen
; ac_word
=$2
15956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15957 $as_echo_n "checking for $ac_word... " >&6; }
15958 if ${ac_cv_path_DOXYGEN+:} false
; then :
15959 $as_echo_n "(cached) " >&6
15963 ac_cv_path_DOXYGEN
="$DOXYGEN" # Let the user override the test with a path.
15966 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15967 for as_dir
in $PATH
15970 test -z "$as_dir" && as_dir
=.
15971 for ac_exec_ext
in '' $ac_executable_extensions; do
15972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15973 ac_cv_path_DOXYGEN
="$as_dir/$ac_word$ac_exec_ext"
15974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15981 test -z "$ac_cv_path_DOXYGEN" && ac_cv_path_DOXYGEN
="no"
15985 DOXYGEN
=$ac_cv_path_DOXYGEN
15986 if test -n "$DOXYGEN"; then
15987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
15988 $as_echo "$DOXYGEN" >&6; }
15990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15991 $as_echo "no" >&6; }
15995 if test x
"$DOXYGEN" != "xno"; then
15997 HAVE_DOXYGEN_FALSE
='#'
15999 HAVE_DOXYGEN_TRUE
='#'
16000 HAVE_DOXYGEN_FALSE
=
16005 # Extract the first word of "prove", so it can be a program name with args.
16006 set dummy prove
; ac_word
=$2
16007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16008 $as_echo_n "checking for $ac_word... " >&6; }
16009 if ${ac_cv_path_PROVE+:} false
; then :
16010 $as_echo_n "(cached) " >&6
16014 ac_cv_path_PROVE
="$PROVE" # Let the user override the test with a path.
16017 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16018 for as_dir
in $PATH
16021 test -z "$as_dir" && as_dir
=.
16022 for ac_exec_ext
in '' $ac_executable_extensions; do
16023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16024 ac_cv_path_PROVE
="$as_dir/$ac_word$ac_exec_ext"
16025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16032 test -z "$ac_cv_path_PROVE" && ac_cv_path_PROVE
="no"
16036 PROVE
=$ac_cv_path_PROVE
16037 if test -n "$PROVE"; then
16038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PROVE" >&5
16039 $as_echo "$PROVE" >&6; }
16041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16042 $as_echo "no" >&6; }
16046 if test x
"$PROVE" != "xno"; then
16048 HAVE_PROVE_FALSE
='#'
16050 HAVE_PROVE_TRUE
='#'
16056 # Extract the first word of "valgrind", so it can be a program name with args.
16057 set dummy valgrind
; ac_word
=$2
16058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16059 $as_echo_n "checking for $ac_word... " >&6; }
16060 if ${ac_cv_path_VALGRIND+:} false
; then :
16061 $as_echo_n "(cached) " >&6
16065 ac_cv_path_VALGRIND
="$VALGRIND" # Let the user override the test with a path.
16068 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16069 for as_dir
in $PATH
16072 test -z "$as_dir" && as_dir
=.
16073 for ac_exec_ext
in '' $ac_executable_extensions; do
16074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16075 ac_cv_path_VALGRIND
="$as_dir/$ac_word$ac_exec_ext"
16076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16083 test -z "$ac_cv_path_VALGRIND" && ac_cv_path_VALGRIND
="no"
16087 VALGRIND
=$ac_cv_path_VALGRIND
16088 if test -n "$VALGRIND"; then
16089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALGRIND" >&5
16090 $as_echo "$VALGRIND" >&6; }
16092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16093 $as_echo "no" >&6; }
16097 if test x
"$VALGRIND" != "xno"; then
16098 HAVE_VALGRIND_TRUE
=
16099 HAVE_VALGRIND_FALSE
='#'
16101 HAVE_VALGRIND_TRUE
='#'
16102 HAVE_VALGRIND_FALSE
=
16107 # Extract the first word of "pod2man", so it can be a program name with args.
16108 set dummy pod2man
; ac_word
=$2
16109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16110 $as_echo_n "checking for $ac_word... " >&6; }
16111 if ${ac_cv_path_POD2MAN+:} false
; then :
16112 $as_echo_n "(cached) " >&6
16116 ac_cv_path_POD2MAN
="$POD2MAN" # Let the user override the test with a path.
16119 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16120 for as_dir
in $PATH
16123 test -z "$as_dir" && as_dir
=.
16124 for ac_exec_ext
in '' $ac_executable_extensions; do
16125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16126 ac_cv_path_POD2MAN
="$as_dir/$ac_word$ac_exec_ext"
16127 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16134 test -z "$ac_cv_path_POD2MAN" && ac_cv_path_POD2MAN
="no"
16138 POD2MAN
=$ac_cv_path_POD2MAN
16139 if test -n "$POD2MAN"; then
16140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $POD2MAN" >&5
16141 $as_echo "$POD2MAN" >&6; }
16143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16144 $as_echo "no" >&6; }
16148 if test x
"$POD2MAN" != "xno"; then
16150 HAVE_POD2MAN_FALSE
='#'
16152 HAVE_POD2MAN_TRUE
='#'
16153 HAVE_POD2MAN_FALSE
=
16158 # Extract the first word of "pod2html", so it can be a program name with args.
16159 set dummy pod2html
; ac_word
=$2
16160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16161 $as_echo_n "checking for $ac_word... " >&6; }
16162 if ${ac_cv_path_POD2HTML+:} false
; then :
16163 $as_echo_n "(cached) " >&6
16167 ac_cv_path_POD2HTML
="$POD2HTML" # Let the user override the test with a path.
16170 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16171 for as_dir
in $PATH
16174 test -z "$as_dir" && as_dir
=.
16175 for ac_exec_ext
in '' $ac_executable_extensions; do
16176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16177 ac_cv_path_POD2HTML
="$as_dir/$ac_word$ac_exec_ext"
16178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16185 test -z "$ac_cv_path_POD2HTML" && ac_cv_path_POD2HTML
="no"
16189 POD2HTML
=$ac_cv_path_POD2HTML
16190 if test -n "$POD2HTML"; then
16191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $POD2HTML" >&5
16192 $as_echo "$POD2HTML" >&6; }
16194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16195 $as_echo "no" >&6; }
16199 if test x
"$POD2HTML" != "xno"; then
16200 HAVE_POD2HTML_TRUE
=
16201 HAVE_POD2HTML_FALSE
='#'
16203 HAVE_POD2HTML_TRUE
='#'
16204 HAVE_POD2HTML_FALSE
=
16209 # Extract the first word of "date", so it can be a program name with args.
16210 set dummy
date; ac_word
=$2
16211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16212 $as_echo_n "checking for $ac_word... " >&6; }
16213 if ${ac_cv_path_DATE+:} false
; then :
16214 $as_echo_n "(cached) " >&6
16218 ac_cv_path_DATE
="$DATE" # Let the user override the test with a path.
16221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16222 for as_dir
in $PATH
16225 test -z "$as_dir" && as_dir
=.
16226 for ac_exec_ext
in '' $ac_executable_extensions; do
16227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16228 ac_cv_path_DATE
="$as_dir/$ac_word$ac_exec_ext"
16229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16236 test -z "$ac_cv_path_DATE" && ac_cv_path_DATE
="no"
16240 DATE
=$ac_cv_path_DATE
16241 if test -n "$DATE"; then
16242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DATE" >&5
16243 $as_echo "$DATE" >&6; }
16245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16246 $as_echo "no" >&6; }
16250 if test x
"$DATE" != "xno" ; then
16251 build_date
=`"$DATE" +%Y-%m-%d 2>/dev/null`
16252 if test x
"$build_date" != "x" ; then
16254 cat >>confdefs.h
<<_ACEOF
16255 #define BUILD_DATE "$build_date"
16261 # Extract the first word of "git", so it can be a program name with args.
16262 set dummy git
; ac_word
=$2
16263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16264 $as_echo_n "checking for $ac_word... " >&6; }
16265 if ${ac_cv_path_GIT+:} false
; then :
16266 $as_echo_n "(cached) " >&6
16270 ac_cv_path_GIT
="$GIT" # Let the user override the test with a path.
16273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16274 for as_dir
in $PATH
16277 test -z "$as_dir" && as_dir
=.
16278 for ac_exec_ext
in '' $ac_executable_extensions; do
16279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16280 ac_cv_path_GIT
="$as_dir/$ac_word$ac_exec_ext"
16281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16288 test -z "$ac_cv_path_GIT" && ac_cv_path_GIT
="no"
16292 GIT
=$ac_cv_path_GIT
16293 if test -n "$GIT"; then
16294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIT" >&5
16295 $as_echo "$GIT" >&6; }
16297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16298 $as_echo "no" >&6; }
16302 if test x
"$GIT" != "xno" ; then
16304 git_describe
=`"$GIT" describe "$QUVI_BRANCH" 2>/dev/null`
16305 if test x
"$git_describe" != "x" ; then
16307 cat >>confdefs.h
<<_ACEOF
16308 #define GIT_DESCRIBE "$git_describe"
16314 # Checks for libraries.
16316 if test "X$prefix" = "XNONE"; then
16317 acl_final_prefix
="$ac_default_prefix"
16319 acl_final_prefix
="$prefix"
16321 if test "X$exec_prefix" = "XNONE"; then
16322 acl_final_exec_prefix
='${prefix}'
16324 acl_final_exec_prefix
="$exec_prefix"
16326 acl_save_prefix
="$prefix"
16327 prefix
="$acl_final_prefix"
16328 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
16329 prefix
="$acl_save_prefix"
16332 # Check whether --with-gnu-ld was given.
16333 if test "${with_gnu_ld+set}" = set; then :
16334 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
16339 # Prepare PATH_SEPARATOR.
16340 # The user is always right.
16341 if test "${PATH_SEPARATOR+set}" != set; then
16342 echo "#! /bin/sh" >conf$$.sh
16343 echo "exit 0" >>conf$$.sh
16345 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
16353 if test "$GCC" = yes; then
16354 # Check if gcc -print-prog-name=ld gives a path.
16355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
16356 $as_echo_n "checking for ld used by GCC... " >&6; }
16359 # gcc leaves a trailing carriage return which upsets mingw
16360 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
16362 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
16365 # Accept absolute paths.
16366 [\\/]* |
[A-Za-z
]:[\\/]*)
16367 re_direlt
='/[^/][^/]*/\.\./'
16368 # Canonicalize the path of ld
16369 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
16370 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
16371 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
16373 test -z "$LD" && LD
="$ac_prog"
16376 # If it fails, then pretend we aren't using GCC.
16380 # If it is relative, then search for the first ld in PATH.
16381 with_gnu_ld
=unknown
16384 elif test "$with_gnu_ld" = yes; then
16385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
16386 $as_echo_n "checking for GNU ld... " >&6; }
16388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
16389 $as_echo_n "checking for non-GNU ld... " >&6; }
16391 if ${acl_cv_path_LD+:} false
; then :
16392 $as_echo_n "(cached) " >&6
16394 if test -z "$LD"; then
16395 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
16396 for ac_dir
in $PATH; do
16397 test -z "$ac_dir" && ac_dir
=.
16398 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
16399 acl_cv_path_LD
="$ac_dir/$ac_prog"
16400 # Check to see if the program is GNU ld. I'd rather use --version,
16401 # but apparently some GNU ld's only accept -v.
16402 # Break only if it was the GNU/non-GNU ld that we prefer.
16403 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
16404 *GNU
* |
*'with BFD'*)
16405 test "$with_gnu_ld" != no
&& break ;;
16407 test "$with_gnu_ld" != yes && break ;;
16413 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
16417 LD
="$acl_cv_path_LD"
16418 if test -n "$LD"; then
16419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
16420 $as_echo "$LD" >&6; }
16422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16423 $as_echo "no" >&6; }
16425 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
16426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
16427 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
16428 if ${acl_cv_prog_gnu_ld+:} false
; then :
16429 $as_echo_n "(cached) " >&6
16431 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
16432 case `$LD -v 2>&1 </dev/null` in
16433 *GNU
* |
*'with BFD'*)
16434 acl_cv_prog_gnu_ld
=yes ;;
16436 acl_cv_prog_gnu_ld
=no
;;
16439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
16440 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
16441 with_gnu_ld
=$acl_cv_prog_gnu_ld
16446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
16447 $as_echo_n "checking for shared library run path origin... " >&6; }
16448 if ${acl_cv_rpath+:} false
; then :
16449 $as_echo_n "(cached) " >&6
16452 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
16453 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
16455 rm -f .
/conftest.sh
16459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
16460 $as_echo "$acl_cv_rpath" >&6; }
16462 acl_libext
="$acl_cv_libext"
16463 acl_shlibext
="$acl_cv_shlibext"
16464 acl_libname_spec
="$acl_cv_libname_spec"
16465 acl_library_names_spec
="$acl_cv_library_names_spec"
16466 acl_hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
16467 acl_hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
16468 acl_hardcode_direct
="$acl_cv_hardcode_direct"
16469 acl_hardcode_minus_L
="$acl_cv_hardcode_minus_L"
16470 # Check whether --enable-rpath was given.
16471 if test "${enable_rpath+set}" = set; then :
16472 enableval
=$enable_rpath; :
16484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
16485 $as_echo_n "checking for 64-bit host... " >&6; }
16486 if ${gl_cv_solaris_64bit+:} false
; then :
16487 $as_echo_n "(cached) " >&6
16489 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16490 /* end confdefs.h. */
16497 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16498 $EGREP "sixtyfour bits" >/dev
/null
2>&1; then :
16499 gl_cv_solaris_64bit
=yes
16501 gl_cv_solaris_64bit
=no
16507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
16508 $as_echo "$gl_cv_solaris_64bit" >&6; }
16509 if test $gl_cv_solaris_64bit = yes; then
16510 acl_libdirstem
=lib
/64
16511 case "$host_cpu" in
16512 sparc
*) acl_libdirstem2
=lib
/sparcv9
;;
16513 i
*86 | x86_64
) acl_libdirstem2
=lib
/amd64
;;
16518 searchpath
=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
16519 if test -n "$searchpath"; then
16520 acl_save_IFS
="${IFS= }"; IFS
=":"
16521 for searchdir
in $searchpath; do
16522 if test -d "$searchdir"; then
16523 case "$searchdir" in
16524 */lib64
/ |
*/lib64
) acl_libdirstem
=lib64
;;
16526 # Better ignore directories of this form. They are misleading.
16528 *) searchdir
=`cd "$searchdir" && pwd`
16529 case "$searchdir" in
16530 */lib64
) acl_libdirstem
=lib64
;;
16535 IFS
="$acl_save_IFS"
16539 test -n "$acl_libdirstem2" || acl_libdirstem2
="$acl_libdirstem"
16554 acl_save_prefix
="$prefix"
16555 prefix
="$acl_final_prefix"
16556 acl_save_exec_prefix
="$exec_prefix"
16557 exec_prefix
="$acl_final_exec_prefix"
16559 eval additional_includedir
=\"$includedir\"
16560 eval additional_libdir
=\"$libdir\"
16562 exec_prefix
="$acl_save_exec_prefix"
16563 prefix
="$acl_save_prefix"
16566 # Check whether --with-libiconv-prefix was given.
16567 if test "${with_libiconv_prefix+set}" = set; then :
16568 withval
=$with_libiconv_prefix;
16569 if test "X$withval" = "Xno"; then
16572 if test "X$withval" = "X"; then
16574 acl_save_prefix
="$prefix"
16575 prefix
="$acl_final_prefix"
16576 acl_save_exec_prefix
="$exec_prefix"
16577 exec_prefix
="$acl_final_exec_prefix"
16579 eval additional_includedir
=\"$includedir\"
16580 eval additional_libdir
=\"$libdir\"
16582 exec_prefix
="$acl_save_exec_prefix"
16583 prefix
="$acl_save_prefix"
16586 additional_includedir
="$withval/include"
16587 additional_libdir
="$withval/$acl_libdirstem"
16588 if test "$acl_libdirstem2" != "$acl_libdirstem" \
16589 && ! test -d "$withval/$acl_libdirstem"; then
16590 additional_libdir
="$withval/$acl_libdirstem2"
16604 names_already_handled
=
16605 names_next_round
='iconv '
16606 while test -n "$names_next_round"; do
16607 names_this_round
="$names_next_round"
16609 for name
in $names_this_round; do
16611 for n
in $names_already_handled; do
16612 if test "$n" = "$name"; then
16613 already_handled
=yes
16617 if test -z "$already_handled"; then
16618 names_already_handled
="$names_already_handled $name"
16619 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
16620 eval value
=\"\
$HAVE_LIB$uppername\"
16621 if test -n "$value"; then
16622 if test "$value" = yes; then
16623 eval value
=\"\
$LIB$uppername\"
16624 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
16625 eval value
=\"\
$LTLIB$uppername\"
16626 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
16635 eval libname
=\"$acl_libname_spec\" # typically: libname=lib$name
16636 if test -n "$acl_shlibext"; then
16637 shrext
=".$acl_shlibext" # typically: shrext=.so
16641 if test $use_additional = yes; then
16642 dir
="$additional_libdir"
16643 if test -n "$acl_shlibext"; then
16644 if test -f "$dir/$libname$shrext"; then
16646 found_so
="$dir/$libname$shrext"
16648 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
16649 ver
=`(cd "$dir" && \
16650 for f in "$libname$shrext".*; do echo "$f"; done \
16651 | sed -e "s,^$libname$shrext\\\\.,," \
16652 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
16653 | sed 1q ) 2>/dev/null`
16654 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
16656 found_so
="$dir/$libname$shrext.$ver"
16659 eval library_names
=\"$acl_library_names_spec\"
16660 for f
in $library_names; do
16661 if test -f "$dir/$f"; then
16670 if test "X$found_dir" = "X"; then
16671 if test -f "$dir/$libname.$acl_libext"; then
16673 found_a
="$dir/$libname.$acl_libext"
16676 if test "X$found_dir" != "X"; then
16677 if test -f "$dir/$libname.la"; then
16678 found_la
="$dir/$libname.la"
16682 if test "X$found_dir" = "X"; then
16683 for x
in $LDFLAGS $LTLIBICONV; do
16685 acl_save_prefix
="$prefix"
16686 prefix
="$acl_final_prefix"
16687 acl_save_exec_prefix
="$exec_prefix"
16688 exec_prefix
="$acl_final_exec_prefix"
16690 exec_prefix
="$acl_save_exec_prefix"
16691 prefix
="$acl_save_prefix"
16695 dir
=`echo "X$x" | sed -e 's/^X-L//'`
16696 if test -n "$acl_shlibext"; then
16697 if test -f "$dir/$libname$shrext"; then
16699 found_so
="$dir/$libname$shrext"
16701 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
16702 ver
=`(cd "$dir" && \
16703 for f in "$libname$shrext".*; do echo "$f"; done \
16704 | sed -e "s,^$libname$shrext\\\\.,," \
16705 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
16706 | sed 1q ) 2>/dev/null`
16707 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
16709 found_so
="$dir/$libname$shrext.$ver"
16712 eval library_names
=\"$acl_library_names_spec\"
16713 for f
in $library_names; do
16714 if test -f "$dir/$f"; then
16723 if test "X$found_dir" = "X"; then
16724 if test -f "$dir/$libname.$acl_libext"; then
16726 found_a
="$dir/$libname.$acl_libext"
16729 if test "X$found_dir" != "X"; then
16730 if test -f "$dir/$libname.la"; then
16731 found_la
="$dir/$libname.la"
16736 if test "X$found_dir" != "X"; then
16741 if test "X$found_dir" != "X"; then
16742 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
16743 if test "X$found_so" != "X"; then
16744 if test "$enable_rpath" = no \
16745 ||
test "X$found_dir" = "X/usr/$acl_libdirstem" \
16746 ||
test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
16747 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
16750 for x
in $ltrpathdirs; do
16751 if test "X$x" = "X$found_dir"; then
16756 if test -z "$haveit"; then
16757 ltrpathdirs
="$ltrpathdirs $found_dir"
16759 if test "$acl_hardcode_direct" = yes; then
16760 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
16762 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no
; then
16763 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
16765 for x
in $rpathdirs; do
16766 if test "X$x" = "X$found_dir"; then
16771 if test -z "$haveit"; then
16772 rpathdirs
="$rpathdirs $found_dir"
16776 for x
in $LDFLAGS $LIBICONV; do
16778 acl_save_prefix
="$prefix"
16779 prefix
="$acl_final_prefix"
16780 acl_save_exec_prefix
="$exec_prefix"
16781 exec_prefix
="$acl_final_exec_prefix"
16783 exec_prefix
="$acl_save_exec_prefix"
16784 prefix
="$acl_save_prefix"
16786 if test "X$x" = "X-L$found_dir"; then
16791 if test -z "$haveit"; then
16792 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
16794 if test "$acl_hardcode_minus_L" != no
; then
16795 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
16797 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
16803 if test "X$found_a" != "X"; then
16804 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
16806 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
16809 additional_includedir
=
16810 case "$found_dir" in
16811 */$acl_libdirstem |
*/$acl_libdirstem/)
16812 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
16813 if test "$name" = 'iconv'; then
16814 LIBICONV_PREFIX
="$basedir"
16816 additional_includedir
="$basedir/include"
16818 */$acl_libdirstem2 |
*/$acl_libdirstem2/)
16819 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
16820 if test "$name" = 'iconv'; then
16821 LIBICONV_PREFIX
="$basedir"
16823 additional_includedir
="$basedir/include"
16826 if test "X$additional_includedir" != "X"; then
16827 if test "X$additional_includedir" != "X/usr/include"; then
16829 if test "X$additional_includedir" = "X/usr/local/include"; then
16830 if test -n "$GCC"; then
16832 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
16836 if test -z "$haveit"; then
16837 for x
in $CPPFLAGS $INCICONV; do
16839 acl_save_prefix
="$prefix"
16840 prefix
="$acl_final_prefix"
16841 acl_save_exec_prefix
="$exec_prefix"
16842 exec_prefix
="$acl_final_exec_prefix"
16844 exec_prefix
="$acl_save_exec_prefix"
16845 prefix
="$acl_save_prefix"
16847 if test "X$x" = "X-I$additional_includedir"; then
16852 if test -z "$haveit"; then
16853 if test -d "$additional_includedir"; then
16854 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
16860 if test -n "$found_la"; then
16861 save_libdir
="$libdir"
16862 case "$found_la" in
16863 */* |
*\\*) .
"$found_la" ;;
16864 *) .
"./$found_la" ;;
16866 libdir
="$save_libdir"
16867 for dep
in $dependency_libs; do
16870 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
16871 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
16872 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
16874 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
16875 ||
test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
16876 if test -n "$GCC"; then
16878 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
16882 if test -z "$haveit"; then
16884 for x
in $LDFLAGS $LIBICONV; do
16886 acl_save_prefix
="$prefix"
16887 prefix
="$acl_final_prefix"
16888 acl_save_exec_prefix
="$exec_prefix"
16889 exec_prefix
="$acl_final_exec_prefix"
16891 exec_prefix
="$acl_save_exec_prefix"
16892 prefix
="$acl_save_prefix"
16894 if test "X$x" = "X-L$additional_libdir"; then
16899 if test -z "$haveit"; then
16900 if test -d "$additional_libdir"; then
16901 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
16905 for x
in $LDFLAGS $LTLIBICONV; do
16907 acl_save_prefix
="$prefix"
16908 prefix
="$acl_final_prefix"
16909 acl_save_exec_prefix
="$exec_prefix"
16910 exec_prefix
="$acl_final_exec_prefix"
16912 exec_prefix
="$acl_save_exec_prefix"
16913 prefix
="$acl_save_prefix"
16915 if test "X$x" = "X-L$additional_libdir"; then
16920 if test -z "$haveit"; then
16921 if test -d "$additional_libdir"; then
16922 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
16929 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
16930 if test "$enable_rpath" != no
; then
16932 for x
in $rpathdirs; do
16933 if test "X$x" = "X$dir"; then
16938 if test -z "$haveit"; then
16939 rpathdirs
="$rpathdirs $dir"
16942 for x
in $ltrpathdirs; do
16943 if test "X$x" = "X$dir"; then
16948 if test -z "$haveit"; then
16949 ltrpathdirs
="$ltrpathdirs $dir"
16954 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
16957 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
16960 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
16961 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
16967 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
16968 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
16974 if test "X$rpathdirs" != "X"; then
16975 if test -n "$acl_hardcode_libdir_separator"; then
16977 for found_dir
in $rpathdirs; do
16978 alldirs
="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
16980 acl_save_libdir
="$libdir"
16982 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
16983 libdir
="$acl_save_libdir"
16984 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
16986 for found_dir
in $rpathdirs; do
16987 acl_save_libdir
="$libdir"
16988 libdir
="$found_dir"
16989 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
16990 libdir
="$acl_save_libdir"
16991 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
16995 if test "X$ltrpathdirs" != "X"; then
16996 for found_dir
in $ltrpathdirs; do
16997 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
17012 am_save_CPPFLAGS
="$CPPFLAGS"
17014 for element
in $INCICONV; do
17016 for x
in $CPPFLAGS; do
17018 acl_save_prefix
="$prefix"
17019 prefix
="$acl_final_prefix"
17020 acl_save_exec_prefix
="$exec_prefix"
17021 exec_prefix
="$acl_final_exec_prefix"
17023 exec_prefix
="$acl_save_exec_prefix"
17024 prefix
="$acl_save_prefix"
17026 if test "X$x" = "X$element"; then
17031 if test -z "$haveit"; then
17032 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
17037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
17038 $as_echo_n "checking for iconv... " >&6; }
17039 if ${am_cv_func_iconv+:} false
; then :
17040 $as_echo_n "(cached) " >&6
17043 am_cv_func_iconv
="no, consider installing GNU libiconv"
17045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17046 /* end confdefs.h. */
17047 #include <stdlib.h>
17052 iconv_t cd = iconv_open("","");
17053 iconv(cd,NULL,NULL,NULL,NULL);
17059 if ac_fn_c_try_link
"$LINENO"; then :
17060 am_cv_func_iconv
=yes
17062 rm -f core conftest.err conftest.
$ac_objext \
17063 conftest
$ac_exeext conftest.
$ac_ext
17064 if test "$am_cv_func_iconv" != yes; then
17065 am_save_LIBS
="$LIBS"
17066 LIBS
="$LIBS $LIBICONV"
17067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17068 /* end confdefs.h. */
17069 #include <stdlib.h>
17074 iconv_t cd = iconv_open("","");
17075 iconv(cd,NULL,NULL,NULL,NULL);
17081 if ac_fn_c_try_link
"$LINENO"; then :
17082 am_cv_lib_iconv
=yes
17083 am_cv_func_iconv
=yes
17085 rm -f core conftest.err conftest.
$ac_objext \
17086 conftest
$ac_exeext conftest.
$ac_ext
17087 LIBS
="$am_save_LIBS"
17091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
17092 $as_echo "$am_cv_func_iconv" >&6; }
17093 if test "$am_cv_func_iconv" = yes; then
17094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
17095 $as_echo_n "checking for working iconv... " >&6; }
17096 if ${am_cv_func_iconv_works+:} false
; then :
17097 $as_echo_n "(cached) " >&6
17100 am_save_LIBS
="$LIBS"
17101 if test $am_cv_lib_iconv = yes; then
17102 LIBS
="$LIBS $LIBICONV"
17104 if test "$cross_compiling" = yes; then :
17106 aix
* | hpux
*) am_cv_func_iconv_works
="guessing no" ;;
17107 *) am_cv_func_iconv_works
="guessing yes" ;;
17110 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17111 /* end confdefs.h. */
17114 #include <string.h>
17117 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
17120 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
17121 if (cd_utf8_to_88591 != (iconv_t)(-1))
17123 static const char input[] = "\342\202\254"; /* EURO SIGN */
17125 const char *inptr = input;
17126 size_t inbytesleft = strlen (input);
17127 char *outptr = buf;
17128 size_t outbytesleft = sizeof (buf);
17129 size_t res = iconv (cd_utf8_to_88591,
17130 (char **) &inptr, &inbytesleft,
17131 &outptr, &outbytesleft);
17136 /* Test against Solaris 10 bug: Failures are not distinguishable from
17137 successful returns. */
17139 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
17140 if (cd_ascii_to_88591 != (iconv_t)(-1))
17142 static const char input[] = "\263";
17144 const char *inptr = input;
17145 size_t inbytesleft = strlen (input);
17146 char *outptr = buf;
17147 size_t outbytesleft = sizeof (buf);
17148 size_t res = iconv (cd_ascii_to_88591,
17149 (char **) &inptr, &inbytesleft,
17150 &outptr, &outbytesleft);
17155 #if 0 /* This bug could be worked around by the caller. */
17156 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
17158 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
17159 if (cd_88591_to_utf8 != (iconv_t)(-1))
17161 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
17163 const char *inptr = input;
17164 size_t inbytesleft = strlen (input);
17165 char *outptr = buf;
17166 size_t outbytesleft = sizeof (buf);
17167 size_t res = iconv (cd_88591_to_utf8,
17168 (char **) &inptr, &inbytesleft,
17169 &outptr, &outbytesleft);
17175 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
17177 if (/* Try standardized names. */
17178 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
17179 /* Try IRIX, OSF/1 names. */
17180 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
17181 /* Try AIX names. */
17182 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
17183 /* Try HP-UX names. */
17184 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
17189 if ac_fn_c_try_run
"$LINENO"; then :
17190 am_cv_func_iconv_works
=yes
17192 am_cv_func_iconv_works
=no
17194 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
17195 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17198 LIBS
="$am_save_LIBS"
17201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
17202 $as_echo "$am_cv_func_iconv_works" >&6; }
17203 case "$am_cv_func_iconv_works" in
17204 *no
) am_func_iconv
=no am_cv_lib_iconv
=no
;;
17205 *) am_func_iconv
=yes ;;
17208 am_func_iconv
=no am_cv_lib_iconv
=no
17210 if test "$am_func_iconv" = yes; then
17212 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
17215 if test "$am_cv_lib_iconv" = yes; then
17216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
17217 $as_echo_n "checking how to link with libiconv... " >&6; }
17218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
17219 $as_echo "$LIBICONV" >&6; }
17221 CPPFLAGS
="$am_save_CPPFLAGS"
17228 if test "$am_cv_func_iconv" = yes; then
17229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
17230 $as_echo_n "checking for iconv declaration... " >&6; }
17231 if ${am_cv_proto_iconv+:} false
; then :
17232 $as_echo_n "(cached) " >&6
17235 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17236 /* end confdefs.h. */
17238 #include <stdlib.h>
17244 #if defined(__STDC__) || defined(__cplusplus)
17245 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
17258 if ac_fn_c_try_compile
"$LINENO"; then :
17259 am_cv_proto_iconv_arg1
=""
17261 am_cv_proto_iconv_arg1
="const"
17263 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17264 am_cv_proto_iconv
="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
17267 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
17268 { $as_echo "$as_me:${as_lineno-$LINENO}: result:
17269 $am_cv_proto_iconv" >&5
17271 $am_cv_proto_iconv" >&6; }
17273 cat >>confdefs.h
<<_ACEOF
17274 #define ICONV_CONST $am_cv_proto_iconv_arg1
17285 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
17286 if test -n "$ac_tool_prefix"; then
17287 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
17288 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
17289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17290 $as_echo_n "checking for $ac_word... " >&6; }
17291 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
17292 $as_echo_n "(cached) " >&6
17294 case $PKG_CONFIG in
17296 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
17299 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17300 for as_dir
in $PATH
17303 test -z "$as_dir" && as_dir
=.
17304 for ac_exec_ext
in '' $ac_executable_extensions; do
17305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17306 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
17307 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17317 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
17318 if test -n "$PKG_CONFIG"; then
17319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17320 $as_echo "$PKG_CONFIG" >&6; }
17322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17323 $as_echo "no" >&6; }
17328 if test -z "$ac_cv_path_PKG_CONFIG"; then
17329 ac_pt_PKG_CONFIG
=$PKG_CONFIG
17330 # Extract the first word of "pkg-config", so it can be a program name with args.
17331 set dummy pkg-config
; ac_word
=$2
17332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17333 $as_echo_n "checking for $ac_word... " >&6; }
17334 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
17335 $as_echo_n "(cached) " >&6
17337 case $ac_pt_PKG_CONFIG in
17339 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
17342 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17343 for as_dir
in $PATH
17346 test -z "$as_dir" && as_dir
=.
17347 for ac_exec_ext
in '' $ac_executable_extensions; do
17348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17349 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
17350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17360 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
17361 if test -n "$ac_pt_PKG_CONFIG"; then
17362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
17363 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
17365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17366 $as_echo "no" >&6; }
17369 if test "x$ac_pt_PKG_CONFIG" = x
; then
17372 case $cross_compiling:$ac_tool_warned in
17374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17375 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17376 ac_tool_warned
=yes ;;
17378 PKG_CONFIG
=$ac_pt_PKG_CONFIG
17381 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
17385 if test -n "$PKG_CONFIG"; then
17386 _pkg_min_version
=0.9.0
17387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
17388 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
17389 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
17390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17391 $as_echo "yes" >&6; }
17393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17394 $as_echo "no" >&6; }
17400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcurl" >&5
17401 $as_echo_n "checking for libcurl... " >&6; }
17403 if test -n "$libcurl_CFLAGS"; then
17404 pkg_cv_libcurl_CFLAGS
="$libcurl_CFLAGS"
17405 elif test -n "$PKG_CONFIG"; then
17406 if test -n "$PKG_CONFIG" && \
17407 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= 7.18.0\""; } >&5
17408 ($PKG_CONFIG --exists --print-errors "libcurl >= 7.18.0") 2>&5
17410 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17411 test $ac_status = 0; }; then
17412 pkg_cv_libcurl_CFLAGS
=`$PKG_CONFIG --cflags "libcurl >= 7.18.0" 2>/dev/null`
17419 if test -n "$libcurl_LIBS"; then
17420 pkg_cv_libcurl_LIBS
="$libcurl_LIBS"
17421 elif test -n "$PKG_CONFIG"; then
17422 if test -n "$PKG_CONFIG" && \
17423 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= 7.18.0\""; } >&5
17424 ($PKG_CONFIG --exists --print-errors "libcurl >= 7.18.0") 2>&5
17426 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17427 test $ac_status = 0; }; then
17428 pkg_cv_libcurl_LIBS
=`$PKG_CONFIG --libs "libcurl >= 7.18.0" 2>/dev/null`
17438 if test $pkg_failed = yes; then
17439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17440 $as_echo "no" >&6; }
17442 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17443 _pkg_short_errors_supported
=yes
17445 _pkg_short_errors_supported
=no
17447 if test $_pkg_short_errors_supported = yes; then
17448 libcurl_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libcurl >= 7.18.0" 2>&1`
17450 libcurl_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libcurl >= 7.18.0" 2>&1`
17452 # Put the nasty error message in config.log where it belongs
17453 echo "$libcurl_PKG_ERRORS" >&5
17455 as_fn_error $?
"Package requirements (libcurl >= 7.18.0) were not met:
17457 $libcurl_PKG_ERRORS
17459 Consider adjusting the PKG_CONFIG_PATH environment variable if you
17460 installed software in a non-standard prefix.
17462 Alternatively, you may set the environment variables libcurl_CFLAGS
17463 and libcurl_LIBS to avoid the need to call pkg-config.
17464 See the pkg-config man page for more details." "$LINENO" 5
17465 elif test $pkg_failed = untried
; then
17466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17467 $as_echo "no" >&6; }
17468 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17469 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17470 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
17471 is in your PATH or set the PKG_CONFIG environment variable to the full
17472 path to pkg-config.
17474 Alternatively, you may set the environment variables libcurl_CFLAGS
17475 and libcurl_LIBS to avoid the need to call pkg-config.
17476 See the pkg-config man page for more details.
17478 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17479 See \`config.log' for more details" "$LINENO" 5; }
17481 libcurl_CFLAGS
=$pkg_cv_libcurl_CFLAGS
17482 libcurl_LIBS
=$pkg_cv_libcurl_LIBS
17483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17484 $as_echo "yes" >&6; }
17489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
17490 $as_echo_n "checking for liblua... " >&6; }
17492 if test -n "$liblua_CFLAGS"; then
17493 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
17494 elif test -n "$PKG_CONFIG"; then
17495 if test -n "$PKG_CONFIG" && \
17496 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5
17497 ($PKG_CONFIG --exists --print-errors "lua >= 5.1") 2>&5
17499 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17500 test $ac_status = 0; }; then
17501 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua >= 5.1" 2>/dev/null`
17508 if test -n "$liblua_LIBS"; then
17509 pkg_cv_liblua_LIBS
="$liblua_LIBS"
17510 elif test -n "$PKG_CONFIG"; then
17511 if test -n "$PKG_CONFIG" && \
17512 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5
17513 ($PKG_CONFIG --exists --print-errors "lua >= 5.1") 2>&5
17515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17516 test $ac_status = 0; }; then
17517 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua >= 5.1" 2>/dev/null`
17527 if test $pkg_failed = yes; then
17528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17529 $as_echo "no" >&6; }
17531 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17532 _pkg_short_errors_supported
=yes
17534 _pkg_short_errors_supported
=no
17536 if test $_pkg_short_errors_supported = yes; then
17537 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua >= 5.1" 2>&1`
17539 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua >= 5.1" 2>&1`
17541 # Put the nasty error message in config.log where it belongs
17542 echo "$liblua_PKG_ERRORS" >&5
17547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
17548 $as_echo_n "checking for liblua... " >&6; }
17550 if test -n "$liblua_CFLAGS"; then
17551 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
17552 elif test -n "$PKG_CONFIG"; then
17553 if test -n "$PKG_CONFIG" && \
17554 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1\""; } >&5
17555 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1") 2>&5
17557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17558 test $ac_status = 0; }; then
17559 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua51 >= 5.1" 2>/dev/null`
17566 if test -n "$liblua_LIBS"; then
17567 pkg_cv_liblua_LIBS
="$liblua_LIBS"
17568 elif test -n "$PKG_CONFIG"; then
17569 if test -n "$PKG_CONFIG" && \
17570 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1\""; } >&5
17571 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1") 2>&5
17573 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17574 test $ac_status = 0; }; then
17575 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua51 >= 5.1" 2>/dev/null`
17585 if test $pkg_failed = yes; then
17586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17587 $as_echo "no" >&6; }
17589 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17590 _pkg_short_errors_supported
=yes
17592 _pkg_short_errors_supported
=no
17594 if test $_pkg_short_errors_supported = yes; then
17595 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1" 2>&1`
17597 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua51 >= 5.1" 2>&1`
17599 # Put the nasty error message in config.log where it belongs
17600 echo "$liblua_PKG_ERRORS" >&5
17605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
17606 $as_echo_n "checking for liblua... " >&6; }
17608 if test -n "$liblua_CFLAGS"; then
17609 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
17610 elif test -n "$PKG_CONFIG"; then
17611 if test -n "$PKG_CONFIG" && \
17612 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
17613 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
17615 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17616 test $ac_status = 0; }; then
17617 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua5.1 >= 5.1" 2>/dev/null`
17624 if test -n "$liblua_LIBS"; then
17625 pkg_cv_liblua_LIBS
="$liblua_LIBS"
17626 elif test -n "$PKG_CONFIG"; then
17627 if test -n "$PKG_CONFIG" && \
17628 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
17629 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
17631 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17632 test $ac_status = 0; }; then
17633 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua5.1 >= 5.1" 2>/dev/null`
17643 if test $pkg_failed = yes; then
17644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17645 $as_echo "no" >&6; }
17647 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17648 _pkg_short_errors_supported
=yes
17650 _pkg_short_errors_supported
=no
17652 if test $_pkg_short_errors_supported = yes; then
17653 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua5.1 >= 5.1" 2>&1`
17655 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua5.1 >= 5.1" 2>&1`
17657 # Put the nasty error message in config.log where it belongs
17658 echo "$liblua_PKG_ERRORS" >&5
17663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
17664 $as_echo_n "checking for liblua... " >&6; }
17666 if test -n "$liblua_CFLAGS"; then
17667 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
17668 elif test -n "$PKG_CONFIG"; then
17669 if test -n "$PKG_CONFIG" && \
17670 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
17671 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
17673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17674 test $ac_status = 0; }; then
17675 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
17682 if test -n "$liblua_LIBS"; then
17683 pkg_cv_liblua_LIBS
="$liblua_LIBS"
17684 elif test -n "$PKG_CONFIG"; then
17685 if test -n "$PKG_CONFIG" && \
17686 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
17687 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
17689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17690 test $ac_status = 0; }; then
17691 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
17701 if test $pkg_failed = yes; then
17702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17703 $as_echo "no" >&6; }
17705 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17706 _pkg_short_errors_supported
=yes
17708 _pkg_short_errors_supported
=no
17710 if test $_pkg_short_errors_supported = yes; then
17711 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
17713 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
17715 # Put the nasty error message in config.log where it belongs
17716 echo "$liblua_PKG_ERRORS" >&5
17718 as_fn_error $?
"Package requirements (lua-5.1 >= 5.1) were not met:
17722 Consider adjusting the PKG_CONFIG_PATH environment variable if you
17723 installed software in a non-standard prefix.
17725 Alternatively, you may set the environment variables liblua_CFLAGS
17726 and liblua_LIBS to avoid the need to call pkg-config.
17727 See the pkg-config man page for more details." "$LINENO" 5
17728 elif test $pkg_failed = untried
; then
17729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17730 $as_echo "no" >&6; }
17731 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17732 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17733 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
17734 is in your PATH or set the PKG_CONFIG environment variable to the full
17735 path to pkg-config.
17737 Alternatively, you may set the environment variables liblua_CFLAGS
17738 and liblua_LIBS to avoid the need to call pkg-config.
17739 See the pkg-config man page for more details.
17741 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17742 See \`config.log' for more details" "$LINENO" 5; }
17744 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
17745 liblua_LIBS
=$pkg_cv_liblua_LIBS
17746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17747 $as_echo "yes" >&6; }
17751 elif test $pkg_failed = untried
; then
17752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17753 $as_echo "no" >&6; }
17757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
17758 $as_echo_n "checking for liblua... " >&6; }
17760 if test -n "$liblua_CFLAGS"; then
17761 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
17762 elif test -n "$PKG_CONFIG"; then
17763 if test -n "$PKG_CONFIG" && \
17764 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
17765 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
17767 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17768 test $ac_status = 0; }; then
17769 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
17776 if test -n "$liblua_LIBS"; then
17777 pkg_cv_liblua_LIBS
="$liblua_LIBS"
17778 elif test -n "$PKG_CONFIG"; then
17779 if test -n "$PKG_CONFIG" && \
17780 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
17781 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
17783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17784 test $ac_status = 0; }; then
17785 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
17795 if test $pkg_failed = yes; then
17796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17797 $as_echo "no" >&6; }
17799 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17800 _pkg_short_errors_supported
=yes
17802 _pkg_short_errors_supported
=no
17804 if test $_pkg_short_errors_supported = yes; then
17805 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
17807 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
17809 # Put the nasty error message in config.log where it belongs
17810 echo "$liblua_PKG_ERRORS" >&5
17812 as_fn_error $?
"Package requirements (lua-5.1 >= 5.1) were not met:
17816 Consider adjusting the PKG_CONFIG_PATH environment variable if you
17817 installed software in a non-standard prefix.
17819 Alternatively, you may set the environment variables liblua_CFLAGS
17820 and liblua_LIBS to avoid the need to call pkg-config.
17821 See the pkg-config man page for more details." "$LINENO" 5
17822 elif test $pkg_failed = untried
; then
17823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17824 $as_echo "no" >&6; }
17825 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17826 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17827 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
17828 is in your PATH or set the PKG_CONFIG environment variable to the full
17829 path to pkg-config.
17831 Alternatively, you may set the environment variables liblua_CFLAGS
17832 and liblua_LIBS to avoid the need to call pkg-config.
17833 See the pkg-config man page for more details.
17835 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17836 See \`config.log' for more details" "$LINENO" 5; }
17838 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
17839 liblua_LIBS
=$pkg_cv_liblua_LIBS
17840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17841 $as_echo "yes" >&6; }
17846 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
17847 liblua_LIBS
=$pkg_cv_liblua_LIBS
17848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17849 $as_echo "yes" >&6; }
17853 elif test $pkg_failed = untried
; then
17854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17855 $as_echo "no" >&6; }
17859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
17860 $as_echo_n "checking for liblua... " >&6; }
17862 if test -n "$liblua_CFLAGS"; then
17863 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
17864 elif test -n "$PKG_CONFIG"; then
17865 if test -n "$PKG_CONFIG" && \
17866 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
17867 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
17869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17870 test $ac_status = 0; }; then
17871 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua5.1 >= 5.1" 2>/dev/null`
17878 if test -n "$liblua_LIBS"; then
17879 pkg_cv_liblua_LIBS
="$liblua_LIBS"
17880 elif test -n "$PKG_CONFIG"; then
17881 if test -n "$PKG_CONFIG" && \
17882 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
17883 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
17885 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17886 test $ac_status = 0; }; then
17887 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua5.1 >= 5.1" 2>/dev/null`
17897 if test $pkg_failed = yes; then
17898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17899 $as_echo "no" >&6; }
17901 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17902 _pkg_short_errors_supported
=yes
17904 _pkg_short_errors_supported
=no
17906 if test $_pkg_short_errors_supported = yes; then
17907 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua5.1 >= 5.1" 2>&1`
17909 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua5.1 >= 5.1" 2>&1`
17911 # Put the nasty error message in config.log where it belongs
17912 echo "$liblua_PKG_ERRORS" >&5
17917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
17918 $as_echo_n "checking for liblua... " >&6; }
17920 if test -n "$liblua_CFLAGS"; then
17921 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
17922 elif test -n "$PKG_CONFIG"; then
17923 if test -n "$PKG_CONFIG" && \
17924 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
17925 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
17927 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17928 test $ac_status = 0; }; then
17929 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
17936 if test -n "$liblua_LIBS"; then
17937 pkg_cv_liblua_LIBS
="$liblua_LIBS"
17938 elif test -n "$PKG_CONFIG"; then
17939 if test -n "$PKG_CONFIG" && \
17940 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
17941 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
17943 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17944 test $ac_status = 0; }; then
17945 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
17955 if test $pkg_failed = yes; then
17956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17957 $as_echo "no" >&6; }
17959 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17960 _pkg_short_errors_supported
=yes
17962 _pkg_short_errors_supported
=no
17964 if test $_pkg_short_errors_supported = yes; then
17965 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
17967 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
17969 # Put the nasty error message in config.log where it belongs
17970 echo "$liblua_PKG_ERRORS" >&5
17972 as_fn_error $?
"Package requirements (lua-5.1 >= 5.1) were not met:
17976 Consider adjusting the PKG_CONFIG_PATH environment variable if you
17977 installed software in a non-standard prefix.
17979 Alternatively, you may set the environment variables liblua_CFLAGS
17980 and liblua_LIBS to avoid the need to call pkg-config.
17981 See the pkg-config man page for more details." "$LINENO" 5
17982 elif test $pkg_failed = untried
; then
17983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17984 $as_echo "no" >&6; }
17985 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17986 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17987 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
17988 is in your PATH or set the PKG_CONFIG environment variable to the full
17989 path to pkg-config.
17991 Alternatively, you may set the environment variables liblua_CFLAGS
17992 and liblua_LIBS to avoid the need to call pkg-config.
17993 See the pkg-config man page for more details.
17995 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17996 See \`config.log' for more details" "$LINENO" 5; }
17998 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
17999 liblua_LIBS
=$pkg_cv_liblua_LIBS
18000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18001 $as_echo "yes" >&6; }
18005 elif test $pkg_failed = untried
; then
18006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18007 $as_echo "no" >&6; }
18011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18012 $as_echo_n "checking for liblua... " >&6; }
18014 if test -n "$liblua_CFLAGS"; then
18015 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
18016 elif test -n "$PKG_CONFIG"; then
18017 if test -n "$PKG_CONFIG" && \
18018 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18019 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18021 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18022 test $ac_status = 0; }; then
18023 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
18030 if test -n "$liblua_LIBS"; then
18031 pkg_cv_liblua_LIBS
="$liblua_LIBS"
18032 elif test -n "$PKG_CONFIG"; then
18033 if test -n "$PKG_CONFIG" && \
18034 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18035 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18038 test $ac_status = 0; }; then
18039 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
18049 if test $pkg_failed = yes; then
18050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18051 $as_echo "no" >&6; }
18053 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18054 _pkg_short_errors_supported
=yes
18056 _pkg_short_errors_supported
=no
18058 if test $_pkg_short_errors_supported = yes; then
18059 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
18061 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
18063 # Put the nasty error message in config.log where it belongs
18064 echo "$liblua_PKG_ERRORS" >&5
18066 as_fn_error $?
"Package requirements (lua-5.1 >= 5.1) were not met:
18070 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18071 installed software in a non-standard prefix.
18073 Alternatively, you may set the environment variables liblua_CFLAGS
18074 and liblua_LIBS to avoid the need to call pkg-config.
18075 See the pkg-config man page for more details." "$LINENO" 5
18076 elif test $pkg_failed = untried
; then
18077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18078 $as_echo "no" >&6; }
18079 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18080 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18081 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
18082 is in your PATH or set the PKG_CONFIG environment variable to the full
18083 path to pkg-config.
18085 Alternatively, you may set the environment variables liblua_CFLAGS
18086 and liblua_LIBS to avoid the need to call pkg-config.
18087 See the pkg-config man page for more details.
18089 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18090 See \`config.log' for more details" "$LINENO" 5; }
18092 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
18093 liblua_LIBS
=$pkg_cv_liblua_LIBS
18094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18095 $as_echo "yes" >&6; }
18100 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
18101 liblua_LIBS
=$pkg_cv_liblua_LIBS
18102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18103 $as_echo "yes" >&6; }
18108 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
18109 liblua_LIBS
=$pkg_cv_liblua_LIBS
18110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18111 $as_echo "yes" >&6; }
18115 elif test $pkg_failed = untried
; then
18116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18117 $as_echo "no" >&6; }
18121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18122 $as_echo_n "checking for liblua... " >&6; }
18124 if test -n "$liblua_CFLAGS"; then
18125 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
18126 elif test -n "$PKG_CONFIG"; then
18127 if test -n "$PKG_CONFIG" && \
18128 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1\""; } >&5
18129 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1") 2>&5
18131 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18132 test $ac_status = 0; }; then
18133 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua51 >= 5.1" 2>/dev/null`
18140 if test -n "$liblua_LIBS"; then
18141 pkg_cv_liblua_LIBS
="$liblua_LIBS"
18142 elif test -n "$PKG_CONFIG"; then
18143 if test -n "$PKG_CONFIG" && \
18144 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1\""; } >&5
18145 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1") 2>&5
18147 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18148 test $ac_status = 0; }; then
18149 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua51 >= 5.1" 2>/dev/null`
18159 if test $pkg_failed = yes; then
18160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18161 $as_echo "no" >&6; }
18163 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18164 _pkg_short_errors_supported
=yes
18166 _pkg_short_errors_supported
=no
18168 if test $_pkg_short_errors_supported = yes; then
18169 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1" 2>&1`
18171 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua51 >= 5.1" 2>&1`
18173 # Put the nasty error message in config.log where it belongs
18174 echo "$liblua_PKG_ERRORS" >&5
18179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18180 $as_echo_n "checking for liblua... " >&6; }
18182 if test -n "$liblua_CFLAGS"; then
18183 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
18184 elif test -n "$PKG_CONFIG"; then
18185 if test -n "$PKG_CONFIG" && \
18186 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
18187 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
18189 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18190 test $ac_status = 0; }; then
18191 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua5.1 >= 5.1" 2>/dev/null`
18198 if test -n "$liblua_LIBS"; then
18199 pkg_cv_liblua_LIBS
="$liblua_LIBS"
18200 elif test -n "$PKG_CONFIG"; then
18201 if test -n "$PKG_CONFIG" && \
18202 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
18203 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
18205 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18206 test $ac_status = 0; }; then
18207 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua5.1 >= 5.1" 2>/dev/null`
18217 if test $pkg_failed = yes; then
18218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18219 $as_echo "no" >&6; }
18221 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18222 _pkg_short_errors_supported
=yes
18224 _pkg_short_errors_supported
=no
18226 if test $_pkg_short_errors_supported = yes; then
18227 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua5.1 >= 5.1" 2>&1`
18229 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua5.1 >= 5.1" 2>&1`
18231 # Put the nasty error message in config.log where it belongs
18232 echo "$liblua_PKG_ERRORS" >&5
18237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18238 $as_echo_n "checking for liblua... " >&6; }
18240 if test -n "$liblua_CFLAGS"; then
18241 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
18242 elif test -n "$PKG_CONFIG"; then
18243 if test -n "$PKG_CONFIG" && \
18244 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18245 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18247 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18248 test $ac_status = 0; }; then
18249 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
18256 if test -n "$liblua_LIBS"; then
18257 pkg_cv_liblua_LIBS
="$liblua_LIBS"
18258 elif test -n "$PKG_CONFIG"; then
18259 if test -n "$PKG_CONFIG" && \
18260 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18261 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18263 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18264 test $ac_status = 0; }; then
18265 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
18275 if test $pkg_failed = yes; then
18276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18277 $as_echo "no" >&6; }
18279 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18280 _pkg_short_errors_supported
=yes
18282 _pkg_short_errors_supported
=no
18284 if test $_pkg_short_errors_supported = yes; then
18285 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
18287 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
18289 # Put the nasty error message in config.log where it belongs
18290 echo "$liblua_PKG_ERRORS" >&5
18292 as_fn_error $?
"Package requirements (lua-5.1 >= 5.1) were not met:
18296 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18297 installed software in a non-standard prefix.
18299 Alternatively, you may set the environment variables liblua_CFLAGS
18300 and liblua_LIBS to avoid the need to call pkg-config.
18301 See the pkg-config man page for more details." "$LINENO" 5
18302 elif test $pkg_failed = untried
; then
18303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18304 $as_echo "no" >&6; }
18305 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18306 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18307 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
18308 is in your PATH or set the PKG_CONFIG environment variable to the full
18309 path to pkg-config.
18311 Alternatively, you may set the environment variables liblua_CFLAGS
18312 and liblua_LIBS to avoid the need to call pkg-config.
18313 See the pkg-config man page for more details.
18315 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18316 See \`config.log' for more details" "$LINENO" 5; }
18318 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
18319 liblua_LIBS
=$pkg_cv_liblua_LIBS
18320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18321 $as_echo "yes" >&6; }
18325 elif test $pkg_failed = untried
; then
18326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18327 $as_echo "no" >&6; }
18331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18332 $as_echo_n "checking for liblua... " >&6; }
18334 if test -n "$liblua_CFLAGS"; then
18335 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
18336 elif test -n "$PKG_CONFIG"; then
18337 if test -n "$PKG_CONFIG" && \
18338 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18339 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18341 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18342 test $ac_status = 0; }; then
18343 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
18350 if test -n "$liblua_LIBS"; then
18351 pkg_cv_liblua_LIBS
="$liblua_LIBS"
18352 elif test -n "$PKG_CONFIG"; then
18353 if test -n "$PKG_CONFIG" && \
18354 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18355 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18357 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18358 test $ac_status = 0; }; then
18359 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
18369 if test $pkg_failed = yes; then
18370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18371 $as_echo "no" >&6; }
18373 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18374 _pkg_short_errors_supported
=yes
18376 _pkg_short_errors_supported
=no
18378 if test $_pkg_short_errors_supported = yes; then
18379 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
18381 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
18383 # Put the nasty error message in config.log where it belongs
18384 echo "$liblua_PKG_ERRORS" >&5
18386 as_fn_error $?
"Package requirements (lua-5.1 >= 5.1) were not met:
18390 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18391 installed software in a non-standard prefix.
18393 Alternatively, you may set the environment variables liblua_CFLAGS
18394 and liblua_LIBS to avoid the need to call pkg-config.
18395 See the pkg-config man page for more details." "$LINENO" 5
18396 elif test $pkg_failed = untried
; then
18397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18398 $as_echo "no" >&6; }
18399 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18400 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18401 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
18402 is in your PATH or set the PKG_CONFIG environment variable to the full
18403 path to pkg-config.
18405 Alternatively, you may set the environment variables liblua_CFLAGS
18406 and liblua_LIBS to avoid the need to call pkg-config.
18407 See the pkg-config man page for more details.
18409 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18410 See \`config.log' for more details" "$LINENO" 5; }
18412 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
18413 liblua_LIBS
=$pkg_cv_liblua_LIBS
18414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18415 $as_echo "yes" >&6; }
18420 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
18421 liblua_LIBS
=$pkg_cv_liblua_LIBS
18422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18423 $as_echo "yes" >&6; }
18427 elif test $pkg_failed = untried
; then
18428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18429 $as_echo "no" >&6; }
18433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18434 $as_echo_n "checking for liblua... " >&6; }
18436 if test -n "$liblua_CFLAGS"; then
18437 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
18438 elif test -n "$PKG_CONFIG"; then
18439 if test -n "$PKG_CONFIG" && \
18440 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
18441 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
18443 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18444 test $ac_status = 0; }; then
18445 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua5.1 >= 5.1" 2>/dev/null`
18452 if test -n "$liblua_LIBS"; then
18453 pkg_cv_liblua_LIBS
="$liblua_LIBS"
18454 elif test -n "$PKG_CONFIG"; then
18455 if test -n "$PKG_CONFIG" && \
18456 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
18457 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
18459 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18460 test $ac_status = 0; }; then
18461 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua5.1 >= 5.1" 2>/dev/null`
18471 if test $pkg_failed = yes; then
18472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18473 $as_echo "no" >&6; }
18475 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18476 _pkg_short_errors_supported
=yes
18478 _pkg_short_errors_supported
=no
18480 if test $_pkg_short_errors_supported = yes; then
18481 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua5.1 >= 5.1" 2>&1`
18483 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua5.1 >= 5.1" 2>&1`
18485 # Put the nasty error message in config.log where it belongs
18486 echo "$liblua_PKG_ERRORS" >&5
18491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18492 $as_echo_n "checking for liblua... " >&6; }
18494 if test -n "$liblua_CFLAGS"; then
18495 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
18496 elif test -n "$PKG_CONFIG"; then
18497 if test -n "$PKG_CONFIG" && \
18498 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18499 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18501 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18502 test $ac_status = 0; }; then
18503 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
18510 if test -n "$liblua_LIBS"; then
18511 pkg_cv_liblua_LIBS
="$liblua_LIBS"
18512 elif test -n "$PKG_CONFIG"; then
18513 if test -n "$PKG_CONFIG" && \
18514 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18515 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18517 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18518 test $ac_status = 0; }; then
18519 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
18529 if test $pkg_failed = yes; then
18530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18531 $as_echo "no" >&6; }
18533 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18534 _pkg_short_errors_supported
=yes
18536 _pkg_short_errors_supported
=no
18538 if test $_pkg_short_errors_supported = yes; then
18539 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
18541 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
18543 # Put the nasty error message in config.log where it belongs
18544 echo "$liblua_PKG_ERRORS" >&5
18546 as_fn_error $?
"Package requirements (lua-5.1 >= 5.1) were not met:
18550 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18551 installed software in a non-standard prefix.
18553 Alternatively, you may set the environment variables liblua_CFLAGS
18554 and liblua_LIBS to avoid the need to call pkg-config.
18555 See the pkg-config man page for more details." "$LINENO" 5
18556 elif test $pkg_failed = untried
; then
18557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18558 $as_echo "no" >&6; }
18559 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18560 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18561 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
18562 is in your PATH or set the PKG_CONFIG environment variable to the full
18563 path to pkg-config.
18565 Alternatively, you may set the environment variables liblua_CFLAGS
18566 and liblua_LIBS to avoid the need to call pkg-config.
18567 See the pkg-config man page for more details.
18569 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18570 See \`config.log' for more details" "$LINENO" 5; }
18572 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
18573 liblua_LIBS
=$pkg_cv_liblua_LIBS
18574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18575 $as_echo "yes" >&6; }
18579 elif test $pkg_failed = untried
; then
18580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18581 $as_echo "no" >&6; }
18585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18586 $as_echo_n "checking for liblua... " >&6; }
18588 if test -n "$liblua_CFLAGS"; then
18589 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
18590 elif test -n "$PKG_CONFIG"; then
18591 if test -n "$PKG_CONFIG" && \
18592 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18593 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18595 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18596 test $ac_status = 0; }; then
18597 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
18604 if test -n "$liblua_LIBS"; then
18605 pkg_cv_liblua_LIBS
="$liblua_LIBS"
18606 elif test -n "$PKG_CONFIG"; then
18607 if test -n "$PKG_CONFIG" && \
18608 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18609 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18612 test $ac_status = 0; }; then
18613 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
18623 if test $pkg_failed = yes; then
18624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18625 $as_echo "no" >&6; }
18627 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18628 _pkg_short_errors_supported
=yes
18630 _pkg_short_errors_supported
=no
18632 if test $_pkg_short_errors_supported = yes; then
18633 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
18635 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
18637 # Put the nasty error message in config.log where it belongs
18638 echo "$liblua_PKG_ERRORS" >&5
18640 as_fn_error $?
"Package requirements (lua-5.1 >= 5.1) were not met:
18644 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18645 installed software in a non-standard prefix.
18647 Alternatively, you may set the environment variables liblua_CFLAGS
18648 and liblua_LIBS to avoid the need to call pkg-config.
18649 See the pkg-config man page for more details." "$LINENO" 5
18650 elif test $pkg_failed = untried
; then
18651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18652 $as_echo "no" >&6; }
18653 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18654 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18655 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
18656 is in your PATH or set the PKG_CONFIG environment variable to the full
18657 path to pkg-config.
18659 Alternatively, you may set the environment variables liblua_CFLAGS
18660 and liblua_LIBS to avoid the need to call pkg-config.
18661 See the pkg-config man page for more details.
18663 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18664 See \`config.log' for more details" "$LINENO" 5; }
18666 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
18667 liblua_LIBS
=$pkg_cv_liblua_LIBS
18668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18669 $as_echo "yes" >&6; }
18674 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
18675 liblua_LIBS
=$pkg_cv_liblua_LIBS
18676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18677 $as_echo "yes" >&6; }
18682 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
18683 liblua_LIBS
=$pkg_cv_liblua_LIBS
18684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18685 $as_echo "yes" >&6; }
18690 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
18691 liblua_LIBS
=$pkg_cv_liblua_LIBS
18692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18693 $as_echo "yes" >&6; }
18696 # Check whether --enable-silent-rules was given.
18697 if test "${enable_silent_rules+set}" = set; then :
18698 enableval
=$enable_silent_rules;
18701 case $enable_silent_rules in
18702 yes) AM_DEFAULT_VERBOSITY
=0;;
18703 no
) AM_DEFAULT_VERBOSITY
=1;;
18704 *) AM_DEFAULT_VERBOSITY
=0;;
18709 # Checks for header files.
18710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
18711 $as_echo_n "checking for ANSI C header files... " >&6; }
18712 if ${ac_cv_header_stdc+:} false; then :
18713 $as_echo_n "(cached) " >&6
18715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18716 /* end confdefs.h. */
18717 #include <stdlib.h>
18718 #include <stdarg.h>
18719 #include <string.h>
18730 if ac_fn_c_try_compile "$LINENO"; then :
18731 ac_cv_header_stdc=yes
18733 ac_cv_header_stdc=no
18735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18737 if test $ac_cv_header_stdc = yes; then
18738 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18740 /* end confdefs.h. */
18741 #include <string.h>
18744 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18745 $EGREP "memchr" >/dev/null 2>&1; then :
18748 ac_cv_header_stdc=no
18754 if test $ac_cv_header_stdc = yes; then
18755 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18757 /* end confdefs.h. */
18758 #include <stdlib.h>
18761 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18762 $EGREP "free" >/dev/null 2>&1; then :
18765 ac_cv_header_stdc=no
18771 if test $ac_cv_header_stdc = yes; then
18772 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18773 if test "$cross_compiling" = yes; then :
18776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18777 /* end confdefs.h. */
18779 #include <stdlib.h>
18780 #if ((' ' & 0x0FF) == 0x020)
18781 # define ISLOWER(c) ('a
' <= (c) && (c) <= 'z
')
18782 # define TOUPPER(c) (ISLOWER(c) ? 'A
' + ((c) - 'a
') : (c))
18784 # define ISLOWER(c) \
18785 (('a
' <= (c) && (c) <= 'i
') \
18786 || ('j
' <= (c) && (c) <= 'r
') \
18787 || ('s
' <= (c) && (c) <= 'z
'))
18788 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18791 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18796 for (i = 0; i < 256; i++)
18797 if (XOR (islower (i), ISLOWER (i))
18798 || toupper (i) != TOUPPER (i))
18803 if ac_fn_c_try_run "$LINENO"; then :
18806 ac_cv_header_stdc=no
18808 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18809 conftest.$ac_objext conftest.beam conftest.$ac_ext
18814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
18815 $as_echo "$ac_cv_header_stdc" >&6; }
18816 if test $ac_cv_header_stdc = yes; then
18818 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
18821 # `stdlib.h', `stdarg.h', `string.h
', ...
18822 for ac_header in memory.h stdint.h stdlib.h limits.h stddef.h
18824 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18825 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18826 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18827 cat >>confdefs.h <<_ACEOF
18828 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18836 # Checks for typedefs, structures, and compiler characteristics.
18837 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
18838 if test "x$ac_cv_type_size_t" = xyes; then :
18842 cat >>confdefs.h <<_ACEOF
18843 #define size_t unsigned int
18848 ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
18849 case $ac_cv_c_uint32_t in #(
18853 $as_echo "#define _UINT32_T 1" >>confdefs.h
18856 cat >>confdefs.h <<_ACEOF
18857 #define uint32_t $ac_cv_c_uint32_t
18862 ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
18863 case $ac_cv_c_uint64_t in #(
18867 $as_echo "#define _UINT64_T 1" >>confdefs.h
18870 cat >>confdefs.h <<_ACEOF
18871 #define uint64_t $ac_cv_c_uint64_t
18876 ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
18877 case $ac_cv_c_uint8_t in #(
18881 $as_echo "#define _UINT8_T 1" >>confdefs.h
18884 cat >>confdefs.h <<_ACEOF
18885 #define uint8_t $ac_cv_c_uint8_t
18890 ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
18891 if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
18893 cat >>confdefs.h <<_ACEOF
18894 #define HAVE_PTRDIFF_T 1
18901 # Checks for library functions.
18902 if test x"$host_w32" = "xno" ; then
18903 for ac_header in stdlib.h
18905 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
18906 if test "x$ac_cv_header_stdlib_h" = xyes; then :
18907 cat >>confdefs.h <<_ACEOF
18908 #define HAVE_STDLIB_H 1
18915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
18916 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
18917 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
18918 $as_echo_n "(cached) " >&6
18920 if test "$cross_compiling" = yes; then :
18921 ac_cv_func_malloc_0_nonnull=no
18923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18924 /* end confdefs.h. */
18925 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
18926 # include <stdlib.h>
18934 return ! malloc (0);
18939 if ac_fn_c_try_run "$LINENO"; then :
18940 ac_cv_func_malloc_0_nonnull=yes
18942 ac_cv_func_malloc_0_nonnull=no
18944 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18945 conftest.$ac_objext conftest.beam conftest.$ac_ext
18949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
18950 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
18951 if test $ac_cv_func_malloc_0_nonnull = yes; then :
18953 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
18956 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
18958 case " $LIBOBJS " in
18959 *" malloc.$ac_objext "* ) ;;
18960 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
18965 $as_echo "#define malloc rpl_malloc" >>confdefs.h
18970 for ac_header in stdlib.h
18972 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
18973 if test "x$ac_cv_header_stdlib_h" = xyes; then :
18974 cat >>confdefs.h <<_ACEOF
18975 #define HAVE_STDLIB_H 1
18982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
18983 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
18984 if ${ac_cv_func_realloc_0_nonnull+:} false; then :
18985 $as_echo_n "(cached) " >&6
18987 if test "$cross_compiling" = yes; then :
18988 ac_cv_func_realloc_0_nonnull=no
18990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18991 /* end confdefs.h. */
18992 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
18993 # include <stdlib.h>
19001 return ! realloc (0, 0);
19006 if ac_fn_c_try_run "$LINENO"; then :
19007 ac_cv_func_realloc_0_nonnull=yes
19009 ac_cv_func_realloc_0_nonnull=no
19011 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19012 conftest.$ac_objext conftest.beam conftest.$ac_ext
19016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
19017 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
19018 if test $ac_cv_func_realloc_0_nonnull = yes; then :
19020 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
19023 $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
19025 case " $LIBOBJS " in
19026 *" realloc.$ac_objext "* ) ;;
19027 *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
19032 $as_echo "#define realloc rpl_realloc" >>confdefs.h
19038 for ac_func in memset strdup strstr strtol strerror strcspn getcwd strchr strrchr strspn
19040 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19041 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19042 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19043 cat >>confdefs.h <<_ACEOF
19044 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5
19051 $as_echo_n "checking for working strtod... " >&6; }
19052 if ${ac_cv_func_strtod+:} false; then :
19053 $as_echo_n "(cached) " >&6
19055 if test "$cross_compiling" = yes; then :
19056 ac_cv_func_strtod=no
19058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19059 /* end confdefs.h. */
19061 $ac_includes_default
19069 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
19070 char *string = " +69";
19073 value = strtod (string, &term);
19074 if (value != 69 || term != (string + 4))
19079 /* Under Solaris 2.4, strtod returns the wrong value for the
19080 terminating character under some conditions. */
19081 char *string = "NaN";
19083 strtod (string, &term);
19084 if (term != string && *(term - 1) == 0)
19091 if ac_fn_c_try_run "$LINENO"; then :
19092 ac_cv_func_strtod=yes
19094 ac_cv_func_strtod=no
19096 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19097 conftest.$ac_objext conftest.beam conftest.$ac_ext
19101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strtod" >&5
19102 $as_echo "$ac_cv_func_strtod" >&6; }
19103 if test $ac_cv_func_strtod = no; then
19104 case " $LIBOBJS " in
19105 *" strtod.$ac_objext "* ) ;;
19106 *) LIBOBJS="$LIBOBJS strtod.$ac_objext"
19110 ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow"
19111 if test "x$ac_cv_func_pow" = xyes; then :
19115 if test $ac_cv_func_pow = no; then
19116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
19117 $as_echo_n "checking for pow in -lm... " >&6; }
19118 if ${ac_cv_lib_m_pow+:} false; then :
19119 $as_echo_n "(cached) " >&6
19121 ac_check_lib_save_LIBS=$LIBS
19123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19124 /* end confdefs.h. */
19126 /* Override any GCC internal prototype to avoid an error.
19127 Use char because int might match the return type of a GCC
19128 builtin and then its argument prototype would still apply. */
19141 if ac_fn_c_try_link "$LINENO"; then :
19142 ac_cv_lib_m_pow=yes
19146 rm -f core conftest.err conftest.$ac_objext \
19147 conftest$ac_exeext conftest.$ac_ext
19148 LIBS=$ac_check_lib_save_LIBS
19150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
19151 $as_echo "$ac_cv_lib_m_pow" >&6; }
19152 if test "x$ac_cv_lib_m_pow" = xyes; then :
19155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5
19156 $as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
19165 for ac_func in vasprintf
19167 ac_fn_c_check_func "$LINENO" "vasprintf" "ac_cv_func_vasprintf"
19168 if test "x$ac_cv_func_vasprintf" = xyes; then :
19169 cat >>confdefs.h <<_ACEOF
19170 #define HAVE_VASPRINTF 1
19173 for ac_func in asprintf
19175 ac_fn_c_check_func "$LINENO" "asprintf" "ac_cv_func_asprintf"
19176 if test "x$ac_cv_func_asprintf" = xyes; then :
19177 cat >>confdefs.h <<_ACEOF
19178 #define HAVE_ASPRINTF 1
19188 if test x"$have_asprintf" != "xyes"; then
19190 NO_ASPRINTF_FALSE='#'
19192 NO_ASPRINTF_TRUE
='#'
19198 # Check whether --enable-quvi was given.
19199 if test "${enable_quvi+set}" = set; then :
19200 enableval
=$enable_quvi;
19205 if test x
"$enable_quvi" != "xno"; then
19207 ENABLE_QUVI_FALSE
='#'
19209 ENABLE_QUVI_TRUE
='#'
19214 # --enable-examples
19215 # Check whether --enable-examples was given.
19216 if test "${enable_examples+set}" = set; then :
19217 enableval
=$enable_examples;
19222 if test x
"$enable_examples" != "xno"; then
19223 ENABLE_EXAMPLES_TRUE
=
19224 ENABLE_EXAMPLES_FALSE
='#'
19226 ENABLE_EXAMPLES_TRUE
='#'
19227 ENABLE_EXAMPLES_FALSE
=
19232 # Check whether --enable-tests was given.
19233 if test "${enable_tests+set}" = set; then :
19234 enableval
=$enable_tests;
19239 if test x
"$enable_tests" != "xno"; then
19241 ENABLE_TESTS_FALSE
='#'
19243 ENABLE_TESTS_TRUE
='#'
19244 ENABLE_TESTS_FALSE
=
19248 # --enable-verbose-tests
19249 # Check whether --enable-verbose-tests was given.
19250 if test "${enable_verbose_tests+set}" = set; then :
19251 enableval
=$enable_verbose_tests;
19253 enable_verbose_tests
=no
19256 if test x
"$enable_verbose_tests" != "xno"; then
19257 ENABLE_VERBOSE_TESTS_TRUE
=
19258 ENABLE_VERBOSE_TESTS_FALSE
='#'
19260 ENABLE_VERBOSE_TESTS_TRUE
='#'
19261 ENABLE_VERBOSE_TESTS_FALSE
=
19266 # Check whether --enable-nsfw was given.
19267 if test "${enable_nsfw+set}" = set; then :
19268 enableval
=$enable_nsfw;
19273 if test x
"$enable_nsfw" != "xno"; then
19275 ENABLE_NSFW_FALSE
='#'
19277 ENABLE_NSFW_TRUE
='#'
19282 if test x
"$enable_nsfw" != "xno" ; then
19284 $as_echo "#define ENABLE_NSFW 1" >>confdefs.h
19289 # Check whether --enable-todo was given.
19290 if test "${enable_todo+set}" = set; then :
19291 enableval
=$enable_todo;
19296 if test x
"$enable_todo" != "xno"; then
19298 ENABLE_TODO_FALSE
='#'
19300 ENABLE_TODO_TRUE
='#'
19305 if test x
"$enable_todo" != "xno" ; then
19307 $as_echo "#define ENABLE_TODO 1" >>confdefs.h
19312 # Check whether --enable-nlfy was given.
19313 if test "${enable_nlfy+set}" = set; then :
19314 enableval
=$enable_nlfy;
19319 if test x
"$enable_nlfy" != "xno"; then
19321 ENABLE_NLFY_FALSE
='#'
19323 ENABLE_NLFY_TRUE
='#'
19330 # Check whether --with-man was given.
19331 if test "${with_man+set}" = set; then :
19337 if test x
"$with_man" != "xno"; then
19348 # Check whether --with-doc was given.
19349 if test "${with_doc+set}" = set; then :
19355 if test x
"$with_doc" != "xno"; then
19365 if test x
"$with_gnu_ld" = "xyes"; then
19367 HAVE_GNU_LD_FALSE
='#'
19369 HAVE_GNU_LD_TRUE
='#'
19374 ac_config_files
="$ac_config_files Makefile include/Makefile include/quvi/Makefile include/quvi/quvi.h lib/Makefile man1/Makefile share/Makefile doc/Makefile src/Makefile examples/Makefile tests/Makefile scripts/Makefile libquvi.pc doxygen.conf"
19377 cat >confcache
<<\_ACEOF
19378 # This file is a shell script that caches the results of configure
19379 # tests run on this system so they can be shared between configure
19380 # scripts and configure runs, see configure's option --config-cache.
19381 # It is not useful on other systems. If it contains results you don't
19382 # want to keep, you may remove or edit it.
19384 # config.status only pays attention to the cache file if you give it
19385 # the --recheck option to rerun configure.
19387 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19388 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19389 # following values.
19393 # The following way of writing the cache mishandles newlines in values,
19394 # but we know of no workaround that is simple, portable, and efficient.
19395 # So, we kill variables containing newlines.
19396 # Ultrix sh set writes to stderr and can't be redirected directly,
19397 # and sets the high bit in the cache file unless we assign to the vars.
19399 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19400 eval ac_val
=\$
$ac_var
19404 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19405 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19408 _ | IFS | as_nl
) ;; #(
19409 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
19410 *) { eval $ac_var=; unset $ac_var;} ;;
19416 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19417 *${as_nl}ac_space
=\
*)
19418 # `set' does not quote correctly, so add quotes: double-quote
19419 # substitution turns \\\\ into \\, and sed turns \\ into \.
19422 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19425 # `set' quotes correctly as required by POSIX, so do not add quotes.
19426 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19435 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19437 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19439 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
19440 if test -w "$cache_file"; then
19441 if test "x$cache_file" != "x/dev/null"; then
19442 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19443 $as_echo "$as_me: updating cache $cache_file" >&6;}
19444 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
19445 cat confcache
>"$cache_file"
19447 case $cache_file in #(
19449 mv -f confcache
"$cache_file"$$
&&
19450 mv -f "$cache_file"$$
"$cache_file" ;; #(
19452 mv -f confcache
"$cache_file" ;;
19457 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19458 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19463 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19464 # Let make expand exec_prefix.
19465 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19467 DEFS
=-DHAVE_CONFIG_H
19472 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
19473 # 1. Remove the extension, and $U if already installed.
19474 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
19475 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
19476 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19477 # will be set to the directory where LIBOBJS objects are built.
19478 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19479 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
19481 LIBOBJS
=$ac_libobjs
19483 LTLIBOBJS
=$ac_ltlibobjs
19486 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19487 as_fn_error $?
"conditional \"AMDEP\" was never defined.
19488 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19490 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19491 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
19492 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19494 if test -n "$EXEEXT"; then
19496 am__EXEEXT_FALSE
='#'
19498 am__EXEEXT_TRUE
='#'
19502 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19503 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
19504 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19506 if test -z "${HAVE_GENGETOPT_TRUE}" && test -z "${HAVE_GENGETOPT_FALSE}"; then
19507 as_fn_error $?
"conditional \"HAVE_GENGETOPT\" was never defined.
19508 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19510 if test -z "${HAVE_DOXYGEN_TRUE}" && test -z "${HAVE_DOXYGEN_FALSE}"; then
19511 as_fn_error $?
"conditional \"HAVE_DOXYGEN\" was never defined.
19512 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19514 if test -z "${HAVE_PROVE_TRUE}" && test -z "${HAVE_PROVE_FALSE}"; then
19515 as_fn_error $?
"conditional \"HAVE_PROVE\" was never defined.
19516 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19518 if test -z "${HAVE_VALGRIND_TRUE}" && test -z "${HAVE_VALGRIND_FALSE}"; then
19519 as_fn_error $?
"conditional \"HAVE_VALGRIND\" was never defined.
19520 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19522 if test -z "${HAVE_POD2MAN_TRUE}" && test -z "${HAVE_POD2MAN_FALSE}"; then
19523 as_fn_error $?
"conditional \"HAVE_POD2MAN\" was never defined.
19524 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19526 if test -z "${HAVE_POD2HTML_TRUE}" && test -z "${HAVE_POD2HTML_FALSE}"; then
19527 as_fn_error $?
"conditional \"HAVE_POD2HTML\" was never defined.
19528 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19530 if test -z "${NO_ASPRINTF_TRUE}" && test -z "${NO_ASPRINTF_FALSE}"; then
19531 as_fn_error $?
"conditional \"NO_ASPRINTF\" was never defined.
19532 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19534 if test -z "${ENABLE_QUVI_TRUE}" && test -z "${ENABLE_QUVI_FALSE}"; then
19535 as_fn_error $?
"conditional \"ENABLE_QUVI\" was never defined.
19536 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19538 if test -z "${ENABLE_EXAMPLES_TRUE}" && test -z "${ENABLE_EXAMPLES_FALSE}"; then
19539 as_fn_error $?
"conditional \"ENABLE_EXAMPLES\" was never defined.
19540 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19542 if test -z "${ENABLE_TESTS_TRUE}" && test -z "${ENABLE_TESTS_FALSE}"; then
19543 as_fn_error $?
"conditional \"ENABLE_TESTS\" was never defined.
19544 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19546 if test -z "${ENABLE_VERBOSE_TESTS_TRUE}" && test -z "${ENABLE_VERBOSE_TESTS_FALSE}"; then
19547 as_fn_error $?
"conditional \"ENABLE_VERBOSE_TESTS\" was never defined.
19548 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19550 if test -z "${ENABLE_NSFW_TRUE}" && test -z "${ENABLE_NSFW_FALSE}"; then
19551 as_fn_error $?
"conditional \"ENABLE_NSFW\" was never defined.
19552 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19554 if test -z "${ENABLE_TODO_TRUE}" && test -z "${ENABLE_TODO_FALSE}"; then
19555 as_fn_error $?
"conditional \"ENABLE_TODO\" was never defined.
19556 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19558 if test -z "${ENABLE_NLFY_TRUE}" && test -z "${ENABLE_NLFY_FALSE}"; then
19559 as_fn_error $?
"conditional \"ENABLE_NLFY\" was never defined.
19560 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19562 if test -z "${WITH_MAN_TRUE}" && test -z "${WITH_MAN_FALSE}"; then
19563 as_fn_error $?
"conditional \"WITH_MAN\" was never defined.
19564 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19566 if test -z "${WITH_DOC_TRUE}" && test -z "${WITH_DOC_FALSE}"; then
19567 as_fn_error $?
"conditional \"WITH_DOC\" was never defined.
19568 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19570 if test -z "${HAVE_GNU_LD_TRUE}" && test -z "${HAVE_GNU_LD_FALSE}"; then
19571 as_fn_error $?
"conditional \"HAVE_GNU_LD\" was never defined.
19572 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19575 : "${CONFIG_STATUS=./config.status}"
19577 ac_clean_files_save
=$ac_clean_files
19578 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
19579 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19580 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19582 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19584 # Generated by $as_me.
19585 # Run this file to recreate the current configuration.
19586 # Compiler output produced by configure, useful for debugging
19587 # configure, is in config.log if it exists.
19590 ac_cs_recheck=false
19593 SHELL=\${CONFIG_SHELL-$SHELL}
19596 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
19597 ## -------------------- ##
19598 ## M4sh Initialization. ##
19599 ## -------------------- ##
19601 # Be more Bourne compatible
19602 DUALCASE
=1; export DUALCASE
# for MKS sh
19603 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
19606 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19607 # is contrary to our usage. Disable this feature.
19608 alias -g '${1+"$@"}'='"$@"'
19609 setopt NO_GLOB_SUBST
19611 case `(set -o) 2>/dev/null` in #(
19623 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19624 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19625 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19626 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19627 # Prefer a ksh shell builtin over an external printf program on Solaris,
19628 # but without wasting forks for bash or zsh.
19629 if test -z "$BASH_VERSION$ZSH_VERSION" \
19630 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19631 as_echo='print
-r --'
19632 as_echo_n='print
-rn --'
19633 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19634 as_echo='printf %s
\n'
19635 as_echo_n='printf %s
'
19637 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19638 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
19639 as_echo_n='/usr
/ucb
/echo -n'
19641 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19642 as_echo_n_body='eval
19646 expr "X$arg" : "X\\(.*\\)$as_nl";
19647 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19649 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
19651 export as_echo_n_body
19652 as_echo_n='sh
-c $as_echo_n_body as_echo
'
19654 export as_echo_body
19655 as_echo='sh
-c $as_echo_body as_echo
'
19658 # The user is always right.
19659 if test "${PATH_SEPARATOR+set}" != set; then
19661 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19662 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19669 # We need space, tab and new line, in precisely that order. Quoting is
19670 # there to prevent editors from complaining about space-tab.
19671 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19672 # splitting by setting IFS to empty value.)
19675 # Find who we are. Look in the path if we contain no directory separator.
19678 *[\\/]* ) as_myself=$0 ;;
19679 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19680 for as_dir in $PATH
19683 test -z "$as_dir" && as_dir=.
19684 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19690 # We did not find ourselves, most probably we were run as `sh COMMAND'
19691 # in which case we are not to be found in the path.
19692 if test "x$as_myself" = x
; then
19695 if test ! -f "$as_myself"; then
19696 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19700 # Unset variables that we do not need and which cause bugs (e.g. in
19701 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19702 # suppresses any "Segmentation fault" message there. '((' could
19703 # trigger a bug in pdksh 5.2.14.
19704 for as_var
in BASH_ENV ENV MAIL MAILPATH
19705 do eval test x\
${$as_var+set} = xset \
19706 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
19719 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
19722 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19723 # ----------------------------------------
19724 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19725 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19726 # script with STATUS, using 1 if that was 0.
19729 as_status
=$1; test $as_status -eq 0 && as_status
=1
19731 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
19732 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19734 $as_echo "$as_me: error: $2" >&2
19735 as_fn_exit
$as_status
19739 # as_fn_set_status STATUS
19740 # -----------------------
19741 # Set $? to STATUS, without forking.
19742 as_fn_set_status
()
19745 } # as_fn_set_status
19747 # as_fn_exit STATUS
19748 # -----------------
19749 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19753 as_fn_set_status
$1
19759 # Portably unset VAR.
19762 { eval $1=; unset $1;}
19764 as_unset
=as_fn_unset
19765 # as_fn_append VAR VALUE
19766 # ----------------------
19767 # Append the text in VALUE to the end of the definition contained in VAR. Take
19768 # advantage of any shell optimizations that allow amortized linear growth over
19769 # repeated appends, instead of the typical quadratic growth present in naive
19771 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
19772 eval 'as_fn_append ()
19783 # as_fn_arith ARG...
19784 # ------------------
19785 # Perform arithmetic evaluation on the ARGs, and store the result in the
19786 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19787 # must be portable across $(()) and expr.
19788 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
19789 eval 'as_fn_arith ()
19796 as_val
=`expr "$@" || test $? -eq 1`
19801 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
19802 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
19808 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19809 as_basename
=basename
19814 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
19820 as_me
=`$as_basename -- "$0" ||
19821 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19822 X"$0" : 'X\(//\)$' \| \
19823 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19825 sed '/^.*\/\([^/][^/]*\)\/*$/{
19839 # Avoid depending upon Character Ranges.
19840 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
19841 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19842 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
19843 as_cr_digits
='0123456789'
19844 as_cr_alnum
=$as_cr_Letters$as_cr_digits
19846 ECHO_C
= ECHO_N
= ECHO_T
=
19847 case `echo -n x` in #(((((
19849 case `echo 'xy\c'` in
19850 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
19852 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
19859 rm -f conf$$ conf$$.exe conf$$.
file
19860 if test -d conf$$.dir
; then
19861 rm -f conf$$.dir
/conf$$.
file
19864 mkdir conf$$.dir
2>/dev
/null
19866 if (echo >conf$$.
file) 2>/dev
/null
; then
19867 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
19869 # ... but there are two gotchas:
19870 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19871 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19872 # In both cases, we have to default to `cp -p'.
19873 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
19875 elif ln conf$$.
file conf$$
2>/dev
/null
; then
19883 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
19884 rmdir conf$$.dir
2>/dev
/null
19889 # Create "$as_dir" as a directory, including parents if necessary.
19894 -*) as_dir
=.
/$as_dir;;
19896 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
19900 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19901 *) as_qdir
=$as_dir;;
19903 as_dirs
="'$as_qdir' $as_dirs"
19904 as_dir
=`$as_dirname -- "$as_dir" ||
19905 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19906 X"$as_dir" : 'X\(//\)[^/]' \| \
19907 X"$as_dir" : 'X\(//\)$' \| \
19908 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19909 $as_echo X"$as_dir" |
19910 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19914 /^X\(\/\/\)[^/].*/{
19927 test -d "$as_dir" && break
19929 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
19930 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
19934 if mkdir
-p .
2>/dev
/null
; then
19935 as_mkdir_p
='mkdir -p "$as_dir"'
19937 test -d .
/-p && rmdir .
/-p
19941 if test -x / >/dev
/null
2>&1; then
19942 as_test_x
='test -x'
19944 if ls -dL / >/dev
/null
2>&1; then
19951 if test -d "$1"; then
19957 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
19958 ???[sx]*):;;*)false;;esac;fi
19962 as_executable_p
=$as_test_x
19964 # Sed expression to map a string onto a valid CPP name.
19965 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19967 # Sed expression to map a string onto a valid variable name.
19968 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19972 ## ----------------------------------- ##
19973 ## Main body of $CONFIG_STATUS script. ##
19974 ## ----------------------------------- ##
19976 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
19978 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19979 # Save the log message, to keep $0 and so on meaningful, and to
19980 # report actual input values of CONFIG_FILES etc. instead of their
19981 # values after options handling.
19983 This file was extended by quvi $as_me 0.2.15, which was
19984 generated by GNU Autoconf 2.68. Invocation command line was
19986 CONFIG_FILES = $CONFIG_FILES
19987 CONFIG_HEADERS = $CONFIG_HEADERS
19988 CONFIG_LINKS = $CONFIG_LINKS
19989 CONFIG_COMMANDS = $CONFIG_COMMANDS
19992 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19997 case $ac_config_files in *"
19998 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
20001 case $ac_config_headers in *"
20002 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
20006 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20007 # Files that config.status was made for.
20008 config_files="$ac_config_files"
20009 config_headers="$ac_config_headers"
20010 config_commands="$ac_config_commands"
20014 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20016 \`$as_me' instantiates files and other configuration actions
20017 from templates according to the current configuration. Unless the files
20018 and actions are specified as TAGs, all are instantiated by default.
20020 Usage: $0 [OPTION]... [TAG]...
20022 -h, --help print this help, then exit
20023 -V, --version print version number and configuration settings, then exit
20024 --config print configuration, then exit
20025 -q, --quiet, --silent
20026 do not print progress messages
20027 -d, --debug don't remove temporary files
20028 --recheck update $as_me by reconfiguring in the same conditions
20029 --file=FILE[:TEMPLATE]
20030 instantiate the configuration file FILE
20031 --header=FILE[:TEMPLATE]
20032 instantiate the configuration header FILE
20034 Configuration files:
20037 Configuration headers:
20040 Configuration commands:
20043 Report bugs to <http://sourceforge.net/apps/trac/quvi>.
20044 quvi home page: <http://quvi.sourceforge.net/>."
20047 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20048 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20050 quvi config.status 0.2.15
20051 configured by $0, generated by GNU Autoconf 2.68,
20052 with options \\"\$ac_cs_config\\"
20054 Copyright (C) 2010 Free Software Foundation, Inc.
20055 This config.status script is free software; the Free Software Foundation
20056 gives unlimited permission to copy, distribute and modify it."
20063 test -n "\$AWK" || AWK=awk
20066 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20067 # The default lists apply if the user does not specify any file.
20073 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20074 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
20078 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20090 # Handling of the options.
20091 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20093 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
20094 $as_echo "$ac_cs_version"; exit ;;
20095 --config |
--confi |
--conf |
--con |
--co |
--c )
20096 $as_echo "$ac_cs_config"; exit ;;
20097 --debug |
--debu |
--deb |
--de |
--d |
-d )
20099 --file |
--fil |
--fi |
--f )
20102 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20103 '') as_fn_error $?
"missing file argument" ;;
20105 as_fn_append CONFIG_FILES
" '$ac_optarg'"
20106 ac_need_defaults
=false
;;
20107 --header |
--heade |
--head |
--hea )
20110 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20112 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
20113 ac_need_defaults
=false
;;
20115 # Conflict between --help and --header
20116 as_fn_error $?
"ambiguous option: \`$1'
20117 Try \`$0 --help' for more information.";;
20118 --help |
--hel |
-h )
20119 $as_echo "$ac_cs_usage"; exit ;;
20120 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20121 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20124 # This is an error.
20125 -*) as_fn_error $?
"unrecognized option: \`$1'
20126 Try \`$0 --help' for more information." ;;
20128 *) as_fn_append ac_config_targets
" $1"
20129 ac_need_defaults
=false
;;
20135 ac_configure_extra_args
=
20137 if $ac_cs_silent; then
20139 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20143 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20144 if \$ac_cs_recheck; then
20145 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20147 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20148 CONFIG_SHELL='$SHELL'
20149 export CONFIG_SHELL
20154 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20158 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20159 ## Running $as_me. ##
20165 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20169 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20172 # The HP-UX ksh and POSIX shell print the target directory to stdout
20173 # if CDPATH is set.
20174 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20176 sed_quote_subst='$sed_quote_subst'
20177 double_quote_subst='$double_quote_subst'
20178 delay_variable_subst='$delay_variable_subst'
20179 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
20180 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
20181 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
20182 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
20183 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
20184 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
20185 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
20186 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
20187 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
20188 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
20189 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
20190 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
20191 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
20192 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
20193 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
20194 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
20195 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
20196 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
20197 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
20198 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
20199 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
20200 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
20201 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
20202 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
20203 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
20204 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
20205 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
20206 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
20207 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
20208 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
20209 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
20210 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
20211 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
20212 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
20213 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
20214 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
20215 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
20216 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
20217 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
20218 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
20219 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
20220 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
20221 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
20222 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
20223 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20224 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20225 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
20226 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
20227 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
20228 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
20229 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
20230 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
20231 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
20232 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
20233 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
20234 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"`'
20235 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
20236 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
20237 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
20238 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
20239 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
20240 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
20241 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
20242 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
20243 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
20244 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
20245 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
20246 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
20247 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
20248 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
20249 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
20250 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
20251 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
20252 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
20253 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20254 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
20255 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
20256 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
20257 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
20258 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
20259 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
20260 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20261 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
20262 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20263 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
20264 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20265 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
20266 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
20267 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
20268 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
20269 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
20270 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
20271 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
20272 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
20273 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
20274 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
20275 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
20276 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
20277 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
20278 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
20279 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
20280 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
20281 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
20282 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
20283 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
20284 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
20285 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
20286 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
20287 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
20288 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
20289 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
20290 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
20291 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
20292 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
20293 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
20294 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
20295 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
20296 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20297 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20298 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
20299 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
20300 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
20301 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
20302 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
20303 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
20304 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
20305 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
20306 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
20307 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
20308 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
20309 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
20310 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
20311 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
20312 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
20313 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
20314 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
20315 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
20316 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
20317 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20318 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20319 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
20320 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
20321 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
20322 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
20323 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
20324 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
20325 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
20326 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
20327 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
20328 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20329 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20330 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
20331 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20332 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20333 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20334 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20335 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20336 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20337 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
20338 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20339 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20340 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20341 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
20342 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
20343 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
20344 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
20345 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
20346 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
20347 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
20348 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
20349 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
20350 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
20351 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20352 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20353 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20354 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20355 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20356 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
20357 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
20358 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
20359 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20360 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20361 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
20362 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
20363 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
20366 LTCFLAGS='$LTCFLAGS'
20367 compiler='$compiler_DEFAULT'
20369 # A function that is used when there is no print builtin or printf.
20370 func_fallback_echo ()
20372 eval 'cat <<_LTECHO_EOF
20377 # Quote evaled strings.
20391 deplibs_check_method \
20396 sharedlib_from_linklib_cmd \
20399 archiver_list_spec \
20405 lt_cv_sys_global_symbol_pipe \
20406 lt_cv_sys_global_symbol_to_cdecl \
20407 lt_cv_sys_global_symbol_to_c_name_address \
20408 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20409 nm_file_list_spec \
20410 lt_prog_compiler_no_builtin_flag \
20411 lt_prog_compiler_pic \
20412 lt_prog_compiler_wl \
20413 lt_prog_compiler_static \
20414 lt_cv_prog_compiler_c_o \
20423 export_dynamic_flag_spec \
20424 whole_archive_flag_spec \
20425 compiler_needs_object \
20427 allow_undefined_flag \
20428 no_undefined_flag \
20429 hardcode_libdir_flag_spec \
20430 hardcode_libdir_flag_spec_ld \
20431 hardcode_libdir_separator \
20435 variables_saved_for_relink \
20437 library_names_spec \
20439 install_override_mode \
20443 compiler_lib_search_dirs \
20448 compiler_lib_search_path \
20452 lt_prog_compiler_no_builtin_flag_CXX \
20453 lt_prog_compiler_pic_CXX \
20454 lt_prog_compiler_wl_CXX \
20455 lt_prog_compiler_static_CXX \
20456 lt_cv_prog_compiler_c_o_CXX \
20457 export_dynamic_flag_spec_CXX \
20458 whole_archive_flag_spec_CXX \
20459 compiler_needs_object_CXX \
20461 allow_undefined_flag_CXX \
20462 no_undefined_flag_CXX \
20463 hardcode_libdir_flag_spec_CXX \
20464 hardcode_libdir_flag_spec_ld_CXX \
20465 hardcode_libdir_separator_CXX \
20466 exclude_expsyms_CXX \
20467 include_expsyms_CXX \
20468 file_list_spec_CXX \
20469 compiler_lib_search_dirs_CXX \
20470 predep_objects_CXX \
20471 postdep_objects_CXX \
20474 compiler_lib_search_path_CXX; do
20475 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20476 *[\\\\\\\`\\"\\\$]*)
20477 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20480 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20485 # Double-quote double-evaled strings.
20486 for var in reload_cmds \
20487 old_postinstall_cmds \
20488 old_postuninstall_cmds \
20490 extract_expsyms_cmds \
20491 old_archive_from_new_cmds \
20492 old_archive_from_expsyms_cmds \
20494 archive_expsym_cmds \
20496 module_expsym_cmds \
20497 export_symbols_cmds \
20501 postuninstall_cmds \
20503 sys_lib_search_path_spec \
20504 sys_lib_dlsearch_path_spec \
20506 old_archive_cmds_CXX \
20507 old_archive_from_new_cmds_CXX \
20508 old_archive_from_expsyms_cmds_CXX \
20510 archive_expsym_cmds_CXX \
20512 module_expsym_cmds_CXX \
20513 export_symbols_cmds_CXX \
20515 postlink_cmds_CXX; do
20516 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20517 *[\\\\\\\`\\"\\\$]*)
20518 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20521 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20526 ac_aux_dir='$ac_aux_dir'
20527 xsi_shell='$xsi_shell'
20528 lt_shell_append='$lt_shell_append'
20530 # See if we are running on zsh, and set the options which allow our
20531 # commands through without removal of \ escapes INIT.
20532 if test -n "\${ZSH_VERSION+set}" ; then
20533 setopt NO_GLOB_SUBST
20539 TIMESTAMP='$TIMESTAMP'
20550 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20552 # Handling of arguments.
20553 for ac_config_target
in $ac_config_targets
20555 case $ac_config_target in
20556 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
20557 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
20558 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
20559 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20560 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
20561 "include/quvi/Makefile") CONFIG_FILES
="$CONFIG_FILES include/quvi/Makefile" ;;
20562 "include/quvi/quvi.h") CONFIG_FILES
="$CONFIG_FILES include/quvi/quvi.h" ;;
20563 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
20564 "man1/Makefile") CONFIG_FILES
="$CONFIG_FILES man1/Makefile" ;;
20565 "share/Makefile") CONFIG_FILES
="$CONFIG_FILES share/Makefile" ;;
20566 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
20567 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
20568 "examples/Makefile") CONFIG_FILES
="$CONFIG_FILES examples/Makefile" ;;
20569 "tests/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/Makefile" ;;
20570 "scripts/Makefile") CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
20571 "libquvi.pc") CONFIG_FILES
="$CONFIG_FILES libquvi.pc" ;;
20572 "doxygen.conf") CONFIG_FILES
="$CONFIG_FILES doxygen.conf" ;;
20574 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20579 # If the user did not use the arguments to specify the items to instantiate,
20580 # then the envvar interface is used. Set only those that are not.
20581 # We use the long form for the default assignment because of an extremely
20582 # bizarre bug on SunOS 4.1.3.
20583 if $ac_need_defaults; then
20584 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20585 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
20586 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20589 # Have a temporary directory for convenience. Make it in the build tree
20590 # simply because there is no reason against having it here, and in addition,
20591 # creating and moving files from /tmp can sometimes cause problems.
20592 # Hook for its removal unless debugging.
20593 # Note that there is a small window in which the directory will not be cleaned:
20594 # after its creation but before its name has been assigned to `$tmp'.
20598 trap 'exit_status=$?
20599 : "${ac_tmp:=$tmp}"
20600 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20602 trap 'as_fn_exit 1' 1 2 13 15
20604 # Create a (secure) tmp directory for tmp files.
20607 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20611 tmp
=.
/conf$$
-$RANDOM
20612 (umask 077 && mkdir
"$tmp")
20613 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
20616 # Set up the scripts for CONFIG_FILES section.
20617 # No need to generate them if there are no CONFIG_FILES.
20618 # This happens for instance with `./config.status config.h'.
20619 if test -n "$CONFIG_FILES"; then
20622 ac_cr
=`echo X | tr X '\015'`
20623 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20624 # But we know of no other shell where ac_cr would be empty at this
20625 # point, so we can use a bashism as a fallback.
20626 if test "x$ac_cr" = x
; then
20627 eval ac_cr
=\$
\'\\r
\'
20629 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20630 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20633 ac_cs_awk_cr
=$ac_cr
20636 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20641 echo "cat >conf$$subs.awk <<_ACEOF" &&
20642 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20644 } >conf$$subs.sh ||
20645 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20646 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20648 for ac_last_try in false false false false false :; do
20649 . ./conf$$subs.sh ||
20650 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20652 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
20653 if test $ac_delim_n = $ac_delim_num; then
20655 elif $ac_last_try; then
20656 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20658 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
20661 rm -f conf$$subs.sh
20663 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20664 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
20668 s/^/S["/; s
/!.
*/"]=/
20678 s/\(.\{148\}\)..*/\1/
20680 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
20685 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
20692 s/\(.\{148\}\)..*/\1/
20694 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
20698 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
20703 ' <conf$$subs.awk | sed '
20708 ' >>$CONFIG_STATUS || ac_write_fail=1
20709 rm -f conf$$subs.awk
20710 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20712 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
20713 for (key in S) S_is_set[key] = 1
20719 nfields = split(line, field, "@
")
20721 len = length(field[1])
20722 for (i = 2; i < nfields; i++) {
20724 keylen = length(key)
20725 if (S_is_set[key]) {
20727 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20728 len += length(value) + length(field[++i])
20739 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20740 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20741 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
20744 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
20745 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
20748 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20749 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
20750 # trailing colons and then remove the whole line if VPATH becomes empty
20751 # (actually we leave an empty line to preserve line numbers).
20752 if test "x
$srcdir" = x.; then
20753 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20771 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20772 fi # test -n "$CONFIG_FILES"
20774 # Set up the scripts for CONFIG_HEADERS section.
20775 # No need to generate them if there are no CONFIG_HEADERS.
20776 # This happens for instance with `./config.status Makefile'.
20777 if test -n "$CONFIG_HEADERS"; then
20778 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
20782 # Transform confdefs.h into an awk script `defines.awk', embedded as
20783 # here-document in config.status, that substitutes the proper values into
20784 # config.h.in to produce config.h.
20786 # Create a delimiter string that does not exist in confdefs.h, to ease
20787 # handling of long lines.
20789 for ac_last_try in false false :; do
20790 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
20791 if test -z "$ac_tt"; then
20793 elif $ac_last_try; then
20794 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
20796 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
20800 # For the awk script, D is an array of macro values keyed by name,
20801 # likewise P contains macro parameters if any. Preserve backslash
20802 # newline sequences.
20804 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20806 s/.\{148\}/&'"$ac_delim"'/g
20809 s/^[ ]*#[ ]*define[ ][ ]*/ /
20816 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
20818 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
20822 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
20823 D["\
1"]=" \
3\\\\\\n
"\\/p
20825 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
20830 s/.\{148\}/&'"$ac_delim"'/g
20835 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
20838 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
20840 ' <confdefs.h | sed '
20841 s/'"$ac_delim"'/"\\\
20842 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20844 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20845 for (key in D) D_is_set[key] = 1
20848 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20850 split(line, arg, " ")
20851 if (arg[1] == "#") {
20855 defundef
= substr
(arg
[1], 2)
20858 split(mac1
, mac2
, "(") #)
20860 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
20861 if (D_is_set
[macro
]) {
20862 # Preserve the white space surrounding the "#".
20863 print prefix
"define", macro P
[macro
] D
[macro
]
20866 # Replace #undef with comments. This is necessary, for example,
20867 # in the case of _POSIX_SOURCE, which is predefined and required
20868 # on some systems where configure will not decide to define it.
20869 if (defundef
== "undef") {
20870 print
"/*", prefix defundef
, macro
, "*/"
20878 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20879 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
20880 fi # test -n "$CONFIG_HEADERS"
20883 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
20888 :[FHLC
]) ac_mode
=$ac_tag; continue;;
20890 case $ac_mode$ac_tag in
20892 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
20893 :[FH
]-) ac_tag
=-:-;;
20894 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
20911 -) ac_f
="$ac_tmp/stdin";;
20912 *) # Look for the file first in the build tree, then in the source tree
20913 # (if the path is not absolute). The absolute path cannot be DOS-style,
20914 # because $ac_f cannot contain `:'.
20918 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
20920 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20922 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20923 as_fn_append ac_file_inputs
" '$ac_f'"
20926 # Let's still pretend it is `configure' which instantiates (i.e., don't
20927 # use $as_me), people would be surprised to read:
20928 # /* config.h. Generated by config.status. */
20929 configure_input
='Generated from '`
20930 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20932 if test x
"$ac_file" != x-
; then
20933 configure_input
="$ac_file. $configure_input"
20934 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20935 $as_echo "$as_me: creating $ac_file" >&6;}
20937 # Neutralize special characters interpreted by sed in replacement strings.
20938 case $configure_input in #(
20939 *\
&* |
*\|
* |
*\\* )
20940 ac_sed_conf_input
=`$as_echo "$configure_input" |
20941 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20942 *) ac_sed_conf_input
=$configure_input;;
20946 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
20947 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
20952 ac_dir
=`$as_dirname -- "$ac_file" ||
20953 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20954 X"$ac_file" : 'X\(//\)[^/]' \| \
20955 X"$ac_file" : 'X\(//\)$' \| \
20956 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20957 $as_echo X"$ac_file" |
20958 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20962 /^X\(\/\/\)[^/].*/{
20975 as_dir
="$ac_dir"; as_fn_mkdir_p
20979 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20981 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20982 # A ".." for each directory in $ac_dir_suffix.
20983 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20984 case $ac_top_builddir_sub in
20985 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20986 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
20989 ac_abs_top_builddir
=$ac_pwd
20990 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
20991 # for backward compatibility:
20992 ac_top_builddir
=$ac_top_build_prefix
20995 .
) # We are building in place.
20997 ac_top_srcdir
=$ac_top_builddir_sub
20998 ac_abs_top_srcdir
=$ac_pwd ;;
20999 [\\/]* | ?
:[\\/]* ) # Absolute name.
21000 ac_srcdir
=$srcdir$ac_dir_suffix;
21001 ac_top_srcdir
=$srcdir
21002 ac_abs_top_srcdir
=$srcdir ;;
21003 *) # Relative name.
21004 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
21005 ac_top_srcdir
=$ac_top_build_prefix$srcdir
21006 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
21008 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
21018 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21019 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
21021 ac_MKDIR_P
=$MKDIR_P
21023 [\\/$
]* | ?
:[\\/]* ) ;;
21024 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
21028 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21029 # If the template does not know about datarootdir, expand it.
21030 # FIXME: This hack should be removed a few years after 2.60.
21031 ac_datarootdir_hack
=; ac_datarootdir_seen
=
21042 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21043 *datarootdir
*) ac_datarootdir_seen
=yes;;
21044 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
21045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21046 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21048 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21049 ac_datarootdir_hack='
21050 s&@datadir@&$datadir&g
21051 s&@docdir@&$docdir&g
21052 s&@infodir@&$infodir&g
21053 s&@localedir@&$localedir&g
21054 s&@mandir@&$mandir&g
21055 s&\\\${datarootdir}&$datarootdir&g' ;;
21059 # Neutralize VPATH when `$srcdir' = `.'.
21060 # Shell code in configure.ac might set extrasub.
21061 # FIXME: do we really want to maintain this feature?
21062 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21063 ac_sed_extra="$ac_vpsub
21066 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21068 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21069 s|@configure_input@|
$ac_sed_conf_input|
;t t
21070 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
21071 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
21072 s
&@srcdir@
&$ac_srcdir&;t t
21073 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
21074 s
&@top_srcdir@
&$ac_top_srcdir&;t t
21075 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
21076 s
&@builddir@
&$ac_builddir&;t t
21077 s
&@abs_builddir@
&$ac_abs_builddir&;t t
21078 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
21079 s
&@INSTALL@
&$ac_INSTALL&;t t
21080 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
21081 $ac_datarootdir_hack
21083 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
21084 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
21086 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21087 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
21088 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21089 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
21090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
21091 which seems to be undefined. Please make sure it is defined" >&5
21092 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
21093 which seems to be undefined. Please make sure it is defined" >&2;}
21095 rm -f "$ac_tmp/stdin"
21097 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21098 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21100 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21106 if test x"$ac_file" != x-; then
21108 $as_echo "/* $configure_input */" \
21109 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21110 } >"$ac_tmp/config.h" \
21111 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21112 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21113 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21114 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21117 mv "$ac_tmp/config.h" "$ac_file" \
21118 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21121 $as_echo "/* $configure_input */" \
21122 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21123 || as_fn_error $? "could not create -" "$LINENO" 5
21125 # Compute "$ac_file"'s index
in $config_headers.
21128 for _am_header
in $config_headers :; do
21129 case $_am_header in
21130 $_am_arg |
$_am_arg:* )
21133 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
21136 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
21137 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21138 X"$_am_arg" : 'X\(//\)[^/]' \| \
21139 X"$_am_arg" : 'X\(//\)$' \| \
21140 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
21141 $as_echo X"$_am_arg" |
21142 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21146 /^X\(\/\/\)[^/].*/{
21158 s/.*/./; q'`/stamp-h
$_am_stamp_count
21161 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21162 $as_echo "$as_me: executing $ac_file commands" >&6;}
21167 case $ac_file$ac_mode in
21168 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
21169 # Autoconf 2.62 quotes --file arguments for eval, but not when files
21170 # are listed without --file. Let's play safe and only enable the eval
21171 # if we detect the quoting.
21172 case $CONFIG_FILES in
21173 *\'*) eval set x
"$CONFIG_FILES" ;;
21174 *) set x
$CONFIG_FILES ;;
21179 # Strip MF so we end up with the name of the file.
21180 mf
=`echo "$mf" | sed -e 's/:.*$//'`
21181 # Check whether this is an Automake generated Makefile or not.
21182 # We used to match only the files named `Makefile.in', but
21183 # some people rename them; so instead we look at the file content.
21184 # Grep'ing the first line is not enough: some people post-process
21185 # each Makefile.in and add a new line on top of each file to say so.
21186 # Grep'ing the whole file is not good either: AIX grep has a line
21187 # limit of 2048, but all sed's we know have understand at least 4000.
21188 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
21189 dirpart
=`$as_dirname -- "$mf" ||
21190 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21191 X"$mf" : 'X\(//\)[^/]' \| \
21192 X"$mf" : 'X\(//\)$' \| \
21193 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21195 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21199 /^X\(\/\/\)[^/].*/{
21215 # Extract the definition of DEPDIR, am__include, and am__quote
21216 # from the Makefile without running `make'.
21217 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
21218 test -z "$DEPDIR" && continue
21219 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
21220 test -z "am__include" && continue
21221 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
21222 # When using ansi2knr, U may be empty or an underscore; expand it
21223 U
=`sed -n 's/^U = //p' < "$mf"`
21224 # Find all dependency output files, they are included files with
21225 # $(DEPDIR) in their names. We invoke sed twice because it is the
21226 # simplest approach to changing $(DEPDIR) to its actual value in the
21228 for file in `sed -n "
21229 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21230 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21231 # Make sure the directory exists.
21232 test -f "$dirpart/$file" && continue
21233 fdir
=`$as_dirname -- "$file" ||
21234 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21235 X"$file" : 'X\(//\)[^/]' \| \
21236 X"$file" : 'X\(//\)$' \| \
21237 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21238 $as_echo X"$file" |
21239 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21243 /^X\(\/\/\)[^/].*/{
21256 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
21257 # echo "creating $dirpart/$file"
21258 echo '# dummy' > "$dirpart/$file"
21265 # See if we are running on zsh, and set the options which allow our
21266 # commands through without removal of \ escapes.
21267 if test -n "${ZSH_VERSION+set}" ; then
21268 setopt NO_GLOB_SUBST
21271 cfgfile
="${ofile}T"
21272 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21275 cat <<_LT_EOF >> "$cfgfile"
21278 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
21279 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
21280 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21281 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21283 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21284 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
21286 # Written by Gordon Matzigkeit, 1996
21288 # This file is part of GNU Libtool.
21290 # GNU Libtool is free software; you can redistribute it and/or
21291 # modify it under the terms of the GNU General Public License as
21292 # published by the Free Software Foundation; either version 2 of
21293 # the License, or (at your option) any later version.
21295 # As a special exception to the GNU General Public License,
21296 # if you distribute this file as part of a program or library that
21297 # is built using GNU Libtool, you may include this file under the
21298 # same distribution terms that you use for the rest of that program.
21300 # GNU Libtool is distributed in the hope that it will be useful,
21301 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21302 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21303 # GNU General Public License for more details.
21305 # You should have received a copy of the GNU General Public License
21306 # along with GNU Libtool; see the file COPYING. If not, a copy
21307 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
21308 # obtained by writing to the Free Software Foundation, Inc.,
21309 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21312 # The names of the tagged configurations supported by this script.
21313 available_tags="CXX "
21315 # ### BEGIN LIBTOOL CONFIG
21317 # Which release of libtool.m4 was used?
21318 macro_version=$macro_version
21319 macro_revision=$macro_revision
21321 # Whether or not to build shared libraries.
21322 build_libtool_libs=$enable_shared
21324 # Whether or not to build static libraries.
21325 build_old_libs=$enable_static
21327 # What type of objects to build.
21330 # Whether or not to optimize for fast installation.
21331 fast_install=$enable_fast_install
21333 # Shell to use when invoking shell scripts.
21336 # An echo program that protects backslashes.
21340 host_alias=$host_alias
21344 # The build system.
21345 build_alias=$build_alias
21349 # A sed program that does not truncate output.
21352 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21353 Xsed="\$SED -e 1s/^X//"
21355 # A grep program that handles long lines.
21361 # A literal string matcher.
21364 # A BSD- or MS-compatible name lister.
21367 # Whether we need soft or hard links.
21370 # What is the maximum length of a command?
21371 max_cmd_len=$max_cmd_len
21373 # Object file suffix (normally "o").
21376 # Executable file suffix (normally "").
21379 # whether the shell understands "unset".
21382 # turn spaces into newlines.
21385 # turn newlines into spaces.
21388 # convert \$build file names to \$host format.
21389 to_host_file_cmd=$lt_cv_to_host_file_cmd
21391 # convert \$build files to toolchain format.
21392 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
21394 # An object symbol dumper.
21395 OBJDUMP=$lt_OBJDUMP
21397 # Method to check whether dependent libraries are shared objects.
21398 deplibs_check_method=$lt_deplibs_check_method
21400 # Command to use when deplibs_check_method = "file_magic".
21401 file_magic_cmd=$lt_file_magic_cmd
21403 # How to find potential files when deplibs_check_method = "file_magic".
21404 file_magic_glob=$lt_file_magic_glob
21406 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
21407 want_nocaseglob=$lt_want_nocaseglob
21409 # DLL creation program.
21410 DLLTOOL=$lt_DLLTOOL
21412 # Command to associate shared and link libraries.
21413 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
21418 # Flags to create an archive.
21419 AR_FLAGS=$lt_AR_FLAGS
21421 # How to feed a file listing to the archiver.
21422 archiver_list_spec=$lt_archiver_list_spec
21424 # A symbol stripping program.
21427 # Commands used to install an old-style archive.
21429 old_postinstall_cmds=$lt_old_postinstall_cmds
21430 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21432 # Whether to use a lock for old archive extraction.
21433 lock_old_archive_extraction=$lock_old_archive_extraction
21438 # LTCC compiler flags.
21439 LTCFLAGS=$lt_CFLAGS
21441 # Take the output of nm and produce a listing of raw symbols and C names.
21442 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21444 # Transform the output of nm in a proper C declaration.
21445 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21447 # Transform the output of nm in a C name address pair.
21448 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21450 # Transform the output of nm in a C name address pair when lib prefix is needed.
21451 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21453 # Specify filename containing input files for \$NM.
21454 nm_file_list_spec=$lt_nm_file_list_spec
21456 # The root where to search for dependent libraries,and in which our libraries should be installed.
21457 lt_sysroot=$lt_sysroot
21459 # The name of the directory that contains temporary libtool files.
21462 # Used to examine libraries when file_magic_cmd begins with "file".
21463 MAGIC_CMD=$MAGIC_CMD
21465 # Must we lock files when doing compilation?
21466 need_locks=$lt_need_locks
21469 MANIFEST_TOOL=$lt_MANIFEST_TOOL
21471 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21472 DSYMUTIL=$lt_DSYMUTIL
21474 # Tool to change global to local symbols on Mac OS X.
21477 # Tool to manipulate fat objects and archives on Mac OS X.
21480 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21483 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21484 OTOOL64=$lt_OTOOL64
21486 # Old archive suffix (normally "a").
21489 # Shared library suffix (normally ".so").
21490 shrext_cmds=$lt_shrext_cmds
21492 # The commands to extract the exported symbol list from a shared archive.
21493 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21495 # Variables whose values should be saved in libtool wrapper scripts and
21496 # restored at link time.
21497 variables_saved_for_relink=$lt_variables_saved_for_relink
21499 # Do we need the "lib" prefix for modules?
21500 need_lib_prefix=$need_lib_prefix
21502 # Do we need a version for libraries?
21503 need_version=$need_version
21505 # Library versioning type.
21506 version_type=$version_type
21508 # Shared library runtime path variable.
21509 runpath_var=$runpath_var
21511 # Shared library path variable.
21512 shlibpath_var=$shlibpath_var
21514 # Is shlibpath searched before the hard-coded library search path?
21515 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21517 # Format of library name prefix.
21518 libname_spec=$lt_libname_spec
21520 # List of archive names. First name is the real one, the rest are links.
21521 # The last name is the one that the linker finds with -lNAME
21522 library_names_spec=$lt_library_names_spec
21524 # The coded name of the library, if different from the real name.
21525 soname_spec=$lt_soname_spec
21527 # Permission mode override for installation of shared libraries.
21528 install_override_mode=$lt_install_override_mode
21530 # Command to use after installation of a shared archive.
21531 postinstall_cmds=$lt_postinstall_cmds
21533 # Command to use after uninstallation of a shared archive.
21534 postuninstall_cmds=$lt_postuninstall_cmds
21536 # Commands used to finish a libtool library installation in a directory.
21537 finish_cmds=$lt_finish_cmds
21539 # As "finish_cmds", except a single script fragment to be evaled but
21541 finish_eval=$lt_finish_eval
21543 # Whether we should hardcode library paths into libraries.
21544 hardcode_into_libs=$hardcode_into_libs
21546 # Compile-time system search path for libraries.
21547 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21549 # Run-time system search path for libraries.
21550 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21552 # Whether dlopen is supported.
21553 dlopen_support=$enable_dlopen
21555 # Whether dlopen of programs is supported.
21556 dlopen_self=$enable_dlopen_self
21558 # Whether dlopen of statically linked programs is supported.
21559 dlopen_self_static=$enable_dlopen_self_static
21561 # Commands to strip libraries.
21562 old_striplib=$lt_old_striplib
21563 striplib=$lt_striplib
21566 # The linker used to build libraries.
21569 # How to create reloadable object files.
21570 reload_flag=$lt_reload_flag
21571 reload_cmds=$lt_reload_cmds
21573 # Commands used to build an old-style archive.
21574 old_archive_cmds=$lt_old_archive_cmds
21576 # A language specific compiler.
21579 # Is the compiler the GNU compiler?
21582 # Compiler flag to turn off builtin functions.
21583 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21585 # Additional compiler flags for building library objects.
21586 pic_flag=$lt_lt_prog_compiler_pic
21588 # How to pass a linker flag through the compiler.
21589 wl=$lt_lt_prog_compiler_wl
21591 # Compiler flag to prevent dynamic linking.
21592 link_static_flag=$lt_lt_prog_compiler_static
21594 # Does compiler simultaneously support -c and -o options?
21595 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21597 # Whether or not to add -lc for building shared libraries.
21598 build_libtool_need_lc=$archive_cmds_need_lc
21600 # Whether or not to disallow shared libs when runtime libs are static.
21601 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21603 # Compiler flag to allow reflexive dlopens.
21604 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21606 # Compiler flag to generate shared objects directly from archives.
21607 whole_archive_flag_spec=$lt_whole_archive_flag_spec
21609 # Whether the compiler copes with passing no objects directly.
21610 compiler_needs_object=$lt_compiler_needs_object
21612 # Create an old-style archive from a shared archive.
21613 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21615 # Create a temporary old-style archive to link instead of a shared archive.
21616 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21618 # Commands used to build a shared archive.
21619 archive_cmds=$lt_archive_cmds
21620 archive_expsym_cmds=$lt_archive_expsym_cmds
21622 # Commands used to build a loadable module if different from building
21623 # a shared archive.
21624 module_cmds=$lt_module_cmds
21625 module_expsym_cmds=$lt_module_expsym_cmds
21627 # Whether we are building with GNU ld or not.
21628 with_gnu_ld=$lt_with_gnu_ld
21630 # Flag that allows shared libraries with undefined symbols to be built.
21631 allow_undefined_flag=$lt_allow_undefined_flag
21633 # Flag that enforces no undefined symbols.
21634 no_undefined_flag=$lt_no_undefined_flag
21636 # Flag to hardcode \$libdir into a binary during linking.
21637 # This must work even if \$libdir does not exist
21638 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21640 # If ld is used when linking, flag to hardcode \$libdir into a binary
21641 # during linking. This must work even if \$libdir does not exist.
21642 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
21644 # Whether we need a single "-rpath" flag with a separated argument.
21645 hardcode_libdir_separator=$lt_hardcode_libdir_separator
21647 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21648 # DIR into the resulting binary.
21649 hardcode_direct=$hardcode_direct
21651 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21652 # DIR into the resulting binary and the resulting library dependency is
21653 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21654 # library is relocated.
21655 hardcode_direct_absolute=$hardcode_direct_absolute
21657 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21658 # into the resulting binary.
21659 hardcode_minus_L=$hardcode_minus_L
21661 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21662 # into the resulting binary.
21663 hardcode_shlibpath_var=$hardcode_shlibpath_var
21665 # Set to "yes" if building a shared library automatically hardcodes DIR
21666 # into the library and all subsequent libraries and executables linked
21668 hardcode_automatic=$hardcode_automatic
21670 # Set to yes if linker adds runtime paths of dependent libraries
21671 # to runtime path list.
21672 inherit_rpath=$inherit_rpath
21674 # Whether libtool must link a program against all its dependency libraries.
21675 link_all_deplibs=$link_all_deplibs
21677 # Set to "yes" if exported symbols are required.
21678 always_export_symbols=$always_export_symbols
21680 # The commands to list exported symbols.
21681 export_symbols_cmds=$lt_export_symbols_cmds
21683 # Symbols that should not be listed in the preloaded symbols.
21684 exclude_expsyms=$lt_exclude_expsyms
21686 # Symbols that must always be exported.
21687 include_expsyms=$lt_include_expsyms
21689 # Commands necessary for linking programs (against libraries) with templates.
21690 prelink_cmds=$lt_prelink_cmds
21692 # Commands necessary for finishing linking programs.
21693 postlink_cmds=$lt_postlink_cmds
21695 # Specify filename containing input files.
21696 file_list_spec=$lt_file_list_spec
21698 # How to hardcode a shared library path into an executable.
21699 hardcode_action=$hardcode_action
21701 # The directories searched by this compiler when creating a shared library.
21702 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
21704 # Dependencies to place before and after the objects being linked to
21705 # create a shared library.
21706 predep_objects=$lt_predep_objects
21707 postdep_objects=$lt_postdep_objects
21708 predeps=$lt_predeps
21709 postdeps=$lt_postdeps
21711 # The library search path used internally by the compiler when linking
21712 # a shared library.
21713 compiler_lib_search_path=$lt_compiler_lib_search_path
21715 # ### END LIBTOOL CONFIG
21721 cat <<\_LT_EOF
>> "$cfgfile"
21722 # AIX sometimes has problems with the GCC collect2 program. For some
21723 # reason, if we set the COLLECT_NAMES environment variable, the problems
21724 # vanish in a puff of smoke.
21725 if test "X${COLLECT_NAMES+set}" != Xset
; then
21727 export COLLECT_NAMES
21734 ltmain
="$ac_aux_dir/ltmain.sh"
21737 # We use sed instead of cat because bash on DJGPP gets confused if
21738 # if finds mixed CR/LF and LF-only lines. Since sed operates in
21739 # text mode, it properly converts lines to CR/LF. This bash problem
21740 # is reportedly fixed, but why not run on old versions too?
21741 sed '$q' "$ltmain" >> "$cfgfile" \
21742 ||
(rm -f "$cfgfile"; exit 1)
21744 if test x
"$xsi_shell" = xyes
; then
21745 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
21749 \ */*) func_dirname_result="${1%/*}${2}" ;;\
21750 \ * ) func_dirname_result="${3}" ;;\
21752 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
21753 && mv -f "$cfgfile.tmp" "$cfgfile" \
21754 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21755 test 0 -eq $? || _lt_function_replace_fail
=:
21758 sed -e '/^func_basename ()$/,/^} # func_basename /c\
21761 \ func_basename_result="${1##*/}"\
21762 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
21763 && mv -f "$cfgfile.tmp" "$cfgfile" \
21764 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21765 test 0 -eq $? || _lt_function_replace_fail
=:
21768 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
21769 func_dirname_and_basename ()\
21772 \ */*) func_dirname_result="${1%/*}${2}" ;;\
21773 \ * ) func_dirname_result="${3}" ;;\
21775 \ func_basename_result="${1##*/}"\
21776 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
21777 && mv -f "$cfgfile.tmp" "$cfgfile" \
21778 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21779 test 0 -eq $? || _lt_function_replace_fail
=:
21782 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
21785 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
21786 \ # positional parameters, so assign one to ordinary parameter first.\
21787 \ func_stripname_result=${3}\
21788 \ func_stripname_result=${func_stripname_result#"${1}"}\
21789 \ func_stripname_result=${func_stripname_result%"${2}"}\
21790 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
21791 && mv -f "$cfgfile.tmp" "$cfgfile" \
21792 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21793 test 0 -eq $? || _lt_function_replace_fail
=:
21796 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
21797 func_split_long_opt ()\
21799 \ func_split_long_opt_name=${1%%=*}\
21800 \ func_split_long_opt_arg=${1#*=}\
21801 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
21802 && mv -f "$cfgfile.tmp" "$cfgfile" \
21803 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21804 test 0 -eq $? || _lt_function_replace_fail
=:
21807 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
21808 func_split_short_opt ()\
21810 \ func_split_short_opt_arg=${1#??}\
21811 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
21812 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
21813 && mv -f "$cfgfile.tmp" "$cfgfile" \
21814 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21815 test 0 -eq $? || _lt_function_replace_fail
=:
21818 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
21822 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
21823 \ *) func_lo2o_result=${1} ;;\
21825 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
21826 && mv -f "$cfgfile.tmp" "$cfgfile" \
21827 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21828 test 0 -eq $? || _lt_function_replace_fail
=:
21831 sed -e '/^func_xform ()$/,/^} # func_xform /c\
21834 func_xform_result=${1%.*}.lo\
21835 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
21836 && mv -f "$cfgfile.tmp" "$cfgfile" \
21837 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21838 test 0 -eq $? || _lt_function_replace_fail
=:
21841 sed -e '/^func_arith ()$/,/^} # func_arith /c\
21844 func_arith_result=$(( $* ))\
21845 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
21846 && mv -f "$cfgfile.tmp" "$cfgfile" \
21847 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21848 test 0 -eq $? || _lt_function_replace_fail
=:
21851 sed -e '/^func_len ()$/,/^} # func_len /c\
21854 func_len_result=${#1}\
21855 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
21856 && mv -f "$cfgfile.tmp" "$cfgfile" \
21857 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21858 test 0 -eq $? || _lt_function_replace_fail
=:
21862 if test x
"$lt_shell_append" = xyes
; then
21863 sed -e '/^func_append ()$/,/^} # func_append /c\
21866 eval "${1}+=\\${2}"\
21867 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
21868 && mv -f "$cfgfile.tmp" "$cfgfile" \
21869 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21870 test 0 -eq $? || _lt_function_replace_fail
=:
21873 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
21874 func_append_quoted ()\
21876 \ func_quote_for_eval "${2}"\
21877 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
21878 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
21879 && mv -f "$cfgfile.tmp" "$cfgfile" \
21880 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21881 test 0 -eq $? || _lt_function_replace_fail
=:
21884 # Save a `func_append' function call where possible by direct use of '+='
21885 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
21886 && mv -f "$cfgfile.tmp" "$cfgfile" \
21887 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21888 test 0 -eq $? || _lt_function_replace_fail
=:
21890 # Save a `func_append' function call even when '+=' is not available
21891 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
21892 && mv -f "$cfgfile.tmp" "$cfgfile" \
21893 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21894 test 0 -eq $? || _lt_function_replace_fail
=:
21897 if test x
"$_lt_function_replace_fail" = x
":"; then
21898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
21899 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
21903 mv -f "$cfgfile" "$ofile" ||
21904 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
21908 cat <<_LT_EOF >> "$ofile"
21910 # ### BEGIN LIBTOOL TAG CONFIG: CXX
21912 # The linker used to build libraries.
21915 # How to create reloadable object files.
21916 reload_flag=$lt_reload_flag_CXX
21917 reload_cmds=$lt_reload_cmds_CXX
21919 # Commands used to build an old-style archive.
21920 old_archive_cmds=$lt_old_archive_cmds_CXX
21922 # A language specific compiler.
21923 CC=$lt_compiler_CXX
21925 # Is the compiler the GNU compiler?
21928 # Compiler flag to turn off builtin functions.
21929 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
21931 # Additional compiler flags for building library objects.
21932 pic_flag=$lt_lt_prog_compiler_pic_CXX
21934 # How to pass a linker flag through the compiler.
21935 wl=$lt_lt_prog_compiler_wl_CXX
21937 # Compiler flag to prevent dynamic linking.
21938 link_static_flag=$lt_lt_prog_compiler_static_CXX
21940 # Does compiler simultaneously support -c and -o options?
21941 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
21943 # Whether or not to add -lc for building shared libraries.
21944 build_libtool_need_lc=$archive_cmds_need_lc_CXX
21946 # Whether or not to disallow shared libs when runtime libs are static.
21947 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
21949 # Compiler flag to allow reflexive dlopens.
21950 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
21952 # Compiler flag to generate shared objects directly from archives.
21953 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
21955 # Whether the compiler copes with passing no objects directly.
21956 compiler_needs_object=$lt_compiler_needs_object_CXX
21958 # Create an old-style archive from a shared archive.
21959 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
21961 # Create a temporary old-style archive to link instead of a shared archive.
21962 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
21964 # Commands used to build a shared archive.
21965 archive_cmds=$lt_archive_cmds_CXX
21966 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
21968 # Commands used to build a loadable module if different from building
21969 # a shared archive.
21970 module_cmds=$lt_module_cmds_CXX
21971 module_expsym_cmds=$lt_module_expsym_cmds_CXX
21973 # Whether we are building with GNU ld or not.
21974 with_gnu_ld=$lt_with_gnu_ld_CXX
21976 # Flag that allows shared libraries with undefined symbols to be built.
21977 allow_undefined_flag=$lt_allow_undefined_flag_CXX
21979 # Flag that enforces no undefined symbols.
21980 no_undefined_flag=$lt_no_undefined_flag_CXX
21982 # Flag to hardcode \$libdir into a binary during linking.
21983 # This must work even if \$libdir does not exist
21984 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
21986 # If ld is used when linking, flag to hardcode \$libdir into a binary
21987 # during linking. This must work even if \$libdir does not exist.
21988 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
21990 # Whether we need a single "-rpath" flag with a separated argument.
21991 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
21993 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21994 # DIR into the resulting binary.
21995 hardcode_direct=$hardcode_direct_CXX
21997 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21998 # DIR into the resulting binary and the resulting library dependency is
21999 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22000 # library is relocated.
22001 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
22003 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22004 # into the resulting binary.
22005 hardcode_minus_L=$hardcode_minus_L_CXX
22007 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22008 # into the resulting binary.
22009 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
22011 # Set to "yes" if building a shared library automatically hardcodes DIR
22012 # into the library and all subsequent libraries and executables linked
22014 hardcode_automatic=$hardcode_automatic_CXX
22016 # Set to yes if linker adds runtime paths of dependent libraries
22017 # to runtime path list.
22018 inherit_rpath=$inherit_rpath_CXX
22020 # Whether libtool must link a program against all its dependency libraries.
22021 link_all_deplibs=$link_all_deplibs_CXX
22023 # Set to "yes" if exported symbols are required.
22024 always_export_symbols=$always_export_symbols_CXX
22026 # The commands to list exported symbols.
22027 export_symbols_cmds=$lt_export_symbols_cmds_CXX
22029 # Symbols that should not be listed in the preloaded symbols.
22030 exclude_expsyms=$lt_exclude_expsyms_CXX
22032 # Symbols that must always be exported.
22033 include_expsyms=$lt_include_expsyms_CXX
22035 # Commands necessary for linking programs (against libraries) with templates.
22036 prelink_cmds=$lt_prelink_cmds_CXX
22038 # Commands necessary for finishing linking programs.
22039 postlink_cmds=$lt_postlink_cmds_CXX
22041 # Specify filename containing input files.
22042 file_list_spec=$lt_file_list_spec_CXX
22044 # How to hardcode a shared library path into an executable.
22045 hardcode_action=$hardcode_action_CXX
22047 # The directories searched by this compiler when creating a shared library.
22048 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
22050 # Dependencies to place before and after the objects being linked to
22051 # create a shared library.
22052 predep_objects=$lt_predep_objects_CXX
22053 postdep_objects=$lt_postdep_objects_CXX
22054 predeps=$lt_predeps_CXX
22055 postdeps=$lt_postdeps_CXX
22057 # The library search path used internally by the compiler when linking
22058 # a shared library.
22059 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
22061 # ### END LIBTOOL TAG CONFIG: CXX
22072 ac_clean_files
=$ac_clean_files_save
22074 test $ac_write_fail = 0 ||
22075 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
22078 # configure is writing to config.log, and then calls config.status.
22079 # config.status does its own redirection, appending to config.log.
22080 # Unfortunately, on DOS this fails, as config.log is still kept open
22081 # by configure, so config.status won't be able to write to it; its
22082 # output is simply discarded. So we exec the FD to /dev/null,
22083 # effectively closing config.log, so it can be properly (re)opened and
22084 # appended to by config.status. When coming back to configure, we
22085 # need to make the FD available again.
22086 if test "$no_create" != yes; then
22088 ac_config_status_args
=
22089 test "$silent" = yes &&
22090 ac_config_status_args
="$ac_config_status_args --quiet"
22092 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22094 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22095 # would make configure fail if this is the last instruction.
22096 $ac_cs_success || as_fn_exit
1
22098 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
22099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22100 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22104 { $as_echo "$as_me:${as_lineno-$LINENO}:
22107 quvi version: ${VERSION} g:${git_describe} b:${build_date}
22108 host setup: ${host}
22114 build libquvi: shared=${enable_shared} static=${enable_static}
22115 build examples: ${enable_examples}
22116 build quvi: ${enable_quvi}
22118 enable tests: ${enable_tests}
22119 enable todo: ${enable_todo}
22120 enable nsfw: ${enable_nsfw}
22121 enable nlfy: ${enable_nlfy}
22123 install manual: ${with_man}
22124 install docs: ${with_doc}
22129 quvi version: ${VERSION} g:${git_describe} b:${build_date}
22130 host setup: ${host}
22136 build libquvi: shared=${enable_shared} static=${enable_static}
22137 build examples: ${enable_examples}
22138 build quvi: ${enable_quvi}
22140 enable tests: ${enable_tests}
22141 enable todo: ${enable_todo}
22142 enable nsfw: ${enable_nsfw}
22143 enable nlfy: ${enable_nlfy}
22145 install manual: ${with_man}
22146 install docs: ${with_doc}
22150 # gengetopt: ${GENGETOPT}
22151 # doxygen: ${DOXYGEN}
22153 # pod2man: ${POD2MAN}
22154 # pod2html: ${POD2HTML}