2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for quvi 0.2.16.
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.16'
574 PACKAGE_STRING
='quvi 0.2.16'
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
684 EXTRA_LIBQUVI_LDFLAGS
723 INSTALL_STRIP_PROGRAM
790 program_transform_name
803 enable_option_checking
804 enable_dependency_tracking
826 ac_precious_vars
='build_alias
852 # Initialize some variables set by options.
854 ac_init_version
=false
855 ac_unrecognized_opts
=
857 # The variables have the same names as the options, with
858 # dashes changed to underlines.
866 program_transform_name
=s
,x
,x
,
874 # Installation directory options.
875 # These are left unexpanded so users can "make install exec_prefix=/foo"
876 # and all the variables that are supposed to be based on exec_prefix
877 # by default will actually change.
878 # Use braces instead of parens because sh, perl, etc. also accept them.
879 # (The list follows the same order as the GNU Coding Standards.)
880 bindir
='${exec_prefix}/bin'
881 sbindir
='${exec_prefix}/sbin'
882 libexecdir
='${exec_prefix}/libexec'
883 datarootdir
='${prefix}/share'
884 datadir
='${datarootdir}'
885 sysconfdir
='${prefix}/etc'
886 sharedstatedir
='${prefix}/com'
887 localstatedir
='${prefix}/var'
888 includedir
='${prefix}/include'
889 oldincludedir
='/usr/include'
890 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
891 infodir
='${datarootdir}/info'
896 libdir
='${exec_prefix}/lib'
897 localedir
='${datarootdir}/locale'
898 mandir
='${datarootdir}/man'
904 # If the previous option needs an argument, assign it.
905 if test -n "$ac_prev"; then
906 eval $ac_prev=\
$ac_option
912 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
917 # Accept the important Cygnus configure options, so we can diagnose typos.
919 case $ac_dashdash$ac_option in
923 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
925 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
928 -build |
--build |
--buil |
--bui |
--bu)
929 ac_prev
=build_alias
;;
930 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
931 build_alias
=$ac_optarg ;;
933 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
934 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
935 ac_prev
=cache_file
;;
936 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
937 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
938 cache_file
=$ac_optarg ;;
941 cache_file
=config.cache
;;
943 -datadir |
--datadir |
--datadi |
--datad)
945 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
946 datadir
=$ac_optarg ;;
948 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
949 |
--dataroo |
--dataro |
--datar)
950 ac_prev
=datarootdir
;;
951 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
952 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
953 datarootdir
=$ac_optarg ;;
955 -disable-* |
--disable-*)
956 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
957 # Reject names that are not valid shell variable names.
958 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
959 as_fn_error $?
"invalid feature name: $ac_useropt"
960 ac_useropt_orig
=$ac_useropt
961 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
962 case $ac_user_opts in
966 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
967 ac_unrecognized_sep
=', ';;
969 eval enable_
$ac_useropt=no
;;
971 -docdir |
--docdir |
--docdi |
--doc |
--do)
973 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
976 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
978 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
981 -enable-* |
--enable-*)
982 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
983 # Reject names that are not valid shell variable names.
984 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
985 as_fn_error $?
"invalid feature name: $ac_useropt"
986 ac_useropt_orig
=$ac_useropt
987 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
988 case $ac_user_opts in
992 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
993 ac_unrecognized_sep
=', ';;
995 eval enable_
$ac_useropt=\
$ac_optarg ;;
997 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
998 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
999 |
--exec |
--exe |
--ex)
1000 ac_prev
=exec_prefix
;;
1001 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1002 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1003 |
--exec=* |
--exe=* |
--ex=*)
1004 exec_prefix
=$ac_optarg ;;
1006 -gas |
--gas |
--ga |
--g)
1007 # Obsolete; use --with-gas.
1010 -help |
--help |
--hel |
--he |
-h)
1011 ac_init_help
=long
;;
1012 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1013 ac_init_help
=recursive
;;
1014 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1015 ac_init_help
=short
;;
1017 -host |
--host |
--hos |
--ho)
1018 ac_prev
=host_alias
;;
1019 -host=* |
--host=* |
--hos=* |
--ho=*)
1020 host_alias
=$ac_optarg ;;
1022 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1024 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1026 htmldir
=$ac_optarg ;;
1028 -includedir |
--includedir |
--includedi |
--included |
--include \
1029 |
--includ |
--inclu |
--incl |
--inc)
1030 ac_prev
=includedir
;;
1031 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1032 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1033 includedir
=$ac_optarg ;;
1035 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1037 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1038 infodir
=$ac_optarg ;;
1040 -libdir |
--libdir |
--libdi |
--libd)
1042 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1043 libdir
=$ac_optarg ;;
1045 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1046 |
--libexe |
--libex |
--libe)
1047 ac_prev
=libexecdir
;;
1048 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1049 |
--libexe=* |
--libex=* |
--libe=*)
1050 libexecdir
=$ac_optarg ;;
1052 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1053 ac_prev
=localedir
;;
1054 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1055 localedir
=$ac_optarg ;;
1057 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1058 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1059 ac_prev
=localstatedir
;;
1060 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1061 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1062 localstatedir
=$ac_optarg ;;
1064 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1066 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1067 mandir
=$ac_optarg ;;
1069 -nfp |
--nfp |
--nf)
1070 # Obsolete; use --without-fp.
1073 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1074 |
--no-cr |
--no-c |
-n)
1077 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1078 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1081 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1082 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1083 |
--oldin |
--oldi |
--old |
--ol |
--o)
1084 ac_prev
=oldincludedir
;;
1085 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1086 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1087 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1088 oldincludedir
=$ac_optarg ;;
1090 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1092 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1093 prefix
=$ac_optarg ;;
1095 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1096 |
--program-pre |
--program-pr |
--program-p)
1097 ac_prev
=program_prefix
;;
1098 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1099 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1100 program_prefix
=$ac_optarg ;;
1102 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1103 |
--program-suf |
--program-su |
--program-s)
1104 ac_prev
=program_suffix
;;
1105 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1106 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1107 program_suffix
=$ac_optarg ;;
1109 -program-transform-name |
--program-transform-name \
1110 |
--program-transform-nam |
--program-transform-na \
1111 |
--program-transform-n |
--program-transform- \
1112 |
--program-transform |
--program-transfor \
1113 |
--program-transfo |
--program-transf \
1114 |
--program-trans |
--program-tran \
1115 |
--progr-tra |
--program-tr |
--program-t)
1116 ac_prev
=program_transform_name
;;
1117 -program-transform-name=* |
--program-transform-name=* \
1118 |
--program-transform-nam=* |
--program-transform-na=* \
1119 |
--program-transform-n=* |
--program-transform-=* \
1120 |
--program-transform=* |
--program-transfor=* \
1121 |
--program-transfo=* |
--program-transf=* \
1122 |
--program-trans=* |
--program-tran=* \
1123 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1124 program_transform_name
=$ac_optarg ;;
1126 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1128 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1129 pdfdir
=$ac_optarg ;;
1131 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1133 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1136 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1137 |
-silent |
--silent |
--silen |
--sile |
--sil)
1140 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1142 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1144 sbindir
=$ac_optarg ;;
1146 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1147 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1148 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1150 ac_prev
=sharedstatedir
;;
1151 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1152 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1153 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1155 sharedstatedir
=$ac_optarg ;;
1157 -site |
--site |
--sit)
1159 -site=* |
--site=* |
--sit=*)
1162 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1164 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1165 srcdir
=$ac_optarg ;;
1167 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1168 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1169 ac_prev
=sysconfdir
;;
1170 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1171 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1172 sysconfdir
=$ac_optarg ;;
1174 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1175 ac_prev
=target_alias
;;
1176 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1177 target_alias
=$ac_optarg ;;
1179 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1182 -version |
--version |
--versio |
--versi |
--vers |
-V)
1183 ac_init_version
=: ;;
1186 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1187 # Reject names that are not valid shell variable names.
1188 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1189 as_fn_error $?
"invalid package name: $ac_useropt"
1190 ac_useropt_orig
=$ac_useropt
1191 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1192 case $ac_user_opts in
1196 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1197 ac_unrecognized_sep
=', ';;
1199 eval with_
$ac_useropt=\
$ac_optarg ;;
1201 -without-* |
--without-*)
1202 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1203 # Reject names that are not valid shell variable names.
1204 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1205 as_fn_error $?
"invalid package name: $ac_useropt"
1206 ac_useropt_orig
=$ac_useropt
1207 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1208 case $ac_user_opts in
1212 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1213 ac_unrecognized_sep
=', ';;
1215 eval with_
$ac_useropt=no
;;
1218 # Obsolete; use --with-x.
1221 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1222 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1223 ac_prev
=x_includes
;;
1224 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1225 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1226 x_includes
=$ac_optarg ;;
1228 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1229 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1230 ac_prev
=x_libraries
;;
1231 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1232 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1233 x_libraries
=$ac_optarg ;;
1235 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1236 Try \`$0 --help' for more information"
1240 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1241 # Reject names that are not valid shell variable names.
1242 case $ac_envvar in #(
1243 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1244 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1246 eval $ac_envvar=\
$ac_optarg
1247 export $ac_envvar ;;
1250 # FIXME: should be removed in autoconf 3.0.
1251 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1252 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1253 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1254 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1260 if test -n "$ac_prev"; then
1261 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1262 as_fn_error $?
"missing argument to $ac_option"
1265 if test -n "$ac_unrecognized_opts"; then
1266 case $enable_option_checking in
1268 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1269 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1273 # Check all directory arguments for consistency.
1274 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1275 datadir sysconfdir sharedstatedir localstatedir includedir \
1276 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1277 libdir localedir mandir
1279 eval ac_val
=\$
$ac_var
1280 # Remove trailing slashes.
1283 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1284 eval $ac_var=\
$ac_val;;
1286 # Be sure to have absolute directory names.
1288 [\\/$
]* | ?
:[\\/]* ) continue;;
1289 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1291 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1294 # There might be people who depend on the old broken behavior: `$host'
1295 # used to hold the argument of --host etc.
1296 # FIXME: To remove some day.
1299 target
=$target_alias
1301 # FIXME: To remove some day.
1302 if test "x$host_alias" != x
; then
1303 if test "x$build_alias" = x
; then
1304 cross_compiling
=maybe
1305 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1306 If a cross compiler is detected then cross compile mode will be used" >&2
1307 elif test "x$build_alias" != "x$host_alias"; then
1313 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1315 test "$silent" = yes && exec 6>/dev
/null
1318 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1319 ac_ls_di
=`ls -di .` &&
1320 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1321 as_fn_error $?
"working directory cannot be determined"
1322 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1323 as_fn_error $?
"pwd does not report name of working directory"
1326 # Find the source files, if location was not specified.
1327 if test -z "$srcdir"; then
1328 ac_srcdir_defaulted
=yes
1329 # Try the directory containing this script, then the parent directory.
1330 ac_confdir
=`$as_dirname -- "$as_myself" ||
1331 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1332 X"$as_myself" : 'X\(//\)[^/]' \| \
1333 X"$as_myself" : 'X\(//\)$' \| \
1334 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1335 $as_echo X"$as_myself" |
1336 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1354 if test ! -r "$srcdir/$ac_unique_file"; then
1358 ac_srcdir_defaulted
=no
1360 if test ! -r "$srcdir/$ac_unique_file"; then
1361 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1362 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1364 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1366 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1368 # When building in place, set srcdir=.
1369 if test "$ac_abs_confdir" = "$ac_pwd"; then
1372 # Remove unnecessary trailing slashes from srcdir.
1373 # Double slashes in file names in object file debugging info
1374 # mess up M-x gdb in Emacs.
1376 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1378 for ac_var
in $ac_precious_vars; do
1379 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1380 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1381 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1382 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1386 # Report the --help message.
1388 if test "$ac_init_help" = "long"; then
1389 # Omit some internal or obsolete options to make the list less imposing.
1390 # This message is too long to be a string in the A/UX 3.1 sh.
1392 \`configure' configures quvi 0.2.16 to adapt to many kinds of systems.
1394 Usage: $0 [OPTION]... [VAR=VALUE]...
1396 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1397 VAR=VALUE. See below for descriptions of some of the useful variables.
1399 Defaults for the options are specified in brackets.
1402 -h, --help display this help and exit
1403 --help=short display options specific to this package
1404 --help=recursive display the short help of all the included packages
1405 -V, --version display version information and exit
1406 -q, --quiet, --silent do not print \`checking ...' messages
1407 --cache-file=FILE cache test results in FILE [disabled]
1408 -C, --config-cache alias for \`--cache-file=config.cache'
1409 -n, --no-create do not create output files
1410 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1412 Installation directories:
1413 --prefix=PREFIX install architecture-independent files in PREFIX
1414 [$ac_default_prefix]
1415 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1418 By default, \`make install' will install all the files in
1419 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1420 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1421 for instance \`--prefix=\$HOME'.
1423 For better control, use the options below.
1425 Fine tuning of the installation directories:
1426 --bindir=DIR user executables [EPREFIX/bin]
1427 --sbindir=DIR system admin executables [EPREFIX/sbin]
1428 --libexecdir=DIR program executables [EPREFIX/libexec]
1429 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1430 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1431 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1432 --libdir=DIR object code libraries [EPREFIX/lib]
1433 --includedir=DIR C header files [PREFIX/include]
1434 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1435 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1436 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1437 --infodir=DIR info documentation [DATAROOTDIR/info]
1438 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1439 --mandir=DIR man documentation [DATAROOTDIR/man]
1440 --docdir=DIR documentation root [DATAROOTDIR/doc/quvi]
1441 --htmldir=DIR html documentation [DOCDIR]
1442 --dvidir=DIR dvi documentation [DOCDIR]
1443 --pdfdir=DIR pdf documentation [DOCDIR]
1444 --psdir=DIR ps documentation [DOCDIR]
1450 --program-prefix=PREFIX prepend PREFIX to installed program names
1451 --program-suffix=SUFFIX append SUFFIX to installed program names
1452 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1455 --build=BUILD configure
for building on BUILD
[guessed
]
1456 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1457 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1461 if test -n "$ac_init_help"; then
1462 case $ac_init_help in
1463 short | recursive
) echo "Configuration of quvi 0.2.16:";;
1468 --disable-option-checking ignore unrecognized
--enable/--with options
1469 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1470 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1471 --disable-dependency-tracking speeds up one-time build
1472 --enable-dependency-tracking do not reject slow dependency extractors
1473 --enable-silent-rules less verbose build output
(undo
: `make V=1')
1474 --disable-silent-rules verbose build output (undo: `make V
=0')
1475 --enable-shared[=PKGS] build shared libraries [default=yes]
1476 --enable-static[=PKGS] build static libraries [default=yes]
1477 --enable-fast-install[=PKGS]
1478 optimize for fast installation [default=yes]
1479 --disable-libtool-lock avoid locking (might break parallel builds)
1480 --disable-rpath do not hardcode runtime library paths
1481 --enable-quvi build quvi command line tool[default=yes]
1482 --enable-examples build examples [default=no]
1483 --enable-tests enable tests [default=no]
1484 --enable-verbose-tests enable verbose tests [default=no]
1485 --enable-nsfw build with adult website support [default=no]
1486 --enable-todo with website scripts marked as "todo" [default=no]
1487 --enable-nlfy test scripts marked as "nlfy" [default=no]
1490 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1491 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1492 --with-pic try to use only PIC/non-PIC objects [default=use
1494 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1495 --with-sysroot=DIR Search for dependent libraries within DIR
1496 (or the compiler's sysroot
if not specified
).
1497 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1498 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1499 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1500 --with-soup Build with libsoup
1501 --with-man install manual pages [default=yes]
1502 --with-doc install documentation [default=yes]
1504 Some influential environment variables:
1505 CC C compiler command
1506 CFLAGS C compiler flags
1507 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1508 nonstandard directory <lib dir>
1509 LIBS libraries to pass to the linker, e.g. -l<library>
1510 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1511 you have headers in a nonstandard directory <include dir>
1513 CXX C++ compiler command
1514 CXXFLAGS C++ compiler flags
1515 CXXCPP C++ preprocessor
1516 PKG_CONFIG path to pkg-config utility
1518 directories to add to pkg-config's search path
1520 path overriding pkg-config
's built-in search path
1522 C compiler flags for libcurl, overriding pkg-config
1524 linker flags for libcurl, overriding pkg-config
1526 C compiler flags for liblua, overriding pkg-config
1527 liblua_LIBS linker flags for liblua, overriding pkg-config
1528 libsoup_gnome_CFLAGS
1529 C compiler flags for libsoup_gnome, overriding pkg-config
1531 linker flags for libsoup_gnome, overriding pkg-config
1533 C compiler flags for libsoup, overriding pkg-config
1535 linker flags for libsoup, overriding pkg-config
1537 Use these variables to override the choices made by `configure' or to
help
1538 it to
find libraries and programs with nonstandard names
/locations.
1540 Report bugs to
<http
://sourceforge.net
/apps
/trac
/quvi
>.
1541 quvi home page
: <http
://quvi.sourceforge.net
/>.
1546 if test "$ac_init_help" = "recursive"; then
1547 # If there are subdirs, report their specific --help.
1548 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1549 test -d "$ac_dir" ||
1550 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1555 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1557 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1558 # A ".." for each directory in $ac_dir_suffix.
1559 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1560 case $ac_top_builddir_sub in
1561 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1562 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1565 ac_abs_top_builddir
=$ac_pwd
1566 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1567 # for backward compatibility:
1568 ac_top_builddir
=$ac_top_build_prefix
1571 .
) # We are building in place.
1573 ac_top_srcdir
=$ac_top_builddir_sub
1574 ac_abs_top_srcdir
=$ac_pwd ;;
1575 [\\/]* | ?
:[\\/]* ) # Absolute name.
1576 ac_srcdir
=$srcdir$ac_dir_suffix;
1577 ac_top_srcdir
=$srcdir
1578 ac_abs_top_srcdir
=$srcdir ;;
1580 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1581 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1582 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1584 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1586 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1587 # Check for guested configure.
1588 if test -f "$ac_srcdir/configure.gnu"; then
1590 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1591 elif test -f "$ac_srcdir/configure"; then
1593 $SHELL "$ac_srcdir/configure" --help=recursive
1595 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1597 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1601 test -n "$ac_init_help" && exit $ac_status
1602 if $ac_init_version; then
1604 quvi configure
0.2.16
1605 generated by GNU Autoconf
2.68
1607 Copyright
(C
) 2010 Free Software Foundation
, Inc.
1608 This configure
script is free software
; the Free Software Foundation
1609 gives unlimited permission to copy
, distribute and modify it.
1614 ## ------------------------ ##
1615 ## Autoconf initialization. ##
1616 ## ------------------------ ##
1618 # ac_fn_c_try_compile LINENO
1619 # --------------------------
1620 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1621 ac_fn_c_try_compile
()
1623 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1624 rm -f conftest.
$ac_objext
1625 if { { ac_try
="$ac_compile"
1627 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1628 *) ac_try_echo=$ac_try;;
1630 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1631 $as_echo "$ac_try_echo"; } >&5
1632 (eval "$ac_compile") 2>conftest.err
1634 if test -s conftest.err; then
1635 grep -v '^ *+' conftest.err >conftest.er1
1636 cat conftest.er1 >&5
1637 mv -f conftest.er1 conftest.err
1639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1640 test $ac_status = 0; } && {
1641 test -z "$ac_c_werror_flag" ||
1642 test ! -s conftest.err
1643 } && test -s conftest.$ac_objext; then :
1646 $as_echo "$as_me: failed program was:" >&5
1647 sed 's/^/| /' conftest.$ac_ext >&5
1651 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1652 as_fn_set_status $ac_retval
1654 } # ac_fn_c_try_compile
1656 # ac_fn_c_try_cpp LINENO
1657 # ----------------------
1658 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1661 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1662 if { { ac_try="$ac_cpp conftest.$ac_ext"
1664 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1665 *) ac_try_echo
=$ac_try;;
1667 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1668 $as_echo "$ac_try_echo"; } >&5
1669 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1671 if test -s conftest.err
; then
1672 grep -v '^ *+' conftest.err
>conftest.er1
1673 cat conftest.er1
>&5
1674 mv -f conftest.er1 conftest.err
1676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1677 test $ac_status = 0; } > conftest.i
&& {
1678 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1679 test ! -s conftest.err
1683 $as_echo "$as_me: failed program was:" >&5
1684 sed 's/^/| /' conftest.
$ac_ext >&5
1688 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1689 as_fn_set_status
$ac_retval
1693 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1694 # -------------------------------------------------------
1695 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1696 # the include files in INCLUDES and setting the cache variable VAR
1698 ac_fn_c_check_header_mongrel
()
1700 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1701 if eval \
${$3+:} false
; then :
1702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1703 $as_echo_n "checking for $2... " >&6; }
1704 if eval \
${$3+:} false
; then :
1705 $as_echo_n "(cached) " >&6
1708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1709 $as_echo "$ac_res" >&6; }
1711 # Is the header compilable?
1712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1713 $as_echo_n "checking $2 usability... " >&6; }
1714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1715 /* end confdefs.h. */
1719 if ac_fn_c_try_compile
"$LINENO"; then :
1720 ac_header_compiler
=yes
1722 ac_header_compiler
=no
1724 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1726 $as_echo "$ac_header_compiler" >&6; }
1728 # Is the header present?
1729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1730 $as_echo_n "checking $2 presence... " >&6; }
1731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1732 /* end confdefs.h. */
1735 if ac_fn_c_try_cpp
"$LINENO"; then :
1736 ac_header_preproc
=yes
1738 ac_header_preproc
=no
1740 rm -f conftest.err conftest.i conftest.
$ac_ext
1741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1742 $as_echo "$ac_header_preproc" >&6; }
1744 # So? What about this header?
1745 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1748 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1749 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1750 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1753 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1754 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1756 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1758 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1760 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1762 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1763 ( $as_echo "## ---------------------------------------------------- ##
1764 ## Report this to http://sourceforge.net/apps/trac/quvi ##
1765 ## ---------------------------------------------------- ##"
1766 ) |
sed "s/^/$as_me: WARNING: /" >&2
1769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1770 $as_echo_n "checking for $2... " >&6; }
1771 if eval \
${$3+:} false
; then :
1772 $as_echo_n "(cached) " >&6
1774 eval "$3=\$ac_header_compiler"
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1778 $as_echo "$ac_res" >&6; }
1780 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1782 } # ac_fn_c_check_header_mongrel
1784 # ac_fn_c_try_run LINENO
1785 # ----------------------
1786 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1787 # that executables *can* be run.
1790 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1791 if { { ac_try
="$ac_link"
1793 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1794 *) ac_try_echo=$ac_try;;
1796 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1797 $as_echo "$ac_try_echo"; } >&5
1798 (eval "$ac_link") 2>&5
1800 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1801 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1802 { { case "(($ac_try" in
1803 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1804 *) ac_try_echo
=$ac_try;;
1806 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1807 $as_echo "$ac_try_echo"; } >&5
1808 (eval "$ac_try") 2>&5
1810 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1811 test $ac_status = 0; }; }; then :
1814 $as_echo "$as_me: program exited with status $ac_status" >&5
1815 $as_echo "$as_me: failed program was:" >&5
1816 sed 's/^/| /' conftest.
$ac_ext >&5
1818 ac_retval
=$ac_status
1820 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1821 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1822 as_fn_set_status
$ac_retval
1826 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1827 # -------------------------------------------------------
1828 # Tests whether HEADER exists and can be compiled using the include files in
1829 # INCLUDES, setting the cache variable VAR accordingly.
1830 ac_fn_c_check_header_compile
()
1832 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1834 $as_echo_n "checking for $2... " >&6; }
1835 if eval \
${$3+:} false
; then :
1836 $as_echo_n "(cached) " >&6
1838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1839 /* end confdefs.h. */
1843 if ac_fn_c_try_compile
"$LINENO"; then :
1848 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1852 $as_echo "$ac_res" >&6; }
1853 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1855 } # ac_fn_c_check_header_compile
1857 # ac_fn_c_try_link LINENO
1858 # -----------------------
1859 # Try to link conftest.$ac_ext, and return whether this succeeded.
1862 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1863 rm -f conftest.
$ac_objext conftest
$ac_exeext
1864 if { { ac_try
="$ac_link"
1866 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1867 *) ac_try_echo=$ac_try;;
1869 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1870 $as_echo "$ac_try_echo"; } >&5
1871 (eval "$ac_link") 2>conftest.err
1873 if test -s conftest.err; then
1874 grep -v '^ *+' conftest.err >conftest.er1
1875 cat conftest.er1 >&5
1876 mv -f conftest.er1 conftest.err
1878 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1879 test $ac_status = 0; } && {
1880 test -z "$ac_c_werror_flag" ||
1881 test ! -s conftest.err
1882 } && test -s conftest$ac_exeext && {
1883 test "$cross_compiling" = yes ||
1884 $as_test_x conftest$ac_exeext
1888 $as_echo "$as_me: failed program was:" >&5
1889 sed 's/^/| /' conftest.$ac_ext >&5
1893 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1894 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1895 # interfere with the next link command; also delete a directory that is
1896 # left behind by Apple's compiler. We do this before executing the actions.
1897 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1898 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1899 as_fn_set_status $ac_retval
1901 } # ac_fn_c_try_link
1903 # ac_fn_c_check_func LINENO FUNC VAR
1904 # ----------------------------------
1905 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1906 ac_fn_c_check_func ()
1908 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1910 $as_echo_n "checking for $2... " >&6; }
1911 if eval \${$3+:} false; then :
1912 $as_echo_n "(cached) " >&6
1914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1915 /* end confdefs.h. */
1916 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1917 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1918 #define $2 innocuous_$2
1920 /* System header to define __stub macros and hopefully few prototypes,
1921 which can conflict with char $2 (); below.
1922 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1923 <limits.h> exists even on freestanding compilers. */
1926 # include <limits.h>
1928 # include <assert.h>
1933 /* Override any GCC internal prototype to avoid an error.
1934 Use char because int might match the return type of a GCC
1935 builtin and then its argument prototype would still apply. */
1940 /* The GNU C library defines this for functions which it implements
1941 to always fail with ENOSYS. Some functions are actually named
1942 something starting with __ and the normal name is an alias. */
1943 #if defined __stub_$2 || defined __stub___$2
1955 if ac_fn_c_try_link "$LINENO"; then :
1960 rm -f core conftest.err conftest.$ac_objext \
1961 conftest$ac_exeext conftest.$ac_ext
1964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1965 $as_echo "$ac_res" >&6; }
1966 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1968 } # ac_fn_c_check_func
1970 # ac_fn_cxx_try_compile LINENO
1971 # ----------------------------
1972 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1973 ac_fn_cxx_try_compile ()
1975 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1976 rm -f conftest.$ac_objext
1977 if { { ac_try="$ac_compile"
1979 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1980 *) ac_try_echo
=$ac_try;;
1982 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1983 $as_echo "$ac_try_echo"; } >&5
1984 (eval "$ac_compile") 2>conftest.err
1986 if test -s conftest.err
; then
1987 grep -v '^ *+' conftest.err
>conftest.er1
1988 cat conftest.er1
>&5
1989 mv -f conftest.er1 conftest.err
1991 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1992 test $ac_status = 0; } && {
1993 test -z "$ac_cxx_werror_flag" ||
1994 test ! -s conftest.err
1995 } && test -s conftest.
$ac_objext; then :
1998 $as_echo "$as_me: failed program was:" >&5
1999 sed 's/^/| /' conftest.
$ac_ext >&5
2003 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2004 as_fn_set_status
$ac_retval
2006 } # ac_fn_cxx_try_compile
2008 # ac_fn_cxx_try_cpp LINENO
2009 # ------------------------
2010 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2011 ac_fn_cxx_try_cpp
()
2013 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2014 if { { ac_try
="$ac_cpp conftest.$ac_ext"
2016 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2017 *) ac_try_echo=$ac_try;;
2019 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2020 $as_echo "$ac_try_echo"; } >&5
2021 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2023 if test -s conftest.err; then
2024 grep -v '^ *+' conftest.err >conftest.er1
2025 cat conftest.er1 >&5
2026 mv -f conftest.er1 conftest.err
2028 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2029 test $ac_status = 0; } > conftest.i && {
2030 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2031 test ! -s conftest.err
2035 $as_echo "$as_me: failed program was:" >&5
2036 sed 's/^/| /' conftest.$ac_ext >&5
2040 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2041 as_fn_set_status $ac_retval
2043 } # ac_fn_cxx_try_cpp
2045 # ac_fn_cxx_try_link LINENO
2046 # -------------------------
2047 # Try to link conftest.$ac_ext, and return whether this succeeded.
2048 ac_fn_cxx_try_link ()
2050 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2051 rm -f conftest.$ac_objext conftest$ac_exeext
2052 if { { ac_try="$ac_link"
2054 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2055 *) ac_try_echo
=$ac_try;;
2057 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2058 $as_echo "$ac_try_echo"; } >&5
2059 (eval "$ac_link") 2>conftest.err
2061 if test -s conftest.err
; then
2062 grep -v '^ *+' conftest.err
>conftest.er1
2063 cat conftest.er1
>&5
2064 mv -f conftest.er1 conftest.err
2066 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2067 test $ac_status = 0; } && {
2068 test -z "$ac_cxx_werror_flag" ||
2069 test ! -s conftest.err
2070 } && test -s conftest
$ac_exeext && {
2071 test "$cross_compiling" = yes ||
2072 $as_test_x conftest
$ac_exeext
2076 $as_echo "$as_me: failed program was:" >&5
2077 sed 's/^/| /' conftest.
$ac_ext >&5
2081 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2082 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2083 # interfere with the next link command; also delete a directory that is
2084 # left behind by Apple's compiler. We do this before executing the actions.
2085 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2086 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2087 as_fn_set_status
$ac_retval
2089 } # ac_fn_cxx_try_link
2091 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2092 # -------------------------------------------
2093 # Tests whether TYPE exists after having included INCLUDES, setting cache
2094 # variable VAR accordingly.
2095 ac_fn_c_check_type
()
2097 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2099 $as_echo_n "checking for $2... " >&6; }
2100 if eval \
${$3+:} false
; then :
2101 $as_echo_n "(cached) " >&6
2104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2105 /* end confdefs.h. */
2116 if ac_fn_c_try_compile
"$LINENO"; then :
2117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2118 /* end confdefs.h. */
2129 if ac_fn_c_try_compile
"$LINENO"; then :
2134 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2136 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2140 $as_echo "$ac_res" >&6; }
2141 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2143 } # ac_fn_c_check_type
2145 # ac_fn_c_find_uintX_t LINENO BITS VAR
2146 # ------------------------------------
2147 # Finds an unsigned integer type with width BITS, setting cache variable VAR
2149 ac_fn_c_find_uintX_t
()
2151 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
2153 $as_echo_n "checking for uint$2_t... " >&6; }
2154 if eval \
${$3+:} false
; then :
2155 $as_echo_n "(cached) " >&6
2158 # Order is important - never check a type that is potentially smaller
2159 # than half of the expected target width.
2160 for ac_type
in uint
$2_t 'unsigned int' 'unsigned long int' \
2161 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
2162 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2163 /* end confdefs.h. */
2164 $ac_includes_default
2168 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
2175 if ac_fn_c_try_compile
"$LINENO"; then :
2180 eval "$3=\$ac_type" ;;
2183 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2184 if eval test \"x\$
"$3"\" = x
"no"; then :
2192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2193 $as_echo "$ac_res" >&6; }
2194 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2196 } # ac_fn_c_find_uintX_t
2197 cat >config.log
<<_ACEOF
2198 This file contains any messages produced by compilers while
2199 running configure, to aid debugging if configure makes a mistake.
2201 It was created by quvi $as_me 0.2.16, which was
2202 generated by GNU Autoconf 2.68. Invocation command line was
2214 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2215 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2216 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2217 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2218 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2220 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2221 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2223 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2224 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2225 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2226 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2227 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2228 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2229 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2233 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2237 test -z "$as_dir" && as_dir
=.
2238 $as_echo "PATH: $as_dir"
2254 # Keep a trace of the command line.
2255 # Strip out --no-create and --no-recursion so they do not pile up.
2256 # Strip out --silent because we don't want to record it for future runs.
2257 # Also quote any args containing shell meta-characters.
2258 # Make two passes to allow for proper duplicate-argument suppression.
2262 ac_must_keep_next
=false
2268 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2269 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2270 |
-silent |
--silent |
--silen |
--sile |
--sil)
2273 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2276 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2278 as_fn_append ac_configure_args1
" '$ac_arg'"
2279 if test $ac_must_keep_next = true
; then
2280 ac_must_keep_next
=false
# Got value, back to normal.
2283 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2284 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2285 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2286 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2287 case "$ac_configure_args0 " in
2288 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2291 -* ) ac_must_keep_next
=true
;;
2294 as_fn_append ac_configure_args
" '$ac_arg'"
2299 { ac_configure_args0
=; unset ac_configure_args0
;}
2300 { ac_configure_args1
=; unset ac_configure_args1
;}
2302 # When interrupted or exit'd, cleanup temporary files, and complete
2303 # config.log. We remove comments because anyway the quotes in there
2304 # would cause problems or look ugly.
2305 # WARNING: Use '\'' to represent an apostrophe within the trap.
2306 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2307 trap 'exit_status=$?
2308 # Save into config.log some information that might help in debugging.
2312 $as_echo "## ---------------- ##
2313 ## Cache variables. ##
2314 ## ---------------- ##"
2316 # The following way of writing the cache mishandles newlines in values,
2318 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2319 eval ac_val=\$$ac_var
2323 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2324 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2327 _ | IFS | as_nl) ;; #(
2328 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2329 *) { eval $ac_var=; unset $ac_var;} ;;
2334 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2335 *${as_nl}ac_space=\ *)
2337 "s/'\''/'\''\\\\'\'''\''/g;
2338 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2341 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2348 $as_echo "## ----------------- ##
2349 ## Output variables. ##
2350 ## ----------------- ##"
2352 for ac_var in $ac_subst_vars
2354 eval ac_val=\$$ac_var
2356 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2358 $as_echo "$ac_var='\''$ac_val'\''"
2362 if test -n "$ac_subst_files"; then
2363 $as_echo "## ------------------- ##
2364 ## File substitutions. ##
2365 ## ------------------- ##"
2367 for ac_var
in $ac_subst_files
2369 eval ac_val
=\$
$ac_var
2371 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2373 $as_echo "$ac_var='\''$ac_val'\''"
2378 if test -s confdefs.h; then
2379 $as_echo "## ----------- ##
2386 test "$ac_signal" != 0 &&
2387 $as_echo "$as_me: caught signal $ac_signal"
2388 $as_echo "$as_me: exit $exit_status"
2390 rm -f core *.core core.conftest.* &&
2391 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2394 for ac_signal
in 1 2 13 15; do
2395 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2399 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2400 rm -f -r conftest
* confdefs.h
2402 $as_echo "/* confdefs.h */" > confdefs.h
2404 # Predefined preprocessor variables.
2406 cat >>confdefs.h
<<_ACEOF
2407 #define PACKAGE_NAME "$PACKAGE_NAME"
2410 cat >>confdefs.h
<<_ACEOF
2411 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2414 cat >>confdefs.h
<<_ACEOF
2415 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2418 cat >>confdefs.h
<<_ACEOF
2419 #define PACKAGE_STRING "$PACKAGE_STRING"
2422 cat >>confdefs.h
<<_ACEOF
2423 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2426 cat >>confdefs.h
<<_ACEOF
2427 #define PACKAGE_URL "$PACKAGE_URL"
2431 # Let the site file select an alternate cache file if it wants to.
2432 # Prefer an explicitly selected file to automatically selected ones.
2435 if test -n "$CONFIG_SITE"; then
2436 # We do not want a PATH search for config.site.
2437 case $CONFIG_SITE in #((
2438 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2439 */*) ac_site_file1
=$CONFIG_SITE;;
2440 *) ac_site_file1
=.
/$CONFIG_SITE;;
2442 elif test "x$prefix" != xNONE
; then
2443 ac_site_file1
=$prefix/share
/config.site
2444 ac_site_file2
=$prefix/etc
/config.site
2446 ac_site_file1
=$ac_default_prefix/share
/config.site
2447 ac_site_file2
=$ac_default_prefix/etc
/config.site
2449 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2451 test "x$ac_site_file" = xNONE
&& continue
2452 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2454 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2455 sed 's/^/| /' "$ac_site_file" >&5
2457 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2458 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2459 as_fn_error $?
"failed to load site script $ac_site_file
2460 See \`config.log' for more details" "$LINENO" 5; }
2464 if test -r "$cache_file"; then
2465 # Some versions of bash will fail to source /dev/null (special files
2466 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2467 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2469 $as_echo "$as_me: loading cache $cache_file" >&6;}
2471 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2472 *) .
"./$cache_file";;
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2477 $as_echo "$as_me: creating cache $cache_file" >&6;}
2481 # Check that the precious variables saved in the cache have kept the same
2483 ac_cache_corrupted
=false
2484 for ac_var
in $ac_precious_vars; do
2485 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2486 eval ac_new_set
=\
$ac_env_${ac_var}_set
2487 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2488 eval ac_new_val
=\
$ac_env_${ac_var}_value
2489 case $ac_old_set,$ac_new_set in
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2492 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2493 ac_cache_corrupted
=: ;;
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2496 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2497 ac_cache_corrupted
=: ;;
2500 if test "x$ac_old_val" != "x$ac_new_val"; then
2501 # differences in whitespace do not lead to failure.
2502 ac_old_val_w
=`echo x $ac_old_val`
2503 ac_new_val_w
=`echo x $ac_new_val`
2504 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2506 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2507 ac_cache_corrupted
=:
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2510 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2511 eval $ac_var=\
$ac_old_val
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2514 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2516 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2519 # Pass precious variables to config.status.
2520 if test "$ac_new_set" = set; then
2522 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2523 *) ac_arg
=$ac_var=$ac_new_val ;;
2525 case " $ac_configure_args " in
2526 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2527 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2531 if $ac_cache_corrupted; then
2532 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2533 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2535 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2536 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2538 ## -------------------- ##
2539 ## Main body of script. ##
2540 ## -------------------- ##
2543 ac_cpp
='$CPP $CPPFLAGS'
2544 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2545 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2546 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2559 ac_config_headers
="$ac_config_headers config.h"
2562 for ac_dir
in config.aux
"$srcdir"/config.aux
; do
2563 if test -f "$ac_dir/install-sh"; then
2565 ac_install_sh
="$ac_aux_dir/install-sh -c"
2567 elif test -f "$ac_dir/install.sh"; then
2569 ac_install_sh
="$ac_aux_dir/install.sh -c"
2571 elif test -f "$ac_dir/shtool"; then
2573 ac_install_sh
="$ac_aux_dir/shtool install -c"
2577 if test -z "$ac_aux_dir"; then
2578 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in config.aux \"$srcdir\"/config.aux" "$LINENO" 5
2581 # These three variables are undocumented and unsupported,
2582 # and are intended to be withdrawn in a future Autoconf release.
2583 # They can cause serious problems if a builder's source tree is in a directory
2584 # whose full name contains unusual characters.
2585 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2586 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2587 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2592 # Make sure we can run config.sub.
2593 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2594 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2597 $as_echo_n "checking build system type... " >&6; }
2598 if ${ac_cv_build+:} false
; then :
2599 $as_echo_n "(cached) " >&6
2601 ac_build_alias
=$build_alias
2602 test "x$ac_build_alias" = x
&&
2603 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2604 test "x$ac_build_alias" = x
&&
2605 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2606 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2607 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2611 $as_echo "$ac_cv_build" >&6; }
2612 case $ac_cv_build in
2614 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2617 ac_save_IFS
=$IFS; IFS
='-'
2623 # Remember, the first character of IFS is used to create $*,
2624 # except with old shells:
2627 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2631 $as_echo_n "checking host system type... " >&6; }
2632 if ${ac_cv_host+:} false
; then :
2633 $as_echo_n "(cached) " >&6
2635 if test "x$host_alias" = x
; then
2636 ac_cv_host
=$ac_cv_build
2638 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2639 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2644 $as_echo "$ac_cv_host" >&6; }
2647 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2650 ac_save_IFS
=$IFS; IFS
='-'
2656 # Remember, the first character of IFS is used to create $*,
2657 # except with old shells:
2660 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2664 $as_echo_n "checking target system type... " >&6; }
2665 if ${ac_cv_target+:} false
; then :
2666 $as_echo_n "(cached) " >&6
2668 if test "x$target_alias" = x
; then
2669 ac_cv_target
=$ac_cv_host
2671 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2672 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2677 $as_echo "$ac_cv_target" >&6; }
2678 case $ac_cv_target in
2680 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2682 target
=$ac_cv_target
2683 ac_save_IFS
=$IFS; IFS
='-'
2689 # Remember, the first character of IFS is used to create $*,
2690 # except with old shells:
2693 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2696 # The aliases save the names the user supplied, while $host etc.
2697 # will get canonicalized.
2698 test -n "$target_alias" &&
2699 test "$program_prefix$program_suffix$program_transform_name" = \
2701 program_prefix
=${target_alias}-
2704 ac_cpp
='$CPP $CPPFLAGS'
2705 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2706 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2707 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2708 if test -n "$ac_tool_prefix"; then
2709 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2710 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2712 $as_echo_n "checking for $ac_word... " >&6; }
2713 if ${ac_cv_prog_CC+:} false
; then :
2714 $as_echo_n "(cached) " >&6
2716 if test -n "$CC"; then
2717 ac_cv_prog_CC
="$CC" # Let the user override the test.
2719 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2723 test -z "$as_dir" && as_dir
=.
2724 for ac_exec_ext
in '' $ac_executable_extensions; do
2725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2726 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2737 if test -n "$CC"; then
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2739 $as_echo "$CC" >&6; }
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2742 $as_echo "no" >&6; }
2747 if test -z "$ac_cv_prog_CC"; then
2749 # Extract the first word of "gcc", so it can be a program name with args.
2750 set dummy gcc
; ac_word
=$2
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2752 $as_echo_n "checking for $ac_word... " >&6; }
2753 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2754 $as_echo_n "(cached) " >&6
2756 if test -n "$ac_ct_CC"; then
2757 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2759 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2763 test -z "$as_dir" && as_dir
=.
2764 for ac_exec_ext
in '' $ac_executable_extensions; do
2765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2766 ac_cv_prog_ac_ct_CC
="gcc"
2767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2776 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2777 if test -n "$ac_ct_CC"; then
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2779 $as_echo "$ac_ct_CC" >&6; }
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2782 $as_echo "no" >&6; }
2785 if test "x$ac_ct_CC" = x
; then
2788 case $cross_compiling:$ac_tool_warned in
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2791 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2792 ac_tool_warned
=yes ;;
2800 if test -z "$CC"; then
2801 if test -n "$ac_tool_prefix"; then
2802 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2803 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2805 $as_echo_n "checking for $ac_word... " >&6; }
2806 if ${ac_cv_prog_CC+:} false
; then :
2807 $as_echo_n "(cached) " >&6
2809 if test -n "$CC"; then
2810 ac_cv_prog_CC
="$CC" # Let the user override the test.
2812 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2816 test -z "$as_dir" && as_dir
=.
2817 for ac_exec_ext
in '' $ac_executable_extensions; do
2818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2819 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2830 if test -n "$CC"; then
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2832 $as_echo "$CC" >&6; }
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2835 $as_echo "no" >&6; }
2841 if test -z "$CC"; then
2842 # Extract the first word of "cc", so it can be a program name with args.
2843 set dummy cc
; ac_word
=$2
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2845 $as_echo_n "checking for $ac_word... " >&6; }
2846 if ${ac_cv_prog_CC+:} false
; then :
2847 $as_echo_n "(cached) " >&6
2849 if test -n "$CC"; then
2850 ac_cv_prog_CC
="$CC" # Let the user override the test.
2853 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2857 test -z "$as_dir" && as_dir
=.
2858 for ac_exec_ext
in '' $ac_executable_extensions; do
2859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2860 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2861 ac_prog_rejected
=yes
2865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2872 if test $ac_prog_rejected = yes; then
2873 # We found a bogon in the path, so make sure we never use it.
2874 set dummy
$ac_cv_prog_CC
2876 if test $# != 0; then
2877 # We chose a different compiler from the bogus one.
2878 # However, it has the same basename, so the bogon will be chosen
2879 # first if we set CC to just the basename; use the full file name.
2881 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2887 if test -n "$CC"; then
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2889 $as_echo "$CC" >&6; }
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2892 $as_echo "no" >&6; }
2897 if test -z "$CC"; then
2898 if test -n "$ac_tool_prefix"; then
2899 for ac_prog
in cl.exe
2901 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2902 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2904 $as_echo_n "checking for $ac_word... " >&6; }
2905 if ${ac_cv_prog_CC+:} false
; then :
2906 $as_echo_n "(cached) " >&6
2908 if test -n "$CC"; then
2909 ac_cv_prog_CC
="$CC" # Let the user override the test.
2911 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2915 test -z "$as_dir" && as_dir
=.
2916 for ac_exec_ext
in '' $ac_executable_extensions; do
2917 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2918 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2929 if test -n "$CC"; then
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2931 $as_echo "$CC" >&6; }
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2934 $as_echo "no" >&6; }
2938 test -n "$CC" && break
2941 if test -z "$CC"; then
2943 for ac_prog
in cl.exe
2945 # Extract the first word of "$ac_prog", so it can be a program name with args.
2946 set dummy
$ac_prog; ac_word
=$2
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2948 $as_echo_n "checking for $ac_word... " >&6; }
2949 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2950 $as_echo_n "(cached) " >&6
2952 if test -n "$ac_ct_CC"; then
2953 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2959 test -z "$as_dir" && as_dir
=.
2960 for ac_exec_ext
in '' $ac_executable_extensions; do
2961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2962 ac_cv_prog_ac_ct_CC
="$ac_prog"
2963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2972 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2973 if test -n "$ac_ct_CC"; then
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2975 $as_echo "$ac_ct_CC" >&6; }
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2978 $as_echo "no" >&6; }
2982 test -n "$ac_ct_CC" && break
2985 if test "x$ac_ct_CC" = x
; then
2988 case $cross_compiling:$ac_tool_warned in
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2991 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2992 ac_tool_warned
=yes ;;
3001 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3002 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3003 as_fn_error $?
"no acceptable C compiler found in \$PATH
3004 See \`config.log' for more details" "$LINENO" 5; }
3006 # Provide some information about the compiler.
3007 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3010 for ac_option
in --version -v -V -qversion; do
3011 { { ac_try
="$ac_compiler $ac_option >&5"
3013 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3014 *) ac_try_echo=$ac_try;;
3016 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3017 $as_echo "$ac_try_echo"; } >&5
3018 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3020 if test -s conftest.err; then
3022 ... rest of stderr output deleted ...
3023 10q' conftest.err >conftest.er1
3024 cat conftest.er1 >&5
3026 rm -f conftest.er1 conftest.err
3027 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3028 test $ac_status = 0; }
3031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3032 /* end confdefs.h. */
3042 ac_clean_files_save=$ac_clean_files
3043 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3044 # Try to create an executable without -o first, disregard a.out.
3045 # It will help us diagnose broken compilers, and finding out an intuition
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3048 $as_echo_n "checking whether the C compiler works... " >&6; }
3049 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3051 # The possible output files:
3052 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3055 for ac_file in $ac_files
3058 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3059 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3064 if { { ac_try="$ac_link_default"
3066 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3067 *) ac_try_echo
=$ac_try;;
3069 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3070 $as_echo "$ac_try_echo"; } >&5
3071 (eval "$ac_link_default") 2>&5
3073 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3074 test $ac_status = 0; }; then :
3075 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3076 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3077 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3078 # so that the user can short-circuit this test for compilers unknown to
3080 for ac_file
in $ac_files ''
3082 test -f "$ac_file" ||
continue
3084 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3087 # We found the default executable, but exeext='' is most
3091 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3093 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3095 # We set ac_cv_exeext here because the later test for it is not
3096 # safe: cross compilers may not add the suffix if given an `-o'
3097 # argument, so we may need to know it at that point already.
3098 # Even if this section looks crufty: it has the advantage of
3105 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3110 if test -z "$ac_file"; then :
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3112 $as_echo "no" >&6; }
3113 $as_echo "$as_me: failed program was:" >&5
3114 sed 's/^/| /' conftest.
$ac_ext >&5
3116 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3117 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3118 as_fn_error
77 "C compiler cannot create executables
3119 See \`config.log' for more details" "$LINENO" 5; }
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3122 $as_echo "yes" >&6; }
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3125 $as_echo_n "checking for C compiler default output file name... " >&6; }
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3127 $as_echo "$ac_file" >&6; }
3128 ac_exeext
=$ac_cv_exeext
3130 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3131 ac_clean_files
=$ac_clean_files_save
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3133 $as_echo_n "checking for suffix of executables... " >&6; }
3134 if { { ac_try
="$ac_link"
3136 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3137 *) ac_try_echo=$ac_try;;
3139 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3140 $as_echo "$ac_try_echo"; } >&5
3141 (eval "$ac_link") 2>&5
3143 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3144 test $ac_status = 0; }; then :
3145 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3146 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3147 # work properly (i.e., refer to `conftest.exe'), while it won't with
3149 for ac_file
in conftest.exe conftest conftest.
*; do
3150 test -f "$ac_file" ||
continue
3152 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3153 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3159 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3160 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3161 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3162 See \`config.log' for more details" "$LINENO" 5; }
3164 rm -f conftest conftest
$ac_cv_exeext
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3166 $as_echo "$ac_cv_exeext" >&6; }
3168 rm -f conftest.
$ac_ext
3169 EXEEXT
=$ac_cv_exeext
3171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3172 /* end confdefs.h. */
3177 FILE *f = fopen ("conftest.out", "w");
3178 return ferror (f) || fclose (f) != 0;
3184 ac_clean_files
="$ac_clean_files conftest.out"
3185 # Check that the compiler produces executables we can run. If not, either
3186 # the compiler is broken, or we cross compile.
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3188 $as_echo_n "checking whether we are cross compiling... " >&6; }
3189 if test "$cross_compiling" != yes; then
3190 { { ac_try
="$ac_link"
3192 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3193 *) ac_try_echo=$ac_try;;
3195 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3196 $as_echo "$ac_try_echo"; } >&5
3197 (eval "$ac_link") 2>&5
3199 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3200 test $ac_status = 0; }
3201 if { ac_try='./conftest$ac_cv_exeext'
3202 { { case "(($ac_try" in
3203 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3204 *) ac_try_echo
=$ac_try;;
3206 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3207 $as_echo "$ac_try_echo"; } >&5
3208 (eval "$ac_try") 2>&5
3210 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3211 test $ac_status = 0; }; }; then
3214 if test "$cross_compiling" = maybe
; then
3217 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3218 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3219 as_fn_error $?
"cannot run C compiled programs.
3220 If you meant to cross compile, use \`--host'.
3221 See \`config.log' for more details" "$LINENO" 5; }
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3226 $as_echo "$cross_compiling" >&6; }
3228 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3229 ac_clean_files
=$ac_clean_files_save
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3231 $as_echo_n "checking for suffix of object files... " >&6; }
3232 if ${ac_cv_objext+:} false
; then :
3233 $as_echo_n "(cached) " >&6
3235 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3236 /* end confdefs.h. */
3246 rm -f conftest.o conftest.obj
3247 if { { ac_try
="$ac_compile"
3249 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3250 *) ac_try_echo=$ac_try;;
3252 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3253 $as_echo "$ac_try_echo"; } >&5
3254 (eval "$ac_compile") 2>&5
3256 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3257 test $ac_status = 0; }; then :
3258 for ac_file in conftest.o conftest.obj conftest.*; do
3259 test -f "$ac_file" || continue;
3261 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3262 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3267 $as_echo "$as_me: failed program was:" >&5
3268 sed 's/^/| /' conftest.$ac_ext >&5
3270 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3271 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3272 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3273 See \
`config.log' for more details" "$LINENO" 5; }
3275 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3278 $as_echo "$ac_cv_objext" >&6; }
3279 OBJEXT=$ac_cv_objext
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3282 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3283 if ${ac_cv_c_compiler_gnu+:} false; then :
3284 $as_echo_n "(cached) " >&6
3286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3287 /* end confdefs.h. */
3300 if ac_fn_c_try_compile "$LINENO"; then :
3305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3306 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3310 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3311 if test $ac_compiler_gnu = yes; then
3316 ac_test_CFLAGS=${CFLAGS+set}
3317 ac_save_CFLAGS=$CFLAGS
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3319 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3320 if ${ac_cv_prog_cc_g+:} false; then :
3321 $as_echo_n "(cached) " >&6
3323 ac_save_c_werror_flag=$ac_c_werror_flag
3324 ac_c_werror_flag=yes
3327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3328 /* end confdefs.h. */
3338 if ac_fn_c_try_compile "$LINENO"; then :
3342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3343 /* end confdefs.h. */
3353 if ac_fn_c_try_compile "$LINENO"; then :
3356 ac_c_werror_flag=$ac_save_c_werror_flag
3358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3359 /* end confdefs.h. */
3369 if ac_fn_c_try_compile "$LINENO"; then :
3372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3377 ac_c_werror_flag=$ac_save_c_werror_flag
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3380 $as_echo "$ac_cv_prog_cc_g" >&6; }
3381 if test "$ac_test_CFLAGS" = set; then
3382 CFLAGS=$ac_save_CFLAGS
3383 elif test $ac_cv_prog_cc_g = yes; then
3384 if test "$GCC" = yes; then
3390 if test "$GCC" = yes; then
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3397 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3398 if ${ac_cv_prog_cc_c89+:} false; then :
3399 $as_echo_n "(cached) " >&6
3401 ac_cv_prog_cc_c89=no
3403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3404 /* end confdefs.h. */
3407 #include <sys/types.h>
3408 #include <sys/stat.h>
3409 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3410 struct buf { int x; };
3411 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3412 static char *e (p, i)
3418 static char *f (char * (*g) (char **, int), char **p, ...)
3423 s = g (p, va_arg (v,int));
3428 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3429 function prototypes and stuff, but not '\xHH' hex character constants.
3430 These don't provoke an error unfortunately, instead are silently treated
3431 as 'x'. The following induces an error, until -std is added to get
3432 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3433 array size at least. It's necessary to write '\x00'==0 to get something
3434 that's true only with -std. */
3435 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3437 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3438 inside strings and character constants. */
3440 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3442 int test (int i, double x);
3443 struct s1 {int (*f) (int a);};
3444 struct s2 {int (*f) (double a);};
3445 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3451 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3456 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3457 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3459 CC="$ac_save_CC $ac_arg"
3460 if ac_fn_c_try_compile "$LINENO"; then :
3461 ac_cv_prog_cc_c89=$ac_arg
3463 rm -f core conftest.err conftest.$ac_objext
3464 test "x$ac_cv_prog_cc_c89" != "xno" && break
3466 rm -f conftest.$ac_ext
3471 case "x$ac_cv_prog_cc_c89" in
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3474 $as_echo "none needed" >&6; } ;;
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3477 $as_echo "unsupported" >&6; } ;;
3479 CC="$CC $ac_cv_prog_cc_c89"
3480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3481 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3483 if test "x$ac_cv_prog_cc_c89" != xno; then :
3488 ac_cpp='$CPP $CPPFLAGS'
3489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3495 ac_cpp='$CPP $CPPFLAGS'
3496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3500 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3501 # On Suns, sometimes $CPP names a directory.
3502 if test -n "$CPP" && test -d "$CPP"; then
3505 if test -z "$CPP"; then
3506 if ${ac_cv_prog_CPP+:} false; then :
3507 $as_echo_n "(cached) " >&6
3509 # Double quotes because CPP needs to be expanded
3510 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3513 for ac_c_preproc_warn_flag in '' yes
3515 # Use a header file that comes with gcc, so configuring glibc
3516 # with a fresh cross-compiler works.
3517 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3518 # <limits.h> exists even on freestanding compilers.
3519 # On the NeXT, cc -E runs the code through the compiler's parser,
3520 # not just through cpp. "Syntax error" is here to catch this case.
3521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3522 /* end confdefs.h. */
3524 # include <limits.h>
3526 # include <assert.h>
3530 if ac_fn_c_try_cpp "$LINENO"; then :
3533 # Broken: fails on valid input.
3536 rm -f conftest.err conftest.i conftest.$ac_ext
3538 # OK, works on sane cases. Now check whether nonexistent headers
3539 # can be detected and how.
3540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3541 /* end confdefs.h. */
3542 #include <ac_nonexistent.h>
3544 if ac_fn_c_try_cpp "$LINENO"; then :
3545 # Broken: success on invalid input.
3548 # Passes both tests.
3552 rm -f conftest.err conftest.i conftest.$ac_ext
3555 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3556 rm -f conftest.i conftest.err conftest.
$ac_ext
3557 if $ac_preproc_ok; then :
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3570 $as_echo "$CPP" >&6; }
3572 for ac_c_preproc_warn_flag
in '' yes
3574 # Use a header file that comes with gcc, so configuring glibc
3575 # with a fresh cross-compiler works.
3576 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3577 # <limits.h> exists even on freestanding compilers.
3578 # On the NeXT, cc -E runs the code through the compiler's parser,
3579 # not just through cpp. "Syntax error" is here to catch this case.
3580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3581 /* end confdefs.h. */
3583 # include <limits.h>
3585 # include <assert.h>
3589 if ac_fn_c_try_cpp
"$LINENO"; then :
3592 # Broken: fails on valid input.
3595 rm -f conftest.err conftest.i conftest.
$ac_ext
3597 # OK, works on sane cases. Now check whether nonexistent headers
3598 # can be detected and how.
3599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3600 /* end confdefs.h. */
3601 #include <ac_nonexistent.h>
3603 if ac_fn_c_try_cpp
"$LINENO"; then :
3604 # Broken: success on invalid input.
3607 # Passes both tests.
3611 rm -f conftest.err conftest.i conftest.
$ac_ext
3614 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3615 rm -f conftest.i conftest.err conftest.
$ac_ext
3616 if $ac_preproc_ok; then :
3619 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3620 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3621 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3622 See \`config.log' for more details" "$LINENO" 5; }
3626 ac_cpp
='$CPP $CPPFLAGS'
3627 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3628 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3629 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3633 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3634 if ${ac_cv_path_GREP+:} false
; then :
3635 $as_echo_n "(cached) " >&6
3637 if test -z "$GREP"; then
3638 ac_path_GREP_found
=false
3639 # Loop through the user's path and test for each of PROGNAME-LIST
3640 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3641 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3644 test -z "$as_dir" && as_dir
=.
3645 for ac_prog
in grep ggrep
; do
3646 for ac_exec_ext
in '' $ac_executable_extensions; do
3647 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3648 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3649 # Check for GNU ac_path_GREP and select it if it is found.
3650 # Check for GNU $ac_path_GREP
3651 case `"$ac_path_GREP" --version 2>&1` in
3653 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3656 $as_echo_n 0123456789 >"conftest.in"
3659 cat "conftest.in" "conftest.in" >"conftest.tmp"
3660 mv "conftest.tmp" "conftest.in"
3661 cp "conftest.in" "conftest.nl"
3662 $as_echo 'GREP' >> "conftest.nl"
3663 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3664 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3665 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3666 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3667 # Best one so far, save it but keep looking for a better one
3668 ac_cv_path_GREP
="$ac_path_GREP"
3669 ac_path_GREP_max
=$ac_count
3671 # 10*(2^10) chars as input seems more than enough
3672 test $ac_count -gt 10 && break
3674 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3677 $ac_path_GREP_found && break 3
3682 if test -z "$ac_cv_path_GREP"; then
3683 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3686 ac_cv_path_GREP
=$GREP
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3691 $as_echo "$ac_cv_path_GREP" >&6; }
3692 GREP
="$ac_cv_path_GREP"
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3696 $as_echo_n "checking for egrep... " >&6; }
3697 if ${ac_cv_path_EGREP+:} false
; then :
3698 $as_echo_n "(cached) " >&6
3700 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3701 then ac_cv_path_EGREP
="$GREP -E"
3703 if test -z "$EGREP"; then
3704 ac_path_EGREP_found
=false
3705 # Loop through the user's path and test for each of PROGNAME-LIST
3706 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3707 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3710 test -z "$as_dir" && as_dir
=.
3711 for ac_prog
in egrep; do
3712 for ac_exec_ext
in '' $ac_executable_extensions; do
3713 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3714 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3715 # Check for GNU ac_path_EGREP and select it if it is found.
3716 # Check for GNU $ac_path_EGREP
3717 case `"$ac_path_EGREP" --version 2>&1` in
3719 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3722 $as_echo_n 0123456789 >"conftest.in"
3725 cat "conftest.in" "conftest.in" >"conftest.tmp"
3726 mv "conftest.tmp" "conftest.in"
3727 cp "conftest.in" "conftest.nl"
3728 $as_echo 'EGREP' >> "conftest.nl"
3729 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3730 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3731 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3732 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3733 # Best one so far, save it but keep looking for a better one
3734 ac_cv_path_EGREP
="$ac_path_EGREP"
3735 ac_path_EGREP_max
=$ac_count
3737 # 10*(2^10) chars as input seems more than enough
3738 test $ac_count -gt 10 && break
3740 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3743 $ac_path_EGREP_found && break 3
3748 if test -z "$ac_cv_path_EGREP"; then
3749 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3752 ac_cv_path_EGREP
=$EGREP
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3758 $as_echo "$ac_cv_path_EGREP" >&6; }
3759 EGREP
="$ac_cv_path_EGREP"
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3763 $as_echo_n "checking for ANSI C header files... " >&6; }
3764 if ${ac_cv_header_stdc+:} false
; then :
3765 $as_echo_n "(cached) " >&6
3767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3768 /* end confdefs.h. */
3782 if ac_fn_c_try_compile
"$LINENO"; then :
3783 ac_cv_header_stdc
=yes
3785 ac_cv_header_stdc
=no
3787 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3789 if test $ac_cv_header_stdc = yes; then
3790 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3791 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3792 /* end confdefs.h. */
3796 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3797 $EGREP "memchr" >/dev
/null
2>&1; then :
3800 ac_cv_header_stdc
=no
3806 if test $ac_cv_header_stdc = yes; then
3807 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3809 /* end confdefs.h. */
3813 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3814 $EGREP "free" >/dev
/null
2>&1; then :
3817 ac_cv_header_stdc
=no
3823 if test $ac_cv_header_stdc = yes; then
3824 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3825 if test "$cross_compiling" = yes; then :
3828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3829 /* end confdefs.h. */
3832 #if ((' ' & 0x0FF) == 0x020)
3833 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3834 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3836 # define ISLOWER(c) \
3837 (('a' <= (c) && (c) <= 'i') \
3838 || ('j' <= (c) && (c) <= 'r') \
3839 || ('s' <= (c) && (c) <= 'z'))
3840 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3843 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3848 for (i = 0; i < 256; i++)
3849 if (XOR (islower (i), ISLOWER (i))
3850 || toupper (i) != TOUPPER (i))
3855 if ac_fn_c_try_run
"$LINENO"; then :
3858 ac_cv_header_stdc
=no
3860 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3861 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3867 $as_echo "$ac_cv_header_stdc" >&6; }
3868 if test $ac_cv_header_stdc = yes; then
3870 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3874 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3875 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3876 inttypes.h stdint.h unistd.h
3878 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3879 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3881 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3882 cat >>confdefs.h
<<_ACEOF
3883 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3892 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3893 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
3900 if test "$MINIX" = yes; then
3902 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3905 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3908 $as_echo "#define _MINIX 1" >>confdefs.h
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3914 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3915 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
3916 $as_echo_n "(cached) " >&6
3918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3919 /* end confdefs.h. */
3921 # define __EXTENSIONS__ 1
3922 $ac_includes_default
3931 if ac_fn_c_try_compile
"$LINENO"; then :
3932 ac_cv_safe_to_define___extensions__
=yes
3934 ac_cv_safe_to_define___extensions__
=no
3936 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3939 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3940 test $ac_cv_safe_to_define___extensions__ = yes &&
3941 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3943 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3945 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3947 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3949 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3955 cat >>confdefs.h
<<_ACEOF
3956 #define CANONICAL_TARGET "$target"
3960 cat >>confdefs.h
<<_ACEOF
3961 #define CANONICAL_HOST "$host"
3965 am__api_version
='1.11'
3967 # Find a good install program. We prefer a C program (faster),
3968 # so one script is as good as another. But avoid the broken or
3969 # incompatible versions:
3970 # SysV /etc/install, /usr/sbin/install
3971 # SunOS /usr/etc/install
3972 # IRIX /sbin/install
3974 # AmigaOS /C/install, which installs bootblocks on floppy discs
3975 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3976 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3977 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3978 # OS/2's system install, which has a completely different semantic
3979 # ./install, which can be erroneously created by make from ./install.sh.
3980 # Reject install programs that cannot install multiple files.
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3982 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3983 if test -z "$INSTALL"; then
3984 if ${ac_cv_path_install+:} false
; then :
3985 $as_echo_n "(cached) " >&6
3987 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3991 test -z "$as_dir" && as_dir
=.
3992 # Account for people who put trailing slashes in PATH elements.
3993 case $as_dir/ in #((
3994 .
/ | .
// |
/[cC
]/* | \
3995 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3996 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3999 # OSF1 and SCO ODT 3.0 have their own names for install.
4000 # Don't use installbsd from OSF since it installs stuff as root
4002 for ac_prog
in ginstall scoinst
install; do
4003 for ac_exec_ext
in '' $ac_executable_extensions; do
4004 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4005 if test $ac_prog = install &&
4006 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4007 # AIX install. It has an incompatible calling convention.
4009 elif test $ac_prog = install &&
4010 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4011 # program-specific install script used by HP pwplus--don't use.
4014 rm -rf conftest.one conftest.two conftest.dir
4015 echo one
> conftest.one
4016 echo two
> conftest.two
4018 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4019 test -s conftest.one
&& test -s conftest.two
&&
4020 test -s conftest.dir
/conftest.one
&&
4021 test -s conftest.dir
/conftest.two
4023 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4036 rm -rf conftest.one conftest.two conftest.dir
4039 if test "${ac_cv_path_install+set}" = set; then
4040 INSTALL
=$ac_cv_path_install
4042 # As a last resort, use the slow shell script. Don't cache a
4043 # value for INSTALL within a source directory, because that will
4044 # break other packages using the cache if that directory is
4045 # removed, or if the value is a relative name.
4046 INSTALL
=$ac_install_sh
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4050 $as_echo "$INSTALL" >&6; }
4052 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4053 # It thinks the first close brace ends the variable substitution.
4054 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4056 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4058 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4061 $as_echo_n "checking whether build environment is sane... " >&6; }
4064 echo timestamp
> conftest.
file
4065 # Reject unsafe characters in $srcdir or the absolute working directory
4066 # name. Accept space and tab only in the latter.
4070 *[\\\"\
#\$\&\'\`$am_lf]*)
4071 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
4074 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
4075 as_fn_error $?
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
4078 # Do `set' in a subshell so we don't clobber the current shell's
4079 # arguments. Must try -L first in case configure is actually a
4080 # symlink; some systems play weird games with the mod time of symlinks
4081 # (eg FreeBSD returns the mod time of the symlink's containing
4084 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4085 if test "$*" = "X"; then
4087 set X
`ls -t "$srcdir/configure" conftest.file`
4090 if test "$*" != "X $srcdir/configure conftest.file" \
4091 && test "$*" != "X conftest.file $srcdir/configure"; then
4093 # If neither matched, then we have a broken ls. This can happen
4094 # if, for instance, CONFIG_SHELL is bash and it inherits a
4095 # broken ls alias from the environment. This has actually
4096 # happened. Such a system could not be considered "sane".
4097 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
4098 alias in your environment" "$LINENO" 5
4101 test "$2" = conftest.
file
4107 as_fn_error $?
"newly created file is older than distributed files!
4108 Check your system clock" "$LINENO" 5
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4111 $as_echo "yes" >&6; }
4112 test "$program_prefix" != NONE
&&
4113 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4114 # Use a double $ so make ignores it.
4115 test "$program_suffix" != NONE
&&
4116 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4117 # Double any \ or $.
4118 # By default was `s,x,x', remove it if useless.
4119 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4120 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4122 # expand $ac_aux_dir to an absolute path
4123 am_aux_dir
=`cd $ac_aux_dir && pwd`
4125 if test x
"${MISSING+set}" != xset
; then
4128 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
4130 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
4133 # Use eval to expand $SHELL
4134 if eval "$MISSING --run true"; then
4135 am_missing_run
="$MISSING --run "
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
4139 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
4142 if test x
"${install_sh}" != xset
; then
4145 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
4147 install_sh
="\${SHELL} $am_aux_dir/install-sh"
4151 # Installed binaries are usually stripped using `strip' when the user
4152 # run `make install-strip'. However `strip' might not be the right
4153 # tool to use in cross-compilation environments, therefore Automake
4154 # will honor the `STRIP' environment variable to overrule this program.
4155 if test "$cross_compiling" != no
; then
4156 if test -n "$ac_tool_prefix"; then
4157 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4158 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4160 $as_echo_n "checking for $ac_word... " >&6; }
4161 if ${ac_cv_prog_STRIP+:} false
; then :
4162 $as_echo_n "(cached) " >&6
4164 if test -n "$STRIP"; then
4165 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4171 test -z "$as_dir" && as_dir
=.
4172 for ac_exec_ext
in '' $ac_executable_extensions; do
4173 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4174 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4184 STRIP
=$ac_cv_prog_STRIP
4185 if test -n "$STRIP"; then
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4187 $as_echo "$STRIP" >&6; }
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4190 $as_echo "no" >&6; }
4195 if test -z "$ac_cv_prog_STRIP"; then
4197 # Extract the first word of "strip", so it can be a program name with args.
4198 set dummy strip
; ac_word
=$2
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4200 $as_echo_n "checking for $ac_word... " >&6; }
4201 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
4202 $as_echo_n "(cached) " >&6
4204 if test -n "$ac_ct_STRIP"; then
4205 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4207 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4211 test -z "$as_dir" && as_dir
=.
4212 for ac_exec_ext
in '' $ac_executable_extensions; do
4213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4214 ac_cv_prog_ac_ct_STRIP
="strip"
4215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4224 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4225 if test -n "$ac_ct_STRIP"; then
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4227 $as_echo "$ac_ct_STRIP" >&6; }
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4230 $as_echo "no" >&6; }
4233 if test "x$ac_ct_STRIP" = x
; then
4236 case $cross_compiling:$ac_tool_warned in
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4239 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4240 ac_tool_warned
=yes ;;
4245 STRIP
="$ac_cv_prog_STRIP"
4249 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4252 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4253 if test -z "$MKDIR_P"; then
4254 if ${ac_cv_path_mkdir+:} false
; then :
4255 $as_echo_n "(cached) " >&6
4257 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4258 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
4261 test -z "$as_dir" && as_dir
=.
4262 for ac_prog
in mkdir gmkdir
; do
4263 for ac_exec_ext
in '' $ac_executable_extensions; do
4264 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
4265 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4266 'mkdir (GNU coreutils) '* | \
4267 'mkdir (coreutils) '* | \
4268 'mkdir (fileutils) '4.1*)
4269 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
4279 test -d .
/--version && rmdir .
/--version
4280 if test "${ac_cv_path_mkdir+set}" = set; then
4281 MKDIR_P
="$ac_cv_path_mkdir -p"
4283 # As a last resort, use the slow shell script. Don't cache a
4284 # value for MKDIR_P within a source directory, because that will
4285 # break other packages using the cache if that directory is
4286 # removed, or if the value is a relative name.
4287 MKDIR_P
="$ac_install_sh -d"
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4291 $as_echo "$MKDIR_P" >&6; }
4295 [\\/$
]* | ?
:[\\/]*) ;;
4296 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
4299 for ac_prog
in gawk mawk nawk
awk
4301 # Extract the first word of "$ac_prog", so it can be a program name with args.
4302 set dummy
$ac_prog; ac_word
=$2
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4304 $as_echo_n "checking for $ac_word... " >&6; }
4305 if ${ac_cv_prog_AWK+:} false
; then :
4306 $as_echo_n "(cached) " >&6
4308 if test -n "$AWK"; then
4309 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4311 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4315 test -z "$as_dir" && as_dir
=.
4316 for ac_exec_ext
in '' $ac_executable_extensions; do
4317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4318 ac_cv_prog_AWK
="$ac_prog"
4319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4329 if test -n "$AWK"; then
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4331 $as_echo "$AWK" >&6; }
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4334 $as_echo "no" >&6; }
4338 test -n "$AWK" && break
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4342 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4344 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4345 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
4346 $as_echo_n "(cached) " >&6
4348 cat >conftest.
make <<\_ACEOF
4351 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4353 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4354 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4356 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4358 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4362 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4364 $as_echo "yes" >&6; }
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4368 $as_echo "no" >&6; }
4369 SET_MAKE
="MAKE=${MAKE-make}"
4372 rm -rf .tst
2>/dev
/null
4373 mkdir .tst
2>/dev
/null
4374 if test -d .tst
; then
4379 rmdir .tst
2>/dev
/null
4381 DEPDIR
="${am__leading_dot}deps"
4383 ac_config_commands
="$ac_config_commands depfiles"
4386 am_make
=${MAKE-make}
4387 cat > confinc
<< 'END'
4389 @
echo this is the am__doit target
4392 # If we don't find an include directive, just comment out the code.
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4394 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4398 # First try GNU make style include.
4399 echo "include confinc" > confmf
4400 # Ignore all kinds of additional output from `make'.
4401 case `$am_make -s -f confmf 2> /dev/null` in #(
4402 *the\ am__doit\ target
*)
4408 # Now try BSD make style include.
4409 if test "$am__include" = "#"; then
4410 echo '.include "confinc"' > confmf
4411 case `$am_make -s -f confmf 2> /dev/null` in #(
4412 *the\ am__doit\ target
*)
4413 am__include
=.include
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4422 $as_echo "$_am_result" >&6; }
4423 rm -f confinc confmf
4425 # Check whether --enable-dependency-tracking was given.
4426 if test "${enable_dependency_tracking+set}" = set; then :
4427 enableval
=$enable_dependency_tracking;
4430 if test "x$enable_dependency_tracking" != xno
; then
4431 am_depcomp
="$ac_aux_dir/depcomp"
4434 if test "x$enable_dependency_tracking" != xno; then
4443 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4444 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4445 # is not polluted with repeated "-I."
4446 am__isrc
=' -I$(srcdir)'
4447 # test to see if srcdir already configured
4448 if test -f $srcdir/config.status
; then
4449 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4453 # test whether we have cygpath
4454 if test -z "$CYGPATH_W"; then
4455 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4456 CYGPATH_W
='cygpath -w'
4463 # Define the identity of the package.
4468 cat >>confdefs.h
<<_ACEOF
4469 #define PACKAGE "$PACKAGE"
4473 cat >>confdefs.h
<<_ACEOF
4474 #define VERSION "$VERSION"
4477 # Some tools Automake needs.
4479 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4482 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4485 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4488 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4491 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4493 # We need awk for the "check" target. The system "awk" is bad on
4495 # Always define AMTAR for backward compatibility.
4497 AMTAR
=${AMTAR-"${am_missing_run}tar"}
4499 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
4504 depcc
="$CC" am_compiler_list
=
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4507 $as_echo_n "checking dependency style of $depcc... " >&6; }
4508 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
4509 $as_echo_n "(cached) " >&6
4511 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4512 # We make a subdir and do the tests there. Otherwise we can end up
4513 # making bogus files that we don't know about and never remove. For
4514 # instance it was reported that on HP-UX the gcc test will end up
4515 # making a dummy file named `D' -- because `-MD' means `put the output
4518 # Copy depcomp to subdir because otherwise we won't find it if we're
4519 # using a relative directory.
4520 cp "$am_depcomp" conftest.dir
4522 # We will build objects and dependencies in a subdirectory because
4523 # it helps to detect inapplicable dependency modes. For instance
4524 # both Tru64's cc and ICC support -MD to output dependencies as a
4525 # side effect of compilation, but ICC will put the dependencies in
4526 # the current directory while Tru64 will put them in the object
4530 am_cv_CC_dependencies_compiler_type
=none
4531 if test "$am_compiler_list" = ""; then
4532 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4535 case " $depcc " in #(
4536 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4539 for depmode
in $am_compiler_list; do
4540 # Setup a source with many dependencies, because some compilers
4541 # like to wrap large dependency lists on column 80 (with \), and
4542 # we should not choose a depcomp mode which is confused by this.
4544 # We need to recreate these files for each test, as the compiler may
4545 # overwrite some of them when testing with obscure command lines.
4546 # This happens at least with the AIX C compiler.
4548 for i
in 1 2 3 4 5 6; do
4549 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4550 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4551 # Solaris 8's {/usr,}/bin/sh.
4552 touch sub
/conftst
$i.h
4554 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4556 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4557 # mode. It turns out that the SunPro C++ compiler does not properly
4558 # handle `-M -o', and we need to detect this. Also, some Intel
4559 # versions had trouble with output in subdirs
4560 am__obj
=sub
/conftest.
${OBJEXT-o}
4561 am__minus_obj
="-o $am__obj"
4564 # This depmode causes a compiler race in universal mode.
4565 test "$am__universal" = false ||
continue
4568 # after this tag, mechanisms are not by side-effect, so they'll
4569 # only be used when explicitly requested
4570 if test "x$enable_dependency_tracking" = xyes
; then
4576 msvisualcpp | msvcmsys
)
4577 # This compiler won't grok `-c -o', but also, the minuso test has
4578 # not run yet. These depmodes are late enough in the game, and
4579 # so weak that their functioning should not be impacted.
4580 am__obj
=conftest.
${OBJEXT-o}
4585 if depmode
=$depmode \
4586 source=sub
/conftest.c object
=$am__obj \
4587 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4588 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4589 >/dev
/null
2>conftest.err
&&
4590 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4591 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4592 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4593 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4594 # icc doesn't choke on unknown options, it will just issue warnings
4595 # or remarks (even with -Werror). So we grep stderr for any message
4596 # that says an option was ignored or not supported.
4597 # When given -MP, icc 7.0 and 7.1 complain thusly:
4598 # icc: Command line warning: ignoring option '-M'; no argument required
4599 # The diagnosis changed in icc 8.0:
4600 # icc: Command line remark: option '-MP' not supported
4601 if (grep 'ignoring option' conftest.err ||
4602 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4603 am_cv_CC_dependencies_compiler_type
=$depmode
4612 am_cv_CC_dependencies_compiler_type
=none
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4617 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4618 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4621 test "x$enable_dependency_tracking" != xno \
4622 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4624 am__fastdepCC_FALSE
='#'
4626 am__fastdepCC_TRUE
='#'
4627 am__fastdepCC_FALSE
=
4632 # Check whether --enable-silent-rules was given.
4633 if test "${enable_silent_rules+set}" = set; then :
4634 enableval
=$enable_silent_rules;
4637 case $enable_silent_rules in
4638 yes) AM_DEFAULT_VERBOSITY
=0;;
4639 no
) AM_DEFAULT_VERBOSITY
=1;;
4640 *) AM_DEFAULT_VERBOSITY
=0;;
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4648 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4654 macro_revision='1.3293'
4668 ltmain="$ac_aux_dir/ltmain.sh"
4670 # Backslashify metacharacters that are still active within
4671 # double-quoted strings.
4672 sed_quote_subst='s
/\
(["`$\\]\)/\\\1/g'
4674 # Same as above, but do not quote variable references.
4675 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4677 # Sed substitution to delay expansion of an escaped shell variable in a
4678 # double_quote_subst'ed string.
4679 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4681 # Sed substitution to delay expansion of an escaped single quote.
4682 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4684 # Sed substitution to avoid accidental globbing in evaled expressions
4685 no_glob_subst='s/\*/\\\*/g'
4687 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4688 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4689 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4692 $as_echo_n "checking how to print strings... " >&6; }
4693 # Test print first, because it will be a builtin if present.
4694 if test "X`( print
-r -- -n ) 2>/dev
/null
`" = X-n && \
4695 test "X`print
-r -- $ECHO 2>/dev
/null
`" = "X$ECHO"; then
4697 elif test "X`printf %s
$ECHO 2>/dev
/null
`" = "X$ECHO"; then
4700 # Use this function as a fallback that always works.
4701 func_fallback_echo ()
4703 eval 'cat <<_LTECHO_EOF
4707 ECHO='func_fallback_echo'
4710 # func_echo_all arg...
4711 # Invoke $ECHO with all args, space-separated.
4718 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4719 $as_echo "printf" >&6; } ;;
4720 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4721 $as_echo "print -r" >&6; } ;;
4722 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4723 $as_echo "cat" >&6; } ;;
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4740 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4741 if ${ac_cv_path_SED+:} false; then :
4742 $as_echo_n "(cached) " >&6
4744 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4745 for ac_i in 1 2 3 4 5 6 7; do
4746 ac_script="$ac_script$as_nl$ac_script"
4748 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4749 { ac_script=; unset ac_script;}
4750 if test -z "$SED"; then
4751 ac_path_SED_found=false
4752 # Loop through the user's path and test for each of PROGNAME-LIST
4753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4757 test -z "$as_dir" && as_dir=.
4758 for ac_prog in sed gsed; do
4759 for ac_exec_ext in '' $ac_executable_extensions; do
4760 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4761 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4762 # Check for GNU ac_path_SED and select it if it is found.
4763 # Check for GNU $ac_path_SED
4764 case `"$ac_path_SED" --version 2>&1` in
4766 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4769 $as_echo_n 0123456789 >"conftest.in"
4772 cat "conftest.in" "conftest.in" >"conftest.tmp"
4773 mv "conftest.tmp" "conftest.in"
4774 cp "conftest.in" "conftest.nl"
4775 $as_echo '' >> "conftest.nl"
4776 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4777 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4778 as_fn_arith $ac_count + 1 && ac_count=$as_val
4779 if test $ac_count -gt ${ac_path_SED_max-0}; then
4780 # Best one so far, save it but keep looking for a better one
4781 ac_cv_path_SED="$ac_path_SED"
4782 ac_path_SED_max=$ac_count
4784 # 10*(2^10) chars as input seems more than enough
4785 test $ac_count -gt 10 && break
4787 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4790 $ac_path_SED_found && break 3
4795 if test -z "$ac_cv_path_SED"; then
4796 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4804 $as_echo "$ac_cv_path_SED" >&6; }
4805 SED="$ac_cv_path_SED"
4808 test -z "$SED" && SED=sed
4809 Xsed="$SED -e 1s/^X//"
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4822 $as_echo_n "checking for fgrep... " >&6; }
4823 if ${ac_cv_path_FGREP+:} false; then :
4824 $as_echo_n "(cached) " >&6
4826 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4827 then ac_cv_path_FGREP="$GREP -F"
4829 if test -z "$FGREP"; then
4830 ac_path_FGREP_found=false
4831 # Loop through the user's path and test for each of PROGNAME-LIST
4832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4833 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4836 test -z "$as_dir" && as_dir=.
4837 for ac_prog in fgrep; do
4838 for ac_exec_ext in '' $ac_executable_extensions; do
4839 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4840 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4841 # Check for GNU ac_path_FGREP and select it if it is found.
4842 # Check for GNU $ac_path_FGREP
4843 case `"$ac_path_FGREP" --version 2>&1` in
4845 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4848 $as_echo_n 0123456789 >"conftest.in"
4851 cat "conftest.in" "conftest.in" >"conftest.tmp"
4852 mv "conftest.tmp" "conftest.in"
4853 cp "conftest.in" "conftest.nl"
4854 $as_echo 'FGREP' >> "conftest.nl"
4855 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4856 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4857 as_fn_arith $ac_count + 1 && ac_count=$as_val
4858 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4859 # Best one so far, save it but keep looking for a better one
4860 ac_cv_path_FGREP="$ac_path_FGREP"
4861 ac_path_FGREP_max=$ac_count
4863 # 10*(2^10) chars as input seems more than enough
4864 test $ac_count -gt 10 && break
4866 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4869 $ac_path_FGREP_found && break 3
4874 if test -z "$ac_cv_path_FGREP"; then
4875 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4878 ac_cv_path_FGREP=$FGREP
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4884 $as_echo "$ac_cv_path_FGREP" >&6; }
4885 FGREP="$ac_cv_path_FGREP"
4888 test -z "$GREP" && GREP=grep
4908 # Check whether --with-gnu-ld was given.
4909 if test "${with_gnu_ld+set}" = set; then :
4910 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4916 if test "$GCC" = yes; then
4917 # Check if gcc -print-prog-name=ld gives a path.
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4919 $as_echo_n "checking for ld used by $CC... " >&6; }
4922 # gcc leaves a trailing carriage return which upsets mingw
4923 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
4925 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
4928 # Accept absolute paths.
4930 re_direlt='/[^/][^/]*/\.\./'
4931 # Canonicalize the pathname of ld
4932 ac_prog=`$ECHO "$ac_prog"|
$SED 's%\\\\%/%g'`
4933 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4934 ac_prog=`$ECHO $ac_prog|
$SED "s%$re_direlt%/%"`
4936 test -z "$LD" && LD="$ac_prog"
4939 # If it fails, then pretend we aren't using GCC.
4943 # If it is relative, then search for the first ld in PATH.
4947 elif test "$with_gnu_ld" = yes; then
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4949 $as_echo_n "checking for GNU ld... " >&6; }
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4952 $as_echo_n "checking for non-GNU ld... " >&6; }
4954 if ${lt_cv_path_LD+:} false; then :
4955 $as_echo_n "(cached) " >&6
4957 if test -z "$LD"; then
4958 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4959 for ac_dir in $PATH; do
4961 test -z "$ac_dir" && ac_dir=.
4962 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4963 lt_cv_path_LD="$ac_dir/$ac_prog"
4964 # Check to see if the program is GNU ld. I'd rather use --version,
4965 # but apparently some variants of GNU ld only accept -v.
4966 # Break only if it was the GNU/non-GNU ld that we prefer.
4967 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
4968 *GNU* | *'with BFD'*)
4969 test "$with_gnu_ld" != no && break
4972 test "$with_gnu_ld" != yes && break
4979 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4984 if test -n "$LD"; then
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4986 $as_echo "$LD" >&6; }
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4989 $as_echo "no" >&6; }
4991 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4993 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4994 if ${lt_cv_prog_gnu_ld+:} false; then :
4995 $as_echo_n "(cached) " >&6
4997 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4998 case `$LD -v 2>&1 </dev
/null
` in
4999 *GNU* | *'with BFD'*)
5000 lt_cv_prog_gnu_ld=yes
5003 lt_cv_prog_gnu_ld=no
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5008 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5009 with_gnu_ld=$lt_cv_prog_gnu_ld
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5020 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5021 if ${lt_cv_path_NM+:} false; then :
5022 $as_echo_n "(cached) " >&6
5024 if test -n "$NM"; then
5025 # Let the user override the test.
5028 lt_nm_to_check="${ac_tool_prefix}nm"
5029 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5030 lt_nm_to_check="$lt_nm_to_check nm"
5032 for lt_tmp_nm in $lt_nm_to_check; do
5033 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5034 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5036 test -z "$ac_dir" && ac_dir=.
5037 tmp_nm="$ac_dir/$lt_tmp_nm"
5038 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5039 # Check to see if the nm accepts a BSD-compat flag.
5040 # Adding the `sed 1q
' prevents false positives on HP-UX, which says:
5041 # nm: unknown option "B" ignored
5042 # Tru64's nm complains that
/dev
/null is an invalid object
file
5043 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5044 */dev
/null
* |
*'Invalid file or object type'*)
5045 lt_cv_path_NM
="$tmp_nm -B"
5049 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5051 lt_cv_path_NM
="$tmp_nm -p"
5055 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5056 continue # so that we can try to find one that supports BSD flags
5065 : ${lt_cv_path_NM=no}
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5069 $as_echo "$lt_cv_path_NM" >&6; }
5070 if test "$lt_cv_path_NM" != "no"; then
5073 # Didn't find any BSD compatible name lister, look for dumpbin.
5074 if test -n "$DUMPBIN"; then :
5075 # Let the user override the test.
5077 if test -n "$ac_tool_prefix"; then
5078 for ac_prog
in dumpbin
"link -dump"
5080 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5081 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5083 $as_echo_n "checking for $ac_word... " >&6; }
5084 if ${ac_cv_prog_DUMPBIN+:} false
; then :
5085 $as_echo_n "(cached) " >&6
5087 if test -n "$DUMPBIN"; then
5088 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5090 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5094 test -z "$as_dir" && as_dir
=.
5095 for ac_exec_ext
in '' $ac_executable_extensions; do
5096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5097 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5107 DUMPBIN
=$ac_cv_prog_DUMPBIN
5108 if test -n "$DUMPBIN"; then
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5110 $as_echo "$DUMPBIN" >&6; }
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5113 $as_echo "no" >&6; }
5117 test -n "$DUMPBIN" && break
5120 if test -z "$DUMPBIN"; then
5121 ac_ct_DUMPBIN
=$DUMPBIN
5122 for ac_prog
in dumpbin
"link -dump"
5124 # Extract the first word of "$ac_prog", so it can be a program name with args.
5125 set dummy
$ac_prog; ac_word
=$2
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5127 $as_echo_n "checking for $ac_word... " >&6; }
5128 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
5129 $as_echo_n "(cached) " >&6
5131 if test -n "$ac_ct_DUMPBIN"; then
5132 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5134 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5138 test -z "$as_dir" && as_dir
=.
5139 for ac_exec_ext
in '' $ac_executable_extensions; do
5140 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5141 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5151 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5152 if test -n "$ac_ct_DUMPBIN"; then
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5154 $as_echo "$ac_ct_DUMPBIN" >&6; }
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5157 $as_echo "no" >&6; }
5161 test -n "$ac_ct_DUMPBIN" && break
5164 if test "x$ac_ct_DUMPBIN" = x
; then
5167 case $cross_compiling:$ac_tool_warned in
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5170 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5171 ac_tool_warned
=yes ;;
5173 DUMPBIN
=$ac_ct_DUMPBIN
5177 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5179 DUMPBIN
="$DUMPBIN -symbols"
5187 if test "$DUMPBIN" != ":"; then
5191 test -z "$NM" && NM
=nm
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5199 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5200 if ${lt_cv_nm_interface+:} false
; then :
5201 $as_echo_n "(cached) " >&6
5203 lt_cv_nm_interface
="BSD nm"
5204 echo "int some_variable = 0;" > conftest.
$ac_ext
5205 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5206 (eval "$ac_compile" 2>conftest.err
)
5207 cat conftest.err
>&5
5208 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5209 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5210 cat conftest.err
>&5
5211 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5212 cat conftest.out
>&5
5213 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5214 lt_cv_nm_interface
="MS dumpbin"
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5219 $as_echo "$lt_cv_nm_interface" >&6; }
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5222 $as_echo_n "checking whether ln -s works... " >&6; }
5224 if test "$LN_S" = "ln -s"; then
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5226 $as_echo "yes" >&6; }
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5229 $as_echo "no, using $LN_S" >&6; }
5232 # find the maximum length of command line arguments
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5234 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5235 if ${lt_cv_sys_max_cmd_len+:} false
; then :
5236 $as_echo_n "(cached) " >&6
5243 # On DJGPP, this test can blow up pretty badly due to problems in libc
5244 # (any single argument exceeding 2000 bytes causes a buffer overrun
5245 # during glob expansion). Even if it were fixed, the result of this
5246 # check would be larger than it should be.
5247 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5251 # Under GNU Hurd, this test is not required because there is
5252 # no limit to the length of command line arguments.
5253 # Libtool will interpret -1 as no limit whatsoever
5254 lt_cv_sys_max_cmd_len
=-1;
5257 cygwin
* | mingw
* | cegcc
*)
5258 # On Win9x/ME, this test blows up -- it succeeds, but takes
5259 # about 5 minutes as the teststring grows exponentially.
5260 # Worse, since 9x/ME are not pre-emptively multitasking,
5261 # you end up with a "frozen" computer, even though with patience
5262 # the test eventually succeeds (with a max line length of 256k).
5263 # Instead, let's just punt: use the minimum linelength reported by
5264 # all of the supported platforms: 8192 (on NT/2K/XP).
5265 lt_cv_sys_max_cmd_len
=8192;
5269 # On MiNT this can take a long time and run out of memory.
5270 lt_cv_sys_max_cmd_len
=8192;
5274 # On AmigaOS with pdksh, this test takes hours, literally.
5275 # So we just punt and use a minimum line length of 8192.
5276 lt_cv_sys_max_cmd_len
=8192;
5279 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5280 # This has been around since 386BSD, at least. Likely further.
5281 if test -x /sbin
/sysctl
; then
5282 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5283 elif test -x /usr
/sbin
/sysctl
; then
5284 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5286 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5288 # And add a safety zone
5289 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5290 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5294 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5295 lt_cv_sys_max_cmd_len
=196608
5299 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5300 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5301 # nice to cause kernel panics so lets avoid the loop below.
5302 # First set a reasonable default.
5303 lt_cv_sys_max_cmd_len
=16384
5305 if test -x /sbin
/sysconfig
; then
5306 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5307 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5312 lt_cv_sys_max_cmd_len
=102400
5314 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5315 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5316 if test -n "$kargmax"; then
5317 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5319 lt_cv_sys_max_cmd_len
=32768
5323 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5324 if test -n "$lt_cv_sys_max_cmd_len"; then
5325 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5326 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5328 # Make teststring a little bigger before we do anything with it.
5329 # a 1K string should be a reasonable start.
5330 for i
in 1 2 3 4 5 6 7 8 ; do
5331 teststring
=$teststring$teststring
5333 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5334 # If test is not a shell built-in, we'll probably end up computing a
5335 # maximum length that is only half of the actual maximum length, but
5337 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5338 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5339 test $i != 17 # 1/2 MB should be enough
5342 teststring
=$teststring$teststring
5344 # Only check the string length outside the loop.
5345 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5347 # Add a significant safety factor because C++ compilers can tack on
5348 # massive amounts of additional arguments before passing them to the
5349 # linker. It appears as though 1/2 is a usable value.
5350 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5357 if test -n $lt_cv_sys_max_cmd_len ; then
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5359 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5362 $as_echo "none" >&6; }
5364 max_cmd_len
=$lt_cv_sys_max_cmd_len
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5376 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5377 # Try some XSI features
5380 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5382 && eval 'test $(( 1 + 1 )) -eq 2 \
5383 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5386 $as_echo "$xsi_shell" >&6; }
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5390 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5392 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5394 && lt_shell_append=yes
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5396 $as_echo "$lt_shell_append" >&6; }
5399 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5409 # test EBCDIC or ASCII
5410 case `echo X|tr X '\101'` in
5411 A) # ASCII based system
5412 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5413 lt_SP2NL='tr \040 \012'
5414 lt_NL2SP='tr \015\012 \040\040'
5416 *) # EBCDIC based system
5417 lt_SP2NL='tr \100 \n'
5418 lt_NL2SP='tr \r\n \100\100'
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
5431 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
5432 if ${lt_cv_to_host_file_cmd+:} false; then :
5433 $as_echo_n "(cached
) " >&6
5438 *-*-mingw* ) # actually msys
5439 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5442 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5444 * ) # otherwise, assume *nix
5445 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5451 *-*-mingw* ) # actually msys
5452 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5455 lt_cv_to_host_file_cmd=func_convert_file_noop
5457 * ) # otherwise, assume *nix
5458 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5462 * ) # unhandled hosts (and "normal
" native builds)
5463 lt_cv_to_host_file_cmd=func_convert_file_noop
5469 to_host_file_cmd=$lt_cv_to_host_file_cmd
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
5471 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
5478 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
5479 if ${lt_cv_to_tool_file_cmd+:} false; then :
5480 $as_echo_n "(cached
) " >&6
5482 #assume ordinary cross tools, or native build.
5483 lt_cv_to_tool_file_cmd=func_convert_file_noop
5487 *-*-mingw* ) # actually msys
5488 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5496 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
5498 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5505 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5506 if ${lt_cv_ld_reload_flag+:} false; then :
5507 $as_echo_n "(cached
) " >&6
5509 lt_cv_ld_reload_flag='-r'
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5512 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5513 reload_flag=$lt_cv_ld_reload_flag
5514 case $reload_flag in
5516 *) reload_flag=" $reload_flag" ;;
5518 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5520 cygwin* | mingw* | pw32* | cegcc*)
5521 if test "$GCC" != yes; then
5526 if test "$GCC" = yes; then
5527 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5529 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5542 if test -n "$ac_tool_prefix"; then
5543 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5544 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5546 $as_echo_n "checking
for $ac_word...
" >&6; }
5547 if ${ac_cv_prog_OBJDUMP+:} false; then :
5548 $as_echo_n "(cached
) " >&6
5550 if test -n "$OBJDUMP"; then
5551 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5557 test -z "$as_dir" && as_dir=.
5558 for ac_exec_ext in '' $ac_executable_extensions; do
5559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5560 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5561 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5570 OBJDUMP=$ac_cv_prog_OBJDUMP
5571 if test -n "$OBJDUMP"; then
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5573 $as_echo "$OBJDUMP" >&6; }
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5576 $as_echo "no
" >&6; }
5581 if test -z "$ac_cv_prog_OBJDUMP"; then
5582 ac_ct_OBJDUMP=$OBJDUMP
5583 # Extract the first word of "objdump
", so it can be a program name with args.
5584 set dummy objdump; ac_word=$2
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5586 $as_echo_n "checking
for $ac_word...
" >&6; }
5587 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5588 $as_echo_n "(cached
) " >&6
5590 if test -n "$ac_ct_OBJDUMP"; then
5591 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5597 test -z "$as_dir" && as_dir=.
5598 for ac_exec_ext in '' $ac_executable_extensions; do
5599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5600 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5601 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5610 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5611 if test -n "$ac_ct_OBJDUMP"; then
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5613 $as_echo "$ac_ct_OBJDUMP" >&6; }
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5616 $as_echo "no
" >&6; }
5619 if test "x
$ac_ct_OBJDUMP" = x; then
5622 case $cross_compiling:$ac_tool_warned in
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5625 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5626 ac_tool_warned=yes ;;
5628 OBJDUMP=$ac_ct_OBJDUMP
5631 OBJDUMP="$ac_cv_prog_OBJDUMP"
5634 test -z "$OBJDUMP" && OBJDUMP=objdump
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5645 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5646 if ${lt_cv_deplibs_check_method+:} false; then :
5647 $as_echo_n "(cached
) " >&6
5649 lt_cv_file_magic_cmd='$MAGIC_CMD'
5650 lt_cv_file_magic_test_file=
5651 lt_cv_deplibs_check_method='unknown'
5652 # Need to set the preceding variable on all platforms that support
5653 # interlibrary dependencies.
5654 # 'none' -- dependencies not supported.
5655 # `unknown' -- same as none, but documents that we really don't know.
5656 # 'pass_all' -- all dependencies passed with no checks.
5657 # 'test_compile' -- check by making test program.
5658 # 'file_magic [[regex]]' -- check by looking for files in library path
5659 # which responds to the $file_magic_cmd with a given extended regex.
5660 # If you have `file' or equivalent on your system and you're not sure
5661 # whether `pass_all' will *always* work, you probably want this one.
5665 lt_cv_deplibs_check_method=pass_all
5669 lt_cv_deplibs_check_method=pass_all
5673 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5674 lt_cv_file_magic_cmd='/usr/bin/file -L'
5675 lt_cv_file_magic_test_file=/shlib/libc.so
5679 # func_win32_libid is a shell function defined in ltmain.sh
5680 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5681 lt_cv_file_magic_cmd='func_win32_libid'
5685 # Base MSYS/MinGW do not provide the 'file' command needed by
5686 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5687 # unless we find 'file', for example because we are cross-compiling.
5688 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5689 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
5690 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5691 lt_cv_file_magic_cmd='func_win32_libid'
5693 # Keep this pattern in sync with the one in func_win32_libid.
5694 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5695 lt_cv_file_magic_cmd='$OBJDUMP -f'
5700 # use the weaker test based on 'objdump'. See mingw*.
5701 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5702 lt_cv_file_magic_cmd='$OBJDUMP -f'
5705 darwin* | rhapsody*)
5706 lt_cv_deplibs_check_method=pass_all
5709 freebsd* | dragonfly*)
5710 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5713 # Not sure whether the presence of OpenBSD here was a mistake.
5714 # Let's accept both of them until this is cleared up.
5715 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5716 lt_cv_file_magic_cmd=/usr/bin/file
5717 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5721 lt_cv_deplibs_check_method=pass_all
5726 lt_cv_deplibs_check_method=pass_all
5730 lt_cv_deplibs_check_method=pass_all
5733 hpux10.20* | hpux11*)
5734 lt_cv_file_magic_cmd=/usr/bin/file
5737 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5738 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5741 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]'
5742 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5745 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5746 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5752 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5753 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5756 irix5* | irix6* | nonstopux*)
5758 *-32|*"-32 ") libmagic=32-bit;;
5759 *-n32|*"-n32 ") libmagic=N32;;
5760 *-64|*"-64 ") libmagic=64-bit;;
5761 *) libmagic=never-match;;
5763 lt_cv_deplibs_check_method=pass_all
5766 # This must be Linux ELF.
5767 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5768 lt_cv_deplibs_check_method=pass_all
5772 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5773 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5775 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5780 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5781 lt_cv_file_magic_cmd=/usr/bin/file
5782 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5786 lt_cv_deplibs_check_method=pass_all
5790 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5791 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5793 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5797 osf3* | osf4* | osf5*)
5798 lt_cv_deplibs_check_method=pass_all
5802 lt_cv_deplibs_check_method=pass_all
5806 lt_cv_deplibs_check_method=pass_all
5809 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5810 lt_cv_deplibs_check_method=pass_all
5814 case $host_vendor in
5816 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]'
5817 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5820 lt_cv_deplibs_check_method=pass_all
5823 lt_cv_file_magic_cmd='/bin/file'
5824 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5827 lt_cv_file_magic_cmd='/bin/file'
5828 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5829 lt_cv_file_magic_test_file=/lib/libc.so
5832 lt_cv_deplibs_check_method=pass_all
5835 lt_cv_deplibs_check_method=pass_all
5841 lt_cv_deplibs_check_method=pass_all
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5847 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5851 if test "$build" = "$host"; then
5854 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5857 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
5863 file_magic_cmd=$lt_cv_file_magic_cmd
5864 deplibs_check_method=$lt_cv_deplibs_check_method
5865 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5888 if test -n "$ac_tool_prefix"; then
5889 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
5890 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5892 $as_echo_n "checking
for $ac_word...
" >&6; }
5893 if ${ac_cv_prog_DLLTOOL+:} false; then :
5894 $as_echo_n "(cached
) " >&6
5896 if test -n "$DLLTOOL"; then
5897 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5903 test -z "$as_dir" && as_dir=.
5904 for ac_exec_ext in '' $ac_executable_extensions; do
5905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5906 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
5907 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5916 DLLTOOL=$ac_cv_prog_DLLTOOL
5917 if test -n "$DLLTOOL"; then
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
5919 $as_echo "$DLLTOOL" >&6; }
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5922 $as_echo "no
" >&6; }
5927 if test -z "$ac_cv_prog_DLLTOOL"; then
5928 ac_ct_DLLTOOL=$DLLTOOL
5929 # Extract the first word of "dlltool
", so it can be a program name with args.
5930 set dummy dlltool; ac_word=$2
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5932 $as_echo_n "checking
for $ac_word...
" >&6; }
5933 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5934 $as_echo_n "(cached
) " >&6
5936 if test -n "$ac_ct_DLLTOOL"; then
5937 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5943 test -z "$as_dir" && as_dir=.
5944 for ac_exec_ext in '' $ac_executable_extensions; do
5945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5946 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
5947 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5956 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5957 if test -n "$ac_ct_DLLTOOL"; then
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
5959 $as_echo "$ac_ct_DLLTOOL" >&6; }
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5962 $as_echo "no
" >&6; }
5965 if test "x
$ac_ct_DLLTOOL" = x; then
5968 case $cross_compiling:$ac_tool_warned in
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5971 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5972 ac_tool_warned=yes ;;
5974 DLLTOOL=$ac_ct_DLLTOOL
5977 DLLTOOL="$ac_cv_prog_DLLTOOL"
5980 test -z "$DLLTOOL" && DLLTOOL=dlltool
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
5992 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
5993 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5994 $as_echo_n "(cached
) " >&6
5996 lt_cv_sharedlib_from_linklib_cmd='unknown'
5999 cygwin* | mingw* | pw32* | cegcc*)
6000 # two different shell functions defined in ltmain.sh
6001 # decide which to use based on capabilities of $DLLTOOL
6002 case `$DLLTOOL --help 2>&1` in
6003 *--identify-strict*)
6004 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6007 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6012 # fallback: assume linklib IS sharedlib
6013 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6018 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
6019 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6020 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6021 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6029 if test -n "$ac_tool_prefix"; then
6032 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6033 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6035 $as_echo_n "checking
for $ac_word...
" >&6; }
6036 if ${ac_cv_prog_AR+:} false; then :
6037 $as_echo_n "(cached
) " >&6
6039 if test -n "$AR"; then
6040 ac_cv_prog_AR="$AR" # Let the user override the test.
6042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6046 test -z "$as_dir" && as_dir=.
6047 for ac_exec_ext in '' $ac_executable_extensions; do
6048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6049 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6050 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6060 if test -n "$AR"; then
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6062 $as_echo "$AR" >&6; }
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6065 $as_echo "no
" >&6; }
6069 test -n "$AR" && break
6072 if test -z "$AR"; then
6076 # Extract the first word of "$ac_prog", so it can be a program name with args.
6077 set dummy $ac_prog; ac_word=$2
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6079 $as_echo_n "checking
for $ac_word...
" >&6; }
6080 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6081 $as_echo_n "(cached
) " >&6
6083 if test -n "$ac_ct_AR"; then
6084 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6090 test -z "$as_dir" && as_dir=.
6091 for ac_exec_ext in '' $ac_executable_extensions; do
6092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6093 ac_cv_prog_ac_ct_AR="$ac_prog"
6094 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6103 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6104 if test -n "$ac_ct_AR"; then
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6106 $as_echo "$ac_ct_AR" >&6; }
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6109 $as_echo "no
" >&6; }
6113 test -n "$ac_ct_AR" && break
6116 if test "x
$ac_ct_AR" = x; then
6119 case $cross_compiling:$ac_tool_warned in
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6122 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6123 ac_tool_warned=yes ;;
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
6143 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
6144 if ${lt_cv_ar_at_file+:} false; then :
6145 $as_echo_n "(cached
) " >&6
6148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6149 /* end confdefs.h. */
6159 if ac_fn_c_try_compile "$LINENO"; then :
6160 echo conftest.$ac_objext > conftest.lst
6161 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6162 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6163 (eval $lt_ar_try) 2>&5
6165 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6166 test $ac_status = 0; }
6167 if test "$ac_status" -eq 0; then
6168 # Ensure the archiver fails upon bogus file names.
6169 rm -f conftest.$ac_objext libconftest.a
6170 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6171 (eval $lt_ar_try) 2>&5
6173 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6174 test $ac_status = 0; }
6175 if test "$ac_status" -ne 0; then
6179 rm -f conftest.* libconftest.a
6182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
6186 $as_echo "$lt_cv_ar_at_file" >&6; }
6188 if test "x
$lt_cv_ar_at_file" = xno; then
6191 archiver_list_spec=$lt_cv_ar_at_file
6200 if test -n "$ac_tool_prefix"; then
6201 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6202 set dummy ${ac_tool_prefix}strip; ac_word=$2
6203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6204 $as_echo_n "checking
for $ac_word...
" >&6; }
6205 if ${ac_cv_prog_STRIP+:} false; then :
6206 $as_echo_n "(cached
) " >&6
6208 if test -n "$STRIP"; then
6209 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6215 test -z "$as_dir" && as_dir=.
6216 for ac_exec_ext in '' $ac_executable_extensions; do
6217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6218 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6219 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6228 STRIP=$ac_cv_prog_STRIP
6229 if test -n "$STRIP"; then
6230 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6231 $as_echo "$STRIP" >&6; }
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6234 $as_echo "no
" >&6; }
6239 if test -z "$ac_cv_prog_STRIP"; then
6241 # Extract the first word of "strip
", so it can be a program name with args.
6242 set dummy strip; ac_word=$2
6243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6244 $as_echo_n "checking
for $ac_word...
" >&6; }
6245 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6246 $as_echo_n "(cached
) " >&6
6248 if test -n "$ac_ct_STRIP"; then
6249 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6255 test -z "$as_dir" && as_dir=.
6256 for ac_exec_ext in '' $ac_executable_extensions; do
6257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6258 ac_cv_prog_ac_ct_STRIP="strip
"
6259 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6268 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6269 if test -n "$ac_ct_STRIP"; then
6270 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6271 $as_echo "$ac_ct_STRIP" >&6; }
6273 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6274 $as_echo "no
" >&6; }
6277 if test "x
$ac_ct_STRIP" = x; then
6280 case $cross_compiling:$ac_tool_warned in
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6283 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6284 ac_tool_warned=yes ;;
6289 STRIP="$ac_cv_prog_STRIP"
6292 test -z "$STRIP" && STRIP=:
6299 if test -n "$ac_tool_prefix"; then
6300 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6301 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6303 $as_echo_n "checking
for $ac_word...
" >&6; }
6304 if ${ac_cv_prog_RANLIB+:} false; then :
6305 $as_echo_n "(cached
) " >&6
6307 if test -n "$RANLIB"; then
6308 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6314 test -z "$as_dir" && as_dir=.
6315 for ac_exec_ext in '' $ac_executable_extensions; do
6316 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6317 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6318 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6327 RANLIB=$ac_cv_prog_RANLIB
6328 if test -n "$RANLIB"; then
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6330 $as_echo "$RANLIB" >&6; }
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6333 $as_echo "no
" >&6; }
6338 if test -z "$ac_cv_prog_RANLIB"; then
6339 ac_ct_RANLIB=$RANLIB
6340 # Extract the first word of "ranlib
", so it can be a program name with args.
6341 set dummy ranlib; ac_word=$2
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6343 $as_echo_n "checking
for $ac_word...
" >&6; }
6344 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6345 $as_echo_n "(cached
) " >&6
6347 if test -n "$ac_ct_RANLIB"; then
6348 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6354 test -z "$as_dir" && as_dir=.
6355 for ac_exec_ext in '' $ac_executable_extensions; do
6356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6357 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6358 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6367 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6368 if test -n "$ac_ct_RANLIB"; then
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6370 $as_echo "$ac_ct_RANLIB" >&6; }
6372 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6373 $as_echo "no
" >&6; }
6376 if test "x
$ac_ct_RANLIB" = x; then
6379 case $cross_compiling:$ac_tool_warned in
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6382 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6383 ac_tool_warned=yes ;;
6385 RANLIB=$ac_ct_RANLIB
6388 RANLIB="$ac_cv_prog_RANLIB"
6391 test -z "$RANLIB" && RANLIB=:
6398 # Determine commands to create old-style static archives.
6399 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6400 old_postinstall_cmds='chmod 644 $oldlib'
6401 old_postuninstall_cmds=
6403 if test -n "$RANLIB"; then
6406 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6409 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6412 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6417 lock_old_archive_extraction=yes ;;
6419 lock_old_archive_extraction=no ;;
6460 # If no C compiler was specified, use CC.
6463 # If no C compiler flags were specified, use CFLAGS.
6464 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6466 # Allow CC to be a program name with arguments.
6470 # Check for command to grab the raw symbol name followed by C symbol from nm.
6471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6472 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6473 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6474 $as_echo_n "(cached
) " >&6
6477 # These are sane defaults that work on at least a few old systems.
6478 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6480 # Character class describing NM global symbol codes.
6481 symcode='[BCDEGRST]'
6483 # Regexp to match symbols that can be accessed directly from C.
6484 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6486 # Define system-specific variables.
6491 cygwin* | mingw* | pw32* | cegcc*)
6492 symcode='[ABCDGISTW]'
6495 if test "$host_cpu" = ia64; then
6496 symcode='[ABCDEGRST]'
6500 symcode='[BCDEGRST]'
6503 symcode='[BCDEGQRST]'
6514 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6522 # If we're using GNU nm, then use its standard symbol codes.
6523 case `$NM -V 2>&1` in
6524 *GNU* | *'with BFD'*)
6525 symcode='[ABCDGIRSTW]' ;;
6528 # Transform an extracted symbol line into a proper C declaration.
6529 # Some systems (esp. on ia64) link data and code symbols differently,
6530 # so use this general approach.
6531 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6533 # Transform an extracted symbol line into symbol name and symbol address
6534 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6535 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'"
6537 # Handle CRLF in mingw tool chain
6541 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6545 # Try without a prefix underscore, then with it.
6546 for ac_symprfx in "" "_
"; do
6548 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6549 symxfrm="\\1 $ac_symprfx\\2 \\2"
6551 # Write the raw and C identifiers.
6552 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6553 # Fake it for dumpbin and say T for any non-static function
6554 # and D for any global variable.
6555 # Also find C++ and __fastcall symbols from MSVC++,
6556 # which start with @ or ?.
6557 lt_cv_sys_global_symbol_pipe="$AWK '"\
6558 " {last_section=section; section=\$ 3};"\
6559 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6560 " \$ 0!~/External *\|/{next};"\
6561 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6562 " {if(hide[section]) next};"\
6563 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6564 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6565 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6566 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6567 " ' prfx
=^
$ac_symprfx"
6569 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6571 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe |
sed '/ __gnu_lto/d'"
6573 # Check to see that the pipe works correctly.
6577 cat > conftest.$ac_ext <<_LT_EOF
6582 void nm_test_func(void);
6583 void nm_test_func(void){}
6587 int main(){nm_test_var='a';nm_test_func();return(0);}
6590 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6591 (eval $ac_compile) 2>&5
6593 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6594 test $ac_status = 0; }; then
6595 # Now try to grab the symbols.
6597 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6598 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6600 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6601 test $ac_status = 0; } && test -s "$nlist"; then
6602 # Try sorting and uniquifying the output.
6603 if sort "$nlist" | uniq > "$nlist"T; then
6604 mv -f "$nlist"T "$nlist"
6609 # Make sure that we snagged all the symbols we need.
6610 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6611 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6612 cat <<_LT_EOF > conftest.$ac_ext
6613 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6614 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6615 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6616 relocations are performed -- see ld's documentation on pseudo-relocs. */
6617 # define LT_DLSYM_CONST
6618 #elif defined(__osf__)
6619 /* This system does not cope well with relocations in const data. */
6620 # define LT_DLSYM_CONST
6622 # define LT_DLSYM_CONST const
6630 # Now generate the symbol file.
6631 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6633 cat <<_LT_EOF >> conftest.$ac_ext
6635 /* The mapping between symbol names and symbols. */
6636 LT_DLSYM_CONST struct {
6640 lt__PROGRAM__LTX_preloaded_symbols[] =
6642 { "@PROGRAM@
", (void *) 0 },
6644 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6645 cat <<\_LT_EOF >> conftest.$ac_ext
6649 /* This works around a problem in FreeBSD linker */
6650 #ifdef FREEBSD_WORKAROUND
6651 static const void *lt_preloaded_setup() {
6652 return lt__PROGRAM__LTX_preloaded_symbols;
6660 # Now try linking the two files.
6661 mv conftest.$ac_objext conftstm.$ac_objext
6662 lt_globsym_save_LIBS=$LIBS
6663 lt_globsym_save_CFLAGS=$CFLAGS
6664 LIBS="conftstm.
$ac_objext"
6665 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6666 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6667 (eval $ac_link) 2>&5
6669 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6670 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6673 LIBS=$lt_globsym_save_LIBS
6674 CFLAGS=$lt_globsym_save_CFLAGS
6676 echo "cannot
find nm_test_func
in $nlist" >&5
6679 echo "cannot
find nm_test_var
in $nlist" >&5
6682 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6685 echo "$progname: failed program was
:" >&5
6686 cat conftest.$ac_ext >&5
6688 rm -rf conftest* conftst*
6690 # Do not use the global_symbol_pipe unless it works.
6691 if test "$pipe_works" = yes; then
6694 lt_cv_sys_global_symbol_pipe=
6700 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6701 lt_cv_sys_global_symbol_to_cdecl=
6703 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6704 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6705 $as_echo "failed
" >&6; }
6707 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6708 $as_echo "ok
" >&6; }
6711 # Response file support.
6712 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6713 nm_file_list_spec='@'
6714 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6715 nm_file_list_spec='@'
6744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
6745 $as_echo_n "checking
for sysroot...
" >&6; }
6747 # Check whether --with-sysroot was given.
6748 if test "${with_sysroot+set}" = set; then :
6749 withval=$with_sysroot;
6756 case ${with_sysroot} in #(
6758 if test "$GCC" = yes; then
6759 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6763 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${with_sysroot}" >&5
6769 $as_echo "${with_sysroot}" >&6; }
6770 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
6774 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
6775 $as_echo "${lt_sysroot:-no}" >&6; }
6781 # Check whether --enable-libtool-lock was given.
6782 if test "${enable_libtool_lock+set}" = set; then :
6783 enableval=$enable_libtool_lock;
6786 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6788 # Some flags need to be propagated to the compiler or linker for good
6792 # Find out which ABI we are using.
6793 echo 'int i;' > conftest.$ac_ext
6794 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6795 (eval $ac_compile) 2>&5
6797 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6798 test $ac_status = 0; }; then
6799 case `/usr/bin/file conftest.$ac_objext` in
6811 # Find out which ABI we are using.
6812 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6813 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6814 (eval $ac_compile) 2>&5
6816 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6817 test $ac_status = 0; }; then
6818 if test "$lt_cv_prog_gnu_ld" = yes; then
6819 case `/usr/bin/file conftest.$ac_objext` in
6821 LD="${LD-ld} -melf32bsmip"
6824 LD="${LD-ld} -melf32bmipn32"
6827 LD="${LD-ld} -melf64bmip"
6831 case `/usr/bin/file conftest.$ac_objext` in
6847 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6848 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6849 # Find out which ABI we are using.
6850 echo 'int i;' > conftest.$ac_ext
6851 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6852 (eval $ac_compile) 2>&5
6854 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6855 test $ac_status = 0; }; then
6856 case `/usr/bin/file conftest.o` in
6859 x86_64-*kfreebsd*-gnu)
6860 LD="${LD-ld} -m elf_i386_fbsd
"
6863 LD="${LD-ld} -m elf_i386
"
6865 ppc64-*linux*|powerpc64-*linux*)
6866 LD="${LD-ld} -m elf32ppclinux
"
6869 LD="${LD-ld} -m elf_s390
"
6872 LD="${LD-ld} -m elf32_sparc
"
6878 x86_64-*kfreebsd*-gnu)
6879 LD="${LD-ld} -m elf_x86_64_fbsd
"
6882 LD="${LD-ld} -m elf_x86_64
"
6884 ppc*-*linux*|powerpc*-*linux*)
6885 LD="${LD-ld} -m elf64ppc
"
6887 s390*-*linux*|s390*-*tpf*)
6888 LD="${LD-ld} -m elf64_s390
"
6891 LD="${LD-ld} -m elf64_sparc
"
6901 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6902 SAVE_CFLAGS="$CFLAGS"
6903 CFLAGS="$CFLAGS -belf"
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6905 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6906 if ${lt_cv_cc_needs_belf+:} false; then :
6907 $as_echo_n "(cached
) " >&6
6910 ac_cpp='$CPP $CPPFLAGS'
6911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6916 /* end confdefs.h. */
6926 if ac_fn_c_try_link "$LINENO"; then :
6927 lt_cv_cc_needs_belf=yes
6929 lt_cv_cc_needs_belf=no
6931 rm -f core conftest.err conftest.$ac_objext \
6932 conftest$ac_exeext conftest.$ac_ext
6934 ac_cpp='$CPP $CPPFLAGS'
6935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6940 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6941 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6942 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6943 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6944 CFLAGS="$SAVE_CFLAGS"
6948 # Find out which ABI we are using.
6949 echo 'int i;' > conftest.$ac_ext
6950 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6951 (eval $ac_compile) 2>&5
6953 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6954 test $ac_status = 0; }; then
6955 case `/usr/bin/file conftest.o` in
6957 case $lt_cv_prog_gnu_ld in
6958 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6960 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6972 need_locks="$enable_libtool_lock"
6974 if test -n "$ac_tool_prefix"; then
6975 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
6976 set dummy ${ac_tool_prefix}mt; ac_word=$2
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6978 $as_echo_n "checking
for $ac_word...
" >&6; }
6979 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6980 $as_echo_n "(cached
) " >&6
6982 if test -n "$MANIFEST_TOOL"; then
6983 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6989 test -z "$as_dir" && as_dir=.
6990 for ac_exec_ext in '' $ac_executable_extensions; do
6991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6992 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
6993 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7002 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7003 if test -n "$MANIFEST_TOOL"; then
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
7005 $as_echo "$MANIFEST_TOOL" >&6; }
7007 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7008 $as_echo "no
" >&6; }
7013 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7014 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7015 # Extract the first word of "mt
", so it can be a program name with args.
7016 set dummy mt; ac_word=$2
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7018 $as_echo_n "checking
for $ac_word...
" >&6; }
7019 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7020 $as_echo_n "(cached
) " >&6
7022 if test -n "$ac_ct_MANIFEST_TOOL"; then
7023 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7029 test -z "$as_dir" && as_dir=.
7030 for ac_exec_ext in '' $ac_executable_extensions; do
7031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7032 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
7033 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7042 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7043 if test -n "$ac_ct_MANIFEST_TOOL"; then
7044 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
7045 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7048 $as_echo "no
" >&6; }
7051 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
7054 case $cross_compiling:$ac_tool_warned in
7056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7057 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7058 ac_tool_warned=yes ;;
7060 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7063 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7066 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
7068 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
7069 if ${lt_cv_path_mainfest_tool+:} false; then :
7070 $as_echo_n "(cached
) " >&6
7072 lt_cv_path_mainfest_tool=no
7073 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7074 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7075 cat conftest.err >&5
7076 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7077 lt_cv_path_mainfest_tool=yes
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
7082 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7083 if test "x
$lt_cv_path_mainfest_tool" != xyes; then
7093 rhapsody* | darwin*)
7094 if test -n "$ac_tool_prefix"; then
7095 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7096 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7098 $as_echo_n "checking
for $ac_word...
" >&6; }
7099 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7100 $as_echo_n "(cached
) " >&6
7102 if test -n "$DSYMUTIL"; then
7103 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7109 test -z "$as_dir" && as_dir=.
7110 for ac_exec_ext in '' $ac_executable_extensions; do
7111 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7112 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7113 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7122 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7123 if test -n "$DSYMUTIL"; then
7124 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7125 $as_echo "$DSYMUTIL" >&6; }
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7128 $as_echo "no
" >&6; }
7133 if test -z "$ac_cv_prog_DSYMUTIL"; then
7134 ac_ct_DSYMUTIL=$DSYMUTIL
7135 # Extract the first word of "dsymutil
", so it can be a program name with args.
7136 set dummy dsymutil; ac_word=$2
7137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7138 $as_echo_n "checking
for $ac_word...
" >&6; }
7139 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7140 $as_echo_n "(cached
) " >&6
7142 if test -n "$ac_ct_DSYMUTIL"; then
7143 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7149 test -z "$as_dir" && as_dir=.
7150 for ac_exec_ext in '' $ac_executable_extensions; do
7151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7152 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7153 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7162 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7163 if test -n "$ac_ct_DSYMUTIL"; then
7164 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7165 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7168 $as_echo "no
" >&6; }
7171 if test "x
$ac_ct_DSYMUTIL" = x; then
7174 case $cross_compiling:$ac_tool_warned in
7176 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7177 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7178 ac_tool_warned=yes ;;
7180 DSYMUTIL=$ac_ct_DSYMUTIL
7183 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7186 if test -n "$ac_tool_prefix"; then
7187 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7188 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7190 $as_echo_n "checking
for $ac_word...
" >&6; }
7191 if ${ac_cv_prog_NMEDIT+:} false; then :
7192 $as_echo_n "(cached
) " >&6
7194 if test -n "$NMEDIT"; then
7195 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7201 test -z "$as_dir" && as_dir=.
7202 for ac_exec_ext in '' $ac_executable_extensions; do
7203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7204 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7205 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7214 NMEDIT=$ac_cv_prog_NMEDIT
7215 if test -n "$NMEDIT"; then
7216 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7217 $as_echo "$NMEDIT" >&6; }
7219 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7220 $as_echo "no
" >&6; }
7225 if test -z "$ac_cv_prog_NMEDIT"; then
7226 ac_ct_NMEDIT=$NMEDIT
7227 # Extract the first word of "nmedit
", so it can be a program name with args.
7228 set dummy nmedit; ac_word=$2
7229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7230 $as_echo_n "checking
for $ac_word...
" >&6; }
7231 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7232 $as_echo_n "(cached
) " >&6
7234 if test -n "$ac_ct_NMEDIT"; then
7235 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7241 test -z "$as_dir" && as_dir=.
7242 for ac_exec_ext in '' $ac_executable_extensions; do
7243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7244 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7245 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7254 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7255 if test -n "$ac_ct_NMEDIT"; then
7256 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7257 $as_echo "$ac_ct_NMEDIT" >&6; }
7259 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7260 $as_echo "no
" >&6; }
7263 if test "x
$ac_ct_NMEDIT" = x; then
7266 case $cross_compiling:$ac_tool_warned in
7268 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7269 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7270 ac_tool_warned=yes ;;
7272 NMEDIT=$ac_ct_NMEDIT
7275 NMEDIT="$ac_cv_prog_NMEDIT"
7278 if test -n "$ac_tool_prefix"; then
7279 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7280 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7282 $as_echo_n "checking
for $ac_word...
" >&6; }
7283 if ${ac_cv_prog_LIPO+:} false; then :
7284 $as_echo_n "(cached
) " >&6
7286 if test -n "$LIPO"; then
7287 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7293 test -z "$as_dir" && as_dir=.
7294 for ac_exec_ext in '' $ac_executable_extensions; do
7295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7296 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7297 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7306 LIPO=$ac_cv_prog_LIPO
7307 if test -n "$LIPO"; then
7308 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7309 $as_echo "$LIPO" >&6; }
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7312 $as_echo "no
" >&6; }
7317 if test -z "$ac_cv_prog_LIPO"; then
7319 # Extract the first word of "lipo
", so it can be a program name with args.
7320 set dummy lipo; ac_word=$2
7321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7322 $as_echo_n "checking
for $ac_word...
" >&6; }
7323 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7324 $as_echo_n "(cached
) " >&6
7326 if test -n "$ac_ct_LIPO"; then
7327 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7333 test -z "$as_dir" && as_dir=.
7334 for ac_exec_ext in '' $ac_executable_extensions; do
7335 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7336 ac_cv_prog_ac_ct_LIPO="lipo
"
7337 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7346 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7347 if test -n "$ac_ct_LIPO"; then
7348 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7349 $as_echo "$ac_ct_LIPO" >&6; }
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7352 $as_echo "no
" >&6; }
7355 if test "x
$ac_ct_LIPO" = x; then
7358 case $cross_compiling:$ac_tool_warned in
7360 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7361 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7362 ac_tool_warned=yes ;;
7367 LIPO="$ac_cv_prog_LIPO"
7370 if test -n "$ac_tool_prefix"; then
7371 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7372 set dummy ${ac_tool_prefix}otool; ac_word=$2
7373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7374 $as_echo_n "checking
for $ac_word...
" >&6; }
7375 if ${ac_cv_prog_OTOOL+:} false; then :
7376 $as_echo_n "(cached
) " >&6
7378 if test -n "$OTOOL"; then
7379 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7385 test -z "$as_dir" && as_dir=.
7386 for ac_exec_ext in '' $ac_executable_extensions; do
7387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7388 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7389 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7398 OTOOL=$ac_cv_prog_OTOOL
7399 if test -n "$OTOOL"; then
7400 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7401 $as_echo "$OTOOL" >&6; }
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7404 $as_echo "no
" >&6; }
7409 if test -z "$ac_cv_prog_OTOOL"; then
7411 # Extract the first word of "otool
", so it can be a program name with args.
7412 set dummy otool; ac_word=$2
7413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7414 $as_echo_n "checking
for $ac_word...
" >&6; }
7415 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7416 $as_echo_n "(cached
) " >&6
7418 if test -n "$ac_ct_OTOOL"; then
7419 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7425 test -z "$as_dir" && as_dir=.
7426 for ac_exec_ext in '' $ac_executable_extensions; do
7427 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7428 ac_cv_prog_ac_ct_OTOOL="otool
"
7429 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7438 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7439 if test -n "$ac_ct_OTOOL"; then
7440 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7441 $as_echo "$ac_ct_OTOOL" >&6; }
7443 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7444 $as_echo "no
" >&6; }
7447 if test "x
$ac_ct_OTOOL" = x; then
7450 case $cross_compiling:$ac_tool_warned in
7452 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7453 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7454 ac_tool_warned=yes ;;
7459 OTOOL="$ac_cv_prog_OTOOL"
7462 if test -n "$ac_tool_prefix"; then
7463 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7464 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7466 $as_echo_n "checking
for $ac_word...
" >&6; }
7467 if ${ac_cv_prog_OTOOL64+:} false; then :
7468 $as_echo_n "(cached
) " >&6
7470 if test -n "$OTOOL64"; then
7471 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7477 test -z "$as_dir" && as_dir=.
7478 for ac_exec_ext in '' $ac_executable_extensions; do
7479 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7480 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7481 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7490 OTOOL64=$ac_cv_prog_OTOOL64
7491 if test -n "$OTOOL64"; then
7492 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7493 $as_echo "$OTOOL64" >&6; }
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7496 $as_echo "no
" >&6; }
7501 if test -z "$ac_cv_prog_OTOOL64"; then
7502 ac_ct_OTOOL64=$OTOOL64
7503 # Extract the first word of "otool64
", so it can be a program name with args.
7504 set dummy otool64; ac_word=$2
7505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7506 $as_echo_n "checking
for $ac_word...
" >&6; }
7507 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7508 $as_echo_n "(cached
) " >&6
7510 if test -n "$ac_ct_OTOOL64"; then
7511 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7517 test -z "$as_dir" && as_dir=.
7518 for ac_exec_ext in '' $ac_executable_extensions; do
7519 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7520 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7521 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7530 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7531 if test -n "$ac_ct_OTOOL64"; then
7532 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7533 $as_echo "$ac_ct_OTOOL64" >&6; }
7535 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7536 $as_echo "no
" >&6; }
7539 if test "x
$ac_ct_OTOOL64" = x; then
7542 case $cross_compiling:$ac_tool_warned in
7544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7545 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7546 ac_tool_warned=yes ;;
7548 OTOOL64=$ac_ct_OTOOL64
7551 OTOOL64="$ac_cv_prog_OTOOL64"
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7581 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7582 if ${lt_cv_apple_cc_single_mod+:} false; then :
7583 $as_echo_n "(cached
) " >&6
7585 lt_cv_apple_cc_single_mod=no
7586 if test -z "${LT_MULTI_MODULE}"; then
7587 # By default we will add the -single_module flag. You can override
7588 # by either setting the environment variable LT_MULTI_MODULE
7589 # non-empty at configure time, or by adding -multi_module to the
7591 rm -rf libconftest.dylib*
7592 echo "int foo
(void
){return 1;}" > conftest.c
7593 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7594 -dynamiclib -Wl,-single_module conftest.c
" >&5
7595 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7596 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7598 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7599 lt_cv_apple_cc_single_mod=yes
7601 cat conftest.err >&5
7603 rm -rf libconftest.dylib*
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7608 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7610 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7611 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7612 $as_echo_n "(cached
) " >&6
7614 lt_cv_ld_exported_symbols_list=no
7615 save_LDFLAGS=$LDFLAGS
7616 echo "_main
" > conftest.sym
7617 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7619 /* end confdefs.h. */
7629 if ac_fn_c_try_link "$LINENO"; then :
7630 lt_cv_ld_exported_symbols_list=yes
7632 lt_cv_ld_exported_symbols_list=no
7634 rm -f core conftest.err conftest.$ac_objext \
7635 conftest$ac_exeext conftest.$ac_ext
7636 LDFLAGS="$save_LDFLAGS"
7639 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7640 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7642 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7643 if ${lt_cv_ld_force_load+:} false; then :
7644 $as_echo_n "(cached
) " >&6
7646 lt_cv_ld_force_load=no
7647 cat > conftest.c << _LT_EOF
7648 int forced_loaded() { return 2;}
7650 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7651 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7652 echo "$AR cru libconftest.a conftest.o
" >&5
7653 $AR cru libconftest.a conftest.o 2>&5
7654 echo "$RANLIB libconftest.a
" >&5
7655 $RANLIB libconftest.a 2>&5
7656 cat > conftest.c << _LT_EOF
7657 int main() { return 0;}
7659 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7660 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7662 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7663 lt_cv_ld_force_load=yes
7665 cat conftest.err >&5
7667 rm -f conftest.err libconftest.a conftest conftest.c
7668 rm -rf conftest.dSYM
7671 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7672 $as_echo "$lt_cv_ld_force_load" >&6; }
7674 rhapsody* | darwin1.[012])
7675 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7677 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7678 darwin*) # darwin 5.x on
7679 # if running on 10.5 or later, the deployment target defaults
7680 # to the OS version, if on x86, and 10.4, the deployment
7681 # target defaults to 10.4. Don't you love it?
7682 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7683 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7684 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7686 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7688 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7692 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7693 _lt_dar_single_mod='$single_module'
7695 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7696 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7698 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7700 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7701 _lt_dsymutil='~$DSYMUTIL $lib || :'
7708 for ac_header in dlfcn.h
7710 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
7712 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
7713 cat >>confdefs.h <<_ACEOF
7714 #define HAVE_DLFCN_H 1
7735 # Check whether --enable-shared was given.
7736 if test "${enable_shared+set}" = set; then :
7737 enableval=$enable_shared; p=${PACKAGE-default}
7739 yes) enable_shared=yes ;;
7740 no) enable_shared=no ;;
7743 # Look at the argument we got. We use all the common list separators.
7744 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7745 for pkg in $enableval; do
7747 if test "X
$pkg" = "X
$p"; then
7766 # Check whether --enable-static was given.
7767 if test "${enable_static+set}" = set; then :
7768 enableval=$enable_static; p=${PACKAGE-default}
7770 yes) enable_static=yes ;;
7771 no) enable_static=no ;;
7774 # Look at the argument we got. We use all the common list separators.
7775 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7776 for pkg in $enableval; do
7778 if test "X
$pkg" = "X
$p"; then
7798 # Check whether --with-pic was given.
7799 if test "${with_pic+set}" = set; then :
7800 withval=$with_pic; pic_mode="$withval"
7806 test -z "$pic_mode" && pic_mode=default
7814 # Check whether --enable-fast-install was given.
7815 if test "${enable_fast_install+set}" = set; then :
7816 enableval=$enable_fast_install; p=${PACKAGE-default}
7818 yes) enable_fast_install=yes ;;
7819 no) enable_fast_install=no ;;
7821 enable_fast_install=no
7822 # Look at the argument we got. We use all the common list separators.
7823 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7824 for pkg in $enableval; do
7826 if test "X
$pkg" = "X
$p"; then
7827 enable_fast_install=yes
7834 enable_fast_install=yes
7847 # This can be used to rebuild libtool when needed
7848 LIBTOOL_DEPS="$ltmain"
7850 # Always use our own libtool.
7851 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7878 test -z "$LN_S" && LN_S="ln -s"
7893 if test -n "${ZSH_VERSION+set}" ; then
7894 setopt NO_GLOB_SUBST
7897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
7898 $as_echo_n "checking
for objdir...
" >&6; }
7899 if ${lt_cv_objdir+:} false; then :
7900 $as_echo_n "(cached
) " >&6
7902 rm -f .libs 2>/dev/null
7903 mkdir .libs 2>/dev/null
7904 if test -d .libs; then
7907 # MS-DOS does not allow filenames that begin with a dot.
7910 rmdir .libs 2>/dev/null
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
7913 $as_echo "$lt_cv_objdir" >&6; }
7914 objdir=$lt_cv_objdir
7920 cat >>confdefs.h <<_ACEOF
7921 #define LT_OBJDIR "$lt_cv_objdir/"
7929 # AIX sometimes has problems with the GCC collect2 program. For some
7930 # reason, if we set the COLLECT_NAMES environment variable, the problems
7931 # vanish in a puff of smoke.
7932 if test "X
${COLLECT_NAMES+set}" != Xset; then
7934 export COLLECT_NAMES
7941 can_build_shared=yes
7943 # All known linkers require a `.a' archive for static linking (except MSVC,
7944 # which needs '.lib').
7947 with_gnu_ld="$lt_cv_prog_gnu_ld"
7950 old_CFLAGS="$CFLAGS"
7952 # Set sane defaults for various variables
7953 test -z "$CC" && CC=cc
7954 test -z "$LTCC" && LTCC=$CC
7955 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7956 test -z "$LD" && LD=ld
7957 test -z "$ac_objext" && ac_objext=o
7959 for cc_temp in $compiler""; do
7961 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7962 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7967 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
7970 # Only perform the check for file, if the check method requires it
7971 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7972 case $deplibs_check_method in
7974 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
7976 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
7977 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7978 $as_echo_n "(cached
) " >&6
7982 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7985 lt_save_MAGIC_CMD="$MAGIC_CMD"
7986 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7987 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
7988 for ac_dir in $ac_dummy; do
7990 test -z "$ac_dir" && ac_dir=.
7991 if test -f $ac_dir/${ac_tool_prefix}file; then
7992 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7993 if test -n "$file_magic_test_file"; then
7994 case $deplibs_check_method in
7996 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
7997 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7998 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7999 $EGREP "$file_magic_regex" > /dev/null; then
8004 *** Warning: the command libtool uses to detect shared libraries,
8005 *** $file_magic_cmd, produces output that libtool cannot recognize.
8006 *** The result is that libtool may fail to recognize shared libraries
8007 *** as such. This will affect the creation of libtool libraries that
8008 *** depend on shared libraries, but programs linked with such libtool
8009 *** libraries will work regardless of this problem. Nevertheless, you
8010 *** may want to report the problem to your system manager and/or to
8011 *** bug-libtool@gnu.org
8021 MAGIC_CMD="$lt_save_MAGIC_CMD"
8026 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8027 if test -n "$MAGIC_CMD"; then
8028 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8029 $as_echo "$MAGIC_CMD" >&6; }
8031 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8032 $as_echo "no
" >&6; }
8039 if test -z "$lt_cv_path_MAGIC_CMD"; then
8040 if test -n "$ac_tool_prefix"; then
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
8042 $as_echo_n "checking
for file...
" >&6; }
8043 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8044 $as_echo_n "(cached
) " >&6
8048 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8051 lt_save_MAGIC_CMD="$MAGIC_CMD"
8052 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8053 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8054 for ac_dir in $ac_dummy; do
8056 test -z "$ac_dir" && ac_dir=.
8057 if test -f $ac_dir/file; then
8058 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8059 if test -n "$file_magic_test_file"; then
8060 case $deplibs_check_method in
8062 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8063 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8064 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8065 $EGREP "$file_magic_regex" > /dev/null; then
8070 *** Warning: the command libtool uses to detect shared libraries,
8071 *** $file_magic_cmd, produces output that libtool cannot recognize.
8072 *** The result is that libtool may fail to recognize shared libraries
8073 *** as such. This will affect the creation of libtool libraries that
8074 *** depend on shared libraries, but programs linked with such libtool
8075 *** libraries will work regardless of this problem. Nevertheless, you
8076 *** may want to report the problem to your system manager and/or to
8077 *** bug-libtool@gnu.org
8087 MAGIC_CMD="$lt_save_MAGIC_CMD"
8092 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8093 if test -n "$MAGIC_CMD"; then
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8095 $as_echo "$MAGIC_CMD" >&6; }
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8098 $as_echo "no
" >&6; }
8111 # Use C for the default configuration in the libtool script
8115 ac_cpp='$CPP $CPPFLAGS'
8116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8121 # Source file extension for C test sources.
8124 # Object file extension for compiled C test sources.
8128 # Code to be used in simple compile tests
8129 lt_simple_compile_test_code="int some_variable
= 0;"
8131 # Code to be used in simple link tests
8132 lt_simple_link_test_code='int main(){return(0);}'
8140 # If no C compiler was specified, use CC.
8143 # If no C compiler flags were specified, use CFLAGS.
8144 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8146 # Allow CC to be a program name with arguments.
8149 # Save the default compiler, since it gets overwritten when the other
8150 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8151 compiler_DEFAULT=$CC
8153 # save warnings/boilerplate of simple test code
8154 ac_outfile=conftest.$ac_objext
8155 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8156 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8157 _lt_compiler_boilerplate=`cat conftest.err`
8160 ac_outfile=conftest.$ac_objext
8161 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8162 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8163 _lt_linker_boilerplate=`cat conftest.err`
8168 ## There is no encapsulation within the following macros, do not change
8169 ## the running order or otherwise move them around unless you know exactly
8170 ## what you are doing...
8171 if test -n "$compiler"; then
8173 lt_prog_compiler_no_builtin_flag=
8175 if test "$GCC" = yes; then
8176 case $cc_basename in
8178 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8180 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
8184 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
8185 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8186 $as_echo_n "(cached
) " >&6
8188 lt_cv_prog_compiler_rtti_exceptions=no
8189 ac_outfile=conftest.$ac_objext
8190 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8191 lt_compiler_flag="-fno-rtti -fno-exceptions"
8192 # Insert the option either (1) after the last *FLAGS variable, or
8193 # (2) before a word containing "conftest.
", or (3) at the end.
8194 # Note that $ac_compile itself does not contain backslashes and begins
8195 # with a dollar sign (not a hyphen), so the echo should work correctly.
8196 # The option is referenced via a variable to avoid confusing sed.
8197 lt_compile=`echo "$ac_compile" | $SED \
8198 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8199 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8200 -e 's:$: $lt_compiler_flag:'`
8201 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8202 (eval "$lt_compile" 2>conftest.err)
8204 cat conftest.err >&5
8205 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8206 if (exit $ac_status) && test -s "$ac_outfile"; then
8207 # The compiler can only warn and ignore the option if not recognized
8208 # So say no if there are warnings other than the usual output.
8209 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8210 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8211 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8212 lt_cv_prog_compiler_rtti_exceptions=yes
8218 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
8219 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8221 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8222 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8234 lt_prog_compiler_wl=
8235 lt_prog_compiler_pic=
8236 lt_prog_compiler_static=
8239 if test "$GCC" = yes; then
8240 lt_prog_compiler_wl='-Wl,'
8241 lt_prog_compiler_static='-static'
8245 # All AIX code is PIC.
8246 if test "$host_cpu" = ia64; then
8247 # AIX 5 now supports IA64 processor
8248 lt_prog_compiler_static='-Bstatic'
8255 # see comment about AmigaOS4 .so support
8256 lt_prog_compiler_pic='-fPIC'
8259 # FIXME: we need at least 68020 code to build shared libraries, but
8260 # adding the `-m68020' flag to GCC prevents building anything better,
8262 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8267 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8268 # PIC is the default for these OSes.
8271 mingw* | cygwin* | pw32* | os2* | cegcc*)
8272 # This hack is so that the source file can tell whether it is being
8273 # built for inclusion in a dll (and should export symbols for example).
8274 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8275 # (--disable-auto-import) libraries
8276 lt_prog_compiler_pic='-DDLL_EXPORT'
8279 darwin* | rhapsody*)
8280 # PIC is the default on this platform
8281 # Common symbols not allowed in MH_DYLIB files
8282 lt_prog_compiler_pic='-fno-common'
8286 # PIC is the default for Haiku.
8287 # The "-static" flag exists, but is broken.
8288 lt_prog_compiler_static=
8292 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8293 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8294 # sets the default TLS model and affects inlining.
8300 lt_prog_compiler_pic='-fPIC'
8306 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8307 # Instead, we relocate shared libraries at runtime.
8311 # Just because we use GCC doesn't mean we suddenly get shared libraries
8312 # on systems that don't support them.
8313 lt_prog_compiler_can_build_shared=no
8318 # QNX uses GNU C++, but need to define -shared option too, otherwise
8320 lt_prog_compiler_pic='-fPIC -shared'
8324 if test -d /usr/nec; then
8325 lt_prog_compiler_pic=-Kconform_pic
8330 lt_prog_compiler_pic='-fPIC'
8334 case $cc_basename in
8335 nvcc*) # Cuda Compiler Driver 2.2
8336 lt_prog_compiler_wl='-Xlinker '
8337 lt_prog_compiler_pic='-Xcompiler -fPIC'
8341 # PORTME Check for flag to pass linker flags through the system compiler.
8344 lt_prog_compiler_wl='-Wl,'
8345 if test "$host_cpu" = ia64; then
8346 # AIX 5 now supports IA64 processor
8347 lt_prog_compiler_static='-Bstatic'
8349 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8353 mingw* | cygwin* | pw32* | os2* | cegcc*)
8354 # This hack is so that the source file can tell whether it is being
8355 # built for inclusion in a dll (and should export symbols for example).
8356 lt_prog_compiler_pic='-DDLL_EXPORT'
8359 hpux9* | hpux10* | hpux11*)
8360 lt_prog_compiler_wl='-Wl,'
8361 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8368 lt_prog_compiler_pic='+Z'
8371 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8372 lt_prog_compiler_static='${wl}-a ${wl}archive'
8375 irix5* | irix6* | nonstopux*)
8376 lt_prog_compiler_wl='-Wl,'
8377 # PIC (with -KPIC) is the default.
8378 lt_prog_compiler_static='-non_shared'
8381 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8382 case $cc_basename in
8383 # old Intel for x86_64 which still supported -KPIC.
8385 lt_prog_compiler_wl='-Wl,'
8386 lt_prog_compiler_pic='-KPIC'
8387 lt_prog_compiler_static='-static'
8389 # icc used to be incompatible with GCC.
8390 # ICC 10 doesn't accept -KPIC any more.
8392 lt_prog_compiler_wl='-Wl,'
8393 lt_prog_compiler_pic='-fPIC'
8394 lt_prog_compiler_static='-static'
8396 # Lahey Fortran 8.1.
8398 lt_prog_compiler_wl='-Wl,'
8399 lt_prog_compiler_pic='--shared'
8400 lt_prog_compiler_static='--static'
8403 # NAG Fortran compiler
8404 lt_prog_compiler_wl='-Wl,-Wl,,'
8405 lt_prog_compiler_pic='-PIC'
8406 lt_prog_compiler_static='-Bstatic'
8408 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8409 # Portland Group compilers (*not* the Pentium gcc compiler,
8410 # which looks to be a dead project)
8411 lt_prog_compiler_wl='-Wl,'
8412 lt_prog_compiler_pic='-fpic'
8413 lt_prog_compiler_static='-Bstatic'
8416 lt_prog_compiler_wl='-Wl,'
8417 # All Alpha code is PIC.
8418 lt_prog_compiler_static='-non_shared'
8420 xl* | bgxl* | bgf* | mpixl*)
8421 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8422 lt_prog_compiler_wl='-Wl,'
8423 lt_prog_compiler_pic='-qpic'
8424 lt_prog_compiler_static='-qstaticlink'
8427 case `$CC -V 2>&1 | sed 5q` in
8428 *Sun\ F* | *Sun*Fortran*)
8429 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8430 lt_prog_compiler_pic='-KPIC'
8431 lt_prog_compiler_static='-Bstatic'
8432 lt_prog_compiler_wl=''
8436 lt_prog_compiler_pic='-KPIC'
8437 lt_prog_compiler_static='-Bstatic'
8438 lt_prog_compiler_wl='-Wl,'
8446 lt_prog_compiler_pic='-KPIC'
8447 lt_prog_compiler_static='-Bstatic'
8451 # QNX uses GNU C++, but need to define -shared option too, otherwise
8453 lt_prog_compiler_pic='-fPIC -shared'
8456 osf3* | osf4* | osf5*)
8457 lt_prog_compiler_wl='-Wl,'
8458 # All OSF/1 code is PIC.
8459 lt_prog_compiler_static='-non_shared'
8463 lt_prog_compiler_static='-non_shared'
8467 lt_prog_compiler_pic='-KPIC'
8468 lt_prog_compiler_static='-Bstatic'
8469 case $cc_basename in
8470 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8471 lt_prog_compiler_wl='-Qoption ld ';;
8473 lt_prog_compiler_wl='-Wl,';;
8478 lt_prog_compiler_wl='-Qoption ld '
8479 lt_prog_compiler_pic='-PIC'
8480 lt_prog_compiler_static='-Bstatic'
8483 sysv4 | sysv4.2uw2* | sysv4.3*)
8484 lt_prog_compiler_wl='-Wl,'
8485 lt_prog_compiler_pic='-KPIC'
8486 lt_prog_compiler_static='-Bstatic'
8490 if test -d /usr/nec ;then
8491 lt_prog_compiler_pic='-Kconform_pic'
8492 lt_prog_compiler_static='-Bstatic'
8496 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8497 lt_prog_compiler_wl='-Wl,'
8498 lt_prog_compiler_pic='-KPIC'
8499 lt_prog_compiler_static='-Bstatic'
8503 lt_prog_compiler_wl='-Wl,'
8504 lt_prog_compiler_can_build_shared=no
8508 lt_prog_compiler_pic='-pic'
8509 lt_prog_compiler_static='-Bstatic'
8513 lt_prog_compiler_can_build_shared=no
8519 # For platforms which do not support PIC, -DPIC is meaningless:
8521 lt_prog_compiler_pic=
8524 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
8529 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
8530 if ${lt_cv_prog_compiler_pic+:} false; then :
8531 $as_echo_n "(cached
) " >&6
8533 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8535 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic" >&5
8536 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8537 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8540 # Check to make sure the PIC flag actually works.
8542 if test -n "$lt_prog_compiler_pic"; then
8543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
8544 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
8545 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8546 $as_echo_n "(cached
) " >&6
8548 lt_cv_prog_compiler_pic_works=no
8549 ac_outfile=conftest.$ac_objext
8550 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8551 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8552 # Insert the option either (1) after the last *FLAGS variable, or
8553 # (2) before a word containing "conftest.
", or (3) at the end.
8554 # Note that $ac_compile itself does not contain backslashes and begins
8555 # with a dollar sign (not a hyphen), so the echo should work correctly.
8556 # The option is referenced via a variable to avoid confusing sed.
8557 lt_compile=`echo "$ac_compile" | $SED \
8558 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8559 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8560 -e 's:$: $lt_compiler_flag:'`
8561 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8562 (eval "$lt_compile" 2>conftest.err)
8564 cat conftest.err >&5
8565 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8566 if (exit $ac_status) && test -s "$ac_outfile"; then
8567 # The compiler can only warn and ignore the option if not recognized
8568 # So say no if there are warnings other than the usual output.
8569 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8570 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8571 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8572 lt_cv_prog_compiler_pic_works=yes
8578 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
8579 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8581 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8582 case $lt_prog_compiler_pic in
8584 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8587 lt_prog_compiler_pic=
8588 lt_prog_compiler_can_build_shared=no
8604 # Check to make sure the static flag actually works.
8606 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
8608 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
8609 if ${lt_cv_prog_compiler_static_works+:} false; then :
8610 $as_echo_n "(cached
) " >&6
8612 lt_cv_prog_compiler_static_works=no
8613 save_LDFLAGS="$LDFLAGS"
8614 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8615 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8616 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8617 # The linker can only warn and ignore the option if not recognized
8618 # So say no if there are warnings
8619 if test -s conftest.err; then
8620 # Append any errors to the config.log.
8621 cat conftest.err 1>&5
8622 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8623 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8624 if diff conftest.exp conftest.er2 >/dev/null; then
8625 lt_cv_prog_compiler_static_works=yes
8628 lt_cv_prog_compiler_static_works=yes
8632 LDFLAGS="$save_LDFLAGS"
8635 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
8636 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8638 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8641 lt_prog_compiler_static=
8650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
8651 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
8652 if ${lt_cv_prog_compiler_c_o+:} false; then :
8653 $as_echo_n "(cached
) " >&6
8655 lt_cv_prog_compiler_c_o=no
8656 $RM -r conftest 2>/dev/null
8660 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8662 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8663 # Insert the option either (1) after the last *FLAGS variable, or
8664 # (2) before a word containing "conftest.
", or (3) at the end.
8665 # Note that $ac_compile itself does not contain backslashes and begins
8666 # with a dollar sign (not a hyphen), so the echo should work correctly.
8667 lt_compile=`echo "$ac_compile" | $SED \
8668 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8669 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8670 -e 's:$: $lt_compiler_flag:'`
8671 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8672 (eval "$lt_compile" 2>out/conftest.err)
8674 cat out/conftest.err >&5
8675 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8676 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8678 # The compiler can only warn and ignore the option if not recognized
8679 # So say no if there are warnings
8680 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8681 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8682 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8683 lt_cv_prog_compiler_c_o=yes
8688 # SGI C++ compiler will create directory out/ii_files/ for
8689 # template instantiation
8690 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8691 $RM out/* && rmdir out
8697 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8698 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
8706 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
8707 if ${lt_cv_prog_compiler_c_o+:} false; then :
8708 $as_echo_n "(cached
) " >&6
8710 lt_cv_prog_compiler_c_o=no
8711 $RM -r conftest 2>/dev/null
8715 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8717 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8718 # Insert the option either (1) after the last *FLAGS variable, or
8719 # (2) before a word containing "conftest.
", or (3) at the end.
8720 # Note that $ac_compile itself does not contain backslashes and begins
8721 # with a dollar sign (not a hyphen), so the echo should work correctly.
8722 lt_compile=`echo "$ac_compile" | $SED \
8723 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8724 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8725 -e 's:$: $lt_compiler_flag:'`
8726 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8727 (eval "$lt_compile" 2>out/conftest.err)
8729 cat out/conftest.err >&5
8730 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8731 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8733 # The compiler can only warn and ignore the option if not recognized
8734 # So say no if there are warnings
8735 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8736 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8737 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8738 lt_cv_prog_compiler_c_o=yes
8743 # SGI C++ compiler will create directory out/ii_files/ for
8744 # template instantiation
8745 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8746 $RM out/* && rmdir out
8752 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8753 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8758 hard_links="nottested
"
8759 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8760 # do not overwrite the value of need_locks provided by the user
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
8762 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
8765 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8767 ln conftest.a conftest.b 2>&5 || hard_links=no
8768 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8769 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
8770 $as_echo "$hard_links" >&6; }
8771 if test "$hard_links" = no; then
8772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
8773 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
8786 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
8789 allow_undefined_flag=
8790 always_export_symbols=no
8792 archive_expsym_cmds=
8793 compiler_needs_object=no
8794 enable_shared_with_static_runtimes=no
8795 export_dynamic_flag_spec=
8796 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8797 hardcode_automatic=no
8799 hardcode_direct_absolute=no
8800 hardcode_libdir_flag_spec=
8801 hardcode_libdir_flag_spec_ld=
8802 hardcode_libdir_separator=
8804 hardcode_shlibpath_var=unsupported
8806 link_all_deplibs=unknown
8809 old_archive_from_new_cmds=
8810 old_archive_from_expsyms_cmds=
8811 thread_safe_flag_spec=
8812 whole_archive_flag_spec=
8813 # include_expsyms should be a list of space-separated symbols to be *always*
8814 # included in the symbol list
8816 # exclude_expsyms can be an extended regexp of symbols to exclude
8817 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8818 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8819 # as well as any symbol that contains `d'.
8820 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8821 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8822 # platforms (ab)use it in PIC code, but their linkers get confused if
8823 # the symbol is explicitly referenced. Since portable code cannot
8824 # rely on this symbol name, it's probably fine to never include it in
8825 # preloaded symbol tables.
8826 # Exclude shared library initialization/finalization symbols.
8827 extract_expsyms_cmds=
8830 cygwin* | mingw* | pw32* | cegcc*)
8831 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8832 # When not using gcc, we currently assume that we are using
8833 # Microsoft Visual C++.
8834 if test "$GCC" != yes; then
8839 # we just hope/assume this is gcc and not c89 (= MSVC++)
8849 # On some targets, GNU ld is compatible enough with the native linker
8850 # that we're better off using the native interface for both.
8851 lt_use_gnu_ld_interface=no
8852 if test "$with_gnu_ld" = yes; then
8855 # The AIX port of GNU ld has always aspired to compatibility
8856 # with the native linker. However, as the warning in the GNU ld
8857 # block says, versions before 2.19.5* couldn't really create working
8858 # shared libraries, regardless of the interface used.
8859 case `$LD -v 2>&1` in
8860 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8861 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8862 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8864 lt_use_gnu_ld_interface=yes
8869 lt_use_gnu_ld_interface=yes
8874 if test "$lt_use_gnu_ld_interface" = yes; then
8875 # If archive_cmds runs LD, not CC, wlarc should be empty
8878 # Set some defaults for GNU ld with shared library support. These
8879 # are reset later if shared libraries are not supported. Putting them
8880 # here allows them to be overridden if necessary.
8881 runpath_var=LD_RUN_PATH
8882 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8883 export_dynamic_flag_spec='${wl}--export-dynamic'
8884 # ancient GNU ld didn't support --whole-archive et. al.
8885 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8886 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8888 whole_archive_flag_spec=
8890 supports_anon_versioning=no
8891 case `$LD -v 2>&1` in
8892 *GNU\ gold*) supports_anon_versioning=yes ;;
8893 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8894 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8895 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8896 *\ 2.11.*) ;; # other 2.11 versions
8897 *) supports_anon_versioning=yes ;;
8900 # See if GNU ld supports shared libraries.
8903 # On AIX/PPC, the GNU linker is very broken
8904 if test "$host_cpu" != ia64; then
8908 *** Warning: the GNU linker, at least up to release 2.19, is reported
8909 *** to be unable to reliably create shared libraries on AIX.
8910 *** Therefore, libtool is disabling shared libraries support. If you
8911 *** really care for shared libraries, you may want to install binutils
8912 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8913 *** You will then need to restart the configuration process.
8922 # see comment about AmigaOS4 .so support
8923 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8924 archive_expsym_cmds=''
8927 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)'
8928 hardcode_libdir_flag_spec
='-L$libdir'
8929 hardcode_minus_L
=yes
8935 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8936 allow_undefined_flag
=unsupported
8937 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8938 # support --undefined. This deserves some investigation. FIXME
8939 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8945 cygwin
* | mingw
* | pw32
* | cegcc
*)
8946 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8947 # as there is no search path for DLLs.
8948 hardcode_libdir_flag_spec
='-L$libdir'
8949 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8950 allow_undefined_flag
=unsupported
8951 always_export_symbols
=no
8952 enable_shared_with_static_runtimes
=yes
8953 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'
8954 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8956 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8957 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8958 # If the export-symbols file already is a .def file (1st line
8959 # is EXPORTS), use it as is; otherwise, prepend...
8960 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8961 cp $export_symbols $output_objdir/$soname.def;
8963 echo EXPORTS > $output_objdir/$soname.def;
8964 cat $export_symbols >> $output_objdir/$soname.def;
8966 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8973 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8974 link_all_deplibs
=yes
8979 hardcode_shlibpath_var
=no
8980 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8981 export_dynamic_flag_spec
='${wl}-E'
8982 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8983 # Instead, shared libraries are loaded at an image base (0x10000000 by
8984 # default) and relocated if they conflict, which is a slow very memory
8985 # consuming and fragmenting process. To avoid this, we pick a random,
8986 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8987 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8988 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8989 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'
8992 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8994 if test "$host_os" = linux-dietlibc
; then
8995 case $cc_basename in
8996 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8999 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9000 && test "$tmp_diet" = no
9002 tmp_addflag
=' $pic_flag'
9003 tmp_sharedflag
='-shared'
9004 case $cc_basename,$host_cpu in
9005 pgcc
*) # Portland Group C compiler
9006 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'
9007 tmp_addflag
=' $pic_flag'
9009 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9010 # Portland Group f77 and f90 compilers
9011 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'
9012 tmp_addflag
=' $pic_flag -Mnomain' ;;
9013 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9014 tmp_addflag
=' -i_dynamic' ;;
9015 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9016 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9017 ifc
* | ifort
*) # Intel Fortran compiler
9018 tmp_addflag
=' -nofor_main' ;;
9019 lf95
*) # Lahey Fortran 8.1
9020 whole_archive_flag_spec
=
9021 tmp_sharedflag
='--shared' ;;
9022 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9023 tmp_sharedflag
='-qmkshrobj'
9025 nvcc
*) # Cuda Compiler Driver 2.2
9026 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'
9027 compiler_needs_object
=yes
9030 case `$CC -V 2>&1 | sed 5q` in
9031 *Sun\ C
*) # Sun C 5.9
9032 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'
9033 compiler_needs_object
=yes
9034 tmp_sharedflag
='-G' ;;
9035 *Sun\ F
*) # Sun Fortran 8.3
9036 tmp_sharedflag
='-G' ;;
9038 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9040 if test "x$supports_anon_versioning" = xyes
; then
9041 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9042 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9043 echo "local: *; };" >> $output_objdir/$libname.ver~
9044 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9047 case $cc_basename in
9048 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9049 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9050 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9051 hardcode_libdir_flag_spec
=
9052 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9053 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9054 if test "x$supports_anon_versioning" = xyes
; then
9055 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9056 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9057 echo "local: *; };" >> $output_objdir/$libname.ver~
9058 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9068 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9069 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9072 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9073 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9078 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9082 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9083 *** create shared libraries on Solaris systems. Therefore, libtool
9084 *** is disabling shared libraries support. We urge you to upgrade GNU
9085 *** binutils to release 2.9.1 or newer. Another option is to modify
9086 *** your PATH or compiler configuration so that the native linker is
9087 *** used, and then restart.
9090 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9091 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9092 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9098 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9099 case `$LD -v 2>&1` in
9100 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9104 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9105 *** reliably create shared libraries on SCO systems. Therefore, libtool
9106 *** is disabling shared libraries support. We urge you to upgrade GNU
9107 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9108 *** your PATH or compiler configuration so that the native linker is
9109 *** used, and then restart.
9114 # For security reasons, it is highly recommended that you always
9115 # use absolute paths for naming shared libraries, and exclude the
9116 # DT_RUNPATH tag from executables and libraries. But doing so
9117 # requires that you compile everything twice, which is a pain.
9118 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9119 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9120 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9121 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9130 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9133 hardcode_shlibpath_var
=no
9137 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9138 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9139 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9146 if test "$ld_shlibs" = no
; then
9148 hardcode_libdir_flag_spec
=
9149 export_dynamic_flag_spec
=
9150 whole_archive_flag_spec
=
9153 # PORTME fill in a description of your system's linker (not GNU ld)
9156 allow_undefined_flag
=unsupported
9157 always_export_symbols
=yes
9158 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'
9159 # Note: this linker hardcodes the directories in LIBPATH if there
9160 # are no directories specified by -L.
9161 hardcode_minus_L
=yes
9162 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9163 # Neither direct hardcoding nor static linking is supported with a
9165 hardcode_direct
=unsupported
9170 if test "$host_cpu" = ia64
; then
9171 # On IA64, the linker does run time linking by default, so we don't
9172 # have to do anything special.
9173 aix_use_runtimelinking
=no
9174 exp_sym_flag
='-Bexport'
9177 # If we're using GNU nm, then we don't want the "-C" option.
9178 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9179 # Also, AIX nm treats weak defined symbols like other global
9180 # defined symbols, whereas GNU nm marks them as "W".
9181 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9182 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'
9184 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'
9186 aix_use_runtimelinking
=no
9188 # Test if we are trying to use run time linking or normal
9189 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9190 # need to do runtime linking.
9191 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9192 for ld_flag
in $LDFLAGS; do
9193 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9194 aix_use_runtimelinking
=yes
9201 exp_sym_flag
='-bexport'
9202 no_entry_flag
='-bnoentry'
9205 # When large executables or shared objects are built, AIX ld can
9206 # have problems creating the table of contents. If linking a library
9207 # or program results in "error TOC overflow" add -mminimal-toc to
9208 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9209 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9213 hardcode_direct_absolute
=yes
9214 hardcode_libdir_separator
=':'
9215 link_all_deplibs
=yes
9216 file_list_spec
='${wl}-f,'
9218 if test "$GCC" = yes; then
9219 case $host_os in aix4.
[012]|aix4.
[012].
*)
9220 # We only want to do this on AIX 4.2 and lower, the check
9221 # below for broken collect2 doesn't work under 4.3+
9222 collect2name
=`${CC} -print-prog-name=collect2`
9223 if test -f "$collect2name" &&
9224 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9226 # We have reworked collect2
9229 # We have old collect2
9230 hardcode_direct
=unsupported
9231 # It fails to find uninstalled libraries when the uninstalled
9232 # path is not listed in the libpath. Setting hardcode_minus_L
9233 # to unsupported forces relinking
9234 hardcode_minus_L
=yes
9235 hardcode_libdir_flag_spec
='-L$libdir'
9236 hardcode_libdir_separator
=
9240 shared_flag
='-shared'
9241 if test "$aix_use_runtimelinking" = yes; then
9242 shared_flag
="$shared_flag "'${wl}-G'
9246 if test "$host_cpu" = ia64
; then
9247 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9248 # chokes on -Wl,-G. The following line is correct:
9251 if test "$aix_use_runtimelinking" = yes; then
9252 shared_flag
='${wl}-G'
9254 shared_flag
='${wl}-bM:SRE'
9259 export_dynamic_flag_spec
='${wl}-bexpall'
9260 # It seems that -bexpall does not export symbols beginning with
9261 # underscore (_), so it is better to generate a list of symbols to export.
9262 always_export_symbols
=yes
9263 if test "$aix_use_runtimelinking" = yes; then
9264 # Warning - without using the other runtime loading flags (-brtl),
9265 # -berok will link without error, but may produce a broken library.
9266 allow_undefined_flag
='-berok'
9267 # Determine the default libpath from the value encoded in an
9269 if test "${lt_cv_aix_libpath+set}" = set; then
9270 aix_libpath
=$lt_cv_aix_libpath
9272 if ${lt_cv_aix_libpath_+:} false
; then :
9273 $as_echo_n "(cached) " >&6
9275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9276 /* end confdefs.h. */
9286 if ac_fn_c_try_link
"$LINENO"; then :
9288 lt_aix_libpath_sed
='
9289 /Import File Strings/,/^$/ {
9291 s/^0 *\([^ ]*\) *$/\1/
9295 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9296 # Check for a 64-bit object if we didn't find anything.
9297 if test -z "$lt_cv_aix_libpath_"; then
9298 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9301 rm -f core conftest.err conftest.
$ac_objext \
9302 conftest
$ac_exeext conftest.
$ac_ext
9303 if test -z "$lt_cv_aix_libpath_"; then
9304 lt_cv_aix_libpath_
="/usr/lib:/lib"
9309 aix_libpath
=$lt_cv_aix_libpath_
9312 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9313 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"
9315 if test "$host_cpu" = ia64
; then
9316 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9317 allow_undefined_flag
="-z nodefs"
9318 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"
9320 # Determine the default libpath from the value encoded in an
9322 if test "${lt_cv_aix_libpath+set}" = set; then
9323 aix_libpath
=$lt_cv_aix_libpath
9325 if ${lt_cv_aix_libpath_+:} false
; then :
9326 $as_echo_n "(cached) " >&6
9328 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9329 /* end confdefs.h. */
9339 if ac_fn_c_try_link
"$LINENO"; then :
9341 lt_aix_libpath_sed
='
9342 /Import File Strings/,/^$/ {
9344 s/^0 *\([^ ]*\) *$/\1/
9348 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9349 # Check for a 64-bit object if we didn't find anything.
9350 if test -z "$lt_cv_aix_libpath_"; then
9351 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9354 rm -f core conftest.err conftest.
$ac_objext \
9355 conftest
$ac_exeext conftest.
$ac_ext
9356 if test -z "$lt_cv_aix_libpath_"; then
9357 lt_cv_aix_libpath_
="/usr/lib:/lib"
9362 aix_libpath
=$lt_cv_aix_libpath_
9365 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9366 # Warning - without using the other run time loading flags,
9367 # -berok will link without error, but may produce a broken library.
9368 no_undefined_flag
=' ${wl}-bernotok'
9369 allow_undefined_flag
=' ${wl}-berok'
9370 if test "$with_gnu_ld" = yes; then
9371 # We only use this code for GNU lds that support --whole-archive.
9372 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9374 # Exported symbols can be pulled into shared objects from archives
9375 whole_archive_flag_spec
='$convenience'
9377 archive_cmds_need_lc
=yes
9378 # This is similar to how AIX traditionally builds its shared libraries.
9379 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'
9387 # see comment about AmigaOS4 .so support
9388 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9389 archive_expsym_cmds
=''
9392 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)'
9393 hardcode_libdir_flag_spec
='-L$libdir'
9394 hardcode_minus_L
=yes
9400 export_dynamic_flag_spec
=-rdynamic
9403 cygwin
* | mingw
* | pw32
* | cegcc
*)
9404 # When not using gcc, we currently assume that we are using
9405 # Microsoft Visual C++.
9406 # hardcode_libdir_flag_spec is actually meaningless, as there is
9407 # no search path for DLLs.
9408 case $cc_basename in
9411 hardcode_libdir_flag_spec
=' '
9412 allow_undefined_flag
=unsupported
9413 always_export_symbols
=yes
9415 # Tell ltmain to make .lib files, not .a files.
9417 # Tell ltmain to make .dll files, not .so files.
9419 # FIXME: Setting linknames here is a bad hack.
9420 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9421 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9422 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
9424 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
9426 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9428 # The linker will not automatically build a static lib if we build a DLL.
9429 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9430 enable_shared_with_static_runtimes
=yes
9431 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9433 old_postinstall_cmds
='chmod 644 $oldlib'
9434 postlink_cmds
='lt_outputfile="@OUTPUT@"~
9435 lt_tool_outputfile="@TOOL_OUTPUT@"~
9436 case $lt_outputfile in
9439 lt_outputfile="$lt_outputfile.exe"
9440 lt_tool_outputfile="$lt_tool_outputfile.exe"
9443 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9444 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9445 $RM "$lt_outputfile.manifest";
9449 # Assume MSVC wrapper
9450 hardcode_libdir_flag_spec
=' '
9451 allow_undefined_flag
=unsupported
9452 # Tell ltmain to make .lib files, not .a files.
9454 # Tell ltmain to make .dll files, not .so files.
9456 # FIXME: Setting linknames here is a bad hack.
9457 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9458 # The linker will automatically build a .lib file if we build a DLL.
9459 old_archive_from_new_cmds
='true'
9460 # FIXME: Should let the user specify the lib program.
9461 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9462 enable_shared_with_static_runtimes
=yes
9467 darwin
* | rhapsody
*)
9470 archive_cmds_need_lc
=no
9472 hardcode_automatic
=yes
9473 hardcode_shlibpath_var
=unsupported
9474 if test "$lt_cv_ld_force_load" = "yes"; then
9475 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\"`'
9477 whole_archive_flag_spec
=''
9479 link_all_deplibs
=yes
9480 allow_undefined_flag
="$_lt_dar_allow_undefined"
9481 case $cc_basename in
9482 ifort
*) _lt_dar_can_shared
=yes ;;
9483 *) _lt_dar_can_shared
=$GCC ;;
9485 if test "$_lt_dar_can_shared" = "yes"; then
9486 output_verbose_link_cmd
=func_echo_all
9487 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9488 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9489 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}"
9490 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}"
9499 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9500 hardcode_libdir_flag_spec
='-L$libdir'
9501 hardcode_shlibpath_var
=no
9508 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9509 # support. Future versions do this automatically, but an explicit c++rt0.o
9510 # does not break anything, and helps significantly (at the cost of a little
9513 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9514 hardcode_libdir_flag_spec
='-R$libdir'
9516 hardcode_shlibpath_var
=no
9519 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9521 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9523 hardcode_minus_L
=yes
9524 hardcode_shlibpath_var
=no
9527 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9528 freebsd
* | dragonfly
*)
9529 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9530 hardcode_libdir_flag_spec
='-R$libdir'
9532 hardcode_shlibpath_var
=no
9536 if test "$GCC" = yes; then
9537 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'
9539 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'
9541 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9542 hardcode_libdir_separator
=:
9545 # hardcode_minus_L: Not really in the search PATH,
9546 # but as the default location of the library.
9547 hardcode_minus_L
=yes
9548 export_dynamic_flag_spec
='${wl}-E'
9552 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9553 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9555 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9557 if test "$with_gnu_ld" = no
; then
9558 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9559 hardcode_libdir_flag_spec_ld
='+b $libdir'
9560 hardcode_libdir_separator
=:
9562 hardcode_direct_absolute
=yes
9563 export_dynamic_flag_spec
='${wl}-E'
9564 # hardcode_minus_L: Not really in the search PATH,
9565 # but as the default location of the library.
9566 hardcode_minus_L
=yes
9571 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9574 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9577 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9580 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9586 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9589 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9593 # Older versions of the 11.00 compiler do not understand -b yet
9594 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9596 $as_echo_n "checking if $CC understands -b... " >&6; }
9597 if ${lt_cv_prog_compiler__b+:} false
; then :
9598 $as_echo_n "(cached) " >&6
9600 lt_cv_prog_compiler__b
=no
9601 save_LDFLAGS
="$LDFLAGS"
9602 LDFLAGS
="$LDFLAGS -b"
9603 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9604 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9605 # The linker can only warn and ignore the option if not recognized
9606 # So say no if there are warnings
9607 if test -s conftest.err
; then
9608 # Append any errors to the config.log.
9609 cat conftest.err
1>&5
9610 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9611 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9612 if diff conftest.exp conftest.er2
>/dev
/null
; then
9613 lt_cv_prog_compiler__b
=yes
9616 lt_cv_prog_compiler__b
=yes
9620 LDFLAGS
="$save_LDFLAGS"
9623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9624 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9626 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9627 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9629 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9635 if test "$with_gnu_ld" = no
; then
9636 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9637 hardcode_libdir_separator
=:
9642 hardcode_shlibpath_var
=no
9646 hardcode_direct_absolute
=yes
9647 export_dynamic_flag_spec
='${wl}-E'
9649 # hardcode_minus_L: Not really in the search PATH,
9650 # but as the default location of the library.
9651 hardcode_minus_L
=yes
9657 irix5
* | irix6
* | nonstopux
*)
9658 if test "$GCC" = yes; then
9659 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'
9660 # Try to use the -exported_symbol ld option, if it does not
9661 # work, assume that -exports_file does not work either and
9662 # implicitly export all symbols.
9663 # This should be the same for all languages, so no per-tag cache variable.
9664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9665 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9666 if ${lt_cv_irix_exported_symbol+:} false
; then :
9667 $as_echo_n "(cached) " >&6
9669 save_LDFLAGS
="$LDFLAGS"
9670 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9672 /* end confdefs.h. */
9673 int foo (void) { return 0; }
9675 if ac_fn_c_try_link
"$LINENO"; then :
9676 lt_cv_irix_exported_symbol
=yes
9678 lt_cv_irix_exported_symbol
=no
9680 rm -f core conftest.err conftest.
$ac_objext \
9681 conftest
$ac_exeext conftest.
$ac_ext
9682 LDFLAGS
="$save_LDFLAGS"
9684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9685 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9686 if test "$lt_cv_irix_exported_symbol" = yes; then
9687 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'
9690 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'
9691 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'
9693 archive_cmds_need_lc
='no'
9694 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9695 hardcode_libdir_separator
=:
9697 link_all_deplibs
=yes
9701 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9702 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9704 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9706 hardcode_libdir_flag_spec
='-R$libdir'
9708 hardcode_shlibpath_var
=no
9712 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9714 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9715 hardcode_libdir_separator
=:
9716 hardcode_shlibpath_var
=no
9723 if test -f /usr
/libexec
/ld.so
; then
9725 hardcode_shlibpath_var
=no
9726 hardcode_direct_absolute
=yes
9727 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9728 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9729 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9730 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9731 export_dynamic_flag_spec
='${wl}-E'
9734 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9735 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9736 hardcode_libdir_flag_spec
='-R$libdir'
9739 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9740 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9750 hardcode_libdir_flag_spec
='-L$libdir'
9751 hardcode_minus_L
=yes
9752 allow_undefined_flag
=unsupported
9753 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'
9754 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9758 if test "$GCC" = yes; then
9759 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9760 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'
9762 allow_undefined_flag
=' -expect_unresolved \*'
9763 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'
9765 archive_cmds_need_lc
='no'
9766 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9767 hardcode_libdir_separator
=:
9770 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9771 if test "$GCC" = yes; then
9772 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9773 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'
9774 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9776 allow_undefined_flag
=' -expect_unresolved \*'
9777 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'
9778 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~
9779 $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'
9781 # Both c and cxx compiler support -rpath directly
9782 hardcode_libdir_flag_spec
='-rpath $libdir'
9784 archive_cmds_need_lc
='no'
9785 hardcode_libdir_separator
=:
9789 no_undefined_flag
=' -z defs'
9790 if test "$GCC" = yes; then
9792 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9793 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9794 $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'
9796 case `$CC -V 2>&1` in
9799 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9800 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9801 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9805 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9806 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9807 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9811 hardcode_libdir_flag_spec
='-R$libdir'
9812 hardcode_shlibpath_var
=no
9814 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9816 # The compiler driver will combine and reorder linker options,
9817 # but understands `-z linker_flag'. GCC discards it without `$wl',
9818 # but is careful enough not to reorder.
9819 # Supported since Solaris 2.6 (maybe 2.5.1?)
9820 if test "$GCC" = yes; then
9821 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9823 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9827 link_all_deplibs
=yes
9831 if test "x$host_vendor" = xsequent
; then
9832 # Use $CC to link under sequent, because it throws in some extra .o
9833 # files that make .init and .fini sections work.
9834 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9836 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9838 hardcode_libdir_flag_spec
='-L$libdir'
9840 hardcode_minus_L
=yes
9841 hardcode_shlibpath_var
=no
9845 case $host_vendor in
9847 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9848 hardcode_direct
=yes # is this really true???
9851 ## LD is ld it makes a PLAMLIB
9852 ## CC just makes a GrossModule.
9853 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9854 reload_cmds
='$CC -r -o $output$reload_objs'
9858 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9859 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9862 runpath_var
='LD_RUN_PATH'
9863 hardcode_shlibpath_var
=no
9867 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9868 hardcode_shlibpath_var
=no
9869 export_dynamic_flag_spec
='-Bexport'
9873 if test -d /usr
/nec
; then
9874 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9875 hardcode_shlibpath_var
=no
9876 runpath_var
=LD_RUN_PATH
9877 hardcode_runpath_var
=yes
9882 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9883 no_undefined_flag
='${wl}-z,text'
9884 archive_cmds_need_lc
=no
9885 hardcode_shlibpath_var
=no
9886 runpath_var
='LD_RUN_PATH'
9888 if test "$GCC" = yes; then
9889 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9890 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9892 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9893 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9897 sysv5
* | sco3.2v5
* | sco5v6
*)
9898 # Note: We can NOT use -z defs as we might desire, because we do not
9899 # link with -lc, and that would cause any symbols used from libc to
9900 # always be unresolved, which means just about no library would
9901 # ever link correctly. If we're not using GNU ld we use -z text
9902 # though, which does catch some bad symbols but isn't as heavy-handed
9904 no_undefined_flag
='${wl}-z,text'
9905 allow_undefined_flag
='${wl}-z,nodefs'
9906 archive_cmds_need_lc
=no
9907 hardcode_shlibpath_var
=no
9908 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9909 hardcode_libdir_separator
=':'
9910 link_all_deplibs
=yes
9911 export_dynamic_flag_spec
='${wl}-Bexport'
9912 runpath_var
='LD_RUN_PATH'
9914 if test "$GCC" = yes; then
9915 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9916 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9918 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9919 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9924 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9925 hardcode_libdir_flag_spec
='-L$libdir'
9926 hardcode_shlibpath_var
=no
9934 if test x
$host_vendor = xsni
; then
9936 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9937 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9944 $as_echo "$ld_shlibs" >&6; }
9945 test "$ld_shlibs" = no
&& can_build_shared
=no
9947 with_gnu_ld
=$with_gnu_ld
9964 # Do we need to explicitly link libc?
9966 case "x$archive_cmds_need_lc" in
9968 # Assume -lc should be added
9969 archive_cmds_need_lc
=yes
9971 if test "$enable_shared" = yes && test "$GCC" = yes; then
9972 case $archive_cmds in
9974 # FIXME: we may have to deal with multi-command sequences.
9977 # Test whether the compiler implicitly links with -lc since on some
9978 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9979 # to ld, don't add -lc before -lgcc.
9980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9981 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9982 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
9983 $as_echo_n "(cached) " >&6
9986 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9988 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9989 (eval $ac_compile) 2>&5
9991 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9992 test $ac_status = 0; } 2>conftest.err
; then
9995 libobjs
=conftest.
$ac_objext
9997 wl
=$lt_prog_compiler_wl
9998 pic_flag
=$lt_prog_compiler_pic
10004 lt_save_allow_undefined_flag
=$allow_undefined_flag
10005 allow_undefined_flag
=
10006 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10007 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10010 test $ac_status = 0; }
10012 lt_cv_archive_cmds_need_lc
=no
10014 lt_cv_archive_cmds_need_lc
=yes
10016 allow_undefined_flag
=$lt_save_allow_undefined_flag
10018 cat conftest.err
1>&5
10023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10024 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10025 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10189 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10191 if test "$GCC" = yes; then
10193 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10194 *) lt_awk_arg
="/^libraries:/" ;;
10197 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10198 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10200 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10201 case $lt_search_path_spec in
10203 # if the path contains ";" then we assume it to be the separator
10204 # otherwise default to the standard path separator (i.e. ":") - it is
10205 # assumed that no part of a normal pathname contains ";" but that should
10206 # okay in the real world where ";" in dirpaths is itself problematic.
10207 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10210 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10213 # Ok, now we have the path, separated by spaces, we can step through it
10214 # and add multilib dir if necessary.
10215 lt_tmp_lt_search_path_spec
=
10216 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10217 for lt_sys_path
in $lt_search_path_spec; do
10218 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10219 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10221 test -d "$lt_sys_path" && \
10222 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10225 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10226 BEGIN {RS=" "; FS="/|\n";} {
10229 for (lt_i = NF; lt_i > 0; lt_i--) {
10230 if ($lt_i != "" && $lt_i != ".") {
10231 if ($lt_i == "..") {
10234 if (lt_count == 0) {
10235 lt_foo="/" $lt_i lt_foo;
10242 if (lt_foo != "") { lt_freq[lt_foo]++; }
10243 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10245 # AWK program above erroneously prepends '/' to C:/dos/paths
10248 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10249 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10251 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10253 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10255 library_names_spec
=
10256 libname_spec
='lib$name'
10260 postuninstall_cmds
=
10264 shlibpath_overrides_runpath
=unknown
10266 dynamic_linker
="$host_os ld.so"
10267 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10268 need_lib_prefix
=unknown
10269 hardcode_into_libs
=no
10271 # when you set need_version to no, make sure it does not cause -set_version
10272 # flags to be left without arguments
10273 need_version
=unknown
10278 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10279 shlibpath_var
=LIBPATH
10281 # AIX 3 has no versioning support, so we append a major version to the name.
10282 soname_spec
='${libname}${release}${shared_ext}$major'
10289 hardcode_into_libs
=yes
10290 if test "$host_cpu" = ia64
; then
10291 # AIX 5 supports IA64
10292 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10293 shlibpath_var
=LD_LIBRARY_PATH
10295 # With GCC up to 2.95.x, collect2 would create an import file
10296 # for dependence libraries. The import file would start with
10297 # the line `#! .'. This would cause the generated library to
10298 # depend on `.', always an invalid library. This was fixed in
10299 # development snapshots of GCC prior to 3.0.
10301 aix4 | aix4.
[01] | aix4.
[01].
*)
10302 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10304 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10307 can_build_shared
=no
10311 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10312 # soname into executable. Probably we can add versioning support to
10313 # collect2, so additional links can be useful in future.
10314 if test "$aix_use_runtimelinking" = yes; then
10315 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10316 # instead of lib<name>.a to let people know that these are not
10317 # typical AIX shared libraries.
10318 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10320 # We preserve .a as extension for shared libraries through AIX4.2
10321 # and later when we are not doing run time linking.
10322 library_names_spec
='${libname}${release}.a $libname.a'
10323 soname_spec
='${libname}${release}${shared_ext}$major'
10325 shlibpath_var
=LIBPATH
10332 # Since July 2007 AmigaOS4 officially supports .so libraries.
10333 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10334 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10337 library_names_spec
='$libname.ixlibrary $libname.a'
10338 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10339 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'
10345 library_names_spec
='${libname}${shared_ext}'
10346 dynamic_linker
="$host_os ld.so"
10347 shlibpath_var
=LIBRARY_PATH
10353 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10354 soname_spec
='${libname}${release}${shared_ext}$major'
10355 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10356 shlibpath_var
=LD_LIBRARY_PATH
10357 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10358 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10359 # the default ld.so.conf also contains /usr/contrib/lib and
10360 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10361 # libtool to hard-code these into programs
10364 cygwin
* | mingw
* | pw32
* | cegcc
*)
10365 version_type
=windows
10370 case $GCC,$cc_basename in
10373 library_names_spec
='$libname.dll.a'
10374 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10375 postinstall_cmds
='base_file=`basename \${file}`~
10376 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10377 dldir=$destdir/`dirname \$dlpath`~
10378 test -d \$dldir || mkdir -p \$dldir~
10379 $install_prog $dir/$dlname \$dldir/$dlname~
10380 chmod a+x \$dldir/$dlname~
10381 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10382 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10384 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10385 dlpath=$dir/\$dldll~
10387 shlibpath_overrides_runpath
=yes
10391 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10392 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10394 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10397 # MinGW DLLs use traditional 'lib' prefix
10398 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10401 # pw32 DLLs use 'pw' prefix rather than 'lib'
10402 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10405 dynamic_linker
='Win32 ld.exe'
10410 libname_spec
='$name'
10411 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10412 library_names_spec
='${libname}.dll.lib'
10416 sys_lib_search_path_spec
=
10419 for lt_path
in $LIB
10422 # Let DOS variable expansion print the short 8.3 style file name.
10423 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10424 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
10427 # Convert to MSYS style.
10428 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10431 # Convert to unix form, then to dos form, then back to unix form
10432 # but this time dos style (no spaces!) so that the unix form looks
10433 # like /cygdrive/c/PROGRA~1:/cygdr...
10434 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
10435 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10436 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10439 sys_lib_search_path_spec
="$LIB"
10440 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10441 # It is most probably a Windows format PATH.
10442 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10444 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10446 # FIXME: find the short name or the path components, as spaces are
10447 # common. (e.g. "Program Files" -> "PROGRA~1")
10451 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10452 postinstall_cmds
='base_file=`basename \${file}`~
10453 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10454 dldir=$destdir/`dirname \$dlpath`~
10455 test -d \$dldir || mkdir -p \$dldir~
10456 $install_prog $dir/$dlname \$dldir/$dlname'
10457 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10458 dlpath=$dir/\$dldll~
10460 shlibpath_overrides_runpath
=yes
10461 dynamic_linker
='Win32 link.exe'
10465 # Assume MSVC wrapper
10466 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10467 dynamic_linker
='Win32 ld.exe'
10470 # FIXME: first we should search . and the directory the executable is in
10474 darwin
* | rhapsody
*)
10475 dynamic_linker
="$host_os dyld"
10476 version_type
=darwin
10479 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10480 soname_spec
='${libname}${release}${major}$shared_ext'
10481 shlibpath_overrides_runpath
=yes
10482 shlibpath_var
=DYLD_LIBRARY_PATH
10483 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10485 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10486 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10493 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10494 soname_spec
='${libname}${release}${shared_ext}$major'
10495 shlibpath_var
=LD_LIBRARY_PATH
10502 freebsd
* | dragonfly
*)
10503 # DragonFly does not have aout. When/if they implement a new
10504 # versioning mechanism, adjust this.
10505 if test -x /usr
/bin
/objformat
; then
10506 objformat
=`/usr/bin/objformat`
10509 freebsd
[123]*) objformat
=aout
;;
10510 *) objformat
=elf
;;
10513 version_type
=freebsd-
$objformat
10514 case $version_type in
10516 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10521 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10525 shlibpath_var
=LD_LIBRARY_PATH
10528 shlibpath_overrides_runpath
=yes
10530 freebsd3.
[01]* | freebsdelf3.
[01]*)
10531 shlibpath_overrides_runpath
=yes
10532 hardcode_into_libs
=yes
10534 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10535 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10536 shlibpath_overrides_runpath
=no
10537 hardcode_into_libs
=yes
10539 *) # from 4.6 on, and DragonFly
10540 shlibpath_overrides_runpath
=yes
10541 hardcode_into_libs
=yes
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 shlibpath_var
=LD_LIBRARY_PATH
10553 hardcode_into_libs
=yes
10560 dynamic_linker
="$host_os runtime_loader"
10561 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10562 soname_spec
='${libname}${release}${shared_ext}$major'
10563 shlibpath_var
=LIBRARY_PATH
10564 shlibpath_overrides_runpath
=yes
10565 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10566 hardcode_into_libs
=yes
10569 hpux9
* | hpux10
* | hpux11
*)
10570 # Give a soname corresponding to the major version so that dld.sl refuses to
10571 # link against other versions.
10578 hardcode_into_libs
=yes
10579 dynamic_linker
="$host_os dld.so"
10580 shlibpath_var
=LD_LIBRARY_PATH
10581 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10582 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10583 soname_spec
='${libname}${release}${shared_ext}$major'
10584 if test "X$HPUX_IA64_MODE" = X32
; then
10585 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10587 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10589 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10593 hardcode_into_libs
=yes
10594 dynamic_linker
="$host_os dld.sl"
10595 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10596 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10597 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10598 soname_spec
='${libname}${release}${shared_ext}$major'
10599 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10600 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10604 dynamic_linker
="$host_os dld.sl"
10605 shlibpath_var
=SHLIB_PATH
10606 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10607 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10608 soname_spec
='${libname}${release}${shared_ext}$major'
10611 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10612 postinstall_cmds
='chmod 555 $lib'
10613 # or fails outright, so override atomically:
10614 install_override_mode
=555
10621 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10622 soname_spec
='${libname}${release}${shared_ext}$major'
10623 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10624 shlibpath_var
=LD_LIBRARY_PATH
10625 shlibpath_overrides_runpath
=no
10626 hardcode_into_libs
=yes
10629 irix5
* | irix6
* | nonstopux
*)
10631 nonstopux
*) version_type
=nonstopux
;;
10633 if test "$lt_cv_prog_gnu_ld" = yes; then
10641 soname_spec
='${libname}${release}${shared_ext}$major'
10642 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10644 irix5
* | nonstopux
*)
10645 libsuff
= shlibsuff
=
10648 case $LD in # libtool.m4 will add one of these switches to LD
10649 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10650 libsuff
= shlibsuff
= libmagic
=32-bit;;
10651 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10652 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10653 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10654 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10655 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10659 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10660 shlibpath_overrides_runpath
=no
10661 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10662 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10663 hardcode_into_libs
=yes
10666 # No shared lib support for Linux oldld, aout, or coff.
10667 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10671 # This must be Linux ELF.
10672 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10676 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10677 soname_spec
='${libname}${release}${shared_ext}$major'
10678 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10679 shlibpath_var
=LD_LIBRARY_PATH
10680 shlibpath_overrides_runpath
=no
10682 # Some binutils ld are patched to set DT_RUNPATH
10683 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10684 $as_echo_n "(cached) " >&6
10686 lt_cv_shlibpath_overrides_runpath
=no
10687 save_LDFLAGS
=$LDFLAGS
10688 save_libdir
=$libdir
10689 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10690 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10692 /* end confdefs.h. */
10702 if ac_fn_c_try_link
"$LINENO"; then :
10703 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10704 lt_cv_shlibpath_overrides_runpath
=yes
10707 rm -f core conftest.err conftest.
$ac_objext \
10708 conftest
$ac_exeext conftest.
$ac_ext
10709 LDFLAGS
=$save_LDFLAGS
10710 libdir
=$save_libdir
10714 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10716 # This implies no fast_install, which is unacceptable.
10717 # Some rework will be needed to allow for fast_install
10718 # before this can be enabled.
10719 hardcode_into_libs
=yes
10721 # Append ld.so.conf contents to the search path
10722 if test -f /etc
/ld.so.conf
; then
10723 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' ' '`
10724 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10727 # We used to test for /lib/ld.so.1 and disable shared libraries on
10728 # powerpc, because MkLinux only supported shared libraries with the
10729 # GNU dynamic linker. Since this was broken with cross compilers,
10730 # most powerpc-linux boxes support dynamic linking these days and
10731 # people can always --disable-shared, the test was removed, and we
10732 # assume the GNU/Linux dynamic linker is in use.
10733 dynamic_linker
='GNU/Linux ld.so'
10740 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10741 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10742 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10743 dynamic_linker
='NetBSD (a.out) ld.so'
10745 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10746 soname_spec
='${libname}${release}${shared_ext}$major'
10747 dynamic_linker
='NetBSD ld.elf_so'
10749 shlibpath_var
=LD_LIBRARY_PATH
10750 shlibpath_overrides_runpath
=yes
10751 hardcode_into_libs
=yes
10756 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10757 shlibpath_var
=LD_LIBRARY_PATH
10758 shlibpath_overrides_runpath
=yes
10765 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10766 soname_spec
='${libname}${release}${shared_ext}$major'
10767 shlibpath_var
=LD_LIBRARY_PATH
10768 shlibpath_overrides_runpath
=no
10769 hardcode_into_libs
=yes
10770 dynamic_linker
='ldqnx.so'
10775 sys_lib_dlsearch_path_spec
="/usr/lib"
10777 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10779 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10780 *) need_version
=no
;;
10782 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10783 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10784 shlibpath_var
=LD_LIBRARY_PATH
10785 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10787 openbsd2.
[89] | openbsd2.
[89].
*)
10788 shlibpath_overrides_runpath
=no
10791 shlibpath_overrides_runpath
=yes
10795 shlibpath_overrides_runpath
=yes
10800 libname_spec
='$name'
10803 library_names_spec
='$libname${shared_ext} $libname.a'
10804 dynamic_linker
='OS/2 ld.exe'
10805 shlibpath_var
=LIBPATH
10808 osf3
* | osf4
* | osf5
*)
10812 soname_spec
='${libname}${release}${shared_ext}$major'
10813 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10814 shlibpath_var
=LD_LIBRARY_PATH
10815 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10816 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10827 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10828 soname_spec
='${libname}${release}${shared_ext}$major'
10829 shlibpath_var
=LD_LIBRARY_PATH
10830 shlibpath_overrides_runpath
=yes
10831 hardcode_into_libs
=yes
10832 # ldd complains unless libraries are executable
10833 postinstall_cmds
='chmod +x $lib'
10838 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10839 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10840 shlibpath_var
=LD_LIBRARY_PATH
10841 shlibpath_overrides_runpath
=yes
10842 if test "$with_gnu_ld" = yes; then
10850 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10851 soname_spec
='${libname}${release}${shared_ext}$major'
10852 shlibpath_var
=LD_LIBRARY_PATH
10853 case $host_vendor in
10855 shlibpath_overrides_runpath
=no
10857 runpath_var
=LD_RUN_PATH
10865 shlibpath_overrides_runpath
=no
10866 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10872 if test -d /usr
/nec
;then
10874 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10875 soname_spec
='$libname${shared_ext}.$major'
10876 shlibpath_var
=LD_LIBRARY_PATH
10880 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10881 version_type
=freebsd-elf
10884 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10885 soname_spec
='${libname}${release}${shared_ext}$major'
10886 shlibpath_var
=LD_LIBRARY_PATH
10887 shlibpath_overrides_runpath
=yes
10888 hardcode_into_libs
=yes
10889 if test "$with_gnu_ld" = yes; then
10890 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10892 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10895 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10899 sys_lib_dlsearch_path_spec
='/usr/lib'
10903 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10907 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10908 shlibpath_var
=LD_LIBRARY_PATH
10909 shlibpath_overrides_runpath
=no
10910 hardcode_into_libs
=yes
10915 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10916 soname_spec
='${libname}${release}${shared_ext}$major'
10917 shlibpath_var
=LD_LIBRARY_PATH
10924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10925 $as_echo "$dynamic_linker" >&6; }
10926 test "$dynamic_linker" = no
&& can_build_shared
=no
10928 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10929 if test "$GCC" = yes; then
10930 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10933 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10934 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10936 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10937 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11032 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11034 if test -n "$hardcode_libdir_flag_spec" ||
11035 test -n "$runpath_var" ||
11036 test "X$hardcode_automatic" = "Xyes" ; then
11038 # We can hardcode non-existent directories.
11039 if test "$hardcode_direct" != no
&&
11040 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11041 # have to relink, otherwise we might link with an installed library
11042 # when we should be linking with a yet-to-be-installed one
11043 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11044 test "$hardcode_minus_L" != no
; then
11045 # Linking always hardcodes the temporary library directory.
11046 hardcode_action
=relink
11048 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11049 hardcode_action
=immediate
11052 # We cannot hardcode anything, or else we can only hardcode existing
11054 hardcode_action
=unsupported
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11057 $as_echo "$hardcode_action" >&6; }
11059 if test "$hardcode_action" = relink ||
11060 test "$inherit_rpath" = yes; then
11061 # Fast installation is not supported
11062 enable_fast_install
=no
11063 elif test "$shlibpath_overrides_runpath" = yes ||
11064 test "$enable_shared" = no
; then
11065 # Fast installation is not necessary
11066 enable_fast_install
=needless
11074 if test "x$enable_dlopen" != xyes
; then
11075 enable_dlopen
=unknown
11076 enable_dlopen_self
=unknown
11077 enable_dlopen_self_static
=unknown
11084 lt_cv_dlopen
="load_add_on"
11086 lt_cv_dlopen_self
=yes
11089 mingw
* | pw32
* | cegcc
*)
11090 lt_cv_dlopen
="LoadLibrary"
11095 lt_cv_dlopen
="dlopen"
11100 # if libdl is installed we need to link against it
11101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11102 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11103 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11104 $as_echo_n "(cached) " >&6
11106 ac_check_lib_save_LIBS
=$LIBS
11108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11109 /* end confdefs.h. */
11111 /* Override any GCC internal prototype to avoid an error.
11112 Use char because int might match the return type of a GCC
11113 builtin and then its argument prototype would still apply. */
11126 if ac_fn_c_try_link
"$LINENO"; then :
11127 ac_cv_lib_dl_dlopen
=yes
11129 ac_cv_lib_dl_dlopen
=no
11131 rm -f core conftest.err conftest.
$ac_objext \
11132 conftest
$ac_exeext conftest.
$ac_ext
11133 LIBS
=$ac_check_lib_save_LIBS
11135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11136 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11137 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11138 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11141 lt_cv_dlopen
="dyld"
11143 lt_cv_dlopen_self
=yes
11150 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11151 if test "x$ac_cv_func_shl_load" = xyes
; then :
11152 lt_cv_dlopen
="shl_load"
11154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11155 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11156 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11157 $as_echo_n "(cached) " >&6
11159 ac_check_lib_save_LIBS
=$LIBS
11161 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11162 /* end confdefs.h. */
11164 /* Override any GCC internal prototype to avoid an error.
11165 Use char because int might match the return type of a GCC
11166 builtin and then its argument prototype would still apply. */
11174 return shl_load ();
11179 if ac_fn_c_try_link
"$LINENO"; then :
11180 ac_cv_lib_dld_shl_load
=yes
11182 ac_cv_lib_dld_shl_load
=no
11184 rm -f core conftest.err conftest.
$ac_objext \
11185 conftest
$ac_exeext conftest.
$ac_ext
11186 LIBS
=$ac_check_lib_save_LIBS
11188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11189 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11190 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11191 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11193 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11194 if test "x$ac_cv_func_dlopen" = xyes
; then :
11195 lt_cv_dlopen
="dlopen"
11197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11198 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11199 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11200 $as_echo_n "(cached) " >&6
11202 ac_check_lib_save_LIBS
=$LIBS
11204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11205 /* end confdefs.h. */
11207 /* Override any GCC internal prototype to avoid an error.
11208 Use char because int might match the return type of a GCC
11209 builtin and then its argument prototype would still apply. */
11222 if ac_fn_c_try_link
"$LINENO"; then :
11223 ac_cv_lib_dl_dlopen
=yes
11225 ac_cv_lib_dl_dlopen
=no
11227 rm -f core conftest.err conftest.
$ac_objext \
11228 conftest
$ac_exeext conftest.
$ac_ext
11229 LIBS
=$ac_check_lib_save_LIBS
11231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11232 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11233 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11234 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11237 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11238 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11239 $as_echo_n "(cached) " >&6
11241 ac_check_lib_save_LIBS
=$LIBS
11242 LIBS
="-lsvld $LIBS"
11243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11244 /* end confdefs.h. */
11246 /* Override any GCC internal prototype to avoid an error.
11247 Use char because int might match the return type of a GCC
11248 builtin and then its argument prototype would still apply. */
11261 if ac_fn_c_try_link
"$LINENO"; then :
11262 ac_cv_lib_svld_dlopen
=yes
11264 ac_cv_lib_svld_dlopen
=no
11266 rm -f core conftest.err conftest.
$ac_objext \
11267 conftest
$ac_exeext conftest.
$ac_ext
11268 LIBS
=$ac_check_lib_save_LIBS
11270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11271 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11272 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11273 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11276 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11277 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11278 $as_echo_n "(cached) " >&6
11280 ac_check_lib_save_LIBS
=$LIBS
11282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11283 /* end confdefs.h. */
11285 /* Override any GCC internal prototype to avoid an error.
11286 Use char because int might match the return type of a GCC
11287 builtin and then its argument prototype would still apply. */
11295 return dld_link ();
11300 if ac_fn_c_try_link
"$LINENO"; then :
11301 ac_cv_lib_dld_dld_link
=yes
11303 ac_cv_lib_dld_dld_link
=no
11305 rm -f core conftest.err conftest.
$ac_objext \
11306 conftest
$ac_exeext conftest.
$ac_ext
11307 LIBS
=$ac_check_lib_save_LIBS
11309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11310 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11311 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11312 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11333 if test "x$lt_cv_dlopen" != xno
; then
11339 case $lt_cv_dlopen in
11341 save_CPPFLAGS
="$CPPFLAGS"
11342 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11344 save_LDFLAGS
="$LDFLAGS"
11345 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11348 LIBS
="$lt_cv_dlopen_libs $LIBS"
11350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11351 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11352 if ${lt_cv_dlopen_self+:} false
; then :
11353 $as_echo_n "(cached) " >&6
11355 if test "$cross_compiling" = yes; then :
11356 lt_cv_dlopen_self
=cross
11358 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11359 lt_status
=$lt_dlunknown
11360 cat > conftest.
$ac_ext <<_LT_EOF
11361 #line $LINENO "configure"
11362 #include "confdefs.h"
11371 # define LT_DLGLOBAL RTLD_GLOBAL
11374 # define LT_DLGLOBAL DL_GLOBAL
11376 # define LT_DLGLOBAL 0
11380 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11381 find out it does not work in some platform. */
11382 #ifndef LT_DLLAZY_OR_NOW
11384 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11387 # define LT_DLLAZY_OR_NOW DL_LAZY
11390 # define LT_DLLAZY_OR_NOW RTLD_NOW
11393 # define LT_DLLAZY_OR_NOW DL_NOW
11395 # define LT_DLLAZY_OR_NOW 0
11402 /* When -fvisbility=hidden is used, assume the code has been annotated
11403 correspondingly for the symbols needed. */
11404 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11405 int fnord () __attribute__((visibility("default")));
11408 int fnord () { return 42; }
11411 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11412 int status = $lt_dlunknown;
11416 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11419 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11420 else puts (dlerror ());
11422 /* dlclose (self); */
11430 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11431 (eval $ac_link) 2>&5
11433 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11434 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11435 (.
/conftest
; exit; ) >&5 2>/dev
/null
11437 case x
$lt_status in
11438 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11439 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11440 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11443 # compilation failed
11444 lt_cv_dlopen_self
=no
11451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11452 $as_echo "$lt_cv_dlopen_self" >&6; }
11454 if test "x$lt_cv_dlopen_self" = xyes
; then
11455 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11457 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11458 if ${lt_cv_dlopen_self_static+:} false
; then :
11459 $as_echo_n "(cached) " >&6
11461 if test "$cross_compiling" = yes; then :
11462 lt_cv_dlopen_self_static
=cross
11464 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11465 lt_status
=$lt_dlunknown
11466 cat > conftest.
$ac_ext <<_LT_EOF
11467 #line $LINENO "configure"
11468 #include "confdefs.h"
11477 # define LT_DLGLOBAL RTLD_GLOBAL
11480 # define LT_DLGLOBAL DL_GLOBAL
11482 # define LT_DLGLOBAL 0
11486 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11487 find out it does not work in some platform. */
11488 #ifndef LT_DLLAZY_OR_NOW
11490 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11493 # define LT_DLLAZY_OR_NOW DL_LAZY
11496 # define LT_DLLAZY_OR_NOW RTLD_NOW
11499 # define LT_DLLAZY_OR_NOW DL_NOW
11501 # define LT_DLLAZY_OR_NOW 0
11508 /* When -fvisbility=hidden is used, assume the code has been annotated
11509 correspondingly for the symbols needed. */
11510 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11511 int fnord () __attribute__((visibility("default")));
11514 int fnord () { return 42; }
11517 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11518 int status = $lt_dlunknown;
11522 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11525 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11526 else puts (dlerror ());
11528 /* dlclose (self); */
11536 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11537 (eval $ac_link) 2>&5
11539 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11540 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11541 (.
/conftest
; exit; ) >&5 2>/dev
/null
11543 case x
$lt_status in
11544 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11545 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11546 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11549 # compilation failed
11550 lt_cv_dlopen_self_static
=no
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11558 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11561 CPPFLAGS
="$save_CPPFLAGS"
11562 LDFLAGS
="$save_LDFLAGS"
11567 case $lt_cv_dlopen_self in
11568 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11569 *) enable_dlopen_self
=unknown
;;
11572 case $lt_cv_dlopen_self_static in
11573 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11574 *) enable_dlopen_self_static
=unknown
;;
11596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11597 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11598 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11599 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11600 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11602 $as_echo "yes" >&6; }
11604 # FIXME - insert some real tests, host_os isn't really good enough
11607 if test -n "$STRIP" ; then
11608 striplib
="$STRIP -x"
11609 old_striplib
="$STRIP -S"
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11611 $as_echo "yes" >&6; }
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11614 $as_echo "no" >&6; }
11618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11619 $as_echo "no" >&6; }
11635 # Report which library types will actually be built
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11637 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11639 $as_echo "$can_build_shared" >&6; }
11641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11642 $as_echo_n "checking whether to build shared libraries... " >&6; }
11643 test "$can_build_shared" = "no" && enable_shared
=no
11645 # On AIX, shared libraries and static libraries use the same namespace, and
11646 # are all built from PIC.
11649 test "$enable_shared" = yes && enable_static
=no
11650 if test -n "$RANLIB"; then
11651 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11652 postinstall_cmds
='$RANLIB $lib'
11657 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11658 test "$enable_shared" = yes && enable_static
=no
11662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11663 $as_echo "$enable_shared" >&6; }
11665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11666 $as_echo_n "checking whether to build static libraries... " >&6; }
11667 # Make sure either enable_shared or enable_static is yes.
11668 test "$enable_shared" = yes || enable_static
=yes
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11670 $as_echo "$enable_static" >&6; }
11677 ac_cpp
='$CPP $CPPFLAGS'
11678 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11679 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11680 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11696 ac_config_commands
="$ac_config_commands libtool"
11701 # Only expand once:
11709 *-*-mingw32* |
*-*-cygwin*)
11711 $as_echo "#define HOST_W32 1" >>confdefs.h
11714 if test x
"$enable_shared" != "xno" ; then
11715 NO_UNDEFINED
="-no-undefined"
11719 EXTRA_LIBQUVI_LDFLAGS
="$NO_UNDEFINED"
11722 # Checks for programs.
11723 for ac_prog
in gawk mawk nawk
awk
11725 # Extract the first word of "$ac_prog", so it can be a program name with args.
11726 set dummy
$ac_prog; ac_word
=$2
11727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11728 $as_echo_n "checking for $ac_word... " >&6; }
11729 if ${ac_cv_prog_AWK+:} false
; then :
11730 $as_echo_n "(cached) " >&6
11732 if test -n "$AWK"; then
11733 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
11735 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11736 for as_dir
in $PATH
11739 test -z "$as_dir" && as_dir
=.
11740 for ac_exec_ext
in '' $ac_executable_extensions; do
11741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11742 ac_cv_prog_AWK
="$ac_prog"
11743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11752 AWK
=$ac_cv_prog_AWK
11753 if test -n "$AWK"; then
11754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
11755 $as_echo "$AWK" >&6; }
11757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11758 $as_echo "no" >&6; }
11762 test -n "$AWK" && break
11766 ac_cpp
='$CPP $CPPFLAGS'
11767 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11768 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11769 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11770 if test -n "$ac_tool_prefix"; then
11771 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11772 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11774 $as_echo_n "checking for $ac_word... " >&6; }
11775 if ${ac_cv_prog_CC+:} false
; then :
11776 $as_echo_n "(cached) " >&6
11778 if test -n "$CC"; then
11779 ac_cv_prog_CC
="$CC" # Let the user override the test.
11781 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11782 for as_dir
in $PATH
11785 test -z "$as_dir" && as_dir
=.
11786 for ac_exec_ext
in '' $ac_executable_extensions; do
11787 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11788 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
11789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11799 if test -n "$CC"; then
11800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11801 $as_echo "$CC" >&6; }
11803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11804 $as_echo "no" >&6; }
11809 if test -z "$ac_cv_prog_CC"; then
11811 # Extract the first word of "gcc", so it can be a program name with args.
11812 set dummy gcc
; ac_word
=$2
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11814 $as_echo_n "checking for $ac_word... " >&6; }
11815 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
11816 $as_echo_n "(cached) " >&6
11818 if test -n "$ac_ct_CC"; then
11819 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11821 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11822 for as_dir
in $PATH
11825 test -z "$as_dir" && as_dir
=.
11826 for ac_exec_ext
in '' $ac_executable_extensions; do
11827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11828 ac_cv_prog_ac_ct_CC
="gcc"
11829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11838 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11839 if test -n "$ac_ct_CC"; then
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11841 $as_echo "$ac_ct_CC" >&6; }
11843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11844 $as_echo "no" >&6; }
11847 if test "x$ac_ct_CC" = x
; then
11850 case $cross_compiling:$ac_tool_warned in
11852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11853 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11854 ac_tool_warned
=yes ;;
11859 CC
="$ac_cv_prog_CC"
11862 if test -z "$CC"; then
11863 if test -n "$ac_tool_prefix"; then
11864 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11865 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
11866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11867 $as_echo_n "checking for $ac_word... " >&6; }
11868 if ${ac_cv_prog_CC+:} false
; then :
11869 $as_echo_n "(cached) " >&6
11871 if test -n "$CC"; then
11872 ac_cv_prog_CC
="$CC" # Let the user override the test.
11874 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11875 for as_dir
in $PATH
11878 test -z "$as_dir" && as_dir
=.
11879 for ac_exec_ext
in '' $ac_executable_extensions; do
11880 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11881 ac_cv_prog_CC
="${ac_tool_prefix}cc"
11882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11892 if test -n "$CC"; then
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11894 $as_echo "$CC" >&6; }
11896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11897 $as_echo "no" >&6; }
11903 if test -z "$CC"; then
11904 # Extract the first word of "cc", so it can be a program name with args.
11905 set dummy cc
; ac_word
=$2
11906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11907 $as_echo_n "checking for $ac_word... " >&6; }
11908 if ${ac_cv_prog_CC+:} false
; then :
11909 $as_echo_n "(cached) " >&6
11911 if test -n "$CC"; then
11912 ac_cv_prog_CC
="$CC" # Let the user override the test.
11914 ac_prog_rejected
=no
11915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11916 for as_dir
in $PATH
11919 test -z "$as_dir" && as_dir
=.
11920 for ac_exec_ext
in '' $ac_executable_extensions; do
11921 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11922 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11923 ac_prog_rejected
=yes
11927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11934 if test $ac_prog_rejected = yes; then
11935 # We found a bogon in the path, so make sure we never use it.
11936 set dummy
$ac_cv_prog_CC
11938 if test $# != 0; then
11939 # We chose a different compiler from the bogus one.
11940 # However, it has the same basename, so the bogon will be chosen
11941 # first if we set CC to just the basename; use the full file name.
11943 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
11949 if test -n "$CC"; then
11950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11951 $as_echo "$CC" >&6; }
11953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11954 $as_echo "no" >&6; }
11959 if test -z "$CC"; then
11960 if test -n "$ac_tool_prefix"; then
11961 for ac_prog
in cl.exe
11963 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11964 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11966 $as_echo_n "checking for $ac_word... " >&6; }
11967 if ${ac_cv_prog_CC+:} false
; then :
11968 $as_echo_n "(cached) " >&6
11970 if test -n "$CC"; then
11971 ac_cv_prog_CC
="$CC" # Let the user override the test.
11973 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11974 for as_dir
in $PATH
11977 test -z "$as_dir" && as_dir
=.
11978 for ac_exec_ext
in '' $ac_executable_extensions; do
11979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11980 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
11981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11991 if test -n "$CC"; then
11992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11993 $as_echo "$CC" >&6; }
11995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11996 $as_echo "no" >&6; }
12000 test -n "$CC" && break
12003 if test -z "$CC"; then
12005 for ac_prog
in cl.exe
12007 # Extract the first word of "$ac_prog", so it can be a program name with args.
12008 set dummy
$ac_prog; ac_word
=$2
12009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12010 $as_echo_n "checking for $ac_word... " >&6; }
12011 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
12012 $as_echo_n "(cached) " >&6
12014 if test -n "$ac_ct_CC"; then
12015 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12017 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12018 for as_dir
in $PATH
12021 test -z "$as_dir" && as_dir
=.
12022 for ac_exec_ext
in '' $ac_executable_extensions; do
12023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12024 ac_cv_prog_ac_ct_CC
="$ac_prog"
12025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12034 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12035 if test -n "$ac_ct_CC"; then
12036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12037 $as_echo "$ac_ct_CC" >&6; }
12039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12040 $as_echo "no" >&6; }
12044 test -n "$ac_ct_CC" && break
12047 if test "x$ac_ct_CC" = x
; then
12050 case $cross_compiling:$ac_tool_warned in
12052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12053 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12054 ac_tool_warned
=yes ;;
12063 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12064 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12065 as_fn_error $?
"no acceptable C compiler found in \$PATH
12066 See \`config.log' for more details" "$LINENO" 5; }
12068 # Provide some information about the compiler.
12069 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12072 for ac_option
in --version -v -V -qversion; do
12073 { { ac_try
="$ac_compiler $ac_option >&5"
12074 case "(($ac_try" in
12075 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12076 *) ac_try_echo=$ac_try;;
12078 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12079 $as_echo "$ac_try_echo"; } >&5
12080 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12082 if test -s conftest.err; then
12084 ... rest of stderr output deleted ...
12085 10q' conftest.err >conftest.er1
12086 cat conftest.er1 >&5
12088 rm -f conftest.er1 conftest.err
12089 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12090 test $ac_status = 0; }
12093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12094 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12095 if ${ac_cv_c_compiler_gnu+:} false; then :
12096 $as_echo_n "(cached) " >&6
12098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12099 /* end confdefs.h. */
12112 if ac_fn_c_try_compile "$LINENO"; then :
12113 ac_compiler_gnu=yes
12117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12118 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12122 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12123 if test $ac_compiler_gnu = yes; then
12128 ac_test_CFLAGS=${CFLAGS+set}
12129 ac_save_CFLAGS=$CFLAGS
12130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12131 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12132 if ${ac_cv_prog_cc_g+:} false; then :
12133 $as_echo_n "(cached) " >&6
12135 ac_save_c_werror_flag=$ac_c_werror_flag
12136 ac_c_werror_flag=yes
12139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12140 /* end confdefs.h. */
12150 if ac_fn_c_try_compile "$LINENO"; then :
12151 ac_cv_prog_cc_g=yes
12154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12155 /* end confdefs.h. */
12165 if ac_fn_c_try_compile "$LINENO"; then :
12168 ac_c_werror_flag=$ac_save_c_werror_flag
12170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12171 /* end confdefs.h. */
12181 if ac_fn_c_try_compile "$LINENO"; then :
12182 ac_cv_prog_cc_g=yes
12184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12189 ac_c_werror_flag=$ac_save_c_werror_flag
12191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12192 $as_echo "$ac_cv_prog_cc_g" >&6; }
12193 if test "$ac_test_CFLAGS" = set; then
12194 CFLAGS=$ac_save_CFLAGS
12195 elif test $ac_cv_prog_cc_g = yes; then
12196 if test "$GCC" = yes; then
12202 if test "$GCC" = yes; then
12208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12209 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12210 if ${ac_cv_prog_cc_c89+:} false; then :
12211 $as_echo_n "(cached) " >&6
12213 ac_cv_prog_cc_c89=no
12215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12216 /* end confdefs.h. */
12217 #include <stdarg.h>
12219 #include <sys/types.h>
12220 #include <sys/stat.h>
12221 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12222 struct buf { int x; };
12223 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12224 static char *e (p, i)
12230 static char *f (char * (*g) (char **, int), char **p, ...)
12235 s = g (p, va_arg (v,int));
12240 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12241 function prototypes and stuff, but not '\xHH' hex character constants.
12242 These don't provoke an error unfortunately, instead are silently treated
12243 as 'x'. The following induces an error, until -std is added to get
12244 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12245 array size at least. It's necessary to write '\x00'==0 to get something
12246 that's true only with -std. */
12247 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12249 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12250 inside strings and character constants. */
12252 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12254 int test (int i, double x);
12255 struct s1 {int (*f) (int a);};
12256 struct s2 {int (*f) (double a);};
12257 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12263 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12268 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12269 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12271 CC="$ac_save_CC $ac_arg"
12272 if ac_fn_c_try_compile "$LINENO"; then :
12273 ac_cv_prog_cc_c89=$ac_arg
12275 rm -f core conftest.err conftest.$ac_objext
12276 test "x$ac_cv_prog_cc_c89" != "xno" && break
12278 rm -f conftest.$ac_ext
12283 case "x$ac_cv_prog_cc_c89" in
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12286 $as_echo "none needed" >&6; } ;;
12288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12289 $as_echo "unsupported" >&6; } ;;
12291 CC="$CC $ac_cv_prog_cc_c89"
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12293 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12295 if test "x$ac_cv_prog_cc_c89" != xno; then :
12300 ac_cpp='$CPP $CPPFLAGS'
12301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12306 ac_cpp='$CXXCPP $CPPFLAGS'
12307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12310 if test -z "$CXX"; then
12311 if test -n "$CCC"; then
12314 if test -n "$ac_tool_prefix"; then
12315 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12317 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12318 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12320 $as_echo_n "checking for $ac_word... " >&6; }
12321 if ${ac_cv_prog_CXX+:} false; then :
12322 $as_echo_n "(cached) " >&6
12324 if test -n "$CXX"; then
12325 ac_cv_prog_CXX="$CXX" # Let the user override the test.
12327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12328 for as_dir in $PATH
12331 test -z "$as_dir" && as_dir=.
12332 for ac_exec_ext in '' $ac_executable_extensions; do
12333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12334 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
12335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12344 CXX=$ac_cv_prog_CXX
12345 if test -n "$CXX"; then
12346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
12347 $as_echo "$CXX" >&6; }
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12350 $as_echo "no" >&6; }
12354 test -n "$CXX" && break
12357 if test -z "$CXX"; then
12359 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12361 # Extract the first word of "$ac_prog", so it can be a program name with args.
12362 set dummy $ac_prog; ac_word=$2
12363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12364 $as_echo_n "checking for $ac_word... " >&6; }
12365 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
12366 $as_echo_n "(cached) " >&6
12368 if test -n "$ac_ct_CXX"; then
12369 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
12371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12372 for as_dir in $PATH
12375 test -z "$as_dir" && as_dir=.
12376 for ac_exec_ext in '' $ac_executable_extensions; do
12377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12378 ac_cv_prog_ac_ct_CXX="$ac_prog"
12379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12388 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
12389 if test -n "$ac_ct_CXX"; then
12390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
12391 $as_echo "$ac_ct_CXX" >&6; }
12393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12394 $as_echo "no" >&6; }
12398 test -n "$ac_ct_CXX" && break
12401 if test "x$ac_ct_CXX" = x; then
12404 case $cross_compiling:$ac_tool_warned in
12406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12407 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12408 ac_tool_warned=yes ;;
12416 # Provide some information about the compiler.
12417 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
12420 for ac_option in --version -v -V -qversion; do
12421 { { ac_try="$ac_compiler $ac_option >&5"
12422 case "(($ac_try" in
12423 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12424 *) ac_try_echo
=$ac_try;;
12426 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12427 $as_echo "$ac_try_echo"; } >&5
12428 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12430 if test -s conftest.err
; then
12432 ... rest of stderr output deleted ...
12433 10q' conftest.err
>conftest.er1
12434 cat conftest.er1
>&5
12436 rm -f conftest.er1 conftest.err
12437 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12438 test $ac_status = 0; }
12441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
12442 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
12443 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
12444 $as_echo_n "(cached) " >&6
12446 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12447 /* end confdefs.h. */
12460 if ac_fn_cxx_try_compile
"$LINENO"; then :
12461 ac_compiler_gnu
=yes
12465 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12466 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
12469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
12470 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
12471 if test $ac_compiler_gnu = yes; then
12476 ac_test_CXXFLAGS
=${CXXFLAGS+set}
12477 ac_save_CXXFLAGS
=$CXXFLAGS
12478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
12479 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
12480 if ${ac_cv_prog_cxx_g+:} false
; then :
12481 $as_echo_n "(cached) " >&6
12483 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
12484 ac_cxx_werror_flag
=yes
12485 ac_cv_prog_cxx_g
=no
12487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12488 /* end confdefs.h. */
12498 if ac_fn_cxx_try_compile
"$LINENO"; then :
12499 ac_cv_prog_cxx_g
=yes
12502 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12503 /* end confdefs.h. */
12513 if ac_fn_cxx_try_compile
"$LINENO"; then :
12516 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
12518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12519 /* end confdefs.h. */
12529 if ac_fn_cxx_try_compile
"$LINENO"; then :
12530 ac_cv_prog_cxx_g
=yes
12532 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12534 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12536 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12537 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
12539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
12540 $as_echo "$ac_cv_prog_cxx_g" >&6; }
12541 if test "$ac_test_CXXFLAGS" = set; then
12542 CXXFLAGS
=$ac_save_CXXFLAGS
12543 elif test $ac_cv_prog_cxx_g = yes; then
12544 if test "$GXX" = yes; then
12550 if test "$GXX" = yes; then
12557 ac_cpp
='$CPP $CPPFLAGS'
12558 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12559 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12560 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12562 depcc
="$CXX" am_compiler_list
=
12564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12565 $as_echo_n "checking dependency style of $depcc... " >&6; }
12566 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
12567 $as_echo_n "(cached) " >&6
12569 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12570 # We make a subdir and do the tests there. Otherwise we can end up
12571 # making bogus files that we don't know about and never remove. For
12572 # instance it was reported that on HP-UX the gcc test will end up
12573 # making a dummy file named `D' -- because `-MD' means `put the output
12576 # Copy depcomp to subdir because otherwise we won't find it if we're
12577 # using a relative directory.
12578 cp "$am_depcomp" conftest.dir
12580 # We will build objects and dependencies in a subdirectory because
12581 # it helps to detect inapplicable dependency modes. For instance
12582 # both Tru64's cc and ICC support -MD to output dependencies as a
12583 # side effect of compilation, but ICC will put the dependencies in
12584 # the current directory while Tru64 will put them in the object
12588 am_cv_CXX_dependencies_compiler_type
=none
12589 if test "$am_compiler_list" = ""; then
12590 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12592 am__universal
=false
12593 case " $depcc " in #(
12594 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
12597 for depmode
in $am_compiler_list; do
12598 # Setup a source with many dependencies, because some compilers
12599 # like to wrap large dependency lists on column 80 (with \), and
12600 # we should not choose a depcomp mode which is confused by this.
12602 # We need to recreate these files for each test, as the compiler may
12603 # overwrite some of them when testing with obscure command lines.
12604 # This happens at least with the AIX C compiler.
12606 for i
in 1 2 3 4 5 6; do
12607 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
12608 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12609 # Solaris 8's {/usr,}/bin/sh.
12610 touch sub
/conftst
$i.h
12612 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12614 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12615 # mode. It turns out that the SunPro C++ compiler does not properly
12616 # handle `-M -o', and we need to detect this. Also, some Intel
12617 # versions had trouble with output in subdirs
12618 am__obj
=sub
/conftest.
${OBJEXT-o}
12619 am__minus_obj
="-o $am__obj"
12622 # This depmode causes a compiler race in universal mode.
12623 test "$am__universal" = false ||
continue
12626 # after this tag, mechanisms are not by side-effect, so they'll
12627 # only be used when explicitly requested
12628 if test "x$enable_dependency_tracking" = xyes
; then
12634 msvisualcpp | msvcmsys
)
12635 # This compiler won't grok `-c -o', but also, the minuso test has
12636 # not run yet. These depmodes are late enough in the game, and
12637 # so weak that their functioning should not be impacted.
12638 am__obj
=conftest.
${OBJEXT-o}
12643 if depmode
=$depmode \
12644 source=sub
/conftest.c object
=$am__obj \
12645 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
12646 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
12647 >/dev
/null
2>conftest.err
&&
12648 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
12649 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
12650 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
12651 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
12652 # icc doesn't choke on unknown options, it will just issue warnings
12653 # or remarks (even with -Werror). So we grep stderr for any message
12654 # that says an option was ignored or not supported.
12655 # When given -MP, icc 7.0 and 7.1 complain thusly:
12656 # icc: Command line warning: ignoring option '-M'; no argument required
12657 # The diagnosis changed in icc 8.0:
12658 # icc: Command line remark: option '-MP' not supported
12659 if (grep 'ignoring option' conftest.err ||
12660 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
12661 am_cv_CXX_dependencies_compiler_type
=$depmode
12668 rm -rf conftest.dir
12670 am_cv_CXX_dependencies_compiler_type
=none
12674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
12675 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
12676 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
12679 test "x$enable_dependency_tracking" != xno \
12680 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
12681 am__fastdepCXX_TRUE
=
12682 am__fastdepCXX_FALSE
='#'
12684 am__fastdepCXX_TRUE
='#'
12685 am__fastdepCXX_FALSE
=
12691 func_stripname_cnf
()
12694 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
12695 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
12697 } # func_stripname_cnf
12699 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12700 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12701 (test "X$CXX" != "Xg++"))) ; then
12703 ac_cpp
='$CXXCPP $CPPFLAGS'
12704 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12705 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12706 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12708 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12709 if test -z "$CXXCPP"; then
12710 if ${ac_cv_prog_CXXCPP+:} false
; then :
12711 $as_echo_n "(cached) " >&6
12713 # Double quotes because CXXCPP needs to be expanded
12714 for CXXCPP
in "$CXX -E" "/lib/cpp"
12716 ac_preproc_ok
=false
12717 for ac_cxx_preproc_warn_flag
in '' yes
12719 # Use a header file that comes with gcc, so configuring glibc
12720 # with a fresh cross-compiler works.
12721 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12722 # <limits.h> exists even on freestanding compilers.
12723 # On the NeXT, cc -E runs the code through the compiler's parser,
12724 # not just through cpp. "Syntax error" is here to catch this case.
12725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12726 /* end confdefs.h. */
12728 # include <limits.h>
12730 # include <assert.h>
12734 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12737 # Broken: fails on valid input.
12740 rm -f conftest.err conftest.i conftest.
$ac_ext
12742 # OK, works on sane cases. Now check whether nonexistent headers
12743 # can be detected and how.
12744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12745 /* end confdefs.h. */
12746 #include <ac_nonexistent.h>
12748 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12749 # Broken: success on invalid input.
12752 # Passes both tests.
12756 rm -f conftest.err conftest.i conftest.
$ac_ext
12759 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12760 rm -f conftest.i conftest.err conftest.
$ac_ext
12761 if $ac_preproc_ok; then :
12766 ac_cv_prog_CXXCPP
=$CXXCPP
12769 CXXCPP
=$ac_cv_prog_CXXCPP
12771 ac_cv_prog_CXXCPP
=$CXXCPP
12773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12774 $as_echo "$CXXCPP" >&6; }
12775 ac_preproc_ok
=false
12776 for ac_cxx_preproc_warn_flag
in '' yes
12778 # Use a header file that comes with gcc, so configuring glibc
12779 # with a fresh cross-compiler works.
12780 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12781 # <limits.h> exists even on freestanding compilers.
12782 # On the NeXT, cc -E runs the code through the compiler's parser,
12783 # not just through cpp. "Syntax error" is here to catch this case.
12784 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12785 /* end confdefs.h. */
12787 # include <limits.h>
12789 # include <assert.h>
12793 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12796 # Broken: fails on valid input.
12799 rm -f conftest.err conftest.i conftest.
$ac_ext
12801 # OK, works on sane cases. Now check whether nonexistent headers
12802 # can be detected and how.
12803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12804 /* end confdefs.h. */
12805 #include <ac_nonexistent.h>
12807 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12808 # Broken: success on invalid input.
12811 # Passes both tests.
12815 rm -f conftest.err conftest.i conftest.
$ac_ext
12818 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12819 rm -f conftest.i conftest.err conftest.
$ac_ext
12820 if $ac_preproc_ok; then :
12823 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12824 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12825 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
12826 See \`config.log' for more details" "$LINENO" 5; }
12830 ac_cpp
='$CPP $CPPFLAGS'
12831 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12832 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12833 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12836 _lt_caught_CXX_error
=yes
12840 ac_cpp
='$CXXCPP $CPPFLAGS'
12841 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12842 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12843 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12845 archive_cmds_need_lc_CXX
=no
12846 allow_undefined_flag_CXX
=
12847 always_export_symbols_CXX
=no
12848 archive_expsym_cmds_CXX
=
12849 compiler_needs_object_CXX
=no
12850 export_dynamic_flag_spec_CXX
=
12851 hardcode_direct_CXX
=no
12852 hardcode_direct_absolute_CXX
=no
12853 hardcode_libdir_flag_spec_CXX
=
12854 hardcode_libdir_flag_spec_ld_CXX
=
12855 hardcode_libdir_separator_CXX
=
12856 hardcode_minus_L_CXX
=no
12857 hardcode_shlibpath_var_CXX
=unsupported
12858 hardcode_automatic_CXX
=no
12859 inherit_rpath_CXX
=no
12861 module_expsym_cmds_CXX
=
12862 link_all_deplibs_CXX
=unknown
12863 old_archive_cmds_CXX
=$old_archive_cmds
12864 reload_flag_CXX
=$reload_flag
12865 reload_cmds_CXX
=$reload_cmds
12866 no_undefined_flag_CXX
=
12867 whole_archive_flag_spec_CXX
=
12868 enable_shared_with_static_runtimes_CXX
=no
12870 # Source file extension for C++ test sources.
12873 # Object file extension for compiled C++ test sources.
12877 # No sense in running all these tests if we already determined that
12878 # the CXX compiler isn't working. Some variables (like enable_shared)
12879 # are currently assumed to apply to all compilers on this platform,
12880 # and will be corrupted by setting them based on a non-working compiler.
12881 if test "$_lt_caught_CXX_error" != yes; then
12882 # Code to be used in simple compile tests
12883 lt_simple_compile_test_code
="int some_variable = 0;"
12885 # Code to be used in simple link tests
12886 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12888 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12895 # If no C compiler was specified, use CC.
12898 # If no C compiler flags were specified, use CFLAGS.
12899 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12901 # Allow CC to be a program name with arguments.
12905 # save warnings/boilerplate of simple test code
12906 ac_outfile
=conftest.
$ac_objext
12907 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12908 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12909 _lt_compiler_boilerplate
=`cat conftest.err`
12912 ac_outfile
=conftest.
$ac_objext
12913 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12914 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12915 _lt_linker_boilerplate
=`cat conftest.err`
12919 # Allow CC to be a program name with arguments.
12921 lt_save_CFLAGS
=$CFLAGS
12925 lt_save_with_gnu_ld
=$with_gnu_ld
12926 lt_save_path_LD
=$lt_cv_path_LD
12927 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12928 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12930 $as_unset lt_cv_prog_gnu_ld
12932 if test -n "${lt_cv_path_LDCXX+set}"; then
12933 lt_cv_path_LD
=$lt_cv_path_LDCXX
12935 $as_unset lt_cv_path_LD
12937 test -z "${LDCXX+set}" || LD
=$LDCXX
12942 for cc_temp
in $compiler""; do
12944 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12945 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12950 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12953 if test -n "$compiler"; then
12954 # We don't want -fno-exception when compiling C++ code, so set the
12955 # no_builtin_flag separately
12956 if test "$GXX" = yes; then
12957 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12959 lt_prog_compiler_no_builtin_flag_CXX
=
12962 if test "$GXX" = yes; then
12963 # Set up default GNU C++ configuration
12967 # Check whether --with-gnu-ld was given.
12968 if test "${with_gnu_ld+set}" = set; then :
12969 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12975 if test "$GCC" = yes; then
12976 # Check if gcc -print-prog-name=ld gives a path.
12977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12978 $as_echo_n "checking for ld used by $CC... " >&6; }
12981 # gcc leaves a trailing carriage return which upsets mingw
12982 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12984 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12987 # Accept absolute paths.
12989 re_direlt
='/[^/][^/]*/\.\./'
12990 # Canonicalize the pathname of ld
12991 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12992 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12993 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12995 test -z "$LD" && LD
="$ac_prog"
12998 # If it fails, then pretend we aren't using GCC.
13002 # If it is relative, then search for the first ld in PATH.
13003 with_gnu_ld
=unknown
13006 elif test "$with_gnu_ld" = yes; then
13007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13008 $as_echo_n "checking for GNU ld... " >&6; }
13010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13011 $as_echo_n "checking for non-GNU ld... " >&6; }
13013 if ${lt_cv_path_LD+:} false
; then :
13014 $as_echo_n "(cached) " >&6
13016 if test -z "$LD"; then
13017 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
13018 for ac_dir
in $PATH; do
13020 test -z "$ac_dir" && ac_dir
=.
13021 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
13022 lt_cv_path_LD
="$ac_dir/$ac_prog"
13023 # Check to see if the program is GNU ld. I'd rather use --version,
13024 # but apparently some variants of GNU ld only accept -v.
13025 # Break only if it was the GNU/non-GNU ld that we prefer.
13026 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13027 *GNU
* |
*'with BFD'*)
13028 test "$with_gnu_ld" != no
&& break
13031 test "$with_gnu_ld" != yes && break
13038 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
13042 LD
="$lt_cv_path_LD"
13043 if test -n "$LD"; then
13044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13045 $as_echo "$LD" >&6; }
13047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13048 $as_echo "no" >&6; }
13050 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
13051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13052 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13053 if ${lt_cv_prog_gnu_ld+:} false
; then :
13054 $as_echo_n "(cached) " >&6
13056 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13057 case `$LD -v 2>&1 </dev/null` in
13058 *GNU
* |
*'with BFD'*)
13059 lt_cv_prog_gnu_ld
=yes
13062 lt_cv_prog_gnu_ld
=no
13066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13067 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13068 with_gnu_ld
=$lt_cv_prog_gnu_ld
13076 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13077 # archiving commands below assume that GNU ld is being used.
13078 if test "$with_gnu_ld" = yes; then
13079 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13080 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'
13082 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13083 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13085 # If archive_cmds runs LD, not CC, wlarc should be empty
13086 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13087 # investigate it a little bit more. (MM)
13090 # ancient GNU ld didn't support --whole-archive et. al.
13091 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13092 $GREP 'no-whole-archive' > /dev
/null
; then
13093 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13095 whole_archive_flag_spec_CXX
=
13101 # A generic and very simple default shared library creation
13102 # command for GNU C++ for the case where it uses the native
13103 # linker, instead of GNU ld. If possible, this setting should
13104 # overridden to take advantage of the native linker features on
13105 # the platform it is being used on.
13106 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13109 # Commands to make compiler produce verbose output that lists
13110 # what "hidden" libraries, object files and flags are used when
13111 # linking a shared library.
13112 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13120 # PORTME: fill in a description of your system's C++ link characteristics
13121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13122 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13126 # FIXME: insert proper C++ library support
13130 if test "$host_cpu" = ia64
; then
13131 # On IA64, the linker does run time linking by default, so we don't
13132 # have to do anything special.
13133 aix_use_runtimelinking
=no
13134 exp_sym_flag
='-Bexport'
13137 aix_use_runtimelinking
=no
13139 # Test if we are trying to use run time linking or normal
13140 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13141 # need to do runtime linking.
13142 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13143 for ld_flag
in $LDFLAGS; do
13146 aix_use_runtimelinking
=yes
13154 exp_sym_flag
='-bexport'
13155 no_entry_flag
='-bnoentry'
13158 # When large executables or shared objects are built, AIX ld can
13159 # have problems creating the table of contents. If linking a library
13160 # or program results in "error TOC overflow" add -mminimal-toc to
13161 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13162 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13164 archive_cmds_CXX
=''
13165 hardcode_direct_CXX
=yes
13166 hardcode_direct_absolute_CXX
=yes
13167 hardcode_libdir_separator_CXX
=':'
13168 link_all_deplibs_CXX
=yes
13169 file_list_spec_CXX
='${wl}-f,'
13171 if test "$GXX" = yes; then
13172 case $host_os in aix4.
[012]|aix4.
[012].
*)
13173 # We only want to do this on AIX 4.2 and lower, the check
13174 # below for broken collect2 doesn't work under 4.3+
13175 collect2name
=`${CC} -print-prog-name=collect2`
13176 if test -f "$collect2name" &&
13177 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
13179 # We have reworked collect2
13182 # We have old collect2
13183 hardcode_direct_CXX
=unsupported
13184 # It fails to find uninstalled libraries when the uninstalled
13185 # path is not listed in the libpath. Setting hardcode_minus_L
13186 # to unsupported forces relinking
13187 hardcode_minus_L_CXX
=yes
13188 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13189 hardcode_libdir_separator_CXX
=
13192 shared_flag
='-shared'
13193 if test "$aix_use_runtimelinking" = yes; then
13194 shared_flag
="$shared_flag "'${wl}-G'
13198 if test "$host_cpu" = ia64
; then
13199 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13200 # chokes on -Wl,-G. The following line is correct:
13203 if test "$aix_use_runtimelinking" = yes; then
13204 shared_flag
='${wl}-G'
13206 shared_flag
='${wl}-bM:SRE'
13211 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
13212 # It seems that -bexpall does not export symbols beginning with
13213 # underscore (_), so it is better to generate a list of symbols to
13215 always_export_symbols_CXX
=yes
13216 if test "$aix_use_runtimelinking" = yes; then
13217 # Warning - without using the other runtime loading flags (-brtl),
13218 # -berok will link without error, but may produce a broken library.
13219 allow_undefined_flag_CXX
='-berok'
13220 # Determine the default libpath from the value encoded in an empty
13222 if test "${lt_cv_aix_libpath+set}" = set; then
13223 aix_libpath
=$lt_cv_aix_libpath
13225 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13226 $as_echo_n "(cached) " >&6
13228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13229 /* end confdefs.h. */
13239 if ac_fn_cxx_try_link
"$LINENO"; then :
13241 lt_aix_libpath_sed
='
13242 /Import File Strings/,/^$/ {
13244 s/^0 *\([^ ]*\) *$/\1/
13248 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13249 # Check for a 64-bit object if we didn't find anything.
13250 if test -z "$lt_cv_aix_libpath__CXX"; then
13251 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13254 rm -f core conftest.err conftest.
$ac_objext \
13255 conftest
$ac_exeext conftest.
$ac_ext
13256 if test -z "$lt_cv_aix_libpath__CXX"; then
13257 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
13262 aix_libpath
=$lt_cv_aix_libpath__CXX
13265 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13267 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"
13269 if test "$host_cpu" = ia64
; then
13270 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
13271 allow_undefined_flag_CXX
="-z nodefs"
13272 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"
13274 # Determine the default libpath from the value encoded in an
13275 # empty executable.
13276 if test "${lt_cv_aix_libpath+set}" = set; then
13277 aix_libpath
=$lt_cv_aix_libpath
13279 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13280 $as_echo_n "(cached) " >&6
13282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13283 /* end confdefs.h. */
13293 if ac_fn_cxx_try_link
"$LINENO"; then :
13295 lt_aix_libpath_sed
='
13296 /Import File Strings/,/^$/ {
13298 s/^0 *\([^ ]*\) *$/\1/
13302 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13303 # Check for a 64-bit object if we didn't find anything.
13304 if test -z "$lt_cv_aix_libpath__CXX"; then
13305 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13308 rm -f core conftest.err conftest.
$ac_objext \
13309 conftest
$ac_exeext conftest.
$ac_ext
13310 if test -z "$lt_cv_aix_libpath__CXX"; then
13311 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
13316 aix_libpath
=$lt_cv_aix_libpath__CXX
13319 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13320 # Warning - without using the other run time loading flags,
13321 # -berok will link without error, but may produce a broken library.
13322 no_undefined_flag_CXX
=' ${wl}-bernotok'
13323 allow_undefined_flag_CXX
=' ${wl}-berok'
13324 if test "$with_gnu_ld" = yes; then
13325 # We only use this code for GNU lds that support --whole-archive.
13326 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13328 # Exported symbols can be pulled into shared objects from archives
13329 whole_archive_flag_spec_CXX
='$convenience'
13331 archive_cmds_need_lc_CXX
=yes
13332 # This is similar to how AIX traditionally builds its shared
13334 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'
13340 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13341 allow_undefined_flag_CXX
=unsupported
13342 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13343 # support --undefined. This deserves some investigation. FIXME
13344 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13351 case $cc_basename in
13353 # FIXME: insert proper C++ library support
13359 cygwin
* | mingw
* | pw32
* | cegcc
*)
13360 case $GXX,$cc_basename in
13363 # hardcode_libdir_flag_spec is actually meaningless, as there is
13364 # no search path for DLLs.
13365 hardcode_libdir_flag_spec_CXX
=' '
13366 allow_undefined_flag_CXX
=unsupported
13367 always_export_symbols_CXX
=yes
13368 file_list_spec_CXX
='@'
13369 # Tell ltmain to make .lib files, not .a files.
13371 # Tell ltmain to make .dll files, not .so files.
13373 # FIXME: Setting linknames here is a bad hack.
13374 archive_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13375 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13376 $SED -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
13378 $SED -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
13380 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13382 # The linker will not automatically build a static lib if we build a DLL.
13383 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13384 enable_shared_with_static_runtimes_CXX
=yes
13386 old_postinstall_cmds_CXX
='chmod 644 $oldlib'
13387 postlink_cmds_CXX
='lt_outputfile="@OUTPUT@"~
13388 lt_tool_outputfile="@TOOL_OUTPUT@"~
13389 case $lt_outputfile in
13392 lt_outputfile="$lt_outputfile.exe"
13393 lt_tool_outputfile="$lt_tool_outputfile.exe"
13396 func_to_tool_file "$lt_outputfile"~
13397 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13398 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13399 $RM "$lt_outputfile.manifest";
13404 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13405 # as there is no search path for DLLs.
13406 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13407 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
13408 allow_undefined_flag_CXX
=unsupported
13409 always_export_symbols_CXX
=no
13410 enable_shared_with_static_runtimes_CXX
=yes
13412 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13413 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'
13414 # If the export-symbols file already is a .def file (1st line
13415 # is EXPORTS), use it as is; otherwise, prepend...
13416 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13417 cp $export_symbols $output_objdir/$soname.def;
13419 echo EXPORTS > $output_objdir/$soname.def;
13420 cat $export_symbols >> $output_objdir/$soname.def;
13422 $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'
13429 darwin
* | rhapsody
*)
13432 archive_cmds_need_lc_CXX
=no
13433 hardcode_direct_CXX
=no
13434 hardcode_automatic_CXX
=yes
13435 hardcode_shlibpath_var_CXX
=unsupported
13436 if test "$lt_cv_ld_force_load" = "yes"; then
13437 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\"`'
13439 whole_archive_flag_spec_CXX
=''
13441 link_all_deplibs_CXX
=yes
13442 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13443 case $cc_basename in
13444 ifort
*) _lt_dar_can_shared
=yes ;;
13445 *) _lt_dar_can_shared
=$GCC ;;
13447 if test "$_lt_dar_can_shared" = "yes"; then
13448 output_verbose_link_cmd
=func_echo_all
13449 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}"
13450 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13451 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}"
13452 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}"
13453 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13454 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}"
13455 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}"
13465 case $cc_basename in
13467 # FIXME: insert proper C++ library support
13471 # Green Hills C++ Compiler
13472 # FIXME: insert proper C++ library support
13476 # FIXME: insert proper C++ library support
13483 # C++ shared libraries reported to be fairly broken before
13489 archive_cmds_need_lc_CXX
=no
13492 freebsd
* | dragonfly
*)
13493 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13502 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13503 link_all_deplibs_CXX
=yes
13507 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13508 hardcode_libdir_separator_CXX
=:
13509 export_dynamic_flag_spec_CXX
='${wl}-E'
13510 hardcode_direct_CXX
=yes
13511 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13512 # but as the default
13513 # location of the library.
13515 case $cc_basename in
13517 # FIXME: insert proper C++ library support
13521 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'
13522 # Commands to make compiler produce verbose output that lists
13523 # what "hidden" libraries, object files and flags are used when
13524 # linking a shared library.
13526 # There doesn't appear to be a way to prevent this compiler from
13527 # explicitly linking system object files so we need to strip them
13528 # from the output so that they don't get included in the library
13530 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"'
13533 if test "$GXX" = yes; then
13534 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'
13536 # FIXME: insert proper C++ library support
13544 if test $with_gnu_ld = no
; then
13545 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13546 hardcode_libdir_separator_CXX
=:
13552 export_dynamic_flag_spec_CXX
='${wl}-E'
13558 hardcode_direct_CXX
=no
13559 hardcode_shlibpath_var_CXX
=no
13562 hardcode_direct_CXX
=yes
13563 hardcode_direct_absolute_CXX
=yes
13564 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13565 # but as the default
13566 # location of the library.
13570 case $cc_basename in
13572 # FIXME: insert proper C++ library support
13578 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13581 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13584 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13587 # Commands to make compiler produce verbose output that lists
13588 # what "hidden" libraries, object files and flags are used when
13589 # linking a shared library.
13591 # There doesn't appear to be a way to prevent this compiler from
13592 # explicitly linking system object files so we need to strip them
13593 # from the output so that they don't get included in the library
13595 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"'
13598 if test "$GXX" = yes; then
13599 if test $with_gnu_ld = no
; then
13602 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13605 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13608 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'
13613 # FIXME: insert proper C++ library support
13621 hardcode_direct_CXX
=no
13622 hardcode_shlibpath_var_CXX
=no
13623 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13624 export_dynamic_flag_spec_CXX
='${wl}-E'
13625 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13626 # Instead, shared libraries are loaded at an image base (0x10000000 by
13627 # default) and relocated if they conflict, which is a slow very memory
13628 # consuming and fragmenting process. To avoid this, we pick a random,
13629 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13630 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13631 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'
13632 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'
13635 case $cc_basename in
13638 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'
13640 # Archives containing C++ object files must be created using
13641 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13642 # necessary to make sure instantiated templates are included
13644 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13647 if test "$GXX" = yes; then
13648 if test "$with_gnu_ld" = no
; then
13649 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'
13651 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'
13654 link_all_deplibs_CXX
=yes
13657 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13658 hardcode_libdir_separator_CXX
=:
13659 inherit_rpath_CXX
=yes
13662 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13663 case $cc_basename in
13665 # Kuck and Associates, Inc. (KAI) C++ Compiler
13667 # KCC will only create a shared library if the output file
13668 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13669 # to its proper name (with version) after linking.
13670 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'
13671 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'
13672 # Commands to make compiler produce verbose output that lists
13673 # what "hidden" libraries, object files and flags are used when
13674 # linking a shared library.
13676 # There doesn't appear to be a way to prevent this compiler from
13677 # explicitly linking system object files so we need to strip them
13678 # from the output so that they don't get included in the library
13680 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"'
13682 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13683 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13685 # Archives containing C++ object files must be created using
13686 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13687 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13692 # version 8.0 and above of icpc choke on multiply defined symbols
13693 # if we add $predep_objects and $postdep_objects, however 7.1 and
13694 # earlier do not add the objects themselves.
13695 case `$CC -V 2>&1` in
13697 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13698 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'
13700 *) # Version 8.0 or newer
13703 ia64
*) tmp_idyn
=' -i_dynamic';;
13705 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13706 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'
13709 archive_cmds_need_lc_CXX
=no
13710 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13711 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13712 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13715 # Portland Group C++ compiler
13717 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
13718 prelink_cmds_CXX
='tpldir=Template.dir~
13720 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13721 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13722 old_archive_cmds_CXX
='tpldir=Template.dir~
13724 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13725 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13727 archive_cmds_CXX
='tpldir=Template.dir~
13729 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13730 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13731 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13733 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13734 $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'
13736 *) # Version 6 and above use weak symbols
13737 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13738 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'
13742 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13743 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13744 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'
13748 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13749 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'
13751 runpath_var
=LD_RUN_PATH
13752 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13753 hardcode_libdir_separator_CXX
=:
13755 # Commands to make compiler produce verbose output that lists
13756 # what "hidden" libraries, object files and flags are used when
13757 # linking a shared library.
13759 # There doesn't appear to be a way to prevent this compiler from
13760 # explicitly linking system object files so we need to strip them
13761 # from the output so that they don't get included in the library
13763 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'
13765 xl
* | mpixl
* | bgxl
*)
13766 # IBM XL 8.0 on PPC, with GNU ld
13767 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13768 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13769 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13770 if test "x$supports_anon_versioning" = xyes
; then
13771 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13772 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13773 echo "local: *; };" >> $output_objdir/$libname.ver~
13774 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13778 case `$CC -V 2>&1 | sed 5q` in
13781 no_undefined_flag_CXX
=' -zdefs'
13782 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13783 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'
13784 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13785 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'
13786 compiler_needs_object_CXX
=yes
13788 # Not sure whether something based on
13789 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13791 output_verbose_link_cmd
='func_echo_all'
13793 # Archives containing C++ object files must be created using
13794 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13795 # necessary to make sure instantiated templates are included
13797 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13805 # FIXME: insert proper C++ library support
13810 # FIXME: insert proper C++ library support
13815 case $cc_basename in
13817 # FIXME: insert proper C++ library support
13821 # FIXME: insert proper C++ library support
13828 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13829 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13831 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13832 hardcode_direct_CXX
=yes
13833 hardcode_shlibpath_var_CXX
=no
13835 # Workaround some broken pre-1.5 toolchains
13836 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13844 # C++ shared libraries are fairly broken
13849 if test -f /usr
/libexec
/ld.so
; then
13850 hardcode_direct_CXX
=yes
13851 hardcode_shlibpath_var_CXX
=no
13852 hardcode_direct_absolute_CXX
=yes
13853 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13854 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13855 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13856 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13857 export_dynamic_flag_spec_CXX
='${wl}-E'
13858 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13860 output_verbose_link_cmd
=func_echo_all
13866 osf3
* | osf4
* | osf5
*)
13867 case $cc_basename in
13869 # Kuck and Associates, Inc. (KAI) C++ Compiler
13871 # KCC will only create a shared library if the output file
13872 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13873 # to its proper name (with version) after linking.
13874 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'
13876 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13877 hardcode_libdir_separator_CXX
=:
13879 # Archives containing C++ object files must be created using
13880 # the KAI C++ compiler.
13882 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13883 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13887 # Rational C++ 2.4.1
13888 # FIXME: insert proper C++ library support
13894 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13895 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'
13896 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13899 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13900 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'
13901 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13902 echo "-hidden">> $lib.exp~
13903 $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~
13905 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13909 hardcode_libdir_separator_CXX
=:
13911 # Commands to make compiler produce verbose output that lists
13912 # what "hidden" libraries, object files and flags are used when
13913 # linking a shared library.
13915 # There doesn't appear to be a way to prevent this compiler from
13916 # explicitly linking system object files so we need to strip them
13917 # from the output so that they don't get included in the library
13919 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"'
13922 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13923 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13926 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'
13929 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'
13933 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13934 hardcode_libdir_separator_CXX
=:
13936 # Commands to make compiler produce verbose output that lists
13937 # what "hidden" libraries, object files and flags are used when
13938 # linking a shared library.
13939 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13942 # FIXME: insert proper C++ library support
13950 # FIXME: insert proper C++ library support
13955 case $cc_basename in
13958 # FIXME: insert proper C++ library support
13963 # FIXME: insert proper C++ library support
13967 # FIXME: insert proper C++ library support
13974 case $cc_basename in
13976 # Sun C++ 4.2, 5.x and Centerline C++
13977 archive_cmds_need_lc_CXX
=yes
13978 no_undefined_flag_CXX
=' -zdefs'
13979 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13980 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13981 $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'
13983 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13984 hardcode_shlibpath_var_CXX
=no
13986 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13988 # The compiler driver will combine and reorder linker options,
13989 # but understands `-z linker_flag'.
13990 # Supported since Solaris 2.6 (maybe 2.5.1?)
13991 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13994 link_all_deplibs_CXX
=yes
13996 output_verbose_link_cmd
='func_echo_all'
13998 # Archives containing C++ object files must be created using
13999 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14000 # necessary to make sure instantiated templates are included
14002 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14005 # Green Hills C++ Compiler
14006 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14008 # The C++ compiler must be used to create the archive.
14009 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14012 # GNU C++ compiler with Solaris linker
14013 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14014 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
14015 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
14016 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14017 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14018 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14020 # Commands to make compiler produce verbose output that lists
14021 # what "hidden" libraries, object files and flags are used when
14022 # linking a shared library.
14023 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14025 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14027 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14028 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14029 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14031 # Commands to make compiler produce verbose output that lists
14032 # what "hidden" libraries, object files and flags are used when
14033 # linking a shared library.
14034 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14037 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
14039 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14041 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14049 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14050 no_undefined_flag_CXX
='${wl}-z,text'
14051 archive_cmds_need_lc_CXX
=no
14052 hardcode_shlibpath_var_CXX
=no
14053 runpath_var
='LD_RUN_PATH'
14055 case $cc_basename in
14057 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14058 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14061 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14062 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14067 sysv5
* | sco3.2v5
* | sco5v6
*)
14068 # Note: We can NOT use -z defs as we might desire, because we do not
14069 # link with -lc, and that would cause any symbols used from libc to
14070 # always be unresolved, which means just about no library would
14071 # ever link correctly. If we're not using GNU ld we use -z text
14072 # though, which does catch some bad symbols but isn't as heavy-handed
14074 no_undefined_flag_CXX
='${wl}-z,text'
14075 allow_undefined_flag_CXX
='${wl}-z,nodefs'
14076 archive_cmds_need_lc_CXX
=no
14077 hardcode_shlibpath_var_CXX
=no
14078 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
14079 hardcode_libdir_separator_CXX
=':'
14080 link_all_deplibs_CXX
=yes
14081 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
14082 runpath_var
='LD_RUN_PATH'
14084 case $cc_basename in
14086 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14087 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14088 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
14089 '"$old_archive_cmds_CXX"
14090 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
14091 '"$reload_cmds_CXX"
14094 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14095 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14101 case $cc_basename in
14103 # NonStop-UX NCC 3.20
14104 # FIXME: insert proper C++ library support
14108 # FIXME: insert proper C++ library support
14115 # FIXME: insert proper C++ library support
14120 # FIXME: insert proper C++ library support
14125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14126 $as_echo "$ld_shlibs_CXX" >&6; }
14127 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14133 ## There is no encapsulation within the following macros, do not change
14134 ## the running order or otherwise move them around unless you know exactly
14135 ## what you are doing...
14136 # Dependencies to place before and after the object being linked:
14137 predep_objects_CXX
=
14138 postdep_objects_CXX
=
14141 compiler_lib_search_path_CXX
=
14143 cat > conftest.
$ac_ext <<_LT_EOF
14147 Foo (void) { a = 0; }
14154 _lt_libdeps_save_CFLAGS
=$CFLAGS
14155 case "$CC $CFLAGS " in #(
14156 *\
-flto*\
*) CFLAGS
="$CFLAGS -fno-lto" ;;
14157 *\
-fwhopr*\
*) CFLAGS
="$CFLAGS -fno-whopr" ;;
14160 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14161 (eval $ac_compile) 2>&5
14163 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14164 test $ac_status = 0; }; then
14165 # Parse the compiler output and extract the necessary
14166 # objects, libraries and library flags.
14168 # Sentinel used to keep track of whether or not we are before
14169 # the conftest object file.
14170 pre_test_object_deps_done
=no
14172 for p
in `eval "$output_verbose_link_cmd"`; do
14173 case ${prev}${p} in
14176 # Some compilers place space between "-{L,R}" and the path.
14177 # Remove the space.
14178 if test $p = "-L" ||
14179 test $p = "-R"; then
14184 # Expand the sysroot to ease extracting the directories later.
14185 if test -z "$prev"; then
14187 -L*) func_stripname_cnf
'-L' '' "$p"; prev
=-L; p
=$func_stripname_result ;;
14188 -R*) func_stripname_cnf
'-R' '' "$p"; prev
=-R; p
=$func_stripname_result ;;
14189 -l*) func_stripname_cnf
'-l' '' "$p"; prev
=-l; p
=$func_stripname_result ;;
14193 =*) func_stripname_cnf
'=' '' "$p"; p
=$lt_sysroot$func_stripname_result ;;
14195 if test "$pre_test_object_deps_done" = no
; then
14198 # Internal compiler library paths should come after those
14199 # provided the user. The postdeps already come after the
14200 # user supplied libs so there is no need to process them.
14201 if test -z "$compiler_lib_search_path_CXX"; then
14202 compiler_lib_search_path_CXX
="${prev}${p}"
14204 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
14207 # The "-l" case would never come before the object being
14208 # linked, so don't bother handling this case.
14211 if test -z "$postdeps_CXX"; then
14212 postdeps_CXX
="${prev}${p}"
14214 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
14220 *.lto.
$objext) ;; # Ignore GCC LTO objects
14222 # This assumes that the test object file only shows up
14223 # once in the compiler output.
14224 if test "$p" = "conftest.$objext"; then
14225 pre_test_object_deps_done
=yes
14229 if test "$pre_test_object_deps_done" = no
; then
14230 if test -z "$predep_objects_CXX"; then
14231 predep_objects_CXX
="$p"
14233 predep_objects_CXX
="$predep_objects_CXX $p"
14236 if test -z "$postdep_objects_CXX"; then
14237 postdep_objects_CXX
="$p"
14239 postdep_objects_CXX
="$postdep_objects_CXX $p"
14244 *) ;; # Ignore the rest.
14252 echo "libtool.m4: error: problem compiling CXX test program"
14255 $RM -f confest.
$objext
14256 CFLAGS
=$_lt_libdeps_save_CFLAGS
14258 # PORTME: override above test on systems where it is broken
14261 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14262 # hack all around it, let's just trust "g++" to DTRT.
14263 predep_objects_CXX
=
14264 postdep_objects_CXX
=
14269 case `$CC -V 2>&1 | sed 5q` in
14273 # The more standards-conforming stlport4 library is
14274 # incompatible with the Cstd library. Avoid specifying
14275 # it if it's in CXXFLAGS. Ignore libCrun as
14276 # -library=stlport4 depends on it.
14277 case " $CXX $CXXFLAGS " in
14278 *" -library=stlport4 "*)
14279 solaris_use_stlport4
=yes
14283 if test "$solaris_use_stlport4" != yes; then
14284 postdeps_CXX
='-library=Cstd -library=Crun'
14291 case $cc_basename in
14293 # The more standards-conforming stlport4 library is
14294 # incompatible with the Cstd library. Avoid specifying
14295 # it if it's in CXXFLAGS. Ignore libCrun as
14296 # -library=stlport4 depends on it.
14297 case " $CXX $CXXFLAGS " in
14298 *" -library=stlport4 "*)
14299 solaris_use_stlport4
=yes
14303 # Adding this requires a known-good setup of shared libraries for
14304 # Sun compiler versions before 5.6, else PIC objects from an old
14305 # archive will be linked into the output, leading to subtle bugs.
14306 if test "$solaris_use_stlport4" != yes; then
14307 postdeps_CXX
='-library=Cstd -library=Crun'
14315 case " $postdeps_CXX " in
14316 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14318 compiler_lib_search_dirs_CXX
=
14319 if test -n "${compiler_lib_search_path_CXX}"; then
14320 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14353 lt_prog_compiler_wl_CXX
=
14354 lt_prog_compiler_pic_CXX
=
14355 lt_prog_compiler_static_CXX
=
14358 # C++ specific cases for pic, static, wl, etc.
14359 if test "$GXX" = yes; then
14360 lt_prog_compiler_wl_CXX
='-Wl,'
14361 lt_prog_compiler_static_CXX
='-static'
14365 # All AIX code is PIC.
14366 if test "$host_cpu" = ia64
; then
14367 # AIX 5 now supports IA64 processor
14368 lt_prog_compiler_static_CXX
='-Bstatic'
14375 # see comment about AmigaOS4 .so support
14376 lt_prog_compiler_pic_CXX
='-fPIC'
14379 # FIXME: we need at least 68020 code to build shared libraries, but
14380 # adding the `-m68020' flag to GCC prevents building anything better,
14382 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14387 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14388 # PIC is the default for these OSes.
14390 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14391 # This hack is so that the source file can tell whether it is being
14392 # built for inclusion in a dll (and should export symbols for example).
14393 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14394 # (--disable-auto-import) libraries
14395 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14397 darwin
* | rhapsody
*)
14398 # PIC is the default on this platform
14399 # Common symbols not allowed in MH_DYLIB files
14400 lt_prog_compiler_pic_CXX
='-fno-common'
14403 # DJGPP does not support shared libraries at all
14404 lt_prog_compiler_pic_CXX
=
14407 # PIC is the default for Haiku.
14408 # The "-static" flag exists, but is broken.
14409 lt_prog_compiler_static_CXX
=
14412 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14413 # Instead, we relocate shared libraries at runtime.
14416 if test -d /usr
/nec
; then
14417 lt_prog_compiler_pic_CXX
=-Kconform_pic
14421 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14422 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14423 # sets the default TLS model and affects inlining.
14428 lt_prog_compiler_pic_CXX
='-fPIC'
14433 # QNX uses GNU C++, but need to define -shared option too, otherwise
14434 # it will coredump.
14435 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14438 lt_prog_compiler_pic_CXX
='-fPIC'
14444 # All AIX code is PIC.
14445 if test "$host_cpu" = ia64
; then
14446 # AIX 5 now supports IA64 processor
14447 lt_prog_compiler_static_CXX
='-Bstatic'
14449 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14453 case $cc_basename in
14455 # Green Hills C++ Compiler
14456 # _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"
14460 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14461 # This hack is so that the source file can tell whether it is being
14462 # built for inclusion in a dll (and should export symbols for example).
14463 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14466 case $cc_basename in
14468 lt_prog_compiler_pic_CXX
='-KPIC'
14471 # Green Hills C++ Compiler
14472 lt_prog_compiler_pic_CXX
='-pic'
14478 freebsd
* | dragonfly
*)
14479 # FreeBSD uses GNU C++
14481 hpux9
* | hpux10
* | hpux11
*)
14482 case $cc_basename in
14484 lt_prog_compiler_wl_CXX
='-Wl,'
14485 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14486 if test "$host_cpu" != ia64
; then
14487 lt_prog_compiler_pic_CXX
='+Z'
14491 lt_prog_compiler_wl_CXX
='-Wl,'
14492 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14498 lt_prog_compiler_pic_CXX
='+Z'
14507 # This is c89, which is MS Visual C++ (no shared libs)
14508 # Anyone wants to do a port?
14510 irix5
* | irix6
* | nonstopux
*)
14511 case $cc_basename in
14513 lt_prog_compiler_wl_CXX
='-Wl,'
14514 lt_prog_compiler_static_CXX
='-non_shared'
14515 # CC pic flag -KPIC is the default.
14521 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14522 case $cc_basename in
14525 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14526 lt_prog_compiler_pic_CXX
='-fPIC'
14529 # old Intel C++ for x86_64 which still supported -KPIC.
14530 lt_prog_compiler_wl_CXX
='-Wl,'
14531 lt_prog_compiler_pic_CXX
='-KPIC'
14532 lt_prog_compiler_static_CXX
='-static'
14535 # Intel C++, used to be incompatible with GCC.
14536 # ICC 10 doesn't accept -KPIC any more.
14537 lt_prog_compiler_wl_CXX
='-Wl,'
14538 lt_prog_compiler_pic_CXX
='-fPIC'
14539 lt_prog_compiler_static_CXX
='-static'
14542 # Portland Group C++ compiler
14543 lt_prog_compiler_wl_CXX
='-Wl,'
14544 lt_prog_compiler_pic_CXX
='-fpic'
14545 lt_prog_compiler_static_CXX
='-Bstatic'
14549 # Make sure the PIC flag is empty. It appears that all Alpha
14550 # Linux and Compaq Tru64 Unix objects are PIC.
14551 lt_prog_compiler_pic_CXX
=
14552 lt_prog_compiler_static_CXX
='-non_shared'
14554 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14555 # IBM XL 8.0, 9.0 on PPC and BlueGene
14556 lt_prog_compiler_wl_CXX
='-Wl,'
14557 lt_prog_compiler_pic_CXX
='-qpic'
14558 lt_prog_compiler_static_CXX
='-qstaticlink'
14561 case `$CC -V 2>&1 | sed 5q` in
14564 lt_prog_compiler_pic_CXX
='-KPIC'
14565 lt_prog_compiler_static_CXX
='-Bstatic'
14566 lt_prog_compiler_wl_CXX
='-Qoption ld '
14577 case $cc_basename in
14579 lt_prog_compiler_pic_CXX
='-W c,exportall'
14588 # QNX uses GNU C++, but need to define -shared option too, otherwise
14589 # it will coredump.
14590 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14592 osf3
* | osf4
* | osf5
*)
14593 case $cc_basename in
14595 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14598 # Rational C++ 2.4.1
14599 lt_prog_compiler_pic_CXX
='-pic'
14602 # Digital/Compaq C++
14603 lt_prog_compiler_wl_CXX
='-Wl,'
14604 # Make sure the PIC flag is empty. It appears that all Alpha
14605 # Linux and Compaq Tru64 Unix objects are PIC.
14606 lt_prog_compiler_pic_CXX
=
14607 lt_prog_compiler_static_CXX
='-non_shared'
14616 case $cc_basename in
14618 # Sun C++ 4.2, 5.x and Centerline C++
14619 lt_prog_compiler_pic_CXX
='-KPIC'
14620 lt_prog_compiler_static_CXX
='-Bstatic'
14621 lt_prog_compiler_wl_CXX
='-Qoption ld '
14624 # Green Hills C++ Compiler
14625 lt_prog_compiler_pic_CXX
='-PIC'
14632 case $cc_basename in
14635 lt_prog_compiler_pic_CXX
='-pic'
14636 lt_prog_compiler_static_CXX
='-Bstatic'
14640 lt_prog_compiler_pic_CXX
='-pic'
14646 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14647 case $cc_basename in
14649 lt_prog_compiler_wl_CXX
='-Wl,'
14650 lt_prog_compiler_pic_CXX
='-KPIC'
14651 lt_prog_compiler_static_CXX
='-Bstatic'
14656 case $cc_basename in
14658 # NonStop-UX NCC 3.20
14659 lt_prog_compiler_pic_CXX
='-KPIC'
14668 lt_prog_compiler_can_build_shared_CXX
=no
14674 # For platforms which do not support PIC, -DPIC is meaningless:
14676 lt_prog_compiler_pic_CXX
=
14679 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14684 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14685 if ${lt_cv_prog_compiler_pic_CXX+:} false
; then :
14686 $as_echo_n "(cached) " >&6
14688 lt_cv_prog_compiler_pic_CXX
=$lt_prog_compiler_pic_CXX
14690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14691 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14692 lt_prog_compiler_pic_CXX
=$lt_cv_prog_compiler_pic_CXX
14695 # Check to make sure the PIC flag actually works.
14697 if test -n "$lt_prog_compiler_pic_CXX"; then
14698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14699 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14700 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
14701 $as_echo_n "(cached) " >&6
14703 lt_cv_prog_compiler_pic_works_CXX
=no
14704 ac_outfile
=conftest.
$ac_objext
14705 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14706 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14707 # Insert the option either (1) after the last *FLAGS variable, or
14708 # (2) before a word containing "conftest.", or (3) at the end.
14709 # Note that $ac_compile itself does not contain backslashes and begins
14710 # with a dollar sign (not a hyphen), so the echo should work correctly.
14711 # The option is referenced via a variable to avoid confusing sed.
14712 lt_compile
=`echo "$ac_compile" | $SED \
14713 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14714 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14715 -e 's:$: $lt_compiler_flag:'`
14716 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14717 (eval "$lt_compile" 2>conftest.err
)
14719 cat conftest.err
>&5
14720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14721 if (exit $ac_status) && test -s "$ac_outfile"; then
14722 # The compiler can only warn and ignore the option if not recognized
14723 # So say no if there are warnings other than the usual output.
14724 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
14725 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14726 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14727 lt_cv_prog_compiler_pic_works_CXX
=yes
14733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14734 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14736 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14737 case $lt_prog_compiler_pic_CXX in
14739 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14742 lt_prog_compiler_pic_CXX
=
14743 lt_prog_compiler_can_build_shared_CXX
=no
14753 # Check to make sure the static flag actually works.
14755 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14757 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14758 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
14759 $as_echo_n "(cached) " >&6
14761 lt_cv_prog_compiler_static_works_CXX
=no
14762 save_LDFLAGS
="$LDFLAGS"
14763 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14764 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14765 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14766 # The linker can only warn and ignore the option if not recognized
14767 # So say no if there are warnings
14768 if test -s conftest.err
; then
14769 # Append any errors to the config.log.
14770 cat conftest.err
1>&5
14771 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
14772 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14773 if diff conftest.exp conftest.er2
>/dev
/null
; then
14774 lt_cv_prog_compiler_static_works_CXX
=yes
14777 lt_cv_prog_compiler_static_works_CXX
=yes
14781 LDFLAGS
="$save_LDFLAGS"
14784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14785 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14787 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14790 lt_prog_compiler_static_CXX
=
14796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14797 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14798 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14799 $as_echo_n "(cached) " >&6
14801 lt_cv_prog_compiler_c_o_CXX
=no
14802 $RM -r conftest
2>/dev
/null
14806 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14808 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14809 # Insert the option either (1) after the last *FLAGS variable, or
14810 # (2) before a word containing "conftest.", or (3) at the end.
14811 # Note that $ac_compile itself does not contain backslashes and begins
14812 # with a dollar sign (not a hyphen), so the echo should work correctly.
14813 lt_compile
=`echo "$ac_compile" | $SED \
14814 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14815 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14816 -e 's:$: $lt_compiler_flag:'`
14817 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14818 (eval "$lt_compile" 2>out
/conftest.err
)
14820 cat out
/conftest.err
>&5
14821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14822 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14824 # The compiler can only warn and ignore the option if not recognized
14825 # So say no if there are warnings
14826 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14827 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14828 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14829 lt_cv_prog_compiler_c_o_CXX
=yes
14834 # SGI C++ compiler will create directory out/ii_files/ for
14835 # template instantiation
14836 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14837 $RM out
/* && rmdir out
14843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14844 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14849 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14850 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14851 $as_echo_n "(cached) " >&6
14853 lt_cv_prog_compiler_c_o_CXX
=no
14854 $RM -r conftest
2>/dev
/null
14858 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14860 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14861 # Insert the option either (1) after the last *FLAGS variable, or
14862 # (2) before a word containing "conftest.", or (3) at the end.
14863 # Note that $ac_compile itself does not contain backslashes and begins
14864 # with a dollar sign (not a hyphen), so the echo should work correctly.
14865 lt_compile
=`echo "$ac_compile" | $SED \
14866 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14867 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14868 -e 's:$: $lt_compiler_flag:'`
14869 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14870 (eval "$lt_compile" 2>out
/conftest.err
)
14872 cat out
/conftest.err
>&5
14873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14874 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14876 # The compiler can only warn and ignore the option if not recognized
14877 # So say no if there are warnings
14878 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14879 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14880 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14881 lt_cv_prog_compiler_c_o_CXX
=yes
14886 # SGI C++ compiler will create directory out/ii_files/ for
14887 # template instantiation
14888 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14889 $RM out
/* && rmdir out
14895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14896 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14901 hard_links
="nottested"
14902 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14903 # do not overwrite the value of need_locks provided by the user
14904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14905 $as_echo_n "checking if we can lock with hard links... " >&6; }
14908 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14910 ln conftest.a conftest.b
2>&5 || hard_links
=no
14911 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14913 $as_echo "$hard_links" >&6; }
14914 if test "$hard_links" = no
; then
14915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14916 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14926 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14928 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14929 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14932 # If we're using GNU nm, then we don't want the "-C" option.
14933 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14934 # Also, AIX nm treats weak defined symbols like other global defined
14935 # symbols, whereas GNU nm marks them as "W".
14936 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14937 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'
14939 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'
14943 export_symbols_cmds_CXX
="$ltdll_cmds"
14945 cygwin
* | mingw
* | cegcc
*)
14946 case $cc_basename in
14949 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'
14950 exclude_expsyms_CXX
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14955 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14960 $as_echo "$ld_shlibs_CXX" >&6; }
14961 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14963 with_gnu_ld_CXX
=$with_gnu_ld
14971 # Do we need to explicitly link libc?
14973 case "x$archive_cmds_need_lc_CXX" in
14975 # Assume -lc should be added
14976 archive_cmds_need_lc_CXX
=yes
14978 if test "$enable_shared" = yes && test "$GCC" = yes; then
14979 case $archive_cmds_CXX in
14981 # FIXME: we may have to deal with multi-command sequences.
14984 # Test whether the compiler implicitly links with -lc since on some
14985 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14986 # to ld, don't add -lc before -lgcc.
14987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14988 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14989 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
14990 $as_echo_n "(cached) " >&6
14993 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14995 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14996 (eval $ac_compile) 2>&5
14998 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14999 test $ac_status = 0; } 2>conftest.err
; then
15002 libobjs
=conftest.
$ac_objext
15004 wl
=$lt_prog_compiler_wl_CXX
15005 pic_flag
=$lt_prog_compiler_pic_CXX
15011 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
15012 allow_undefined_flag_CXX
=
15013 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15014 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15016 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15017 test $ac_status = 0; }
15019 lt_cv_archive_cmds_need_lc_CXX
=no
15021 lt_cv_archive_cmds_need_lc_CXX
=yes
15023 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
15025 cat conftest.err
1>&5
15030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15031 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15032 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
15102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15103 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15105 library_names_spec
=
15106 libname_spec
='lib$name'
15110 postuninstall_cmds
=
15114 shlibpath_overrides_runpath
=unknown
15116 dynamic_linker
="$host_os ld.so"
15117 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15118 need_lib_prefix
=unknown
15119 hardcode_into_libs
=no
15121 # when you set need_version to no, make sure it does not cause -set_version
15122 # flags to be left without arguments
15123 need_version
=unknown
15128 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15129 shlibpath_var
=LIBPATH
15131 # AIX 3 has no versioning support, so we append a major version to the name.
15132 soname_spec
='${libname}${release}${shared_ext}$major'
15139 hardcode_into_libs
=yes
15140 if test "$host_cpu" = ia64
; then
15141 # AIX 5 supports IA64
15142 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15143 shlibpath_var
=LD_LIBRARY_PATH
15145 # With GCC up to 2.95.x, collect2 would create an import file
15146 # for dependence libraries. The import file would start with
15147 # the line `#! .'. This would cause the generated library to
15148 # depend on `.', always an invalid library. This was fixed in
15149 # development snapshots of GCC prior to 3.0.
15151 aix4 | aix4.
[01] | aix4.
[01].
*)
15152 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15154 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
15157 can_build_shared
=no
15161 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15162 # soname into executable. Probably we can add versioning support to
15163 # collect2, so additional links can be useful in future.
15164 if test "$aix_use_runtimelinking" = yes; then
15165 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15166 # instead of lib<name>.a to let people know that these are not
15167 # typical AIX shared libraries.
15168 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15170 # We preserve .a as extension for shared libraries through AIX4.2
15171 # and later when we are not doing run time linking.
15172 library_names_spec
='${libname}${release}.a $libname.a'
15173 soname_spec
='${libname}${release}${shared_ext}$major'
15175 shlibpath_var
=LIBPATH
15182 # Since July 2007 AmigaOS4 officially supports .so libraries.
15183 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15184 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15187 library_names_spec
='$libname.ixlibrary $libname.a'
15188 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15189 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'
15195 library_names_spec
='${libname}${shared_ext}'
15196 dynamic_linker
="$host_os ld.so"
15197 shlibpath_var
=LIBRARY_PATH
15203 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15204 soname_spec
='${libname}${release}${shared_ext}$major'
15205 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15206 shlibpath_var
=LD_LIBRARY_PATH
15207 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15208 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15209 # the default ld.so.conf also contains /usr/contrib/lib and
15210 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15211 # libtool to hard-code these into programs
15214 cygwin
* | mingw
* | pw32
* | cegcc
*)
15215 version_type
=windows
15220 case $GCC,$cc_basename in
15223 library_names_spec
='$libname.dll.a'
15224 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15225 postinstall_cmds
='base_file=`basename \${file}`~
15226 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15227 dldir=$destdir/`dirname \$dlpath`~
15228 test -d \$dldir || mkdir -p \$dldir~
15229 $install_prog $dir/$dlname \$dldir/$dlname~
15230 chmod a+x \$dldir/$dlname~
15231 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15232 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15234 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15235 dlpath=$dir/\$dldll~
15237 shlibpath_overrides_runpath
=yes
15241 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15242 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15246 # MinGW DLLs use traditional 'lib' prefix
15247 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15250 # pw32 DLLs use 'pw' prefix rather than 'lib'
15251 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15254 dynamic_linker
='Win32 ld.exe'
15259 libname_spec
='$name'
15260 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15261 library_names_spec
='${libname}.dll.lib'
15265 sys_lib_search_path_spec
=
15268 for lt_path
in $LIB
15271 # Let DOS variable expansion print the short 8.3 style file name.
15272 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15273 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
15276 # Convert to MSYS style.
15277 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15280 # Convert to unix form, then to dos form, then back to unix form
15281 # but this time dos style (no spaces!) so that the unix form looks
15282 # like /cygdrive/c/PROGRA~1:/cygdr...
15283 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
15284 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15285 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15288 sys_lib_search_path_spec
="$LIB"
15289 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
15290 # It is most probably a Windows format PATH.
15291 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15293 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15295 # FIXME: find the short name or the path components, as spaces are
15296 # common. (e.g. "Program Files" -> "PROGRA~1")
15300 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15301 postinstall_cmds
='base_file=`basename \${file}`~
15302 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15303 dldir=$destdir/`dirname \$dlpath`~
15304 test -d \$dldir || mkdir -p \$dldir~
15305 $install_prog $dir/$dlname \$dldir/$dlname'
15306 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15307 dlpath=$dir/\$dldll~
15309 shlibpath_overrides_runpath
=yes
15310 dynamic_linker
='Win32 link.exe'
15314 # Assume MSVC wrapper
15315 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15316 dynamic_linker
='Win32 ld.exe'
15319 # FIXME: first we should search . and the directory the executable is in
15323 darwin
* | rhapsody
*)
15324 dynamic_linker
="$host_os dyld"
15325 version_type
=darwin
15328 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15329 soname_spec
='${libname}${release}${major}$shared_ext'
15330 shlibpath_overrides_runpath
=yes
15331 shlibpath_var
=DYLD_LIBRARY_PATH
15332 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15334 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15341 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15342 soname_spec
='${libname}${release}${shared_ext}$major'
15343 shlibpath_var
=LD_LIBRARY_PATH
15350 freebsd
* | dragonfly
*)
15351 # DragonFly does not have aout. When/if they implement a new
15352 # versioning mechanism, adjust this.
15353 if test -x /usr
/bin
/objformat
; then
15354 objformat
=`/usr/bin/objformat`
15357 freebsd
[123]*) objformat
=aout
;;
15358 *) objformat
=elf
;;
15361 version_type
=freebsd-
$objformat
15362 case $version_type in
15364 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15369 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15373 shlibpath_var
=LD_LIBRARY_PATH
15376 shlibpath_overrides_runpath
=yes
15378 freebsd3.
[01]* | freebsdelf3.
[01]*)
15379 shlibpath_overrides_runpath
=yes
15380 hardcode_into_libs
=yes
15382 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15383 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15384 shlibpath_overrides_runpath
=no
15385 hardcode_into_libs
=yes
15387 *) # from 4.6 on, and DragonFly
15388 shlibpath_overrides_runpath
=yes
15389 hardcode_into_libs
=yes
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 shlibpath_var
=LD_LIBRARY_PATH
15401 hardcode_into_libs
=yes
15408 dynamic_linker
="$host_os runtime_loader"
15409 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15410 soname_spec
='${libname}${release}${shared_ext}$major'
15411 shlibpath_var
=LIBRARY_PATH
15412 shlibpath_overrides_runpath
=yes
15413 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15414 hardcode_into_libs
=yes
15417 hpux9
* | hpux10
* | hpux11
*)
15418 # Give a soname corresponding to the major version so that dld.sl refuses to
15419 # link against other versions.
15426 hardcode_into_libs
=yes
15427 dynamic_linker
="$host_os dld.so"
15428 shlibpath_var
=LD_LIBRARY_PATH
15429 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15430 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15431 soname_spec
='${libname}${release}${shared_ext}$major'
15432 if test "X$HPUX_IA64_MODE" = X32
; then
15433 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15435 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15437 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15441 hardcode_into_libs
=yes
15442 dynamic_linker
="$host_os dld.sl"
15443 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15444 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15445 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15446 soname_spec
='${libname}${release}${shared_ext}$major'
15447 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15448 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15452 dynamic_linker
="$host_os dld.sl"
15453 shlibpath_var
=SHLIB_PATH
15454 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15455 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15456 soname_spec
='${libname}${release}${shared_ext}$major'
15459 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15460 postinstall_cmds
='chmod 555 $lib'
15461 # or fails outright, so override atomically:
15462 install_override_mode
=555
15469 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15470 soname_spec
='${libname}${release}${shared_ext}$major'
15471 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15472 shlibpath_var
=LD_LIBRARY_PATH
15473 shlibpath_overrides_runpath
=no
15474 hardcode_into_libs
=yes
15477 irix5
* | irix6
* | nonstopux
*)
15479 nonstopux
*) version_type
=nonstopux
;;
15481 if test "$lt_cv_prog_gnu_ld" = yes; then
15489 soname_spec
='${libname}${release}${shared_ext}$major'
15490 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15492 irix5
* | nonstopux
*)
15493 libsuff
= shlibsuff
=
15496 case $LD in # libtool.m4 will add one of these switches to LD
15497 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15498 libsuff
= shlibsuff
= libmagic
=32-bit;;
15499 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15500 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15501 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15502 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15503 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15507 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15508 shlibpath_overrides_runpath
=no
15509 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15510 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15511 hardcode_into_libs
=yes
15514 # No shared lib support for Linux oldld, aout, or coff.
15515 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15519 # This must be Linux ELF.
15520 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15524 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15525 soname_spec
='${libname}${release}${shared_ext}$major'
15526 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15527 shlibpath_var
=LD_LIBRARY_PATH
15528 shlibpath_overrides_runpath
=no
15530 # Some binutils ld are patched to set DT_RUNPATH
15531 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15532 $as_echo_n "(cached) " >&6
15534 lt_cv_shlibpath_overrides_runpath
=no
15535 save_LDFLAGS
=$LDFLAGS
15536 save_libdir
=$libdir
15537 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15538 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15540 /* end confdefs.h. */
15550 if ac_fn_cxx_try_link
"$LINENO"; then :
15551 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15552 lt_cv_shlibpath_overrides_runpath
=yes
15555 rm -f core conftest.err conftest.
$ac_objext \
15556 conftest
$ac_exeext conftest.
$ac_ext
15557 LDFLAGS
=$save_LDFLAGS
15558 libdir
=$save_libdir
15562 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15564 # This implies no fast_install, which is unacceptable.
15565 # Some rework will be needed to allow for fast_install
15566 # before this can be enabled.
15567 hardcode_into_libs
=yes
15569 # Append ld.so.conf contents to the search path
15570 if test -f /etc
/ld.so.conf
; then
15571 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' ' '`
15572 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15575 # We used to test for /lib/ld.so.1 and disable shared libraries on
15576 # powerpc, because MkLinux only supported shared libraries with the
15577 # GNU dynamic linker. Since this was broken with cross compilers,
15578 # most powerpc-linux boxes support dynamic linking these days and
15579 # people can always --disable-shared, the test was removed, and we
15580 # assume the GNU/Linux dynamic linker is in use.
15581 dynamic_linker
='GNU/Linux ld.so'
15588 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15589 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15590 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15591 dynamic_linker
='NetBSD (a.out) ld.so'
15593 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15594 soname_spec
='${libname}${release}${shared_ext}$major'
15595 dynamic_linker
='NetBSD ld.elf_so'
15597 shlibpath_var
=LD_LIBRARY_PATH
15598 shlibpath_overrides_runpath
=yes
15599 hardcode_into_libs
=yes
15604 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15605 shlibpath_var
=LD_LIBRARY_PATH
15606 shlibpath_overrides_runpath
=yes
15613 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15614 soname_spec
='${libname}${release}${shared_ext}$major'
15615 shlibpath_var
=LD_LIBRARY_PATH
15616 shlibpath_overrides_runpath
=no
15617 hardcode_into_libs
=yes
15618 dynamic_linker
='ldqnx.so'
15623 sys_lib_dlsearch_path_spec
="/usr/lib"
15625 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15627 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15628 *) need_version
=no
;;
15630 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15631 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15632 shlibpath_var
=LD_LIBRARY_PATH
15633 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15635 openbsd2.
[89] | openbsd2.
[89].
*)
15636 shlibpath_overrides_runpath
=no
15639 shlibpath_overrides_runpath
=yes
15643 shlibpath_overrides_runpath
=yes
15648 libname_spec
='$name'
15651 library_names_spec
='$libname${shared_ext} $libname.a'
15652 dynamic_linker
='OS/2 ld.exe'
15653 shlibpath_var
=LIBPATH
15656 osf3
* | osf4
* | osf5
*)
15660 soname_spec
='${libname}${release}${shared_ext}$major'
15661 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15662 shlibpath_var
=LD_LIBRARY_PATH
15663 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15664 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15675 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15676 soname_spec
='${libname}${release}${shared_ext}$major'
15677 shlibpath_var
=LD_LIBRARY_PATH
15678 shlibpath_overrides_runpath
=yes
15679 hardcode_into_libs
=yes
15680 # ldd complains unless libraries are executable
15681 postinstall_cmds
='chmod +x $lib'
15686 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15687 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15688 shlibpath_var
=LD_LIBRARY_PATH
15689 shlibpath_overrides_runpath
=yes
15690 if test "$with_gnu_ld" = yes; then
15698 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15699 soname_spec
='${libname}${release}${shared_ext}$major'
15700 shlibpath_var
=LD_LIBRARY_PATH
15701 case $host_vendor in
15703 shlibpath_overrides_runpath
=no
15705 runpath_var
=LD_RUN_PATH
15713 shlibpath_overrides_runpath
=no
15714 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15720 if test -d /usr
/nec
;then
15722 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15723 soname_spec
='$libname${shared_ext}.$major'
15724 shlibpath_var
=LD_LIBRARY_PATH
15728 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15729 version_type
=freebsd-elf
15732 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15733 soname_spec
='${libname}${release}${shared_ext}$major'
15734 shlibpath_var
=LD_LIBRARY_PATH
15735 shlibpath_overrides_runpath
=yes
15736 hardcode_into_libs
=yes
15737 if test "$with_gnu_ld" = yes; then
15738 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15740 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15743 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15747 sys_lib_dlsearch_path_spec
='/usr/lib'
15751 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15755 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15756 shlibpath_var
=LD_LIBRARY_PATH
15757 shlibpath_overrides_runpath
=no
15758 hardcode_into_libs
=yes
15763 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15764 soname_spec
='${libname}${release}${shared_ext}$major'
15765 shlibpath_var
=LD_LIBRARY_PATH
15772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15773 $as_echo "$dynamic_linker" >&6; }
15774 test "$dynamic_linker" = no
&& can_build_shared
=no
15776 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15777 if test "$GCC" = yes; then
15778 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15781 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15782 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15784 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15785 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15826 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15827 hardcode_action_CXX
=
15828 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15829 test -n "$runpath_var_CXX" ||
15830 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15832 # We can hardcode non-existent directories.
15833 if test "$hardcode_direct_CXX" != no
&&
15834 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15835 # have to relink, otherwise we might link with an installed library
15836 # when we should be linking with a yet-to-be-installed one
15837 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15838 test "$hardcode_minus_L_CXX" != no
; then
15839 # Linking always hardcodes the temporary library directory.
15840 hardcode_action_CXX
=relink
15842 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15843 hardcode_action_CXX
=immediate
15846 # We cannot hardcode anything, or else we can only hardcode existing
15848 hardcode_action_CXX
=unsupported
15850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15851 $as_echo "$hardcode_action_CXX" >&6; }
15853 if test "$hardcode_action_CXX" = relink ||
15854 test "$inherit_rpath_CXX" = yes; then
15855 # Fast installation is not supported
15856 enable_fast_install
=no
15857 elif test "$shlibpath_overrides_runpath" = yes ||
15858 test "$enable_shared" = no
; then
15859 # Fast installation is not necessary
15860 enable_fast_install
=needless
15869 fi # test -n "$compiler"
15872 CFLAGS
=$lt_save_CFLAGS
15876 with_gnu_ld
=$lt_save_with_gnu_ld
15877 lt_cv_path_LDCXX
=$lt_cv_path_LD
15878 lt_cv_path_LD
=$lt_save_path_LD
15879 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15880 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15881 fi # test "$_lt_caught_CXX_error" != yes
15884 ac_cpp
='$CPP $CPPFLAGS'
15885 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15886 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15887 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
15891 $as_echo_n "checking whether ln -s works... " >&6; }
15893 if test "$LN_S" = "ln -s"; then
15894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15895 $as_echo "yes" >&6; }
15897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
15898 $as_echo "no, using $LN_S" >&6; }
15902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
15903 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
15905 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
15906 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
15907 $as_echo_n "(cached) " >&6
15909 cat >conftest.
make <<\_ACEOF
15912 @
echo '@@@%%%=$(MAKE)=@@@%%%'
15914 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
15915 case `${MAKE-make} -f conftest.make 2>/dev/null` in
15916 *@@@
%%%=?
*=@@@
%%%*)
15917 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
15919 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
15921 rm -f conftest.
make
15923 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
15924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15925 $as_echo "yes" >&6; }
15928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15929 $as_echo "no" >&6; }
15930 SET_MAKE
="MAKE=${MAKE-make}"
15935 # Extract the first word of "gengetopt", so it can be a program name with args.
15936 set dummy gengetopt
; ac_word
=$2
15937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15938 $as_echo_n "checking for $ac_word... " >&6; }
15939 if ${ac_cv_path_GENGETOPT+:} false
; then :
15940 $as_echo_n "(cached) " >&6
15944 ac_cv_path_GENGETOPT
="$GENGETOPT" # Let the user override the test with a path.
15947 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15948 for as_dir
in $PATH
15951 test -z "$as_dir" && as_dir
=.
15952 for ac_exec_ext
in '' $ac_executable_extensions; do
15953 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15954 ac_cv_path_GENGETOPT
="$as_dir/$ac_word$ac_exec_ext"
15955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15962 test -z "$ac_cv_path_GENGETOPT" && ac_cv_path_GENGETOPT
="no"
15966 GENGETOPT
=$ac_cv_path_GENGETOPT
15967 if test -n "$GENGETOPT"; then
15968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENGETOPT" >&5
15969 $as_echo "$GENGETOPT" >&6; }
15971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15972 $as_echo "no" >&6; }
15976 if test x
"$GENGETOPT" != "xno"; then
15977 HAVE_GENGETOPT_TRUE
=
15978 HAVE_GENGETOPT_FALSE
='#'
15980 HAVE_GENGETOPT_TRUE
='#'
15981 HAVE_GENGETOPT_FALSE
=
15986 # Extract the first word of "doxygen", so it can be a program name with args.
15987 set dummy doxygen
; ac_word
=$2
15988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15989 $as_echo_n "checking for $ac_word... " >&6; }
15990 if ${ac_cv_path_DOXYGEN+:} false
; then :
15991 $as_echo_n "(cached) " >&6
15995 ac_cv_path_DOXYGEN
="$DOXYGEN" # Let the user override the test with a path.
15998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15999 for as_dir
in $PATH
16002 test -z "$as_dir" && as_dir
=.
16003 for ac_exec_ext
in '' $ac_executable_extensions; do
16004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16005 ac_cv_path_DOXYGEN
="$as_dir/$ac_word$ac_exec_ext"
16006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16013 test -z "$ac_cv_path_DOXYGEN" && ac_cv_path_DOXYGEN
="no"
16017 DOXYGEN
=$ac_cv_path_DOXYGEN
16018 if test -n "$DOXYGEN"; then
16019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
16020 $as_echo "$DOXYGEN" >&6; }
16022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16023 $as_echo "no" >&6; }
16027 if test x
"$DOXYGEN" != "xno"; then
16029 HAVE_DOXYGEN_FALSE
='#'
16031 HAVE_DOXYGEN_TRUE
='#'
16032 HAVE_DOXYGEN_FALSE
=
16037 # Extract the first word of "prove", so it can be a program name with args.
16038 set dummy prove
; ac_word
=$2
16039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16040 $as_echo_n "checking for $ac_word... " >&6; }
16041 if ${ac_cv_path_PROVE+:} false
; then :
16042 $as_echo_n "(cached) " >&6
16046 ac_cv_path_PROVE
="$PROVE" # Let the user override the test with a path.
16049 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16050 for as_dir
in $PATH
16053 test -z "$as_dir" && as_dir
=.
16054 for ac_exec_ext
in '' $ac_executable_extensions; do
16055 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16056 ac_cv_path_PROVE
="$as_dir/$ac_word$ac_exec_ext"
16057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16064 test -z "$ac_cv_path_PROVE" && ac_cv_path_PROVE
="no"
16068 PROVE
=$ac_cv_path_PROVE
16069 if test -n "$PROVE"; then
16070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PROVE" >&5
16071 $as_echo "$PROVE" >&6; }
16073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16074 $as_echo "no" >&6; }
16078 if test x
"$PROVE" != "xno"; then
16080 HAVE_PROVE_FALSE
='#'
16082 HAVE_PROVE_TRUE
='#'
16088 # Extract the first word of "valgrind", so it can be a program name with args.
16089 set dummy valgrind
; ac_word
=$2
16090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16091 $as_echo_n "checking for $ac_word... " >&6; }
16092 if ${ac_cv_path_VALGRIND+:} false
; then :
16093 $as_echo_n "(cached) " >&6
16097 ac_cv_path_VALGRIND
="$VALGRIND" # Let the user override the test with a path.
16100 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16101 for as_dir
in $PATH
16104 test -z "$as_dir" && as_dir
=.
16105 for ac_exec_ext
in '' $ac_executable_extensions; do
16106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16107 ac_cv_path_VALGRIND
="$as_dir/$ac_word$ac_exec_ext"
16108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16115 test -z "$ac_cv_path_VALGRIND" && ac_cv_path_VALGRIND
="no"
16119 VALGRIND
=$ac_cv_path_VALGRIND
16120 if test -n "$VALGRIND"; then
16121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALGRIND" >&5
16122 $as_echo "$VALGRIND" >&6; }
16124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16125 $as_echo "no" >&6; }
16129 if test x
"$VALGRIND" != "xno"; then
16130 HAVE_VALGRIND_TRUE
=
16131 HAVE_VALGRIND_FALSE
='#'
16133 HAVE_VALGRIND_TRUE
='#'
16134 HAVE_VALGRIND_FALSE
=
16139 # Extract the first word of "pod2man", so it can be a program name with args.
16140 set dummy pod2man
; ac_word
=$2
16141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16142 $as_echo_n "checking for $ac_word... " >&6; }
16143 if ${ac_cv_path_POD2MAN+:} false
; then :
16144 $as_echo_n "(cached) " >&6
16148 ac_cv_path_POD2MAN
="$POD2MAN" # Let the user override the test with a path.
16151 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16152 for as_dir
in $PATH
16155 test -z "$as_dir" && as_dir
=.
16156 for ac_exec_ext
in '' $ac_executable_extensions; do
16157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16158 ac_cv_path_POD2MAN
="$as_dir/$ac_word$ac_exec_ext"
16159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16166 test -z "$ac_cv_path_POD2MAN" && ac_cv_path_POD2MAN
="no"
16170 POD2MAN
=$ac_cv_path_POD2MAN
16171 if test -n "$POD2MAN"; then
16172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $POD2MAN" >&5
16173 $as_echo "$POD2MAN" >&6; }
16175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16176 $as_echo "no" >&6; }
16180 if test x
"$POD2MAN" != "xno"; then
16182 HAVE_POD2MAN_FALSE
='#'
16184 HAVE_POD2MAN_TRUE
='#'
16185 HAVE_POD2MAN_FALSE
=
16190 # Extract the first word of "pod2html", so it can be a program name with args.
16191 set dummy pod2html
; ac_word
=$2
16192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16193 $as_echo_n "checking for $ac_word... " >&6; }
16194 if ${ac_cv_path_POD2HTML+:} false
; then :
16195 $as_echo_n "(cached) " >&6
16199 ac_cv_path_POD2HTML
="$POD2HTML" # Let the user override the test with a path.
16202 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16203 for as_dir
in $PATH
16206 test -z "$as_dir" && as_dir
=.
16207 for ac_exec_ext
in '' $ac_executable_extensions; do
16208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16209 ac_cv_path_POD2HTML
="$as_dir/$ac_word$ac_exec_ext"
16210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16217 test -z "$ac_cv_path_POD2HTML" && ac_cv_path_POD2HTML
="no"
16221 POD2HTML
=$ac_cv_path_POD2HTML
16222 if test -n "$POD2HTML"; then
16223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $POD2HTML" >&5
16224 $as_echo "$POD2HTML" >&6; }
16226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16227 $as_echo "no" >&6; }
16231 if test x
"$POD2HTML" != "xno"; then
16232 HAVE_POD2HTML_TRUE
=
16233 HAVE_POD2HTML_FALSE
='#'
16235 HAVE_POD2HTML_TRUE
='#'
16236 HAVE_POD2HTML_FALSE
=
16241 # Extract the first word of "date", so it can be a program name with args.
16242 set dummy
date; ac_word
=$2
16243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16244 $as_echo_n "checking for $ac_word... " >&6; }
16245 if ${ac_cv_path_DATE+:} false
; then :
16246 $as_echo_n "(cached) " >&6
16250 ac_cv_path_DATE
="$DATE" # Let the user override the test with a path.
16253 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16254 for as_dir
in $PATH
16257 test -z "$as_dir" && as_dir
=.
16258 for ac_exec_ext
in '' $ac_executable_extensions; do
16259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16260 ac_cv_path_DATE
="$as_dir/$ac_word$ac_exec_ext"
16261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16268 test -z "$ac_cv_path_DATE" && ac_cv_path_DATE
="no"
16272 DATE
=$ac_cv_path_DATE
16273 if test -n "$DATE"; then
16274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DATE" >&5
16275 $as_echo "$DATE" >&6; }
16277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16278 $as_echo "no" >&6; }
16282 if test x
"$DATE" != "xno" ; then
16283 build_date
=`"$DATE" +%Y-%m-%d 2>/dev/null`
16284 if test x
"$build_date" != "x" ; then
16286 cat >>confdefs.h
<<_ACEOF
16287 #define BUILD_DATE "$build_date"
16293 # Extract the first word of "git", so it can be a program name with args.
16294 set dummy git
; ac_word
=$2
16295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16296 $as_echo_n "checking for $ac_word... " >&6; }
16297 if ${ac_cv_path_GIT+:} false
; then :
16298 $as_echo_n "(cached) " >&6
16302 ac_cv_path_GIT
="$GIT" # Let the user override the test with a path.
16305 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16306 for as_dir
in $PATH
16309 test -z "$as_dir" && as_dir
=.
16310 for ac_exec_ext
in '' $ac_executable_extensions; do
16311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16312 ac_cv_path_GIT
="$as_dir/$ac_word$ac_exec_ext"
16313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16320 test -z "$ac_cv_path_GIT" && ac_cv_path_GIT
="no"
16324 GIT
=$ac_cv_path_GIT
16325 if test -n "$GIT"; then
16326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIT" >&5
16327 $as_echo "$GIT" >&6; }
16329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16330 $as_echo "no" >&6; }
16334 if test x
"$GIT" != "xno" ; then
16336 git_describe
=`"$GIT" describe "$QUVI_BRANCH" 2>/dev/null`
16337 if test x
"$git_describe" != "x" ; then
16339 cat >>confdefs.h
<<_ACEOF
16340 #define GIT_DESCRIBE "$git_describe"
16346 # Checks for libraries.
16348 if test "X$prefix" = "XNONE"; then
16349 acl_final_prefix
="$ac_default_prefix"
16351 acl_final_prefix
="$prefix"
16353 if test "X$exec_prefix" = "XNONE"; then
16354 acl_final_exec_prefix
='${prefix}'
16356 acl_final_exec_prefix
="$exec_prefix"
16358 acl_save_prefix
="$prefix"
16359 prefix
="$acl_final_prefix"
16360 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
16361 prefix
="$acl_save_prefix"
16364 # Check whether --with-gnu-ld was given.
16365 if test "${with_gnu_ld+set}" = set; then :
16366 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
16371 # Prepare PATH_SEPARATOR.
16372 # The user is always right.
16373 if test "${PATH_SEPARATOR+set}" != set; then
16374 echo "#! /bin/sh" >conf$$.sh
16375 echo "exit 0" >>conf$$.sh
16377 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
16385 if test "$GCC" = yes; then
16386 # Check if gcc -print-prog-name=ld gives a path.
16387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
16388 $as_echo_n "checking for ld used by GCC... " >&6; }
16391 # gcc leaves a trailing carriage return which upsets mingw
16392 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
16394 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
16397 # Accept absolute paths.
16398 [\\/]* |
[A-Za-z
]:[\\/]*)
16399 re_direlt
='/[^/][^/]*/\.\./'
16400 # Canonicalize the path of ld
16401 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
16402 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
16403 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
16405 test -z "$LD" && LD
="$ac_prog"
16408 # If it fails, then pretend we aren't using GCC.
16412 # If it is relative, then search for the first ld in PATH.
16413 with_gnu_ld
=unknown
16416 elif test "$with_gnu_ld" = yes; then
16417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
16418 $as_echo_n "checking for GNU ld... " >&6; }
16420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
16421 $as_echo_n "checking for non-GNU ld... " >&6; }
16423 if ${acl_cv_path_LD+:} false
; then :
16424 $as_echo_n "(cached) " >&6
16426 if test -z "$LD"; then
16427 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
16428 for ac_dir
in $PATH; do
16429 test -z "$ac_dir" && ac_dir
=.
16430 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
16431 acl_cv_path_LD
="$ac_dir/$ac_prog"
16432 # Check to see if the program is GNU ld. I'd rather use --version,
16433 # but apparently some GNU ld's only accept -v.
16434 # Break only if it was the GNU/non-GNU ld that we prefer.
16435 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
16436 *GNU
* |
*'with BFD'*)
16437 test "$with_gnu_ld" != no
&& break ;;
16439 test "$with_gnu_ld" != yes && break ;;
16445 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
16449 LD
="$acl_cv_path_LD"
16450 if test -n "$LD"; then
16451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
16452 $as_echo "$LD" >&6; }
16454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16455 $as_echo "no" >&6; }
16457 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
16458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
16459 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
16460 if ${acl_cv_prog_gnu_ld+:} false
; then :
16461 $as_echo_n "(cached) " >&6
16463 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
16464 case `$LD -v 2>&1 </dev/null` in
16465 *GNU
* |
*'with BFD'*)
16466 acl_cv_prog_gnu_ld
=yes ;;
16468 acl_cv_prog_gnu_ld
=no
;;
16471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
16472 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
16473 with_gnu_ld
=$acl_cv_prog_gnu_ld
16478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
16479 $as_echo_n "checking for shared library run path origin... " >&6; }
16480 if ${acl_cv_rpath+:} false
; then :
16481 $as_echo_n "(cached) " >&6
16484 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
16485 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
16487 rm -f .
/conftest.sh
16491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
16492 $as_echo "$acl_cv_rpath" >&6; }
16494 acl_libext
="$acl_cv_libext"
16495 acl_shlibext
="$acl_cv_shlibext"
16496 acl_libname_spec
="$acl_cv_libname_spec"
16497 acl_library_names_spec
="$acl_cv_library_names_spec"
16498 acl_hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
16499 acl_hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
16500 acl_hardcode_direct
="$acl_cv_hardcode_direct"
16501 acl_hardcode_minus_L
="$acl_cv_hardcode_minus_L"
16502 # Check whether --enable-rpath was given.
16503 if test "${enable_rpath+set}" = set; then :
16504 enableval
=$enable_rpath; :
16516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
16517 $as_echo_n "checking for 64-bit host... " >&6; }
16518 if ${gl_cv_solaris_64bit+:} false
; then :
16519 $as_echo_n "(cached) " >&6
16521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16522 /* end confdefs.h. */
16529 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16530 $EGREP "sixtyfour bits" >/dev
/null
2>&1; then :
16531 gl_cv_solaris_64bit
=yes
16533 gl_cv_solaris_64bit
=no
16539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
16540 $as_echo "$gl_cv_solaris_64bit" >&6; }
16541 if test $gl_cv_solaris_64bit = yes; then
16542 acl_libdirstem
=lib
/64
16543 case "$host_cpu" in
16544 sparc
*) acl_libdirstem2
=lib
/sparcv9
;;
16545 i
*86 | x86_64
) acl_libdirstem2
=lib
/amd64
;;
16550 searchpath
=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
16551 if test -n "$searchpath"; then
16552 acl_save_IFS
="${IFS= }"; IFS
=":"
16553 for searchdir
in $searchpath; do
16554 if test -d "$searchdir"; then
16555 case "$searchdir" in
16556 */lib64
/ |
*/lib64
) acl_libdirstem
=lib64
;;
16558 # Better ignore directories of this form. They are misleading.
16560 *) searchdir
=`cd "$searchdir" && pwd`
16561 case "$searchdir" in
16562 */lib64
) acl_libdirstem
=lib64
;;
16567 IFS
="$acl_save_IFS"
16571 test -n "$acl_libdirstem2" || acl_libdirstem2
="$acl_libdirstem"
16586 acl_save_prefix
="$prefix"
16587 prefix
="$acl_final_prefix"
16588 acl_save_exec_prefix
="$exec_prefix"
16589 exec_prefix
="$acl_final_exec_prefix"
16591 eval additional_includedir
=\"$includedir\"
16592 eval additional_libdir
=\"$libdir\"
16594 exec_prefix
="$acl_save_exec_prefix"
16595 prefix
="$acl_save_prefix"
16598 # Check whether --with-libiconv-prefix was given.
16599 if test "${with_libiconv_prefix+set}" = set; then :
16600 withval
=$with_libiconv_prefix;
16601 if test "X$withval" = "Xno"; then
16604 if test "X$withval" = "X"; then
16606 acl_save_prefix
="$prefix"
16607 prefix
="$acl_final_prefix"
16608 acl_save_exec_prefix
="$exec_prefix"
16609 exec_prefix
="$acl_final_exec_prefix"
16611 eval additional_includedir
=\"$includedir\"
16612 eval additional_libdir
=\"$libdir\"
16614 exec_prefix
="$acl_save_exec_prefix"
16615 prefix
="$acl_save_prefix"
16618 additional_includedir
="$withval/include"
16619 additional_libdir
="$withval/$acl_libdirstem"
16620 if test "$acl_libdirstem2" != "$acl_libdirstem" \
16621 && ! test -d "$withval/$acl_libdirstem"; then
16622 additional_libdir
="$withval/$acl_libdirstem2"
16636 names_already_handled
=
16637 names_next_round
='iconv '
16638 while test -n "$names_next_round"; do
16639 names_this_round
="$names_next_round"
16641 for name
in $names_this_round; do
16643 for n
in $names_already_handled; do
16644 if test "$n" = "$name"; then
16645 already_handled
=yes
16649 if test -z "$already_handled"; then
16650 names_already_handled
="$names_already_handled $name"
16651 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
16652 eval value
=\"\
$HAVE_LIB$uppername\"
16653 if test -n "$value"; then
16654 if test "$value" = yes; then
16655 eval value
=\"\
$LIB$uppername\"
16656 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
16657 eval value
=\"\
$LTLIB$uppername\"
16658 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
16667 eval libname
=\"$acl_libname_spec\" # typically: libname=lib$name
16668 if test -n "$acl_shlibext"; then
16669 shrext
=".$acl_shlibext" # typically: shrext=.so
16673 if test $use_additional = yes; then
16674 dir
="$additional_libdir"
16675 if test -n "$acl_shlibext"; then
16676 if test -f "$dir/$libname$shrext"; then
16678 found_so
="$dir/$libname$shrext"
16680 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
16681 ver
=`(cd "$dir" && \
16682 for f in "$libname$shrext".*; do echo "$f"; done \
16683 | sed -e "s,^$libname$shrext\\\\.,," \
16684 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
16685 | sed 1q ) 2>/dev/null`
16686 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
16688 found_so
="$dir/$libname$shrext.$ver"
16691 eval library_names
=\"$acl_library_names_spec\"
16692 for f
in $library_names; do
16693 if test -f "$dir/$f"; then
16702 if test "X$found_dir" = "X"; then
16703 if test -f "$dir/$libname.$acl_libext"; then
16705 found_a
="$dir/$libname.$acl_libext"
16708 if test "X$found_dir" != "X"; then
16709 if test -f "$dir/$libname.la"; then
16710 found_la
="$dir/$libname.la"
16714 if test "X$found_dir" = "X"; then
16715 for x
in $LDFLAGS $LTLIBICONV; do
16717 acl_save_prefix
="$prefix"
16718 prefix
="$acl_final_prefix"
16719 acl_save_exec_prefix
="$exec_prefix"
16720 exec_prefix
="$acl_final_exec_prefix"
16722 exec_prefix
="$acl_save_exec_prefix"
16723 prefix
="$acl_save_prefix"
16727 dir
=`echo "X$x" | sed -e 's/^X-L//'`
16728 if test -n "$acl_shlibext"; then
16729 if test -f "$dir/$libname$shrext"; then
16731 found_so
="$dir/$libname$shrext"
16733 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
16734 ver
=`(cd "$dir" && \
16735 for f in "$libname$shrext".*; do echo "$f"; done \
16736 | sed -e "s,^$libname$shrext\\\\.,," \
16737 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
16738 | sed 1q ) 2>/dev/null`
16739 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
16741 found_so
="$dir/$libname$shrext.$ver"
16744 eval library_names
=\"$acl_library_names_spec\"
16745 for f
in $library_names; do
16746 if test -f "$dir/$f"; then
16755 if test "X$found_dir" = "X"; then
16756 if test -f "$dir/$libname.$acl_libext"; then
16758 found_a
="$dir/$libname.$acl_libext"
16761 if test "X$found_dir" != "X"; then
16762 if test -f "$dir/$libname.la"; then
16763 found_la
="$dir/$libname.la"
16768 if test "X$found_dir" != "X"; then
16773 if test "X$found_dir" != "X"; then
16774 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
16775 if test "X$found_so" != "X"; then
16776 if test "$enable_rpath" = no \
16777 ||
test "X$found_dir" = "X/usr/$acl_libdirstem" \
16778 ||
test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
16779 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
16782 for x
in $ltrpathdirs; do
16783 if test "X$x" = "X$found_dir"; then
16788 if test -z "$haveit"; then
16789 ltrpathdirs
="$ltrpathdirs $found_dir"
16791 if test "$acl_hardcode_direct" = yes; then
16792 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
16794 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no
; then
16795 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
16797 for x
in $rpathdirs; do
16798 if test "X$x" = "X$found_dir"; then
16803 if test -z "$haveit"; then
16804 rpathdirs
="$rpathdirs $found_dir"
16808 for x
in $LDFLAGS $LIBICONV; do
16810 acl_save_prefix
="$prefix"
16811 prefix
="$acl_final_prefix"
16812 acl_save_exec_prefix
="$exec_prefix"
16813 exec_prefix
="$acl_final_exec_prefix"
16815 exec_prefix
="$acl_save_exec_prefix"
16816 prefix
="$acl_save_prefix"
16818 if test "X$x" = "X-L$found_dir"; then
16823 if test -z "$haveit"; then
16824 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
16826 if test "$acl_hardcode_minus_L" != no
; then
16827 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
16829 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
16835 if test "X$found_a" != "X"; then
16836 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
16838 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
16841 additional_includedir
=
16842 case "$found_dir" in
16843 */$acl_libdirstem |
*/$acl_libdirstem/)
16844 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
16845 if test "$name" = 'iconv'; then
16846 LIBICONV_PREFIX
="$basedir"
16848 additional_includedir
="$basedir/include"
16850 */$acl_libdirstem2 |
*/$acl_libdirstem2/)
16851 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
16852 if test "$name" = 'iconv'; then
16853 LIBICONV_PREFIX
="$basedir"
16855 additional_includedir
="$basedir/include"
16858 if test "X$additional_includedir" != "X"; then
16859 if test "X$additional_includedir" != "X/usr/include"; then
16861 if test "X$additional_includedir" = "X/usr/local/include"; then
16862 if test -n "$GCC"; then
16864 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
16868 if test -z "$haveit"; then
16869 for x
in $CPPFLAGS $INCICONV; do
16871 acl_save_prefix
="$prefix"
16872 prefix
="$acl_final_prefix"
16873 acl_save_exec_prefix
="$exec_prefix"
16874 exec_prefix
="$acl_final_exec_prefix"
16876 exec_prefix
="$acl_save_exec_prefix"
16877 prefix
="$acl_save_prefix"
16879 if test "X$x" = "X-I$additional_includedir"; then
16884 if test -z "$haveit"; then
16885 if test -d "$additional_includedir"; then
16886 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
16892 if test -n "$found_la"; then
16893 save_libdir
="$libdir"
16894 case "$found_la" in
16895 */* |
*\\*) .
"$found_la" ;;
16896 *) .
"./$found_la" ;;
16898 libdir
="$save_libdir"
16899 for dep
in $dependency_libs; do
16902 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
16903 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
16904 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
16906 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
16907 ||
test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
16908 if test -n "$GCC"; then
16910 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
16914 if test -z "$haveit"; then
16916 for x
in $LDFLAGS $LIBICONV; do
16918 acl_save_prefix
="$prefix"
16919 prefix
="$acl_final_prefix"
16920 acl_save_exec_prefix
="$exec_prefix"
16921 exec_prefix
="$acl_final_exec_prefix"
16923 exec_prefix
="$acl_save_exec_prefix"
16924 prefix
="$acl_save_prefix"
16926 if test "X$x" = "X-L$additional_libdir"; then
16931 if test -z "$haveit"; then
16932 if test -d "$additional_libdir"; then
16933 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
16937 for x
in $LDFLAGS $LTLIBICONV; do
16939 acl_save_prefix
="$prefix"
16940 prefix
="$acl_final_prefix"
16941 acl_save_exec_prefix
="$exec_prefix"
16942 exec_prefix
="$acl_final_exec_prefix"
16944 exec_prefix
="$acl_save_exec_prefix"
16945 prefix
="$acl_save_prefix"
16947 if test "X$x" = "X-L$additional_libdir"; then
16952 if test -z "$haveit"; then
16953 if test -d "$additional_libdir"; then
16954 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
16961 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
16962 if test "$enable_rpath" != no
; then
16964 for x
in $rpathdirs; do
16965 if test "X$x" = "X$dir"; then
16970 if test -z "$haveit"; then
16971 rpathdirs
="$rpathdirs $dir"
16974 for x
in $ltrpathdirs; do
16975 if test "X$x" = "X$dir"; then
16980 if test -z "$haveit"; then
16981 ltrpathdirs
="$ltrpathdirs $dir"
16986 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
16989 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
16992 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
16993 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
16999 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
17000 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
17006 if test "X$rpathdirs" != "X"; then
17007 if test -n "$acl_hardcode_libdir_separator"; then
17009 for found_dir
in $rpathdirs; do
17010 alldirs
="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
17012 acl_save_libdir
="$libdir"
17014 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
17015 libdir
="$acl_save_libdir"
17016 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
17018 for found_dir
in $rpathdirs; do
17019 acl_save_libdir
="$libdir"
17020 libdir
="$found_dir"
17021 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
17022 libdir
="$acl_save_libdir"
17023 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
17027 if test "X$ltrpathdirs" != "X"; then
17028 for found_dir
in $ltrpathdirs; do
17029 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
17044 am_save_CPPFLAGS
="$CPPFLAGS"
17046 for element
in $INCICONV; do
17048 for x
in $CPPFLAGS; do
17050 acl_save_prefix
="$prefix"
17051 prefix
="$acl_final_prefix"
17052 acl_save_exec_prefix
="$exec_prefix"
17053 exec_prefix
="$acl_final_exec_prefix"
17055 exec_prefix
="$acl_save_exec_prefix"
17056 prefix
="$acl_save_prefix"
17058 if test "X$x" = "X$element"; then
17063 if test -z "$haveit"; then
17064 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
17069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
17070 $as_echo_n "checking for iconv... " >&6; }
17071 if ${am_cv_func_iconv+:} false
; then :
17072 $as_echo_n "(cached) " >&6
17075 am_cv_func_iconv
="no, consider installing GNU libiconv"
17077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17078 /* end confdefs.h. */
17079 #include <stdlib.h>
17084 iconv_t cd = iconv_open("","");
17085 iconv(cd,NULL,NULL,NULL,NULL);
17091 if ac_fn_c_try_link
"$LINENO"; then :
17092 am_cv_func_iconv
=yes
17094 rm -f core conftest.err conftest.
$ac_objext \
17095 conftest
$ac_exeext conftest.
$ac_ext
17096 if test "$am_cv_func_iconv" != yes; then
17097 am_save_LIBS
="$LIBS"
17098 LIBS
="$LIBS $LIBICONV"
17099 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17100 /* end confdefs.h. */
17101 #include <stdlib.h>
17106 iconv_t cd = iconv_open("","");
17107 iconv(cd,NULL,NULL,NULL,NULL);
17113 if ac_fn_c_try_link
"$LINENO"; then :
17114 am_cv_lib_iconv
=yes
17115 am_cv_func_iconv
=yes
17117 rm -f core conftest.err conftest.
$ac_objext \
17118 conftest
$ac_exeext conftest.
$ac_ext
17119 LIBS
="$am_save_LIBS"
17123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
17124 $as_echo "$am_cv_func_iconv" >&6; }
17125 if test "$am_cv_func_iconv" = yes; then
17126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
17127 $as_echo_n "checking for working iconv... " >&6; }
17128 if ${am_cv_func_iconv_works+:} false
; then :
17129 $as_echo_n "(cached) " >&6
17132 am_save_LIBS
="$LIBS"
17133 if test $am_cv_lib_iconv = yes; then
17134 LIBS
="$LIBS $LIBICONV"
17136 if test "$cross_compiling" = yes; then :
17138 aix
* | hpux
*) am_cv_func_iconv_works
="guessing no" ;;
17139 *) am_cv_func_iconv_works
="guessing yes" ;;
17142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17143 /* end confdefs.h. */
17146 #include <string.h>
17149 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
17152 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
17153 if (cd_utf8_to_88591 != (iconv_t)(-1))
17155 static const char input[] = "\342\202\254"; /* EURO SIGN */
17157 const char *inptr = input;
17158 size_t inbytesleft = strlen (input);
17159 char *outptr = buf;
17160 size_t outbytesleft = sizeof (buf);
17161 size_t res = iconv (cd_utf8_to_88591,
17162 (char **) &inptr, &inbytesleft,
17163 &outptr, &outbytesleft);
17168 /* Test against Solaris 10 bug: Failures are not distinguishable from
17169 successful returns. */
17171 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
17172 if (cd_ascii_to_88591 != (iconv_t)(-1))
17174 static const char input[] = "\263";
17176 const char *inptr = input;
17177 size_t inbytesleft = strlen (input);
17178 char *outptr = buf;
17179 size_t outbytesleft = sizeof (buf);
17180 size_t res = iconv (cd_ascii_to_88591,
17181 (char **) &inptr, &inbytesleft,
17182 &outptr, &outbytesleft);
17187 #if 0 /* This bug could be worked around by the caller. */
17188 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
17190 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
17191 if (cd_88591_to_utf8 != (iconv_t)(-1))
17193 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
17195 const char *inptr = input;
17196 size_t inbytesleft = strlen (input);
17197 char *outptr = buf;
17198 size_t outbytesleft = sizeof (buf);
17199 size_t res = iconv (cd_88591_to_utf8,
17200 (char **) &inptr, &inbytesleft,
17201 &outptr, &outbytesleft);
17207 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
17209 if (/* Try standardized names. */
17210 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
17211 /* Try IRIX, OSF/1 names. */
17212 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
17213 /* Try AIX names. */
17214 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
17215 /* Try HP-UX names. */
17216 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
17221 if ac_fn_c_try_run
"$LINENO"; then :
17222 am_cv_func_iconv_works
=yes
17224 am_cv_func_iconv_works
=no
17226 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
17227 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17230 LIBS
="$am_save_LIBS"
17233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
17234 $as_echo "$am_cv_func_iconv_works" >&6; }
17235 case "$am_cv_func_iconv_works" in
17236 *no
) am_func_iconv
=no am_cv_lib_iconv
=no
;;
17237 *) am_func_iconv
=yes ;;
17240 am_func_iconv
=no am_cv_lib_iconv
=no
17242 if test "$am_func_iconv" = yes; then
17244 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
17247 if test "$am_cv_lib_iconv" = yes; then
17248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
17249 $as_echo_n "checking how to link with libiconv... " >&6; }
17250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
17251 $as_echo "$LIBICONV" >&6; }
17253 CPPFLAGS
="$am_save_CPPFLAGS"
17260 if test "$am_cv_func_iconv" = yes; then
17261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
17262 $as_echo_n "checking for iconv declaration... " >&6; }
17263 if ${am_cv_proto_iconv+:} false
; then :
17264 $as_echo_n "(cached) " >&6
17267 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17268 /* end confdefs.h. */
17270 #include <stdlib.h>
17276 #if defined(__STDC__) || defined(__cplusplus)
17277 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
17290 if ac_fn_c_try_compile
"$LINENO"; then :
17291 am_cv_proto_iconv_arg1
=""
17293 am_cv_proto_iconv_arg1
="const"
17295 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17296 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);"
17299 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
17300 { $as_echo "$as_me:${as_lineno-$LINENO}: result:
17301 $am_cv_proto_iconv" >&5
17303 $am_cv_proto_iconv" >&6; }
17305 cat >>confdefs.h
<<_ACEOF
17306 #define ICONV_CONST $am_cv_proto_iconv_arg1
17317 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
17318 if test -n "$ac_tool_prefix"; then
17319 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
17320 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
17321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17322 $as_echo_n "checking for $ac_word... " >&6; }
17323 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
17324 $as_echo_n "(cached) " >&6
17326 case $PKG_CONFIG in
17328 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
17331 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17332 for as_dir
in $PATH
17335 test -z "$as_dir" && as_dir
=.
17336 for ac_exec_ext
in '' $ac_executable_extensions; do
17337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17338 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
17339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17349 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
17350 if test -n "$PKG_CONFIG"; then
17351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17352 $as_echo "$PKG_CONFIG" >&6; }
17354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17355 $as_echo "no" >&6; }
17360 if test -z "$ac_cv_path_PKG_CONFIG"; then
17361 ac_pt_PKG_CONFIG
=$PKG_CONFIG
17362 # Extract the first word of "pkg-config", so it can be a program name with args.
17363 set dummy pkg-config
; ac_word
=$2
17364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17365 $as_echo_n "checking for $ac_word... " >&6; }
17366 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
17367 $as_echo_n "(cached) " >&6
17369 case $ac_pt_PKG_CONFIG in
17371 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
17374 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17375 for as_dir
in $PATH
17378 test -z "$as_dir" && as_dir
=.
17379 for ac_exec_ext
in '' $ac_executable_extensions; do
17380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17381 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
17382 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17392 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
17393 if test -n "$ac_pt_PKG_CONFIG"; then
17394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
17395 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
17397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17398 $as_echo "no" >&6; }
17401 if test "x$ac_pt_PKG_CONFIG" = x
; then
17404 case $cross_compiling:$ac_tool_warned in
17406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17407 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17408 ac_tool_warned
=yes ;;
17410 PKG_CONFIG
=$ac_pt_PKG_CONFIG
17413 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
17417 if test -n "$PKG_CONFIG"; then
17418 _pkg_min_version
=0.9.0
17419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
17420 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
17421 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
17422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17423 $as_echo "yes" >&6; }
17425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17426 $as_echo "no" >&6; }
17432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcurl" >&5
17433 $as_echo_n "checking for libcurl... " >&6; }
17435 if test -n "$libcurl_CFLAGS"; then
17436 pkg_cv_libcurl_CFLAGS
="$libcurl_CFLAGS"
17437 elif test -n "$PKG_CONFIG"; then
17438 if test -n "$PKG_CONFIG" && \
17439 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= 7.18.0\""; } >&5
17440 ($PKG_CONFIG --exists --print-errors "libcurl >= 7.18.0") 2>&5
17442 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17443 test $ac_status = 0; }; then
17444 pkg_cv_libcurl_CFLAGS
=`$PKG_CONFIG --cflags "libcurl >= 7.18.0" 2>/dev/null`
17451 if test -n "$libcurl_LIBS"; then
17452 pkg_cv_libcurl_LIBS
="$libcurl_LIBS"
17453 elif test -n "$PKG_CONFIG"; then
17454 if test -n "$PKG_CONFIG" && \
17455 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= 7.18.0\""; } >&5
17456 ($PKG_CONFIG --exists --print-errors "libcurl >= 7.18.0") 2>&5
17458 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17459 test $ac_status = 0; }; then
17460 pkg_cv_libcurl_LIBS
=`$PKG_CONFIG --libs "libcurl >= 7.18.0" 2>/dev/null`
17470 if test $pkg_failed = yes; then
17471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17472 $as_echo "no" >&6; }
17474 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17475 _pkg_short_errors_supported
=yes
17477 _pkg_short_errors_supported
=no
17479 if test $_pkg_short_errors_supported = yes; then
17480 libcurl_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libcurl >= 7.18.0" 2>&1`
17482 libcurl_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libcurl >= 7.18.0" 2>&1`
17484 # Put the nasty error message in config.log where it belongs
17485 echo "$libcurl_PKG_ERRORS" >&5
17487 as_fn_error $?
"Package requirements (libcurl >= 7.18.0) were not met:
17489 $libcurl_PKG_ERRORS
17491 Consider adjusting the PKG_CONFIG_PATH environment variable if you
17492 installed software in a non-standard prefix.
17494 Alternatively, you may set the environment variables libcurl_CFLAGS
17495 and libcurl_LIBS to avoid the need to call pkg-config.
17496 See the pkg-config man page for more details." "$LINENO" 5
17497 elif test $pkg_failed = untried
; then
17498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17499 $as_echo "no" >&6; }
17500 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17501 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17502 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
17503 is in your PATH or set the PKG_CONFIG environment variable to the full
17504 path to pkg-config.
17506 Alternatively, you may set the environment variables libcurl_CFLAGS
17507 and libcurl_LIBS to avoid the need to call pkg-config.
17508 See the pkg-config man page for more details.
17510 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17511 See \`config.log' for more details" "$LINENO" 5; }
17513 libcurl_CFLAGS
=$pkg_cv_libcurl_CFLAGS
17514 libcurl_LIBS
=$pkg_cv_libcurl_LIBS
17515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17516 $as_echo "yes" >&6; }
17521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
17522 $as_echo_n "checking for liblua... " >&6; }
17524 if test -n "$liblua_CFLAGS"; then
17525 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
17526 elif test -n "$PKG_CONFIG"; then
17527 if test -n "$PKG_CONFIG" && \
17528 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5
17529 ($PKG_CONFIG --exists --print-errors "lua >= 5.1") 2>&5
17531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17532 test $ac_status = 0; }; then
17533 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua >= 5.1" 2>/dev/null`
17540 if test -n "$liblua_LIBS"; then
17541 pkg_cv_liblua_LIBS
="$liblua_LIBS"
17542 elif test -n "$PKG_CONFIG"; then
17543 if test -n "$PKG_CONFIG" && \
17544 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5
17545 ($PKG_CONFIG --exists --print-errors "lua >= 5.1") 2>&5
17547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17548 test $ac_status = 0; }; then
17549 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua >= 5.1" 2>/dev/null`
17559 if test $pkg_failed = yes; then
17560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17561 $as_echo "no" >&6; }
17563 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17564 _pkg_short_errors_supported
=yes
17566 _pkg_short_errors_supported
=no
17568 if test $_pkg_short_errors_supported = yes; then
17569 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua >= 5.1" 2>&1`
17571 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua >= 5.1" 2>&1`
17573 # Put the nasty error message in config.log where it belongs
17574 echo "$liblua_PKG_ERRORS" >&5
17579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
17580 $as_echo_n "checking for liblua... " >&6; }
17582 if test -n "$liblua_CFLAGS"; then
17583 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
17584 elif test -n "$PKG_CONFIG"; then
17585 if test -n "$PKG_CONFIG" && \
17586 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1\""; } >&5
17587 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1") 2>&5
17589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17590 test $ac_status = 0; }; then
17591 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua51 >= 5.1" 2>/dev/null`
17598 if test -n "$liblua_LIBS"; then
17599 pkg_cv_liblua_LIBS
="$liblua_LIBS"
17600 elif test -n "$PKG_CONFIG"; then
17601 if test -n "$PKG_CONFIG" && \
17602 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1\""; } >&5
17603 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1") 2>&5
17605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17606 test $ac_status = 0; }; then
17607 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua51 >= 5.1" 2>/dev/null`
17617 if test $pkg_failed = yes; then
17618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17619 $as_echo "no" >&6; }
17621 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17622 _pkg_short_errors_supported
=yes
17624 _pkg_short_errors_supported
=no
17626 if test $_pkg_short_errors_supported = yes; then
17627 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1" 2>&1`
17629 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua51 >= 5.1" 2>&1`
17631 # Put the nasty error message in config.log where it belongs
17632 echo "$liblua_PKG_ERRORS" >&5
17637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
17638 $as_echo_n "checking for liblua... " >&6; }
17640 if test -n "$liblua_CFLAGS"; then
17641 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
17642 elif test -n "$PKG_CONFIG"; then
17643 if test -n "$PKG_CONFIG" && \
17644 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
17645 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
17647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17648 test $ac_status = 0; }; then
17649 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua5.1 >= 5.1" 2>/dev/null`
17656 if test -n "$liblua_LIBS"; then
17657 pkg_cv_liblua_LIBS
="$liblua_LIBS"
17658 elif test -n "$PKG_CONFIG"; then
17659 if test -n "$PKG_CONFIG" && \
17660 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
17661 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
17663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17664 test $ac_status = 0; }; then
17665 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua5.1 >= 5.1" 2>/dev/null`
17675 if test $pkg_failed = yes; then
17676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17677 $as_echo "no" >&6; }
17679 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17680 _pkg_short_errors_supported
=yes
17682 _pkg_short_errors_supported
=no
17684 if test $_pkg_short_errors_supported = yes; then
17685 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua5.1 >= 5.1" 2>&1`
17687 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua5.1 >= 5.1" 2>&1`
17689 # Put the nasty error message in config.log where it belongs
17690 echo "$liblua_PKG_ERRORS" >&5
17695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
17696 $as_echo_n "checking for liblua... " >&6; }
17698 if test -n "$liblua_CFLAGS"; then
17699 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
17700 elif test -n "$PKG_CONFIG"; then
17701 if test -n "$PKG_CONFIG" && \
17702 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
17703 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
17705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17706 test $ac_status = 0; }; then
17707 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
17714 if test -n "$liblua_LIBS"; then
17715 pkg_cv_liblua_LIBS
="$liblua_LIBS"
17716 elif test -n "$PKG_CONFIG"; then
17717 if test -n "$PKG_CONFIG" && \
17718 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
17719 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
17721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17722 test $ac_status = 0; }; then
17723 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
17733 if test $pkg_failed = yes; then
17734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17735 $as_echo "no" >&6; }
17737 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17738 _pkg_short_errors_supported
=yes
17740 _pkg_short_errors_supported
=no
17742 if test $_pkg_short_errors_supported = yes; then
17743 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
17745 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
17747 # Put the nasty error message in config.log where it belongs
17748 echo "$liblua_PKG_ERRORS" >&5
17750 as_fn_error $?
"Package requirements (lua-5.1 >= 5.1) were not met:
17754 Consider adjusting the PKG_CONFIG_PATH environment variable if you
17755 installed software in a non-standard prefix.
17757 Alternatively, you may set the environment variables liblua_CFLAGS
17758 and liblua_LIBS to avoid the need to call pkg-config.
17759 See the pkg-config man page for more details." "$LINENO" 5
17760 elif test $pkg_failed = untried
; then
17761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17762 $as_echo "no" >&6; }
17763 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17764 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17765 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
17766 is in your PATH or set the PKG_CONFIG environment variable to the full
17767 path to pkg-config.
17769 Alternatively, you may set the environment variables liblua_CFLAGS
17770 and liblua_LIBS to avoid the need to call pkg-config.
17771 See the pkg-config man page for more details.
17773 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17774 See \`config.log' for more details" "$LINENO" 5; }
17776 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
17777 liblua_LIBS
=$pkg_cv_liblua_LIBS
17778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17779 $as_echo "yes" >&6; }
17783 elif test $pkg_failed = untried
; then
17784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17785 $as_echo "no" >&6; }
17789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
17790 $as_echo_n "checking for liblua... " >&6; }
17792 if test -n "$liblua_CFLAGS"; then
17793 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
17794 elif test -n "$PKG_CONFIG"; then
17795 if test -n "$PKG_CONFIG" && \
17796 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
17797 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
17799 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17800 test $ac_status = 0; }; then
17801 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
17808 if test -n "$liblua_LIBS"; then
17809 pkg_cv_liblua_LIBS
="$liblua_LIBS"
17810 elif test -n "$PKG_CONFIG"; then
17811 if test -n "$PKG_CONFIG" && \
17812 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
17813 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
17815 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17816 test $ac_status = 0; }; then
17817 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
17827 if test $pkg_failed = yes; then
17828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17829 $as_echo "no" >&6; }
17831 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17832 _pkg_short_errors_supported
=yes
17834 _pkg_short_errors_supported
=no
17836 if test $_pkg_short_errors_supported = yes; then
17837 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
17839 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
17841 # Put the nasty error message in config.log where it belongs
17842 echo "$liblua_PKG_ERRORS" >&5
17844 as_fn_error $?
"Package requirements (lua-5.1 >= 5.1) were not met:
17848 Consider adjusting the PKG_CONFIG_PATH environment variable if you
17849 installed software in a non-standard prefix.
17851 Alternatively, you may set the environment variables liblua_CFLAGS
17852 and liblua_LIBS to avoid the need to call pkg-config.
17853 See the pkg-config man page for more details." "$LINENO" 5
17854 elif test $pkg_failed = untried
; then
17855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17856 $as_echo "no" >&6; }
17857 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17858 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17859 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
17860 is in your PATH or set the PKG_CONFIG environment variable to the full
17861 path to pkg-config.
17863 Alternatively, you may set the environment variables liblua_CFLAGS
17864 and liblua_LIBS to avoid the need to call pkg-config.
17865 See the pkg-config man page for more details.
17867 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17868 See \`config.log' for more details" "$LINENO" 5; }
17870 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
17871 liblua_LIBS
=$pkg_cv_liblua_LIBS
17872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17873 $as_echo "yes" >&6; }
17878 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
17879 liblua_LIBS
=$pkg_cv_liblua_LIBS
17880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17881 $as_echo "yes" >&6; }
17885 elif test $pkg_failed = untried
; then
17886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17887 $as_echo "no" >&6; }
17891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
17892 $as_echo_n "checking for liblua... " >&6; }
17894 if test -n "$liblua_CFLAGS"; then
17895 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
17896 elif test -n "$PKG_CONFIG"; then
17897 if test -n "$PKG_CONFIG" && \
17898 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
17899 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
17901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17902 test $ac_status = 0; }; then
17903 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua5.1 >= 5.1" 2>/dev/null`
17910 if test -n "$liblua_LIBS"; then
17911 pkg_cv_liblua_LIBS
="$liblua_LIBS"
17912 elif test -n "$PKG_CONFIG"; then
17913 if test -n "$PKG_CONFIG" && \
17914 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
17915 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
17917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17918 test $ac_status = 0; }; then
17919 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua5.1 >= 5.1" 2>/dev/null`
17929 if test $pkg_failed = yes; then
17930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17931 $as_echo "no" >&6; }
17933 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17934 _pkg_short_errors_supported
=yes
17936 _pkg_short_errors_supported
=no
17938 if test $_pkg_short_errors_supported = yes; then
17939 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua5.1 >= 5.1" 2>&1`
17941 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua5.1 >= 5.1" 2>&1`
17943 # Put the nasty error message in config.log where it belongs
17944 echo "$liblua_PKG_ERRORS" >&5
17949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
17950 $as_echo_n "checking for liblua... " >&6; }
17952 if test -n "$liblua_CFLAGS"; then
17953 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
17954 elif test -n "$PKG_CONFIG"; then
17955 if test -n "$PKG_CONFIG" && \
17956 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
17957 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
17959 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17960 test $ac_status = 0; }; then
17961 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
17968 if test -n "$liblua_LIBS"; then
17969 pkg_cv_liblua_LIBS
="$liblua_LIBS"
17970 elif test -n "$PKG_CONFIG"; then
17971 if test -n "$PKG_CONFIG" && \
17972 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
17973 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
17975 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17976 test $ac_status = 0; }; then
17977 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
17987 if test $pkg_failed = yes; then
17988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17989 $as_echo "no" >&6; }
17991 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17992 _pkg_short_errors_supported
=yes
17994 _pkg_short_errors_supported
=no
17996 if test $_pkg_short_errors_supported = yes; then
17997 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
17999 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
18001 # Put the nasty error message in config.log where it belongs
18002 echo "$liblua_PKG_ERRORS" >&5
18004 as_fn_error $?
"Package requirements (lua-5.1 >= 5.1) were not met:
18008 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18009 installed software in a non-standard prefix.
18011 Alternatively, you may set the environment variables liblua_CFLAGS
18012 and liblua_LIBS to avoid the need to call pkg-config.
18013 See the pkg-config man page for more details." "$LINENO" 5
18014 elif test $pkg_failed = untried
; then
18015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18016 $as_echo "no" >&6; }
18017 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18018 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18019 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
18020 is in your PATH or set the PKG_CONFIG environment variable to the full
18021 path to pkg-config.
18023 Alternatively, you may set the environment variables liblua_CFLAGS
18024 and liblua_LIBS to avoid the need to call pkg-config.
18025 See the pkg-config man page for more details.
18027 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18028 See \`config.log' for more details" "$LINENO" 5; }
18030 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
18031 liblua_LIBS
=$pkg_cv_liblua_LIBS
18032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18033 $as_echo "yes" >&6; }
18037 elif test $pkg_failed = untried
; then
18038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18039 $as_echo "no" >&6; }
18043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18044 $as_echo_n "checking for liblua... " >&6; }
18046 if test -n "$liblua_CFLAGS"; then
18047 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
18048 elif test -n "$PKG_CONFIG"; then
18049 if test -n "$PKG_CONFIG" && \
18050 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18051 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18053 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18054 test $ac_status = 0; }; then
18055 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
18062 if test -n "$liblua_LIBS"; then
18063 pkg_cv_liblua_LIBS
="$liblua_LIBS"
18064 elif test -n "$PKG_CONFIG"; then
18065 if test -n "$PKG_CONFIG" && \
18066 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18067 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18069 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18070 test $ac_status = 0; }; then
18071 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
18081 if test $pkg_failed = yes; then
18082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18083 $as_echo "no" >&6; }
18085 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18086 _pkg_short_errors_supported
=yes
18088 _pkg_short_errors_supported
=no
18090 if test $_pkg_short_errors_supported = yes; then
18091 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
18093 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
18095 # Put the nasty error message in config.log where it belongs
18096 echo "$liblua_PKG_ERRORS" >&5
18098 as_fn_error $?
"Package requirements (lua-5.1 >= 5.1) were not met:
18102 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18103 installed software in a non-standard prefix.
18105 Alternatively, you may set the environment variables liblua_CFLAGS
18106 and liblua_LIBS to avoid the need to call pkg-config.
18107 See the pkg-config man page for more details." "$LINENO" 5
18108 elif test $pkg_failed = untried
; then
18109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18110 $as_echo "no" >&6; }
18111 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18112 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18113 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
18114 is in your PATH or set the PKG_CONFIG environment variable to the full
18115 path to pkg-config.
18117 Alternatively, you may set the environment variables liblua_CFLAGS
18118 and liblua_LIBS to avoid the need to call pkg-config.
18119 See the pkg-config man page for more details.
18121 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18122 See \`config.log' for more details" "$LINENO" 5; }
18124 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
18125 liblua_LIBS
=$pkg_cv_liblua_LIBS
18126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18127 $as_echo "yes" >&6; }
18132 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
18133 liblua_LIBS
=$pkg_cv_liblua_LIBS
18134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18135 $as_echo "yes" >&6; }
18140 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
18141 liblua_LIBS
=$pkg_cv_liblua_LIBS
18142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18143 $as_echo "yes" >&6; }
18147 elif test $pkg_failed = untried
; then
18148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18149 $as_echo "no" >&6; }
18153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18154 $as_echo_n "checking for liblua... " >&6; }
18156 if test -n "$liblua_CFLAGS"; then
18157 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
18158 elif test -n "$PKG_CONFIG"; then
18159 if test -n "$PKG_CONFIG" && \
18160 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1\""; } >&5
18161 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1") 2>&5
18163 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18164 test $ac_status = 0; }; then
18165 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua51 >= 5.1" 2>/dev/null`
18172 if test -n "$liblua_LIBS"; then
18173 pkg_cv_liblua_LIBS
="$liblua_LIBS"
18174 elif test -n "$PKG_CONFIG"; then
18175 if test -n "$PKG_CONFIG" && \
18176 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1\""; } >&5
18177 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1") 2>&5
18179 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18180 test $ac_status = 0; }; then
18181 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua51 >= 5.1" 2>/dev/null`
18191 if test $pkg_failed = yes; then
18192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18193 $as_echo "no" >&6; }
18195 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18196 _pkg_short_errors_supported
=yes
18198 _pkg_short_errors_supported
=no
18200 if test $_pkg_short_errors_supported = yes; then
18201 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1" 2>&1`
18203 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua51 >= 5.1" 2>&1`
18205 # Put the nasty error message in config.log where it belongs
18206 echo "$liblua_PKG_ERRORS" >&5
18211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18212 $as_echo_n "checking for liblua... " >&6; }
18214 if test -n "$liblua_CFLAGS"; then
18215 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
18216 elif test -n "$PKG_CONFIG"; then
18217 if test -n "$PKG_CONFIG" && \
18218 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
18219 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
18221 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18222 test $ac_status = 0; }; then
18223 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua5.1 >= 5.1" 2>/dev/null`
18230 if test -n "$liblua_LIBS"; then
18231 pkg_cv_liblua_LIBS
="$liblua_LIBS"
18232 elif test -n "$PKG_CONFIG"; then
18233 if test -n "$PKG_CONFIG" && \
18234 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
18235 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
18237 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18238 test $ac_status = 0; }; then
18239 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua5.1 >= 5.1" 2>/dev/null`
18249 if test $pkg_failed = yes; then
18250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18251 $as_echo "no" >&6; }
18253 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18254 _pkg_short_errors_supported
=yes
18256 _pkg_short_errors_supported
=no
18258 if test $_pkg_short_errors_supported = yes; then
18259 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua5.1 >= 5.1" 2>&1`
18261 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua5.1 >= 5.1" 2>&1`
18263 # Put the nasty error message in config.log where it belongs
18264 echo "$liblua_PKG_ERRORS" >&5
18269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18270 $as_echo_n "checking for liblua... " >&6; }
18272 if test -n "$liblua_CFLAGS"; then
18273 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
18274 elif test -n "$PKG_CONFIG"; then
18275 if test -n "$PKG_CONFIG" && \
18276 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18277 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18279 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18280 test $ac_status = 0; }; then
18281 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
18288 if test -n "$liblua_LIBS"; then
18289 pkg_cv_liblua_LIBS
="$liblua_LIBS"
18290 elif test -n "$PKG_CONFIG"; then
18291 if test -n "$PKG_CONFIG" && \
18292 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18293 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18295 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18296 test $ac_status = 0; }; then
18297 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
18307 if test $pkg_failed = yes; then
18308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18309 $as_echo "no" >&6; }
18311 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18312 _pkg_short_errors_supported
=yes
18314 _pkg_short_errors_supported
=no
18316 if test $_pkg_short_errors_supported = yes; then
18317 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
18319 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
18321 # Put the nasty error message in config.log where it belongs
18322 echo "$liblua_PKG_ERRORS" >&5
18324 as_fn_error $?
"Package requirements (lua-5.1 >= 5.1) were not met:
18328 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18329 installed software in a non-standard prefix.
18331 Alternatively, you may set the environment variables liblua_CFLAGS
18332 and liblua_LIBS to avoid the need to call pkg-config.
18333 See the pkg-config man page for more details." "$LINENO" 5
18334 elif test $pkg_failed = untried
; then
18335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18336 $as_echo "no" >&6; }
18337 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18338 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18339 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
18340 is in your PATH or set the PKG_CONFIG environment variable to the full
18341 path to pkg-config.
18343 Alternatively, you may set the environment variables liblua_CFLAGS
18344 and liblua_LIBS to avoid the need to call pkg-config.
18345 See the pkg-config man page for more details.
18347 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18348 See \`config.log' for more details" "$LINENO" 5; }
18350 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
18351 liblua_LIBS
=$pkg_cv_liblua_LIBS
18352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18353 $as_echo "yes" >&6; }
18357 elif test $pkg_failed = untried
; then
18358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18359 $as_echo "no" >&6; }
18363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18364 $as_echo_n "checking for liblua... " >&6; }
18366 if test -n "$liblua_CFLAGS"; then
18367 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
18368 elif test -n "$PKG_CONFIG"; then
18369 if test -n "$PKG_CONFIG" && \
18370 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18371 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18373 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18374 test $ac_status = 0; }; then
18375 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
18382 if test -n "$liblua_LIBS"; then
18383 pkg_cv_liblua_LIBS
="$liblua_LIBS"
18384 elif test -n "$PKG_CONFIG"; then
18385 if test -n "$PKG_CONFIG" && \
18386 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18387 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18389 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18390 test $ac_status = 0; }; then
18391 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
18401 if test $pkg_failed = yes; then
18402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18403 $as_echo "no" >&6; }
18405 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18406 _pkg_short_errors_supported
=yes
18408 _pkg_short_errors_supported
=no
18410 if test $_pkg_short_errors_supported = yes; then
18411 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
18413 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
18415 # Put the nasty error message in config.log where it belongs
18416 echo "$liblua_PKG_ERRORS" >&5
18418 as_fn_error $?
"Package requirements (lua-5.1 >= 5.1) were not met:
18422 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18423 installed software in a non-standard prefix.
18425 Alternatively, you may set the environment variables liblua_CFLAGS
18426 and liblua_LIBS to avoid the need to call pkg-config.
18427 See the pkg-config man page for more details." "$LINENO" 5
18428 elif test $pkg_failed = untried
; then
18429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18430 $as_echo "no" >&6; }
18431 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18432 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18433 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
18434 is in your PATH or set the PKG_CONFIG environment variable to the full
18435 path to pkg-config.
18437 Alternatively, you may set the environment variables liblua_CFLAGS
18438 and liblua_LIBS to avoid the need to call pkg-config.
18439 See the pkg-config man page for more details.
18441 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18442 See \`config.log' for more details" "$LINENO" 5; }
18444 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
18445 liblua_LIBS
=$pkg_cv_liblua_LIBS
18446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18447 $as_echo "yes" >&6; }
18452 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
18453 liblua_LIBS
=$pkg_cv_liblua_LIBS
18454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18455 $as_echo "yes" >&6; }
18459 elif test $pkg_failed = untried
; then
18460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18461 $as_echo "no" >&6; }
18465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18466 $as_echo_n "checking for liblua... " >&6; }
18468 if test -n "$liblua_CFLAGS"; then
18469 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
18470 elif test -n "$PKG_CONFIG"; then
18471 if test -n "$PKG_CONFIG" && \
18472 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
18473 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
18475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18476 test $ac_status = 0; }; then
18477 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua5.1 >= 5.1" 2>/dev/null`
18484 if test -n "$liblua_LIBS"; then
18485 pkg_cv_liblua_LIBS
="$liblua_LIBS"
18486 elif test -n "$PKG_CONFIG"; then
18487 if test -n "$PKG_CONFIG" && \
18488 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
18489 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
18491 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18492 test $ac_status = 0; }; then
18493 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua5.1 >= 5.1" 2>/dev/null`
18503 if test $pkg_failed = yes; then
18504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18505 $as_echo "no" >&6; }
18507 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18508 _pkg_short_errors_supported
=yes
18510 _pkg_short_errors_supported
=no
18512 if test $_pkg_short_errors_supported = yes; then
18513 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua5.1 >= 5.1" 2>&1`
18515 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua5.1 >= 5.1" 2>&1`
18517 # Put the nasty error message in config.log where it belongs
18518 echo "$liblua_PKG_ERRORS" >&5
18523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18524 $as_echo_n "checking for liblua... " >&6; }
18526 if test -n "$liblua_CFLAGS"; then
18527 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
18528 elif test -n "$PKG_CONFIG"; then
18529 if test -n "$PKG_CONFIG" && \
18530 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18531 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18533 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18534 test $ac_status = 0; }; then
18535 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
18542 if test -n "$liblua_LIBS"; then
18543 pkg_cv_liblua_LIBS
="$liblua_LIBS"
18544 elif test -n "$PKG_CONFIG"; then
18545 if test -n "$PKG_CONFIG" && \
18546 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18547 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18549 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18550 test $ac_status = 0; }; then
18551 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
18561 if test $pkg_failed = yes; then
18562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18563 $as_echo "no" >&6; }
18565 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18566 _pkg_short_errors_supported
=yes
18568 _pkg_short_errors_supported
=no
18570 if test $_pkg_short_errors_supported = yes; then
18571 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
18573 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
18575 # Put the nasty error message in config.log where it belongs
18576 echo "$liblua_PKG_ERRORS" >&5
18578 as_fn_error $?
"Package requirements (lua-5.1 >= 5.1) were not met:
18582 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18583 installed software in a non-standard prefix.
18585 Alternatively, you may set the environment variables liblua_CFLAGS
18586 and liblua_LIBS to avoid the need to call pkg-config.
18587 See the pkg-config man page for more details." "$LINENO" 5
18588 elif test $pkg_failed = untried
; then
18589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18590 $as_echo "no" >&6; }
18591 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18592 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18593 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
18594 is in your PATH or set the PKG_CONFIG environment variable to the full
18595 path to pkg-config.
18597 Alternatively, you may set the environment variables liblua_CFLAGS
18598 and liblua_LIBS to avoid the need to call pkg-config.
18599 See the pkg-config man page for more details.
18601 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18602 See \`config.log' for more details" "$LINENO" 5; }
18604 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
18605 liblua_LIBS
=$pkg_cv_liblua_LIBS
18606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18607 $as_echo "yes" >&6; }
18611 elif test $pkg_failed = untried
; then
18612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18613 $as_echo "no" >&6; }
18617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18618 $as_echo_n "checking for liblua... " >&6; }
18620 if test -n "$liblua_CFLAGS"; then
18621 pkg_cv_liblua_CFLAGS
="$liblua_CFLAGS"
18622 elif test -n "$PKG_CONFIG"; then
18623 if test -n "$PKG_CONFIG" && \
18624 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18625 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18628 test $ac_status = 0; }; then
18629 pkg_cv_liblua_CFLAGS
=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
18636 if test -n "$liblua_LIBS"; then
18637 pkg_cv_liblua_LIBS
="$liblua_LIBS"
18638 elif test -n "$PKG_CONFIG"; then
18639 if test -n "$PKG_CONFIG" && \
18640 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18641 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18643 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18644 test $ac_status = 0; }; then
18645 pkg_cv_liblua_LIBS
=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
18655 if test $pkg_failed = yes; then
18656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18657 $as_echo "no" >&6; }
18659 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18660 _pkg_short_errors_supported
=yes
18662 _pkg_short_errors_supported
=no
18664 if test $_pkg_short_errors_supported = yes; then
18665 liblua_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
18667 liblua_PKG_ERRORS
=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
18669 # Put the nasty error message in config.log where it belongs
18670 echo "$liblua_PKG_ERRORS" >&5
18672 as_fn_error $?
"Package requirements (lua-5.1 >= 5.1) were not met:
18676 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18677 installed software in a non-standard prefix.
18679 Alternatively, you may set the environment variables liblua_CFLAGS
18680 and liblua_LIBS to avoid the need to call pkg-config.
18681 See the pkg-config man page for more details." "$LINENO" 5
18682 elif test $pkg_failed = untried
; then
18683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18684 $as_echo "no" >&6; }
18685 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18686 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18687 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
18688 is in your PATH or set the PKG_CONFIG environment variable to the full
18689 path to pkg-config.
18691 Alternatively, you may set the environment variables liblua_CFLAGS
18692 and liblua_LIBS to avoid the need to call pkg-config.
18693 See the pkg-config man page for more details.
18695 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18696 See \`config.log' for more details" "$LINENO" 5; }
18698 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
18699 liblua_LIBS
=$pkg_cv_liblua_LIBS
18700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18701 $as_echo "yes" >&6; }
18706 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
18707 liblua_LIBS
=$pkg_cv_liblua_LIBS
18708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18709 $as_echo "yes" >&6; }
18714 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
18715 liblua_LIBS
=$pkg_cv_liblua_LIBS
18716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18717 $as_echo "yes" >&6; }
18722 liblua_CFLAGS
=$pkg_cv_liblua_CFLAGS
18723 liblua_LIBS
=$pkg_cv_liblua_LIBS
18724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18725 $as_echo "yes" >&6; }
18730 # Check whether --with-soup was given.
18731 if test "${with_soup+set}" = set; then :
18732 withval
=$with_soup;
18736 if test "x$with_soup" = "xyes"; then :
18738 # Either libsoup-gnome or libsoup.
18741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsoup_gnome" >&5
18742 $as_echo_n "checking for libsoup_gnome... " >&6; }
18744 if test -n "$libsoup_gnome_CFLAGS"; then
18745 pkg_cv_libsoup_gnome_CFLAGS
="$libsoup_gnome_CFLAGS"
18746 elif test -n "$PKG_CONFIG"; then
18747 if test -n "$PKG_CONFIG" && \
18748 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-gnome-2.4 >= 2.26\""; } >&5
18749 ($PKG_CONFIG --exists --print-errors "libsoup-gnome-2.4 >= 2.26") 2>&5
18751 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18752 test $ac_status = 0; }; then
18753 pkg_cv_libsoup_gnome_CFLAGS
=`$PKG_CONFIG --cflags "libsoup-gnome-2.4 >= 2.26" 2>/dev/null`
18760 if test -n "$libsoup_gnome_LIBS"; then
18761 pkg_cv_libsoup_gnome_LIBS
="$libsoup_gnome_LIBS"
18762 elif test -n "$PKG_CONFIG"; then
18763 if test -n "$PKG_CONFIG" && \
18764 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-gnome-2.4 >= 2.26\""; } >&5
18765 ($PKG_CONFIG --exists --print-errors "libsoup-gnome-2.4 >= 2.26") 2>&5
18767 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18768 test $ac_status = 0; }; then
18769 pkg_cv_libsoup_gnome_LIBS
=`$PKG_CONFIG --libs "libsoup-gnome-2.4 >= 2.26" 2>/dev/null`
18779 if test $pkg_failed = yes; then
18780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18781 $as_echo "no" >&6; }
18783 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18784 _pkg_short_errors_supported
=yes
18786 _pkg_short_errors_supported
=no
18788 if test $_pkg_short_errors_supported = yes; then
18789 libsoup_gnome_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libsoup-gnome-2.4 >= 2.26" 2>&1`
18791 libsoup_gnome_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libsoup-gnome-2.4 >= 2.26" 2>&1`
18793 # Put the nasty error message in config.log where it belongs
18794 echo "$libsoup_gnome_PKG_ERRORS" >&5
18798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsoup" >&5
18799 $as_echo_n "checking for libsoup... " >&6; }
18801 if test -n "$libsoup_CFLAGS"; then
18802 pkg_cv_libsoup_CFLAGS
="$libsoup_CFLAGS"
18803 elif test -n "$PKG_CONFIG"; then
18804 if test -n "$PKG_CONFIG" && \
18805 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= 2.26\""; } >&5
18806 ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= 2.26") 2>&5
18808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18809 test $ac_status = 0; }; then
18810 pkg_cv_libsoup_CFLAGS
=`$PKG_CONFIG --cflags "libsoup-2.4 >= 2.26" 2>/dev/null`
18817 if test -n "$libsoup_LIBS"; then
18818 pkg_cv_libsoup_LIBS
="$libsoup_LIBS"
18819 elif test -n "$PKG_CONFIG"; then
18820 if test -n "$PKG_CONFIG" && \
18821 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= 2.26\""; } >&5
18822 ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= 2.26") 2>&5
18824 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18825 test $ac_status = 0; }; then
18826 pkg_cv_libsoup_LIBS
=`$PKG_CONFIG --libs "libsoup-2.4 >= 2.26" 2>/dev/null`
18836 if test $pkg_failed = yes; then
18837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18838 $as_echo "no" >&6; }
18840 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18841 _pkg_short_errors_supported
=yes
18843 _pkg_short_errors_supported
=no
18845 if test $_pkg_short_errors_supported = yes; then
18846 libsoup_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libsoup-2.4 >= 2.26" 2>&1`
18848 libsoup_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libsoup-2.4 >= 2.26" 2>&1`
18850 # Put the nasty error message in config.log where it belongs
18851 echo "$libsoup_PKG_ERRORS" >&5
18853 as_fn_error $?
"Package requirements (libsoup-2.4 >= 2.26) were not met:
18855 $libsoup_PKG_ERRORS
18857 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18858 installed software in a non-standard prefix.
18860 Alternatively, you may set the environment variables libsoup_CFLAGS
18861 and libsoup_LIBS to avoid the need to call pkg-config.
18862 See the pkg-config man page for more details." "$LINENO" 5
18863 elif test $pkg_failed = untried
; then
18864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18865 $as_echo "no" >&6; }
18866 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18867 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18868 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
18869 is in your PATH or set the PKG_CONFIG environment variable to the full
18870 path to pkg-config.
18872 Alternatively, you may set the environment variables libsoup_CFLAGS
18873 and libsoup_LIBS to avoid the need to call pkg-config.
18874 See the pkg-config man page for more details.
18876 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18877 See \`config.log' for more details" "$LINENO" 5; }
18879 libsoup_CFLAGS
=$pkg_cv_libsoup_CFLAGS
18880 libsoup_LIBS
=$pkg_cv_libsoup_LIBS
18881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18882 $as_echo "yes" >&6; }
18886 elif test $pkg_failed = untried
; then
18887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18888 $as_echo "no" >&6; }
18891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsoup" >&5
18892 $as_echo_n "checking for libsoup... " >&6; }
18894 if test -n "$libsoup_CFLAGS"; then
18895 pkg_cv_libsoup_CFLAGS
="$libsoup_CFLAGS"
18896 elif test -n "$PKG_CONFIG"; then
18897 if test -n "$PKG_CONFIG" && \
18898 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= 2.26\""; } >&5
18899 ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= 2.26") 2>&5
18901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18902 test $ac_status = 0; }; then
18903 pkg_cv_libsoup_CFLAGS
=`$PKG_CONFIG --cflags "libsoup-2.4 >= 2.26" 2>/dev/null`
18910 if test -n "$libsoup_LIBS"; then
18911 pkg_cv_libsoup_LIBS
="$libsoup_LIBS"
18912 elif test -n "$PKG_CONFIG"; then
18913 if test -n "$PKG_CONFIG" && \
18914 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= 2.26\""; } >&5
18915 ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= 2.26") 2>&5
18917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18918 test $ac_status = 0; }; then
18919 pkg_cv_libsoup_LIBS
=`$PKG_CONFIG --libs "libsoup-2.4 >= 2.26" 2>/dev/null`
18929 if test $pkg_failed = yes; then
18930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18931 $as_echo "no" >&6; }
18933 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18934 _pkg_short_errors_supported
=yes
18936 _pkg_short_errors_supported
=no
18938 if test $_pkg_short_errors_supported = yes; then
18939 libsoup_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libsoup-2.4 >= 2.26" 2>&1`
18941 libsoup_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libsoup-2.4 >= 2.26" 2>&1`
18943 # Put the nasty error message in config.log where it belongs
18944 echo "$libsoup_PKG_ERRORS" >&5
18946 as_fn_error $?
"Package requirements (libsoup-2.4 >= 2.26) were not met:
18948 $libsoup_PKG_ERRORS
18950 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18951 installed software in a non-standard prefix.
18953 Alternatively, you may set the environment variables libsoup_CFLAGS
18954 and libsoup_LIBS to avoid the need to call pkg-config.
18955 See the pkg-config man page for more details." "$LINENO" 5
18956 elif test $pkg_failed = untried
; then
18957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18958 $as_echo "no" >&6; }
18959 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18960 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18961 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
18962 is in your PATH or set the PKG_CONFIG environment variable to the full
18963 path to pkg-config.
18965 Alternatively, you may set the environment variables libsoup_CFLAGS
18966 and libsoup_LIBS to avoid the need to call pkg-config.
18967 See the pkg-config man page for more details.
18969 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18970 See \`config.log' for more details" "$LINENO" 5; }
18972 libsoup_CFLAGS
=$pkg_cv_libsoup_CFLAGS
18973 libsoup_LIBS
=$pkg_cv_libsoup_LIBS
18974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18975 $as_echo "yes" >&6; }
18980 libsoup_gnome_CFLAGS
=$pkg_cv_libsoup_gnome_CFLAGS
18981 libsoup_gnome_LIBS
=$pkg_cv_libsoup_gnome_LIBS
18982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18983 $as_echo "yes" >&6; }
18986 $as_echo "#define HAVE_LIBSOUP_GNOME 1" >>confdefs.h
18988 libsoup_CFLAGS
="$libsoup_gnome_CFLAGS"
18989 libsoup_LIBS
="$libsoup_gnome_LIBS"
18997 if test x
"$with_soup" = "xyes"; then
18999 WITH_SOUP_FALSE
='#'
19006 # Checks for header files.
19007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
19008 $as_echo_n "checking for ANSI C header files... " >&6; }
19009 if ${ac_cv_header_stdc+:} false
; then :
19010 $as_echo_n "(cached) " >&6
19012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19013 /* end confdefs.h. */
19014 #include <stdlib.h>
19015 #include <stdarg.h>
19016 #include <string.h>
19027 if ac_fn_c_try_compile
"$LINENO"; then :
19028 ac_cv_header_stdc
=yes
19030 ac_cv_header_stdc
=no
19032 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19034 if test $ac_cv_header_stdc = yes; then
19035 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19037 /* end confdefs.h. */
19038 #include <string.h>
19041 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19042 $EGREP "memchr" >/dev
/null
2>&1; then :
19045 ac_cv_header_stdc
=no
19051 if test $ac_cv_header_stdc = yes; then
19052 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19054 /* end confdefs.h. */
19055 #include <stdlib.h>
19058 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19059 $EGREP "free" >/dev
/null
2>&1; then :
19062 ac_cv_header_stdc
=no
19068 if test $ac_cv_header_stdc = yes; then
19069 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19070 if test "$cross_compiling" = yes; then :
19073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19074 /* end confdefs.h. */
19076 #include <stdlib.h>
19077 #if ((' ' & 0x0FF) == 0x020)
19078 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19079 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19081 # define ISLOWER(c) \
19082 (('a' <= (c) && (c) <= 'i') \
19083 || ('j' <= (c) && (c) <= 'r') \
19084 || ('s' <= (c) && (c) <= 'z'))
19085 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19088 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19093 for (i = 0; i < 256; i++)
19094 if (XOR (islower (i), ISLOWER (i))
19095 || toupper (i) != TOUPPER (i))
19100 if ac_fn_c_try_run
"$LINENO"; then :
19103 ac_cv_header_stdc
=no
19105 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
19106 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
19112 $as_echo "$ac_cv_header_stdc" >&6; }
19113 if test $ac_cv_header_stdc = yes; then
19115 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
19118 # `stdlib.h', `stdarg.h', `string.h', ...
19119 for ac_header
in memory.h stdint.h stdlib.h limits.h stddef.h
19121 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19122 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19123 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
19124 cat >>confdefs.h
<<_ACEOF
19125 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19133 # Checks for typedefs, structures, and compiler characteristics.
19134 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
19135 if test "x$ac_cv_type_size_t" = xyes
; then :
19139 cat >>confdefs.h
<<_ACEOF
19140 #define size_t unsigned int
19145 ac_fn_c_find_uintX_t
"$LINENO" "32" "ac_cv_c_uint32_t"
19146 case $ac_cv_c_uint32_t in #(
19150 $as_echo "#define _UINT32_T 1" >>confdefs.h
19153 cat >>confdefs.h
<<_ACEOF
19154 #define uint32_t $ac_cv_c_uint32_t
19159 ac_fn_c_find_uintX_t
"$LINENO" "64" "ac_cv_c_uint64_t"
19160 case $ac_cv_c_uint64_t in #(
19164 $as_echo "#define _UINT64_T 1" >>confdefs.h
19167 cat >>confdefs.h
<<_ACEOF
19168 #define uint64_t $ac_cv_c_uint64_t
19173 ac_fn_c_find_uintX_t
"$LINENO" "8" "ac_cv_c_uint8_t"
19174 case $ac_cv_c_uint8_t in #(
19178 $as_echo "#define _UINT8_T 1" >>confdefs.h
19181 cat >>confdefs.h
<<_ACEOF
19182 #define uint8_t $ac_cv_c_uint8_t
19187 ac_fn_c_check_type
"$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
19188 if test "x$ac_cv_type_ptrdiff_t" = xyes
; then :
19190 cat >>confdefs.h
<<_ACEOF
19191 #define HAVE_PTRDIFF_T 1
19198 # Checks for library functions.
19199 if test x
"$host_w32" = "xno" ; then
19200 for ac_header
in stdlib.h
19202 ac_fn_c_check_header_mongrel
"$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
19203 if test "x$ac_cv_header_stdlib_h" = xyes
; then :
19204 cat >>confdefs.h
<<_ACEOF
19205 #define HAVE_STDLIB_H 1
19212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
19213 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
19214 if ${ac_cv_func_malloc_0_nonnull+:} false
; then :
19215 $as_echo_n "(cached) " >&6
19217 if test "$cross_compiling" = yes; then :
19218 ac_cv_func_malloc_0_nonnull
=no
19220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19221 /* end confdefs.h. */
19222 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
19223 # include <stdlib.h>
19231 return ! malloc (0);
19236 if ac_fn_c_try_run
"$LINENO"; then :
19237 ac_cv_func_malloc_0_nonnull
=yes
19239 ac_cv_func_malloc_0_nonnull
=no
19241 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
19242 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
19247 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
19248 if test $ac_cv_func_malloc_0_nonnull = yes; then :
19250 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
19253 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
19255 case " $LIBOBJS " in
19256 *" malloc.$ac_objext "* ) ;;
19257 *) LIBOBJS
="$LIBOBJS malloc.$ac_objext"
19262 $as_echo "#define malloc rpl_malloc" >>confdefs.h
19267 for ac_header
in stdlib.h
19269 ac_fn_c_check_header_mongrel
"$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
19270 if test "x$ac_cv_header_stdlib_h" = xyes
; then :
19271 cat >>confdefs.h
<<_ACEOF
19272 #define HAVE_STDLIB_H 1
19279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
19280 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
19281 if ${ac_cv_func_realloc_0_nonnull+:} false
; then :
19282 $as_echo_n "(cached) " >&6
19284 if test "$cross_compiling" = yes; then :
19285 ac_cv_func_realloc_0_nonnull
=no
19287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19288 /* end confdefs.h. */
19289 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
19290 # include <stdlib.h>
19298 return ! realloc (0, 0);
19303 if ac_fn_c_try_run
"$LINENO"; then :
19304 ac_cv_func_realloc_0_nonnull
=yes
19306 ac_cv_func_realloc_0_nonnull
=no
19308 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
19309 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
19314 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
19315 if test $ac_cv_func_realloc_0_nonnull = yes; then :
19317 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
19320 $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
19322 case " $LIBOBJS " in
19323 *" realloc.$ac_objext "* ) ;;
19324 *) LIBOBJS
="$LIBOBJS realloc.$ac_objext"
19329 $as_echo "#define realloc rpl_realloc" >>confdefs.h
19335 for ac_func
in memset strdup strstr strtol strerror strcspn getcwd strchr strrchr strspn
19337 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19338 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
19339 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
19340 cat >>confdefs.h
<<_ACEOF
19341 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5
19348 $as_echo_n "checking for working strtod... " >&6; }
19349 if ${ac_cv_func_strtod+:} false
; then :
19350 $as_echo_n "(cached) " >&6
19352 if test "$cross_compiling" = yes; then :
19353 ac_cv_func_strtod
=no
19355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19356 /* end confdefs.h. */
19358 $ac_includes_default
19366 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
19367 char *string = " +69";
19370 value = strtod (string, &term);
19371 if (value != 69 || term != (string + 4))
19376 /* Under Solaris 2.4, strtod returns the wrong value for the
19377 terminating character under some conditions. */
19378 char *string = "NaN";
19380 strtod (string, &term);
19381 if (term != string && *(term - 1) == 0)
19388 if ac_fn_c_try_run
"$LINENO"; then :
19389 ac_cv_func_strtod
=yes
19391 ac_cv_func_strtod
=no
19393 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
19394 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strtod" >&5
19399 $as_echo "$ac_cv_func_strtod" >&6; }
19400 if test $ac_cv_func_strtod = no
; then
19401 case " $LIBOBJS " in
19402 *" strtod.$ac_objext "* ) ;;
19403 *) LIBOBJS
="$LIBOBJS strtod.$ac_objext"
19407 ac_fn_c_check_func
"$LINENO" "pow" "ac_cv_func_pow"
19408 if test "x$ac_cv_func_pow" = xyes
; then :
19412 if test $ac_cv_func_pow = no
; then
19413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
19414 $as_echo_n "checking for pow in -lm... " >&6; }
19415 if ${ac_cv_lib_m_pow+:} false
; then :
19416 $as_echo_n "(cached) " >&6
19418 ac_check_lib_save_LIBS
=$LIBS
19420 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19421 /* end confdefs.h. */
19423 /* Override any GCC internal prototype to avoid an error.
19424 Use char because int might match the return type of a GCC
19425 builtin and then its argument prototype would still apply. */
19438 if ac_fn_c_try_link
"$LINENO"; then :
19439 ac_cv_lib_m_pow
=yes
19443 rm -f core conftest.err conftest.
$ac_objext \
19444 conftest
$ac_exeext conftest.
$ac_ext
19445 LIBS
=$ac_check_lib_save_LIBS
19447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
19448 $as_echo "$ac_cv_lib_m_pow" >&6; }
19449 if test "x$ac_cv_lib_m_pow" = xyes
; then :
19452 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5
19453 $as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
19462 for ac_func
in vasprintf
19464 ac_fn_c_check_func
"$LINENO" "vasprintf" "ac_cv_func_vasprintf"
19465 if test "x$ac_cv_func_vasprintf" = xyes
; then :
19466 cat >>confdefs.h
<<_ACEOF
19467 #define HAVE_VASPRINTF 1
19470 for ac_func
in asprintf
19472 ac_fn_c_check_func
"$LINENO" "asprintf" "ac_cv_func_asprintf"
19473 if test "x$ac_cv_func_asprintf" = xyes
; then :
19474 cat >>confdefs.h
<<_ACEOF
19475 #define HAVE_ASPRINTF 1
19485 if test x
"$have_asprintf" != "xyes"; then
19487 NO_ASPRINTF_FALSE
='#'
19489 NO_ASPRINTF_TRUE
='#'
19495 # Check whether --enable-quvi was given.
19496 if test "${enable_quvi+set}" = set; then :
19497 enableval
=$enable_quvi;
19502 if test x
"$enable_quvi" != "xno"; then
19504 ENABLE_QUVI_FALSE
='#'
19506 ENABLE_QUVI_TRUE
='#'
19511 # --enable-examples
19512 # Check whether --enable-examples was given.
19513 if test "${enable_examples+set}" = set; then :
19514 enableval
=$enable_examples;
19519 if test x
"$enable_examples" != "xno"; then
19520 ENABLE_EXAMPLES_TRUE
=
19521 ENABLE_EXAMPLES_FALSE
='#'
19523 ENABLE_EXAMPLES_TRUE
='#'
19524 ENABLE_EXAMPLES_FALSE
=
19529 # Check whether --enable-tests was given.
19530 if test "${enable_tests+set}" = set; then :
19531 enableval
=$enable_tests;
19536 if test x
"$enable_tests" != "xno"; then
19538 ENABLE_TESTS_FALSE
='#'
19540 ENABLE_TESTS_TRUE
='#'
19541 ENABLE_TESTS_FALSE
=
19545 # --enable-verbose-tests
19546 # Check whether --enable-verbose-tests was given.
19547 if test "${enable_verbose_tests+set}" = set; then :
19548 enableval
=$enable_verbose_tests;
19550 enable_verbose_tests
=no
19553 if test x
"$enable_verbose_tests" != "xno"; then
19554 ENABLE_VERBOSE_TESTS_TRUE
=
19555 ENABLE_VERBOSE_TESTS_FALSE
='#'
19557 ENABLE_VERBOSE_TESTS_TRUE
='#'
19558 ENABLE_VERBOSE_TESTS_FALSE
=
19563 # Check whether --enable-nsfw was given.
19564 if test "${enable_nsfw+set}" = set; then :
19565 enableval
=$enable_nsfw;
19570 if test x
"$enable_nsfw" != "xno"; then
19572 ENABLE_NSFW_FALSE
='#'
19574 ENABLE_NSFW_TRUE
='#'
19579 if test x
"$enable_nsfw" != "xno" ; then
19581 $as_echo "#define ENABLE_NSFW 1" >>confdefs.h
19586 # Check whether --enable-todo was given.
19587 if test "${enable_todo+set}" = set; then :
19588 enableval
=$enable_todo;
19593 if test x
"$enable_todo" != "xno"; then
19595 ENABLE_TODO_FALSE
='#'
19597 ENABLE_TODO_TRUE
='#'
19602 if test x
"$enable_todo" != "xno" ; then
19604 $as_echo "#define ENABLE_TODO 1" >>confdefs.h
19609 # Check whether --enable-nlfy was given.
19610 if test "${enable_nlfy+set}" = set; then :
19611 enableval
=$enable_nlfy;
19616 if test x
"$enable_nlfy" != "xno"; then
19618 ENABLE_NLFY_FALSE
='#'
19620 ENABLE_NLFY_TRUE
='#'
19627 # Check whether --with-man was given.
19628 if test "${with_man+set}" = set; then :
19634 if test x
"$with_man" != "xno"; then
19645 # Check whether --with-doc was given.
19646 if test "${with_doc+set}" = set; then :
19652 if test x
"$with_doc" != "xno"; then
19662 if test x
"$with_gnu_ld" = "xyes"; then
19664 HAVE_GNU_LD_FALSE
='#'
19666 HAVE_GNU_LD_TRUE
='#'
19671 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"
19674 cat >confcache
<<\_ACEOF
19675 # This file is a shell script that caches the results of configure
19676 # tests run on this system so they can be shared between configure
19677 # scripts and configure runs, see configure's option --config-cache.
19678 # It is not useful on other systems. If it contains results you don't
19679 # want to keep, you may remove or edit it.
19681 # config.status only pays attention to the cache file if you give it
19682 # the --recheck option to rerun configure.
19684 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19685 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19686 # following values.
19690 # The following way of writing the cache mishandles newlines in values,
19691 # but we know of no workaround that is simple, portable, and efficient.
19692 # So, we kill variables containing newlines.
19693 # Ultrix sh set writes to stderr and can't be redirected directly,
19694 # and sets the high bit in the cache file unless we assign to the vars.
19696 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19697 eval ac_val
=\$
$ac_var
19701 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19702 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19705 _ | IFS | as_nl
) ;; #(
19706 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
19707 *) { eval $ac_var=; unset $ac_var;} ;;
19713 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19714 *${as_nl}ac_space
=\
*)
19715 # `set' does not quote correctly, so add quotes: double-quote
19716 # substitution turns \\\\ into \\, and sed turns \\ into \.
19719 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19722 # `set' quotes correctly as required by POSIX, so do not add quotes.
19723 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19732 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19734 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19736 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
19737 if test -w "$cache_file"; then
19738 if test "x$cache_file" != "x/dev/null"; then
19739 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19740 $as_echo "$as_me: updating cache $cache_file" >&6;}
19741 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
19742 cat confcache
>"$cache_file"
19744 case $cache_file in #(
19746 mv -f confcache
"$cache_file"$$
&&
19747 mv -f "$cache_file"$$
"$cache_file" ;; #(
19749 mv -f confcache
"$cache_file" ;;
19754 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19755 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19760 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19761 # Let make expand exec_prefix.
19762 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19764 DEFS
=-DHAVE_CONFIG_H
19769 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
19770 # 1. Remove the extension, and $U if already installed.
19771 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
19772 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
19773 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19774 # will be set to the directory where LIBOBJS objects are built.
19775 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19776 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
19778 LIBOBJS
=$ac_libobjs
19780 LTLIBOBJS
=$ac_ltlibobjs
19783 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19784 as_fn_error $?
"conditional \"AMDEP\" was never defined.
19785 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19787 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19788 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
19789 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19791 if test -n "$EXEEXT"; then
19793 am__EXEEXT_FALSE
='#'
19795 am__EXEEXT_TRUE
='#'
19799 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19800 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
19801 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19803 if test -z "${HAVE_GENGETOPT_TRUE}" && test -z "${HAVE_GENGETOPT_FALSE}"; then
19804 as_fn_error $?
"conditional \"HAVE_GENGETOPT\" was never defined.
19805 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19807 if test -z "${HAVE_DOXYGEN_TRUE}" && test -z "${HAVE_DOXYGEN_FALSE}"; then
19808 as_fn_error $?
"conditional \"HAVE_DOXYGEN\" was never defined.
19809 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19811 if test -z "${HAVE_PROVE_TRUE}" && test -z "${HAVE_PROVE_FALSE}"; then
19812 as_fn_error $?
"conditional \"HAVE_PROVE\" was never defined.
19813 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19815 if test -z "${HAVE_VALGRIND_TRUE}" && test -z "${HAVE_VALGRIND_FALSE}"; then
19816 as_fn_error $?
"conditional \"HAVE_VALGRIND\" was never defined.
19817 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19819 if test -z "${HAVE_POD2MAN_TRUE}" && test -z "${HAVE_POD2MAN_FALSE}"; then
19820 as_fn_error $?
"conditional \"HAVE_POD2MAN\" was never defined.
19821 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19823 if test -z "${HAVE_POD2HTML_TRUE}" && test -z "${HAVE_POD2HTML_FALSE}"; then
19824 as_fn_error $?
"conditional \"HAVE_POD2HTML\" was never defined.
19825 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19827 if test -z "${WITH_SOUP_TRUE}" && test -z "${WITH_SOUP_FALSE}"; then
19828 as_fn_error $?
"conditional \"WITH_SOUP\" was never defined.
19829 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19831 if test -z "${NO_ASPRINTF_TRUE}" && test -z "${NO_ASPRINTF_FALSE}"; then
19832 as_fn_error $?
"conditional \"NO_ASPRINTF\" was never defined.
19833 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19835 if test -z "${ENABLE_QUVI_TRUE}" && test -z "${ENABLE_QUVI_FALSE}"; then
19836 as_fn_error $?
"conditional \"ENABLE_QUVI\" was never defined.
19837 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19839 if test -z "${ENABLE_EXAMPLES_TRUE}" && test -z "${ENABLE_EXAMPLES_FALSE}"; then
19840 as_fn_error $?
"conditional \"ENABLE_EXAMPLES\" was never defined.
19841 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19843 if test -z "${ENABLE_TESTS_TRUE}" && test -z "${ENABLE_TESTS_FALSE}"; then
19844 as_fn_error $?
"conditional \"ENABLE_TESTS\" was never defined.
19845 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19847 if test -z "${ENABLE_VERBOSE_TESTS_TRUE}" && test -z "${ENABLE_VERBOSE_TESTS_FALSE}"; then
19848 as_fn_error $?
"conditional \"ENABLE_VERBOSE_TESTS\" was never defined.
19849 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19851 if test -z "${ENABLE_NSFW_TRUE}" && test -z "${ENABLE_NSFW_FALSE}"; then
19852 as_fn_error $?
"conditional \"ENABLE_NSFW\" was never defined.
19853 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19855 if test -z "${ENABLE_TODO_TRUE}" && test -z "${ENABLE_TODO_FALSE}"; then
19856 as_fn_error $?
"conditional \"ENABLE_TODO\" was never defined.
19857 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19859 if test -z "${ENABLE_NLFY_TRUE}" && test -z "${ENABLE_NLFY_FALSE}"; then
19860 as_fn_error $?
"conditional \"ENABLE_NLFY\" was never defined.
19861 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19863 if test -z "${WITH_MAN_TRUE}" && test -z "${WITH_MAN_FALSE}"; then
19864 as_fn_error $?
"conditional \"WITH_MAN\" was never defined.
19865 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19867 if test -z "${WITH_DOC_TRUE}" && test -z "${WITH_DOC_FALSE}"; then
19868 as_fn_error $?
"conditional \"WITH_DOC\" was never defined.
19869 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19871 if test -z "${HAVE_GNU_LD_TRUE}" && test -z "${HAVE_GNU_LD_FALSE}"; then
19872 as_fn_error $?
"conditional \"HAVE_GNU_LD\" was never defined.
19873 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19876 : "${CONFIG_STATUS=./config.status}"
19878 ac_clean_files_save
=$ac_clean_files
19879 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
19880 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19881 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19883 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19885 # Generated by $as_me.
19886 # Run this file to recreate the current configuration.
19887 # Compiler output produced by configure, useful for debugging
19888 # configure, is in config.log if it exists.
19891 ac_cs_recheck=false
19894 SHELL=\${CONFIG_SHELL-$SHELL}
19897 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
19898 ## -------------------- ##
19899 ## M4sh Initialization. ##
19900 ## -------------------- ##
19902 # Be more Bourne compatible
19903 DUALCASE
=1; export DUALCASE
# for MKS sh
19904 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
19907 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19908 # is contrary to our usage. Disable this feature.
19909 alias -g '${1+"$@"}'='"$@"'
19910 setopt NO_GLOB_SUBST
19912 case `(set -o) 2>/dev/null` in #(
19924 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19925 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19926 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19927 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19928 # Prefer a ksh shell builtin over an external printf program on Solaris,
19929 # but without wasting forks for bash or zsh.
19930 if test -z "$BASH_VERSION$ZSH_VERSION" \
19931 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19932 as_echo='print
-r --'
19933 as_echo_n='print
-rn --'
19934 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19935 as_echo='printf %s
\n'
19936 as_echo_n='printf %s
'
19938 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19939 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
19940 as_echo_n='/usr
/ucb
/echo -n'
19942 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19943 as_echo_n_body='eval
19947 expr "X$arg" : "X\\(.*\\)$as_nl";
19948 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19950 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
19952 export as_echo_n_body
19953 as_echo_n='sh
-c $as_echo_n_body as_echo
'
19955 export as_echo_body
19956 as_echo='sh
-c $as_echo_body as_echo
'
19959 # The user is always right.
19960 if test "${PATH_SEPARATOR+set}" != set; then
19962 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19963 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19970 # We need space, tab and new line, in precisely that order. Quoting is
19971 # there to prevent editors from complaining about space-tab.
19972 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19973 # splitting by setting IFS to empty value.)
19976 # Find who we are. Look in the path if we contain no directory separator.
19979 *[\\/]* ) as_myself=$0 ;;
19980 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19981 for as_dir in $PATH
19984 test -z "$as_dir" && as_dir=.
19985 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19991 # We did not find ourselves, most probably we were run as `sh COMMAND'
19992 # in which case we are not to be found in the path.
19993 if test "x$as_myself" = x
; then
19996 if test ! -f "$as_myself"; then
19997 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20001 # Unset variables that we do not need and which cause bugs (e.g. in
20002 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
20003 # suppresses any "Segmentation fault" message there. '((' could
20004 # trigger a bug in pdksh 5.2.14.
20005 for as_var
in BASH_ENV ENV MAIL MAILPATH
20006 do eval test x\
${$as_var+set} = xset \
20007 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
20020 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
20023 # as_fn_error STATUS ERROR [LINENO LOG_FD]
20024 # ----------------------------------------
20025 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20026 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20027 # script with STATUS, using 1 if that was 0.
20030 as_status
=$1; test $as_status -eq 0 && as_status
=1
20032 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
20033 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20035 $as_echo "$as_me: error: $2" >&2
20036 as_fn_exit
$as_status
20040 # as_fn_set_status STATUS
20041 # -----------------------
20042 # Set $? to STATUS, without forking.
20043 as_fn_set_status
()
20046 } # as_fn_set_status
20048 # as_fn_exit STATUS
20049 # -----------------
20050 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20054 as_fn_set_status
$1
20060 # Portably unset VAR.
20063 { eval $1=; unset $1;}
20065 as_unset
=as_fn_unset
20066 # as_fn_append VAR VALUE
20067 # ----------------------
20068 # Append the text in VALUE to the end of the definition contained in VAR. Take
20069 # advantage of any shell optimizations that allow amortized linear growth over
20070 # repeated appends, instead of the typical quadratic growth present in naive
20072 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
20073 eval 'as_fn_append ()
20084 # as_fn_arith ARG...
20085 # ------------------
20086 # Perform arithmetic evaluation on the ARGs, and store the result in the
20087 # global $as_val. Take advantage of shells that can avoid forks. The arguments
20088 # must be portable across $(()) and expr.
20089 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
20090 eval 'as_fn_arith ()
20097 as_val
=`expr "$@" || test $? -eq 1`
20102 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20103 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20109 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20110 as_basename
=basename
20115 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
20121 as_me
=`$as_basename -- "$0" ||
20122 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20123 X"$0" : 'X\(//\)$' \| \
20124 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20126 sed '/^.*\/\([^/][^/]*\)\/*$/{
20140 # Avoid depending upon Character Ranges.
20141 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20142 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20143 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20144 as_cr_digits
='0123456789'
20145 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20147 ECHO_C
= ECHO_N
= ECHO_T
=
20148 case `echo -n x` in #(((((
20150 case `echo 'xy\c'` in
20151 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
20153 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
20160 rm -f conf$$ conf$$.exe conf$$.
file
20161 if test -d conf$$.dir
; then
20162 rm -f conf$$.dir
/conf$$.
file
20165 mkdir conf$$.dir
2>/dev
/null
20167 if (echo >conf$$.
file) 2>/dev
/null
; then
20168 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20170 # ... but there are two gotchas:
20171 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20172 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20173 # In both cases, we have to default to `cp -p'.
20174 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
20176 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20184 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
20185 rmdir conf$$.dir
2>/dev
/null
20190 # Create "$as_dir" as a directory, including parents if necessary.
20195 -*) as_dir
=.
/$as_dir;;
20197 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
20201 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20202 *) as_qdir
=$as_dir;;
20204 as_dirs
="'$as_qdir' $as_dirs"
20205 as_dir
=`$as_dirname -- "$as_dir" ||
20206 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20207 X"$as_dir" : 'X\(//\)[^/]' \| \
20208 X"$as_dir" : 'X\(//\)$' \| \
20209 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20210 $as_echo X"$as_dir" |
20211 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20215 /^X\(\/\/\)[^/].*/{
20228 test -d "$as_dir" && break
20230 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
20231 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
20235 if mkdir
-p .
2>/dev
/null
; then
20236 as_mkdir_p
='mkdir -p "$as_dir"'
20238 test -d .
/-p && rmdir .
/-p
20242 if test -x / >/dev
/null
2>&1; then
20243 as_test_x
='test -x'
20245 if ls -dL / >/dev
/null
2>&1; then
20252 if test -d "$1"; then
20258 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
20259 ???[sx]*):;;*)false;;esac;fi
20263 as_executable_p
=$as_test_x
20265 # Sed expression to map a string onto a valid CPP name.
20266 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20268 # Sed expression to map a string onto a valid variable name.
20269 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20273 ## ----------------------------------- ##
20274 ## Main body of $CONFIG_STATUS script. ##
20275 ## ----------------------------------- ##
20277 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
20279 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20280 # Save the log message, to keep $0 and so on meaningful, and to
20281 # report actual input values of CONFIG_FILES etc. instead of their
20282 # values after options handling.
20284 This file was extended by quvi $as_me 0.2.16, which was
20285 generated by GNU Autoconf 2.68. Invocation command line was
20287 CONFIG_FILES = $CONFIG_FILES
20288 CONFIG_HEADERS = $CONFIG_HEADERS
20289 CONFIG_LINKS = $CONFIG_LINKS
20290 CONFIG_COMMANDS = $CONFIG_COMMANDS
20293 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20298 case $ac_config_files in *"
20299 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
20302 case $ac_config_headers in *"
20303 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
20307 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20308 # Files that config.status was made for.
20309 config_files="$ac_config_files"
20310 config_headers="$ac_config_headers"
20311 config_commands="$ac_config_commands"
20315 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20317 \`$as_me' instantiates files and other configuration actions
20318 from templates according to the current configuration. Unless the files
20319 and actions are specified as TAGs, all are instantiated by default.
20321 Usage: $0 [OPTION]... [TAG]...
20323 -h, --help print this help, then exit
20324 -V, --version print version number and configuration settings, then exit
20325 --config print configuration, then exit
20326 -q, --quiet, --silent
20327 do not print progress messages
20328 -d, --debug don't remove temporary files
20329 --recheck update $as_me by reconfiguring in the same conditions
20330 --file=FILE[:TEMPLATE]
20331 instantiate the configuration file FILE
20332 --header=FILE[:TEMPLATE]
20333 instantiate the configuration header FILE
20335 Configuration files:
20338 Configuration headers:
20341 Configuration commands:
20344 Report bugs to <http://sourceforge.net/apps/trac/quvi>.
20345 quvi home page: <http://quvi.sourceforge.net/>."
20348 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20349 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20351 quvi config.status 0.2.16
20352 configured by $0, generated by GNU Autoconf 2.68,
20353 with options \\"\$ac_cs_config\\"
20355 Copyright (C) 2010 Free Software Foundation, Inc.
20356 This config.status script is free software; the Free Software Foundation
20357 gives unlimited permission to copy, distribute and modify it."
20364 test -n "\$AWK" || AWK=awk
20367 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20368 # The default lists apply if the user does not specify any file.
20374 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20375 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
20379 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20391 # Handling of the options.
20392 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20394 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
20395 $as_echo "$ac_cs_version"; exit ;;
20396 --config |
--confi |
--conf |
--con |
--co |
--c )
20397 $as_echo "$ac_cs_config"; exit ;;
20398 --debug |
--debu |
--deb |
--de |
--d |
-d )
20400 --file |
--fil |
--fi |
--f )
20403 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20404 '') as_fn_error $?
"missing file argument" ;;
20406 as_fn_append CONFIG_FILES
" '$ac_optarg'"
20407 ac_need_defaults
=false
;;
20408 --header |
--heade |
--head |
--hea )
20411 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20413 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
20414 ac_need_defaults
=false
;;
20416 # Conflict between --help and --header
20417 as_fn_error $?
"ambiguous option: \`$1'
20418 Try \`$0 --help' for more information.";;
20419 --help |
--hel |
-h )
20420 $as_echo "$ac_cs_usage"; exit ;;
20421 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20422 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20425 # This is an error.
20426 -*) as_fn_error $?
"unrecognized option: \`$1'
20427 Try \`$0 --help' for more information." ;;
20429 *) as_fn_append ac_config_targets
" $1"
20430 ac_need_defaults
=false
;;
20436 ac_configure_extra_args
=
20438 if $ac_cs_silent; then
20440 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20444 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20445 if \$ac_cs_recheck; then
20446 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20448 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20449 CONFIG_SHELL='$SHELL'
20450 export CONFIG_SHELL
20455 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20459 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20460 ## Running $as_me. ##
20466 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20470 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20473 # The HP-UX ksh and POSIX shell print the target directory to stdout
20474 # if CDPATH is set.
20475 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20477 sed_quote_subst='$sed_quote_subst'
20478 double_quote_subst='$double_quote_subst'
20479 delay_variable_subst='$delay_variable_subst'
20480 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
20481 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
20482 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
20483 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
20484 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
20485 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
20486 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
20487 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
20488 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
20489 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
20490 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
20491 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
20492 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
20493 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
20494 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
20495 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
20496 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
20497 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
20498 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
20499 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
20500 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
20501 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
20502 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
20503 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
20504 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
20505 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
20506 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
20507 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
20508 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
20509 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
20510 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
20511 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
20512 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
20513 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
20514 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
20515 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
20516 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
20517 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
20518 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
20519 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
20520 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
20521 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
20522 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
20523 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
20524 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20525 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20526 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
20527 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
20528 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
20529 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
20530 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
20531 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
20532 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
20533 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
20534 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
20535 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"`'
20536 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
20537 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
20538 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
20539 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
20540 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
20541 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
20542 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
20543 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
20544 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
20545 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
20546 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
20547 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
20548 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
20549 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
20550 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
20551 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
20552 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
20553 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
20554 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20555 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
20556 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
20557 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
20558 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
20559 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
20560 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
20561 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20562 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
20563 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20564 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
20565 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20566 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
20567 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
20568 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
20569 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
20570 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
20571 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
20572 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
20573 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
20574 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
20575 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
20576 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
20577 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
20578 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
20579 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
20580 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
20581 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
20582 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
20583 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
20584 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
20585 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
20586 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
20587 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
20588 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
20589 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
20590 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
20591 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
20592 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
20593 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
20594 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
20595 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
20596 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
20597 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20598 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20599 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
20600 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
20601 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
20602 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
20603 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
20604 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
20605 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
20606 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
20607 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
20608 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
20609 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
20610 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
20611 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
20612 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
20613 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
20614 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
20615 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
20616 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
20617 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
20618 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20619 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20620 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
20621 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
20622 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
20623 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
20624 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
20625 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
20626 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
20627 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
20628 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
20629 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20630 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20631 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
20632 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20633 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20634 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20635 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20636 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20637 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20638 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
20639 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20640 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20641 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20642 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
20643 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
20644 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
20645 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
20646 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
20647 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
20648 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
20649 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
20650 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
20651 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
20652 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20653 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20654 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20655 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20656 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20657 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
20658 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
20659 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
20660 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20661 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20662 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
20663 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
20664 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
20667 LTCFLAGS='$LTCFLAGS'
20668 compiler='$compiler_DEFAULT'
20670 # A function that is used when there is no print builtin or printf.
20671 func_fallback_echo ()
20673 eval 'cat <<_LTECHO_EOF
20678 # Quote evaled strings.
20692 deplibs_check_method \
20697 sharedlib_from_linklib_cmd \
20700 archiver_list_spec \
20706 lt_cv_sys_global_symbol_pipe \
20707 lt_cv_sys_global_symbol_to_cdecl \
20708 lt_cv_sys_global_symbol_to_c_name_address \
20709 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20710 nm_file_list_spec \
20711 lt_prog_compiler_no_builtin_flag \
20712 lt_prog_compiler_pic \
20713 lt_prog_compiler_wl \
20714 lt_prog_compiler_static \
20715 lt_cv_prog_compiler_c_o \
20724 export_dynamic_flag_spec \
20725 whole_archive_flag_spec \
20726 compiler_needs_object \
20728 allow_undefined_flag \
20729 no_undefined_flag \
20730 hardcode_libdir_flag_spec \
20731 hardcode_libdir_flag_spec_ld \
20732 hardcode_libdir_separator \
20736 variables_saved_for_relink \
20738 library_names_spec \
20740 install_override_mode \
20744 compiler_lib_search_dirs \
20749 compiler_lib_search_path \
20753 lt_prog_compiler_no_builtin_flag_CXX \
20754 lt_prog_compiler_pic_CXX \
20755 lt_prog_compiler_wl_CXX \
20756 lt_prog_compiler_static_CXX \
20757 lt_cv_prog_compiler_c_o_CXX \
20758 export_dynamic_flag_spec_CXX \
20759 whole_archive_flag_spec_CXX \
20760 compiler_needs_object_CXX \
20762 allow_undefined_flag_CXX \
20763 no_undefined_flag_CXX \
20764 hardcode_libdir_flag_spec_CXX \
20765 hardcode_libdir_flag_spec_ld_CXX \
20766 hardcode_libdir_separator_CXX \
20767 exclude_expsyms_CXX \
20768 include_expsyms_CXX \
20769 file_list_spec_CXX \
20770 compiler_lib_search_dirs_CXX \
20771 predep_objects_CXX \
20772 postdep_objects_CXX \
20775 compiler_lib_search_path_CXX; do
20776 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20777 *[\\\\\\\`\\"\\\$]*)
20778 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20781 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20786 # Double-quote double-evaled strings.
20787 for var in reload_cmds \
20788 old_postinstall_cmds \
20789 old_postuninstall_cmds \
20791 extract_expsyms_cmds \
20792 old_archive_from_new_cmds \
20793 old_archive_from_expsyms_cmds \
20795 archive_expsym_cmds \
20797 module_expsym_cmds \
20798 export_symbols_cmds \
20802 postuninstall_cmds \
20804 sys_lib_search_path_spec \
20805 sys_lib_dlsearch_path_spec \
20807 old_archive_cmds_CXX \
20808 old_archive_from_new_cmds_CXX \
20809 old_archive_from_expsyms_cmds_CXX \
20811 archive_expsym_cmds_CXX \
20813 module_expsym_cmds_CXX \
20814 export_symbols_cmds_CXX \
20816 postlink_cmds_CXX; do
20817 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20818 *[\\\\\\\`\\"\\\$]*)
20819 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20822 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20827 ac_aux_dir='$ac_aux_dir'
20828 xsi_shell='$xsi_shell'
20829 lt_shell_append='$lt_shell_append'
20831 # See if we are running on zsh, and set the options which allow our
20832 # commands through without removal of \ escapes INIT.
20833 if test -n "\${ZSH_VERSION+set}" ; then
20834 setopt NO_GLOB_SUBST
20840 TIMESTAMP='$TIMESTAMP'
20851 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20853 # Handling of arguments.
20854 for ac_config_target
in $ac_config_targets
20856 case $ac_config_target in
20857 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
20858 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
20859 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
20860 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20861 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
20862 "include/quvi/Makefile") CONFIG_FILES
="$CONFIG_FILES include/quvi/Makefile" ;;
20863 "include/quvi/quvi.h") CONFIG_FILES
="$CONFIG_FILES include/quvi/quvi.h" ;;
20864 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
20865 "man1/Makefile") CONFIG_FILES
="$CONFIG_FILES man1/Makefile" ;;
20866 "share/Makefile") CONFIG_FILES
="$CONFIG_FILES share/Makefile" ;;
20867 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
20868 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
20869 "examples/Makefile") CONFIG_FILES
="$CONFIG_FILES examples/Makefile" ;;
20870 "tests/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/Makefile" ;;
20871 "scripts/Makefile") CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
20872 "libquvi.pc") CONFIG_FILES
="$CONFIG_FILES libquvi.pc" ;;
20873 "doxygen.conf") CONFIG_FILES
="$CONFIG_FILES doxygen.conf" ;;
20875 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20880 # If the user did not use the arguments to specify the items to instantiate,
20881 # then the envvar interface is used. Set only those that are not.
20882 # We use the long form for the default assignment because of an extremely
20883 # bizarre bug on SunOS 4.1.3.
20884 if $ac_need_defaults; then
20885 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20886 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
20887 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20890 # Have a temporary directory for convenience. Make it in the build tree
20891 # simply because there is no reason against having it here, and in addition,
20892 # creating and moving files from /tmp can sometimes cause problems.
20893 # Hook for its removal unless debugging.
20894 # Note that there is a small window in which the directory will not be cleaned:
20895 # after its creation but before its name has been assigned to `$tmp'.
20899 trap 'exit_status=$?
20900 : "${ac_tmp:=$tmp}"
20901 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20903 trap 'as_fn_exit 1' 1 2 13 15
20905 # Create a (secure) tmp directory for tmp files.
20908 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20912 tmp
=.
/conf$$
-$RANDOM
20913 (umask 077 && mkdir
"$tmp")
20914 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
20917 # Set up the scripts for CONFIG_FILES section.
20918 # No need to generate them if there are no CONFIG_FILES.
20919 # This happens for instance with `./config.status config.h'.
20920 if test -n "$CONFIG_FILES"; then
20923 ac_cr
=`echo X | tr X '\015'`
20924 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20925 # But we know of no other shell where ac_cr would be empty at this
20926 # point, so we can use a bashism as a fallback.
20927 if test "x$ac_cr" = x
; then
20928 eval ac_cr
=\$
\'\\r
\'
20930 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20931 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20934 ac_cs_awk_cr
=$ac_cr
20937 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20942 echo "cat >conf$$subs.awk <<_ACEOF" &&
20943 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20945 } >conf$$subs.sh ||
20946 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20947 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20949 for ac_last_try in false false false false false :; do
20950 . ./conf$$subs.sh ||
20951 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20953 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
20954 if test $ac_delim_n = $ac_delim_num; then
20956 elif $ac_last_try; then
20957 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20959 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
20962 rm -f conf$$subs.sh
20964 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20965 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
20969 s/^/S["/; s
/!.
*/"]=/
20979 s/\(.\{148\}\)..*/\1/
20981 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
20986 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
20993 s/\(.\{148\}\)..*/\1/
20995 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
20999 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
21004 ' <conf$$subs.awk | sed '
21009 ' >>$CONFIG_STATUS || ac_write_fail=1
21010 rm -f conf$$subs.awk
21011 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21013 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
21014 for (key in S) S_is_set[key] = 1
21020 nfields = split(line, field, "@
")
21022 len = length(field[1])
21023 for (i = 2; i < nfields; i++) {
21025 keylen = length(key)
21026 if (S_is_set[key]) {
21028 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21029 len += length(value) + length(field[++i])
21040 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21041 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21042 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
21045 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
21046 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
21049 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21050 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
21051 # trailing colons and then remove the whole line if VPATH becomes empty
21052 # (actually we leave an empty line to preserve line numbers).
21053 if test "x
$srcdir" = x.; then
21054 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21072 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21073 fi # test -n "$CONFIG_FILES"
21075 # Set up the scripts for CONFIG_HEADERS section.
21076 # No need to generate them if there are no CONFIG_HEADERS.
21077 # This happens for instance with `./config.status Makefile'.
21078 if test -n "$CONFIG_HEADERS"; then
21079 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
21083 # Transform confdefs.h into an awk script `defines.awk', embedded as
21084 # here-document in config.status, that substitutes the proper values into
21085 # config.h.in to produce config.h.
21087 # Create a delimiter string that does not exist in confdefs.h, to ease
21088 # handling of long lines.
21090 for ac_last_try in false false :; do
21091 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
21092 if test -z "$ac_tt"; then
21094 elif $ac_last_try; then
21095 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
21097 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
21101 # For the awk script, D is an array of macro values keyed by name,
21102 # likewise P contains macro parameters if any. Preserve backslash
21103 # newline sequences.
21105 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21107 s/.\{148\}/&'"$ac_delim"'/g
21110 s/^[ ]*#[ ]*define[ ][ ]*/ /
21117 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
21119 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
21123 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
21124 D["\
1"]=" \
3\\\\\\n
"\\/p
21126 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
21131 s/.\{148\}/&'"$ac_delim"'/g
21136 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
21139 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
21141 ' <confdefs.h | sed '
21142 s/'"$ac_delim"'/"\\\
21143 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21145 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21146 for (key in D) D_is_set[key] = 1
21149 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21151 split(line, arg, " ")
21152 if (arg[1] == "#") {
21156 defundef
= substr
(arg
[1], 2)
21159 split(mac1
, mac2
, "(") #)
21161 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
21162 if (D_is_set
[macro
]) {
21163 # Preserve the white space surrounding the "#".
21164 print prefix
"define", macro P
[macro
] D
[macro
]
21167 # Replace #undef with comments. This is necessary, for example,
21168 # in the case of _POSIX_SOURCE, which is predefined and required
21169 # on some systems where configure will not decide to define it.
21170 if (defundef
== "undef") {
21171 print
"/*", prefix defundef
, macro
, "*/"
21179 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21180 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
21181 fi # test -n "$CONFIG_HEADERS"
21184 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
21189 :[FHLC
]) ac_mode
=$ac_tag; continue;;
21191 case $ac_mode$ac_tag in
21193 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
21194 :[FH
]-) ac_tag
=-:-;;
21195 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
21212 -) ac_f
="$ac_tmp/stdin";;
21213 *) # Look for the file first in the build tree, then in the source tree
21214 # (if the path is not absolute). The absolute path cannot be DOS-style,
21215 # because $ac_f cannot contain `:'.
21219 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
21221 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21223 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21224 as_fn_append ac_file_inputs
" '$ac_f'"
21227 # Let's still pretend it is `configure' which instantiates (i.e., don't
21228 # use $as_me), people would be surprised to read:
21229 # /* config.h. Generated by config.status. */
21230 configure_input
='Generated from '`
21231 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21233 if test x
"$ac_file" != x-
; then
21234 configure_input
="$ac_file. $configure_input"
21235 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21236 $as_echo "$as_me: creating $ac_file" >&6;}
21238 # Neutralize special characters interpreted by sed in replacement strings.
21239 case $configure_input in #(
21240 *\
&* |
*\|
* |
*\\* )
21241 ac_sed_conf_input
=`$as_echo "$configure_input" |
21242 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21243 *) ac_sed_conf_input
=$configure_input;;
21247 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
21248 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
21253 ac_dir
=`$as_dirname -- "$ac_file" ||
21254 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21255 X"$ac_file" : 'X\(//\)[^/]' \| \
21256 X"$ac_file" : 'X\(//\)$' \| \
21257 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21258 $as_echo X"$ac_file" |
21259 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21263 /^X\(\/\/\)[^/].*/{
21276 as_dir
="$ac_dir"; as_fn_mkdir_p
21280 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21282 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21283 # A ".." for each directory in $ac_dir_suffix.
21284 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21285 case $ac_top_builddir_sub in
21286 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21287 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
21290 ac_abs_top_builddir
=$ac_pwd
21291 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
21292 # for backward compatibility:
21293 ac_top_builddir
=$ac_top_build_prefix
21296 .
) # We are building in place.
21298 ac_top_srcdir
=$ac_top_builddir_sub
21299 ac_abs_top_srcdir
=$ac_pwd ;;
21300 [\\/]* | ?
:[\\/]* ) # Absolute name.
21301 ac_srcdir
=$srcdir$ac_dir_suffix;
21302 ac_top_srcdir
=$srcdir
21303 ac_abs_top_srcdir
=$srcdir ;;
21304 *) # Relative name.
21305 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
21306 ac_top_srcdir
=$ac_top_build_prefix$srcdir
21307 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
21309 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
21319 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21320 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
21322 ac_MKDIR_P
=$MKDIR_P
21324 [\\/$
]* | ?
:[\\/]* ) ;;
21325 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
21329 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21330 # If the template does not know about datarootdir, expand it.
21331 # FIXME: This hack should be removed a few years after 2.60.
21332 ac_datarootdir_hack
=; ac_datarootdir_seen
=
21343 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21344 *datarootdir
*) ac_datarootdir_seen
=yes;;
21345 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
21346 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21347 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21349 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21350 ac_datarootdir_hack='
21351 s&@datadir@&$datadir&g
21352 s&@docdir@&$docdir&g
21353 s&@infodir@&$infodir&g
21354 s&@localedir@&$localedir&g
21355 s&@mandir@&$mandir&g
21356 s&\\\${datarootdir}&$datarootdir&g' ;;
21360 # Neutralize VPATH when `$srcdir' = `.'.
21361 # Shell code in configure.ac might set extrasub.
21362 # FIXME: do we really want to maintain this feature?
21363 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21364 ac_sed_extra="$ac_vpsub
21367 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21369 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21370 s|@configure_input@|
$ac_sed_conf_input|
;t t
21371 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
21372 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
21373 s
&@srcdir@
&$ac_srcdir&;t t
21374 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
21375 s
&@top_srcdir@
&$ac_top_srcdir&;t t
21376 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
21377 s
&@builddir@
&$ac_builddir&;t t
21378 s
&@abs_builddir@
&$ac_abs_builddir&;t t
21379 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
21380 s
&@INSTALL@
&$ac_INSTALL&;t t
21381 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
21382 $ac_datarootdir_hack
21384 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
21385 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
21387 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21388 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
21389 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21390 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
21391 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
21392 which seems to be undefined. Please make sure it is defined" >&5
21393 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
21394 which seems to be undefined. Please make sure it is defined" >&2;}
21396 rm -f "$ac_tmp/stdin"
21398 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21399 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21401 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21407 if test x"$ac_file" != x-; then
21409 $as_echo "/* $configure_input */" \
21410 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21411 } >"$ac_tmp/config.h" \
21412 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21413 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21414 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21415 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21418 mv "$ac_tmp/config.h" "$ac_file" \
21419 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21422 $as_echo "/* $configure_input */" \
21423 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21424 || as_fn_error $? "could not create -" "$LINENO" 5
21426 # Compute "$ac_file"'s index
in $config_headers.
21429 for _am_header
in $config_headers :; do
21430 case $_am_header in
21431 $_am_arg |
$_am_arg:* )
21434 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
21437 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
21438 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21439 X"$_am_arg" : 'X\(//\)[^/]' \| \
21440 X"$_am_arg" : 'X\(//\)$' \| \
21441 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
21442 $as_echo X"$_am_arg" |
21443 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21447 /^X\(\/\/\)[^/].*/{
21459 s/.*/./; q'`/stamp-h
$_am_stamp_count
21462 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21463 $as_echo "$as_me: executing $ac_file commands" >&6;}
21468 case $ac_file$ac_mode in
21469 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
21470 # Autoconf 2.62 quotes --file arguments for eval, but not when files
21471 # are listed without --file. Let's play safe and only enable the eval
21472 # if we detect the quoting.
21473 case $CONFIG_FILES in
21474 *\'*) eval set x
"$CONFIG_FILES" ;;
21475 *) set x
$CONFIG_FILES ;;
21480 # Strip MF so we end up with the name of the file.
21481 mf
=`echo "$mf" | sed -e 's/:.*$//'`
21482 # Check whether this is an Automake generated Makefile or not.
21483 # We used to match only the files named `Makefile.in', but
21484 # some people rename them; so instead we look at the file content.
21485 # Grep'ing the first line is not enough: some people post-process
21486 # each Makefile.in and add a new line on top of each file to say so.
21487 # Grep'ing the whole file is not good either: AIX grep has a line
21488 # limit of 2048, but all sed's we know have understand at least 4000.
21489 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
21490 dirpart
=`$as_dirname -- "$mf" ||
21491 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21492 X"$mf" : 'X\(//\)[^/]' \| \
21493 X"$mf" : 'X\(//\)$' \| \
21494 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21496 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21500 /^X\(\/\/\)[^/].*/{
21516 # Extract the definition of DEPDIR, am__include, and am__quote
21517 # from the Makefile without running `make'.
21518 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
21519 test -z "$DEPDIR" && continue
21520 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
21521 test -z "am__include" && continue
21522 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
21523 # When using ansi2knr, U may be empty or an underscore; expand it
21524 U
=`sed -n 's/^U = //p' < "$mf"`
21525 # Find all dependency output files, they are included files with
21526 # $(DEPDIR) in their names. We invoke sed twice because it is the
21527 # simplest approach to changing $(DEPDIR) to its actual value in the
21529 for file in `sed -n "
21530 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21531 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21532 # Make sure the directory exists.
21533 test -f "$dirpart/$file" && continue
21534 fdir
=`$as_dirname -- "$file" ||
21535 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21536 X"$file" : 'X\(//\)[^/]' \| \
21537 X"$file" : 'X\(//\)$' \| \
21538 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21539 $as_echo X"$file" |
21540 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21544 /^X\(\/\/\)[^/].*/{
21557 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
21558 # echo "creating $dirpart/$file"
21559 echo '# dummy' > "$dirpart/$file"
21566 # See if we are running on zsh, and set the options which allow our
21567 # commands through without removal of \ escapes.
21568 if test -n "${ZSH_VERSION+set}" ; then
21569 setopt NO_GLOB_SUBST
21572 cfgfile
="${ofile}T"
21573 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21576 cat <<_LT_EOF >> "$cfgfile"
21579 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
21580 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
21581 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21582 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21584 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21585 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
21587 # Written by Gordon Matzigkeit, 1996
21589 # This file is part of GNU Libtool.
21591 # GNU Libtool is free software; you can redistribute it and/or
21592 # modify it under the terms of the GNU General Public License as
21593 # published by the Free Software Foundation; either version 2 of
21594 # the License, or (at your option) any later version.
21596 # As a special exception to the GNU General Public License,
21597 # if you distribute this file as part of a program or library that
21598 # is built using GNU Libtool, you may include this file under the
21599 # same distribution terms that you use for the rest of that program.
21601 # GNU Libtool is distributed in the hope that it will be useful,
21602 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21603 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21604 # GNU General Public License for more details.
21606 # You should have received a copy of the GNU General Public License
21607 # along with GNU Libtool; see the file COPYING. If not, a copy
21608 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
21609 # obtained by writing to the Free Software Foundation, Inc.,
21610 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21613 # The names of the tagged configurations supported by this script.
21614 available_tags="CXX "
21616 # ### BEGIN LIBTOOL CONFIG
21618 # Which release of libtool.m4 was used?
21619 macro_version=$macro_version
21620 macro_revision=$macro_revision
21622 # Whether or not to build shared libraries.
21623 build_libtool_libs=$enable_shared
21625 # Whether or not to build static libraries.
21626 build_old_libs=$enable_static
21628 # What type of objects to build.
21631 # Whether or not to optimize for fast installation.
21632 fast_install=$enable_fast_install
21634 # Shell to use when invoking shell scripts.
21637 # An echo program that protects backslashes.
21641 host_alias=$host_alias
21645 # The build system.
21646 build_alias=$build_alias
21650 # A sed program that does not truncate output.
21653 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21654 Xsed="\$SED -e 1s/^X//"
21656 # A grep program that handles long lines.
21662 # A literal string matcher.
21665 # A BSD- or MS-compatible name lister.
21668 # Whether we need soft or hard links.
21671 # What is the maximum length of a command?
21672 max_cmd_len=$max_cmd_len
21674 # Object file suffix (normally "o").
21677 # Executable file suffix (normally "").
21680 # whether the shell understands "unset".
21683 # turn spaces into newlines.
21686 # turn newlines into spaces.
21689 # convert \$build file names to \$host format.
21690 to_host_file_cmd=$lt_cv_to_host_file_cmd
21692 # convert \$build files to toolchain format.
21693 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
21695 # An object symbol dumper.
21696 OBJDUMP=$lt_OBJDUMP
21698 # Method to check whether dependent libraries are shared objects.
21699 deplibs_check_method=$lt_deplibs_check_method
21701 # Command to use when deplibs_check_method = "file_magic".
21702 file_magic_cmd=$lt_file_magic_cmd
21704 # How to find potential files when deplibs_check_method = "file_magic".
21705 file_magic_glob=$lt_file_magic_glob
21707 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
21708 want_nocaseglob=$lt_want_nocaseglob
21710 # DLL creation program.
21711 DLLTOOL=$lt_DLLTOOL
21713 # Command to associate shared and link libraries.
21714 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
21719 # Flags to create an archive.
21720 AR_FLAGS=$lt_AR_FLAGS
21722 # How to feed a file listing to the archiver.
21723 archiver_list_spec=$lt_archiver_list_spec
21725 # A symbol stripping program.
21728 # Commands used to install an old-style archive.
21730 old_postinstall_cmds=$lt_old_postinstall_cmds
21731 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21733 # Whether to use a lock for old archive extraction.
21734 lock_old_archive_extraction=$lock_old_archive_extraction
21739 # LTCC compiler flags.
21740 LTCFLAGS=$lt_CFLAGS
21742 # Take the output of nm and produce a listing of raw symbols and C names.
21743 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21745 # Transform the output of nm in a proper C declaration.
21746 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21748 # Transform the output of nm in a C name address pair.
21749 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21751 # Transform the output of nm in a C name address pair when lib prefix is needed.
21752 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21754 # Specify filename containing input files for \$NM.
21755 nm_file_list_spec=$lt_nm_file_list_spec
21757 # The root where to search for dependent libraries,and in which our libraries should be installed.
21758 lt_sysroot=$lt_sysroot
21760 # The name of the directory that contains temporary libtool files.
21763 # Used to examine libraries when file_magic_cmd begins with "file".
21764 MAGIC_CMD=$MAGIC_CMD
21766 # Must we lock files when doing compilation?
21767 need_locks=$lt_need_locks
21770 MANIFEST_TOOL=$lt_MANIFEST_TOOL
21772 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21773 DSYMUTIL=$lt_DSYMUTIL
21775 # Tool to change global to local symbols on Mac OS X.
21778 # Tool to manipulate fat objects and archives on Mac OS X.
21781 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21784 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21785 OTOOL64=$lt_OTOOL64
21787 # Old archive suffix (normally "a").
21790 # Shared library suffix (normally ".so").
21791 shrext_cmds=$lt_shrext_cmds
21793 # The commands to extract the exported symbol list from a shared archive.
21794 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21796 # Variables whose values should be saved in libtool wrapper scripts and
21797 # restored at link time.
21798 variables_saved_for_relink=$lt_variables_saved_for_relink
21800 # Do we need the "lib" prefix for modules?
21801 need_lib_prefix=$need_lib_prefix
21803 # Do we need a version for libraries?
21804 need_version=$need_version
21806 # Library versioning type.
21807 version_type=$version_type
21809 # Shared library runtime path variable.
21810 runpath_var=$runpath_var
21812 # Shared library path variable.
21813 shlibpath_var=$shlibpath_var
21815 # Is shlibpath searched before the hard-coded library search path?
21816 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21818 # Format of library name prefix.
21819 libname_spec=$lt_libname_spec
21821 # List of archive names. First name is the real one, the rest are links.
21822 # The last name is the one that the linker finds with -lNAME
21823 library_names_spec=$lt_library_names_spec
21825 # The coded name of the library, if different from the real name.
21826 soname_spec=$lt_soname_spec
21828 # Permission mode override for installation of shared libraries.
21829 install_override_mode=$lt_install_override_mode
21831 # Command to use after installation of a shared archive.
21832 postinstall_cmds=$lt_postinstall_cmds
21834 # Command to use after uninstallation of a shared archive.
21835 postuninstall_cmds=$lt_postuninstall_cmds
21837 # Commands used to finish a libtool library installation in a directory.
21838 finish_cmds=$lt_finish_cmds
21840 # As "finish_cmds", except a single script fragment to be evaled but
21842 finish_eval=$lt_finish_eval
21844 # Whether we should hardcode library paths into libraries.
21845 hardcode_into_libs=$hardcode_into_libs
21847 # Compile-time system search path for libraries.
21848 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21850 # Run-time system search path for libraries.
21851 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21853 # Whether dlopen is supported.
21854 dlopen_support=$enable_dlopen
21856 # Whether dlopen of programs is supported.
21857 dlopen_self=$enable_dlopen_self
21859 # Whether dlopen of statically linked programs is supported.
21860 dlopen_self_static=$enable_dlopen_self_static
21862 # Commands to strip libraries.
21863 old_striplib=$lt_old_striplib
21864 striplib=$lt_striplib
21867 # The linker used to build libraries.
21870 # How to create reloadable object files.
21871 reload_flag=$lt_reload_flag
21872 reload_cmds=$lt_reload_cmds
21874 # Commands used to build an old-style archive.
21875 old_archive_cmds=$lt_old_archive_cmds
21877 # A language specific compiler.
21880 # Is the compiler the GNU compiler?
21883 # Compiler flag to turn off builtin functions.
21884 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21886 # Additional compiler flags for building library objects.
21887 pic_flag=$lt_lt_prog_compiler_pic
21889 # How to pass a linker flag through the compiler.
21890 wl=$lt_lt_prog_compiler_wl
21892 # Compiler flag to prevent dynamic linking.
21893 link_static_flag=$lt_lt_prog_compiler_static
21895 # Does compiler simultaneously support -c and -o options?
21896 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21898 # Whether or not to add -lc for building shared libraries.
21899 build_libtool_need_lc=$archive_cmds_need_lc
21901 # Whether or not to disallow shared libs when runtime libs are static.
21902 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21904 # Compiler flag to allow reflexive dlopens.
21905 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21907 # Compiler flag to generate shared objects directly from archives.
21908 whole_archive_flag_spec=$lt_whole_archive_flag_spec
21910 # Whether the compiler copes with passing no objects directly.
21911 compiler_needs_object=$lt_compiler_needs_object
21913 # Create an old-style archive from a shared archive.
21914 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21916 # Create a temporary old-style archive to link instead of a shared archive.
21917 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21919 # Commands used to build a shared archive.
21920 archive_cmds=$lt_archive_cmds
21921 archive_expsym_cmds=$lt_archive_expsym_cmds
21923 # Commands used to build a loadable module if different from building
21924 # a shared archive.
21925 module_cmds=$lt_module_cmds
21926 module_expsym_cmds=$lt_module_expsym_cmds
21928 # Whether we are building with GNU ld or not.
21929 with_gnu_ld=$lt_with_gnu_ld
21931 # Flag that allows shared libraries with undefined symbols to be built.
21932 allow_undefined_flag=$lt_allow_undefined_flag
21934 # Flag that enforces no undefined symbols.
21935 no_undefined_flag=$lt_no_undefined_flag
21937 # Flag to hardcode \$libdir into a binary during linking.
21938 # This must work even if \$libdir does not exist
21939 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21941 # If ld is used when linking, flag to hardcode \$libdir into a binary
21942 # during linking. This must work even if \$libdir does not exist.
21943 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
21945 # Whether we need a single "-rpath" flag with a separated argument.
21946 hardcode_libdir_separator=$lt_hardcode_libdir_separator
21948 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21949 # DIR into the resulting binary.
21950 hardcode_direct=$hardcode_direct
21952 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21953 # DIR into the resulting binary and the resulting library dependency is
21954 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21955 # library is relocated.
21956 hardcode_direct_absolute=$hardcode_direct_absolute
21958 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21959 # into the resulting binary.
21960 hardcode_minus_L=$hardcode_minus_L
21962 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21963 # into the resulting binary.
21964 hardcode_shlibpath_var=$hardcode_shlibpath_var
21966 # Set to "yes" if building a shared library automatically hardcodes DIR
21967 # into the library and all subsequent libraries and executables linked
21969 hardcode_automatic=$hardcode_automatic
21971 # Set to yes if linker adds runtime paths of dependent libraries
21972 # to runtime path list.
21973 inherit_rpath=$inherit_rpath
21975 # Whether libtool must link a program against all its dependency libraries.
21976 link_all_deplibs=$link_all_deplibs
21978 # Set to "yes" if exported symbols are required.
21979 always_export_symbols=$always_export_symbols
21981 # The commands to list exported symbols.
21982 export_symbols_cmds=$lt_export_symbols_cmds
21984 # Symbols that should not be listed in the preloaded symbols.
21985 exclude_expsyms=$lt_exclude_expsyms
21987 # Symbols that must always be exported.
21988 include_expsyms=$lt_include_expsyms
21990 # Commands necessary for linking programs (against libraries) with templates.
21991 prelink_cmds=$lt_prelink_cmds
21993 # Commands necessary for finishing linking programs.
21994 postlink_cmds=$lt_postlink_cmds
21996 # Specify filename containing input files.
21997 file_list_spec=$lt_file_list_spec
21999 # How to hardcode a shared library path into an executable.
22000 hardcode_action=$hardcode_action
22002 # The directories searched by this compiler when creating a shared library.
22003 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
22005 # Dependencies to place before and after the objects being linked to
22006 # create a shared library.
22007 predep_objects=$lt_predep_objects
22008 postdep_objects=$lt_postdep_objects
22009 predeps=$lt_predeps
22010 postdeps=$lt_postdeps
22012 # The library search path used internally by the compiler when linking
22013 # a shared library.
22014 compiler_lib_search_path=$lt_compiler_lib_search_path
22016 # ### END LIBTOOL CONFIG
22022 cat <<\_LT_EOF
>> "$cfgfile"
22023 # AIX sometimes has problems with the GCC collect2 program. For some
22024 # reason, if we set the COLLECT_NAMES environment variable, the problems
22025 # vanish in a puff of smoke.
22026 if test "X${COLLECT_NAMES+set}" != Xset
; then
22028 export COLLECT_NAMES
22035 ltmain
="$ac_aux_dir/ltmain.sh"
22038 # We use sed instead of cat because bash on DJGPP gets confused if
22039 # if finds mixed CR/LF and LF-only lines. Since sed operates in
22040 # text mode, it properly converts lines to CR/LF. This bash problem
22041 # is reportedly fixed, but why not run on old versions too?
22042 sed '$q' "$ltmain" >> "$cfgfile" \
22043 ||
(rm -f "$cfgfile"; exit 1)
22045 if test x
"$xsi_shell" = xyes
; then
22046 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
22050 \ */*) func_dirname_result="${1%/*}${2}" ;;\
22051 \ * ) func_dirname_result="${3}" ;;\
22053 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
22054 && mv -f "$cfgfile.tmp" "$cfgfile" \
22055 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22056 test 0 -eq $? || _lt_function_replace_fail
=:
22059 sed -e '/^func_basename ()$/,/^} # func_basename /c\
22062 \ func_basename_result="${1##*/}"\
22063 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
22064 && mv -f "$cfgfile.tmp" "$cfgfile" \
22065 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22066 test 0 -eq $? || _lt_function_replace_fail
=:
22069 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
22070 func_dirname_and_basename ()\
22073 \ */*) func_dirname_result="${1%/*}${2}" ;;\
22074 \ * ) func_dirname_result="${3}" ;;\
22076 \ func_basename_result="${1##*/}"\
22077 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
22078 && mv -f "$cfgfile.tmp" "$cfgfile" \
22079 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22080 test 0 -eq $? || _lt_function_replace_fail
=:
22083 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
22086 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
22087 \ # positional parameters, so assign one to ordinary parameter first.\
22088 \ func_stripname_result=${3}\
22089 \ func_stripname_result=${func_stripname_result#"${1}"}\
22090 \ func_stripname_result=${func_stripname_result%"${2}"}\
22091 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
22092 && mv -f "$cfgfile.tmp" "$cfgfile" \
22093 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22094 test 0 -eq $? || _lt_function_replace_fail
=:
22097 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
22098 func_split_long_opt ()\
22100 \ func_split_long_opt_name=${1%%=*}\
22101 \ func_split_long_opt_arg=${1#*=}\
22102 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
22103 && mv -f "$cfgfile.tmp" "$cfgfile" \
22104 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22105 test 0 -eq $? || _lt_function_replace_fail
=:
22108 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
22109 func_split_short_opt ()\
22111 \ func_split_short_opt_arg=${1#??}\
22112 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
22113 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
22114 && mv -f "$cfgfile.tmp" "$cfgfile" \
22115 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22116 test 0 -eq $? || _lt_function_replace_fail
=:
22119 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
22123 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
22124 \ *) func_lo2o_result=${1} ;;\
22126 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
22127 && mv -f "$cfgfile.tmp" "$cfgfile" \
22128 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22129 test 0 -eq $? || _lt_function_replace_fail
=:
22132 sed -e '/^func_xform ()$/,/^} # func_xform /c\
22135 func_xform_result=${1%.*}.lo\
22136 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
22137 && mv -f "$cfgfile.tmp" "$cfgfile" \
22138 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22139 test 0 -eq $? || _lt_function_replace_fail
=:
22142 sed -e '/^func_arith ()$/,/^} # func_arith /c\
22145 func_arith_result=$(( $* ))\
22146 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
22147 && mv -f "$cfgfile.tmp" "$cfgfile" \
22148 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22149 test 0 -eq $? || _lt_function_replace_fail
=:
22152 sed -e '/^func_len ()$/,/^} # func_len /c\
22155 func_len_result=${#1}\
22156 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
22157 && mv -f "$cfgfile.tmp" "$cfgfile" \
22158 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22159 test 0 -eq $? || _lt_function_replace_fail
=:
22163 if test x
"$lt_shell_append" = xyes
; then
22164 sed -e '/^func_append ()$/,/^} # func_append /c\
22167 eval "${1}+=\\${2}"\
22168 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
22169 && mv -f "$cfgfile.tmp" "$cfgfile" \
22170 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22171 test 0 -eq $? || _lt_function_replace_fail
=:
22174 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
22175 func_append_quoted ()\
22177 \ func_quote_for_eval "${2}"\
22178 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
22179 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
22180 && mv -f "$cfgfile.tmp" "$cfgfile" \
22181 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22182 test 0 -eq $? || _lt_function_replace_fail
=:
22185 # Save a `func_append' function call where possible by direct use of '+='
22186 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
22187 && mv -f "$cfgfile.tmp" "$cfgfile" \
22188 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22189 test 0 -eq $? || _lt_function_replace_fail
=:
22191 # Save a `func_append' function call even when '+=' is not available
22192 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
22193 && mv -f "$cfgfile.tmp" "$cfgfile" \
22194 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22195 test 0 -eq $? || _lt_function_replace_fail
=:
22198 if test x
"$_lt_function_replace_fail" = x
":"; then
22199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
22200 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
22204 mv -f "$cfgfile" "$ofile" ||
22205 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
22209 cat <<_LT_EOF >> "$ofile"
22211 # ### BEGIN LIBTOOL TAG CONFIG: CXX
22213 # The linker used to build libraries.
22216 # How to create reloadable object files.
22217 reload_flag=$lt_reload_flag_CXX
22218 reload_cmds=$lt_reload_cmds_CXX
22220 # Commands used to build an old-style archive.
22221 old_archive_cmds=$lt_old_archive_cmds_CXX
22223 # A language specific compiler.
22224 CC=$lt_compiler_CXX
22226 # Is the compiler the GNU compiler?
22229 # Compiler flag to turn off builtin functions.
22230 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
22232 # Additional compiler flags for building library objects.
22233 pic_flag=$lt_lt_prog_compiler_pic_CXX
22235 # How to pass a linker flag through the compiler.
22236 wl=$lt_lt_prog_compiler_wl_CXX
22238 # Compiler flag to prevent dynamic linking.
22239 link_static_flag=$lt_lt_prog_compiler_static_CXX
22241 # Does compiler simultaneously support -c and -o options?
22242 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
22244 # Whether or not to add -lc for building shared libraries.
22245 build_libtool_need_lc=$archive_cmds_need_lc_CXX
22247 # Whether or not to disallow shared libs when runtime libs are static.
22248 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
22250 # Compiler flag to allow reflexive dlopens.
22251 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
22253 # Compiler flag to generate shared objects directly from archives.
22254 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
22256 # Whether the compiler copes with passing no objects directly.
22257 compiler_needs_object=$lt_compiler_needs_object_CXX
22259 # Create an old-style archive from a shared archive.
22260 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
22262 # Create a temporary old-style archive to link instead of a shared archive.
22263 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
22265 # Commands used to build a shared archive.
22266 archive_cmds=$lt_archive_cmds_CXX
22267 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
22269 # Commands used to build a loadable module if different from building
22270 # a shared archive.
22271 module_cmds=$lt_module_cmds_CXX
22272 module_expsym_cmds=$lt_module_expsym_cmds_CXX
22274 # Whether we are building with GNU ld or not.
22275 with_gnu_ld=$lt_with_gnu_ld_CXX
22277 # Flag that allows shared libraries with undefined symbols to be built.
22278 allow_undefined_flag=$lt_allow_undefined_flag_CXX
22280 # Flag that enforces no undefined symbols.
22281 no_undefined_flag=$lt_no_undefined_flag_CXX
22283 # Flag to hardcode \$libdir into a binary during linking.
22284 # This must work even if \$libdir does not exist
22285 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
22287 # If ld is used when linking, flag to hardcode \$libdir into a binary
22288 # during linking. This must work even if \$libdir does not exist.
22289 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
22291 # Whether we need a single "-rpath" flag with a separated argument.
22292 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
22294 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22295 # DIR into the resulting binary.
22296 hardcode_direct=$hardcode_direct_CXX
22298 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22299 # DIR into the resulting binary and the resulting library dependency is
22300 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22301 # library is relocated.
22302 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
22304 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22305 # into the resulting binary.
22306 hardcode_minus_L=$hardcode_minus_L_CXX
22308 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22309 # into the resulting binary.
22310 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
22312 # Set to "yes" if building a shared library automatically hardcodes DIR
22313 # into the library and all subsequent libraries and executables linked
22315 hardcode_automatic=$hardcode_automatic_CXX
22317 # Set to yes if linker adds runtime paths of dependent libraries
22318 # to runtime path list.
22319 inherit_rpath=$inherit_rpath_CXX
22321 # Whether libtool must link a program against all its dependency libraries.
22322 link_all_deplibs=$link_all_deplibs_CXX
22324 # Set to "yes" if exported symbols are required.
22325 always_export_symbols=$always_export_symbols_CXX
22327 # The commands to list exported symbols.
22328 export_symbols_cmds=$lt_export_symbols_cmds_CXX
22330 # Symbols that should not be listed in the preloaded symbols.
22331 exclude_expsyms=$lt_exclude_expsyms_CXX
22333 # Symbols that must always be exported.
22334 include_expsyms=$lt_include_expsyms_CXX
22336 # Commands necessary for linking programs (against libraries) with templates.
22337 prelink_cmds=$lt_prelink_cmds_CXX
22339 # Commands necessary for finishing linking programs.
22340 postlink_cmds=$lt_postlink_cmds_CXX
22342 # Specify filename containing input files.
22343 file_list_spec=$lt_file_list_spec_CXX
22345 # How to hardcode a shared library path into an executable.
22346 hardcode_action=$hardcode_action_CXX
22348 # The directories searched by this compiler when creating a shared library.
22349 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
22351 # Dependencies to place before and after the objects being linked to
22352 # create a shared library.
22353 predep_objects=$lt_predep_objects_CXX
22354 postdep_objects=$lt_postdep_objects_CXX
22355 predeps=$lt_predeps_CXX
22356 postdeps=$lt_postdeps_CXX
22358 # The library search path used internally by the compiler when linking
22359 # a shared library.
22360 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
22362 # ### END LIBTOOL TAG CONFIG: CXX
22373 ac_clean_files
=$ac_clean_files_save
22375 test $ac_write_fail = 0 ||
22376 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
22379 # configure is writing to config.log, and then calls config.status.
22380 # config.status does its own redirection, appending to config.log.
22381 # Unfortunately, on DOS this fails, as config.log is still kept open
22382 # by configure, so config.status won't be able to write to it; its
22383 # output is simply discarded. So we exec the FD to /dev/null,
22384 # effectively closing config.log, so it can be properly (re)opened and
22385 # appended to by config.status. When coming back to configure, we
22386 # need to make the FD available again.
22387 if test "$no_create" != yes; then
22389 ac_config_status_args
=
22390 test "$silent" = yes &&
22391 ac_config_status_args
="$ac_config_status_args --quiet"
22393 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22395 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22396 # would make configure fail if this is the last instruction.
22397 $ac_cs_success || as_fn_exit
1
22399 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
22400 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22401 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22405 { $as_echo "$as_me:${as_lineno-$LINENO}:
22408 quvi version: ${VERSION} g:${git_describe} b:${build_date}
22409 host setup: ${host}
22415 build libquvi: shared=${enable_shared} static=${enable_static}
22416 build examples: ${enable_examples}
22417 build quvi: ${enable_quvi}
22419 enable tests: ${enable_tests}
22420 enable todo: ${enable_todo}
22421 enable nsfw: ${enable_nsfw}
22422 enable nlfy: ${enable_nlfy}
22424 install manual: ${with_man}
22425 install docs: ${with_doc}
22430 quvi version: ${VERSION} g:${git_describe} b:${build_date}
22431 host setup: ${host}
22437 build libquvi: shared=${enable_shared} static=${enable_static}
22438 build examples: ${enable_examples}
22439 build quvi: ${enable_quvi}
22441 enable tests: ${enable_tests}
22442 enable todo: ${enable_todo}
22443 enable nsfw: ${enable_nsfw}
22444 enable nlfy: ${enable_nlfy}
22446 install manual: ${with_man}
22447 install docs: ${with_doc}
22451 # gengetopt: ${GENGETOPT}
22452 # doxygen: ${DOXYGEN}
22454 # pod2man: ${POD2MAN}
22455 # pod2html: ${POD2HTML}