vimeo: handle player.vimeo.com URLs, too
[quvi.git] / configure
bloba45e9b7e05fc83f31d08486779be3d01944f53fc
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for quvi 0.2.6.
5 # Report bugs to <http://is.gd/fIt4T>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 # Foundation, Inc.
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 :
22 emulate sh
23 NULLCMD=:
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+"$@"}'='"$@"'
27 setopt NO_GLOB_SUBST
28 else
29 case `(set -o) 2>/dev/null` in #(
30 *posix*) :
31 set -o posix ;; #(
32 *) :
34 esac
38 as_nl='
40 export as_nl
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
49 as_echo='print -r --'
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52 as_echo='printf %s\n'
53 as_echo_n='printf %s'
54 else
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'
58 else
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 as_echo_n_body='eval
61 arg=$1;
62 case $arg in #(
63 *"$as_nl"*)
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66 esac;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
69 export as_echo_n_body
70 as_echo_n='sh -c $as_echo_n_body as_echo'
72 export as_echo_body
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
78 PATH_SEPARATOR=:
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 PATH_SEPARATOR=';'
86 # IFS
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.)
91 IFS=" "" $as_nl"
93 # Find who we are. Look in the path if we contain no directory separator.
94 as_myself=
95 case $0 in #((
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 for as_dir in $PATH
100 IFS=$as_save_IFS
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 done
104 IFS=$as_save_IFS
107 esac
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
111 as_myself=$0
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 exit 1
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 || :
125 done
126 PS1='$ '
127 PS2='> '
128 PS4='+ '
130 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
136 # CDPATH.
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 :
141 emulate sh
142 NULLCMD=:
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+\"\$@\"}'='\"\$@\"'
146 setopt NO_GLOB_SUBST
147 else
148 case \`(set -o) 2>/dev/null\` in #(
149 *posix*) :
150 set -o posix ;; #(
151 *) :
153 esac
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; }
162 exitcode=0
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 :
169 else
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 :
187 as_have_required=yes
188 else
189 as_have_required=no
191 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
193 else
194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
195 as_found=false
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
198 IFS=$as_save_IFS
199 test -z "$as_dir" && as_dir=.
200 as_found=:
201 case $as_dir in #(
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 :
210 break 2
213 done;;
214 esac
215 as_found=false
216 done
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
220 fi; }
221 IFS=$as_save_IFS
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.
229 BASH_ENV=/dev/null
230 ENV=/dev/null
231 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
232 export CONFIG_SHELL
233 case $- in # ((((
234 *v*x* | *x*v* ) as_opts=-vx ;;
235 *v* ) as_opts=-v ;;
236 *x* ) as_opts=-x ;;
237 * ) as_opts= ;;
238 esac
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."
248 else
249 $as_echo "$0: Please tell bug-autoconf@gnu.org and http://is.gd/fIt4T
250 $0: about your system, including any error possibly output
251 $0: before this message. Then install a modern shell, or
252 $0: manually run the script under such a shell if you do
253 $0: have one."
255 exit 1
259 SHELL=${CONFIG_SHELL-/bin/sh}
260 export SHELL
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 ## --------------------- ##
268 # as_fn_unset VAR
269 # ---------------
270 # Portably unset VAR.
271 as_fn_unset ()
273 { eval $1=; unset $1;}
275 as_unset=as_fn_unset
277 # as_fn_set_status STATUS
278 # -----------------------
279 # Set $? to STATUS, without forking.
280 as_fn_set_status ()
282 return $1
283 } # as_fn_set_status
285 # as_fn_exit STATUS
286 # -----------------
287 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
288 as_fn_exit ()
290 set +e
291 as_fn_set_status $1
292 exit $1
293 } # as_fn_exit
295 # as_fn_mkdir_p
296 # -------------
297 # Create "$as_dir" as a directory, including parents if necessary.
298 as_fn_mkdir_p ()
301 case $as_dir in #(
302 -*) as_dir=./$as_dir;;
303 esac
304 test -d "$as_dir" || eval $as_mkdir_p || {
305 as_dirs=
306 while :; do
307 case $as_dir in #(
308 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
309 *) as_qdir=$as_dir;;
310 esac
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319 s//\1/
322 /^X\(\/\/\)[^/].*/{
323 s//\1/
326 /^X\(\/\/\)$/{
327 s//\1/
330 /^X\(\/\).*/{
331 s//\1/
334 s/.*/./; q'`
335 test -d "$as_dir" && break
336 done
337 test -z "$as_dirs" || eval "mkdir $as_dirs"
338 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
341 } # as_fn_mkdir_p
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
347 # implementations.
348 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
349 eval 'as_fn_append ()
351 eval $1+=\$2
353 else
354 as_fn_append ()
356 eval $1=\$$1\$2
358 fi # as_fn_append
360 # as_fn_arith ARG...
361 # ------------------
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 :
366 eval 'as_fn_arith ()
368 as_val=$(( $* ))
370 else
371 as_fn_arith ()
373 as_val=`expr "$@" || test $? -eq 1`
375 fi # as_fn_arith
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.
383 as_fn_error ()
385 as_status=$1; test $as_status -eq 0 && as_status=1
386 if test "$4"; then
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
392 } # as_fn_error
394 if expr a : '\(a\)' >/dev/null 2>&1 &&
395 test "X`expr 00001 : '.*\(...\)'`" = X001; then
396 as_expr=expr
397 else
398 as_expr=false
401 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
402 as_basename=basename
403 else
404 as_basename=false
407 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
408 as_dirname=dirname
409 else
410 as_dirname=false
413 as_me=`$as_basename -- "$0" ||
414 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415 X"$0" : 'X\(//\)$' \| \
416 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
417 $as_echo X/"$0" |
418 sed '/^.*\/\([^/][^/]*\)\/*$/{
419 s//\1/
422 /^X\/\(\/\/\)$/{
423 s//\1/
426 /^X\/\(\/\).*/{
427 s//\1/
430 s/.*/./; q'`
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. :-)
445 sed -n '
447 /[$]LINENO/=
448 ' <$as_myself |
449 sed '
450 s/[$]LINENO.*/&-/
451 t lineno
453 :lineno
455 :loop
456 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
457 t loop
458 s/-\n.*//
459 ' >$as_me.lineno &&
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).
466 . "./$as_me.lineno"
467 # Exit status is that of the last command.
468 exit
471 ECHO_C= ECHO_N= ECHO_T=
472 case `echo -n x` in #(((((
473 -n*)
474 case `echo 'xy\c'` in
475 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
476 xy) ECHO_C='\c';;
477 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
478 ECHO_T=' ';;
479 esac;;
481 ECHO_N='-n';;
482 esac
484 rm -f conf$$ conf$$.exe conf$$.file
485 if test -d conf$$.dir; then
486 rm -f conf$$.dir/conf$$.file
487 else
488 rm -f conf$$.dir
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
493 as_ln_s='ln -s'
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 ||
499 as_ln_s='cp -p'
500 elif ln conf$$.file conf$$ 2>/dev/null; then
501 as_ln_s=ln
502 else
503 as_ln_s='cp -p'
505 else
506 as_ln_s='cp -p'
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"'
513 else
514 test -d ./-p && rmdir ./-p
515 as_mkdir_p=false
518 if test -x / >/dev/null 2>&1; then
519 as_test_x='test -x'
520 else
521 if ls -dL / >/dev/null 2>&1; then
522 as_ls_L_option=L
523 else
524 as_ls_L_option=
526 as_test_x='
527 eval sh -c '\''
528 if test -d "$1"; then
529 test -d "$1/.";
530 else
531 case $1 in #(
532 -*)set "./$1";;
533 esac;
534 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535 ???[sx]*):;;*)false;;esac;fi
536 '\'' sh
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
551 exec 6>&1
553 # Name of the host.
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`
559 # Initializations.
561 ac_default_prefix=/usr/local
562 ac_clean_files=
563 ac_config_libobj_dir=.
564 LIBOBJS=
565 cross_compiling=no
566 subdirs=
567 MFLAGS=
568 MAKEFLAGS=
570 # Identity of this package.
571 PACKAGE_NAME='quvi'
572 PACKAGE_TARNAME='quvi'
573 PACKAGE_VERSION='0.2.6'
574 PACKAGE_STRING='quvi 0.2.6'
575 PACKAGE_BUGREPORT='http://is.gd/fIt4T'
576 PACKAGE_URL='http://quvi.googlecode.com/'
578 ac_unique_file="lib/quvi.c"
579 # Factoring default headers for most tests.
580 ac_includes_default="\
581 #include <stdio.h>
582 #ifdef HAVE_SYS_TYPES_H
583 # include <sys/types.h>
584 #endif
585 #ifdef HAVE_SYS_STAT_H
586 # include <sys/stat.h>
587 #endif
588 #ifdef STDC_HEADERS
589 # include <stdlib.h>
590 # include <stddef.h>
591 #else
592 # ifdef HAVE_STDLIB_H
593 # include <stdlib.h>
594 # endif
595 #endif
596 #ifdef HAVE_STRING_H
597 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
598 # include <memory.h>
599 # endif
600 # include <string.h>
601 #endif
602 #ifdef HAVE_STRINGS_H
603 # include <strings.h>
604 #endif
605 #ifdef HAVE_INTTYPES_H
606 # include <inttypes.h>
607 #endif
608 #ifdef HAVE_STDINT_H
609 # include <stdint.h>
610 #endif
611 #ifdef HAVE_UNISTD_H
612 # include <unistd.h>
613 #endif"
615 ac_subst_vars='am__EXEEXT_FALSE
616 am__EXEEXT_TRUE
617 LTLIBOBJS
618 HAVE_GNU_LD_FALSE
619 HAVE_GNU_LD_TRUE
620 WITH_DOC_FALSE
621 WITH_DOC_TRUE
622 WITH_MAN_FALSE
623 WITH_MAN_TRUE
624 ENABLE_BROKEN_FALSE
625 ENABLE_BROKEN_TRUE
626 ENABLE_TESTS_FALSE
627 ENABLE_TESTS_TRUE
628 ENABLE_SMUT_FALSE
629 ENABLE_SMUT_TRUE
630 ENABLE_EXAMPLES_FALSE
631 ENABLE_EXAMPLES_TRUE
632 ENABLE_QUVI_FALSE
633 ENABLE_QUVI_TRUE
634 NO_STRTOK_R_FALSE
635 NO_STRTOK_R_TRUE
636 NO_STRUPR_FALSE
637 NO_STRUPR_TRUE
638 NO_ASPRINTF_FALSE
639 NO_ASPRINTF_TRUE
640 POW_LIB
641 LIBOBJS
642 AM_BACKSLASH
643 AM_DEFAULT_VERBOSITY
644 liblua_LIBS
645 liblua_CFLAGS
646 libpcre_LIBS
647 libpcre_CFLAGS
648 libcurl_LIBS
649 libcurl_CFLAGS
650 PKG_CONFIG_LIBDIR
651 PKG_CONFIG_PATH
652 PKG_CONFIG
653 LTLIBICONV
654 LIBICONV
656 DATE
657 HAVE_POD2HTML_FALSE
658 HAVE_POD2HTML_TRUE
659 POD2HTML
660 HAVE_POD2MAN_FALSE
661 HAVE_POD2MAN_TRUE
662 POD2MAN
663 HAVE_PERL_POD_CHECKER_FALSE
664 HAVE_PERL_POD_CHECKER_TRUE
665 HAVE_PERL_FALSE
666 HAVE_PERL_TRUE
667 PERL
668 HAVE_DOXYGEN_FALSE
669 HAVE_DOXYGEN_TRUE
670 DOXYGEN
671 HAVE_GENGETOPT_FALSE
672 HAVE_GENGETOPT_TRUE
673 GENGETOPT
674 CXXCPP
675 am__fastdepCXX_FALSE
676 am__fastdepCXX_TRUE
677 CXXDEPMODE
678 ac_ct_CXX
679 CXXFLAGS
681 EXTRA_LIBQUVI_LDFLAGS
682 OTOOL64
683 OTOOL
684 LIPO
685 NMEDIT
686 DSYMUTIL
687 MANIFEST_TOOL
688 RANLIB
689 ac_ct_AR
691 DLLTOOL
692 OBJDUMP
693 LN_S
695 ac_ct_DUMPBIN
696 DUMPBIN
698 FGREP
700 LIBTOOL
701 am__fastdepCC_FALSE
702 am__fastdepCC_TRUE
703 CCDEPMODE
704 AMDEPBACKSLASH
705 AMDEP_FALSE
706 AMDEP_TRUE
707 am__quote
708 am__include
709 DEPDIR
710 am__untar
711 am__tar
712 AMTAR
713 am__leading_dot
714 SET_MAKE
716 mkdir_p
717 MKDIR_P
718 INSTALL_STRIP_PROGRAM
719 STRIP
720 install_sh
721 MAKEINFO
722 AUTOHEADER
723 AUTOMAKE
724 AUTOCONF
725 ACLOCAL
726 VERSION
727 PACKAGE
728 CYGPATH_W
729 am__isrc
730 INSTALL_DATA
731 INSTALL_SCRIPT
732 INSTALL_PROGRAM
733 EGREP
734 GREP
736 OBJEXT
737 EXEEXT
738 ac_ct_CC
739 CPPFLAGS
740 LDFLAGS
741 CFLAGS
743 target_os
744 target_vendor
745 target_cpu
746 target
747 host_os
748 host_vendor
749 host_cpu
750 host
751 build_os
752 build_vendor
753 build_cpu
754 build
755 QUVI_AGE
756 QUVI_REVISION
757 QUVI_CURRENT
758 target_alias
759 host_alias
760 build_alias
761 LIBS
762 ECHO_T
763 ECHO_N
764 ECHO_C
765 DEFS
766 mandir
767 localedir
768 libdir
769 psdir
770 pdfdir
771 dvidir
772 htmldir
773 infodir
774 docdir
775 oldincludedir
776 includedir
777 localstatedir
778 sharedstatedir
779 sysconfdir
780 datadir
781 datarootdir
782 libexecdir
783 sbindir
784 bindir
785 program_transform_name
786 prefix
787 exec_prefix
788 PACKAGE_URL
789 PACKAGE_BUGREPORT
790 PACKAGE_STRING
791 PACKAGE_VERSION
792 PACKAGE_TARNAME
793 PACKAGE_NAME
794 PATH_SEPARATOR
795 SHELL'
796 ac_subst_files=''
797 ac_user_opts='
798 enable_option_checking
799 enable_dependency_tracking
800 enable_shared
801 enable_static
802 with_pic
803 enable_fast_install
804 with_gnu_ld
805 with_sysroot
806 enable_libtool_lock
807 enable_rpath
808 with_libiconv_prefix
809 enable_silent_rules
810 enable_quvi
811 enable_examples
812 enable_smut
813 enable_tests
814 enable_broken
815 with_man
816 with_doc
818 ac_precious_vars='build_alias
819 host_alias
820 target_alias
822 CFLAGS
823 LDFLAGS
824 LIBS
825 CPPFLAGS
828 CXXFLAGS
830 CXXCPP
831 PKG_CONFIG
832 PKG_CONFIG_PATH
833 PKG_CONFIG_LIBDIR
834 libcurl_CFLAGS
835 libcurl_LIBS
836 libpcre_CFLAGS
837 libpcre_LIBS
838 liblua_CFLAGS
839 liblua_LIBS'
842 # Initialize some variables set by options.
843 ac_init_help=
844 ac_init_version=false
845 ac_unrecognized_opts=
846 ac_unrecognized_sep=
847 # The variables have the same names as the options, with
848 # dashes changed to underlines.
849 cache_file=/dev/null
850 exec_prefix=NONE
851 no_create=
852 no_recursion=
853 prefix=NONE
854 program_prefix=NONE
855 program_suffix=NONE
856 program_transform_name=s,x,x,
857 silent=
858 site=
859 srcdir=
860 verbose=
861 x_includes=NONE
862 x_libraries=NONE
864 # Installation directory options.
865 # These are left unexpanded so users can "make install exec_prefix=/foo"
866 # and all the variables that are supposed to be based on exec_prefix
867 # by default will actually change.
868 # Use braces instead of parens because sh, perl, etc. also accept them.
869 # (The list follows the same order as the GNU Coding Standards.)
870 bindir='${exec_prefix}/bin'
871 sbindir='${exec_prefix}/sbin'
872 libexecdir='${exec_prefix}/libexec'
873 datarootdir='${prefix}/share'
874 datadir='${datarootdir}'
875 sysconfdir='${prefix}/etc'
876 sharedstatedir='${prefix}/com'
877 localstatedir='${prefix}/var'
878 includedir='${prefix}/include'
879 oldincludedir='/usr/include'
880 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
881 infodir='${datarootdir}/info'
882 htmldir='${docdir}'
883 dvidir='${docdir}'
884 pdfdir='${docdir}'
885 psdir='${docdir}'
886 libdir='${exec_prefix}/lib'
887 localedir='${datarootdir}/locale'
888 mandir='${datarootdir}/man'
890 ac_prev=
891 ac_dashdash=
892 for ac_option
894 # If the previous option needs an argument, assign it.
895 if test -n "$ac_prev"; then
896 eval $ac_prev=\$ac_option
897 ac_prev=
898 continue
901 case $ac_option in
902 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
903 *=) ac_optarg= ;;
904 *) ac_optarg=yes ;;
905 esac
907 # Accept the important Cygnus configure options, so we can diagnose typos.
909 case $ac_dashdash$ac_option in
911 ac_dashdash=yes ;;
913 -bindir | --bindir | --bindi | --bind | --bin | --bi)
914 ac_prev=bindir ;;
915 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
916 bindir=$ac_optarg ;;
918 -build | --build | --buil | --bui | --bu)
919 ac_prev=build_alias ;;
920 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
921 build_alias=$ac_optarg ;;
923 -cache-file | --cache-file | --cache-fil | --cache-fi \
924 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
925 ac_prev=cache_file ;;
926 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
927 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
928 cache_file=$ac_optarg ;;
930 --config-cache | -C)
931 cache_file=config.cache ;;
933 -datadir | --datadir | --datadi | --datad)
934 ac_prev=datadir ;;
935 -datadir=* | --datadir=* | --datadi=* | --datad=*)
936 datadir=$ac_optarg ;;
938 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
939 | --dataroo | --dataro | --datar)
940 ac_prev=datarootdir ;;
941 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
942 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
943 datarootdir=$ac_optarg ;;
945 -disable-* | --disable-*)
946 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
947 # Reject names that are not valid shell variable names.
948 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
949 as_fn_error $? "invalid feature name: $ac_useropt"
950 ac_useropt_orig=$ac_useropt
951 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
952 case $ac_user_opts in
954 "enable_$ac_useropt"
955 "*) ;;
956 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
957 ac_unrecognized_sep=', ';;
958 esac
959 eval enable_$ac_useropt=no ;;
961 -docdir | --docdir | --docdi | --doc | --do)
962 ac_prev=docdir ;;
963 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
964 docdir=$ac_optarg ;;
966 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
967 ac_prev=dvidir ;;
968 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
969 dvidir=$ac_optarg ;;
971 -enable-* | --enable-*)
972 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
973 # Reject names that are not valid shell variable names.
974 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
975 as_fn_error $? "invalid feature name: $ac_useropt"
976 ac_useropt_orig=$ac_useropt
977 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
978 case $ac_user_opts in
980 "enable_$ac_useropt"
981 "*) ;;
982 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
983 ac_unrecognized_sep=', ';;
984 esac
985 eval enable_$ac_useropt=\$ac_optarg ;;
987 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
988 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
989 | --exec | --exe | --ex)
990 ac_prev=exec_prefix ;;
991 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
992 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
993 | --exec=* | --exe=* | --ex=*)
994 exec_prefix=$ac_optarg ;;
996 -gas | --gas | --ga | --g)
997 # Obsolete; use --with-gas.
998 with_gas=yes ;;
1000 -help | --help | --hel | --he | -h)
1001 ac_init_help=long ;;
1002 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1003 ac_init_help=recursive ;;
1004 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1005 ac_init_help=short ;;
1007 -host | --host | --hos | --ho)
1008 ac_prev=host_alias ;;
1009 -host=* | --host=* | --hos=* | --ho=*)
1010 host_alias=$ac_optarg ;;
1012 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1013 ac_prev=htmldir ;;
1014 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1015 | --ht=*)
1016 htmldir=$ac_optarg ;;
1018 -includedir | --includedir | --includedi | --included | --include \
1019 | --includ | --inclu | --incl | --inc)
1020 ac_prev=includedir ;;
1021 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1022 | --includ=* | --inclu=* | --incl=* | --inc=*)
1023 includedir=$ac_optarg ;;
1025 -infodir | --infodir | --infodi | --infod | --info | --inf)
1026 ac_prev=infodir ;;
1027 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1028 infodir=$ac_optarg ;;
1030 -libdir | --libdir | --libdi | --libd)
1031 ac_prev=libdir ;;
1032 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1033 libdir=$ac_optarg ;;
1035 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1036 | --libexe | --libex | --libe)
1037 ac_prev=libexecdir ;;
1038 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1039 | --libexe=* | --libex=* | --libe=*)
1040 libexecdir=$ac_optarg ;;
1042 -localedir | --localedir | --localedi | --localed | --locale)
1043 ac_prev=localedir ;;
1044 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1045 localedir=$ac_optarg ;;
1047 -localstatedir | --localstatedir | --localstatedi | --localstated \
1048 | --localstate | --localstat | --localsta | --localst | --locals)
1049 ac_prev=localstatedir ;;
1050 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1051 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1052 localstatedir=$ac_optarg ;;
1054 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1055 ac_prev=mandir ;;
1056 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1057 mandir=$ac_optarg ;;
1059 -nfp | --nfp | --nf)
1060 # Obsolete; use --without-fp.
1061 with_fp=no ;;
1063 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1064 | --no-cr | --no-c | -n)
1065 no_create=yes ;;
1067 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1068 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1069 no_recursion=yes ;;
1071 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1072 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1073 | --oldin | --oldi | --old | --ol | --o)
1074 ac_prev=oldincludedir ;;
1075 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1076 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1077 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1078 oldincludedir=$ac_optarg ;;
1080 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1081 ac_prev=prefix ;;
1082 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1083 prefix=$ac_optarg ;;
1085 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1086 | --program-pre | --program-pr | --program-p)
1087 ac_prev=program_prefix ;;
1088 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1089 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1090 program_prefix=$ac_optarg ;;
1092 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1093 | --program-suf | --program-su | --program-s)
1094 ac_prev=program_suffix ;;
1095 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1096 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1097 program_suffix=$ac_optarg ;;
1099 -program-transform-name | --program-transform-name \
1100 | --program-transform-nam | --program-transform-na \
1101 | --program-transform-n | --program-transform- \
1102 | --program-transform | --program-transfor \
1103 | --program-transfo | --program-transf \
1104 | --program-trans | --program-tran \
1105 | --progr-tra | --program-tr | --program-t)
1106 ac_prev=program_transform_name ;;
1107 -program-transform-name=* | --program-transform-name=* \
1108 | --program-transform-nam=* | --program-transform-na=* \
1109 | --program-transform-n=* | --program-transform-=* \
1110 | --program-transform=* | --program-transfor=* \
1111 | --program-transfo=* | --program-transf=* \
1112 | --program-trans=* | --program-tran=* \
1113 | --progr-tra=* | --program-tr=* | --program-t=*)
1114 program_transform_name=$ac_optarg ;;
1116 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1117 ac_prev=pdfdir ;;
1118 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1119 pdfdir=$ac_optarg ;;
1121 -psdir | --psdir | --psdi | --psd | --ps)
1122 ac_prev=psdir ;;
1123 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1124 psdir=$ac_optarg ;;
1126 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1127 | -silent | --silent | --silen | --sile | --sil)
1128 silent=yes ;;
1130 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1131 ac_prev=sbindir ;;
1132 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1133 | --sbi=* | --sb=*)
1134 sbindir=$ac_optarg ;;
1136 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1137 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1138 | --sharedst | --shareds | --shared | --share | --shar \
1139 | --sha | --sh)
1140 ac_prev=sharedstatedir ;;
1141 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1142 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1143 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1144 | --sha=* | --sh=*)
1145 sharedstatedir=$ac_optarg ;;
1147 -site | --site | --sit)
1148 ac_prev=site ;;
1149 -site=* | --site=* | --sit=*)
1150 site=$ac_optarg ;;
1152 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1153 ac_prev=srcdir ;;
1154 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1155 srcdir=$ac_optarg ;;
1157 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1158 | --syscon | --sysco | --sysc | --sys | --sy)
1159 ac_prev=sysconfdir ;;
1160 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1161 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1162 sysconfdir=$ac_optarg ;;
1164 -target | --target | --targe | --targ | --tar | --ta | --t)
1165 ac_prev=target_alias ;;
1166 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1167 target_alias=$ac_optarg ;;
1169 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1170 verbose=yes ;;
1172 -version | --version | --versio | --versi | --vers | -V)
1173 ac_init_version=: ;;
1175 -with-* | --with-*)
1176 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1177 # Reject names that are not valid shell variable names.
1178 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1179 as_fn_error $? "invalid package name: $ac_useropt"
1180 ac_useropt_orig=$ac_useropt
1181 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1182 case $ac_user_opts in
1184 "with_$ac_useropt"
1185 "*) ;;
1186 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1187 ac_unrecognized_sep=', ';;
1188 esac
1189 eval with_$ac_useropt=\$ac_optarg ;;
1191 -without-* | --without-*)
1192 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1193 # Reject names that are not valid shell variable names.
1194 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1195 as_fn_error $? "invalid package name: $ac_useropt"
1196 ac_useropt_orig=$ac_useropt
1197 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1198 case $ac_user_opts in
1200 "with_$ac_useropt"
1201 "*) ;;
1202 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1203 ac_unrecognized_sep=', ';;
1204 esac
1205 eval with_$ac_useropt=no ;;
1207 --x)
1208 # Obsolete; use --with-x.
1209 with_x=yes ;;
1211 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1212 | --x-incl | --x-inc | --x-in | --x-i)
1213 ac_prev=x_includes ;;
1214 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1215 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1216 x_includes=$ac_optarg ;;
1218 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1219 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1220 ac_prev=x_libraries ;;
1221 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1222 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1223 x_libraries=$ac_optarg ;;
1225 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1226 Try \`$0 --help' for more information"
1229 *=*)
1230 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1231 # Reject names that are not valid shell variable names.
1232 case $ac_envvar in #(
1233 '' | [0-9]* | *[!_$as_cr_alnum]* )
1234 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1235 esac
1236 eval $ac_envvar=\$ac_optarg
1237 export $ac_envvar ;;
1240 # FIXME: should be removed in autoconf 3.0.
1241 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1242 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1243 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1244 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1247 esac
1248 done
1250 if test -n "$ac_prev"; then
1251 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1252 as_fn_error $? "missing argument to $ac_option"
1255 if test -n "$ac_unrecognized_opts"; then
1256 case $enable_option_checking in
1257 no) ;;
1258 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1259 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1260 esac
1263 # Check all directory arguments for consistency.
1264 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1265 datadir sysconfdir sharedstatedir localstatedir includedir \
1266 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1267 libdir localedir mandir
1269 eval ac_val=\$$ac_var
1270 # Remove trailing slashes.
1271 case $ac_val in
1272 */ )
1273 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1274 eval $ac_var=\$ac_val;;
1275 esac
1276 # Be sure to have absolute directory names.
1277 case $ac_val in
1278 [\\/$]* | ?:[\\/]* ) continue;;
1279 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1280 esac
1281 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1282 done
1284 # There might be people who depend on the old broken behavior: `$host'
1285 # used to hold the argument of --host etc.
1286 # FIXME: To remove some day.
1287 build=$build_alias
1288 host=$host_alias
1289 target=$target_alias
1291 # FIXME: To remove some day.
1292 if test "x$host_alias" != x; then
1293 if test "x$build_alias" = x; then
1294 cross_compiling=maybe
1295 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1296 If a cross compiler is detected then cross compile mode will be used" >&2
1297 elif test "x$build_alias" != "x$host_alias"; then
1298 cross_compiling=yes
1302 ac_tool_prefix=
1303 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1305 test "$silent" = yes && exec 6>/dev/null
1308 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1309 ac_ls_di=`ls -di .` &&
1310 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1311 as_fn_error $? "working directory cannot be determined"
1312 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1313 as_fn_error $? "pwd does not report name of working directory"
1316 # Find the source files, if location was not specified.
1317 if test -z "$srcdir"; then
1318 ac_srcdir_defaulted=yes
1319 # Try the directory containing this script, then the parent directory.
1320 ac_confdir=`$as_dirname -- "$as_myself" ||
1321 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1322 X"$as_myself" : 'X\(//\)[^/]' \| \
1323 X"$as_myself" : 'X\(//\)$' \| \
1324 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1325 $as_echo X"$as_myself" |
1326 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1327 s//\1/
1330 /^X\(\/\/\)[^/].*/{
1331 s//\1/
1334 /^X\(\/\/\)$/{
1335 s//\1/
1338 /^X\(\/\).*/{
1339 s//\1/
1342 s/.*/./; q'`
1343 srcdir=$ac_confdir
1344 if test ! -r "$srcdir/$ac_unique_file"; then
1345 srcdir=..
1347 else
1348 ac_srcdir_defaulted=no
1350 if test ! -r "$srcdir/$ac_unique_file"; then
1351 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1352 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1354 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1355 ac_abs_confdir=`(
1356 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1357 pwd)`
1358 # When building in place, set srcdir=.
1359 if test "$ac_abs_confdir" = "$ac_pwd"; then
1360 srcdir=.
1362 # Remove unnecessary trailing slashes from srcdir.
1363 # Double slashes in file names in object file debugging info
1364 # mess up M-x gdb in Emacs.
1365 case $srcdir in
1366 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1367 esac
1368 for ac_var in $ac_precious_vars; do
1369 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1370 eval ac_env_${ac_var}_value=\$${ac_var}
1371 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1372 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1373 done
1376 # Report the --help message.
1378 if test "$ac_init_help" = "long"; then
1379 # Omit some internal or obsolete options to make the list less imposing.
1380 # This message is too long to be a string in the A/UX 3.1 sh.
1381 cat <<_ACEOF
1382 \`configure' configures quvi 0.2.6 to adapt to many kinds of systems.
1384 Usage: $0 [OPTION]... [VAR=VALUE]...
1386 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1387 VAR=VALUE. See below for descriptions of some of the useful variables.
1389 Defaults for the options are specified in brackets.
1391 Configuration:
1392 -h, --help display this help and exit
1393 --help=short display options specific to this package
1394 --help=recursive display the short help of all the included packages
1395 -V, --version display version information and exit
1396 -q, --quiet, --silent do not print \`checking ...' messages
1397 --cache-file=FILE cache test results in FILE [disabled]
1398 -C, --config-cache alias for \`--cache-file=config.cache'
1399 -n, --no-create do not create output files
1400 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1402 Installation directories:
1403 --prefix=PREFIX install architecture-independent files in PREFIX
1404 [$ac_default_prefix]
1405 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1406 [PREFIX]
1408 By default, \`make install' will install all the files in
1409 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1410 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1411 for instance \`--prefix=\$HOME'.
1413 For better control, use the options below.
1415 Fine tuning of the installation directories:
1416 --bindir=DIR user executables [EPREFIX/bin]
1417 --sbindir=DIR system admin executables [EPREFIX/sbin]
1418 --libexecdir=DIR program executables [EPREFIX/libexec]
1419 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1420 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1421 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1422 --libdir=DIR object code libraries [EPREFIX/lib]
1423 --includedir=DIR C header files [PREFIX/include]
1424 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1425 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1426 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1427 --infodir=DIR info documentation [DATAROOTDIR/info]
1428 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1429 --mandir=DIR man documentation [DATAROOTDIR/man]
1430 --docdir=DIR documentation root [DATAROOTDIR/doc/quvi]
1431 --htmldir=DIR html documentation [DOCDIR]
1432 --dvidir=DIR dvi documentation [DOCDIR]
1433 --pdfdir=DIR pdf documentation [DOCDIR]
1434 --psdir=DIR ps documentation [DOCDIR]
1435 _ACEOF
1437 cat <<\_ACEOF
1439 Program names:
1440 --program-prefix=PREFIX prepend PREFIX to installed program names
1441 --program-suffix=SUFFIX append SUFFIX to installed program names
1442 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1444 System types:
1445 --build=BUILD configure for building on BUILD [guessed]
1446 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1447 --target=TARGET configure for building compilers for TARGET [HOST]
1448 _ACEOF
1451 if test -n "$ac_init_help"; then
1452 case $ac_init_help in
1453 short | recursive ) echo "Configuration of quvi 0.2.6:";;
1454 esac
1455 cat <<\_ACEOF
1457 Optional Features:
1458 --disable-option-checking ignore unrecognized --enable/--with options
1459 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1460 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1461 --disable-dependency-tracking speeds up one-time build
1462 --enable-dependency-tracking do not reject slow dependency extractors
1463 --enable-shared[=PKGS] build shared libraries [default=yes]
1464 --enable-static[=PKGS] build static libraries [default=yes]
1465 --enable-fast-install[=PKGS]
1466 optimize for fast installation [default=yes]
1467 --disable-libtool-lock avoid locking (might break parallel builds)
1468 --disable-rpath do not hardcode runtime library paths
1469 --enable-silent-rules less verbose build output (undo: `make V=1')
1470 --disable-silent-rules verbose build output (undo: `make V=0')
1471 --enable-quvi build quvi command line tool[default=yes]
1472 --enable-examples build examples [default=no]
1473 --enable-smut build with adult website support [default=no]
1474 --enable-tests enable tests [default=no]
1475 --enable-broken build with broken website support [default=no]
1477 Optional Packages:
1478 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1479 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1480 --with-pic try to use only PIC/non-PIC objects [default=use
1481 both]
1482 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1483 --with-sysroot=DIR Search for dependent libraries within DIR
1484 (or the compiler's sysroot if not specified).
1485 --with-gnu-ld assume the C compiler uses GNU ld default=no
1486 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1487 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1488 --with-man install manual pages [default=yes]
1489 --with-doc install documentation [default=yes]
1491 Some influential environment variables:
1492 CC C compiler command
1493 CFLAGS C compiler flags
1494 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1495 nonstandard directory <lib dir>
1496 LIBS libraries to pass to the linker, e.g. -l<library>
1497 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1498 you have headers in a nonstandard directory <include dir>
1499 CPP C preprocessor
1500 CXX C++ compiler command
1501 CXXFLAGS C++ compiler flags
1502 CXXCPP C++ preprocessor
1503 PKG_CONFIG path to pkg-config utility
1504 PKG_CONFIG_PATH
1505 directories to add to pkg-config's search path
1506 PKG_CONFIG_LIBDIR
1507 path overriding pkg-config's built-in search path
1508 libcurl_CFLAGS
1509 C compiler flags for libcurl, overriding pkg-config
1510 libcurl_LIBS
1511 linker flags for libcurl, overriding pkg-config
1512 libpcre_CFLAGS
1513 C compiler flags for libpcre, overriding pkg-config
1514 libpcre_LIBS
1515 linker flags for libpcre, overriding pkg-config
1516 liblua_CFLAGS
1517 C compiler flags for liblua, overriding pkg-config
1518 liblua_LIBS linker flags for liblua, overriding pkg-config
1520 Use these variables to override the choices made by `configure' or to help
1521 it to find libraries and programs with nonstandard names/locations.
1523 Report bugs to <http://is.gd/fIt4T>.
1524 quvi home page: <http://quvi.googlecode.com/>.
1525 _ACEOF
1526 ac_status=$?
1529 if test "$ac_init_help" = "recursive"; then
1530 # If there are subdirs, report their specific --help.
1531 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1532 test -d "$ac_dir" ||
1533 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1534 continue
1535 ac_builddir=.
1537 case "$ac_dir" in
1538 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1540 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1541 # A ".." for each directory in $ac_dir_suffix.
1542 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1543 case $ac_top_builddir_sub in
1544 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1545 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1546 esac ;;
1547 esac
1548 ac_abs_top_builddir=$ac_pwd
1549 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1550 # for backward compatibility:
1551 ac_top_builddir=$ac_top_build_prefix
1553 case $srcdir in
1554 .) # We are building in place.
1555 ac_srcdir=.
1556 ac_top_srcdir=$ac_top_builddir_sub
1557 ac_abs_top_srcdir=$ac_pwd ;;
1558 [\\/]* | ?:[\\/]* ) # Absolute name.
1559 ac_srcdir=$srcdir$ac_dir_suffix;
1560 ac_top_srcdir=$srcdir
1561 ac_abs_top_srcdir=$srcdir ;;
1562 *) # Relative name.
1563 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1564 ac_top_srcdir=$ac_top_build_prefix$srcdir
1565 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1566 esac
1567 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1569 cd "$ac_dir" || { ac_status=$?; continue; }
1570 # Check for guested configure.
1571 if test -f "$ac_srcdir/configure.gnu"; then
1572 echo &&
1573 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1574 elif test -f "$ac_srcdir/configure"; then
1575 echo &&
1576 $SHELL "$ac_srcdir/configure" --help=recursive
1577 else
1578 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1579 fi || ac_status=$?
1580 cd "$ac_pwd" || { ac_status=$?; break; }
1581 done
1584 test -n "$ac_init_help" && exit $ac_status
1585 if $ac_init_version; then
1586 cat <<\_ACEOF
1587 quvi configure 0.2.6
1588 generated by GNU Autoconf 2.68
1590 Copyright (C) 2010 Free Software Foundation, Inc.
1591 This configure script is free software; the Free Software Foundation
1592 gives unlimited permission to copy, distribute and modify it.
1593 _ACEOF
1594 exit
1597 ## ------------------------ ##
1598 ## Autoconf initialization. ##
1599 ## ------------------------ ##
1601 # ac_fn_c_try_compile LINENO
1602 # --------------------------
1603 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1604 ac_fn_c_try_compile ()
1606 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1607 rm -f conftest.$ac_objext
1608 if { { ac_try="$ac_compile"
1609 case "(($ac_try" in
1610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1611 *) ac_try_echo=$ac_try;;
1612 esac
1613 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1614 $as_echo "$ac_try_echo"; } >&5
1615 (eval "$ac_compile") 2>conftest.err
1616 ac_status=$?
1617 if test -s conftest.err; then
1618 grep -v '^ *+' conftest.err >conftest.er1
1619 cat conftest.er1 >&5
1620 mv -f conftest.er1 conftest.err
1622 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1623 test $ac_status = 0; } && {
1624 test -z "$ac_c_werror_flag" ||
1625 test ! -s conftest.err
1626 } && test -s conftest.$ac_objext; then :
1627 ac_retval=0
1628 else
1629 $as_echo "$as_me: failed program was:" >&5
1630 sed 's/^/| /' conftest.$ac_ext >&5
1632 ac_retval=1
1634 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1635 as_fn_set_status $ac_retval
1637 } # ac_fn_c_try_compile
1639 # ac_fn_c_try_cpp LINENO
1640 # ----------------------
1641 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1642 ac_fn_c_try_cpp ()
1644 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1645 if { { ac_try="$ac_cpp conftest.$ac_ext"
1646 case "(($ac_try" in
1647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1648 *) ac_try_echo=$ac_try;;
1649 esac
1650 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1651 $as_echo "$ac_try_echo"; } >&5
1652 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1653 ac_status=$?
1654 if test -s conftest.err; then
1655 grep -v '^ *+' conftest.err >conftest.er1
1656 cat conftest.er1 >&5
1657 mv -f conftest.er1 conftest.err
1659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1660 test $ac_status = 0; } > conftest.i && {
1661 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1662 test ! -s conftest.err
1663 }; then :
1664 ac_retval=0
1665 else
1666 $as_echo "$as_me: failed program was:" >&5
1667 sed 's/^/| /' conftest.$ac_ext >&5
1669 ac_retval=1
1671 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1672 as_fn_set_status $ac_retval
1674 } # ac_fn_c_try_cpp
1676 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1677 # -------------------------------------------------------
1678 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1679 # the include files in INCLUDES and setting the cache variable VAR
1680 # accordingly.
1681 ac_fn_c_check_header_mongrel ()
1683 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1684 if eval \${$3+:} false; then :
1685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1686 $as_echo_n "checking for $2... " >&6; }
1687 if eval \${$3+:} false; then :
1688 $as_echo_n "(cached) " >&6
1690 eval ac_res=\$$3
1691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1692 $as_echo "$ac_res" >&6; }
1693 else
1694 # Is the header compilable?
1695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1696 $as_echo_n "checking $2 usability... " >&6; }
1697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1698 /* end confdefs.h. */
1700 #include <$2>
1701 _ACEOF
1702 if ac_fn_c_try_compile "$LINENO"; then :
1703 ac_header_compiler=yes
1704 else
1705 ac_header_compiler=no
1707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1709 $as_echo "$ac_header_compiler" >&6; }
1711 # Is the header present?
1712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1713 $as_echo_n "checking $2 presence... " >&6; }
1714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1715 /* end confdefs.h. */
1716 #include <$2>
1717 _ACEOF
1718 if ac_fn_c_try_cpp "$LINENO"; then :
1719 ac_header_preproc=yes
1720 else
1721 ac_header_preproc=no
1723 rm -f conftest.err conftest.i conftest.$ac_ext
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1725 $as_echo "$ac_header_preproc" >&6; }
1727 # So? What about this header?
1728 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1729 yes:no: )
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1731 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1733 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1735 no:yes:* )
1736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1737 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1739 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1741 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1743 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1745 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1746 ( $as_echo "## --------------------------------- ##
1747 ## Report this to http://is.gd/fIt4T ##
1748 ## --------------------------------- ##"
1749 ) | sed "s/^/$as_me: WARNING: /" >&2
1751 esac
1752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1753 $as_echo_n "checking for $2... " >&6; }
1754 if eval \${$3+:} false; then :
1755 $as_echo_n "(cached) " >&6
1756 else
1757 eval "$3=\$ac_header_compiler"
1759 eval ac_res=\$$3
1760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1761 $as_echo "$ac_res" >&6; }
1763 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1765 } # ac_fn_c_check_header_mongrel
1767 # ac_fn_c_try_run LINENO
1768 # ----------------------
1769 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1770 # that executables *can* be run.
1771 ac_fn_c_try_run ()
1773 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1774 if { { ac_try="$ac_link"
1775 case "(($ac_try" in
1776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1777 *) ac_try_echo=$ac_try;;
1778 esac
1779 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1780 $as_echo "$ac_try_echo"; } >&5
1781 (eval "$ac_link") 2>&5
1782 ac_status=$?
1783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1784 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1785 { { case "(($ac_try" in
1786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1787 *) ac_try_echo=$ac_try;;
1788 esac
1789 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1790 $as_echo "$ac_try_echo"; } >&5
1791 (eval "$ac_try") 2>&5
1792 ac_status=$?
1793 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1794 test $ac_status = 0; }; }; then :
1795 ac_retval=0
1796 else
1797 $as_echo "$as_me: program exited with status $ac_status" >&5
1798 $as_echo "$as_me: failed program was:" >&5
1799 sed 's/^/| /' conftest.$ac_ext >&5
1801 ac_retval=$ac_status
1803 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1804 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1805 as_fn_set_status $ac_retval
1807 } # ac_fn_c_try_run
1809 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1810 # -------------------------------------------------------
1811 # Tests whether HEADER exists and can be compiled using the include files in
1812 # INCLUDES, setting the cache variable VAR accordingly.
1813 ac_fn_c_check_header_compile ()
1815 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1817 $as_echo_n "checking for $2... " >&6; }
1818 if eval \${$3+:} false; then :
1819 $as_echo_n "(cached) " >&6
1820 else
1821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1822 /* end confdefs.h. */
1824 #include <$2>
1825 _ACEOF
1826 if ac_fn_c_try_compile "$LINENO"; then :
1827 eval "$3=yes"
1828 else
1829 eval "$3=no"
1831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1833 eval ac_res=\$$3
1834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1835 $as_echo "$ac_res" >&6; }
1836 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1838 } # ac_fn_c_check_header_compile
1840 # ac_fn_c_try_link LINENO
1841 # -----------------------
1842 # Try to link conftest.$ac_ext, and return whether this succeeded.
1843 ac_fn_c_try_link ()
1845 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1846 rm -f conftest.$ac_objext conftest$ac_exeext
1847 if { { ac_try="$ac_link"
1848 case "(($ac_try" in
1849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1850 *) ac_try_echo=$ac_try;;
1851 esac
1852 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1853 $as_echo "$ac_try_echo"; } >&5
1854 (eval "$ac_link") 2>conftest.err
1855 ac_status=$?
1856 if test -s conftest.err; then
1857 grep -v '^ *+' conftest.err >conftest.er1
1858 cat conftest.er1 >&5
1859 mv -f conftest.er1 conftest.err
1861 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1862 test $ac_status = 0; } && {
1863 test -z "$ac_c_werror_flag" ||
1864 test ! -s conftest.err
1865 } && test -s conftest$ac_exeext && {
1866 test "$cross_compiling" = yes ||
1867 $as_test_x conftest$ac_exeext
1868 }; then :
1869 ac_retval=0
1870 else
1871 $as_echo "$as_me: failed program was:" >&5
1872 sed 's/^/| /' conftest.$ac_ext >&5
1874 ac_retval=1
1876 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1877 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1878 # interfere with the next link command; also delete a directory that is
1879 # left behind by Apple's compiler. We do this before executing the actions.
1880 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1881 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1882 as_fn_set_status $ac_retval
1884 } # ac_fn_c_try_link
1886 # ac_fn_c_check_func LINENO FUNC VAR
1887 # ----------------------------------
1888 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1889 ac_fn_c_check_func ()
1891 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1893 $as_echo_n "checking for $2... " >&6; }
1894 if eval \${$3+:} false; then :
1895 $as_echo_n "(cached) " >&6
1896 else
1897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1898 /* end confdefs.h. */
1899 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1900 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1901 #define $2 innocuous_$2
1903 /* System header to define __stub macros and hopefully few prototypes,
1904 which can conflict with char $2 (); below.
1905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1906 <limits.h> exists even on freestanding compilers. */
1908 #ifdef __STDC__
1909 # include <limits.h>
1910 #else
1911 # include <assert.h>
1912 #endif
1914 #undef $2
1916 /* Override any GCC internal prototype to avoid an error.
1917 Use char because int might match the return type of a GCC
1918 builtin and then its argument prototype would still apply. */
1919 #ifdef __cplusplus
1920 extern "C"
1921 #endif
1922 char $2 ();
1923 /* The GNU C library defines this for functions which it implements
1924 to always fail with ENOSYS. Some functions are actually named
1925 something starting with __ and the normal name is an alias. */
1926 #if defined __stub_$2 || defined __stub___$2
1927 choke me
1928 #endif
1931 main ()
1933 return $2 ();
1935 return 0;
1937 _ACEOF
1938 if ac_fn_c_try_link "$LINENO"; then :
1939 eval "$3=yes"
1940 else
1941 eval "$3=no"
1943 rm -f core conftest.err conftest.$ac_objext \
1944 conftest$ac_exeext conftest.$ac_ext
1946 eval ac_res=\$$3
1947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1948 $as_echo "$ac_res" >&6; }
1949 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1951 } # ac_fn_c_check_func
1953 # ac_fn_cxx_try_compile LINENO
1954 # ----------------------------
1955 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1956 ac_fn_cxx_try_compile ()
1958 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1959 rm -f conftest.$ac_objext
1960 if { { ac_try="$ac_compile"
1961 case "(($ac_try" in
1962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1963 *) ac_try_echo=$ac_try;;
1964 esac
1965 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1966 $as_echo "$ac_try_echo"; } >&5
1967 (eval "$ac_compile") 2>conftest.err
1968 ac_status=$?
1969 if test -s conftest.err; then
1970 grep -v '^ *+' conftest.err >conftest.er1
1971 cat conftest.er1 >&5
1972 mv -f conftest.er1 conftest.err
1974 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1975 test $ac_status = 0; } && {
1976 test -z "$ac_cxx_werror_flag" ||
1977 test ! -s conftest.err
1978 } && test -s conftest.$ac_objext; then :
1979 ac_retval=0
1980 else
1981 $as_echo "$as_me: failed program was:" >&5
1982 sed 's/^/| /' conftest.$ac_ext >&5
1984 ac_retval=1
1986 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1987 as_fn_set_status $ac_retval
1989 } # ac_fn_cxx_try_compile
1991 # ac_fn_cxx_try_cpp LINENO
1992 # ------------------------
1993 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1994 ac_fn_cxx_try_cpp ()
1996 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1997 if { { ac_try="$ac_cpp conftest.$ac_ext"
1998 case "(($ac_try" in
1999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2000 *) ac_try_echo=$ac_try;;
2001 esac
2002 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2003 $as_echo "$ac_try_echo"; } >&5
2004 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2005 ac_status=$?
2006 if test -s conftest.err; then
2007 grep -v '^ *+' conftest.err >conftest.er1
2008 cat conftest.er1 >&5
2009 mv -f conftest.er1 conftest.err
2011 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2012 test $ac_status = 0; } > conftest.i && {
2013 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2014 test ! -s conftest.err
2015 }; then :
2016 ac_retval=0
2017 else
2018 $as_echo "$as_me: failed program was:" >&5
2019 sed 's/^/| /' conftest.$ac_ext >&5
2021 ac_retval=1
2023 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2024 as_fn_set_status $ac_retval
2026 } # ac_fn_cxx_try_cpp
2028 # ac_fn_cxx_try_link LINENO
2029 # -------------------------
2030 # Try to link conftest.$ac_ext, and return whether this succeeded.
2031 ac_fn_cxx_try_link ()
2033 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2034 rm -f conftest.$ac_objext conftest$ac_exeext
2035 if { { ac_try="$ac_link"
2036 case "(($ac_try" in
2037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2038 *) ac_try_echo=$ac_try;;
2039 esac
2040 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2041 $as_echo "$ac_try_echo"; } >&5
2042 (eval "$ac_link") 2>conftest.err
2043 ac_status=$?
2044 if test -s conftest.err; then
2045 grep -v '^ *+' conftest.err >conftest.er1
2046 cat conftest.er1 >&5
2047 mv -f conftest.er1 conftest.err
2049 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2050 test $ac_status = 0; } && {
2051 test -z "$ac_cxx_werror_flag" ||
2052 test ! -s conftest.err
2053 } && test -s conftest$ac_exeext && {
2054 test "$cross_compiling" = yes ||
2055 $as_test_x conftest$ac_exeext
2056 }; then :
2057 ac_retval=0
2058 else
2059 $as_echo "$as_me: failed program was:" >&5
2060 sed 's/^/| /' conftest.$ac_ext >&5
2062 ac_retval=1
2064 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2065 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2066 # interfere with the next link command; also delete a directory that is
2067 # left behind by Apple's compiler. We do this before executing the actions.
2068 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2069 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2070 as_fn_set_status $ac_retval
2072 } # ac_fn_cxx_try_link
2074 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2075 # -------------------------------------------
2076 # Tests whether TYPE exists after having included INCLUDES, setting cache
2077 # variable VAR accordingly.
2078 ac_fn_c_check_type ()
2080 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2082 $as_echo_n "checking for $2... " >&6; }
2083 if eval \${$3+:} false; then :
2084 $as_echo_n "(cached) " >&6
2085 else
2086 eval "$3=no"
2087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2088 /* end confdefs.h. */
2091 main ()
2093 if (sizeof ($2))
2094 return 0;
2096 return 0;
2098 _ACEOF
2099 if ac_fn_c_try_compile "$LINENO"; then :
2100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2101 /* end confdefs.h. */
2104 main ()
2106 if (sizeof (($2)))
2107 return 0;
2109 return 0;
2111 _ACEOF
2112 if ac_fn_c_try_compile "$LINENO"; then :
2114 else
2115 eval "$3=yes"
2117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2121 eval ac_res=\$$3
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2123 $as_echo "$ac_res" >&6; }
2124 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2126 } # ac_fn_c_check_type
2128 # ac_fn_c_find_uintX_t LINENO BITS VAR
2129 # ------------------------------------
2130 # Finds an unsigned integer type with width BITS, setting cache variable VAR
2131 # accordingly.
2132 ac_fn_c_find_uintX_t ()
2134 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
2136 $as_echo_n "checking for uint$2_t... " >&6; }
2137 if eval \${$3+:} false; then :
2138 $as_echo_n "(cached) " >&6
2139 else
2140 eval "$3=no"
2141 # Order is important - never check a type that is potentially smaller
2142 # than half of the expected target width.
2143 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
2144 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
2145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2146 /* end confdefs.h. */
2147 $ac_includes_default
2149 main ()
2151 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
2152 test_array [0] = 0
2155 return 0;
2157 _ACEOF
2158 if ac_fn_c_try_compile "$LINENO"; then :
2159 case $ac_type in #(
2160 uint$2_t) :
2161 eval "$3=yes" ;; #(
2162 *) :
2163 eval "$3=\$ac_type" ;;
2164 esac
2166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2167 if eval test \"x\$"$3"\" = x"no"; then :
2169 else
2170 break
2172 done
2174 eval ac_res=\$$3
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2176 $as_echo "$ac_res" >&6; }
2177 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2179 } # ac_fn_c_find_uintX_t
2180 cat >config.log <<_ACEOF
2181 This file contains any messages produced by compilers while
2182 running configure, to aid debugging if configure makes a mistake.
2184 It was created by quvi $as_me 0.2.6, which was
2185 generated by GNU Autoconf 2.68. Invocation command line was
2187 $ $0 $@
2189 _ACEOF
2190 exec 5>>config.log
2192 cat <<_ASUNAME
2193 ## --------- ##
2194 ## Platform. ##
2195 ## --------- ##
2197 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2198 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2199 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2200 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2201 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2203 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2204 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2206 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2207 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2208 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2209 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2210 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2211 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2212 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2214 _ASUNAME
2216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2217 for as_dir in $PATH
2219 IFS=$as_save_IFS
2220 test -z "$as_dir" && as_dir=.
2221 $as_echo "PATH: $as_dir"
2222 done
2223 IFS=$as_save_IFS
2225 } >&5
2227 cat >&5 <<_ACEOF
2230 ## ----------- ##
2231 ## Core tests. ##
2232 ## ----------- ##
2234 _ACEOF
2237 # Keep a trace of the command line.
2238 # Strip out --no-create and --no-recursion so they do not pile up.
2239 # Strip out --silent because we don't want to record it for future runs.
2240 # Also quote any args containing shell meta-characters.
2241 # Make two passes to allow for proper duplicate-argument suppression.
2242 ac_configure_args=
2243 ac_configure_args0=
2244 ac_configure_args1=
2245 ac_must_keep_next=false
2246 for ac_pass in 1 2
2248 for ac_arg
2250 case $ac_arg in
2251 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2252 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2253 | -silent | --silent | --silen | --sile | --sil)
2254 continue ;;
2255 *\'*)
2256 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2257 esac
2258 case $ac_pass in
2259 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2261 as_fn_append ac_configure_args1 " '$ac_arg'"
2262 if test $ac_must_keep_next = true; then
2263 ac_must_keep_next=false # Got value, back to normal.
2264 else
2265 case $ac_arg in
2266 *=* | --config-cache | -C | -disable-* | --disable-* \
2267 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2268 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2269 | -with-* | --with-* | -without-* | --without-* | --x)
2270 case "$ac_configure_args0 " in
2271 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2272 esac
2274 -* ) ac_must_keep_next=true ;;
2275 esac
2277 as_fn_append ac_configure_args " '$ac_arg'"
2279 esac
2280 done
2281 done
2282 { ac_configure_args0=; unset ac_configure_args0;}
2283 { ac_configure_args1=; unset ac_configure_args1;}
2285 # When interrupted or exit'd, cleanup temporary files, and complete
2286 # config.log. We remove comments because anyway the quotes in there
2287 # would cause problems or look ugly.
2288 # WARNING: Use '\'' to represent an apostrophe within the trap.
2289 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2290 trap 'exit_status=$?
2291 # Save into config.log some information that might help in debugging.
2293 echo
2295 $as_echo "## ---------------- ##
2296 ## Cache variables. ##
2297 ## ---------------- ##"
2298 echo
2299 # The following way of writing the cache mishandles newlines in values,
2301 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2302 eval ac_val=\$$ac_var
2303 case $ac_val in #(
2304 *${as_nl}*)
2305 case $ac_var in #(
2306 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2307 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2308 esac
2309 case $ac_var in #(
2310 _ | IFS | as_nl) ;; #(
2311 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2312 *) { eval $ac_var=; unset $ac_var;} ;;
2313 esac ;;
2314 esac
2315 done
2316 (set) 2>&1 |
2317 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2318 *${as_nl}ac_space=\ *)
2319 sed -n \
2320 "s/'\''/'\''\\\\'\'''\''/g;
2321 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2322 ;; #(
2324 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2326 esac |
2327 sort
2329 echo
2331 $as_echo "## ----------------- ##
2332 ## Output variables. ##
2333 ## ----------------- ##"
2334 echo
2335 for ac_var in $ac_subst_vars
2337 eval ac_val=\$$ac_var
2338 case $ac_val in
2339 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2340 esac
2341 $as_echo "$ac_var='\''$ac_val'\''"
2342 done | sort
2343 echo
2345 if test -n "$ac_subst_files"; then
2346 $as_echo "## ------------------- ##
2347 ## File substitutions. ##
2348 ## ------------------- ##"
2349 echo
2350 for ac_var in $ac_subst_files
2352 eval ac_val=\$$ac_var
2353 case $ac_val in
2354 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2355 esac
2356 $as_echo "$ac_var='\''$ac_val'\''"
2357 done | sort
2358 echo
2361 if test -s confdefs.h; then
2362 $as_echo "## ----------- ##
2363 ## confdefs.h. ##
2364 ## ----------- ##"
2365 echo
2366 cat confdefs.h
2367 echo
2369 test "$ac_signal" != 0 &&
2370 $as_echo "$as_me: caught signal $ac_signal"
2371 $as_echo "$as_me: exit $exit_status"
2372 } >&5
2373 rm -f core *.core core.conftest.* &&
2374 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2375 exit $exit_status
2377 for ac_signal in 1 2 13 15; do
2378 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2379 done
2380 ac_signal=0
2382 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2383 rm -f -r conftest* confdefs.h
2385 $as_echo "/* confdefs.h */" > confdefs.h
2387 # Predefined preprocessor variables.
2389 cat >>confdefs.h <<_ACEOF
2390 #define PACKAGE_NAME "$PACKAGE_NAME"
2391 _ACEOF
2393 cat >>confdefs.h <<_ACEOF
2394 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2395 _ACEOF
2397 cat >>confdefs.h <<_ACEOF
2398 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2399 _ACEOF
2401 cat >>confdefs.h <<_ACEOF
2402 #define PACKAGE_STRING "$PACKAGE_STRING"
2403 _ACEOF
2405 cat >>confdefs.h <<_ACEOF
2406 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2407 _ACEOF
2409 cat >>confdefs.h <<_ACEOF
2410 #define PACKAGE_URL "$PACKAGE_URL"
2411 _ACEOF
2414 # Let the site file select an alternate cache file if it wants to.
2415 # Prefer an explicitly selected file to automatically selected ones.
2416 ac_site_file1=NONE
2417 ac_site_file2=NONE
2418 if test -n "$CONFIG_SITE"; then
2419 # We do not want a PATH search for config.site.
2420 case $CONFIG_SITE in #((
2421 -*) ac_site_file1=./$CONFIG_SITE;;
2422 */*) ac_site_file1=$CONFIG_SITE;;
2423 *) ac_site_file1=./$CONFIG_SITE;;
2424 esac
2425 elif test "x$prefix" != xNONE; then
2426 ac_site_file1=$prefix/share/config.site
2427 ac_site_file2=$prefix/etc/config.site
2428 else
2429 ac_site_file1=$ac_default_prefix/share/config.site
2430 ac_site_file2=$ac_default_prefix/etc/config.site
2432 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2434 test "x$ac_site_file" = xNONE && continue
2435 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2437 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2438 sed 's/^/| /' "$ac_site_file" >&5
2439 . "$ac_site_file" \
2440 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2441 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2442 as_fn_error $? "failed to load site script $ac_site_file
2443 See \`config.log' for more details" "$LINENO" 5; }
2445 done
2447 if test -r "$cache_file"; then
2448 # Some versions of bash will fail to source /dev/null (special files
2449 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2450 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2452 $as_echo "$as_me: loading cache $cache_file" >&6;}
2453 case $cache_file in
2454 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2455 *) . "./$cache_file";;
2456 esac
2458 else
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2460 $as_echo "$as_me: creating cache $cache_file" >&6;}
2461 >$cache_file
2464 # Check that the precious variables saved in the cache have kept the same
2465 # value.
2466 ac_cache_corrupted=false
2467 for ac_var in $ac_precious_vars; do
2468 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2469 eval ac_new_set=\$ac_env_${ac_var}_set
2470 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2471 eval ac_new_val=\$ac_env_${ac_var}_value
2472 case $ac_old_set,$ac_new_set in
2473 set,)
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2475 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2476 ac_cache_corrupted=: ;;
2477 ,set)
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2479 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2480 ac_cache_corrupted=: ;;
2481 ,);;
2483 if test "x$ac_old_val" != "x$ac_new_val"; then
2484 # differences in whitespace do not lead to failure.
2485 ac_old_val_w=`echo x $ac_old_val`
2486 ac_new_val_w=`echo x $ac_new_val`
2487 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2489 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2490 ac_cache_corrupted=:
2491 else
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2493 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2494 eval $ac_var=\$ac_old_val
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2497 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2499 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2500 fi;;
2501 esac
2502 # Pass precious variables to config.status.
2503 if test "$ac_new_set" = set; then
2504 case $ac_new_val in
2505 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2506 *) ac_arg=$ac_var=$ac_new_val ;;
2507 esac
2508 case " $ac_configure_args " in
2509 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2510 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2511 esac
2513 done
2514 if $ac_cache_corrupted; then
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2516 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2518 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2519 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2521 ## -------------------- ##
2522 ## Main body of script. ##
2523 ## -------------------- ##
2525 ac_ext=c
2526 ac_cpp='$CPP $CPPFLAGS'
2527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2533 # Interface:
2534 QUVI_CURRENT=2
2535 QUVI_REVISION=6
2536 QUVI_AGE=2
2542 ac_config_headers="$ac_config_headers config.h"
2544 ac_aux_dir=
2545 for ac_dir in config.aux "$srcdir"/config.aux; do
2546 if test -f "$ac_dir/install-sh"; then
2547 ac_aux_dir=$ac_dir
2548 ac_install_sh="$ac_aux_dir/install-sh -c"
2549 break
2550 elif test -f "$ac_dir/install.sh"; then
2551 ac_aux_dir=$ac_dir
2552 ac_install_sh="$ac_aux_dir/install.sh -c"
2553 break
2554 elif test -f "$ac_dir/shtool"; then
2555 ac_aux_dir=$ac_dir
2556 ac_install_sh="$ac_aux_dir/shtool install -c"
2557 break
2559 done
2560 if test -z "$ac_aux_dir"; then
2561 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config.aux \"$srcdir\"/config.aux" "$LINENO" 5
2564 # These three variables are undocumented and unsupported,
2565 # and are intended to be withdrawn in a future Autoconf release.
2566 # They can cause serious problems if a builder's source tree is in a directory
2567 # whose full name contains unusual characters.
2568 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2569 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2570 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2575 # Make sure we can run config.sub.
2576 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2577 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2580 $as_echo_n "checking build system type... " >&6; }
2581 if ${ac_cv_build+:} false; then :
2582 $as_echo_n "(cached) " >&6
2583 else
2584 ac_build_alias=$build_alias
2585 test "x$ac_build_alias" = x &&
2586 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2587 test "x$ac_build_alias" = x &&
2588 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2589 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2590 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2594 $as_echo "$ac_cv_build" >&6; }
2595 case $ac_cv_build in
2596 *-*-*) ;;
2597 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2598 esac
2599 build=$ac_cv_build
2600 ac_save_IFS=$IFS; IFS='-'
2601 set x $ac_cv_build
2602 shift
2603 build_cpu=$1
2604 build_vendor=$2
2605 shift; shift
2606 # Remember, the first character of IFS is used to create $*,
2607 # except with old shells:
2608 build_os=$*
2609 IFS=$ac_save_IFS
2610 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2614 $as_echo_n "checking host system type... " >&6; }
2615 if ${ac_cv_host+:} false; then :
2616 $as_echo_n "(cached) " >&6
2617 else
2618 if test "x$host_alias" = x; then
2619 ac_cv_host=$ac_cv_build
2620 else
2621 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2622 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2627 $as_echo "$ac_cv_host" >&6; }
2628 case $ac_cv_host in
2629 *-*-*) ;;
2630 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2631 esac
2632 host=$ac_cv_host
2633 ac_save_IFS=$IFS; IFS='-'
2634 set x $ac_cv_host
2635 shift
2636 host_cpu=$1
2637 host_vendor=$2
2638 shift; shift
2639 # Remember, the first character of IFS is used to create $*,
2640 # except with old shells:
2641 host_os=$*
2642 IFS=$ac_save_IFS
2643 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2647 $as_echo_n "checking target system type... " >&6; }
2648 if ${ac_cv_target+:} false; then :
2649 $as_echo_n "(cached) " >&6
2650 else
2651 if test "x$target_alias" = x; then
2652 ac_cv_target=$ac_cv_host
2653 else
2654 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2655 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2660 $as_echo "$ac_cv_target" >&6; }
2661 case $ac_cv_target in
2662 *-*-*) ;;
2663 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2664 esac
2665 target=$ac_cv_target
2666 ac_save_IFS=$IFS; IFS='-'
2667 set x $ac_cv_target
2668 shift
2669 target_cpu=$1
2670 target_vendor=$2
2671 shift; shift
2672 # Remember, the first character of IFS is used to create $*,
2673 # except with old shells:
2674 target_os=$*
2675 IFS=$ac_save_IFS
2676 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2679 # The aliases save the names the user supplied, while $host etc.
2680 # will get canonicalized.
2681 test -n "$target_alias" &&
2682 test "$program_prefix$program_suffix$program_transform_name" = \
2683 NONENONEs,x,x, &&
2684 program_prefix=${target_alias}-
2686 ac_ext=c
2687 ac_cpp='$CPP $CPPFLAGS'
2688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2691 if test -n "$ac_tool_prefix"; then
2692 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2693 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2695 $as_echo_n "checking for $ac_word... " >&6; }
2696 if ${ac_cv_prog_CC+:} false; then :
2697 $as_echo_n "(cached) " >&6
2698 else
2699 if test -n "$CC"; then
2700 ac_cv_prog_CC="$CC" # Let the user override the test.
2701 else
2702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2703 for as_dir in $PATH
2705 IFS=$as_save_IFS
2706 test -z "$as_dir" && as_dir=.
2707 for ac_exec_ext in '' $ac_executable_extensions; do
2708 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2709 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2711 break 2
2713 done
2714 done
2715 IFS=$as_save_IFS
2719 CC=$ac_cv_prog_CC
2720 if test -n "$CC"; then
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2722 $as_echo "$CC" >&6; }
2723 else
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2725 $as_echo "no" >&6; }
2730 if test -z "$ac_cv_prog_CC"; then
2731 ac_ct_CC=$CC
2732 # Extract the first word of "gcc", so it can be a program name with args.
2733 set dummy gcc; ac_word=$2
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2735 $as_echo_n "checking for $ac_word... " >&6; }
2736 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2737 $as_echo_n "(cached) " >&6
2738 else
2739 if test -n "$ac_ct_CC"; then
2740 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2741 else
2742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2743 for as_dir in $PATH
2745 IFS=$as_save_IFS
2746 test -z "$as_dir" && as_dir=.
2747 for ac_exec_ext in '' $ac_executable_extensions; do
2748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2749 ac_cv_prog_ac_ct_CC="gcc"
2750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2751 break 2
2753 done
2754 done
2755 IFS=$as_save_IFS
2759 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2760 if test -n "$ac_ct_CC"; then
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2762 $as_echo "$ac_ct_CC" >&6; }
2763 else
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2765 $as_echo "no" >&6; }
2768 if test "x$ac_ct_CC" = x; then
2769 CC=""
2770 else
2771 case $cross_compiling:$ac_tool_warned in
2772 yes:)
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2774 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2775 ac_tool_warned=yes ;;
2776 esac
2777 CC=$ac_ct_CC
2779 else
2780 CC="$ac_cv_prog_CC"
2783 if test -z "$CC"; then
2784 if test -n "$ac_tool_prefix"; then
2785 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2786 set dummy ${ac_tool_prefix}cc; ac_word=$2
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2788 $as_echo_n "checking for $ac_word... " >&6; }
2789 if ${ac_cv_prog_CC+:} false; then :
2790 $as_echo_n "(cached) " >&6
2791 else
2792 if test -n "$CC"; then
2793 ac_cv_prog_CC="$CC" # Let the user override the test.
2794 else
2795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2796 for as_dir in $PATH
2798 IFS=$as_save_IFS
2799 test -z "$as_dir" && as_dir=.
2800 for ac_exec_ext in '' $ac_executable_extensions; do
2801 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2802 ac_cv_prog_CC="${ac_tool_prefix}cc"
2803 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2804 break 2
2806 done
2807 done
2808 IFS=$as_save_IFS
2812 CC=$ac_cv_prog_CC
2813 if test -n "$CC"; then
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2815 $as_echo "$CC" >&6; }
2816 else
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2818 $as_echo "no" >&6; }
2824 if test -z "$CC"; then
2825 # Extract the first word of "cc", so it can be a program name with args.
2826 set dummy cc; ac_word=$2
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2828 $as_echo_n "checking for $ac_word... " >&6; }
2829 if ${ac_cv_prog_CC+:} false; then :
2830 $as_echo_n "(cached) " >&6
2831 else
2832 if test -n "$CC"; then
2833 ac_cv_prog_CC="$CC" # Let the user override the test.
2834 else
2835 ac_prog_rejected=no
2836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2837 for as_dir in $PATH
2839 IFS=$as_save_IFS
2840 test -z "$as_dir" && as_dir=.
2841 for ac_exec_ext in '' $ac_executable_extensions; do
2842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2843 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2844 ac_prog_rejected=yes
2845 continue
2847 ac_cv_prog_CC="cc"
2848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2849 break 2
2851 done
2852 done
2853 IFS=$as_save_IFS
2855 if test $ac_prog_rejected = yes; then
2856 # We found a bogon in the path, so make sure we never use it.
2857 set dummy $ac_cv_prog_CC
2858 shift
2859 if test $# != 0; then
2860 # We chose a different compiler from the bogus one.
2861 # However, it has the same basename, so the bogon will be chosen
2862 # first if we set CC to just the basename; use the full file name.
2863 shift
2864 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2869 CC=$ac_cv_prog_CC
2870 if test -n "$CC"; then
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2872 $as_echo "$CC" >&6; }
2873 else
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2875 $as_echo "no" >&6; }
2880 if test -z "$CC"; then
2881 if test -n "$ac_tool_prefix"; then
2882 for ac_prog in cl.exe
2884 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2885 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2887 $as_echo_n "checking for $ac_word... " >&6; }
2888 if ${ac_cv_prog_CC+:} false; then :
2889 $as_echo_n "(cached) " >&6
2890 else
2891 if test -n "$CC"; then
2892 ac_cv_prog_CC="$CC" # Let the user override the test.
2893 else
2894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2895 for as_dir in $PATH
2897 IFS=$as_save_IFS
2898 test -z "$as_dir" && as_dir=.
2899 for ac_exec_ext in '' $ac_executable_extensions; do
2900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2901 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2903 break 2
2905 done
2906 done
2907 IFS=$as_save_IFS
2911 CC=$ac_cv_prog_CC
2912 if test -n "$CC"; then
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2914 $as_echo "$CC" >&6; }
2915 else
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2917 $as_echo "no" >&6; }
2921 test -n "$CC" && break
2922 done
2924 if test -z "$CC"; then
2925 ac_ct_CC=$CC
2926 for ac_prog in cl.exe
2928 # Extract the first word of "$ac_prog", so it can be a program name with args.
2929 set dummy $ac_prog; ac_word=$2
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2931 $as_echo_n "checking for $ac_word... " >&6; }
2932 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2933 $as_echo_n "(cached) " >&6
2934 else
2935 if test -n "$ac_ct_CC"; then
2936 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2937 else
2938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2939 for as_dir in $PATH
2941 IFS=$as_save_IFS
2942 test -z "$as_dir" && as_dir=.
2943 for ac_exec_ext in '' $ac_executable_extensions; do
2944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2945 ac_cv_prog_ac_ct_CC="$ac_prog"
2946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2947 break 2
2949 done
2950 done
2951 IFS=$as_save_IFS
2955 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2956 if test -n "$ac_ct_CC"; then
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2958 $as_echo "$ac_ct_CC" >&6; }
2959 else
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2961 $as_echo "no" >&6; }
2965 test -n "$ac_ct_CC" && break
2966 done
2968 if test "x$ac_ct_CC" = x; then
2969 CC=""
2970 else
2971 case $cross_compiling:$ac_tool_warned in
2972 yes:)
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2974 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2975 ac_tool_warned=yes ;;
2976 esac
2977 CC=$ac_ct_CC
2984 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2985 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2986 as_fn_error $? "no acceptable C compiler found in \$PATH
2987 See \`config.log' for more details" "$LINENO" 5; }
2989 # Provide some information about the compiler.
2990 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2991 set X $ac_compile
2992 ac_compiler=$2
2993 for ac_option in --version -v -V -qversion; do
2994 { { ac_try="$ac_compiler $ac_option >&5"
2995 case "(($ac_try" in
2996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2997 *) ac_try_echo=$ac_try;;
2998 esac
2999 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3000 $as_echo "$ac_try_echo"; } >&5
3001 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3002 ac_status=$?
3003 if test -s conftest.err; then
3004 sed '10a\
3005 ... rest of stderr output deleted ...
3006 10q' conftest.err >conftest.er1
3007 cat conftest.er1 >&5
3009 rm -f conftest.er1 conftest.err
3010 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3011 test $ac_status = 0; }
3012 done
3014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3015 /* end confdefs.h. */
3018 main ()
3022 return 0;
3024 _ACEOF
3025 ac_clean_files_save=$ac_clean_files
3026 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3027 # Try to create an executable without -o first, disregard a.out.
3028 # It will help us diagnose broken compilers, and finding out an intuition
3029 # of exeext.
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3031 $as_echo_n "checking whether the C compiler works... " >&6; }
3032 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3034 # The possible output files:
3035 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3037 ac_rmfiles=
3038 for ac_file in $ac_files
3040 case $ac_file in
3041 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3042 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3043 esac
3044 done
3045 rm -f $ac_rmfiles
3047 if { { ac_try="$ac_link_default"
3048 case "(($ac_try" in
3049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3050 *) ac_try_echo=$ac_try;;
3051 esac
3052 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3053 $as_echo "$ac_try_echo"; } >&5
3054 (eval "$ac_link_default") 2>&5
3055 ac_status=$?
3056 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3057 test $ac_status = 0; }; then :
3058 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3059 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3060 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3061 # so that the user can short-circuit this test for compilers unknown to
3062 # Autoconf.
3063 for ac_file in $ac_files ''
3065 test -f "$ac_file" || continue
3066 case $ac_file in
3067 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3069 [ab].out )
3070 # We found the default executable, but exeext='' is most
3071 # certainly right.
3072 break;;
3073 *.* )
3074 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3075 then :; else
3076 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3078 # We set ac_cv_exeext here because the later test for it is not
3079 # safe: cross compilers may not add the suffix if given an `-o'
3080 # argument, so we may need to know it at that point already.
3081 # Even if this section looks crufty: it has the advantage of
3082 # actually working.
3083 break;;
3085 break;;
3086 esac
3087 done
3088 test "$ac_cv_exeext" = no && ac_cv_exeext=
3090 else
3091 ac_file=''
3093 if test -z "$ac_file"; then :
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3095 $as_echo "no" >&6; }
3096 $as_echo "$as_me: failed program was:" >&5
3097 sed 's/^/| /' conftest.$ac_ext >&5
3099 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3100 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3101 as_fn_error 77 "C compiler cannot create executables
3102 See \`config.log' for more details" "$LINENO" 5; }
3103 else
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3105 $as_echo "yes" >&6; }
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3108 $as_echo_n "checking for C compiler default output file name... " >&6; }
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3110 $as_echo "$ac_file" >&6; }
3111 ac_exeext=$ac_cv_exeext
3113 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3114 ac_clean_files=$ac_clean_files_save
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3116 $as_echo_n "checking for suffix of executables... " >&6; }
3117 if { { ac_try="$ac_link"
3118 case "(($ac_try" in
3119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3120 *) ac_try_echo=$ac_try;;
3121 esac
3122 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3123 $as_echo "$ac_try_echo"; } >&5
3124 (eval "$ac_link") 2>&5
3125 ac_status=$?
3126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3127 test $ac_status = 0; }; then :
3128 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3129 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3130 # work properly (i.e., refer to `conftest.exe'), while it won't with
3131 # `rm'.
3132 for ac_file in conftest.exe conftest conftest.*; do
3133 test -f "$ac_file" || continue
3134 case $ac_file in
3135 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3136 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3137 break;;
3138 * ) break;;
3139 esac
3140 done
3141 else
3142 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3143 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3144 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3145 See \`config.log' for more details" "$LINENO" 5; }
3147 rm -f conftest conftest$ac_cv_exeext
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3149 $as_echo "$ac_cv_exeext" >&6; }
3151 rm -f conftest.$ac_ext
3152 EXEEXT=$ac_cv_exeext
3153 ac_exeext=$EXEEXT
3154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3155 /* end confdefs.h. */
3156 #include <stdio.h>
3158 main ()
3160 FILE *f = fopen ("conftest.out", "w");
3161 return ferror (f) || fclose (f) != 0;
3164 return 0;
3166 _ACEOF
3167 ac_clean_files="$ac_clean_files conftest.out"
3168 # Check that the compiler produces executables we can run. If not, either
3169 # the compiler is broken, or we cross compile.
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3171 $as_echo_n "checking whether we are cross compiling... " >&6; }
3172 if test "$cross_compiling" != yes; then
3173 { { ac_try="$ac_link"
3174 case "(($ac_try" in
3175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3176 *) ac_try_echo=$ac_try;;
3177 esac
3178 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3179 $as_echo "$ac_try_echo"; } >&5
3180 (eval "$ac_link") 2>&5
3181 ac_status=$?
3182 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3183 test $ac_status = 0; }
3184 if { ac_try='./conftest$ac_cv_exeext'
3185 { { case "(($ac_try" in
3186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3187 *) ac_try_echo=$ac_try;;
3188 esac
3189 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3190 $as_echo "$ac_try_echo"; } >&5
3191 (eval "$ac_try") 2>&5
3192 ac_status=$?
3193 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3194 test $ac_status = 0; }; }; then
3195 cross_compiling=no
3196 else
3197 if test "$cross_compiling" = maybe; then
3198 cross_compiling=yes
3199 else
3200 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3201 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3202 as_fn_error $? "cannot run C compiled programs.
3203 If you meant to cross compile, use \`--host'.
3204 See \`config.log' for more details" "$LINENO" 5; }
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3209 $as_echo "$cross_compiling" >&6; }
3211 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3212 ac_clean_files=$ac_clean_files_save
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3214 $as_echo_n "checking for suffix of object files... " >&6; }
3215 if ${ac_cv_objext+:} false; then :
3216 $as_echo_n "(cached) " >&6
3217 else
3218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3219 /* end confdefs.h. */
3222 main ()
3226 return 0;
3228 _ACEOF
3229 rm -f conftest.o conftest.obj
3230 if { { ac_try="$ac_compile"
3231 case "(($ac_try" in
3232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3233 *) ac_try_echo=$ac_try;;
3234 esac
3235 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3236 $as_echo "$ac_try_echo"; } >&5
3237 (eval "$ac_compile") 2>&5
3238 ac_status=$?
3239 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3240 test $ac_status = 0; }; then :
3241 for ac_file in conftest.o conftest.obj conftest.*; do
3242 test -f "$ac_file" || continue;
3243 case $ac_file in
3244 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3245 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3246 break;;
3247 esac
3248 done
3249 else
3250 $as_echo "$as_me: failed program was:" >&5
3251 sed 's/^/| /' conftest.$ac_ext >&5
3253 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3254 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3255 as_fn_error $? "cannot compute suffix of object files: cannot compile
3256 See \`config.log' for more details" "$LINENO" 5; }
3258 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3261 $as_echo "$ac_cv_objext" >&6; }
3262 OBJEXT=$ac_cv_objext
3263 ac_objext=$OBJEXT
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3265 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3266 if ${ac_cv_c_compiler_gnu+:} false; then :
3267 $as_echo_n "(cached) " >&6
3268 else
3269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3270 /* end confdefs.h. */
3273 main ()
3275 #ifndef __GNUC__
3276 choke me
3277 #endif
3280 return 0;
3282 _ACEOF
3283 if ac_fn_c_try_compile "$LINENO"; then :
3284 ac_compiler_gnu=yes
3285 else
3286 ac_compiler_gnu=no
3288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3289 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3293 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3294 if test $ac_compiler_gnu = yes; then
3295 GCC=yes
3296 else
3297 GCC=
3299 ac_test_CFLAGS=${CFLAGS+set}
3300 ac_save_CFLAGS=$CFLAGS
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3302 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3303 if ${ac_cv_prog_cc_g+:} false; then :
3304 $as_echo_n "(cached) " >&6
3305 else
3306 ac_save_c_werror_flag=$ac_c_werror_flag
3307 ac_c_werror_flag=yes
3308 ac_cv_prog_cc_g=no
3309 CFLAGS="-g"
3310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3311 /* end confdefs.h. */
3314 main ()
3318 return 0;
3320 _ACEOF
3321 if ac_fn_c_try_compile "$LINENO"; then :
3322 ac_cv_prog_cc_g=yes
3323 else
3324 CFLAGS=""
3325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3326 /* end confdefs.h. */
3329 main ()
3333 return 0;
3335 _ACEOF
3336 if ac_fn_c_try_compile "$LINENO"; then :
3338 else
3339 ac_c_werror_flag=$ac_save_c_werror_flag
3340 CFLAGS="-g"
3341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3342 /* end confdefs.h. */
3345 main ()
3349 return 0;
3351 _ACEOF
3352 if ac_fn_c_try_compile "$LINENO"; then :
3353 ac_cv_prog_cc_g=yes
3355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3360 ac_c_werror_flag=$ac_save_c_werror_flag
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3363 $as_echo "$ac_cv_prog_cc_g" >&6; }
3364 if test "$ac_test_CFLAGS" = set; then
3365 CFLAGS=$ac_save_CFLAGS
3366 elif test $ac_cv_prog_cc_g = yes; then
3367 if test "$GCC" = yes; then
3368 CFLAGS="-g -O2"
3369 else
3370 CFLAGS="-g"
3372 else
3373 if test "$GCC" = yes; then
3374 CFLAGS="-O2"
3375 else
3376 CFLAGS=
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3380 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3381 if ${ac_cv_prog_cc_c89+:} false; then :
3382 $as_echo_n "(cached) " >&6
3383 else
3384 ac_cv_prog_cc_c89=no
3385 ac_save_CC=$CC
3386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3387 /* end confdefs.h. */
3388 #include <stdarg.h>
3389 #include <stdio.h>
3390 #include <sys/types.h>
3391 #include <sys/stat.h>
3392 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3393 struct buf { int x; };
3394 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3395 static char *e (p, i)
3396 char **p;
3397 int i;
3399 return p[i];
3401 static char *f (char * (*g) (char **, int), char **p, ...)
3403 char *s;
3404 va_list v;
3405 va_start (v,p);
3406 s = g (p, va_arg (v,int));
3407 va_end (v);
3408 return s;
3411 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3412 function prototypes and stuff, but not '\xHH' hex character constants.
3413 These don't provoke an error unfortunately, instead are silently treated
3414 as 'x'. The following induces an error, until -std is added to get
3415 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3416 array size at least. It's necessary to write '\x00'==0 to get something
3417 that's true only with -std. */
3418 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3420 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3421 inside strings and character constants. */
3422 #define FOO(x) 'x'
3423 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3425 int test (int i, double x);
3426 struct s1 {int (*f) (int a);};
3427 struct s2 {int (*f) (double a);};
3428 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3429 int argc;
3430 char **argv;
3432 main ()
3434 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3436 return 0;
3438 _ACEOF
3439 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3440 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3442 CC="$ac_save_CC $ac_arg"
3443 if ac_fn_c_try_compile "$LINENO"; then :
3444 ac_cv_prog_cc_c89=$ac_arg
3446 rm -f core conftest.err conftest.$ac_objext
3447 test "x$ac_cv_prog_cc_c89" != "xno" && break
3448 done
3449 rm -f conftest.$ac_ext
3450 CC=$ac_save_CC
3453 # AC_CACHE_VAL
3454 case "x$ac_cv_prog_cc_c89" in
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3457 $as_echo "none needed" >&6; } ;;
3458 xno)
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3460 $as_echo "unsupported" >&6; } ;;
3462 CC="$CC $ac_cv_prog_cc_c89"
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3464 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3465 esac
3466 if test "x$ac_cv_prog_cc_c89" != xno; then :
3470 ac_ext=c
3471 ac_cpp='$CPP $CPPFLAGS'
3472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3477 ac_ext=c
3478 ac_cpp='$CPP $CPPFLAGS'
3479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3483 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3484 # On Suns, sometimes $CPP names a directory.
3485 if test -n "$CPP" && test -d "$CPP"; then
3486 CPP=
3488 if test -z "$CPP"; then
3489 if ${ac_cv_prog_CPP+:} false; then :
3490 $as_echo_n "(cached) " >&6
3491 else
3492 # Double quotes because CPP needs to be expanded
3493 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3495 ac_preproc_ok=false
3496 for ac_c_preproc_warn_flag in '' yes
3498 # Use a header file that comes with gcc, so configuring glibc
3499 # with a fresh cross-compiler works.
3500 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3501 # <limits.h> exists even on freestanding compilers.
3502 # On the NeXT, cc -E runs the code through the compiler's parser,
3503 # not just through cpp. "Syntax error" is here to catch this case.
3504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3505 /* end confdefs.h. */
3506 #ifdef __STDC__
3507 # include <limits.h>
3508 #else
3509 # include <assert.h>
3510 #endif
3511 Syntax error
3512 _ACEOF
3513 if ac_fn_c_try_cpp "$LINENO"; then :
3515 else
3516 # Broken: fails on valid input.
3517 continue
3519 rm -f conftest.err conftest.i conftest.$ac_ext
3521 # OK, works on sane cases. Now check whether nonexistent headers
3522 # can be detected and how.
3523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3524 /* end confdefs.h. */
3525 #include <ac_nonexistent.h>
3526 _ACEOF
3527 if ac_fn_c_try_cpp "$LINENO"; then :
3528 # Broken: success on invalid input.
3529 continue
3530 else
3531 # Passes both tests.
3532 ac_preproc_ok=:
3533 break
3535 rm -f conftest.err conftest.i conftest.$ac_ext
3537 done
3538 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3539 rm -f conftest.i conftest.err conftest.$ac_ext
3540 if $ac_preproc_ok; then :
3541 break
3544 done
3545 ac_cv_prog_CPP=$CPP
3548 CPP=$ac_cv_prog_CPP
3549 else
3550 ac_cv_prog_CPP=$CPP
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3553 $as_echo "$CPP" >&6; }
3554 ac_preproc_ok=false
3555 for ac_c_preproc_warn_flag in '' yes
3557 # Use a header file that comes with gcc, so configuring glibc
3558 # with a fresh cross-compiler works.
3559 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3560 # <limits.h> exists even on freestanding compilers.
3561 # On the NeXT, cc -E runs the code through the compiler's parser,
3562 # not just through cpp. "Syntax error" is here to catch this case.
3563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3564 /* end confdefs.h. */
3565 #ifdef __STDC__
3566 # include <limits.h>
3567 #else
3568 # include <assert.h>
3569 #endif
3570 Syntax error
3571 _ACEOF
3572 if ac_fn_c_try_cpp "$LINENO"; then :
3574 else
3575 # Broken: fails on valid input.
3576 continue
3578 rm -f conftest.err conftest.i conftest.$ac_ext
3580 # OK, works on sane cases. Now check whether nonexistent headers
3581 # can be detected and how.
3582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3583 /* end confdefs.h. */
3584 #include <ac_nonexistent.h>
3585 _ACEOF
3586 if ac_fn_c_try_cpp "$LINENO"; then :
3587 # Broken: success on invalid input.
3588 continue
3589 else
3590 # Passes both tests.
3591 ac_preproc_ok=:
3592 break
3594 rm -f conftest.err conftest.i conftest.$ac_ext
3596 done
3597 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3598 rm -f conftest.i conftest.err conftest.$ac_ext
3599 if $ac_preproc_ok; then :
3601 else
3602 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3603 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3604 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3605 See \`config.log' for more details" "$LINENO" 5; }
3608 ac_ext=c
3609 ac_cpp='$CPP $CPPFLAGS'
3610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3616 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3617 if ${ac_cv_path_GREP+:} false; then :
3618 $as_echo_n "(cached) " >&6
3619 else
3620 if test -z "$GREP"; then
3621 ac_path_GREP_found=false
3622 # Loop through the user's path and test for each of PROGNAME-LIST
3623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3624 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3626 IFS=$as_save_IFS
3627 test -z "$as_dir" && as_dir=.
3628 for ac_prog in grep ggrep; do
3629 for ac_exec_ext in '' $ac_executable_extensions; do
3630 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3631 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3632 # Check for GNU ac_path_GREP and select it if it is found.
3633 # Check for GNU $ac_path_GREP
3634 case `"$ac_path_GREP" --version 2>&1` in
3635 *GNU*)
3636 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3638 ac_count=0
3639 $as_echo_n 0123456789 >"conftest.in"
3640 while :
3642 cat "conftest.in" "conftest.in" >"conftest.tmp"
3643 mv "conftest.tmp" "conftest.in"
3644 cp "conftest.in" "conftest.nl"
3645 $as_echo 'GREP' >> "conftest.nl"
3646 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3647 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3648 as_fn_arith $ac_count + 1 && ac_count=$as_val
3649 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3650 # Best one so far, save it but keep looking for a better one
3651 ac_cv_path_GREP="$ac_path_GREP"
3652 ac_path_GREP_max=$ac_count
3654 # 10*(2^10) chars as input seems more than enough
3655 test $ac_count -gt 10 && break
3656 done
3657 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3658 esac
3660 $ac_path_GREP_found && break 3
3661 done
3662 done
3663 done
3664 IFS=$as_save_IFS
3665 if test -z "$ac_cv_path_GREP"; then
3666 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3668 else
3669 ac_cv_path_GREP=$GREP
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3674 $as_echo "$ac_cv_path_GREP" >&6; }
3675 GREP="$ac_cv_path_GREP"
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3679 $as_echo_n "checking for egrep... " >&6; }
3680 if ${ac_cv_path_EGREP+:} false; then :
3681 $as_echo_n "(cached) " >&6
3682 else
3683 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3684 then ac_cv_path_EGREP="$GREP -E"
3685 else
3686 if test -z "$EGREP"; then
3687 ac_path_EGREP_found=false
3688 # Loop through the user's path and test for each of PROGNAME-LIST
3689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3690 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3692 IFS=$as_save_IFS
3693 test -z "$as_dir" && as_dir=.
3694 for ac_prog in egrep; do
3695 for ac_exec_ext in '' $ac_executable_extensions; do
3696 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3697 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3698 # Check for GNU ac_path_EGREP and select it if it is found.
3699 # Check for GNU $ac_path_EGREP
3700 case `"$ac_path_EGREP" --version 2>&1` in
3701 *GNU*)
3702 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3704 ac_count=0
3705 $as_echo_n 0123456789 >"conftest.in"
3706 while :
3708 cat "conftest.in" "conftest.in" >"conftest.tmp"
3709 mv "conftest.tmp" "conftest.in"
3710 cp "conftest.in" "conftest.nl"
3711 $as_echo 'EGREP' >> "conftest.nl"
3712 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3713 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3714 as_fn_arith $ac_count + 1 && ac_count=$as_val
3715 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3716 # Best one so far, save it but keep looking for a better one
3717 ac_cv_path_EGREP="$ac_path_EGREP"
3718 ac_path_EGREP_max=$ac_count
3720 # 10*(2^10) chars as input seems more than enough
3721 test $ac_count -gt 10 && break
3722 done
3723 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3724 esac
3726 $ac_path_EGREP_found && break 3
3727 done
3728 done
3729 done
3730 IFS=$as_save_IFS
3731 if test -z "$ac_cv_path_EGREP"; then
3732 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3734 else
3735 ac_cv_path_EGREP=$EGREP
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3741 $as_echo "$ac_cv_path_EGREP" >&6; }
3742 EGREP="$ac_cv_path_EGREP"
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3746 $as_echo_n "checking for ANSI C header files... " >&6; }
3747 if ${ac_cv_header_stdc+:} false; then :
3748 $as_echo_n "(cached) " >&6
3749 else
3750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3751 /* end confdefs.h. */
3752 #include <stdlib.h>
3753 #include <stdarg.h>
3754 #include <string.h>
3755 #include <float.h>
3758 main ()
3762 return 0;
3764 _ACEOF
3765 if ac_fn_c_try_compile "$LINENO"; then :
3766 ac_cv_header_stdc=yes
3767 else
3768 ac_cv_header_stdc=no
3770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3772 if test $ac_cv_header_stdc = yes; then
3773 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3775 /* end confdefs.h. */
3776 #include <string.h>
3778 _ACEOF
3779 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3780 $EGREP "memchr" >/dev/null 2>&1; then :
3782 else
3783 ac_cv_header_stdc=no
3785 rm -f conftest*
3789 if test $ac_cv_header_stdc = yes; then
3790 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3792 /* end confdefs.h. */
3793 #include <stdlib.h>
3795 _ACEOF
3796 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3797 $EGREP "free" >/dev/null 2>&1; then :
3799 else
3800 ac_cv_header_stdc=no
3802 rm -f conftest*
3806 if test $ac_cv_header_stdc = yes; then
3807 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3808 if test "$cross_compiling" = yes; then :
3810 else
3811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3812 /* end confdefs.h. */
3813 #include <ctype.h>
3814 #include <stdlib.h>
3815 #if ((' ' & 0x0FF) == 0x020)
3816 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3817 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3818 #else
3819 # define ISLOWER(c) \
3820 (('a' <= (c) && (c) <= 'i') \
3821 || ('j' <= (c) && (c) <= 'r') \
3822 || ('s' <= (c) && (c) <= 'z'))
3823 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3824 #endif
3826 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3828 main ()
3830 int i;
3831 for (i = 0; i < 256; i++)
3832 if (XOR (islower (i), ISLOWER (i))
3833 || toupper (i) != TOUPPER (i))
3834 return 2;
3835 return 0;
3837 _ACEOF
3838 if ac_fn_c_try_run "$LINENO"; then :
3840 else
3841 ac_cv_header_stdc=no
3843 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3844 conftest.$ac_objext conftest.beam conftest.$ac_ext
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3850 $as_echo "$ac_cv_header_stdc" >&6; }
3851 if test $ac_cv_header_stdc = yes; then
3853 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3857 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3858 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3859 inttypes.h stdint.h unistd.h
3860 do :
3861 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3862 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3864 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3865 cat >>confdefs.h <<_ACEOF
3866 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3867 _ACEOF
3871 done
3875 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3876 if test "x$ac_cv_header_minix_config_h" = xyes; then :
3877 MINIX=yes
3878 else
3879 MINIX=
3883 if test "$MINIX" = yes; then
3885 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3888 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3891 $as_echo "#define _MINIX 1" >>confdefs.h
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3897 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3898 if ${ac_cv_safe_to_define___extensions__+:} false; then :
3899 $as_echo_n "(cached) " >&6
3900 else
3901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3902 /* end confdefs.h. */
3904 # define __EXTENSIONS__ 1
3905 $ac_includes_default
3907 main ()
3911 return 0;
3913 _ACEOF
3914 if ac_fn_c_try_compile "$LINENO"; then :
3915 ac_cv_safe_to_define___extensions__=yes
3916 else
3917 ac_cv_safe_to_define___extensions__=no
3919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3922 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3923 test $ac_cv_safe_to_define___extensions__ = yes &&
3924 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3926 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3928 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3930 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3932 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3938 cat >>confdefs.h <<_ACEOF
3939 #define CANONICAL_TARGET "$target"
3940 _ACEOF
3943 cat >>confdefs.h <<_ACEOF
3944 #define CANONICAL_HOST "$host"
3945 _ACEOF
3948 am__api_version='1.11'
3950 # Find a good install program. We prefer a C program (faster),
3951 # so one script is as good as another. But avoid the broken or
3952 # incompatible versions:
3953 # SysV /etc/install, /usr/sbin/install
3954 # SunOS /usr/etc/install
3955 # IRIX /sbin/install
3956 # AIX /bin/install
3957 # AmigaOS /C/install, which installs bootblocks on floppy discs
3958 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3959 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3960 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3961 # OS/2's system install, which has a completely different semantic
3962 # ./install, which can be erroneously created by make from ./install.sh.
3963 # Reject install programs that cannot install multiple files.
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3965 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3966 if test -z "$INSTALL"; then
3967 if ${ac_cv_path_install+:} false; then :
3968 $as_echo_n "(cached) " >&6
3969 else
3970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3971 for as_dir in $PATH
3973 IFS=$as_save_IFS
3974 test -z "$as_dir" && as_dir=.
3975 # Account for people who put trailing slashes in PATH elements.
3976 case $as_dir/ in #((
3977 ./ | .// | /[cC]/* | \
3978 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3979 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3980 /usr/ucb/* ) ;;
3982 # OSF1 and SCO ODT 3.0 have their own names for install.
3983 # Don't use installbsd from OSF since it installs stuff as root
3984 # by default.
3985 for ac_prog in ginstall scoinst install; do
3986 for ac_exec_ext in '' $ac_executable_extensions; do
3987 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3988 if test $ac_prog = install &&
3989 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3990 # AIX install. It has an incompatible calling convention.
3992 elif test $ac_prog = install &&
3993 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3994 # program-specific install script used by HP pwplus--don't use.
3996 else
3997 rm -rf conftest.one conftest.two conftest.dir
3998 echo one > conftest.one
3999 echo two > conftest.two
4000 mkdir conftest.dir
4001 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4002 test -s conftest.one && test -s conftest.two &&
4003 test -s conftest.dir/conftest.one &&
4004 test -s conftest.dir/conftest.two
4005 then
4006 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4007 break 3
4011 done
4012 done
4014 esac
4016 done
4017 IFS=$as_save_IFS
4019 rm -rf conftest.one conftest.two conftest.dir
4022 if test "${ac_cv_path_install+set}" = set; then
4023 INSTALL=$ac_cv_path_install
4024 else
4025 # As a last resort, use the slow shell script. Don't cache a
4026 # value for INSTALL within a source directory, because that will
4027 # break other packages using the cache if that directory is
4028 # removed, or if the value is a relative name.
4029 INSTALL=$ac_install_sh
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4033 $as_echo "$INSTALL" >&6; }
4035 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4036 # It thinks the first close brace ends the variable substitution.
4037 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4039 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4041 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4044 $as_echo_n "checking whether build environment is sane... " >&6; }
4045 # Just in case
4046 sleep 1
4047 echo timestamp > conftest.file
4048 # Reject unsafe characters in $srcdir or the absolute working directory
4049 # name. Accept space and tab only in the latter.
4050 am_lf='
4052 case `pwd` in
4053 *[\\\"\#\$\&\'\`$am_lf]*)
4054 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
4055 esac
4056 case $srcdir in
4057 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
4058 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
4059 esac
4061 # Do `set' in a subshell so we don't clobber the current shell's
4062 # arguments. Must try -L first in case configure is actually a
4063 # symlink; some systems play weird games with the mod time of symlinks
4064 # (eg FreeBSD returns the mod time of the symlink's containing
4065 # directory).
4066 if (
4067 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4068 if test "$*" = "X"; then
4069 # -L didn't work.
4070 set X `ls -t "$srcdir/configure" conftest.file`
4072 rm -f conftest.file
4073 if test "$*" != "X $srcdir/configure conftest.file" \
4074 && test "$*" != "X conftest.file $srcdir/configure"; then
4076 # If neither matched, then we have a broken ls. This can happen
4077 # if, for instance, CONFIG_SHELL is bash and it inherits a
4078 # broken ls alias from the environment. This has actually
4079 # happened. Such a system could not be considered "sane".
4080 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
4081 alias in your environment" "$LINENO" 5
4084 test "$2" = conftest.file
4086 then
4087 # Ok.
4089 else
4090 as_fn_error $? "newly created file is older than distributed files!
4091 Check your system clock" "$LINENO" 5
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4094 $as_echo "yes" >&6; }
4095 test "$program_prefix" != NONE &&
4096 program_transform_name="s&^&$program_prefix&;$program_transform_name"
4097 # Use a double $ so make ignores it.
4098 test "$program_suffix" != NONE &&
4099 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
4100 # Double any \ or $.
4101 # By default was `s,x,x', remove it if useless.
4102 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
4103 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
4105 # expand $ac_aux_dir to an absolute path
4106 am_aux_dir=`cd $ac_aux_dir && pwd`
4108 if test x"${MISSING+set}" != xset; then
4109 case $am_aux_dir in
4110 *\ * | *\ *)
4111 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
4113 MISSING="\${SHELL} $am_aux_dir/missing" ;;
4114 esac
4116 # Use eval to expand $SHELL
4117 if eval "$MISSING --run true"; then
4118 am_missing_run="$MISSING --run "
4119 else
4120 am_missing_run=
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
4122 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
4125 if test x"${install_sh}" != xset; then
4126 case $am_aux_dir in
4127 *\ * | *\ *)
4128 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
4130 install_sh="\${SHELL} $am_aux_dir/install-sh"
4131 esac
4134 # Installed binaries are usually stripped using `strip' when the user
4135 # run `make install-strip'. However `strip' might not be the right
4136 # tool to use in cross-compilation environments, therefore Automake
4137 # will honor the `STRIP' environment variable to overrule this program.
4138 if test "$cross_compiling" != no; then
4139 if test -n "$ac_tool_prefix"; then
4140 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4141 set dummy ${ac_tool_prefix}strip; ac_word=$2
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4143 $as_echo_n "checking for $ac_word... " >&6; }
4144 if ${ac_cv_prog_STRIP+:} false; then :
4145 $as_echo_n "(cached) " >&6
4146 else
4147 if test -n "$STRIP"; then
4148 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4149 else
4150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4151 for as_dir in $PATH
4153 IFS=$as_save_IFS
4154 test -z "$as_dir" && as_dir=.
4155 for ac_exec_ext in '' $ac_executable_extensions; do
4156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4157 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4159 break 2
4161 done
4162 done
4163 IFS=$as_save_IFS
4167 STRIP=$ac_cv_prog_STRIP
4168 if test -n "$STRIP"; then
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4170 $as_echo "$STRIP" >&6; }
4171 else
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4173 $as_echo "no" >&6; }
4178 if test -z "$ac_cv_prog_STRIP"; then
4179 ac_ct_STRIP=$STRIP
4180 # Extract the first word of "strip", so it can be a program name with args.
4181 set dummy strip; ac_word=$2
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4183 $as_echo_n "checking for $ac_word... " >&6; }
4184 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
4185 $as_echo_n "(cached) " >&6
4186 else
4187 if test -n "$ac_ct_STRIP"; then
4188 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4189 else
4190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4191 for as_dir in $PATH
4193 IFS=$as_save_IFS
4194 test -z "$as_dir" && as_dir=.
4195 for ac_exec_ext in '' $ac_executable_extensions; do
4196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4197 ac_cv_prog_ac_ct_STRIP="strip"
4198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4199 break 2
4201 done
4202 done
4203 IFS=$as_save_IFS
4207 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4208 if test -n "$ac_ct_STRIP"; then
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4210 $as_echo "$ac_ct_STRIP" >&6; }
4211 else
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4213 $as_echo "no" >&6; }
4216 if test "x$ac_ct_STRIP" = x; then
4217 STRIP=":"
4218 else
4219 case $cross_compiling:$ac_tool_warned in
4220 yes:)
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4222 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4223 ac_tool_warned=yes ;;
4224 esac
4225 STRIP=$ac_ct_STRIP
4227 else
4228 STRIP="$ac_cv_prog_STRIP"
4232 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4235 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4236 if test -z "$MKDIR_P"; then
4237 if ${ac_cv_path_mkdir+:} false; then :
4238 $as_echo_n "(cached) " >&6
4239 else
4240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4241 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
4243 IFS=$as_save_IFS
4244 test -z "$as_dir" && as_dir=.
4245 for ac_prog in mkdir gmkdir; do
4246 for ac_exec_ext in '' $ac_executable_extensions; do
4247 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
4248 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4249 'mkdir (GNU coreutils) '* | \
4250 'mkdir (coreutils) '* | \
4251 'mkdir (fileutils) '4.1*)
4252 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
4253 break 3;;
4254 esac
4255 done
4256 done
4257 done
4258 IFS=$as_save_IFS
4262 test -d ./--version && rmdir ./--version
4263 if test "${ac_cv_path_mkdir+set}" = set; then
4264 MKDIR_P="$ac_cv_path_mkdir -p"
4265 else
4266 # As a last resort, use the slow shell script. Don't cache a
4267 # value for MKDIR_P within a source directory, because that will
4268 # break other packages using the cache if that directory is
4269 # removed, or if the value is a relative name.
4270 MKDIR_P="$ac_install_sh -d"
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4274 $as_echo "$MKDIR_P" >&6; }
4276 mkdir_p="$MKDIR_P"
4277 case $mkdir_p in
4278 [\\/$]* | ?:[\\/]*) ;;
4279 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
4280 esac
4282 for ac_prog in gawk mawk nawk awk
4284 # Extract the first word of "$ac_prog", so it can be a program name with args.
4285 set dummy $ac_prog; ac_word=$2
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4287 $as_echo_n "checking for $ac_word... " >&6; }
4288 if ${ac_cv_prog_AWK+:} false; then :
4289 $as_echo_n "(cached) " >&6
4290 else
4291 if test -n "$AWK"; then
4292 ac_cv_prog_AWK="$AWK" # Let the user override the test.
4293 else
4294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4295 for as_dir in $PATH
4297 IFS=$as_save_IFS
4298 test -z "$as_dir" && as_dir=.
4299 for ac_exec_ext in '' $ac_executable_extensions; do
4300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4301 ac_cv_prog_AWK="$ac_prog"
4302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4303 break 2
4305 done
4306 done
4307 IFS=$as_save_IFS
4311 AWK=$ac_cv_prog_AWK
4312 if test -n "$AWK"; then
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4314 $as_echo "$AWK" >&6; }
4315 else
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4317 $as_echo "no" >&6; }
4321 test -n "$AWK" && break
4322 done
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4325 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4326 set x ${MAKE-make}
4327 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4328 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4329 $as_echo_n "(cached) " >&6
4330 else
4331 cat >conftest.make <<\_ACEOF
4332 SHELL = /bin/sh
4333 all:
4334 @echo '@@@%%%=$(MAKE)=@@@%%%'
4335 _ACEOF
4336 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4337 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4338 *@@@%%%=?*=@@@%%%*)
4339 eval ac_cv_prog_make_${ac_make}_set=yes;;
4341 eval ac_cv_prog_make_${ac_make}_set=no;;
4342 esac
4343 rm -f conftest.make
4345 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4347 $as_echo "yes" >&6; }
4348 SET_MAKE=
4349 else
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4351 $as_echo "no" >&6; }
4352 SET_MAKE="MAKE=${MAKE-make}"
4355 rm -rf .tst 2>/dev/null
4356 mkdir .tst 2>/dev/null
4357 if test -d .tst; then
4358 am__leading_dot=.
4359 else
4360 am__leading_dot=_
4362 rmdir .tst 2>/dev/null
4364 DEPDIR="${am__leading_dot}deps"
4366 ac_config_commands="$ac_config_commands depfiles"
4369 am_make=${MAKE-make}
4370 cat > confinc << 'END'
4371 am__doit:
4372 @echo this is the am__doit target
4373 .PHONY: am__doit
4375 # If we don't find an include directive, just comment out the code.
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4377 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4378 am__include="#"
4379 am__quote=
4380 _am_result=none
4381 # First try GNU make style include.
4382 echo "include confinc" > confmf
4383 # Ignore all kinds of additional output from `make'.
4384 case `$am_make -s -f confmf 2> /dev/null` in #(
4385 *the\ am__doit\ target*)
4386 am__include=include
4387 am__quote=
4388 _am_result=GNU
4390 esac
4391 # Now try BSD make style include.
4392 if test "$am__include" = "#"; then
4393 echo '.include "confinc"' > confmf
4394 case `$am_make -s -f confmf 2> /dev/null` in #(
4395 *the\ am__doit\ target*)
4396 am__include=.include
4397 am__quote="\""
4398 _am_result=BSD
4400 esac
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4405 $as_echo "$_am_result" >&6; }
4406 rm -f confinc confmf
4408 # Check whether --enable-dependency-tracking was given.
4409 if test "${enable_dependency_tracking+set}" = set; then :
4410 enableval=$enable_dependency_tracking;
4413 if test "x$enable_dependency_tracking" != xno; then
4414 am_depcomp="$ac_aux_dir/depcomp"
4415 AMDEPBACKSLASH='\'
4417 if test "x$enable_dependency_tracking" != xno; then
4418 AMDEP_TRUE=
4419 AMDEP_FALSE='#'
4420 else
4421 AMDEP_TRUE='#'
4422 AMDEP_FALSE=
4426 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4427 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4428 # is not polluted with repeated "-I."
4429 am__isrc=' -I$(srcdir)'
4430 # test to see if srcdir already configured
4431 if test -f $srcdir/config.status; then
4432 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4436 # test whether we have cygpath
4437 if test -z "$CYGPATH_W"; then
4438 if (cygpath --version) >/dev/null 2>/dev/null; then
4439 CYGPATH_W='cygpath -w'
4440 else
4441 CYGPATH_W=echo
4446 # Define the identity of the package.
4447 PACKAGE='quvi'
4448 VERSION='0.2.6'
4451 cat >>confdefs.h <<_ACEOF
4452 #define PACKAGE "$PACKAGE"
4453 _ACEOF
4456 cat >>confdefs.h <<_ACEOF
4457 #define VERSION "$VERSION"
4458 _ACEOF
4460 # Some tools Automake needs.
4462 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4465 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4468 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4471 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4474 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4476 # We need awk for the "check" target. The system "awk" is bad on
4477 # some platforms.
4478 # Always define AMTAR for backward compatibility.
4480 AMTAR=${AMTAR-"${am_missing_run}tar"}
4482 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
4487 depcc="$CC" am_compiler_list=
4489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4490 $as_echo_n "checking dependency style of $depcc... " >&6; }
4491 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4492 $as_echo_n "(cached) " >&6
4493 else
4494 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4495 # We make a subdir and do the tests there. Otherwise we can end up
4496 # making bogus files that we don't know about and never remove. For
4497 # instance it was reported that on HP-UX the gcc test will end up
4498 # making a dummy file named `D' -- because `-MD' means `put the output
4499 # in D'.
4500 mkdir conftest.dir
4501 # Copy depcomp to subdir because otherwise we won't find it if we're
4502 # using a relative directory.
4503 cp "$am_depcomp" conftest.dir
4504 cd conftest.dir
4505 # We will build objects and dependencies in a subdirectory because
4506 # it helps to detect inapplicable dependency modes. For instance
4507 # both Tru64's cc and ICC support -MD to output dependencies as a
4508 # side effect of compilation, but ICC will put the dependencies in
4509 # the current directory while Tru64 will put them in the object
4510 # directory.
4511 mkdir sub
4513 am_cv_CC_dependencies_compiler_type=none
4514 if test "$am_compiler_list" = ""; then
4515 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4517 am__universal=false
4518 case " $depcc " in #(
4519 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4520 esac
4522 for depmode in $am_compiler_list; do
4523 # Setup a source with many dependencies, because some compilers
4524 # like to wrap large dependency lists on column 80 (with \), and
4525 # we should not choose a depcomp mode which is confused by this.
4527 # We need to recreate these files for each test, as the compiler may
4528 # overwrite some of them when testing with obscure command lines.
4529 # This happens at least with the AIX C compiler.
4530 : > sub/conftest.c
4531 for i in 1 2 3 4 5 6; do
4532 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4533 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4534 # Solaris 8's {/usr,}/bin/sh.
4535 touch sub/conftst$i.h
4536 done
4537 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4539 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4540 # mode. It turns out that the SunPro C++ compiler does not properly
4541 # handle `-M -o', and we need to detect this. Also, some Intel
4542 # versions had trouble with output in subdirs
4543 am__obj=sub/conftest.${OBJEXT-o}
4544 am__minus_obj="-o $am__obj"
4545 case $depmode in
4546 gcc)
4547 # This depmode causes a compiler race in universal mode.
4548 test "$am__universal" = false || continue
4550 nosideeffect)
4551 # after this tag, mechanisms are not by side-effect, so they'll
4552 # only be used when explicitly requested
4553 if test "x$enable_dependency_tracking" = xyes; then
4554 continue
4555 else
4556 break
4559 msvisualcpp | msvcmsys)
4560 # This compiler won't grok `-c -o', but also, the minuso test has
4561 # not run yet. These depmodes are late enough in the game, and
4562 # so weak that their functioning should not be impacted.
4563 am__obj=conftest.${OBJEXT-o}
4564 am__minus_obj=
4566 none) break ;;
4567 esac
4568 if depmode=$depmode \
4569 source=sub/conftest.c object=$am__obj \
4570 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4571 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4572 >/dev/null 2>conftest.err &&
4573 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4574 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4575 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4576 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4577 # icc doesn't choke on unknown options, it will just issue warnings
4578 # or remarks (even with -Werror). So we grep stderr for any message
4579 # that says an option was ignored or not supported.
4580 # When given -MP, icc 7.0 and 7.1 complain thusly:
4581 # icc: Command line warning: ignoring option '-M'; no argument required
4582 # The diagnosis changed in icc 8.0:
4583 # icc: Command line remark: option '-MP' not supported
4584 if (grep 'ignoring option' conftest.err ||
4585 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4586 am_cv_CC_dependencies_compiler_type=$depmode
4587 break
4590 done
4592 cd ..
4593 rm -rf conftest.dir
4594 else
4595 am_cv_CC_dependencies_compiler_type=none
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4600 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4601 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4604 test "x$enable_dependency_tracking" != xno \
4605 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4606 am__fastdepCC_TRUE=
4607 am__fastdepCC_FALSE='#'
4608 else
4609 am__fastdepCC_TRUE='#'
4610 am__fastdepCC_FALSE=
4616 case `pwd` in
4617 *\ * | *\ *)
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4619 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4620 esac
4624 macro_version='2.4'
4625 macro_revision='1.3293'
4639 ltmain="$ac_aux_dir/ltmain.sh"
4641 # Backslashify metacharacters that are still active within
4642 # double-quoted strings.
4643 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4645 # Same as above, but do not quote variable references.
4646 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4648 # Sed substitution to delay expansion of an escaped shell variable in a
4649 # double_quote_subst'ed string.
4650 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4652 # Sed substitution to delay expansion of an escaped single quote.
4653 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4655 # Sed substitution to avoid accidental globbing in evaled expressions
4656 no_glob_subst='s/\*/\\\*/g'
4658 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4659 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4660 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4663 $as_echo_n "checking how to print strings... " >&6; }
4664 # Test print first, because it will be a builtin if present.
4665 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4666 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4667 ECHO='print -r --'
4668 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4669 ECHO='printf %s\n'
4670 else
4671 # Use this function as a fallback that always works.
4672 func_fallback_echo ()
4674 eval 'cat <<_LTECHO_EOF
4676 _LTECHO_EOF'
4678 ECHO='func_fallback_echo'
4681 # func_echo_all arg...
4682 # Invoke $ECHO with all args, space-separated.
4683 func_echo_all ()
4685 $ECHO ""
4688 case "$ECHO" in
4689 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4690 $as_echo "printf" >&6; } ;;
4691 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4692 $as_echo "print -r" >&6; } ;;
4693 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4694 $as_echo "cat" >&6; } ;;
4695 esac
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4711 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4712 if ${ac_cv_path_SED+:} false; then :
4713 $as_echo_n "(cached) " >&6
4714 else
4715 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4716 for ac_i in 1 2 3 4 5 6 7; do
4717 ac_script="$ac_script$as_nl$ac_script"
4718 done
4719 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4720 { ac_script=; unset ac_script;}
4721 if test -z "$SED"; then
4722 ac_path_SED_found=false
4723 # Loop through the user's path and test for each of PROGNAME-LIST
4724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4725 for as_dir in $PATH
4727 IFS=$as_save_IFS
4728 test -z "$as_dir" && as_dir=.
4729 for ac_prog in sed gsed; do
4730 for ac_exec_ext in '' $ac_executable_extensions; do
4731 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4732 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4733 # Check for GNU ac_path_SED and select it if it is found.
4734 # Check for GNU $ac_path_SED
4735 case `"$ac_path_SED" --version 2>&1` in
4736 *GNU*)
4737 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4739 ac_count=0
4740 $as_echo_n 0123456789 >"conftest.in"
4741 while :
4743 cat "conftest.in" "conftest.in" >"conftest.tmp"
4744 mv "conftest.tmp" "conftest.in"
4745 cp "conftest.in" "conftest.nl"
4746 $as_echo '' >> "conftest.nl"
4747 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4748 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4749 as_fn_arith $ac_count + 1 && ac_count=$as_val
4750 if test $ac_count -gt ${ac_path_SED_max-0}; then
4751 # Best one so far, save it but keep looking for a better one
4752 ac_cv_path_SED="$ac_path_SED"
4753 ac_path_SED_max=$ac_count
4755 # 10*(2^10) chars as input seems more than enough
4756 test $ac_count -gt 10 && break
4757 done
4758 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4759 esac
4761 $ac_path_SED_found && break 3
4762 done
4763 done
4764 done
4765 IFS=$as_save_IFS
4766 if test -z "$ac_cv_path_SED"; then
4767 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4769 else
4770 ac_cv_path_SED=$SED
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4775 $as_echo "$ac_cv_path_SED" >&6; }
4776 SED="$ac_cv_path_SED"
4777 rm -f conftest.sed
4779 test -z "$SED" && SED=sed
4780 Xsed="$SED -e 1s/^X//"
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4793 $as_echo_n "checking for fgrep... " >&6; }
4794 if ${ac_cv_path_FGREP+:} false; then :
4795 $as_echo_n "(cached) " >&6
4796 else
4797 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4798 then ac_cv_path_FGREP="$GREP -F"
4799 else
4800 if test -z "$FGREP"; then
4801 ac_path_FGREP_found=false
4802 # Loop through the user's path and test for each of PROGNAME-LIST
4803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4804 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4806 IFS=$as_save_IFS
4807 test -z "$as_dir" && as_dir=.
4808 for ac_prog in fgrep; do
4809 for ac_exec_ext in '' $ac_executable_extensions; do
4810 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4811 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4812 # Check for GNU ac_path_FGREP and select it if it is found.
4813 # Check for GNU $ac_path_FGREP
4814 case `"$ac_path_FGREP" --version 2>&1` in
4815 *GNU*)
4816 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4818 ac_count=0
4819 $as_echo_n 0123456789 >"conftest.in"
4820 while :
4822 cat "conftest.in" "conftest.in" >"conftest.tmp"
4823 mv "conftest.tmp" "conftest.in"
4824 cp "conftest.in" "conftest.nl"
4825 $as_echo 'FGREP' >> "conftest.nl"
4826 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4827 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4828 as_fn_arith $ac_count + 1 && ac_count=$as_val
4829 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4830 # Best one so far, save it but keep looking for a better one
4831 ac_cv_path_FGREP="$ac_path_FGREP"
4832 ac_path_FGREP_max=$ac_count
4834 # 10*(2^10) chars as input seems more than enough
4835 test $ac_count -gt 10 && break
4836 done
4837 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4838 esac
4840 $ac_path_FGREP_found && break 3
4841 done
4842 done
4843 done
4844 IFS=$as_save_IFS
4845 if test -z "$ac_cv_path_FGREP"; then
4846 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4848 else
4849 ac_cv_path_FGREP=$FGREP
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4855 $as_echo "$ac_cv_path_FGREP" >&6; }
4856 FGREP="$ac_cv_path_FGREP"
4859 test -z "$GREP" && GREP=grep
4879 # Check whether --with-gnu-ld was given.
4880 if test "${with_gnu_ld+set}" = set; then :
4881 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4882 else
4883 with_gnu_ld=no
4886 ac_prog=ld
4887 if test "$GCC" = yes; then
4888 # Check if gcc -print-prog-name=ld gives a path.
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4890 $as_echo_n "checking for ld used by $CC... " >&6; }
4891 case $host in
4892 *-*-mingw*)
4893 # gcc leaves a trailing carriage return which upsets mingw
4894 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4896 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4897 esac
4898 case $ac_prog in
4899 # Accept absolute paths.
4900 [\\/]* | ?:[\\/]*)
4901 re_direlt='/[^/][^/]*/\.\./'
4902 # Canonicalize the pathname of ld
4903 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4904 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4905 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4906 done
4907 test -z "$LD" && LD="$ac_prog"
4910 # If it fails, then pretend we aren't using GCC.
4911 ac_prog=ld
4914 # If it is relative, then search for the first ld in PATH.
4915 with_gnu_ld=unknown
4917 esac
4918 elif test "$with_gnu_ld" = yes; then
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4920 $as_echo_n "checking for GNU ld... " >&6; }
4921 else
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4923 $as_echo_n "checking for non-GNU ld... " >&6; }
4925 if ${lt_cv_path_LD+:} false; then :
4926 $as_echo_n "(cached) " >&6
4927 else
4928 if test -z "$LD"; then
4929 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4930 for ac_dir in $PATH; do
4931 IFS="$lt_save_ifs"
4932 test -z "$ac_dir" && ac_dir=.
4933 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4934 lt_cv_path_LD="$ac_dir/$ac_prog"
4935 # Check to see if the program is GNU ld. I'd rather use --version,
4936 # but apparently some variants of GNU ld only accept -v.
4937 # Break only if it was the GNU/non-GNU ld that we prefer.
4938 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4939 *GNU* | *'with BFD'*)
4940 test "$with_gnu_ld" != no && break
4943 test "$with_gnu_ld" != yes && break
4945 esac
4947 done
4948 IFS="$lt_save_ifs"
4949 else
4950 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4954 LD="$lt_cv_path_LD"
4955 if test -n "$LD"; then
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4957 $as_echo "$LD" >&6; }
4958 else
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4960 $as_echo "no" >&6; }
4962 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4964 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4965 if ${lt_cv_prog_gnu_ld+:} false; then :
4966 $as_echo_n "(cached) " >&6
4967 else
4968 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4969 case `$LD -v 2>&1 </dev/null` in
4970 *GNU* | *'with BFD'*)
4971 lt_cv_prog_gnu_ld=yes
4974 lt_cv_prog_gnu_ld=no
4976 esac
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4979 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4980 with_gnu_ld=$lt_cv_prog_gnu_ld
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4991 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4992 if ${lt_cv_path_NM+:} false; then :
4993 $as_echo_n "(cached) " >&6
4994 else
4995 if test -n "$NM"; then
4996 # Let the user override the test.
4997 lt_cv_path_NM="$NM"
4998 else
4999 lt_nm_to_check="${ac_tool_prefix}nm"
5000 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5001 lt_nm_to_check="$lt_nm_to_check nm"
5003 for lt_tmp_nm in $lt_nm_to_check; do
5004 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5005 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5006 IFS="$lt_save_ifs"
5007 test -z "$ac_dir" && ac_dir=.
5008 tmp_nm="$ac_dir/$lt_tmp_nm"
5009 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5010 # Check to see if the nm accepts a BSD-compat flag.
5011 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5012 # nm: unknown option "B" ignored
5013 # Tru64's nm complains that /dev/null is an invalid object file
5014 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5015 */dev/null* | *'Invalid file or object type'*)
5016 lt_cv_path_NM="$tmp_nm -B"
5017 break
5020 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5021 */dev/null*)
5022 lt_cv_path_NM="$tmp_nm -p"
5023 break
5026 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5027 continue # so that we can try to find one that supports BSD flags
5029 esac
5031 esac
5033 done
5034 IFS="$lt_save_ifs"
5035 done
5036 : ${lt_cv_path_NM=no}
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5040 $as_echo "$lt_cv_path_NM" >&6; }
5041 if test "$lt_cv_path_NM" != "no"; then
5042 NM="$lt_cv_path_NM"
5043 else
5044 # Didn't find any BSD compatible name lister, look for dumpbin.
5045 if test -n "$DUMPBIN"; then :
5046 # Let the user override the test.
5047 else
5048 if test -n "$ac_tool_prefix"; then
5049 for ac_prog in dumpbin "link -dump"
5051 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5052 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5054 $as_echo_n "checking for $ac_word... " >&6; }
5055 if ${ac_cv_prog_DUMPBIN+:} false; then :
5056 $as_echo_n "(cached) " >&6
5057 else
5058 if test -n "$DUMPBIN"; then
5059 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5060 else
5061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5062 for as_dir in $PATH
5064 IFS=$as_save_IFS
5065 test -z "$as_dir" && as_dir=.
5066 for ac_exec_ext in '' $ac_executable_extensions; do
5067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5068 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5070 break 2
5072 done
5073 done
5074 IFS=$as_save_IFS
5078 DUMPBIN=$ac_cv_prog_DUMPBIN
5079 if test -n "$DUMPBIN"; then
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5081 $as_echo "$DUMPBIN" >&6; }
5082 else
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5084 $as_echo "no" >&6; }
5088 test -n "$DUMPBIN" && break
5089 done
5091 if test -z "$DUMPBIN"; then
5092 ac_ct_DUMPBIN=$DUMPBIN
5093 for ac_prog in dumpbin "link -dump"
5095 # Extract the first word of "$ac_prog", so it can be a program name with args.
5096 set dummy $ac_prog; ac_word=$2
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5098 $as_echo_n "checking for $ac_word... " >&6; }
5099 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5100 $as_echo_n "(cached) " >&6
5101 else
5102 if test -n "$ac_ct_DUMPBIN"; then
5103 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5104 else
5105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5106 for as_dir in $PATH
5108 IFS=$as_save_IFS
5109 test -z "$as_dir" && as_dir=.
5110 for ac_exec_ext in '' $ac_executable_extensions; do
5111 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5112 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5114 break 2
5116 done
5117 done
5118 IFS=$as_save_IFS
5122 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5123 if test -n "$ac_ct_DUMPBIN"; then
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5125 $as_echo "$ac_ct_DUMPBIN" >&6; }
5126 else
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5128 $as_echo "no" >&6; }
5132 test -n "$ac_ct_DUMPBIN" && break
5133 done
5135 if test "x$ac_ct_DUMPBIN" = x; then
5136 DUMPBIN=":"
5137 else
5138 case $cross_compiling:$ac_tool_warned in
5139 yes:)
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5141 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5142 ac_tool_warned=yes ;;
5143 esac
5144 DUMPBIN=$ac_ct_DUMPBIN
5148 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5149 *COFF*)
5150 DUMPBIN="$DUMPBIN -symbols"
5153 DUMPBIN=:
5155 esac
5158 if test "$DUMPBIN" != ":"; then
5159 NM="$DUMPBIN"
5162 test -z "$NM" && NM=nm
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5170 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5171 if ${lt_cv_nm_interface+:} false; then :
5172 $as_echo_n "(cached) " >&6
5173 else
5174 lt_cv_nm_interface="BSD nm"
5175 echo "int some_variable = 0;" > conftest.$ac_ext
5176 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5177 (eval "$ac_compile" 2>conftest.err)
5178 cat conftest.err >&5
5179 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5180 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5181 cat conftest.err >&5
5182 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5183 cat conftest.out >&5
5184 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5185 lt_cv_nm_interface="MS dumpbin"
5187 rm -f conftest*
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5190 $as_echo "$lt_cv_nm_interface" >&6; }
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5193 $as_echo_n "checking whether ln -s works... " >&6; }
5194 LN_S=$as_ln_s
5195 if test "$LN_S" = "ln -s"; then
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5197 $as_echo "yes" >&6; }
5198 else
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5200 $as_echo "no, using $LN_S" >&6; }
5203 # find the maximum length of command line arguments
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5205 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5206 if ${lt_cv_sys_max_cmd_len+:} false; then :
5207 $as_echo_n "(cached) " >&6
5208 else
5210 teststring="ABCD"
5212 case $build_os in
5213 msdosdjgpp*)
5214 # On DJGPP, this test can blow up pretty badly due to problems in libc
5215 # (any single argument exceeding 2000 bytes causes a buffer overrun
5216 # during glob expansion). Even if it were fixed, the result of this
5217 # check would be larger than it should be.
5218 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5221 gnu*)
5222 # Under GNU Hurd, this test is not required because there is
5223 # no limit to the length of command line arguments.
5224 # Libtool will interpret -1 as no limit whatsoever
5225 lt_cv_sys_max_cmd_len=-1;
5228 cygwin* | mingw* | cegcc*)
5229 # On Win9x/ME, this test blows up -- it succeeds, but takes
5230 # about 5 minutes as the teststring grows exponentially.
5231 # Worse, since 9x/ME are not pre-emptively multitasking,
5232 # you end up with a "frozen" computer, even though with patience
5233 # the test eventually succeeds (with a max line length of 256k).
5234 # Instead, let's just punt: use the minimum linelength reported by
5235 # all of the supported platforms: 8192 (on NT/2K/XP).
5236 lt_cv_sys_max_cmd_len=8192;
5239 mint*)
5240 # On MiNT this can take a long time and run out of memory.
5241 lt_cv_sys_max_cmd_len=8192;
5244 amigaos*)
5245 # On AmigaOS with pdksh, this test takes hours, literally.
5246 # So we just punt and use a minimum line length of 8192.
5247 lt_cv_sys_max_cmd_len=8192;
5250 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5251 # This has been around since 386BSD, at least. Likely further.
5252 if test -x /sbin/sysctl; then
5253 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5254 elif test -x /usr/sbin/sysctl; then
5255 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5256 else
5257 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5259 # And add a safety zone
5260 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5261 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5264 interix*)
5265 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5266 lt_cv_sys_max_cmd_len=196608
5269 osf*)
5270 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5271 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5272 # nice to cause kernel panics so lets avoid the loop below.
5273 # First set a reasonable default.
5274 lt_cv_sys_max_cmd_len=16384
5276 if test -x /sbin/sysconfig; then
5277 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5278 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5279 esac
5282 sco3.2v5*)
5283 lt_cv_sys_max_cmd_len=102400
5285 sysv5* | sco5v6* | sysv4.2uw2*)
5286 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5287 if test -n "$kargmax"; then
5288 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5289 else
5290 lt_cv_sys_max_cmd_len=32768
5294 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5295 if test -n "$lt_cv_sys_max_cmd_len"; then
5296 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5297 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5298 else
5299 # Make teststring a little bigger before we do anything with it.
5300 # a 1K string should be a reasonable start.
5301 for i in 1 2 3 4 5 6 7 8 ; do
5302 teststring=$teststring$teststring
5303 done
5304 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5305 # If test is not a shell built-in, we'll probably end up computing a
5306 # maximum length that is only half of the actual maximum length, but
5307 # we can't tell.
5308 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5309 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5310 test $i != 17 # 1/2 MB should be enough
5312 i=`expr $i + 1`
5313 teststring=$teststring$teststring
5314 done
5315 # Only check the string length outside the loop.
5316 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5317 teststring=
5318 # Add a significant safety factor because C++ compilers can tack on
5319 # massive amounts of additional arguments before passing them to the
5320 # linker. It appears as though 1/2 is a usable value.
5321 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5324 esac
5328 if test -n $lt_cv_sys_max_cmd_len ; then
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5330 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5331 else
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5333 $as_echo "none" >&6; }
5335 max_cmd_len=$lt_cv_sys_max_cmd_len
5342 : ${CP="cp -f"}
5343 : ${MV="mv -f"}
5344 : ${RM="rm -f"}
5346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5347 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5348 # Try some XSI features
5349 xsi_shell=no
5350 ( _lt_dummy="a/b/c"
5351 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5352 = c,a/b,b/c, \
5353 && eval 'test $(( 1 + 1 )) -eq 2 \
5354 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5355 && xsi_shell=yes
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5357 $as_echo "$xsi_shell" >&6; }
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5361 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5362 lt_shell_append=no
5363 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5364 >/dev/null 2>&1 \
5365 && lt_shell_append=yes
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5367 $as_echo "$lt_shell_append" >&6; }
5370 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5371 lt_unset=unset
5372 else
5373 lt_unset=false
5380 # test EBCDIC or ASCII
5381 case `echo X|tr X '\101'` in
5382 A) # ASCII based system
5383 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5384 lt_SP2NL='tr \040 \012'
5385 lt_NL2SP='tr \015\012 \040\040'
5387 *) # EBCDIC based system
5388 lt_SP2NL='tr \100 \n'
5389 lt_NL2SP='tr \r\n \100\100'
5391 esac
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5402 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5403 if ${lt_cv_to_host_file_cmd+:} false; then :
5404 $as_echo_n "(cached) " >&6
5405 else
5406 case $host in
5407 *-*-mingw* )
5408 case $build in
5409 *-*-mingw* ) # actually msys
5410 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5412 *-*-cygwin* )
5413 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5415 * ) # otherwise, assume *nix
5416 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5418 esac
5420 *-*-cygwin* )
5421 case $build in
5422 *-*-mingw* ) # actually msys
5423 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5425 *-*-cygwin* )
5426 lt_cv_to_host_file_cmd=func_convert_file_noop
5428 * ) # otherwise, assume *nix
5429 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5431 esac
5433 * ) # unhandled hosts (and "normal" native builds)
5434 lt_cv_to_host_file_cmd=func_convert_file_noop
5436 esac
5440 to_host_file_cmd=$lt_cv_to_host_file_cmd
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5442 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5449 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5450 if ${lt_cv_to_tool_file_cmd+:} false; then :
5451 $as_echo_n "(cached) " >&6
5452 else
5453 #assume ordinary cross tools, or native build.
5454 lt_cv_to_tool_file_cmd=func_convert_file_noop
5455 case $host in
5456 *-*-mingw* )
5457 case $build in
5458 *-*-mingw* ) # actually msys
5459 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5461 esac
5463 esac
5467 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5469 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5476 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5477 if ${lt_cv_ld_reload_flag+:} false; then :
5478 $as_echo_n "(cached) " >&6
5479 else
5480 lt_cv_ld_reload_flag='-r'
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5483 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5484 reload_flag=$lt_cv_ld_reload_flag
5485 case $reload_flag in
5486 "" | " "*) ;;
5487 *) reload_flag=" $reload_flag" ;;
5488 esac
5489 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5490 case $host_os in
5491 cygwin* | mingw* | pw32* | cegcc*)
5492 if test "$GCC" != yes; then
5493 reload_cmds=false
5496 darwin*)
5497 if test "$GCC" = yes; then
5498 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5499 else
5500 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5503 esac
5513 if test -n "$ac_tool_prefix"; then
5514 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5515 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5517 $as_echo_n "checking for $ac_word... " >&6; }
5518 if ${ac_cv_prog_OBJDUMP+:} false; then :
5519 $as_echo_n "(cached) " >&6
5520 else
5521 if test -n "$OBJDUMP"; then
5522 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5523 else
5524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5525 for as_dir in $PATH
5527 IFS=$as_save_IFS
5528 test -z "$as_dir" && as_dir=.
5529 for ac_exec_ext in '' $ac_executable_extensions; do
5530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5531 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5533 break 2
5535 done
5536 done
5537 IFS=$as_save_IFS
5541 OBJDUMP=$ac_cv_prog_OBJDUMP
5542 if test -n "$OBJDUMP"; then
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5544 $as_echo "$OBJDUMP" >&6; }
5545 else
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5547 $as_echo "no" >&6; }
5552 if test -z "$ac_cv_prog_OBJDUMP"; then
5553 ac_ct_OBJDUMP=$OBJDUMP
5554 # Extract the first word of "objdump", so it can be a program name with args.
5555 set dummy objdump; ac_word=$2
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5557 $as_echo_n "checking for $ac_word... " >&6; }
5558 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5559 $as_echo_n "(cached) " >&6
5560 else
5561 if test -n "$ac_ct_OBJDUMP"; then
5562 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5563 else
5564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5565 for as_dir in $PATH
5567 IFS=$as_save_IFS
5568 test -z "$as_dir" && as_dir=.
5569 for ac_exec_ext in '' $ac_executable_extensions; do
5570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5571 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5573 break 2
5575 done
5576 done
5577 IFS=$as_save_IFS
5581 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5582 if test -n "$ac_ct_OBJDUMP"; then
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5584 $as_echo "$ac_ct_OBJDUMP" >&6; }
5585 else
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5587 $as_echo "no" >&6; }
5590 if test "x$ac_ct_OBJDUMP" = x; then
5591 OBJDUMP="false"
5592 else
5593 case $cross_compiling:$ac_tool_warned in
5594 yes:)
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5596 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5597 ac_tool_warned=yes ;;
5598 esac
5599 OBJDUMP=$ac_ct_OBJDUMP
5601 else
5602 OBJDUMP="$ac_cv_prog_OBJDUMP"
5605 test -z "$OBJDUMP" && OBJDUMP=objdump
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5616 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5617 if ${lt_cv_deplibs_check_method+:} false; then :
5618 $as_echo_n "(cached) " >&6
5619 else
5620 lt_cv_file_magic_cmd='$MAGIC_CMD'
5621 lt_cv_file_magic_test_file=
5622 lt_cv_deplibs_check_method='unknown'
5623 # Need to set the preceding variable on all platforms that support
5624 # interlibrary dependencies.
5625 # 'none' -- dependencies not supported.
5626 # `unknown' -- same as none, but documents that we really don't know.
5627 # 'pass_all' -- all dependencies passed with no checks.
5628 # 'test_compile' -- check by making test program.
5629 # 'file_magic [[regex]]' -- check by looking for files in library path
5630 # which responds to the $file_magic_cmd with a given extended regex.
5631 # If you have `file' or equivalent on your system and you're not sure
5632 # whether `pass_all' will *always* work, you probably want this one.
5634 case $host_os in
5635 aix[4-9]*)
5636 lt_cv_deplibs_check_method=pass_all
5639 beos*)
5640 lt_cv_deplibs_check_method=pass_all
5643 bsdi[45]*)
5644 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5645 lt_cv_file_magic_cmd='/usr/bin/file -L'
5646 lt_cv_file_magic_test_file=/shlib/libc.so
5649 cygwin*)
5650 # func_win32_libid is a shell function defined in ltmain.sh
5651 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5652 lt_cv_file_magic_cmd='func_win32_libid'
5655 mingw* | pw32*)
5656 # Base MSYS/MinGW do not provide the 'file' command needed by
5657 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5658 # unless we find 'file', for example because we are cross-compiling.
5659 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5660 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5661 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5662 lt_cv_file_magic_cmd='func_win32_libid'
5663 else
5664 # Keep this pattern in sync with the one in func_win32_libid.
5665 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5666 lt_cv_file_magic_cmd='$OBJDUMP -f'
5670 cegcc*)
5671 # use the weaker test based on 'objdump'. See mingw*.
5672 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5673 lt_cv_file_magic_cmd='$OBJDUMP -f'
5676 darwin* | rhapsody*)
5677 lt_cv_deplibs_check_method=pass_all
5680 freebsd* | dragonfly*)
5681 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5682 case $host_cpu in
5683 i*86 )
5684 # Not sure whether the presence of OpenBSD here was a mistake.
5685 # Let's accept both of them until this is cleared up.
5686 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5687 lt_cv_file_magic_cmd=/usr/bin/file
5688 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5690 esac
5691 else
5692 lt_cv_deplibs_check_method=pass_all
5696 gnu*)
5697 lt_cv_deplibs_check_method=pass_all
5700 haiku*)
5701 lt_cv_deplibs_check_method=pass_all
5704 hpux10.20* | hpux11*)
5705 lt_cv_file_magic_cmd=/usr/bin/file
5706 case $host_cpu in
5707 ia64*)
5708 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5709 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5711 hppa*64*)
5712 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]'
5713 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5716 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5717 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5719 esac
5722 interix[3-9]*)
5723 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5724 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5727 irix5* | irix6* | nonstopux*)
5728 case $LD in
5729 *-32|*"-32 ") libmagic=32-bit;;
5730 *-n32|*"-n32 ") libmagic=N32;;
5731 *-64|*"-64 ") libmagic=64-bit;;
5732 *) libmagic=never-match;;
5733 esac
5734 lt_cv_deplibs_check_method=pass_all
5737 # This must be Linux ELF.
5738 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5739 lt_cv_deplibs_check_method=pass_all
5742 netbsd*)
5743 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5744 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5745 else
5746 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5750 newos6*)
5751 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5752 lt_cv_file_magic_cmd=/usr/bin/file
5753 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5756 *nto* | *qnx*)
5757 lt_cv_deplibs_check_method=pass_all
5760 openbsd*)
5761 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5762 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5763 else
5764 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5768 osf3* | osf4* | osf5*)
5769 lt_cv_deplibs_check_method=pass_all
5772 rdos*)
5773 lt_cv_deplibs_check_method=pass_all
5776 solaris*)
5777 lt_cv_deplibs_check_method=pass_all
5780 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5781 lt_cv_deplibs_check_method=pass_all
5784 sysv4 | sysv4.3*)
5785 case $host_vendor in
5786 motorola)
5787 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]'
5788 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5790 ncr)
5791 lt_cv_deplibs_check_method=pass_all
5793 sequent)
5794 lt_cv_file_magic_cmd='/bin/file'
5795 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5797 sni)
5798 lt_cv_file_magic_cmd='/bin/file'
5799 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5800 lt_cv_file_magic_test_file=/lib/libc.so
5802 siemens)
5803 lt_cv_deplibs_check_method=pass_all
5806 lt_cv_deplibs_check_method=pass_all
5808 esac
5811 tpf*)
5812 lt_cv_deplibs_check_method=pass_all
5814 esac
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5818 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5820 file_magic_glob=
5821 want_nocaseglob=no
5822 if test "$build" = "$host"; then
5823 case $host_os in
5824 mingw* | pw32*)
5825 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5826 want_nocaseglob=yes
5827 else
5828 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5831 esac
5834 file_magic_cmd=$lt_cv_file_magic_cmd
5835 deplibs_check_method=$lt_cv_deplibs_check_method
5836 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5859 if test -n "$ac_tool_prefix"; then
5860 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5861 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5863 $as_echo_n "checking for $ac_word... " >&6; }
5864 if ${ac_cv_prog_DLLTOOL+:} false; then :
5865 $as_echo_n "(cached) " >&6
5866 else
5867 if test -n "$DLLTOOL"; then
5868 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5869 else
5870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5871 for as_dir in $PATH
5873 IFS=$as_save_IFS
5874 test -z "$as_dir" && as_dir=.
5875 for ac_exec_ext in '' $ac_executable_extensions; do
5876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5877 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5879 break 2
5881 done
5882 done
5883 IFS=$as_save_IFS
5887 DLLTOOL=$ac_cv_prog_DLLTOOL
5888 if test -n "$DLLTOOL"; then
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5890 $as_echo "$DLLTOOL" >&6; }
5891 else
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5893 $as_echo "no" >&6; }
5898 if test -z "$ac_cv_prog_DLLTOOL"; then
5899 ac_ct_DLLTOOL=$DLLTOOL
5900 # Extract the first word of "dlltool", so it can be a program name with args.
5901 set dummy dlltool; ac_word=$2
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5903 $as_echo_n "checking for $ac_word... " >&6; }
5904 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5905 $as_echo_n "(cached) " >&6
5906 else
5907 if test -n "$ac_ct_DLLTOOL"; then
5908 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5909 else
5910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5911 for as_dir in $PATH
5913 IFS=$as_save_IFS
5914 test -z "$as_dir" && as_dir=.
5915 for ac_exec_ext in '' $ac_executable_extensions; do
5916 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5917 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5919 break 2
5921 done
5922 done
5923 IFS=$as_save_IFS
5927 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5928 if test -n "$ac_ct_DLLTOOL"; then
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5930 $as_echo "$ac_ct_DLLTOOL" >&6; }
5931 else
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5933 $as_echo "no" >&6; }
5936 if test "x$ac_ct_DLLTOOL" = x; then
5937 DLLTOOL="false"
5938 else
5939 case $cross_compiling:$ac_tool_warned in
5940 yes:)
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5942 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5943 ac_tool_warned=yes ;;
5944 esac
5945 DLLTOOL=$ac_ct_DLLTOOL
5947 else
5948 DLLTOOL="$ac_cv_prog_DLLTOOL"
5951 test -z "$DLLTOOL" && DLLTOOL=dlltool
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5963 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5964 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5965 $as_echo_n "(cached) " >&6
5966 else
5967 lt_cv_sharedlib_from_linklib_cmd='unknown'
5969 case $host_os in
5970 cygwin* | mingw* | pw32* | cegcc*)
5971 # two different shell functions defined in ltmain.sh
5972 # decide which to use based on capabilities of $DLLTOOL
5973 case `$DLLTOOL --help 2>&1` in
5974 *--identify-strict*)
5975 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5978 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5980 esac
5983 # fallback: assume linklib IS sharedlib
5984 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5986 esac
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5990 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5991 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5992 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6000 if test -n "$ac_tool_prefix"; then
6001 for ac_prog in ar
6003 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6004 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6006 $as_echo_n "checking for $ac_word... " >&6; }
6007 if ${ac_cv_prog_AR+:} false; then :
6008 $as_echo_n "(cached) " >&6
6009 else
6010 if test -n "$AR"; then
6011 ac_cv_prog_AR="$AR" # Let the user override the test.
6012 else
6013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6014 for as_dir in $PATH
6016 IFS=$as_save_IFS
6017 test -z "$as_dir" && as_dir=.
6018 for ac_exec_ext in '' $ac_executable_extensions; do
6019 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6020 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6022 break 2
6024 done
6025 done
6026 IFS=$as_save_IFS
6030 AR=$ac_cv_prog_AR
6031 if test -n "$AR"; then
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6033 $as_echo "$AR" >&6; }
6034 else
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6036 $as_echo "no" >&6; }
6040 test -n "$AR" && break
6041 done
6043 if test -z "$AR"; then
6044 ac_ct_AR=$AR
6045 for ac_prog in ar
6047 # Extract the first word of "$ac_prog", so it can be a program name with args.
6048 set dummy $ac_prog; ac_word=$2
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6050 $as_echo_n "checking for $ac_word... " >&6; }
6051 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6052 $as_echo_n "(cached) " >&6
6053 else
6054 if test -n "$ac_ct_AR"; then
6055 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6056 else
6057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6058 for as_dir in $PATH
6060 IFS=$as_save_IFS
6061 test -z "$as_dir" && as_dir=.
6062 for ac_exec_ext in '' $ac_executable_extensions; do
6063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6064 ac_cv_prog_ac_ct_AR="$ac_prog"
6065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6066 break 2
6068 done
6069 done
6070 IFS=$as_save_IFS
6074 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6075 if test -n "$ac_ct_AR"; then
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6077 $as_echo "$ac_ct_AR" >&6; }
6078 else
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6080 $as_echo "no" >&6; }
6084 test -n "$ac_ct_AR" && break
6085 done
6087 if test "x$ac_ct_AR" = x; then
6088 AR="false"
6089 else
6090 case $cross_compiling:$ac_tool_warned in
6091 yes:)
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6093 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6094 ac_tool_warned=yes ;;
6095 esac
6096 AR=$ac_ct_AR
6100 : ${AR=ar}
6101 : ${AR_FLAGS=cru}
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6114 $as_echo_n "checking for archiver @FILE support... " >&6; }
6115 if ${lt_cv_ar_at_file+:} false; then :
6116 $as_echo_n "(cached) " >&6
6117 else
6118 lt_cv_ar_at_file=no
6119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6120 /* end confdefs.h. */
6123 main ()
6127 return 0;
6129 _ACEOF
6130 if ac_fn_c_try_compile "$LINENO"; then :
6131 echo conftest.$ac_objext > conftest.lst
6132 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6133 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6134 (eval $lt_ar_try) 2>&5
6135 ac_status=$?
6136 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6137 test $ac_status = 0; }
6138 if test "$ac_status" -eq 0; then
6139 # Ensure the archiver fails upon bogus file names.
6140 rm -f conftest.$ac_objext libconftest.a
6141 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6142 (eval $lt_ar_try) 2>&5
6143 ac_status=$?
6144 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6145 test $ac_status = 0; }
6146 if test "$ac_status" -ne 0; then
6147 lt_cv_ar_at_file=@
6150 rm -f conftest.* libconftest.a
6153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6157 $as_echo "$lt_cv_ar_at_file" >&6; }
6159 if test "x$lt_cv_ar_at_file" = xno; then
6160 archiver_list_spec=
6161 else
6162 archiver_list_spec=$lt_cv_ar_at_file
6171 if test -n "$ac_tool_prefix"; then
6172 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6173 set dummy ${ac_tool_prefix}strip; ac_word=$2
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6175 $as_echo_n "checking for $ac_word... " >&6; }
6176 if ${ac_cv_prog_STRIP+:} false; then :
6177 $as_echo_n "(cached) " >&6
6178 else
6179 if test -n "$STRIP"; then
6180 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6181 else
6182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6183 for as_dir in $PATH
6185 IFS=$as_save_IFS
6186 test -z "$as_dir" && as_dir=.
6187 for ac_exec_ext in '' $ac_executable_extensions; do
6188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6189 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6191 break 2
6193 done
6194 done
6195 IFS=$as_save_IFS
6199 STRIP=$ac_cv_prog_STRIP
6200 if test -n "$STRIP"; then
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6202 $as_echo "$STRIP" >&6; }
6203 else
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6205 $as_echo "no" >&6; }
6210 if test -z "$ac_cv_prog_STRIP"; then
6211 ac_ct_STRIP=$STRIP
6212 # Extract the first word of "strip", so it can be a program name with args.
6213 set dummy strip; ac_word=$2
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6215 $as_echo_n "checking for $ac_word... " >&6; }
6216 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6217 $as_echo_n "(cached) " >&6
6218 else
6219 if test -n "$ac_ct_STRIP"; then
6220 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6221 else
6222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6223 for as_dir in $PATH
6225 IFS=$as_save_IFS
6226 test -z "$as_dir" && as_dir=.
6227 for ac_exec_ext in '' $ac_executable_extensions; do
6228 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6229 ac_cv_prog_ac_ct_STRIP="strip"
6230 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6231 break 2
6233 done
6234 done
6235 IFS=$as_save_IFS
6239 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6240 if test -n "$ac_ct_STRIP"; then
6241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6242 $as_echo "$ac_ct_STRIP" >&6; }
6243 else
6244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6245 $as_echo "no" >&6; }
6248 if test "x$ac_ct_STRIP" = x; then
6249 STRIP=":"
6250 else
6251 case $cross_compiling:$ac_tool_warned in
6252 yes:)
6253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6254 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6255 ac_tool_warned=yes ;;
6256 esac
6257 STRIP=$ac_ct_STRIP
6259 else
6260 STRIP="$ac_cv_prog_STRIP"
6263 test -z "$STRIP" && STRIP=:
6270 if test -n "$ac_tool_prefix"; then
6271 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6272 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6274 $as_echo_n "checking for $ac_word... " >&6; }
6275 if ${ac_cv_prog_RANLIB+:} false; then :
6276 $as_echo_n "(cached) " >&6
6277 else
6278 if test -n "$RANLIB"; then
6279 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6280 else
6281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6282 for as_dir in $PATH
6284 IFS=$as_save_IFS
6285 test -z "$as_dir" && as_dir=.
6286 for ac_exec_ext in '' $ac_executable_extensions; do
6287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6288 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6290 break 2
6292 done
6293 done
6294 IFS=$as_save_IFS
6298 RANLIB=$ac_cv_prog_RANLIB
6299 if test -n "$RANLIB"; then
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6301 $as_echo "$RANLIB" >&6; }
6302 else
6303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6304 $as_echo "no" >&6; }
6309 if test -z "$ac_cv_prog_RANLIB"; then
6310 ac_ct_RANLIB=$RANLIB
6311 # Extract the first word of "ranlib", so it can be a program name with args.
6312 set dummy ranlib; ac_word=$2
6313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6314 $as_echo_n "checking for $ac_word... " >&6; }
6315 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6316 $as_echo_n "(cached) " >&6
6317 else
6318 if test -n "$ac_ct_RANLIB"; then
6319 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6320 else
6321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6322 for as_dir in $PATH
6324 IFS=$as_save_IFS
6325 test -z "$as_dir" && as_dir=.
6326 for ac_exec_ext in '' $ac_executable_extensions; do
6327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6328 ac_cv_prog_ac_ct_RANLIB="ranlib"
6329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6330 break 2
6332 done
6333 done
6334 IFS=$as_save_IFS
6338 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6339 if test -n "$ac_ct_RANLIB"; then
6340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6341 $as_echo "$ac_ct_RANLIB" >&6; }
6342 else
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6344 $as_echo "no" >&6; }
6347 if test "x$ac_ct_RANLIB" = x; then
6348 RANLIB=":"
6349 else
6350 case $cross_compiling:$ac_tool_warned in
6351 yes:)
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6353 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6354 ac_tool_warned=yes ;;
6355 esac
6356 RANLIB=$ac_ct_RANLIB
6358 else
6359 RANLIB="$ac_cv_prog_RANLIB"
6362 test -z "$RANLIB" && RANLIB=:
6369 # Determine commands to create old-style static archives.
6370 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6371 old_postinstall_cmds='chmod 644 $oldlib'
6372 old_postuninstall_cmds=
6374 if test -n "$RANLIB"; then
6375 case $host_os in
6376 openbsd*)
6377 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6380 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6382 esac
6383 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6386 case $host_os in
6387 darwin*)
6388 lock_old_archive_extraction=yes ;;
6390 lock_old_archive_extraction=no ;;
6391 esac
6431 # If no C compiler was specified, use CC.
6432 LTCC=${LTCC-"$CC"}
6434 # If no C compiler flags were specified, use CFLAGS.
6435 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6437 # Allow CC to be a program name with arguments.
6438 compiler=$CC
6441 # Check for command to grab the raw symbol name followed by C symbol from nm.
6442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6443 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6444 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6445 $as_echo_n "(cached) " >&6
6446 else
6448 # These are sane defaults that work on at least a few old systems.
6449 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6451 # Character class describing NM global symbol codes.
6452 symcode='[BCDEGRST]'
6454 # Regexp to match symbols that can be accessed directly from C.
6455 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6457 # Define system-specific variables.
6458 case $host_os in
6459 aix*)
6460 symcode='[BCDT]'
6462 cygwin* | mingw* | pw32* | cegcc*)
6463 symcode='[ABCDGISTW]'
6465 hpux*)
6466 if test "$host_cpu" = ia64; then
6467 symcode='[ABCDEGRST]'
6470 irix* | nonstopux*)
6471 symcode='[BCDEGRST]'
6473 osf*)
6474 symcode='[BCDEGQRST]'
6476 solaris*)
6477 symcode='[BDRT]'
6479 sco3.2v5*)
6480 symcode='[DT]'
6482 sysv4.2uw2*)
6483 symcode='[DT]'
6485 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6486 symcode='[ABDT]'
6488 sysv4)
6489 symcode='[DFNSTU]'
6491 esac
6493 # If we're using GNU nm, then use its standard symbol codes.
6494 case `$NM -V 2>&1` in
6495 *GNU* | *'with BFD'*)
6496 symcode='[ABCDGIRSTW]' ;;
6497 esac
6499 # Transform an extracted symbol line into a proper C declaration.
6500 # Some systems (esp. on ia64) link data and code symbols differently,
6501 # so use this general approach.
6502 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6504 # Transform an extracted symbol line into symbol name and symbol address
6505 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6506 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'"
6508 # Handle CRLF in mingw tool chain
6509 opt_cr=
6510 case $build_os in
6511 mingw*)
6512 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6514 esac
6516 # Try without a prefix underscore, then with it.
6517 for ac_symprfx in "" "_"; do
6519 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6520 symxfrm="\\1 $ac_symprfx\\2 \\2"
6522 # Write the raw and C identifiers.
6523 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6524 # Fake it for dumpbin and say T for any non-static function
6525 # and D for any global variable.
6526 # Also find C++ and __fastcall symbols from MSVC++,
6527 # which start with @ or ?.
6528 lt_cv_sys_global_symbol_pipe="$AWK '"\
6529 " {last_section=section; section=\$ 3};"\
6530 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6531 " \$ 0!~/External *\|/{next};"\
6532 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6533 " {if(hide[section]) next};"\
6534 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6535 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6536 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6537 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6538 " ' prfx=^$ac_symprfx"
6539 else
6540 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6542 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6544 # Check to see that the pipe works correctly.
6545 pipe_works=no
6547 rm -f conftest*
6548 cat > conftest.$ac_ext <<_LT_EOF
6549 #ifdef __cplusplus
6550 extern "C" {
6551 #endif
6552 char nm_test_var;
6553 void nm_test_func(void);
6554 void nm_test_func(void){}
6555 #ifdef __cplusplus
6557 #endif
6558 int main(){nm_test_var='a';nm_test_func();return(0);}
6559 _LT_EOF
6561 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6562 (eval $ac_compile) 2>&5
6563 ac_status=$?
6564 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6565 test $ac_status = 0; }; then
6566 # Now try to grab the symbols.
6567 nlist=conftest.nm
6568 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6569 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6570 ac_status=$?
6571 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6572 test $ac_status = 0; } && test -s "$nlist"; then
6573 # Try sorting and uniquifying the output.
6574 if sort "$nlist" | uniq > "$nlist"T; then
6575 mv -f "$nlist"T "$nlist"
6576 else
6577 rm -f "$nlist"T
6580 # Make sure that we snagged all the symbols we need.
6581 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6582 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6583 cat <<_LT_EOF > conftest.$ac_ext
6584 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6585 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6586 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6587 relocations are performed -- see ld's documentation on pseudo-relocs. */
6588 # define LT_DLSYM_CONST
6589 #elif defined(__osf__)
6590 /* This system does not cope well with relocations in const data. */
6591 # define LT_DLSYM_CONST
6592 #else
6593 # define LT_DLSYM_CONST const
6594 #endif
6596 #ifdef __cplusplus
6597 extern "C" {
6598 #endif
6600 _LT_EOF
6601 # Now generate the symbol file.
6602 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6604 cat <<_LT_EOF >> conftest.$ac_ext
6606 /* The mapping between symbol names and symbols. */
6607 LT_DLSYM_CONST struct {
6608 const char *name;
6609 void *address;
6611 lt__PROGRAM__LTX_preloaded_symbols[] =
6613 { "@PROGRAM@", (void *) 0 },
6614 _LT_EOF
6615 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6616 cat <<\_LT_EOF >> conftest.$ac_ext
6617 {0, (void *) 0}
6620 /* This works around a problem in FreeBSD linker */
6621 #ifdef FREEBSD_WORKAROUND
6622 static const void *lt_preloaded_setup() {
6623 return lt__PROGRAM__LTX_preloaded_symbols;
6625 #endif
6627 #ifdef __cplusplus
6629 #endif
6630 _LT_EOF
6631 # Now try linking the two files.
6632 mv conftest.$ac_objext conftstm.$ac_objext
6633 lt_globsym_save_LIBS=$LIBS
6634 lt_globsym_save_CFLAGS=$CFLAGS
6635 LIBS="conftstm.$ac_objext"
6636 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6637 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6638 (eval $ac_link) 2>&5
6639 ac_status=$?
6640 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6641 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6642 pipe_works=yes
6644 LIBS=$lt_globsym_save_LIBS
6645 CFLAGS=$lt_globsym_save_CFLAGS
6646 else
6647 echo "cannot find nm_test_func in $nlist" >&5
6649 else
6650 echo "cannot find nm_test_var in $nlist" >&5
6652 else
6653 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6655 else
6656 echo "$progname: failed program was:" >&5
6657 cat conftest.$ac_ext >&5
6659 rm -rf conftest* conftst*
6661 # Do not use the global_symbol_pipe unless it works.
6662 if test "$pipe_works" = yes; then
6663 break
6664 else
6665 lt_cv_sys_global_symbol_pipe=
6667 done
6671 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6672 lt_cv_sys_global_symbol_to_cdecl=
6674 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6676 $as_echo "failed" >&6; }
6677 else
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6679 $as_echo "ok" >&6; }
6682 # Response file support.
6683 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6684 nm_file_list_spec='@'
6685 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6686 nm_file_list_spec='@'
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6716 $as_echo_n "checking for sysroot... " >&6; }
6718 # Check whether --with-sysroot was given.
6719 if test "${with_sysroot+set}" = set; then :
6720 withval=$with_sysroot;
6721 else
6722 with_sysroot=no
6726 lt_sysroot=
6727 case ${with_sysroot} in #(
6728 yes)
6729 if test "$GCC" = yes; then
6730 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6732 ;; #(
6734 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6735 ;; #(
6736 no|'')
6737 ;; #(
6739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6740 $as_echo "${with_sysroot}" >&6; }
6741 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6743 esac
6745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6746 $as_echo "${lt_sysroot:-no}" >&6; }
6752 # Check whether --enable-libtool-lock was given.
6753 if test "${enable_libtool_lock+set}" = set; then :
6754 enableval=$enable_libtool_lock;
6757 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6759 # Some flags need to be propagated to the compiler or linker for good
6760 # libtool support.
6761 case $host in
6762 ia64-*-hpux*)
6763 # Find out which ABI we are using.
6764 echo 'int i;' > conftest.$ac_ext
6765 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6766 (eval $ac_compile) 2>&5
6767 ac_status=$?
6768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6769 test $ac_status = 0; }; then
6770 case `/usr/bin/file conftest.$ac_objext` in
6771 *ELF-32*)
6772 HPUX_IA64_MODE="32"
6774 *ELF-64*)
6775 HPUX_IA64_MODE="64"
6777 esac
6779 rm -rf conftest*
6781 *-*-irix6*)
6782 # Find out which ABI we are using.
6783 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6784 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6785 (eval $ac_compile) 2>&5
6786 ac_status=$?
6787 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6788 test $ac_status = 0; }; then
6789 if test "$lt_cv_prog_gnu_ld" = yes; then
6790 case `/usr/bin/file conftest.$ac_objext` in
6791 *32-bit*)
6792 LD="${LD-ld} -melf32bsmip"
6794 *N32*)
6795 LD="${LD-ld} -melf32bmipn32"
6797 *64-bit*)
6798 LD="${LD-ld} -melf64bmip"
6800 esac
6801 else
6802 case `/usr/bin/file conftest.$ac_objext` in
6803 *32-bit*)
6804 LD="${LD-ld} -32"
6806 *N32*)
6807 LD="${LD-ld} -n32"
6809 *64-bit*)
6810 LD="${LD-ld} -64"
6812 esac
6815 rm -rf conftest*
6818 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6819 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6820 # Find out which ABI we are using.
6821 echo 'int i;' > conftest.$ac_ext
6822 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6823 (eval $ac_compile) 2>&5
6824 ac_status=$?
6825 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6826 test $ac_status = 0; }; then
6827 case `/usr/bin/file conftest.o` in
6828 *32-bit*)
6829 case $host in
6830 x86_64-*kfreebsd*-gnu)
6831 LD="${LD-ld} -m elf_i386_fbsd"
6833 x86_64-*linux*)
6834 LD="${LD-ld} -m elf_i386"
6836 ppc64-*linux*|powerpc64-*linux*)
6837 LD="${LD-ld} -m elf32ppclinux"
6839 s390x-*linux*)
6840 LD="${LD-ld} -m elf_s390"
6842 sparc64-*linux*)
6843 LD="${LD-ld} -m elf32_sparc"
6845 esac
6847 *64-bit*)
6848 case $host in
6849 x86_64-*kfreebsd*-gnu)
6850 LD="${LD-ld} -m elf_x86_64_fbsd"
6852 x86_64-*linux*)
6853 LD="${LD-ld} -m elf_x86_64"
6855 ppc*-*linux*|powerpc*-*linux*)
6856 LD="${LD-ld} -m elf64ppc"
6858 s390*-*linux*|s390*-*tpf*)
6859 LD="${LD-ld} -m elf64_s390"
6861 sparc*-*linux*)
6862 LD="${LD-ld} -m elf64_sparc"
6864 esac
6866 esac
6868 rm -rf conftest*
6871 *-*-sco3.2v5*)
6872 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6873 SAVE_CFLAGS="$CFLAGS"
6874 CFLAGS="$CFLAGS -belf"
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6876 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6877 if ${lt_cv_cc_needs_belf+:} false; then :
6878 $as_echo_n "(cached) " >&6
6879 else
6880 ac_ext=c
6881 ac_cpp='$CPP $CPPFLAGS'
6882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6887 /* end confdefs.h. */
6890 main ()
6894 return 0;
6896 _ACEOF
6897 if ac_fn_c_try_link "$LINENO"; then :
6898 lt_cv_cc_needs_belf=yes
6899 else
6900 lt_cv_cc_needs_belf=no
6902 rm -f core conftest.err conftest.$ac_objext \
6903 conftest$ac_exeext conftest.$ac_ext
6904 ac_ext=c
6905 ac_cpp='$CPP $CPPFLAGS'
6906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6912 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6913 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6914 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6915 CFLAGS="$SAVE_CFLAGS"
6918 sparc*-*solaris*)
6919 # Find out which ABI we are using.
6920 echo 'int i;' > conftest.$ac_ext
6921 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6922 (eval $ac_compile) 2>&5
6923 ac_status=$?
6924 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6925 test $ac_status = 0; }; then
6926 case `/usr/bin/file conftest.o` in
6927 *64-bit*)
6928 case $lt_cv_prog_gnu_ld in
6929 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6931 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6932 LD="${LD-ld} -64"
6935 esac
6937 esac
6939 rm -rf conftest*
6941 esac
6943 need_locks="$enable_libtool_lock"
6945 if test -n "$ac_tool_prefix"; then
6946 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6947 set dummy ${ac_tool_prefix}mt; ac_word=$2
6948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6949 $as_echo_n "checking for $ac_word... " >&6; }
6950 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6951 $as_echo_n "(cached) " >&6
6952 else
6953 if test -n "$MANIFEST_TOOL"; then
6954 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6955 else
6956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6957 for as_dir in $PATH
6959 IFS=$as_save_IFS
6960 test -z "$as_dir" && as_dir=.
6961 for ac_exec_ext in '' $ac_executable_extensions; do
6962 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6963 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6965 break 2
6967 done
6968 done
6969 IFS=$as_save_IFS
6973 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6974 if test -n "$MANIFEST_TOOL"; then
6975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6976 $as_echo "$MANIFEST_TOOL" >&6; }
6977 else
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6979 $as_echo "no" >&6; }
6984 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6985 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6986 # Extract the first word of "mt", so it can be a program name with args.
6987 set dummy mt; ac_word=$2
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6989 $as_echo_n "checking for $ac_word... " >&6; }
6990 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6991 $as_echo_n "(cached) " >&6
6992 else
6993 if test -n "$ac_ct_MANIFEST_TOOL"; then
6994 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6995 else
6996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6997 for as_dir in $PATH
6999 IFS=$as_save_IFS
7000 test -z "$as_dir" && as_dir=.
7001 for ac_exec_ext in '' $ac_executable_extensions; do
7002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7003 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7005 break 2
7007 done
7008 done
7009 IFS=$as_save_IFS
7013 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7014 if test -n "$ac_ct_MANIFEST_TOOL"; then
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7016 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7017 else
7018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7019 $as_echo "no" >&6; }
7022 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7023 MANIFEST_TOOL=":"
7024 else
7025 case $cross_compiling:$ac_tool_warned in
7026 yes:)
7027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7028 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7029 ac_tool_warned=yes ;;
7030 esac
7031 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7033 else
7034 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7037 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7039 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7040 if ${lt_cv_path_mainfest_tool+:} false; then :
7041 $as_echo_n "(cached) " >&6
7042 else
7043 lt_cv_path_mainfest_tool=no
7044 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7045 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7046 cat conftest.err >&5
7047 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7048 lt_cv_path_mainfest_tool=yes
7050 rm -f conftest*
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7053 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7054 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7055 MANIFEST_TOOL=:
7063 case $host_os in
7064 rhapsody* | darwin*)
7065 if test -n "$ac_tool_prefix"; then
7066 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7067 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7069 $as_echo_n "checking for $ac_word... " >&6; }
7070 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7071 $as_echo_n "(cached) " >&6
7072 else
7073 if test -n "$DSYMUTIL"; then
7074 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7075 else
7076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7077 for as_dir in $PATH
7079 IFS=$as_save_IFS
7080 test -z "$as_dir" && as_dir=.
7081 for ac_exec_ext in '' $ac_executable_extensions; do
7082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7083 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7085 break 2
7087 done
7088 done
7089 IFS=$as_save_IFS
7093 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7094 if test -n "$DSYMUTIL"; then
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7096 $as_echo "$DSYMUTIL" >&6; }
7097 else
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7099 $as_echo "no" >&6; }
7104 if test -z "$ac_cv_prog_DSYMUTIL"; then
7105 ac_ct_DSYMUTIL=$DSYMUTIL
7106 # Extract the first word of "dsymutil", so it can be a program name with args.
7107 set dummy dsymutil; ac_word=$2
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7109 $as_echo_n "checking for $ac_word... " >&6; }
7110 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7111 $as_echo_n "(cached) " >&6
7112 else
7113 if test -n "$ac_ct_DSYMUTIL"; then
7114 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7115 else
7116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7117 for as_dir in $PATH
7119 IFS=$as_save_IFS
7120 test -z "$as_dir" && as_dir=.
7121 for ac_exec_ext in '' $ac_executable_extensions; do
7122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7123 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7125 break 2
7127 done
7128 done
7129 IFS=$as_save_IFS
7133 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7134 if test -n "$ac_ct_DSYMUTIL"; then
7135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7136 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7137 else
7138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7139 $as_echo "no" >&6; }
7142 if test "x$ac_ct_DSYMUTIL" = x; then
7143 DSYMUTIL=":"
7144 else
7145 case $cross_compiling:$ac_tool_warned in
7146 yes:)
7147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7148 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7149 ac_tool_warned=yes ;;
7150 esac
7151 DSYMUTIL=$ac_ct_DSYMUTIL
7153 else
7154 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7157 if test -n "$ac_tool_prefix"; then
7158 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7159 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7161 $as_echo_n "checking for $ac_word... " >&6; }
7162 if ${ac_cv_prog_NMEDIT+:} false; then :
7163 $as_echo_n "(cached) " >&6
7164 else
7165 if test -n "$NMEDIT"; then
7166 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7167 else
7168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7169 for as_dir in $PATH
7171 IFS=$as_save_IFS
7172 test -z "$as_dir" && as_dir=.
7173 for ac_exec_ext in '' $ac_executable_extensions; do
7174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7175 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7177 break 2
7179 done
7180 done
7181 IFS=$as_save_IFS
7185 NMEDIT=$ac_cv_prog_NMEDIT
7186 if test -n "$NMEDIT"; then
7187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7188 $as_echo "$NMEDIT" >&6; }
7189 else
7190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7191 $as_echo "no" >&6; }
7196 if test -z "$ac_cv_prog_NMEDIT"; then
7197 ac_ct_NMEDIT=$NMEDIT
7198 # Extract the first word of "nmedit", so it can be a program name with args.
7199 set dummy nmedit; ac_word=$2
7200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7201 $as_echo_n "checking for $ac_word... " >&6; }
7202 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7203 $as_echo_n "(cached) " >&6
7204 else
7205 if test -n "$ac_ct_NMEDIT"; then
7206 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7207 else
7208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7209 for as_dir in $PATH
7211 IFS=$as_save_IFS
7212 test -z "$as_dir" && as_dir=.
7213 for ac_exec_ext in '' $ac_executable_extensions; do
7214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7215 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7217 break 2
7219 done
7220 done
7221 IFS=$as_save_IFS
7225 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7226 if test -n "$ac_ct_NMEDIT"; then
7227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7228 $as_echo "$ac_ct_NMEDIT" >&6; }
7229 else
7230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7231 $as_echo "no" >&6; }
7234 if test "x$ac_ct_NMEDIT" = x; then
7235 NMEDIT=":"
7236 else
7237 case $cross_compiling:$ac_tool_warned in
7238 yes:)
7239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7240 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7241 ac_tool_warned=yes ;;
7242 esac
7243 NMEDIT=$ac_ct_NMEDIT
7245 else
7246 NMEDIT="$ac_cv_prog_NMEDIT"
7249 if test -n "$ac_tool_prefix"; then
7250 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7251 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7253 $as_echo_n "checking for $ac_word... " >&6; }
7254 if ${ac_cv_prog_LIPO+:} false; then :
7255 $as_echo_n "(cached) " >&6
7256 else
7257 if test -n "$LIPO"; then
7258 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7259 else
7260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7261 for as_dir in $PATH
7263 IFS=$as_save_IFS
7264 test -z "$as_dir" && as_dir=.
7265 for ac_exec_ext in '' $ac_executable_extensions; do
7266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7267 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7268 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7269 break 2
7271 done
7272 done
7273 IFS=$as_save_IFS
7277 LIPO=$ac_cv_prog_LIPO
7278 if test -n "$LIPO"; then
7279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7280 $as_echo "$LIPO" >&6; }
7281 else
7282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7283 $as_echo "no" >&6; }
7288 if test -z "$ac_cv_prog_LIPO"; then
7289 ac_ct_LIPO=$LIPO
7290 # Extract the first word of "lipo", so it can be a program name with args.
7291 set dummy lipo; ac_word=$2
7292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7293 $as_echo_n "checking for $ac_word... " >&6; }
7294 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7295 $as_echo_n "(cached) " >&6
7296 else
7297 if test -n "$ac_ct_LIPO"; then
7298 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7299 else
7300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7301 for as_dir in $PATH
7303 IFS=$as_save_IFS
7304 test -z "$as_dir" && as_dir=.
7305 for ac_exec_ext in '' $ac_executable_extensions; do
7306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7307 ac_cv_prog_ac_ct_LIPO="lipo"
7308 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7309 break 2
7311 done
7312 done
7313 IFS=$as_save_IFS
7317 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7318 if test -n "$ac_ct_LIPO"; then
7319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7320 $as_echo "$ac_ct_LIPO" >&6; }
7321 else
7322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7323 $as_echo "no" >&6; }
7326 if test "x$ac_ct_LIPO" = x; then
7327 LIPO=":"
7328 else
7329 case $cross_compiling:$ac_tool_warned in
7330 yes:)
7331 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7332 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7333 ac_tool_warned=yes ;;
7334 esac
7335 LIPO=$ac_ct_LIPO
7337 else
7338 LIPO="$ac_cv_prog_LIPO"
7341 if test -n "$ac_tool_prefix"; then
7342 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7343 set dummy ${ac_tool_prefix}otool; ac_word=$2
7344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7345 $as_echo_n "checking for $ac_word... " >&6; }
7346 if ${ac_cv_prog_OTOOL+:} false; then :
7347 $as_echo_n "(cached) " >&6
7348 else
7349 if test -n "$OTOOL"; then
7350 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7351 else
7352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7353 for as_dir in $PATH
7355 IFS=$as_save_IFS
7356 test -z "$as_dir" && as_dir=.
7357 for ac_exec_ext in '' $ac_executable_extensions; do
7358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7359 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7360 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7361 break 2
7363 done
7364 done
7365 IFS=$as_save_IFS
7369 OTOOL=$ac_cv_prog_OTOOL
7370 if test -n "$OTOOL"; then
7371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7372 $as_echo "$OTOOL" >&6; }
7373 else
7374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7375 $as_echo "no" >&6; }
7380 if test -z "$ac_cv_prog_OTOOL"; then
7381 ac_ct_OTOOL=$OTOOL
7382 # Extract the first word of "otool", so it can be a program name with args.
7383 set dummy otool; ac_word=$2
7384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7385 $as_echo_n "checking for $ac_word... " >&6; }
7386 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7387 $as_echo_n "(cached) " >&6
7388 else
7389 if test -n "$ac_ct_OTOOL"; then
7390 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7391 else
7392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7393 for as_dir in $PATH
7395 IFS=$as_save_IFS
7396 test -z "$as_dir" && as_dir=.
7397 for ac_exec_ext in '' $ac_executable_extensions; do
7398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7399 ac_cv_prog_ac_ct_OTOOL="otool"
7400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7401 break 2
7403 done
7404 done
7405 IFS=$as_save_IFS
7409 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7410 if test -n "$ac_ct_OTOOL"; then
7411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7412 $as_echo "$ac_ct_OTOOL" >&6; }
7413 else
7414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7415 $as_echo "no" >&6; }
7418 if test "x$ac_ct_OTOOL" = x; then
7419 OTOOL=":"
7420 else
7421 case $cross_compiling:$ac_tool_warned in
7422 yes:)
7423 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7424 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7425 ac_tool_warned=yes ;;
7426 esac
7427 OTOOL=$ac_ct_OTOOL
7429 else
7430 OTOOL="$ac_cv_prog_OTOOL"
7433 if test -n "$ac_tool_prefix"; then
7434 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7435 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7437 $as_echo_n "checking for $ac_word... " >&6; }
7438 if ${ac_cv_prog_OTOOL64+:} false; then :
7439 $as_echo_n "(cached) " >&6
7440 else
7441 if test -n "$OTOOL64"; then
7442 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7443 else
7444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7445 for as_dir in $PATH
7447 IFS=$as_save_IFS
7448 test -z "$as_dir" && as_dir=.
7449 for ac_exec_ext in '' $ac_executable_extensions; do
7450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7451 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7453 break 2
7455 done
7456 done
7457 IFS=$as_save_IFS
7461 OTOOL64=$ac_cv_prog_OTOOL64
7462 if test -n "$OTOOL64"; then
7463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7464 $as_echo "$OTOOL64" >&6; }
7465 else
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7467 $as_echo "no" >&6; }
7472 if test -z "$ac_cv_prog_OTOOL64"; then
7473 ac_ct_OTOOL64=$OTOOL64
7474 # Extract the first word of "otool64", so it can be a program name with args.
7475 set dummy otool64; ac_word=$2
7476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7477 $as_echo_n "checking for $ac_word... " >&6; }
7478 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7479 $as_echo_n "(cached) " >&6
7480 else
7481 if test -n "$ac_ct_OTOOL64"; then
7482 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7483 else
7484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7485 for as_dir in $PATH
7487 IFS=$as_save_IFS
7488 test -z "$as_dir" && as_dir=.
7489 for ac_exec_ext in '' $ac_executable_extensions; do
7490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7491 ac_cv_prog_ac_ct_OTOOL64="otool64"
7492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7493 break 2
7495 done
7496 done
7497 IFS=$as_save_IFS
7501 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7502 if test -n "$ac_ct_OTOOL64"; then
7503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7504 $as_echo "$ac_ct_OTOOL64" >&6; }
7505 else
7506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7507 $as_echo "no" >&6; }
7510 if test "x$ac_ct_OTOOL64" = x; then
7511 OTOOL64=":"
7512 else
7513 case $cross_compiling:$ac_tool_warned in
7514 yes:)
7515 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7516 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7517 ac_tool_warned=yes ;;
7518 esac
7519 OTOOL64=$ac_ct_OTOOL64
7521 else
7522 OTOOL64="$ac_cv_prog_OTOOL64"
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7552 $as_echo_n "checking for -single_module linker flag... " >&6; }
7553 if ${lt_cv_apple_cc_single_mod+:} false; then :
7554 $as_echo_n "(cached) " >&6
7555 else
7556 lt_cv_apple_cc_single_mod=no
7557 if test -z "${LT_MULTI_MODULE}"; then
7558 # By default we will add the -single_module flag. You can override
7559 # by either setting the environment variable LT_MULTI_MODULE
7560 # non-empty at configure time, or by adding -multi_module to the
7561 # link flags.
7562 rm -rf libconftest.dylib*
7563 echo "int foo(void){return 1;}" > conftest.c
7564 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7565 -dynamiclib -Wl,-single_module conftest.c" >&5
7566 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7567 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7568 _lt_result=$?
7569 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7570 lt_cv_apple_cc_single_mod=yes
7571 else
7572 cat conftest.err >&5
7574 rm -rf libconftest.dylib*
7575 rm -f conftest.*
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7579 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7581 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7582 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7583 $as_echo_n "(cached) " >&6
7584 else
7585 lt_cv_ld_exported_symbols_list=no
7586 save_LDFLAGS=$LDFLAGS
7587 echo "_main" > conftest.sym
7588 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7590 /* end confdefs.h. */
7593 main ()
7597 return 0;
7599 _ACEOF
7600 if ac_fn_c_try_link "$LINENO"; then :
7601 lt_cv_ld_exported_symbols_list=yes
7602 else
7603 lt_cv_ld_exported_symbols_list=no
7605 rm -f core conftest.err conftest.$ac_objext \
7606 conftest$ac_exeext conftest.$ac_ext
7607 LDFLAGS="$save_LDFLAGS"
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7611 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7613 $as_echo_n "checking for -force_load linker flag... " >&6; }
7614 if ${lt_cv_ld_force_load+:} false; then :
7615 $as_echo_n "(cached) " >&6
7616 else
7617 lt_cv_ld_force_load=no
7618 cat > conftest.c << _LT_EOF
7619 int forced_loaded() { return 2;}
7620 _LT_EOF
7621 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7622 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7623 echo "$AR cru libconftest.a conftest.o" >&5
7624 $AR cru libconftest.a conftest.o 2>&5
7625 echo "$RANLIB libconftest.a" >&5
7626 $RANLIB libconftest.a 2>&5
7627 cat > conftest.c << _LT_EOF
7628 int main() { return 0;}
7629 _LT_EOF
7630 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7631 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7632 _lt_result=$?
7633 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7634 lt_cv_ld_force_load=yes
7635 else
7636 cat conftest.err >&5
7638 rm -f conftest.err libconftest.a conftest conftest.c
7639 rm -rf conftest.dSYM
7642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7643 $as_echo "$lt_cv_ld_force_load" >&6; }
7644 case $host_os in
7645 rhapsody* | darwin1.[012])
7646 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7647 darwin1.*)
7648 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7649 darwin*) # darwin 5.x on
7650 # if running on 10.5 or later, the deployment target defaults
7651 # to the OS version, if on x86, and 10.4, the deployment
7652 # target defaults to 10.4. Don't you love it?
7653 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7654 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7655 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7656 10.[012]*)
7657 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7658 10.*)
7659 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7660 esac
7662 esac
7663 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7664 _lt_dar_single_mod='$single_module'
7666 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7667 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7668 else
7669 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7671 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7672 _lt_dsymutil='~$DSYMUTIL $lib || :'
7673 else
7674 _lt_dsymutil=
7677 esac
7679 for ac_header in dlfcn.h
7680 do :
7681 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7683 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7684 cat >>confdefs.h <<_ACEOF
7685 #define HAVE_DLFCN_H 1
7686 _ACEOF
7690 done
7696 # Set options
7700 enable_dlopen=no
7703 enable_win32_dll=no
7706 # Check whether --enable-shared was given.
7707 if test "${enable_shared+set}" = set; then :
7708 enableval=$enable_shared; p=${PACKAGE-default}
7709 case $enableval in
7710 yes) enable_shared=yes ;;
7711 no) enable_shared=no ;;
7713 enable_shared=no
7714 # Look at the argument we got. We use all the common list separators.
7715 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7716 for pkg in $enableval; do
7717 IFS="$lt_save_ifs"
7718 if test "X$pkg" = "X$p"; then
7719 enable_shared=yes
7721 done
7722 IFS="$lt_save_ifs"
7724 esac
7725 else
7726 enable_shared=yes
7737 # Check whether --enable-static was given.
7738 if test "${enable_static+set}" = set; then :
7739 enableval=$enable_static; p=${PACKAGE-default}
7740 case $enableval in
7741 yes) enable_static=yes ;;
7742 no) enable_static=no ;;
7744 enable_static=no
7745 # Look at the argument we got. We use all the common list separators.
7746 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7747 for pkg in $enableval; do
7748 IFS="$lt_save_ifs"
7749 if test "X$pkg" = "X$p"; then
7750 enable_static=yes
7752 done
7753 IFS="$lt_save_ifs"
7755 esac
7756 else
7757 enable_static=yes
7769 # Check whether --with-pic was given.
7770 if test "${with_pic+set}" = set; then :
7771 withval=$with_pic; pic_mode="$withval"
7772 else
7773 pic_mode=default
7777 test -z "$pic_mode" && pic_mode=default
7785 # Check whether --enable-fast-install was given.
7786 if test "${enable_fast_install+set}" = set; then :
7787 enableval=$enable_fast_install; p=${PACKAGE-default}
7788 case $enableval in
7789 yes) enable_fast_install=yes ;;
7790 no) enable_fast_install=no ;;
7792 enable_fast_install=no
7793 # Look at the argument we got. We use all the common list separators.
7794 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7795 for pkg in $enableval; do
7796 IFS="$lt_save_ifs"
7797 if test "X$pkg" = "X$p"; then
7798 enable_fast_install=yes
7800 done
7801 IFS="$lt_save_ifs"
7803 esac
7804 else
7805 enable_fast_install=yes
7818 # This can be used to rebuild libtool when needed
7819 LIBTOOL_DEPS="$ltmain"
7821 # Always use our own libtool.
7822 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7849 test -z "$LN_S" && LN_S="ln -s"
7864 if test -n "${ZSH_VERSION+set}" ; then
7865 setopt NO_GLOB_SUBST
7868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7869 $as_echo_n "checking for objdir... " >&6; }
7870 if ${lt_cv_objdir+:} false; then :
7871 $as_echo_n "(cached) " >&6
7872 else
7873 rm -f .libs 2>/dev/null
7874 mkdir .libs 2>/dev/null
7875 if test -d .libs; then
7876 lt_cv_objdir=.libs
7877 else
7878 # MS-DOS does not allow filenames that begin with a dot.
7879 lt_cv_objdir=_libs
7881 rmdir .libs 2>/dev/null
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7884 $as_echo "$lt_cv_objdir" >&6; }
7885 objdir=$lt_cv_objdir
7891 cat >>confdefs.h <<_ACEOF
7892 #define LT_OBJDIR "$lt_cv_objdir/"
7893 _ACEOF
7898 case $host_os in
7899 aix3*)
7900 # AIX sometimes has problems with the GCC collect2 program. For some
7901 # reason, if we set the COLLECT_NAMES environment variable, the problems
7902 # vanish in a puff of smoke.
7903 if test "X${COLLECT_NAMES+set}" != Xset; then
7904 COLLECT_NAMES=
7905 export COLLECT_NAMES
7908 esac
7910 # Global variables:
7911 ofile=libtool
7912 can_build_shared=yes
7914 # All known linkers require a `.a' archive for static linking (except MSVC,
7915 # which needs '.lib').
7916 libext=a
7918 with_gnu_ld="$lt_cv_prog_gnu_ld"
7920 old_CC="$CC"
7921 old_CFLAGS="$CFLAGS"
7923 # Set sane defaults for various variables
7924 test -z "$CC" && CC=cc
7925 test -z "$LTCC" && LTCC=$CC
7926 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7927 test -z "$LD" && LD=ld
7928 test -z "$ac_objext" && ac_objext=o
7930 for cc_temp in $compiler""; do
7931 case $cc_temp in
7932 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7933 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7934 \-*) ;;
7935 *) break;;
7936 esac
7937 done
7938 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7941 # Only perform the check for file, if the check method requires it
7942 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7943 case $deplibs_check_method in
7944 file_magic*)
7945 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7947 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7948 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7949 $as_echo_n "(cached) " >&6
7950 else
7951 case $MAGIC_CMD in
7952 [\\/*] | ?:[\\/]*)
7953 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7956 lt_save_MAGIC_CMD="$MAGIC_CMD"
7957 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7958 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7959 for ac_dir in $ac_dummy; do
7960 IFS="$lt_save_ifs"
7961 test -z "$ac_dir" && ac_dir=.
7962 if test -f $ac_dir/${ac_tool_prefix}file; then
7963 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7964 if test -n "$file_magic_test_file"; then
7965 case $deplibs_check_method in
7966 "file_magic "*)
7967 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7968 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7969 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7970 $EGREP "$file_magic_regex" > /dev/null; then
7972 else
7973 cat <<_LT_EOF 1>&2
7975 *** Warning: the command libtool uses to detect shared libraries,
7976 *** $file_magic_cmd, produces output that libtool cannot recognize.
7977 *** The result is that libtool may fail to recognize shared libraries
7978 *** as such. This will affect the creation of libtool libraries that
7979 *** depend on shared libraries, but programs linked with such libtool
7980 *** libraries will work regardless of this problem. Nevertheless, you
7981 *** may want to report the problem to your system manager and/or to
7982 *** bug-libtool@gnu.org
7984 _LT_EOF
7985 fi ;;
7986 esac
7988 break
7990 done
7991 IFS="$lt_save_ifs"
7992 MAGIC_CMD="$lt_save_MAGIC_CMD"
7994 esac
7997 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7998 if test -n "$MAGIC_CMD"; then
7999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8000 $as_echo "$MAGIC_CMD" >&6; }
8001 else
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8003 $as_echo "no" >&6; }
8010 if test -z "$lt_cv_path_MAGIC_CMD"; then
8011 if test -n "$ac_tool_prefix"; then
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8013 $as_echo_n "checking for file... " >&6; }
8014 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8015 $as_echo_n "(cached) " >&6
8016 else
8017 case $MAGIC_CMD in
8018 [\\/*] | ?:[\\/]*)
8019 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8022 lt_save_MAGIC_CMD="$MAGIC_CMD"
8023 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8024 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8025 for ac_dir in $ac_dummy; do
8026 IFS="$lt_save_ifs"
8027 test -z "$ac_dir" && ac_dir=.
8028 if test -f $ac_dir/file; then
8029 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8030 if test -n "$file_magic_test_file"; then
8031 case $deplibs_check_method in
8032 "file_magic "*)
8033 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8034 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8035 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8036 $EGREP "$file_magic_regex" > /dev/null; then
8038 else
8039 cat <<_LT_EOF 1>&2
8041 *** Warning: the command libtool uses to detect shared libraries,
8042 *** $file_magic_cmd, produces output that libtool cannot recognize.
8043 *** The result is that libtool may fail to recognize shared libraries
8044 *** as such. This will affect the creation of libtool libraries that
8045 *** depend on shared libraries, but programs linked with such libtool
8046 *** libraries will work regardless of this problem. Nevertheless, you
8047 *** may want to report the problem to your system manager and/or to
8048 *** bug-libtool@gnu.org
8050 _LT_EOF
8051 fi ;;
8052 esac
8054 break
8056 done
8057 IFS="$lt_save_ifs"
8058 MAGIC_CMD="$lt_save_MAGIC_CMD"
8060 esac
8063 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8064 if test -n "$MAGIC_CMD"; then
8065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8066 $as_echo "$MAGIC_CMD" >&6; }
8067 else
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8069 $as_echo "no" >&6; }
8073 else
8074 MAGIC_CMD=:
8080 esac
8082 # Use C for the default configuration in the libtool script
8084 lt_save_CC="$CC"
8085 ac_ext=c
8086 ac_cpp='$CPP $CPPFLAGS'
8087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8092 # Source file extension for C test sources.
8093 ac_ext=c
8095 # Object file extension for compiled C test sources.
8096 objext=o
8097 objext=$objext
8099 # Code to be used in simple compile tests
8100 lt_simple_compile_test_code="int some_variable = 0;"
8102 # Code to be used in simple link tests
8103 lt_simple_link_test_code='int main(){return(0);}'
8111 # If no C compiler was specified, use CC.
8112 LTCC=${LTCC-"$CC"}
8114 # If no C compiler flags were specified, use CFLAGS.
8115 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8117 # Allow CC to be a program name with arguments.
8118 compiler=$CC
8120 # Save the default compiler, since it gets overwritten when the other
8121 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8122 compiler_DEFAULT=$CC
8124 # save warnings/boilerplate of simple test code
8125 ac_outfile=conftest.$ac_objext
8126 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8127 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8128 _lt_compiler_boilerplate=`cat conftest.err`
8129 $RM conftest*
8131 ac_outfile=conftest.$ac_objext
8132 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8133 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8134 _lt_linker_boilerplate=`cat conftest.err`
8135 $RM -r conftest*
8138 ## CAVEAT EMPTOR:
8139 ## There is no encapsulation within the following macros, do not change
8140 ## the running order or otherwise move them around unless you know exactly
8141 ## what you are doing...
8142 if test -n "$compiler"; then
8144 lt_prog_compiler_no_builtin_flag=
8146 if test "$GCC" = yes; then
8147 case $cc_basename in
8148 nvcc*)
8149 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8151 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8152 esac
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8155 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8156 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8157 $as_echo_n "(cached) " >&6
8158 else
8159 lt_cv_prog_compiler_rtti_exceptions=no
8160 ac_outfile=conftest.$ac_objext
8161 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8162 lt_compiler_flag="-fno-rtti -fno-exceptions"
8163 # Insert the option either (1) after the last *FLAGS variable, or
8164 # (2) before a word containing "conftest.", or (3) at the end.
8165 # Note that $ac_compile itself does not contain backslashes and begins
8166 # with a dollar sign (not a hyphen), so the echo should work correctly.
8167 # The option is referenced via a variable to avoid confusing sed.
8168 lt_compile=`echo "$ac_compile" | $SED \
8169 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8170 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8171 -e 's:$: $lt_compiler_flag:'`
8172 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8173 (eval "$lt_compile" 2>conftest.err)
8174 ac_status=$?
8175 cat conftest.err >&5
8176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8177 if (exit $ac_status) && test -s "$ac_outfile"; then
8178 # The compiler can only warn and ignore the option if not recognized
8179 # So say no if there are warnings other than the usual output.
8180 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8181 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8182 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8183 lt_cv_prog_compiler_rtti_exceptions=yes
8186 $RM conftest*
8189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8190 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8192 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8193 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8194 else
8205 lt_prog_compiler_wl=
8206 lt_prog_compiler_pic=
8207 lt_prog_compiler_static=
8210 if test "$GCC" = yes; then
8211 lt_prog_compiler_wl='-Wl,'
8212 lt_prog_compiler_static='-static'
8214 case $host_os in
8215 aix*)
8216 # All AIX code is PIC.
8217 if test "$host_cpu" = ia64; then
8218 # AIX 5 now supports IA64 processor
8219 lt_prog_compiler_static='-Bstatic'
8223 amigaos*)
8224 case $host_cpu in
8225 powerpc)
8226 # see comment about AmigaOS4 .so support
8227 lt_prog_compiler_pic='-fPIC'
8229 m68k)
8230 # FIXME: we need at least 68020 code to build shared libraries, but
8231 # adding the `-m68020' flag to GCC prevents building anything better,
8232 # like `-m68040'.
8233 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8235 esac
8238 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8239 # PIC is the default for these OSes.
8242 mingw* | cygwin* | pw32* | os2* | cegcc*)
8243 # This hack is so that the source file can tell whether it is being
8244 # built for inclusion in a dll (and should export symbols for example).
8245 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8246 # (--disable-auto-import) libraries
8247 lt_prog_compiler_pic='-DDLL_EXPORT'
8250 darwin* | rhapsody*)
8251 # PIC is the default on this platform
8252 # Common symbols not allowed in MH_DYLIB files
8253 lt_prog_compiler_pic='-fno-common'
8256 haiku*)
8257 # PIC is the default for Haiku.
8258 # The "-static" flag exists, but is broken.
8259 lt_prog_compiler_static=
8262 hpux*)
8263 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8264 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8265 # sets the default TLS model and affects inlining.
8266 case $host_cpu in
8267 hppa*64*)
8268 # +Z the default
8271 lt_prog_compiler_pic='-fPIC'
8273 esac
8276 interix[3-9]*)
8277 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8278 # Instead, we relocate shared libraries at runtime.
8281 msdosdjgpp*)
8282 # Just because we use GCC doesn't mean we suddenly get shared libraries
8283 # on systems that don't support them.
8284 lt_prog_compiler_can_build_shared=no
8285 enable_shared=no
8288 *nto* | *qnx*)
8289 # QNX uses GNU C++, but need to define -shared option too, otherwise
8290 # it will coredump.
8291 lt_prog_compiler_pic='-fPIC -shared'
8294 sysv4*MP*)
8295 if test -d /usr/nec; then
8296 lt_prog_compiler_pic=-Kconform_pic
8301 lt_prog_compiler_pic='-fPIC'
8303 esac
8305 case $cc_basename in
8306 nvcc*) # Cuda Compiler Driver 2.2
8307 lt_prog_compiler_wl='-Xlinker '
8308 lt_prog_compiler_pic='-Xcompiler -fPIC'
8310 esac
8311 else
8312 # PORTME Check for flag to pass linker flags through the system compiler.
8313 case $host_os in
8314 aix*)
8315 lt_prog_compiler_wl='-Wl,'
8316 if test "$host_cpu" = ia64; then
8317 # AIX 5 now supports IA64 processor
8318 lt_prog_compiler_static='-Bstatic'
8319 else
8320 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8324 mingw* | cygwin* | pw32* | os2* | cegcc*)
8325 # This hack is so that the source file can tell whether it is being
8326 # built for inclusion in a dll (and should export symbols for example).
8327 lt_prog_compiler_pic='-DDLL_EXPORT'
8330 hpux9* | hpux10* | hpux11*)
8331 lt_prog_compiler_wl='-Wl,'
8332 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8333 # not for PA HP-UX.
8334 case $host_cpu in
8335 hppa*64*|ia64*)
8336 # +Z the default
8339 lt_prog_compiler_pic='+Z'
8341 esac
8342 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8343 lt_prog_compiler_static='${wl}-a ${wl}archive'
8346 irix5* | irix6* | nonstopux*)
8347 lt_prog_compiler_wl='-Wl,'
8348 # PIC (with -KPIC) is the default.
8349 lt_prog_compiler_static='-non_shared'
8352 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8353 case $cc_basename in
8354 # old Intel for x86_64 which still supported -KPIC.
8355 ecc*)
8356 lt_prog_compiler_wl='-Wl,'
8357 lt_prog_compiler_pic='-KPIC'
8358 lt_prog_compiler_static='-static'
8360 # icc used to be incompatible with GCC.
8361 # ICC 10 doesn't accept -KPIC any more.
8362 icc* | ifort*)
8363 lt_prog_compiler_wl='-Wl,'
8364 lt_prog_compiler_pic='-fPIC'
8365 lt_prog_compiler_static='-static'
8367 # Lahey Fortran 8.1.
8368 lf95*)
8369 lt_prog_compiler_wl='-Wl,'
8370 lt_prog_compiler_pic='--shared'
8371 lt_prog_compiler_static='--static'
8373 nagfor*)
8374 # NAG Fortran compiler
8375 lt_prog_compiler_wl='-Wl,-Wl,,'
8376 lt_prog_compiler_pic='-PIC'
8377 lt_prog_compiler_static='-Bstatic'
8379 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8380 # Portland Group compilers (*not* the Pentium gcc compiler,
8381 # which looks to be a dead project)
8382 lt_prog_compiler_wl='-Wl,'
8383 lt_prog_compiler_pic='-fpic'
8384 lt_prog_compiler_static='-Bstatic'
8386 ccc*)
8387 lt_prog_compiler_wl='-Wl,'
8388 # All Alpha code is PIC.
8389 lt_prog_compiler_static='-non_shared'
8391 xl* | bgxl* | bgf* | mpixl*)
8392 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8393 lt_prog_compiler_wl='-Wl,'
8394 lt_prog_compiler_pic='-qpic'
8395 lt_prog_compiler_static='-qstaticlink'
8398 case `$CC -V 2>&1 | sed 5q` in
8399 *Sun\ F* | *Sun*Fortran*)
8400 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8401 lt_prog_compiler_pic='-KPIC'
8402 lt_prog_compiler_static='-Bstatic'
8403 lt_prog_compiler_wl=''
8405 *Sun\ C*)
8406 # Sun C 5.9
8407 lt_prog_compiler_pic='-KPIC'
8408 lt_prog_compiler_static='-Bstatic'
8409 lt_prog_compiler_wl='-Wl,'
8411 esac
8413 esac
8416 newsos6)
8417 lt_prog_compiler_pic='-KPIC'
8418 lt_prog_compiler_static='-Bstatic'
8421 *nto* | *qnx*)
8422 # QNX uses GNU C++, but need to define -shared option too, otherwise
8423 # it will coredump.
8424 lt_prog_compiler_pic='-fPIC -shared'
8427 osf3* | osf4* | osf5*)
8428 lt_prog_compiler_wl='-Wl,'
8429 # All OSF/1 code is PIC.
8430 lt_prog_compiler_static='-non_shared'
8433 rdos*)
8434 lt_prog_compiler_static='-non_shared'
8437 solaris*)
8438 lt_prog_compiler_pic='-KPIC'
8439 lt_prog_compiler_static='-Bstatic'
8440 case $cc_basename in
8441 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8442 lt_prog_compiler_wl='-Qoption ld ';;
8444 lt_prog_compiler_wl='-Wl,';;
8445 esac
8448 sunos4*)
8449 lt_prog_compiler_wl='-Qoption ld '
8450 lt_prog_compiler_pic='-PIC'
8451 lt_prog_compiler_static='-Bstatic'
8454 sysv4 | sysv4.2uw2* | sysv4.3*)
8455 lt_prog_compiler_wl='-Wl,'
8456 lt_prog_compiler_pic='-KPIC'
8457 lt_prog_compiler_static='-Bstatic'
8460 sysv4*MP*)
8461 if test -d /usr/nec ;then
8462 lt_prog_compiler_pic='-Kconform_pic'
8463 lt_prog_compiler_static='-Bstatic'
8467 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8468 lt_prog_compiler_wl='-Wl,'
8469 lt_prog_compiler_pic='-KPIC'
8470 lt_prog_compiler_static='-Bstatic'
8473 unicos*)
8474 lt_prog_compiler_wl='-Wl,'
8475 lt_prog_compiler_can_build_shared=no
8478 uts4*)
8479 lt_prog_compiler_pic='-pic'
8480 lt_prog_compiler_static='-Bstatic'
8484 lt_prog_compiler_can_build_shared=no
8486 esac
8489 case $host_os in
8490 # For platforms which do not support PIC, -DPIC is meaningless:
8491 *djgpp*)
8492 lt_prog_compiler_pic=
8495 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8497 esac
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8500 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8501 if ${lt_cv_prog_compiler_pic+:} false; then :
8502 $as_echo_n "(cached) " >&6
8503 else
8504 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8507 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8508 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8511 # Check to make sure the PIC flag actually works.
8513 if test -n "$lt_prog_compiler_pic"; then
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8515 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8516 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8517 $as_echo_n "(cached) " >&6
8518 else
8519 lt_cv_prog_compiler_pic_works=no
8520 ac_outfile=conftest.$ac_objext
8521 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8522 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8523 # Insert the option either (1) after the last *FLAGS variable, or
8524 # (2) before a word containing "conftest.", or (3) at the end.
8525 # Note that $ac_compile itself does not contain backslashes and begins
8526 # with a dollar sign (not a hyphen), so the echo should work correctly.
8527 # The option is referenced via a variable to avoid confusing sed.
8528 lt_compile=`echo "$ac_compile" | $SED \
8529 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8530 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8531 -e 's:$: $lt_compiler_flag:'`
8532 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8533 (eval "$lt_compile" 2>conftest.err)
8534 ac_status=$?
8535 cat conftest.err >&5
8536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8537 if (exit $ac_status) && test -s "$ac_outfile"; then
8538 # The compiler can only warn and ignore the option if not recognized
8539 # So say no if there are warnings other than the usual output.
8540 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8541 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8542 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8543 lt_cv_prog_compiler_pic_works=yes
8546 $RM conftest*
8549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8550 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8552 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8553 case $lt_prog_compiler_pic in
8554 "" | " "*) ;;
8555 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8556 esac
8557 else
8558 lt_prog_compiler_pic=
8559 lt_prog_compiler_can_build_shared=no
8575 # Check to make sure the static flag actually works.
8577 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8579 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8580 if ${lt_cv_prog_compiler_static_works+:} false; then :
8581 $as_echo_n "(cached) " >&6
8582 else
8583 lt_cv_prog_compiler_static_works=no
8584 save_LDFLAGS="$LDFLAGS"
8585 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8586 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8587 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8588 # The linker can only warn and ignore the option if not recognized
8589 # So say no if there are warnings
8590 if test -s conftest.err; then
8591 # Append any errors to the config.log.
8592 cat conftest.err 1>&5
8593 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8594 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8595 if diff conftest.exp conftest.er2 >/dev/null; then
8596 lt_cv_prog_compiler_static_works=yes
8598 else
8599 lt_cv_prog_compiler_static_works=yes
8602 $RM -r conftest*
8603 LDFLAGS="$save_LDFLAGS"
8606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8607 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8609 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8611 else
8612 lt_prog_compiler_static=
8621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8622 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8623 if ${lt_cv_prog_compiler_c_o+:} false; then :
8624 $as_echo_n "(cached) " >&6
8625 else
8626 lt_cv_prog_compiler_c_o=no
8627 $RM -r conftest 2>/dev/null
8628 mkdir conftest
8629 cd conftest
8630 mkdir out
8631 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8633 lt_compiler_flag="-o out/conftest2.$ac_objext"
8634 # Insert the option either (1) after the last *FLAGS variable, or
8635 # (2) before a word containing "conftest.", or (3) at the end.
8636 # Note that $ac_compile itself does not contain backslashes and begins
8637 # with a dollar sign (not a hyphen), so the echo should work correctly.
8638 lt_compile=`echo "$ac_compile" | $SED \
8639 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8640 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8641 -e 's:$: $lt_compiler_flag:'`
8642 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8643 (eval "$lt_compile" 2>out/conftest.err)
8644 ac_status=$?
8645 cat out/conftest.err >&5
8646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8647 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8648 then
8649 # The compiler can only warn and ignore the option if not recognized
8650 # So say no if there are warnings
8651 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8652 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8653 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8654 lt_cv_prog_compiler_c_o=yes
8657 chmod u+w . 2>&5
8658 $RM conftest*
8659 # SGI C++ compiler will create directory out/ii_files/ for
8660 # template instantiation
8661 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8662 $RM out/* && rmdir out
8663 cd ..
8664 $RM -r conftest
8665 $RM conftest*
8668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8669 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8677 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8678 if ${lt_cv_prog_compiler_c_o+:} false; then :
8679 $as_echo_n "(cached) " >&6
8680 else
8681 lt_cv_prog_compiler_c_o=no
8682 $RM -r conftest 2>/dev/null
8683 mkdir conftest
8684 cd conftest
8685 mkdir out
8686 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8688 lt_compiler_flag="-o out/conftest2.$ac_objext"
8689 # Insert the option either (1) after the last *FLAGS variable, or
8690 # (2) before a word containing "conftest.", or (3) at the end.
8691 # Note that $ac_compile itself does not contain backslashes and begins
8692 # with a dollar sign (not a hyphen), so the echo should work correctly.
8693 lt_compile=`echo "$ac_compile" | $SED \
8694 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8695 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8696 -e 's:$: $lt_compiler_flag:'`
8697 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8698 (eval "$lt_compile" 2>out/conftest.err)
8699 ac_status=$?
8700 cat out/conftest.err >&5
8701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8702 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8703 then
8704 # The compiler can only warn and ignore the option if not recognized
8705 # So say no if there are warnings
8706 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8707 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8708 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8709 lt_cv_prog_compiler_c_o=yes
8712 chmod u+w . 2>&5
8713 $RM conftest*
8714 # SGI C++ compiler will create directory out/ii_files/ for
8715 # template instantiation
8716 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8717 $RM out/* && rmdir out
8718 cd ..
8719 $RM -r conftest
8720 $RM conftest*
8723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8724 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8729 hard_links="nottested"
8730 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8731 # do not overwrite the value of need_locks provided by the user
8732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8733 $as_echo_n "checking if we can lock with hard links... " >&6; }
8734 hard_links=yes
8735 $RM conftest*
8736 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8737 touch conftest.a
8738 ln conftest.a conftest.b 2>&5 || hard_links=no
8739 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8741 $as_echo "$hard_links" >&6; }
8742 if test "$hard_links" = no; then
8743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8744 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8745 need_locks=warn
8747 else
8748 need_locks=no
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8757 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8759 runpath_var=
8760 allow_undefined_flag=
8761 always_export_symbols=no
8762 archive_cmds=
8763 archive_expsym_cmds=
8764 compiler_needs_object=no
8765 enable_shared_with_static_runtimes=no
8766 export_dynamic_flag_spec=
8767 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8768 hardcode_automatic=no
8769 hardcode_direct=no
8770 hardcode_direct_absolute=no
8771 hardcode_libdir_flag_spec=
8772 hardcode_libdir_flag_spec_ld=
8773 hardcode_libdir_separator=
8774 hardcode_minus_L=no
8775 hardcode_shlibpath_var=unsupported
8776 inherit_rpath=no
8777 link_all_deplibs=unknown
8778 module_cmds=
8779 module_expsym_cmds=
8780 old_archive_from_new_cmds=
8781 old_archive_from_expsyms_cmds=
8782 thread_safe_flag_spec=
8783 whole_archive_flag_spec=
8784 # include_expsyms should be a list of space-separated symbols to be *always*
8785 # included in the symbol list
8786 include_expsyms=
8787 # exclude_expsyms can be an extended regexp of symbols to exclude
8788 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8789 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8790 # as well as any symbol that contains `d'.
8791 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8792 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8793 # platforms (ab)use it in PIC code, but their linkers get confused if
8794 # the symbol is explicitly referenced. Since portable code cannot
8795 # rely on this symbol name, it's probably fine to never include it in
8796 # preloaded symbol tables.
8797 # Exclude shared library initialization/finalization symbols.
8798 extract_expsyms_cmds=
8800 case $host_os in
8801 cygwin* | mingw* | pw32* | cegcc*)
8802 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8803 # When not using gcc, we currently assume that we are using
8804 # Microsoft Visual C++.
8805 if test "$GCC" != yes; then
8806 with_gnu_ld=no
8809 interix*)
8810 # we just hope/assume this is gcc and not c89 (= MSVC++)
8811 with_gnu_ld=yes
8813 openbsd*)
8814 with_gnu_ld=no
8816 esac
8818 ld_shlibs=yes
8820 # On some targets, GNU ld is compatible enough with the native linker
8821 # that we're better off using the native interface for both.
8822 lt_use_gnu_ld_interface=no
8823 if test "$with_gnu_ld" = yes; then
8824 case $host_os in
8825 aix*)
8826 # The AIX port of GNU ld has always aspired to compatibility
8827 # with the native linker. However, as the warning in the GNU ld
8828 # block says, versions before 2.19.5* couldn't really create working
8829 # shared libraries, regardless of the interface used.
8830 case `$LD -v 2>&1` in
8831 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8832 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8833 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8835 lt_use_gnu_ld_interface=yes
8837 esac
8840 lt_use_gnu_ld_interface=yes
8842 esac
8845 if test "$lt_use_gnu_ld_interface" = yes; then
8846 # If archive_cmds runs LD, not CC, wlarc should be empty
8847 wlarc='${wl}'
8849 # Set some defaults for GNU ld with shared library support. These
8850 # are reset later if shared libraries are not supported. Putting them
8851 # here allows them to be overridden if necessary.
8852 runpath_var=LD_RUN_PATH
8853 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8854 export_dynamic_flag_spec='${wl}--export-dynamic'
8855 # ancient GNU ld didn't support --whole-archive et. al.
8856 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8857 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8858 else
8859 whole_archive_flag_spec=
8861 supports_anon_versioning=no
8862 case `$LD -v 2>&1` in
8863 *GNU\ gold*) supports_anon_versioning=yes ;;
8864 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8865 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8866 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8867 *\ 2.11.*) ;; # other 2.11 versions
8868 *) supports_anon_versioning=yes ;;
8869 esac
8871 # See if GNU ld supports shared libraries.
8872 case $host_os in
8873 aix[3-9]*)
8874 # On AIX/PPC, the GNU linker is very broken
8875 if test "$host_cpu" != ia64; then
8876 ld_shlibs=no
8877 cat <<_LT_EOF 1>&2
8879 *** Warning: the GNU linker, at least up to release 2.19, is reported
8880 *** to be unable to reliably create shared libraries on AIX.
8881 *** Therefore, libtool is disabling shared libraries support. If you
8882 *** really care for shared libraries, you may want to install binutils
8883 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8884 *** You will then need to restart the configuration process.
8886 _LT_EOF
8890 amigaos*)
8891 case $host_cpu in
8892 powerpc)
8893 # see comment about AmigaOS4 .so support
8894 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8895 archive_expsym_cmds=''
8897 m68k)
8898 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)'
8899 hardcode_libdir_flag_spec='-L$libdir'
8900 hardcode_minus_L=yes
8902 esac
8905 beos*)
8906 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8907 allow_undefined_flag=unsupported
8908 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8909 # support --undefined. This deserves some investigation. FIXME
8910 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8911 else
8912 ld_shlibs=no
8916 cygwin* | mingw* | pw32* | cegcc*)
8917 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8918 # as there is no search path for DLLs.
8919 hardcode_libdir_flag_spec='-L$libdir'
8920 export_dynamic_flag_spec='${wl}--export-all-symbols'
8921 allow_undefined_flag=unsupported
8922 always_export_symbols=no
8923 enable_shared_with_static_runtimes=yes
8924 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'
8925 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8927 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8928 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8929 # If the export-symbols file already is a .def file (1st line
8930 # is EXPORTS), use it as is; otherwise, prepend...
8931 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8932 cp $export_symbols $output_objdir/$soname.def;
8933 else
8934 echo EXPORTS > $output_objdir/$soname.def;
8935 cat $export_symbols >> $output_objdir/$soname.def;
8937 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8938 else
8939 ld_shlibs=no
8943 haiku*)
8944 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8945 link_all_deplibs=yes
8948 interix[3-9]*)
8949 hardcode_direct=no
8950 hardcode_shlibpath_var=no
8951 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8952 export_dynamic_flag_spec='${wl}-E'
8953 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8954 # Instead, shared libraries are loaded at an image base (0x10000000 by
8955 # default) and relocated if they conflict, which is a slow very memory
8956 # consuming and fragmenting process. To avoid this, we pick a random,
8957 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8958 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8959 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8960 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'
8963 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8964 tmp_diet=no
8965 if test "$host_os" = linux-dietlibc; then
8966 case $cc_basename in
8967 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8968 esac
8970 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8971 && test "$tmp_diet" = no
8972 then
8973 tmp_addflag=' $pic_flag'
8974 tmp_sharedflag='-shared'
8975 case $cc_basename,$host_cpu in
8976 pgcc*) # Portland Group C compiler
8977 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'
8978 tmp_addflag=' $pic_flag'
8980 pgf77* | pgf90* | pgf95* | pgfortran*)
8981 # Portland Group f77 and f90 compilers
8982 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'
8983 tmp_addflag=' $pic_flag -Mnomain' ;;
8984 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8985 tmp_addflag=' -i_dynamic' ;;
8986 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8987 tmp_addflag=' -i_dynamic -nofor_main' ;;
8988 ifc* | ifort*) # Intel Fortran compiler
8989 tmp_addflag=' -nofor_main' ;;
8990 lf95*) # Lahey Fortran 8.1
8991 whole_archive_flag_spec=
8992 tmp_sharedflag='--shared' ;;
8993 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8994 tmp_sharedflag='-qmkshrobj'
8995 tmp_addflag= ;;
8996 nvcc*) # Cuda Compiler Driver 2.2
8997 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'
8998 compiler_needs_object=yes
9000 esac
9001 case `$CC -V 2>&1 | sed 5q` in
9002 *Sun\ C*) # Sun C 5.9
9003 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'
9004 compiler_needs_object=yes
9005 tmp_sharedflag='-G' ;;
9006 *Sun\ F*) # Sun Fortran 8.3
9007 tmp_sharedflag='-G' ;;
9008 esac
9009 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9011 if test "x$supports_anon_versioning" = xyes; then
9012 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9013 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9014 echo "local: *; };" >> $output_objdir/$libname.ver~
9015 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9018 case $cc_basename in
9019 xlf* | bgf* | bgxlf* | mpixlf*)
9020 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9021 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9022 hardcode_libdir_flag_spec=
9023 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9024 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9025 if test "x$supports_anon_versioning" = xyes; then
9026 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9027 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9028 echo "local: *; };" >> $output_objdir/$libname.ver~
9029 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9032 esac
9033 else
9034 ld_shlibs=no
9038 netbsd*)
9039 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9040 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9041 wlarc=
9042 else
9043 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9044 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9048 solaris*)
9049 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9050 ld_shlibs=no
9051 cat <<_LT_EOF 1>&2
9053 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9054 *** create shared libraries on Solaris systems. Therefore, libtool
9055 *** is disabling shared libraries support. We urge you to upgrade GNU
9056 *** binutils to release 2.9.1 or newer. Another option is to modify
9057 *** your PATH or compiler configuration so that the native linker is
9058 *** used, and then restart.
9060 _LT_EOF
9061 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9062 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9063 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9064 else
9065 ld_shlibs=no
9069 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9070 case `$LD -v 2>&1` in
9071 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9072 ld_shlibs=no
9073 cat <<_LT_EOF 1>&2
9075 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9076 *** reliably create shared libraries on SCO systems. Therefore, libtool
9077 *** is disabling shared libraries support. We urge you to upgrade GNU
9078 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9079 *** your PATH or compiler configuration so that the native linker is
9080 *** used, and then restart.
9082 _LT_EOF
9085 # For security reasons, it is highly recommended that you always
9086 # use absolute paths for naming shared libraries, and exclude the
9087 # DT_RUNPATH tag from executables and libraries. But doing so
9088 # requires that you compile everything twice, which is a pain.
9089 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9090 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9091 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9092 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9093 else
9094 ld_shlibs=no
9097 esac
9100 sunos4*)
9101 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9102 wlarc=
9103 hardcode_direct=yes
9104 hardcode_shlibpath_var=no
9108 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9109 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9110 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9111 else
9112 ld_shlibs=no
9115 esac
9117 if test "$ld_shlibs" = no; then
9118 runpath_var=
9119 hardcode_libdir_flag_spec=
9120 export_dynamic_flag_spec=
9121 whole_archive_flag_spec=
9123 else
9124 # PORTME fill in a description of your system's linker (not GNU ld)
9125 case $host_os in
9126 aix3*)
9127 allow_undefined_flag=unsupported
9128 always_export_symbols=yes
9129 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'
9130 # Note: this linker hardcodes the directories in LIBPATH if there
9131 # are no directories specified by -L.
9132 hardcode_minus_L=yes
9133 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9134 # Neither direct hardcoding nor static linking is supported with a
9135 # broken collect2.
9136 hardcode_direct=unsupported
9140 aix[4-9]*)
9141 if test "$host_cpu" = ia64; then
9142 # On IA64, the linker does run time linking by default, so we don't
9143 # have to do anything special.
9144 aix_use_runtimelinking=no
9145 exp_sym_flag='-Bexport'
9146 no_entry_flag=""
9147 else
9148 # If we're using GNU nm, then we don't want the "-C" option.
9149 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9150 # Also, AIX nm treats weak defined symbols like other global
9151 # defined symbols, whereas GNU nm marks them as "W".
9152 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9153 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'
9154 else
9155 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'
9157 aix_use_runtimelinking=no
9159 # Test if we are trying to use run time linking or normal
9160 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9161 # need to do runtime linking.
9162 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9163 for ld_flag in $LDFLAGS; do
9164 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9165 aix_use_runtimelinking=yes
9166 break
9168 done
9170 esac
9172 exp_sym_flag='-bexport'
9173 no_entry_flag='-bnoentry'
9176 # When large executables or shared objects are built, AIX ld can
9177 # have problems creating the table of contents. If linking a library
9178 # or program results in "error TOC overflow" add -mminimal-toc to
9179 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9180 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9182 archive_cmds=''
9183 hardcode_direct=yes
9184 hardcode_direct_absolute=yes
9185 hardcode_libdir_separator=':'
9186 link_all_deplibs=yes
9187 file_list_spec='${wl}-f,'
9189 if test "$GCC" = yes; then
9190 case $host_os in aix4.[012]|aix4.[012].*)
9191 # We only want to do this on AIX 4.2 and lower, the check
9192 # below for broken collect2 doesn't work under 4.3+
9193 collect2name=`${CC} -print-prog-name=collect2`
9194 if test -f "$collect2name" &&
9195 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9196 then
9197 # We have reworked collect2
9199 else
9200 # We have old collect2
9201 hardcode_direct=unsupported
9202 # It fails to find uninstalled libraries when the uninstalled
9203 # path is not listed in the libpath. Setting hardcode_minus_L
9204 # to unsupported forces relinking
9205 hardcode_minus_L=yes
9206 hardcode_libdir_flag_spec='-L$libdir'
9207 hardcode_libdir_separator=
9210 esac
9211 shared_flag='-shared'
9212 if test "$aix_use_runtimelinking" = yes; then
9213 shared_flag="$shared_flag "'${wl}-G'
9215 else
9216 # not using gcc
9217 if test "$host_cpu" = ia64; then
9218 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9219 # chokes on -Wl,-G. The following line is correct:
9220 shared_flag='-G'
9221 else
9222 if test "$aix_use_runtimelinking" = yes; then
9223 shared_flag='${wl}-G'
9224 else
9225 shared_flag='${wl}-bM:SRE'
9230 export_dynamic_flag_spec='${wl}-bexpall'
9231 # It seems that -bexpall does not export symbols beginning with
9232 # underscore (_), so it is better to generate a list of symbols to export.
9233 always_export_symbols=yes
9234 if test "$aix_use_runtimelinking" = yes; then
9235 # Warning - without using the other runtime loading flags (-brtl),
9236 # -berok will link without error, but may produce a broken library.
9237 allow_undefined_flag='-berok'
9238 # Determine the default libpath from the value encoded in an
9239 # empty executable.
9240 if test "${lt_cv_aix_libpath+set}" = set; then
9241 aix_libpath=$lt_cv_aix_libpath
9242 else
9243 if ${lt_cv_aix_libpath_+:} false; then :
9244 $as_echo_n "(cached) " >&6
9245 else
9246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9247 /* end confdefs.h. */
9250 main ()
9254 return 0;
9256 _ACEOF
9257 if ac_fn_c_try_link "$LINENO"; then :
9259 lt_aix_libpath_sed='
9260 /Import File Strings/,/^$/ {
9261 /^0/ {
9262 s/^0 *\([^ ]*\) *$/\1/
9266 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9267 # Check for a 64-bit object if we didn't find anything.
9268 if test -z "$lt_cv_aix_libpath_"; then
9269 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9272 rm -f core conftest.err conftest.$ac_objext \
9273 conftest$ac_exeext conftest.$ac_ext
9274 if test -z "$lt_cv_aix_libpath_"; then
9275 lt_cv_aix_libpath_="/usr/lib:/lib"
9280 aix_libpath=$lt_cv_aix_libpath_
9283 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9284 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"
9285 else
9286 if test "$host_cpu" = ia64; then
9287 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9288 allow_undefined_flag="-z nodefs"
9289 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"
9290 else
9291 # Determine the default libpath from the value encoded in an
9292 # empty executable.
9293 if test "${lt_cv_aix_libpath+set}" = set; then
9294 aix_libpath=$lt_cv_aix_libpath
9295 else
9296 if ${lt_cv_aix_libpath_+:} false; then :
9297 $as_echo_n "(cached) " >&6
9298 else
9299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9300 /* end confdefs.h. */
9303 main ()
9307 return 0;
9309 _ACEOF
9310 if ac_fn_c_try_link "$LINENO"; then :
9312 lt_aix_libpath_sed='
9313 /Import File Strings/,/^$/ {
9314 /^0/ {
9315 s/^0 *\([^ ]*\) *$/\1/
9319 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9320 # Check for a 64-bit object if we didn't find anything.
9321 if test -z "$lt_cv_aix_libpath_"; then
9322 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9325 rm -f core conftest.err conftest.$ac_objext \
9326 conftest$ac_exeext conftest.$ac_ext
9327 if test -z "$lt_cv_aix_libpath_"; then
9328 lt_cv_aix_libpath_="/usr/lib:/lib"
9333 aix_libpath=$lt_cv_aix_libpath_
9336 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9337 # Warning - without using the other run time loading flags,
9338 # -berok will link without error, but may produce a broken library.
9339 no_undefined_flag=' ${wl}-bernotok'
9340 allow_undefined_flag=' ${wl}-berok'
9341 if test "$with_gnu_ld" = yes; then
9342 # We only use this code for GNU lds that support --whole-archive.
9343 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9344 else
9345 # Exported symbols can be pulled into shared objects from archives
9346 whole_archive_flag_spec='$convenience'
9348 archive_cmds_need_lc=yes
9349 # This is similar to how AIX traditionally builds its shared libraries.
9350 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9355 amigaos*)
9356 case $host_cpu in
9357 powerpc)
9358 # see comment about AmigaOS4 .so support
9359 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9360 archive_expsym_cmds=''
9362 m68k)
9363 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)'
9364 hardcode_libdir_flag_spec='-L$libdir'
9365 hardcode_minus_L=yes
9367 esac
9370 bsdi[45]*)
9371 export_dynamic_flag_spec=-rdynamic
9374 cygwin* | mingw* | pw32* | cegcc*)
9375 # When not using gcc, we currently assume that we are using
9376 # Microsoft Visual C++.
9377 # hardcode_libdir_flag_spec is actually meaningless, as there is
9378 # no search path for DLLs.
9379 case $cc_basename in
9380 cl*)
9381 # Native MSVC
9382 hardcode_libdir_flag_spec=' '
9383 allow_undefined_flag=unsupported
9384 always_export_symbols=yes
9385 file_list_spec='@'
9386 # Tell ltmain to make .lib files, not .a files.
9387 libext=lib
9388 # Tell ltmain to make .dll files, not .so files.
9389 shrext_cmds=".dll"
9390 # FIXME: Setting linknames here is a bad hack.
9391 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9392 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9393 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9394 else
9395 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9397 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9398 linknames='
9399 # The linker will not automatically build a static lib if we build a DLL.
9400 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9401 enable_shared_with_static_runtimes=yes
9402 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9403 # Don't use ranlib
9404 old_postinstall_cmds='chmod 644 $oldlib'
9405 postlink_cmds='lt_outputfile="@OUTPUT@"~
9406 lt_tool_outputfile="@TOOL_OUTPUT@"~
9407 case $lt_outputfile in
9408 *.exe|*.EXE) ;;
9410 lt_outputfile="$lt_outputfile.exe"
9411 lt_tool_outputfile="$lt_tool_outputfile.exe"
9413 esac~
9414 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9415 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9416 $RM "$lt_outputfile.manifest";
9420 # Assume MSVC wrapper
9421 hardcode_libdir_flag_spec=' '
9422 allow_undefined_flag=unsupported
9423 # Tell ltmain to make .lib files, not .a files.
9424 libext=lib
9425 # Tell ltmain to make .dll files, not .so files.
9426 shrext_cmds=".dll"
9427 # FIXME: Setting linknames here is a bad hack.
9428 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9429 # The linker will automatically build a .lib file if we build a DLL.
9430 old_archive_from_new_cmds='true'
9431 # FIXME: Should let the user specify the lib program.
9432 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9433 enable_shared_with_static_runtimes=yes
9435 esac
9438 darwin* | rhapsody*)
9441 archive_cmds_need_lc=no
9442 hardcode_direct=no
9443 hardcode_automatic=yes
9444 hardcode_shlibpath_var=unsupported
9445 if test "$lt_cv_ld_force_load" = "yes"; then
9446 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\"`'
9447 else
9448 whole_archive_flag_spec=''
9450 link_all_deplibs=yes
9451 allow_undefined_flag="$_lt_dar_allow_undefined"
9452 case $cc_basename in
9453 ifort*) _lt_dar_can_shared=yes ;;
9454 *) _lt_dar_can_shared=$GCC ;;
9455 esac
9456 if test "$_lt_dar_can_shared" = "yes"; then
9457 output_verbose_link_cmd=func_echo_all
9458 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9459 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9460 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}"
9461 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}"
9463 else
9464 ld_shlibs=no
9469 dgux*)
9470 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9471 hardcode_libdir_flag_spec='-L$libdir'
9472 hardcode_shlibpath_var=no
9475 freebsd1*)
9476 ld_shlibs=no
9479 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9480 # support. Future versions do this automatically, but an explicit c++rt0.o
9481 # does not break anything, and helps significantly (at the cost of a little
9482 # extra space).
9483 freebsd2.2*)
9484 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9485 hardcode_libdir_flag_spec='-R$libdir'
9486 hardcode_direct=yes
9487 hardcode_shlibpath_var=no
9490 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9491 freebsd2*)
9492 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9493 hardcode_direct=yes
9494 hardcode_minus_L=yes
9495 hardcode_shlibpath_var=no
9498 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9499 freebsd* | dragonfly*)
9500 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9501 hardcode_libdir_flag_spec='-R$libdir'
9502 hardcode_direct=yes
9503 hardcode_shlibpath_var=no
9506 hpux9*)
9507 if test "$GCC" = yes; then
9508 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'
9509 else
9510 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'
9512 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9513 hardcode_libdir_separator=:
9514 hardcode_direct=yes
9516 # hardcode_minus_L: Not really in the search PATH,
9517 # but as the default location of the library.
9518 hardcode_minus_L=yes
9519 export_dynamic_flag_spec='${wl}-E'
9522 hpux10*)
9523 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9524 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9525 else
9526 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9528 if test "$with_gnu_ld" = no; then
9529 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9530 hardcode_libdir_flag_spec_ld='+b $libdir'
9531 hardcode_libdir_separator=:
9532 hardcode_direct=yes
9533 hardcode_direct_absolute=yes
9534 export_dynamic_flag_spec='${wl}-E'
9535 # hardcode_minus_L: Not really in the search PATH,
9536 # but as the default location of the library.
9537 hardcode_minus_L=yes
9541 hpux11*)
9542 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9543 case $host_cpu in
9544 hppa*64*)
9545 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9547 ia64*)
9548 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9551 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9553 esac
9554 else
9555 case $host_cpu in
9556 hppa*64*)
9557 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9559 ia64*)
9560 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9564 # Older versions of the 11.00 compiler do not understand -b yet
9565 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9567 $as_echo_n "checking if $CC understands -b... " >&6; }
9568 if ${lt_cv_prog_compiler__b+:} false; then :
9569 $as_echo_n "(cached) " >&6
9570 else
9571 lt_cv_prog_compiler__b=no
9572 save_LDFLAGS="$LDFLAGS"
9573 LDFLAGS="$LDFLAGS -b"
9574 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9575 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9576 # The linker can only warn and ignore the option if not recognized
9577 # So say no if there are warnings
9578 if test -s conftest.err; then
9579 # Append any errors to the config.log.
9580 cat conftest.err 1>&5
9581 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9582 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9583 if diff conftest.exp conftest.er2 >/dev/null; then
9584 lt_cv_prog_compiler__b=yes
9586 else
9587 lt_cv_prog_compiler__b=yes
9590 $RM -r conftest*
9591 LDFLAGS="$save_LDFLAGS"
9594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9595 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9597 if test x"$lt_cv_prog_compiler__b" = xyes; then
9598 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9599 else
9600 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9604 esac
9606 if test "$with_gnu_ld" = no; then
9607 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9608 hardcode_libdir_separator=:
9610 case $host_cpu in
9611 hppa*64*|ia64*)
9612 hardcode_direct=no
9613 hardcode_shlibpath_var=no
9616 hardcode_direct=yes
9617 hardcode_direct_absolute=yes
9618 export_dynamic_flag_spec='${wl}-E'
9620 # hardcode_minus_L: Not really in the search PATH,
9621 # but as the default location of the library.
9622 hardcode_minus_L=yes
9624 esac
9628 irix5* | irix6* | nonstopux*)
9629 if test "$GCC" = yes; then
9630 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'
9631 # Try to use the -exported_symbol ld option, if it does not
9632 # work, assume that -exports_file does not work either and
9633 # implicitly export all symbols.
9634 # This should be the same for all languages, so no per-tag cache variable.
9635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9636 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9637 if ${lt_cv_irix_exported_symbol+:} false; then :
9638 $as_echo_n "(cached) " >&6
9639 else
9640 save_LDFLAGS="$LDFLAGS"
9641 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9643 /* end confdefs.h. */
9644 int foo (void) { return 0; }
9645 _ACEOF
9646 if ac_fn_c_try_link "$LINENO"; then :
9647 lt_cv_irix_exported_symbol=yes
9648 else
9649 lt_cv_irix_exported_symbol=no
9651 rm -f core conftest.err conftest.$ac_objext \
9652 conftest$ac_exeext conftest.$ac_ext
9653 LDFLAGS="$save_LDFLAGS"
9655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9656 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9657 if test "$lt_cv_irix_exported_symbol" = yes; then
9658 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'
9660 else
9661 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'
9662 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'
9664 archive_cmds_need_lc='no'
9665 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9666 hardcode_libdir_separator=:
9667 inherit_rpath=yes
9668 link_all_deplibs=yes
9671 netbsd*)
9672 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9673 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9674 else
9675 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9677 hardcode_libdir_flag_spec='-R$libdir'
9678 hardcode_direct=yes
9679 hardcode_shlibpath_var=no
9682 newsos6)
9683 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9684 hardcode_direct=yes
9685 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9686 hardcode_libdir_separator=:
9687 hardcode_shlibpath_var=no
9690 *nto* | *qnx*)
9693 openbsd*)
9694 if test -f /usr/libexec/ld.so; then
9695 hardcode_direct=yes
9696 hardcode_shlibpath_var=no
9697 hardcode_direct_absolute=yes
9698 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9699 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9700 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9701 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9702 export_dynamic_flag_spec='${wl}-E'
9703 else
9704 case $host_os in
9705 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9706 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9707 hardcode_libdir_flag_spec='-R$libdir'
9710 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9711 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9713 esac
9715 else
9716 ld_shlibs=no
9720 os2*)
9721 hardcode_libdir_flag_spec='-L$libdir'
9722 hardcode_minus_L=yes
9723 allow_undefined_flag=unsupported
9724 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'
9725 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9728 osf3*)
9729 if test "$GCC" = yes; then
9730 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9731 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'
9732 else
9733 allow_undefined_flag=' -expect_unresolved \*'
9734 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'
9736 archive_cmds_need_lc='no'
9737 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9738 hardcode_libdir_separator=:
9741 osf4* | osf5*) # as osf3* with the addition of -msym flag
9742 if test "$GCC" = yes; then
9743 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9744 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'
9745 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9746 else
9747 allow_undefined_flag=' -expect_unresolved \*'
9748 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'
9749 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~
9750 $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'
9752 # Both c and cxx compiler support -rpath directly
9753 hardcode_libdir_flag_spec='-rpath $libdir'
9755 archive_cmds_need_lc='no'
9756 hardcode_libdir_separator=:
9759 solaris*)
9760 no_undefined_flag=' -z defs'
9761 if test "$GCC" = yes; then
9762 wlarc='${wl}'
9763 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9764 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9765 $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'
9766 else
9767 case `$CC -V 2>&1` in
9768 *"Compilers 5.0"*)
9769 wlarc=''
9770 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9771 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9772 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9775 wlarc='${wl}'
9776 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9777 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9778 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9780 esac
9782 hardcode_libdir_flag_spec='-R$libdir'
9783 hardcode_shlibpath_var=no
9784 case $host_os in
9785 solaris2.[0-5] | solaris2.[0-5].*) ;;
9787 # The compiler driver will combine and reorder linker options,
9788 # but understands `-z linker_flag'. GCC discards it without `$wl',
9789 # but is careful enough not to reorder.
9790 # Supported since Solaris 2.6 (maybe 2.5.1?)
9791 if test "$GCC" = yes; then
9792 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9793 else
9794 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9797 esac
9798 link_all_deplibs=yes
9801 sunos4*)
9802 if test "x$host_vendor" = xsequent; then
9803 # Use $CC to link under sequent, because it throws in some extra .o
9804 # files that make .init and .fini sections work.
9805 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9806 else
9807 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9809 hardcode_libdir_flag_spec='-L$libdir'
9810 hardcode_direct=yes
9811 hardcode_minus_L=yes
9812 hardcode_shlibpath_var=no
9815 sysv4)
9816 case $host_vendor in
9817 sni)
9818 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9819 hardcode_direct=yes # is this really true???
9821 siemens)
9822 ## LD is ld it makes a PLAMLIB
9823 ## CC just makes a GrossModule.
9824 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9825 reload_cmds='$CC -r -o $output$reload_objs'
9826 hardcode_direct=no
9828 motorola)
9829 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9830 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9832 esac
9833 runpath_var='LD_RUN_PATH'
9834 hardcode_shlibpath_var=no
9837 sysv4.3*)
9838 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9839 hardcode_shlibpath_var=no
9840 export_dynamic_flag_spec='-Bexport'
9843 sysv4*MP*)
9844 if test -d /usr/nec; then
9845 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9846 hardcode_shlibpath_var=no
9847 runpath_var=LD_RUN_PATH
9848 hardcode_runpath_var=yes
9849 ld_shlibs=yes
9853 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9854 no_undefined_flag='${wl}-z,text'
9855 archive_cmds_need_lc=no
9856 hardcode_shlibpath_var=no
9857 runpath_var='LD_RUN_PATH'
9859 if test "$GCC" = yes; then
9860 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9861 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9862 else
9863 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9864 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9868 sysv5* | sco3.2v5* | sco5v6*)
9869 # Note: We can NOT use -z defs as we might desire, because we do not
9870 # link with -lc, and that would cause any symbols used from libc to
9871 # always be unresolved, which means just about no library would
9872 # ever link correctly. If we're not using GNU ld we use -z text
9873 # though, which does catch some bad symbols but isn't as heavy-handed
9874 # as -z defs.
9875 no_undefined_flag='${wl}-z,text'
9876 allow_undefined_flag='${wl}-z,nodefs'
9877 archive_cmds_need_lc=no
9878 hardcode_shlibpath_var=no
9879 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9880 hardcode_libdir_separator=':'
9881 link_all_deplibs=yes
9882 export_dynamic_flag_spec='${wl}-Bexport'
9883 runpath_var='LD_RUN_PATH'
9885 if test "$GCC" = yes; then
9886 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9887 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9888 else
9889 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9890 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9894 uts4*)
9895 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9896 hardcode_libdir_flag_spec='-L$libdir'
9897 hardcode_shlibpath_var=no
9901 ld_shlibs=no
9903 esac
9905 if test x$host_vendor = xsni; then
9906 case $host in
9907 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9908 export_dynamic_flag_spec='${wl}-Blargedynsym'
9910 esac
9914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9915 $as_echo "$ld_shlibs" >&6; }
9916 test "$ld_shlibs" = no && can_build_shared=no
9918 with_gnu_ld=$with_gnu_ld
9935 # Do we need to explicitly link libc?
9937 case "x$archive_cmds_need_lc" in
9938 x|xyes)
9939 # Assume -lc should be added
9940 archive_cmds_need_lc=yes
9942 if test "$enable_shared" = yes && test "$GCC" = yes; then
9943 case $archive_cmds in
9944 *'~'*)
9945 # FIXME: we may have to deal with multi-command sequences.
9947 '$CC '*)
9948 # Test whether the compiler implicitly links with -lc since on some
9949 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9950 # to ld, don't add -lc before -lgcc.
9951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9952 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9953 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9954 $as_echo_n "(cached) " >&6
9955 else
9956 $RM conftest*
9957 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9959 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9960 (eval $ac_compile) 2>&5
9961 ac_status=$?
9962 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9963 test $ac_status = 0; } 2>conftest.err; then
9964 soname=conftest
9965 lib=conftest
9966 libobjs=conftest.$ac_objext
9967 deplibs=
9968 wl=$lt_prog_compiler_wl
9969 pic_flag=$lt_prog_compiler_pic
9970 compiler_flags=-v
9971 linker_flags=-v
9972 verstring=
9973 output_objdir=.
9974 libname=conftest
9975 lt_save_allow_undefined_flag=$allow_undefined_flag
9976 allow_undefined_flag=
9977 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9978 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9979 ac_status=$?
9980 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9981 test $ac_status = 0; }
9982 then
9983 lt_cv_archive_cmds_need_lc=no
9984 else
9985 lt_cv_archive_cmds_need_lc=yes
9987 allow_undefined_flag=$lt_save_allow_undefined_flag
9988 else
9989 cat conftest.err 1>&5
9991 $RM conftest*
9994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9995 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9996 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9998 esac
10001 esac
10159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10160 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10162 if test "$GCC" = yes; then
10163 case $host_os in
10164 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10165 *) lt_awk_arg="/^libraries:/" ;;
10166 esac
10167 case $host_os in
10168 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10169 *) lt_sed_strip_eq="s,=/,/,g" ;;
10170 esac
10171 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10172 case $lt_search_path_spec in
10173 *\;*)
10174 # if the path contains ";" then we assume it to be the separator
10175 # otherwise default to the standard path separator (i.e. ":") - it is
10176 # assumed that no part of a normal pathname contains ";" but that should
10177 # okay in the real world where ";" in dirpaths is itself problematic.
10178 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10181 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10183 esac
10184 # Ok, now we have the path, separated by spaces, we can step through it
10185 # and add multilib dir if necessary.
10186 lt_tmp_lt_search_path_spec=
10187 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10188 for lt_sys_path in $lt_search_path_spec; do
10189 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10190 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10191 else
10192 test -d "$lt_sys_path" && \
10193 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10195 done
10196 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10197 BEGIN {RS=" "; FS="/|\n";} {
10198 lt_foo="";
10199 lt_count=0;
10200 for (lt_i = NF; lt_i > 0; lt_i--) {
10201 if ($lt_i != "" && $lt_i != ".") {
10202 if ($lt_i == "..") {
10203 lt_count++;
10204 } else {
10205 if (lt_count == 0) {
10206 lt_foo="/" $lt_i lt_foo;
10207 } else {
10208 lt_count--;
10213 if (lt_foo != "") { lt_freq[lt_foo]++; }
10214 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10216 # AWK program above erroneously prepends '/' to C:/dos/paths
10217 # for these hosts.
10218 case $host_os in
10219 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10220 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10221 esac
10222 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10223 else
10224 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10226 library_names_spec=
10227 libname_spec='lib$name'
10228 soname_spec=
10229 shrext_cmds=".so"
10230 postinstall_cmds=
10231 postuninstall_cmds=
10232 finish_cmds=
10233 finish_eval=
10234 shlibpath_var=
10235 shlibpath_overrides_runpath=unknown
10236 version_type=none
10237 dynamic_linker="$host_os ld.so"
10238 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10239 need_lib_prefix=unknown
10240 hardcode_into_libs=no
10242 # when you set need_version to no, make sure it does not cause -set_version
10243 # flags to be left without arguments
10244 need_version=unknown
10246 case $host_os in
10247 aix3*)
10248 version_type=linux
10249 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10250 shlibpath_var=LIBPATH
10252 # AIX 3 has no versioning support, so we append a major version to the name.
10253 soname_spec='${libname}${release}${shared_ext}$major'
10256 aix[4-9]*)
10257 version_type=linux
10258 need_lib_prefix=no
10259 need_version=no
10260 hardcode_into_libs=yes
10261 if test "$host_cpu" = ia64; then
10262 # AIX 5 supports IA64
10263 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10264 shlibpath_var=LD_LIBRARY_PATH
10265 else
10266 # With GCC up to 2.95.x, collect2 would create an import file
10267 # for dependence libraries. The import file would start with
10268 # the line `#! .'. This would cause the generated library to
10269 # depend on `.', always an invalid library. This was fixed in
10270 # development snapshots of GCC prior to 3.0.
10271 case $host_os in
10272 aix4 | aix4.[01] | aix4.[01].*)
10273 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10274 echo ' yes '
10275 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10277 else
10278 can_build_shared=no
10281 esac
10282 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10283 # soname into executable. Probably we can add versioning support to
10284 # collect2, so additional links can be useful in future.
10285 if test "$aix_use_runtimelinking" = yes; then
10286 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10287 # instead of lib<name>.a to let people know that these are not
10288 # typical AIX shared libraries.
10289 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10290 else
10291 # We preserve .a as extension for shared libraries through AIX4.2
10292 # and later when we are not doing run time linking.
10293 library_names_spec='${libname}${release}.a $libname.a'
10294 soname_spec='${libname}${release}${shared_ext}$major'
10296 shlibpath_var=LIBPATH
10300 amigaos*)
10301 case $host_cpu in
10302 powerpc)
10303 # Since July 2007 AmigaOS4 officially supports .so libraries.
10304 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10305 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10307 m68k)
10308 library_names_spec='$libname.ixlibrary $libname.a'
10309 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10310 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'
10312 esac
10315 beos*)
10316 library_names_spec='${libname}${shared_ext}'
10317 dynamic_linker="$host_os ld.so"
10318 shlibpath_var=LIBRARY_PATH
10321 bsdi[45]*)
10322 version_type=linux
10323 need_version=no
10324 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10325 soname_spec='${libname}${release}${shared_ext}$major'
10326 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10327 shlibpath_var=LD_LIBRARY_PATH
10328 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10329 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10330 # the default ld.so.conf also contains /usr/contrib/lib and
10331 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10332 # libtool to hard-code these into programs
10335 cygwin* | mingw* | pw32* | cegcc*)
10336 version_type=windows
10337 shrext_cmds=".dll"
10338 need_version=no
10339 need_lib_prefix=no
10341 case $GCC,$cc_basename in
10342 yes,*)
10343 # gcc
10344 library_names_spec='$libname.dll.a'
10345 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10346 postinstall_cmds='base_file=`basename \${file}`~
10347 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10348 dldir=$destdir/`dirname \$dlpath`~
10349 test -d \$dldir || mkdir -p \$dldir~
10350 $install_prog $dir/$dlname \$dldir/$dlname~
10351 chmod a+x \$dldir/$dlname~
10352 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10353 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10355 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10356 dlpath=$dir/\$dldll~
10357 $RM \$dlpath'
10358 shlibpath_overrides_runpath=yes
10360 case $host_os in
10361 cygwin*)
10362 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10363 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10365 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10367 mingw* | cegcc*)
10368 # MinGW DLLs use traditional 'lib' prefix
10369 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10371 pw32*)
10372 # pw32 DLLs use 'pw' prefix rather than 'lib'
10373 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10375 esac
10376 dynamic_linker='Win32 ld.exe'
10379 *,cl*)
10380 # Native MSVC
10381 libname_spec='$name'
10382 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10383 library_names_spec='${libname}.dll.lib'
10385 case $build_os in
10386 mingw*)
10387 sys_lib_search_path_spec=
10388 lt_save_ifs=$IFS
10389 IFS=';'
10390 for lt_path in $LIB
10392 IFS=$lt_save_ifs
10393 # Let DOS variable expansion print the short 8.3 style file name.
10394 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10395 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10396 done
10397 IFS=$lt_save_ifs
10398 # Convert to MSYS style.
10399 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10401 cygwin*)
10402 # Convert to unix form, then to dos form, then back to unix form
10403 # but this time dos style (no spaces!) so that the unix form looks
10404 # like /cygdrive/c/PROGRA~1:/cygdr...
10405 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10406 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10407 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10410 sys_lib_search_path_spec="$LIB"
10411 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10412 # It is most probably a Windows format PATH.
10413 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10414 else
10415 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10417 # FIXME: find the short name or the path components, as spaces are
10418 # common. (e.g. "Program Files" -> "PROGRA~1")
10420 esac
10422 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10423 postinstall_cmds='base_file=`basename \${file}`~
10424 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10425 dldir=$destdir/`dirname \$dlpath`~
10426 test -d \$dldir || mkdir -p \$dldir~
10427 $install_prog $dir/$dlname \$dldir/$dlname'
10428 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10429 dlpath=$dir/\$dldll~
10430 $RM \$dlpath'
10431 shlibpath_overrides_runpath=yes
10432 dynamic_linker='Win32 link.exe'
10436 # Assume MSVC wrapper
10437 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10438 dynamic_linker='Win32 ld.exe'
10440 esac
10441 # FIXME: first we should search . and the directory the executable is in
10442 shlibpath_var=PATH
10445 darwin* | rhapsody*)
10446 dynamic_linker="$host_os dyld"
10447 version_type=darwin
10448 need_lib_prefix=no
10449 need_version=no
10450 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10451 soname_spec='${libname}${release}${major}$shared_ext'
10452 shlibpath_overrides_runpath=yes
10453 shlibpath_var=DYLD_LIBRARY_PATH
10454 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10456 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10457 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10460 dgux*)
10461 version_type=linux
10462 need_lib_prefix=no
10463 need_version=no
10464 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10465 soname_spec='${libname}${release}${shared_ext}$major'
10466 shlibpath_var=LD_LIBRARY_PATH
10469 freebsd1*)
10470 dynamic_linker=no
10473 freebsd* | dragonfly*)
10474 # DragonFly does not have aout. When/if they implement a new
10475 # versioning mechanism, adjust this.
10476 if test -x /usr/bin/objformat; then
10477 objformat=`/usr/bin/objformat`
10478 else
10479 case $host_os in
10480 freebsd[123]*) objformat=aout ;;
10481 *) objformat=elf ;;
10482 esac
10484 version_type=freebsd-$objformat
10485 case $version_type in
10486 freebsd-elf*)
10487 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10488 need_version=no
10489 need_lib_prefix=no
10491 freebsd-*)
10492 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10493 need_version=yes
10495 esac
10496 shlibpath_var=LD_LIBRARY_PATH
10497 case $host_os in
10498 freebsd2*)
10499 shlibpath_overrides_runpath=yes
10501 freebsd3.[01]* | freebsdelf3.[01]*)
10502 shlibpath_overrides_runpath=yes
10503 hardcode_into_libs=yes
10505 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10506 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10507 shlibpath_overrides_runpath=no
10508 hardcode_into_libs=yes
10510 *) # from 4.6 on, and DragonFly
10511 shlibpath_overrides_runpath=yes
10512 hardcode_into_libs=yes
10514 esac
10517 gnu*)
10518 version_type=linux
10519 need_lib_prefix=no
10520 need_version=no
10521 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10522 soname_spec='${libname}${release}${shared_ext}$major'
10523 shlibpath_var=LD_LIBRARY_PATH
10524 hardcode_into_libs=yes
10527 haiku*)
10528 version_type=linux
10529 need_lib_prefix=no
10530 need_version=no
10531 dynamic_linker="$host_os runtime_loader"
10532 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10533 soname_spec='${libname}${release}${shared_ext}$major'
10534 shlibpath_var=LIBRARY_PATH
10535 shlibpath_overrides_runpath=yes
10536 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10537 hardcode_into_libs=yes
10540 hpux9* | hpux10* | hpux11*)
10541 # Give a soname corresponding to the major version so that dld.sl refuses to
10542 # link against other versions.
10543 version_type=sunos
10544 need_lib_prefix=no
10545 need_version=no
10546 case $host_cpu in
10547 ia64*)
10548 shrext_cmds='.so'
10549 hardcode_into_libs=yes
10550 dynamic_linker="$host_os dld.so"
10551 shlibpath_var=LD_LIBRARY_PATH
10552 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10553 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10554 soname_spec='${libname}${release}${shared_ext}$major'
10555 if test "X$HPUX_IA64_MODE" = X32; then
10556 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10557 else
10558 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10560 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10562 hppa*64*)
10563 shrext_cmds='.sl'
10564 hardcode_into_libs=yes
10565 dynamic_linker="$host_os dld.sl"
10566 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10567 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10568 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10569 soname_spec='${libname}${release}${shared_ext}$major'
10570 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10571 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10574 shrext_cmds='.sl'
10575 dynamic_linker="$host_os dld.sl"
10576 shlibpath_var=SHLIB_PATH
10577 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10578 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10579 soname_spec='${libname}${release}${shared_ext}$major'
10581 esac
10582 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10583 postinstall_cmds='chmod 555 $lib'
10584 # or fails outright, so override atomically:
10585 install_override_mode=555
10588 interix[3-9]*)
10589 version_type=linux
10590 need_lib_prefix=no
10591 need_version=no
10592 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10593 soname_spec='${libname}${release}${shared_ext}$major'
10594 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10595 shlibpath_var=LD_LIBRARY_PATH
10596 shlibpath_overrides_runpath=no
10597 hardcode_into_libs=yes
10600 irix5* | irix6* | nonstopux*)
10601 case $host_os in
10602 nonstopux*) version_type=nonstopux ;;
10604 if test "$lt_cv_prog_gnu_ld" = yes; then
10605 version_type=linux
10606 else
10607 version_type=irix
10608 fi ;;
10609 esac
10610 need_lib_prefix=no
10611 need_version=no
10612 soname_spec='${libname}${release}${shared_ext}$major'
10613 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10614 case $host_os in
10615 irix5* | nonstopux*)
10616 libsuff= shlibsuff=
10619 case $LD in # libtool.m4 will add one of these switches to LD
10620 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10621 libsuff= shlibsuff= libmagic=32-bit;;
10622 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10623 libsuff=32 shlibsuff=N32 libmagic=N32;;
10624 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10625 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10626 *) libsuff= shlibsuff= libmagic=never-match;;
10627 esac
10629 esac
10630 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10631 shlibpath_overrides_runpath=no
10632 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10633 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10634 hardcode_into_libs=yes
10637 # No shared lib support for Linux oldld, aout, or coff.
10638 linux*oldld* | linux*aout* | linux*coff*)
10639 dynamic_linker=no
10642 # This must be Linux ELF.
10643 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10644 version_type=linux
10645 need_lib_prefix=no
10646 need_version=no
10647 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10648 soname_spec='${libname}${release}${shared_ext}$major'
10649 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10650 shlibpath_var=LD_LIBRARY_PATH
10651 shlibpath_overrides_runpath=no
10653 # Some binutils ld are patched to set DT_RUNPATH
10654 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10655 $as_echo_n "(cached) " >&6
10656 else
10657 lt_cv_shlibpath_overrides_runpath=no
10658 save_LDFLAGS=$LDFLAGS
10659 save_libdir=$libdir
10660 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10661 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10663 /* end confdefs.h. */
10666 main ()
10670 return 0;
10672 _ACEOF
10673 if ac_fn_c_try_link "$LINENO"; then :
10674 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10675 lt_cv_shlibpath_overrides_runpath=yes
10678 rm -f core conftest.err conftest.$ac_objext \
10679 conftest$ac_exeext conftest.$ac_ext
10680 LDFLAGS=$save_LDFLAGS
10681 libdir=$save_libdir
10685 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10687 # This implies no fast_install, which is unacceptable.
10688 # Some rework will be needed to allow for fast_install
10689 # before this can be enabled.
10690 hardcode_into_libs=yes
10692 # Append ld.so.conf contents to the search path
10693 if test -f /etc/ld.so.conf; then
10694 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' ' '`
10695 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10698 # We used to test for /lib/ld.so.1 and disable shared libraries on
10699 # powerpc, because MkLinux only supported shared libraries with the
10700 # GNU dynamic linker. Since this was broken with cross compilers,
10701 # most powerpc-linux boxes support dynamic linking these days and
10702 # people can always --disable-shared, the test was removed, and we
10703 # assume the GNU/Linux dynamic linker is in use.
10704 dynamic_linker='GNU/Linux ld.so'
10707 netbsd*)
10708 version_type=sunos
10709 need_lib_prefix=no
10710 need_version=no
10711 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10712 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10713 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10714 dynamic_linker='NetBSD (a.out) ld.so'
10715 else
10716 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10717 soname_spec='${libname}${release}${shared_ext}$major'
10718 dynamic_linker='NetBSD ld.elf_so'
10720 shlibpath_var=LD_LIBRARY_PATH
10721 shlibpath_overrides_runpath=yes
10722 hardcode_into_libs=yes
10725 newsos6)
10726 version_type=linux
10727 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10728 shlibpath_var=LD_LIBRARY_PATH
10729 shlibpath_overrides_runpath=yes
10732 *nto* | *qnx*)
10733 version_type=qnx
10734 need_lib_prefix=no
10735 need_version=no
10736 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10737 soname_spec='${libname}${release}${shared_ext}$major'
10738 shlibpath_var=LD_LIBRARY_PATH
10739 shlibpath_overrides_runpath=no
10740 hardcode_into_libs=yes
10741 dynamic_linker='ldqnx.so'
10744 openbsd*)
10745 version_type=sunos
10746 sys_lib_dlsearch_path_spec="/usr/lib"
10747 need_lib_prefix=no
10748 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10749 case $host_os in
10750 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10751 *) need_version=no ;;
10752 esac
10753 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10754 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10755 shlibpath_var=LD_LIBRARY_PATH
10756 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10757 case $host_os in
10758 openbsd2.[89] | openbsd2.[89].*)
10759 shlibpath_overrides_runpath=no
10762 shlibpath_overrides_runpath=yes
10764 esac
10765 else
10766 shlibpath_overrides_runpath=yes
10770 os2*)
10771 libname_spec='$name'
10772 shrext_cmds=".dll"
10773 need_lib_prefix=no
10774 library_names_spec='$libname${shared_ext} $libname.a'
10775 dynamic_linker='OS/2 ld.exe'
10776 shlibpath_var=LIBPATH
10779 osf3* | osf4* | osf5*)
10780 version_type=osf
10781 need_lib_prefix=no
10782 need_version=no
10783 soname_spec='${libname}${release}${shared_ext}$major'
10784 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10785 shlibpath_var=LD_LIBRARY_PATH
10786 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10787 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10790 rdos*)
10791 dynamic_linker=no
10794 solaris*)
10795 version_type=linux
10796 need_lib_prefix=no
10797 need_version=no
10798 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10799 soname_spec='${libname}${release}${shared_ext}$major'
10800 shlibpath_var=LD_LIBRARY_PATH
10801 shlibpath_overrides_runpath=yes
10802 hardcode_into_libs=yes
10803 # ldd complains unless libraries are executable
10804 postinstall_cmds='chmod +x $lib'
10807 sunos4*)
10808 version_type=sunos
10809 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10810 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10811 shlibpath_var=LD_LIBRARY_PATH
10812 shlibpath_overrides_runpath=yes
10813 if test "$with_gnu_ld" = yes; then
10814 need_lib_prefix=no
10816 need_version=yes
10819 sysv4 | sysv4.3*)
10820 version_type=linux
10821 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10822 soname_spec='${libname}${release}${shared_ext}$major'
10823 shlibpath_var=LD_LIBRARY_PATH
10824 case $host_vendor in
10825 sni)
10826 shlibpath_overrides_runpath=no
10827 need_lib_prefix=no
10828 runpath_var=LD_RUN_PATH
10830 siemens)
10831 need_lib_prefix=no
10833 motorola)
10834 need_lib_prefix=no
10835 need_version=no
10836 shlibpath_overrides_runpath=no
10837 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10839 esac
10842 sysv4*MP*)
10843 if test -d /usr/nec ;then
10844 version_type=linux
10845 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10846 soname_spec='$libname${shared_ext}.$major'
10847 shlibpath_var=LD_LIBRARY_PATH
10851 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10852 version_type=freebsd-elf
10853 need_lib_prefix=no
10854 need_version=no
10855 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10856 soname_spec='${libname}${release}${shared_ext}$major'
10857 shlibpath_var=LD_LIBRARY_PATH
10858 shlibpath_overrides_runpath=yes
10859 hardcode_into_libs=yes
10860 if test "$with_gnu_ld" = yes; then
10861 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10862 else
10863 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10864 case $host_os in
10865 sco3.2v5*)
10866 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10868 esac
10870 sys_lib_dlsearch_path_spec='/usr/lib'
10873 tpf*)
10874 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10875 version_type=linux
10876 need_lib_prefix=no
10877 need_version=no
10878 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10879 shlibpath_var=LD_LIBRARY_PATH
10880 shlibpath_overrides_runpath=no
10881 hardcode_into_libs=yes
10884 uts4*)
10885 version_type=linux
10886 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10887 soname_spec='${libname}${release}${shared_ext}$major'
10888 shlibpath_var=LD_LIBRARY_PATH
10892 dynamic_linker=no
10894 esac
10895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10896 $as_echo "$dynamic_linker" >&6; }
10897 test "$dynamic_linker" = no && can_build_shared=no
10899 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10900 if test "$GCC" = yes; then
10901 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10904 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10905 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10907 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10908 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11003 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11004 hardcode_action=
11005 if test -n "$hardcode_libdir_flag_spec" ||
11006 test -n "$runpath_var" ||
11007 test "X$hardcode_automatic" = "Xyes" ; then
11009 # We can hardcode non-existent directories.
11010 if test "$hardcode_direct" != no &&
11011 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11012 # have to relink, otherwise we might link with an installed library
11013 # when we should be linking with a yet-to-be-installed one
11014 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11015 test "$hardcode_minus_L" != no; then
11016 # Linking always hardcodes the temporary library directory.
11017 hardcode_action=relink
11018 else
11019 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11020 hardcode_action=immediate
11022 else
11023 # We cannot hardcode anything, or else we can only hardcode existing
11024 # directories.
11025 hardcode_action=unsupported
11027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11028 $as_echo "$hardcode_action" >&6; }
11030 if test "$hardcode_action" = relink ||
11031 test "$inherit_rpath" = yes; then
11032 # Fast installation is not supported
11033 enable_fast_install=no
11034 elif test "$shlibpath_overrides_runpath" = yes ||
11035 test "$enable_shared" = no; then
11036 # Fast installation is not necessary
11037 enable_fast_install=needless
11045 if test "x$enable_dlopen" != xyes; then
11046 enable_dlopen=unknown
11047 enable_dlopen_self=unknown
11048 enable_dlopen_self_static=unknown
11049 else
11050 lt_cv_dlopen=no
11051 lt_cv_dlopen_libs=
11053 case $host_os in
11054 beos*)
11055 lt_cv_dlopen="load_add_on"
11056 lt_cv_dlopen_libs=
11057 lt_cv_dlopen_self=yes
11060 mingw* | pw32* | cegcc*)
11061 lt_cv_dlopen="LoadLibrary"
11062 lt_cv_dlopen_libs=
11065 cygwin*)
11066 lt_cv_dlopen="dlopen"
11067 lt_cv_dlopen_libs=
11070 darwin*)
11071 # if libdl is installed we need to link against it
11072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11073 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11074 if ${ac_cv_lib_dl_dlopen+:} false; then :
11075 $as_echo_n "(cached) " >&6
11076 else
11077 ac_check_lib_save_LIBS=$LIBS
11078 LIBS="-ldl $LIBS"
11079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11080 /* end confdefs.h. */
11082 /* Override any GCC internal prototype to avoid an error.
11083 Use char because int might match the return type of a GCC
11084 builtin and then its argument prototype would still apply. */
11085 #ifdef __cplusplus
11086 extern "C"
11087 #endif
11088 char dlopen ();
11090 main ()
11092 return dlopen ();
11094 return 0;
11096 _ACEOF
11097 if ac_fn_c_try_link "$LINENO"; then :
11098 ac_cv_lib_dl_dlopen=yes
11099 else
11100 ac_cv_lib_dl_dlopen=no
11102 rm -f core conftest.err conftest.$ac_objext \
11103 conftest$ac_exeext conftest.$ac_ext
11104 LIBS=$ac_check_lib_save_LIBS
11106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11107 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11108 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11109 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11110 else
11112 lt_cv_dlopen="dyld"
11113 lt_cv_dlopen_libs=
11114 lt_cv_dlopen_self=yes
11121 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11122 if test "x$ac_cv_func_shl_load" = xyes; then :
11123 lt_cv_dlopen="shl_load"
11124 else
11125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11126 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11127 if ${ac_cv_lib_dld_shl_load+:} false; then :
11128 $as_echo_n "(cached) " >&6
11129 else
11130 ac_check_lib_save_LIBS=$LIBS
11131 LIBS="-ldld $LIBS"
11132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11133 /* end confdefs.h. */
11135 /* Override any GCC internal prototype to avoid an error.
11136 Use char because int might match the return type of a GCC
11137 builtin and then its argument prototype would still apply. */
11138 #ifdef __cplusplus
11139 extern "C"
11140 #endif
11141 char shl_load ();
11143 main ()
11145 return shl_load ();
11147 return 0;
11149 _ACEOF
11150 if ac_fn_c_try_link "$LINENO"; then :
11151 ac_cv_lib_dld_shl_load=yes
11152 else
11153 ac_cv_lib_dld_shl_load=no
11155 rm -f core conftest.err conftest.$ac_objext \
11156 conftest$ac_exeext conftest.$ac_ext
11157 LIBS=$ac_check_lib_save_LIBS
11159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11160 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11161 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11162 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11163 else
11164 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11165 if test "x$ac_cv_func_dlopen" = xyes; then :
11166 lt_cv_dlopen="dlopen"
11167 else
11168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11169 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11170 if ${ac_cv_lib_dl_dlopen+:} false; then :
11171 $as_echo_n "(cached) " >&6
11172 else
11173 ac_check_lib_save_LIBS=$LIBS
11174 LIBS="-ldl $LIBS"
11175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11176 /* end confdefs.h. */
11178 /* Override any GCC internal prototype to avoid an error.
11179 Use char because int might match the return type of a GCC
11180 builtin and then its argument prototype would still apply. */
11181 #ifdef __cplusplus
11182 extern "C"
11183 #endif
11184 char dlopen ();
11186 main ()
11188 return dlopen ();
11190 return 0;
11192 _ACEOF
11193 if ac_fn_c_try_link "$LINENO"; then :
11194 ac_cv_lib_dl_dlopen=yes
11195 else
11196 ac_cv_lib_dl_dlopen=no
11198 rm -f core conftest.err conftest.$ac_objext \
11199 conftest$ac_exeext conftest.$ac_ext
11200 LIBS=$ac_check_lib_save_LIBS
11202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11203 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11204 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11205 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11206 else
11207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11208 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11209 if ${ac_cv_lib_svld_dlopen+:} false; then :
11210 $as_echo_n "(cached) " >&6
11211 else
11212 ac_check_lib_save_LIBS=$LIBS
11213 LIBS="-lsvld $LIBS"
11214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11215 /* end confdefs.h. */
11217 /* Override any GCC internal prototype to avoid an error.
11218 Use char because int might match the return type of a GCC
11219 builtin and then its argument prototype would still apply. */
11220 #ifdef __cplusplus
11221 extern "C"
11222 #endif
11223 char dlopen ();
11225 main ()
11227 return dlopen ();
11229 return 0;
11231 _ACEOF
11232 if ac_fn_c_try_link "$LINENO"; then :
11233 ac_cv_lib_svld_dlopen=yes
11234 else
11235 ac_cv_lib_svld_dlopen=no
11237 rm -f core conftest.err conftest.$ac_objext \
11238 conftest$ac_exeext conftest.$ac_ext
11239 LIBS=$ac_check_lib_save_LIBS
11241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11242 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11243 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11244 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11245 else
11246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11247 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11248 if ${ac_cv_lib_dld_dld_link+:} false; then :
11249 $as_echo_n "(cached) " >&6
11250 else
11251 ac_check_lib_save_LIBS=$LIBS
11252 LIBS="-ldld $LIBS"
11253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11254 /* end confdefs.h. */
11256 /* Override any GCC internal prototype to avoid an error.
11257 Use char because int might match the return type of a GCC
11258 builtin and then its argument prototype would still apply. */
11259 #ifdef __cplusplus
11260 extern "C"
11261 #endif
11262 char dld_link ();
11264 main ()
11266 return dld_link ();
11268 return 0;
11270 _ACEOF
11271 if ac_fn_c_try_link "$LINENO"; then :
11272 ac_cv_lib_dld_dld_link=yes
11273 else
11274 ac_cv_lib_dld_dld_link=no
11276 rm -f core conftest.err conftest.$ac_objext \
11277 conftest$ac_exeext conftest.$ac_ext
11278 LIBS=$ac_check_lib_save_LIBS
11280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11281 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11282 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11283 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11302 esac
11304 if test "x$lt_cv_dlopen" != xno; then
11305 enable_dlopen=yes
11306 else
11307 enable_dlopen=no
11310 case $lt_cv_dlopen in
11311 dlopen)
11312 save_CPPFLAGS="$CPPFLAGS"
11313 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11315 save_LDFLAGS="$LDFLAGS"
11316 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11318 save_LIBS="$LIBS"
11319 LIBS="$lt_cv_dlopen_libs $LIBS"
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11322 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11323 if ${lt_cv_dlopen_self+:} false; then :
11324 $as_echo_n "(cached) " >&6
11325 else
11326 if test "$cross_compiling" = yes; then :
11327 lt_cv_dlopen_self=cross
11328 else
11329 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11330 lt_status=$lt_dlunknown
11331 cat > conftest.$ac_ext <<_LT_EOF
11332 #line $LINENO "configure"
11333 #include "confdefs.h"
11335 #if HAVE_DLFCN_H
11336 #include <dlfcn.h>
11337 #endif
11339 #include <stdio.h>
11341 #ifdef RTLD_GLOBAL
11342 # define LT_DLGLOBAL RTLD_GLOBAL
11343 #else
11344 # ifdef DL_GLOBAL
11345 # define LT_DLGLOBAL DL_GLOBAL
11346 # else
11347 # define LT_DLGLOBAL 0
11348 # endif
11349 #endif
11351 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11352 find out it does not work in some platform. */
11353 #ifndef LT_DLLAZY_OR_NOW
11354 # ifdef RTLD_LAZY
11355 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11356 # else
11357 # ifdef DL_LAZY
11358 # define LT_DLLAZY_OR_NOW DL_LAZY
11359 # else
11360 # ifdef RTLD_NOW
11361 # define LT_DLLAZY_OR_NOW RTLD_NOW
11362 # else
11363 # ifdef DL_NOW
11364 # define LT_DLLAZY_OR_NOW DL_NOW
11365 # else
11366 # define LT_DLLAZY_OR_NOW 0
11367 # endif
11368 # endif
11369 # endif
11370 # endif
11371 #endif
11373 /* When -fvisbility=hidden is used, assume the code has been annotated
11374 correspondingly for the symbols needed. */
11375 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11376 int fnord () __attribute__((visibility("default")));
11377 #endif
11379 int fnord () { return 42; }
11380 int main ()
11382 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11383 int status = $lt_dlunknown;
11385 if (self)
11387 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11388 else
11390 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11391 else puts (dlerror ());
11393 /* dlclose (self); */
11395 else
11396 puts (dlerror ());
11398 return status;
11400 _LT_EOF
11401 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11402 (eval $ac_link) 2>&5
11403 ac_status=$?
11404 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11405 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11406 (./conftest; exit; ) >&5 2>/dev/null
11407 lt_status=$?
11408 case x$lt_status in
11409 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11410 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11411 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11412 esac
11413 else :
11414 # compilation failed
11415 lt_cv_dlopen_self=no
11418 rm -fr conftest*
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11423 $as_echo "$lt_cv_dlopen_self" >&6; }
11425 if test "x$lt_cv_dlopen_self" = xyes; then
11426 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11428 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11429 if ${lt_cv_dlopen_self_static+:} false; then :
11430 $as_echo_n "(cached) " >&6
11431 else
11432 if test "$cross_compiling" = yes; then :
11433 lt_cv_dlopen_self_static=cross
11434 else
11435 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11436 lt_status=$lt_dlunknown
11437 cat > conftest.$ac_ext <<_LT_EOF
11438 #line $LINENO "configure"
11439 #include "confdefs.h"
11441 #if HAVE_DLFCN_H
11442 #include <dlfcn.h>
11443 #endif
11445 #include <stdio.h>
11447 #ifdef RTLD_GLOBAL
11448 # define LT_DLGLOBAL RTLD_GLOBAL
11449 #else
11450 # ifdef DL_GLOBAL
11451 # define LT_DLGLOBAL DL_GLOBAL
11452 # else
11453 # define LT_DLGLOBAL 0
11454 # endif
11455 #endif
11457 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11458 find out it does not work in some platform. */
11459 #ifndef LT_DLLAZY_OR_NOW
11460 # ifdef RTLD_LAZY
11461 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11462 # else
11463 # ifdef DL_LAZY
11464 # define LT_DLLAZY_OR_NOW DL_LAZY
11465 # else
11466 # ifdef RTLD_NOW
11467 # define LT_DLLAZY_OR_NOW RTLD_NOW
11468 # else
11469 # ifdef DL_NOW
11470 # define LT_DLLAZY_OR_NOW DL_NOW
11471 # else
11472 # define LT_DLLAZY_OR_NOW 0
11473 # endif
11474 # endif
11475 # endif
11476 # endif
11477 #endif
11479 /* When -fvisbility=hidden is used, assume the code has been annotated
11480 correspondingly for the symbols needed. */
11481 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11482 int fnord () __attribute__((visibility("default")));
11483 #endif
11485 int fnord () { return 42; }
11486 int main ()
11488 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11489 int status = $lt_dlunknown;
11491 if (self)
11493 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11494 else
11496 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11497 else puts (dlerror ());
11499 /* dlclose (self); */
11501 else
11502 puts (dlerror ());
11504 return status;
11506 _LT_EOF
11507 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11508 (eval $ac_link) 2>&5
11509 ac_status=$?
11510 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11511 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11512 (./conftest; exit; ) >&5 2>/dev/null
11513 lt_status=$?
11514 case x$lt_status in
11515 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11516 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11517 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11518 esac
11519 else :
11520 # compilation failed
11521 lt_cv_dlopen_self_static=no
11524 rm -fr conftest*
11528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11529 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11532 CPPFLAGS="$save_CPPFLAGS"
11533 LDFLAGS="$save_LDFLAGS"
11534 LIBS="$save_LIBS"
11536 esac
11538 case $lt_cv_dlopen_self in
11539 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11540 *) enable_dlopen_self=unknown ;;
11541 esac
11543 case $lt_cv_dlopen_self_static in
11544 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11545 *) enable_dlopen_self_static=unknown ;;
11546 esac
11565 striplib=
11566 old_striplib=
11567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11568 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11569 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11570 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11571 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11573 $as_echo "yes" >&6; }
11574 else
11575 # FIXME - insert some real tests, host_os isn't really good enough
11576 case $host_os in
11577 darwin*)
11578 if test -n "$STRIP" ; then
11579 striplib="$STRIP -x"
11580 old_striplib="$STRIP -S"
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11582 $as_echo "yes" >&6; }
11583 else
11584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11585 $as_echo "no" >&6; }
11589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11590 $as_echo "no" >&6; }
11592 esac
11606 # Report which library types will actually be built
11607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11608 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11610 $as_echo "$can_build_shared" >&6; }
11612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11613 $as_echo_n "checking whether to build shared libraries... " >&6; }
11614 test "$can_build_shared" = "no" && enable_shared=no
11616 # On AIX, shared libraries and static libraries use the same namespace, and
11617 # are all built from PIC.
11618 case $host_os in
11619 aix3*)
11620 test "$enable_shared" = yes && enable_static=no
11621 if test -n "$RANLIB"; then
11622 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11623 postinstall_cmds='$RANLIB $lib'
11627 aix[4-9]*)
11628 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11629 test "$enable_shared" = yes && enable_static=no
11632 esac
11633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11634 $as_echo "$enable_shared" >&6; }
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11637 $as_echo_n "checking whether to build static libraries... " >&6; }
11638 # Make sure either enable_shared or enable_static is yes.
11639 test "$enable_shared" = yes || enable_static=yes
11640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11641 $as_echo "$enable_static" >&6; }
11647 ac_ext=c
11648 ac_cpp='$CPP $CPPFLAGS'
11649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11653 CC="$lt_save_CC"
11667 ac_config_commands="$ac_config_commands libtool"
11672 # Only expand once:
11677 # Host specific.
11678 NO_UNDEFINED=
11679 case "$host" in
11680 *-*-mingw32* | *-*-cygwin*)
11682 $as_echo "#define HOST_W32 1" >>confdefs.h
11684 host_w32=yes
11685 if test x"$enable_shared" != "xno" ; then
11686 NO_UNDEFINED="-no-undefined"
11689 esac
11690 EXTRA_LIBQUVI_LDFLAGS="$NO_UNDEFINED"
11693 # Checks for programs.
11694 for ac_prog in gawk mawk nawk awk
11696 # Extract the first word of "$ac_prog", so it can be a program name with args.
11697 set dummy $ac_prog; ac_word=$2
11698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11699 $as_echo_n "checking for $ac_word... " >&6; }
11700 if ${ac_cv_prog_AWK+:} false; then :
11701 $as_echo_n "(cached) " >&6
11702 else
11703 if test -n "$AWK"; then
11704 ac_cv_prog_AWK="$AWK" # Let the user override the test.
11705 else
11706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11707 for as_dir in $PATH
11709 IFS=$as_save_IFS
11710 test -z "$as_dir" && as_dir=.
11711 for ac_exec_ext in '' $ac_executable_extensions; do
11712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11713 ac_cv_prog_AWK="$ac_prog"
11714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11715 break 2
11717 done
11718 done
11719 IFS=$as_save_IFS
11723 AWK=$ac_cv_prog_AWK
11724 if test -n "$AWK"; then
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
11726 $as_echo "$AWK" >&6; }
11727 else
11728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11729 $as_echo "no" >&6; }
11733 test -n "$AWK" && break
11734 done
11736 ac_ext=c
11737 ac_cpp='$CPP $CPPFLAGS'
11738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11741 if test -n "$ac_tool_prefix"; then
11742 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11743 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11745 $as_echo_n "checking for $ac_word... " >&6; }
11746 if ${ac_cv_prog_CC+:} false; then :
11747 $as_echo_n "(cached) " >&6
11748 else
11749 if test -n "$CC"; then
11750 ac_cv_prog_CC="$CC" # Let the user override the test.
11751 else
11752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11753 for as_dir in $PATH
11755 IFS=$as_save_IFS
11756 test -z "$as_dir" && as_dir=.
11757 for ac_exec_ext in '' $ac_executable_extensions; do
11758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11759 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11761 break 2
11763 done
11764 done
11765 IFS=$as_save_IFS
11769 CC=$ac_cv_prog_CC
11770 if test -n "$CC"; then
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11772 $as_echo "$CC" >&6; }
11773 else
11774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11775 $as_echo "no" >&6; }
11780 if test -z "$ac_cv_prog_CC"; then
11781 ac_ct_CC=$CC
11782 # Extract the first word of "gcc", so it can be a program name with args.
11783 set dummy gcc; ac_word=$2
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11785 $as_echo_n "checking for $ac_word... " >&6; }
11786 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11787 $as_echo_n "(cached) " >&6
11788 else
11789 if test -n "$ac_ct_CC"; then
11790 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11791 else
11792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11793 for as_dir in $PATH
11795 IFS=$as_save_IFS
11796 test -z "$as_dir" && as_dir=.
11797 for ac_exec_ext in '' $ac_executable_extensions; do
11798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11799 ac_cv_prog_ac_ct_CC="gcc"
11800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11801 break 2
11803 done
11804 done
11805 IFS=$as_save_IFS
11809 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11810 if test -n "$ac_ct_CC"; then
11811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11812 $as_echo "$ac_ct_CC" >&6; }
11813 else
11814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11815 $as_echo "no" >&6; }
11818 if test "x$ac_ct_CC" = x; then
11819 CC=""
11820 else
11821 case $cross_compiling:$ac_tool_warned in
11822 yes:)
11823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11824 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11825 ac_tool_warned=yes ;;
11826 esac
11827 CC=$ac_ct_CC
11829 else
11830 CC="$ac_cv_prog_CC"
11833 if test -z "$CC"; then
11834 if test -n "$ac_tool_prefix"; then
11835 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11836 set dummy ${ac_tool_prefix}cc; ac_word=$2
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11838 $as_echo_n "checking for $ac_word... " >&6; }
11839 if ${ac_cv_prog_CC+:} false; then :
11840 $as_echo_n "(cached) " >&6
11841 else
11842 if test -n "$CC"; then
11843 ac_cv_prog_CC="$CC" # Let the user override the test.
11844 else
11845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11846 for as_dir in $PATH
11848 IFS=$as_save_IFS
11849 test -z "$as_dir" && as_dir=.
11850 for ac_exec_ext in '' $ac_executable_extensions; do
11851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11852 ac_cv_prog_CC="${ac_tool_prefix}cc"
11853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11854 break 2
11856 done
11857 done
11858 IFS=$as_save_IFS
11862 CC=$ac_cv_prog_CC
11863 if test -n "$CC"; then
11864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11865 $as_echo "$CC" >&6; }
11866 else
11867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11868 $as_echo "no" >&6; }
11874 if test -z "$CC"; then
11875 # Extract the first word of "cc", so it can be a program name with args.
11876 set dummy cc; ac_word=$2
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11878 $as_echo_n "checking for $ac_word... " >&6; }
11879 if ${ac_cv_prog_CC+:} false; then :
11880 $as_echo_n "(cached) " >&6
11881 else
11882 if test -n "$CC"; then
11883 ac_cv_prog_CC="$CC" # Let the user override the test.
11884 else
11885 ac_prog_rejected=no
11886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11887 for as_dir in $PATH
11889 IFS=$as_save_IFS
11890 test -z "$as_dir" && as_dir=.
11891 for ac_exec_ext in '' $ac_executable_extensions; do
11892 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11893 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11894 ac_prog_rejected=yes
11895 continue
11897 ac_cv_prog_CC="cc"
11898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11899 break 2
11901 done
11902 done
11903 IFS=$as_save_IFS
11905 if test $ac_prog_rejected = yes; then
11906 # We found a bogon in the path, so make sure we never use it.
11907 set dummy $ac_cv_prog_CC
11908 shift
11909 if test $# != 0; then
11910 # We chose a different compiler from the bogus one.
11911 # However, it has the same basename, so the bogon will be chosen
11912 # first if we set CC to just the basename; use the full file name.
11913 shift
11914 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11919 CC=$ac_cv_prog_CC
11920 if test -n "$CC"; then
11921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11922 $as_echo "$CC" >&6; }
11923 else
11924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11925 $as_echo "no" >&6; }
11930 if test -z "$CC"; then
11931 if test -n "$ac_tool_prefix"; then
11932 for ac_prog in cl.exe
11934 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11935 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11937 $as_echo_n "checking for $ac_word... " >&6; }
11938 if ${ac_cv_prog_CC+:} false; then :
11939 $as_echo_n "(cached) " >&6
11940 else
11941 if test -n "$CC"; then
11942 ac_cv_prog_CC="$CC" # Let the user override the test.
11943 else
11944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11945 for as_dir in $PATH
11947 IFS=$as_save_IFS
11948 test -z "$as_dir" && as_dir=.
11949 for ac_exec_ext in '' $ac_executable_extensions; do
11950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11951 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11953 break 2
11955 done
11956 done
11957 IFS=$as_save_IFS
11961 CC=$ac_cv_prog_CC
11962 if test -n "$CC"; then
11963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11964 $as_echo "$CC" >&6; }
11965 else
11966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11967 $as_echo "no" >&6; }
11971 test -n "$CC" && break
11972 done
11974 if test -z "$CC"; then
11975 ac_ct_CC=$CC
11976 for ac_prog in cl.exe
11978 # Extract the first word of "$ac_prog", so it can be a program name with args.
11979 set dummy $ac_prog; ac_word=$2
11980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11981 $as_echo_n "checking for $ac_word... " >&6; }
11982 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11983 $as_echo_n "(cached) " >&6
11984 else
11985 if test -n "$ac_ct_CC"; then
11986 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11987 else
11988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11989 for as_dir in $PATH
11991 IFS=$as_save_IFS
11992 test -z "$as_dir" && as_dir=.
11993 for ac_exec_ext in '' $ac_executable_extensions; do
11994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11995 ac_cv_prog_ac_ct_CC="$ac_prog"
11996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11997 break 2
11999 done
12000 done
12001 IFS=$as_save_IFS
12005 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12006 if test -n "$ac_ct_CC"; then
12007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12008 $as_echo "$ac_ct_CC" >&6; }
12009 else
12010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12011 $as_echo "no" >&6; }
12015 test -n "$ac_ct_CC" && break
12016 done
12018 if test "x$ac_ct_CC" = x; then
12019 CC=""
12020 else
12021 case $cross_compiling:$ac_tool_warned in
12022 yes:)
12023 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12024 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12025 ac_tool_warned=yes ;;
12026 esac
12027 CC=$ac_ct_CC
12034 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12035 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12036 as_fn_error $? "no acceptable C compiler found in \$PATH
12037 See \`config.log' for more details" "$LINENO" 5; }
12039 # Provide some information about the compiler.
12040 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12041 set X $ac_compile
12042 ac_compiler=$2
12043 for ac_option in --version -v -V -qversion; do
12044 { { ac_try="$ac_compiler $ac_option >&5"
12045 case "(($ac_try" in
12046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12047 *) ac_try_echo=$ac_try;;
12048 esac
12049 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12050 $as_echo "$ac_try_echo"; } >&5
12051 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12052 ac_status=$?
12053 if test -s conftest.err; then
12054 sed '10a\
12055 ... rest of stderr output deleted ...
12056 10q' conftest.err >conftest.er1
12057 cat conftest.er1 >&5
12059 rm -f conftest.er1 conftest.err
12060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12061 test $ac_status = 0; }
12062 done
12064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12065 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12066 if ${ac_cv_c_compiler_gnu+:} false; then :
12067 $as_echo_n "(cached) " >&6
12068 else
12069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12070 /* end confdefs.h. */
12073 main ()
12075 #ifndef __GNUC__
12076 choke me
12077 #endif
12080 return 0;
12082 _ACEOF
12083 if ac_fn_c_try_compile "$LINENO"; then :
12084 ac_compiler_gnu=yes
12085 else
12086 ac_compiler_gnu=no
12088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12089 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12093 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12094 if test $ac_compiler_gnu = yes; then
12095 GCC=yes
12096 else
12097 GCC=
12099 ac_test_CFLAGS=${CFLAGS+set}
12100 ac_save_CFLAGS=$CFLAGS
12101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12102 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12103 if ${ac_cv_prog_cc_g+:} false; then :
12104 $as_echo_n "(cached) " >&6
12105 else
12106 ac_save_c_werror_flag=$ac_c_werror_flag
12107 ac_c_werror_flag=yes
12108 ac_cv_prog_cc_g=no
12109 CFLAGS="-g"
12110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12111 /* end confdefs.h. */
12114 main ()
12118 return 0;
12120 _ACEOF
12121 if ac_fn_c_try_compile "$LINENO"; then :
12122 ac_cv_prog_cc_g=yes
12123 else
12124 CFLAGS=""
12125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12126 /* end confdefs.h. */
12129 main ()
12133 return 0;
12135 _ACEOF
12136 if ac_fn_c_try_compile "$LINENO"; then :
12138 else
12139 ac_c_werror_flag=$ac_save_c_werror_flag
12140 CFLAGS="-g"
12141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12142 /* end confdefs.h. */
12145 main ()
12149 return 0;
12151 _ACEOF
12152 if ac_fn_c_try_compile "$LINENO"; then :
12153 ac_cv_prog_cc_g=yes
12155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12160 ac_c_werror_flag=$ac_save_c_werror_flag
12162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12163 $as_echo "$ac_cv_prog_cc_g" >&6; }
12164 if test "$ac_test_CFLAGS" = set; then
12165 CFLAGS=$ac_save_CFLAGS
12166 elif test $ac_cv_prog_cc_g = yes; then
12167 if test "$GCC" = yes; then
12168 CFLAGS="-g -O2"
12169 else
12170 CFLAGS="-g"
12172 else
12173 if test "$GCC" = yes; then
12174 CFLAGS="-O2"
12175 else
12176 CFLAGS=
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12180 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12181 if ${ac_cv_prog_cc_c89+:} false; then :
12182 $as_echo_n "(cached) " >&6
12183 else
12184 ac_cv_prog_cc_c89=no
12185 ac_save_CC=$CC
12186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12187 /* end confdefs.h. */
12188 #include <stdarg.h>
12189 #include <stdio.h>
12190 #include <sys/types.h>
12191 #include <sys/stat.h>
12192 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12193 struct buf { int x; };
12194 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12195 static char *e (p, i)
12196 char **p;
12197 int i;
12199 return p[i];
12201 static char *f (char * (*g) (char **, int), char **p, ...)
12203 char *s;
12204 va_list v;
12205 va_start (v,p);
12206 s = g (p, va_arg (v,int));
12207 va_end (v);
12208 return s;
12211 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12212 function prototypes and stuff, but not '\xHH' hex character constants.
12213 These don't provoke an error unfortunately, instead are silently treated
12214 as 'x'. The following induces an error, until -std is added to get
12215 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12216 array size at least. It's necessary to write '\x00'==0 to get something
12217 that's true only with -std. */
12218 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12220 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12221 inside strings and character constants. */
12222 #define FOO(x) 'x'
12223 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12225 int test (int i, double x);
12226 struct s1 {int (*f) (int a);};
12227 struct s2 {int (*f) (double a);};
12228 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12229 int argc;
12230 char **argv;
12232 main ()
12234 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12236 return 0;
12238 _ACEOF
12239 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12240 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12242 CC="$ac_save_CC $ac_arg"
12243 if ac_fn_c_try_compile "$LINENO"; then :
12244 ac_cv_prog_cc_c89=$ac_arg
12246 rm -f core conftest.err conftest.$ac_objext
12247 test "x$ac_cv_prog_cc_c89" != "xno" && break
12248 done
12249 rm -f conftest.$ac_ext
12250 CC=$ac_save_CC
12253 # AC_CACHE_VAL
12254 case "x$ac_cv_prog_cc_c89" in
12256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12257 $as_echo "none needed" >&6; } ;;
12258 xno)
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12260 $as_echo "unsupported" >&6; } ;;
12262 CC="$CC $ac_cv_prog_cc_c89"
12263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12264 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12265 esac
12266 if test "x$ac_cv_prog_cc_c89" != xno; then :
12270 ac_ext=c
12271 ac_cpp='$CPP $CPPFLAGS'
12272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12276 ac_ext=cpp
12277 ac_cpp='$CXXCPP $CPPFLAGS'
12278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12281 if test -z "$CXX"; then
12282 if test -n "$CCC"; then
12283 CXX=$CCC
12284 else
12285 if test -n "$ac_tool_prefix"; then
12286 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12288 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12289 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12291 $as_echo_n "checking for $ac_word... " >&6; }
12292 if ${ac_cv_prog_CXX+:} false; then :
12293 $as_echo_n "(cached) " >&6
12294 else
12295 if test -n "$CXX"; then
12296 ac_cv_prog_CXX="$CXX" # Let the user override the test.
12297 else
12298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12299 for as_dir in $PATH
12301 IFS=$as_save_IFS
12302 test -z "$as_dir" && as_dir=.
12303 for ac_exec_ext in '' $ac_executable_extensions; do
12304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12305 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
12306 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12307 break 2
12309 done
12310 done
12311 IFS=$as_save_IFS
12315 CXX=$ac_cv_prog_CXX
12316 if test -n "$CXX"; then
12317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
12318 $as_echo "$CXX" >&6; }
12319 else
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12321 $as_echo "no" >&6; }
12325 test -n "$CXX" && break
12326 done
12328 if test -z "$CXX"; then
12329 ac_ct_CXX=$CXX
12330 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12332 # Extract the first word of "$ac_prog", so it can be a program name with args.
12333 set dummy $ac_prog; ac_word=$2
12334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12335 $as_echo_n "checking for $ac_word... " >&6; }
12336 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
12337 $as_echo_n "(cached) " >&6
12338 else
12339 if test -n "$ac_ct_CXX"; then
12340 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
12341 else
12342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12343 for as_dir in $PATH
12345 IFS=$as_save_IFS
12346 test -z "$as_dir" && as_dir=.
12347 for ac_exec_ext in '' $ac_executable_extensions; do
12348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12349 ac_cv_prog_ac_ct_CXX="$ac_prog"
12350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12351 break 2
12353 done
12354 done
12355 IFS=$as_save_IFS
12359 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
12360 if test -n "$ac_ct_CXX"; then
12361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
12362 $as_echo "$ac_ct_CXX" >&6; }
12363 else
12364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12365 $as_echo "no" >&6; }
12369 test -n "$ac_ct_CXX" && break
12370 done
12372 if test "x$ac_ct_CXX" = x; then
12373 CXX="g++"
12374 else
12375 case $cross_compiling:$ac_tool_warned in
12376 yes:)
12377 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12378 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12379 ac_tool_warned=yes ;;
12380 esac
12381 CXX=$ac_ct_CXX
12387 # Provide some information about the compiler.
12388 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
12389 set X $ac_compile
12390 ac_compiler=$2
12391 for ac_option in --version -v -V -qversion; do
12392 { { ac_try="$ac_compiler $ac_option >&5"
12393 case "(($ac_try" in
12394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12395 *) ac_try_echo=$ac_try;;
12396 esac
12397 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12398 $as_echo "$ac_try_echo"; } >&5
12399 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12400 ac_status=$?
12401 if test -s conftest.err; then
12402 sed '10a\
12403 ... rest of stderr output deleted ...
12404 10q' conftest.err >conftest.er1
12405 cat conftest.er1 >&5
12407 rm -f conftest.er1 conftest.err
12408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12409 test $ac_status = 0; }
12410 done
12412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
12413 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
12414 if ${ac_cv_cxx_compiler_gnu+:} false; then :
12415 $as_echo_n "(cached) " >&6
12416 else
12417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12418 /* end confdefs.h. */
12421 main ()
12423 #ifndef __GNUC__
12424 choke me
12425 #endif
12428 return 0;
12430 _ACEOF
12431 if ac_fn_cxx_try_compile "$LINENO"; then :
12432 ac_compiler_gnu=yes
12433 else
12434 ac_compiler_gnu=no
12436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12437 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
12440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
12441 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
12442 if test $ac_compiler_gnu = yes; then
12443 GXX=yes
12444 else
12445 GXX=
12447 ac_test_CXXFLAGS=${CXXFLAGS+set}
12448 ac_save_CXXFLAGS=$CXXFLAGS
12449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
12450 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
12451 if ${ac_cv_prog_cxx_g+:} false; then :
12452 $as_echo_n "(cached) " >&6
12453 else
12454 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
12455 ac_cxx_werror_flag=yes
12456 ac_cv_prog_cxx_g=no
12457 CXXFLAGS="-g"
12458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12459 /* end confdefs.h. */
12462 main ()
12466 return 0;
12468 _ACEOF
12469 if ac_fn_cxx_try_compile "$LINENO"; then :
12470 ac_cv_prog_cxx_g=yes
12471 else
12472 CXXFLAGS=""
12473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12474 /* end confdefs.h. */
12477 main ()
12481 return 0;
12483 _ACEOF
12484 if ac_fn_cxx_try_compile "$LINENO"; then :
12486 else
12487 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
12488 CXXFLAGS="-g"
12489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12490 /* end confdefs.h. */
12493 main ()
12497 return 0;
12499 _ACEOF
12500 if ac_fn_cxx_try_compile "$LINENO"; then :
12501 ac_cv_prog_cxx_g=yes
12503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12508 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
12510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
12511 $as_echo "$ac_cv_prog_cxx_g" >&6; }
12512 if test "$ac_test_CXXFLAGS" = set; then
12513 CXXFLAGS=$ac_save_CXXFLAGS
12514 elif test $ac_cv_prog_cxx_g = yes; then
12515 if test "$GXX" = yes; then
12516 CXXFLAGS="-g -O2"
12517 else
12518 CXXFLAGS="-g"
12520 else
12521 if test "$GXX" = yes; then
12522 CXXFLAGS="-O2"
12523 else
12524 CXXFLAGS=
12527 ac_ext=c
12528 ac_cpp='$CPP $CPPFLAGS'
12529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12533 depcc="$CXX" am_compiler_list=
12535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12536 $as_echo_n "checking dependency style of $depcc... " >&6; }
12537 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
12538 $as_echo_n "(cached) " >&6
12539 else
12540 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12541 # We make a subdir and do the tests there. Otherwise we can end up
12542 # making bogus files that we don't know about and never remove. For
12543 # instance it was reported that on HP-UX the gcc test will end up
12544 # making a dummy file named `D' -- because `-MD' means `put the output
12545 # in D'.
12546 mkdir conftest.dir
12547 # Copy depcomp to subdir because otherwise we won't find it if we're
12548 # using a relative directory.
12549 cp "$am_depcomp" conftest.dir
12550 cd conftest.dir
12551 # We will build objects and dependencies in a subdirectory because
12552 # it helps to detect inapplicable dependency modes. For instance
12553 # both Tru64's cc and ICC support -MD to output dependencies as a
12554 # side effect of compilation, but ICC will put the dependencies in
12555 # the current directory while Tru64 will put them in the object
12556 # directory.
12557 mkdir sub
12559 am_cv_CXX_dependencies_compiler_type=none
12560 if test "$am_compiler_list" = ""; then
12561 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12563 am__universal=false
12564 case " $depcc " in #(
12565 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12566 esac
12568 for depmode in $am_compiler_list; do
12569 # Setup a source with many dependencies, because some compilers
12570 # like to wrap large dependency lists on column 80 (with \), and
12571 # we should not choose a depcomp mode which is confused by this.
12573 # We need to recreate these files for each test, as the compiler may
12574 # overwrite some of them when testing with obscure command lines.
12575 # This happens at least with the AIX C compiler.
12576 : > sub/conftest.c
12577 for i in 1 2 3 4 5 6; do
12578 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12579 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12580 # Solaris 8's {/usr,}/bin/sh.
12581 touch sub/conftst$i.h
12582 done
12583 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12585 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12586 # mode. It turns out that the SunPro C++ compiler does not properly
12587 # handle `-M -o', and we need to detect this. Also, some Intel
12588 # versions had trouble with output in subdirs
12589 am__obj=sub/conftest.${OBJEXT-o}
12590 am__minus_obj="-o $am__obj"
12591 case $depmode in
12592 gcc)
12593 # This depmode causes a compiler race in universal mode.
12594 test "$am__universal" = false || continue
12596 nosideeffect)
12597 # after this tag, mechanisms are not by side-effect, so they'll
12598 # only be used when explicitly requested
12599 if test "x$enable_dependency_tracking" = xyes; then
12600 continue
12601 else
12602 break
12605 msvisualcpp | msvcmsys)
12606 # This compiler won't grok `-c -o', but also, the minuso test has
12607 # not run yet. These depmodes are late enough in the game, and
12608 # so weak that their functioning should not be impacted.
12609 am__obj=conftest.${OBJEXT-o}
12610 am__minus_obj=
12612 none) break ;;
12613 esac
12614 if depmode=$depmode \
12615 source=sub/conftest.c object=$am__obj \
12616 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12617 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12618 >/dev/null 2>conftest.err &&
12619 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12620 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12621 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12622 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12623 # icc doesn't choke on unknown options, it will just issue warnings
12624 # or remarks (even with -Werror). So we grep stderr for any message
12625 # that says an option was ignored or not supported.
12626 # When given -MP, icc 7.0 and 7.1 complain thusly:
12627 # icc: Command line warning: ignoring option '-M'; no argument required
12628 # The diagnosis changed in icc 8.0:
12629 # icc: Command line remark: option '-MP' not supported
12630 if (grep 'ignoring option' conftest.err ||
12631 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12632 am_cv_CXX_dependencies_compiler_type=$depmode
12633 break
12636 done
12638 cd ..
12639 rm -rf conftest.dir
12640 else
12641 am_cv_CXX_dependencies_compiler_type=none
12645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
12646 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
12647 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
12650 test "x$enable_dependency_tracking" != xno \
12651 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
12652 am__fastdepCXX_TRUE=
12653 am__fastdepCXX_FALSE='#'
12654 else
12655 am__fastdepCXX_TRUE='#'
12656 am__fastdepCXX_FALSE=
12662 func_stripname_cnf ()
12664 case ${2} in
12665 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
12666 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
12667 esac
12668 } # func_stripname_cnf
12670 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12671 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12672 (test "X$CXX" != "Xg++"))) ; then
12673 ac_ext=cpp
12674 ac_cpp='$CXXCPP $CPPFLAGS'
12675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12679 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12680 if test -z "$CXXCPP"; then
12681 if ${ac_cv_prog_CXXCPP+:} false; then :
12682 $as_echo_n "(cached) " >&6
12683 else
12684 # Double quotes because CXXCPP needs to be expanded
12685 for CXXCPP in "$CXX -E" "/lib/cpp"
12687 ac_preproc_ok=false
12688 for ac_cxx_preproc_warn_flag in '' yes
12690 # Use a header file that comes with gcc, so configuring glibc
12691 # with a fresh cross-compiler works.
12692 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12693 # <limits.h> exists even on freestanding compilers.
12694 # On the NeXT, cc -E runs the code through the compiler's parser,
12695 # not just through cpp. "Syntax error" is here to catch this case.
12696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12697 /* end confdefs.h. */
12698 #ifdef __STDC__
12699 # include <limits.h>
12700 #else
12701 # include <assert.h>
12702 #endif
12703 Syntax error
12704 _ACEOF
12705 if ac_fn_cxx_try_cpp "$LINENO"; then :
12707 else
12708 # Broken: fails on valid input.
12709 continue
12711 rm -f conftest.err conftest.i conftest.$ac_ext
12713 # OK, works on sane cases. Now check whether nonexistent headers
12714 # can be detected and how.
12715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12716 /* end confdefs.h. */
12717 #include <ac_nonexistent.h>
12718 _ACEOF
12719 if ac_fn_cxx_try_cpp "$LINENO"; then :
12720 # Broken: success on invalid input.
12721 continue
12722 else
12723 # Passes both tests.
12724 ac_preproc_ok=:
12725 break
12727 rm -f conftest.err conftest.i conftest.$ac_ext
12729 done
12730 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12731 rm -f conftest.i conftest.err conftest.$ac_ext
12732 if $ac_preproc_ok; then :
12733 break
12736 done
12737 ac_cv_prog_CXXCPP=$CXXCPP
12740 CXXCPP=$ac_cv_prog_CXXCPP
12741 else
12742 ac_cv_prog_CXXCPP=$CXXCPP
12744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12745 $as_echo "$CXXCPP" >&6; }
12746 ac_preproc_ok=false
12747 for ac_cxx_preproc_warn_flag in '' yes
12749 # Use a header file that comes with gcc, so configuring glibc
12750 # with a fresh cross-compiler works.
12751 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12752 # <limits.h> exists even on freestanding compilers.
12753 # On the NeXT, cc -E runs the code through the compiler's parser,
12754 # not just through cpp. "Syntax error" is here to catch this case.
12755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12756 /* end confdefs.h. */
12757 #ifdef __STDC__
12758 # include <limits.h>
12759 #else
12760 # include <assert.h>
12761 #endif
12762 Syntax error
12763 _ACEOF
12764 if ac_fn_cxx_try_cpp "$LINENO"; then :
12766 else
12767 # Broken: fails on valid input.
12768 continue
12770 rm -f conftest.err conftest.i conftest.$ac_ext
12772 # OK, works on sane cases. Now check whether nonexistent headers
12773 # can be detected and how.
12774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12775 /* end confdefs.h. */
12776 #include <ac_nonexistent.h>
12777 _ACEOF
12778 if ac_fn_cxx_try_cpp "$LINENO"; then :
12779 # Broken: success on invalid input.
12780 continue
12781 else
12782 # Passes both tests.
12783 ac_preproc_ok=:
12784 break
12786 rm -f conftest.err conftest.i conftest.$ac_ext
12788 done
12789 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12790 rm -f conftest.i conftest.err conftest.$ac_ext
12791 if $ac_preproc_ok; then :
12793 else
12794 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12795 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12796 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12797 See \`config.log' for more details" "$LINENO" 5; }
12800 ac_ext=c
12801 ac_cpp='$CPP $CPPFLAGS'
12802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12806 else
12807 _lt_caught_CXX_error=yes
12810 ac_ext=cpp
12811 ac_cpp='$CXXCPP $CPPFLAGS'
12812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12816 archive_cmds_need_lc_CXX=no
12817 allow_undefined_flag_CXX=
12818 always_export_symbols_CXX=no
12819 archive_expsym_cmds_CXX=
12820 compiler_needs_object_CXX=no
12821 export_dynamic_flag_spec_CXX=
12822 hardcode_direct_CXX=no
12823 hardcode_direct_absolute_CXX=no
12824 hardcode_libdir_flag_spec_CXX=
12825 hardcode_libdir_flag_spec_ld_CXX=
12826 hardcode_libdir_separator_CXX=
12827 hardcode_minus_L_CXX=no
12828 hardcode_shlibpath_var_CXX=unsupported
12829 hardcode_automatic_CXX=no
12830 inherit_rpath_CXX=no
12831 module_cmds_CXX=
12832 module_expsym_cmds_CXX=
12833 link_all_deplibs_CXX=unknown
12834 old_archive_cmds_CXX=$old_archive_cmds
12835 reload_flag_CXX=$reload_flag
12836 reload_cmds_CXX=$reload_cmds
12837 no_undefined_flag_CXX=
12838 whole_archive_flag_spec_CXX=
12839 enable_shared_with_static_runtimes_CXX=no
12841 # Source file extension for C++ test sources.
12842 ac_ext=cpp
12844 # Object file extension for compiled C++ test sources.
12845 objext=o
12846 objext_CXX=$objext
12848 # No sense in running all these tests if we already determined that
12849 # the CXX compiler isn't working. Some variables (like enable_shared)
12850 # are currently assumed to apply to all compilers on this platform,
12851 # and will be corrupted by setting them based on a non-working compiler.
12852 if test "$_lt_caught_CXX_error" != yes; then
12853 # Code to be used in simple compile tests
12854 lt_simple_compile_test_code="int some_variable = 0;"
12856 # Code to be used in simple link tests
12857 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12859 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12866 # If no C compiler was specified, use CC.
12867 LTCC=${LTCC-"$CC"}
12869 # If no C compiler flags were specified, use CFLAGS.
12870 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12872 # Allow CC to be a program name with arguments.
12873 compiler=$CC
12876 # save warnings/boilerplate of simple test code
12877 ac_outfile=conftest.$ac_objext
12878 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12879 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12880 _lt_compiler_boilerplate=`cat conftest.err`
12881 $RM conftest*
12883 ac_outfile=conftest.$ac_objext
12884 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12885 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12886 _lt_linker_boilerplate=`cat conftest.err`
12887 $RM -r conftest*
12890 # Allow CC to be a program name with arguments.
12891 lt_save_CC=$CC
12892 lt_save_CFLAGS=$CFLAGS
12893 lt_save_LD=$LD
12894 lt_save_GCC=$GCC
12895 GCC=$GXX
12896 lt_save_with_gnu_ld=$with_gnu_ld
12897 lt_save_path_LD=$lt_cv_path_LD
12898 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12899 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12900 else
12901 $as_unset lt_cv_prog_gnu_ld
12903 if test -n "${lt_cv_path_LDCXX+set}"; then
12904 lt_cv_path_LD=$lt_cv_path_LDCXX
12905 else
12906 $as_unset lt_cv_path_LD
12908 test -z "${LDCXX+set}" || LD=$LDCXX
12909 CC=${CXX-"c++"}
12910 CFLAGS=$CXXFLAGS
12911 compiler=$CC
12912 compiler_CXX=$CC
12913 for cc_temp in $compiler""; do
12914 case $cc_temp in
12915 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12916 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12917 \-*) ;;
12918 *) break;;
12919 esac
12920 done
12921 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12924 if test -n "$compiler"; then
12925 # We don't want -fno-exception when compiling C++ code, so set the
12926 # no_builtin_flag separately
12927 if test "$GXX" = yes; then
12928 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12929 else
12930 lt_prog_compiler_no_builtin_flag_CXX=
12933 if test "$GXX" = yes; then
12934 # Set up default GNU C++ configuration
12938 # Check whether --with-gnu-ld was given.
12939 if test "${with_gnu_ld+set}" = set; then :
12940 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12941 else
12942 with_gnu_ld=no
12945 ac_prog=ld
12946 if test "$GCC" = yes; then
12947 # Check if gcc -print-prog-name=ld gives a path.
12948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12949 $as_echo_n "checking for ld used by $CC... " >&6; }
12950 case $host in
12951 *-*-mingw*)
12952 # gcc leaves a trailing carriage return which upsets mingw
12953 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12955 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12956 esac
12957 case $ac_prog in
12958 # Accept absolute paths.
12959 [\\/]* | ?:[\\/]*)
12960 re_direlt='/[^/][^/]*/\.\./'
12961 # Canonicalize the pathname of ld
12962 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12963 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12964 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12965 done
12966 test -z "$LD" && LD="$ac_prog"
12969 # If it fails, then pretend we aren't using GCC.
12970 ac_prog=ld
12973 # If it is relative, then search for the first ld in PATH.
12974 with_gnu_ld=unknown
12976 esac
12977 elif test "$with_gnu_ld" = yes; then
12978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12979 $as_echo_n "checking for GNU ld... " >&6; }
12980 else
12981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12982 $as_echo_n "checking for non-GNU ld... " >&6; }
12984 if ${lt_cv_path_LD+:} false; then :
12985 $as_echo_n "(cached) " >&6
12986 else
12987 if test -z "$LD"; then
12988 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12989 for ac_dir in $PATH; do
12990 IFS="$lt_save_ifs"
12991 test -z "$ac_dir" && ac_dir=.
12992 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12993 lt_cv_path_LD="$ac_dir/$ac_prog"
12994 # Check to see if the program is GNU ld. I'd rather use --version,
12995 # but apparently some variants of GNU ld only accept -v.
12996 # Break only if it was the GNU/non-GNU ld that we prefer.
12997 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12998 *GNU* | *'with BFD'*)
12999 test "$with_gnu_ld" != no && break
13002 test "$with_gnu_ld" != yes && break
13004 esac
13006 done
13007 IFS="$lt_save_ifs"
13008 else
13009 lt_cv_path_LD="$LD" # Let the user override the test with a path.
13013 LD="$lt_cv_path_LD"
13014 if test -n "$LD"; then
13015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13016 $as_echo "$LD" >&6; }
13017 else
13018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13019 $as_echo "no" >&6; }
13021 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13023 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13024 if ${lt_cv_prog_gnu_ld+:} false; then :
13025 $as_echo_n "(cached) " >&6
13026 else
13027 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13028 case `$LD -v 2>&1 </dev/null` in
13029 *GNU* | *'with BFD'*)
13030 lt_cv_prog_gnu_ld=yes
13033 lt_cv_prog_gnu_ld=no
13035 esac
13037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13038 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13039 with_gnu_ld=$lt_cv_prog_gnu_ld
13047 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13048 # archiving commands below assume that GNU ld is being used.
13049 if test "$with_gnu_ld" = yes; then
13050 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13051 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'
13053 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13054 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13056 # If archive_cmds runs LD, not CC, wlarc should be empty
13057 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13058 # investigate it a little bit more. (MM)
13059 wlarc='${wl}'
13061 # ancient GNU ld didn't support --whole-archive et. al.
13062 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13063 $GREP 'no-whole-archive' > /dev/null; then
13064 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13065 else
13066 whole_archive_flag_spec_CXX=
13068 else
13069 with_gnu_ld=no
13070 wlarc=
13072 # A generic and very simple default shared library creation
13073 # command for GNU C++ for the case where it uses the native
13074 # linker, instead of GNU ld. If possible, this setting should
13075 # overridden to take advantage of the native linker features on
13076 # the platform it is being used on.
13077 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13080 # Commands to make compiler produce verbose output that lists
13081 # what "hidden" libraries, object files and flags are used when
13082 # linking a shared library.
13083 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13085 else
13086 GXX=no
13087 with_gnu_ld=no
13088 wlarc=
13091 # PORTME: fill in a description of your system's C++ link characteristics
13092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13093 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13094 ld_shlibs_CXX=yes
13095 case $host_os in
13096 aix3*)
13097 # FIXME: insert proper C++ library support
13098 ld_shlibs_CXX=no
13100 aix[4-9]*)
13101 if test "$host_cpu" = ia64; then
13102 # On IA64, the linker does run time linking by default, so we don't
13103 # have to do anything special.
13104 aix_use_runtimelinking=no
13105 exp_sym_flag='-Bexport'
13106 no_entry_flag=""
13107 else
13108 aix_use_runtimelinking=no
13110 # Test if we are trying to use run time linking or normal
13111 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13112 # need to do runtime linking.
13113 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13114 for ld_flag in $LDFLAGS; do
13115 case $ld_flag in
13116 *-brtl*)
13117 aix_use_runtimelinking=yes
13118 break
13120 esac
13121 done
13123 esac
13125 exp_sym_flag='-bexport'
13126 no_entry_flag='-bnoentry'
13129 # When large executables or shared objects are built, AIX ld can
13130 # have problems creating the table of contents. If linking a library
13131 # or program results in "error TOC overflow" add -mminimal-toc to
13132 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13133 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13135 archive_cmds_CXX=''
13136 hardcode_direct_CXX=yes
13137 hardcode_direct_absolute_CXX=yes
13138 hardcode_libdir_separator_CXX=':'
13139 link_all_deplibs_CXX=yes
13140 file_list_spec_CXX='${wl}-f,'
13142 if test "$GXX" = yes; then
13143 case $host_os in aix4.[012]|aix4.[012].*)
13144 # We only want to do this on AIX 4.2 and lower, the check
13145 # below for broken collect2 doesn't work under 4.3+
13146 collect2name=`${CC} -print-prog-name=collect2`
13147 if test -f "$collect2name" &&
13148 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13149 then
13150 # We have reworked collect2
13152 else
13153 # We have old collect2
13154 hardcode_direct_CXX=unsupported
13155 # It fails to find uninstalled libraries when the uninstalled
13156 # path is not listed in the libpath. Setting hardcode_minus_L
13157 # to unsupported forces relinking
13158 hardcode_minus_L_CXX=yes
13159 hardcode_libdir_flag_spec_CXX='-L$libdir'
13160 hardcode_libdir_separator_CXX=
13162 esac
13163 shared_flag='-shared'
13164 if test "$aix_use_runtimelinking" = yes; then
13165 shared_flag="$shared_flag "'${wl}-G'
13167 else
13168 # not using gcc
13169 if test "$host_cpu" = ia64; then
13170 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13171 # chokes on -Wl,-G. The following line is correct:
13172 shared_flag='-G'
13173 else
13174 if test "$aix_use_runtimelinking" = yes; then
13175 shared_flag='${wl}-G'
13176 else
13177 shared_flag='${wl}-bM:SRE'
13182 export_dynamic_flag_spec_CXX='${wl}-bexpall'
13183 # It seems that -bexpall does not export symbols beginning with
13184 # underscore (_), so it is better to generate a list of symbols to
13185 # export.
13186 always_export_symbols_CXX=yes
13187 if test "$aix_use_runtimelinking" = yes; then
13188 # Warning - without using the other runtime loading flags (-brtl),
13189 # -berok will link without error, but may produce a broken library.
13190 allow_undefined_flag_CXX='-berok'
13191 # Determine the default libpath from the value encoded in an empty
13192 # executable.
13193 if test "${lt_cv_aix_libpath+set}" = set; then
13194 aix_libpath=$lt_cv_aix_libpath
13195 else
13196 if ${lt_cv_aix_libpath__CXX+:} false; then :
13197 $as_echo_n "(cached) " >&6
13198 else
13199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13200 /* end confdefs.h. */
13203 main ()
13207 return 0;
13209 _ACEOF
13210 if ac_fn_cxx_try_link "$LINENO"; then :
13212 lt_aix_libpath_sed='
13213 /Import File Strings/,/^$/ {
13214 /^0/ {
13215 s/^0 *\([^ ]*\) *$/\1/
13219 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13220 # Check for a 64-bit object if we didn't find anything.
13221 if test -z "$lt_cv_aix_libpath__CXX"; then
13222 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13225 rm -f core conftest.err conftest.$ac_objext \
13226 conftest$ac_exeext conftest.$ac_ext
13227 if test -z "$lt_cv_aix_libpath__CXX"; then
13228 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
13233 aix_libpath=$lt_cv_aix_libpath__CXX
13236 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13238 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"
13239 else
13240 if test "$host_cpu" = ia64; then
13241 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13242 allow_undefined_flag_CXX="-z nodefs"
13243 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"
13244 else
13245 # Determine the default libpath from the value encoded in an
13246 # empty executable.
13247 if test "${lt_cv_aix_libpath+set}" = set; then
13248 aix_libpath=$lt_cv_aix_libpath
13249 else
13250 if ${lt_cv_aix_libpath__CXX+:} false; then :
13251 $as_echo_n "(cached) " >&6
13252 else
13253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13254 /* end confdefs.h. */
13257 main ()
13261 return 0;
13263 _ACEOF
13264 if ac_fn_cxx_try_link "$LINENO"; then :
13266 lt_aix_libpath_sed='
13267 /Import File Strings/,/^$/ {
13268 /^0/ {
13269 s/^0 *\([^ ]*\) *$/\1/
13273 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13274 # Check for a 64-bit object if we didn't find anything.
13275 if test -z "$lt_cv_aix_libpath__CXX"; then
13276 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13279 rm -f core conftest.err conftest.$ac_objext \
13280 conftest$ac_exeext conftest.$ac_ext
13281 if test -z "$lt_cv_aix_libpath__CXX"; then
13282 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
13287 aix_libpath=$lt_cv_aix_libpath__CXX
13290 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13291 # Warning - without using the other run time loading flags,
13292 # -berok will link without error, but may produce a broken library.
13293 no_undefined_flag_CXX=' ${wl}-bernotok'
13294 allow_undefined_flag_CXX=' ${wl}-berok'
13295 if test "$with_gnu_ld" = yes; then
13296 # We only use this code for GNU lds that support --whole-archive.
13297 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13298 else
13299 # Exported symbols can be pulled into shared objects from archives
13300 whole_archive_flag_spec_CXX='$convenience'
13302 archive_cmds_need_lc_CXX=yes
13303 # This is similar to how AIX traditionally builds its shared
13304 # libraries.
13305 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'
13310 beos*)
13311 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13312 allow_undefined_flag_CXX=unsupported
13313 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13314 # support --undefined. This deserves some investigation. FIXME
13315 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13316 else
13317 ld_shlibs_CXX=no
13321 chorus*)
13322 case $cc_basename in
13324 # FIXME: insert proper C++ library support
13325 ld_shlibs_CXX=no
13327 esac
13330 cygwin* | mingw* | pw32* | cegcc*)
13331 case $GXX,$cc_basename in
13332 ,cl* | no,cl*)
13333 # Native MSVC
13334 # hardcode_libdir_flag_spec is actually meaningless, as there is
13335 # no search path for DLLs.
13336 hardcode_libdir_flag_spec_CXX=' '
13337 allow_undefined_flag_CXX=unsupported
13338 always_export_symbols_CXX=yes
13339 file_list_spec_CXX='@'
13340 # Tell ltmain to make .lib files, not .a files.
13341 libext=lib
13342 # Tell ltmain to make .dll files, not .so files.
13343 shrext_cmds=".dll"
13344 # FIXME: Setting linknames here is a bad hack.
13345 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13346 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13347 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
13348 else
13349 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
13351 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13352 linknames='
13353 # The linker will not automatically build a static lib if we build a DLL.
13354 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13355 enable_shared_with_static_runtimes_CXX=yes
13356 # Don't use ranlib
13357 old_postinstall_cmds_CXX='chmod 644 $oldlib'
13358 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
13359 lt_tool_outputfile="@TOOL_OUTPUT@"~
13360 case $lt_outputfile in
13361 *.exe|*.EXE) ;;
13363 lt_outputfile="$lt_outputfile.exe"
13364 lt_tool_outputfile="$lt_tool_outputfile.exe"
13366 esac~
13367 func_to_tool_file "$lt_outputfile"~
13368 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13369 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13370 $RM "$lt_outputfile.manifest";
13374 # g++
13375 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13376 # as there is no search path for DLLs.
13377 hardcode_libdir_flag_spec_CXX='-L$libdir'
13378 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
13379 allow_undefined_flag_CXX=unsupported
13380 always_export_symbols_CXX=no
13381 enable_shared_with_static_runtimes_CXX=yes
13383 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13384 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'
13385 # If the export-symbols file already is a .def file (1st line
13386 # is EXPORTS), use it as is; otherwise, prepend...
13387 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13388 cp $export_symbols $output_objdir/$soname.def;
13389 else
13390 echo EXPORTS > $output_objdir/$soname.def;
13391 cat $export_symbols >> $output_objdir/$soname.def;
13393 $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'
13394 else
13395 ld_shlibs_CXX=no
13398 esac
13400 darwin* | rhapsody*)
13403 archive_cmds_need_lc_CXX=no
13404 hardcode_direct_CXX=no
13405 hardcode_automatic_CXX=yes
13406 hardcode_shlibpath_var_CXX=unsupported
13407 if test "$lt_cv_ld_force_load" = "yes"; then
13408 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\"`'
13409 else
13410 whole_archive_flag_spec_CXX=''
13412 link_all_deplibs_CXX=yes
13413 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13414 case $cc_basename in
13415 ifort*) _lt_dar_can_shared=yes ;;
13416 *) _lt_dar_can_shared=$GCC ;;
13417 esac
13418 if test "$_lt_dar_can_shared" = "yes"; then
13419 output_verbose_link_cmd=func_echo_all
13420 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}"
13421 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13422 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}"
13423 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}"
13424 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13425 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}"
13426 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}"
13429 else
13430 ld_shlibs_CXX=no
13435 dgux*)
13436 case $cc_basename in
13437 ec++*)
13438 # FIXME: insert proper C++ library support
13439 ld_shlibs_CXX=no
13441 ghcx*)
13442 # Green Hills C++ Compiler
13443 # FIXME: insert proper C++ library support
13444 ld_shlibs_CXX=no
13447 # FIXME: insert proper C++ library support
13448 ld_shlibs_CXX=no
13450 esac
13453 freebsd[12]*)
13454 # C++ shared libraries reported to be fairly broken before
13455 # switch to ELF
13456 ld_shlibs_CXX=no
13459 freebsd-elf*)
13460 archive_cmds_need_lc_CXX=no
13463 freebsd* | dragonfly*)
13464 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13465 # conventions
13466 ld_shlibs_CXX=yes
13469 gnu*)
13472 haiku*)
13473 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13474 link_all_deplibs_CXX=yes
13477 hpux9*)
13478 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13479 hardcode_libdir_separator_CXX=:
13480 export_dynamic_flag_spec_CXX='${wl}-E'
13481 hardcode_direct_CXX=yes
13482 hardcode_minus_L_CXX=yes # Not in the search PATH,
13483 # but as the default
13484 # location of the library.
13486 case $cc_basename in
13487 CC*)
13488 # FIXME: insert proper C++ library support
13489 ld_shlibs_CXX=no
13491 aCC*)
13492 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'
13493 # Commands to make compiler produce verbose output that lists
13494 # what "hidden" libraries, object files and flags are used when
13495 # linking a shared library.
13497 # There doesn't appear to be a way to prevent this compiler from
13498 # explicitly linking system object files so we need to strip them
13499 # from the output so that they don't get included in the library
13500 # dependencies.
13501 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"'
13504 if test "$GXX" = yes; then
13505 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'
13506 else
13507 # FIXME: insert proper C++ library support
13508 ld_shlibs_CXX=no
13511 esac
13514 hpux10*|hpux11*)
13515 if test $with_gnu_ld = no; then
13516 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13517 hardcode_libdir_separator_CXX=:
13519 case $host_cpu in
13520 hppa*64*|ia64*)
13523 export_dynamic_flag_spec_CXX='${wl}-E'
13525 esac
13527 case $host_cpu in
13528 hppa*64*|ia64*)
13529 hardcode_direct_CXX=no
13530 hardcode_shlibpath_var_CXX=no
13533 hardcode_direct_CXX=yes
13534 hardcode_direct_absolute_CXX=yes
13535 hardcode_minus_L_CXX=yes # Not in the search PATH,
13536 # but as the default
13537 # location of the library.
13539 esac
13541 case $cc_basename in
13542 CC*)
13543 # FIXME: insert proper C++ library support
13544 ld_shlibs_CXX=no
13546 aCC*)
13547 case $host_cpu in
13548 hppa*64*)
13549 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13551 ia64*)
13552 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13555 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13557 esac
13558 # Commands to make compiler produce verbose output that lists
13559 # what "hidden" libraries, object files and flags are used when
13560 # linking a shared library.
13562 # There doesn't appear to be a way to prevent this compiler from
13563 # explicitly linking system object files so we need to strip them
13564 # from the output so that they don't get included in the library
13565 # dependencies.
13566 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"'
13569 if test "$GXX" = yes; then
13570 if test $with_gnu_ld = no; then
13571 case $host_cpu in
13572 hppa*64*)
13573 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13575 ia64*)
13576 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13579 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13581 esac
13583 else
13584 # FIXME: insert proper C++ library support
13585 ld_shlibs_CXX=no
13588 esac
13591 interix[3-9]*)
13592 hardcode_direct_CXX=no
13593 hardcode_shlibpath_var_CXX=no
13594 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13595 export_dynamic_flag_spec_CXX='${wl}-E'
13596 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13597 # Instead, shared libraries are loaded at an image base (0x10000000 by
13598 # default) and relocated if they conflict, which is a slow very memory
13599 # consuming and fragmenting process. To avoid this, we pick a random,
13600 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13601 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13602 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'
13603 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'
13605 irix5* | irix6*)
13606 case $cc_basename in
13607 CC*)
13608 # SGI C++
13609 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'
13611 # Archives containing C++ object files must be created using
13612 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13613 # necessary to make sure instantiated templates are included
13614 # in the archive.
13615 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13618 if test "$GXX" = yes; then
13619 if test "$with_gnu_ld" = no; then
13620 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'
13621 else
13622 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'
13625 link_all_deplibs_CXX=yes
13627 esac
13628 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13629 hardcode_libdir_separator_CXX=:
13630 inherit_rpath_CXX=yes
13633 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13634 case $cc_basename in
13635 KCC*)
13636 # Kuck and Associates, Inc. (KAI) C++ Compiler
13638 # KCC will only create a shared library if the output file
13639 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13640 # to its proper name (with version) after linking.
13641 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'
13642 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'
13643 # Commands to make compiler produce verbose output that lists
13644 # what "hidden" libraries, object files and flags are used when
13645 # linking a shared library.
13647 # There doesn't appear to be a way to prevent this compiler from
13648 # explicitly linking system object files so we need to strip them
13649 # from the output so that they don't get included in the library
13650 # dependencies.
13651 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"'
13653 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13654 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13656 # Archives containing C++ object files must be created using
13657 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13658 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13660 icpc* | ecpc* )
13661 # Intel C++
13662 with_gnu_ld=yes
13663 # version 8.0 and above of icpc choke on multiply defined symbols
13664 # if we add $predep_objects and $postdep_objects, however 7.1 and
13665 # earlier do not add the objects themselves.
13666 case `$CC -V 2>&1` in
13667 *"Version 7."*)
13668 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13669 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'
13671 *) # Version 8.0 or newer
13672 tmp_idyn=
13673 case $host_cpu in
13674 ia64*) tmp_idyn=' -i_dynamic';;
13675 esac
13676 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13677 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'
13679 esac
13680 archive_cmds_need_lc_CXX=no
13681 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13682 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13683 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13685 pgCC* | pgcpp*)
13686 # Portland Group C++ compiler
13687 case `$CC -V` in
13688 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13689 prelink_cmds_CXX='tpldir=Template.dir~
13690 rm -rf $tpldir~
13691 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13692 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13693 old_archive_cmds_CXX='tpldir=Template.dir~
13694 rm -rf $tpldir~
13695 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13696 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13697 $RANLIB $oldlib'
13698 archive_cmds_CXX='tpldir=Template.dir~
13699 rm -rf $tpldir~
13700 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13701 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13702 archive_expsym_cmds_CXX='tpldir=Template.dir~
13703 rm -rf $tpldir~
13704 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13705 $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'
13707 *) # Version 6 and above use weak symbols
13708 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13709 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'
13711 esac
13713 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13714 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13715 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'
13717 cxx*)
13718 # Compaq C++
13719 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13720 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'
13722 runpath_var=LD_RUN_PATH
13723 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13724 hardcode_libdir_separator_CXX=:
13726 # Commands to make compiler produce verbose output that lists
13727 # what "hidden" libraries, object files and flags are used when
13728 # linking a shared library.
13730 # There doesn't appear to be a way to prevent this compiler from
13731 # explicitly linking system object files so we need to strip them
13732 # from the output so that they don't get included in the library
13733 # dependencies.
13734 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'
13736 xl* | mpixl* | bgxl*)
13737 # IBM XL 8.0 on PPC, with GNU ld
13738 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13739 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13740 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13741 if test "x$supports_anon_versioning" = xyes; then
13742 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13743 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13744 echo "local: *; };" >> $output_objdir/$libname.ver~
13745 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13749 case `$CC -V 2>&1 | sed 5q` in
13750 *Sun\ C*)
13751 # Sun C++ 5.9
13752 no_undefined_flag_CXX=' -zdefs'
13753 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13754 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'
13755 hardcode_libdir_flag_spec_CXX='-R$libdir'
13756 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'
13757 compiler_needs_object_CXX=yes
13759 # Not sure whether something based on
13760 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13761 # would be better.
13762 output_verbose_link_cmd='func_echo_all'
13764 # Archives containing C++ object files must be created using
13765 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13766 # necessary to make sure instantiated templates are included
13767 # in the archive.
13768 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13770 esac
13772 esac
13775 lynxos*)
13776 # FIXME: insert proper C++ library support
13777 ld_shlibs_CXX=no
13780 m88k*)
13781 # FIXME: insert proper C++ library support
13782 ld_shlibs_CXX=no
13785 mvs*)
13786 case $cc_basename in
13787 cxx*)
13788 # FIXME: insert proper C++ library support
13789 ld_shlibs_CXX=no
13792 # FIXME: insert proper C++ library support
13793 ld_shlibs_CXX=no
13795 esac
13798 netbsd*)
13799 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13800 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13801 wlarc=
13802 hardcode_libdir_flag_spec_CXX='-R$libdir'
13803 hardcode_direct_CXX=yes
13804 hardcode_shlibpath_var_CXX=no
13806 # Workaround some broken pre-1.5 toolchains
13807 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13810 *nto* | *qnx*)
13811 ld_shlibs_CXX=yes
13814 openbsd2*)
13815 # C++ shared libraries are fairly broken
13816 ld_shlibs_CXX=no
13819 openbsd*)
13820 if test -f /usr/libexec/ld.so; then
13821 hardcode_direct_CXX=yes
13822 hardcode_shlibpath_var_CXX=no
13823 hardcode_direct_absolute_CXX=yes
13824 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13825 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13826 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13827 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13828 export_dynamic_flag_spec_CXX='${wl}-E'
13829 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13831 output_verbose_link_cmd=func_echo_all
13832 else
13833 ld_shlibs_CXX=no
13837 osf3* | osf4* | osf5*)
13838 case $cc_basename in
13839 KCC*)
13840 # Kuck and Associates, Inc. (KAI) C++ Compiler
13842 # KCC will only create a shared library if the output file
13843 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13844 # to its proper name (with version) after linking.
13845 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'
13847 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13848 hardcode_libdir_separator_CXX=:
13850 # Archives containing C++ object files must be created using
13851 # the KAI C++ compiler.
13852 case $host in
13853 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13854 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13855 esac
13857 RCC*)
13858 # Rational C++ 2.4.1
13859 # FIXME: insert proper C++ library support
13860 ld_shlibs_CXX=no
13862 cxx*)
13863 case $host in
13864 osf3*)
13865 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13866 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'
13867 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13870 allow_undefined_flag_CXX=' -expect_unresolved \*'
13871 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'
13872 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13873 echo "-hidden">> $lib.exp~
13874 $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~
13875 $RM $lib.exp'
13876 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13878 esac
13880 hardcode_libdir_separator_CXX=:
13882 # Commands to make compiler produce verbose output that lists
13883 # what "hidden" libraries, object files and flags are used when
13884 # linking a shared library.
13886 # There doesn't appear to be a way to prevent this compiler from
13887 # explicitly linking system object files so we need to strip them
13888 # from the output so that they don't get included in the library
13889 # dependencies.
13890 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"'
13893 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13894 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13895 case $host in
13896 osf3*)
13897 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'
13900 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'
13902 esac
13904 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13905 hardcode_libdir_separator_CXX=:
13907 # Commands to make compiler produce verbose output that lists
13908 # what "hidden" libraries, object files and flags are used when
13909 # linking a shared library.
13910 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13912 else
13913 # FIXME: insert proper C++ library support
13914 ld_shlibs_CXX=no
13917 esac
13920 psos*)
13921 # FIXME: insert proper C++ library support
13922 ld_shlibs_CXX=no
13925 sunos4*)
13926 case $cc_basename in
13927 CC*)
13928 # Sun C++ 4.x
13929 # FIXME: insert proper C++ library support
13930 ld_shlibs_CXX=no
13932 lcc*)
13933 # Lucid
13934 # FIXME: insert proper C++ library support
13935 ld_shlibs_CXX=no
13938 # FIXME: insert proper C++ library support
13939 ld_shlibs_CXX=no
13941 esac
13944 solaris*)
13945 case $cc_basename in
13946 CC* | sunCC*)
13947 # Sun C++ 4.2, 5.x and Centerline C++
13948 archive_cmds_need_lc_CXX=yes
13949 no_undefined_flag_CXX=' -zdefs'
13950 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13951 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13952 $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'
13954 hardcode_libdir_flag_spec_CXX='-R$libdir'
13955 hardcode_shlibpath_var_CXX=no
13956 case $host_os in
13957 solaris2.[0-5] | solaris2.[0-5].*) ;;
13959 # The compiler driver will combine and reorder linker options,
13960 # but understands `-z linker_flag'.
13961 # Supported since Solaris 2.6 (maybe 2.5.1?)
13962 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13964 esac
13965 link_all_deplibs_CXX=yes
13967 output_verbose_link_cmd='func_echo_all'
13969 # Archives containing C++ object files must be created using
13970 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13971 # necessary to make sure instantiated templates are included
13972 # in the archive.
13973 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13975 gcx*)
13976 # Green Hills C++ Compiler
13977 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13979 # The C++ compiler must be used to create the archive.
13980 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13983 # GNU C++ compiler with Solaris linker
13984 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13985 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13986 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13987 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13988 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13989 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13991 # Commands to make compiler produce verbose output that lists
13992 # what "hidden" libraries, object files and flags are used when
13993 # linking a shared library.
13994 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13995 else
13996 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13997 # platform.
13998 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13999 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14000 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14002 # Commands to make compiler produce verbose output that lists
14003 # what "hidden" libraries, object files and flags are used when
14004 # linking a shared library.
14005 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14008 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
14009 case $host_os in
14010 solaris2.[0-5] | solaris2.[0-5].*) ;;
14012 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14014 esac
14017 esac
14020 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14021 no_undefined_flag_CXX='${wl}-z,text'
14022 archive_cmds_need_lc_CXX=no
14023 hardcode_shlibpath_var_CXX=no
14024 runpath_var='LD_RUN_PATH'
14026 case $cc_basename in
14027 CC*)
14028 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14029 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14032 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14033 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14035 esac
14038 sysv5* | sco3.2v5* | sco5v6*)
14039 # Note: We can NOT use -z defs as we might desire, because we do not
14040 # link with -lc, and that would cause any symbols used from libc to
14041 # always be unresolved, which means just about no library would
14042 # ever link correctly. If we're not using GNU ld we use -z text
14043 # though, which does catch some bad symbols but isn't as heavy-handed
14044 # as -z defs.
14045 no_undefined_flag_CXX='${wl}-z,text'
14046 allow_undefined_flag_CXX='${wl}-z,nodefs'
14047 archive_cmds_need_lc_CXX=no
14048 hardcode_shlibpath_var_CXX=no
14049 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
14050 hardcode_libdir_separator_CXX=':'
14051 link_all_deplibs_CXX=yes
14052 export_dynamic_flag_spec_CXX='${wl}-Bexport'
14053 runpath_var='LD_RUN_PATH'
14055 case $cc_basename in
14056 CC*)
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'
14059 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
14060 '"$old_archive_cmds_CXX"
14061 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
14062 '"$reload_cmds_CXX"
14065 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14066 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14068 esac
14071 tandem*)
14072 case $cc_basename in
14073 NCC*)
14074 # NonStop-UX NCC 3.20
14075 # FIXME: insert proper C++ library support
14076 ld_shlibs_CXX=no
14079 # FIXME: insert proper C++ library support
14080 ld_shlibs_CXX=no
14082 esac
14085 vxworks*)
14086 # FIXME: insert proper C++ library support
14087 ld_shlibs_CXX=no
14091 # FIXME: insert proper C++ library support
14092 ld_shlibs_CXX=no
14094 esac
14096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14097 $as_echo "$ld_shlibs_CXX" >&6; }
14098 test "$ld_shlibs_CXX" = no && can_build_shared=no
14100 GCC_CXX="$GXX"
14101 LD_CXX="$LD"
14103 ## CAVEAT EMPTOR:
14104 ## There is no encapsulation within the following macros, do not change
14105 ## the running order or otherwise move them around unless you know exactly
14106 ## what you are doing...
14107 # Dependencies to place before and after the object being linked:
14108 predep_objects_CXX=
14109 postdep_objects_CXX=
14110 predeps_CXX=
14111 postdeps_CXX=
14112 compiler_lib_search_path_CXX=
14114 cat > conftest.$ac_ext <<_LT_EOF
14115 class Foo
14117 public:
14118 Foo (void) { a = 0; }
14119 private:
14120 int a;
14122 _LT_EOF
14125 _lt_libdeps_save_CFLAGS=$CFLAGS
14126 case "$CC $CFLAGS " in #(
14127 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
14128 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
14129 esac
14131 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14132 (eval $ac_compile) 2>&5
14133 ac_status=$?
14134 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14135 test $ac_status = 0; }; then
14136 # Parse the compiler output and extract the necessary
14137 # objects, libraries and library flags.
14139 # Sentinel used to keep track of whether or not we are before
14140 # the conftest object file.
14141 pre_test_object_deps_done=no
14143 for p in `eval "$output_verbose_link_cmd"`; do
14144 case ${prev}${p} in
14146 -L* | -R* | -l*)
14147 # Some compilers place space between "-{L,R}" and the path.
14148 # Remove the space.
14149 if test $p = "-L" ||
14150 test $p = "-R"; then
14151 prev=$p
14152 continue
14155 # Expand the sysroot to ease extracting the directories later.
14156 if test -z "$prev"; then
14157 case $p in
14158 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
14159 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
14160 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
14161 esac
14163 case $p in
14164 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
14165 esac
14166 if test "$pre_test_object_deps_done" = no; then
14167 case ${prev} in
14168 -L | -R)
14169 # Internal compiler library paths should come after those
14170 # provided the user. The postdeps already come after the
14171 # user supplied libs so there is no need to process them.
14172 if test -z "$compiler_lib_search_path_CXX"; then
14173 compiler_lib_search_path_CXX="${prev}${p}"
14174 else
14175 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
14178 # The "-l" case would never come before the object being
14179 # linked, so don't bother handling this case.
14180 esac
14181 else
14182 if test -z "$postdeps_CXX"; then
14183 postdeps_CXX="${prev}${p}"
14184 else
14185 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
14188 prev=
14191 *.lto.$objext) ;; # Ignore GCC LTO objects
14192 *.$objext)
14193 # This assumes that the test object file only shows up
14194 # once in the compiler output.
14195 if test "$p" = "conftest.$objext"; then
14196 pre_test_object_deps_done=yes
14197 continue
14200 if test "$pre_test_object_deps_done" = no; then
14201 if test -z "$predep_objects_CXX"; then
14202 predep_objects_CXX="$p"
14203 else
14204 predep_objects_CXX="$predep_objects_CXX $p"
14206 else
14207 if test -z "$postdep_objects_CXX"; then
14208 postdep_objects_CXX="$p"
14209 else
14210 postdep_objects_CXX="$postdep_objects_CXX $p"
14215 *) ;; # Ignore the rest.
14217 esac
14218 done
14220 # Clean up.
14221 rm -f a.out a.exe
14222 else
14223 echo "libtool.m4: error: problem compiling CXX test program"
14226 $RM -f confest.$objext
14227 CFLAGS=$_lt_libdeps_save_CFLAGS
14229 # PORTME: override above test on systems where it is broken
14230 case $host_os in
14231 interix[3-9]*)
14232 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14233 # hack all around it, let's just trust "g++" to DTRT.
14234 predep_objects_CXX=
14235 postdep_objects_CXX=
14236 postdeps_CXX=
14239 linux*)
14240 case `$CC -V 2>&1 | sed 5q` in
14241 *Sun\ C*)
14242 # Sun C++ 5.9
14244 # The more standards-conforming stlport4 library is
14245 # incompatible with the Cstd library. Avoid specifying
14246 # it if it's in CXXFLAGS. Ignore libCrun as
14247 # -library=stlport4 depends on it.
14248 case " $CXX $CXXFLAGS " in
14249 *" -library=stlport4 "*)
14250 solaris_use_stlport4=yes
14252 esac
14254 if test "$solaris_use_stlport4" != yes; then
14255 postdeps_CXX='-library=Cstd -library=Crun'
14258 esac
14261 solaris*)
14262 case $cc_basename in
14263 CC* | sunCC*)
14264 # The more standards-conforming stlport4 library is
14265 # incompatible with the Cstd library. Avoid specifying
14266 # it if it's in CXXFLAGS. Ignore libCrun as
14267 # -library=stlport4 depends on it.
14268 case " $CXX $CXXFLAGS " in
14269 *" -library=stlport4 "*)
14270 solaris_use_stlport4=yes
14272 esac
14274 # Adding this requires a known-good setup of shared libraries for
14275 # Sun compiler versions before 5.6, else PIC objects from an old
14276 # archive will be linked into the output, leading to subtle bugs.
14277 if test "$solaris_use_stlport4" != yes; then
14278 postdeps_CXX='-library=Cstd -library=Crun'
14281 esac
14283 esac
14286 case " $postdeps_CXX " in
14287 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
14288 esac
14289 compiler_lib_search_dirs_CXX=
14290 if test -n "${compiler_lib_search_path_CXX}"; then
14291 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14324 lt_prog_compiler_wl_CXX=
14325 lt_prog_compiler_pic_CXX=
14326 lt_prog_compiler_static_CXX=
14329 # C++ specific cases for pic, static, wl, etc.
14330 if test "$GXX" = yes; then
14331 lt_prog_compiler_wl_CXX='-Wl,'
14332 lt_prog_compiler_static_CXX='-static'
14334 case $host_os in
14335 aix*)
14336 # All AIX code is PIC.
14337 if test "$host_cpu" = ia64; then
14338 # AIX 5 now supports IA64 processor
14339 lt_prog_compiler_static_CXX='-Bstatic'
14343 amigaos*)
14344 case $host_cpu in
14345 powerpc)
14346 # see comment about AmigaOS4 .so support
14347 lt_prog_compiler_pic_CXX='-fPIC'
14349 m68k)
14350 # FIXME: we need at least 68020 code to build shared libraries, but
14351 # adding the `-m68020' flag to GCC prevents building anything better,
14352 # like `-m68040'.
14353 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14355 esac
14358 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14359 # PIC is the default for these OSes.
14361 mingw* | cygwin* | os2* | pw32* | cegcc*)
14362 # This hack is so that the source file can tell whether it is being
14363 # built for inclusion in a dll (and should export symbols for example).
14364 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14365 # (--disable-auto-import) libraries
14366 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14368 darwin* | rhapsody*)
14369 # PIC is the default on this platform
14370 # Common symbols not allowed in MH_DYLIB files
14371 lt_prog_compiler_pic_CXX='-fno-common'
14373 *djgpp*)
14374 # DJGPP does not support shared libraries at all
14375 lt_prog_compiler_pic_CXX=
14377 haiku*)
14378 # PIC is the default for Haiku.
14379 # The "-static" flag exists, but is broken.
14380 lt_prog_compiler_static_CXX=
14382 interix[3-9]*)
14383 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14384 # Instead, we relocate shared libraries at runtime.
14386 sysv4*MP*)
14387 if test -d /usr/nec; then
14388 lt_prog_compiler_pic_CXX=-Kconform_pic
14391 hpux*)
14392 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14393 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14394 # sets the default TLS model and affects inlining.
14395 case $host_cpu in
14396 hppa*64*)
14399 lt_prog_compiler_pic_CXX='-fPIC'
14401 esac
14403 *qnx* | *nto*)
14404 # QNX uses GNU C++, but need to define -shared option too, otherwise
14405 # it will coredump.
14406 lt_prog_compiler_pic_CXX='-fPIC -shared'
14409 lt_prog_compiler_pic_CXX='-fPIC'
14411 esac
14412 else
14413 case $host_os in
14414 aix[4-9]*)
14415 # All AIX code is PIC.
14416 if test "$host_cpu" = ia64; then
14417 # AIX 5 now supports IA64 processor
14418 lt_prog_compiler_static_CXX='-Bstatic'
14419 else
14420 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14423 chorus*)
14424 case $cc_basename in
14425 cxch68*)
14426 # Green Hills C++ Compiler
14427 # _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"
14429 esac
14431 mingw* | cygwin* | os2* | pw32* | cegcc*)
14432 # This hack is so that the source file can tell whether it is being
14433 # built for inclusion in a dll (and should export symbols for example).
14434 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14436 dgux*)
14437 case $cc_basename in
14438 ec++*)
14439 lt_prog_compiler_pic_CXX='-KPIC'
14441 ghcx*)
14442 # Green Hills C++ Compiler
14443 lt_prog_compiler_pic_CXX='-pic'
14447 esac
14449 freebsd* | dragonfly*)
14450 # FreeBSD uses GNU C++
14452 hpux9* | hpux10* | hpux11*)
14453 case $cc_basename in
14454 CC*)
14455 lt_prog_compiler_wl_CXX='-Wl,'
14456 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14457 if test "$host_cpu" != ia64; then
14458 lt_prog_compiler_pic_CXX='+Z'
14461 aCC*)
14462 lt_prog_compiler_wl_CXX='-Wl,'
14463 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14464 case $host_cpu in
14465 hppa*64*|ia64*)
14466 # +Z the default
14469 lt_prog_compiler_pic_CXX='+Z'
14471 esac
14475 esac
14477 interix*)
14478 # This is c89, which is MS Visual C++ (no shared libs)
14479 # Anyone wants to do a port?
14481 irix5* | irix6* | nonstopux*)
14482 case $cc_basename in
14483 CC*)
14484 lt_prog_compiler_wl_CXX='-Wl,'
14485 lt_prog_compiler_static_CXX='-non_shared'
14486 # CC pic flag -KPIC is the default.
14490 esac
14492 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14493 case $cc_basename in
14494 KCC*)
14495 # KAI C++ Compiler
14496 lt_prog_compiler_wl_CXX='--backend -Wl,'
14497 lt_prog_compiler_pic_CXX='-fPIC'
14499 ecpc* )
14500 # old Intel C++ for x86_64 which still supported -KPIC.
14501 lt_prog_compiler_wl_CXX='-Wl,'
14502 lt_prog_compiler_pic_CXX='-KPIC'
14503 lt_prog_compiler_static_CXX='-static'
14505 icpc* )
14506 # Intel C++, used to be incompatible with GCC.
14507 # ICC 10 doesn't accept -KPIC any more.
14508 lt_prog_compiler_wl_CXX='-Wl,'
14509 lt_prog_compiler_pic_CXX='-fPIC'
14510 lt_prog_compiler_static_CXX='-static'
14512 pgCC* | pgcpp*)
14513 # Portland Group C++ compiler
14514 lt_prog_compiler_wl_CXX='-Wl,'
14515 lt_prog_compiler_pic_CXX='-fpic'
14516 lt_prog_compiler_static_CXX='-Bstatic'
14518 cxx*)
14519 # Compaq C++
14520 # Make sure the PIC flag is empty. It appears that all Alpha
14521 # Linux and Compaq Tru64 Unix objects are PIC.
14522 lt_prog_compiler_pic_CXX=
14523 lt_prog_compiler_static_CXX='-non_shared'
14525 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14526 # IBM XL 8.0, 9.0 on PPC and BlueGene
14527 lt_prog_compiler_wl_CXX='-Wl,'
14528 lt_prog_compiler_pic_CXX='-qpic'
14529 lt_prog_compiler_static_CXX='-qstaticlink'
14532 case `$CC -V 2>&1 | sed 5q` in
14533 *Sun\ C*)
14534 # Sun C++ 5.9
14535 lt_prog_compiler_pic_CXX='-KPIC'
14536 lt_prog_compiler_static_CXX='-Bstatic'
14537 lt_prog_compiler_wl_CXX='-Qoption ld '
14539 esac
14541 esac
14543 lynxos*)
14545 m88k*)
14547 mvs*)
14548 case $cc_basename in
14549 cxx*)
14550 lt_prog_compiler_pic_CXX='-W c,exportall'
14554 esac
14556 netbsd*)
14558 *qnx* | *nto*)
14559 # QNX uses GNU C++, but need to define -shared option too, otherwise
14560 # it will coredump.
14561 lt_prog_compiler_pic_CXX='-fPIC -shared'
14563 osf3* | osf4* | osf5*)
14564 case $cc_basename in
14565 KCC*)
14566 lt_prog_compiler_wl_CXX='--backend -Wl,'
14568 RCC*)
14569 # Rational C++ 2.4.1
14570 lt_prog_compiler_pic_CXX='-pic'
14572 cxx*)
14573 # Digital/Compaq C++
14574 lt_prog_compiler_wl_CXX='-Wl,'
14575 # Make sure the PIC flag is empty. It appears that all Alpha
14576 # Linux and Compaq Tru64 Unix objects are PIC.
14577 lt_prog_compiler_pic_CXX=
14578 lt_prog_compiler_static_CXX='-non_shared'
14582 esac
14584 psos*)
14586 solaris*)
14587 case $cc_basename in
14588 CC* | sunCC*)
14589 # Sun C++ 4.2, 5.x and Centerline C++
14590 lt_prog_compiler_pic_CXX='-KPIC'
14591 lt_prog_compiler_static_CXX='-Bstatic'
14592 lt_prog_compiler_wl_CXX='-Qoption ld '
14594 gcx*)
14595 # Green Hills C++ Compiler
14596 lt_prog_compiler_pic_CXX='-PIC'
14600 esac
14602 sunos4*)
14603 case $cc_basename in
14604 CC*)
14605 # Sun C++ 4.x
14606 lt_prog_compiler_pic_CXX='-pic'
14607 lt_prog_compiler_static_CXX='-Bstatic'
14609 lcc*)
14610 # Lucid
14611 lt_prog_compiler_pic_CXX='-pic'
14615 esac
14617 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14618 case $cc_basename in
14619 CC*)
14620 lt_prog_compiler_wl_CXX='-Wl,'
14621 lt_prog_compiler_pic_CXX='-KPIC'
14622 lt_prog_compiler_static_CXX='-Bstatic'
14624 esac
14626 tandem*)
14627 case $cc_basename in
14628 NCC*)
14629 # NonStop-UX NCC 3.20
14630 lt_prog_compiler_pic_CXX='-KPIC'
14634 esac
14636 vxworks*)
14639 lt_prog_compiler_can_build_shared_CXX=no
14641 esac
14644 case $host_os in
14645 # For platforms which do not support PIC, -DPIC is meaningless:
14646 *djgpp*)
14647 lt_prog_compiler_pic_CXX=
14650 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14652 esac
14654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14655 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14656 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
14657 $as_echo_n "(cached) " >&6
14658 else
14659 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
14661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14662 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14663 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
14666 # Check to make sure the PIC flag actually works.
14668 if test -n "$lt_prog_compiler_pic_CXX"; then
14669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14670 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14671 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14672 $as_echo_n "(cached) " >&6
14673 else
14674 lt_cv_prog_compiler_pic_works_CXX=no
14675 ac_outfile=conftest.$ac_objext
14676 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14677 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14678 # Insert the option either (1) after the last *FLAGS variable, or
14679 # (2) before a word containing "conftest.", or (3) at the end.
14680 # Note that $ac_compile itself does not contain backslashes and begins
14681 # with a dollar sign (not a hyphen), so the echo should work correctly.
14682 # The option is referenced via a variable to avoid confusing sed.
14683 lt_compile=`echo "$ac_compile" | $SED \
14684 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14685 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14686 -e 's:$: $lt_compiler_flag:'`
14687 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14688 (eval "$lt_compile" 2>conftest.err)
14689 ac_status=$?
14690 cat conftest.err >&5
14691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14692 if (exit $ac_status) && test -s "$ac_outfile"; then
14693 # The compiler can only warn and ignore the option if not recognized
14694 # So say no if there are warnings other than the usual output.
14695 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14696 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14697 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14698 lt_cv_prog_compiler_pic_works_CXX=yes
14701 $RM conftest*
14704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14705 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14707 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14708 case $lt_prog_compiler_pic_CXX in
14709 "" | " "*) ;;
14710 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14711 esac
14712 else
14713 lt_prog_compiler_pic_CXX=
14714 lt_prog_compiler_can_build_shared_CXX=no
14724 # Check to make sure the static flag actually works.
14726 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14728 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14729 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14730 $as_echo_n "(cached) " >&6
14731 else
14732 lt_cv_prog_compiler_static_works_CXX=no
14733 save_LDFLAGS="$LDFLAGS"
14734 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14735 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14736 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14737 # The linker can only warn and ignore the option if not recognized
14738 # So say no if there are warnings
14739 if test -s conftest.err; then
14740 # Append any errors to the config.log.
14741 cat conftest.err 1>&5
14742 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14743 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14744 if diff conftest.exp conftest.er2 >/dev/null; then
14745 lt_cv_prog_compiler_static_works_CXX=yes
14747 else
14748 lt_cv_prog_compiler_static_works_CXX=yes
14751 $RM -r conftest*
14752 LDFLAGS="$save_LDFLAGS"
14755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14756 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14758 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14760 else
14761 lt_prog_compiler_static_CXX=
14767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14768 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14769 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14770 $as_echo_n "(cached) " >&6
14771 else
14772 lt_cv_prog_compiler_c_o_CXX=no
14773 $RM -r conftest 2>/dev/null
14774 mkdir conftest
14775 cd conftest
14776 mkdir out
14777 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14779 lt_compiler_flag="-o out/conftest2.$ac_objext"
14780 # Insert the option either (1) after the last *FLAGS variable, or
14781 # (2) before a word containing "conftest.", or (3) at the end.
14782 # Note that $ac_compile itself does not contain backslashes and begins
14783 # with a dollar sign (not a hyphen), so the echo should work correctly.
14784 lt_compile=`echo "$ac_compile" | $SED \
14785 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14786 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14787 -e 's:$: $lt_compiler_flag:'`
14788 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14789 (eval "$lt_compile" 2>out/conftest.err)
14790 ac_status=$?
14791 cat out/conftest.err >&5
14792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14793 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14794 then
14795 # The compiler can only warn and ignore the option if not recognized
14796 # So say no if there are warnings
14797 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14798 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14799 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14800 lt_cv_prog_compiler_c_o_CXX=yes
14803 chmod u+w . 2>&5
14804 $RM conftest*
14805 # SGI C++ compiler will create directory out/ii_files/ for
14806 # template instantiation
14807 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14808 $RM out/* && rmdir out
14809 cd ..
14810 $RM -r conftest
14811 $RM conftest*
14814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14815 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14820 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14821 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14822 $as_echo_n "(cached) " >&6
14823 else
14824 lt_cv_prog_compiler_c_o_CXX=no
14825 $RM -r conftest 2>/dev/null
14826 mkdir conftest
14827 cd conftest
14828 mkdir out
14829 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14831 lt_compiler_flag="-o out/conftest2.$ac_objext"
14832 # Insert the option either (1) after the last *FLAGS variable, or
14833 # (2) before a word containing "conftest.", or (3) at the end.
14834 # Note that $ac_compile itself does not contain backslashes and begins
14835 # with a dollar sign (not a hyphen), so the echo should work correctly.
14836 lt_compile=`echo "$ac_compile" | $SED \
14837 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14838 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14839 -e 's:$: $lt_compiler_flag:'`
14840 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14841 (eval "$lt_compile" 2>out/conftest.err)
14842 ac_status=$?
14843 cat out/conftest.err >&5
14844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14845 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14846 then
14847 # The compiler can only warn and ignore the option if not recognized
14848 # So say no if there are warnings
14849 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14850 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14851 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14852 lt_cv_prog_compiler_c_o_CXX=yes
14855 chmod u+w . 2>&5
14856 $RM conftest*
14857 # SGI C++ compiler will create directory out/ii_files/ for
14858 # template instantiation
14859 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14860 $RM out/* && rmdir out
14861 cd ..
14862 $RM -r conftest
14863 $RM conftest*
14866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14867 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14872 hard_links="nottested"
14873 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14874 # do not overwrite the value of need_locks provided by the user
14875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14876 $as_echo_n "checking if we can lock with hard links... " >&6; }
14877 hard_links=yes
14878 $RM conftest*
14879 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14880 touch conftest.a
14881 ln conftest.a conftest.b 2>&5 || hard_links=no
14882 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14884 $as_echo "$hard_links" >&6; }
14885 if test "$hard_links" = no; then
14886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14887 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14888 need_locks=warn
14890 else
14891 need_locks=no
14896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14897 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14899 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14900 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14901 case $host_os in
14902 aix[4-9]*)
14903 # If we're using GNU nm, then we don't want the "-C" option.
14904 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14905 # Also, AIX nm treats weak defined symbols like other global defined
14906 # symbols, whereas GNU nm marks them as "W".
14907 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14908 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'
14909 else
14910 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'
14913 pw32*)
14914 export_symbols_cmds_CXX="$ltdll_cmds"
14916 cygwin* | mingw* | cegcc*)
14917 case $cc_basename in
14918 cl*) ;;
14920 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'
14921 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14923 esac
14926 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14928 esac
14930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14931 $as_echo "$ld_shlibs_CXX" >&6; }
14932 test "$ld_shlibs_CXX" = no && can_build_shared=no
14934 with_gnu_ld_CXX=$with_gnu_ld
14942 # Do we need to explicitly link libc?
14944 case "x$archive_cmds_need_lc_CXX" in
14945 x|xyes)
14946 # Assume -lc should be added
14947 archive_cmds_need_lc_CXX=yes
14949 if test "$enable_shared" = yes && test "$GCC" = yes; then
14950 case $archive_cmds_CXX in
14951 *'~'*)
14952 # FIXME: we may have to deal with multi-command sequences.
14954 '$CC '*)
14955 # Test whether the compiler implicitly links with -lc since on some
14956 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14957 # to ld, don't add -lc before -lgcc.
14958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14959 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14960 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14961 $as_echo_n "(cached) " >&6
14962 else
14963 $RM conftest*
14964 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14966 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14967 (eval $ac_compile) 2>&5
14968 ac_status=$?
14969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14970 test $ac_status = 0; } 2>conftest.err; then
14971 soname=conftest
14972 lib=conftest
14973 libobjs=conftest.$ac_objext
14974 deplibs=
14975 wl=$lt_prog_compiler_wl_CXX
14976 pic_flag=$lt_prog_compiler_pic_CXX
14977 compiler_flags=-v
14978 linker_flags=-v
14979 verstring=
14980 output_objdir=.
14981 libname=conftest
14982 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14983 allow_undefined_flag_CXX=
14984 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14985 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14986 ac_status=$?
14987 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14988 test $ac_status = 0; }
14989 then
14990 lt_cv_archive_cmds_need_lc_CXX=no
14991 else
14992 lt_cv_archive_cmds_need_lc_CXX=yes
14994 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14995 else
14996 cat conftest.err 1>&5
14998 $RM conftest*
15001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15002 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15003 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
15005 esac
15008 esac
15073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15074 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15076 library_names_spec=
15077 libname_spec='lib$name'
15078 soname_spec=
15079 shrext_cmds=".so"
15080 postinstall_cmds=
15081 postuninstall_cmds=
15082 finish_cmds=
15083 finish_eval=
15084 shlibpath_var=
15085 shlibpath_overrides_runpath=unknown
15086 version_type=none
15087 dynamic_linker="$host_os ld.so"
15088 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15089 need_lib_prefix=unknown
15090 hardcode_into_libs=no
15092 # when you set need_version to no, make sure it does not cause -set_version
15093 # flags to be left without arguments
15094 need_version=unknown
15096 case $host_os in
15097 aix3*)
15098 version_type=linux
15099 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15100 shlibpath_var=LIBPATH
15102 # AIX 3 has no versioning support, so we append a major version to the name.
15103 soname_spec='${libname}${release}${shared_ext}$major'
15106 aix[4-9]*)
15107 version_type=linux
15108 need_lib_prefix=no
15109 need_version=no
15110 hardcode_into_libs=yes
15111 if test "$host_cpu" = ia64; then
15112 # AIX 5 supports IA64
15113 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15114 shlibpath_var=LD_LIBRARY_PATH
15115 else
15116 # With GCC up to 2.95.x, collect2 would create an import file
15117 # for dependence libraries. The import file would start with
15118 # the line `#! .'. This would cause the generated library to
15119 # depend on `.', always an invalid library. This was fixed in
15120 # development snapshots of GCC prior to 3.0.
15121 case $host_os in
15122 aix4 | aix4.[01] | aix4.[01].*)
15123 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15124 echo ' yes '
15125 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
15127 else
15128 can_build_shared=no
15131 esac
15132 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15133 # soname into executable. Probably we can add versioning support to
15134 # collect2, so additional links can be useful in future.
15135 if test "$aix_use_runtimelinking" = yes; then
15136 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15137 # instead of lib<name>.a to let people know that these are not
15138 # typical AIX shared libraries.
15139 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15140 else
15141 # We preserve .a as extension for shared libraries through AIX4.2
15142 # and later when we are not doing run time linking.
15143 library_names_spec='${libname}${release}.a $libname.a'
15144 soname_spec='${libname}${release}${shared_ext}$major'
15146 shlibpath_var=LIBPATH
15150 amigaos*)
15151 case $host_cpu in
15152 powerpc)
15153 # Since July 2007 AmigaOS4 officially supports .so libraries.
15154 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15155 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15157 m68k)
15158 library_names_spec='$libname.ixlibrary $libname.a'
15159 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15160 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'
15162 esac
15165 beos*)
15166 library_names_spec='${libname}${shared_ext}'
15167 dynamic_linker="$host_os ld.so"
15168 shlibpath_var=LIBRARY_PATH
15171 bsdi[45]*)
15172 version_type=linux
15173 need_version=no
15174 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15175 soname_spec='${libname}${release}${shared_ext}$major'
15176 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15177 shlibpath_var=LD_LIBRARY_PATH
15178 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15179 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15180 # the default ld.so.conf also contains /usr/contrib/lib and
15181 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15182 # libtool to hard-code these into programs
15185 cygwin* | mingw* | pw32* | cegcc*)
15186 version_type=windows
15187 shrext_cmds=".dll"
15188 need_version=no
15189 need_lib_prefix=no
15191 case $GCC,$cc_basename in
15192 yes,*)
15193 # gcc
15194 library_names_spec='$libname.dll.a'
15195 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15196 postinstall_cmds='base_file=`basename \${file}`~
15197 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15198 dldir=$destdir/`dirname \$dlpath`~
15199 test -d \$dldir || mkdir -p \$dldir~
15200 $install_prog $dir/$dlname \$dldir/$dlname~
15201 chmod a+x \$dldir/$dlname~
15202 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15203 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15205 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15206 dlpath=$dir/\$dldll~
15207 $RM \$dlpath'
15208 shlibpath_overrides_runpath=yes
15210 case $host_os in
15211 cygwin*)
15212 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15213 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15216 mingw* | cegcc*)
15217 # MinGW DLLs use traditional 'lib' prefix
15218 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15220 pw32*)
15221 # pw32 DLLs use 'pw' prefix rather than 'lib'
15222 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15224 esac
15225 dynamic_linker='Win32 ld.exe'
15228 *,cl*)
15229 # Native MSVC
15230 libname_spec='$name'
15231 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15232 library_names_spec='${libname}.dll.lib'
15234 case $build_os in
15235 mingw*)
15236 sys_lib_search_path_spec=
15237 lt_save_ifs=$IFS
15238 IFS=';'
15239 for lt_path in $LIB
15241 IFS=$lt_save_ifs
15242 # Let DOS variable expansion print the short 8.3 style file name.
15243 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15244 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
15245 done
15246 IFS=$lt_save_ifs
15247 # Convert to MSYS style.
15248 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15250 cygwin*)
15251 # Convert to unix form, then to dos form, then back to unix form
15252 # but this time dos style (no spaces!) so that the unix form looks
15253 # like /cygdrive/c/PROGRA~1:/cygdr...
15254 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
15255 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15256 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15259 sys_lib_search_path_spec="$LIB"
15260 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15261 # It is most probably a Windows format PATH.
15262 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15263 else
15264 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15266 # FIXME: find the short name or the path components, as spaces are
15267 # common. (e.g. "Program Files" -> "PROGRA~1")
15269 esac
15271 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15272 postinstall_cmds='base_file=`basename \${file}`~
15273 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15274 dldir=$destdir/`dirname \$dlpath`~
15275 test -d \$dldir || mkdir -p \$dldir~
15276 $install_prog $dir/$dlname \$dldir/$dlname'
15277 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15278 dlpath=$dir/\$dldll~
15279 $RM \$dlpath'
15280 shlibpath_overrides_runpath=yes
15281 dynamic_linker='Win32 link.exe'
15285 # Assume MSVC wrapper
15286 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15287 dynamic_linker='Win32 ld.exe'
15289 esac
15290 # FIXME: first we should search . and the directory the executable is in
15291 shlibpath_var=PATH
15294 darwin* | rhapsody*)
15295 dynamic_linker="$host_os dyld"
15296 version_type=darwin
15297 need_lib_prefix=no
15298 need_version=no
15299 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15300 soname_spec='${libname}${release}${major}$shared_ext'
15301 shlibpath_overrides_runpath=yes
15302 shlibpath_var=DYLD_LIBRARY_PATH
15303 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15305 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15308 dgux*)
15309 version_type=linux
15310 need_lib_prefix=no
15311 need_version=no
15312 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15313 soname_spec='${libname}${release}${shared_ext}$major'
15314 shlibpath_var=LD_LIBRARY_PATH
15317 freebsd1*)
15318 dynamic_linker=no
15321 freebsd* | dragonfly*)
15322 # DragonFly does not have aout. When/if they implement a new
15323 # versioning mechanism, adjust this.
15324 if test -x /usr/bin/objformat; then
15325 objformat=`/usr/bin/objformat`
15326 else
15327 case $host_os in
15328 freebsd[123]*) objformat=aout ;;
15329 *) objformat=elf ;;
15330 esac
15332 version_type=freebsd-$objformat
15333 case $version_type in
15334 freebsd-elf*)
15335 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15336 need_version=no
15337 need_lib_prefix=no
15339 freebsd-*)
15340 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15341 need_version=yes
15343 esac
15344 shlibpath_var=LD_LIBRARY_PATH
15345 case $host_os in
15346 freebsd2*)
15347 shlibpath_overrides_runpath=yes
15349 freebsd3.[01]* | freebsdelf3.[01]*)
15350 shlibpath_overrides_runpath=yes
15351 hardcode_into_libs=yes
15353 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15354 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15355 shlibpath_overrides_runpath=no
15356 hardcode_into_libs=yes
15358 *) # from 4.6 on, and DragonFly
15359 shlibpath_overrides_runpath=yes
15360 hardcode_into_libs=yes
15362 esac
15365 gnu*)
15366 version_type=linux
15367 need_lib_prefix=no
15368 need_version=no
15369 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15370 soname_spec='${libname}${release}${shared_ext}$major'
15371 shlibpath_var=LD_LIBRARY_PATH
15372 hardcode_into_libs=yes
15375 haiku*)
15376 version_type=linux
15377 need_lib_prefix=no
15378 need_version=no
15379 dynamic_linker="$host_os runtime_loader"
15380 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15381 soname_spec='${libname}${release}${shared_ext}$major'
15382 shlibpath_var=LIBRARY_PATH
15383 shlibpath_overrides_runpath=yes
15384 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15385 hardcode_into_libs=yes
15388 hpux9* | hpux10* | hpux11*)
15389 # Give a soname corresponding to the major version so that dld.sl refuses to
15390 # link against other versions.
15391 version_type=sunos
15392 need_lib_prefix=no
15393 need_version=no
15394 case $host_cpu in
15395 ia64*)
15396 shrext_cmds='.so'
15397 hardcode_into_libs=yes
15398 dynamic_linker="$host_os dld.so"
15399 shlibpath_var=LD_LIBRARY_PATH
15400 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15401 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15402 soname_spec='${libname}${release}${shared_ext}$major'
15403 if test "X$HPUX_IA64_MODE" = X32; then
15404 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15405 else
15406 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15408 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15410 hppa*64*)
15411 shrext_cmds='.sl'
15412 hardcode_into_libs=yes
15413 dynamic_linker="$host_os dld.sl"
15414 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15415 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15416 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15417 soname_spec='${libname}${release}${shared_ext}$major'
15418 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15419 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15422 shrext_cmds='.sl'
15423 dynamic_linker="$host_os dld.sl"
15424 shlibpath_var=SHLIB_PATH
15425 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15426 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15427 soname_spec='${libname}${release}${shared_ext}$major'
15429 esac
15430 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15431 postinstall_cmds='chmod 555 $lib'
15432 # or fails outright, so override atomically:
15433 install_override_mode=555
15436 interix[3-9]*)
15437 version_type=linux
15438 need_lib_prefix=no
15439 need_version=no
15440 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15441 soname_spec='${libname}${release}${shared_ext}$major'
15442 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15443 shlibpath_var=LD_LIBRARY_PATH
15444 shlibpath_overrides_runpath=no
15445 hardcode_into_libs=yes
15448 irix5* | irix6* | nonstopux*)
15449 case $host_os in
15450 nonstopux*) version_type=nonstopux ;;
15452 if test "$lt_cv_prog_gnu_ld" = yes; then
15453 version_type=linux
15454 else
15455 version_type=irix
15456 fi ;;
15457 esac
15458 need_lib_prefix=no
15459 need_version=no
15460 soname_spec='${libname}${release}${shared_ext}$major'
15461 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15462 case $host_os in
15463 irix5* | nonstopux*)
15464 libsuff= shlibsuff=
15467 case $LD in # libtool.m4 will add one of these switches to LD
15468 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15469 libsuff= shlibsuff= libmagic=32-bit;;
15470 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15471 libsuff=32 shlibsuff=N32 libmagic=N32;;
15472 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15473 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15474 *) libsuff= shlibsuff= libmagic=never-match;;
15475 esac
15477 esac
15478 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15479 shlibpath_overrides_runpath=no
15480 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15481 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15482 hardcode_into_libs=yes
15485 # No shared lib support for Linux oldld, aout, or coff.
15486 linux*oldld* | linux*aout* | linux*coff*)
15487 dynamic_linker=no
15490 # This must be Linux ELF.
15491 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15492 version_type=linux
15493 need_lib_prefix=no
15494 need_version=no
15495 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15496 soname_spec='${libname}${release}${shared_ext}$major'
15497 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15498 shlibpath_var=LD_LIBRARY_PATH
15499 shlibpath_overrides_runpath=no
15501 # Some binutils ld are patched to set DT_RUNPATH
15502 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15503 $as_echo_n "(cached) " >&6
15504 else
15505 lt_cv_shlibpath_overrides_runpath=no
15506 save_LDFLAGS=$LDFLAGS
15507 save_libdir=$libdir
15508 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15509 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15511 /* end confdefs.h. */
15514 main ()
15518 return 0;
15520 _ACEOF
15521 if ac_fn_cxx_try_link "$LINENO"; then :
15522 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15523 lt_cv_shlibpath_overrides_runpath=yes
15526 rm -f core conftest.err conftest.$ac_objext \
15527 conftest$ac_exeext conftest.$ac_ext
15528 LDFLAGS=$save_LDFLAGS
15529 libdir=$save_libdir
15533 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15535 # This implies no fast_install, which is unacceptable.
15536 # Some rework will be needed to allow for fast_install
15537 # before this can be enabled.
15538 hardcode_into_libs=yes
15540 # Append ld.so.conf contents to the search path
15541 if test -f /etc/ld.so.conf; then
15542 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' ' '`
15543 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15546 # We used to test for /lib/ld.so.1 and disable shared libraries on
15547 # powerpc, because MkLinux only supported shared libraries with the
15548 # GNU dynamic linker. Since this was broken with cross compilers,
15549 # most powerpc-linux boxes support dynamic linking these days and
15550 # people can always --disable-shared, the test was removed, and we
15551 # assume the GNU/Linux dynamic linker is in use.
15552 dynamic_linker='GNU/Linux ld.so'
15555 netbsd*)
15556 version_type=sunos
15557 need_lib_prefix=no
15558 need_version=no
15559 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15560 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15561 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15562 dynamic_linker='NetBSD (a.out) ld.so'
15563 else
15564 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15565 soname_spec='${libname}${release}${shared_ext}$major'
15566 dynamic_linker='NetBSD ld.elf_so'
15568 shlibpath_var=LD_LIBRARY_PATH
15569 shlibpath_overrides_runpath=yes
15570 hardcode_into_libs=yes
15573 newsos6)
15574 version_type=linux
15575 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15576 shlibpath_var=LD_LIBRARY_PATH
15577 shlibpath_overrides_runpath=yes
15580 *nto* | *qnx*)
15581 version_type=qnx
15582 need_lib_prefix=no
15583 need_version=no
15584 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15585 soname_spec='${libname}${release}${shared_ext}$major'
15586 shlibpath_var=LD_LIBRARY_PATH
15587 shlibpath_overrides_runpath=no
15588 hardcode_into_libs=yes
15589 dynamic_linker='ldqnx.so'
15592 openbsd*)
15593 version_type=sunos
15594 sys_lib_dlsearch_path_spec="/usr/lib"
15595 need_lib_prefix=no
15596 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15597 case $host_os in
15598 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15599 *) need_version=no ;;
15600 esac
15601 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15602 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15603 shlibpath_var=LD_LIBRARY_PATH
15604 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15605 case $host_os in
15606 openbsd2.[89] | openbsd2.[89].*)
15607 shlibpath_overrides_runpath=no
15610 shlibpath_overrides_runpath=yes
15612 esac
15613 else
15614 shlibpath_overrides_runpath=yes
15618 os2*)
15619 libname_spec='$name'
15620 shrext_cmds=".dll"
15621 need_lib_prefix=no
15622 library_names_spec='$libname${shared_ext} $libname.a'
15623 dynamic_linker='OS/2 ld.exe'
15624 shlibpath_var=LIBPATH
15627 osf3* | osf4* | osf5*)
15628 version_type=osf
15629 need_lib_prefix=no
15630 need_version=no
15631 soname_spec='${libname}${release}${shared_ext}$major'
15632 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15633 shlibpath_var=LD_LIBRARY_PATH
15634 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15635 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15638 rdos*)
15639 dynamic_linker=no
15642 solaris*)
15643 version_type=linux
15644 need_lib_prefix=no
15645 need_version=no
15646 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15647 soname_spec='${libname}${release}${shared_ext}$major'
15648 shlibpath_var=LD_LIBRARY_PATH
15649 shlibpath_overrides_runpath=yes
15650 hardcode_into_libs=yes
15651 # ldd complains unless libraries are executable
15652 postinstall_cmds='chmod +x $lib'
15655 sunos4*)
15656 version_type=sunos
15657 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15658 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15659 shlibpath_var=LD_LIBRARY_PATH
15660 shlibpath_overrides_runpath=yes
15661 if test "$with_gnu_ld" = yes; then
15662 need_lib_prefix=no
15664 need_version=yes
15667 sysv4 | sysv4.3*)
15668 version_type=linux
15669 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15670 soname_spec='${libname}${release}${shared_ext}$major'
15671 shlibpath_var=LD_LIBRARY_PATH
15672 case $host_vendor in
15673 sni)
15674 shlibpath_overrides_runpath=no
15675 need_lib_prefix=no
15676 runpath_var=LD_RUN_PATH
15678 siemens)
15679 need_lib_prefix=no
15681 motorola)
15682 need_lib_prefix=no
15683 need_version=no
15684 shlibpath_overrides_runpath=no
15685 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15687 esac
15690 sysv4*MP*)
15691 if test -d /usr/nec ;then
15692 version_type=linux
15693 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15694 soname_spec='$libname${shared_ext}.$major'
15695 shlibpath_var=LD_LIBRARY_PATH
15699 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15700 version_type=freebsd-elf
15701 need_lib_prefix=no
15702 need_version=no
15703 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15704 soname_spec='${libname}${release}${shared_ext}$major'
15705 shlibpath_var=LD_LIBRARY_PATH
15706 shlibpath_overrides_runpath=yes
15707 hardcode_into_libs=yes
15708 if test "$with_gnu_ld" = yes; then
15709 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15710 else
15711 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15712 case $host_os in
15713 sco3.2v5*)
15714 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15716 esac
15718 sys_lib_dlsearch_path_spec='/usr/lib'
15721 tpf*)
15722 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15723 version_type=linux
15724 need_lib_prefix=no
15725 need_version=no
15726 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15727 shlibpath_var=LD_LIBRARY_PATH
15728 shlibpath_overrides_runpath=no
15729 hardcode_into_libs=yes
15732 uts4*)
15733 version_type=linux
15734 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15735 soname_spec='${libname}${release}${shared_ext}$major'
15736 shlibpath_var=LD_LIBRARY_PATH
15740 dynamic_linker=no
15742 esac
15743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15744 $as_echo "$dynamic_linker" >&6; }
15745 test "$dynamic_linker" = no && can_build_shared=no
15747 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15748 if test "$GCC" = yes; then
15749 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15752 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15753 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15755 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15756 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15797 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15798 hardcode_action_CXX=
15799 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15800 test -n "$runpath_var_CXX" ||
15801 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15803 # We can hardcode non-existent directories.
15804 if test "$hardcode_direct_CXX" != no &&
15805 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15806 # have to relink, otherwise we might link with an installed library
15807 # when we should be linking with a yet-to-be-installed one
15808 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15809 test "$hardcode_minus_L_CXX" != no; then
15810 # Linking always hardcodes the temporary library directory.
15811 hardcode_action_CXX=relink
15812 else
15813 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15814 hardcode_action_CXX=immediate
15816 else
15817 # We cannot hardcode anything, or else we can only hardcode existing
15818 # directories.
15819 hardcode_action_CXX=unsupported
15821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15822 $as_echo "$hardcode_action_CXX" >&6; }
15824 if test "$hardcode_action_CXX" = relink ||
15825 test "$inherit_rpath_CXX" = yes; then
15826 # Fast installation is not supported
15827 enable_fast_install=no
15828 elif test "$shlibpath_overrides_runpath" = yes ||
15829 test "$enable_shared" = no; then
15830 # Fast installation is not necessary
15831 enable_fast_install=needless
15840 fi # test -n "$compiler"
15842 CC=$lt_save_CC
15843 CFLAGS=$lt_save_CFLAGS
15844 LDCXX=$LD
15845 LD=$lt_save_LD
15846 GCC=$lt_save_GCC
15847 with_gnu_ld=$lt_save_with_gnu_ld
15848 lt_cv_path_LDCXX=$lt_cv_path_LD
15849 lt_cv_path_LD=$lt_save_path_LD
15850 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15851 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15852 fi # test "$_lt_caught_CXX_error" != yes
15854 ac_ext=c
15855 ac_cpp='$CPP $CPPFLAGS'
15856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
15862 $as_echo_n "checking whether ln -s works... " >&6; }
15863 LN_S=$as_ln_s
15864 if test "$LN_S" = "ln -s"; then
15865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15866 $as_echo "yes" >&6; }
15867 else
15868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
15869 $as_echo "no, using $LN_S" >&6; }
15873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
15874 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
15875 set x ${MAKE-make}
15876 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
15877 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
15878 $as_echo_n "(cached) " >&6
15879 else
15880 cat >conftest.make <<\_ACEOF
15881 SHELL = /bin/sh
15882 all:
15883 @echo '@@@%%%=$(MAKE)=@@@%%%'
15884 _ACEOF
15885 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
15886 case `${MAKE-make} -f conftest.make 2>/dev/null` in
15887 *@@@%%%=?*=@@@%%%*)
15888 eval ac_cv_prog_make_${ac_make}_set=yes;;
15890 eval ac_cv_prog_make_${ac_make}_set=no;;
15891 esac
15892 rm -f conftest.make
15894 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
15895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15896 $as_echo "yes" >&6; }
15897 SET_MAKE=
15898 else
15899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15900 $as_echo "no" >&6; }
15901 SET_MAKE="MAKE=${MAKE-make}"
15906 # Extract the first word of "gengetopt", so it can be a program name with args.
15907 set dummy gengetopt; ac_word=$2
15908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15909 $as_echo_n "checking for $ac_word... " >&6; }
15910 if ${ac_cv_path_GENGETOPT+:} false; then :
15911 $as_echo_n "(cached) " >&6
15912 else
15913 case $GENGETOPT in
15914 [\\/]* | ?:[\\/]*)
15915 ac_cv_path_GENGETOPT="$GENGETOPT" # Let the user override the test with a path.
15918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15919 for as_dir in $PATH
15921 IFS=$as_save_IFS
15922 test -z "$as_dir" && as_dir=.
15923 for ac_exec_ext in '' $ac_executable_extensions; do
15924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15925 ac_cv_path_GENGETOPT="$as_dir/$ac_word$ac_exec_ext"
15926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15927 break 2
15929 done
15930 done
15931 IFS=$as_save_IFS
15933 test -z "$ac_cv_path_GENGETOPT" && ac_cv_path_GENGETOPT="no"
15935 esac
15937 GENGETOPT=$ac_cv_path_GENGETOPT
15938 if test -n "$GENGETOPT"; then
15939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENGETOPT" >&5
15940 $as_echo "$GENGETOPT" >&6; }
15941 else
15942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15943 $as_echo "no" >&6; }
15947 if test x"$GENGETOPT" != "xno"; then
15948 HAVE_GENGETOPT_TRUE=
15949 HAVE_GENGETOPT_FALSE='#'
15950 else
15951 HAVE_GENGETOPT_TRUE='#'
15952 HAVE_GENGETOPT_FALSE=
15957 # Extract the first word of "doxygen", so it can be a program name with args.
15958 set dummy doxygen; ac_word=$2
15959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15960 $as_echo_n "checking for $ac_word... " >&6; }
15961 if ${ac_cv_path_DOXYGEN+:} false; then :
15962 $as_echo_n "(cached) " >&6
15963 else
15964 case $DOXYGEN in
15965 [\\/]* | ?:[\\/]*)
15966 ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
15969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15970 for as_dir in $PATH
15972 IFS=$as_save_IFS
15973 test -z "$as_dir" && as_dir=.
15974 for ac_exec_ext in '' $ac_executable_extensions; do
15975 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15976 ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
15977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15978 break 2
15980 done
15981 done
15982 IFS=$as_save_IFS
15984 test -z "$ac_cv_path_DOXYGEN" && ac_cv_path_DOXYGEN="no"
15986 esac
15988 DOXYGEN=$ac_cv_path_DOXYGEN
15989 if test -n "$DOXYGEN"; then
15990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
15991 $as_echo "$DOXYGEN" >&6; }
15992 else
15993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15994 $as_echo "no" >&6; }
15998 if test x"$DOXYGEN" != "xno"; then
15999 HAVE_DOXYGEN_TRUE=
16000 HAVE_DOXYGEN_FALSE='#'
16001 else
16002 HAVE_DOXYGEN_TRUE='#'
16003 HAVE_DOXYGEN_FALSE=
16008 # Extract the first word of "perl", so it can be a program name with args.
16009 set dummy perl; ac_word=$2
16010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16011 $as_echo_n "checking for $ac_word... " >&6; }
16012 if ${ac_cv_path_PERL+:} false; then :
16013 $as_echo_n "(cached) " >&6
16014 else
16015 case $PERL in
16016 [\\/]* | ?:[\\/]*)
16017 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
16020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16021 for as_dir in $PATH
16023 IFS=$as_save_IFS
16024 test -z "$as_dir" && as_dir=.
16025 for ac_exec_ext in '' $ac_executable_extensions; do
16026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16027 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
16028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16029 break 2
16031 done
16032 done
16033 IFS=$as_save_IFS
16035 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="no"
16037 esac
16039 PERL=$ac_cv_path_PERL
16040 if test -n "$PERL"; then
16041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
16042 $as_echo "$PERL" >&6; }
16043 else
16044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16045 $as_echo "no" >&6; }
16049 if test x"$PERL" != "xno"; then
16050 HAVE_PERL_TRUE=
16051 HAVE_PERL_FALSE='#'
16052 else
16053 HAVE_PERL_TRUE='#'
16054 HAVE_PERL_FALSE=
16059 have_pod_checker=no
16060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Pod::Checker" >&5
16061 $as_echo_n "checking for Pod::Checker... " >&6; }
16062 if $PERL -mPod::Checker >/dev/null 2>&1 ; then
16063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16064 $as_echo "yes" >&6; }
16065 have_pod_checker=yes
16067 if test x"$have_pod_checker" = "xyes"; then
16068 HAVE_PERL_POD_CHECKER_TRUE=
16069 HAVE_PERL_POD_CHECKER_FALSE='#'
16070 else
16071 HAVE_PERL_POD_CHECKER_TRUE='#'
16072 HAVE_PERL_POD_CHECKER_FALSE=
16076 # Extract the first word of "pod2man", so it can be a program name with args.
16077 set dummy pod2man; ac_word=$2
16078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16079 $as_echo_n "checking for $ac_word... " >&6; }
16080 if ${ac_cv_path_POD2MAN+:} false; then :
16081 $as_echo_n "(cached) " >&6
16082 else
16083 case $POD2MAN in
16084 [\\/]* | ?:[\\/]*)
16085 ac_cv_path_POD2MAN="$POD2MAN" # Let the user override the test with a path.
16088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16089 for as_dir in $PATH
16091 IFS=$as_save_IFS
16092 test -z "$as_dir" && as_dir=.
16093 for ac_exec_ext in '' $ac_executable_extensions; do
16094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16095 ac_cv_path_POD2MAN="$as_dir/$ac_word$ac_exec_ext"
16096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16097 break 2
16099 done
16100 done
16101 IFS=$as_save_IFS
16103 test -z "$ac_cv_path_POD2MAN" && ac_cv_path_POD2MAN="no"
16105 esac
16107 POD2MAN=$ac_cv_path_POD2MAN
16108 if test -n "$POD2MAN"; then
16109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $POD2MAN" >&5
16110 $as_echo "$POD2MAN" >&6; }
16111 else
16112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16113 $as_echo "no" >&6; }
16117 if test x"$POD2MAN" != "xno"; then
16118 HAVE_POD2MAN_TRUE=
16119 HAVE_POD2MAN_FALSE='#'
16120 else
16121 HAVE_POD2MAN_TRUE='#'
16122 HAVE_POD2MAN_FALSE=
16127 # Extract the first word of "pod2html", so it can be a program name with args.
16128 set dummy pod2html; ac_word=$2
16129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16130 $as_echo_n "checking for $ac_word... " >&6; }
16131 if ${ac_cv_path_POD2HTML+:} false; then :
16132 $as_echo_n "(cached) " >&6
16133 else
16134 case $POD2HTML in
16135 [\\/]* | ?:[\\/]*)
16136 ac_cv_path_POD2HTML="$POD2HTML" # Let the user override the test with a path.
16139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16140 for as_dir in $PATH
16142 IFS=$as_save_IFS
16143 test -z "$as_dir" && as_dir=.
16144 for ac_exec_ext in '' $ac_executable_extensions; do
16145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16146 ac_cv_path_POD2HTML="$as_dir/$ac_word$ac_exec_ext"
16147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16148 break 2
16150 done
16151 done
16152 IFS=$as_save_IFS
16154 test -z "$ac_cv_path_POD2HTML" && ac_cv_path_POD2HTML="no"
16156 esac
16158 POD2HTML=$ac_cv_path_POD2HTML
16159 if test -n "$POD2HTML"; then
16160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $POD2HTML" >&5
16161 $as_echo "$POD2HTML" >&6; }
16162 else
16163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16164 $as_echo "no" >&6; }
16168 if test x"$POD2HTML" != "xno"; then
16169 HAVE_POD2HTML_TRUE=
16170 HAVE_POD2HTML_FALSE='#'
16171 else
16172 HAVE_POD2HTML_TRUE='#'
16173 HAVE_POD2HTML_FALSE=
16178 # Extract the first word of "date", so it can be a program name with args.
16179 set dummy date; ac_word=$2
16180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16181 $as_echo_n "checking for $ac_word... " >&6; }
16182 if ${ac_cv_path_DATE+:} false; then :
16183 $as_echo_n "(cached) " >&6
16184 else
16185 case $DATE in
16186 [\\/]* | ?:[\\/]*)
16187 ac_cv_path_DATE="$DATE" # Let the user override the test with a path.
16190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16191 for as_dir in $PATH
16193 IFS=$as_save_IFS
16194 test -z "$as_dir" && as_dir=.
16195 for ac_exec_ext in '' $ac_executable_extensions; do
16196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16197 ac_cv_path_DATE="$as_dir/$ac_word$ac_exec_ext"
16198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16199 break 2
16201 done
16202 done
16203 IFS=$as_save_IFS
16205 test -z "$ac_cv_path_DATE" && ac_cv_path_DATE="no"
16207 esac
16209 DATE=$ac_cv_path_DATE
16210 if test -n "$DATE"; then
16211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DATE" >&5
16212 $as_echo "$DATE" >&6; }
16213 else
16214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16215 $as_echo "no" >&6; }
16219 if test x"$DATE" != "xno" ; then
16220 build_date=`"$DATE" +%Y-%m-%d 2>/dev/null`
16221 if test x"$build_date" != "x" ; then
16223 cat >>confdefs.h <<_ACEOF
16224 #define BUILD_DATE "$build_date"
16225 _ACEOF
16230 # Extract the first word of "git", so it can be a program name with args.
16231 set dummy git; ac_word=$2
16232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16233 $as_echo_n "checking for $ac_word... " >&6; }
16234 if ${ac_cv_path_GIT+:} false; then :
16235 $as_echo_n "(cached) " >&6
16236 else
16237 case $GIT in
16238 [\\/]* | ?:[\\/]*)
16239 ac_cv_path_GIT="$GIT" # Let the user override the test with a path.
16242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16243 for as_dir in $PATH
16245 IFS=$as_save_IFS
16246 test -z "$as_dir" && as_dir=.
16247 for ac_exec_ext in '' $ac_executable_extensions; do
16248 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16249 ac_cv_path_GIT="$as_dir/$ac_word$ac_exec_ext"
16250 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16251 break 2
16253 done
16254 done
16255 IFS=$as_save_IFS
16257 test -z "$ac_cv_path_GIT" && ac_cv_path_GIT="no"
16259 esac
16261 GIT=$ac_cv_path_GIT
16262 if test -n "$GIT"; then
16263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIT" >&5
16264 $as_echo "$GIT" >&6; }
16265 else
16266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16267 $as_echo "no" >&6; }
16271 if test x"$GIT" != "xno" ; then
16272 QUVI_BRANCH=master
16273 git_describe=`"$GIT" describe "$QUVI_BRANCH" 2>/dev/null`
16274 if test x"$git_describe" != "x" ; then
16276 cat >>confdefs.h <<_ACEOF
16277 #define GIT_DESCRIBE "$git_describe"
16278 _ACEOF
16283 # Checks for libraries.
16285 if test "X$prefix" = "XNONE"; then
16286 acl_final_prefix="$ac_default_prefix"
16287 else
16288 acl_final_prefix="$prefix"
16290 if test "X$exec_prefix" = "XNONE"; then
16291 acl_final_exec_prefix='${prefix}'
16292 else
16293 acl_final_exec_prefix="$exec_prefix"
16295 acl_save_prefix="$prefix"
16296 prefix="$acl_final_prefix"
16297 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
16298 prefix="$acl_save_prefix"
16301 # Check whether --with-gnu-ld was given.
16302 if test "${with_gnu_ld+set}" = set; then :
16303 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
16304 else
16305 with_gnu_ld=no
16308 # Prepare PATH_SEPARATOR.
16309 # The user is always right.
16310 if test "${PATH_SEPARATOR+set}" != set; then
16311 echo "#! /bin/sh" >conf$$.sh
16312 echo "exit 0" >>conf$$.sh
16313 chmod +x conf$$.sh
16314 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
16315 PATH_SEPARATOR=';'
16316 else
16317 PATH_SEPARATOR=:
16319 rm -f conf$$.sh
16321 ac_prog=ld
16322 if test "$GCC" = yes; then
16323 # Check if gcc -print-prog-name=ld gives a path.
16324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
16325 $as_echo_n "checking for ld used by GCC... " >&6; }
16326 case $host in
16327 *-*-mingw*)
16328 # gcc leaves a trailing carriage return which upsets mingw
16329 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
16331 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
16332 esac
16333 case $ac_prog in
16334 # Accept absolute paths.
16335 [\\/]* | [A-Za-z]:[\\/]*)
16336 re_direlt='/[^/][^/]*/\.\./'
16337 # Canonicalize the path of ld
16338 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
16339 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
16340 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
16341 done
16342 test -z "$LD" && LD="$ac_prog"
16345 # If it fails, then pretend we aren't using GCC.
16346 ac_prog=ld
16349 # If it is relative, then search for the first ld in PATH.
16350 with_gnu_ld=unknown
16352 esac
16353 elif test "$with_gnu_ld" = yes; then
16354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
16355 $as_echo_n "checking for GNU ld... " >&6; }
16356 else
16357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
16358 $as_echo_n "checking for non-GNU ld... " >&6; }
16360 if ${acl_cv_path_LD+:} false; then :
16361 $as_echo_n "(cached) " >&6
16362 else
16363 if test -z "$LD"; then
16364 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
16365 for ac_dir in $PATH; do
16366 test -z "$ac_dir" && ac_dir=.
16367 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
16368 acl_cv_path_LD="$ac_dir/$ac_prog"
16369 # Check to see if the program is GNU ld. I'd rather use --version,
16370 # but apparently some GNU ld's only accept -v.
16371 # Break only if it was the GNU/non-GNU ld that we prefer.
16372 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
16373 *GNU* | *'with BFD'*)
16374 test "$with_gnu_ld" != no && break ;;
16376 test "$with_gnu_ld" != yes && break ;;
16377 esac
16379 done
16380 IFS="$ac_save_ifs"
16381 else
16382 acl_cv_path_LD="$LD" # Let the user override the test with a path.
16386 LD="$acl_cv_path_LD"
16387 if test -n "$LD"; then
16388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
16389 $as_echo "$LD" >&6; }
16390 else
16391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16392 $as_echo "no" >&6; }
16394 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
16395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
16396 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
16397 if ${acl_cv_prog_gnu_ld+:} false; then :
16398 $as_echo_n "(cached) " >&6
16399 else
16400 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
16401 case `$LD -v 2>&1 </dev/null` in
16402 *GNU* | *'with BFD'*)
16403 acl_cv_prog_gnu_ld=yes ;;
16405 acl_cv_prog_gnu_ld=no ;;
16406 esac
16408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
16409 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
16410 with_gnu_ld=$acl_cv_prog_gnu_ld
16415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
16416 $as_echo_n "checking for shared library run path origin... " >&6; }
16417 if ${acl_cv_rpath+:} false; then :
16418 $as_echo_n "(cached) " >&6
16419 else
16421 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
16422 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
16423 . ./conftest.sh
16424 rm -f ./conftest.sh
16425 acl_cv_rpath=done
16428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
16429 $as_echo "$acl_cv_rpath" >&6; }
16430 wl="$acl_cv_wl"
16431 acl_libext="$acl_cv_libext"
16432 acl_shlibext="$acl_cv_shlibext"
16433 acl_libname_spec="$acl_cv_libname_spec"
16434 acl_library_names_spec="$acl_cv_library_names_spec"
16435 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
16436 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
16437 acl_hardcode_direct="$acl_cv_hardcode_direct"
16438 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
16439 # Check whether --enable-rpath was given.
16440 if test "${enable_rpath+set}" = set; then :
16441 enableval=$enable_rpath; :
16442 else
16443 enable_rpath=yes
16449 acl_libdirstem=lib
16450 acl_libdirstem2=
16451 case "$host_os" in
16452 solaris*)
16453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
16454 $as_echo_n "checking for 64-bit host... " >&6; }
16455 if ${gl_cv_solaris_64bit+:} false; then :
16456 $as_echo_n "(cached) " >&6
16457 else
16458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16459 /* end confdefs.h. */
16461 #ifdef _LP64
16462 sixtyfour bits
16463 #endif
16465 _ACEOF
16466 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16467 $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
16468 gl_cv_solaris_64bit=yes
16469 else
16470 gl_cv_solaris_64bit=no
16472 rm -f conftest*
16476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
16477 $as_echo "$gl_cv_solaris_64bit" >&6; }
16478 if test $gl_cv_solaris_64bit = yes; then
16479 acl_libdirstem=lib/64
16480 case "$host_cpu" in
16481 sparc*) acl_libdirstem2=lib/sparcv9 ;;
16482 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
16483 esac
16487 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
16488 if test -n "$searchpath"; then
16489 acl_save_IFS="${IFS= }"; IFS=":"
16490 for searchdir in $searchpath; do
16491 if test -d "$searchdir"; then
16492 case "$searchdir" in
16493 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
16494 */../ | */.. )
16495 # Better ignore directories of this form. They are misleading.
16497 *) searchdir=`cd "$searchdir" && pwd`
16498 case "$searchdir" in
16499 */lib64 ) acl_libdirstem=lib64 ;;
16500 esac ;;
16501 esac
16503 done
16504 IFS="$acl_save_IFS"
16507 esac
16508 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
16521 use_additional=yes
16523 acl_save_prefix="$prefix"
16524 prefix="$acl_final_prefix"
16525 acl_save_exec_prefix="$exec_prefix"
16526 exec_prefix="$acl_final_exec_prefix"
16528 eval additional_includedir=\"$includedir\"
16529 eval additional_libdir=\"$libdir\"
16531 exec_prefix="$acl_save_exec_prefix"
16532 prefix="$acl_save_prefix"
16535 # Check whether --with-libiconv-prefix was given.
16536 if test "${with_libiconv_prefix+set}" = set; then :
16537 withval=$with_libiconv_prefix;
16538 if test "X$withval" = "Xno"; then
16539 use_additional=no
16540 else
16541 if test "X$withval" = "X"; then
16543 acl_save_prefix="$prefix"
16544 prefix="$acl_final_prefix"
16545 acl_save_exec_prefix="$exec_prefix"
16546 exec_prefix="$acl_final_exec_prefix"
16548 eval additional_includedir=\"$includedir\"
16549 eval additional_libdir=\"$libdir\"
16551 exec_prefix="$acl_save_exec_prefix"
16552 prefix="$acl_save_prefix"
16554 else
16555 additional_includedir="$withval/include"
16556 additional_libdir="$withval/$acl_libdirstem"
16557 if test "$acl_libdirstem2" != "$acl_libdirstem" \
16558 && ! test -d "$withval/$acl_libdirstem"; then
16559 additional_libdir="$withval/$acl_libdirstem2"
16566 LIBICONV=
16567 LTLIBICONV=
16568 INCICONV=
16569 LIBICONV_PREFIX=
16570 HAVE_LIBICONV=
16571 rpathdirs=
16572 ltrpathdirs=
16573 names_already_handled=
16574 names_next_round='iconv '
16575 while test -n "$names_next_round"; do
16576 names_this_round="$names_next_round"
16577 names_next_round=
16578 for name in $names_this_round; do
16579 already_handled=
16580 for n in $names_already_handled; do
16581 if test "$n" = "$name"; then
16582 already_handled=yes
16583 break
16585 done
16586 if test -z "$already_handled"; then
16587 names_already_handled="$names_already_handled $name"
16588 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
16589 eval value=\"\$HAVE_LIB$uppername\"
16590 if test -n "$value"; then
16591 if test "$value" = yes; then
16592 eval value=\"\$LIB$uppername\"
16593 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
16594 eval value=\"\$LTLIB$uppername\"
16595 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
16596 else
16599 else
16600 found_dir=
16601 found_la=
16602 found_so=
16603 found_a=
16604 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
16605 if test -n "$acl_shlibext"; then
16606 shrext=".$acl_shlibext" # typically: shrext=.so
16607 else
16608 shrext=
16610 if test $use_additional = yes; then
16611 dir="$additional_libdir"
16612 if test -n "$acl_shlibext"; then
16613 if test -f "$dir/$libname$shrext"; then
16614 found_dir="$dir"
16615 found_so="$dir/$libname$shrext"
16616 else
16617 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
16618 ver=`(cd "$dir" && \
16619 for f in "$libname$shrext".*; do echo "$f"; done \
16620 | sed -e "s,^$libname$shrext\\\\.,," \
16621 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
16622 | sed 1q ) 2>/dev/null`
16623 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
16624 found_dir="$dir"
16625 found_so="$dir/$libname$shrext.$ver"
16627 else
16628 eval library_names=\"$acl_library_names_spec\"
16629 for f in $library_names; do
16630 if test -f "$dir/$f"; then
16631 found_dir="$dir"
16632 found_so="$dir/$f"
16633 break
16635 done
16639 if test "X$found_dir" = "X"; then
16640 if test -f "$dir/$libname.$acl_libext"; then
16641 found_dir="$dir"
16642 found_a="$dir/$libname.$acl_libext"
16645 if test "X$found_dir" != "X"; then
16646 if test -f "$dir/$libname.la"; then
16647 found_la="$dir/$libname.la"
16651 if test "X$found_dir" = "X"; then
16652 for x in $LDFLAGS $LTLIBICONV; do
16654 acl_save_prefix="$prefix"
16655 prefix="$acl_final_prefix"
16656 acl_save_exec_prefix="$exec_prefix"
16657 exec_prefix="$acl_final_exec_prefix"
16658 eval x=\"$x\"
16659 exec_prefix="$acl_save_exec_prefix"
16660 prefix="$acl_save_prefix"
16662 case "$x" in
16663 -L*)
16664 dir=`echo "X$x" | sed -e 's/^X-L//'`
16665 if test -n "$acl_shlibext"; then
16666 if test -f "$dir/$libname$shrext"; then
16667 found_dir="$dir"
16668 found_so="$dir/$libname$shrext"
16669 else
16670 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
16671 ver=`(cd "$dir" && \
16672 for f in "$libname$shrext".*; do echo "$f"; done \
16673 | sed -e "s,^$libname$shrext\\\\.,," \
16674 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
16675 | sed 1q ) 2>/dev/null`
16676 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
16677 found_dir="$dir"
16678 found_so="$dir/$libname$shrext.$ver"
16680 else
16681 eval library_names=\"$acl_library_names_spec\"
16682 for f in $library_names; do
16683 if test -f "$dir/$f"; then
16684 found_dir="$dir"
16685 found_so="$dir/$f"
16686 break
16688 done
16692 if test "X$found_dir" = "X"; then
16693 if test -f "$dir/$libname.$acl_libext"; then
16694 found_dir="$dir"
16695 found_a="$dir/$libname.$acl_libext"
16698 if test "X$found_dir" != "X"; then
16699 if test -f "$dir/$libname.la"; then
16700 found_la="$dir/$libname.la"
16704 esac
16705 if test "X$found_dir" != "X"; then
16706 break
16708 done
16710 if test "X$found_dir" != "X"; then
16711 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
16712 if test "X$found_so" != "X"; then
16713 if test "$enable_rpath" = no \
16714 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
16715 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
16716 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
16717 else
16718 haveit=
16719 for x in $ltrpathdirs; do
16720 if test "X$x" = "X$found_dir"; then
16721 haveit=yes
16722 break
16724 done
16725 if test -z "$haveit"; then
16726 ltrpathdirs="$ltrpathdirs $found_dir"
16728 if test "$acl_hardcode_direct" = yes; then
16729 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
16730 else
16731 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
16732 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
16733 haveit=
16734 for x in $rpathdirs; do
16735 if test "X$x" = "X$found_dir"; then
16736 haveit=yes
16737 break
16739 done
16740 if test -z "$haveit"; then
16741 rpathdirs="$rpathdirs $found_dir"
16743 else
16744 haveit=
16745 for x in $LDFLAGS $LIBICONV; do
16747 acl_save_prefix="$prefix"
16748 prefix="$acl_final_prefix"
16749 acl_save_exec_prefix="$exec_prefix"
16750 exec_prefix="$acl_final_exec_prefix"
16751 eval x=\"$x\"
16752 exec_prefix="$acl_save_exec_prefix"
16753 prefix="$acl_save_prefix"
16755 if test "X$x" = "X-L$found_dir"; then
16756 haveit=yes
16757 break
16759 done
16760 if test -z "$haveit"; then
16761 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
16763 if test "$acl_hardcode_minus_L" != no; then
16764 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
16765 else
16766 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
16771 else
16772 if test "X$found_a" != "X"; then
16773 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
16774 else
16775 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
16778 additional_includedir=
16779 case "$found_dir" in
16780 */$acl_libdirstem | */$acl_libdirstem/)
16781 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
16782 if test "$name" = 'iconv'; then
16783 LIBICONV_PREFIX="$basedir"
16785 additional_includedir="$basedir/include"
16787 */$acl_libdirstem2 | */$acl_libdirstem2/)
16788 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
16789 if test "$name" = 'iconv'; then
16790 LIBICONV_PREFIX="$basedir"
16792 additional_includedir="$basedir/include"
16794 esac
16795 if test "X$additional_includedir" != "X"; then
16796 if test "X$additional_includedir" != "X/usr/include"; then
16797 haveit=
16798 if test "X$additional_includedir" = "X/usr/local/include"; then
16799 if test -n "$GCC"; then
16800 case $host_os in
16801 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
16802 esac
16805 if test -z "$haveit"; then
16806 for x in $CPPFLAGS $INCICONV; do
16808 acl_save_prefix="$prefix"
16809 prefix="$acl_final_prefix"
16810 acl_save_exec_prefix="$exec_prefix"
16811 exec_prefix="$acl_final_exec_prefix"
16812 eval x=\"$x\"
16813 exec_prefix="$acl_save_exec_prefix"
16814 prefix="$acl_save_prefix"
16816 if test "X$x" = "X-I$additional_includedir"; then
16817 haveit=yes
16818 break
16820 done
16821 if test -z "$haveit"; then
16822 if test -d "$additional_includedir"; then
16823 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
16829 if test -n "$found_la"; then
16830 save_libdir="$libdir"
16831 case "$found_la" in
16832 */* | *\\*) . "$found_la" ;;
16833 *) . "./$found_la" ;;
16834 esac
16835 libdir="$save_libdir"
16836 for dep in $dependency_libs; do
16837 case "$dep" in
16838 -L*)
16839 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
16840 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
16841 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
16842 haveit=
16843 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
16844 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
16845 if test -n "$GCC"; then
16846 case $host_os in
16847 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
16848 esac
16851 if test -z "$haveit"; then
16852 haveit=
16853 for x in $LDFLAGS $LIBICONV; do
16855 acl_save_prefix="$prefix"
16856 prefix="$acl_final_prefix"
16857 acl_save_exec_prefix="$exec_prefix"
16858 exec_prefix="$acl_final_exec_prefix"
16859 eval x=\"$x\"
16860 exec_prefix="$acl_save_exec_prefix"
16861 prefix="$acl_save_prefix"
16863 if test "X$x" = "X-L$additional_libdir"; then
16864 haveit=yes
16865 break
16867 done
16868 if test -z "$haveit"; then
16869 if test -d "$additional_libdir"; then
16870 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
16873 haveit=
16874 for x in $LDFLAGS $LTLIBICONV; do
16876 acl_save_prefix="$prefix"
16877 prefix="$acl_final_prefix"
16878 acl_save_exec_prefix="$exec_prefix"
16879 exec_prefix="$acl_final_exec_prefix"
16880 eval x=\"$x\"
16881 exec_prefix="$acl_save_exec_prefix"
16882 prefix="$acl_save_prefix"
16884 if test "X$x" = "X-L$additional_libdir"; then
16885 haveit=yes
16886 break
16888 done
16889 if test -z "$haveit"; then
16890 if test -d "$additional_libdir"; then
16891 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
16897 -R*)
16898 dir=`echo "X$dep" | sed -e 's/^X-R//'`
16899 if test "$enable_rpath" != no; then
16900 haveit=
16901 for x in $rpathdirs; do
16902 if test "X$x" = "X$dir"; then
16903 haveit=yes
16904 break
16906 done
16907 if test -z "$haveit"; then
16908 rpathdirs="$rpathdirs $dir"
16910 haveit=
16911 for x in $ltrpathdirs; do
16912 if test "X$x" = "X$dir"; then
16913 haveit=yes
16914 break
16916 done
16917 if test -z "$haveit"; then
16918 ltrpathdirs="$ltrpathdirs $dir"
16922 -l*)
16923 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
16925 *.la)
16926 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
16929 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
16930 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
16932 esac
16933 done
16935 else
16936 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
16937 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
16941 done
16942 done
16943 if test "X$rpathdirs" != "X"; then
16944 if test -n "$acl_hardcode_libdir_separator"; then
16945 alldirs=
16946 for found_dir in $rpathdirs; do
16947 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
16948 done
16949 acl_save_libdir="$libdir"
16950 libdir="$alldirs"
16951 eval flag=\"$acl_hardcode_libdir_flag_spec\"
16952 libdir="$acl_save_libdir"
16953 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
16954 else
16955 for found_dir in $rpathdirs; do
16956 acl_save_libdir="$libdir"
16957 libdir="$found_dir"
16958 eval flag=\"$acl_hardcode_libdir_flag_spec\"
16959 libdir="$acl_save_libdir"
16960 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
16961 done
16964 if test "X$ltrpathdirs" != "X"; then
16965 for found_dir in $ltrpathdirs; do
16966 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
16967 done
16981 am_save_CPPFLAGS="$CPPFLAGS"
16983 for element in $INCICONV; do
16984 haveit=
16985 for x in $CPPFLAGS; do
16987 acl_save_prefix="$prefix"
16988 prefix="$acl_final_prefix"
16989 acl_save_exec_prefix="$exec_prefix"
16990 exec_prefix="$acl_final_exec_prefix"
16991 eval x=\"$x\"
16992 exec_prefix="$acl_save_exec_prefix"
16993 prefix="$acl_save_prefix"
16995 if test "X$x" = "X$element"; then
16996 haveit=yes
16997 break
16999 done
17000 if test -z "$haveit"; then
17001 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
17003 done
17006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
17007 $as_echo_n "checking for iconv... " >&6; }
17008 if ${am_cv_func_iconv+:} false; then :
17009 $as_echo_n "(cached) " >&6
17010 else
17012 am_cv_func_iconv="no, consider installing GNU libiconv"
17013 am_cv_lib_iconv=no
17014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17015 /* end confdefs.h. */
17016 #include <stdlib.h>
17017 #include <iconv.h>
17019 main ()
17021 iconv_t cd = iconv_open("","");
17022 iconv(cd,NULL,NULL,NULL,NULL);
17023 iconv_close(cd);
17025 return 0;
17027 _ACEOF
17028 if ac_fn_c_try_link "$LINENO"; then :
17029 am_cv_func_iconv=yes
17031 rm -f core conftest.err conftest.$ac_objext \
17032 conftest$ac_exeext conftest.$ac_ext
17033 if test "$am_cv_func_iconv" != yes; then
17034 am_save_LIBS="$LIBS"
17035 LIBS="$LIBS $LIBICONV"
17036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17037 /* end confdefs.h. */
17038 #include <stdlib.h>
17039 #include <iconv.h>
17041 main ()
17043 iconv_t cd = iconv_open("","");
17044 iconv(cd,NULL,NULL,NULL,NULL);
17045 iconv_close(cd);
17047 return 0;
17049 _ACEOF
17050 if ac_fn_c_try_link "$LINENO"; then :
17051 am_cv_lib_iconv=yes
17052 am_cv_func_iconv=yes
17054 rm -f core conftest.err conftest.$ac_objext \
17055 conftest$ac_exeext conftest.$ac_ext
17056 LIBS="$am_save_LIBS"
17060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
17061 $as_echo "$am_cv_func_iconv" >&6; }
17062 if test "$am_cv_func_iconv" = yes; then
17063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
17064 $as_echo_n "checking for working iconv... " >&6; }
17065 if ${am_cv_func_iconv_works+:} false; then :
17066 $as_echo_n "(cached) " >&6
17067 else
17069 am_save_LIBS="$LIBS"
17070 if test $am_cv_lib_iconv = yes; then
17071 LIBS="$LIBS $LIBICONV"
17073 if test "$cross_compiling" = yes; then :
17074 case "$host_os" in
17075 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
17076 *) am_cv_func_iconv_works="guessing yes" ;;
17077 esac
17078 else
17079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17080 /* end confdefs.h. */
17082 #include <iconv.h>
17083 #include <string.h>
17084 int main ()
17086 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
17087 returns. */
17089 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
17090 if (cd_utf8_to_88591 != (iconv_t)(-1))
17092 static const char input[] = "\342\202\254"; /* EURO SIGN */
17093 char buf[10];
17094 const char *inptr = input;
17095 size_t inbytesleft = strlen (input);
17096 char *outptr = buf;
17097 size_t outbytesleft = sizeof (buf);
17098 size_t res = iconv (cd_utf8_to_88591,
17099 (char **) &inptr, &inbytesleft,
17100 &outptr, &outbytesleft);
17101 if (res == 0)
17102 return 1;
17105 /* Test against Solaris 10 bug: Failures are not distinguishable from
17106 successful returns. */
17108 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
17109 if (cd_ascii_to_88591 != (iconv_t)(-1))
17111 static const char input[] = "\263";
17112 char buf[10];
17113 const char *inptr = input;
17114 size_t inbytesleft = strlen (input);
17115 char *outptr = buf;
17116 size_t outbytesleft = sizeof (buf);
17117 size_t res = iconv (cd_ascii_to_88591,
17118 (char **) &inptr, &inbytesleft,
17119 &outptr, &outbytesleft);
17120 if (res == 0)
17121 return 1;
17124 #if 0 /* This bug could be worked around by the caller. */
17125 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
17127 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
17128 if (cd_88591_to_utf8 != (iconv_t)(-1))
17130 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
17131 char buf[50];
17132 const char *inptr = input;
17133 size_t inbytesleft = strlen (input);
17134 char *outptr = buf;
17135 size_t outbytesleft = sizeof (buf);
17136 size_t res = iconv (cd_88591_to_utf8,
17137 (char **) &inptr, &inbytesleft,
17138 &outptr, &outbytesleft);
17139 if ((int)res > 0)
17140 return 1;
17143 #endif
17144 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
17145 provided. */
17146 if (/* Try standardized names. */
17147 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
17148 /* Try IRIX, OSF/1 names. */
17149 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
17150 /* Try AIX names. */
17151 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
17152 /* Try HP-UX names. */
17153 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
17154 return 1;
17155 return 0;
17157 _ACEOF
17158 if ac_fn_c_try_run "$LINENO"; then :
17159 am_cv_func_iconv_works=yes
17160 else
17161 am_cv_func_iconv_works=no
17163 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17164 conftest.$ac_objext conftest.beam conftest.$ac_ext
17167 LIBS="$am_save_LIBS"
17170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
17171 $as_echo "$am_cv_func_iconv_works" >&6; }
17172 case "$am_cv_func_iconv_works" in
17173 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
17174 *) am_func_iconv=yes ;;
17175 esac
17176 else
17177 am_func_iconv=no am_cv_lib_iconv=no
17179 if test "$am_func_iconv" = yes; then
17181 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
17184 if test "$am_cv_lib_iconv" = yes; then
17185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
17186 $as_echo_n "checking how to link with libiconv... " >&6; }
17187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
17188 $as_echo "$LIBICONV" >&6; }
17189 else
17190 CPPFLAGS="$am_save_CPPFLAGS"
17191 LIBICONV=
17192 LTLIBICONV=
17197 if test "$am_cv_func_iconv" = yes; then
17198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
17199 $as_echo_n "checking for iconv declaration... " >&6; }
17200 if ${am_cv_proto_iconv+:} false; then :
17201 $as_echo_n "(cached) " >&6
17202 else
17204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17205 /* end confdefs.h. */
17207 #include <stdlib.h>
17208 #include <iconv.h>
17209 extern
17210 #ifdef __cplusplus
17212 #endif
17213 #if defined(__STDC__) || defined(__cplusplus)
17214 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
17215 #else
17216 size_t iconv();
17217 #endif
17220 main ()
17224 return 0;
17226 _ACEOF
17227 if ac_fn_c_try_compile "$LINENO"; then :
17228 am_cv_proto_iconv_arg1=""
17229 else
17230 am_cv_proto_iconv_arg1="const"
17232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17233 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);"
17236 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
17237 { $as_echo "$as_me:${as_lineno-$LINENO}: result:
17238 $am_cv_proto_iconv" >&5
17239 $as_echo "
17240 $am_cv_proto_iconv" >&6; }
17242 cat >>confdefs.h <<_ACEOF
17243 #define ICONV_CONST $am_cv_proto_iconv_arg1
17244 _ACEOF
17254 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
17255 if test -n "$ac_tool_prefix"; then
17256 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
17257 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
17258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17259 $as_echo_n "checking for $ac_word... " >&6; }
17260 if ${ac_cv_path_PKG_CONFIG+:} false; then :
17261 $as_echo_n "(cached) " >&6
17262 else
17263 case $PKG_CONFIG in
17264 [\\/]* | ?:[\\/]*)
17265 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
17268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17269 for as_dir in $PATH
17271 IFS=$as_save_IFS
17272 test -z "$as_dir" && as_dir=.
17273 for ac_exec_ext in '' $ac_executable_extensions; do
17274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17275 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17277 break 2
17279 done
17280 done
17281 IFS=$as_save_IFS
17284 esac
17286 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
17287 if test -n "$PKG_CONFIG"; then
17288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17289 $as_echo "$PKG_CONFIG" >&6; }
17290 else
17291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17292 $as_echo "no" >&6; }
17297 if test -z "$ac_cv_path_PKG_CONFIG"; then
17298 ac_pt_PKG_CONFIG=$PKG_CONFIG
17299 # Extract the first word of "pkg-config", so it can be a program name with args.
17300 set dummy pkg-config; ac_word=$2
17301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17302 $as_echo_n "checking for $ac_word... " >&6; }
17303 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
17304 $as_echo_n "(cached) " >&6
17305 else
17306 case $ac_pt_PKG_CONFIG in
17307 [\\/]* | ?:[\\/]*)
17308 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
17311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17312 for as_dir in $PATH
17314 IFS=$as_save_IFS
17315 test -z "$as_dir" && as_dir=.
17316 for ac_exec_ext in '' $ac_executable_extensions; do
17317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17318 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17320 break 2
17322 done
17323 done
17324 IFS=$as_save_IFS
17327 esac
17329 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
17330 if test -n "$ac_pt_PKG_CONFIG"; then
17331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
17332 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
17333 else
17334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17335 $as_echo "no" >&6; }
17338 if test "x$ac_pt_PKG_CONFIG" = x; then
17339 PKG_CONFIG=""
17340 else
17341 case $cross_compiling:$ac_tool_warned in
17342 yes:)
17343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17344 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17345 ac_tool_warned=yes ;;
17346 esac
17347 PKG_CONFIG=$ac_pt_PKG_CONFIG
17349 else
17350 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
17354 if test -n "$PKG_CONFIG"; then
17355 _pkg_min_version=0.9.0
17356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
17357 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
17358 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
17359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17360 $as_echo "yes" >&6; }
17361 else
17362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17363 $as_echo "no" >&6; }
17364 PKG_CONFIG=""
17368 pkg_failed=no
17369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcurl" >&5
17370 $as_echo_n "checking for libcurl... " >&6; }
17372 if test -n "$libcurl_CFLAGS"; then
17373 pkg_cv_libcurl_CFLAGS="$libcurl_CFLAGS"
17374 elif test -n "$PKG_CONFIG"; then
17375 if test -n "$PKG_CONFIG" && \
17376 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= 7.18.0\""; } >&5
17377 ($PKG_CONFIG --exists --print-errors "libcurl >= 7.18.0") 2>&5
17378 ac_status=$?
17379 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17380 test $ac_status = 0; }; then
17381 pkg_cv_libcurl_CFLAGS=`$PKG_CONFIG --cflags "libcurl >= 7.18.0" 2>/dev/null`
17382 else
17383 pkg_failed=yes
17385 else
17386 pkg_failed=untried
17388 if test -n "$libcurl_LIBS"; then
17389 pkg_cv_libcurl_LIBS="$libcurl_LIBS"
17390 elif test -n "$PKG_CONFIG"; then
17391 if test -n "$PKG_CONFIG" && \
17392 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= 7.18.0\""; } >&5
17393 ($PKG_CONFIG --exists --print-errors "libcurl >= 7.18.0") 2>&5
17394 ac_status=$?
17395 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17396 test $ac_status = 0; }; then
17397 pkg_cv_libcurl_LIBS=`$PKG_CONFIG --libs "libcurl >= 7.18.0" 2>/dev/null`
17398 else
17399 pkg_failed=yes
17401 else
17402 pkg_failed=untried
17407 if test $pkg_failed = yes; then
17408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17409 $as_echo "no" >&6; }
17411 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17412 _pkg_short_errors_supported=yes
17413 else
17414 _pkg_short_errors_supported=no
17416 if test $_pkg_short_errors_supported = yes; then
17417 libcurl_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libcurl >= 7.18.0" 2>&1`
17418 else
17419 libcurl_PKG_ERRORS=`$PKG_CONFIG --print-errors "libcurl >= 7.18.0" 2>&1`
17421 # Put the nasty error message in config.log where it belongs
17422 echo "$libcurl_PKG_ERRORS" >&5
17424 as_fn_error $? "Package requirements (libcurl >= 7.18.0) were not met:
17426 $libcurl_PKG_ERRORS
17428 Consider adjusting the PKG_CONFIG_PATH environment variable if you
17429 installed software in a non-standard prefix.
17431 Alternatively, you may set the environment variables libcurl_CFLAGS
17432 and libcurl_LIBS to avoid the need to call pkg-config.
17433 See the pkg-config man page for more details." "$LINENO" 5
17434 elif test $pkg_failed = untried; then
17435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17436 $as_echo "no" >&6; }
17437 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17438 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17439 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
17440 is in your PATH or set the PKG_CONFIG environment variable to the full
17441 path to pkg-config.
17443 Alternatively, you may set the environment variables libcurl_CFLAGS
17444 and libcurl_LIBS to avoid the need to call pkg-config.
17445 See the pkg-config man page for more details.
17447 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17448 See \`config.log' for more details" "$LINENO" 5; }
17449 else
17450 libcurl_CFLAGS=$pkg_cv_libcurl_CFLAGS
17451 libcurl_LIBS=$pkg_cv_libcurl_LIBS
17452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17453 $as_echo "yes" >&6; }
17457 pkg_failed=no
17458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpcre" >&5
17459 $as_echo_n "checking for libpcre... " >&6; }
17461 if test -n "$libpcre_CFLAGS"; then
17462 pkg_cv_libpcre_CFLAGS="$libpcre_CFLAGS"
17463 elif test -n "$PKG_CONFIG"; then
17464 if test -n "$PKG_CONFIG" && \
17465 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpcre >= 7.8\""; } >&5
17466 ($PKG_CONFIG --exists --print-errors "libpcre >= 7.8") 2>&5
17467 ac_status=$?
17468 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17469 test $ac_status = 0; }; then
17470 pkg_cv_libpcre_CFLAGS=`$PKG_CONFIG --cflags "libpcre >= 7.8" 2>/dev/null`
17471 else
17472 pkg_failed=yes
17474 else
17475 pkg_failed=untried
17477 if test -n "$libpcre_LIBS"; then
17478 pkg_cv_libpcre_LIBS="$libpcre_LIBS"
17479 elif test -n "$PKG_CONFIG"; then
17480 if test -n "$PKG_CONFIG" && \
17481 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpcre >= 7.8\""; } >&5
17482 ($PKG_CONFIG --exists --print-errors "libpcre >= 7.8") 2>&5
17483 ac_status=$?
17484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17485 test $ac_status = 0; }; then
17486 pkg_cv_libpcre_LIBS=`$PKG_CONFIG --libs "libpcre >= 7.8" 2>/dev/null`
17487 else
17488 pkg_failed=yes
17490 else
17491 pkg_failed=untried
17496 if test $pkg_failed = yes; then
17497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17498 $as_echo "no" >&6; }
17500 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17501 _pkg_short_errors_supported=yes
17502 else
17503 _pkg_short_errors_supported=no
17505 if test $_pkg_short_errors_supported = yes; then
17506 libpcre_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libpcre >= 7.8" 2>&1`
17507 else
17508 libpcre_PKG_ERRORS=`$PKG_CONFIG --print-errors "libpcre >= 7.8" 2>&1`
17510 # Put the nasty error message in config.log where it belongs
17511 echo "$libpcre_PKG_ERRORS" >&5
17513 as_fn_error $? "Package requirements (libpcre >= 7.8) were not met:
17515 $libpcre_PKG_ERRORS
17517 Consider adjusting the PKG_CONFIG_PATH environment variable if you
17518 installed software in a non-standard prefix.
17520 Alternatively, you may set the environment variables libpcre_CFLAGS
17521 and libpcre_LIBS to avoid the need to call pkg-config.
17522 See the pkg-config man page for more details." "$LINENO" 5
17523 elif test $pkg_failed = untried; then
17524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17525 $as_echo "no" >&6; }
17526 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17527 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17528 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
17529 is in your PATH or set the PKG_CONFIG environment variable to the full
17530 path to pkg-config.
17532 Alternatively, you may set the environment variables libpcre_CFLAGS
17533 and libpcre_LIBS to avoid the need to call pkg-config.
17534 See the pkg-config man page for more details.
17536 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17537 See \`config.log' for more details" "$LINENO" 5; }
17538 else
17539 libpcre_CFLAGS=$pkg_cv_libpcre_CFLAGS
17540 libpcre_LIBS=$pkg_cv_libpcre_LIBS
17541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17542 $as_echo "yes" >&6; }
17546 pkg_failed=no
17547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
17548 $as_echo_n "checking for liblua... " >&6; }
17550 if test -n "$liblua_CFLAGS"; then
17551 pkg_cv_liblua_CFLAGS="$liblua_CFLAGS"
17552 elif test -n "$PKG_CONFIG"; then
17553 if test -n "$PKG_CONFIG" && \
17554 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5
17555 ($PKG_CONFIG --exists --print-errors "lua >= 5.1") 2>&5
17556 ac_status=$?
17557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17558 test $ac_status = 0; }; then
17559 pkg_cv_liblua_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.1" 2>/dev/null`
17560 else
17561 pkg_failed=yes
17563 else
17564 pkg_failed=untried
17566 if test -n "$liblua_LIBS"; then
17567 pkg_cv_liblua_LIBS="$liblua_LIBS"
17568 elif test -n "$PKG_CONFIG"; then
17569 if test -n "$PKG_CONFIG" && \
17570 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5
17571 ($PKG_CONFIG --exists --print-errors "lua >= 5.1") 2>&5
17572 ac_status=$?
17573 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17574 test $ac_status = 0; }; then
17575 pkg_cv_liblua_LIBS=`$PKG_CONFIG --libs "lua >= 5.1" 2>/dev/null`
17576 else
17577 pkg_failed=yes
17579 else
17580 pkg_failed=untried
17585 if test $pkg_failed = yes; then
17586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17587 $as_echo "no" >&6; }
17589 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17590 _pkg_short_errors_supported=yes
17591 else
17592 _pkg_short_errors_supported=no
17594 if test $_pkg_short_errors_supported = yes; then
17595 liblua_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua >= 5.1" 2>&1`
17596 else
17597 liblua_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua >= 5.1" 2>&1`
17599 # Put the nasty error message in config.log where it belongs
17600 echo "$liblua_PKG_ERRORS" >&5
17604 pkg_failed=no
17605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
17606 $as_echo_n "checking for liblua... " >&6; }
17608 if test -n "$liblua_CFLAGS"; then
17609 pkg_cv_liblua_CFLAGS="$liblua_CFLAGS"
17610 elif test -n "$PKG_CONFIG"; then
17611 if test -n "$PKG_CONFIG" && \
17612 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1\""; } >&5
17613 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1") 2>&5
17614 ac_status=$?
17615 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17616 test $ac_status = 0; }; then
17617 pkg_cv_liblua_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1" 2>/dev/null`
17618 else
17619 pkg_failed=yes
17621 else
17622 pkg_failed=untried
17624 if test -n "$liblua_LIBS"; then
17625 pkg_cv_liblua_LIBS="$liblua_LIBS"
17626 elif test -n "$PKG_CONFIG"; then
17627 if test -n "$PKG_CONFIG" && \
17628 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1\""; } >&5
17629 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1") 2>&5
17630 ac_status=$?
17631 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17632 test $ac_status = 0; }; then
17633 pkg_cv_liblua_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1" 2>/dev/null`
17634 else
17635 pkg_failed=yes
17637 else
17638 pkg_failed=untried
17643 if test $pkg_failed = yes; then
17644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17645 $as_echo "no" >&6; }
17647 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17648 _pkg_short_errors_supported=yes
17649 else
17650 _pkg_short_errors_supported=no
17652 if test $_pkg_short_errors_supported = yes; then
17653 liblua_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1" 2>&1`
17654 else
17655 liblua_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua51 >= 5.1" 2>&1`
17657 # Put the nasty error message in config.log where it belongs
17658 echo "$liblua_PKG_ERRORS" >&5
17662 pkg_failed=no
17663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
17664 $as_echo_n "checking for liblua... " >&6; }
17666 if test -n "$liblua_CFLAGS"; then
17667 pkg_cv_liblua_CFLAGS="$liblua_CFLAGS"
17668 elif test -n "$PKG_CONFIG"; then
17669 if test -n "$PKG_CONFIG" && \
17670 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
17671 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
17672 ac_status=$?
17673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17674 test $ac_status = 0; }; then
17675 pkg_cv_liblua_CFLAGS=`$PKG_CONFIG --cflags "lua5.1 >= 5.1" 2>/dev/null`
17676 else
17677 pkg_failed=yes
17679 else
17680 pkg_failed=untried
17682 if test -n "$liblua_LIBS"; then
17683 pkg_cv_liblua_LIBS="$liblua_LIBS"
17684 elif test -n "$PKG_CONFIG"; then
17685 if test -n "$PKG_CONFIG" && \
17686 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
17687 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
17688 ac_status=$?
17689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17690 test $ac_status = 0; }; then
17691 pkg_cv_liblua_LIBS=`$PKG_CONFIG --libs "lua5.1 >= 5.1" 2>/dev/null`
17692 else
17693 pkg_failed=yes
17695 else
17696 pkg_failed=untried
17701 if test $pkg_failed = yes; then
17702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17703 $as_echo "no" >&6; }
17705 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17706 _pkg_short_errors_supported=yes
17707 else
17708 _pkg_short_errors_supported=no
17710 if test $_pkg_short_errors_supported = yes; then
17711 liblua_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua5.1 >= 5.1" 2>&1`
17712 else
17713 liblua_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua5.1 >= 5.1" 2>&1`
17715 # Put the nasty error message in config.log where it belongs
17716 echo "$liblua_PKG_ERRORS" >&5
17720 pkg_failed=no
17721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
17722 $as_echo_n "checking for liblua... " >&6; }
17724 if test -n "$liblua_CFLAGS"; then
17725 pkg_cv_liblua_CFLAGS="$liblua_CFLAGS"
17726 elif test -n "$PKG_CONFIG"; then
17727 if test -n "$PKG_CONFIG" && \
17728 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
17729 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
17730 ac_status=$?
17731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17732 test $ac_status = 0; }; then
17733 pkg_cv_liblua_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
17734 else
17735 pkg_failed=yes
17737 else
17738 pkg_failed=untried
17740 if test -n "$liblua_LIBS"; then
17741 pkg_cv_liblua_LIBS="$liblua_LIBS"
17742 elif test -n "$PKG_CONFIG"; then
17743 if test -n "$PKG_CONFIG" && \
17744 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
17745 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
17746 ac_status=$?
17747 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17748 test $ac_status = 0; }; then
17749 pkg_cv_liblua_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
17750 else
17751 pkg_failed=yes
17753 else
17754 pkg_failed=untried
17759 if test $pkg_failed = yes; then
17760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17761 $as_echo "no" >&6; }
17763 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17764 _pkg_short_errors_supported=yes
17765 else
17766 _pkg_short_errors_supported=no
17768 if test $_pkg_short_errors_supported = yes; then
17769 liblua_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
17770 else
17771 liblua_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
17773 # Put the nasty error message in config.log where it belongs
17774 echo "$liblua_PKG_ERRORS" >&5
17776 as_fn_error $? "Package requirements (lua-5.1 >= 5.1) were not met:
17778 $liblua_PKG_ERRORS
17780 Consider adjusting the PKG_CONFIG_PATH environment variable if you
17781 installed software in a non-standard prefix.
17783 Alternatively, you may set the environment variables liblua_CFLAGS
17784 and liblua_LIBS to avoid the need to call pkg-config.
17785 See the pkg-config man page for more details." "$LINENO" 5
17786 elif test $pkg_failed = untried; then
17787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17788 $as_echo "no" >&6; }
17789 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17790 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17791 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
17792 is in your PATH or set the PKG_CONFIG environment variable to the full
17793 path to pkg-config.
17795 Alternatively, you may set the environment variables liblua_CFLAGS
17796 and liblua_LIBS to avoid the need to call pkg-config.
17797 See the pkg-config man page for more details.
17799 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17800 See \`config.log' for more details" "$LINENO" 5; }
17801 else
17802 liblua_CFLAGS=$pkg_cv_liblua_CFLAGS
17803 liblua_LIBS=$pkg_cv_liblua_LIBS
17804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17805 $as_echo "yes" >&6; }
17809 elif test $pkg_failed = untried; then
17810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17811 $as_echo "no" >&6; }
17814 pkg_failed=no
17815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
17816 $as_echo_n "checking for liblua... " >&6; }
17818 if test -n "$liblua_CFLAGS"; then
17819 pkg_cv_liblua_CFLAGS="$liblua_CFLAGS"
17820 elif test -n "$PKG_CONFIG"; then
17821 if test -n "$PKG_CONFIG" && \
17822 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
17823 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
17824 ac_status=$?
17825 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17826 test $ac_status = 0; }; then
17827 pkg_cv_liblua_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
17828 else
17829 pkg_failed=yes
17831 else
17832 pkg_failed=untried
17834 if test -n "$liblua_LIBS"; then
17835 pkg_cv_liblua_LIBS="$liblua_LIBS"
17836 elif test -n "$PKG_CONFIG"; then
17837 if test -n "$PKG_CONFIG" && \
17838 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
17839 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
17840 ac_status=$?
17841 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17842 test $ac_status = 0; }; then
17843 pkg_cv_liblua_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
17844 else
17845 pkg_failed=yes
17847 else
17848 pkg_failed=untried
17853 if test $pkg_failed = yes; then
17854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17855 $as_echo "no" >&6; }
17857 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17858 _pkg_short_errors_supported=yes
17859 else
17860 _pkg_short_errors_supported=no
17862 if test $_pkg_short_errors_supported = yes; then
17863 liblua_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
17864 else
17865 liblua_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
17867 # Put the nasty error message in config.log where it belongs
17868 echo "$liblua_PKG_ERRORS" >&5
17870 as_fn_error $? "Package requirements (lua-5.1 >= 5.1) were not met:
17872 $liblua_PKG_ERRORS
17874 Consider adjusting the PKG_CONFIG_PATH environment variable if you
17875 installed software in a non-standard prefix.
17877 Alternatively, you may set the environment variables liblua_CFLAGS
17878 and liblua_LIBS to avoid the need to call pkg-config.
17879 See the pkg-config man page for more details." "$LINENO" 5
17880 elif test $pkg_failed = untried; then
17881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17882 $as_echo "no" >&6; }
17883 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17884 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17885 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
17886 is in your PATH or set the PKG_CONFIG environment variable to the full
17887 path to pkg-config.
17889 Alternatively, you may set the environment variables liblua_CFLAGS
17890 and liblua_LIBS to avoid the need to call pkg-config.
17891 See the pkg-config man page for more details.
17893 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17894 See \`config.log' for more details" "$LINENO" 5; }
17895 else
17896 liblua_CFLAGS=$pkg_cv_liblua_CFLAGS
17897 liblua_LIBS=$pkg_cv_liblua_LIBS
17898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17899 $as_echo "yes" >&6; }
17903 else
17904 liblua_CFLAGS=$pkg_cv_liblua_CFLAGS
17905 liblua_LIBS=$pkg_cv_liblua_LIBS
17906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17907 $as_echo "yes" >&6; }
17911 elif test $pkg_failed = untried; then
17912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17913 $as_echo "no" >&6; }
17916 pkg_failed=no
17917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
17918 $as_echo_n "checking for liblua... " >&6; }
17920 if test -n "$liblua_CFLAGS"; then
17921 pkg_cv_liblua_CFLAGS="$liblua_CFLAGS"
17922 elif test -n "$PKG_CONFIG"; then
17923 if test -n "$PKG_CONFIG" && \
17924 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
17925 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
17926 ac_status=$?
17927 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17928 test $ac_status = 0; }; then
17929 pkg_cv_liblua_CFLAGS=`$PKG_CONFIG --cflags "lua5.1 >= 5.1" 2>/dev/null`
17930 else
17931 pkg_failed=yes
17933 else
17934 pkg_failed=untried
17936 if test -n "$liblua_LIBS"; then
17937 pkg_cv_liblua_LIBS="$liblua_LIBS"
17938 elif test -n "$PKG_CONFIG"; then
17939 if test -n "$PKG_CONFIG" && \
17940 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
17941 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
17942 ac_status=$?
17943 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17944 test $ac_status = 0; }; then
17945 pkg_cv_liblua_LIBS=`$PKG_CONFIG --libs "lua5.1 >= 5.1" 2>/dev/null`
17946 else
17947 pkg_failed=yes
17949 else
17950 pkg_failed=untried
17955 if test $pkg_failed = yes; then
17956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17957 $as_echo "no" >&6; }
17959 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17960 _pkg_short_errors_supported=yes
17961 else
17962 _pkg_short_errors_supported=no
17964 if test $_pkg_short_errors_supported = yes; then
17965 liblua_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua5.1 >= 5.1" 2>&1`
17966 else
17967 liblua_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua5.1 >= 5.1" 2>&1`
17969 # Put the nasty error message in config.log where it belongs
17970 echo "$liblua_PKG_ERRORS" >&5
17974 pkg_failed=no
17975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
17976 $as_echo_n "checking for liblua... " >&6; }
17978 if test -n "$liblua_CFLAGS"; then
17979 pkg_cv_liblua_CFLAGS="$liblua_CFLAGS"
17980 elif test -n "$PKG_CONFIG"; then
17981 if test -n "$PKG_CONFIG" && \
17982 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
17983 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
17984 ac_status=$?
17985 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17986 test $ac_status = 0; }; then
17987 pkg_cv_liblua_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
17988 else
17989 pkg_failed=yes
17991 else
17992 pkg_failed=untried
17994 if test -n "$liblua_LIBS"; then
17995 pkg_cv_liblua_LIBS="$liblua_LIBS"
17996 elif test -n "$PKG_CONFIG"; then
17997 if test -n "$PKG_CONFIG" && \
17998 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
17999 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18000 ac_status=$?
18001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18002 test $ac_status = 0; }; then
18003 pkg_cv_liblua_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
18004 else
18005 pkg_failed=yes
18007 else
18008 pkg_failed=untried
18013 if test $pkg_failed = yes; then
18014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18015 $as_echo "no" >&6; }
18017 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18018 _pkg_short_errors_supported=yes
18019 else
18020 _pkg_short_errors_supported=no
18022 if test $_pkg_short_errors_supported = yes; then
18023 liblua_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
18024 else
18025 liblua_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
18027 # Put the nasty error message in config.log where it belongs
18028 echo "$liblua_PKG_ERRORS" >&5
18030 as_fn_error $? "Package requirements (lua-5.1 >= 5.1) were not met:
18032 $liblua_PKG_ERRORS
18034 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18035 installed software in a non-standard prefix.
18037 Alternatively, you may set the environment variables liblua_CFLAGS
18038 and liblua_LIBS to avoid the need to call pkg-config.
18039 See the pkg-config man page for more details." "$LINENO" 5
18040 elif test $pkg_failed = untried; then
18041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18042 $as_echo "no" >&6; }
18043 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18044 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18045 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
18046 is in your PATH or set the PKG_CONFIG environment variable to the full
18047 path to pkg-config.
18049 Alternatively, you may set the environment variables liblua_CFLAGS
18050 and liblua_LIBS to avoid the need to call pkg-config.
18051 See the pkg-config man page for more details.
18053 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18054 See \`config.log' for more details" "$LINENO" 5; }
18055 else
18056 liblua_CFLAGS=$pkg_cv_liblua_CFLAGS
18057 liblua_LIBS=$pkg_cv_liblua_LIBS
18058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18059 $as_echo "yes" >&6; }
18063 elif test $pkg_failed = untried; then
18064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18065 $as_echo "no" >&6; }
18068 pkg_failed=no
18069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18070 $as_echo_n "checking for liblua... " >&6; }
18072 if test -n "$liblua_CFLAGS"; then
18073 pkg_cv_liblua_CFLAGS="$liblua_CFLAGS"
18074 elif test -n "$PKG_CONFIG"; then
18075 if test -n "$PKG_CONFIG" && \
18076 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18077 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18078 ac_status=$?
18079 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18080 test $ac_status = 0; }; then
18081 pkg_cv_liblua_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
18082 else
18083 pkg_failed=yes
18085 else
18086 pkg_failed=untried
18088 if test -n "$liblua_LIBS"; then
18089 pkg_cv_liblua_LIBS="$liblua_LIBS"
18090 elif test -n "$PKG_CONFIG"; then
18091 if test -n "$PKG_CONFIG" && \
18092 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18093 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18094 ac_status=$?
18095 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18096 test $ac_status = 0; }; then
18097 pkg_cv_liblua_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
18098 else
18099 pkg_failed=yes
18101 else
18102 pkg_failed=untried
18107 if test $pkg_failed = yes; then
18108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18109 $as_echo "no" >&6; }
18111 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18112 _pkg_short_errors_supported=yes
18113 else
18114 _pkg_short_errors_supported=no
18116 if test $_pkg_short_errors_supported = yes; then
18117 liblua_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
18118 else
18119 liblua_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
18121 # Put the nasty error message in config.log where it belongs
18122 echo "$liblua_PKG_ERRORS" >&5
18124 as_fn_error $? "Package requirements (lua-5.1 >= 5.1) were not met:
18126 $liblua_PKG_ERRORS
18128 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18129 installed software in a non-standard prefix.
18131 Alternatively, you may set the environment variables liblua_CFLAGS
18132 and liblua_LIBS to avoid the need to call pkg-config.
18133 See the pkg-config man page for more details." "$LINENO" 5
18134 elif test $pkg_failed = untried; then
18135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18136 $as_echo "no" >&6; }
18137 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18138 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18139 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
18140 is in your PATH or set the PKG_CONFIG environment variable to the full
18141 path to pkg-config.
18143 Alternatively, you may set the environment variables liblua_CFLAGS
18144 and liblua_LIBS to avoid the need to call pkg-config.
18145 See the pkg-config man page for more details.
18147 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18148 See \`config.log' for more details" "$LINENO" 5; }
18149 else
18150 liblua_CFLAGS=$pkg_cv_liblua_CFLAGS
18151 liblua_LIBS=$pkg_cv_liblua_LIBS
18152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18153 $as_echo "yes" >&6; }
18157 else
18158 liblua_CFLAGS=$pkg_cv_liblua_CFLAGS
18159 liblua_LIBS=$pkg_cv_liblua_LIBS
18160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18161 $as_echo "yes" >&6; }
18165 else
18166 liblua_CFLAGS=$pkg_cv_liblua_CFLAGS
18167 liblua_LIBS=$pkg_cv_liblua_LIBS
18168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18169 $as_echo "yes" >&6; }
18173 elif test $pkg_failed = untried; then
18174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18175 $as_echo "no" >&6; }
18178 pkg_failed=no
18179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18180 $as_echo_n "checking for liblua... " >&6; }
18182 if test -n "$liblua_CFLAGS"; then
18183 pkg_cv_liblua_CFLAGS="$liblua_CFLAGS"
18184 elif test -n "$PKG_CONFIG"; then
18185 if test -n "$PKG_CONFIG" && \
18186 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1\""; } >&5
18187 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1") 2>&5
18188 ac_status=$?
18189 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18190 test $ac_status = 0; }; then
18191 pkg_cv_liblua_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1" 2>/dev/null`
18192 else
18193 pkg_failed=yes
18195 else
18196 pkg_failed=untried
18198 if test -n "$liblua_LIBS"; then
18199 pkg_cv_liblua_LIBS="$liblua_LIBS"
18200 elif test -n "$PKG_CONFIG"; then
18201 if test -n "$PKG_CONFIG" && \
18202 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1\""; } >&5
18203 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1") 2>&5
18204 ac_status=$?
18205 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18206 test $ac_status = 0; }; then
18207 pkg_cv_liblua_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1" 2>/dev/null`
18208 else
18209 pkg_failed=yes
18211 else
18212 pkg_failed=untried
18217 if test $pkg_failed = yes; then
18218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18219 $as_echo "no" >&6; }
18221 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18222 _pkg_short_errors_supported=yes
18223 else
18224 _pkg_short_errors_supported=no
18226 if test $_pkg_short_errors_supported = yes; then
18227 liblua_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1" 2>&1`
18228 else
18229 liblua_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua51 >= 5.1" 2>&1`
18231 # Put the nasty error message in config.log where it belongs
18232 echo "$liblua_PKG_ERRORS" >&5
18236 pkg_failed=no
18237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18238 $as_echo_n "checking for liblua... " >&6; }
18240 if test -n "$liblua_CFLAGS"; then
18241 pkg_cv_liblua_CFLAGS="$liblua_CFLAGS"
18242 elif test -n "$PKG_CONFIG"; then
18243 if test -n "$PKG_CONFIG" && \
18244 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
18245 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
18246 ac_status=$?
18247 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18248 test $ac_status = 0; }; then
18249 pkg_cv_liblua_CFLAGS=`$PKG_CONFIG --cflags "lua5.1 >= 5.1" 2>/dev/null`
18250 else
18251 pkg_failed=yes
18253 else
18254 pkg_failed=untried
18256 if test -n "$liblua_LIBS"; then
18257 pkg_cv_liblua_LIBS="$liblua_LIBS"
18258 elif test -n "$PKG_CONFIG"; then
18259 if test -n "$PKG_CONFIG" && \
18260 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
18261 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
18262 ac_status=$?
18263 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18264 test $ac_status = 0; }; then
18265 pkg_cv_liblua_LIBS=`$PKG_CONFIG --libs "lua5.1 >= 5.1" 2>/dev/null`
18266 else
18267 pkg_failed=yes
18269 else
18270 pkg_failed=untried
18275 if test $pkg_failed = yes; then
18276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18277 $as_echo "no" >&6; }
18279 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18280 _pkg_short_errors_supported=yes
18281 else
18282 _pkg_short_errors_supported=no
18284 if test $_pkg_short_errors_supported = yes; then
18285 liblua_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua5.1 >= 5.1" 2>&1`
18286 else
18287 liblua_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua5.1 >= 5.1" 2>&1`
18289 # Put the nasty error message in config.log where it belongs
18290 echo "$liblua_PKG_ERRORS" >&5
18294 pkg_failed=no
18295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18296 $as_echo_n "checking for liblua... " >&6; }
18298 if test -n "$liblua_CFLAGS"; then
18299 pkg_cv_liblua_CFLAGS="$liblua_CFLAGS"
18300 elif test -n "$PKG_CONFIG"; then
18301 if test -n "$PKG_CONFIG" && \
18302 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18303 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18304 ac_status=$?
18305 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18306 test $ac_status = 0; }; then
18307 pkg_cv_liblua_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
18308 else
18309 pkg_failed=yes
18311 else
18312 pkg_failed=untried
18314 if test -n "$liblua_LIBS"; then
18315 pkg_cv_liblua_LIBS="$liblua_LIBS"
18316 elif test -n "$PKG_CONFIG"; then
18317 if test -n "$PKG_CONFIG" && \
18318 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18319 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18320 ac_status=$?
18321 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18322 test $ac_status = 0; }; then
18323 pkg_cv_liblua_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
18324 else
18325 pkg_failed=yes
18327 else
18328 pkg_failed=untried
18333 if test $pkg_failed = yes; then
18334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18335 $as_echo "no" >&6; }
18337 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18338 _pkg_short_errors_supported=yes
18339 else
18340 _pkg_short_errors_supported=no
18342 if test $_pkg_short_errors_supported = yes; then
18343 liblua_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
18344 else
18345 liblua_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
18347 # Put the nasty error message in config.log where it belongs
18348 echo "$liblua_PKG_ERRORS" >&5
18350 as_fn_error $? "Package requirements (lua-5.1 >= 5.1) were not met:
18352 $liblua_PKG_ERRORS
18354 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18355 installed software in a non-standard prefix.
18357 Alternatively, you may set the environment variables liblua_CFLAGS
18358 and liblua_LIBS to avoid the need to call pkg-config.
18359 See the pkg-config man page for more details." "$LINENO" 5
18360 elif test $pkg_failed = untried; then
18361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18362 $as_echo "no" >&6; }
18363 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18364 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18365 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
18366 is in your PATH or set the PKG_CONFIG environment variable to the full
18367 path to pkg-config.
18369 Alternatively, you may set the environment variables liblua_CFLAGS
18370 and liblua_LIBS to avoid the need to call pkg-config.
18371 See the pkg-config man page for more details.
18373 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18374 See \`config.log' for more details" "$LINENO" 5; }
18375 else
18376 liblua_CFLAGS=$pkg_cv_liblua_CFLAGS
18377 liblua_LIBS=$pkg_cv_liblua_LIBS
18378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18379 $as_echo "yes" >&6; }
18383 elif test $pkg_failed = untried; then
18384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18385 $as_echo "no" >&6; }
18388 pkg_failed=no
18389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18390 $as_echo_n "checking for liblua... " >&6; }
18392 if test -n "$liblua_CFLAGS"; then
18393 pkg_cv_liblua_CFLAGS="$liblua_CFLAGS"
18394 elif test -n "$PKG_CONFIG"; then
18395 if test -n "$PKG_CONFIG" && \
18396 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18397 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18398 ac_status=$?
18399 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18400 test $ac_status = 0; }; then
18401 pkg_cv_liblua_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
18402 else
18403 pkg_failed=yes
18405 else
18406 pkg_failed=untried
18408 if test -n "$liblua_LIBS"; then
18409 pkg_cv_liblua_LIBS="$liblua_LIBS"
18410 elif test -n "$PKG_CONFIG"; then
18411 if test -n "$PKG_CONFIG" && \
18412 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18413 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18414 ac_status=$?
18415 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18416 test $ac_status = 0; }; then
18417 pkg_cv_liblua_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
18418 else
18419 pkg_failed=yes
18421 else
18422 pkg_failed=untried
18427 if test $pkg_failed = yes; then
18428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18429 $as_echo "no" >&6; }
18431 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18432 _pkg_short_errors_supported=yes
18433 else
18434 _pkg_short_errors_supported=no
18436 if test $_pkg_short_errors_supported = yes; then
18437 liblua_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
18438 else
18439 liblua_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
18441 # Put the nasty error message in config.log where it belongs
18442 echo "$liblua_PKG_ERRORS" >&5
18444 as_fn_error $? "Package requirements (lua-5.1 >= 5.1) were not met:
18446 $liblua_PKG_ERRORS
18448 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18449 installed software in a non-standard prefix.
18451 Alternatively, you may set the environment variables liblua_CFLAGS
18452 and liblua_LIBS to avoid the need to call pkg-config.
18453 See the pkg-config man page for more details." "$LINENO" 5
18454 elif test $pkg_failed = untried; then
18455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18456 $as_echo "no" >&6; }
18457 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18458 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18459 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
18460 is in your PATH or set the PKG_CONFIG environment variable to the full
18461 path to pkg-config.
18463 Alternatively, you may set the environment variables liblua_CFLAGS
18464 and liblua_LIBS to avoid the need to call pkg-config.
18465 See the pkg-config man page for more details.
18467 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18468 See \`config.log' for more details" "$LINENO" 5; }
18469 else
18470 liblua_CFLAGS=$pkg_cv_liblua_CFLAGS
18471 liblua_LIBS=$pkg_cv_liblua_LIBS
18472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18473 $as_echo "yes" >&6; }
18477 else
18478 liblua_CFLAGS=$pkg_cv_liblua_CFLAGS
18479 liblua_LIBS=$pkg_cv_liblua_LIBS
18480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18481 $as_echo "yes" >&6; }
18485 elif test $pkg_failed = untried; then
18486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18487 $as_echo "no" >&6; }
18490 pkg_failed=no
18491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18492 $as_echo_n "checking for liblua... " >&6; }
18494 if test -n "$liblua_CFLAGS"; then
18495 pkg_cv_liblua_CFLAGS="$liblua_CFLAGS"
18496 elif test -n "$PKG_CONFIG"; then
18497 if test -n "$PKG_CONFIG" && \
18498 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
18499 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
18500 ac_status=$?
18501 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18502 test $ac_status = 0; }; then
18503 pkg_cv_liblua_CFLAGS=`$PKG_CONFIG --cflags "lua5.1 >= 5.1" 2>/dev/null`
18504 else
18505 pkg_failed=yes
18507 else
18508 pkg_failed=untried
18510 if test -n "$liblua_LIBS"; then
18511 pkg_cv_liblua_LIBS="$liblua_LIBS"
18512 elif test -n "$PKG_CONFIG"; then
18513 if test -n "$PKG_CONFIG" && \
18514 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
18515 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
18516 ac_status=$?
18517 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18518 test $ac_status = 0; }; then
18519 pkg_cv_liblua_LIBS=`$PKG_CONFIG --libs "lua5.1 >= 5.1" 2>/dev/null`
18520 else
18521 pkg_failed=yes
18523 else
18524 pkg_failed=untried
18529 if test $pkg_failed = yes; then
18530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18531 $as_echo "no" >&6; }
18533 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18534 _pkg_short_errors_supported=yes
18535 else
18536 _pkg_short_errors_supported=no
18538 if test $_pkg_short_errors_supported = yes; then
18539 liblua_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua5.1 >= 5.1" 2>&1`
18540 else
18541 liblua_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua5.1 >= 5.1" 2>&1`
18543 # Put the nasty error message in config.log where it belongs
18544 echo "$liblua_PKG_ERRORS" >&5
18548 pkg_failed=no
18549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18550 $as_echo_n "checking for liblua... " >&6; }
18552 if test -n "$liblua_CFLAGS"; then
18553 pkg_cv_liblua_CFLAGS="$liblua_CFLAGS"
18554 elif test -n "$PKG_CONFIG"; then
18555 if test -n "$PKG_CONFIG" && \
18556 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18557 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18558 ac_status=$?
18559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18560 test $ac_status = 0; }; then
18561 pkg_cv_liblua_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
18562 else
18563 pkg_failed=yes
18565 else
18566 pkg_failed=untried
18568 if test -n "$liblua_LIBS"; then
18569 pkg_cv_liblua_LIBS="$liblua_LIBS"
18570 elif test -n "$PKG_CONFIG"; then
18571 if test -n "$PKG_CONFIG" && \
18572 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18573 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18574 ac_status=$?
18575 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18576 test $ac_status = 0; }; then
18577 pkg_cv_liblua_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
18578 else
18579 pkg_failed=yes
18581 else
18582 pkg_failed=untried
18587 if test $pkg_failed = yes; then
18588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18589 $as_echo "no" >&6; }
18591 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18592 _pkg_short_errors_supported=yes
18593 else
18594 _pkg_short_errors_supported=no
18596 if test $_pkg_short_errors_supported = yes; then
18597 liblua_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
18598 else
18599 liblua_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
18601 # Put the nasty error message in config.log where it belongs
18602 echo "$liblua_PKG_ERRORS" >&5
18604 as_fn_error $? "Package requirements (lua-5.1 >= 5.1) were not met:
18606 $liblua_PKG_ERRORS
18608 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18609 installed software in a non-standard prefix.
18611 Alternatively, you may set the environment variables liblua_CFLAGS
18612 and liblua_LIBS to avoid the need to call pkg-config.
18613 See the pkg-config man page for more details." "$LINENO" 5
18614 elif test $pkg_failed = untried; then
18615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18616 $as_echo "no" >&6; }
18617 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18618 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18619 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
18620 is in your PATH or set the PKG_CONFIG environment variable to the full
18621 path to pkg-config.
18623 Alternatively, you may set the environment variables liblua_CFLAGS
18624 and liblua_LIBS to avoid the need to call pkg-config.
18625 See the pkg-config man page for more details.
18627 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18628 See \`config.log' for more details" "$LINENO" 5; }
18629 else
18630 liblua_CFLAGS=$pkg_cv_liblua_CFLAGS
18631 liblua_LIBS=$pkg_cv_liblua_LIBS
18632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18633 $as_echo "yes" >&6; }
18637 elif test $pkg_failed = untried; then
18638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18639 $as_echo "no" >&6; }
18642 pkg_failed=no
18643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18644 $as_echo_n "checking for liblua... " >&6; }
18646 if test -n "$liblua_CFLAGS"; then
18647 pkg_cv_liblua_CFLAGS="$liblua_CFLAGS"
18648 elif test -n "$PKG_CONFIG"; then
18649 if test -n "$PKG_CONFIG" && \
18650 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18651 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18652 ac_status=$?
18653 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18654 test $ac_status = 0; }; then
18655 pkg_cv_liblua_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
18656 else
18657 pkg_failed=yes
18659 else
18660 pkg_failed=untried
18662 if test -n "$liblua_LIBS"; then
18663 pkg_cv_liblua_LIBS="$liblua_LIBS"
18664 elif test -n "$PKG_CONFIG"; then
18665 if test -n "$PKG_CONFIG" && \
18666 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18667 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18668 ac_status=$?
18669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18670 test $ac_status = 0; }; then
18671 pkg_cv_liblua_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
18672 else
18673 pkg_failed=yes
18675 else
18676 pkg_failed=untried
18681 if test $pkg_failed = yes; then
18682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18683 $as_echo "no" >&6; }
18685 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18686 _pkg_short_errors_supported=yes
18687 else
18688 _pkg_short_errors_supported=no
18690 if test $_pkg_short_errors_supported = yes; then
18691 liblua_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
18692 else
18693 liblua_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
18695 # Put the nasty error message in config.log where it belongs
18696 echo "$liblua_PKG_ERRORS" >&5
18698 as_fn_error $? "Package requirements (lua-5.1 >= 5.1) were not met:
18700 $liblua_PKG_ERRORS
18702 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18703 installed software in a non-standard prefix.
18705 Alternatively, you may set the environment variables liblua_CFLAGS
18706 and liblua_LIBS to avoid the need to call pkg-config.
18707 See the pkg-config man page for more details." "$LINENO" 5
18708 elif test $pkg_failed = untried; then
18709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18710 $as_echo "no" >&6; }
18711 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18712 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18713 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
18714 is in your PATH or set the PKG_CONFIG environment variable to the full
18715 path to pkg-config.
18717 Alternatively, you may set the environment variables liblua_CFLAGS
18718 and liblua_LIBS to avoid the need to call pkg-config.
18719 See the pkg-config man page for more details.
18721 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18722 See \`config.log' for more details" "$LINENO" 5; }
18723 else
18724 liblua_CFLAGS=$pkg_cv_liblua_CFLAGS
18725 liblua_LIBS=$pkg_cv_liblua_LIBS
18726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18727 $as_echo "yes" >&6; }
18731 else
18732 liblua_CFLAGS=$pkg_cv_liblua_CFLAGS
18733 liblua_LIBS=$pkg_cv_liblua_LIBS
18734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18735 $as_echo "yes" >&6; }
18739 else
18740 liblua_CFLAGS=$pkg_cv_liblua_CFLAGS
18741 liblua_LIBS=$pkg_cv_liblua_LIBS
18742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18743 $as_echo "yes" >&6; }
18747 else
18748 liblua_CFLAGS=$pkg_cv_liblua_CFLAGS
18749 liblua_LIBS=$pkg_cv_liblua_LIBS
18750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18751 $as_echo "yes" >&6; }
18754 # Check whether --enable-silent-rules was given.
18755 if test "${enable_silent_rules+set}" = set; then :
18756 enableval=$enable_silent_rules;
18759 case $enable_silent_rules in
18760 yes) AM_DEFAULT_VERBOSITY=0;;
18761 no) AM_DEFAULT_VERBOSITY=1;;
18762 *) AM_DEFAULT_VERBOSITY=0;;
18763 esac
18764 AM_BACKSLASH='\'
18767 # Checks for header files.
18768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
18769 $as_echo_n "checking for ANSI C header files... " >&6; }
18770 if ${ac_cv_header_stdc+:} false; then :
18771 $as_echo_n "(cached) " >&6
18772 else
18773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18774 /* end confdefs.h. */
18775 #include <stdlib.h>
18776 #include <stdarg.h>
18777 #include <string.h>
18778 #include <float.h>
18781 main ()
18785 return 0;
18787 _ACEOF
18788 if ac_fn_c_try_compile "$LINENO"; then :
18789 ac_cv_header_stdc=yes
18790 else
18791 ac_cv_header_stdc=no
18793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18795 if test $ac_cv_header_stdc = yes; then
18796 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18798 /* end confdefs.h. */
18799 #include <string.h>
18801 _ACEOF
18802 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18803 $EGREP "memchr" >/dev/null 2>&1; then :
18805 else
18806 ac_cv_header_stdc=no
18808 rm -f conftest*
18812 if test $ac_cv_header_stdc = yes; then
18813 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18815 /* end confdefs.h. */
18816 #include <stdlib.h>
18818 _ACEOF
18819 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18820 $EGREP "free" >/dev/null 2>&1; then :
18822 else
18823 ac_cv_header_stdc=no
18825 rm -f conftest*
18829 if test $ac_cv_header_stdc = yes; then
18830 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18831 if test "$cross_compiling" = yes; then :
18833 else
18834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18835 /* end confdefs.h. */
18836 #include <ctype.h>
18837 #include <stdlib.h>
18838 #if ((' ' & 0x0FF) == 0x020)
18839 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18840 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18841 #else
18842 # define ISLOWER(c) \
18843 (('a' <= (c) && (c) <= 'i') \
18844 || ('j' <= (c) && (c) <= 'r') \
18845 || ('s' <= (c) && (c) <= 'z'))
18846 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18847 #endif
18849 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18851 main ()
18853 int i;
18854 for (i = 0; i < 256; i++)
18855 if (XOR (islower (i), ISLOWER (i))
18856 || toupper (i) != TOUPPER (i))
18857 return 2;
18858 return 0;
18860 _ACEOF
18861 if ac_fn_c_try_run "$LINENO"; then :
18863 else
18864 ac_cv_header_stdc=no
18866 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18867 conftest.$ac_objext conftest.beam conftest.$ac_ext
18872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
18873 $as_echo "$ac_cv_header_stdc" >&6; }
18874 if test $ac_cv_header_stdc = yes; then
18876 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
18879 # `stdlib.h', `stdarg.h', `string.h', ...
18880 for ac_header in memory.h stdint.h stdlib.h limits.h stddef.h
18881 do :
18882 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18883 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18884 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18885 cat >>confdefs.h <<_ACEOF
18886 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18887 _ACEOF
18891 done
18894 # Checks for typedefs, structures, and compiler characteristics.
18895 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
18896 if test "x$ac_cv_type_size_t" = xyes; then :
18898 else
18900 cat >>confdefs.h <<_ACEOF
18901 #define size_t unsigned int
18902 _ACEOF
18906 ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
18907 case $ac_cv_c_uint32_t in #(
18908 no|yes) ;; #(
18911 $as_echo "#define _UINT32_T 1" >>confdefs.h
18914 cat >>confdefs.h <<_ACEOF
18915 #define uint32_t $ac_cv_c_uint32_t
18916 _ACEOF
18918 esac
18920 ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
18921 case $ac_cv_c_uint64_t in #(
18922 no|yes) ;; #(
18925 $as_echo "#define _UINT64_T 1" >>confdefs.h
18928 cat >>confdefs.h <<_ACEOF
18929 #define uint64_t $ac_cv_c_uint64_t
18930 _ACEOF
18932 esac
18934 ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
18935 case $ac_cv_c_uint8_t in #(
18936 no|yes) ;; #(
18939 $as_echo "#define _UINT8_T 1" >>confdefs.h
18942 cat >>confdefs.h <<_ACEOF
18943 #define uint8_t $ac_cv_c_uint8_t
18944 _ACEOF
18946 esac
18948 ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
18949 if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
18951 cat >>confdefs.h <<_ACEOF
18952 #define HAVE_PTRDIFF_T 1
18953 _ACEOF
18959 # Checks for library functions.
18960 if test x"$host_w32" = "xno" ; then
18961 for ac_header in stdlib.h
18962 do :
18963 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
18964 if test "x$ac_cv_header_stdlib_h" = xyes; then :
18965 cat >>confdefs.h <<_ACEOF
18966 #define HAVE_STDLIB_H 1
18967 _ACEOF
18971 done
18973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
18974 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
18975 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
18976 $as_echo_n "(cached) " >&6
18977 else
18978 if test "$cross_compiling" = yes; then :
18979 ac_cv_func_malloc_0_nonnull=no
18980 else
18981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18982 /* end confdefs.h. */
18983 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
18984 # include <stdlib.h>
18985 #else
18986 char *malloc ();
18987 #endif
18990 main ()
18992 return ! malloc (0);
18994 return 0;
18996 _ACEOF
18997 if ac_fn_c_try_run "$LINENO"; then :
18998 ac_cv_func_malloc_0_nonnull=yes
18999 else
19000 ac_cv_func_malloc_0_nonnull=no
19002 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19003 conftest.$ac_objext conftest.beam conftest.$ac_ext
19007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
19008 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
19009 if test $ac_cv_func_malloc_0_nonnull = yes; then :
19011 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
19013 else
19014 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
19016 case " $LIBOBJS " in
19017 *" malloc.$ac_objext "* ) ;;
19018 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
19020 esac
19023 $as_echo "#define malloc rpl_malloc" >>confdefs.h
19028 for ac_header in stdlib.h
19029 do :
19030 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
19031 if test "x$ac_cv_header_stdlib_h" = xyes; then :
19032 cat >>confdefs.h <<_ACEOF
19033 #define HAVE_STDLIB_H 1
19034 _ACEOF
19038 done
19040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
19041 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
19042 if ${ac_cv_func_realloc_0_nonnull+:} false; then :
19043 $as_echo_n "(cached) " >&6
19044 else
19045 if test "$cross_compiling" = yes; then :
19046 ac_cv_func_realloc_0_nonnull=no
19047 else
19048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19049 /* end confdefs.h. */
19050 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
19051 # include <stdlib.h>
19052 #else
19053 char *realloc ();
19054 #endif
19057 main ()
19059 return ! realloc (0, 0);
19061 return 0;
19063 _ACEOF
19064 if ac_fn_c_try_run "$LINENO"; then :
19065 ac_cv_func_realloc_0_nonnull=yes
19066 else
19067 ac_cv_func_realloc_0_nonnull=no
19069 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19070 conftest.$ac_objext conftest.beam conftest.$ac_ext
19074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
19075 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
19076 if test $ac_cv_func_realloc_0_nonnull = yes; then :
19078 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
19080 else
19081 $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
19083 case " $LIBOBJS " in
19084 *" realloc.$ac_objext "* ) ;;
19085 *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
19087 esac
19090 $as_echo "#define realloc rpl_realloc" >>confdefs.h
19096 for ac_func in memset strdup strstr strtol strerror strcspn getcwd
19097 do :
19098 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19099 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19100 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19101 cat >>confdefs.h <<_ACEOF
19102 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19103 _ACEOF
19106 done
19108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5
19109 $as_echo_n "checking for working strtod... " >&6; }
19110 if ${ac_cv_func_strtod+:} false; then :
19111 $as_echo_n "(cached) " >&6
19112 else
19113 if test "$cross_compiling" = yes; then :
19114 ac_cv_func_strtod=no
19115 else
19116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19117 /* end confdefs.h. */
19119 $ac_includes_default
19120 #ifndef strtod
19121 double strtod ();
19122 #endif
19124 main()
19127 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
19128 char *string = " +69";
19129 char *term;
19130 double value;
19131 value = strtod (string, &term);
19132 if (value != 69 || term != (string + 4))
19133 return 1;
19137 /* Under Solaris 2.4, strtod returns the wrong value for the
19138 terminating character under some conditions. */
19139 char *string = "NaN";
19140 char *term;
19141 strtod (string, &term);
19142 if (term != string && *(term - 1) == 0)
19143 return 1;
19145 return 0;
19148 _ACEOF
19149 if ac_fn_c_try_run "$LINENO"; then :
19150 ac_cv_func_strtod=yes
19151 else
19152 ac_cv_func_strtod=no
19154 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19155 conftest.$ac_objext conftest.beam conftest.$ac_ext
19159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strtod" >&5
19160 $as_echo "$ac_cv_func_strtod" >&6; }
19161 if test $ac_cv_func_strtod = no; then
19162 case " $LIBOBJS " in
19163 *" strtod.$ac_objext "* ) ;;
19164 *) LIBOBJS="$LIBOBJS strtod.$ac_objext"
19166 esac
19168 ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow"
19169 if test "x$ac_cv_func_pow" = xyes; then :
19173 if test $ac_cv_func_pow = no; then
19174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
19175 $as_echo_n "checking for pow in -lm... " >&6; }
19176 if ${ac_cv_lib_m_pow+:} false; then :
19177 $as_echo_n "(cached) " >&6
19178 else
19179 ac_check_lib_save_LIBS=$LIBS
19180 LIBS="-lm $LIBS"
19181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19182 /* end confdefs.h. */
19184 /* Override any GCC internal prototype to avoid an error.
19185 Use char because int might match the return type of a GCC
19186 builtin and then its argument prototype would still apply. */
19187 #ifdef __cplusplus
19188 extern "C"
19189 #endif
19190 char pow ();
19192 main ()
19194 return pow ();
19196 return 0;
19198 _ACEOF
19199 if ac_fn_c_try_link "$LINENO"; then :
19200 ac_cv_lib_m_pow=yes
19201 else
19202 ac_cv_lib_m_pow=no
19204 rm -f core conftest.err conftest.$ac_objext \
19205 conftest$ac_exeext conftest.$ac_ext
19206 LIBS=$ac_check_lib_save_LIBS
19208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
19209 $as_echo "$ac_cv_lib_m_pow" >&6; }
19210 if test "x$ac_cv_lib_m_pow" = xyes; then :
19211 POW_LIB=-lm
19212 else
19213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5
19214 $as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
19222 have_asprintf=no
19223 for ac_func in vasprintf
19224 do :
19225 ac_fn_c_check_func "$LINENO" "vasprintf" "ac_cv_func_vasprintf"
19226 if test "x$ac_cv_func_vasprintf" = xyes; then :
19227 cat >>confdefs.h <<_ACEOF
19228 #define HAVE_VASPRINTF 1
19229 _ACEOF
19231 for ac_func in asprintf
19232 do :
19233 ac_fn_c_check_func "$LINENO" "asprintf" "ac_cv_func_asprintf"
19234 if test "x$ac_cv_func_asprintf" = xyes; then :
19235 cat >>confdefs.h <<_ACEOF
19236 #define HAVE_ASPRINTF 1
19237 _ACEOF
19238 have_asprintf=yes
19240 done
19244 done
19246 if test x"$have_asprintf" != "xyes"; then
19247 NO_ASPRINTF_TRUE=
19248 NO_ASPRINTF_FALSE='#'
19249 else
19250 NO_ASPRINTF_TRUE='#'
19251 NO_ASPRINTF_FALSE=
19255 have_strupr=no
19256 for ac_func in strupr
19257 do :
19258 ac_fn_c_check_func "$LINENO" "strupr" "ac_cv_func_strupr"
19259 if test "x$ac_cv_func_strupr" = xyes; then :
19260 cat >>confdefs.h <<_ACEOF
19261 #define HAVE_STRUPR 1
19262 _ACEOF
19263 have_strupr=yes
19265 done
19267 if test x"$have_strupr" != "xyes"; then
19268 NO_STRUPR_TRUE=
19269 NO_STRUPR_FALSE='#'
19270 else
19271 NO_STRUPR_TRUE='#'
19272 NO_STRUPR_FALSE=
19276 have_strtok_r=no
19277 for ac_func in strtok_r
19278 do :
19279 ac_fn_c_check_func "$LINENO" "strtok_r" "ac_cv_func_strtok_r"
19280 if test "x$ac_cv_func_strtok_r" = xyes; then :
19281 cat >>confdefs.h <<_ACEOF
19282 #define HAVE_STRTOK_R 1
19283 _ACEOF
19284 have_strtok_r=yes
19286 done
19288 if test x"$have_strtok_r" != "xyes"; then
19289 NO_STRTOK_R_TRUE=
19290 NO_STRTOK_R_FALSE='#'
19291 else
19292 NO_STRTOK_R_TRUE='#'
19293 NO_STRTOK_R_FALSE=
19297 if test x"$have_strtok_r" = "xno" ; then
19298 for ac_func in strchr strpbrk strspn
19299 do :
19300 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19301 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19302 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19303 cat >>confdefs.h <<_ACEOF
19304 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19305 _ACEOF
19308 done
19312 # --enable-quvi
19313 # Check whether --enable-quvi was given.
19314 if test "${enable_quvi+set}" = set; then :
19315 enableval=$enable_quvi;
19316 else
19317 enable_quvi=yes
19320 if test x"$enable_quvi" != "xno"; then
19321 ENABLE_QUVI_TRUE=
19322 ENABLE_QUVI_FALSE='#'
19323 else
19324 ENABLE_QUVI_TRUE='#'
19325 ENABLE_QUVI_FALSE=
19329 # --enable-examples
19330 # Check whether --enable-examples was given.
19331 if test "${enable_examples+set}" = set; then :
19332 enableval=$enable_examples;
19333 else
19334 enable_examples=no
19337 if test x"$enable_examples" != "xno"; then
19338 ENABLE_EXAMPLES_TRUE=
19339 ENABLE_EXAMPLES_FALSE='#'
19340 else
19341 ENABLE_EXAMPLES_TRUE='#'
19342 ENABLE_EXAMPLES_FALSE=
19346 # --enable-smut
19347 # Check whether --enable-smut was given.
19348 if test "${enable_smut+set}" = set; then :
19349 enableval=$enable_smut;
19350 else
19351 enable_smut=no
19354 if test x"$enable_smut" != "xno"; then
19355 ENABLE_SMUT_TRUE=
19356 ENABLE_SMUT_FALSE='#'
19357 else
19358 ENABLE_SMUT_TRUE='#'
19359 ENABLE_SMUT_FALSE=
19363 if test x"$enable_smut" != "xno" ; then
19365 $as_echo "#define ENABLE_SMUT 1" >>confdefs.h
19369 # --enable-tests
19370 # Check whether --enable-tests was given.
19371 if test "${enable_tests+set}" = set; then :
19372 enableval=$enable_tests;
19373 else
19374 enable_tests=no
19377 if test x"$enable_tests" != "xno"; then
19378 ENABLE_TESTS_TRUE=
19379 ENABLE_TESTS_FALSE='#'
19380 else
19381 ENABLE_TESTS_TRUE='#'
19382 ENABLE_TESTS_FALSE=
19386 # --enable-broken
19387 # Check whether --enable-broken was given.
19388 if test "${enable_broken+set}" = set; then :
19389 enableval=$enable_broken;
19390 else
19391 enable_broken=no
19394 if test x"$enable_broken" != "xno"; then
19395 ENABLE_BROKEN_TRUE=
19396 ENABLE_BROKEN_FALSE='#'
19397 else
19398 ENABLE_BROKEN_TRUE='#'
19399 ENABLE_BROKEN_FALSE=
19403 if test x"$enable_broken" != "xno" ; then
19405 $as_echo "#define ENABLE_BROKEN 1" >>confdefs.h
19409 # --with-man
19411 # Check whether --with-man was given.
19412 if test "${with_man+set}" = set; then :
19413 withval=$with_man;
19414 else
19415 with_man=yes
19418 if test x"$with_man" != "xno"; then
19419 WITH_MAN_TRUE=
19420 WITH_MAN_FALSE='#'
19421 else
19422 WITH_MAN_TRUE='#'
19423 WITH_MAN_FALSE=
19427 # --with-doc
19429 # Check whether --with-doc was given.
19430 if test "${with_doc+set}" = set; then :
19431 withval=$with_doc;
19432 else
19433 with_doc=yes
19436 if test x"$with_doc" != "xno"; then
19437 WITH_DOC_TRUE=
19438 WITH_DOC_FALSE='#'
19439 else
19440 WITH_DOC_TRUE='#'
19441 WITH_DOC_FALSE=
19445 # GNU ld?
19446 if test x"$with_gnu_ld" = "xyes"; then
19447 HAVE_GNU_LD_TRUE=
19448 HAVE_GNU_LD_FALSE='#'
19449 else
19450 HAVE_GNU_LD_TRUE='#'
19451 HAVE_GNU_LD_FALSE=
19455 ac_config_files="$ac_config_files Makefile include/Makefile include/quvi/Makefile include/quvi/quvi.h lib/Makefile share/Makefile doc/Makefile src/Makefile examples/Makefile tests/Makefile tests/quviTest.pm libquvi.pc doxygen.conf"
19458 cat >confcache <<\_ACEOF
19459 # This file is a shell script that caches the results of configure
19460 # tests run on this system so they can be shared between configure
19461 # scripts and configure runs, see configure's option --config-cache.
19462 # It is not useful on other systems. If it contains results you don't
19463 # want to keep, you may remove or edit it.
19465 # config.status only pays attention to the cache file if you give it
19466 # the --recheck option to rerun configure.
19468 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19469 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19470 # following values.
19472 _ACEOF
19474 # The following way of writing the cache mishandles newlines in values,
19475 # but we know of no workaround that is simple, portable, and efficient.
19476 # So, we kill variables containing newlines.
19477 # Ultrix sh set writes to stderr and can't be redirected directly,
19478 # and sets the high bit in the cache file unless we assign to the vars.
19480 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19481 eval ac_val=\$$ac_var
19482 case $ac_val in #(
19483 *${as_nl}*)
19484 case $ac_var in #(
19485 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19486 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19487 esac
19488 case $ac_var in #(
19489 _ | IFS | as_nl) ;; #(
19490 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19491 *) { eval $ac_var=; unset $ac_var;} ;;
19492 esac ;;
19493 esac
19494 done
19496 (set) 2>&1 |
19497 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19498 *${as_nl}ac_space=\ *)
19499 # `set' does not quote correctly, so add quotes: double-quote
19500 # substitution turns \\\\ into \\, and sed turns \\ into \.
19501 sed -n \
19502 "s/'/'\\\\''/g;
19503 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19504 ;; #(
19506 # `set' quotes correctly as required by POSIX, so do not add quotes.
19507 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19509 esac |
19510 sort
19512 sed '
19513 /^ac_cv_env_/b end
19514 t clear
19515 :clear
19516 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19517 t end
19518 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19519 :end' >>confcache
19520 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19521 if test -w "$cache_file"; then
19522 if test "x$cache_file" != "x/dev/null"; then
19523 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19524 $as_echo "$as_me: updating cache $cache_file" >&6;}
19525 if test ! -f "$cache_file" || test -h "$cache_file"; then
19526 cat confcache >"$cache_file"
19527 else
19528 case $cache_file in #(
19529 */* | ?:*)
19530 mv -f confcache "$cache_file"$$ &&
19531 mv -f "$cache_file"$$ "$cache_file" ;; #(
19533 mv -f confcache "$cache_file" ;;
19534 esac
19537 else
19538 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19539 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19542 rm -f confcache
19544 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19545 # Let make expand exec_prefix.
19546 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19548 DEFS=-DHAVE_CONFIG_H
19550 ac_libobjs=
19551 ac_ltlibobjs=
19553 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19554 # 1. Remove the extension, and $U if already installed.
19555 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19556 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19557 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19558 # will be set to the directory where LIBOBJS objects are built.
19559 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19560 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19561 done
19562 LIBOBJS=$ac_libobjs
19564 LTLIBOBJS=$ac_ltlibobjs
19567 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19568 as_fn_error $? "conditional \"AMDEP\" was never defined.
19569 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19571 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19572 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19573 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19575 if test -n "$EXEEXT"; then
19576 am__EXEEXT_TRUE=
19577 am__EXEEXT_FALSE='#'
19578 else
19579 am__EXEEXT_TRUE='#'
19580 am__EXEEXT_FALSE=
19583 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19584 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
19585 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19587 if test -z "${HAVE_GENGETOPT_TRUE}" && test -z "${HAVE_GENGETOPT_FALSE}"; then
19588 as_fn_error $? "conditional \"HAVE_GENGETOPT\" was never defined.
19589 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19591 if test -z "${HAVE_DOXYGEN_TRUE}" && test -z "${HAVE_DOXYGEN_FALSE}"; then
19592 as_fn_error $? "conditional \"HAVE_DOXYGEN\" was never defined.
19593 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19595 if test -z "${HAVE_PERL_TRUE}" && test -z "${HAVE_PERL_FALSE}"; then
19596 as_fn_error $? "conditional \"HAVE_PERL\" was never defined.
19597 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19599 if test -z "${HAVE_PERL_POD_CHECKER_TRUE}" && test -z "${HAVE_PERL_POD_CHECKER_FALSE}"; then
19600 as_fn_error $? "conditional \"HAVE_PERL_POD_CHECKER\" was never defined.
19601 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19603 if test -z "${HAVE_POD2MAN_TRUE}" && test -z "${HAVE_POD2MAN_FALSE}"; then
19604 as_fn_error $? "conditional \"HAVE_POD2MAN\" was never defined.
19605 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19607 if test -z "${HAVE_POD2HTML_TRUE}" && test -z "${HAVE_POD2HTML_FALSE}"; then
19608 as_fn_error $? "conditional \"HAVE_POD2HTML\" was never defined.
19609 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19611 if test -z "${NO_ASPRINTF_TRUE}" && test -z "${NO_ASPRINTF_FALSE}"; then
19612 as_fn_error $? "conditional \"NO_ASPRINTF\" was never defined.
19613 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19615 if test -z "${NO_STRUPR_TRUE}" && test -z "${NO_STRUPR_FALSE}"; then
19616 as_fn_error $? "conditional \"NO_STRUPR\" was never defined.
19617 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19619 if test -z "${NO_STRTOK_R_TRUE}" && test -z "${NO_STRTOK_R_FALSE}"; then
19620 as_fn_error $? "conditional \"NO_STRTOK_R\" was never defined.
19621 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19623 if test -z "${ENABLE_QUVI_TRUE}" && test -z "${ENABLE_QUVI_FALSE}"; then
19624 as_fn_error $? "conditional \"ENABLE_QUVI\" was never defined.
19625 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19627 if test -z "${ENABLE_EXAMPLES_TRUE}" && test -z "${ENABLE_EXAMPLES_FALSE}"; then
19628 as_fn_error $? "conditional \"ENABLE_EXAMPLES\" was never defined.
19629 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19631 if test -z "${ENABLE_SMUT_TRUE}" && test -z "${ENABLE_SMUT_FALSE}"; then
19632 as_fn_error $? "conditional \"ENABLE_SMUT\" was never defined.
19633 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19635 if test -z "${ENABLE_TESTS_TRUE}" && test -z "${ENABLE_TESTS_FALSE}"; then
19636 as_fn_error $? "conditional \"ENABLE_TESTS\" was never defined.
19637 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19639 if test -z "${ENABLE_BROKEN_TRUE}" && test -z "${ENABLE_BROKEN_FALSE}"; then
19640 as_fn_error $? "conditional \"ENABLE_BROKEN\" was never defined.
19641 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19643 if test -z "${WITH_MAN_TRUE}" && test -z "${WITH_MAN_FALSE}"; then
19644 as_fn_error $? "conditional \"WITH_MAN\" was never defined.
19645 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19647 if test -z "${WITH_DOC_TRUE}" && test -z "${WITH_DOC_FALSE}"; then
19648 as_fn_error $? "conditional \"WITH_DOC\" was never defined.
19649 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19651 if test -z "${HAVE_GNU_LD_TRUE}" && test -z "${HAVE_GNU_LD_FALSE}"; then
19652 as_fn_error $? "conditional \"HAVE_GNU_LD\" was never defined.
19653 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19656 : "${CONFIG_STATUS=./config.status}"
19657 ac_write_fail=0
19658 ac_clean_files_save=$ac_clean_files
19659 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19660 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19661 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19662 as_write_fail=0
19663 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19664 #! $SHELL
19665 # Generated by $as_me.
19666 # Run this file to recreate the current configuration.
19667 # Compiler output produced by configure, useful for debugging
19668 # configure, is in config.log if it exists.
19670 debug=false
19671 ac_cs_recheck=false
19672 ac_cs_silent=false
19674 SHELL=\${CONFIG_SHELL-$SHELL}
19675 export SHELL
19676 _ASEOF
19677 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19678 ## -------------------- ##
19679 ## M4sh Initialization. ##
19680 ## -------------------- ##
19682 # Be more Bourne compatible
19683 DUALCASE=1; export DUALCASE # for MKS sh
19684 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19685 emulate sh
19686 NULLCMD=:
19687 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19688 # is contrary to our usage. Disable this feature.
19689 alias -g '${1+"$@"}'='"$@"'
19690 setopt NO_GLOB_SUBST
19691 else
19692 case `(set -o) 2>/dev/null` in #(
19693 *posix*) :
19694 set -o posix ;; #(
19695 *) :
19697 esac
19701 as_nl='
19703 export as_nl
19704 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19705 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19706 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19707 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19708 # Prefer a ksh shell builtin over an external printf program on Solaris,
19709 # but without wasting forks for bash or zsh.
19710 if test -z "$BASH_VERSION$ZSH_VERSION" \
19711 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19712 as_echo='print -r --'
19713 as_echo_n='print -rn --'
19714 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19715 as_echo='printf %s\n'
19716 as_echo_n='printf %s'
19717 else
19718 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19719 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19720 as_echo_n='/usr/ucb/echo -n'
19721 else
19722 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19723 as_echo_n_body='eval
19724 arg=$1;
19725 case $arg in #(
19726 *"$as_nl"*)
19727 expr "X$arg" : "X\\(.*\\)$as_nl";
19728 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19729 esac;
19730 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19732 export as_echo_n_body
19733 as_echo_n='sh -c $as_echo_n_body as_echo'
19735 export as_echo_body
19736 as_echo='sh -c $as_echo_body as_echo'
19739 # The user is always right.
19740 if test "${PATH_SEPARATOR+set}" != set; then
19741 PATH_SEPARATOR=:
19742 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19743 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19744 PATH_SEPARATOR=';'
19749 # IFS
19750 # We need space, tab and new line, in precisely that order. Quoting is
19751 # there to prevent editors from complaining about space-tab.
19752 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19753 # splitting by setting IFS to empty value.)
19754 IFS=" "" $as_nl"
19756 # Find who we are. Look in the path if we contain no directory separator.
19757 as_myself=
19758 case $0 in #((
19759 *[\\/]* ) as_myself=$0 ;;
19760 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19761 for as_dir in $PATH
19763 IFS=$as_save_IFS
19764 test -z "$as_dir" && as_dir=.
19765 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19766 done
19767 IFS=$as_save_IFS
19770 esac
19771 # We did not find ourselves, most probably we were run as `sh COMMAND'
19772 # in which case we are not to be found in the path.
19773 if test "x$as_myself" = x; then
19774 as_myself=$0
19776 if test ! -f "$as_myself"; then
19777 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19778 exit 1
19781 # Unset variables that we do not need and which cause bugs (e.g. in
19782 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19783 # suppresses any "Segmentation fault" message there. '((' could
19784 # trigger a bug in pdksh 5.2.14.
19785 for as_var in BASH_ENV ENV MAIL MAILPATH
19786 do eval test x\${$as_var+set} = xset \
19787 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19788 done
19789 PS1='$ '
19790 PS2='> '
19791 PS4='+ '
19793 # NLS nuisances.
19794 LC_ALL=C
19795 export LC_ALL
19796 LANGUAGE=C
19797 export LANGUAGE
19799 # CDPATH.
19800 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19803 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19804 # ----------------------------------------
19805 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19806 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19807 # script with STATUS, using 1 if that was 0.
19808 as_fn_error ()
19810 as_status=$1; test $as_status -eq 0 && as_status=1
19811 if test "$4"; then
19812 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19813 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19815 $as_echo "$as_me: error: $2" >&2
19816 as_fn_exit $as_status
19817 } # as_fn_error
19820 # as_fn_set_status STATUS
19821 # -----------------------
19822 # Set $? to STATUS, without forking.
19823 as_fn_set_status ()
19825 return $1
19826 } # as_fn_set_status
19828 # as_fn_exit STATUS
19829 # -----------------
19830 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19831 as_fn_exit ()
19833 set +e
19834 as_fn_set_status $1
19835 exit $1
19836 } # as_fn_exit
19838 # as_fn_unset VAR
19839 # ---------------
19840 # Portably unset VAR.
19841 as_fn_unset ()
19843 { eval $1=; unset $1;}
19845 as_unset=as_fn_unset
19846 # as_fn_append VAR VALUE
19847 # ----------------------
19848 # Append the text in VALUE to the end of the definition contained in VAR. Take
19849 # advantage of any shell optimizations that allow amortized linear growth over
19850 # repeated appends, instead of the typical quadratic growth present in naive
19851 # implementations.
19852 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19853 eval 'as_fn_append ()
19855 eval $1+=\$2
19857 else
19858 as_fn_append ()
19860 eval $1=\$$1\$2
19862 fi # as_fn_append
19864 # as_fn_arith ARG...
19865 # ------------------
19866 # Perform arithmetic evaluation on the ARGs, and store the result in the
19867 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19868 # must be portable across $(()) and expr.
19869 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19870 eval 'as_fn_arith ()
19872 as_val=$(( $* ))
19874 else
19875 as_fn_arith ()
19877 as_val=`expr "$@" || test $? -eq 1`
19879 fi # as_fn_arith
19882 if expr a : '\(a\)' >/dev/null 2>&1 &&
19883 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19884 as_expr=expr
19885 else
19886 as_expr=false
19889 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19890 as_basename=basename
19891 else
19892 as_basename=false
19895 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19896 as_dirname=dirname
19897 else
19898 as_dirname=false
19901 as_me=`$as_basename -- "$0" ||
19902 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19903 X"$0" : 'X\(//\)$' \| \
19904 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19905 $as_echo X/"$0" |
19906 sed '/^.*\/\([^/][^/]*\)\/*$/{
19907 s//\1/
19910 /^X\/\(\/\/\)$/{
19911 s//\1/
19914 /^X\/\(\/\).*/{
19915 s//\1/
19918 s/.*/./; q'`
19920 # Avoid depending upon Character Ranges.
19921 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19922 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19923 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19924 as_cr_digits='0123456789'
19925 as_cr_alnum=$as_cr_Letters$as_cr_digits
19927 ECHO_C= ECHO_N= ECHO_T=
19928 case `echo -n x` in #(((((
19929 -n*)
19930 case `echo 'xy\c'` in
19931 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19932 xy) ECHO_C='\c';;
19933 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19934 ECHO_T=' ';;
19935 esac;;
19937 ECHO_N='-n';;
19938 esac
19940 rm -f conf$$ conf$$.exe conf$$.file
19941 if test -d conf$$.dir; then
19942 rm -f conf$$.dir/conf$$.file
19943 else
19944 rm -f conf$$.dir
19945 mkdir conf$$.dir 2>/dev/null
19947 if (echo >conf$$.file) 2>/dev/null; then
19948 if ln -s conf$$.file conf$$ 2>/dev/null; then
19949 as_ln_s='ln -s'
19950 # ... but there are two gotchas:
19951 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19952 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19953 # In both cases, we have to default to `cp -p'.
19954 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19955 as_ln_s='cp -p'
19956 elif ln conf$$.file conf$$ 2>/dev/null; then
19957 as_ln_s=ln
19958 else
19959 as_ln_s='cp -p'
19961 else
19962 as_ln_s='cp -p'
19964 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19965 rmdir conf$$.dir 2>/dev/null
19968 # as_fn_mkdir_p
19969 # -------------
19970 # Create "$as_dir" as a directory, including parents if necessary.
19971 as_fn_mkdir_p ()
19974 case $as_dir in #(
19975 -*) as_dir=./$as_dir;;
19976 esac
19977 test -d "$as_dir" || eval $as_mkdir_p || {
19978 as_dirs=
19979 while :; do
19980 case $as_dir in #(
19981 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19982 *) as_qdir=$as_dir;;
19983 esac
19984 as_dirs="'$as_qdir' $as_dirs"
19985 as_dir=`$as_dirname -- "$as_dir" ||
19986 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19987 X"$as_dir" : 'X\(//\)[^/]' \| \
19988 X"$as_dir" : 'X\(//\)$' \| \
19989 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19990 $as_echo X"$as_dir" |
19991 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19992 s//\1/
19995 /^X\(\/\/\)[^/].*/{
19996 s//\1/
19999 /^X\(\/\/\)$/{
20000 s//\1/
20003 /^X\(\/\).*/{
20004 s//\1/
20007 s/.*/./; q'`
20008 test -d "$as_dir" && break
20009 done
20010 test -z "$as_dirs" || eval "mkdir $as_dirs"
20011 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
20014 } # as_fn_mkdir_p
20015 if mkdir -p . 2>/dev/null; then
20016 as_mkdir_p='mkdir -p "$as_dir"'
20017 else
20018 test -d ./-p && rmdir ./-p
20019 as_mkdir_p=false
20022 if test -x / >/dev/null 2>&1; then
20023 as_test_x='test -x'
20024 else
20025 if ls -dL / >/dev/null 2>&1; then
20026 as_ls_L_option=L
20027 else
20028 as_ls_L_option=
20030 as_test_x='
20031 eval sh -c '\''
20032 if test -d "$1"; then
20033 test -d "$1/.";
20034 else
20035 case $1 in #(
20036 -*)set "./$1";;
20037 esac;
20038 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
20039 ???[sx]*):;;*)false;;esac;fi
20040 '\'' sh
20043 as_executable_p=$as_test_x
20045 # Sed expression to map a string onto a valid CPP name.
20046 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20048 # Sed expression to map a string onto a valid variable name.
20049 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20052 exec 6>&1
20053 ## ----------------------------------- ##
20054 ## Main body of $CONFIG_STATUS script. ##
20055 ## ----------------------------------- ##
20056 _ASEOF
20057 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
20059 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20060 # Save the log message, to keep $0 and so on meaningful, and to
20061 # report actual input values of CONFIG_FILES etc. instead of their
20062 # values after options handling.
20063 ac_log="
20064 This file was extended by quvi $as_me 0.2.6, which was
20065 generated by GNU Autoconf 2.68. Invocation command line was
20067 CONFIG_FILES = $CONFIG_FILES
20068 CONFIG_HEADERS = $CONFIG_HEADERS
20069 CONFIG_LINKS = $CONFIG_LINKS
20070 CONFIG_COMMANDS = $CONFIG_COMMANDS
20071 $ $0 $@
20073 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20076 _ACEOF
20078 case $ac_config_files in *"
20079 "*) set x $ac_config_files; shift; ac_config_files=$*;;
20080 esac
20082 case $ac_config_headers in *"
20083 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
20084 esac
20087 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20088 # Files that config.status was made for.
20089 config_files="$ac_config_files"
20090 config_headers="$ac_config_headers"
20091 config_commands="$ac_config_commands"
20093 _ACEOF
20095 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20096 ac_cs_usage="\
20097 \`$as_me' instantiates files and other configuration actions
20098 from templates according to the current configuration. Unless the files
20099 and actions are specified as TAGs, all are instantiated by default.
20101 Usage: $0 [OPTION]... [TAG]...
20103 -h, --help print this help, then exit
20104 -V, --version print version number and configuration settings, then exit
20105 --config print configuration, then exit
20106 -q, --quiet, --silent
20107 do not print progress messages
20108 -d, --debug don't remove temporary files
20109 --recheck update $as_me by reconfiguring in the same conditions
20110 --file=FILE[:TEMPLATE]
20111 instantiate the configuration file FILE
20112 --header=FILE[:TEMPLATE]
20113 instantiate the configuration header FILE
20115 Configuration files:
20116 $config_files
20118 Configuration headers:
20119 $config_headers
20121 Configuration commands:
20122 $config_commands
20124 Report bugs to <http://is.gd/fIt4T>.
20125 quvi home page: <http://quvi.googlecode.com/>."
20127 _ACEOF
20128 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20129 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20130 ac_cs_version="\\
20131 quvi config.status 0.2.6
20132 configured by $0, generated by GNU Autoconf 2.68,
20133 with options \\"\$ac_cs_config\\"
20135 Copyright (C) 2010 Free Software Foundation, Inc.
20136 This config.status script is free software; the Free Software Foundation
20137 gives unlimited permission to copy, distribute and modify it."
20139 ac_pwd='$ac_pwd'
20140 srcdir='$srcdir'
20141 INSTALL='$INSTALL'
20142 MKDIR_P='$MKDIR_P'
20143 AWK='$AWK'
20144 test -n "\$AWK" || AWK=awk
20145 _ACEOF
20147 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20148 # The default lists apply if the user does not specify any file.
20149 ac_need_defaults=:
20150 while test $# != 0
20152 case $1 in
20153 --*=?*)
20154 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20155 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20156 ac_shift=:
20158 --*=)
20159 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20160 ac_optarg=
20161 ac_shift=:
20164 ac_option=$1
20165 ac_optarg=$2
20166 ac_shift=shift
20168 esac
20170 case $ac_option in
20171 # Handling of the options.
20172 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20173 ac_cs_recheck=: ;;
20174 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20175 $as_echo "$ac_cs_version"; exit ;;
20176 --config | --confi | --conf | --con | --co | --c )
20177 $as_echo "$ac_cs_config"; exit ;;
20178 --debug | --debu | --deb | --de | --d | -d )
20179 debug=: ;;
20180 --file | --fil | --fi | --f )
20181 $ac_shift
20182 case $ac_optarg in
20183 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20184 '') as_fn_error $? "missing file argument" ;;
20185 esac
20186 as_fn_append CONFIG_FILES " '$ac_optarg'"
20187 ac_need_defaults=false;;
20188 --header | --heade | --head | --hea )
20189 $ac_shift
20190 case $ac_optarg in
20191 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20192 esac
20193 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20194 ac_need_defaults=false;;
20195 --he | --h)
20196 # Conflict between --help and --header
20197 as_fn_error $? "ambiguous option: \`$1'
20198 Try \`$0 --help' for more information.";;
20199 --help | --hel | -h )
20200 $as_echo "$ac_cs_usage"; exit ;;
20201 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20202 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20203 ac_cs_silent=: ;;
20205 # This is an error.
20206 -*) as_fn_error $? "unrecognized option: \`$1'
20207 Try \`$0 --help' for more information." ;;
20209 *) as_fn_append ac_config_targets " $1"
20210 ac_need_defaults=false ;;
20212 esac
20213 shift
20214 done
20216 ac_configure_extra_args=
20218 if $ac_cs_silent; then
20219 exec 6>/dev/null
20220 ac_configure_extra_args="$ac_configure_extra_args --silent"
20223 _ACEOF
20224 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20225 if \$ac_cs_recheck; then
20226 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20227 shift
20228 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20229 CONFIG_SHELL='$SHELL'
20230 export CONFIG_SHELL
20231 exec "\$@"
20234 _ACEOF
20235 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20236 exec 5>>config.log
20238 echo
20239 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20240 ## Running $as_me. ##
20241 _ASBOX
20242 $as_echo "$ac_log"
20243 } >&5
20245 _ACEOF
20246 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20248 # INIT-COMMANDS
20250 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20253 # The HP-UX ksh and POSIX shell print the target directory to stdout
20254 # if CDPATH is set.
20255 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20257 sed_quote_subst='$sed_quote_subst'
20258 double_quote_subst='$double_quote_subst'
20259 delay_variable_subst='$delay_variable_subst'
20260 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
20261 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
20262 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
20263 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
20264 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
20265 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
20266 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
20267 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
20268 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
20269 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
20270 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
20271 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
20272 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
20273 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
20274 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
20275 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
20276 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
20277 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
20278 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
20279 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
20280 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
20281 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
20282 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
20283 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
20284 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
20285 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
20286 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
20287 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
20288 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
20289 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
20290 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
20291 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
20292 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
20293 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
20294 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
20295 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
20296 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
20297 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
20298 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
20299 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
20300 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
20301 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
20302 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
20303 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
20304 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20305 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20306 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
20307 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
20308 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
20309 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
20310 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
20311 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
20312 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
20313 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
20314 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
20315 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"`'
20316 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
20317 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
20318 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
20319 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
20320 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
20321 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
20322 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
20323 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
20324 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
20325 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
20326 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
20327 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
20328 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
20329 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
20330 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
20331 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
20332 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
20333 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
20334 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20335 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
20336 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
20337 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
20338 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
20339 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
20340 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
20341 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20342 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
20343 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20344 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
20345 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20346 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
20347 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
20348 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
20349 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
20350 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
20351 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
20352 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
20353 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
20354 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
20355 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
20356 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
20357 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
20358 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
20359 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
20360 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
20361 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
20362 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
20363 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
20364 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
20365 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
20366 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
20367 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
20368 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
20369 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
20370 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
20371 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
20372 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
20373 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
20374 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
20375 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
20376 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
20377 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20378 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20379 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
20380 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
20381 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
20382 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
20383 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
20384 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
20385 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
20386 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
20387 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
20388 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
20389 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
20390 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
20391 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
20392 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
20393 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
20394 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
20395 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
20396 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
20397 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
20398 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20399 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20400 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
20401 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
20402 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
20403 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
20404 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
20405 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
20406 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
20407 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
20408 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
20409 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20410 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20411 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
20412 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20413 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20414 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20415 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20416 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20417 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20418 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
20419 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20420 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20421 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20422 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
20423 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
20424 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
20425 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
20426 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
20427 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
20428 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
20429 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
20430 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
20431 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
20432 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20433 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20434 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20435 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20436 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20437 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
20438 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
20439 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
20440 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20441 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20442 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
20443 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
20444 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
20446 LTCC='$LTCC'
20447 LTCFLAGS='$LTCFLAGS'
20448 compiler='$compiler_DEFAULT'
20450 # A function that is used when there is no print builtin or printf.
20451 func_fallback_echo ()
20453 eval 'cat <<_LTECHO_EOF
20455 _LTECHO_EOF'
20458 # Quote evaled strings.
20459 for var in SHELL \
20460 ECHO \
20461 SED \
20462 GREP \
20463 EGREP \
20464 FGREP \
20465 LD \
20466 NM \
20467 LN_S \
20468 lt_SP2NL \
20469 lt_NL2SP \
20470 reload_flag \
20471 OBJDUMP \
20472 deplibs_check_method \
20473 file_magic_cmd \
20474 file_magic_glob \
20475 want_nocaseglob \
20476 DLLTOOL \
20477 sharedlib_from_linklib_cmd \
20478 AR \
20479 AR_FLAGS \
20480 archiver_list_spec \
20481 STRIP \
20482 RANLIB \
20483 CC \
20484 CFLAGS \
20485 compiler \
20486 lt_cv_sys_global_symbol_pipe \
20487 lt_cv_sys_global_symbol_to_cdecl \
20488 lt_cv_sys_global_symbol_to_c_name_address \
20489 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20490 nm_file_list_spec \
20491 lt_prog_compiler_no_builtin_flag \
20492 lt_prog_compiler_pic \
20493 lt_prog_compiler_wl \
20494 lt_prog_compiler_static \
20495 lt_cv_prog_compiler_c_o \
20496 need_locks \
20497 MANIFEST_TOOL \
20498 DSYMUTIL \
20499 NMEDIT \
20500 LIPO \
20501 OTOOL \
20502 OTOOL64 \
20503 shrext_cmds \
20504 export_dynamic_flag_spec \
20505 whole_archive_flag_spec \
20506 compiler_needs_object \
20507 with_gnu_ld \
20508 allow_undefined_flag \
20509 no_undefined_flag \
20510 hardcode_libdir_flag_spec \
20511 hardcode_libdir_flag_spec_ld \
20512 hardcode_libdir_separator \
20513 exclude_expsyms \
20514 include_expsyms \
20515 file_list_spec \
20516 variables_saved_for_relink \
20517 libname_spec \
20518 library_names_spec \
20519 soname_spec \
20520 install_override_mode \
20521 finish_eval \
20522 old_striplib \
20523 striplib \
20524 compiler_lib_search_dirs \
20525 predep_objects \
20526 postdep_objects \
20527 predeps \
20528 postdeps \
20529 compiler_lib_search_path \
20530 LD_CXX \
20531 reload_flag_CXX \
20532 compiler_CXX \
20533 lt_prog_compiler_no_builtin_flag_CXX \
20534 lt_prog_compiler_pic_CXX \
20535 lt_prog_compiler_wl_CXX \
20536 lt_prog_compiler_static_CXX \
20537 lt_cv_prog_compiler_c_o_CXX \
20538 export_dynamic_flag_spec_CXX \
20539 whole_archive_flag_spec_CXX \
20540 compiler_needs_object_CXX \
20541 with_gnu_ld_CXX \
20542 allow_undefined_flag_CXX \
20543 no_undefined_flag_CXX \
20544 hardcode_libdir_flag_spec_CXX \
20545 hardcode_libdir_flag_spec_ld_CXX \
20546 hardcode_libdir_separator_CXX \
20547 exclude_expsyms_CXX \
20548 include_expsyms_CXX \
20549 file_list_spec_CXX \
20550 compiler_lib_search_dirs_CXX \
20551 predep_objects_CXX \
20552 postdep_objects_CXX \
20553 predeps_CXX \
20554 postdeps_CXX \
20555 compiler_lib_search_path_CXX; do
20556 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20557 *[\\\\\\\`\\"\\\$]*)
20558 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20561 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20563 esac
20564 done
20566 # Double-quote double-evaled strings.
20567 for var in reload_cmds \
20568 old_postinstall_cmds \
20569 old_postuninstall_cmds \
20570 old_archive_cmds \
20571 extract_expsyms_cmds \
20572 old_archive_from_new_cmds \
20573 old_archive_from_expsyms_cmds \
20574 archive_cmds \
20575 archive_expsym_cmds \
20576 module_cmds \
20577 module_expsym_cmds \
20578 export_symbols_cmds \
20579 prelink_cmds \
20580 postlink_cmds \
20581 postinstall_cmds \
20582 postuninstall_cmds \
20583 finish_cmds \
20584 sys_lib_search_path_spec \
20585 sys_lib_dlsearch_path_spec \
20586 reload_cmds_CXX \
20587 old_archive_cmds_CXX \
20588 old_archive_from_new_cmds_CXX \
20589 old_archive_from_expsyms_cmds_CXX \
20590 archive_cmds_CXX \
20591 archive_expsym_cmds_CXX \
20592 module_cmds_CXX \
20593 module_expsym_cmds_CXX \
20594 export_symbols_cmds_CXX \
20595 prelink_cmds_CXX \
20596 postlink_cmds_CXX; do
20597 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20598 *[\\\\\\\`\\"\\\$]*)
20599 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20602 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20604 esac
20605 done
20607 ac_aux_dir='$ac_aux_dir'
20608 xsi_shell='$xsi_shell'
20609 lt_shell_append='$lt_shell_append'
20611 # See if we are running on zsh, and set the options which allow our
20612 # commands through without removal of \ escapes INIT.
20613 if test -n "\${ZSH_VERSION+set}" ; then
20614 setopt NO_GLOB_SUBST
20618 PACKAGE='$PACKAGE'
20619 VERSION='$VERSION'
20620 TIMESTAMP='$TIMESTAMP'
20621 RM='$RM'
20622 ofile='$ofile'
20629 _ACEOF
20631 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20633 # Handling of arguments.
20634 for ac_config_target in $ac_config_targets
20636 case $ac_config_target in
20637 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
20638 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
20639 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
20640 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20641 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
20642 "include/quvi/Makefile") CONFIG_FILES="$CONFIG_FILES include/quvi/Makefile" ;;
20643 "include/quvi/quvi.h") CONFIG_FILES="$CONFIG_FILES include/quvi/quvi.h" ;;
20644 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
20645 "share/Makefile") CONFIG_FILES="$CONFIG_FILES share/Makefile" ;;
20646 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
20647 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
20648 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
20649 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
20650 "tests/quviTest.pm") CONFIG_FILES="$CONFIG_FILES tests/quviTest.pm" ;;
20651 "libquvi.pc") CONFIG_FILES="$CONFIG_FILES libquvi.pc" ;;
20652 "doxygen.conf") CONFIG_FILES="$CONFIG_FILES doxygen.conf" ;;
20654 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20655 esac
20656 done
20659 # If the user did not use the arguments to specify the items to instantiate,
20660 # then the envvar interface is used. Set only those that are not.
20661 # We use the long form for the default assignment because of an extremely
20662 # bizarre bug on SunOS 4.1.3.
20663 if $ac_need_defaults; then
20664 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20665 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20666 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20669 # Have a temporary directory for convenience. Make it in the build tree
20670 # simply because there is no reason against having it here, and in addition,
20671 # creating and moving files from /tmp can sometimes cause problems.
20672 # Hook for its removal unless debugging.
20673 # Note that there is a small window in which the directory will not be cleaned:
20674 # after its creation but before its name has been assigned to `$tmp'.
20675 $debug ||
20677 tmp= ac_tmp=
20678 trap 'exit_status=$?
20679 : "${ac_tmp:=$tmp}"
20680 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20682 trap 'as_fn_exit 1' 1 2 13 15
20684 # Create a (secure) tmp directory for tmp files.
20687 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20688 test -d "$tmp"
20689 } ||
20691 tmp=./conf$$-$RANDOM
20692 (umask 077 && mkdir "$tmp")
20693 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20694 ac_tmp=$tmp
20696 # Set up the scripts for CONFIG_FILES section.
20697 # No need to generate them if there are no CONFIG_FILES.
20698 # This happens for instance with `./config.status config.h'.
20699 if test -n "$CONFIG_FILES"; then
20702 ac_cr=`echo X | tr X '\015'`
20703 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20704 # But we know of no other shell where ac_cr would be empty at this
20705 # point, so we can use a bashism as a fallback.
20706 if test "x$ac_cr" = x; then
20707 eval ac_cr=\$\'\\r\'
20709 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20710 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20711 ac_cs_awk_cr='\\r'
20712 else
20713 ac_cs_awk_cr=$ac_cr
20716 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20717 _ACEOF
20721 echo "cat >conf$$subs.awk <<_ACEOF" &&
20722 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20723 echo "_ACEOF"
20724 } >conf$$subs.sh ||
20725 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20726 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20727 ac_delim='%!_!# '
20728 for ac_last_try in false false false false false :; do
20729 . ./conf$$subs.sh ||
20730 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20732 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20733 if test $ac_delim_n = $ac_delim_num; then
20734 break
20735 elif $ac_last_try; then
20736 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20737 else
20738 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20740 done
20741 rm -f conf$$subs.sh
20743 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20744 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20745 _ACEOF
20746 sed -n '
20748 s/^/S["/; s/!.*/"]=/
20751 s/^[^!]*!//
20752 :repl
20753 t repl
20754 s/'"$ac_delim"'$//
20755 t delim
20758 s/\(.\{148\}\)..*/\1/
20759 t more1
20760 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20763 b repl
20764 :more1
20765 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20768 s/.\{148\}//
20769 t nl
20770 :delim
20772 s/\(.\{148\}\)..*/\1/
20773 t more2
20774 s/["\\]/\\&/g; s/^/"/; s/$/"/
20777 :more2
20778 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20781 s/.\{148\}//
20782 t delim
20783 ' <conf$$subs.awk | sed '
20784 /^[^""]/{
20786 s/\n//
20788 ' >>$CONFIG_STATUS || ac_write_fail=1
20789 rm -f conf$$subs.awk
20790 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20791 _ACAWK
20792 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20793 for (key in S) S_is_set[key] = 1
20794 FS = "\a"
20798 line = $ 0
20799 nfields = split(line, field, "@")
20800 substed = 0
20801 len = length(field[1])
20802 for (i = 2; i < nfields; i++) {
20803 key = field[i]
20804 keylen = length(key)
20805 if (S_is_set[key]) {
20806 value = S[key]
20807 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20808 len += length(value) + length(field[++i])
20809 substed = 1
20810 } else
20811 len += 1 + keylen
20814 print line
20817 _ACAWK
20818 _ACEOF
20819 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20820 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20821 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20822 else
20824 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20825 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20826 _ACEOF
20828 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20829 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20830 # trailing colons and then remove the whole line if VPATH becomes empty
20831 # (actually we leave an empty line to preserve line numbers).
20832 if test "x$srcdir" = x.; then
20833 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20835 s///
20836 s/^/:/
20837 s/[ ]*$/:/
20838 s/:\$(srcdir):/:/g
20839 s/:\${srcdir}:/:/g
20840 s/:@srcdir@:/:/g
20841 s/^:*//
20842 s/:*$//
20844 s/\(=[ ]*\).*/\1/
20846 s/\n//
20847 s/^[^=]*=[ ]*$//
20851 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20852 fi # test -n "$CONFIG_FILES"
20854 # Set up the scripts for CONFIG_HEADERS section.
20855 # No need to generate them if there are no CONFIG_HEADERS.
20856 # This happens for instance with `./config.status Makefile'.
20857 if test -n "$CONFIG_HEADERS"; then
20858 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20859 BEGIN {
20860 _ACEOF
20862 # Transform confdefs.h into an awk script `defines.awk', embedded as
20863 # here-document in config.status, that substitutes the proper values into
20864 # config.h.in to produce config.h.
20866 # Create a delimiter string that does not exist in confdefs.h, to ease
20867 # handling of long lines.
20868 ac_delim='%!_!# '
20869 for ac_last_try in false false :; do
20870 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20871 if test -z "$ac_tt"; then
20872 break
20873 elif $ac_last_try; then
20874 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20875 else
20876 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20878 done
20880 # For the awk script, D is an array of macro values keyed by name,
20881 # likewise P contains macro parameters if any. Preserve backslash
20882 # newline sequences.
20884 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20885 sed -n '
20886 s/.\{148\}/&'"$ac_delim"'/g
20887 t rset
20888 :rset
20889 s/^[ ]*#[ ]*define[ ][ ]*/ /
20890 t def
20892 :def
20893 s/\\$//
20894 t bsnl
20895 s/["\\]/\\&/g
20896 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20897 D["\1"]=" \3"/p
20898 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20900 :bsnl
20901 s/["\\]/\\&/g
20902 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20903 D["\1"]=" \3\\\\\\n"\\/p
20904 t cont
20905 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20906 t cont
20908 :cont
20910 s/.\{148\}/&'"$ac_delim"'/g
20911 t clear
20912 :clear
20913 s/\\$//
20914 t bsnlc
20915 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20917 :bsnlc
20918 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20919 b cont
20920 ' <confdefs.h | sed '
20921 s/'"$ac_delim"'/"\\\
20922 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20924 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20925 for (key in D) D_is_set[key] = 1
20926 FS = "\a"
20928 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20929 line = \$ 0
20930 split(line, arg, " ")
20931 if (arg[1] == "#") {
20932 defundef = arg[2]
20933 mac1 = arg[3]
20934 } else {
20935 defundef = substr(arg[1], 2)
20936 mac1 = arg[2]
20938 split(mac1, mac2, "(") #)
20939 macro = mac2[1]
20940 prefix = substr(line, 1, index(line, defundef) - 1)
20941 if (D_is_set[macro]) {
20942 # Preserve the white space surrounding the "#".
20943 print prefix "define", macro P[macro] D[macro]
20944 next
20945 } else {
20946 # Replace #undef with comments. This is necessary, for example,
20947 # in the case of _POSIX_SOURCE, which is predefined and required
20948 # on some systems where configure will not decide to define it.
20949 if (defundef == "undef") {
20950 print "/*", prefix defundef, macro, "*/"
20951 next
20955 { print }
20956 _ACAWK
20957 _ACEOF
20958 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20959 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20960 fi # test -n "$CONFIG_HEADERS"
20963 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
20964 shift
20965 for ac_tag
20967 case $ac_tag in
20968 :[FHLC]) ac_mode=$ac_tag; continue;;
20969 esac
20970 case $ac_mode$ac_tag in
20971 :[FHL]*:*);;
20972 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20973 :[FH]-) ac_tag=-:-;;
20974 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20975 esac
20976 ac_save_IFS=$IFS
20977 IFS=:
20978 set x $ac_tag
20979 IFS=$ac_save_IFS
20980 shift
20981 ac_file=$1
20982 shift
20984 case $ac_mode in
20985 :L) ac_source=$1;;
20986 :[FH])
20987 ac_file_inputs=
20988 for ac_f
20990 case $ac_f in
20991 -) ac_f="$ac_tmp/stdin";;
20992 *) # Look for the file first in the build tree, then in the source tree
20993 # (if the path is not absolute). The absolute path cannot be DOS-style,
20994 # because $ac_f cannot contain `:'.
20995 test -f "$ac_f" ||
20996 case $ac_f in
20997 [\\/$]*) false;;
20998 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20999 esac ||
21000 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21001 esac
21002 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21003 as_fn_append ac_file_inputs " '$ac_f'"
21004 done
21006 # Let's still pretend it is `configure' which instantiates (i.e., don't
21007 # use $as_me), people would be surprised to read:
21008 # /* config.h. Generated by config.status. */
21009 configure_input='Generated from '`
21010 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21011 `' by configure.'
21012 if test x"$ac_file" != x-; then
21013 configure_input="$ac_file. $configure_input"
21014 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21015 $as_echo "$as_me: creating $ac_file" >&6;}
21017 # Neutralize special characters interpreted by sed in replacement strings.
21018 case $configure_input in #(
21019 *\&* | *\|* | *\\* )
21020 ac_sed_conf_input=`$as_echo "$configure_input" |
21021 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21022 *) ac_sed_conf_input=$configure_input;;
21023 esac
21025 case $ac_tag in
21026 *:-:* | *:-) cat >"$ac_tmp/stdin" \
21027 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
21028 esac
21030 esac
21032 ac_dir=`$as_dirname -- "$ac_file" ||
21033 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21034 X"$ac_file" : 'X\(//\)[^/]' \| \
21035 X"$ac_file" : 'X\(//\)$' \| \
21036 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21037 $as_echo X"$ac_file" |
21038 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21039 s//\1/
21042 /^X\(\/\/\)[^/].*/{
21043 s//\1/
21046 /^X\(\/\/\)$/{
21047 s//\1/
21050 /^X\(\/\).*/{
21051 s//\1/
21054 s/.*/./; q'`
21055 as_dir="$ac_dir"; as_fn_mkdir_p
21056 ac_builddir=.
21058 case "$ac_dir" in
21059 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21061 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21062 # A ".." for each directory in $ac_dir_suffix.
21063 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21064 case $ac_top_builddir_sub in
21065 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21066 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21067 esac ;;
21068 esac
21069 ac_abs_top_builddir=$ac_pwd
21070 ac_abs_builddir=$ac_pwd$ac_dir_suffix
21071 # for backward compatibility:
21072 ac_top_builddir=$ac_top_build_prefix
21074 case $srcdir in
21075 .) # We are building in place.
21076 ac_srcdir=.
21077 ac_top_srcdir=$ac_top_builddir_sub
21078 ac_abs_top_srcdir=$ac_pwd ;;
21079 [\\/]* | ?:[\\/]* ) # Absolute name.
21080 ac_srcdir=$srcdir$ac_dir_suffix;
21081 ac_top_srcdir=$srcdir
21082 ac_abs_top_srcdir=$srcdir ;;
21083 *) # Relative name.
21084 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21085 ac_top_srcdir=$ac_top_build_prefix$srcdir
21086 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21087 esac
21088 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21091 case $ac_mode in
21094 # CONFIG_FILE
21097 case $INSTALL in
21098 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21099 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
21100 esac
21101 ac_MKDIR_P=$MKDIR_P
21102 case $MKDIR_P in
21103 [\\/$]* | ?:[\\/]* ) ;;
21104 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
21105 esac
21106 _ACEOF
21108 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21109 # If the template does not know about datarootdir, expand it.
21110 # FIXME: This hack should be removed a few years after 2.60.
21111 ac_datarootdir_hack=; ac_datarootdir_seen=
21112 ac_sed_dataroot='
21113 /datarootdir/ {
21117 /@datadir@/p
21118 /@docdir@/p
21119 /@infodir@/p
21120 /@localedir@/p
21121 /@mandir@/p'
21122 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21123 *datarootdir*) ac_datarootdir_seen=yes;;
21124 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21126 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21127 _ACEOF
21128 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21129 ac_datarootdir_hack='
21130 s&@datadir@&$datadir&g
21131 s&@docdir@&$docdir&g
21132 s&@infodir@&$infodir&g
21133 s&@localedir@&$localedir&g
21134 s&@mandir@&$mandir&g
21135 s&\\\${datarootdir}&$datarootdir&g' ;;
21136 esac
21137 _ACEOF
21139 # Neutralize VPATH when `$srcdir' = `.'.
21140 # Shell code in configure.ac might set extrasub.
21141 # FIXME: do we really want to maintain this feature?
21142 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21143 ac_sed_extra="$ac_vpsub
21144 $extrasub
21145 _ACEOF
21146 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21148 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21149 s|@configure_input@|$ac_sed_conf_input|;t t
21150 s&@top_builddir@&$ac_top_builddir_sub&;t t
21151 s&@top_build_prefix@&$ac_top_build_prefix&;t t
21152 s&@srcdir@&$ac_srcdir&;t t
21153 s&@abs_srcdir@&$ac_abs_srcdir&;t t
21154 s&@top_srcdir@&$ac_top_srcdir&;t t
21155 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
21156 s&@builddir@&$ac_builddir&;t t
21157 s&@abs_builddir@&$ac_abs_builddir&;t t
21158 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
21159 s&@INSTALL@&$ac_INSTALL&;t t
21160 s&@MKDIR_P@&$ac_MKDIR_P&;t t
21161 $ac_datarootdir_hack
21163 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
21164 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21166 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21167 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
21168 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21169 "$ac_tmp/out"`; test -z "$ac_out"; } &&
21170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21171 which seems to be undefined. Please make sure it is defined" >&5
21172 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21173 which seems to be undefined. Please make sure it is defined" >&2;}
21175 rm -f "$ac_tmp/stdin"
21176 case $ac_file in
21177 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21178 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21179 esac \
21180 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21184 # CONFIG_HEADER
21186 if test x"$ac_file" != x-; then
21188 $as_echo "/* $configure_input */" \
21189 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21190 } >"$ac_tmp/config.h" \
21191 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21192 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21193 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21194 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21195 else
21196 rm -f "$ac_file"
21197 mv "$ac_tmp/config.h" "$ac_file" \
21198 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21200 else
21201 $as_echo "/* $configure_input */" \
21202 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21203 || as_fn_error $? "could not create -" "$LINENO" 5
21205 # Compute "$ac_file"'s index in $config_headers.
21206 _am_arg="$ac_file"
21207 _am_stamp_count=1
21208 for _am_header in $config_headers :; do
21209 case $_am_header in
21210 $_am_arg | $_am_arg:* )
21211 break ;;
21213 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
21214 esac
21215 done
21216 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
21217 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21218 X"$_am_arg" : 'X\(//\)[^/]' \| \
21219 X"$_am_arg" : 'X\(//\)$' \| \
21220 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
21221 $as_echo X"$_am_arg" |
21222 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21223 s//\1/
21226 /^X\(\/\/\)[^/].*/{
21227 s//\1/
21230 /^X\(\/\/\)$/{
21231 s//\1/
21234 /^X\(\/\).*/{
21235 s//\1/
21238 s/.*/./; q'`/stamp-h$_am_stamp_count
21241 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21242 $as_echo "$as_me: executing $ac_file commands" >&6;}
21244 esac
21247 case $ac_file$ac_mode in
21248 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
21249 # Autoconf 2.62 quotes --file arguments for eval, but not when files
21250 # are listed without --file. Let's play safe and only enable the eval
21251 # if we detect the quoting.
21252 case $CONFIG_FILES in
21253 *\'*) eval set x "$CONFIG_FILES" ;;
21254 *) set x $CONFIG_FILES ;;
21255 esac
21256 shift
21257 for mf
21259 # Strip MF so we end up with the name of the file.
21260 mf=`echo "$mf" | sed -e 's/:.*$//'`
21261 # Check whether this is an Automake generated Makefile or not.
21262 # We used to match only the files named `Makefile.in', but
21263 # some people rename them; so instead we look at the file content.
21264 # Grep'ing the first line is not enough: some people post-process
21265 # each Makefile.in and add a new line on top of each file to say so.
21266 # Grep'ing the whole file is not good either: AIX grep has a line
21267 # limit of 2048, but all sed's we know have understand at least 4000.
21268 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
21269 dirpart=`$as_dirname -- "$mf" ||
21270 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21271 X"$mf" : 'X\(//\)[^/]' \| \
21272 X"$mf" : 'X\(//\)$' \| \
21273 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21274 $as_echo X"$mf" |
21275 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21276 s//\1/
21279 /^X\(\/\/\)[^/].*/{
21280 s//\1/
21283 /^X\(\/\/\)$/{
21284 s//\1/
21287 /^X\(\/\).*/{
21288 s//\1/
21291 s/.*/./; q'`
21292 else
21293 continue
21295 # Extract the definition of DEPDIR, am__include, and am__quote
21296 # from the Makefile without running `make'.
21297 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
21298 test -z "$DEPDIR" && continue
21299 am__include=`sed -n 's/^am__include = //p' < "$mf"`
21300 test -z "am__include" && continue
21301 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
21302 # When using ansi2knr, U may be empty or an underscore; expand it
21303 U=`sed -n 's/^U = //p' < "$mf"`
21304 # Find all dependency output files, they are included files with
21305 # $(DEPDIR) in their names. We invoke sed twice because it is the
21306 # simplest approach to changing $(DEPDIR) to its actual value in the
21307 # expansion.
21308 for file in `sed -n "
21309 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21310 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21311 # Make sure the directory exists.
21312 test -f "$dirpart/$file" && continue
21313 fdir=`$as_dirname -- "$file" ||
21314 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21315 X"$file" : 'X\(//\)[^/]' \| \
21316 X"$file" : 'X\(//\)$' \| \
21317 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21318 $as_echo X"$file" |
21319 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21320 s//\1/
21323 /^X\(\/\/\)[^/].*/{
21324 s//\1/
21327 /^X\(\/\/\)$/{
21328 s//\1/
21331 /^X\(\/\).*/{
21332 s//\1/
21335 s/.*/./; q'`
21336 as_dir=$dirpart/$fdir; as_fn_mkdir_p
21337 # echo "creating $dirpart/$file"
21338 echo '# dummy' > "$dirpart/$file"
21339 done
21340 done
21343 "libtool":C)
21345 # See if we are running on zsh, and set the options which allow our
21346 # commands through without removal of \ escapes.
21347 if test -n "${ZSH_VERSION+set}" ; then
21348 setopt NO_GLOB_SUBST
21351 cfgfile="${ofile}T"
21352 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21353 $RM "$cfgfile"
21355 cat <<_LT_EOF >> "$cfgfile"
21356 #! $SHELL
21358 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
21359 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
21360 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21361 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21363 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21364 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
21365 # Inc.
21366 # Written by Gordon Matzigkeit, 1996
21368 # This file is part of GNU Libtool.
21370 # GNU Libtool is free software; you can redistribute it and/or
21371 # modify it under the terms of the GNU General Public License as
21372 # published by the Free Software Foundation; either version 2 of
21373 # the License, or (at your option) any later version.
21375 # As a special exception to the GNU General Public License,
21376 # if you distribute this file as part of a program or library that
21377 # is built using GNU Libtool, you may include this file under the
21378 # same distribution terms that you use for the rest of that program.
21380 # GNU Libtool is distributed in the hope that it will be useful,
21381 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21382 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21383 # GNU General Public License for more details.
21385 # You should have received a copy of the GNU General Public License
21386 # along with GNU Libtool; see the file COPYING. If not, a copy
21387 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
21388 # obtained by writing to the Free Software Foundation, Inc.,
21389 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21392 # The names of the tagged configurations supported by this script.
21393 available_tags="CXX "
21395 # ### BEGIN LIBTOOL CONFIG
21397 # Which release of libtool.m4 was used?
21398 macro_version=$macro_version
21399 macro_revision=$macro_revision
21401 # Whether or not to build shared libraries.
21402 build_libtool_libs=$enable_shared
21404 # Whether or not to build static libraries.
21405 build_old_libs=$enable_static
21407 # What type of objects to build.
21408 pic_mode=$pic_mode
21410 # Whether or not to optimize for fast installation.
21411 fast_install=$enable_fast_install
21413 # Shell to use when invoking shell scripts.
21414 SHELL=$lt_SHELL
21416 # An echo program that protects backslashes.
21417 ECHO=$lt_ECHO
21419 # The host system.
21420 host_alias=$host_alias
21421 host=$host
21422 host_os=$host_os
21424 # The build system.
21425 build_alias=$build_alias
21426 build=$build
21427 build_os=$build_os
21429 # A sed program that does not truncate output.
21430 SED=$lt_SED
21432 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21433 Xsed="\$SED -e 1s/^X//"
21435 # A grep program that handles long lines.
21436 GREP=$lt_GREP
21438 # An ERE matcher.
21439 EGREP=$lt_EGREP
21441 # A literal string matcher.
21442 FGREP=$lt_FGREP
21444 # A BSD- or MS-compatible name lister.
21445 NM=$lt_NM
21447 # Whether we need soft or hard links.
21448 LN_S=$lt_LN_S
21450 # What is the maximum length of a command?
21451 max_cmd_len=$max_cmd_len
21453 # Object file suffix (normally "o").
21454 objext=$ac_objext
21456 # Executable file suffix (normally "").
21457 exeext=$exeext
21459 # whether the shell understands "unset".
21460 lt_unset=$lt_unset
21462 # turn spaces into newlines.
21463 SP2NL=$lt_lt_SP2NL
21465 # turn newlines into spaces.
21466 NL2SP=$lt_lt_NL2SP
21468 # convert \$build file names to \$host format.
21469 to_host_file_cmd=$lt_cv_to_host_file_cmd
21471 # convert \$build files to toolchain format.
21472 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
21474 # An object symbol dumper.
21475 OBJDUMP=$lt_OBJDUMP
21477 # Method to check whether dependent libraries are shared objects.
21478 deplibs_check_method=$lt_deplibs_check_method
21480 # Command to use when deplibs_check_method = "file_magic".
21481 file_magic_cmd=$lt_file_magic_cmd
21483 # How to find potential files when deplibs_check_method = "file_magic".
21484 file_magic_glob=$lt_file_magic_glob
21486 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
21487 want_nocaseglob=$lt_want_nocaseglob
21489 # DLL creation program.
21490 DLLTOOL=$lt_DLLTOOL
21492 # Command to associate shared and link libraries.
21493 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
21495 # The archiver.
21496 AR=$lt_AR
21498 # Flags to create an archive.
21499 AR_FLAGS=$lt_AR_FLAGS
21501 # How to feed a file listing to the archiver.
21502 archiver_list_spec=$lt_archiver_list_spec
21504 # A symbol stripping program.
21505 STRIP=$lt_STRIP
21507 # Commands used to install an old-style archive.
21508 RANLIB=$lt_RANLIB
21509 old_postinstall_cmds=$lt_old_postinstall_cmds
21510 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21512 # Whether to use a lock for old archive extraction.
21513 lock_old_archive_extraction=$lock_old_archive_extraction
21515 # A C compiler.
21516 LTCC=$lt_CC
21518 # LTCC compiler flags.
21519 LTCFLAGS=$lt_CFLAGS
21521 # Take the output of nm and produce a listing of raw symbols and C names.
21522 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21524 # Transform the output of nm in a proper C declaration.
21525 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21527 # Transform the output of nm in a C name address pair.
21528 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21530 # Transform the output of nm in a C name address pair when lib prefix is needed.
21531 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21533 # Specify filename containing input files for \$NM.
21534 nm_file_list_spec=$lt_nm_file_list_spec
21536 # The root where to search for dependent libraries,and in which our libraries should be installed.
21537 lt_sysroot=$lt_sysroot
21539 # The name of the directory that contains temporary libtool files.
21540 objdir=$objdir
21542 # Used to examine libraries when file_magic_cmd begins with "file".
21543 MAGIC_CMD=$MAGIC_CMD
21545 # Must we lock files when doing compilation?
21546 need_locks=$lt_need_locks
21548 # Manifest tool.
21549 MANIFEST_TOOL=$lt_MANIFEST_TOOL
21551 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21552 DSYMUTIL=$lt_DSYMUTIL
21554 # Tool to change global to local symbols on Mac OS X.
21555 NMEDIT=$lt_NMEDIT
21557 # Tool to manipulate fat objects and archives on Mac OS X.
21558 LIPO=$lt_LIPO
21560 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21561 OTOOL=$lt_OTOOL
21563 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21564 OTOOL64=$lt_OTOOL64
21566 # Old archive suffix (normally "a").
21567 libext=$libext
21569 # Shared library suffix (normally ".so").
21570 shrext_cmds=$lt_shrext_cmds
21572 # The commands to extract the exported symbol list from a shared archive.
21573 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21575 # Variables whose values should be saved in libtool wrapper scripts and
21576 # restored at link time.
21577 variables_saved_for_relink=$lt_variables_saved_for_relink
21579 # Do we need the "lib" prefix for modules?
21580 need_lib_prefix=$need_lib_prefix
21582 # Do we need a version for libraries?
21583 need_version=$need_version
21585 # Library versioning type.
21586 version_type=$version_type
21588 # Shared library runtime path variable.
21589 runpath_var=$runpath_var
21591 # Shared library path variable.
21592 shlibpath_var=$shlibpath_var
21594 # Is shlibpath searched before the hard-coded library search path?
21595 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21597 # Format of library name prefix.
21598 libname_spec=$lt_libname_spec
21600 # List of archive names. First name is the real one, the rest are links.
21601 # The last name is the one that the linker finds with -lNAME
21602 library_names_spec=$lt_library_names_spec
21604 # The coded name of the library, if different from the real name.
21605 soname_spec=$lt_soname_spec
21607 # Permission mode override for installation of shared libraries.
21608 install_override_mode=$lt_install_override_mode
21610 # Command to use after installation of a shared archive.
21611 postinstall_cmds=$lt_postinstall_cmds
21613 # Command to use after uninstallation of a shared archive.
21614 postuninstall_cmds=$lt_postuninstall_cmds
21616 # Commands used to finish a libtool library installation in a directory.
21617 finish_cmds=$lt_finish_cmds
21619 # As "finish_cmds", except a single script fragment to be evaled but
21620 # not shown.
21621 finish_eval=$lt_finish_eval
21623 # Whether we should hardcode library paths into libraries.
21624 hardcode_into_libs=$hardcode_into_libs
21626 # Compile-time system search path for libraries.
21627 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21629 # Run-time system search path for libraries.
21630 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21632 # Whether dlopen is supported.
21633 dlopen_support=$enable_dlopen
21635 # Whether dlopen of programs is supported.
21636 dlopen_self=$enable_dlopen_self
21638 # Whether dlopen of statically linked programs is supported.
21639 dlopen_self_static=$enable_dlopen_self_static
21641 # Commands to strip libraries.
21642 old_striplib=$lt_old_striplib
21643 striplib=$lt_striplib
21646 # The linker used to build libraries.
21647 LD=$lt_LD
21649 # How to create reloadable object files.
21650 reload_flag=$lt_reload_flag
21651 reload_cmds=$lt_reload_cmds
21653 # Commands used to build an old-style archive.
21654 old_archive_cmds=$lt_old_archive_cmds
21656 # A language specific compiler.
21657 CC=$lt_compiler
21659 # Is the compiler the GNU compiler?
21660 with_gcc=$GCC
21662 # Compiler flag to turn off builtin functions.
21663 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21665 # Additional compiler flags for building library objects.
21666 pic_flag=$lt_lt_prog_compiler_pic
21668 # How to pass a linker flag through the compiler.
21669 wl=$lt_lt_prog_compiler_wl
21671 # Compiler flag to prevent dynamic linking.
21672 link_static_flag=$lt_lt_prog_compiler_static
21674 # Does compiler simultaneously support -c and -o options?
21675 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21677 # Whether or not to add -lc for building shared libraries.
21678 build_libtool_need_lc=$archive_cmds_need_lc
21680 # Whether or not to disallow shared libs when runtime libs are static.
21681 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21683 # Compiler flag to allow reflexive dlopens.
21684 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21686 # Compiler flag to generate shared objects directly from archives.
21687 whole_archive_flag_spec=$lt_whole_archive_flag_spec
21689 # Whether the compiler copes with passing no objects directly.
21690 compiler_needs_object=$lt_compiler_needs_object
21692 # Create an old-style archive from a shared archive.
21693 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21695 # Create a temporary old-style archive to link instead of a shared archive.
21696 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21698 # Commands used to build a shared archive.
21699 archive_cmds=$lt_archive_cmds
21700 archive_expsym_cmds=$lt_archive_expsym_cmds
21702 # Commands used to build a loadable module if different from building
21703 # a shared archive.
21704 module_cmds=$lt_module_cmds
21705 module_expsym_cmds=$lt_module_expsym_cmds
21707 # Whether we are building with GNU ld or not.
21708 with_gnu_ld=$lt_with_gnu_ld
21710 # Flag that allows shared libraries with undefined symbols to be built.
21711 allow_undefined_flag=$lt_allow_undefined_flag
21713 # Flag that enforces no undefined symbols.
21714 no_undefined_flag=$lt_no_undefined_flag
21716 # Flag to hardcode \$libdir into a binary during linking.
21717 # This must work even if \$libdir does not exist
21718 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21720 # If ld is used when linking, flag to hardcode \$libdir into a binary
21721 # during linking. This must work even if \$libdir does not exist.
21722 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
21724 # Whether we need a single "-rpath" flag with a separated argument.
21725 hardcode_libdir_separator=$lt_hardcode_libdir_separator
21727 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21728 # DIR into the resulting binary.
21729 hardcode_direct=$hardcode_direct
21731 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21732 # DIR into the resulting binary and the resulting library dependency is
21733 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21734 # library is relocated.
21735 hardcode_direct_absolute=$hardcode_direct_absolute
21737 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21738 # into the resulting binary.
21739 hardcode_minus_L=$hardcode_minus_L
21741 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21742 # into the resulting binary.
21743 hardcode_shlibpath_var=$hardcode_shlibpath_var
21745 # Set to "yes" if building a shared library automatically hardcodes DIR
21746 # into the library and all subsequent libraries and executables linked
21747 # against it.
21748 hardcode_automatic=$hardcode_automatic
21750 # Set to yes if linker adds runtime paths of dependent libraries
21751 # to runtime path list.
21752 inherit_rpath=$inherit_rpath
21754 # Whether libtool must link a program against all its dependency libraries.
21755 link_all_deplibs=$link_all_deplibs
21757 # Set to "yes" if exported symbols are required.
21758 always_export_symbols=$always_export_symbols
21760 # The commands to list exported symbols.
21761 export_symbols_cmds=$lt_export_symbols_cmds
21763 # Symbols that should not be listed in the preloaded symbols.
21764 exclude_expsyms=$lt_exclude_expsyms
21766 # Symbols that must always be exported.
21767 include_expsyms=$lt_include_expsyms
21769 # Commands necessary for linking programs (against libraries) with templates.
21770 prelink_cmds=$lt_prelink_cmds
21772 # Commands necessary for finishing linking programs.
21773 postlink_cmds=$lt_postlink_cmds
21775 # Specify filename containing input files.
21776 file_list_spec=$lt_file_list_spec
21778 # How to hardcode a shared library path into an executable.
21779 hardcode_action=$hardcode_action
21781 # The directories searched by this compiler when creating a shared library.
21782 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
21784 # Dependencies to place before and after the objects being linked to
21785 # create a shared library.
21786 predep_objects=$lt_predep_objects
21787 postdep_objects=$lt_postdep_objects
21788 predeps=$lt_predeps
21789 postdeps=$lt_postdeps
21791 # The library search path used internally by the compiler when linking
21792 # a shared library.
21793 compiler_lib_search_path=$lt_compiler_lib_search_path
21795 # ### END LIBTOOL CONFIG
21797 _LT_EOF
21799 case $host_os in
21800 aix3*)
21801 cat <<\_LT_EOF >> "$cfgfile"
21802 # AIX sometimes has problems with the GCC collect2 program. For some
21803 # reason, if we set the COLLECT_NAMES environment variable, the problems
21804 # vanish in a puff of smoke.
21805 if test "X${COLLECT_NAMES+set}" != Xset; then
21806 COLLECT_NAMES=
21807 export COLLECT_NAMES
21809 _LT_EOF
21811 esac
21814 ltmain="$ac_aux_dir/ltmain.sh"
21817 # We use sed instead of cat because bash on DJGPP gets confused if
21818 # if finds mixed CR/LF and LF-only lines. Since sed operates in
21819 # text mode, it properly converts lines to CR/LF. This bash problem
21820 # is reportedly fixed, but why not run on old versions too?
21821 sed '$q' "$ltmain" >> "$cfgfile" \
21822 || (rm -f "$cfgfile"; exit 1)
21824 if test x"$xsi_shell" = xyes; then
21825 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
21826 func_dirname ()\
21828 \ case ${1} in\
21829 \ */*) func_dirname_result="${1%/*}${2}" ;;\
21830 \ * ) func_dirname_result="${3}" ;;\
21831 \ esac\
21832 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
21833 && mv -f "$cfgfile.tmp" "$cfgfile" \
21834 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21835 test 0 -eq $? || _lt_function_replace_fail=:
21838 sed -e '/^func_basename ()$/,/^} # func_basename /c\
21839 func_basename ()\
21841 \ func_basename_result="${1##*/}"\
21842 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
21843 && mv -f "$cfgfile.tmp" "$cfgfile" \
21844 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21845 test 0 -eq $? || _lt_function_replace_fail=:
21848 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
21849 func_dirname_and_basename ()\
21851 \ case ${1} in\
21852 \ */*) func_dirname_result="${1%/*}${2}" ;;\
21853 \ * ) func_dirname_result="${3}" ;;\
21854 \ esac\
21855 \ func_basename_result="${1##*/}"\
21856 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
21857 && mv -f "$cfgfile.tmp" "$cfgfile" \
21858 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21859 test 0 -eq $? || _lt_function_replace_fail=:
21862 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
21863 func_stripname ()\
21865 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
21866 \ # positional parameters, so assign one to ordinary parameter first.\
21867 \ func_stripname_result=${3}\
21868 \ func_stripname_result=${func_stripname_result#"${1}"}\
21869 \ func_stripname_result=${func_stripname_result%"${2}"}\
21870 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
21871 && mv -f "$cfgfile.tmp" "$cfgfile" \
21872 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21873 test 0 -eq $? || _lt_function_replace_fail=:
21876 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
21877 func_split_long_opt ()\
21879 \ func_split_long_opt_name=${1%%=*}\
21880 \ func_split_long_opt_arg=${1#*=}\
21881 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
21882 && mv -f "$cfgfile.tmp" "$cfgfile" \
21883 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21884 test 0 -eq $? || _lt_function_replace_fail=:
21887 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
21888 func_split_short_opt ()\
21890 \ func_split_short_opt_arg=${1#??}\
21891 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
21892 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
21893 && mv -f "$cfgfile.tmp" "$cfgfile" \
21894 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21895 test 0 -eq $? || _lt_function_replace_fail=:
21898 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
21899 func_lo2o ()\
21901 \ case ${1} in\
21902 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
21903 \ *) func_lo2o_result=${1} ;;\
21904 \ esac\
21905 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
21906 && mv -f "$cfgfile.tmp" "$cfgfile" \
21907 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21908 test 0 -eq $? || _lt_function_replace_fail=:
21911 sed -e '/^func_xform ()$/,/^} # func_xform /c\
21912 func_xform ()\
21914 func_xform_result=${1%.*}.lo\
21915 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
21916 && mv -f "$cfgfile.tmp" "$cfgfile" \
21917 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21918 test 0 -eq $? || _lt_function_replace_fail=:
21921 sed -e '/^func_arith ()$/,/^} # func_arith /c\
21922 func_arith ()\
21924 func_arith_result=$(( $* ))\
21925 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
21926 && mv -f "$cfgfile.tmp" "$cfgfile" \
21927 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21928 test 0 -eq $? || _lt_function_replace_fail=:
21931 sed -e '/^func_len ()$/,/^} # func_len /c\
21932 func_len ()\
21934 func_len_result=${#1}\
21935 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
21936 && mv -f "$cfgfile.tmp" "$cfgfile" \
21937 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21938 test 0 -eq $? || _lt_function_replace_fail=:
21942 if test x"$lt_shell_append" = xyes; then
21943 sed -e '/^func_append ()$/,/^} # func_append /c\
21944 func_append ()\
21946 eval "${1}+=\\${2}"\
21947 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
21948 && mv -f "$cfgfile.tmp" "$cfgfile" \
21949 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21950 test 0 -eq $? || _lt_function_replace_fail=:
21953 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
21954 func_append_quoted ()\
21956 \ func_quote_for_eval "${2}"\
21957 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
21958 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
21959 && mv -f "$cfgfile.tmp" "$cfgfile" \
21960 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21961 test 0 -eq $? || _lt_function_replace_fail=:
21964 # Save a `func_append' function call where possible by direct use of '+='
21965 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
21966 && mv -f "$cfgfile.tmp" "$cfgfile" \
21967 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21968 test 0 -eq $? || _lt_function_replace_fail=:
21969 else
21970 # Save a `func_append' function call even when '+=' is not available
21971 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
21972 && mv -f "$cfgfile.tmp" "$cfgfile" \
21973 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21974 test 0 -eq $? || _lt_function_replace_fail=:
21977 if test x"$_lt_function_replace_fail" = x":"; then
21978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
21979 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
21983 mv -f "$cfgfile" "$ofile" ||
21984 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
21985 chmod +x "$ofile"
21988 cat <<_LT_EOF >> "$ofile"
21990 # ### BEGIN LIBTOOL TAG CONFIG: CXX
21992 # The linker used to build libraries.
21993 LD=$lt_LD_CXX
21995 # How to create reloadable object files.
21996 reload_flag=$lt_reload_flag_CXX
21997 reload_cmds=$lt_reload_cmds_CXX
21999 # Commands used to build an old-style archive.
22000 old_archive_cmds=$lt_old_archive_cmds_CXX
22002 # A language specific compiler.
22003 CC=$lt_compiler_CXX
22005 # Is the compiler the GNU compiler?
22006 with_gcc=$GCC_CXX
22008 # Compiler flag to turn off builtin functions.
22009 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
22011 # Additional compiler flags for building library objects.
22012 pic_flag=$lt_lt_prog_compiler_pic_CXX
22014 # How to pass a linker flag through the compiler.
22015 wl=$lt_lt_prog_compiler_wl_CXX
22017 # Compiler flag to prevent dynamic linking.
22018 link_static_flag=$lt_lt_prog_compiler_static_CXX
22020 # Does compiler simultaneously support -c and -o options?
22021 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
22023 # Whether or not to add -lc for building shared libraries.
22024 build_libtool_need_lc=$archive_cmds_need_lc_CXX
22026 # Whether or not to disallow shared libs when runtime libs are static.
22027 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
22029 # Compiler flag to allow reflexive dlopens.
22030 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
22032 # Compiler flag to generate shared objects directly from archives.
22033 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
22035 # Whether the compiler copes with passing no objects directly.
22036 compiler_needs_object=$lt_compiler_needs_object_CXX
22038 # Create an old-style archive from a shared archive.
22039 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
22041 # Create a temporary old-style archive to link instead of a shared archive.
22042 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
22044 # Commands used to build a shared archive.
22045 archive_cmds=$lt_archive_cmds_CXX
22046 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
22048 # Commands used to build a loadable module if different from building
22049 # a shared archive.
22050 module_cmds=$lt_module_cmds_CXX
22051 module_expsym_cmds=$lt_module_expsym_cmds_CXX
22053 # Whether we are building with GNU ld or not.
22054 with_gnu_ld=$lt_with_gnu_ld_CXX
22056 # Flag that allows shared libraries with undefined symbols to be built.
22057 allow_undefined_flag=$lt_allow_undefined_flag_CXX
22059 # Flag that enforces no undefined symbols.
22060 no_undefined_flag=$lt_no_undefined_flag_CXX
22062 # Flag to hardcode \$libdir into a binary during linking.
22063 # This must work even if \$libdir does not exist
22064 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
22066 # If ld is used when linking, flag to hardcode \$libdir into a binary
22067 # during linking. This must work even if \$libdir does not exist.
22068 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
22070 # Whether we need a single "-rpath" flag with a separated argument.
22071 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
22073 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22074 # DIR into the resulting binary.
22075 hardcode_direct=$hardcode_direct_CXX
22077 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22078 # DIR into the resulting binary and the resulting library dependency is
22079 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22080 # library is relocated.
22081 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
22083 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22084 # into the resulting binary.
22085 hardcode_minus_L=$hardcode_minus_L_CXX
22087 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22088 # into the resulting binary.
22089 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
22091 # Set to "yes" if building a shared library automatically hardcodes DIR
22092 # into the library and all subsequent libraries and executables linked
22093 # against it.
22094 hardcode_automatic=$hardcode_automatic_CXX
22096 # Set to yes if linker adds runtime paths of dependent libraries
22097 # to runtime path list.
22098 inherit_rpath=$inherit_rpath_CXX
22100 # Whether libtool must link a program against all its dependency libraries.
22101 link_all_deplibs=$link_all_deplibs_CXX
22103 # Set to "yes" if exported symbols are required.
22104 always_export_symbols=$always_export_symbols_CXX
22106 # The commands to list exported symbols.
22107 export_symbols_cmds=$lt_export_symbols_cmds_CXX
22109 # Symbols that should not be listed in the preloaded symbols.
22110 exclude_expsyms=$lt_exclude_expsyms_CXX
22112 # Symbols that must always be exported.
22113 include_expsyms=$lt_include_expsyms_CXX
22115 # Commands necessary for linking programs (against libraries) with templates.
22116 prelink_cmds=$lt_prelink_cmds_CXX
22118 # Commands necessary for finishing linking programs.
22119 postlink_cmds=$lt_postlink_cmds_CXX
22121 # Specify filename containing input files.
22122 file_list_spec=$lt_file_list_spec_CXX
22124 # How to hardcode a shared library path into an executable.
22125 hardcode_action=$hardcode_action_CXX
22127 # The directories searched by this compiler when creating a shared library.
22128 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
22130 # Dependencies to place before and after the objects being linked to
22131 # create a shared library.
22132 predep_objects=$lt_predep_objects_CXX
22133 postdep_objects=$lt_postdep_objects_CXX
22134 predeps=$lt_predeps_CXX
22135 postdeps=$lt_postdeps_CXX
22137 # The library search path used internally by the compiler when linking
22138 # a shared library.
22139 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
22141 # ### END LIBTOOL TAG CONFIG: CXX
22142 _LT_EOF
22146 esac
22147 done # for ac_tag
22150 as_fn_exit 0
22151 _ACEOF
22152 ac_clean_files=$ac_clean_files_save
22154 test $ac_write_fail = 0 ||
22155 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22158 # configure is writing to config.log, and then calls config.status.
22159 # config.status does its own redirection, appending to config.log.
22160 # Unfortunately, on DOS this fails, as config.log is still kept open
22161 # by configure, so config.status won't be able to write to it; its
22162 # output is simply discarded. So we exec the FD to /dev/null,
22163 # effectively closing config.log, so it can be properly (re)opened and
22164 # appended to by config.status. When coming back to configure, we
22165 # need to make the FD available again.
22166 if test "$no_create" != yes; then
22167 ac_cs_success=:
22168 ac_config_status_args=
22169 test "$silent" = yes &&
22170 ac_config_status_args="$ac_config_status_args --quiet"
22171 exec 5>/dev/null
22172 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22173 exec 5>>config.log
22174 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22175 # would make configure fail if this is the last instruction.
22176 $ac_cs_success || as_fn_exit 1
22178 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22180 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22184 { $as_echo "$as_me:${as_lineno-$LINENO}: Configured to build quvi/libquvi:
22186 quvi version: ${VERSION} g:$git_describe b:$build_date
22187 host setup: ${host}
22188 install prefix: ${prefix}
22189 compiler: ${CC}
22190 cflags: ${CFLAGS}
22192 Options:
22193 build libquvi: shared=${enable_shared} static=${enable_static}
22194 build quvi: ${enable_quvi}
22195 build examples: ${enable_examples}
22196 adult support: ${enable_smut}
22197 enable tests: ${enable_tests}
22198 broken support: ${enable_broken}
22199 install manual: ${with_man}
22200 install docs: ${with_doc}
22202 Other:
22203 gengetopt: ${GENGETOPT}
22204 doxygen: ${DOXYGEN}
22205 perl: ${PERL}
22206 Pod::Checker: ${have_pod_checker}
22207 pod2man: ${POD2MAN}
22208 pod2html: ${POD2HTML}
22209 " >&5
22210 $as_echo "$as_me: Configured to build quvi/libquvi:
22212 quvi version: ${VERSION} g:$git_describe b:$build_date
22213 host setup: ${host}
22214 install prefix: ${prefix}
22215 compiler: ${CC}
22216 cflags: ${CFLAGS}
22218 Options:
22219 build libquvi: shared=${enable_shared} static=${enable_static}
22220 build quvi: ${enable_quvi}
22221 build examples: ${enable_examples}
22222 adult support: ${enable_smut}
22223 enable tests: ${enable_tests}
22224 broken support: ${enable_broken}
22225 install manual: ${with_man}
22226 install docs: ${with_doc}
22228 Other:
22229 gengetopt: ${GENGETOPT}
22230 doxygen: ${DOXYGEN}
22231 perl: ${PERL}
22232 Pod::Checker: ${have_pod_checker}
22233 pod2man: ${POD2MAN}
22234 pod2html: ${POD2HTML}
22235 " >&6;}