tests/README: Add url.t --json-file URL note
[quvi.git] / configure
blob4bf99121e9527020a6f9bf26c210ae4c55fa4696
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for quvi 0.2.15.
5 # Report bugs to <http://sourceforge.net/apps/trac/quvi>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
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
250 $0: http://sourceforge.net/apps/trac/quvi about your
251 $0: system, including any error possibly output before this
252 $0: message. Then install a modern shell, or manually run
253 $0: the script under such a shell if you do have one."
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.15'
574 PACKAGE_STRING='quvi 0.2.15'
575 PACKAGE_BUGREPORT='http://sourceforge.net/apps/trac/quvi'
576 PACKAGE_URL='http://quvi.sourceforge.net/'
578 ac_unique_file="lib/quvi.c"
579 # Factoring default headers for most tests.
580 ac_includes_default="\
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_NLFY_FALSE
625 ENABLE_NLFY_TRUE
626 ENABLE_TODO_FALSE
627 ENABLE_TODO_TRUE
628 ENABLE_NSFW_FALSE
629 ENABLE_NSFW_TRUE
630 ENABLE_VERBOSE_TESTS_FALSE
631 ENABLE_VERBOSE_TESTS_TRUE
632 ENABLE_TESTS_FALSE
633 ENABLE_TESTS_TRUE
634 ENABLE_EXAMPLES_FALSE
635 ENABLE_EXAMPLES_TRUE
636 ENABLE_QUVI_FALSE
637 ENABLE_QUVI_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 libcurl_LIBS
647 libcurl_CFLAGS
648 PKG_CONFIG_LIBDIR
649 PKG_CONFIG_PATH
650 PKG_CONFIG
651 LTLIBICONV
652 LIBICONV
654 DATE
655 HAVE_POD2HTML_FALSE
656 HAVE_POD2HTML_TRUE
657 POD2HTML
658 HAVE_POD2MAN_FALSE
659 HAVE_POD2MAN_TRUE
660 POD2MAN
661 HAVE_VALGRIND_FALSE
662 HAVE_VALGRIND_TRUE
663 VALGRIND
664 HAVE_PROVE_FALSE
665 HAVE_PROVE_TRUE
666 PROVE
667 HAVE_DOXYGEN_FALSE
668 HAVE_DOXYGEN_TRUE
669 DOXYGEN
670 HAVE_GENGETOPT_FALSE
671 HAVE_GENGETOPT_TRUE
672 GENGETOPT
673 CXXCPP
674 am__fastdepCXX_FALSE
675 am__fastdepCXX_TRUE
676 CXXDEPMODE
677 ac_ct_CXX
678 CXXFLAGS
680 EXTRA_LIBQUVI_LDFLAGS
681 OTOOL64
682 OTOOL
683 LIPO
684 NMEDIT
685 DSYMUTIL
686 MANIFEST_TOOL
687 RANLIB
688 ac_ct_AR
690 DLLTOOL
691 OBJDUMP
692 LN_S
694 ac_ct_DUMPBIN
695 DUMPBIN
697 FGREP
699 LIBTOOL
700 am__fastdepCC_FALSE
701 am__fastdepCC_TRUE
702 CCDEPMODE
703 AMDEPBACKSLASH
704 AMDEP_FALSE
705 AMDEP_TRUE
706 am__quote
707 am__include
708 DEPDIR
709 am__untar
710 am__tar
711 AMTAR
712 am__leading_dot
713 SET_MAKE
715 mkdir_p
716 MKDIR_P
717 INSTALL_STRIP_PROGRAM
718 STRIP
719 install_sh
720 MAKEINFO
721 AUTOHEADER
722 AUTOMAKE
723 AUTOCONF
724 ACLOCAL
725 VERSION
726 PACKAGE
727 CYGPATH_W
728 am__isrc
729 INSTALL_DATA
730 INSTALL_SCRIPT
731 INSTALL_PROGRAM
732 EGREP
733 GREP
735 OBJEXT
736 EXEEXT
737 ac_ct_CC
738 CPPFLAGS
739 LDFLAGS
740 CFLAGS
742 target_os
743 target_vendor
744 target_cpu
745 target
746 host_os
747 host_vendor
748 host_cpu
749 host
750 build_os
751 build_vendor
752 build_cpu
753 build
754 QUVI_AGE
755 QUVI_REVISION
756 QUVI_CURRENT
757 target_alias
758 host_alias
759 build_alias
760 LIBS
761 ECHO_T
762 ECHO_N
763 ECHO_C
764 DEFS
765 mandir
766 localedir
767 libdir
768 psdir
769 pdfdir
770 dvidir
771 htmldir
772 infodir
773 docdir
774 oldincludedir
775 includedir
776 localstatedir
777 sharedstatedir
778 sysconfdir
779 datadir
780 datarootdir
781 libexecdir
782 sbindir
783 bindir
784 program_transform_name
785 prefix
786 exec_prefix
787 PACKAGE_URL
788 PACKAGE_BUGREPORT
789 PACKAGE_STRING
790 PACKAGE_VERSION
791 PACKAGE_TARNAME
792 PACKAGE_NAME
793 PATH_SEPARATOR
794 SHELL'
795 ac_subst_files=''
796 ac_user_opts='
797 enable_option_checking
798 enable_dependency_tracking
799 enable_shared
800 enable_static
801 with_pic
802 enable_fast_install
803 with_gnu_ld
804 with_sysroot
805 enable_libtool_lock
806 enable_rpath
807 with_libiconv_prefix
808 enable_silent_rules
809 enable_quvi
810 enable_examples
811 enable_tests
812 enable_verbose_tests
813 enable_nsfw
814 enable_todo
815 enable_nlfy
816 with_man
817 with_doc
819 ac_precious_vars='build_alias
820 host_alias
821 target_alias
823 CFLAGS
824 LDFLAGS
825 LIBS
826 CPPFLAGS
829 CXXFLAGS
831 CXXCPP
832 PKG_CONFIG
833 PKG_CONFIG_PATH
834 PKG_CONFIG_LIBDIR
835 libcurl_CFLAGS
836 libcurl_LIBS
837 liblua_CFLAGS
838 liblua_LIBS'
841 # Initialize some variables set by options.
842 ac_init_help=
843 ac_init_version=false
844 ac_unrecognized_opts=
845 ac_unrecognized_sep=
846 # The variables have the same names as the options, with
847 # dashes changed to underlines.
848 cache_file=/dev/null
849 exec_prefix=NONE
850 no_create=
851 no_recursion=
852 prefix=NONE
853 program_prefix=NONE
854 program_suffix=NONE
855 program_transform_name=s,x,x,
856 silent=
857 site=
858 srcdir=
859 verbose=
860 x_includes=NONE
861 x_libraries=NONE
863 # Installation directory options.
864 # These are left unexpanded so users can "make install exec_prefix=/foo"
865 # and all the variables that are supposed to be based on exec_prefix
866 # by default will actually change.
867 # Use braces instead of parens because sh, perl, etc. also accept them.
868 # (The list follows the same order as the GNU Coding Standards.)
869 bindir='${exec_prefix}/bin'
870 sbindir='${exec_prefix}/sbin'
871 libexecdir='${exec_prefix}/libexec'
872 datarootdir='${prefix}/share'
873 datadir='${datarootdir}'
874 sysconfdir='${prefix}/etc'
875 sharedstatedir='${prefix}/com'
876 localstatedir='${prefix}/var'
877 includedir='${prefix}/include'
878 oldincludedir='/usr/include'
879 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
880 infodir='${datarootdir}/info'
881 htmldir='${docdir}'
882 dvidir='${docdir}'
883 pdfdir='${docdir}'
884 psdir='${docdir}'
885 libdir='${exec_prefix}/lib'
886 localedir='${datarootdir}/locale'
887 mandir='${datarootdir}/man'
889 ac_prev=
890 ac_dashdash=
891 for ac_option
893 # If the previous option needs an argument, assign it.
894 if test -n "$ac_prev"; then
895 eval $ac_prev=\$ac_option
896 ac_prev=
897 continue
900 case $ac_option in
901 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
902 *=) ac_optarg= ;;
903 *) ac_optarg=yes ;;
904 esac
906 # Accept the important Cygnus configure options, so we can diagnose typos.
908 case $ac_dashdash$ac_option in
910 ac_dashdash=yes ;;
912 -bindir | --bindir | --bindi | --bind | --bin | --bi)
913 ac_prev=bindir ;;
914 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
915 bindir=$ac_optarg ;;
917 -build | --build | --buil | --bui | --bu)
918 ac_prev=build_alias ;;
919 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
920 build_alias=$ac_optarg ;;
922 -cache-file | --cache-file | --cache-fil | --cache-fi \
923 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
924 ac_prev=cache_file ;;
925 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
926 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
927 cache_file=$ac_optarg ;;
929 --config-cache | -C)
930 cache_file=config.cache ;;
932 -datadir | --datadir | --datadi | --datad)
933 ac_prev=datadir ;;
934 -datadir=* | --datadir=* | --datadi=* | --datad=*)
935 datadir=$ac_optarg ;;
937 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
938 | --dataroo | --dataro | --datar)
939 ac_prev=datarootdir ;;
940 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
941 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
942 datarootdir=$ac_optarg ;;
944 -disable-* | --disable-*)
945 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
946 # Reject names that are not valid shell variable names.
947 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
948 as_fn_error $? "invalid feature name: $ac_useropt"
949 ac_useropt_orig=$ac_useropt
950 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
951 case $ac_user_opts in
953 "enable_$ac_useropt"
954 "*) ;;
955 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
956 ac_unrecognized_sep=', ';;
957 esac
958 eval enable_$ac_useropt=no ;;
960 -docdir | --docdir | --docdi | --doc | --do)
961 ac_prev=docdir ;;
962 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
963 docdir=$ac_optarg ;;
965 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
966 ac_prev=dvidir ;;
967 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
968 dvidir=$ac_optarg ;;
970 -enable-* | --enable-*)
971 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
972 # Reject names that are not valid shell variable names.
973 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
974 as_fn_error $? "invalid feature name: $ac_useropt"
975 ac_useropt_orig=$ac_useropt
976 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
977 case $ac_user_opts in
979 "enable_$ac_useropt"
980 "*) ;;
981 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
982 ac_unrecognized_sep=', ';;
983 esac
984 eval enable_$ac_useropt=\$ac_optarg ;;
986 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
987 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
988 | --exec | --exe | --ex)
989 ac_prev=exec_prefix ;;
990 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
991 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
992 | --exec=* | --exe=* | --ex=*)
993 exec_prefix=$ac_optarg ;;
995 -gas | --gas | --ga | --g)
996 # Obsolete; use --with-gas.
997 with_gas=yes ;;
999 -help | --help | --hel | --he | -h)
1000 ac_init_help=long ;;
1001 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1002 ac_init_help=recursive ;;
1003 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1004 ac_init_help=short ;;
1006 -host | --host | --hos | --ho)
1007 ac_prev=host_alias ;;
1008 -host=* | --host=* | --hos=* | --ho=*)
1009 host_alias=$ac_optarg ;;
1011 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1012 ac_prev=htmldir ;;
1013 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1014 | --ht=*)
1015 htmldir=$ac_optarg ;;
1017 -includedir | --includedir | --includedi | --included | --include \
1018 | --includ | --inclu | --incl | --inc)
1019 ac_prev=includedir ;;
1020 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1021 | --includ=* | --inclu=* | --incl=* | --inc=*)
1022 includedir=$ac_optarg ;;
1024 -infodir | --infodir | --infodi | --infod | --info | --inf)
1025 ac_prev=infodir ;;
1026 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1027 infodir=$ac_optarg ;;
1029 -libdir | --libdir | --libdi | --libd)
1030 ac_prev=libdir ;;
1031 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1032 libdir=$ac_optarg ;;
1034 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1035 | --libexe | --libex | --libe)
1036 ac_prev=libexecdir ;;
1037 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1038 | --libexe=* | --libex=* | --libe=*)
1039 libexecdir=$ac_optarg ;;
1041 -localedir | --localedir | --localedi | --localed | --locale)
1042 ac_prev=localedir ;;
1043 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1044 localedir=$ac_optarg ;;
1046 -localstatedir | --localstatedir | --localstatedi | --localstated \
1047 | --localstate | --localstat | --localsta | --localst | --locals)
1048 ac_prev=localstatedir ;;
1049 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1050 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1051 localstatedir=$ac_optarg ;;
1053 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1054 ac_prev=mandir ;;
1055 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1056 mandir=$ac_optarg ;;
1058 -nfp | --nfp | --nf)
1059 # Obsolete; use --without-fp.
1060 with_fp=no ;;
1062 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1063 | --no-cr | --no-c | -n)
1064 no_create=yes ;;
1066 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1067 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1068 no_recursion=yes ;;
1070 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1071 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1072 | --oldin | --oldi | --old | --ol | --o)
1073 ac_prev=oldincludedir ;;
1074 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1075 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1076 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1077 oldincludedir=$ac_optarg ;;
1079 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1080 ac_prev=prefix ;;
1081 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1082 prefix=$ac_optarg ;;
1084 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1085 | --program-pre | --program-pr | --program-p)
1086 ac_prev=program_prefix ;;
1087 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1088 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1089 program_prefix=$ac_optarg ;;
1091 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1092 | --program-suf | --program-su | --program-s)
1093 ac_prev=program_suffix ;;
1094 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1095 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1096 program_suffix=$ac_optarg ;;
1098 -program-transform-name | --program-transform-name \
1099 | --program-transform-nam | --program-transform-na \
1100 | --program-transform-n | --program-transform- \
1101 | --program-transform | --program-transfor \
1102 | --program-transfo | --program-transf \
1103 | --program-trans | --program-tran \
1104 | --progr-tra | --program-tr | --program-t)
1105 ac_prev=program_transform_name ;;
1106 -program-transform-name=* | --program-transform-name=* \
1107 | --program-transform-nam=* | --program-transform-na=* \
1108 | --program-transform-n=* | --program-transform-=* \
1109 | --program-transform=* | --program-transfor=* \
1110 | --program-transfo=* | --program-transf=* \
1111 | --program-trans=* | --program-tran=* \
1112 | --progr-tra=* | --program-tr=* | --program-t=*)
1113 program_transform_name=$ac_optarg ;;
1115 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1116 ac_prev=pdfdir ;;
1117 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1118 pdfdir=$ac_optarg ;;
1120 -psdir | --psdir | --psdi | --psd | --ps)
1121 ac_prev=psdir ;;
1122 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1123 psdir=$ac_optarg ;;
1125 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1126 | -silent | --silent | --silen | --sile | --sil)
1127 silent=yes ;;
1129 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1130 ac_prev=sbindir ;;
1131 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1132 | --sbi=* | --sb=*)
1133 sbindir=$ac_optarg ;;
1135 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1136 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1137 | --sharedst | --shareds | --shared | --share | --shar \
1138 | --sha | --sh)
1139 ac_prev=sharedstatedir ;;
1140 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1141 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1142 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1143 | --sha=* | --sh=*)
1144 sharedstatedir=$ac_optarg ;;
1146 -site | --site | --sit)
1147 ac_prev=site ;;
1148 -site=* | --site=* | --sit=*)
1149 site=$ac_optarg ;;
1151 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1152 ac_prev=srcdir ;;
1153 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1154 srcdir=$ac_optarg ;;
1156 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1157 | --syscon | --sysco | --sysc | --sys | --sy)
1158 ac_prev=sysconfdir ;;
1159 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1160 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1161 sysconfdir=$ac_optarg ;;
1163 -target | --target | --targe | --targ | --tar | --ta | --t)
1164 ac_prev=target_alias ;;
1165 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1166 target_alias=$ac_optarg ;;
1168 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1169 verbose=yes ;;
1171 -version | --version | --versio | --versi | --vers | -V)
1172 ac_init_version=: ;;
1174 -with-* | --with-*)
1175 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1176 # Reject names that are not valid shell variable names.
1177 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1178 as_fn_error $? "invalid package name: $ac_useropt"
1179 ac_useropt_orig=$ac_useropt
1180 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1181 case $ac_user_opts in
1183 "with_$ac_useropt"
1184 "*) ;;
1185 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1186 ac_unrecognized_sep=', ';;
1187 esac
1188 eval with_$ac_useropt=\$ac_optarg ;;
1190 -without-* | --without-*)
1191 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1192 # Reject names that are not valid shell variable names.
1193 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1194 as_fn_error $? "invalid package name: $ac_useropt"
1195 ac_useropt_orig=$ac_useropt
1196 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1197 case $ac_user_opts in
1199 "with_$ac_useropt"
1200 "*) ;;
1201 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1202 ac_unrecognized_sep=', ';;
1203 esac
1204 eval with_$ac_useropt=no ;;
1206 --x)
1207 # Obsolete; use --with-x.
1208 with_x=yes ;;
1210 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1211 | --x-incl | --x-inc | --x-in | --x-i)
1212 ac_prev=x_includes ;;
1213 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1214 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1215 x_includes=$ac_optarg ;;
1217 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1218 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1219 ac_prev=x_libraries ;;
1220 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1221 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1222 x_libraries=$ac_optarg ;;
1224 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1225 Try \`$0 --help' for more information"
1228 *=*)
1229 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1230 # Reject names that are not valid shell variable names.
1231 case $ac_envvar in #(
1232 '' | [0-9]* | *[!_$as_cr_alnum]* )
1233 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1234 esac
1235 eval $ac_envvar=\$ac_optarg
1236 export $ac_envvar ;;
1239 # FIXME: should be removed in autoconf 3.0.
1240 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1241 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1242 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1243 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1246 esac
1247 done
1249 if test -n "$ac_prev"; then
1250 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1251 as_fn_error $? "missing argument to $ac_option"
1254 if test -n "$ac_unrecognized_opts"; then
1255 case $enable_option_checking in
1256 no) ;;
1257 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1258 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1259 esac
1262 # Check all directory arguments for consistency.
1263 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1264 datadir sysconfdir sharedstatedir localstatedir includedir \
1265 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1266 libdir localedir mandir
1268 eval ac_val=\$$ac_var
1269 # Remove trailing slashes.
1270 case $ac_val in
1271 */ )
1272 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1273 eval $ac_var=\$ac_val;;
1274 esac
1275 # Be sure to have absolute directory names.
1276 case $ac_val in
1277 [\\/$]* | ?:[\\/]* ) continue;;
1278 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1279 esac
1280 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1281 done
1283 # There might be people who depend on the old broken behavior: `$host'
1284 # used to hold the argument of --host etc.
1285 # FIXME: To remove some day.
1286 build=$build_alias
1287 host=$host_alias
1288 target=$target_alias
1290 # FIXME: To remove some day.
1291 if test "x$host_alias" != x; then
1292 if test "x$build_alias" = x; then
1293 cross_compiling=maybe
1294 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1295 If a cross compiler is detected then cross compile mode will be used" >&2
1296 elif test "x$build_alias" != "x$host_alias"; then
1297 cross_compiling=yes
1301 ac_tool_prefix=
1302 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1304 test "$silent" = yes && exec 6>/dev/null
1307 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1308 ac_ls_di=`ls -di .` &&
1309 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1310 as_fn_error $? "working directory cannot be determined"
1311 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1312 as_fn_error $? "pwd does not report name of working directory"
1315 # Find the source files, if location was not specified.
1316 if test -z "$srcdir"; then
1317 ac_srcdir_defaulted=yes
1318 # Try the directory containing this script, then the parent directory.
1319 ac_confdir=`$as_dirname -- "$as_myself" ||
1320 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1321 X"$as_myself" : 'X\(//\)[^/]' \| \
1322 X"$as_myself" : 'X\(//\)$' \| \
1323 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1324 $as_echo X"$as_myself" |
1325 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1326 s//\1/
1329 /^X\(\/\/\)[^/].*/{
1330 s//\1/
1333 /^X\(\/\/\)$/{
1334 s//\1/
1337 /^X\(\/\).*/{
1338 s//\1/
1341 s/.*/./; q'`
1342 srcdir=$ac_confdir
1343 if test ! -r "$srcdir/$ac_unique_file"; then
1344 srcdir=..
1346 else
1347 ac_srcdir_defaulted=no
1349 if test ! -r "$srcdir/$ac_unique_file"; then
1350 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1351 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1353 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1354 ac_abs_confdir=`(
1355 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1356 pwd)`
1357 # When building in place, set srcdir=.
1358 if test "$ac_abs_confdir" = "$ac_pwd"; then
1359 srcdir=.
1361 # Remove unnecessary trailing slashes from srcdir.
1362 # Double slashes in file names in object file debugging info
1363 # mess up M-x gdb in Emacs.
1364 case $srcdir in
1365 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1366 esac
1367 for ac_var in $ac_precious_vars; do
1368 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1369 eval ac_env_${ac_var}_value=\$${ac_var}
1370 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1371 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1372 done
1375 # Report the --help message.
1377 if test "$ac_init_help" = "long"; then
1378 # Omit some internal or obsolete options to make the list less imposing.
1379 # This message is too long to be a string in the A/UX 3.1 sh.
1380 cat <<_ACEOF
1381 \`configure' configures quvi 0.2.15 to adapt to many kinds of systems.
1383 Usage: $0 [OPTION]... [VAR=VALUE]...
1385 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1386 VAR=VALUE. See below for descriptions of some of the useful variables.
1388 Defaults for the options are specified in brackets.
1390 Configuration:
1391 -h, --help display this help and exit
1392 --help=short display options specific to this package
1393 --help=recursive display the short help of all the included packages
1394 -V, --version display version information and exit
1395 -q, --quiet, --silent do not print \`checking ...' messages
1396 --cache-file=FILE cache test results in FILE [disabled]
1397 -C, --config-cache alias for \`--cache-file=config.cache'
1398 -n, --no-create do not create output files
1399 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1401 Installation directories:
1402 --prefix=PREFIX install architecture-independent files in PREFIX
1403 [$ac_default_prefix]
1404 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1405 [PREFIX]
1407 By default, \`make install' will install all the files in
1408 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1409 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1410 for instance \`--prefix=\$HOME'.
1412 For better control, use the options below.
1414 Fine tuning of the installation directories:
1415 --bindir=DIR user executables [EPREFIX/bin]
1416 --sbindir=DIR system admin executables [EPREFIX/sbin]
1417 --libexecdir=DIR program executables [EPREFIX/libexec]
1418 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1419 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1420 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1421 --libdir=DIR object code libraries [EPREFIX/lib]
1422 --includedir=DIR C header files [PREFIX/include]
1423 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1424 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1425 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1426 --infodir=DIR info documentation [DATAROOTDIR/info]
1427 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1428 --mandir=DIR man documentation [DATAROOTDIR/man]
1429 --docdir=DIR documentation root [DATAROOTDIR/doc/quvi]
1430 --htmldir=DIR html documentation [DOCDIR]
1431 --dvidir=DIR dvi documentation [DOCDIR]
1432 --pdfdir=DIR pdf documentation [DOCDIR]
1433 --psdir=DIR ps documentation [DOCDIR]
1434 _ACEOF
1436 cat <<\_ACEOF
1438 Program names:
1439 --program-prefix=PREFIX prepend PREFIX to installed program names
1440 --program-suffix=SUFFIX append SUFFIX to installed program names
1441 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1443 System types:
1444 --build=BUILD configure for building on BUILD [guessed]
1445 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1446 --target=TARGET configure for building compilers for TARGET [HOST]
1447 _ACEOF
1450 if test -n "$ac_init_help"; then
1451 case $ac_init_help in
1452 short | recursive ) echo "Configuration of quvi 0.2.15:";;
1453 esac
1454 cat <<\_ACEOF
1456 Optional Features:
1457 --disable-option-checking ignore unrecognized --enable/--with options
1458 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1459 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1460 --disable-dependency-tracking speeds up one-time build
1461 --enable-dependency-tracking do not reject slow dependency extractors
1462 --enable-shared[=PKGS] build shared libraries [default=yes]
1463 --enable-static[=PKGS] build static libraries [default=yes]
1464 --enable-fast-install[=PKGS]
1465 optimize for fast installation [default=yes]
1466 --disable-libtool-lock avoid locking (might break parallel builds)
1467 --disable-rpath do not hardcode runtime library paths
1468 --enable-silent-rules less verbose build output (undo: `make V=1')
1469 --disable-silent-rules verbose build output (undo: `make V=0')
1470 --enable-quvi build quvi command line tool[default=yes]
1471 --enable-examples build examples [default=no]
1472 --enable-tests enable tests [default=no]
1473 --enable-verbose-tests enable verbose tests [default=no]
1474 --enable-nsfw build with adult website support [default=no]
1475 --enable-todo with website scripts marked as "todo" [default=no]
1476 --enable-nlfy test scripts marked as "nlfy" [default=no]
1478 Optional Packages:
1479 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1480 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1481 --with-pic try to use only PIC/non-PIC objects [default=use
1482 both]
1483 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1484 --with-sysroot=DIR Search for dependent libraries within DIR
1485 (or the compiler's sysroot if not specified).
1486 --with-gnu-ld assume the C compiler uses GNU ld default=no
1487 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1488 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1489 --with-man install manual pages [default=yes]
1490 --with-doc install documentation [default=yes]
1492 Some influential environment variables:
1493 CC C compiler command
1494 CFLAGS C compiler flags
1495 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1496 nonstandard directory <lib dir>
1497 LIBS libraries to pass to the linker, e.g. -l<library>
1498 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1499 you have headers in a nonstandard directory <include dir>
1500 CPP C preprocessor
1501 CXX C++ compiler command
1502 CXXFLAGS C++ compiler flags
1503 CXXCPP C++ preprocessor
1504 PKG_CONFIG path to pkg-config utility
1505 PKG_CONFIG_PATH
1506 directories to add to pkg-config's search path
1507 PKG_CONFIG_LIBDIR
1508 path overriding pkg-config's built-in search path
1509 libcurl_CFLAGS
1510 C compiler flags for libcurl, overriding pkg-config
1511 libcurl_LIBS
1512 linker flags for libcurl, overriding pkg-config
1513 liblua_CFLAGS
1514 C compiler flags for liblua, overriding pkg-config
1515 liblua_LIBS linker flags for liblua, overriding pkg-config
1517 Use these variables to override the choices made by `configure' or to help
1518 it to find libraries and programs with nonstandard names/locations.
1520 Report bugs to <http://sourceforge.net/apps/trac/quvi>.
1521 quvi home page: <http://quvi.sourceforge.net/>.
1522 _ACEOF
1523 ac_status=$?
1526 if test "$ac_init_help" = "recursive"; then
1527 # If there are subdirs, report their specific --help.
1528 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1529 test -d "$ac_dir" ||
1530 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1531 continue
1532 ac_builddir=.
1534 case "$ac_dir" in
1535 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1537 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1538 # A ".." for each directory in $ac_dir_suffix.
1539 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1540 case $ac_top_builddir_sub in
1541 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1542 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1543 esac ;;
1544 esac
1545 ac_abs_top_builddir=$ac_pwd
1546 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1547 # for backward compatibility:
1548 ac_top_builddir=$ac_top_build_prefix
1550 case $srcdir in
1551 .) # We are building in place.
1552 ac_srcdir=.
1553 ac_top_srcdir=$ac_top_builddir_sub
1554 ac_abs_top_srcdir=$ac_pwd ;;
1555 [\\/]* | ?:[\\/]* ) # Absolute name.
1556 ac_srcdir=$srcdir$ac_dir_suffix;
1557 ac_top_srcdir=$srcdir
1558 ac_abs_top_srcdir=$srcdir ;;
1559 *) # Relative name.
1560 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1561 ac_top_srcdir=$ac_top_build_prefix$srcdir
1562 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1563 esac
1564 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1566 cd "$ac_dir" || { ac_status=$?; continue; }
1567 # Check for guested configure.
1568 if test -f "$ac_srcdir/configure.gnu"; then
1569 echo &&
1570 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1571 elif test -f "$ac_srcdir/configure"; then
1572 echo &&
1573 $SHELL "$ac_srcdir/configure" --help=recursive
1574 else
1575 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1576 fi || ac_status=$?
1577 cd "$ac_pwd" || { ac_status=$?; break; }
1578 done
1581 test -n "$ac_init_help" && exit $ac_status
1582 if $ac_init_version; then
1583 cat <<\_ACEOF
1584 quvi configure 0.2.15
1585 generated by GNU Autoconf 2.68
1587 Copyright (C) 2010 Free Software Foundation, Inc.
1588 This configure script is free software; the Free Software Foundation
1589 gives unlimited permission to copy, distribute and modify it.
1590 _ACEOF
1591 exit
1594 ## ------------------------ ##
1595 ## Autoconf initialization. ##
1596 ## ------------------------ ##
1598 # ac_fn_c_try_compile LINENO
1599 # --------------------------
1600 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1601 ac_fn_c_try_compile ()
1603 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1604 rm -f conftest.$ac_objext
1605 if { { ac_try="$ac_compile"
1606 case "(($ac_try" in
1607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1608 *) ac_try_echo=$ac_try;;
1609 esac
1610 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1611 $as_echo "$ac_try_echo"; } >&5
1612 (eval "$ac_compile") 2>conftest.err
1613 ac_status=$?
1614 if test -s conftest.err; then
1615 grep -v '^ *+' conftest.err >conftest.er1
1616 cat conftest.er1 >&5
1617 mv -f conftest.er1 conftest.err
1619 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1620 test $ac_status = 0; } && {
1621 test -z "$ac_c_werror_flag" ||
1622 test ! -s conftest.err
1623 } && test -s conftest.$ac_objext; then :
1624 ac_retval=0
1625 else
1626 $as_echo "$as_me: failed program was:" >&5
1627 sed 's/^/| /' conftest.$ac_ext >&5
1629 ac_retval=1
1631 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1632 as_fn_set_status $ac_retval
1634 } # ac_fn_c_try_compile
1636 # ac_fn_c_try_cpp LINENO
1637 # ----------------------
1638 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1639 ac_fn_c_try_cpp ()
1641 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1642 if { { ac_try="$ac_cpp conftest.$ac_ext"
1643 case "(($ac_try" in
1644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1645 *) ac_try_echo=$ac_try;;
1646 esac
1647 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1648 $as_echo "$ac_try_echo"; } >&5
1649 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1650 ac_status=$?
1651 if test -s conftest.err; then
1652 grep -v '^ *+' conftest.err >conftest.er1
1653 cat conftest.er1 >&5
1654 mv -f conftest.er1 conftest.err
1656 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1657 test $ac_status = 0; } > conftest.i && {
1658 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1659 test ! -s conftest.err
1660 }; then :
1661 ac_retval=0
1662 else
1663 $as_echo "$as_me: failed program was:" >&5
1664 sed 's/^/| /' conftest.$ac_ext >&5
1666 ac_retval=1
1668 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1669 as_fn_set_status $ac_retval
1671 } # ac_fn_c_try_cpp
1673 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1674 # -------------------------------------------------------
1675 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1676 # the include files in INCLUDES and setting the cache variable VAR
1677 # accordingly.
1678 ac_fn_c_check_header_mongrel ()
1680 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1681 if eval \${$3+:} false; then :
1682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1683 $as_echo_n "checking for $2... " >&6; }
1684 if eval \${$3+:} false; then :
1685 $as_echo_n "(cached) " >&6
1687 eval ac_res=\$$3
1688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1689 $as_echo "$ac_res" >&6; }
1690 else
1691 # Is the header compilable?
1692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1693 $as_echo_n "checking $2 usability... " >&6; }
1694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1695 /* end confdefs.h. */
1697 #include <$2>
1698 _ACEOF
1699 if ac_fn_c_try_compile "$LINENO"; then :
1700 ac_header_compiler=yes
1701 else
1702 ac_header_compiler=no
1704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1706 $as_echo "$ac_header_compiler" >&6; }
1708 # Is the header present?
1709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1710 $as_echo_n "checking $2 presence... " >&6; }
1711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1712 /* end confdefs.h. */
1713 #include <$2>
1714 _ACEOF
1715 if ac_fn_c_try_cpp "$LINENO"; then :
1716 ac_header_preproc=yes
1717 else
1718 ac_header_preproc=no
1720 rm -f conftest.err conftest.i conftest.$ac_ext
1721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1722 $as_echo "$ac_header_preproc" >&6; }
1724 # So? What about this header?
1725 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1726 yes:no: )
1727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1728 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1730 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1732 no:yes:* )
1733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1734 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1736 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1738 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1740 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1742 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1743 ( $as_echo "## ---------------------------------------------------- ##
1744 ## Report this to http://sourceforge.net/apps/trac/quvi ##
1745 ## ---------------------------------------------------- ##"
1746 ) | sed "s/^/$as_me: WARNING: /" >&2
1748 esac
1749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1750 $as_echo_n "checking for $2... " >&6; }
1751 if eval \${$3+:} false; then :
1752 $as_echo_n "(cached) " >&6
1753 else
1754 eval "$3=\$ac_header_compiler"
1756 eval ac_res=\$$3
1757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1758 $as_echo "$ac_res" >&6; }
1760 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1762 } # ac_fn_c_check_header_mongrel
1764 # ac_fn_c_try_run LINENO
1765 # ----------------------
1766 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1767 # that executables *can* be run.
1768 ac_fn_c_try_run ()
1770 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1771 if { { ac_try="$ac_link"
1772 case "(($ac_try" in
1773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1774 *) ac_try_echo=$ac_try;;
1775 esac
1776 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1777 $as_echo "$ac_try_echo"; } >&5
1778 (eval "$ac_link") 2>&5
1779 ac_status=$?
1780 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1781 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1782 { { case "(($ac_try" in
1783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1784 *) ac_try_echo=$ac_try;;
1785 esac
1786 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1787 $as_echo "$ac_try_echo"; } >&5
1788 (eval "$ac_try") 2>&5
1789 ac_status=$?
1790 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1791 test $ac_status = 0; }; }; then :
1792 ac_retval=0
1793 else
1794 $as_echo "$as_me: program exited with status $ac_status" >&5
1795 $as_echo "$as_me: failed program was:" >&5
1796 sed 's/^/| /' conftest.$ac_ext >&5
1798 ac_retval=$ac_status
1800 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1801 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1802 as_fn_set_status $ac_retval
1804 } # ac_fn_c_try_run
1806 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1807 # -------------------------------------------------------
1808 # Tests whether HEADER exists and can be compiled using the include files in
1809 # INCLUDES, setting the cache variable VAR accordingly.
1810 ac_fn_c_check_header_compile ()
1812 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1814 $as_echo_n "checking for $2... " >&6; }
1815 if eval \${$3+:} false; then :
1816 $as_echo_n "(cached) " >&6
1817 else
1818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1819 /* end confdefs.h. */
1821 #include <$2>
1822 _ACEOF
1823 if ac_fn_c_try_compile "$LINENO"; then :
1824 eval "$3=yes"
1825 else
1826 eval "$3=no"
1828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1830 eval ac_res=\$$3
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1832 $as_echo "$ac_res" >&6; }
1833 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1835 } # ac_fn_c_check_header_compile
1837 # ac_fn_c_try_link LINENO
1838 # -----------------------
1839 # Try to link conftest.$ac_ext, and return whether this succeeded.
1840 ac_fn_c_try_link ()
1842 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1843 rm -f conftest.$ac_objext conftest$ac_exeext
1844 if { { ac_try="$ac_link"
1845 case "(($ac_try" in
1846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1847 *) ac_try_echo=$ac_try;;
1848 esac
1849 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1850 $as_echo "$ac_try_echo"; } >&5
1851 (eval "$ac_link") 2>conftest.err
1852 ac_status=$?
1853 if test -s conftest.err; then
1854 grep -v '^ *+' conftest.err >conftest.er1
1855 cat conftest.er1 >&5
1856 mv -f conftest.er1 conftest.err
1858 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1859 test $ac_status = 0; } && {
1860 test -z "$ac_c_werror_flag" ||
1861 test ! -s conftest.err
1862 } && test -s conftest$ac_exeext && {
1863 test "$cross_compiling" = yes ||
1864 $as_test_x conftest$ac_exeext
1865 }; then :
1866 ac_retval=0
1867 else
1868 $as_echo "$as_me: failed program was:" >&5
1869 sed 's/^/| /' conftest.$ac_ext >&5
1871 ac_retval=1
1873 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1874 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1875 # interfere with the next link command; also delete a directory that is
1876 # left behind by Apple's compiler. We do this before executing the actions.
1877 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1878 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1879 as_fn_set_status $ac_retval
1881 } # ac_fn_c_try_link
1883 # ac_fn_c_check_func LINENO FUNC VAR
1884 # ----------------------------------
1885 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1886 ac_fn_c_check_func ()
1888 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1890 $as_echo_n "checking for $2... " >&6; }
1891 if eval \${$3+:} false; then :
1892 $as_echo_n "(cached) " >&6
1893 else
1894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1895 /* end confdefs.h. */
1896 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1897 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1898 #define $2 innocuous_$2
1900 /* System header to define __stub macros and hopefully few prototypes,
1901 which can conflict with char $2 (); below.
1902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1903 <limits.h> exists even on freestanding compilers. */
1905 #ifdef __STDC__
1906 # include <limits.h>
1907 #else
1908 # include <assert.h>
1909 #endif
1911 #undef $2
1913 /* Override any GCC internal prototype to avoid an error.
1914 Use char because int might match the return type of a GCC
1915 builtin and then its argument prototype would still apply. */
1916 #ifdef __cplusplus
1917 extern "C"
1918 #endif
1919 char $2 ();
1920 /* The GNU C library defines this for functions which it implements
1921 to always fail with ENOSYS. Some functions are actually named
1922 something starting with __ and the normal name is an alias. */
1923 #if defined __stub_$2 || defined __stub___$2
1924 choke me
1925 #endif
1928 main ()
1930 return $2 ();
1932 return 0;
1934 _ACEOF
1935 if ac_fn_c_try_link "$LINENO"; then :
1936 eval "$3=yes"
1937 else
1938 eval "$3=no"
1940 rm -f core conftest.err conftest.$ac_objext \
1941 conftest$ac_exeext conftest.$ac_ext
1943 eval ac_res=\$$3
1944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1945 $as_echo "$ac_res" >&6; }
1946 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1948 } # ac_fn_c_check_func
1950 # ac_fn_cxx_try_compile LINENO
1951 # ----------------------------
1952 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1953 ac_fn_cxx_try_compile ()
1955 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1956 rm -f conftest.$ac_objext
1957 if { { ac_try="$ac_compile"
1958 case "(($ac_try" in
1959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1960 *) ac_try_echo=$ac_try;;
1961 esac
1962 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1963 $as_echo "$ac_try_echo"; } >&5
1964 (eval "$ac_compile") 2>conftest.err
1965 ac_status=$?
1966 if test -s conftest.err; then
1967 grep -v '^ *+' conftest.err >conftest.er1
1968 cat conftest.er1 >&5
1969 mv -f conftest.er1 conftest.err
1971 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1972 test $ac_status = 0; } && {
1973 test -z "$ac_cxx_werror_flag" ||
1974 test ! -s conftest.err
1975 } && test -s conftest.$ac_objext; then :
1976 ac_retval=0
1977 else
1978 $as_echo "$as_me: failed program was:" >&5
1979 sed 's/^/| /' conftest.$ac_ext >&5
1981 ac_retval=1
1983 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1984 as_fn_set_status $ac_retval
1986 } # ac_fn_cxx_try_compile
1988 # ac_fn_cxx_try_cpp LINENO
1989 # ------------------------
1990 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1991 ac_fn_cxx_try_cpp ()
1993 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1994 if { { ac_try="$ac_cpp conftest.$ac_ext"
1995 case "(($ac_try" in
1996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1997 *) ac_try_echo=$ac_try;;
1998 esac
1999 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2000 $as_echo "$ac_try_echo"; } >&5
2001 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2002 ac_status=$?
2003 if test -s conftest.err; then
2004 grep -v '^ *+' conftest.err >conftest.er1
2005 cat conftest.er1 >&5
2006 mv -f conftest.er1 conftest.err
2008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2009 test $ac_status = 0; } > conftest.i && {
2010 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2011 test ! -s conftest.err
2012 }; then :
2013 ac_retval=0
2014 else
2015 $as_echo "$as_me: failed program was:" >&5
2016 sed 's/^/| /' conftest.$ac_ext >&5
2018 ac_retval=1
2020 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2021 as_fn_set_status $ac_retval
2023 } # ac_fn_cxx_try_cpp
2025 # ac_fn_cxx_try_link LINENO
2026 # -------------------------
2027 # Try to link conftest.$ac_ext, and return whether this succeeded.
2028 ac_fn_cxx_try_link ()
2030 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2031 rm -f conftest.$ac_objext conftest$ac_exeext
2032 if { { ac_try="$ac_link"
2033 case "(($ac_try" in
2034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2035 *) ac_try_echo=$ac_try;;
2036 esac
2037 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2038 $as_echo "$ac_try_echo"; } >&5
2039 (eval "$ac_link") 2>conftest.err
2040 ac_status=$?
2041 if test -s conftest.err; then
2042 grep -v '^ *+' conftest.err >conftest.er1
2043 cat conftest.er1 >&5
2044 mv -f conftest.er1 conftest.err
2046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2047 test $ac_status = 0; } && {
2048 test -z "$ac_cxx_werror_flag" ||
2049 test ! -s conftest.err
2050 } && test -s conftest$ac_exeext && {
2051 test "$cross_compiling" = yes ||
2052 $as_test_x conftest$ac_exeext
2053 }; then :
2054 ac_retval=0
2055 else
2056 $as_echo "$as_me: failed program was:" >&5
2057 sed 's/^/| /' conftest.$ac_ext >&5
2059 ac_retval=1
2061 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2062 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2063 # interfere with the next link command; also delete a directory that is
2064 # left behind by Apple's compiler. We do this before executing the actions.
2065 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2066 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2067 as_fn_set_status $ac_retval
2069 } # ac_fn_cxx_try_link
2071 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2072 # -------------------------------------------
2073 # Tests whether TYPE exists after having included INCLUDES, setting cache
2074 # variable VAR accordingly.
2075 ac_fn_c_check_type ()
2077 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2079 $as_echo_n "checking for $2... " >&6; }
2080 if eval \${$3+:} false; then :
2081 $as_echo_n "(cached) " >&6
2082 else
2083 eval "$3=no"
2084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2085 /* end confdefs.h. */
2088 main ()
2090 if (sizeof ($2))
2091 return 0;
2093 return 0;
2095 _ACEOF
2096 if ac_fn_c_try_compile "$LINENO"; then :
2097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2098 /* end confdefs.h. */
2101 main ()
2103 if (sizeof (($2)))
2104 return 0;
2106 return 0;
2108 _ACEOF
2109 if ac_fn_c_try_compile "$LINENO"; then :
2111 else
2112 eval "$3=yes"
2114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2118 eval ac_res=\$$3
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2120 $as_echo "$ac_res" >&6; }
2121 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2123 } # ac_fn_c_check_type
2125 # ac_fn_c_find_uintX_t LINENO BITS VAR
2126 # ------------------------------------
2127 # Finds an unsigned integer type with width BITS, setting cache variable VAR
2128 # accordingly.
2129 ac_fn_c_find_uintX_t ()
2131 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
2133 $as_echo_n "checking for uint$2_t... " >&6; }
2134 if eval \${$3+:} false; then :
2135 $as_echo_n "(cached) " >&6
2136 else
2137 eval "$3=no"
2138 # Order is important - never check a type that is potentially smaller
2139 # than half of the expected target width.
2140 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
2141 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
2142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2143 /* end confdefs.h. */
2144 $ac_includes_default
2146 main ()
2148 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
2149 test_array [0] = 0
2152 return 0;
2154 _ACEOF
2155 if ac_fn_c_try_compile "$LINENO"; then :
2156 case $ac_type in #(
2157 uint$2_t) :
2158 eval "$3=yes" ;; #(
2159 *) :
2160 eval "$3=\$ac_type" ;;
2161 esac
2163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2164 if eval test \"x\$"$3"\" = x"no"; then :
2166 else
2167 break
2169 done
2171 eval ac_res=\$$3
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2173 $as_echo "$ac_res" >&6; }
2174 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2176 } # ac_fn_c_find_uintX_t
2177 cat >config.log <<_ACEOF
2178 This file contains any messages produced by compilers while
2179 running configure, to aid debugging if configure makes a mistake.
2181 It was created by quvi $as_me 0.2.15, which was
2182 generated by GNU Autoconf 2.68. Invocation command line was
2184 $ $0 $@
2186 _ACEOF
2187 exec 5>>config.log
2189 cat <<_ASUNAME
2190 ## --------- ##
2191 ## Platform. ##
2192 ## --------- ##
2194 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2195 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2196 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2197 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2198 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2200 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2201 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2203 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2204 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2205 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2206 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2207 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2208 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2209 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2211 _ASUNAME
2213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2214 for as_dir in $PATH
2216 IFS=$as_save_IFS
2217 test -z "$as_dir" && as_dir=.
2218 $as_echo "PATH: $as_dir"
2219 done
2220 IFS=$as_save_IFS
2222 } >&5
2224 cat >&5 <<_ACEOF
2227 ## ----------- ##
2228 ## Core tests. ##
2229 ## ----------- ##
2231 _ACEOF
2234 # Keep a trace of the command line.
2235 # Strip out --no-create and --no-recursion so they do not pile up.
2236 # Strip out --silent because we don't want to record it for future runs.
2237 # Also quote any args containing shell meta-characters.
2238 # Make two passes to allow for proper duplicate-argument suppression.
2239 ac_configure_args=
2240 ac_configure_args0=
2241 ac_configure_args1=
2242 ac_must_keep_next=false
2243 for ac_pass in 1 2
2245 for ac_arg
2247 case $ac_arg in
2248 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2249 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2250 | -silent | --silent | --silen | --sile | --sil)
2251 continue ;;
2252 *\'*)
2253 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2254 esac
2255 case $ac_pass in
2256 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2258 as_fn_append ac_configure_args1 " '$ac_arg'"
2259 if test $ac_must_keep_next = true; then
2260 ac_must_keep_next=false # Got value, back to normal.
2261 else
2262 case $ac_arg in
2263 *=* | --config-cache | -C | -disable-* | --disable-* \
2264 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2265 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2266 | -with-* | --with-* | -without-* | --without-* | --x)
2267 case "$ac_configure_args0 " in
2268 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2269 esac
2271 -* ) ac_must_keep_next=true ;;
2272 esac
2274 as_fn_append ac_configure_args " '$ac_arg'"
2276 esac
2277 done
2278 done
2279 { ac_configure_args0=; unset ac_configure_args0;}
2280 { ac_configure_args1=; unset ac_configure_args1;}
2282 # When interrupted or exit'd, cleanup temporary files, and complete
2283 # config.log. We remove comments because anyway the quotes in there
2284 # would cause problems or look ugly.
2285 # WARNING: Use '\'' to represent an apostrophe within the trap.
2286 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2287 trap 'exit_status=$?
2288 # Save into config.log some information that might help in debugging.
2290 echo
2292 $as_echo "## ---------------- ##
2293 ## Cache variables. ##
2294 ## ---------------- ##"
2295 echo
2296 # The following way of writing the cache mishandles newlines in values,
2298 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2299 eval ac_val=\$$ac_var
2300 case $ac_val in #(
2301 *${as_nl}*)
2302 case $ac_var in #(
2303 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2304 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2305 esac
2306 case $ac_var in #(
2307 _ | IFS | as_nl) ;; #(
2308 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2309 *) { eval $ac_var=; unset $ac_var;} ;;
2310 esac ;;
2311 esac
2312 done
2313 (set) 2>&1 |
2314 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2315 *${as_nl}ac_space=\ *)
2316 sed -n \
2317 "s/'\''/'\''\\\\'\'''\''/g;
2318 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2319 ;; #(
2321 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2323 esac |
2324 sort
2326 echo
2328 $as_echo "## ----------------- ##
2329 ## Output variables. ##
2330 ## ----------------- ##"
2331 echo
2332 for ac_var in $ac_subst_vars
2334 eval ac_val=\$$ac_var
2335 case $ac_val in
2336 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2337 esac
2338 $as_echo "$ac_var='\''$ac_val'\''"
2339 done | sort
2340 echo
2342 if test -n "$ac_subst_files"; then
2343 $as_echo "## ------------------- ##
2344 ## File substitutions. ##
2345 ## ------------------- ##"
2346 echo
2347 for ac_var in $ac_subst_files
2349 eval ac_val=\$$ac_var
2350 case $ac_val in
2351 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2352 esac
2353 $as_echo "$ac_var='\''$ac_val'\''"
2354 done | sort
2355 echo
2358 if test -s confdefs.h; then
2359 $as_echo "## ----------- ##
2360 ## confdefs.h. ##
2361 ## ----------- ##"
2362 echo
2363 cat confdefs.h
2364 echo
2366 test "$ac_signal" != 0 &&
2367 $as_echo "$as_me: caught signal $ac_signal"
2368 $as_echo "$as_me: exit $exit_status"
2369 } >&5
2370 rm -f core *.core core.conftest.* &&
2371 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2372 exit $exit_status
2374 for ac_signal in 1 2 13 15; do
2375 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2376 done
2377 ac_signal=0
2379 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2380 rm -f -r conftest* confdefs.h
2382 $as_echo "/* confdefs.h */" > confdefs.h
2384 # Predefined preprocessor variables.
2386 cat >>confdefs.h <<_ACEOF
2387 #define PACKAGE_NAME "$PACKAGE_NAME"
2388 _ACEOF
2390 cat >>confdefs.h <<_ACEOF
2391 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2392 _ACEOF
2394 cat >>confdefs.h <<_ACEOF
2395 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2396 _ACEOF
2398 cat >>confdefs.h <<_ACEOF
2399 #define PACKAGE_STRING "$PACKAGE_STRING"
2400 _ACEOF
2402 cat >>confdefs.h <<_ACEOF
2403 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2404 _ACEOF
2406 cat >>confdefs.h <<_ACEOF
2407 #define PACKAGE_URL "$PACKAGE_URL"
2408 _ACEOF
2411 # Let the site file select an alternate cache file if it wants to.
2412 # Prefer an explicitly selected file to automatically selected ones.
2413 ac_site_file1=NONE
2414 ac_site_file2=NONE
2415 if test -n "$CONFIG_SITE"; then
2416 # We do not want a PATH search for config.site.
2417 case $CONFIG_SITE in #((
2418 -*) ac_site_file1=./$CONFIG_SITE;;
2419 */*) ac_site_file1=$CONFIG_SITE;;
2420 *) ac_site_file1=./$CONFIG_SITE;;
2421 esac
2422 elif test "x$prefix" != xNONE; then
2423 ac_site_file1=$prefix/share/config.site
2424 ac_site_file2=$prefix/etc/config.site
2425 else
2426 ac_site_file1=$ac_default_prefix/share/config.site
2427 ac_site_file2=$ac_default_prefix/etc/config.site
2429 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2431 test "x$ac_site_file" = xNONE && continue
2432 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2434 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2435 sed 's/^/| /' "$ac_site_file" >&5
2436 . "$ac_site_file" \
2437 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2438 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2439 as_fn_error $? "failed to load site script $ac_site_file
2440 See \`config.log' for more details" "$LINENO" 5; }
2442 done
2444 if test -r "$cache_file"; then
2445 # Some versions of bash will fail to source /dev/null (special files
2446 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2447 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2449 $as_echo "$as_me: loading cache $cache_file" >&6;}
2450 case $cache_file in
2451 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2452 *) . "./$cache_file";;
2453 esac
2455 else
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2457 $as_echo "$as_me: creating cache $cache_file" >&6;}
2458 >$cache_file
2461 # Check that the precious variables saved in the cache have kept the same
2462 # value.
2463 ac_cache_corrupted=false
2464 for ac_var in $ac_precious_vars; do
2465 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2466 eval ac_new_set=\$ac_env_${ac_var}_set
2467 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2468 eval ac_new_val=\$ac_env_${ac_var}_value
2469 case $ac_old_set,$ac_new_set in
2470 set,)
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2472 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2473 ac_cache_corrupted=: ;;
2474 ,set)
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2476 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2477 ac_cache_corrupted=: ;;
2478 ,);;
2480 if test "x$ac_old_val" != "x$ac_new_val"; then
2481 # differences in whitespace do not lead to failure.
2482 ac_old_val_w=`echo x $ac_old_val`
2483 ac_new_val_w=`echo x $ac_new_val`
2484 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2486 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2487 ac_cache_corrupted=:
2488 else
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2490 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2491 eval $ac_var=\$ac_old_val
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2494 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2496 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2497 fi;;
2498 esac
2499 # Pass precious variables to config.status.
2500 if test "$ac_new_set" = set; then
2501 case $ac_new_val in
2502 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2503 *) ac_arg=$ac_var=$ac_new_val ;;
2504 esac
2505 case " $ac_configure_args " in
2506 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2507 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2508 esac
2510 done
2511 if $ac_cache_corrupted; then
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2513 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2515 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2516 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2518 ## -------------------- ##
2519 ## Main body of script. ##
2520 ## -------------------- ##
2522 ac_ext=c
2523 ac_cpp='$CPP $CPPFLAGS'
2524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2530 # Interface:
2531 QUVI_CURRENT=3
2532 QUVI_REVISION=6
2533 QUVI_AGE=3
2539 ac_config_headers="$ac_config_headers config.h"
2541 ac_aux_dir=
2542 for ac_dir in config.aux "$srcdir"/config.aux; do
2543 if test -f "$ac_dir/install-sh"; then
2544 ac_aux_dir=$ac_dir
2545 ac_install_sh="$ac_aux_dir/install-sh -c"
2546 break
2547 elif test -f "$ac_dir/install.sh"; then
2548 ac_aux_dir=$ac_dir
2549 ac_install_sh="$ac_aux_dir/install.sh -c"
2550 break
2551 elif test -f "$ac_dir/shtool"; then
2552 ac_aux_dir=$ac_dir
2553 ac_install_sh="$ac_aux_dir/shtool install -c"
2554 break
2556 done
2557 if test -z "$ac_aux_dir"; then
2558 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config.aux \"$srcdir\"/config.aux" "$LINENO" 5
2561 # These three variables are undocumented and unsupported,
2562 # and are intended to be withdrawn in a future Autoconf release.
2563 # They can cause serious problems if a builder's source tree is in a directory
2564 # whose full name contains unusual characters.
2565 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2566 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2567 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2572 # Make sure we can run config.sub.
2573 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2574 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2577 $as_echo_n "checking build system type... " >&6; }
2578 if ${ac_cv_build+:} false; then :
2579 $as_echo_n "(cached) " >&6
2580 else
2581 ac_build_alias=$build_alias
2582 test "x$ac_build_alias" = x &&
2583 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2584 test "x$ac_build_alias" = x &&
2585 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2586 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2587 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2591 $as_echo "$ac_cv_build" >&6; }
2592 case $ac_cv_build in
2593 *-*-*) ;;
2594 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2595 esac
2596 build=$ac_cv_build
2597 ac_save_IFS=$IFS; IFS='-'
2598 set x $ac_cv_build
2599 shift
2600 build_cpu=$1
2601 build_vendor=$2
2602 shift; shift
2603 # Remember, the first character of IFS is used to create $*,
2604 # except with old shells:
2605 build_os=$*
2606 IFS=$ac_save_IFS
2607 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2611 $as_echo_n "checking host system type... " >&6; }
2612 if ${ac_cv_host+:} false; then :
2613 $as_echo_n "(cached) " >&6
2614 else
2615 if test "x$host_alias" = x; then
2616 ac_cv_host=$ac_cv_build
2617 else
2618 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2619 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2624 $as_echo "$ac_cv_host" >&6; }
2625 case $ac_cv_host in
2626 *-*-*) ;;
2627 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2628 esac
2629 host=$ac_cv_host
2630 ac_save_IFS=$IFS; IFS='-'
2631 set x $ac_cv_host
2632 shift
2633 host_cpu=$1
2634 host_vendor=$2
2635 shift; shift
2636 # Remember, the first character of IFS is used to create $*,
2637 # except with old shells:
2638 host_os=$*
2639 IFS=$ac_save_IFS
2640 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2644 $as_echo_n "checking target system type... " >&6; }
2645 if ${ac_cv_target+:} false; then :
2646 $as_echo_n "(cached) " >&6
2647 else
2648 if test "x$target_alias" = x; then
2649 ac_cv_target=$ac_cv_host
2650 else
2651 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2652 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2657 $as_echo "$ac_cv_target" >&6; }
2658 case $ac_cv_target in
2659 *-*-*) ;;
2660 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2661 esac
2662 target=$ac_cv_target
2663 ac_save_IFS=$IFS; IFS='-'
2664 set x $ac_cv_target
2665 shift
2666 target_cpu=$1
2667 target_vendor=$2
2668 shift; shift
2669 # Remember, the first character of IFS is used to create $*,
2670 # except with old shells:
2671 target_os=$*
2672 IFS=$ac_save_IFS
2673 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2676 # The aliases save the names the user supplied, while $host etc.
2677 # will get canonicalized.
2678 test -n "$target_alias" &&
2679 test "$program_prefix$program_suffix$program_transform_name" = \
2680 NONENONEs,x,x, &&
2681 program_prefix=${target_alias}-
2683 ac_ext=c
2684 ac_cpp='$CPP $CPPFLAGS'
2685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2688 if test -n "$ac_tool_prefix"; then
2689 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2690 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2692 $as_echo_n "checking for $ac_word... " >&6; }
2693 if ${ac_cv_prog_CC+:} false; then :
2694 $as_echo_n "(cached) " >&6
2695 else
2696 if test -n "$CC"; then
2697 ac_cv_prog_CC="$CC" # Let the user override the test.
2698 else
2699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2700 for as_dir in $PATH
2702 IFS=$as_save_IFS
2703 test -z "$as_dir" && as_dir=.
2704 for ac_exec_ext in '' $ac_executable_extensions; do
2705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2706 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2708 break 2
2710 done
2711 done
2712 IFS=$as_save_IFS
2716 CC=$ac_cv_prog_CC
2717 if test -n "$CC"; then
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2719 $as_echo "$CC" >&6; }
2720 else
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2722 $as_echo "no" >&6; }
2727 if test -z "$ac_cv_prog_CC"; then
2728 ac_ct_CC=$CC
2729 # Extract the first word of "gcc", so it can be a program name with args.
2730 set dummy gcc; ac_word=$2
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2732 $as_echo_n "checking for $ac_word... " >&6; }
2733 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2734 $as_echo_n "(cached) " >&6
2735 else
2736 if test -n "$ac_ct_CC"; then
2737 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2738 else
2739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2740 for as_dir in $PATH
2742 IFS=$as_save_IFS
2743 test -z "$as_dir" && as_dir=.
2744 for ac_exec_ext in '' $ac_executable_extensions; do
2745 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2746 ac_cv_prog_ac_ct_CC="gcc"
2747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2748 break 2
2750 done
2751 done
2752 IFS=$as_save_IFS
2756 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2757 if test -n "$ac_ct_CC"; then
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2759 $as_echo "$ac_ct_CC" >&6; }
2760 else
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2762 $as_echo "no" >&6; }
2765 if test "x$ac_ct_CC" = x; then
2766 CC=""
2767 else
2768 case $cross_compiling:$ac_tool_warned in
2769 yes:)
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2771 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2772 ac_tool_warned=yes ;;
2773 esac
2774 CC=$ac_ct_CC
2776 else
2777 CC="$ac_cv_prog_CC"
2780 if test -z "$CC"; then
2781 if test -n "$ac_tool_prefix"; then
2782 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2783 set dummy ${ac_tool_prefix}cc; ac_word=$2
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2785 $as_echo_n "checking for $ac_word... " >&6; }
2786 if ${ac_cv_prog_CC+:} false; then :
2787 $as_echo_n "(cached) " >&6
2788 else
2789 if test -n "$CC"; then
2790 ac_cv_prog_CC="$CC" # Let the user override the test.
2791 else
2792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2793 for as_dir in $PATH
2795 IFS=$as_save_IFS
2796 test -z "$as_dir" && as_dir=.
2797 for ac_exec_ext in '' $ac_executable_extensions; do
2798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2799 ac_cv_prog_CC="${ac_tool_prefix}cc"
2800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2801 break 2
2803 done
2804 done
2805 IFS=$as_save_IFS
2809 CC=$ac_cv_prog_CC
2810 if test -n "$CC"; then
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2812 $as_echo "$CC" >&6; }
2813 else
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2815 $as_echo "no" >&6; }
2821 if test -z "$CC"; then
2822 # Extract the first word of "cc", so it can be a program name with args.
2823 set dummy cc; ac_word=$2
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2825 $as_echo_n "checking for $ac_word... " >&6; }
2826 if ${ac_cv_prog_CC+:} false; then :
2827 $as_echo_n "(cached) " >&6
2828 else
2829 if test -n "$CC"; then
2830 ac_cv_prog_CC="$CC" # Let the user override the test.
2831 else
2832 ac_prog_rejected=no
2833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2834 for as_dir in $PATH
2836 IFS=$as_save_IFS
2837 test -z "$as_dir" && as_dir=.
2838 for ac_exec_ext in '' $ac_executable_extensions; do
2839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2840 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2841 ac_prog_rejected=yes
2842 continue
2844 ac_cv_prog_CC="cc"
2845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2846 break 2
2848 done
2849 done
2850 IFS=$as_save_IFS
2852 if test $ac_prog_rejected = yes; then
2853 # We found a bogon in the path, so make sure we never use it.
2854 set dummy $ac_cv_prog_CC
2855 shift
2856 if test $# != 0; then
2857 # We chose a different compiler from the bogus one.
2858 # However, it has the same basename, so the bogon will be chosen
2859 # first if we set CC to just the basename; use the full file name.
2860 shift
2861 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2866 CC=$ac_cv_prog_CC
2867 if test -n "$CC"; then
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2869 $as_echo "$CC" >&6; }
2870 else
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2872 $as_echo "no" >&6; }
2877 if test -z "$CC"; then
2878 if test -n "$ac_tool_prefix"; then
2879 for ac_prog in cl.exe
2881 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2882 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2884 $as_echo_n "checking for $ac_word... " >&6; }
2885 if ${ac_cv_prog_CC+:} false; then :
2886 $as_echo_n "(cached) " >&6
2887 else
2888 if test -n "$CC"; then
2889 ac_cv_prog_CC="$CC" # Let the user override the test.
2890 else
2891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2892 for as_dir in $PATH
2894 IFS=$as_save_IFS
2895 test -z "$as_dir" && as_dir=.
2896 for ac_exec_ext in '' $ac_executable_extensions; do
2897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2898 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2900 break 2
2902 done
2903 done
2904 IFS=$as_save_IFS
2908 CC=$ac_cv_prog_CC
2909 if test -n "$CC"; then
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2911 $as_echo "$CC" >&6; }
2912 else
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2914 $as_echo "no" >&6; }
2918 test -n "$CC" && break
2919 done
2921 if test -z "$CC"; then
2922 ac_ct_CC=$CC
2923 for ac_prog in cl.exe
2925 # Extract the first word of "$ac_prog", so it can be a program name with args.
2926 set dummy $ac_prog; ac_word=$2
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2928 $as_echo_n "checking for $ac_word... " >&6; }
2929 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2930 $as_echo_n "(cached) " >&6
2931 else
2932 if test -n "$ac_ct_CC"; then
2933 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2934 else
2935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2936 for as_dir in $PATH
2938 IFS=$as_save_IFS
2939 test -z "$as_dir" && as_dir=.
2940 for ac_exec_ext in '' $ac_executable_extensions; do
2941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2942 ac_cv_prog_ac_ct_CC="$ac_prog"
2943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2944 break 2
2946 done
2947 done
2948 IFS=$as_save_IFS
2952 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2953 if test -n "$ac_ct_CC"; then
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2955 $as_echo "$ac_ct_CC" >&6; }
2956 else
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2958 $as_echo "no" >&6; }
2962 test -n "$ac_ct_CC" && break
2963 done
2965 if test "x$ac_ct_CC" = x; then
2966 CC=""
2967 else
2968 case $cross_compiling:$ac_tool_warned in
2969 yes:)
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2971 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2972 ac_tool_warned=yes ;;
2973 esac
2974 CC=$ac_ct_CC
2981 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2982 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2983 as_fn_error $? "no acceptable C compiler found in \$PATH
2984 See \`config.log' for more details" "$LINENO" 5; }
2986 # Provide some information about the compiler.
2987 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2988 set X $ac_compile
2989 ac_compiler=$2
2990 for ac_option in --version -v -V -qversion; do
2991 { { ac_try="$ac_compiler $ac_option >&5"
2992 case "(($ac_try" in
2993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2994 *) ac_try_echo=$ac_try;;
2995 esac
2996 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2997 $as_echo "$ac_try_echo"; } >&5
2998 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2999 ac_status=$?
3000 if test -s conftest.err; then
3001 sed '10a\
3002 ... rest of stderr output deleted ...
3003 10q' conftest.err >conftest.er1
3004 cat conftest.er1 >&5
3006 rm -f conftest.er1 conftest.err
3007 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3008 test $ac_status = 0; }
3009 done
3011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3012 /* end confdefs.h. */
3015 main ()
3019 return 0;
3021 _ACEOF
3022 ac_clean_files_save=$ac_clean_files
3023 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3024 # Try to create an executable without -o first, disregard a.out.
3025 # It will help us diagnose broken compilers, and finding out an intuition
3026 # of exeext.
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3028 $as_echo_n "checking whether the C compiler works... " >&6; }
3029 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3031 # The possible output files:
3032 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3034 ac_rmfiles=
3035 for ac_file in $ac_files
3037 case $ac_file in
3038 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3039 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3040 esac
3041 done
3042 rm -f $ac_rmfiles
3044 if { { ac_try="$ac_link_default"
3045 case "(($ac_try" in
3046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3047 *) ac_try_echo=$ac_try;;
3048 esac
3049 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3050 $as_echo "$ac_try_echo"; } >&5
3051 (eval "$ac_link_default") 2>&5
3052 ac_status=$?
3053 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3054 test $ac_status = 0; }; then :
3055 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3056 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3057 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3058 # so that the user can short-circuit this test for compilers unknown to
3059 # Autoconf.
3060 for ac_file in $ac_files ''
3062 test -f "$ac_file" || continue
3063 case $ac_file in
3064 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3066 [ab].out )
3067 # We found the default executable, but exeext='' is most
3068 # certainly right.
3069 break;;
3070 *.* )
3071 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3072 then :; else
3073 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3075 # We set ac_cv_exeext here because the later test for it is not
3076 # safe: cross compilers may not add the suffix if given an `-o'
3077 # argument, so we may need to know it at that point already.
3078 # Even if this section looks crufty: it has the advantage of
3079 # actually working.
3080 break;;
3082 break;;
3083 esac
3084 done
3085 test "$ac_cv_exeext" = no && ac_cv_exeext=
3087 else
3088 ac_file=''
3090 if test -z "$ac_file"; then :
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3092 $as_echo "no" >&6; }
3093 $as_echo "$as_me: failed program was:" >&5
3094 sed 's/^/| /' conftest.$ac_ext >&5
3096 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3097 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3098 as_fn_error 77 "C compiler cannot create executables
3099 See \`config.log' for more details" "$LINENO" 5; }
3100 else
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3102 $as_echo "yes" >&6; }
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3105 $as_echo_n "checking for C compiler default output file name... " >&6; }
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3107 $as_echo "$ac_file" >&6; }
3108 ac_exeext=$ac_cv_exeext
3110 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3111 ac_clean_files=$ac_clean_files_save
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3113 $as_echo_n "checking for suffix of executables... " >&6; }
3114 if { { ac_try="$ac_link"
3115 case "(($ac_try" in
3116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3117 *) ac_try_echo=$ac_try;;
3118 esac
3119 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3120 $as_echo "$ac_try_echo"; } >&5
3121 (eval "$ac_link") 2>&5
3122 ac_status=$?
3123 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3124 test $ac_status = 0; }; then :
3125 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3126 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3127 # work properly (i.e., refer to `conftest.exe'), while it won't with
3128 # `rm'.
3129 for ac_file in conftest.exe conftest conftest.*; do
3130 test -f "$ac_file" || continue
3131 case $ac_file in
3132 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3133 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3134 break;;
3135 * ) break;;
3136 esac
3137 done
3138 else
3139 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3140 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3141 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3142 See \`config.log' for more details" "$LINENO" 5; }
3144 rm -f conftest conftest$ac_cv_exeext
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3146 $as_echo "$ac_cv_exeext" >&6; }
3148 rm -f conftest.$ac_ext
3149 EXEEXT=$ac_cv_exeext
3150 ac_exeext=$EXEEXT
3151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3152 /* end confdefs.h. */
3153 #include <stdio.h>
3155 main ()
3157 FILE *f = fopen ("conftest.out", "w");
3158 return ferror (f) || fclose (f) != 0;
3161 return 0;
3163 _ACEOF
3164 ac_clean_files="$ac_clean_files conftest.out"
3165 # Check that the compiler produces executables we can run. If not, either
3166 # the compiler is broken, or we cross compile.
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3168 $as_echo_n "checking whether we are cross compiling... " >&6; }
3169 if test "$cross_compiling" != yes; then
3170 { { ac_try="$ac_link"
3171 case "(($ac_try" in
3172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3173 *) ac_try_echo=$ac_try;;
3174 esac
3175 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3176 $as_echo "$ac_try_echo"; } >&5
3177 (eval "$ac_link") 2>&5
3178 ac_status=$?
3179 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3180 test $ac_status = 0; }
3181 if { ac_try='./conftest$ac_cv_exeext'
3182 { { case "(($ac_try" in
3183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3184 *) ac_try_echo=$ac_try;;
3185 esac
3186 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3187 $as_echo "$ac_try_echo"; } >&5
3188 (eval "$ac_try") 2>&5
3189 ac_status=$?
3190 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3191 test $ac_status = 0; }; }; then
3192 cross_compiling=no
3193 else
3194 if test "$cross_compiling" = maybe; then
3195 cross_compiling=yes
3196 else
3197 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3198 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3199 as_fn_error $? "cannot run C compiled programs.
3200 If you meant to cross compile, use \`--host'.
3201 See \`config.log' for more details" "$LINENO" 5; }
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3206 $as_echo "$cross_compiling" >&6; }
3208 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3209 ac_clean_files=$ac_clean_files_save
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3211 $as_echo_n "checking for suffix of object files... " >&6; }
3212 if ${ac_cv_objext+:} false; then :
3213 $as_echo_n "(cached) " >&6
3214 else
3215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3216 /* end confdefs.h. */
3219 main ()
3223 return 0;
3225 _ACEOF
3226 rm -f conftest.o conftest.obj
3227 if { { ac_try="$ac_compile"
3228 case "(($ac_try" in
3229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3230 *) ac_try_echo=$ac_try;;
3231 esac
3232 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3233 $as_echo "$ac_try_echo"; } >&5
3234 (eval "$ac_compile") 2>&5
3235 ac_status=$?
3236 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3237 test $ac_status = 0; }; then :
3238 for ac_file in conftest.o conftest.obj conftest.*; do
3239 test -f "$ac_file" || continue;
3240 case $ac_file in
3241 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3242 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3243 break;;
3244 esac
3245 done
3246 else
3247 $as_echo "$as_me: failed program was:" >&5
3248 sed 's/^/| /' conftest.$ac_ext >&5
3250 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3251 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3252 as_fn_error $? "cannot compute suffix of object files: cannot compile
3253 See \`config.log' for more details" "$LINENO" 5; }
3255 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3258 $as_echo "$ac_cv_objext" >&6; }
3259 OBJEXT=$ac_cv_objext
3260 ac_objext=$OBJEXT
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3262 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3263 if ${ac_cv_c_compiler_gnu+:} false; then :
3264 $as_echo_n "(cached) " >&6
3265 else
3266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3267 /* end confdefs.h. */
3270 main ()
3272 #ifndef __GNUC__
3273 choke me
3274 #endif
3277 return 0;
3279 _ACEOF
3280 if ac_fn_c_try_compile "$LINENO"; then :
3281 ac_compiler_gnu=yes
3282 else
3283 ac_compiler_gnu=no
3285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3286 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3290 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3291 if test $ac_compiler_gnu = yes; then
3292 GCC=yes
3293 else
3294 GCC=
3296 ac_test_CFLAGS=${CFLAGS+set}
3297 ac_save_CFLAGS=$CFLAGS
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3299 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3300 if ${ac_cv_prog_cc_g+:} false; then :
3301 $as_echo_n "(cached) " >&6
3302 else
3303 ac_save_c_werror_flag=$ac_c_werror_flag
3304 ac_c_werror_flag=yes
3305 ac_cv_prog_cc_g=no
3306 CFLAGS="-g"
3307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3308 /* end confdefs.h. */
3311 main ()
3315 return 0;
3317 _ACEOF
3318 if ac_fn_c_try_compile "$LINENO"; then :
3319 ac_cv_prog_cc_g=yes
3320 else
3321 CFLAGS=""
3322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3323 /* end confdefs.h. */
3326 main ()
3330 return 0;
3332 _ACEOF
3333 if ac_fn_c_try_compile "$LINENO"; then :
3335 else
3336 ac_c_werror_flag=$ac_save_c_werror_flag
3337 CFLAGS="-g"
3338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3339 /* end confdefs.h. */
3342 main ()
3346 return 0;
3348 _ACEOF
3349 if ac_fn_c_try_compile "$LINENO"; then :
3350 ac_cv_prog_cc_g=yes
3352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3357 ac_c_werror_flag=$ac_save_c_werror_flag
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3360 $as_echo "$ac_cv_prog_cc_g" >&6; }
3361 if test "$ac_test_CFLAGS" = set; then
3362 CFLAGS=$ac_save_CFLAGS
3363 elif test $ac_cv_prog_cc_g = yes; then
3364 if test "$GCC" = yes; then
3365 CFLAGS="-g -O2"
3366 else
3367 CFLAGS="-g"
3369 else
3370 if test "$GCC" = yes; then
3371 CFLAGS="-O2"
3372 else
3373 CFLAGS=
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3377 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3378 if ${ac_cv_prog_cc_c89+:} false; then :
3379 $as_echo_n "(cached) " >&6
3380 else
3381 ac_cv_prog_cc_c89=no
3382 ac_save_CC=$CC
3383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3384 /* end confdefs.h. */
3385 #include <stdarg.h>
3386 #include <stdio.h>
3387 #include <sys/types.h>
3388 #include <sys/stat.h>
3389 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3390 struct buf { int x; };
3391 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3392 static char *e (p, i)
3393 char **p;
3394 int i;
3396 return p[i];
3398 static char *f (char * (*g) (char **, int), char **p, ...)
3400 char *s;
3401 va_list v;
3402 va_start (v,p);
3403 s = g (p, va_arg (v,int));
3404 va_end (v);
3405 return s;
3408 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3409 function prototypes and stuff, but not '\xHH' hex character constants.
3410 These don't provoke an error unfortunately, instead are silently treated
3411 as 'x'. The following induces an error, until -std is added to get
3412 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3413 array size at least. It's necessary to write '\x00'==0 to get something
3414 that's true only with -std. */
3415 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3417 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3418 inside strings and character constants. */
3419 #define FOO(x) 'x'
3420 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3422 int test (int i, double x);
3423 struct s1 {int (*f) (int a);};
3424 struct s2 {int (*f) (double a);};
3425 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3426 int argc;
3427 char **argv;
3429 main ()
3431 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3433 return 0;
3435 _ACEOF
3436 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3437 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3439 CC="$ac_save_CC $ac_arg"
3440 if ac_fn_c_try_compile "$LINENO"; then :
3441 ac_cv_prog_cc_c89=$ac_arg
3443 rm -f core conftest.err conftest.$ac_objext
3444 test "x$ac_cv_prog_cc_c89" != "xno" && break
3445 done
3446 rm -f conftest.$ac_ext
3447 CC=$ac_save_CC
3450 # AC_CACHE_VAL
3451 case "x$ac_cv_prog_cc_c89" in
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3454 $as_echo "none needed" >&6; } ;;
3455 xno)
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3457 $as_echo "unsupported" >&6; } ;;
3459 CC="$CC $ac_cv_prog_cc_c89"
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3461 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3462 esac
3463 if test "x$ac_cv_prog_cc_c89" != xno; then :
3467 ac_ext=c
3468 ac_cpp='$CPP $CPPFLAGS'
3469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3474 ac_ext=c
3475 ac_cpp='$CPP $CPPFLAGS'
3476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3480 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3481 # On Suns, sometimes $CPP names a directory.
3482 if test -n "$CPP" && test -d "$CPP"; then
3483 CPP=
3485 if test -z "$CPP"; then
3486 if ${ac_cv_prog_CPP+:} false; then :
3487 $as_echo_n "(cached) " >&6
3488 else
3489 # Double quotes because CPP needs to be expanded
3490 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3492 ac_preproc_ok=false
3493 for ac_c_preproc_warn_flag in '' yes
3495 # Use a header file that comes with gcc, so configuring glibc
3496 # with a fresh cross-compiler works.
3497 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3498 # <limits.h> exists even on freestanding compilers.
3499 # On the NeXT, cc -E runs the code through the compiler's parser,
3500 # not just through cpp. "Syntax error" is here to catch this case.
3501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3502 /* end confdefs.h. */
3503 #ifdef __STDC__
3504 # include <limits.h>
3505 #else
3506 # include <assert.h>
3507 #endif
3508 Syntax error
3509 _ACEOF
3510 if ac_fn_c_try_cpp "$LINENO"; then :
3512 else
3513 # Broken: fails on valid input.
3514 continue
3516 rm -f conftest.err conftest.i conftest.$ac_ext
3518 # OK, works on sane cases. Now check whether nonexistent headers
3519 # can be detected and how.
3520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3521 /* end confdefs.h. */
3522 #include <ac_nonexistent.h>
3523 _ACEOF
3524 if ac_fn_c_try_cpp "$LINENO"; then :
3525 # Broken: success on invalid input.
3526 continue
3527 else
3528 # Passes both tests.
3529 ac_preproc_ok=:
3530 break
3532 rm -f conftest.err conftest.i conftest.$ac_ext
3534 done
3535 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3536 rm -f conftest.i conftest.err conftest.$ac_ext
3537 if $ac_preproc_ok; then :
3538 break
3541 done
3542 ac_cv_prog_CPP=$CPP
3545 CPP=$ac_cv_prog_CPP
3546 else
3547 ac_cv_prog_CPP=$CPP
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3550 $as_echo "$CPP" >&6; }
3551 ac_preproc_ok=false
3552 for ac_c_preproc_warn_flag in '' yes
3554 # Use a header file that comes with gcc, so configuring glibc
3555 # with a fresh cross-compiler works.
3556 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3557 # <limits.h> exists even on freestanding compilers.
3558 # On the NeXT, cc -E runs the code through the compiler's parser,
3559 # not just through cpp. "Syntax error" is here to catch this case.
3560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3561 /* end confdefs.h. */
3562 #ifdef __STDC__
3563 # include <limits.h>
3564 #else
3565 # include <assert.h>
3566 #endif
3567 Syntax error
3568 _ACEOF
3569 if ac_fn_c_try_cpp "$LINENO"; then :
3571 else
3572 # Broken: fails on valid input.
3573 continue
3575 rm -f conftest.err conftest.i conftest.$ac_ext
3577 # OK, works on sane cases. Now check whether nonexistent headers
3578 # can be detected and how.
3579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3580 /* end confdefs.h. */
3581 #include <ac_nonexistent.h>
3582 _ACEOF
3583 if ac_fn_c_try_cpp "$LINENO"; then :
3584 # Broken: success on invalid input.
3585 continue
3586 else
3587 # Passes both tests.
3588 ac_preproc_ok=:
3589 break
3591 rm -f conftest.err conftest.i conftest.$ac_ext
3593 done
3594 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3595 rm -f conftest.i conftest.err conftest.$ac_ext
3596 if $ac_preproc_ok; then :
3598 else
3599 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3600 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3601 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3602 See \`config.log' for more details" "$LINENO" 5; }
3605 ac_ext=c
3606 ac_cpp='$CPP $CPPFLAGS'
3607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3613 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3614 if ${ac_cv_path_GREP+:} false; then :
3615 $as_echo_n "(cached) " >&6
3616 else
3617 if test -z "$GREP"; then
3618 ac_path_GREP_found=false
3619 # Loop through the user's path and test for each of PROGNAME-LIST
3620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3621 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3623 IFS=$as_save_IFS
3624 test -z "$as_dir" && as_dir=.
3625 for ac_prog in grep ggrep; do
3626 for ac_exec_ext in '' $ac_executable_extensions; do
3627 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3628 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3629 # Check for GNU ac_path_GREP and select it if it is found.
3630 # Check for GNU $ac_path_GREP
3631 case `"$ac_path_GREP" --version 2>&1` in
3632 *GNU*)
3633 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3635 ac_count=0
3636 $as_echo_n 0123456789 >"conftest.in"
3637 while :
3639 cat "conftest.in" "conftest.in" >"conftest.tmp"
3640 mv "conftest.tmp" "conftest.in"
3641 cp "conftest.in" "conftest.nl"
3642 $as_echo 'GREP' >> "conftest.nl"
3643 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3644 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3645 as_fn_arith $ac_count + 1 && ac_count=$as_val
3646 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3647 # Best one so far, save it but keep looking for a better one
3648 ac_cv_path_GREP="$ac_path_GREP"
3649 ac_path_GREP_max=$ac_count
3651 # 10*(2^10) chars as input seems more than enough
3652 test $ac_count -gt 10 && break
3653 done
3654 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3655 esac
3657 $ac_path_GREP_found && break 3
3658 done
3659 done
3660 done
3661 IFS=$as_save_IFS
3662 if test -z "$ac_cv_path_GREP"; then
3663 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3665 else
3666 ac_cv_path_GREP=$GREP
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3671 $as_echo "$ac_cv_path_GREP" >&6; }
3672 GREP="$ac_cv_path_GREP"
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3676 $as_echo_n "checking for egrep... " >&6; }
3677 if ${ac_cv_path_EGREP+:} false; then :
3678 $as_echo_n "(cached) " >&6
3679 else
3680 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3681 then ac_cv_path_EGREP="$GREP -E"
3682 else
3683 if test -z "$EGREP"; then
3684 ac_path_EGREP_found=false
3685 # Loop through the user's path and test for each of PROGNAME-LIST
3686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3687 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3689 IFS=$as_save_IFS
3690 test -z "$as_dir" && as_dir=.
3691 for ac_prog in egrep; do
3692 for ac_exec_ext in '' $ac_executable_extensions; do
3693 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3694 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3695 # Check for GNU ac_path_EGREP and select it if it is found.
3696 # Check for GNU $ac_path_EGREP
3697 case `"$ac_path_EGREP" --version 2>&1` in
3698 *GNU*)
3699 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3701 ac_count=0
3702 $as_echo_n 0123456789 >"conftest.in"
3703 while :
3705 cat "conftest.in" "conftest.in" >"conftest.tmp"
3706 mv "conftest.tmp" "conftest.in"
3707 cp "conftest.in" "conftest.nl"
3708 $as_echo 'EGREP' >> "conftest.nl"
3709 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3710 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3711 as_fn_arith $ac_count + 1 && ac_count=$as_val
3712 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3713 # Best one so far, save it but keep looking for a better one
3714 ac_cv_path_EGREP="$ac_path_EGREP"
3715 ac_path_EGREP_max=$ac_count
3717 # 10*(2^10) chars as input seems more than enough
3718 test $ac_count -gt 10 && break
3719 done
3720 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3721 esac
3723 $ac_path_EGREP_found && break 3
3724 done
3725 done
3726 done
3727 IFS=$as_save_IFS
3728 if test -z "$ac_cv_path_EGREP"; then
3729 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3731 else
3732 ac_cv_path_EGREP=$EGREP
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3738 $as_echo "$ac_cv_path_EGREP" >&6; }
3739 EGREP="$ac_cv_path_EGREP"
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3743 $as_echo_n "checking for ANSI C header files... " >&6; }
3744 if ${ac_cv_header_stdc+:} false; then :
3745 $as_echo_n "(cached) " >&6
3746 else
3747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3748 /* end confdefs.h. */
3749 #include <stdlib.h>
3750 #include <stdarg.h>
3751 #include <string.h>
3752 #include <float.h>
3755 main ()
3759 return 0;
3761 _ACEOF
3762 if ac_fn_c_try_compile "$LINENO"; then :
3763 ac_cv_header_stdc=yes
3764 else
3765 ac_cv_header_stdc=no
3767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3769 if test $ac_cv_header_stdc = yes; then
3770 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3772 /* end confdefs.h. */
3773 #include <string.h>
3775 _ACEOF
3776 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3777 $EGREP "memchr" >/dev/null 2>&1; then :
3779 else
3780 ac_cv_header_stdc=no
3782 rm -f conftest*
3786 if test $ac_cv_header_stdc = yes; then
3787 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3789 /* end confdefs.h. */
3790 #include <stdlib.h>
3792 _ACEOF
3793 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3794 $EGREP "free" >/dev/null 2>&1; then :
3796 else
3797 ac_cv_header_stdc=no
3799 rm -f conftest*
3803 if test $ac_cv_header_stdc = yes; then
3804 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3805 if test "$cross_compiling" = yes; then :
3807 else
3808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3809 /* end confdefs.h. */
3810 #include <ctype.h>
3811 #include <stdlib.h>
3812 #if ((' ' & 0x0FF) == 0x020)
3813 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3814 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3815 #else
3816 # define ISLOWER(c) \
3817 (('a' <= (c) && (c) <= 'i') \
3818 || ('j' <= (c) && (c) <= 'r') \
3819 || ('s' <= (c) && (c) <= 'z'))
3820 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3821 #endif
3823 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3825 main ()
3827 int i;
3828 for (i = 0; i < 256; i++)
3829 if (XOR (islower (i), ISLOWER (i))
3830 || toupper (i) != TOUPPER (i))
3831 return 2;
3832 return 0;
3834 _ACEOF
3835 if ac_fn_c_try_run "$LINENO"; then :
3837 else
3838 ac_cv_header_stdc=no
3840 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3841 conftest.$ac_objext conftest.beam conftest.$ac_ext
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3847 $as_echo "$ac_cv_header_stdc" >&6; }
3848 if test $ac_cv_header_stdc = yes; then
3850 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3854 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3855 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3856 inttypes.h stdint.h unistd.h
3857 do :
3858 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3859 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3861 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3862 cat >>confdefs.h <<_ACEOF
3863 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3864 _ACEOF
3868 done
3872 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3873 if test "x$ac_cv_header_minix_config_h" = xyes; then :
3874 MINIX=yes
3875 else
3876 MINIX=
3880 if test "$MINIX" = yes; then
3882 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3885 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3888 $as_echo "#define _MINIX 1" >>confdefs.h
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3894 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3895 if ${ac_cv_safe_to_define___extensions__+:} false; then :
3896 $as_echo_n "(cached) " >&6
3897 else
3898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3899 /* end confdefs.h. */
3901 # define __EXTENSIONS__ 1
3902 $ac_includes_default
3904 main ()
3908 return 0;
3910 _ACEOF
3911 if ac_fn_c_try_compile "$LINENO"; then :
3912 ac_cv_safe_to_define___extensions__=yes
3913 else
3914 ac_cv_safe_to_define___extensions__=no
3916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3919 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3920 test $ac_cv_safe_to_define___extensions__ = yes &&
3921 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3923 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3925 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3927 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3929 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3935 cat >>confdefs.h <<_ACEOF
3936 #define CANONICAL_TARGET "$target"
3937 _ACEOF
3940 cat >>confdefs.h <<_ACEOF
3941 #define CANONICAL_HOST "$host"
3942 _ACEOF
3945 am__api_version='1.11'
3947 # Find a good install program. We prefer a C program (faster),
3948 # so one script is as good as another. But avoid the broken or
3949 # incompatible versions:
3950 # SysV /etc/install, /usr/sbin/install
3951 # SunOS /usr/etc/install
3952 # IRIX /sbin/install
3953 # AIX /bin/install
3954 # AmigaOS /C/install, which installs bootblocks on floppy discs
3955 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3956 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3957 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3958 # OS/2's system install, which has a completely different semantic
3959 # ./install, which can be erroneously created by make from ./install.sh.
3960 # Reject install programs that cannot install multiple files.
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3962 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3963 if test -z "$INSTALL"; then
3964 if ${ac_cv_path_install+:} false; then :
3965 $as_echo_n "(cached) " >&6
3966 else
3967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3968 for as_dir in $PATH
3970 IFS=$as_save_IFS
3971 test -z "$as_dir" && as_dir=.
3972 # Account for people who put trailing slashes in PATH elements.
3973 case $as_dir/ in #((
3974 ./ | .// | /[cC]/* | \
3975 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3976 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3977 /usr/ucb/* ) ;;
3979 # OSF1 and SCO ODT 3.0 have their own names for install.
3980 # Don't use installbsd from OSF since it installs stuff as root
3981 # by default.
3982 for ac_prog in ginstall scoinst install; do
3983 for ac_exec_ext in '' $ac_executable_extensions; do
3984 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3985 if test $ac_prog = install &&
3986 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3987 # AIX install. It has an incompatible calling convention.
3989 elif test $ac_prog = install &&
3990 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3991 # program-specific install script used by HP pwplus--don't use.
3993 else
3994 rm -rf conftest.one conftest.two conftest.dir
3995 echo one > conftest.one
3996 echo two > conftest.two
3997 mkdir conftest.dir
3998 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3999 test -s conftest.one && test -s conftest.two &&
4000 test -s conftest.dir/conftest.one &&
4001 test -s conftest.dir/conftest.two
4002 then
4003 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4004 break 3
4008 done
4009 done
4011 esac
4013 done
4014 IFS=$as_save_IFS
4016 rm -rf conftest.one conftest.two conftest.dir
4019 if test "${ac_cv_path_install+set}" = set; then
4020 INSTALL=$ac_cv_path_install
4021 else
4022 # As a last resort, use the slow shell script. Don't cache a
4023 # value for INSTALL within a source directory, because that will
4024 # break other packages using the cache if that directory is
4025 # removed, or if the value is a relative name.
4026 INSTALL=$ac_install_sh
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4030 $as_echo "$INSTALL" >&6; }
4032 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4033 # It thinks the first close brace ends the variable substitution.
4034 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4036 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4038 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4041 $as_echo_n "checking whether build environment is sane... " >&6; }
4042 # Just in case
4043 sleep 1
4044 echo timestamp > conftest.file
4045 # Reject unsafe characters in $srcdir or the absolute working directory
4046 # name. Accept space and tab only in the latter.
4047 am_lf='
4049 case `pwd` in
4050 *[\\\"\#\$\&\'\`$am_lf]*)
4051 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
4052 esac
4053 case $srcdir in
4054 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
4055 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
4056 esac
4058 # Do `set' in a subshell so we don't clobber the current shell's
4059 # arguments. Must try -L first in case configure is actually a
4060 # symlink; some systems play weird games with the mod time of symlinks
4061 # (eg FreeBSD returns the mod time of the symlink's containing
4062 # directory).
4063 if (
4064 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4065 if test "$*" = "X"; then
4066 # -L didn't work.
4067 set X `ls -t "$srcdir/configure" conftest.file`
4069 rm -f conftest.file
4070 if test "$*" != "X $srcdir/configure conftest.file" \
4071 && test "$*" != "X conftest.file $srcdir/configure"; then
4073 # If neither matched, then we have a broken ls. This can happen
4074 # if, for instance, CONFIG_SHELL is bash and it inherits a
4075 # broken ls alias from the environment. This has actually
4076 # happened. Such a system could not be considered "sane".
4077 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
4078 alias in your environment" "$LINENO" 5
4081 test "$2" = conftest.file
4083 then
4084 # Ok.
4086 else
4087 as_fn_error $? "newly created file is older than distributed files!
4088 Check your system clock" "$LINENO" 5
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4091 $as_echo "yes" >&6; }
4092 test "$program_prefix" != NONE &&
4093 program_transform_name="s&^&$program_prefix&;$program_transform_name"
4094 # Use a double $ so make ignores it.
4095 test "$program_suffix" != NONE &&
4096 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
4097 # Double any \ or $.
4098 # By default was `s,x,x', remove it if useless.
4099 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
4100 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
4102 # expand $ac_aux_dir to an absolute path
4103 am_aux_dir=`cd $ac_aux_dir && pwd`
4105 if test x"${MISSING+set}" != xset; then
4106 case $am_aux_dir in
4107 *\ * | *\ *)
4108 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
4110 MISSING="\${SHELL} $am_aux_dir/missing" ;;
4111 esac
4113 # Use eval to expand $SHELL
4114 if eval "$MISSING --run true"; then
4115 am_missing_run="$MISSING --run "
4116 else
4117 am_missing_run=
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
4119 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
4122 if test x"${install_sh}" != xset; then
4123 case $am_aux_dir in
4124 *\ * | *\ *)
4125 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
4127 install_sh="\${SHELL} $am_aux_dir/install-sh"
4128 esac
4131 # Installed binaries are usually stripped using `strip' when the user
4132 # run `make install-strip'. However `strip' might not be the right
4133 # tool to use in cross-compilation environments, therefore Automake
4134 # will honor the `STRIP' environment variable to overrule this program.
4135 if test "$cross_compiling" != no; then
4136 if test -n "$ac_tool_prefix"; then
4137 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4138 set dummy ${ac_tool_prefix}strip; ac_word=$2
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4140 $as_echo_n "checking for $ac_word... " >&6; }
4141 if ${ac_cv_prog_STRIP+:} false; then :
4142 $as_echo_n "(cached) " >&6
4143 else
4144 if test -n "$STRIP"; then
4145 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4146 else
4147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4148 for as_dir in $PATH
4150 IFS=$as_save_IFS
4151 test -z "$as_dir" && as_dir=.
4152 for ac_exec_ext in '' $ac_executable_extensions; do
4153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4154 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4156 break 2
4158 done
4159 done
4160 IFS=$as_save_IFS
4164 STRIP=$ac_cv_prog_STRIP
4165 if test -n "$STRIP"; then
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4167 $as_echo "$STRIP" >&6; }
4168 else
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4170 $as_echo "no" >&6; }
4175 if test -z "$ac_cv_prog_STRIP"; then
4176 ac_ct_STRIP=$STRIP
4177 # Extract the first word of "strip", so it can be a program name with args.
4178 set dummy strip; ac_word=$2
4179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4180 $as_echo_n "checking for $ac_word... " >&6; }
4181 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
4182 $as_echo_n "(cached) " >&6
4183 else
4184 if test -n "$ac_ct_STRIP"; then
4185 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4186 else
4187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4188 for as_dir in $PATH
4190 IFS=$as_save_IFS
4191 test -z "$as_dir" && as_dir=.
4192 for ac_exec_ext in '' $ac_executable_extensions; do
4193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4194 ac_cv_prog_ac_ct_STRIP="strip"
4195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4196 break 2
4198 done
4199 done
4200 IFS=$as_save_IFS
4204 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4205 if test -n "$ac_ct_STRIP"; then
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4207 $as_echo "$ac_ct_STRIP" >&6; }
4208 else
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4210 $as_echo "no" >&6; }
4213 if test "x$ac_ct_STRIP" = x; then
4214 STRIP=":"
4215 else
4216 case $cross_compiling:$ac_tool_warned in
4217 yes:)
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4219 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4220 ac_tool_warned=yes ;;
4221 esac
4222 STRIP=$ac_ct_STRIP
4224 else
4225 STRIP="$ac_cv_prog_STRIP"
4229 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4232 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4233 if test -z "$MKDIR_P"; then
4234 if ${ac_cv_path_mkdir+:} false; then :
4235 $as_echo_n "(cached) " >&6
4236 else
4237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4238 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
4240 IFS=$as_save_IFS
4241 test -z "$as_dir" && as_dir=.
4242 for ac_prog in mkdir gmkdir; do
4243 for ac_exec_ext in '' $ac_executable_extensions; do
4244 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
4245 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4246 'mkdir (GNU coreutils) '* | \
4247 'mkdir (coreutils) '* | \
4248 'mkdir (fileutils) '4.1*)
4249 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
4250 break 3;;
4251 esac
4252 done
4253 done
4254 done
4255 IFS=$as_save_IFS
4259 test -d ./--version && rmdir ./--version
4260 if test "${ac_cv_path_mkdir+set}" = set; then
4261 MKDIR_P="$ac_cv_path_mkdir -p"
4262 else
4263 # As a last resort, use the slow shell script. Don't cache a
4264 # value for MKDIR_P within a source directory, because that will
4265 # break other packages using the cache if that directory is
4266 # removed, or if the value is a relative name.
4267 MKDIR_P="$ac_install_sh -d"
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4271 $as_echo "$MKDIR_P" >&6; }
4273 mkdir_p="$MKDIR_P"
4274 case $mkdir_p in
4275 [\\/$]* | ?:[\\/]*) ;;
4276 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
4277 esac
4279 for ac_prog in gawk mawk nawk awk
4281 # Extract the first word of "$ac_prog", so it can be a program name with args.
4282 set dummy $ac_prog; ac_word=$2
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4284 $as_echo_n "checking for $ac_word... " >&6; }
4285 if ${ac_cv_prog_AWK+:} false; then :
4286 $as_echo_n "(cached) " >&6
4287 else
4288 if test -n "$AWK"; then
4289 ac_cv_prog_AWK="$AWK" # Let the user override the test.
4290 else
4291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4292 for as_dir in $PATH
4294 IFS=$as_save_IFS
4295 test -z "$as_dir" && as_dir=.
4296 for ac_exec_ext in '' $ac_executable_extensions; do
4297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4298 ac_cv_prog_AWK="$ac_prog"
4299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4300 break 2
4302 done
4303 done
4304 IFS=$as_save_IFS
4308 AWK=$ac_cv_prog_AWK
4309 if test -n "$AWK"; then
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4311 $as_echo "$AWK" >&6; }
4312 else
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4314 $as_echo "no" >&6; }
4318 test -n "$AWK" && break
4319 done
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4322 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4323 set x ${MAKE-make}
4324 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4325 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4326 $as_echo_n "(cached) " >&6
4327 else
4328 cat >conftest.make <<\_ACEOF
4329 SHELL = /bin/sh
4330 all:
4331 @echo '@@@%%%=$(MAKE)=@@@%%%'
4332 _ACEOF
4333 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4334 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4335 *@@@%%%=?*=@@@%%%*)
4336 eval ac_cv_prog_make_${ac_make}_set=yes;;
4338 eval ac_cv_prog_make_${ac_make}_set=no;;
4339 esac
4340 rm -f conftest.make
4342 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4344 $as_echo "yes" >&6; }
4345 SET_MAKE=
4346 else
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4348 $as_echo "no" >&6; }
4349 SET_MAKE="MAKE=${MAKE-make}"
4352 rm -rf .tst 2>/dev/null
4353 mkdir .tst 2>/dev/null
4354 if test -d .tst; then
4355 am__leading_dot=.
4356 else
4357 am__leading_dot=_
4359 rmdir .tst 2>/dev/null
4361 DEPDIR="${am__leading_dot}deps"
4363 ac_config_commands="$ac_config_commands depfiles"
4366 am_make=${MAKE-make}
4367 cat > confinc << 'END'
4368 am__doit:
4369 @echo this is the am__doit target
4370 .PHONY: am__doit
4372 # If we don't find an include directive, just comment out the code.
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4374 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4375 am__include="#"
4376 am__quote=
4377 _am_result=none
4378 # First try GNU make style include.
4379 echo "include confinc" > confmf
4380 # Ignore all kinds of additional output from `make'.
4381 case `$am_make -s -f confmf 2> /dev/null` in #(
4382 *the\ am__doit\ target*)
4383 am__include=include
4384 am__quote=
4385 _am_result=GNU
4387 esac
4388 # Now try BSD make style include.
4389 if test "$am__include" = "#"; then
4390 echo '.include "confinc"' > confmf
4391 case `$am_make -s -f confmf 2> /dev/null` in #(
4392 *the\ am__doit\ target*)
4393 am__include=.include
4394 am__quote="\""
4395 _am_result=BSD
4397 esac
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4402 $as_echo "$_am_result" >&6; }
4403 rm -f confinc confmf
4405 # Check whether --enable-dependency-tracking was given.
4406 if test "${enable_dependency_tracking+set}" = set; then :
4407 enableval=$enable_dependency_tracking;
4410 if test "x$enable_dependency_tracking" != xno; then
4411 am_depcomp="$ac_aux_dir/depcomp"
4412 AMDEPBACKSLASH='\'
4414 if test "x$enable_dependency_tracking" != xno; then
4415 AMDEP_TRUE=
4416 AMDEP_FALSE='#'
4417 else
4418 AMDEP_TRUE='#'
4419 AMDEP_FALSE=
4423 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4424 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4425 # is not polluted with repeated "-I."
4426 am__isrc=' -I$(srcdir)'
4427 # test to see if srcdir already configured
4428 if test -f $srcdir/config.status; then
4429 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4433 # test whether we have cygpath
4434 if test -z "$CYGPATH_W"; then
4435 if (cygpath --version) >/dev/null 2>/dev/null; then
4436 CYGPATH_W='cygpath -w'
4437 else
4438 CYGPATH_W=echo
4443 # Define the identity of the package.
4444 PACKAGE='quvi'
4445 VERSION='0.2.15'
4448 cat >>confdefs.h <<_ACEOF
4449 #define PACKAGE "$PACKAGE"
4450 _ACEOF
4453 cat >>confdefs.h <<_ACEOF
4454 #define VERSION "$VERSION"
4455 _ACEOF
4457 # Some tools Automake needs.
4459 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4462 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4465 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4468 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4471 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4473 # We need awk for the "check" target. The system "awk" is bad on
4474 # some platforms.
4475 # Always define AMTAR for backward compatibility.
4477 AMTAR=${AMTAR-"${am_missing_run}tar"}
4479 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
4484 depcc="$CC" am_compiler_list=
4486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4487 $as_echo_n "checking dependency style of $depcc... " >&6; }
4488 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4489 $as_echo_n "(cached) " >&6
4490 else
4491 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4492 # We make a subdir and do the tests there. Otherwise we can end up
4493 # making bogus files that we don't know about and never remove. For
4494 # instance it was reported that on HP-UX the gcc test will end up
4495 # making a dummy file named `D' -- because `-MD' means `put the output
4496 # in D'.
4497 mkdir conftest.dir
4498 # Copy depcomp to subdir because otherwise we won't find it if we're
4499 # using a relative directory.
4500 cp "$am_depcomp" conftest.dir
4501 cd conftest.dir
4502 # We will build objects and dependencies in a subdirectory because
4503 # it helps to detect inapplicable dependency modes. For instance
4504 # both Tru64's cc and ICC support -MD to output dependencies as a
4505 # side effect of compilation, but ICC will put the dependencies in
4506 # the current directory while Tru64 will put them in the object
4507 # directory.
4508 mkdir sub
4510 am_cv_CC_dependencies_compiler_type=none
4511 if test "$am_compiler_list" = ""; then
4512 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4514 am__universal=false
4515 case " $depcc " in #(
4516 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4517 esac
4519 for depmode in $am_compiler_list; do
4520 # Setup a source with many dependencies, because some compilers
4521 # like to wrap large dependency lists on column 80 (with \), and
4522 # we should not choose a depcomp mode which is confused by this.
4524 # We need to recreate these files for each test, as the compiler may
4525 # overwrite some of them when testing with obscure command lines.
4526 # This happens at least with the AIX C compiler.
4527 : > sub/conftest.c
4528 for i in 1 2 3 4 5 6; do
4529 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4530 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4531 # Solaris 8's {/usr,}/bin/sh.
4532 touch sub/conftst$i.h
4533 done
4534 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4536 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4537 # mode. It turns out that the SunPro C++ compiler does not properly
4538 # handle `-M -o', and we need to detect this. Also, some Intel
4539 # versions had trouble with output in subdirs
4540 am__obj=sub/conftest.${OBJEXT-o}
4541 am__minus_obj="-o $am__obj"
4542 case $depmode in
4543 gcc)
4544 # This depmode causes a compiler race in universal mode.
4545 test "$am__universal" = false || continue
4547 nosideeffect)
4548 # after this tag, mechanisms are not by side-effect, so they'll
4549 # only be used when explicitly requested
4550 if test "x$enable_dependency_tracking" = xyes; then
4551 continue
4552 else
4553 break
4556 msvisualcpp | msvcmsys)
4557 # This compiler won't grok `-c -o', but also, the minuso test has
4558 # not run yet. These depmodes are late enough in the game, and
4559 # so weak that their functioning should not be impacted.
4560 am__obj=conftest.${OBJEXT-o}
4561 am__minus_obj=
4563 none) break ;;
4564 esac
4565 if depmode=$depmode \
4566 source=sub/conftest.c object=$am__obj \
4567 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4568 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4569 >/dev/null 2>conftest.err &&
4570 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4571 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4572 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4573 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4574 # icc doesn't choke on unknown options, it will just issue warnings
4575 # or remarks (even with -Werror). So we grep stderr for any message
4576 # that says an option was ignored or not supported.
4577 # When given -MP, icc 7.0 and 7.1 complain thusly:
4578 # icc: Command line warning: ignoring option '-M'; no argument required
4579 # The diagnosis changed in icc 8.0:
4580 # icc: Command line remark: option '-MP' not supported
4581 if (grep 'ignoring option' conftest.err ||
4582 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4583 am_cv_CC_dependencies_compiler_type=$depmode
4584 break
4587 done
4589 cd ..
4590 rm -rf conftest.dir
4591 else
4592 am_cv_CC_dependencies_compiler_type=none
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4597 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4598 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4601 test "x$enable_dependency_tracking" != xno \
4602 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4603 am__fastdepCC_TRUE=
4604 am__fastdepCC_FALSE='#'
4605 else
4606 am__fastdepCC_TRUE='#'
4607 am__fastdepCC_FALSE=
4613 case `pwd` in
4614 *\ * | *\ *)
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4616 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4617 esac
4621 macro_version='2.4'
4622 macro_revision='1.3293'
4636 ltmain="$ac_aux_dir/ltmain.sh"
4638 # Backslashify metacharacters that are still active within
4639 # double-quoted strings.
4640 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4642 # Same as above, but do not quote variable references.
4643 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4645 # Sed substitution to delay expansion of an escaped shell variable in a
4646 # double_quote_subst'ed string.
4647 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4649 # Sed substitution to delay expansion of an escaped single quote.
4650 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4652 # Sed substitution to avoid accidental globbing in evaled expressions
4653 no_glob_subst='s/\*/\\\*/g'
4655 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4656 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4657 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4660 $as_echo_n "checking how to print strings... " >&6; }
4661 # Test print first, because it will be a builtin if present.
4662 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4663 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4664 ECHO='print -r --'
4665 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4666 ECHO='printf %s\n'
4667 else
4668 # Use this function as a fallback that always works.
4669 func_fallback_echo ()
4671 eval 'cat <<_LTECHO_EOF
4673 _LTECHO_EOF'
4675 ECHO='func_fallback_echo'
4678 # func_echo_all arg...
4679 # Invoke $ECHO with all args, space-separated.
4680 func_echo_all ()
4682 $ECHO ""
4685 case "$ECHO" in
4686 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4687 $as_echo "printf" >&6; } ;;
4688 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4689 $as_echo "print -r" >&6; } ;;
4690 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4691 $as_echo "cat" >&6; } ;;
4692 esac
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4708 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4709 if ${ac_cv_path_SED+:} false; then :
4710 $as_echo_n "(cached) " >&6
4711 else
4712 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4713 for ac_i in 1 2 3 4 5 6 7; do
4714 ac_script="$ac_script$as_nl$ac_script"
4715 done
4716 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4717 { ac_script=; unset ac_script;}
4718 if test -z "$SED"; then
4719 ac_path_SED_found=false
4720 # Loop through the user's path and test for each of PROGNAME-LIST
4721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4722 for as_dir in $PATH
4724 IFS=$as_save_IFS
4725 test -z "$as_dir" && as_dir=.
4726 for ac_prog in sed gsed; do
4727 for ac_exec_ext in '' $ac_executable_extensions; do
4728 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4729 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4730 # Check for GNU ac_path_SED and select it if it is found.
4731 # Check for GNU $ac_path_SED
4732 case `"$ac_path_SED" --version 2>&1` in
4733 *GNU*)
4734 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4736 ac_count=0
4737 $as_echo_n 0123456789 >"conftest.in"
4738 while :
4740 cat "conftest.in" "conftest.in" >"conftest.tmp"
4741 mv "conftest.tmp" "conftest.in"
4742 cp "conftest.in" "conftest.nl"
4743 $as_echo '' >> "conftest.nl"
4744 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4745 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4746 as_fn_arith $ac_count + 1 && ac_count=$as_val
4747 if test $ac_count -gt ${ac_path_SED_max-0}; then
4748 # Best one so far, save it but keep looking for a better one
4749 ac_cv_path_SED="$ac_path_SED"
4750 ac_path_SED_max=$ac_count
4752 # 10*(2^10) chars as input seems more than enough
4753 test $ac_count -gt 10 && break
4754 done
4755 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4756 esac
4758 $ac_path_SED_found && break 3
4759 done
4760 done
4761 done
4762 IFS=$as_save_IFS
4763 if test -z "$ac_cv_path_SED"; then
4764 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4766 else
4767 ac_cv_path_SED=$SED
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4772 $as_echo "$ac_cv_path_SED" >&6; }
4773 SED="$ac_cv_path_SED"
4774 rm -f conftest.sed
4776 test -z "$SED" && SED=sed
4777 Xsed="$SED -e 1s/^X//"
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4790 $as_echo_n "checking for fgrep... " >&6; }
4791 if ${ac_cv_path_FGREP+:} false; then :
4792 $as_echo_n "(cached) " >&6
4793 else
4794 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4795 then ac_cv_path_FGREP="$GREP -F"
4796 else
4797 if test -z "$FGREP"; then
4798 ac_path_FGREP_found=false
4799 # Loop through the user's path and test for each of PROGNAME-LIST
4800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4801 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4803 IFS=$as_save_IFS
4804 test -z "$as_dir" && as_dir=.
4805 for ac_prog in fgrep; do
4806 for ac_exec_ext in '' $ac_executable_extensions; do
4807 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4808 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4809 # Check for GNU ac_path_FGREP and select it if it is found.
4810 # Check for GNU $ac_path_FGREP
4811 case `"$ac_path_FGREP" --version 2>&1` in
4812 *GNU*)
4813 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4815 ac_count=0
4816 $as_echo_n 0123456789 >"conftest.in"
4817 while :
4819 cat "conftest.in" "conftest.in" >"conftest.tmp"
4820 mv "conftest.tmp" "conftest.in"
4821 cp "conftest.in" "conftest.nl"
4822 $as_echo 'FGREP' >> "conftest.nl"
4823 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4824 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4825 as_fn_arith $ac_count + 1 && ac_count=$as_val
4826 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4827 # Best one so far, save it but keep looking for a better one
4828 ac_cv_path_FGREP="$ac_path_FGREP"
4829 ac_path_FGREP_max=$ac_count
4831 # 10*(2^10) chars as input seems more than enough
4832 test $ac_count -gt 10 && break
4833 done
4834 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4835 esac
4837 $ac_path_FGREP_found && break 3
4838 done
4839 done
4840 done
4841 IFS=$as_save_IFS
4842 if test -z "$ac_cv_path_FGREP"; then
4843 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4845 else
4846 ac_cv_path_FGREP=$FGREP
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4852 $as_echo "$ac_cv_path_FGREP" >&6; }
4853 FGREP="$ac_cv_path_FGREP"
4856 test -z "$GREP" && GREP=grep
4876 # Check whether --with-gnu-ld was given.
4877 if test "${with_gnu_ld+set}" = set; then :
4878 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4879 else
4880 with_gnu_ld=no
4883 ac_prog=ld
4884 if test "$GCC" = yes; then
4885 # Check if gcc -print-prog-name=ld gives a path.
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4887 $as_echo_n "checking for ld used by $CC... " >&6; }
4888 case $host in
4889 *-*-mingw*)
4890 # gcc leaves a trailing carriage return which upsets mingw
4891 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4893 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4894 esac
4895 case $ac_prog in
4896 # Accept absolute paths.
4897 [\\/]* | ?:[\\/]*)
4898 re_direlt='/[^/][^/]*/\.\./'
4899 # Canonicalize the pathname of ld
4900 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4901 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4902 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4903 done
4904 test -z "$LD" && LD="$ac_prog"
4907 # If it fails, then pretend we aren't using GCC.
4908 ac_prog=ld
4911 # If it is relative, then search for the first ld in PATH.
4912 with_gnu_ld=unknown
4914 esac
4915 elif test "$with_gnu_ld" = yes; then
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4917 $as_echo_n "checking for GNU ld... " >&6; }
4918 else
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4920 $as_echo_n "checking for non-GNU ld... " >&6; }
4922 if ${lt_cv_path_LD+:} false; then :
4923 $as_echo_n "(cached) " >&6
4924 else
4925 if test -z "$LD"; then
4926 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4927 for ac_dir in $PATH; do
4928 IFS="$lt_save_ifs"
4929 test -z "$ac_dir" && ac_dir=.
4930 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4931 lt_cv_path_LD="$ac_dir/$ac_prog"
4932 # Check to see if the program is GNU ld. I'd rather use --version,
4933 # but apparently some variants of GNU ld only accept -v.
4934 # Break only if it was the GNU/non-GNU ld that we prefer.
4935 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4936 *GNU* | *'with BFD'*)
4937 test "$with_gnu_ld" != no && break
4940 test "$with_gnu_ld" != yes && break
4942 esac
4944 done
4945 IFS="$lt_save_ifs"
4946 else
4947 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4951 LD="$lt_cv_path_LD"
4952 if test -n "$LD"; then
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4954 $as_echo "$LD" >&6; }
4955 else
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4957 $as_echo "no" >&6; }
4959 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4961 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4962 if ${lt_cv_prog_gnu_ld+:} false; then :
4963 $as_echo_n "(cached) " >&6
4964 else
4965 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4966 case `$LD -v 2>&1 </dev/null` in
4967 *GNU* | *'with BFD'*)
4968 lt_cv_prog_gnu_ld=yes
4971 lt_cv_prog_gnu_ld=no
4973 esac
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4976 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4977 with_gnu_ld=$lt_cv_prog_gnu_ld
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4988 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4989 if ${lt_cv_path_NM+:} false; then :
4990 $as_echo_n "(cached) " >&6
4991 else
4992 if test -n "$NM"; then
4993 # Let the user override the test.
4994 lt_cv_path_NM="$NM"
4995 else
4996 lt_nm_to_check="${ac_tool_prefix}nm"
4997 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4998 lt_nm_to_check="$lt_nm_to_check nm"
5000 for lt_tmp_nm in $lt_nm_to_check; do
5001 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5002 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5003 IFS="$lt_save_ifs"
5004 test -z "$ac_dir" && ac_dir=.
5005 tmp_nm="$ac_dir/$lt_tmp_nm"
5006 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5007 # Check to see if the nm accepts a BSD-compat flag.
5008 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5009 # nm: unknown option "B" ignored
5010 # Tru64's nm complains that /dev/null is an invalid object file
5011 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5012 */dev/null* | *'Invalid file or object type'*)
5013 lt_cv_path_NM="$tmp_nm -B"
5014 break
5017 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5018 */dev/null*)
5019 lt_cv_path_NM="$tmp_nm -p"
5020 break
5023 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5024 continue # so that we can try to find one that supports BSD flags
5026 esac
5028 esac
5030 done
5031 IFS="$lt_save_ifs"
5032 done
5033 : ${lt_cv_path_NM=no}
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5037 $as_echo "$lt_cv_path_NM" >&6; }
5038 if test "$lt_cv_path_NM" != "no"; then
5039 NM="$lt_cv_path_NM"
5040 else
5041 # Didn't find any BSD compatible name lister, look for dumpbin.
5042 if test -n "$DUMPBIN"; then :
5043 # Let the user override the test.
5044 else
5045 if test -n "$ac_tool_prefix"; then
5046 for ac_prog in dumpbin "link -dump"
5048 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5049 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5051 $as_echo_n "checking for $ac_word... " >&6; }
5052 if ${ac_cv_prog_DUMPBIN+:} false; then :
5053 $as_echo_n "(cached) " >&6
5054 else
5055 if test -n "$DUMPBIN"; then
5056 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5057 else
5058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5059 for as_dir in $PATH
5061 IFS=$as_save_IFS
5062 test -z "$as_dir" && as_dir=.
5063 for ac_exec_ext in '' $ac_executable_extensions; do
5064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5065 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5067 break 2
5069 done
5070 done
5071 IFS=$as_save_IFS
5075 DUMPBIN=$ac_cv_prog_DUMPBIN
5076 if test -n "$DUMPBIN"; then
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5078 $as_echo "$DUMPBIN" >&6; }
5079 else
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5081 $as_echo "no" >&6; }
5085 test -n "$DUMPBIN" && break
5086 done
5088 if test -z "$DUMPBIN"; then
5089 ac_ct_DUMPBIN=$DUMPBIN
5090 for ac_prog in dumpbin "link -dump"
5092 # Extract the first word of "$ac_prog", so it can be a program name with args.
5093 set dummy $ac_prog; ac_word=$2
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5095 $as_echo_n "checking for $ac_word... " >&6; }
5096 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5097 $as_echo_n "(cached) " >&6
5098 else
5099 if test -n "$ac_ct_DUMPBIN"; then
5100 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5101 else
5102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5103 for as_dir in $PATH
5105 IFS=$as_save_IFS
5106 test -z "$as_dir" && as_dir=.
5107 for ac_exec_ext in '' $ac_executable_extensions; do
5108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5109 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5111 break 2
5113 done
5114 done
5115 IFS=$as_save_IFS
5119 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5120 if test -n "$ac_ct_DUMPBIN"; then
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5122 $as_echo "$ac_ct_DUMPBIN" >&6; }
5123 else
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5125 $as_echo "no" >&6; }
5129 test -n "$ac_ct_DUMPBIN" && break
5130 done
5132 if test "x$ac_ct_DUMPBIN" = x; then
5133 DUMPBIN=":"
5134 else
5135 case $cross_compiling:$ac_tool_warned in
5136 yes:)
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5138 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5139 ac_tool_warned=yes ;;
5140 esac
5141 DUMPBIN=$ac_ct_DUMPBIN
5145 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5146 *COFF*)
5147 DUMPBIN="$DUMPBIN -symbols"
5150 DUMPBIN=:
5152 esac
5155 if test "$DUMPBIN" != ":"; then
5156 NM="$DUMPBIN"
5159 test -z "$NM" && NM=nm
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5167 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5168 if ${lt_cv_nm_interface+:} false; then :
5169 $as_echo_n "(cached) " >&6
5170 else
5171 lt_cv_nm_interface="BSD nm"
5172 echo "int some_variable = 0;" > conftest.$ac_ext
5173 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5174 (eval "$ac_compile" 2>conftest.err)
5175 cat conftest.err >&5
5176 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5177 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5178 cat conftest.err >&5
5179 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5180 cat conftest.out >&5
5181 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5182 lt_cv_nm_interface="MS dumpbin"
5184 rm -f conftest*
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5187 $as_echo "$lt_cv_nm_interface" >&6; }
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5190 $as_echo_n "checking whether ln -s works... " >&6; }
5191 LN_S=$as_ln_s
5192 if test "$LN_S" = "ln -s"; then
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5194 $as_echo "yes" >&6; }
5195 else
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5197 $as_echo "no, using $LN_S" >&6; }
5200 # find the maximum length of command line arguments
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5202 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5203 if ${lt_cv_sys_max_cmd_len+:} false; then :
5204 $as_echo_n "(cached) " >&6
5205 else
5207 teststring="ABCD"
5209 case $build_os in
5210 msdosdjgpp*)
5211 # On DJGPP, this test can blow up pretty badly due to problems in libc
5212 # (any single argument exceeding 2000 bytes causes a buffer overrun
5213 # during glob expansion). Even if it were fixed, the result of this
5214 # check would be larger than it should be.
5215 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5218 gnu*)
5219 # Under GNU Hurd, this test is not required because there is
5220 # no limit to the length of command line arguments.
5221 # Libtool will interpret -1 as no limit whatsoever
5222 lt_cv_sys_max_cmd_len=-1;
5225 cygwin* | mingw* | cegcc*)
5226 # On Win9x/ME, this test blows up -- it succeeds, but takes
5227 # about 5 minutes as the teststring grows exponentially.
5228 # Worse, since 9x/ME are not pre-emptively multitasking,
5229 # you end up with a "frozen" computer, even though with patience
5230 # the test eventually succeeds (with a max line length of 256k).
5231 # Instead, let's just punt: use the minimum linelength reported by
5232 # all of the supported platforms: 8192 (on NT/2K/XP).
5233 lt_cv_sys_max_cmd_len=8192;
5236 mint*)
5237 # On MiNT this can take a long time and run out of memory.
5238 lt_cv_sys_max_cmd_len=8192;
5241 amigaos*)
5242 # On AmigaOS with pdksh, this test takes hours, literally.
5243 # So we just punt and use a minimum line length of 8192.
5244 lt_cv_sys_max_cmd_len=8192;
5247 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5248 # This has been around since 386BSD, at least. Likely further.
5249 if test -x /sbin/sysctl; then
5250 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5251 elif test -x /usr/sbin/sysctl; then
5252 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5253 else
5254 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5256 # And add a safety zone
5257 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5258 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5261 interix*)
5262 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5263 lt_cv_sys_max_cmd_len=196608
5266 osf*)
5267 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5268 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5269 # nice to cause kernel panics so lets avoid the loop below.
5270 # First set a reasonable default.
5271 lt_cv_sys_max_cmd_len=16384
5273 if test -x /sbin/sysconfig; then
5274 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5275 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5276 esac
5279 sco3.2v5*)
5280 lt_cv_sys_max_cmd_len=102400
5282 sysv5* | sco5v6* | sysv4.2uw2*)
5283 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5284 if test -n "$kargmax"; then
5285 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5286 else
5287 lt_cv_sys_max_cmd_len=32768
5291 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5292 if test -n "$lt_cv_sys_max_cmd_len"; then
5293 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5294 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5295 else
5296 # Make teststring a little bigger before we do anything with it.
5297 # a 1K string should be a reasonable start.
5298 for i in 1 2 3 4 5 6 7 8 ; do
5299 teststring=$teststring$teststring
5300 done
5301 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5302 # If test is not a shell built-in, we'll probably end up computing a
5303 # maximum length that is only half of the actual maximum length, but
5304 # we can't tell.
5305 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5306 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5307 test $i != 17 # 1/2 MB should be enough
5309 i=`expr $i + 1`
5310 teststring=$teststring$teststring
5311 done
5312 # Only check the string length outside the loop.
5313 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5314 teststring=
5315 # Add a significant safety factor because C++ compilers can tack on
5316 # massive amounts of additional arguments before passing them to the
5317 # linker. It appears as though 1/2 is a usable value.
5318 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5321 esac
5325 if test -n $lt_cv_sys_max_cmd_len ; then
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5327 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5328 else
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5330 $as_echo "none" >&6; }
5332 max_cmd_len=$lt_cv_sys_max_cmd_len
5339 : ${CP="cp -f"}
5340 : ${MV="mv -f"}
5341 : ${RM="rm -f"}
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5344 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5345 # Try some XSI features
5346 xsi_shell=no
5347 ( _lt_dummy="a/b/c"
5348 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5349 = c,a/b,b/c, \
5350 && eval 'test $(( 1 + 1 )) -eq 2 \
5351 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5352 && xsi_shell=yes
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5354 $as_echo "$xsi_shell" >&6; }
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5358 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5359 lt_shell_append=no
5360 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5361 >/dev/null 2>&1 \
5362 && lt_shell_append=yes
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5364 $as_echo "$lt_shell_append" >&6; }
5367 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5368 lt_unset=unset
5369 else
5370 lt_unset=false
5377 # test EBCDIC or ASCII
5378 case `echo X|tr X '\101'` in
5379 A) # ASCII based system
5380 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5381 lt_SP2NL='tr \040 \012'
5382 lt_NL2SP='tr \015\012 \040\040'
5384 *) # EBCDIC based system
5385 lt_SP2NL='tr \100 \n'
5386 lt_NL2SP='tr \r\n \100\100'
5388 esac
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5399 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5400 if ${lt_cv_to_host_file_cmd+:} false; then :
5401 $as_echo_n "(cached) " >&6
5402 else
5403 case $host in
5404 *-*-mingw* )
5405 case $build in
5406 *-*-mingw* ) # actually msys
5407 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5409 *-*-cygwin* )
5410 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5412 * ) # otherwise, assume *nix
5413 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5415 esac
5417 *-*-cygwin* )
5418 case $build in
5419 *-*-mingw* ) # actually msys
5420 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5422 *-*-cygwin* )
5423 lt_cv_to_host_file_cmd=func_convert_file_noop
5425 * ) # otherwise, assume *nix
5426 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5428 esac
5430 * ) # unhandled hosts (and "normal" native builds)
5431 lt_cv_to_host_file_cmd=func_convert_file_noop
5433 esac
5437 to_host_file_cmd=$lt_cv_to_host_file_cmd
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5439 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5446 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5447 if ${lt_cv_to_tool_file_cmd+:} false; then :
5448 $as_echo_n "(cached) " >&6
5449 else
5450 #assume ordinary cross tools, or native build.
5451 lt_cv_to_tool_file_cmd=func_convert_file_noop
5452 case $host in
5453 *-*-mingw* )
5454 case $build in
5455 *-*-mingw* ) # actually msys
5456 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5458 esac
5460 esac
5464 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5466 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5473 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5474 if ${lt_cv_ld_reload_flag+:} false; then :
5475 $as_echo_n "(cached) " >&6
5476 else
5477 lt_cv_ld_reload_flag='-r'
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5480 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5481 reload_flag=$lt_cv_ld_reload_flag
5482 case $reload_flag in
5483 "" | " "*) ;;
5484 *) reload_flag=" $reload_flag" ;;
5485 esac
5486 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5487 case $host_os in
5488 cygwin* | mingw* | pw32* | cegcc*)
5489 if test "$GCC" != yes; then
5490 reload_cmds=false
5493 darwin*)
5494 if test "$GCC" = yes; then
5495 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5496 else
5497 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5500 esac
5510 if test -n "$ac_tool_prefix"; then
5511 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5512 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5514 $as_echo_n "checking for $ac_word... " >&6; }
5515 if ${ac_cv_prog_OBJDUMP+:} false; then :
5516 $as_echo_n "(cached) " >&6
5517 else
5518 if test -n "$OBJDUMP"; then
5519 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5520 else
5521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5522 for as_dir in $PATH
5524 IFS=$as_save_IFS
5525 test -z "$as_dir" && as_dir=.
5526 for ac_exec_ext in '' $ac_executable_extensions; do
5527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5528 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5530 break 2
5532 done
5533 done
5534 IFS=$as_save_IFS
5538 OBJDUMP=$ac_cv_prog_OBJDUMP
5539 if test -n "$OBJDUMP"; then
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5541 $as_echo "$OBJDUMP" >&6; }
5542 else
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5544 $as_echo "no" >&6; }
5549 if test -z "$ac_cv_prog_OBJDUMP"; then
5550 ac_ct_OBJDUMP=$OBJDUMP
5551 # Extract the first word of "objdump", so it can be a program name with args.
5552 set dummy objdump; ac_word=$2
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5554 $as_echo_n "checking for $ac_word... " >&6; }
5555 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5556 $as_echo_n "(cached) " >&6
5557 else
5558 if test -n "$ac_ct_OBJDUMP"; then
5559 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5560 else
5561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5562 for as_dir in $PATH
5564 IFS=$as_save_IFS
5565 test -z "$as_dir" && as_dir=.
5566 for ac_exec_ext in '' $ac_executable_extensions; do
5567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5568 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5570 break 2
5572 done
5573 done
5574 IFS=$as_save_IFS
5578 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5579 if test -n "$ac_ct_OBJDUMP"; then
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5581 $as_echo "$ac_ct_OBJDUMP" >&6; }
5582 else
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5584 $as_echo "no" >&6; }
5587 if test "x$ac_ct_OBJDUMP" = x; then
5588 OBJDUMP="false"
5589 else
5590 case $cross_compiling:$ac_tool_warned in
5591 yes:)
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5593 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5594 ac_tool_warned=yes ;;
5595 esac
5596 OBJDUMP=$ac_ct_OBJDUMP
5598 else
5599 OBJDUMP="$ac_cv_prog_OBJDUMP"
5602 test -z "$OBJDUMP" && OBJDUMP=objdump
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5613 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5614 if ${lt_cv_deplibs_check_method+:} false; then :
5615 $as_echo_n "(cached) " >&6
5616 else
5617 lt_cv_file_magic_cmd='$MAGIC_CMD'
5618 lt_cv_file_magic_test_file=
5619 lt_cv_deplibs_check_method='unknown'
5620 # Need to set the preceding variable on all platforms that support
5621 # interlibrary dependencies.
5622 # 'none' -- dependencies not supported.
5623 # `unknown' -- same as none, but documents that we really don't know.
5624 # 'pass_all' -- all dependencies passed with no checks.
5625 # 'test_compile' -- check by making test program.
5626 # 'file_magic [[regex]]' -- check by looking for files in library path
5627 # which responds to the $file_magic_cmd with a given extended regex.
5628 # If you have `file' or equivalent on your system and you're not sure
5629 # whether `pass_all' will *always* work, you probably want this one.
5631 case $host_os in
5632 aix[4-9]*)
5633 lt_cv_deplibs_check_method=pass_all
5636 beos*)
5637 lt_cv_deplibs_check_method=pass_all
5640 bsdi[45]*)
5641 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5642 lt_cv_file_magic_cmd='/usr/bin/file -L'
5643 lt_cv_file_magic_test_file=/shlib/libc.so
5646 cygwin*)
5647 # func_win32_libid is a shell function defined in ltmain.sh
5648 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5649 lt_cv_file_magic_cmd='func_win32_libid'
5652 mingw* | pw32*)
5653 # Base MSYS/MinGW do not provide the 'file' command needed by
5654 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5655 # unless we find 'file', for example because we are cross-compiling.
5656 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5657 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5658 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5659 lt_cv_file_magic_cmd='func_win32_libid'
5660 else
5661 # Keep this pattern in sync with the one in func_win32_libid.
5662 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5663 lt_cv_file_magic_cmd='$OBJDUMP -f'
5667 cegcc*)
5668 # use the weaker test based on 'objdump'. See mingw*.
5669 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5670 lt_cv_file_magic_cmd='$OBJDUMP -f'
5673 darwin* | rhapsody*)
5674 lt_cv_deplibs_check_method=pass_all
5677 freebsd* | dragonfly*)
5678 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5679 case $host_cpu in
5680 i*86 )
5681 # Not sure whether the presence of OpenBSD here was a mistake.
5682 # Let's accept both of them until this is cleared up.
5683 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5684 lt_cv_file_magic_cmd=/usr/bin/file
5685 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5687 esac
5688 else
5689 lt_cv_deplibs_check_method=pass_all
5693 gnu*)
5694 lt_cv_deplibs_check_method=pass_all
5697 haiku*)
5698 lt_cv_deplibs_check_method=pass_all
5701 hpux10.20* | hpux11*)
5702 lt_cv_file_magic_cmd=/usr/bin/file
5703 case $host_cpu in
5704 ia64*)
5705 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5706 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5708 hppa*64*)
5709 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5710 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5713 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5714 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5716 esac
5719 interix[3-9]*)
5720 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5721 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5724 irix5* | irix6* | nonstopux*)
5725 case $LD in
5726 *-32|*"-32 ") libmagic=32-bit;;
5727 *-n32|*"-n32 ") libmagic=N32;;
5728 *-64|*"-64 ") libmagic=64-bit;;
5729 *) libmagic=never-match;;
5730 esac
5731 lt_cv_deplibs_check_method=pass_all
5734 # This must be Linux ELF.
5735 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5736 lt_cv_deplibs_check_method=pass_all
5739 netbsd*)
5740 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5741 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5742 else
5743 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5747 newos6*)
5748 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5749 lt_cv_file_magic_cmd=/usr/bin/file
5750 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5753 *nto* | *qnx*)
5754 lt_cv_deplibs_check_method=pass_all
5757 openbsd*)
5758 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5759 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5760 else
5761 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5765 osf3* | osf4* | osf5*)
5766 lt_cv_deplibs_check_method=pass_all
5769 rdos*)
5770 lt_cv_deplibs_check_method=pass_all
5773 solaris*)
5774 lt_cv_deplibs_check_method=pass_all
5777 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5778 lt_cv_deplibs_check_method=pass_all
5781 sysv4 | sysv4.3*)
5782 case $host_vendor in
5783 motorola)
5784 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
5785 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5787 ncr)
5788 lt_cv_deplibs_check_method=pass_all
5790 sequent)
5791 lt_cv_file_magic_cmd='/bin/file'
5792 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5794 sni)
5795 lt_cv_file_magic_cmd='/bin/file'
5796 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5797 lt_cv_file_magic_test_file=/lib/libc.so
5799 siemens)
5800 lt_cv_deplibs_check_method=pass_all
5803 lt_cv_deplibs_check_method=pass_all
5805 esac
5808 tpf*)
5809 lt_cv_deplibs_check_method=pass_all
5811 esac
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5815 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5817 file_magic_glob=
5818 want_nocaseglob=no
5819 if test "$build" = "$host"; then
5820 case $host_os in
5821 mingw* | pw32*)
5822 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5823 want_nocaseglob=yes
5824 else
5825 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5828 esac
5831 file_magic_cmd=$lt_cv_file_magic_cmd
5832 deplibs_check_method=$lt_cv_deplibs_check_method
5833 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5856 if test -n "$ac_tool_prefix"; then
5857 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5858 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5860 $as_echo_n "checking for $ac_word... " >&6; }
5861 if ${ac_cv_prog_DLLTOOL+:} false; then :
5862 $as_echo_n "(cached) " >&6
5863 else
5864 if test -n "$DLLTOOL"; then
5865 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5866 else
5867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5868 for as_dir in $PATH
5870 IFS=$as_save_IFS
5871 test -z "$as_dir" && as_dir=.
5872 for ac_exec_ext in '' $ac_executable_extensions; do
5873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5874 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5876 break 2
5878 done
5879 done
5880 IFS=$as_save_IFS
5884 DLLTOOL=$ac_cv_prog_DLLTOOL
5885 if test -n "$DLLTOOL"; then
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5887 $as_echo "$DLLTOOL" >&6; }
5888 else
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5890 $as_echo "no" >&6; }
5895 if test -z "$ac_cv_prog_DLLTOOL"; then
5896 ac_ct_DLLTOOL=$DLLTOOL
5897 # Extract the first word of "dlltool", so it can be a program name with args.
5898 set dummy dlltool; ac_word=$2
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5900 $as_echo_n "checking for $ac_word... " >&6; }
5901 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5902 $as_echo_n "(cached) " >&6
5903 else
5904 if test -n "$ac_ct_DLLTOOL"; then
5905 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5906 else
5907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5908 for as_dir in $PATH
5910 IFS=$as_save_IFS
5911 test -z "$as_dir" && as_dir=.
5912 for ac_exec_ext in '' $ac_executable_extensions; do
5913 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5914 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5915 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5916 break 2
5918 done
5919 done
5920 IFS=$as_save_IFS
5924 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5925 if test -n "$ac_ct_DLLTOOL"; then
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5927 $as_echo "$ac_ct_DLLTOOL" >&6; }
5928 else
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5930 $as_echo "no" >&6; }
5933 if test "x$ac_ct_DLLTOOL" = x; then
5934 DLLTOOL="false"
5935 else
5936 case $cross_compiling:$ac_tool_warned in
5937 yes:)
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5939 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5940 ac_tool_warned=yes ;;
5941 esac
5942 DLLTOOL=$ac_ct_DLLTOOL
5944 else
5945 DLLTOOL="$ac_cv_prog_DLLTOOL"
5948 test -z "$DLLTOOL" && DLLTOOL=dlltool
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5960 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5961 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5962 $as_echo_n "(cached) " >&6
5963 else
5964 lt_cv_sharedlib_from_linklib_cmd='unknown'
5966 case $host_os in
5967 cygwin* | mingw* | pw32* | cegcc*)
5968 # two different shell functions defined in ltmain.sh
5969 # decide which to use based on capabilities of $DLLTOOL
5970 case `$DLLTOOL --help 2>&1` in
5971 *--identify-strict*)
5972 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5975 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5977 esac
5980 # fallback: assume linklib IS sharedlib
5981 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5983 esac
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5987 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5988 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5989 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5997 if test -n "$ac_tool_prefix"; then
5998 for ac_prog in ar
6000 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6001 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6003 $as_echo_n "checking for $ac_word... " >&6; }
6004 if ${ac_cv_prog_AR+:} false; then :
6005 $as_echo_n "(cached) " >&6
6006 else
6007 if test -n "$AR"; then
6008 ac_cv_prog_AR="$AR" # Let the user override the test.
6009 else
6010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6011 for as_dir in $PATH
6013 IFS=$as_save_IFS
6014 test -z "$as_dir" && as_dir=.
6015 for ac_exec_ext in '' $ac_executable_extensions; do
6016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6017 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6019 break 2
6021 done
6022 done
6023 IFS=$as_save_IFS
6027 AR=$ac_cv_prog_AR
6028 if test -n "$AR"; then
6029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6030 $as_echo "$AR" >&6; }
6031 else
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6033 $as_echo "no" >&6; }
6037 test -n "$AR" && break
6038 done
6040 if test -z "$AR"; then
6041 ac_ct_AR=$AR
6042 for ac_prog in ar
6044 # Extract the first word of "$ac_prog", so it can be a program name with args.
6045 set dummy $ac_prog; ac_word=$2
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6047 $as_echo_n "checking for $ac_word... " >&6; }
6048 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6049 $as_echo_n "(cached) " >&6
6050 else
6051 if test -n "$ac_ct_AR"; then
6052 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6053 else
6054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6055 for as_dir in $PATH
6057 IFS=$as_save_IFS
6058 test -z "$as_dir" && as_dir=.
6059 for ac_exec_ext in '' $ac_executable_extensions; do
6060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6061 ac_cv_prog_ac_ct_AR="$ac_prog"
6062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6063 break 2
6065 done
6066 done
6067 IFS=$as_save_IFS
6071 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6072 if test -n "$ac_ct_AR"; then
6073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6074 $as_echo "$ac_ct_AR" >&6; }
6075 else
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6077 $as_echo "no" >&6; }
6081 test -n "$ac_ct_AR" && break
6082 done
6084 if test "x$ac_ct_AR" = x; then
6085 AR="false"
6086 else
6087 case $cross_compiling:$ac_tool_warned in
6088 yes:)
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6090 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6091 ac_tool_warned=yes ;;
6092 esac
6093 AR=$ac_ct_AR
6097 : ${AR=ar}
6098 : ${AR_FLAGS=cru}
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6111 $as_echo_n "checking for archiver @FILE support... " >&6; }
6112 if ${lt_cv_ar_at_file+:} false; then :
6113 $as_echo_n "(cached) " >&6
6114 else
6115 lt_cv_ar_at_file=no
6116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6117 /* end confdefs.h. */
6120 main ()
6124 return 0;
6126 _ACEOF
6127 if ac_fn_c_try_compile "$LINENO"; then :
6128 echo conftest.$ac_objext > conftest.lst
6129 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6130 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6131 (eval $lt_ar_try) 2>&5
6132 ac_status=$?
6133 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6134 test $ac_status = 0; }
6135 if test "$ac_status" -eq 0; then
6136 # Ensure the archiver fails upon bogus file names.
6137 rm -f conftest.$ac_objext libconftest.a
6138 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6139 (eval $lt_ar_try) 2>&5
6140 ac_status=$?
6141 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6142 test $ac_status = 0; }
6143 if test "$ac_status" -ne 0; then
6144 lt_cv_ar_at_file=@
6147 rm -f conftest.* libconftest.a
6150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6154 $as_echo "$lt_cv_ar_at_file" >&6; }
6156 if test "x$lt_cv_ar_at_file" = xno; then
6157 archiver_list_spec=
6158 else
6159 archiver_list_spec=$lt_cv_ar_at_file
6168 if test -n "$ac_tool_prefix"; then
6169 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6170 set dummy ${ac_tool_prefix}strip; ac_word=$2
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6172 $as_echo_n "checking for $ac_word... " >&6; }
6173 if ${ac_cv_prog_STRIP+:} false; then :
6174 $as_echo_n "(cached) " >&6
6175 else
6176 if test -n "$STRIP"; then
6177 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6178 else
6179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6180 for as_dir in $PATH
6182 IFS=$as_save_IFS
6183 test -z "$as_dir" && as_dir=.
6184 for ac_exec_ext in '' $ac_executable_extensions; do
6185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6186 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6188 break 2
6190 done
6191 done
6192 IFS=$as_save_IFS
6196 STRIP=$ac_cv_prog_STRIP
6197 if test -n "$STRIP"; then
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6199 $as_echo "$STRIP" >&6; }
6200 else
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6202 $as_echo "no" >&6; }
6207 if test -z "$ac_cv_prog_STRIP"; then
6208 ac_ct_STRIP=$STRIP
6209 # Extract the first word of "strip", so it can be a program name with args.
6210 set dummy strip; ac_word=$2
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6212 $as_echo_n "checking for $ac_word... " >&6; }
6213 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6214 $as_echo_n "(cached) " >&6
6215 else
6216 if test -n "$ac_ct_STRIP"; then
6217 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6218 else
6219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6220 for as_dir in $PATH
6222 IFS=$as_save_IFS
6223 test -z "$as_dir" && as_dir=.
6224 for ac_exec_ext in '' $ac_executable_extensions; do
6225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6226 ac_cv_prog_ac_ct_STRIP="strip"
6227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6228 break 2
6230 done
6231 done
6232 IFS=$as_save_IFS
6236 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6237 if test -n "$ac_ct_STRIP"; then
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6239 $as_echo "$ac_ct_STRIP" >&6; }
6240 else
6241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6242 $as_echo "no" >&6; }
6245 if test "x$ac_ct_STRIP" = x; then
6246 STRIP=":"
6247 else
6248 case $cross_compiling:$ac_tool_warned in
6249 yes:)
6250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6251 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6252 ac_tool_warned=yes ;;
6253 esac
6254 STRIP=$ac_ct_STRIP
6256 else
6257 STRIP="$ac_cv_prog_STRIP"
6260 test -z "$STRIP" && STRIP=:
6267 if test -n "$ac_tool_prefix"; then
6268 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6269 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6271 $as_echo_n "checking for $ac_word... " >&6; }
6272 if ${ac_cv_prog_RANLIB+:} false; then :
6273 $as_echo_n "(cached) " >&6
6274 else
6275 if test -n "$RANLIB"; then
6276 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6277 else
6278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6279 for as_dir in $PATH
6281 IFS=$as_save_IFS
6282 test -z "$as_dir" && as_dir=.
6283 for ac_exec_ext in '' $ac_executable_extensions; do
6284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6285 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6287 break 2
6289 done
6290 done
6291 IFS=$as_save_IFS
6295 RANLIB=$ac_cv_prog_RANLIB
6296 if test -n "$RANLIB"; then
6297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6298 $as_echo "$RANLIB" >&6; }
6299 else
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6301 $as_echo "no" >&6; }
6306 if test -z "$ac_cv_prog_RANLIB"; then
6307 ac_ct_RANLIB=$RANLIB
6308 # Extract the first word of "ranlib", so it can be a program name with args.
6309 set dummy ranlib; ac_word=$2
6310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6311 $as_echo_n "checking for $ac_word... " >&6; }
6312 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6313 $as_echo_n "(cached) " >&6
6314 else
6315 if test -n "$ac_ct_RANLIB"; then
6316 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6317 else
6318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6319 for as_dir in $PATH
6321 IFS=$as_save_IFS
6322 test -z "$as_dir" && as_dir=.
6323 for ac_exec_ext in '' $ac_executable_extensions; do
6324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6325 ac_cv_prog_ac_ct_RANLIB="ranlib"
6326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6327 break 2
6329 done
6330 done
6331 IFS=$as_save_IFS
6335 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6336 if test -n "$ac_ct_RANLIB"; then
6337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6338 $as_echo "$ac_ct_RANLIB" >&6; }
6339 else
6340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6341 $as_echo "no" >&6; }
6344 if test "x$ac_ct_RANLIB" = x; then
6345 RANLIB=":"
6346 else
6347 case $cross_compiling:$ac_tool_warned in
6348 yes:)
6349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6350 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6351 ac_tool_warned=yes ;;
6352 esac
6353 RANLIB=$ac_ct_RANLIB
6355 else
6356 RANLIB="$ac_cv_prog_RANLIB"
6359 test -z "$RANLIB" && RANLIB=:
6366 # Determine commands to create old-style static archives.
6367 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6368 old_postinstall_cmds='chmod 644 $oldlib'
6369 old_postuninstall_cmds=
6371 if test -n "$RANLIB"; then
6372 case $host_os in
6373 openbsd*)
6374 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6377 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6379 esac
6380 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6383 case $host_os in
6384 darwin*)
6385 lock_old_archive_extraction=yes ;;
6387 lock_old_archive_extraction=no ;;
6388 esac
6428 # If no C compiler was specified, use CC.
6429 LTCC=${LTCC-"$CC"}
6431 # If no C compiler flags were specified, use CFLAGS.
6432 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6434 # Allow CC to be a program name with arguments.
6435 compiler=$CC
6438 # Check for command to grab the raw symbol name followed by C symbol from nm.
6439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6440 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6441 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6442 $as_echo_n "(cached) " >&6
6443 else
6445 # These are sane defaults that work on at least a few old systems.
6446 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6448 # Character class describing NM global symbol codes.
6449 symcode='[BCDEGRST]'
6451 # Regexp to match symbols that can be accessed directly from C.
6452 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6454 # Define system-specific variables.
6455 case $host_os in
6456 aix*)
6457 symcode='[BCDT]'
6459 cygwin* | mingw* | pw32* | cegcc*)
6460 symcode='[ABCDGISTW]'
6462 hpux*)
6463 if test "$host_cpu" = ia64; then
6464 symcode='[ABCDEGRST]'
6467 irix* | nonstopux*)
6468 symcode='[BCDEGRST]'
6470 osf*)
6471 symcode='[BCDEGQRST]'
6473 solaris*)
6474 symcode='[BDRT]'
6476 sco3.2v5*)
6477 symcode='[DT]'
6479 sysv4.2uw2*)
6480 symcode='[DT]'
6482 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6483 symcode='[ABDT]'
6485 sysv4)
6486 symcode='[DFNSTU]'
6488 esac
6490 # If we're using GNU nm, then use its standard symbol codes.
6491 case `$NM -V 2>&1` in
6492 *GNU* | *'with BFD'*)
6493 symcode='[ABCDGIRSTW]' ;;
6494 esac
6496 # Transform an extracted symbol line into a proper C declaration.
6497 # Some systems (esp. on ia64) link data and code symbols differently,
6498 # so use this general approach.
6499 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6501 # Transform an extracted symbol line into symbol name and symbol address
6502 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6503 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6505 # Handle CRLF in mingw tool chain
6506 opt_cr=
6507 case $build_os in
6508 mingw*)
6509 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6511 esac
6513 # Try without a prefix underscore, then with it.
6514 for ac_symprfx in "" "_"; do
6516 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6517 symxfrm="\\1 $ac_symprfx\\2 \\2"
6519 # Write the raw and C identifiers.
6520 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6521 # Fake it for dumpbin and say T for any non-static function
6522 # and D for any global variable.
6523 # Also find C++ and __fastcall symbols from MSVC++,
6524 # which start with @ or ?.
6525 lt_cv_sys_global_symbol_pipe="$AWK '"\
6526 " {last_section=section; section=\$ 3};"\
6527 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6528 " \$ 0!~/External *\|/{next};"\
6529 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6530 " {if(hide[section]) next};"\
6531 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6532 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6533 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6534 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6535 " ' prfx=^$ac_symprfx"
6536 else
6537 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6539 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6541 # Check to see that the pipe works correctly.
6542 pipe_works=no
6544 rm -f conftest*
6545 cat > conftest.$ac_ext <<_LT_EOF
6546 #ifdef __cplusplus
6547 extern "C" {
6548 #endif
6549 char nm_test_var;
6550 void nm_test_func(void);
6551 void nm_test_func(void){}
6552 #ifdef __cplusplus
6554 #endif
6555 int main(){nm_test_var='a';nm_test_func();return(0);}
6556 _LT_EOF
6558 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6559 (eval $ac_compile) 2>&5
6560 ac_status=$?
6561 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6562 test $ac_status = 0; }; then
6563 # Now try to grab the symbols.
6564 nlist=conftest.nm
6565 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6566 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6567 ac_status=$?
6568 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6569 test $ac_status = 0; } && test -s "$nlist"; then
6570 # Try sorting and uniquifying the output.
6571 if sort "$nlist" | uniq > "$nlist"T; then
6572 mv -f "$nlist"T "$nlist"
6573 else
6574 rm -f "$nlist"T
6577 # Make sure that we snagged all the symbols we need.
6578 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6579 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6580 cat <<_LT_EOF > conftest.$ac_ext
6581 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6582 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6583 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6584 relocations are performed -- see ld's documentation on pseudo-relocs. */
6585 # define LT_DLSYM_CONST
6586 #elif defined(__osf__)
6587 /* This system does not cope well with relocations in const data. */
6588 # define LT_DLSYM_CONST
6589 #else
6590 # define LT_DLSYM_CONST const
6591 #endif
6593 #ifdef __cplusplus
6594 extern "C" {
6595 #endif
6597 _LT_EOF
6598 # Now generate the symbol file.
6599 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6601 cat <<_LT_EOF >> conftest.$ac_ext
6603 /* The mapping between symbol names and symbols. */
6604 LT_DLSYM_CONST struct {
6605 const char *name;
6606 void *address;
6608 lt__PROGRAM__LTX_preloaded_symbols[] =
6610 { "@PROGRAM@", (void *) 0 },
6611 _LT_EOF
6612 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6613 cat <<\_LT_EOF >> conftest.$ac_ext
6614 {0, (void *) 0}
6617 /* This works around a problem in FreeBSD linker */
6618 #ifdef FREEBSD_WORKAROUND
6619 static const void *lt_preloaded_setup() {
6620 return lt__PROGRAM__LTX_preloaded_symbols;
6622 #endif
6624 #ifdef __cplusplus
6626 #endif
6627 _LT_EOF
6628 # Now try linking the two files.
6629 mv conftest.$ac_objext conftstm.$ac_objext
6630 lt_globsym_save_LIBS=$LIBS
6631 lt_globsym_save_CFLAGS=$CFLAGS
6632 LIBS="conftstm.$ac_objext"
6633 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6634 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6635 (eval $ac_link) 2>&5
6636 ac_status=$?
6637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6638 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6639 pipe_works=yes
6641 LIBS=$lt_globsym_save_LIBS
6642 CFLAGS=$lt_globsym_save_CFLAGS
6643 else
6644 echo "cannot find nm_test_func in $nlist" >&5
6646 else
6647 echo "cannot find nm_test_var in $nlist" >&5
6649 else
6650 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6652 else
6653 echo "$progname: failed program was:" >&5
6654 cat conftest.$ac_ext >&5
6656 rm -rf conftest* conftst*
6658 # Do not use the global_symbol_pipe unless it works.
6659 if test "$pipe_works" = yes; then
6660 break
6661 else
6662 lt_cv_sys_global_symbol_pipe=
6664 done
6668 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6669 lt_cv_sys_global_symbol_to_cdecl=
6671 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6673 $as_echo "failed" >&6; }
6674 else
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6676 $as_echo "ok" >&6; }
6679 # Response file support.
6680 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6681 nm_file_list_spec='@'
6682 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6683 nm_file_list_spec='@'
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6713 $as_echo_n "checking for sysroot... " >&6; }
6715 # Check whether --with-sysroot was given.
6716 if test "${with_sysroot+set}" = set; then :
6717 withval=$with_sysroot;
6718 else
6719 with_sysroot=no
6723 lt_sysroot=
6724 case ${with_sysroot} in #(
6725 yes)
6726 if test "$GCC" = yes; then
6727 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6729 ;; #(
6731 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6732 ;; #(
6733 no|'')
6734 ;; #(
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6737 $as_echo "${with_sysroot}" >&6; }
6738 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6740 esac
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6743 $as_echo "${lt_sysroot:-no}" >&6; }
6749 # Check whether --enable-libtool-lock was given.
6750 if test "${enable_libtool_lock+set}" = set; then :
6751 enableval=$enable_libtool_lock;
6754 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6756 # Some flags need to be propagated to the compiler or linker for good
6757 # libtool support.
6758 case $host in
6759 ia64-*-hpux*)
6760 # Find out which ABI we are using.
6761 echo 'int i;' > conftest.$ac_ext
6762 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6763 (eval $ac_compile) 2>&5
6764 ac_status=$?
6765 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6766 test $ac_status = 0; }; then
6767 case `/usr/bin/file conftest.$ac_objext` in
6768 *ELF-32*)
6769 HPUX_IA64_MODE="32"
6771 *ELF-64*)
6772 HPUX_IA64_MODE="64"
6774 esac
6776 rm -rf conftest*
6778 *-*-irix6*)
6779 # Find out which ABI we are using.
6780 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6781 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6782 (eval $ac_compile) 2>&5
6783 ac_status=$?
6784 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6785 test $ac_status = 0; }; then
6786 if test "$lt_cv_prog_gnu_ld" = yes; then
6787 case `/usr/bin/file conftest.$ac_objext` in
6788 *32-bit*)
6789 LD="${LD-ld} -melf32bsmip"
6791 *N32*)
6792 LD="${LD-ld} -melf32bmipn32"
6794 *64-bit*)
6795 LD="${LD-ld} -melf64bmip"
6797 esac
6798 else
6799 case `/usr/bin/file conftest.$ac_objext` in
6800 *32-bit*)
6801 LD="${LD-ld} -32"
6803 *N32*)
6804 LD="${LD-ld} -n32"
6806 *64-bit*)
6807 LD="${LD-ld} -64"
6809 esac
6812 rm -rf conftest*
6815 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6816 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6817 # Find out which ABI we are using.
6818 echo 'int i;' > conftest.$ac_ext
6819 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6820 (eval $ac_compile) 2>&5
6821 ac_status=$?
6822 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6823 test $ac_status = 0; }; then
6824 case `/usr/bin/file conftest.o` in
6825 *32-bit*)
6826 case $host in
6827 x86_64-*kfreebsd*-gnu)
6828 LD="${LD-ld} -m elf_i386_fbsd"
6830 x86_64-*linux*)
6831 LD="${LD-ld} -m elf_i386"
6833 ppc64-*linux*|powerpc64-*linux*)
6834 LD="${LD-ld} -m elf32ppclinux"
6836 s390x-*linux*)
6837 LD="${LD-ld} -m elf_s390"
6839 sparc64-*linux*)
6840 LD="${LD-ld} -m elf32_sparc"
6842 esac
6844 *64-bit*)
6845 case $host in
6846 x86_64-*kfreebsd*-gnu)
6847 LD="${LD-ld} -m elf_x86_64_fbsd"
6849 x86_64-*linux*)
6850 LD="${LD-ld} -m elf_x86_64"
6852 ppc*-*linux*|powerpc*-*linux*)
6853 LD="${LD-ld} -m elf64ppc"
6855 s390*-*linux*|s390*-*tpf*)
6856 LD="${LD-ld} -m elf64_s390"
6858 sparc*-*linux*)
6859 LD="${LD-ld} -m elf64_sparc"
6861 esac
6863 esac
6865 rm -rf conftest*
6868 *-*-sco3.2v5*)
6869 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6870 SAVE_CFLAGS="$CFLAGS"
6871 CFLAGS="$CFLAGS -belf"
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6873 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6874 if ${lt_cv_cc_needs_belf+:} false; then :
6875 $as_echo_n "(cached) " >&6
6876 else
6877 ac_ext=c
6878 ac_cpp='$CPP $CPPFLAGS'
6879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6884 /* end confdefs.h. */
6887 main ()
6891 return 0;
6893 _ACEOF
6894 if ac_fn_c_try_link "$LINENO"; then :
6895 lt_cv_cc_needs_belf=yes
6896 else
6897 lt_cv_cc_needs_belf=no
6899 rm -f core conftest.err conftest.$ac_objext \
6900 conftest$ac_exeext conftest.$ac_ext
6901 ac_ext=c
6902 ac_cpp='$CPP $CPPFLAGS'
6903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6909 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6910 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6911 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6912 CFLAGS="$SAVE_CFLAGS"
6915 sparc*-*solaris*)
6916 # Find out which ABI we are using.
6917 echo 'int i;' > conftest.$ac_ext
6918 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6919 (eval $ac_compile) 2>&5
6920 ac_status=$?
6921 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6922 test $ac_status = 0; }; then
6923 case `/usr/bin/file conftest.o` in
6924 *64-bit*)
6925 case $lt_cv_prog_gnu_ld in
6926 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6928 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6929 LD="${LD-ld} -64"
6932 esac
6934 esac
6936 rm -rf conftest*
6938 esac
6940 need_locks="$enable_libtool_lock"
6942 if test -n "$ac_tool_prefix"; then
6943 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6944 set dummy ${ac_tool_prefix}mt; ac_word=$2
6945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6946 $as_echo_n "checking for $ac_word... " >&6; }
6947 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6948 $as_echo_n "(cached) " >&6
6949 else
6950 if test -n "$MANIFEST_TOOL"; then
6951 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6952 else
6953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6954 for as_dir in $PATH
6956 IFS=$as_save_IFS
6957 test -z "$as_dir" && as_dir=.
6958 for ac_exec_ext in '' $ac_executable_extensions; do
6959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6960 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6962 break 2
6964 done
6965 done
6966 IFS=$as_save_IFS
6970 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6971 if test -n "$MANIFEST_TOOL"; then
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6973 $as_echo "$MANIFEST_TOOL" >&6; }
6974 else
6975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6976 $as_echo "no" >&6; }
6981 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6982 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6983 # Extract the first word of "mt", so it can be a program name with args.
6984 set dummy mt; ac_word=$2
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6986 $as_echo_n "checking for $ac_word... " >&6; }
6987 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6988 $as_echo_n "(cached) " >&6
6989 else
6990 if test -n "$ac_ct_MANIFEST_TOOL"; then
6991 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6992 else
6993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6994 for as_dir in $PATH
6996 IFS=$as_save_IFS
6997 test -z "$as_dir" && as_dir=.
6998 for ac_exec_ext in '' $ac_executable_extensions; do
6999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7000 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7002 break 2
7004 done
7005 done
7006 IFS=$as_save_IFS
7010 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7011 if test -n "$ac_ct_MANIFEST_TOOL"; then
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7013 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7014 else
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7016 $as_echo "no" >&6; }
7019 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7020 MANIFEST_TOOL=":"
7021 else
7022 case $cross_compiling:$ac_tool_warned in
7023 yes:)
7024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7025 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7026 ac_tool_warned=yes ;;
7027 esac
7028 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7030 else
7031 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7034 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7036 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7037 if ${lt_cv_path_mainfest_tool+:} false; then :
7038 $as_echo_n "(cached) " >&6
7039 else
7040 lt_cv_path_mainfest_tool=no
7041 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7042 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7043 cat conftest.err >&5
7044 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7045 lt_cv_path_mainfest_tool=yes
7047 rm -f conftest*
7049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7050 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7051 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7052 MANIFEST_TOOL=:
7060 case $host_os in
7061 rhapsody* | darwin*)
7062 if test -n "$ac_tool_prefix"; then
7063 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7064 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7066 $as_echo_n "checking for $ac_word... " >&6; }
7067 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7068 $as_echo_n "(cached) " >&6
7069 else
7070 if test -n "$DSYMUTIL"; then
7071 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7072 else
7073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7074 for as_dir in $PATH
7076 IFS=$as_save_IFS
7077 test -z "$as_dir" && as_dir=.
7078 for ac_exec_ext in '' $ac_executable_extensions; do
7079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7080 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7082 break 2
7084 done
7085 done
7086 IFS=$as_save_IFS
7090 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7091 if test -n "$DSYMUTIL"; then
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7093 $as_echo "$DSYMUTIL" >&6; }
7094 else
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7096 $as_echo "no" >&6; }
7101 if test -z "$ac_cv_prog_DSYMUTIL"; then
7102 ac_ct_DSYMUTIL=$DSYMUTIL
7103 # Extract the first word of "dsymutil", so it can be a program name with args.
7104 set dummy dsymutil; ac_word=$2
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7106 $as_echo_n "checking for $ac_word... " >&6; }
7107 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7108 $as_echo_n "(cached) " >&6
7109 else
7110 if test -n "$ac_ct_DSYMUTIL"; then
7111 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7112 else
7113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7114 for as_dir in $PATH
7116 IFS=$as_save_IFS
7117 test -z "$as_dir" && as_dir=.
7118 for ac_exec_ext in '' $ac_executable_extensions; do
7119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7120 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7122 break 2
7124 done
7125 done
7126 IFS=$as_save_IFS
7130 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7131 if test -n "$ac_ct_DSYMUTIL"; then
7132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7133 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7134 else
7135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7136 $as_echo "no" >&6; }
7139 if test "x$ac_ct_DSYMUTIL" = x; then
7140 DSYMUTIL=":"
7141 else
7142 case $cross_compiling:$ac_tool_warned in
7143 yes:)
7144 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7145 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7146 ac_tool_warned=yes ;;
7147 esac
7148 DSYMUTIL=$ac_ct_DSYMUTIL
7150 else
7151 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7154 if test -n "$ac_tool_prefix"; then
7155 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7156 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7158 $as_echo_n "checking for $ac_word... " >&6; }
7159 if ${ac_cv_prog_NMEDIT+:} false; then :
7160 $as_echo_n "(cached) " >&6
7161 else
7162 if test -n "$NMEDIT"; then
7163 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7164 else
7165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7166 for as_dir in $PATH
7168 IFS=$as_save_IFS
7169 test -z "$as_dir" && as_dir=.
7170 for ac_exec_ext in '' $ac_executable_extensions; do
7171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7172 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7174 break 2
7176 done
7177 done
7178 IFS=$as_save_IFS
7182 NMEDIT=$ac_cv_prog_NMEDIT
7183 if test -n "$NMEDIT"; then
7184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7185 $as_echo "$NMEDIT" >&6; }
7186 else
7187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7188 $as_echo "no" >&6; }
7193 if test -z "$ac_cv_prog_NMEDIT"; then
7194 ac_ct_NMEDIT=$NMEDIT
7195 # Extract the first word of "nmedit", so it can be a program name with args.
7196 set dummy nmedit; ac_word=$2
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7198 $as_echo_n "checking for $ac_word... " >&6; }
7199 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7200 $as_echo_n "(cached) " >&6
7201 else
7202 if test -n "$ac_ct_NMEDIT"; then
7203 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7204 else
7205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7206 for as_dir in $PATH
7208 IFS=$as_save_IFS
7209 test -z "$as_dir" && as_dir=.
7210 for ac_exec_ext in '' $ac_executable_extensions; do
7211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7212 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7214 break 2
7216 done
7217 done
7218 IFS=$as_save_IFS
7222 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7223 if test -n "$ac_ct_NMEDIT"; then
7224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7225 $as_echo "$ac_ct_NMEDIT" >&6; }
7226 else
7227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7228 $as_echo "no" >&6; }
7231 if test "x$ac_ct_NMEDIT" = x; then
7232 NMEDIT=":"
7233 else
7234 case $cross_compiling:$ac_tool_warned in
7235 yes:)
7236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7237 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7238 ac_tool_warned=yes ;;
7239 esac
7240 NMEDIT=$ac_ct_NMEDIT
7242 else
7243 NMEDIT="$ac_cv_prog_NMEDIT"
7246 if test -n "$ac_tool_prefix"; then
7247 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7248 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7250 $as_echo_n "checking for $ac_word... " >&6; }
7251 if ${ac_cv_prog_LIPO+:} false; then :
7252 $as_echo_n "(cached) " >&6
7253 else
7254 if test -n "$LIPO"; then
7255 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7256 else
7257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7258 for as_dir in $PATH
7260 IFS=$as_save_IFS
7261 test -z "$as_dir" && as_dir=.
7262 for ac_exec_ext in '' $ac_executable_extensions; do
7263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7264 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7266 break 2
7268 done
7269 done
7270 IFS=$as_save_IFS
7274 LIPO=$ac_cv_prog_LIPO
7275 if test -n "$LIPO"; then
7276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7277 $as_echo "$LIPO" >&6; }
7278 else
7279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7280 $as_echo "no" >&6; }
7285 if test -z "$ac_cv_prog_LIPO"; then
7286 ac_ct_LIPO=$LIPO
7287 # Extract the first word of "lipo", so it can be a program name with args.
7288 set dummy lipo; ac_word=$2
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7290 $as_echo_n "checking for $ac_word... " >&6; }
7291 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7292 $as_echo_n "(cached) " >&6
7293 else
7294 if test -n "$ac_ct_LIPO"; then
7295 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7296 else
7297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7298 for as_dir in $PATH
7300 IFS=$as_save_IFS
7301 test -z "$as_dir" && as_dir=.
7302 for ac_exec_ext in '' $ac_executable_extensions; do
7303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7304 ac_cv_prog_ac_ct_LIPO="lipo"
7305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7306 break 2
7308 done
7309 done
7310 IFS=$as_save_IFS
7314 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7315 if test -n "$ac_ct_LIPO"; then
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7317 $as_echo "$ac_ct_LIPO" >&6; }
7318 else
7319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7320 $as_echo "no" >&6; }
7323 if test "x$ac_ct_LIPO" = x; then
7324 LIPO=":"
7325 else
7326 case $cross_compiling:$ac_tool_warned in
7327 yes:)
7328 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7329 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7330 ac_tool_warned=yes ;;
7331 esac
7332 LIPO=$ac_ct_LIPO
7334 else
7335 LIPO="$ac_cv_prog_LIPO"
7338 if test -n "$ac_tool_prefix"; then
7339 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7340 set dummy ${ac_tool_prefix}otool; ac_word=$2
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7342 $as_echo_n "checking for $ac_word... " >&6; }
7343 if ${ac_cv_prog_OTOOL+:} false; then :
7344 $as_echo_n "(cached) " >&6
7345 else
7346 if test -n "$OTOOL"; then
7347 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7348 else
7349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7350 for as_dir in $PATH
7352 IFS=$as_save_IFS
7353 test -z "$as_dir" && as_dir=.
7354 for ac_exec_ext in '' $ac_executable_extensions; do
7355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7356 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7358 break 2
7360 done
7361 done
7362 IFS=$as_save_IFS
7366 OTOOL=$ac_cv_prog_OTOOL
7367 if test -n "$OTOOL"; then
7368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7369 $as_echo "$OTOOL" >&6; }
7370 else
7371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7372 $as_echo "no" >&6; }
7377 if test -z "$ac_cv_prog_OTOOL"; then
7378 ac_ct_OTOOL=$OTOOL
7379 # Extract the first word of "otool", so it can be a program name with args.
7380 set dummy otool; ac_word=$2
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7382 $as_echo_n "checking for $ac_word... " >&6; }
7383 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7384 $as_echo_n "(cached) " >&6
7385 else
7386 if test -n "$ac_ct_OTOOL"; then
7387 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7388 else
7389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7390 for as_dir in $PATH
7392 IFS=$as_save_IFS
7393 test -z "$as_dir" && as_dir=.
7394 for ac_exec_ext in '' $ac_executable_extensions; do
7395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7396 ac_cv_prog_ac_ct_OTOOL="otool"
7397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7398 break 2
7400 done
7401 done
7402 IFS=$as_save_IFS
7406 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7407 if test -n "$ac_ct_OTOOL"; then
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7409 $as_echo "$ac_ct_OTOOL" >&6; }
7410 else
7411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7412 $as_echo "no" >&6; }
7415 if test "x$ac_ct_OTOOL" = x; then
7416 OTOOL=":"
7417 else
7418 case $cross_compiling:$ac_tool_warned in
7419 yes:)
7420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7421 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7422 ac_tool_warned=yes ;;
7423 esac
7424 OTOOL=$ac_ct_OTOOL
7426 else
7427 OTOOL="$ac_cv_prog_OTOOL"
7430 if test -n "$ac_tool_prefix"; then
7431 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7432 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7434 $as_echo_n "checking for $ac_word... " >&6; }
7435 if ${ac_cv_prog_OTOOL64+:} false; then :
7436 $as_echo_n "(cached) " >&6
7437 else
7438 if test -n "$OTOOL64"; then
7439 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7440 else
7441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7442 for as_dir in $PATH
7444 IFS=$as_save_IFS
7445 test -z "$as_dir" && as_dir=.
7446 for ac_exec_ext in '' $ac_executable_extensions; do
7447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7448 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7450 break 2
7452 done
7453 done
7454 IFS=$as_save_IFS
7458 OTOOL64=$ac_cv_prog_OTOOL64
7459 if test -n "$OTOOL64"; then
7460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7461 $as_echo "$OTOOL64" >&6; }
7462 else
7463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7464 $as_echo "no" >&6; }
7469 if test -z "$ac_cv_prog_OTOOL64"; then
7470 ac_ct_OTOOL64=$OTOOL64
7471 # Extract the first word of "otool64", so it can be a program name with args.
7472 set dummy otool64; ac_word=$2
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7474 $as_echo_n "checking for $ac_word... " >&6; }
7475 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7476 $as_echo_n "(cached) " >&6
7477 else
7478 if test -n "$ac_ct_OTOOL64"; then
7479 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7480 else
7481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7482 for as_dir in $PATH
7484 IFS=$as_save_IFS
7485 test -z "$as_dir" && as_dir=.
7486 for ac_exec_ext in '' $ac_executable_extensions; do
7487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7488 ac_cv_prog_ac_ct_OTOOL64="otool64"
7489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7490 break 2
7492 done
7493 done
7494 IFS=$as_save_IFS
7498 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7499 if test -n "$ac_ct_OTOOL64"; then
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7501 $as_echo "$ac_ct_OTOOL64" >&6; }
7502 else
7503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7504 $as_echo "no" >&6; }
7507 if test "x$ac_ct_OTOOL64" = x; then
7508 OTOOL64=":"
7509 else
7510 case $cross_compiling:$ac_tool_warned in
7511 yes:)
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7513 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7514 ac_tool_warned=yes ;;
7515 esac
7516 OTOOL64=$ac_ct_OTOOL64
7518 else
7519 OTOOL64="$ac_cv_prog_OTOOL64"
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7549 $as_echo_n "checking for -single_module linker flag... " >&6; }
7550 if ${lt_cv_apple_cc_single_mod+:} false; then :
7551 $as_echo_n "(cached) " >&6
7552 else
7553 lt_cv_apple_cc_single_mod=no
7554 if test -z "${LT_MULTI_MODULE}"; then
7555 # By default we will add the -single_module flag. You can override
7556 # by either setting the environment variable LT_MULTI_MODULE
7557 # non-empty at configure time, or by adding -multi_module to the
7558 # link flags.
7559 rm -rf libconftest.dylib*
7560 echo "int foo(void){return 1;}" > conftest.c
7561 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7562 -dynamiclib -Wl,-single_module conftest.c" >&5
7563 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7564 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7565 _lt_result=$?
7566 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7567 lt_cv_apple_cc_single_mod=yes
7568 else
7569 cat conftest.err >&5
7571 rm -rf libconftest.dylib*
7572 rm -f conftest.*
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7576 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7578 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7579 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7580 $as_echo_n "(cached) " >&6
7581 else
7582 lt_cv_ld_exported_symbols_list=no
7583 save_LDFLAGS=$LDFLAGS
7584 echo "_main" > conftest.sym
7585 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7587 /* end confdefs.h. */
7590 main ()
7594 return 0;
7596 _ACEOF
7597 if ac_fn_c_try_link "$LINENO"; then :
7598 lt_cv_ld_exported_symbols_list=yes
7599 else
7600 lt_cv_ld_exported_symbols_list=no
7602 rm -f core conftest.err conftest.$ac_objext \
7603 conftest$ac_exeext conftest.$ac_ext
7604 LDFLAGS="$save_LDFLAGS"
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7608 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7610 $as_echo_n "checking for -force_load linker flag... " >&6; }
7611 if ${lt_cv_ld_force_load+:} false; then :
7612 $as_echo_n "(cached) " >&6
7613 else
7614 lt_cv_ld_force_load=no
7615 cat > conftest.c << _LT_EOF
7616 int forced_loaded() { return 2;}
7617 _LT_EOF
7618 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7619 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7620 echo "$AR cru libconftest.a conftest.o" >&5
7621 $AR cru libconftest.a conftest.o 2>&5
7622 echo "$RANLIB libconftest.a" >&5
7623 $RANLIB libconftest.a 2>&5
7624 cat > conftest.c << _LT_EOF
7625 int main() { return 0;}
7626 _LT_EOF
7627 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7628 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7629 _lt_result=$?
7630 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7631 lt_cv_ld_force_load=yes
7632 else
7633 cat conftest.err >&5
7635 rm -f conftest.err libconftest.a conftest conftest.c
7636 rm -rf conftest.dSYM
7639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7640 $as_echo "$lt_cv_ld_force_load" >&6; }
7641 case $host_os in
7642 rhapsody* | darwin1.[012])
7643 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7644 darwin1.*)
7645 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7646 darwin*) # darwin 5.x on
7647 # if running on 10.5 or later, the deployment target defaults
7648 # to the OS version, if on x86, and 10.4, the deployment
7649 # target defaults to 10.4. Don't you love it?
7650 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7651 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7652 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7653 10.[012]*)
7654 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7655 10.*)
7656 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7657 esac
7659 esac
7660 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7661 _lt_dar_single_mod='$single_module'
7663 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7664 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7665 else
7666 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7668 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7669 _lt_dsymutil='~$DSYMUTIL $lib || :'
7670 else
7671 _lt_dsymutil=
7674 esac
7676 for ac_header in dlfcn.h
7677 do :
7678 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7680 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7681 cat >>confdefs.h <<_ACEOF
7682 #define HAVE_DLFCN_H 1
7683 _ACEOF
7687 done
7693 # Set options
7697 enable_dlopen=no
7700 enable_win32_dll=no
7703 # Check whether --enable-shared was given.
7704 if test "${enable_shared+set}" = set; then :
7705 enableval=$enable_shared; p=${PACKAGE-default}
7706 case $enableval in
7707 yes) enable_shared=yes ;;
7708 no) enable_shared=no ;;
7710 enable_shared=no
7711 # Look at the argument we got. We use all the common list separators.
7712 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7713 for pkg in $enableval; do
7714 IFS="$lt_save_ifs"
7715 if test "X$pkg" = "X$p"; then
7716 enable_shared=yes
7718 done
7719 IFS="$lt_save_ifs"
7721 esac
7722 else
7723 enable_shared=yes
7734 # Check whether --enable-static was given.
7735 if test "${enable_static+set}" = set; then :
7736 enableval=$enable_static; p=${PACKAGE-default}
7737 case $enableval in
7738 yes) enable_static=yes ;;
7739 no) enable_static=no ;;
7741 enable_static=no
7742 # Look at the argument we got. We use all the common list separators.
7743 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7744 for pkg in $enableval; do
7745 IFS="$lt_save_ifs"
7746 if test "X$pkg" = "X$p"; then
7747 enable_static=yes
7749 done
7750 IFS="$lt_save_ifs"
7752 esac
7753 else
7754 enable_static=yes
7766 # Check whether --with-pic was given.
7767 if test "${with_pic+set}" = set; then :
7768 withval=$with_pic; pic_mode="$withval"
7769 else
7770 pic_mode=default
7774 test -z "$pic_mode" && pic_mode=default
7782 # Check whether --enable-fast-install was given.
7783 if test "${enable_fast_install+set}" = set; then :
7784 enableval=$enable_fast_install; p=${PACKAGE-default}
7785 case $enableval in
7786 yes) enable_fast_install=yes ;;
7787 no) enable_fast_install=no ;;
7789 enable_fast_install=no
7790 # Look at the argument we got. We use all the common list separators.
7791 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7792 for pkg in $enableval; do
7793 IFS="$lt_save_ifs"
7794 if test "X$pkg" = "X$p"; then
7795 enable_fast_install=yes
7797 done
7798 IFS="$lt_save_ifs"
7800 esac
7801 else
7802 enable_fast_install=yes
7815 # This can be used to rebuild libtool when needed
7816 LIBTOOL_DEPS="$ltmain"
7818 # Always use our own libtool.
7819 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7846 test -z "$LN_S" && LN_S="ln -s"
7861 if test -n "${ZSH_VERSION+set}" ; then
7862 setopt NO_GLOB_SUBST
7865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7866 $as_echo_n "checking for objdir... " >&6; }
7867 if ${lt_cv_objdir+:} false; then :
7868 $as_echo_n "(cached) " >&6
7869 else
7870 rm -f .libs 2>/dev/null
7871 mkdir .libs 2>/dev/null
7872 if test -d .libs; then
7873 lt_cv_objdir=.libs
7874 else
7875 # MS-DOS does not allow filenames that begin with a dot.
7876 lt_cv_objdir=_libs
7878 rmdir .libs 2>/dev/null
7880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7881 $as_echo "$lt_cv_objdir" >&6; }
7882 objdir=$lt_cv_objdir
7888 cat >>confdefs.h <<_ACEOF
7889 #define LT_OBJDIR "$lt_cv_objdir/"
7890 _ACEOF
7895 case $host_os in
7896 aix3*)
7897 # AIX sometimes has problems with the GCC collect2 program. For some
7898 # reason, if we set the COLLECT_NAMES environment variable, the problems
7899 # vanish in a puff of smoke.
7900 if test "X${COLLECT_NAMES+set}" != Xset; then
7901 COLLECT_NAMES=
7902 export COLLECT_NAMES
7905 esac
7907 # Global variables:
7908 ofile=libtool
7909 can_build_shared=yes
7911 # All known linkers require a `.a' archive for static linking (except MSVC,
7912 # which needs '.lib').
7913 libext=a
7915 with_gnu_ld="$lt_cv_prog_gnu_ld"
7917 old_CC="$CC"
7918 old_CFLAGS="$CFLAGS"
7920 # Set sane defaults for various variables
7921 test -z "$CC" && CC=cc
7922 test -z "$LTCC" && LTCC=$CC
7923 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7924 test -z "$LD" && LD=ld
7925 test -z "$ac_objext" && ac_objext=o
7927 for cc_temp in $compiler""; do
7928 case $cc_temp in
7929 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7930 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7931 \-*) ;;
7932 *) break;;
7933 esac
7934 done
7935 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7938 # Only perform the check for file, if the check method requires it
7939 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7940 case $deplibs_check_method in
7941 file_magic*)
7942 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7944 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7945 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7946 $as_echo_n "(cached) " >&6
7947 else
7948 case $MAGIC_CMD in
7949 [\\/*] | ?:[\\/]*)
7950 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7953 lt_save_MAGIC_CMD="$MAGIC_CMD"
7954 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7955 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7956 for ac_dir in $ac_dummy; do
7957 IFS="$lt_save_ifs"
7958 test -z "$ac_dir" && ac_dir=.
7959 if test -f $ac_dir/${ac_tool_prefix}file; then
7960 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7961 if test -n "$file_magic_test_file"; then
7962 case $deplibs_check_method in
7963 "file_magic "*)
7964 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7965 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7966 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7967 $EGREP "$file_magic_regex" > /dev/null; then
7969 else
7970 cat <<_LT_EOF 1>&2
7972 *** Warning: the command libtool uses to detect shared libraries,
7973 *** $file_magic_cmd, produces output that libtool cannot recognize.
7974 *** The result is that libtool may fail to recognize shared libraries
7975 *** as such. This will affect the creation of libtool libraries that
7976 *** depend on shared libraries, but programs linked with such libtool
7977 *** libraries will work regardless of this problem. Nevertheless, you
7978 *** may want to report the problem to your system manager and/or to
7979 *** bug-libtool@gnu.org
7981 _LT_EOF
7982 fi ;;
7983 esac
7985 break
7987 done
7988 IFS="$lt_save_ifs"
7989 MAGIC_CMD="$lt_save_MAGIC_CMD"
7991 esac
7994 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7995 if test -n "$MAGIC_CMD"; then
7996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7997 $as_echo "$MAGIC_CMD" >&6; }
7998 else
7999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8000 $as_echo "no" >&6; }
8007 if test -z "$lt_cv_path_MAGIC_CMD"; then
8008 if test -n "$ac_tool_prefix"; then
8009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8010 $as_echo_n "checking for file... " >&6; }
8011 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8012 $as_echo_n "(cached) " >&6
8013 else
8014 case $MAGIC_CMD in
8015 [\\/*] | ?:[\\/]*)
8016 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8019 lt_save_MAGIC_CMD="$MAGIC_CMD"
8020 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8021 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8022 for ac_dir in $ac_dummy; do
8023 IFS="$lt_save_ifs"
8024 test -z "$ac_dir" && ac_dir=.
8025 if test -f $ac_dir/file; then
8026 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8027 if test -n "$file_magic_test_file"; then
8028 case $deplibs_check_method in
8029 "file_magic "*)
8030 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8031 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8032 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8033 $EGREP "$file_magic_regex" > /dev/null; then
8035 else
8036 cat <<_LT_EOF 1>&2
8038 *** Warning: the command libtool uses to detect shared libraries,
8039 *** $file_magic_cmd, produces output that libtool cannot recognize.
8040 *** The result is that libtool may fail to recognize shared libraries
8041 *** as such. This will affect the creation of libtool libraries that
8042 *** depend on shared libraries, but programs linked with such libtool
8043 *** libraries will work regardless of this problem. Nevertheless, you
8044 *** may want to report the problem to your system manager and/or to
8045 *** bug-libtool@gnu.org
8047 _LT_EOF
8048 fi ;;
8049 esac
8051 break
8053 done
8054 IFS="$lt_save_ifs"
8055 MAGIC_CMD="$lt_save_MAGIC_CMD"
8057 esac
8060 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8061 if test -n "$MAGIC_CMD"; then
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8063 $as_echo "$MAGIC_CMD" >&6; }
8064 else
8065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8066 $as_echo "no" >&6; }
8070 else
8071 MAGIC_CMD=:
8077 esac
8079 # Use C for the default configuration in the libtool script
8081 lt_save_CC="$CC"
8082 ac_ext=c
8083 ac_cpp='$CPP $CPPFLAGS'
8084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8089 # Source file extension for C test sources.
8090 ac_ext=c
8092 # Object file extension for compiled C test sources.
8093 objext=o
8094 objext=$objext
8096 # Code to be used in simple compile tests
8097 lt_simple_compile_test_code="int some_variable = 0;"
8099 # Code to be used in simple link tests
8100 lt_simple_link_test_code='int main(){return(0);}'
8108 # If no C compiler was specified, use CC.
8109 LTCC=${LTCC-"$CC"}
8111 # If no C compiler flags were specified, use CFLAGS.
8112 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8114 # Allow CC to be a program name with arguments.
8115 compiler=$CC
8117 # Save the default compiler, since it gets overwritten when the other
8118 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8119 compiler_DEFAULT=$CC
8121 # save warnings/boilerplate of simple test code
8122 ac_outfile=conftest.$ac_objext
8123 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8124 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8125 _lt_compiler_boilerplate=`cat conftest.err`
8126 $RM conftest*
8128 ac_outfile=conftest.$ac_objext
8129 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8130 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8131 _lt_linker_boilerplate=`cat conftest.err`
8132 $RM -r conftest*
8135 ## CAVEAT EMPTOR:
8136 ## There is no encapsulation within the following macros, do not change
8137 ## the running order or otherwise move them around unless you know exactly
8138 ## what you are doing...
8139 if test -n "$compiler"; then
8141 lt_prog_compiler_no_builtin_flag=
8143 if test "$GCC" = yes; then
8144 case $cc_basename in
8145 nvcc*)
8146 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8148 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8149 esac
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8152 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8153 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8154 $as_echo_n "(cached) " >&6
8155 else
8156 lt_cv_prog_compiler_rtti_exceptions=no
8157 ac_outfile=conftest.$ac_objext
8158 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8159 lt_compiler_flag="-fno-rtti -fno-exceptions"
8160 # Insert the option either (1) after the last *FLAGS variable, or
8161 # (2) before a word containing "conftest.", or (3) at the end.
8162 # Note that $ac_compile itself does not contain backslashes and begins
8163 # with a dollar sign (not a hyphen), so the echo should work correctly.
8164 # The option is referenced via a variable to avoid confusing sed.
8165 lt_compile=`echo "$ac_compile" | $SED \
8166 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8167 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8168 -e 's:$: $lt_compiler_flag:'`
8169 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8170 (eval "$lt_compile" 2>conftest.err)
8171 ac_status=$?
8172 cat conftest.err >&5
8173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8174 if (exit $ac_status) && test -s "$ac_outfile"; then
8175 # The compiler can only warn and ignore the option if not recognized
8176 # So say no if there are warnings other than the usual output.
8177 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8178 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8179 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8180 lt_cv_prog_compiler_rtti_exceptions=yes
8183 $RM conftest*
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8187 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8189 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8190 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8191 else
8202 lt_prog_compiler_wl=
8203 lt_prog_compiler_pic=
8204 lt_prog_compiler_static=
8207 if test "$GCC" = yes; then
8208 lt_prog_compiler_wl='-Wl,'
8209 lt_prog_compiler_static='-static'
8211 case $host_os in
8212 aix*)
8213 # All AIX code is PIC.
8214 if test "$host_cpu" = ia64; then
8215 # AIX 5 now supports IA64 processor
8216 lt_prog_compiler_static='-Bstatic'
8220 amigaos*)
8221 case $host_cpu in
8222 powerpc)
8223 # see comment about AmigaOS4 .so support
8224 lt_prog_compiler_pic='-fPIC'
8226 m68k)
8227 # FIXME: we need at least 68020 code to build shared libraries, but
8228 # adding the `-m68020' flag to GCC prevents building anything better,
8229 # like `-m68040'.
8230 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8232 esac
8235 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8236 # PIC is the default for these OSes.
8239 mingw* | cygwin* | pw32* | os2* | cegcc*)
8240 # This hack is so that the source file can tell whether it is being
8241 # built for inclusion in a dll (and should export symbols for example).
8242 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8243 # (--disable-auto-import) libraries
8244 lt_prog_compiler_pic='-DDLL_EXPORT'
8247 darwin* | rhapsody*)
8248 # PIC is the default on this platform
8249 # Common symbols not allowed in MH_DYLIB files
8250 lt_prog_compiler_pic='-fno-common'
8253 haiku*)
8254 # PIC is the default for Haiku.
8255 # The "-static" flag exists, but is broken.
8256 lt_prog_compiler_static=
8259 hpux*)
8260 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8261 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8262 # sets the default TLS model and affects inlining.
8263 case $host_cpu in
8264 hppa*64*)
8265 # +Z the default
8268 lt_prog_compiler_pic='-fPIC'
8270 esac
8273 interix[3-9]*)
8274 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8275 # Instead, we relocate shared libraries at runtime.
8278 msdosdjgpp*)
8279 # Just because we use GCC doesn't mean we suddenly get shared libraries
8280 # on systems that don't support them.
8281 lt_prog_compiler_can_build_shared=no
8282 enable_shared=no
8285 *nto* | *qnx*)
8286 # QNX uses GNU C++, but need to define -shared option too, otherwise
8287 # it will coredump.
8288 lt_prog_compiler_pic='-fPIC -shared'
8291 sysv4*MP*)
8292 if test -d /usr/nec; then
8293 lt_prog_compiler_pic=-Kconform_pic
8298 lt_prog_compiler_pic='-fPIC'
8300 esac
8302 case $cc_basename in
8303 nvcc*) # Cuda Compiler Driver 2.2
8304 lt_prog_compiler_wl='-Xlinker '
8305 lt_prog_compiler_pic='-Xcompiler -fPIC'
8307 esac
8308 else
8309 # PORTME Check for flag to pass linker flags through the system compiler.
8310 case $host_os in
8311 aix*)
8312 lt_prog_compiler_wl='-Wl,'
8313 if test "$host_cpu" = ia64; then
8314 # AIX 5 now supports IA64 processor
8315 lt_prog_compiler_static='-Bstatic'
8316 else
8317 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8321 mingw* | cygwin* | pw32* | os2* | cegcc*)
8322 # This hack is so that the source file can tell whether it is being
8323 # built for inclusion in a dll (and should export symbols for example).
8324 lt_prog_compiler_pic='-DDLL_EXPORT'
8327 hpux9* | hpux10* | hpux11*)
8328 lt_prog_compiler_wl='-Wl,'
8329 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8330 # not for PA HP-UX.
8331 case $host_cpu in
8332 hppa*64*|ia64*)
8333 # +Z the default
8336 lt_prog_compiler_pic='+Z'
8338 esac
8339 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8340 lt_prog_compiler_static='${wl}-a ${wl}archive'
8343 irix5* | irix6* | nonstopux*)
8344 lt_prog_compiler_wl='-Wl,'
8345 # PIC (with -KPIC) is the default.
8346 lt_prog_compiler_static='-non_shared'
8349 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8350 case $cc_basename in
8351 # old Intel for x86_64 which still supported -KPIC.
8352 ecc*)
8353 lt_prog_compiler_wl='-Wl,'
8354 lt_prog_compiler_pic='-KPIC'
8355 lt_prog_compiler_static='-static'
8357 # icc used to be incompatible with GCC.
8358 # ICC 10 doesn't accept -KPIC any more.
8359 icc* | ifort*)
8360 lt_prog_compiler_wl='-Wl,'
8361 lt_prog_compiler_pic='-fPIC'
8362 lt_prog_compiler_static='-static'
8364 # Lahey Fortran 8.1.
8365 lf95*)
8366 lt_prog_compiler_wl='-Wl,'
8367 lt_prog_compiler_pic='--shared'
8368 lt_prog_compiler_static='--static'
8370 nagfor*)
8371 # NAG Fortran compiler
8372 lt_prog_compiler_wl='-Wl,-Wl,,'
8373 lt_prog_compiler_pic='-PIC'
8374 lt_prog_compiler_static='-Bstatic'
8376 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8377 # Portland Group compilers (*not* the Pentium gcc compiler,
8378 # which looks to be a dead project)
8379 lt_prog_compiler_wl='-Wl,'
8380 lt_prog_compiler_pic='-fpic'
8381 lt_prog_compiler_static='-Bstatic'
8383 ccc*)
8384 lt_prog_compiler_wl='-Wl,'
8385 # All Alpha code is PIC.
8386 lt_prog_compiler_static='-non_shared'
8388 xl* | bgxl* | bgf* | mpixl*)
8389 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8390 lt_prog_compiler_wl='-Wl,'
8391 lt_prog_compiler_pic='-qpic'
8392 lt_prog_compiler_static='-qstaticlink'
8395 case `$CC -V 2>&1 | sed 5q` in
8396 *Sun\ F* | *Sun*Fortran*)
8397 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8398 lt_prog_compiler_pic='-KPIC'
8399 lt_prog_compiler_static='-Bstatic'
8400 lt_prog_compiler_wl=''
8402 *Sun\ C*)
8403 # Sun C 5.9
8404 lt_prog_compiler_pic='-KPIC'
8405 lt_prog_compiler_static='-Bstatic'
8406 lt_prog_compiler_wl='-Wl,'
8408 esac
8410 esac
8413 newsos6)
8414 lt_prog_compiler_pic='-KPIC'
8415 lt_prog_compiler_static='-Bstatic'
8418 *nto* | *qnx*)
8419 # QNX uses GNU C++, but need to define -shared option too, otherwise
8420 # it will coredump.
8421 lt_prog_compiler_pic='-fPIC -shared'
8424 osf3* | osf4* | osf5*)
8425 lt_prog_compiler_wl='-Wl,'
8426 # All OSF/1 code is PIC.
8427 lt_prog_compiler_static='-non_shared'
8430 rdos*)
8431 lt_prog_compiler_static='-non_shared'
8434 solaris*)
8435 lt_prog_compiler_pic='-KPIC'
8436 lt_prog_compiler_static='-Bstatic'
8437 case $cc_basename in
8438 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8439 lt_prog_compiler_wl='-Qoption ld ';;
8441 lt_prog_compiler_wl='-Wl,';;
8442 esac
8445 sunos4*)
8446 lt_prog_compiler_wl='-Qoption ld '
8447 lt_prog_compiler_pic='-PIC'
8448 lt_prog_compiler_static='-Bstatic'
8451 sysv4 | sysv4.2uw2* | sysv4.3*)
8452 lt_prog_compiler_wl='-Wl,'
8453 lt_prog_compiler_pic='-KPIC'
8454 lt_prog_compiler_static='-Bstatic'
8457 sysv4*MP*)
8458 if test -d /usr/nec ;then
8459 lt_prog_compiler_pic='-Kconform_pic'
8460 lt_prog_compiler_static='-Bstatic'
8464 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8465 lt_prog_compiler_wl='-Wl,'
8466 lt_prog_compiler_pic='-KPIC'
8467 lt_prog_compiler_static='-Bstatic'
8470 unicos*)
8471 lt_prog_compiler_wl='-Wl,'
8472 lt_prog_compiler_can_build_shared=no
8475 uts4*)
8476 lt_prog_compiler_pic='-pic'
8477 lt_prog_compiler_static='-Bstatic'
8481 lt_prog_compiler_can_build_shared=no
8483 esac
8486 case $host_os in
8487 # For platforms which do not support PIC, -DPIC is meaningless:
8488 *djgpp*)
8489 lt_prog_compiler_pic=
8492 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8494 esac
8496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8497 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8498 if ${lt_cv_prog_compiler_pic+:} false; then :
8499 $as_echo_n "(cached) " >&6
8500 else
8501 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8504 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8505 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8508 # Check to make sure the PIC flag actually works.
8510 if test -n "$lt_prog_compiler_pic"; then
8511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8512 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8513 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8514 $as_echo_n "(cached) " >&6
8515 else
8516 lt_cv_prog_compiler_pic_works=no
8517 ac_outfile=conftest.$ac_objext
8518 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8519 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8520 # Insert the option either (1) after the last *FLAGS variable, or
8521 # (2) before a word containing "conftest.", or (3) at the end.
8522 # Note that $ac_compile itself does not contain backslashes and begins
8523 # with a dollar sign (not a hyphen), so the echo should work correctly.
8524 # The option is referenced via a variable to avoid confusing sed.
8525 lt_compile=`echo "$ac_compile" | $SED \
8526 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8527 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8528 -e 's:$: $lt_compiler_flag:'`
8529 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8530 (eval "$lt_compile" 2>conftest.err)
8531 ac_status=$?
8532 cat conftest.err >&5
8533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8534 if (exit $ac_status) && test -s "$ac_outfile"; then
8535 # The compiler can only warn and ignore the option if not recognized
8536 # So say no if there are warnings other than the usual output.
8537 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8538 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8539 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8540 lt_cv_prog_compiler_pic_works=yes
8543 $RM conftest*
8546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8547 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8549 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8550 case $lt_prog_compiler_pic in
8551 "" | " "*) ;;
8552 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8553 esac
8554 else
8555 lt_prog_compiler_pic=
8556 lt_prog_compiler_can_build_shared=no
8572 # Check to make sure the static flag actually works.
8574 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8576 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8577 if ${lt_cv_prog_compiler_static_works+:} false; then :
8578 $as_echo_n "(cached) " >&6
8579 else
8580 lt_cv_prog_compiler_static_works=no
8581 save_LDFLAGS="$LDFLAGS"
8582 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8583 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8584 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8585 # The linker can only warn and ignore the option if not recognized
8586 # So say no if there are warnings
8587 if test -s conftest.err; then
8588 # Append any errors to the config.log.
8589 cat conftest.err 1>&5
8590 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8591 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8592 if diff conftest.exp conftest.er2 >/dev/null; then
8593 lt_cv_prog_compiler_static_works=yes
8595 else
8596 lt_cv_prog_compiler_static_works=yes
8599 $RM -r conftest*
8600 LDFLAGS="$save_LDFLAGS"
8603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8604 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8606 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8608 else
8609 lt_prog_compiler_static=
8618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8619 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8620 if ${lt_cv_prog_compiler_c_o+:} false; then :
8621 $as_echo_n "(cached) " >&6
8622 else
8623 lt_cv_prog_compiler_c_o=no
8624 $RM -r conftest 2>/dev/null
8625 mkdir conftest
8626 cd conftest
8627 mkdir out
8628 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8630 lt_compiler_flag="-o out/conftest2.$ac_objext"
8631 # Insert the option either (1) after the last *FLAGS variable, or
8632 # (2) before a word containing "conftest.", or (3) at the end.
8633 # Note that $ac_compile itself does not contain backslashes and begins
8634 # with a dollar sign (not a hyphen), so the echo should work correctly.
8635 lt_compile=`echo "$ac_compile" | $SED \
8636 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8637 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8638 -e 's:$: $lt_compiler_flag:'`
8639 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8640 (eval "$lt_compile" 2>out/conftest.err)
8641 ac_status=$?
8642 cat out/conftest.err >&5
8643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8644 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8645 then
8646 # The compiler can only warn and ignore the option if not recognized
8647 # So say no if there are warnings
8648 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8649 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8650 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8651 lt_cv_prog_compiler_c_o=yes
8654 chmod u+w . 2>&5
8655 $RM conftest*
8656 # SGI C++ compiler will create directory out/ii_files/ for
8657 # template instantiation
8658 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8659 $RM out/* && rmdir out
8660 cd ..
8661 $RM -r conftest
8662 $RM conftest*
8665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8666 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8674 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8675 if ${lt_cv_prog_compiler_c_o+:} false; then :
8676 $as_echo_n "(cached) " >&6
8677 else
8678 lt_cv_prog_compiler_c_o=no
8679 $RM -r conftest 2>/dev/null
8680 mkdir conftest
8681 cd conftest
8682 mkdir out
8683 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8685 lt_compiler_flag="-o out/conftest2.$ac_objext"
8686 # Insert the option either (1) after the last *FLAGS variable, or
8687 # (2) before a word containing "conftest.", or (3) at the end.
8688 # Note that $ac_compile itself does not contain backslashes and begins
8689 # with a dollar sign (not a hyphen), so the echo should work correctly.
8690 lt_compile=`echo "$ac_compile" | $SED \
8691 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8692 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8693 -e 's:$: $lt_compiler_flag:'`
8694 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8695 (eval "$lt_compile" 2>out/conftest.err)
8696 ac_status=$?
8697 cat out/conftest.err >&5
8698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8699 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8700 then
8701 # The compiler can only warn and ignore the option if not recognized
8702 # So say no if there are warnings
8703 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8704 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8705 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8706 lt_cv_prog_compiler_c_o=yes
8709 chmod u+w . 2>&5
8710 $RM conftest*
8711 # SGI C++ compiler will create directory out/ii_files/ for
8712 # template instantiation
8713 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8714 $RM out/* && rmdir out
8715 cd ..
8716 $RM -r conftest
8717 $RM conftest*
8720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8721 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8726 hard_links="nottested"
8727 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8728 # do not overwrite the value of need_locks provided by the user
8729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8730 $as_echo_n "checking if we can lock with hard links... " >&6; }
8731 hard_links=yes
8732 $RM conftest*
8733 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8734 touch conftest.a
8735 ln conftest.a conftest.b 2>&5 || hard_links=no
8736 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8738 $as_echo "$hard_links" >&6; }
8739 if test "$hard_links" = no; then
8740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8741 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8742 need_locks=warn
8744 else
8745 need_locks=no
8753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8754 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8756 runpath_var=
8757 allow_undefined_flag=
8758 always_export_symbols=no
8759 archive_cmds=
8760 archive_expsym_cmds=
8761 compiler_needs_object=no
8762 enable_shared_with_static_runtimes=no
8763 export_dynamic_flag_spec=
8764 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8765 hardcode_automatic=no
8766 hardcode_direct=no
8767 hardcode_direct_absolute=no
8768 hardcode_libdir_flag_spec=
8769 hardcode_libdir_flag_spec_ld=
8770 hardcode_libdir_separator=
8771 hardcode_minus_L=no
8772 hardcode_shlibpath_var=unsupported
8773 inherit_rpath=no
8774 link_all_deplibs=unknown
8775 module_cmds=
8776 module_expsym_cmds=
8777 old_archive_from_new_cmds=
8778 old_archive_from_expsyms_cmds=
8779 thread_safe_flag_spec=
8780 whole_archive_flag_spec=
8781 # include_expsyms should be a list of space-separated symbols to be *always*
8782 # included in the symbol list
8783 include_expsyms=
8784 # exclude_expsyms can be an extended regexp of symbols to exclude
8785 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8786 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8787 # as well as any symbol that contains `d'.
8788 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8789 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8790 # platforms (ab)use it in PIC code, but their linkers get confused if
8791 # the symbol is explicitly referenced. Since portable code cannot
8792 # rely on this symbol name, it's probably fine to never include it in
8793 # preloaded symbol tables.
8794 # Exclude shared library initialization/finalization symbols.
8795 extract_expsyms_cmds=
8797 case $host_os in
8798 cygwin* | mingw* | pw32* | cegcc*)
8799 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8800 # When not using gcc, we currently assume that we are using
8801 # Microsoft Visual C++.
8802 if test "$GCC" != yes; then
8803 with_gnu_ld=no
8806 interix*)
8807 # we just hope/assume this is gcc and not c89 (= MSVC++)
8808 with_gnu_ld=yes
8810 openbsd*)
8811 with_gnu_ld=no
8813 esac
8815 ld_shlibs=yes
8817 # On some targets, GNU ld is compatible enough with the native linker
8818 # that we're better off using the native interface for both.
8819 lt_use_gnu_ld_interface=no
8820 if test "$with_gnu_ld" = yes; then
8821 case $host_os in
8822 aix*)
8823 # The AIX port of GNU ld has always aspired to compatibility
8824 # with the native linker. However, as the warning in the GNU ld
8825 # block says, versions before 2.19.5* couldn't really create working
8826 # shared libraries, regardless of the interface used.
8827 case `$LD -v 2>&1` in
8828 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8829 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8830 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8832 lt_use_gnu_ld_interface=yes
8834 esac
8837 lt_use_gnu_ld_interface=yes
8839 esac
8842 if test "$lt_use_gnu_ld_interface" = yes; then
8843 # If archive_cmds runs LD, not CC, wlarc should be empty
8844 wlarc='${wl}'
8846 # Set some defaults for GNU ld with shared library support. These
8847 # are reset later if shared libraries are not supported. Putting them
8848 # here allows them to be overridden if necessary.
8849 runpath_var=LD_RUN_PATH
8850 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8851 export_dynamic_flag_spec='${wl}--export-dynamic'
8852 # ancient GNU ld didn't support --whole-archive et. al.
8853 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8854 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8855 else
8856 whole_archive_flag_spec=
8858 supports_anon_versioning=no
8859 case `$LD -v 2>&1` in
8860 *GNU\ gold*) supports_anon_versioning=yes ;;
8861 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8862 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8863 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8864 *\ 2.11.*) ;; # other 2.11 versions
8865 *) supports_anon_versioning=yes ;;
8866 esac
8868 # See if GNU ld supports shared libraries.
8869 case $host_os in
8870 aix[3-9]*)
8871 # On AIX/PPC, the GNU linker is very broken
8872 if test "$host_cpu" != ia64; then
8873 ld_shlibs=no
8874 cat <<_LT_EOF 1>&2
8876 *** Warning: the GNU linker, at least up to release 2.19, is reported
8877 *** to be unable to reliably create shared libraries on AIX.
8878 *** Therefore, libtool is disabling shared libraries support. If you
8879 *** really care for shared libraries, you may want to install binutils
8880 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8881 *** You will then need to restart the configuration process.
8883 _LT_EOF
8887 amigaos*)
8888 case $host_cpu in
8889 powerpc)
8890 # see comment about AmigaOS4 .so support
8891 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8892 archive_expsym_cmds=''
8894 m68k)
8895 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
8896 hardcode_libdir_flag_spec='-L$libdir'
8897 hardcode_minus_L=yes
8899 esac
8902 beos*)
8903 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8904 allow_undefined_flag=unsupported
8905 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8906 # support --undefined. This deserves some investigation. FIXME
8907 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8908 else
8909 ld_shlibs=no
8913 cygwin* | mingw* | pw32* | cegcc*)
8914 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8915 # as there is no search path for DLLs.
8916 hardcode_libdir_flag_spec='-L$libdir'
8917 export_dynamic_flag_spec='${wl}--export-all-symbols'
8918 allow_undefined_flag=unsupported
8919 always_export_symbols=no
8920 enable_shared_with_static_runtimes=yes
8921 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
8922 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8924 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8925 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8926 # If the export-symbols file already is a .def file (1st line
8927 # is EXPORTS), use it as is; otherwise, prepend...
8928 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8929 cp $export_symbols $output_objdir/$soname.def;
8930 else
8931 echo EXPORTS > $output_objdir/$soname.def;
8932 cat $export_symbols >> $output_objdir/$soname.def;
8934 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8935 else
8936 ld_shlibs=no
8940 haiku*)
8941 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8942 link_all_deplibs=yes
8945 interix[3-9]*)
8946 hardcode_direct=no
8947 hardcode_shlibpath_var=no
8948 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8949 export_dynamic_flag_spec='${wl}-E'
8950 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8951 # Instead, shared libraries are loaded at an image base (0x10000000 by
8952 # default) and relocated if they conflict, which is a slow very memory
8953 # consuming and fragmenting process. To avoid this, we pick a random,
8954 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8955 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8956 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8957 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8960 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8961 tmp_diet=no
8962 if test "$host_os" = linux-dietlibc; then
8963 case $cc_basename in
8964 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8965 esac
8967 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8968 && test "$tmp_diet" = no
8969 then
8970 tmp_addflag=' $pic_flag'
8971 tmp_sharedflag='-shared'
8972 case $cc_basename,$host_cpu in
8973 pgcc*) # Portland Group C compiler
8974 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8975 tmp_addflag=' $pic_flag'
8977 pgf77* | pgf90* | pgf95* | pgfortran*)
8978 # Portland Group f77 and f90 compilers
8979 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8980 tmp_addflag=' $pic_flag -Mnomain' ;;
8981 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8982 tmp_addflag=' -i_dynamic' ;;
8983 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8984 tmp_addflag=' -i_dynamic -nofor_main' ;;
8985 ifc* | ifort*) # Intel Fortran compiler
8986 tmp_addflag=' -nofor_main' ;;
8987 lf95*) # Lahey Fortran 8.1
8988 whole_archive_flag_spec=
8989 tmp_sharedflag='--shared' ;;
8990 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8991 tmp_sharedflag='-qmkshrobj'
8992 tmp_addflag= ;;
8993 nvcc*) # Cuda Compiler Driver 2.2
8994 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8995 compiler_needs_object=yes
8997 esac
8998 case `$CC -V 2>&1 | sed 5q` in
8999 *Sun\ C*) # Sun C 5.9
9000 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9001 compiler_needs_object=yes
9002 tmp_sharedflag='-G' ;;
9003 *Sun\ F*) # Sun Fortran 8.3
9004 tmp_sharedflag='-G' ;;
9005 esac
9006 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9008 if test "x$supports_anon_versioning" = xyes; then
9009 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9010 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9011 echo "local: *; };" >> $output_objdir/$libname.ver~
9012 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9015 case $cc_basename in
9016 xlf* | bgf* | bgxlf* | mpixlf*)
9017 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9018 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9019 hardcode_libdir_flag_spec=
9020 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9021 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9022 if test "x$supports_anon_versioning" = xyes; then
9023 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9024 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9025 echo "local: *; };" >> $output_objdir/$libname.ver~
9026 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9029 esac
9030 else
9031 ld_shlibs=no
9035 netbsd*)
9036 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9037 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9038 wlarc=
9039 else
9040 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9041 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9045 solaris*)
9046 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9047 ld_shlibs=no
9048 cat <<_LT_EOF 1>&2
9050 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9051 *** create shared libraries on Solaris systems. Therefore, libtool
9052 *** is disabling shared libraries support. We urge you to upgrade GNU
9053 *** binutils to release 2.9.1 or newer. Another option is to modify
9054 *** your PATH or compiler configuration so that the native linker is
9055 *** used, and then restart.
9057 _LT_EOF
9058 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9059 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9060 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9061 else
9062 ld_shlibs=no
9066 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9067 case `$LD -v 2>&1` in
9068 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9069 ld_shlibs=no
9070 cat <<_LT_EOF 1>&2
9072 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9073 *** reliably create shared libraries on SCO systems. Therefore, libtool
9074 *** is disabling shared libraries support. We urge you to upgrade GNU
9075 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9076 *** your PATH or compiler configuration so that the native linker is
9077 *** used, and then restart.
9079 _LT_EOF
9082 # For security reasons, it is highly recommended that you always
9083 # use absolute paths for naming shared libraries, and exclude the
9084 # DT_RUNPATH tag from executables and libraries. But doing so
9085 # requires that you compile everything twice, which is a pain.
9086 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9087 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9088 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9089 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9090 else
9091 ld_shlibs=no
9094 esac
9097 sunos4*)
9098 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9099 wlarc=
9100 hardcode_direct=yes
9101 hardcode_shlibpath_var=no
9105 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9106 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9107 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9108 else
9109 ld_shlibs=no
9112 esac
9114 if test "$ld_shlibs" = no; then
9115 runpath_var=
9116 hardcode_libdir_flag_spec=
9117 export_dynamic_flag_spec=
9118 whole_archive_flag_spec=
9120 else
9121 # PORTME fill in a description of your system's linker (not GNU ld)
9122 case $host_os in
9123 aix3*)
9124 allow_undefined_flag=unsupported
9125 always_export_symbols=yes
9126 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
9127 # Note: this linker hardcodes the directories in LIBPATH if there
9128 # are no directories specified by -L.
9129 hardcode_minus_L=yes
9130 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9131 # Neither direct hardcoding nor static linking is supported with a
9132 # broken collect2.
9133 hardcode_direct=unsupported
9137 aix[4-9]*)
9138 if test "$host_cpu" = ia64; then
9139 # On IA64, the linker does run time linking by default, so we don't
9140 # have to do anything special.
9141 aix_use_runtimelinking=no
9142 exp_sym_flag='-Bexport'
9143 no_entry_flag=""
9144 else
9145 # If we're using GNU nm, then we don't want the "-C" option.
9146 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9147 # Also, AIX nm treats weak defined symbols like other global
9148 # defined symbols, whereas GNU nm marks them as "W".
9149 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9150 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9151 else
9152 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9154 aix_use_runtimelinking=no
9156 # Test if we are trying to use run time linking or normal
9157 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9158 # need to do runtime linking.
9159 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9160 for ld_flag in $LDFLAGS; do
9161 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9162 aix_use_runtimelinking=yes
9163 break
9165 done
9167 esac
9169 exp_sym_flag='-bexport'
9170 no_entry_flag='-bnoentry'
9173 # When large executables or shared objects are built, AIX ld can
9174 # have problems creating the table of contents. If linking a library
9175 # or program results in "error TOC overflow" add -mminimal-toc to
9176 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9177 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9179 archive_cmds=''
9180 hardcode_direct=yes
9181 hardcode_direct_absolute=yes
9182 hardcode_libdir_separator=':'
9183 link_all_deplibs=yes
9184 file_list_spec='${wl}-f,'
9186 if test "$GCC" = yes; then
9187 case $host_os in aix4.[012]|aix4.[012].*)
9188 # We only want to do this on AIX 4.2 and lower, the check
9189 # below for broken collect2 doesn't work under 4.3+
9190 collect2name=`${CC} -print-prog-name=collect2`
9191 if test -f "$collect2name" &&
9192 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9193 then
9194 # We have reworked collect2
9196 else
9197 # We have old collect2
9198 hardcode_direct=unsupported
9199 # It fails to find uninstalled libraries when the uninstalled
9200 # path is not listed in the libpath. Setting hardcode_minus_L
9201 # to unsupported forces relinking
9202 hardcode_minus_L=yes
9203 hardcode_libdir_flag_spec='-L$libdir'
9204 hardcode_libdir_separator=
9207 esac
9208 shared_flag='-shared'
9209 if test "$aix_use_runtimelinking" = yes; then
9210 shared_flag="$shared_flag "'${wl}-G'
9212 else
9213 # not using gcc
9214 if test "$host_cpu" = ia64; then
9215 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9216 # chokes on -Wl,-G. The following line is correct:
9217 shared_flag='-G'
9218 else
9219 if test "$aix_use_runtimelinking" = yes; then
9220 shared_flag='${wl}-G'
9221 else
9222 shared_flag='${wl}-bM:SRE'
9227 export_dynamic_flag_spec='${wl}-bexpall'
9228 # It seems that -bexpall does not export symbols beginning with
9229 # underscore (_), so it is better to generate a list of symbols to export.
9230 always_export_symbols=yes
9231 if test "$aix_use_runtimelinking" = yes; then
9232 # Warning - without using the other runtime loading flags (-brtl),
9233 # -berok will link without error, but may produce a broken library.
9234 allow_undefined_flag='-berok'
9235 # Determine the default libpath from the value encoded in an
9236 # empty executable.
9237 if test "${lt_cv_aix_libpath+set}" = set; then
9238 aix_libpath=$lt_cv_aix_libpath
9239 else
9240 if ${lt_cv_aix_libpath_+:} false; then :
9241 $as_echo_n "(cached) " >&6
9242 else
9243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9244 /* end confdefs.h. */
9247 main ()
9251 return 0;
9253 _ACEOF
9254 if ac_fn_c_try_link "$LINENO"; then :
9256 lt_aix_libpath_sed='
9257 /Import File Strings/,/^$/ {
9258 /^0/ {
9259 s/^0 *\([^ ]*\) *$/\1/
9263 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9264 # Check for a 64-bit object if we didn't find anything.
9265 if test -z "$lt_cv_aix_libpath_"; then
9266 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9269 rm -f core conftest.err conftest.$ac_objext \
9270 conftest$ac_exeext conftest.$ac_ext
9271 if test -z "$lt_cv_aix_libpath_"; then
9272 lt_cv_aix_libpath_="/usr/lib:/lib"
9277 aix_libpath=$lt_cv_aix_libpath_
9280 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9281 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9282 else
9283 if test "$host_cpu" = ia64; then
9284 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9285 allow_undefined_flag="-z nodefs"
9286 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
9287 else
9288 # Determine the default libpath from the value encoded in an
9289 # empty executable.
9290 if test "${lt_cv_aix_libpath+set}" = set; then
9291 aix_libpath=$lt_cv_aix_libpath
9292 else
9293 if ${lt_cv_aix_libpath_+:} false; then :
9294 $as_echo_n "(cached) " >&6
9295 else
9296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9297 /* end confdefs.h. */
9300 main ()
9304 return 0;
9306 _ACEOF
9307 if ac_fn_c_try_link "$LINENO"; then :
9309 lt_aix_libpath_sed='
9310 /Import File Strings/,/^$/ {
9311 /^0/ {
9312 s/^0 *\([^ ]*\) *$/\1/
9316 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9317 # Check for a 64-bit object if we didn't find anything.
9318 if test -z "$lt_cv_aix_libpath_"; then
9319 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9322 rm -f core conftest.err conftest.$ac_objext \
9323 conftest$ac_exeext conftest.$ac_ext
9324 if test -z "$lt_cv_aix_libpath_"; then
9325 lt_cv_aix_libpath_="/usr/lib:/lib"
9330 aix_libpath=$lt_cv_aix_libpath_
9333 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9334 # Warning - without using the other run time loading flags,
9335 # -berok will link without error, but may produce a broken library.
9336 no_undefined_flag=' ${wl}-bernotok'
9337 allow_undefined_flag=' ${wl}-berok'
9338 if test "$with_gnu_ld" = yes; then
9339 # We only use this code for GNU lds that support --whole-archive.
9340 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9341 else
9342 # Exported symbols can be pulled into shared objects from archives
9343 whole_archive_flag_spec='$convenience'
9345 archive_cmds_need_lc=yes
9346 # This is similar to how AIX traditionally builds its shared libraries.
9347 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9352 amigaos*)
9353 case $host_cpu in
9354 powerpc)
9355 # see comment about AmigaOS4 .so support
9356 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9357 archive_expsym_cmds=''
9359 m68k)
9360 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9361 hardcode_libdir_flag_spec='-L$libdir'
9362 hardcode_minus_L=yes
9364 esac
9367 bsdi[45]*)
9368 export_dynamic_flag_spec=-rdynamic
9371 cygwin* | mingw* | pw32* | cegcc*)
9372 # When not using gcc, we currently assume that we are using
9373 # Microsoft Visual C++.
9374 # hardcode_libdir_flag_spec is actually meaningless, as there is
9375 # no search path for DLLs.
9376 case $cc_basename in
9377 cl*)
9378 # Native MSVC
9379 hardcode_libdir_flag_spec=' '
9380 allow_undefined_flag=unsupported
9381 always_export_symbols=yes
9382 file_list_spec='@'
9383 # Tell ltmain to make .lib files, not .a files.
9384 libext=lib
9385 # Tell ltmain to make .dll files, not .so files.
9386 shrext_cmds=".dll"
9387 # FIXME: Setting linknames here is a bad hack.
9388 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9389 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9390 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9391 else
9392 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9394 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9395 linknames='
9396 # The linker will not automatically build a static lib if we build a DLL.
9397 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9398 enable_shared_with_static_runtimes=yes
9399 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9400 # Don't use ranlib
9401 old_postinstall_cmds='chmod 644 $oldlib'
9402 postlink_cmds='lt_outputfile="@OUTPUT@"~
9403 lt_tool_outputfile="@TOOL_OUTPUT@"~
9404 case $lt_outputfile in
9405 *.exe|*.EXE) ;;
9407 lt_outputfile="$lt_outputfile.exe"
9408 lt_tool_outputfile="$lt_tool_outputfile.exe"
9410 esac~
9411 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9412 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9413 $RM "$lt_outputfile.manifest";
9417 # Assume MSVC wrapper
9418 hardcode_libdir_flag_spec=' '
9419 allow_undefined_flag=unsupported
9420 # Tell ltmain to make .lib files, not .a files.
9421 libext=lib
9422 # Tell ltmain to make .dll files, not .so files.
9423 shrext_cmds=".dll"
9424 # FIXME: Setting linknames here is a bad hack.
9425 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9426 # The linker will automatically build a .lib file if we build a DLL.
9427 old_archive_from_new_cmds='true'
9428 # FIXME: Should let the user specify the lib program.
9429 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9430 enable_shared_with_static_runtimes=yes
9432 esac
9435 darwin* | rhapsody*)
9438 archive_cmds_need_lc=no
9439 hardcode_direct=no
9440 hardcode_automatic=yes
9441 hardcode_shlibpath_var=unsupported
9442 if test "$lt_cv_ld_force_load" = "yes"; then
9443 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9444 else
9445 whole_archive_flag_spec=''
9447 link_all_deplibs=yes
9448 allow_undefined_flag="$_lt_dar_allow_undefined"
9449 case $cc_basename in
9450 ifort*) _lt_dar_can_shared=yes ;;
9451 *) _lt_dar_can_shared=$GCC ;;
9452 esac
9453 if test "$_lt_dar_can_shared" = "yes"; then
9454 output_verbose_link_cmd=func_echo_all
9455 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9456 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9457 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9458 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9460 else
9461 ld_shlibs=no
9466 dgux*)
9467 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9468 hardcode_libdir_flag_spec='-L$libdir'
9469 hardcode_shlibpath_var=no
9472 freebsd1*)
9473 ld_shlibs=no
9476 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9477 # support. Future versions do this automatically, but an explicit c++rt0.o
9478 # does not break anything, and helps significantly (at the cost of a little
9479 # extra space).
9480 freebsd2.2*)
9481 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9482 hardcode_libdir_flag_spec='-R$libdir'
9483 hardcode_direct=yes
9484 hardcode_shlibpath_var=no
9487 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9488 freebsd2*)
9489 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9490 hardcode_direct=yes
9491 hardcode_minus_L=yes
9492 hardcode_shlibpath_var=no
9495 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9496 freebsd* | dragonfly*)
9497 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9498 hardcode_libdir_flag_spec='-R$libdir'
9499 hardcode_direct=yes
9500 hardcode_shlibpath_var=no
9503 hpux9*)
9504 if test "$GCC" = yes; then
9505 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9506 else
9507 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9509 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9510 hardcode_libdir_separator=:
9511 hardcode_direct=yes
9513 # hardcode_minus_L: Not really in the search PATH,
9514 # but as the default location of the library.
9515 hardcode_minus_L=yes
9516 export_dynamic_flag_spec='${wl}-E'
9519 hpux10*)
9520 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9521 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9522 else
9523 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9525 if test "$with_gnu_ld" = no; then
9526 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9527 hardcode_libdir_flag_spec_ld='+b $libdir'
9528 hardcode_libdir_separator=:
9529 hardcode_direct=yes
9530 hardcode_direct_absolute=yes
9531 export_dynamic_flag_spec='${wl}-E'
9532 # hardcode_minus_L: Not really in the search PATH,
9533 # but as the default location of the library.
9534 hardcode_minus_L=yes
9538 hpux11*)
9539 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9540 case $host_cpu in
9541 hppa*64*)
9542 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9544 ia64*)
9545 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9548 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9550 esac
9551 else
9552 case $host_cpu in
9553 hppa*64*)
9554 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9556 ia64*)
9557 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9561 # Older versions of the 11.00 compiler do not understand -b yet
9562 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9564 $as_echo_n "checking if $CC understands -b... " >&6; }
9565 if ${lt_cv_prog_compiler__b+:} false; then :
9566 $as_echo_n "(cached) " >&6
9567 else
9568 lt_cv_prog_compiler__b=no
9569 save_LDFLAGS="$LDFLAGS"
9570 LDFLAGS="$LDFLAGS -b"
9571 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9572 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9573 # The linker can only warn and ignore the option if not recognized
9574 # So say no if there are warnings
9575 if test -s conftest.err; then
9576 # Append any errors to the config.log.
9577 cat conftest.err 1>&5
9578 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9579 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9580 if diff conftest.exp conftest.er2 >/dev/null; then
9581 lt_cv_prog_compiler__b=yes
9583 else
9584 lt_cv_prog_compiler__b=yes
9587 $RM -r conftest*
9588 LDFLAGS="$save_LDFLAGS"
9591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9592 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9594 if test x"$lt_cv_prog_compiler__b" = xyes; then
9595 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9596 else
9597 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9601 esac
9603 if test "$with_gnu_ld" = no; then
9604 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9605 hardcode_libdir_separator=:
9607 case $host_cpu in
9608 hppa*64*|ia64*)
9609 hardcode_direct=no
9610 hardcode_shlibpath_var=no
9613 hardcode_direct=yes
9614 hardcode_direct_absolute=yes
9615 export_dynamic_flag_spec='${wl}-E'
9617 # hardcode_minus_L: Not really in the search PATH,
9618 # but as the default location of the library.
9619 hardcode_minus_L=yes
9621 esac
9625 irix5* | irix6* | nonstopux*)
9626 if test "$GCC" = yes; then
9627 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9628 # Try to use the -exported_symbol ld option, if it does not
9629 # work, assume that -exports_file does not work either and
9630 # implicitly export all symbols.
9631 # This should be the same for all languages, so no per-tag cache variable.
9632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9633 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9634 if ${lt_cv_irix_exported_symbol+:} false; then :
9635 $as_echo_n "(cached) " >&6
9636 else
9637 save_LDFLAGS="$LDFLAGS"
9638 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9640 /* end confdefs.h. */
9641 int foo (void) { return 0; }
9642 _ACEOF
9643 if ac_fn_c_try_link "$LINENO"; then :
9644 lt_cv_irix_exported_symbol=yes
9645 else
9646 lt_cv_irix_exported_symbol=no
9648 rm -f core conftest.err conftest.$ac_objext \
9649 conftest$ac_exeext conftest.$ac_ext
9650 LDFLAGS="$save_LDFLAGS"
9652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9653 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9654 if test "$lt_cv_irix_exported_symbol" = yes; then
9655 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9657 else
9658 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9659 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9661 archive_cmds_need_lc='no'
9662 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9663 hardcode_libdir_separator=:
9664 inherit_rpath=yes
9665 link_all_deplibs=yes
9668 netbsd*)
9669 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9670 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9671 else
9672 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9674 hardcode_libdir_flag_spec='-R$libdir'
9675 hardcode_direct=yes
9676 hardcode_shlibpath_var=no
9679 newsos6)
9680 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9681 hardcode_direct=yes
9682 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9683 hardcode_libdir_separator=:
9684 hardcode_shlibpath_var=no
9687 *nto* | *qnx*)
9690 openbsd*)
9691 if test -f /usr/libexec/ld.so; then
9692 hardcode_direct=yes
9693 hardcode_shlibpath_var=no
9694 hardcode_direct_absolute=yes
9695 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9696 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9697 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9698 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9699 export_dynamic_flag_spec='${wl}-E'
9700 else
9701 case $host_os in
9702 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9703 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9704 hardcode_libdir_flag_spec='-R$libdir'
9707 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9708 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9710 esac
9712 else
9713 ld_shlibs=no
9717 os2*)
9718 hardcode_libdir_flag_spec='-L$libdir'
9719 hardcode_minus_L=yes
9720 allow_undefined_flag=unsupported
9721 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9722 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9725 osf3*)
9726 if test "$GCC" = yes; then
9727 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9728 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9729 else
9730 allow_undefined_flag=' -expect_unresolved \*'
9731 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9733 archive_cmds_need_lc='no'
9734 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9735 hardcode_libdir_separator=:
9738 osf4* | osf5*) # as osf3* with the addition of -msym flag
9739 if test "$GCC" = yes; then
9740 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9741 archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9742 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9743 else
9744 allow_undefined_flag=' -expect_unresolved \*'
9745 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9746 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
9747 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9749 # Both c and cxx compiler support -rpath directly
9750 hardcode_libdir_flag_spec='-rpath $libdir'
9752 archive_cmds_need_lc='no'
9753 hardcode_libdir_separator=:
9756 solaris*)
9757 no_undefined_flag=' -z defs'
9758 if test "$GCC" = yes; then
9759 wlarc='${wl}'
9760 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9761 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9762 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9763 else
9764 case `$CC -V 2>&1` in
9765 *"Compilers 5.0"*)
9766 wlarc=''
9767 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9768 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9769 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9772 wlarc='${wl}'
9773 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9774 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9775 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9777 esac
9779 hardcode_libdir_flag_spec='-R$libdir'
9780 hardcode_shlibpath_var=no
9781 case $host_os in
9782 solaris2.[0-5] | solaris2.[0-5].*) ;;
9784 # The compiler driver will combine and reorder linker options,
9785 # but understands `-z linker_flag'. GCC discards it without `$wl',
9786 # but is careful enough not to reorder.
9787 # Supported since Solaris 2.6 (maybe 2.5.1?)
9788 if test "$GCC" = yes; then
9789 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9790 else
9791 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9794 esac
9795 link_all_deplibs=yes
9798 sunos4*)
9799 if test "x$host_vendor" = xsequent; then
9800 # Use $CC to link under sequent, because it throws in some extra .o
9801 # files that make .init and .fini sections work.
9802 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9803 else
9804 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9806 hardcode_libdir_flag_spec='-L$libdir'
9807 hardcode_direct=yes
9808 hardcode_minus_L=yes
9809 hardcode_shlibpath_var=no
9812 sysv4)
9813 case $host_vendor in
9814 sni)
9815 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9816 hardcode_direct=yes # is this really true???
9818 siemens)
9819 ## LD is ld it makes a PLAMLIB
9820 ## CC just makes a GrossModule.
9821 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9822 reload_cmds='$CC -r -o $output$reload_objs'
9823 hardcode_direct=no
9825 motorola)
9826 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9827 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9829 esac
9830 runpath_var='LD_RUN_PATH'
9831 hardcode_shlibpath_var=no
9834 sysv4.3*)
9835 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9836 hardcode_shlibpath_var=no
9837 export_dynamic_flag_spec='-Bexport'
9840 sysv4*MP*)
9841 if test -d /usr/nec; then
9842 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9843 hardcode_shlibpath_var=no
9844 runpath_var=LD_RUN_PATH
9845 hardcode_runpath_var=yes
9846 ld_shlibs=yes
9850 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9851 no_undefined_flag='${wl}-z,text'
9852 archive_cmds_need_lc=no
9853 hardcode_shlibpath_var=no
9854 runpath_var='LD_RUN_PATH'
9856 if test "$GCC" = yes; then
9857 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9858 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9859 else
9860 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9861 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9865 sysv5* | sco3.2v5* | sco5v6*)
9866 # Note: We can NOT use -z defs as we might desire, because we do not
9867 # link with -lc, and that would cause any symbols used from libc to
9868 # always be unresolved, which means just about no library would
9869 # ever link correctly. If we're not using GNU ld we use -z text
9870 # though, which does catch some bad symbols but isn't as heavy-handed
9871 # as -z defs.
9872 no_undefined_flag='${wl}-z,text'
9873 allow_undefined_flag='${wl}-z,nodefs'
9874 archive_cmds_need_lc=no
9875 hardcode_shlibpath_var=no
9876 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9877 hardcode_libdir_separator=':'
9878 link_all_deplibs=yes
9879 export_dynamic_flag_spec='${wl}-Bexport'
9880 runpath_var='LD_RUN_PATH'
9882 if test "$GCC" = yes; then
9883 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9884 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9885 else
9886 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9887 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9891 uts4*)
9892 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9893 hardcode_libdir_flag_spec='-L$libdir'
9894 hardcode_shlibpath_var=no
9898 ld_shlibs=no
9900 esac
9902 if test x$host_vendor = xsni; then
9903 case $host in
9904 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9905 export_dynamic_flag_spec='${wl}-Blargedynsym'
9907 esac
9911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9912 $as_echo "$ld_shlibs" >&6; }
9913 test "$ld_shlibs" = no && can_build_shared=no
9915 with_gnu_ld=$with_gnu_ld
9932 # Do we need to explicitly link libc?
9934 case "x$archive_cmds_need_lc" in
9935 x|xyes)
9936 # Assume -lc should be added
9937 archive_cmds_need_lc=yes
9939 if test "$enable_shared" = yes && test "$GCC" = yes; then
9940 case $archive_cmds in
9941 *'~'*)
9942 # FIXME: we may have to deal with multi-command sequences.
9944 '$CC '*)
9945 # Test whether the compiler implicitly links with -lc since on some
9946 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9947 # to ld, don't add -lc before -lgcc.
9948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9949 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9950 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9951 $as_echo_n "(cached) " >&6
9952 else
9953 $RM conftest*
9954 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9956 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9957 (eval $ac_compile) 2>&5
9958 ac_status=$?
9959 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9960 test $ac_status = 0; } 2>conftest.err; then
9961 soname=conftest
9962 lib=conftest
9963 libobjs=conftest.$ac_objext
9964 deplibs=
9965 wl=$lt_prog_compiler_wl
9966 pic_flag=$lt_prog_compiler_pic
9967 compiler_flags=-v
9968 linker_flags=-v
9969 verstring=
9970 output_objdir=.
9971 libname=conftest
9972 lt_save_allow_undefined_flag=$allow_undefined_flag
9973 allow_undefined_flag=
9974 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9975 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9976 ac_status=$?
9977 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9978 test $ac_status = 0; }
9979 then
9980 lt_cv_archive_cmds_need_lc=no
9981 else
9982 lt_cv_archive_cmds_need_lc=yes
9984 allow_undefined_flag=$lt_save_allow_undefined_flag
9985 else
9986 cat conftest.err 1>&5
9988 $RM conftest*
9991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9992 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9993 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9995 esac
9998 esac
10156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10157 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10159 if test "$GCC" = yes; then
10160 case $host_os in
10161 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10162 *) lt_awk_arg="/^libraries:/" ;;
10163 esac
10164 case $host_os in
10165 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10166 *) lt_sed_strip_eq="s,=/,/,g" ;;
10167 esac
10168 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10169 case $lt_search_path_spec in
10170 *\;*)
10171 # if the path contains ";" then we assume it to be the separator
10172 # otherwise default to the standard path separator (i.e. ":") - it is
10173 # assumed that no part of a normal pathname contains ";" but that should
10174 # okay in the real world where ";" in dirpaths is itself problematic.
10175 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10178 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10180 esac
10181 # Ok, now we have the path, separated by spaces, we can step through it
10182 # and add multilib dir if necessary.
10183 lt_tmp_lt_search_path_spec=
10184 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10185 for lt_sys_path in $lt_search_path_spec; do
10186 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10187 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10188 else
10189 test -d "$lt_sys_path" && \
10190 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10192 done
10193 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10194 BEGIN {RS=" "; FS="/|\n";} {
10195 lt_foo="";
10196 lt_count=0;
10197 for (lt_i = NF; lt_i > 0; lt_i--) {
10198 if ($lt_i != "" && $lt_i != ".") {
10199 if ($lt_i == "..") {
10200 lt_count++;
10201 } else {
10202 if (lt_count == 0) {
10203 lt_foo="/" $lt_i lt_foo;
10204 } else {
10205 lt_count--;
10210 if (lt_foo != "") { lt_freq[lt_foo]++; }
10211 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10213 # AWK program above erroneously prepends '/' to C:/dos/paths
10214 # for these hosts.
10215 case $host_os in
10216 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10217 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10218 esac
10219 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10220 else
10221 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10223 library_names_spec=
10224 libname_spec='lib$name'
10225 soname_spec=
10226 shrext_cmds=".so"
10227 postinstall_cmds=
10228 postuninstall_cmds=
10229 finish_cmds=
10230 finish_eval=
10231 shlibpath_var=
10232 shlibpath_overrides_runpath=unknown
10233 version_type=none
10234 dynamic_linker="$host_os ld.so"
10235 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10236 need_lib_prefix=unknown
10237 hardcode_into_libs=no
10239 # when you set need_version to no, make sure it does not cause -set_version
10240 # flags to be left without arguments
10241 need_version=unknown
10243 case $host_os in
10244 aix3*)
10245 version_type=linux
10246 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10247 shlibpath_var=LIBPATH
10249 # AIX 3 has no versioning support, so we append a major version to the name.
10250 soname_spec='${libname}${release}${shared_ext}$major'
10253 aix[4-9]*)
10254 version_type=linux
10255 need_lib_prefix=no
10256 need_version=no
10257 hardcode_into_libs=yes
10258 if test "$host_cpu" = ia64; then
10259 # AIX 5 supports IA64
10260 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10261 shlibpath_var=LD_LIBRARY_PATH
10262 else
10263 # With GCC up to 2.95.x, collect2 would create an import file
10264 # for dependence libraries. The import file would start with
10265 # the line `#! .'. This would cause the generated library to
10266 # depend on `.', always an invalid library. This was fixed in
10267 # development snapshots of GCC prior to 3.0.
10268 case $host_os in
10269 aix4 | aix4.[01] | aix4.[01].*)
10270 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10271 echo ' yes '
10272 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10274 else
10275 can_build_shared=no
10278 esac
10279 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10280 # soname into executable. Probably we can add versioning support to
10281 # collect2, so additional links can be useful in future.
10282 if test "$aix_use_runtimelinking" = yes; then
10283 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10284 # instead of lib<name>.a to let people know that these are not
10285 # typical AIX shared libraries.
10286 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10287 else
10288 # We preserve .a as extension for shared libraries through AIX4.2
10289 # and later when we are not doing run time linking.
10290 library_names_spec='${libname}${release}.a $libname.a'
10291 soname_spec='${libname}${release}${shared_ext}$major'
10293 shlibpath_var=LIBPATH
10297 amigaos*)
10298 case $host_cpu in
10299 powerpc)
10300 # Since July 2007 AmigaOS4 officially supports .so libraries.
10301 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10302 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10304 m68k)
10305 library_names_spec='$libname.ixlibrary $libname.a'
10306 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10307 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10309 esac
10312 beos*)
10313 library_names_spec='${libname}${shared_ext}'
10314 dynamic_linker="$host_os ld.so"
10315 shlibpath_var=LIBRARY_PATH
10318 bsdi[45]*)
10319 version_type=linux
10320 need_version=no
10321 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10322 soname_spec='${libname}${release}${shared_ext}$major'
10323 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10324 shlibpath_var=LD_LIBRARY_PATH
10325 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10326 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10327 # the default ld.so.conf also contains /usr/contrib/lib and
10328 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10329 # libtool to hard-code these into programs
10332 cygwin* | mingw* | pw32* | cegcc*)
10333 version_type=windows
10334 shrext_cmds=".dll"
10335 need_version=no
10336 need_lib_prefix=no
10338 case $GCC,$cc_basename in
10339 yes,*)
10340 # gcc
10341 library_names_spec='$libname.dll.a'
10342 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10343 postinstall_cmds='base_file=`basename \${file}`~
10344 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10345 dldir=$destdir/`dirname \$dlpath`~
10346 test -d \$dldir || mkdir -p \$dldir~
10347 $install_prog $dir/$dlname \$dldir/$dlname~
10348 chmod a+x \$dldir/$dlname~
10349 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10350 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10352 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10353 dlpath=$dir/\$dldll~
10354 $RM \$dlpath'
10355 shlibpath_overrides_runpath=yes
10357 case $host_os in
10358 cygwin*)
10359 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10360 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10362 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10364 mingw* | cegcc*)
10365 # MinGW DLLs use traditional 'lib' prefix
10366 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10368 pw32*)
10369 # pw32 DLLs use 'pw' prefix rather than 'lib'
10370 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10372 esac
10373 dynamic_linker='Win32 ld.exe'
10376 *,cl*)
10377 # Native MSVC
10378 libname_spec='$name'
10379 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10380 library_names_spec='${libname}.dll.lib'
10382 case $build_os in
10383 mingw*)
10384 sys_lib_search_path_spec=
10385 lt_save_ifs=$IFS
10386 IFS=';'
10387 for lt_path in $LIB
10389 IFS=$lt_save_ifs
10390 # Let DOS variable expansion print the short 8.3 style file name.
10391 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10392 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10393 done
10394 IFS=$lt_save_ifs
10395 # Convert to MSYS style.
10396 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10398 cygwin*)
10399 # Convert to unix form, then to dos form, then back to unix form
10400 # but this time dos style (no spaces!) so that the unix form looks
10401 # like /cygdrive/c/PROGRA~1:/cygdr...
10402 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10403 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10404 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10407 sys_lib_search_path_spec="$LIB"
10408 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10409 # It is most probably a Windows format PATH.
10410 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10411 else
10412 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10414 # FIXME: find the short name or the path components, as spaces are
10415 # common. (e.g. "Program Files" -> "PROGRA~1")
10417 esac
10419 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10420 postinstall_cmds='base_file=`basename \${file}`~
10421 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10422 dldir=$destdir/`dirname \$dlpath`~
10423 test -d \$dldir || mkdir -p \$dldir~
10424 $install_prog $dir/$dlname \$dldir/$dlname'
10425 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10426 dlpath=$dir/\$dldll~
10427 $RM \$dlpath'
10428 shlibpath_overrides_runpath=yes
10429 dynamic_linker='Win32 link.exe'
10433 # Assume MSVC wrapper
10434 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10435 dynamic_linker='Win32 ld.exe'
10437 esac
10438 # FIXME: first we should search . and the directory the executable is in
10439 shlibpath_var=PATH
10442 darwin* | rhapsody*)
10443 dynamic_linker="$host_os dyld"
10444 version_type=darwin
10445 need_lib_prefix=no
10446 need_version=no
10447 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10448 soname_spec='${libname}${release}${major}$shared_ext'
10449 shlibpath_overrides_runpath=yes
10450 shlibpath_var=DYLD_LIBRARY_PATH
10451 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10453 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10454 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10457 dgux*)
10458 version_type=linux
10459 need_lib_prefix=no
10460 need_version=no
10461 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10462 soname_spec='${libname}${release}${shared_ext}$major'
10463 shlibpath_var=LD_LIBRARY_PATH
10466 freebsd1*)
10467 dynamic_linker=no
10470 freebsd* | dragonfly*)
10471 # DragonFly does not have aout. When/if they implement a new
10472 # versioning mechanism, adjust this.
10473 if test -x /usr/bin/objformat; then
10474 objformat=`/usr/bin/objformat`
10475 else
10476 case $host_os in
10477 freebsd[123]*) objformat=aout ;;
10478 *) objformat=elf ;;
10479 esac
10481 version_type=freebsd-$objformat
10482 case $version_type in
10483 freebsd-elf*)
10484 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10485 need_version=no
10486 need_lib_prefix=no
10488 freebsd-*)
10489 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10490 need_version=yes
10492 esac
10493 shlibpath_var=LD_LIBRARY_PATH
10494 case $host_os in
10495 freebsd2*)
10496 shlibpath_overrides_runpath=yes
10498 freebsd3.[01]* | freebsdelf3.[01]*)
10499 shlibpath_overrides_runpath=yes
10500 hardcode_into_libs=yes
10502 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10503 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10504 shlibpath_overrides_runpath=no
10505 hardcode_into_libs=yes
10507 *) # from 4.6 on, and DragonFly
10508 shlibpath_overrides_runpath=yes
10509 hardcode_into_libs=yes
10511 esac
10514 gnu*)
10515 version_type=linux
10516 need_lib_prefix=no
10517 need_version=no
10518 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10519 soname_spec='${libname}${release}${shared_ext}$major'
10520 shlibpath_var=LD_LIBRARY_PATH
10521 hardcode_into_libs=yes
10524 haiku*)
10525 version_type=linux
10526 need_lib_prefix=no
10527 need_version=no
10528 dynamic_linker="$host_os runtime_loader"
10529 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10530 soname_spec='${libname}${release}${shared_ext}$major'
10531 shlibpath_var=LIBRARY_PATH
10532 shlibpath_overrides_runpath=yes
10533 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10534 hardcode_into_libs=yes
10537 hpux9* | hpux10* | hpux11*)
10538 # Give a soname corresponding to the major version so that dld.sl refuses to
10539 # link against other versions.
10540 version_type=sunos
10541 need_lib_prefix=no
10542 need_version=no
10543 case $host_cpu in
10544 ia64*)
10545 shrext_cmds='.so'
10546 hardcode_into_libs=yes
10547 dynamic_linker="$host_os dld.so"
10548 shlibpath_var=LD_LIBRARY_PATH
10549 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10550 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10551 soname_spec='${libname}${release}${shared_ext}$major'
10552 if test "X$HPUX_IA64_MODE" = X32; then
10553 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10554 else
10555 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10557 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10559 hppa*64*)
10560 shrext_cmds='.sl'
10561 hardcode_into_libs=yes
10562 dynamic_linker="$host_os dld.sl"
10563 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10564 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10565 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10566 soname_spec='${libname}${release}${shared_ext}$major'
10567 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10568 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10571 shrext_cmds='.sl'
10572 dynamic_linker="$host_os dld.sl"
10573 shlibpath_var=SHLIB_PATH
10574 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10575 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10576 soname_spec='${libname}${release}${shared_ext}$major'
10578 esac
10579 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10580 postinstall_cmds='chmod 555 $lib'
10581 # or fails outright, so override atomically:
10582 install_override_mode=555
10585 interix[3-9]*)
10586 version_type=linux
10587 need_lib_prefix=no
10588 need_version=no
10589 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10590 soname_spec='${libname}${release}${shared_ext}$major'
10591 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10592 shlibpath_var=LD_LIBRARY_PATH
10593 shlibpath_overrides_runpath=no
10594 hardcode_into_libs=yes
10597 irix5* | irix6* | nonstopux*)
10598 case $host_os in
10599 nonstopux*) version_type=nonstopux ;;
10601 if test "$lt_cv_prog_gnu_ld" = yes; then
10602 version_type=linux
10603 else
10604 version_type=irix
10605 fi ;;
10606 esac
10607 need_lib_prefix=no
10608 need_version=no
10609 soname_spec='${libname}${release}${shared_ext}$major'
10610 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10611 case $host_os in
10612 irix5* | nonstopux*)
10613 libsuff= shlibsuff=
10616 case $LD in # libtool.m4 will add one of these switches to LD
10617 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10618 libsuff= shlibsuff= libmagic=32-bit;;
10619 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10620 libsuff=32 shlibsuff=N32 libmagic=N32;;
10621 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10622 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10623 *) libsuff= shlibsuff= libmagic=never-match;;
10624 esac
10626 esac
10627 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10628 shlibpath_overrides_runpath=no
10629 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10630 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10631 hardcode_into_libs=yes
10634 # No shared lib support for Linux oldld, aout, or coff.
10635 linux*oldld* | linux*aout* | linux*coff*)
10636 dynamic_linker=no
10639 # This must be Linux ELF.
10640 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10641 version_type=linux
10642 need_lib_prefix=no
10643 need_version=no
10644 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10645 soname_spec='${libname}${release}${shared_ext}$major'
10646 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10647 shlibpath_var=LD_LIBRARY_PATH
10648 shlibpath_overrides_runpath=no
10650 # Some binutils ld are patched to set DT_RUNPATH
10651 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10652 $as_echo_n "(cached) " >&6
10653 else
10654 lt_cv_shlibpath_overrides_runpath=no
10655 save_LDFLAGS=$LDFLAGS
10656 save_libdir=$libdir
10657 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10658 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10660 /* end confdefs.h. */
10663 main ()
10667 return 0;
10669 _ACEOF
10670 if ac_fn_c_try_link "$LINENO"; then :
10671 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10672 lt_cv_shlibpath_overrides_runpath=yes
10675 rm -f core conftest.err conftest.$ac_objext \
10676 conftest$ac_exeext conftest.$ac_ext
10677 LDFLAGS=$save_LDFLAGS
10678 libdir=$save_libdir
10682 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10684 # This implies no fast_install, which is unacceptable.
10685 # Some rework will be needed to allow for fast_install
10686 # before this can be enabled.
10687 hardcode_into_libs=yes
10689 # Append ld.so.conf contents to the search path
10690 if test -f /etc/ld.so.conf; then
10691 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
10692 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10695 # We used to test for /lib/ld.so.1 and disable shared libraries on
10696 # powerpc, because MkLinux only supported shared libraries with the
10697 # GNU dynamic linker. Since this was broken with cross compilers,
10698 # most powerpc-linux boxes support dynamic linking these days and
10699 # people can always --disable-shared, the test was removed, and we
10700 # assume the GNU/Linux dynamic linker is in use.
10701 dynamic_linker='GNU/Linux ld.so'
10704 netbsd*)
10705 version_type=sunos
10706 need_lib_prefix=no
10707 need_version=no
10708 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10709 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10710 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10711 dynamic_linker='NetBSD (a.out) ld.so'
10712 else
10713 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10714 soname_spec='${libname}${release}${shared_ext}$major'
10715 dynamic_linker='NetBSD ld.elf_so'
10717 shlibpath_var=LD_LIBRARY_PATH
10718 shlibpath_overrides_runpath=yes
10719 hardcode_into_libs=yes
10722 newsos6)
10723 version_type=linux
10724 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10725 shlibpath_var=LD_LIBRARY_PATH
10726 shlibpath_overrides_runpath=yes
10729 *nto* | *qnx*)
10730 version_type=qnx
10731 need_lib_prefix=no
10732 need_version=no
10733 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10734 soname_spec='${libname}${release}${shared_ext}$major'
10735 shlibpath_var=LD_LIBRARY_PATH
10736 shlibpath_overrides_runpath=no
10737 hardcode_into_libs=yes
10738 dynamic_linker='ldqnx.so'
10741 openbsd*)
10742 version_type=sunos
10743 sys_lib_dlsearch_path_spec="/usr/lib"
10744 need_lib_prefix=no
10745 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10746 case $host_os in
10747 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10748 *) need_version=no ;;
10749 esac
10750 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10751 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10752 shlibpath_var=LD_LIBRARY_PATH
10753 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10754 case $host_os in
10755 openbsd2.[89] | openbsd2.[89].*)
10756 shlibpath_overrides_runpath=no
10759 shlibpath_overrides_runpath=yes
10761 esac
10762 else
10763 shlibpath_overrides_runpath=yes
10767 os2*)
10768 libname_spec='$name'
10769 shrext_cmds=".dll"
10770 need_lib_prefix=no
10771 library_names_spec='$libname${shared_ext} $libname.a'
10772 dynamic_linker='OS/2 ld.exe'
10773 shlibpath_var=LIBPATH
10776 osf3* | osf4* | osf5*)
10777 version_type=osf
10778 need_lib_prefix=no
10779 need_version=no
10780 soname_spec='${libname}${release}${shared_ext}$major'
10781 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10782 shlibpath_var=LD_LIBRARY_PATH
10783 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10784 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10787 rdos*)
10788 dynamic_linker=no
10791 solaris*)
10792 version_type=linux
10793 need_lib_prefix=no
10794 need_version=no
10795 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10796 soname_spec='${libname}${release}${shared_ext}$major'
10797 shlibpath_var=LD_LIBRARY_PATH
10798 shlibpath_overrides_runpath=yes
10799 hardcode_into_libs=yes
10800 # ldd complains unless libraries are executable
10801 postinstall_cmds='chmod +x $lib'
10804 sunos4*)
10805 version_type=sunos
10806 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10807 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10808 shlibpath_var=LD_LIBRARY_PATH
10809 shlibpath_overrides_runpath=yes
10810 if test "$with_gnu_ld" = yes; then
10811 need_lib_prefix=no
10813 need_version=yes
10816 sysv4 | sysv4.3*)
10817 version_type=linux
10818 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10819 soname_spec='${libname}${release}${shared_ext}$major'
10820 shlibpath_var=LD_LIBRARY_PATH
10821 case $host_vendor in
10822 sni)
10823 shlibpath_overrides_runpath=no
10824 need_lib_prefix=no
10825 runpath_var=LD_RUN_PATH
10827 siemens)
10828 need_lib_prefix=no
10830 motorola)
10831 need_lib_prefix=no
10832 need_version=no
10833 shlibpath_overrides_runpath=no
10834 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10836 esac
10839 sysv4*MP*)
10840 if test -d /usr/nec ;then
10841 version_type=linux
10842 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10843 soname_spec='$libname${shared_ext}.$major'
10844 shlibpath_var=LD_LIBRARY_PATH
10848 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10849 version_type=freebsd-elf
10850 need_lib_prefix=no
10851 need_version=no
10852 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10853 soname_spec='${libname}${release}${shared_ext}$major'
10854 shlibpath_var=LD_LIBRARY_PATH
10855 shlibpath_overrides_runpath=yes
10856 hardcode_into_libs=yes
10857 if test "$with_gnu_ld" = yes; then
10858 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10859 else
10860 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10861 case $host_os in
10862 sco3.2v5*)
10863 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10865 esac
10867 sys_lib_dlsearch_path_spec='/usr/lib'
10870 tpf*)
10871 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10872 version_type=linux
10873 need_lib_prefix=no
10874 need_version=no
10875 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10876 shlibpath_var=LD_LIBRARY_PATH
10877 shlibpath_overrides_runpath=no
10878 hardcode_into_libs=yes
10881 uts4*)
10882 version_type=linux
10883 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10884 soname_spec='${libname}${release}${shared_ext}$major'
10885 shlibpath_var=LD_LIBRARY_PATH
10889 dynamic_linker=no
10891 esac
10892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10893 $as_echo "$dynamic_linker" >&6; }
10894 test "$dynamic_linker" = no && can_build_shared=no
10896 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10897 if test "$GCC" = yes; then
10898 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10901 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10902 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10904 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10905 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11000 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11001 hardcode_action=
11002 if test -n "$hardcode_libdir_flag_spec" ||
11003 test -n "$runpath_var" ||
11004 test "X$hardcode_automatic" = "Xyes" ; then
11006 # We can hardcode non-existent directories.
11007 if test "$hardcode_direct" != no &&
11008 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11009 # have to relink, otherwise we might link with an installed library
11010 # when we should be linking with a yet-to-be-installed one
11011 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11012 test "$hardcode_minus_L" != no; then
11013 # Linking always hardcodes the temporary library directory.
11014 hardcode_action=relink
11015 else
11016 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11017 hardcode_action=immediate
11019 else
11020 # We cannot hardcode anything, or else we can only hardcode existing
11021 # directories.
11022 hardcode_action=unsupported
11024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11025 $as_echo "$hardcode_action" >&6; }
11027 if test "$hardcode_action" = relink ||
11028 test "$inherit_rpath" = yes; then
11029 # Fast installation is not supported
11030 enable_fast_install=no
11031 elif test "$shlibpath_overrides_runpath" = yes ||
11032 test "$enable_shared" = no; then
11033 # Fast installation is not necessary
11034 enable_fast_install=needless
11042 if test "x$enable_dlopen" != xyes; then
11043 enable_dlopen=unknown
11044 enable_dlopen_self=unknown
11045 enable_dlopen_self_static=unknown
11046 else
11047 lt_cv_dlopen=no
11048 lt_cv_dlopen_libs=
11050 case $host_os in
11051 beos*)
11052 lt_cv_dlopen="load_add_on"
11053 lt_cv_dlopen_libs=
11054 lt_cv_dlopen_self=yes
11057 mingw* | pw32* | cegcc*)
11058 lt_cv_dlopen="LoadLibrary"
11059 lt_cv_dlopen_libs=
11062 cygwin*)
11063 lt_cv_dlopen="dlopen"
11064 lt_cv_dlopen_libs=
11067 darwin*)
11068 # if libdl is installed we need to link against it
11069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11070 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11071 if ${ac_cv_lib_dl_dlopen+:} false; then :
11072 $as_echo_n "(cached) " >&6
11073 else
11074 ac_check_lib_save_LIBS=$LIBS
11075 LIBS="-ldl $LIBS"
11076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11077 /* end confdefs.h. */
11079 /* Override any GCC internal prototype to avoid an error.
11080 Use char because int might match the return type of a GCC
11081 builtin and then its argument prototype would still apply. */
11082 #ifdef __cplusplus
11083 extern "C"
11084 #endif
11085 char dlopen ();
11087 main ()
11089 return dlopen ();
11091 return 0;
11093 _ACEOF
11094 if ac_fn_c_try_link "$LINENO"; then :
11095 ac_cv_lib_dl_dlopen=yes
11096 else
11097 ac_cv_lib_dl_dlopen=no
11099 rm -f core conftest.err conftest.$ac_objext \
11100 conftest$ac_exeext conftest.$ac_ext
11101 LIBS=$ac_check_lib_save_LIBS
11103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11104 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11105 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11106 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11107 else
11109 lt_cv_dlopen="dyld"
11110 lt_cv_dlopen_libs=
11111 lt_cv_dlopen_self=yes
11118 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11119 if test "x$ac_cv_func_shl_load" = xyes; then :
11120 lt_cv_dlopen="shl_load"
11121 else
11122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11123 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11124 if ${ac_cv_lib_dld_shl_load+:} false; then :
11125 $as_echo_n "(cached) " >&6
11126 else
11127 ac_check_lib_save_LIBS=$LIBS
11128 LIBS="-ldld $LIBS"
11129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11130 /* end confdefs.h. */
11132 /* Override any GCC internal prototype to avoid an error.
11133 Use char because int might match the return type of a GCC
11134 builtin and then its argument prototype would still apply. */
11135 #ifdef __cplusplus
11136 extern "C"
11137 #endif
11138 char shl_load ();
11140 main ()
11142 return shl_load ();
11144 return 0;
11146 _ACEOF
11147 if ac_fn_c_try_link "$LINENO"; then :
11148 ac_cv_lib_dld_shl_load=yes
11149 else
11150 ac_cv_lib_dld_shl_load=no
11152 rm -f core conftest.err conftest.$ac_objext \
11153 conftest$ac_exeext conftest.$ac_ext
11154 LIBS=$ac_check_lib_save_LIBS
11156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11157 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11158 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11159 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11160 else
11161 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11162 if test "x$ac_cv_func_dlopen" = xyes; then :
11163 lt_cv_dlopen="dlopen"
11164 else
11165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11166 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11167 if ${ac_cv_lib_dl_dlopen+:} false; then :
11168 $as_echo_n "(cached) " >&6
11169 else
11170 ac_check_lib_save_LIBS=$LIBS
11171 LIBS="-ldl $LIBS"
11172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11173 /* end confdefs.h. */
11175 /* Override any GCC internal prototype to avoid an error.
11176 Use char because int might match the return type of a GCC
11177 builtin and then its argument prototype would still apply. */
11178 #ifdef __cplusplus
11179 extern "C"
11180 #endif
11181 char dlopen ();
11183 main ()
11185 return dlopen ();
11187 return 0;
11189 _ACEOF
11190 if ac_fn_c_try_link "$LINENO"; then :
11191 ac_cv_lib_dl_dlopen=yes
11192 else
11193 ac_cv_lib_dl_dlopen=no
11195 rm -f core conftest.err conftest.$ac_objext \
11196 conftest$ac_exeext conftest.$ac_ext
11197 LIBS=$ac_check_lib_save_LIBS
11199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11200 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11201 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11202 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11203 else
11204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11205 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11206 if ${ac_cv_lib_svld_dlopen+:} false; then :
11207 $as_echo_n "(cached) " >&6
11208 else
11209 ac_check_lib_save_LIBS=$LIBS
11210 LIBS="-lsvld $LIBS"
11211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11212 /* end confdefs.h. */
11214 /* Override any GCC internal prototype to avoid an error.
11215 Use char because int might match the return type of a GCC
11216 builtin and then its argument prototype would still apply. */
11217 #ifdef __cplusplus
11218 extern "C"
11219 #endif
11220 char dlopen ();
11222 main ()
11224 return dlopen ();
11226 return 0;
11228 _ACEOF
11229 if ac_fn_c_try_link "$LINENO"; then :
11230 ac_cv_lib_svld_dlopen=yes
11231 else
11232 ac_cv_lib_svld_dlopen=no
11234 rm -f core conftest.err conftest.$ac_objext \
11235 conftest$ac_exeext conftest.$ac_ext
11236 LIBS=$ac_check_lib_save_LIBS
11238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11239 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11240 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11241 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11242 else
11243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11244 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11245 if ${ac_cv_lib_dld_dld_link+:} false; then :
11246 $as_echo_n "(cached) " >&6
11247 else
11248 ac_check_lib_save_LIBS=$LIBS
11249 LIBS="-ldld $LIBS"
11250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11251 /* end confdefs.h. */
11253 /* Override any GCC internal prototype to avoid an error.
11254 Use char because int might match the return type of a GCC
11255 builtin and then its argument prototype would still apply. */
11256 #ifdef __cplusplus
11257 extern "C"
11258 #endif
11259 char dld_link ();
11261 main ()
11263 return dld_link ();
11265 return 0;
11267 _ACEOF
11268 if ac_fn_c_try_link "$LINENO"; then :
11269 ac_cv_lib_dld_dld_link=yes
11270 else
11271 ac_cv_lib_dld_dld_link=no
11273 rm -f core conftest.err conftest.$ac_objext \
11274 conftest$ac_exeext conftest.$ac_ext
11275 LIBS=$ac_check_lib_save_LIBS
11277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11278 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11279 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11280 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11299 esac
11301 if test "x$lt_cv_dlopen" != xno; then
11302 enable_dlopen=yes
11303 else
11304 enable_dlopen=no
11307 case $lt_cv_dlopen in
11308 dlopen)
11309 save_CPPFLAGS="$CPPFLAGS"
11310 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11312 save_LDFLAGS="$LDFLAGS"
11313 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11315 save_LIBS="$LIBS"
11316 LIBS="$lt_cv_dlopen_libs $LIBS"
11318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11319 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11320 if ${lt_cv_dlopen_self+:} false; then :
11321 $as_echo_n "(cached) " >&6
11322 else
11323 if test "$cross_compiling" = yes; then :
11324 lt_cv_dlopen_self=cross
11325 else
11326 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11327 lt_status=$lt_dlunknown
11328 cat > conftest.$ac_ext <<_LT_EOF
11329 #line $LINENO "configure"
11330 #include "confdefs.h"
11332 #if HAVE_DLFCN_H
11333 #include <dlfcn.h>
11334 #endif
11336 #include <stdio.h>
11338 #ifdef RTLD_GLOBAL
11339 # define LT_DLGLOBAL RTLD_GLOBAL
11340 #else
11341 # ifdef DL_GLOBAL
11342 # define LT_DLGLOBAL DL_GLOBAL
11343 # else
11344 # define LT_DLGLOBAL 0
11345 # endif
11346 #endif
11348 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11349 find out it does not work in some platform. */
11350 #ifndef LT_DLLAZY_OR_NOW
11351 # ifdef RTLD_LAZY
11352 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11353 # else
11354 # ifdef DL_LAZY
11355 # define LT_DLLAZY_OR_NOW DL_LAZY
11356 # else
11357 # ifdef RTLD_NOW
11358 # define LT_DLLAZY_OR_NOW RTLD_NOW
11359 # else
11360 # ifdef DL_NOW
11361 # define LT_DLLAZY_OR_NOW DL_NOW
11362 # else
11363 # define LT_DLLAZY_OR_NOW 0
11364 # endif
11365 # endif
11366 # endif
11367 # endif
11368 #endif
11370 /* When -fvisbility=hidden is used, assume the code has been annotated
11371 correspondingly for the symbols needed. */
11372 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11373 int fnord () __attribute__((visibility("default")));
11374 #endif
11376 int fnord () { return 42; }
11377 int main ()
11379 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11380 int status = $lt_dlunknown;
11382 if (self)
11384 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11385 else
11387 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11388 else puts (dlerror ());
11390 /* dlclose (self); */
11392 else
11393 puts (dlerror ());
11395 return status;
11397 _LT_EOF
11398 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11399 (eval $ac_link) 2>&5
11400 ac_status=$?
11401 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11402 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11403 (./conftest; exit; ) >&5 2>/dev/null
11404 lt_status=$?
11405 case x$lt_status in
11406 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11407 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11408 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11409 esac
11410 else :
11411 # compilation failed
11412 lt_cv_dlopen_self=no
11415 rm -fr conftest*
11419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11420 $as_echo "$lt_cv_dlopen_self" >&6; }
11422 if test "x$lt_cv_dlopen_self" = xyes; then
11423 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11425 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11426 if ${lt_cv_dlopen_self_static+:} false; then :
11427 $as_echo_n "(cached) " >&6
11428 else
11429 if test "$cross_compiling" = yes; then :
11430 lt_cv_dlopen_self_static=cross
11431 else
11432 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11433 lt_status=$lt_dlunknown
11434 cat > conftest.$ac_ext <<_LT_EOF
11435 #line $LINENO "configure"
11436 #include "confdefs.h"
11438 #if HAVE_DLFCN_H
11439 #include <dlfcn.h>
11440 #endif
11442 #include <stdio.h>
11444 #ifdef RTLD_GLOBAL
11445 # define LT_DLGLOBAL RTLD_GLOBAL
11446 #else
11447 # ifdef DL_GLOBAL
11448 # define LT_DLGLOBAL DL_GLOBAL
11449 # else
11450 # define LT_DLGLOBAL 0
11451 # endif
11452 #endif
11454 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11455 find out it does not work in some platform. */
11456 #ifndef LT_DLLAZY_OR_NOW
11457 # ifdef RTLD_LAZY
11458 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11459 # else
11460 # ifdef DL_LAZY
11461 # define LT_DLLAZY_OR_NOW DL_LAZY
11462 # else
11463 # ifdef RTLD_NOW
11464 # define LT_DLLAZY_OR_NOW RTLD_NOW
11465 # else
11466 # ifdef DL_NOW
11467 # define LT_DLLAZY_OR_NOW DL_NOW
11468 # else
11469 # define LT_DLLAZY_OR_NOW 0
11470 # endif
11471 # endif
11472 # endif
11473 # endif
11474 #endif
11476 /* When -fvisbility=hidden is used, assume the code has been annotated
11477 correspondingly for the symbols needed. */
11478 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11479 int fnord () __attribute__((visibility("default")));
11480 #endif
11482 int fnord () { return 42; }
11483 int main ()
11485 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11486 int status = $lt_dlunknown;
11488 if (self)
11490 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11491 else
11493 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11494 else puts (dlerror ());
11496 /* dlclose (self); */
11498 else
11499 puts (dlerror ());
11501 return status;
11503 _LT_EOF
11504 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11505 (eval $ac_link) 2>&5
11506 ac_status=$?
11507 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11508 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11509 (./conftest; exit; ) >&5 2>/dev/null
11510 lt_status=$?
11511 case x$lt_status in
11512 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11513 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11514 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11515 esac
11516 else :
11517 # compilation failed
11518 lt_cv_dlopen_self_static=no
11521 rm -fr conftest*
11525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11526 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11529 CPPFLAGS="$save_CPPFLAGS"
11530 LDFLAGS="$save_LDFLAGS"
11531 LIBS="$save_LIBS"
11533 esac
11535 case $lt_cv_dlopen_self in
11536 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11537 *) enable_dlopen_self=unknown ;;
11538 esac
11540 case $lt_cv_dlopen_self_static in
11541 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11542 *) enable_dlopen_self_static=unknown ;;
11543 esac
11562 striplib=
11563 old_striplib=
11564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11565 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11566 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11567 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11568 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11570 $as_echo "yes" >&6; }
11571 else
11572 # FIXME - insert some real tests, host_os isn't really good enough
11573 case $host_os in
11574 darwin*)
11575 if test -n "$STRIP" ; then
11576 striplib="$STRIP -x"
11577 old_striplib="$STRIP -S"
11578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11579 $as_echo "yes" >&6; }
11580 else
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11582 $as_echo "no" >&6; }
11586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11587 $as_echo "no" >&6; }
11589 esac
11603 # Report which library types will actually be built
11604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11605 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11607 $as_echo "$can_build_shared" >&6; }
11609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11610 $as_echo_n "checking whether to build shared libraries... " >&6; }
11611 test "$can_build_shared" = "no" && enable_shared=no
11613 # On AIX, shared libraries and static libraries use the same namespace, and
11614 # are all built from PIC.
11615 case $host_os in
11616 aix3*)
11617 test "$enable_shared" = yes && enable_static=no
11618 if test -n "$RANLIB"; then
11619 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11620 postinstall_cmds='$RANLIB $lib'
11624 aix[4-9]*)
11625 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11626 test "$enable_shared" = yes && enable_static=no
11629 esac
11630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11631 $as_echo "$enable_shared" >&6; }
11633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11634 $as_echo_n "checking whether to build static libraries... " >&6; }
11635 # Make sure either enable_shared or enable_static is yes.
11636 test "$enable_shared" = yes || enable_static=yes
11637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11638 $as_echo "$enable_static" >&6; }
11644 ac_ext=c
11645 ac_cpp='$CPP $CPPFLAGS'
11646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11650 CC="$lt_save_CC"
11664 ac_config_commands="$ac_config_commands libtool"
11669 # Only expand once:
11674 # Host specific.
11675 NO_UNDEFINED=
11676 case "$host" in
11677 *-*-mingw32* | *-*-cygwin*)
11679 $as_echo "#define HOST_W32 1" >>confdefs.h
11681 host_w32=yes
11682 if test x"$enable_shared" != "xno" ; then
11683 NO_UNDEFINED="-no-undefined"
11686 esac
11687 EXTRA_LIBQUVI_LDFLAGS="$NO_UNDEFINED"
11690 # Checks for programs.
11691 for ac_prog in gawk mawk nawk awk
11693 # Extract the first word of "$ac_prog", so it can be a program name with args.
11694 set dummy $ac_prog; ac_word=$2
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11696 $as_echo_n "checking for $ac_word... " >&6; }
11697 if ${ac_cv_prog_AWK+:} false; then :
11698 $as_echo_n "(cached) " >&6
11699 else
11700 if test -n "$AWK"; then
11701 ac_cv_prog_AWK="$AWK" # Let the user override the test.
11702 else
11703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11704 for as_dir in $PATH
11706 IFS=$as_save_IFS
11707 test -z "$as_dir" && as_dir=.
11708 for ac_exec_ext in '' $ac_executable_extensions; do
11709 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11710 ac_cv_prog_AWK="$ac_prog"
11711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11712 break 2
11714 done
11715 done
11716 IFS=$as_save_IFS
11720 AWK=$ac_cv_prog_AWK
11721 if test -n "$AWK"; then
11722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
11723 $as_echo "$AWK" >&6; }
11724 else
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11726 $as_echo "no" >&6; }
11730 test -n "$AWK" && break
11731 done
11733 ac_ext=c
11734 ac_cpp='$CPP $CPPFLAGS'
11735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11738 if test -n "$ac_tool_prefix"; then
11739 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11740 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11742 $as_echo_n "checking for $ac_word... " >&6; }
11743 if ${ac_cv_prog_CC+:} false; then :
11744 $as_echo_n "(cached) " >&6
11745 else
11746 if test -n "$CC"; then
11747 ac_cv_prog_CC="$CC" # Let the user override the test.
11748 else
11749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11750 for as_dir in $PATH
11752 IFS=$as_save_IFS
11753 test -z "$as_dir" && as_dir=.
11754 for ac_exec_ext in '' $ac_executable_extensions; do
11755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11756 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11758 break 2
11760 done
11761 done
11762 IFS=$as_save_IFS
11766 CC=$ac_cv_prog_CC
11767 if test -n "$CC"; then
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11769 $as_echo "$CC" >&6; }
11770 else
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11772 $as_echo "no" >&6; }
11777 if test -z "$ac_cv_prog_CC"; then
11778 ac_ct_CC=$CC
11779 # Extract the first word of "gcc", so it can be a program name with args.
11780 set dummy gcc; ac_word=$2
11781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11782 $as_echo_n "checking for $ac_word... " >&6; }
11783 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11784 $as_echo_n "(cached) " >&6
11785 else
11786 if test -n "$ac_ct_CC"; then
11787 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11788 else
11789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11790 for as_dir in $PATH
11792 IFS=$as_save_IFS
11793 test -z "$as_dir" && as_dir=.
11794 for ac_exec_ext in '' $ac_executable_extensions; do
11795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11796 ac_cv_prog_ac_ct_CC="gcc"
11797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11798 break 2
11800 done
11801 done
11802 IFS=$as_save_IFS
11806 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11807 if test -n "$ac_ct_CC"; then
11808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11809 $as_echo "$ac_ct_CC" >&6; }
11810 else
11811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11812 $as_echo "no" >&6; }
11815 if test "x$ac_ct_CC" = x; then
11816 CC=""
11817 else
11818 case $cross_compiling:$ac_tool_warned in
11819 yes:)
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11821 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11822 ac_tool_warned=yes ;;
11823 esac
11824 CC=$ac_ct_CC
11826 else
11827 CC="$ac_cv_prog_CC"
11830 if test -z "$CC"; then
11831 if test -n "$ac_tool_prefix"; then
11832 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11833 set dummy ${ac_tool_prefix}cc; ac_word=$2
11834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11835 $as_echo_n "checking for $ac_word... " >&6; }
11836 if ${ac_cv_prog_CC+:} false; then :
11837 $as_echo_n "(cached) " >&6
11838 else
11839 if test -n "$CC"; then
11840 ac_cv_prog_CC="$CC" # Let the user override the test.
11841 else
11842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11843 for as_dir in $PATH
11845 IFS=$as_save_IFS
11846 test -z "$as_dir" && as_dir=.
11847 for ac_exec_ext in '' $ac_executable_extensions; do
11848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11849 ac_cv_prog_CC="${ac_tool_prefix}cc"
11850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11851 break 2
11853 done
11854 done
11855 IFS=$as_save_IFS
11859 CC=$ac_cv_prog_CC
11860 if test -n "$CC"; then
11861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11862 $as_echo "$CC" >&6; }
11863 else
11864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11865 $as_echo "no" >&6; }
11871 if test -z "$CC"; then
11872 # Extract the first word of "cc", so it can be a program name with args.
11873 set dummy cc; ac_word=$2
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11875 $as_echo_n "checking for $ac_word... " >&6; }
11876 if ${ac_cv_prog_CC+:} false; then :
11877 $as_echo_n "(cached) " >&6
11878 else
11879 if test -n "$CC"; then
11880 ac_cv_prog_CC="$CC" # Let the user override the test.
11881 else
11882 ac_prog_rejected=no
11883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11884 for as_dir in $PATH
11886 IFS=$as_save_IFS
11887 test -z "$as_dir" && as_dir=.
11888 for ac_exec_ext in '' $ac_executable_extensions; do
11889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11890 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11891 ac_prog_rejected=yes
11892 continue
11894 ac_cv_prog_CC="cc"
11895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11896 break 2
11898 done
11899 done
11900 IFS=$as_save_IFS
11902 if test $ac_prog_rejected = yes; then
11903 # We found a bogon in the path, so make sure we never use it.
11904 set dummy $ac_cv_prog_CC
11905 shift
11906 if test $# != 0; then
11907 # We chose a different compiler from the bogus one.
11908 # However, it has the same basename, so the bogon will be chosen
11909 # first if we set CC to just the basename; use the full file name.
11910 shift
11911 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11916 CC=$ac_cv_prog_CC
11917 if test -n "$CC"; then
11918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11919 $as_echo "$CC" >&6; }
11920 else
11921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11922 $as_echo "no" >&6; }
11927 if test -z "$CC"; then
11928 if test -n "$ac_tool_prefix"; then
11929 for ac_prog in cl.exe
11931 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11932 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11934 $as_echo_n "checking for $ac_word... " >&6; }
11935 if ${ac_cv_prog_CC+:} false; then :
11936 $as_echo_n "(cached) " >&6
11937 else
11938 if test -n "$CC"; then
11939 ac_cv_prog_CC="$CC" # Let the user override the test.
11940 else
11941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11942 for as_dir in $PATH
11944 IFS=$as_save_IFS
11945 test -z "$as_dir" && as_dir=.
11946 for ac_exec_ext in '' $ac_executable_extensions; do
11947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11948 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11950 break 2
11952 done
11953 done
11954 IFS=$as_save_IFS
11958 CC=$ac_cv_prog_CC
11959 if test -n "$CC"; then
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11961 $as_echo "$CC" >&6; }
11962 else
11963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11964 $as_echo "no" >&6; }
11968 test -n "$CC" && break
11969 done
11971 if test -z "$CC"; then
11972 ac_ct_CC=$CC
11973 for ac_prog in cl.exe
11975 # Extract the first word of "$ac_prog", so it can be a program name with args.
11976 set dummy $ac_prog; ac_word=$2
11977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11978 $as_echo_n "checking for $ac_word... " >&6; }
11979 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11980 $as_echo_n "(cached) " >&6
11981 else
11982 if test -n "$ac_ct_CC"; then
11983 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11984 else
11985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11986 for as_dir in $PATH
11988 IFS=$as_save_IFS
11989 test -z "$as_dir" && as_dir=.
11990 for ac_exec_ext in '' $ac_executable_extensions; do
11991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11992 ac_cv_prog_ac_ct_CC="$ac_prog"
11993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11994 break 2
11996 done
11997 done
11998 IFS=$as_save_IFS
12002 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12003 if test -n "$ac_ct_CC"; then
12004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12005 $as_echo "$ac_ct_CC" >&6; }
12006 else
12007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12008 $as_echo "no" >&6; }
12012 test -n "$ac_ct_CC" && break
12013 done
12015 if test "x$ac_ct_CC" = x; then
12016 CC=""
12017 else
12018 case $cross_compiling:$ac_tool_warned in
12019 yes:)
12020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12021 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12022 ac_tool_warned=yes ;;
12023 esac
12024 CC=$ac_ct_CC
12031 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12032 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12033 as_fn_error $? "no acceptable C compiler found in \$PATH
12034 See \`config.log' for more details" "$LINENO" 5; }
12036 # Provide some information about the compiler.
12037 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12038 set X $ac_compile
12039 ac_compiler=$2
12040 for ac_option in --version -v -V -qversion; do
12041 { { ac_try="$ac_compiler $ac_option >&5"
12042 case "(($ac_try" in
12043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12044 *) ac_try_echo=$ac_try;;
12045 esac
12046 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12047 $as_echo "$ac_try_echo"; } >&5
12048 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12049 ac_status=$?
12050 if test -s conftest.err; then
12051 sed '10a\
12052 ... rest of stderr output deleted ...
12053 10q' conftest.err >conftest.er1
12054 cat conftest.er1 >&5
12056 rm -f conftest.er1 conftest.err
12057 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12058 test $ac_status = 0; }
12059 done
12061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12062 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12063 if ${ac_cv_c_compiler_gnu+:} false; then :
12064 $as_echo_n "(cached) " >&6
12065 else
12066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12067 /* end confdefs.h. */
12070 main ()
12072 #ifndef __GNUC__
12073 choke me
12074 #endif
12077 return 0;
12079 _ACEOF
12080 if ac_fn_c_try_compile "$LINENO"; then :
12081 ac_compiler_gnu=yes
12082 else
12083 ac_compiler_gnu=no
12085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12086 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12090 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12091 if test $ac_compiler_gnu = yes; then
12092 GCC=yes
12093 else
12094 GCC=
12096 ac_test_CFLAGS=${CFLAGS+set}
12097 ac_save_CFLAGS=$CFLAGS
12098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12099 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12100 if ${ac_cv_prog_cc_g+:} false; then :
12101 $as_echo_n "(cached) " >&6
12102 else
12103 ac_save_c_werror_flag=$ac_c_werror_flag
12104 ac_c_werror_flag=yes
12105 ac_cv_prog_cc_g=no
12106 CFLAGS="-g"
12107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12108 /* end confdefs.h. */
12111 main ()
12115 return 0;
12117 _ACEOF
12118 if ac_fn_c_try_compile "$LINENO"; then :
12119 ac_cv_prog_cc_g=yes
12120 else
12121 CFLAGS=""
12122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12123 /* end confdefs.h. */
12126 main ()
12130 return 0;
12132 _ACEOF
12133 if ac_fn_c_try_compile "$LINENO"; then :
12135 else
12136 ac_c_werror_flag=$ac_save_c_werror_flag
12137 CFLAGS="-g"
12138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12139 /* end confdefs.h. */
12142 main ()
12146 return 0;
12148 _ACEOF
12149 if ac_fn_c_try_compile "$LINENO"; then :
12150 ac_cv_prog_cc_g=yes
12152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12157 ac_c_werror_flag=$ac_save_c_werror_flag
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12160 $as_echo "$ac_cv_prog_cc_g" >&6; }
12161 if test "$ac_test_CFLAGS" = set; then
12162 CFLAGS=$ac_save_CFLAGS
12163 elif test $ac_cv_prog_cc_g = yes; then
12164 if test "$GCC" = yes; then
12165 CFLAGS="-g -O2"
12166 else
12167 CFLAGS="-g"
12169 else
12170 if test "$GCC" = yes; then
12171 CFLAGS="-O2"
12172 else
12173 CFLAGS=
12176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12177 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12178 if ${ac_cv_prog_cc_c89+:} false; then :
12179 $as_echo_n "(cached) " >&6
12180 else
12181 ac_cv_prog_cc_c89=no
12182 ac_save_CC=$CC
12183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12184 /* end confdefs.h. */
12185 #include <stdarg.h>
12186 #include <stdio.h>
12187 #include <sys/types.h>
12188 #include <sys/stat.h>
12189 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12190 struct buf { int x; };
12191 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12192 static char *e (p, i)
12193 char **p;
12194 int i;
12196 return p[i];
12198 static char *f (char * (*g) (char **, int), char **p, ...)
12200 char *s;
12201 va_list v;
12202 va_start (v,p);
12203 s = g (p, va_arg (v,int));
12204 va_end (v);
12205 return s;
12208 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12209 function prototypes and stuff, but not '\xHH' hex character constants.
12210 These don't provoke an error unfortunately, instead are silently treated
12211 as 'x'. The following induces an error, until -std is added to get
12212 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12213 array size at least. It's necessary to write '\x00'==0 to get something
12214 that's true only with -std. */
12215 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12217 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12218 inside strings and character constants. */
12219 #define FOO(x) 'x'
12220 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12222 int test (int i, double x);
12223 struct s1 {int (*f) (int a);};
12224 struct s2 {int (*f) (double a);};
12225 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12226 int argc;
12227 char **argv;
12229 main ()
12231 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12233 return 0;
12235 _ACEOF
12236 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12237 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12239 CC="$ac_save_CC $ac_arg"
12240 if ac_fn_c_try_compile "$LINENO"; then :
12241 ac_cv_prog_cc_c89=$ac_arg
12243 rm -f core conftest.err conftest.$ac_objext
12244 test "x$ac_cv_prog_cc_c89" != "xno" && break
12245 done
12246 rm -f conftest.$ac_ext
12247 CC=$ac_save_CC
12250 # AC_CACHE_VAL
12251 case "x$ac_cv_prog_cc_c89" in
12253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12254 $as_echo "none needed" >&6; } ;;
12255 xno)
12256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12257 $as_echo "unsupported" >&6; } ;;
12259 CC="$CC $ac_cv_prog_cc_c89"
12260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12261 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12262 esac
12263 if test "x$ac_cv_prog_cc_c89" != xno; then :
12267 ac_ext=c
12268 ac_cpp='$CPP $CPPFLAGS'
12269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12273 ac_ext=cpp
12274 ac_cpp='$CXXCPP $CPPFLAGS'
12275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12278 if test -z "$CXX"; then
12279 if test -n "$CCC"; then
12280 CXX=$CCC
12281 else
12282 if test -n "$ac_tool_prefix"; then
12283 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12285 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12286 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12288 $as_echo_n "checking for $ac_word... " >&6; }
12289 if ${ac_cv_prog_CXX+:} false; then :
12290 $as_echo_n "(cached) " >&6
12291 else
12292 if test -n "$CXX"; then
12293 ac_cv_prog_CXX="$CXX" # Let the user override the test.
12294 else
12295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12296 for as_dir in $PATH
12298 IFS=$as_save_IFS
12299 test -z "$as_dir" && as_dir=.
12300 for ac_exec_ext in '' $ac_executable_extensions; do
12301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12302 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
12303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12304 break 2
12306 done
12307 done
12308 IFS=$as_save_IFS
12312 CXX=$ac_cv_prog_CXX
12313 if test -n "$CXX"; then
12314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
12315 $as_echo "$CXX" >&6; }
12316 else
12317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12318 $as_echo "no" >&6; }
12322 test -n "$CXX" && break
12323 done
12325 if test -z "$CXX"; then
12326 ac_ct_CXX=$CXX
12327 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12329 # Extract the first word of "$ac_prog", so it can be a program name with args.
12330 set dummy $ac_prog; ac_word=$2
12331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12332 $as_echo_n "checking for $ac_word... " >&6; }
12333 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
12334 $as_echo_n "(cached) " >&6
12335 else
12336 if test -n "$ac_ct_CXX"; then
12337 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
12338 else
12339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12340 for as_dir in $PATH
12342 IFS=$as_save_IFS
12343 test -z "$as_dir" && as_dir=.
12344 for ac_exec_ext in '' $ac_executable_extensions; do
12345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12346 ac_cv_prog_ac_ct_CXX="$ac_prog"
12347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12348 break 2
12350 done
12351 done
12352 IFS=$as_save_IFS
12356 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
12357 if test -n "$ac_ct_CXX"; then
12358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
12359 $as_echo "$ac_ct_CXX" >&6; }
12360 else
12361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12362 $as_echo "no" >&6; }
12366 test -n "$ac_ct_CXX" && break
12367 done
12369 if test "x$ac_ct_CXX" = x; then
12370 CXX="g++"
12371 else
12372 case $cross_compiling:$ac_tool_warned in
12373 yes:)
12374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12375 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12376 ac_tool_warned=yes ;;
12377 esac
12378 CXX=$ac_ct_CXX
12384 # Provide some information about the compiler.
12385 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
12386 set X $ac_compile
12387 ac_compiler=$2
12388 for ac_option in --version -v -V -qversion; do
12389 { { ac_try="$ac_compiler $ac_option >&5"
12390 case "(($ac_try" in
12391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12392 *) ac_try_echo=$ac_try;;
12393 esac
12394 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12395 $as_echo "$ac_try_echo"; } >&5
12396 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12397 ac_status=$?
12398 if test -s conftest.err; then
12399 sed '10a\
12400 ... rest of stderr output deleted ...
12401 10q' conftest.err >conftest.er1
12402 cat conftest.er1 >&5
12404 rm -f conftest.er1 conftest.err
12405 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12406 test $ac_status = 0; }
12407 done
12409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
12410 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
12411 if ${ac_cv_cxx_compiler_gnu+:} false; then :
12412 $as_echo_n "(cached) " >&6
12413 else
12414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12415 /* end confdefs.h. */
12418 main ()
12420 #ifndef __GNUC__
12421 choke me
12422 #endif
12425 return 0;
12427 _ACEOF
12428 if ac_fn_cxx_try_compile "$LINENO"; then :
12429 ac_compiler_gnu=yes
12430 else
12431 ac_compiler_gnu=no
12433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12434 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
12437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
12438 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
12439 if test $ac_compiler_gnu = yes; then
12440 GXX=yes
12441 else
12442 GXX=
12444 ac_test_CXXFLAGS=${CXXFLAGS+set}
12445 ac_save_CXXFLAGS=$CXXFLAGS
12446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
12447 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
12448 if ${ac_cv_prog_cxx_g+:} false; then :
12449 $as_echo_n "(cached) " >&6
12450 else
12451 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
12452 ac_cxx_werror_flag=yes
12453 ac_cv_prog_cxx_g=no
12454 CXXFLAGS="-g"
12455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12456 /* end confdefs.h. */
12459 main ()
12463 return 0;
12465 _ACEOF
12466 if ac_fn_cxx_try_compile "$LINENO"; then :
12467 ac_cv_prog_cxx_g=yes
12468 else
12469 CXXFLAGS=""
12470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12471 /* end confdefs.h. */
12474 main ()
12478 return 0;
12480 _ACEOF
12481 if ac_fn_cxx_try_compile "$LINENO"; then :
12483 else
12484 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
12485 CXXFLAGS="-g"
12486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12487 /* end confdefs.h. */
12490 main ()
12494 return 0;
12496 _ACEOF
12497 if ac_fn_cxx_try_compile "$LINENO"; then :
12498 ac_cv_prog_cxx_g=yes
12500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12505 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
12507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
12508 $as_echo "$ac_cv_prog_cxx_g" >&6; }
12509 if test "$ac_test_CXXFLAGS" = set; then
12510 CXXFLAGS=$ac_save_CXXFLAGS
12511 elif test $ac_cv_prog_cxx_g = yes; then
12512 if test "$GXX" = yes; then
12513 CXXFLAGS="-g -O2"
12514 else
12515 CXXFLAGS="-g"
12517 else
12518 if test "$GXX" = yes; then
12519 CXXFLAGS="-O2"
12520 else
12521 CXXFLAGS=
12524 ac_ext=c
12525 ac_cpp='$CPP $CPPFLAGS'
12526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12530 depcc="$CXX" am_compiler_list=
12532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12533 $as_echo_n "checking dependency style of $depcc... " >&6; }
12534 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
12535 $as_echo_n "(cached) " >&6
12536 else
12537 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12538 # We make a subdir and do the tests there. Otherwise we can end up
12539 # making bogus files that we don't know about and never remove. For
12540 # instance it was reported that on HP-UX the gcc test will end up
12541 # making a dummy file named `D' -- because `-MD' means `put the output
12542 # in D'.
12543 mkdir conftest.dir
12544 # Copy depcomp to subdir because otherwise we won't find it if we're
12545 # using a relative directory.
12546 cp "$am_depcomp" conftest.dir
12547 cd conftest.dir
12548 # We will build objects and dependencies in a subdirectory because
12549 # it helps to detect inapplicable dependency modes. For instance
12550 # both Tru64's cc and ICC support -MD to output dependencies as a
12551 # side effect of compilation, but ICC will put the dependencies in
12552 # the current directory while Tru64 will put them in the object
12553 # directory.
12554 mkdir sub
12556 am_cv_CXX_dependencies_compiler_type=none
12557 if test "$am_compiler_list" = ""; then
12558 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12560 am__universal=false
12561 case " $depcc " in #(
12562 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12563 esac
12565 for depmode in $am_compiler_list; do
12566 # Setup a source with many dependencies, because some compilers
12567 # like to wrap large dependency lists on column 80 (with \), and
12568 # we should not choose a depcomp mode which is confused by this.
12570 # We need to recreate these files for each test, as the compiler may
12571 # overwrite some of them when testing with obscure command lines.
12572 # This happens at least with the AIX C compiler.
12573 : > sub/conftest.c
12574 for i in 1 2 3 4 5 6; do
12575 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12576 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12577 # Solaris 8's {/usr,}/bin/sh.
12578 touch sub/conftst$i.h
12579 done
12580 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12582 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12583 # mode. It turns out that the SunPro C++ compiler does not properly
12584 # handle `-M -o', and we need to detect this. Also, some Intel
12585 # versions had trouble with output in subdirs
12586 am__obj=sub/conftest.${OBJEXT-o}
12587 am__minus_obj="-o $am__obj"
12588 case $depmode in
12589 gcc)
12590 # This depmode causes a compiler race in universal mode.
12591 test "$am__universal" = false || continue
12593 nosideeffect)
12594 # after this tag, mechanisms are not by side-effect, so they'll
12595 # only be used when explicitly requested
12596 if test "x$enable_dependency_tracking" = xyes; then
12597 continue
12598 else
12599 break
12602 msvisualcpp | msvcmsys)
12603 # This compiler won't grok `-c -o', but also, the minuso test has
12604 # not run yet. These depmodes are late enough in the game, and
12605 # so weak that their functioning should not be impacted.
12606 am__obj=conftest.${OBJEXT-o}
12607 am__minus_obj=
12609 none) break ;;
12610 esac
12611 if depmode=$depmode \
12612 source=sub/conftest.c object=$am__obj \
12613 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12614 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12615 >/dev/null 2>conftest.err &&
12616 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12617 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12618 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12619 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12620 # icc doesn't choke on unknown options, it will just issue warnings
12621 # or remarks (even with -Werror). So we grep stderr for any message
12622 # that says an option was ignored or not supported.
12623 # When given -MP, icc 7.0 and 7.1 complain thusly:
12624 # icc: Command line warning: ignoring option '-M'; no argument required
12625 # The diagnosis changed in icc 8.0:
12626 # icc: Command line remark: option '-MP' not supported
12627 if (grep 'ignoring option' conftest.err ||
12628 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12629 am_cv_CXX_dependencies_compiler_type=$depmode
12630 break
12633 done
12635 cd ..
12636 rm -rf conftest.dir
12637 else
12638 am_cv_CXX_dependencies_compiler_type=none
12642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
12643 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
12644 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
12647 test "x$enable_dependency_tracking" != xno \
12648 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
12649 am__fastdepCXX_TRUE=
12650 am__fastdepCXX_FALSE='#'
12651 else
12652 am__fastdepCXX_TRUE='#'
12653 am__fastdepCXX_FALSE=
12659 func_stripname_cnf ()
12661 case ${2} in
12662 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
12663 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
12664 esac
12665 } # func_stripname_cnf
12667 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12668 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12669 (test "X$CXX" != "Xg++"))) ; then
12670 ac_ext=cpp
12671 ac_cpp='$CXXCPP $CPPFLAGS'
12672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12676 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12677 if test -z "$CXXCPP"; then
12678 if ${ac_cv_prog_CXXCPP+:} false; then :
12679 $as_echo_n "(cached) " >&6
12680 else
12681 # Double quotes because CXXCPP needs to be expanded
12682 for CXXCPP in "$CXX -E" "/lib/cpp"
12684 ac_preproc_ok=false
12685 for ac_cxx_preproc_warn_flag in '' yes
12687 # Use a header file that comes with gcc, so configuring glibc
12688 # with a fresh cross-compiler works.
12689 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12690 # <limits.h> exists even on freestanding compilers.
12691 # On the NeXT, cc -E runs the code through the compiler's parser,
12692 # not just through cpp. "Syntax error" is here to catch this case.
12693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12694 /* end confdefs.h. */
12695 #ifdef __STDC__
12696 # include <limits.h>
12697 #else
12698 # include <assert.h>
12699 #endif
12700 Syntax error
12701 _ACEOF
12702 if ac_fn_cxx_try_cpp "$LINENO"; then :
12704 else
12705 # Broken: fails on valid input.
12706 continue
12708 rm -f conftest.err conftest.i conftest.$ac_ext
12710 # OK, works on sane cases. Now check whether nonexistent headers
12711 # can be detected and how.
12712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12713 /* end confdefs.h. */
12714 #include <ac_nonexistent.h>
12715 _ACEOF
12716 if ac_fn_cxx_try_cpp "$LINENO"; then :
12717 # Broken: success on invalid input.
12718 continue
12719 else
12720 # Passes both tests.
12721 ac_preproc_ok=:
12722 break
12724 rm -f conftest.err conftest.i conftest.$ac_ext
12726 done
12727 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12728 rm -f conftest.i conftest.err conftest.$ac_ext
12729 if $ac_preproc_ok; then :
12730 break
12733 done
12734 ac_cv_prog_CXXCPP=$CXXCPP
12737 CXXCPP=$ac_cv_prog_CXXCPP
12738 else
12739 ac_cv_prog_CXXCPP=$CXXCPP
12741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12742 $as_echo "$CXXCPP" >&6; }
12743 ac_preproc_ok=false
12744 for ac_cxx_preproc_warn_flag in '' yes
12746 # Use a header file that comes with gcc, so configuring glibc
12747 # with a fresh cross-compiler works.
12748 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12749 # <limits.h> exists even on freestanding compilers.
12750 # On the NeXT, cc -E runs the code through the compiler's parser,
12751 # not just through cpp. "Syntax error" is here to catch this case.
12752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12753 /* end confdefs.h. */
12754 #ifdef __STDC__
12755 # include <limits.h>
12756 #else
12757 # include <assert.h>
12758 #endif
12759 Syntax error
12760 _ACEOF
12761 if ac_fn_cxx_try_cpp "$LINENO"; then :
12763 else
12764 # Broken: fails on valid input.
12765 continue
12767 rm -f conftest.err conftest.i conftest.$ac_ext
12769 # OK, works on sane cases. Now check whether nonexistent headers
12770 # can be detected and how.
12771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12772 /* end confdefs.h. */
12773 #include <ac_nonexistent.h>
12774 _ACEOF
12775 if ac_fn_cxx_try_cpp "$LINENO"; then :
12776 # Broken: success on invalid input.
12777 continue
12778 else
12779 # Passes both tests.
12780 ac_preproc_ok=:
12781 break
12783 rm -f conftest.err conftest.i conftest.$ac_ext
12785 done
12786 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12787 rm -f conftest.i conftest.err conftest.$ac_ext
12788 if $ac_preproc_ok; then :
12790 else
12791 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12792 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12793 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12794 See \`config.log' for more details" "$LINENO" 5; }
12797 ac_ext=c
12798 ac_cpp='$CPP $CPPFLAGS'
12799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12803 else
12804 _lt_caught_CXX_error=yes
12807 ac_ext=cpp
12808 ac_cpp='$CXXCPP $CPPFLAGS'
12809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12813 archive_cmds_need_lc_CXX=no
12814 allow_undefined_flag_CXX=
12815 always_export_symbols_CXX=no
12816 archive_expsym_cmds_CXX=
12817 compiler_needs_object_CXX=no
12818 export_dynamic_flag_spec_CXX=
12819 hardcode_direct_CXX=no
12820 hardcode_direct_absolute_CXX=no
12821 hardcode_libdir_flag_spec_CXX=
12822 hardcode_libdir_flag_spec_ld_CXX=
12823 hardcode_libdir_separator_CXX=
12824 hardcode_minus_L_CXX=no
12825 hardcode_shlibpath_var_CXX=unsupported
12826 hardcode_automatic_CXX=no
12827 inherit_rpath_CXX=no
12828 module_cmds_CXX=
12829 module_expsym_cmds_CXX=
12830 link_all_deplibs_CXX=unknown
12831 old_archive_cmds_CXX=$old_archive_cmds
12832 reload_flag_CXX=$reload_flag
12833 reload_cmds_CXX=$reload_cmds
12834 no_undefined_flag_CXX=
12835 whole_archive_flag_spec_CXX=
12836 enable_shared_with_static_runtimes_CXX=no
12838 # Source file extension for C++ test sources.
12839 ac_ext=cpp
12841 # Object file extension for compiled C++ test sources.
12842 objext=o
12843 objext_CXX=$objext
12845 # No sense in running all these tests if we already determined that
12846 # the CXX compiler isn't working. Some variables (like enable_shared)
12847 # are currently assumed to apply to all compilers on this platform,
12848 # and will be corrupted by setting them based on a non-working compiler.
12849 if test "$_lt_caught_CXX_error" != yes; then
12850 # Code to be used in simple compile tests
12851 lt_simple_compile_test_code="int some_variable = 0;"
12853 # Code to be used in simple link tests
12854 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12856 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12863 # If no C compiler was specified, use CC.
12864 LTCC=${LTCC-"$CC"}
12866 # If no C compiler flags were specified, use CFLAGS.
12867 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12869 # Allow CC to be a program name with arguments.
12870 compiler=$CC
12873 # save warnings/boilerplate of simple test code
12874 ac_outfile=conftest.$ac_objext
12875 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12876 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12877 _lt_compiler_boilerplate=`cat conftest.err`
12878 $RM conftest*
12880 ac_outfile=conftest.$ac_objext
12881 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12882 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12883 _lt_linker_boilerplate=`cat conftest.err`
12884 $RM -r conftest*
12887 # Allow CC to be a program name with arguments.
12888 lt_save_CC=$CC
12889 lt_save_CFLAGS=$CFLAGS
12890 lt_save_LD=$LD
12891 lt_save_GCC=$GCC
12892 GCC=$GXX
12893 lt_save_with_gnu_ld=$with_gnu_ld
12894 lt_save_path_LD=$lt_cv_path_LD
12895 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12896 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12897 else
12898 $as_unset lt_cv_prog_gnu_ld
12900 if test -n "${lt_cv_path_LDCXX+set}"; then
12901 lt_cv_path_LD=$lt_cv_path_LDCXX
12902 else
12903 $as_unset lt_cv_path_LD
12905 test -z "${LDCXX+set}" || LD=$LDCXX
12906 CC=${CXX-"c++"}
12907 CFLAGS=$CXXFLAGS
12908 compiler=$CC
12909 compiler_CXX=$CC
12910 for cc_temp in $compiler""; do
12911 case $cc_temp in
12912 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12913 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12914 \-*) ;;
12915 *) break;;
12916 esac
12917 done
12918 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12921 if test -n "$compiler"; then
12922 # We don't want -fno-exception when compiling C++ code, so set the
12923 # no_builtin_flag separately
12924 if test "$GXX" = yes; then
12925 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12926 else
12927 lt_prog_compiler_no_builtin_flag_CXX=
12930 if test "$GXX" = yes; then
12931 # Set up default GNU C++ configuration
12935 # Check whether --with-gnu-ld was given.
12936 if test "${with_gnu_ld+set}" = set; then :
12937 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12938 else
12939 with_gnu_ld=no
12942 ac_prog=ld
12943 if test "$GCC" = yes; then
12944 # Check if gcc -print-prog-name=ld gives a path.
12945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12946 $as_echo_n "checking for ld used by $CC... " >&6; }
12947 case $host in
12948 *-*-mingw*)
12949 # gcc leaves a trailing carriage return which upsets mingw
12950 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12952 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12953 esac
12954 case $ac_prog in
12955 # Accept absolute paths.
12956 [\\/]* | ?:[\\/]*)
12957 re_direlt='/[^/][^/]*/\.\./'
12958 # Canonicalize the pathname of ld
12959 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12960 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12961 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12962 done
12963 test -z "$LD" && LD="$ac_prog"
12966 # If it fails, then pretend we aren't using GCC.
12967 ac_prog=ld
12970 # If it is relative, then search for the first ld in PATH.
12971 with_gnu_ld=unknown
12973 esac
12974 elif test "$with_gnu_ld" = yes; then
12975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12976 $as_echo_n "checking for GNU ld... " >&6; }
12977 else
12978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12979 $as_echo_n "checking for non-GNU ld... " >&6; }
12981 if ${lt_cv_path_LD+:} false; then :
12982 $as_echo_n "(cached) " >&6
12983 else
12984 if test -z "$LD"; then
12985 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12986 for ac_dir in $PATH; do
12987 IFS="$lt_save_ifs"
12988 test -z "$ac_dir" && ac_dir=.
12989 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12990 lt_cv_path_LD="$ac_dir/$ac_prog"
12991 # Check to see if the program is GNU ld. I'd rather use --version,
12992 # but apparently some variants of GNU ld only accept -v.
12993 # Break only if it was the GNU/non-GNU ld that we prefer.
12994 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12995 *GNU* | *'with BFD'*)
12996 test "$with_gnu_ld" != no && break
12999 test "$with_gnu_ld" != yes && break
13001 esac
13003 done
13004 IFS="$lt_save_ifs"
13005 else
13006 lt_cv_path_LD="$LD" # Let the user override the test with a path.
13010 LD="$lt_cv_path_LD"
13011 if test -n "$LD"; then
13012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13013 $as_echo "$LD" >&6; }
13014 else
13015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13016 $as_echo "no" >&6; }
13018 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13020 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13021 if ${lt_cv_prog_gnu_ld+:} false; then :
13022 $as_echo_n "(cached) " >&6
13023 else
13024 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13025 case `$LD -v 2>&1 </dev/null` in
13026 *GNU* | *'with BFD'*)
13027 lt_cv_prog_gnu_ld=yes
13030 lt_cv_prog_gnu_ld=no
13032 esac
13034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13035 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13036 with_gnu_ld=$lt_cv_prog_gnu_ld
13044 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13045 # archiving commands below assume that GNU ld is being used.
13046 if test "$with_gnu_ld" = yes; then
13047 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13048 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13050 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13051 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13053 # If archive_cmds runs LD, not CC, wlarc should be empty
13054 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13055 # investigate it a little bit more. (MM)
13056 wlarc='${wl}'
13058 # ancient GNU ld didn't support --whole-archive et. al.
13059 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13060 $GREP 'no-whole-archive' > /dev/null; then
13061 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13062 else
13063 whole_archive_flag_spec_CXX=
13065 else
13066 with_gnu_ld=no
13067 wlarc=
13069 # A generic and very simple default shared library creation
13070 # command for GNU C++ for the case where it uses the native
13071 # linker, instead of GNU ld. If possible, this setting should
13072 # overridden to take advantage of the native linker features on
13073 # the platform it is being used on.
13074 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13077 # Commands to make compiler produce verbose output that lists
13078 # what "hidden" libraries, object files and flags are used when
13079 # linking a shared library.
13080 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13082 else
13083 GXX=no
13084 with_gnu_ld=no
13085 wlarc=
13088 # PORTME: fill in a description of your system's C++ link characteristics
13089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13090 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13091 ld_shlibs_CXX=yes
13092 case $host_os in
13093 aix3*)
13094 # FIXME: insert proper C++ library support
13095 ld_shlibs_CXX=no
13097 aix[4-9]*)
13098 if test "$host_cpu" = ia64; then
13099 # On IA64, the linker does run time linking by default, so we don't
13100 # have to do anything special.
13101 aix_use_runtimelinking=no
13102 exp_sym_flag='-Bexport'
13103 no_entry_flag=""
13104 else
13105 aix_use_runtimelinking=no
13107 # Test if we are trying to use run time linking or normal
13108 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13109 # need to do runtime linking.
13110 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13111 for ld_flag in $LDFLAGS; do
13112 case $ld_flag in
13113 *-brtl*)
13114 aix_use_runtimelinking=yes
13115 break
13117 esac
13118 done
13120 esac
13122 exp_sym_flag='-bexport'
13123 no_entry_flag='-bnoentry'
13126 # When large executables or shared objects are built, AIX ld can
13127 # have problems creating the table of contents. If linking a library
13128 # or program results in "error TOC overflow" add -mminimal-toc to
13129 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13130 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13132 archive_cmds_CXX=''
13133 hardcode_direct_CXX=yes
13134 hardcode_direct_absolute_CXX=yes
13135 hardcode_libdir_separator_CXX=':'
13136 link_all_deplibs_CXX=yes
13137 file_list_spec_CXX='${wl}-f,'
13139 if test "$GXX" = yes; then
13140 case $host_os in aix4.[012]|aix4.[012].*)
13141 # We only want to do this on AIX 4.2 and lower, the check
13142 # below for broken collect2 doesn't work under 4.3+
13143 collect2name=`${CC} -print-prog-name=collect2`
13144 if test -f "$collect2name" &&
13145 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13146 then
13147 # We have reworked collect2
13149 else
13150 # We have old collect2
13151 hardcode_direct_CXX=unsupported
13152 # It fails to find uninstalled libraries when the uninstalled
13153 # path is not listed in the libpath. Setting hardcode_minus_L
13154 # to unsupported forces relinking
13155 hardcode_minus_L_CXX=yes
13156 hardcode_libdir_flag_spec_CXX='-L$libdir'
13157 hardcode_libdir_separator_CXX=
13159 esac
13160 shared_flag='-shared'
13161 if test "$aix_use_runtimelinking" = yes; then
13162 shared_flag="$shared_flag "'${wl}-G'
13164 else
13165 # not using gcc
13166 if test "$host_cpu" = ia64; then
13167 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13168 # chokes on -Wl,-G. The following line is correct:
13169 shared_flag='-G'
13170 else
13171 if test "$aix_use_runtimelinking" = yes; then
13172 shared_flag='${wl}-G'
13173 else
13174 shared_flag='${wl}-bM:SRE'
13179 export_dynamic_flag_spec_CXX='${wl}-bexpall'
13180 # It seems that -bexpall does not export symbols beginning with
13181 # underscore (_), so it is better to generate a list of symbols to
13182 # export.
13183 always_export_symbols_CXX=yes
13184 if test "$aix_use_runtimelinking" = yes; then
13185 # Warning - without using the other runtime loading flags (-brtl),
13186 # -berok will link without error, but may produce a broken library.
13187 allow_undefined_flag_CXX='-berok'
13188 # Determine the default libpath from the value encoded in an empty
13189 # executable.
13190 if test "${lt_cv_aix_libpath+set}" = set; then
13191 aix_libpath=$lt_cv_aix_libpath
13192 else
13193 if ${lt_cv_aix_libpath__CXX+:} false; then :
13194 $as_echo_n "(cached) " >&6
13195 else
13196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13197 /* end confdefs.h. */
13200 main ()
13204 return 0;
13206 _ACEOF
13207 if ac_fn_cxx_try_link "$LINENO"; then :
13209 lt_aix_libpath_sed='
13210 /Import File Strings/,/^$/ {
13211 /^0/ {
13212 s/^0 *\([^ ]*\) *$/\1/
13216 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13217 # Check for a 64-bit object if we didn't find anything.
13218 if test -z "$lt_cv_aix_libpath__CXX"; then
13219 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13222 rm -f core conftest.err conftest.$ac_objext \
13223 conftest$ac_exeext conftest.$ac_ext
13224 if test -z "$lt_cv_aix_libpath__CXX"; then
13225 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
13230 aix_libpath=$lt_cv_aix_libpath__CXX
13233 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13235 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13236 else
13237 if test "$host_cpu" = ia64; then
13238 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13239 allow_undefined_flag_CXX="-z nodefs"
13240 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
13241 else
13242 # Determine the default libpath from the value encoded in an
13243 # empty executable.
13244 if test "${lt_cv_aix_libpath+set}" = set; then
13245 aix_libpath=$lt_cv_aix_libpath
13246 else
13247 if ${lt_cv_aix_libpath__CXX+:} false; then :
13248 $as_echo_n "(cached) " >&6
13249 else
13250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13251 /* end confdefs.h. */
13254 main ()
13258 return 0;
13260 _ACEOF
13261 if ac_fn_cxx_try_link "$LINENO"; then :
13263 lt_aix_libpath_sed='
13264 /Import File Strings/,/^$/ {
13265 /^0/ {
13266 s/^0 *\([^ ]*\) *$/\1/
13270 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13271 # Check for a 64-bit object if we didn't find anything.
13272 if test -z "$lt_cv_aix_libpath__CXX"; then
13273 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13276 rm -f core conftest.err conftest.$ac_objext \
13277 conftest$ac_exeext conftest.$ac_ext
13278 if test -z "$lt_cv_aix_libpath__CXX"; then
13279 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
13284 aix_libpath=$lt_cv_aix_libpath__CXX
13287 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13288 # Warning - without using the other run time loading flags,
13289 # -berok will link without error, but may produce a broken library.
13290 no_undefined_flag_CXX=' ${wl}-bernotok'
13291 allow_undefined_flag_CXX=' ${wl}-berok'
13292 if test "$with_gnu_ld" = yes; then
13293 # We only use this code for GNU lds that support --whole-archive.
13294 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13295 else
13296 # Exported symbols can be pulled into shared objects from archives
13297 whole_archive_flag_spec_CXX='$convenience'
13299 archive_cmds_need_lc_CXX=yes
13300 # This is similar to how AIX traditionally builds its shared
13301 # libraries.
13302 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
13307 beos*)
13308 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13309 allow_undefined_flag_CXX=unsupported
13310 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13311 # support --undefined. This deserves some investigation. FIXME
13312 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13313 else
13314 ld_shlibs_CXX=no
13318 chorus*)
13319 case $cc_basename in
13321 # FIXME: insert proper C++ library support
13322 ld_shlibs_CXX=no
13324 esac
13327 cygwin* | mingw* | pw32* | cegcc*)
13328 case $GXX,$cc_basename in
13329 ,cl* | no,cl*)
13330 # Native MSVC
13331 # hardcode_libdir_flag_spec is actually meaningless, as there is
13332 # no search path for DLLs.
13333 hardcode_libdir_flag_spec_CXX=' '
13334 allow_undefined_flag_CXX=unsupported
13335 always_export_symbols_CXX=yes
13336 file_list_spec_CXX='@'
13337 # Tell ltmain to make .lib files, not .a files.
13338 libext=lib
13339 # Tell ltmain to make .dll files, not .so files.
13340 shrext_cmds=".dll"
13341 # FIXME: Setting linknames here is a bad hack.
13342 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13343 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13344 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
13345 else
13346 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
13348 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13349 linknames='
13350 # The linker will not automatically build a static lib if we build a DLL.
13351 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13352 enable_shared_with_static_runtimes_CXX=yes
13353 # Don't use ranlib
13354 old_postinstall_cmds_CXX='chmod 644 $oldlib'
13355 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
13356 lt_tool_outputfile="@TOOL_OUTPUT@"~
13357 case $lt_outputfile in
13358 *.exe|*.EXE) ;;
13360 lt_outputfile="$lt_outputfile.exe"
13361 lt_tool_outputfile="$lt_tool_outputfile.exe"
13363 esac~
13364 func_to_tool_file "$lt_outputfile"~
13365 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13366 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13367 $RM "$lt_outputfile.manifest";
13371 # g++
13372 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13373 # as there is no search path for DLLs.
13374 hardcode_libdir_flag_spec_CXX='-L$libdir'
13375 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
13376 allow_undefined_flag_CXX=unsupported
13377 always_export_symbols_CXX=no
13378 enable_shared_with_static_runtimes_CXX=yes
13380 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13381 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13382 # If the export-symbols file already is a .def file (1st line
13383 # is EXPORTS), use it as is; otherwise, prepend...
13384 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13385 cp $export_symbols $output_objdir/$soname.def;
13386 else
13387 echo EXPORTS > $output_objdir/$soname.def;
13388 cat $export_symbols >> $output_objdir/$soname.def;
13390 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13391 else
13392 ld_shlibs_CXX=no
13395 esac
13397 darwin* | rhapsody*)
13400 archive_cmds_need_lc_CXX=no
13401 hardcode_direct_CXX=no
13402 hardcode_automatic_CXX=yes
13403 hardcode_shlibpath_var_CXX=unsupported
13404 if test "$lt_cv_ld_force_load" = "yes"; then
13405 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
13406 else
13407 whole_archive_flag_spec_CXX=''
13409 link_all_deplibs_CXX=yes
13410 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13411 case $cc_basename in
13412 ifort*) _lt_dar_can_shared=yes ;;
13413 *) _lt_dar_can_shared=$GCC ;;
13414 esac
13415 if test "$_lt_dar_can_shared" = "yes"; then
13416 output_verbose_link_cmd=func_echo_all
13417 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
13418 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13419 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
13420 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
13421 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13422 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
13423 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
13426 else
13427 ld_shlibs_CXX=no
13432 dgux*)
13433 case $cc_basename in
13434 ec++*)
13435 # FIXME: insert proper C++ library support
13436 ld_shlibs_CXX=no
13438 ghcx*)
13439 # Green Hills C++ Compiler
13440 # FIXME: insert proper C++ library support
13441 ld_shlibs_CXX=no
13444 # FIXME: insert proper C++ library support
13445 ld_shlibs_CXX=no
13447 esac
13450 freebsd[12]*)
13451 # C++ shared libraries reported to be fairly broken before
13452 # switch to ELF
13453 ld_shlibs_CXX=no
13456 freebsd-elf*)
13457 archive_cmds_need_lc_CXX=no
13460 freebsd* | dragonfly*)
13461 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13462 # conventions
13463 ld_shlibs_CXX=yes
13466 gnu*)
13469 haiku*)
13470 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13471 link_all_deplibs_CXX=yes
13474 hpux9*)
13475 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13476 hardcode_libdir_separator_CXX=:
13477 export_dynamic_flag_spec_CXX='${wl}-E'
13478 hardcode_direct_CXX=yes
13479 hardcode_minus_L_CXX=yes # Not in the search PATH,
13480 # but as the default
13481 # location of the library.
13483 case $cc_basename in
13484 CC*)
13485 # FIXME: insert proper C++ library support
13486 ld_shlibs_CXX=no
13488 aCC*)
13489 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13490 # Commands to make compiler produce verbose output that lists
13491 # what "hidden" libraries, object files and flags are used when
13492 # linking a shared library.
13494 # There doesn't appear to be a way to prevent this compiler from
13495 # explicitly linking system object files so we need to strip them
13496 # from the output so that they don't get included in the library
13497 # dependencies.
13498 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13501 if test "$GXX" = yes; then
13502 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13503 else
13504 # FIXME: insert proper C++ library support
13505 ld_shlibs_CXX=no
13508 esac
13511 hpux10*|hpux11*)
13512 if test $with_gnu_ld = no; then
13513 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13514 hardcode_libdir_separator_CXX=:
13516 case $host_cpu in
13517 hppa*64*|ia64*)
13520 export_dynamic_flag_spec_CXX='${wl}-E'
13522 esac
13524 case $host_cpu in
13525 hppa*64*|ia64*)
13526 hardcode_direct_CXX=no
13527 hardcode_shlibpath_var_CXX=no
13530 hardcode_direct_CXX=yes
13531 hardcode_direct_absolute_CXX=yes
13532 hardcode_minus_L_CXX=yes # Not in the search PATH,
13533 # but as the default
13534 # location of the library.
13536 esac
13538 case $cc_basename in
13539 CC*)
13540 # FIXME: insert proper C++ library support
13541 ld_shlibs_CXX=no
13543 aCC*)
13544 case $host_cpu in
13545 hppa*64*)
13546 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13548 ia64*)
13549 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13552 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13554 esac
13555 # Commands to make compiler produce verbose output that lists
13556 # what "hidden" libraries, object files and flags are used when
13557 # linking a shared library.
13559 # There doesn't appear to be a way to prevent this compiler from
13560 # explicitly linking system object files so we need to strip them
13561 # from the output so that they don't get included in the library
13562 # dependencies.
13563 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13566 if test "$GXX" = yes; then
13567 if test $with_gnu_ld = no; then
13568 case $host_cpu in
13569 hppa*64*)
13570 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13572 ia64*)
13573 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13576 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13578 esac
13580 else
13581 # FIXME: insert proper C++ library support
13582 ld_shlibs_CXX=no
13585 esac
13588 interix[3-9]*)
13589 hardcode_direct_CXX=no
13590 hardcode_shlibpath_var_CXX=no
13591 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13592 export_dynamic_flag_spec_CXX='${wl}-E'
13593 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13594 # Instead, shared libraries are loaded at an image base (0x10000000 by
13595 # default) and relocated if they conflict, which is a slow very memory
13596 # consuming and fragmenting process. To avoid this, we pick a random,
13597 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13598 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13599 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13600 archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13602 irix5* | irix6*)
13603 case $cc_basename in
13604 CC*)
13605 # SGI C++
13606 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13608 # Archives containing C++ object files must be created using
13609 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13610 # necessary to make sure instantiated templates are included
13611 # in the archive.
13612 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13615 if test "$GXX" = yes; then
13616 if test "$with_gnu_ld" = no; then
13617 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13618 else
13619 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
13622 link_all_deplibs_CXX=yes
13624 esac
13625 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13626 hardcode_libdir_separator_CXX=:
13627 inherit_rpath_CXX=yes
13630 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13631 case $cc_basename in
13632 KCC*)
13633 # Kuck and Associates, Inc. (KAI) C++ Compiler
13635 # KCC will only create a shared library if the output file
13636 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13637 # to its proper name (with version) after linking.
13638 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13639 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
13640 # Commands to make compiler produce verbose output that lists
13641 # what "hidden" libraries, object files and flags are used when
13642 # linking a shared library.
13644 # There doesn't appear to be a way to prevent this compiler from
13645 # explicitly linking system object files so we need to strip them
13646 # from the output so that they don't get included in the library
13647 # dependencies.
13648 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13650 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13651 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13653 # Archives containing C++ object files must be created using
13654 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13655 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13657 icpc* | ecpc* )
13658 # Intel C++
13659 with_gnu_ld=yes
13660 # version 8.0 and above of icpc choke on multiply defined symbols
13661 # if we add $predep_objects and $postdep_objects, however 7.1 and
13662 # earlier do not add the objects themselves.
13663 case `$CC -V 2>&1` in
13664 *"Version 7."*)
13665 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13666 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13668 *) # Version 8.0 or newer
13669 tmp_idyn=
13670 case $host_cpu in
13671 ia64*) tmp_idyn=' -i_dynamic';;
13672 esac
13673 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13674 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13676 esac
13677 archive_cmds_need_lc_CXX=no
13678 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13679 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13680 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13682 pgCC* | pgcpp*)
13683 # Portland Group C++ compiler
13684 case `$CC -V` in
13685 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13686 prelink_cmds_CXX='tpldir=Template.dir~
13687 rm -rf $tpldir~
13688 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13689 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13690 old_archive_cmds_CXX='tpldir=Template.dir~
13691 rm -rf $tpldir~
13692 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13693 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13694 $RANLIB $oldlib'
13695 archive_cmds_CXX='tpldir=Template.dir~
13696 rm -rf $tpldir~
13697 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13698 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13699 archive_expsym_cmds_CXX='tpldir=Template.dir~
13700 rm -rf $tpldir~
13701 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13702 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13704 *) # Version 6 and above use weak symbols
13705 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13706 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13708 esac
13710 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13711 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13712 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13714 cxx*)
13715 # Compaq C++
13716 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13717 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
13719 runpath_var=LD_RUN_PATH
13720 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13721 hardcode_libdir_separator_CXX=:
13723 # Commands to make compiler produce verbose output that lists
13724 # what "hidden" libraries, object files and flags are used when
13725 # linking a shared library.
13727 # There doesn't appear to be a way to prevent this compiler from
13728 # explicitly linking system object files so we need to strip them
13729 # from the output so that they don't get included in the library
13730 # dependencies.
13731 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
13733 xl* | mpixl* | bgxl*)
13734 # IBM XL 8.0 on PPC, with GNU ld
13735 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13736 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13737 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13738 if test "x$supports_anon_versioning" = xyes; then
13739 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13740 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13741 echo "local: *; };" >> $output_objdir/$libname.ver~
13742 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13746 case `$CC -V 2>&1 | sed 5q` in
13747 *Sun\ C*)
13748 # Sun C++ 5.9
13749 no_undefined_flag_CXX=' -zdefs'
13750 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13751 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
13752 hardcode_libdir_flag_spec_CXX='-R$libdir'
13753 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13754 compiler_needs_object_CXX=yes
13756 # Not sure whether something based on
13757 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13758 # would be better.
13759 output_verbose_link_cmd='func_echo_all'
13761 # Archives containing C++ object files must be created using
13762 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13763 # necessary to make sure instantiated templates are included
13764 # in the archive.
13765 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13767 esac
13769 esac
13772 lynxos*)
13773 # FIXME: insert proper C++ library support
13774 ld_shlibs_CXX=no
13777 m88k*)
13778 # FIXME: insert proper C++ library support
13779 ld_shlibs_CXX=no
13782 mvs*)
13783 case $cc_basename in
13784 cxx*)
13785 # FIXME: insert proper C++ library support
13786 ld_shlibs_CXX=no
13789 # FIXME: insert proper C++ library support
13790 ld_shlibs_CXX=no
13792 esac
13795 netbsd*)
13796 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13797 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13798 wlarc=
13799 hardcode_libdir_flag_spec_CXX='-R$libdir'
13800 hardcode_direct_CXX=yes
13801 hardcode_shlibpath_var_CXX=no
13803 # Workaround some broken pre-1.5 toolchains
13804 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13807 *nto* | *qnx*)
13808 ld_shlibs_CXX=yes
13811 openbsd2*)
13812 # C++ shared libraries are fairly broken
13813 ld_shlibs_CXX=no
13816 openbsd*)
13817 if test -f /usr/libexec/ld.so; then
13818 hardcode_direct_CXX=yes
13819 hardcode_shlibpath_var_CXX=no
13820 hardcode_direct_absolute_CXX=yes
13821 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13822 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13823 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13824 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13825 export_dynamic_flag_spec_CXX='${wl}-E'
13826 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13828 output_verbose_link_cmd=func_echo_all
13829 else
13830 ld_shlibs_CXX=no
13834 osf3* | osf4* | osf5*)
13835 case $cc_basename in
13836 KCC*)
13837 # Kuck and Associates, Inc. (KAI) C++ Compiler
13839 # KCC will only create a shared library if the output file
13840 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13841 # to its proper name (with version) after linking.
13842 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13844 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13845 hardcode_libdir_separator_CXX=:
13847 # Archives containing C++ object files must be created using
13848 # the KAI C++ compiler.
13849 case $host in
13850 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13851 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13852 esac
13854 RCC*)
13855 # Rational C++ 2.4.1
13856 # FIXME: insert proper C++ library support
13857 ld_shlibs_CXX=no
13859 cxx*)
13860 case $host in
13861 osf3*)
13862 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13863 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13864 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13867 allow_undefined_flag_CXX=' -expect_unresolved \*'
13868 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13869 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13870 echo "-hidden">> $lib.exp~
13871 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
13872 $RM $lib.exp'
13873 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13875 esac
13877 hardcode_libdir_separator_CXX=:
13879 # Commands to make compiler produce verbose output that lists
13880 # what "hidden" libraries, object files and flags are used when
13881 # linking a shared library.
13883 # There doesn't appear to be a way to prevent this compiler from
13884 # explicitly linking system object files so we need to strip them
13885 # from the output so that they don't get included in the library
13886 # dependencies.
13887 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13890 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13891 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13892 case $host in
13893 osf3*)
13894 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13897 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13899 esac
13901 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13902 hardcode_libdir_separator_CXX=:
13904 # Commands to make compiler produce verbose output that lists
13905 # what "hidden" libraries, object files and flags are used when
13906 # linking a shared library.
13907 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13909 else
13910 # FIXME: insert proper C++ library support
13911 ld_shlibs_CXX=no
13914 esac
13917 psos*)
13918 # FIXME: insert proper C++ library support
13919 ld_shlibs_CXX=no
13922 sunos4*)
13923 case $cc_basename in
13924 CC*)
13925 # Sun C++ 4.x
13926 # FIXME: insert proper C++ library support
13927 ld_shlibs_CXX=no
13929 lcc*)
13930 # Lucid
13931 # FIXME: insert proper C++ library support
13932 ld_shlibs_CXX=no
13935 # FIXME: insert proper C++ library support
13936 ld_shlibs_CXX=no
13938 esac
13941 solaris*)
13942 case $cc_basename in
13943 CC* | sunCC*)
13944 # Sun C++ 4.2, 5.x and Centerline C++
13945 archive_cmds_need_lc_CXX=yes
13946 no_undefined_flag_CXX=' -zdefs'
13947 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13948 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13949 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13951 hardcode_libdir_flag_spec_CXX='-R$libdir'
13952 hardcode_shlibpath_var_CXX=no
13953 case $host_os in
13954 solaris2.[0-5] | solaris2.[0-5].*) ;;
13956 # The compiler driver will combine and reorder linker options,
13957 # but understands `-z linker_flag'.
13958 # Supported since Solaris 2.6 (maybe 2.5.1?)
13959 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13961 esac
13962 link_all_deplibs_CXX=yes
13964 output_verbose_link_cmd='func_echo_all'
13966 # Archives containing C++ object files must be created using
13967 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13968 # necessary to make sure instantiated templates are included
13969 # in the archive.
13970 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13972 gcx*)
13973 # Green Hills C++ Compiler
13974 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13976 # The C++ compiler must be used to create the archive.
13977 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13980 # GNU C++ compiler with Solaris linker
13981 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13982 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13983 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13984 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13985 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13986 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13988 # Commands to make compiler produce verbose output that lists
13989 # what "hidden" libraries, object files and flags are used when
13990 # linking a shared library.
13991 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13992 else
13993 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13994 # platform.
13995 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13996 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13997 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13999 # Commands to make compiler produce verbose output that lists
14000 # what "hidden" libraries, object files and flags are used when
14001 # linking a shared library.
14002 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14005 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
14006 case $host_os in
14007 solaris2.[0-5] | solaris2.[0-5].*) ;;
14009 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14011 esac
14014 esac
14017 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14018 no_undefined_flag_CXX='${wl}-z,text'
14019 archive_cmds_need_lc_CXX=no
14020 hardcode_shlibpath_var_CXX=no
14021 runpath_var='LD_RUN_PATH'
14023 case $cc_basename in
14024 CC*)
14025 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14026 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14029 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14030 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14032 esac
14035 sysv5* | sco3.2v5* | sco5v6*)
14036 # Note: We can NOT use -z defs as we might desire, because we do not
14037 # link with -lc, and that would cause any symbols used from libc to
14038 # always be unresolved, which means just about no library would
14039 # ever link correctly. If we're not using GNU ld we use -z text
14040 # though, which does catch some bad symbols but isn't as heavy-handed
14041 # as -z defs.
14042 no_undefined_flag_CXX='${wl}-z,text'
14043 allow_undefined_flag_CXX='${wl}-z,nodefs'
14044 archive_cmds_need_lc_CXX=no
14045 hardcode_shlibpath_var_CXX=no
14046 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
14047 hardcode_libdir_separator_CXX=':'
14048 link_all_deplibs_CXX=yes
14049 export_dynamic_flag_spec_CXX='${wl}-Bexport'
14050 runpath_var='LD_RUN_PATH'
14052 case $cc_basename in
14053 CC*)
14054 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14055 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14056 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
14057 '"$old_archive_cmds_CXX"
14058 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
14059 '"$reload_cmds_CXX"
14062 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14063 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14065 esac
14068 tandem*)
14069 case $cc_basename in
14070 NCC*)
14071 # NonStop-UX NCC 3.20
14072 # FIXME: insert proper C++ library support
14073 ld_shlibs_CXX=no
14076 # FIXME: insert proper C++ library support
14077 ld_shlibs_CXX=no
14079 esac
14082 vxworks*)
14083 # FIXME: insert proper C++ library support
14084 ld_shlibs_CXX=no
14088 # FIXME: insert proper C++ library support
14089 ld_shlibs_CXX=no
14091 esac
14093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14094 $as_echo "$ld_shlibs_CXX" >&6; }
14095 test "$ld_shlibs_CXX" = no && can_build_shared=no
14097 GCC_CXX="$GXX"
14098 LD_CXX="$LD"
14100 ## CAVEAT EMPTOR:
14101 ## There is no encapsulation within the following macros, do not change
14102 ## the running order or otherwise move them around unless you know exactly
14103 ## what you are doing...
14104 # Dependencies to place before and after the object being linked:
14105 predep_objects_CXX=
14106 postdep_objects_CXX=
14107 predeps_CXX=
14108 postdeps_CXX=
14109 compiler_lib_search_path_CXX=
14111 cat > conftest.$ac_ext <<_LT_EOF
14112 class Foo
14114 public:
14115 Foo (void) { a = 0; }
14116 private:
14117 int a;
14119 _LT_EOF
14122 _lt_libdeps_save_CFLAGS=$CFLAGS
14123 case "$CC $CFLAGS " in #(
14124 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
14125 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
14126 esac
14128 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14129 (eval $ac_compile) 2>&5
14130 ac_status=$?
14131 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14132 test $ac_status = 0; }; then
14133 # Parse the compiler output and extract the necessary
14134 # objects, libraries and library flags.
14136 # Sentinel used to keep track of whether or not we are before
14137 # the conftest object file.
14138 pre_test_object_deps_done=no
14140 for p in `eval "$output_verbose_link_cmd"`; do
14141 case ${prev}${p} in
14143 -L* | -R* | -l*)
14144 # Some compilers place space between "-{L,R}" and the path.
14145 # Remove the space.
14146 if test $p = "-L" ||
14147 test $p = "-R"; then
14148 prev=$p
14149 continue
14152 # Expand the sysroot to ease extracting the directories later.
14153 if test -z "$prev"; then
14154 case $p in
14155 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
14156 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
14157 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
14158 esac
14160 case $p in
14161 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
14162 esac
14163 if test "$pre_test_object_deps_done" = no; then
14164 case ${prev} in
14165 -L | -R)
14166 # Internal compiler library paths should come after those
14167 # provided the user. The postdeps already come after the
14168 # user supplied libs so there is no need to process them.
14169 if test -z "$compiler_lib_search_path_CXX"; then
14170 compiler_lib_search_path_CXX="${prev}${p}"
14171 else
14172 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
14175 # The "-l" case would never come before the object being
14176 # linked, so don't bother handling this case.
14177 esac
14178 else
14179 if test -z "$postdeps_CXX"; then
14180 postdeps_CXX="${prev}${p}"
14181 else
14182 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
14185 prev=
14188 *.lto.$objext) ;; # Ignore GCC LTO objects
14189 *.$objext)
14190 # This assumes that the test object file only shows up
14191 # once in the compiler output.
14192 if test "$p" = "conftest.$objext"; then
14193 pre_test_object_deps_done=yes
14194 continue
14197 if test "$pre_test_object_deps_done" = no; then
14198 if test -z "$predep_objects_CXX"; then
14199 predep_objects_CXX="$p"
14200 else
14201 predep_objects_CXX="$predep_objects_CXX $p"
14203 else
14204 if test -z "$postdep_objects_CXX"; then
14205 postdep_objects_CXX="$p"
14206 else
14207 postdep_objects_CXX="$postdep_objects_CXX $p"
14212 *) ;; # Ignore the rest.
14214 esac
14215 done
14217 # Clean up.
14218 rm -f a.out a.exe
14219 else
14220 echo "libtool.m4: error: problem compiling CXX test program"
14223 $RM -f confest.$objext
14224 CFLAGS=$_lt_libdeps_save_CFLAGS
14226 # PORTME: override above test on systems where it is broken
14227 case $host_os in
14228 interix[3-9]*)
14229 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14230 # hack all around it, let's just trust "g++" to DTRT.
14231 predep_objects_CXX=
14232 postdep_objects_CXX=
14233 postdeps_CXX=
14236 linux*)
14237 case `$CC -V 2>&1 | sed 5q` in
14238 *Sun\ C*)
14239 # Sun C++ 5.9
14241 # The more standards-conforming stlport4 library is
14242 # incompatible with the Cstd library. Avoid specifying
14243 # it if it's in CXXFLAGS. Ignore libCrun as
14244 # -library=stlport4 depends on it.
14245 case " $CXX $CXXFLAGS " in
14246 *" -library=stlport4 "*)
14247 solaris_use_stlport4=yes
14249 esac
14251 if test "$solaris_use_stlport4" != yes; then
14252 postdeps_CXX='-library=Cstd -library=Crun'
14255 esac
14258 solaris*)
14259 case $cc_basename in
14260 CC* | sunCC*)
14261 # The more standards-conforming stlport4 library is
14262 # incompatible with the Cstd library. Avoid specifying
14263 # it if it's in CXXFLAGS. Ignore libCrun as
14264 # -library=stlport4 depends on it.
14265 case " $CXX $CXXFLAGS " in
14266 *" -library=stlport4 "*)
14267 solaris_use_stlport4=yes
14269 esac
14271 # Adding this requires a known-good setup of shared libraries for
14272 # Sun compiler versions before 5.6, else PIC objects from an old
14273 # archive will be linked into the output, leading to subtle bugs.
14274 if test "$solaris_use_stlport4" != yes; then
14275 postdeps_CXX='-library=Cstd -library=Crun'
14278 esac
14280 esac
14283 case " $postdeps_CXX " in
14284 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
14285 esac
14286 compiler_lib_search_dirs_CXX=
14287 if test -n "${compiler_lib_search_path_CXX}"; then
14288 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14321 lt_prog_compiler_wl_CXX=
14322 lt_prog_compiler_pic_CXX=
14323 lt_prog_compiler_static_CXX=
14326 # C++ specific cases for pic, static, wl, etc.
14327 if test "$GXX" = yes; then
14328 lt_prog_compiler_wl_CXX='-Wl,'
14329 lt_prog_compiler_static_CXX='-static'
14331 case $host_os in
14332 aix*)
14333 # All AIX code is PIC.
14334 if test "$host_cpu" = ia64; then
14335 # AIX 5 now supports IA64 processor
14336 lt_prog_compiler_static_CXX='-Bstatic'
14340 amigaos*)
14341 case $host_cpu in
14342 powerpc)
14343 # see comment about AmigaOS4 .so support
14344 lt_prog_compiler_pic_CXX='-fPIC'
14346 m68k)
14347 # FIXME: we need at least 68020 code to build shared libraries, but
14348 # adding the `-m68020' flag to GCC prevents building anything better,
14349 # like `-m68040'.
14350 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14352 esac
14355 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14356 # PIC is the default for these OSes.
14358 mingw* | cygwin* | os2* | pw32* | cegcc*)
14359 # This hack is so that the source file can tell whether it is being
14360 # built for inclusion in a dll (and should export symbols for example).
14361 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14362 # (--disable-auto-import) libraries
14363 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14365 darwin* | rhapsody*)
14366 # PIC is the default on this platform
14367 # Common symbols not allowed in MH_DYLIB files
14368 lt_prog_compiler_pic_CXX='-fno-common'
14370 *djgpp*)
14371 # DJGPP does not support shared libraries at all
14372 lt_prog_compiler_pic_CXX=
14374 haiku*)
14375 # PIC is the default for Haiku.
14376 # The "-static" flag exists, but is broken.
14377 lt_prog_compiler_static_CXX=
14379 interix[3-9]*)
14380 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14381 # Instead, we relocate shared libraries at runtime.
14383 sysv4*MP*)
14384 if test -d /usr/nec; then
14385 lt_prog_compiler_pic_CXX=-Kconform_pic
14388 hpux*)
14389 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14390 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14391 # sets the default TLS model and affects inlining.
14392 case $host_cpu in
14393 hppa*64*)
14396 lt_prog_compiler_pic_CXX='-fPIC'
14398 esac
14400 *qnx* | *nto*)
14401 # QNX uses GNU C++, but need to define -shared option too, otherwise
14402 # it will coredump.
14403 lt_prog_compiler_pic_CXX='-fPIC -shared'
14406 lt_prog_compiler_pic_CXX='-fPIC'
14408 esac
14409 else
14410 case $host_os in
14411 aix[4-9]*)
14412 # All AIX code is PIC.
14413 if test "$host_cpu" = ia64; then
14414 # AIX 5 now supports IA64 processor
14415 lt_prog_compiler_static_CXX='-Bstatic'
14416 else
14417 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14420 chorus*)
14421 case $cc_basename in
14422 cxch68*)
14423 # Green Hills C++ Compiler
14424 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
14426 esac
14428 mingw* | cygwin* | os2* | pw32* | cegcc*)
14429 # This hack is so that the source file can tell whether it is being
14430 # built for inclusion in a dll (and should export symbols for example).
14431 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14433 dgux*)
14434 case $cc_basename in
14435 ec++*)
14436 lt_prog_compiler_pic_CXX='-KPIC'
14438 ghcx*)
14439 # Green Hills C++ Compiler
14440 lt_prog_compiler_pic_CXX='-pic'
14444 esac
14446 freebsd* | dragonfly*)
14447 # FreeBSD uses GNU C++
14449 hpux9* | hpux10* | hpux11*)
14450 case $cc_basename in
14451 CC*)
14452 lt_prog_compiler_wl_CXX='-Wl,'
14453 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14454 if test "$host_cpu" != ia64; then
14455 lt_prog_compiler_pic_CXX='+Z'
14458 aCC*)
14459 lt_prog_compiler_wl_CXX='-Wl,'
14460 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14461 case $host_cpu in
14462 hppa*64*|ia64*)
14463 # +Z the default
14466 lt_prog_compiler_pic_CXX='+Z'
14468 esac
14472 esac
14474 interix*)
14475 # This is c89, which is MS Visual C++ (no shared libs)
14476 # Anyone wants to do a port?
14478 irix5* | irix6* | nonstopux*)
14479 case $cc_basename in
14480 CC*)
14481 lt_prog_compiler_wl_CXX='-Wl,'
14482 lt_prog_compiler_static_CXX='-non_shared'
14483 # CC pic flag -KPIC is the default.
14487 esac
14489 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14490 case $cc_basename in
14491 KCC*)
14492 # KAI C++ Compiler
14493 lt_prog_compiler_wl_CXX='--backend -Wl,'
14494 lt_prog_compiler_pic_CXX='-fPIC'
14496 ecpc* )
14497 # old Intel C++ for x86_64 which still supported -KPIC.
14498 lt_prog_compiler_wl_CXX='-Wl,'
14499 lt_prog_compiler_pic_CXX='-KPIC'
14500 lt_prog_compiler_static_CXX='-static'
14502 icpc* )
14503 # Intel C++, used to be incompatible with GCC.
14504 # ICC 10 doesn't accept -KPIC any more.
14505 lt_prog_compiler_wl_CXX='-Wl,'
14506 lt_prog_compiler_pic_CXX='-fPIC'
14507 lt_prog_compiler_static_CXX='-static'
14509 pgCC* | pgcpp*)
14510 # Portland Group C++ compiler
14511 lt_prog_compiler_wl_CXX='-Wl,'
14512 lt_prog_compiler_pic_CXX='-fpic'
14513 lt_prog_compiler_static_CXX='-Bstatic'
14515 cxx*)
14516 # Compaq C++
14517 # Make sure the PIC flag is empty. It appears that all Alpha
14518 # Linux and Compaq Tru64 Unix objects are PIC.
14519 lt_prog_compiler_pic_CXX=
14520 lt_prog_compiler_static_CXX='-non_shared'
14522 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14523 # IBM XL 8.0, 9.0 on PPC and BlueGene
14524 lt_prog_compiler_wl_CXX='-Wl,'
14525 lt_prog_compiler_pic_CXX='-qpic'
14526 lt_prog_compiler_static_CXX='-qstaticlink'
14529 case `$CC -V 2>&1 | sed 5q` in
14530 *Sun\ C*)
14531 # Sun C++ 5.9
14532 lt_prog_compiler_pic_CXX='-KPIC'
14533 lt_prog_compiler_static_CXX='-Bstatic'
14534 lt_prog_compiler_wl_CXX='-Qoption ld '
14536 esac
14538 esac
14540 lynxos*)
14542 m88k*)
14544 mvs*)
14545 case $cc_basename in
14546 cxx*)
14547 lt_prog_compiler_pic_CXX='-W c,exportall'
14551 esac
14553 netbsd*)
14555 *qnx* | *nto*)
14556 # QNX uses GNU C++, but need to define -shared option too, otherwise
14557 # it will coredump.
14558 lt_prog_compiler_pic_CXX='-fPIC -shared'
14560 osf3* | osf4* | osf5*)
14561 case $cc_basename in
14562 KCC*)
14563 lt_prog_compiler_wl_CXX='--backend -Wl,'
14565 RCC*)
14566 # Rational C++ 2.4.1
14567 lt_prog_compiler_pic_CXX='-pic'
14569 cxx*)
14570 # Digital/Compaq C++
14571 lt_prog_compiler_wl_CXX='-Wl,'
14572 # Make sure the PIC flag is empty. It appears that all Alpha
14573 # Linux and Compaq Tru64 Unix objects are PIC.
14574 lt_prog_compiler_pic_CXX=
14575 lt_prog_compiler_static_CXX='-non_shared'
14579 esac
14581 psos*)
14583 solaris*)
14584 case $cc_basename in
14585 CC* | sunCC*)
14586 # Sun C++ 4.2, 5.x and Centerline C++
14587 lt_prog_compiler_pic_CXX='-KPIC'
14588 lt_prog_compiler_static_CXX='-Bstatic'
14589 lt_prog_compiler_wl_CXX='-Qoption ld '
14591 gcx*)
14592 # Green Hills C++ Compiler
14593 lt_prog_compiler_pic_CXX='-PIC'
14597 esac
14599 sunos4*)
14600 case $cc_basename in
14601 CC*)
14602 # Sun C++ 4.x
14603 lt_prog_compiler_pic_CXX='-pic'
14604 lt_prog_compiler_static_CXX='-Bstatic'
14606 lcc*)
14607 # Lucid
14608 lt_prog_compiler_pic_CXX='-pic'
14612 esac
14614 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14615 case $cc_basename in
14616 CC*)
14617 lt_prog_compiler_wl_CXX='-Wl,'
14618 lt_prog_compiler_pic_CXX='-KPIC'
14619 lt_prog_compiler_static_CXX='-Bstatic'
14621 esac
14623 tandem*)
14624 case $cc_basename in
14625 NCC*)
14626 # NonStop-UX NCC 3.20
14627 lt_prog_compiler_pic_CXX='-KPIC'
14631 esac
14633 vxworks*)
14636 lt_prog_compiler_can_build_shared_CXX=no
14638 esac
14641 case $host_os in
14642 # For platforms which do not support PIC, -DPIC is meaningless:
14643 *djgpp*)
14644 lt_prog_compiler_pic_CXX=
14647 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14649 esac
14651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14652 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14653 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
14654 $as_echo_n "(cached) " >&6
14655 else
14656 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
14658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14659 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14660 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
14663 # Check to make sure the PIC flag actually works.
14665 if test -n "$lt_prog_compiler_pic_CXX"; then
14666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14667 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14668 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14669 $as_echo_n "(cached) " >&6
14670 else
14671 lt_cv_prog_compiler_pic_works_CXX=no
14672 ac_outfile=conftest.$ac_objext
14673 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14674 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14675 # Insert the option either (1) after the last *FLAGS variable, or
14676 # (2) before a word containing "conftest.", or (3) at the end.
14677 # Note that $ac_compile itself does not contain backslashes and begins
14678 # with a dollar sign (not a hyphen), so the echo should work correctly.
14679 # The option is referenced via a variable to avoid confusing sed.
14680 lt_compile=`echo "$ac_compile" | $SED \
14681 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14682 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14683 -e 's:$: $lt_compiler_flag:'`
14684 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14685 (eval "$lt_compile" 2>conftest.err)
14686 ac_status=$?
14687 cat conftest.err >&5
14688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14689 if (exit $ac_status) && test -s "$ac_outfile"; then
14690 # The compiler can only warn and ignore the option if not recognized
14691 # So say no if there are warnings other than the usual output.
14692 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14693 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14694 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14695 lt_cv_prog_compiler_pic_works_CXX=yes
14698 $RM conftest*
14701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14702 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14704 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14705 case $lt_prog_compiler_pic_CXX in
14706 "" | " "*) ;;
14707 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14708 esac
14709 else
14710 lt_prog_compiler_pic_CXX=
14711 lt_prog_compiler_can_build_shared_CXX=no
14721 # Check to make sure the static flag actually works.
14723 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14725 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14726 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14727 $as_echo_n "(cached) " >&6
14728 else
14729 lt_cv_prog_compiler_static_works_CXX=no
14730 save_LDFLAGS="$LDFLAGS"
14731 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14732 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14733 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14734 # The linker can only warn and ignore the option if not recognized
14735 # So say no if there are warnings
14736 if test -s conftest.err; then
14737 # Append any errors to the config.log.
14738 cat conftest.err 1>&5
14739 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14740 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14741 if diff conftest.exp conftest.er2 >/dev/null; then
14742 lt_cv_prog_compiler_static_works_CXX=yes
14744 else
14745 lt_cv_prog_compiler_static_works_CXX=yes
14748 $RM -r conftest*
14749 LDFLAGS="$save_LDFLAGS"
14752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14753 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14755 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14757 else
14758 lt_prog_compiler_static_CXX=
14764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14765 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14766 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14767 $as_echo_n "(cached) " >&6
14768 else
14769 lt_cv_prog_compiler_c_o_CXX=no
14770 $RM -r conftest 2>/dev/null
14771 mkdir conftest
14772 cd conftest
14773 mkdir out
14774 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14776 lt_compiler_flag="-o out/conftest2.$ac_objext"
14777 # Insert the option either (1) after the last *FLAGS variable, or
14778 # (2) before a word containing "conftest.", or (3) at the end.
14779 # Note that $ac_compile itself does not contain backslashes and begins
14780 # with a dollar sign (not a hyphen), so the echo should work correctly.
14781 lt_compile=`echo "$ac_compile" | $SED \
14782 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14783 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14784 -e 's:$: $lt_compiler_flag:'`
14785 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14786 (eval "$lt_compile" 2>out/conftest.err)
14787 ac_status=$?
14788 cat out/conftest.err >&5
14789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14790 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14791 then
14792 # The compiler can only warn and ignore the option if not recognized
14793 # So say no if there are warnings
14794 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14795 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14796 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14797 lt_cv_prog_compiler_c_o_CXX=yes
14800 chmod u+w . 2>&5
14801 $RM conftest*
14802 # SGI C++ compiler will create directory out/ii_files/ for
14803 # template instantiation
14804 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14805 $RM out/* && rmdir out
14806 cd ..
14807 $RM -r conftest
14808 $RM conftest*
14811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14812 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14817 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14818 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14819 $as_echo_n "(cached) " >&6
14820 else
14821 lt_cv_prog_compiler_c_o_CXX=no
14822 $RM -r conftest 2>/dev/null
14823 mkdir conftest
14824 cd conftest
14825 mkdir out
14826 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14828 lt_compiler_flag="-o out/conftest2.$ac_objext"
14829 # Insert the option either (1) after the last *FLAGS variable, or
14830 # (2) before a word containing "conftest.", or (3) at the end.
14831 # Note that $ac_compile itself does not contain backslashes and begins
14832 # with a dollar sign (not a hyphen), so the echo should work correctly.
14833 lt_compile=`echo "$ac_compile" | $SED \
14834 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14835 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14836 -e 's:$: $lt_compiler_flag:'`
14837 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14838 (eval "$lt_compile" 2>out/conftest.err)
14839 ac_status=$?
14840 cat out/conftest.err >&5
14841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14842 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14843 then
14844 # The compiler can only warn and ignore the option if not recognized
14845 # So say no if there are warnings
14846 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14847 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14848 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14849 lt_cv_prog_compiler_c_o_CXX=yes
14852 chmod u+w . 2>&5
14853 $RM conftest*
14854 # SGI C++ compiler will create directory out/ii_files/ for
14855 # template instantiation
14856 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14857 $RM out/* && rmdir out
14858 cd ..
14859 $RM -r conftest
14860 $RM conftest*
14863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14864 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14869 hard_links="nottested"
14870 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14871 # do not overwrite the value of need_locks provided by the user
14872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14873 $as_echo_n "checking if we can lock with hard links... " >&6; }
14874 hard_links=yes
14875 $RM conftest*
14876 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14877 touch conftest.a
14878 ln conftest.a conftest.b 2>&5 || hard_links=no
14879 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14881 $as_echo "$hard_links" >&6; }
14882 if test "$hard_links" = no; then
14883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14884 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14885 need_locks=warn
14887 else
14888 need_locks=no
14893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14894 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14896 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14897 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14898 case $host_os in
14899 aix[4-9]*)
14900 # If we're using GNU nm, then we don't want the "-C" option.
14901 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14902 # Also, AIX nm treats weak defined symbols like other global defined
14903 # symbols, whereas GNU nm marks them as "W".
14904 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14905 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14906 else
14907 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14910 pw32*)
14911 export_symbols_cmds_CXX="$ltdll_cmds"
14913 cygwin* | mingw* | cegcc*)
14914 case $cc_basename in
14915 cl*) ;;
14917 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
14918 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14920 esac
14923 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14925 esac
14927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14928 $as_echo "$ld_shlibs_CXX" >&6; }
14929 test "$ld_shlibs_CXX" = no && can_build_shared=no
14931 with_gnu_ld_CXX=$with_gnu_ld
14939 # Do we need to explicitly link libc?
14941 case "x$archive_cmds_need_lc_CXX" in
14942 x|xyes)
14943 # Assume -lc should be added
14944 archive_cmds_need_lc_CXX=yes
14946 if test "$enable_shared" = yes && test "$GCC" = yes; then
14947 case $archive_cmds_CXX in
14948 *'~'*)
14949 # FIXME: we may have to deal with multi-command sequences.
14951 '$CC '*)
14952 # Test whether the compiler implicitly links with -lc since on some
14953 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14954 # to ld, don't add -lc before -lgcc.
14955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14956 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14957 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14958 $as_echo_n "(cached) " >&6
14959 else
14960 $RM conftest*
14961 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14963 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14964 (eval $ac_compile) 2>&5
14965 ac_status=$?
14966 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14967 test $ac_status = 0; } 2>conftest.err; then
14968 soname=conftest
14969 lib=conftest
14970 libobjs=conftest.$ac_objext
14971 deplibs=
14972 wl=$lt_prog_compiler_wl_CXX
14973 pic_flag=$lt_prog_compiler_pic_CXX
14974 compiler_flags=-v
14975 linker_flags=-v
14976 verstring=
14977 output_objdir=.
14978 libname=conftest
14979 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14980 allow_undefined_flag_CXX=
14981 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14982 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14983 ac_status=$?
14984 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14985 test $ac_status = 0; }
14986 then
14987 lt_cv_archive_cmds_need_lc_CXX=no
14988 else
14989 lt_cv_archive_cmds_need_lc_CXX=yes
14991 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14992 else
14993 cat conftest.err 1>&5
14995 $RM conftest*
14998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14999 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15000 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
15002 esac
15005 esac
15070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15071 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15073 library_names_spec=
15074 libname_spec='lib$name'
15075 soname_spec=
15076 shrext_cmds=".so"
15077 postinstall_cmds=
15078 postuninstall_cmds=
15079 finish_cmds=
15080 finish_eval=
15081 shlibpath_var=
15082 shlibpath_overrides_runpath=unknown
15083 version_type=none
15084 dynamic_linker="$host_os ld.so"
15085 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15086 need_lib_prefix=unknown
15087 hardcode_into_libs=no
15089 # when you set need_version to no, make sure it does not cause -set_version
15090 # flags to be left without arguments
15091 need_version=unknown
15093 case $host_os in
15094 aix3*)
15095 version_type=linux
15096 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15097 shlibpath_var=LIBPATH
15099 # AIX 3 has no versioning support, so we append a major version to the name.
15100 soname_spec='${libname}${release}${shared_ext}$major'
15103 aix[4-9]*)
15104 version_type=linux
15105 need_lib_prefix=no
15106 need_version=no
15107 hardcode_into_libs=yes
15108 if test "$host_cpu" = ia64; then
15109 # AIX 5 supports IA64
15110 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15111 shlibpath_var=LD_LIBRARY_PATH
15112 else
15113 # With GCC up to 2.95.x, collect2 would create an import file
15114 # for dependence libraries. The import file would start with
15115 # the line `#! .'. This would cause the generated library to
15116 # depend on `.', always an invalid library. This was fixed in
15117 # development snapshots of GCC prior to 3.0.
15118 case $host_os in
15119 aix4 | aix4.[01] | aix4.[01].*)
15120 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15121 echo ' yes '
15122 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
15124 else
15125 can_build_shared=no
15128 esac
15129 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15130 # soname into executable. Probably we can add versioning support to
15131 # collect2, so additional links can be useful in future.
15132 if test "$aix_use_runtimelinking" = yes; then
15133 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15134 # instead of lib<name>.a to let people know that these are not
15135 # typical AIX shared libraries.
15136 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15137 else
15138 # We preserve .a as extension for shared libraries through AIX4.2
15139 # and later when we are not doing run time linking.
15140 library_names_spec='${libname}${release}.a $libname.a'
15141 soname_spec='${libname}${release}${shared_ext}$major'
15143 shlibpath_var=LIBPATH
15147 amigaos*)
15148 case $host_cpu in
15149 powerpc)
15150 # Since July 2007 AmigaOS4 officially supports .so libraries.
15151 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15152 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15154 m68k)
15155 library_names_spec='$libname.ixlibrary $libname.a'
15156 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15157 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
15159 esac
15162 beos*)
15163 library_names_spec='${libname}${shared_ext}'
15164 dynamic_linker="$host_os ld.so"
15165 shlibpath_var=LIBRARY_PATH
15168 bsdi[45]*)
15169 version_type=linux
15170 need_version=no
15171 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15172 soname_spec='${libname}${release}${shared_ext}$major'
15173 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15174 shlibpath_var=LD_LIBRARY_PATH
15175 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15176 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15177 # the default ld.so.conf also contains /usr/contrib/lib and
15178 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15179 # libtool to hard-code these into programs
15182 cygwin* | mingw* | pw32* | cegcc*)
15183 version_type=windows
15184 shrext_cmds=".dll"
15185 need_version=no
15186 need_lib_prefix=no
15188 case $GCC,$cc_basename in
15189 yes,*)
15190 # gcc
15191 library_names_spec='$libname.dll.a'
15192 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15193 postinstall_cmds='base_file=`basename \${file}`~
15194 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15195 dldir=$destdir/`dirname \$dlpath`~
15196 test -d \$dldir || mkdir -p \$dldir~
15197 $install_prog $dir/$dlname \$dldir/$dlname~
15198 chmod a+x \$dldir/$dlname~
15199 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15200 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15202 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15203 dlpath=$dir/\$dldll~
15204 $RM \$dlpath'
15205 shlibpath_overrides_runpath=yes
15207 case $host_os in
15208 cygwin*)
15209 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15210 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15213 mingw* | cegcc*)
15214 # MinGW DLLs use traditional 'lib' prefix
15215 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15217 pw32*)
15218 # pw32 DLLs use 'pw' prefix rather than 'lib'
15219 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15221 esac
15222 dynamic_linker='Win32 ld.exe'
15225 *,cl*)
15226 # Native MSVC
15227 libname_spec='$name'
15228 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15229 library_names_spec='${libname}.dll.lib'
15231 case $build_os in
15232 mingw*)
15233 sys_lib_search_path_spec=
15234 lt_save_ifs=$IFS
15235 IFS=';'
15236 for lt_path in $LIB
15238 IFS=$lt_save_ifs
15239 # Let DOS variable expansion print the short 8.3 style file name.
15240 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15241 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
15242 done
15243 IFS=$lt_save_ifs
15244 # Convert to MSYS style.
15245 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15247 cygwin*)
15248 # Convert to unix form, then to dos form, then back to unix form
15249 # but this time dos style (no spaces!) so that the unix form looks
15250 # like /cygdrive/c/PROGRA~1:/cygdr...
15251 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
15252 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15253 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15256 sys_lib_search_path_spec="$LIB"
15257 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15258 # It is most probably a Windows format PATH.
15259 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15260 else
15261 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15263 # FIXME: find the short name or the path components, as spaces are
15264 # common. (e.g. "Program Files" -> "PROGRA~1")
15266 esac
15268 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15269 postinstall_cmds='base_file=`basename \${file}`~
15270 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15271 dldir=$destdir/`dirname \$dlpath`~
15272 test -d \$dldir || mkdir -p \$dldir~
15273 $install_prog $dir/$dlname \$dldir/$dlname'
15274 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15275 dlpath=$dir/\$dldll~
15276 $RM \$dlpath'
15277 shlibpath_overrides_runpath=yes
15278 dynamic_linker='Win32 link.exe'
15282 # Assume MSVC wrapper
15283 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15284 dynamic_linker='Win32 ld.exe'
15286 esac
15287 # FIXME: first we should search . and the directory the executable is in
15288 shlibpath_var=PATH
15291 darwin* | rhapsody*)
15292 dynamic_linker="$host_os dyld"
15293 version_type=darwin
15294 need_lib_prefix=no
15295 need_version=no
15296 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15297 soname_spec='${libname}${release}${major}$shared_ext'
15298 shlibpath_overrides_runpath=yes
15299 shlibpath_var=DYLD_LIBRARY_PATH
15300 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15302 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15305 dgux*)
15306 version_type=linux
15307 need_lib_prefix=no
15308 need_version=no
15309 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15310 soname_spec='${libname}${release}${shared_ext}$major'
15311 shlibpath_var=LD_LIBRARY_PATH
15314 freebsd1*)
15315 dynamic_linker=no
15318 freebsd* | dragonfly*)
15319 # DragonFly does not have aout. When/if they implement a new
15320 # versioning mechanism, adjust this.
15321 if test -x /usr/bin/objformat; then
15322 objformat=`/usr/bin/objformat`
15323 else
15324 case $host_os in
15325 freebsd[123]*) objformat=aout ;;
15326 *) objformat=elf ;;
15327 esac
15329 version_type=freebsd-$objformat
15330 case $version_type in
15331 freebsd-elf*)
15332 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15333 need_version=no
15334 need_lib_prefix=no
15336 freebsd-*)
15337 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15338 need_version=yes
15340 esac
15341 shlibpath_var=LD_LIBRARY_PATH
15342 case $host_os in
15343 freebsd2*)
15344 shlibpath_overrides_runpath=yes
15346 freebsd3.[01]* | freebsdelf3.[01]*)
15347 shlibpath_overrides_runpath=yes
15348 hardcode_into_libs=yes
15350 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15351 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15352 shlibpath_overrides_runpath=no
15353 hardcode_into_libs=yes
15355 *) # from 4.6 on, and DragonFly
15356 shlibpath_overrides_runpath=yes
15357 hardcode_into_libs=yes
15359 esac
15362 gnu*)
15363 version_type=linux
15364 need_lib_prefix=no
15365 need_version=no
15366 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15367 soname_spec='${libname}${release}${shared_ext}$major'
15368 shlibpath_var=LD_LIBRARY_PATH
15369 hardcode_into_libs=yes
15372 haiku*)
15373 version_type=linux
15374 need_lib_prefix=no
15375 need_version=no
15376 dynamic_linker="$host_os runtime_loader"
15377 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15378 soname_spec='${libname}${release}${shared_ext}$major'
15379 shlibpath_var=LIBRARY_PATH
15380 shlibpath_overrides_runpath=yes
15381 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15382 hardcode_into_libs=yes
15385 hpux9* | hpux10* | hpux11*)
15386 # Give a soname corresponding to the major version so that dld.sl refuses to
15387 # link against other versions.
15388 version_type=sunos
15389 need_lib_prefix=no
15390 need_version=no
15391 case $host_cpu in
15392 ia64*)
15393 shrext_cmds='.so'
15394 hardcode_into_libs=yes
15395 dynamic_linker="$host_os dld.so"
15396 shlibpath_var=LD_LIBRARY_PATH
15397 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15398 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15399 soname_spec='${libname}${release}${shared_ext}$major'
15400 if test "X$HPUX_IA64_MODE" = X32; then
15401 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15402 else
15403 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15405 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15407 hppa*64*)
15408 shrext_cmds='.sl'
15409 hardcode_into_libs=yes
15410 dynamic_linker="$host_os dld.sl"
15411 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15412 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15413 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15414 soname_spec='${libname}${release}${shared_ext}$major'
15415 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15416 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15419 shrext_cmds='.sl'
15420 dynamic_linker="$host_os dld.sl"
15421 shlibpath_var=SHLIB_PATH
15422 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15423 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15424 soname_spec='${libname}${release}${shared_ext}$major'
15426 esac
15427 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15428 postinstall_cmds='chmod 555 $lib'
15429 # or fails outright, so override atomically:
15430 install_override_mode=555
15433 interix[3-9]*)
15434 version_type=linux
15435 need_lib_prefix=no
15436 need_version=no
15437 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15438 soname_spec='${libname}${release}${shared_ext}$major'
15439 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15440 shlibpath_var=LD_LIBRARY_PATH
15441 shlibpath_overrides_runpath=no
15442 hardcode_into_libs=yes
15445 irix5* | irix6* | nonstopux*)
15446 case $host_os in
15447 nonstopux*) version_type=nonstopux ;;
15449 if test "$lt_cv_prog_gnu_ld" = yes; then
15450 version_type=linux
15451 else
15452 version_type=irix
15453 fi ;;
15454 esac
15455 need_lib_prefix=no
15456 need_version=no
15457 soname_spec='${libname}${release}${shared_ext}$major'
15458 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15459 case $host_os in
15460 irix5* | nonstopux*)
15461 libsuff= shlibsuff=
15464 case $LD in # libtool.m4 will add one of these switches to LD
15465 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15466 libsuff= shlibsuff= libmagic=32-bit;;
15467 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15468 libsuff=32 shlibsuff=N32 libmagic=N32;;
15469 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15470 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15471 *) libsuff= shlibsuff= libmagic=never-match;;
15472 esac
15474 esac
15475 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15476 shlibpath_overrides_runpath=no
15477 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15478 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15479 hardcode_into_libs=yes
15482 # No shared lib support for Linux oldld, aout, or coff.
15483 linux*oldld* | linux*aout* | linux*coff*)
15484 dynamic_linker=no
15487 # This must be Linux ELF.
15488 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15489 version_type=linux
15490 need_lib_prefix=no
15491 need_version=no
15492 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15493 soname_spec='${libname}${release}${shared_ext}$major'
15494 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15495 shlibpath_var=LD_LIBRARY_PATH
15496 shlibpath_overrides_runpath=no
15498 # Some binutils ld are patched to set DT_RUNPATH
15499 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15500 $as_echo_n "(cached) " >&6
15501 else
15502 lt_cv_shlibpath_overrides_runpath=no
15503 save_LDFLAGS=$LDFLAGS
15504 save_libdir=$libdir
15505 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15506 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15508 /* end confdefs.h. */
15511 main ()
15515 return 0;
15517 _ACEOF
15518 if ac_fn_cxx_try_link "$LINENO"; then :
15519 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15520 lt_cv_shlibpath_overrides_runpath=yes
15523 rm -f core conftest.err conftest.$ac_objext \
15524 conftest$ac_exeext conftest.$ac_ext
15525 LDFLAGS=$save_LDFLAGS
15526 libdir=$save_libdir
15530 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15532 # This implies no fast_install, which is unacceptable.
15533 # Some rework will be needed to allow for fast_install
15534 # before this can be enabled.
15535 hardcode_into_libs=yes
15537 # Append ld.so.conf contents to the search path
15538 if test -f /etc/ld.so.conf; then
15539 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
15540 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15543 # We used to test for /lib/ld.so.1 and disable shared libraries on
15544 # powerpc, because MkLinux only supported shared libraries with the
15545 # GNU dynamic linker. Since this was broken with cross compilers,
15546 # most powerpc-linux boxes support dynamic linking these days and
15547 # people can always --disable-shared, the test was removed, and we
15548 # assume the GNU/Linux dynamic linker is in use.
15549 dynamic_linker='GNU/Linux ld.so'
15552 netbsd*)
15553 version_type=sunos
15554 need_lib_prefix=no
15555 need_version=no
15556 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15557 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15558 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15559 dynamic_linker='NetBSD (a.out) ld.so'
15560 else
15561 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15562 soname_spec='${libname}${release}${shared_ext}$major'
15563 dynamic_linker='NetBSD ld.elf_so'
15565 shlibpath_var=LD_LIBRARY_PATH
15566 shlibpath_overrides_runpath=yes
15567 hardcode_into_libs=yes
15570 newsos6)
15571 version_type=linux
15572 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15573 shlibpath_var=LD_LIBRARY_PATH
15574 shlibpath_overrides_runpath=yes
15577 *nto* | *qnx*)
15578 version_type=qnx
15579 need_lib_prefix=no
15580 need_version=no
15581 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15582 soname_spec='${libname}${release}${shared_ext}$major'
15583 shlibpath_var=LD_LIBRARY_PATH
15584 shlibpath_overrides_runpath=no
15585 hardcode_into_libs=yes
15586 dynamic_linker='ldqnx.so'
15589 openbsd*)
15590 version_type=sunos
15591 sys_lib_dlsearch_path_spec="/usr/lib"
15592 need_lib_prefix=no
15593 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15594 case $host_os in
15595 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15596 *) need_version=no ;;
15597 esac
15598 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15599 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15600 shlibpath_var=LD_LIBRARY_PATH
15601 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15602 case $host_os in
15603 openbsd2.[89] | openbsd2.[89].*)
15604 shlibpath_overrides_runpath=no
15607 shlibpath_overrides_runpath=yes
15609 esac
15610 else
15611 shlibpath_overrides_runpath=yes
15615 os2*)
15616 libname_spec='$name'
15617 shrext_cmds=".dll"
15618 need_lib_prefix=no
15619 library_names_spec='$libname${shared_ext} $libname.a'
15620 dynamic_linker='OS/2 ld.exe'
15621 shlibpath_var=LIBPATH
15624 osf3* | osf4* | osf5*)
15625 version_type=osf
15626 need_lib_prefix=no
15627 need_version=no
15628 soname_spec='${libname}${release}${shared_ext}$major'
15629 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15630 shlibpath_var=LD_LIBRARY_PATH
15631 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15632 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15635 rdos*)
15636 dynamic_linker=no
15639 solaris*)
15640 version_type=linux
15641 need_lib_prefix=no
15642 need_version=no
15643 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15644 soname_spec='${libname}${release}${shared_ext}$major'
15645 shlibpath_var=LD_LIBRARY_PATH
15646 shlibpath_overrides_runpath=yes
15647 hardcode_into_libs=yes
15648 # ldd complains unless libraries are executable
15649 postinstall_cmds='chmod +x $lib'
15652 sunos4*)
15653 version_type=sunos
15654 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15655 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15656 shlibpath_var=LD_LIBRARY_PATH
15657 shlibpath_overrides_runpath=yes
15658 if test "$with_gnu_ld" = yes; then
15659 need_lib_prefix=no
15661 need_version=yes
15664 sysv4 | sysv4.3*)
15665 version_type=linux
15666 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15667 soname_spec='${libname}${release}${shared_ext}$major'
15668 shlibpath_var=LD_LIBRARY_PATH
15669 case $host_vendor in
15670 sni)
15671 shlibpath_overrides_runpath=no
15672 need_lib_prefix=no
15673 runpath_var=LD_RUN_PATH
15675 siemens)
15676 need_lib_prefix=no
15678 motorola)
15679 need_lib_prefix=no
15680 need_version=no
15681 shlibpath_overrides_runpath=no
15682 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15684 esac
15687 sysv4*MP*)
15688 if test -d /usr/nec ;then
15689 version_type=linux
15690 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15691 soname_spec='$libname${shared_ext}.$major'
15692 shlibpath_var=LD_LIBRARY_PATH
15696 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15697 version_type=freebsd-elf
15698 need_lib_prefix=no
15699 need_version=no
15700 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15701 soname_spec='${libname}${release}${shared_ext}$major'
15702 shlibpath_var=LD_LIBRARY_PATH
15703 shlibpath_overrides_runpath=yes
15704 hardcode_into_libs=yes
15705 if test "$with_gnu_ld" = yes; then
15706 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15707 else
15708 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15709 case $host_os in
15710 sco3.2v5*)
15711 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15713 esac
15715 sys_lib_dlsearch_path_spec='/usr/lib'
15718 tpf*)
15719 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15720 version_type=linux
15721 need_lib_prefix=no
15722 need_version=no
15723 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15724 shlibpath_var=LD_LIBRARY_PATH
15725 shlibpath_overrides_runpath=no
15726 hardcode_into_libs=yes
15729 uts4*)
15730 version_type=linux
15731 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15732 soname_spec='${libname}${release}${shared_ext}$major'
15733 shlibpath_var=LD_LIBRARY_PATH
15737 dynamic_linker=no
15739 esac
15740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15741 $as_echo "$dynamic_linker" >&6; }
15742 test "$dynamic_linker" = no && can_build_shared=no
15744 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15745 if test "$GCC" = yes; then
15746 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15749 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15750 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15752 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15753 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15794 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15795 hardcode_action_CXX=
15796 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15797 test -n "$runpath_var_CXX" ||
15798 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15800 # We can hardcode non-existent directories.
15801 if test "$hardcode_direct_CXX" != no &&
15802 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15803 # have to relink, otherwise we might link with an installed library
15804 # when we should be linking with a yet-to-be-installed one
15805 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15806 test "$hardcode_minus_L_CXX" != no; then
15807 # Linking always hardcodes the temporary library directory.
15808 hardcode_action_CXX=relink
15809 else
15810 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15811 hardcode_action_CXX=immediate
15813 else
15814 # We cannot hardcode anything, or else we can only hardcode existing
15815 # directories.
15816 hardcode_action_CXX=unsupported
15818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15819 $as_echo "$hardcode_action_CXX" >&6; }
15821 if test "$hardcode_action_CXX" = relink ||
15822 test "$inherit_rpath_CXX" = yes; then
15823 # Fast installation is not supported
15824 enable_fast_install=no
15825 elif test "$shlibpath_overrides_runpath" = yes ||
15826 test "$enable_shared" = no; then
15827 # Fast installation is not necessary
15828 enable_fast_install=needless
15837 fi # test -n "$compiler"
15839 CC=$lt_save_CC
15840 CFLAGS=$lt_save_CFLAGS
15841 LDCXX=$LD
15842 LD=$lt_save_LD
15843 GCC=$lt_save_GCC
15844 with_gnu_ld=$lt_save_with_gnu_ld
15845 lt_cv_path_LDCXX=$lt_cv_path_LD
15846 lt_cv_path_LD=$lt_save_path_LD
15847 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15848 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15849 fi # test "$_lt_caught_CXX_error" != yes
15851 ac_ext=c
15852 ac_cpp='$CPP $CPPFLAGS'
15853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
15859 $as_echo_n "checking whether ln -s works... " >&6; }
15860 LN_S=$as_ln_s
15861 if test "$LN_S" = "ln -s"; then
15862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15863 $as_echo "yes" >&6; }
15864 else
15865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
15866 $as_echo "no, using $LN_S" >&6; }
15870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
15871 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
15872 set x ${MAKE-make}
15873 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
15874 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
15875 $as_echo_n "(cached) " >&6
15876 else
15877 cat >conftest.make <<\_ACEOF
15878 SHELL = /bin/sh
15879 all:
15880 @echo '@@@%%%=$(MAKE)=@@@%%%'
15881 _ACEOF
15882 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
15883 case `${MAKE-make} -f conftest.make 2>/dev/null` in
15884 *@@@%%%=?*=@@@%%%*)
15885 eval ac_cv_prog_make_${ac_make}_set=yes;;
15887 eval ac_cv_prog_make_${ac_make}_set=no;;
15888 esac
15889 rm -f conftest.make
15891 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
15892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15893 $as_echo "yes" >&6; }
15894 SET_MAKE=
15895 else
15896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15897 $as_echo "no" >&6; }
15898 SET_MAKE="MAKE=${MAKE-make}"
15903 # Extract the first word of "gengetopt", so it can be a program name with args.
15904 set dummy gengetopt; ac_word=$2
15905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15906 $as_echo_n "checking for $ac_word... " >&6; }
15907 if ${ac_cv_path_GENGETOPT+:} false; then :
15908 $as_echo_n "(cached) " >&6
15909 else
15910 case $GENGETOPT in
15911 [\\/]* | ?:[\\/]*)
15912 ac_cv_path_GENGETOPT="$GENGETOPT" # Let the user override the test with a path.
15915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15916 for as_dir in $PATH
15918 IFS=$as_save_IFS
15919 test -z "$as_dir" && as_dir=.
15920 for ac_exec_ext in '' $ac_executable_extensions; do
15921 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15922 ac_cv_path_GENGETOPT="$as_dir/$ac_word$ac_exec_ext"
15923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15924 break 2
15926 done
15927 done
15928 IFS=$as_save_IFS
15930 test -z "$ac_cv_path_GENGETOPT" && ac_cv_path_GENGETOPT="no"
15932 esac
15934 GENGETOPT=$ac_cv_path_GENGETOPT
15935 if test -n "$GENGETOPT"; then
15936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENGETOPT" >&5
15937 $as_echo "$GENGETOPT" >&6; }
15938 else
15939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15940 $as_echo "no" >&6; }
15944 if test x"$GENGETOPT" != "xno"; then
15945 HAVE_GENGETOPT_TRUE=
15946 HAVE_GENGETOPT_FALSE='#'
15947 else
15948 HAVE_GENGETOPT_TRUE='#'
15949 HAVE_GENGETOPT_FALSE=
15954 # Extract the first word of "doxygen", so it can be a program name with args.
15955 set dummy doxygen; ac_word=$2
15956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15957 $as_echo_n "checking for $ac_word... " >&6; }
15958 if ${ac_cv_path_DOXYGEN+:} false; then :
15959 $as_echo_n "(cached) " >&6
15960 else
15961 case $DOXYGEN in
15962 [\\/]* | ?:[\\/]*)
15963 ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
15966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15967 for as_dir in $PATH
15969 IFS=$as_save_IFS
15970 test -z "$as_dir" && as_dir=.
15971 for ac_exec_ext in '' $ac_executable_extensions; do
15972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15973 ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
15974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15975 break 2
15977 done
15978 done
15979 IFS=$as_save_IFS
15981 test -z "$ac_cv_path_DOXYGEN" && ac_cv_path_DOXYGEN="no"
15983 esac
15985 DOXYGEN=$ac_cv_path_DOXYGEN
15986 if test -n "$DOXYGEN"; then
15987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
15988 $as_echo "$DOXYGEN" >&6; }
15989 else
15990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15991 $as_echo "no" >&6; }
15995 if test x"$DOXYGEN" != "xno"; then
15996 HAVE_DOXYGEN_TRUE=
15997 HAVE_DOXYGEN_FALSE='#'
15998 else
15999 HAVE_DOXYGEN_TRUE='#'
16000 HAVE_DOXYGEN_FALSE=
16005 # Extract the first word of "prove", so it can be a program name with args.
16006 set dummy prove; ac_word=$2
16007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16008 $as_echo_n "checking for $ac_word... " >&6; }
16009 if ${ac_cv_path_PROVE+:} false; then :
16010 $as_echo_n "(cached) " >&6
16011 else
16012 case $PROVE in
16013 [\\/]* | ?:[\\/]*)
16014 ac_cv_path_PROVE="$PROVE" # Let the user override the test with a path.
16017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16018 for as_dir in $PATH
16020 IFS=$as_save_IFS
16021 test -z "$as_dir" && as_dir=.
16022 for ac_exec_ext in '' $ac_executable_extensions; do
16023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16024 ac_cv_path_PROVE="$as_dir/$ac_word$ac_exec_ext"
16025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16026 break 2
16028 done
16029 done
16030 IFS=$as_save_IFS
16032 test -z "$ac_cv_path_PROVE" && ac_cv_path_PROVE="no"
16034 esac
16036 PROVE=$ac_cv_path_PROVE
16037 if test -n "$PROVE"; then
16038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PROVE" >&5
16039 $as_echo "$PROVE" >&6; }
16040 else
16041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16042 $as_echo "no" >&6; }
16046 if test x"$PROVE" != "xno"; then
16047 HAVE_PROVE_TRUE=
16048 HAVE_PROVE_FALSE='#'
16049 else
16050 HAVE_PROVE_TRUE='#'
16051 HAVE_PROVE_FALSE=
16056 # Extract the first word of "valgrind", so it can be a program name with args.
16057 set dummy valgrind; ac_word=$2
16058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16059 $as_echo_n "checking for $ac_word... " >&6; }
16060 if ${ac_cv_path_VALGRIND+:} false; then :
16061 $as_echo_n "(cached) " >&6
16062 else
16063 case $VALGRIND in
16064 [\\/]* | ?:[\\/]*)
16065 ac_cv_path_VALGRIND="$VALGRIND" # Let the user override the test with a path.
16068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16069 for as_dir in $PATH
16071 IFS=$as_save_IFS
16072 test -z "$as_dir" && as_dir=.
16073 for ac_exec_ext in '' $ac_executable_extensions; do
16074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16075 ac_cv_path_VALGRIND="$as_dir/$ac_word$ac_exec_ext"
16076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16077 break 2
16079 done
16080 done
16081 IFS=$as_save_IFS
16083 test -z "$ac_cv_path_VALGRIND" && ac_cv_path_VALGRIND="no"
16085 esac
16087 VALGRIND=$ac_cv_path_VALGRIND
16088 if test -n "$VALGRIND"; then
16089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALGRIND" >&5
16090 $as_echo "$VALGRIND" >&6; }
16091 else
16092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16093 $as_echo "no" >&6; }
16097 if test x"$VALGRIND" != "xno"; then
16098 HAVE_VALGRIND_TRUE=
16099 HAVE_VALGRIND_FALSE='#'
16100 else
16101 HAVE_VALGRIND_TRUE='#'
16102 HAVE_VALGRIND_FALSE=
16107 # Extract the first word of "pod2man", so it can be a program name with args.
16108 set dummy pod2man; ac_word=$2
16109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16110 $as_echo_n "checking for $ac_word... " >&6; }
16111 if ${ac_cv_path_POD2MAN+:} false; then :
16112 $as_echo_n "(cached) " >&6
16113 else
16114 case $POD2MAN in
16115 [\\/]* | ?:[\\/]*)
16116 ac_cv_path_POD2MAN="$POD2MAN" # Let the user override the test with a path.
16119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16120 for as_dir in $PATH
16122 IFS=$as_save_IFS
16123 test -z "$as_dir" && as_dir=.
16124 for ac_exec_ext in '' $ac_executable_extensions; do
16125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16126 ac_cv_path_POD2MAN="$as_dir/$ac_word$ac_exec_ext"
16127 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16128 break 2
16130 done
16131 done
16132 IFS=$as_save_IFS
16134 test -z "$ac_cv_path_POD2MAN" && ac_cv_path_POD2MAN="no"
16136 esac
16138 POD2MAN=$ac_cv_path_POD2MAN
16139 if test -n "$POD2MAN"; then
16140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $POD2MAN" >&5
16141 $as_echo "$POD2MAN" >&6; }
16142 else
16143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16144 $as_echo "no" >&6; }
16148 if test x"$POD2MAN" != "xno"; then
16149 HAVE_POD2MAN_TRUE=
16150 HAVE_POD2MAN_FALSE='#'
16151 else
16152 HAVE_POD2MAN_TRUE='#'
16153 HAVE_POD2MAN_FALSE=
16158 # Extract the first word of "pod2html", so it can be a program name with args.
16159 set dummy pod2html; ac_word=$2
16160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16161 $as_echo_n "checking for $ac_word... " >&6; }
16162 if ${ac_cv_path_POD2HTML+:} false; then :
16163 $as_echo_n "(cached) " >&6
16164 else
16165 case $POD2HTML in
16166 [\\/]* | ?:[\\/]*)
16167 ac_cv_path_POD2HTML="$POD2HTML" # Let the user override the test with a path.
16170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16171 for as_dir in $PATH
16173 IFS=$as_save_IFS
16174 test -z "$as_dir" && as_dir=.
16175 for ac_exec_ext in '' $ac_executable_extensions; do
16176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16177 ac_cv_path_POD2HTML="$as_dir/$ac_word$ac_exec_ext"
16178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16179 break 2
16181 done
16182 done
16183 IFS=$as_save_IFS
16185 test -z "$ac_cv_path_POD2HTML" && ac_cv_path_POD2HTML="no"
16187 esac
16189 POD2HTML=$ac_cv_path_POD2HTML
16190 if test -n "$POD2HTML"; then
16191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $POD2HTML" >&5
16192 $as_echo "$POD2HTML" >&6; }
16193 else
16194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16195 $as_echo "no" >&6; }
16199 if test x"$POD2HTML" != "xno"; then
16200 HAVE_POD2HTML_TRUE=
16201 HAVE_POD2HTML_FALSE='#'
16202 else
16203 HAVE_POD2HTML_TRUE='#'
16204 HAVE_POD2HTML_FALSE=
16209 # Extract the first word of "date", so it can be a program name with args.
16210 set dummy date; ac_word=$2
16211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16212 $as_echo_n "checking for $ac_word... " >&6; }
16213 if ${ac_cv_path_DATE+:} false; then :
16214 $as_echo_n "(cached) " >&6
16215 else
16216 case $DATE in
16217 [\\/]* | ?:[\\/]*)
16218 ac_cv_path_DATE="$DATE" # Let the user override the test with a path.
16221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16222 for as_dir in $PATH
16224 IFS=$as_save_IFS
16225 test -z "$as_dir" && as_dir=.
16226 for ac_exec_ext in '' $ac_executable_extensions; do
16227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16228 ac_cv_path_DATE="$as_dir/$ac_word$ac_exec_ext"
16229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16230 break 2
16232 done
16233 done
16234 IFS=$as_save_IFS
16236 test -z "$ac_cv_path_DATE" && ac_cv_path_DATE="no"
16238 esac
16240 DATE=$ac_cv_path_DATE
16241 if test -n "$DATE"; then
16242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DATE" >&5
16243 $as_echo "$DATE" >&6; }
16244 else
16245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16246 $as_echo "no" >&6; }
16250 if test x"$DATE" != "xno" ; then
16251 build_date=`"$DATE" +%Y-%m-%d 2>/dev/null`
16252 if test x"$build_date" != "x" ; then
16254 cat >>confdefs.h <<_ACEOF
16255 #define BUILD_DATE "$build_date"
16256 _ACEOF
16261 # Extract the first word of "git", so it can be a program name with args.
16262 set dummy git; ac_word=$2
16263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16264 $as_echo_n "checking for $ac_word... " >&6; }
16265 if ${ac_cv_path_GIT+:} false; then :
16266 $as_echo_n "(cached) " >&6
16267 else
16268 case $GIT in
16269 [\\/]* | ?:[\\/]*)
16270 ac_cv_path_GIT="$GIT" # Let the user override the test with a path.
16273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16274 for as_dir in $PATH
16276 IFS=$as_save_IFS
16277 test -z "$as_dir" && as_dir=.
16278 for ac_exec_ext in '' $ac_executable_extensions; do
16279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16280 ac_cv_path_GIT="$as_dir/$ac_word$ac_exec_ext"
16281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16282 break 2
16284 done
16285 done
16286 IFS=$as_save_IFS
16288 test -z "$ac_cv_path_GIT" && ac_cv_path_GIT="no"
16290 esac
16292 GIT=$ac_cv_path_GIT
16293 if test -n "$GIT"; then
16294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIT" >&5
16295 $as_echo "$GIT" >&6; }
16296 else
16297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16298 $as_echo "no" >&6; }
16302 if test x"$GIT" != "xno" ; then
16303 QUVI_BRANCH=master
16304 git_describe=`"$GIT" describe "$QUVI_BRANCH" 2>/dev/null`
16305 if test x"$git_describe" != "x" ; then
16307 cat >>confdefs.h <<_ACEOF
16308 #define GIT_DESCRIBE "$git_describe"
16309 _ACEOF
16314 # Checks for libraries.
16316 if test "X$prefix" = "XNONE"; then
16317 acl_final_prefix="$ac_default_prefix"
16318 else
16319 acl_final_prefix="$prefix"
16321 if test "X$exec_prefix" = "XNONE"; then
16322 acl_final_exec_prefix='${prefix}'
16323 else
16324 acl_final_exec_prefix="$exec_prefix"
16326 acl_save_prefix="$prefix"
16327 prefix="$acl_final_prefix"
16328 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
16329 prefix="$acl_save_prefix"
16332 # Check whether --with-gnu-ld was given.
16333 if test "${with_gnu_ld+set}" = set; then :
16334 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
16335 else
16336 with_gnu_ld=no
16339 # Prepare PATH_SEPARATOR.
16340 # The user is always right.
16341 if test "${PATH_SEPARATOR+set}" != set; then
16342 echo "#! /bin/sh" >conf$$.sh
16343 echo "exit 0" >>conf$$.sh
16344 chmod +x conf$$.sh
16345 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
16346 PATH_SEPARATOR=';'
16347 else
16348 PATH_SEPARATOR=:
16350 rm -f conf$$.sh
16352 ac_prog=ld
16353 if test "$GCC" = yes; then
16354 # Check if gcc -print-prog-name=ld gives a path.
16355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
16356 $as_echo_n "checking for ld used by GCC... " >&6; }
16357 case $host in
16358 *-*-mingw*)
16359 # gcc leaves a trailing carriage return which upsets mingw
16360 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
16362 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
16363 esac
16364 case $ac_prog in
16365 # Accept absolute paths.
16366 [\\/]* | [A-Za-z]:[\\/]*)
16367 re_direlt='/[^/][^/]*/\.\./'
16368 # Canonicalize the path of ld
16369 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
16370 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
16371 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
16372 done
16373 test -z "$LD" && LD="$ac_prog"
16376 # If it fails, then pretend we aren't using GCC.
16377 ac_prog=ld
16380 # If it is relative, then search for the first ld in PATH.
16381 with_gnu_ld=unknown
16383 esac
16384 elif test "$with_gnu_ld" = yes; then
16385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
16386 $as_echo_n "checking for GNU ld... " >&6; }
16387 else
16388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
16389 $as_echo_n "checking for non-GNU ld... " >&6; }
16391 if ${acl_cv_path_LD+:} false; then :
16392 $as_echo_n "(cached) " >&6
16393 else
16394 if test -z "$LD"; then
16395 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
16396 for ac_dir in $PATH; do
16397 test -z "$ac_dir" && ac_dir=.
16398 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
16399 acl_cv_path_LD="$ac_dir/$ac_prog"
16400 # Check to see if the program is GNU ld. I'd rather use --version,
16401 # but apparently some GNU ld's only accept -v.
16402 # Break only if it was the GNU/non-GNU ld that we prefer.
16403 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
16404 *GNU* | *'with BFD'*)
16405 test "$with_gnu_ld" != no && break ;;
16407 test "$with_gnu_ld" != yes && break ;;
16408 esac
16410 done
16411 IFS="$ac_save_ifs"
16412 else
16413 acl_cv_path_LD="$LD" # Let the user override the test with a path.
16417 LD="$acl_cv_path_LD"
16418 if test -n "$LD"; then
16419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
16420 $as_echo "$LD" >&6; }
16421 else
16422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16423 $as_echo "no" >&6; }
16425 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
16426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
16427 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
16428 if ${acl_cv_prog_gnu_ld+:} false; then :
16429 $as_echo_n "(cached) " >&6
16430 else
16431 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
16432 case `$LD -v 2>&1 </dev/null` in
16433 *GNU* | *'with BFD'*)
16434 acl_cv_prog_gnu_ld=yes ;;
16436 acl_cv_prog_gnu_ld=no ;;
16437 esac
16439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
16440 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
16441 with_gnu_ld=$acl_cv_prog_gnu_ld
16446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
16447 $as_echo_n "checking for shared library run path origin... " >&6; }
16448 if ${acl_cv_rpath+:} false; then :
16449 $as_echo_n "(cached) " >&6
16450 else
16452 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
16453 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
16454 . ./conftest.sh
16455 rm -f ./conftest.sh
16456 acl_cv_rpath=done
16459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
16460 $as_echo "$acl_cv_rpath" >&6; }
16461 wl="$acl_cv_wl"
16462 acl_libext="$acl_cv_libext"
16463 acl_shlibext="$acl_cv_shlibext"
16464 acl_libname_spec="$acl_cv_libname_spec"
16465 acl_library_names_spec="$acl_cv_library_names_spec"
16466 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
16467 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
16468 acl_hardcode_direct="$acl_cv_hardcode_direct"
16469 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
16470 # Check whether --enable-rpath was given.
16471 if test "${enable_rpath+set}" = set; then :
16472 enableval=$enable_rpath; :
16473 else
16474 enable_rpath=yes
16480 acl_libdirstem=lib
16481 acl_libdirstem2=
16482 case "$host_os" in
16483 solaris*)
16484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
16485 $as_echo_n "checking for 64-bit host... " >&6; }
16486 if ${gl_cv_solaris_64bit+:} false; then :
16487 $as_echo_n "(cached) " >&6
16488 else
16489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16490 /* end confdefs.h. */
16492 #ifdef _LP64
16493 sixtyfour bits
16494 #endif
16496 _ACEOF
16497 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16498 $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
16499 gl_cv_solaris_64bit=yes
16500 else
16501 gl_cv_solaris_64bit=no
16503 rm -f conftest*
16507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
16508 $as_echo "$gl_cv_solaris_64bit" >&6; }
16509 if test $gl_cv_solaris_64bit = yes; then
16510 acl_libdirstem=lib/64
16511 case "$host_cpu" in
16512 sparc*) acl_libdirstem2=lib/sparcv9 ;;
16513 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
16514 esac
16518 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
16519 if test -n "$searchpath"; then
16520 acl_save_IFS="${IFS= }"; IFS=":"
16521 for searchdir in $searchpath; do
16522 if test -d "$searchdir"; then
16523 case "$searchdir" in
16524 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
16525 */../ | */.. )
16526 # Better ignore directories of this form. They are misleading.
16528 *) searchdir=`cd "$searchdir" && pwd`
16529 case "$searchdir" in
16530 */lib64 ) acl_libdirstem=lib64 ;;
16531 esac ;;
16532 esac
16534 done
16535 IFS="$acl_save_IFS"
16538 esac
16539 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
16552 use_additional=yes
16554 acl_save_prefix="$prefix"
16555 prefix="$acl_final_prefix"
16556 acl_save_exec_prefix="$exec_prefix"
16557 exec_prefix="$acl_final_exec_prefix"
16559 eval additional_includedir=\"$includedir\"
16560 eval additional_libdir=\"$libdir\"
16562 exec_prefix="$acl_save_exec_prefix"
16563 prefix="$acl_save_prefix"
16566 # Check whether --with-libiconv-prefix was given.
16567 if test "${with_libiconv_prefix+set}" = set; then :
16568 withval=$with_libiconv_prefix;
16569 if test "X$withval" = "Xno"; then
16570 use_additional=no
16571 else
16572 if test "X$withval" = "X"; then
16574 acl_save_prefix="$prefix"
16575 prefix="$acl_final_prefix"
16576 acl_save_exec_prefix="$exec_prefix"
16577 exec_prefix="$acl_final_exec_prefix"
16579 eval additional_includedir=\"$includedir\"
16580 eval additional_libdir=\"$libdir\"
16582 exec_prefix="$acl_save_exec_prefix"
16583 prefix="$acl_save_prefix"
16585 else
16586 additional_includedir="$withval/include"
16587 additional_libdir="$withval/$acl_libdirstem"
16588 if test "$acl_libdirstem2" != "$acl_libdirstem" \
16589 && ! test -d "$withval/$acl_libdirstem"; then
16590 additional_libdir="$withval/$acl_libdirstem2"
16597 LIBICONV=
16598 LTLIBICONV=
16599 INCICONV=
16600 LIBICONV_PREFIX=
16601 HAVE_LIBICONV=
16602 rpathdirs=
16603 ltrpathdirs=
16604 names_already_handled=
16605 names_next_round='iconv '
16606 while test -n "$names_next_round"; do
16607 names_this_round="$names_next_round"
16608 names_next_round=
16609 for name in $names_this_round; do
16610 already_handled=
16611 for n in $names_already_handled; do
16612 if test "$n" = "$name"; then
16613 already_handled=yes
16614 break
16616 done
16617 if test -z "$already_handled"; then
16618 names_already_handled="$names_already_handled $name"
16619 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
16620 eval value=\"\$HAVE_LIB$uppername\"
16621 if test -n "$value"; then
16622 if test "$value" = yes; then
16623 eval value=\"\$LIB$uppername\"
16624 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
16625 eval value=\"\$LTLIB$uppername\"
16626 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
16627 else
16630 else
16631 found_dir=
16632 found_la=
16633 found_so=
16634 found_a=
16635 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
16636 if test -n "$acl_shlibext"; then
16637 shrext=".$acl_shlibext" # typically: shrext=.so
16638 else
16639 shrext=
16641 if test $use_additional = yes; then
16642 dir="$additional_libdir"
16643 if test -n "$acl_shlibext"; then
16644 if test -f "$dir/$libname$shrext"; then
16645 found_dir="$dir"
16646 found_so="$dir/$libname$shrext"
16647 else
16648 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
16649 ver=`(cd "$dir" && \
16650 for f in "$libname$shrext".*; do echo "$f"; done \
16651 | sed -e "s,^$libname$shrext\\\\.,," \
16652 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
16653 | sed 1q ) 2>/dev/null`
16654 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
16655 found_dir="$dir"
16656 found_so="$dir/$libname$shrext.$ver"
16658 else
16659 eval library_names=\"$acl_library_names_spec\"
16660 for f in $library_names; do
16661 if test -f "$dir/$f"; then
16662 found_dir="$dir"
16663 found_so="$dir/$f"
16664 break
16666 done
16670 if test "X$found_dir" = "X"; then
16671 if test -f "$dir/$libname.$acl_libext"; then
16672 found_dir="$dir"
16673 found_a="$dir/$libname.$acl_libext"
16676 if test "X$found_dir" != "X"; then
16677 if test -f "$dir/$libname.la"; then
16678 found_la="$dir/$libname.la"
16682 if test "X$found_dir" = "X"; then
16683 for x in $LDFLAGS $LTLIBICONV; do
16685 acl_save_prefix="$prefix"
16686 prefix="$acl_final_prefix"
16687 acl_save_exec_prefix="$exec_prefix"
16688 exec_prefix="$acl_final_exec_prefix"
16689 eval x=\"$x\"
16690 exec_prefix="$acl_save_exec_prefix"
16691 prefix="$acl_save_prefix"
16693 case "$x" in
16694 -L*)
16695 dir=`echo "X$x" | sed -e 's/^X-L//'`
16696 if test -n "$acl_shlibext"; then
16697 if test -f "$dir/$libname$shrext"; then
16698 found_dir="$dir"
16699 found_so="$dir/$libname$shrext"
16700 else
16701 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
16702 ver=`(cd "$dir" && \
16703 for f in "$libname$shrext".*; do echo "$f"; done \
16704 | sed -e "s,^$libname$shrext\\\\.,," \
16705 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
16706 | sed 1q ) 2>/dev/null`
16707 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
16708 found_dir="$dir"
16709 found_so="$dir/$libname$shrext.$ver"
16711 else
16712 eval library_names=\"$acl_library_names_spec\"
16713 for f in $library_names; do
16714 if test -f "$dir/$f"; then
16715 found_dir="$dir"
16716 found_so="$dir/$f"
16717 break
16719 done
16723 if test "X$found_dir" = "X"; then
16724 if test -f "$dir/$libname.$acl_libext"; then
16725 found_dir="$dir"
16726 found_a="$dir/$libname.$acl_libext"
16729 if test "X$found_dir" != "X"; then
16730 if test -f "$dir/$libname.la"; then
16731 found_la="$dir/$libname.la"
16735 esac
16736 if test "X$found_dir" != "X"; then
16737 break
16739 done
16741 if test "X$found_dir" != "X"; then
16742 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
16743 if test "X$found_so" != "X"; then
16744 if test "$enable_rpath" = no \
16745 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
16746 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
16747 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
16748 else
16749 haveit=
16750 for x in $ltrpathdirs; do
16751 if test "X$x" = "X$found_dir"; then
16752 haveit=yes
16753 break
16755 done
16756 if test -z "$haveit"; then
16757 ltrpathdirs="$ltrpathdirs $found_dir"
16759 if test "$acl_hardcode_direct" = yes; then
16760 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
16761 else
16762 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
16763 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
16764 haveit=
16765 for x in $rpathdirs; do
16766 if test "X$x" = "X$found_dir"; then
16767 haveit=yes
16768 break
16770 done
16771 if test -z "$haveit"; then
16772 rpathdirs="$rpathdirs $found_dir"
16774 else
16775 haveit=
16776 for x in $LDFLAGS $LIBICONV; do
16778 acl_save_prefix="$prefix"
16779 prefix="$acl_final_prefix"
16780 acl_save_exec_prefix="$exec_prefix"
16781 exec_prefix="$acl_final_exec_prefix"
16782 eval x=\"$x\"
16783 exec_prefix="$acl_save_exec_prefix"
16784 prefix="$acl_save_prefix"
16786 if test "X$x" = "X-L$found_dir"; then
16787 haveit=yes
16788 break
16790 done
16791 if test -z "$haveit"; then
16792 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
16794 if test "$acl_hardcode_minus_L" != no; then
16795 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
16796 else
16797 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
16802 else
16803 if test "X$found_a" != "X"; then
16804 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
16805 else
16806 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
16809 additional_includedir=
16810 case "$found_dir" in
16811 */$acl_libdirstem | */$acl_libdirstem/)
16812 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
16813 if test "$name" = 'iconv'; then
16814 LIBICONV_PREFIX="$basedir"
16816 additional_includedir="$basedir/include"
16818 */$acl_libdirstem2 | */$acl_libdirstem2/)
16819 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
16820 if test "$name" = 'iconv'; then
16821 LIBICONV_PREFIX="$basedir"
16823 additional_includedir="$basedir/include"
16825 esac
16826 if test "X$additional_includedir" != "X"; then
16827 if test "X$additional_includedir" != "X/usr/include"; then
16828 haveit=
16829 if test "X$additional_includedir" = "X/usr/local/include"; then
16830 if test -n "$GCC"; then
16831 case $host_os in
16832 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
16833 esac
16836 if test -z "$haveit"; then
16837 for x in $CPPFLAGS $INCICONV; do
16839 acl_save_prefix="$prefix"
16840 prefix="$acl_final_prefix"
16841 acl_save_exec_prefix="$exec_prefix"
16842 exec_prefix="$acl_final_exec_prefix"
16843 eval x=\"$x\"
16844 exec_prefix="$acl_save_exec_prefix"
16845 prefix="$acl_save_prefix"
16847 if test "X$x" = "X-I$additional_includedir"; then
16848 haveit=yes
16849 break
16851 done
16852 if test -z "$haveit"; then
16853 if test -d "$additional_includedir"; then
16854 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
16860 if test -n "$found_la"; then
16861 save_libdir="$libdir"
16862 case "$found_la" in
16863 */* | *\\*) . "$found_la" ;;
16864 *) . "./$found_la" ;;
16865 esac
16866 libdir="$save_libdir"
16867 for dep in $dependency_libs; do
16868 case "$dep" in
16869 -L*)
16870 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
16871 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
16872 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
16873 haveit=
16874 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
16875 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
16876 if test -n "$GCC"; then
16877 case $host_os in
16878 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
16879 esac
16882 if test -z "$haveit"; then
16883 haveit=
16884 for x in $LDFLAGS $LIBICONV; do
16886 acl_save_prefix="$prefix"
16887 prefix="$acl_final_prefix"
16888 acl_save_exec_prefix="$exec_prefix"
16889 exec_prefix="$acl_final_exec_prefix"
16890 eval x=\"$x\"
16891 exec_prefix="$acl_save_exec_prefix"
16892 prefix="$acl_save_prefix"
16894 if test "X$x" = "X-L$additional_libdir"; then
16895 haveit=yes
16896 break
16898 done
16899 if test -z "$haveit"; then
16900 if test -d "$additional_libdir"; then
16901 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
16904 haveit=
16905 for x in $LDFLAGS $LTLIBICONV; do
16907 acl_save_prefix="$prefix"
16908 prefix="$acl_final_prefix"
16909 acl_save_exec_prefix="$exec_prefix"
16910 exec_prefix="$acl_final_exec_prefix"
16911 eval x=\"$x\"
16912 exec_prefix="$acl_save_exec_prefix"
16913 prefix="$acl_save_prefix"
16915 if test "X$x" = "X-L$additional_libdir"; then
16916 haveit=yes
16917 break
16919 done
16920 if test -z "$haveit"; then
16921 if test -d "$additional_libdir"; then
16922 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
16928 -R*)
16929 dir=`echo "X$dep" | sed -e 's/^X-R//'`
16930 if test "$enable_rpath" != no; then
16931 haveit=
16932 for x in $rpathdirs; do
16933 if test "X$x" = "X$dir"; then
16934 haveit=yes
16935 break
16937 done
16938 if test -z "$haveit"; then
16939 rpathdirs="$rpathdirs $dir"
16941 haveit=
16942 for x in $ltrpathdirs; do
16943 if test "X$x" = "X$dir"; then
16944 haveit=yes
16945 break
16947 done
16948 if test -z "$haveit"; then
16949 ltrpathdirs="$ltrpathdirs $dir"
16953 -l*)
16954 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
16956 *.la)
16957 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
16960 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
16961 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
16963 esac
16964 done
16966 else
16967 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
16968 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
16972 done
16973 done
16974 if test "X$rpathdirs" != "X"; then
16975 if test -n "$acl_hardcode_libdir_separator"; then
16976 alldirs=
16977 for found_dir in $rpathdirs; do
16978 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
16979 done
16980 acl_save_libdir="$libdir"
16981 libdir="$alldirs"
16982 eval flag=\"$acl_hardcode_libdir_flag_spec\"
16983 libdir="$acl_save_libdir"
16984 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
16985 else
16986 for found_dir in $rpathdirs; do
16987 acl_save_libdir="$libdir"
16988 libdir="$found_dir"
16989 eval flag=\"$acl_hardcode_libdir_flag_spec\"
16990 libdir="$acl_save_libdir"
16991 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
16992 done
16995 if test "X$ltrpathdirs" != "X"; then
16996 for found_dir in $ltrpathdirs; do
16997 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
16998 done
17012 am_save_CPPFLAGS="$CPPFLAGS"
17014 for element in $INCICONV; do
17015 haveit=
17016 for x in $CPPFLAGS; do
17018 acl_save_prefix="$prefix"
17019 prefix="$acl_final_prefix"
17020 acl_save_exec_prefix="$exec_prefix"
17021 exec_prefix="$acl_final_exec_prefix"
17022 eval x=\"$x\"
17023 exec_prefix="$acl_save_exec_prefix"
17024 prefix="$acl_save_prefix"
17026 if test "X$x" = "X$element"; then
17027 haveit=yes
17028 break
17030 done
17031 if test -z "$haveit"; then
17032 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
17034 done
17037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
17038 $as_echo_n "checking for iconv... " >&6; }
17039 if ${am_cv_func_iconv+:} false; then :
17040 $as_echo_n "(cached) " >&6
17041 else
17043 am_cv_func_iconv="no, consider installing GNU libiconv"
17044 am_cv_lib_iconv=no
17045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17046 /* end confdefs.h. */
17047 #include <stdlib.h>
17048 #include <iconv.h>
17050 main ()
17052 iconv_t cd = iconv_open("","");
17053 iconv(cd,NULL,NULL,NULL,NULL);
17054 iconv_close(cd);
17056 return 0;
17058 _ACEOF
17059 if ac_fn_c_try_link "$LINENO"; then :
17060 am_cv_func_iconv=yes
17062 rm -f core conftest.err conftest.$ac_objext \
17063 conftest$ac_exeext conftest.$ac_ext
17064 if test "$am_cv_func_iconv" != yes; then
17065 am_save_LIBS="$LIBS"
17066 LIBS="$LIBS $LIBICONV"
17067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17068 /* end confdefs.h. */
17069 #include <stdlib.h>
17070 #include <iconv.h>
17072 main ()
17074 iconv_t cd = iconv_open("","");
17075 iconv(cd,NULL,NULL,NULL,NULL);
17076 iconv_close(cd);
17078 return 0;
17080 _ACEOF
17081 if ac_fn_c_try_link "$LINENO"; then :
17082 am_cv_lib_iconv=yes
17083 am_cv_func_iconv=yes
17085 rm -f core conftest.err conftest.$ac_objext \
17086 conftest$ac_exeext conftest.$ac_ext
17087 LIBS="$am_save_LIBS"
17091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
17092 $as_echo "$am_cv_func_iconv" >&6; }
17093 if test "$am_cv_func_iconv" = yes; then
17094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
17095 $as_echo_n "checking for working iconv... " >&6; }
17096 if ${am_cv_func_iconv_works+:} false; then :
17097 $as_echo_n "(cached) " >&6
17098 else
17100 am_save_LIBS="$LIBS"
17101 if test $am_cv_lib_iconv = yes; then
17102 LIBS="$LIBS $LIBICONV"
17104 if test "$cross_compiling" = yes; then :
17105 case "$host_os" in
17106 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
17107 *) am_cv_func_iconv_works="guessing yes" ;;
17108 esac
17109 else
17110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17111 /* end confdefs.h. */
17113 #include <iconv.h>
17114 #include <string.h>
17115 int main ()
17117 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
17118 returns. */
17120 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
17121 if (cd_utf8_to_88591 != (iconv_t)(-1))
17123 static const char input[] = "\342\202\254"; /* EURO SIGN */
17124 char buf[10];
17125 const char *inptr = input;
17126 size_t inbytesleft = strlen (input);
17127 char *outptr = buf;
17128 size_t outbytesleft = sizeof (buf);
17129 size_t res = iconv (cd_utf8_to_88591,
17130 (char **) &inptr, &inbytesleft,
17131 &outptr, &outbytesleft);
17132 if (res == 0)
17133 return 1;
17136 /* Test against Solaris 10 bug: Failures are not distinguishable from
17137 successful returns. */
17139 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
17140 if (cd_ascii_to_88591 != (iconv_t)(-1))
17142 static const char input[] = "\263";
17143 char buf[10];
17144 const char *inptr = input;
17145 size_t inbytesleft = strlen (input);
17146 char *outptr = buf;
17147 size_t outbytesleft = sizeof (buf);
17148 size_t res = iconv (cd_ascii_to_88591,
17149 (char **) &inptr, &inbytesleft,
17150 &outptr, &outbytesleft);
17151 if (res == 0)
17152 return 1;
17155 #if 0 /* This bug could be worked around by the caller. */
17156 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
17158 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
17159 if (cd_88591_to_utf8 != (iconv_t)(-1))
17161 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
17162 char buf[50];
17163 const char *inptr = input;
17164 size_t inbytesleft = strlen (input);
17165 char *outptr = buf;
17166 size_t outbytesleft = sizeof (buf);
17167 size_t res = iconv (cd_88591_to_utf8,
17168 (char **) &inptr, &inbytesleft,
17169 &outptr, &outbytesleft);
17170 if ((int)res > 0)
17171 return 1;
17174 #endif
17175 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
17176 provided. */
17177 if (/* Try standardized names. */
17178 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
17179 /* Try IRIX, OSF/1 names. */
17180 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
17181 /* Try AIX names. */
17182 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
17183 /* Try HP-UX names. */
17184 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
17185 return 1;
17186 return 0;
17188 _ACEOF
17189 if ac_fn_c_try_run "$LINENO"; then :
17190 am_cv_func_iconv_works=yes
17191 else
17192 am_cv_func_iconv_works=no
17194 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17195 conftest.$ac_objext conftest.beam conftest.$ac_ext
17198 LIBS="$am_save_LIBS"
17201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
17202 $as_echo "$am_cv_func_iconv_works" >&6; }
17203 case "$am_cv_func_iconv_works" in
17204 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
17205 *) am_func_iconv=yes ;;
17206 esac
17207 else
17208 am_func_iconv=no am_cv_lib_iconv=no
17210 if test "$am_func_iconv" = yes; then
17212 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
17215 if test "$am_cv_lib_iconv" = yes; then
17216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
17217 $as_echo_n "checking how to link with libiconv... " >&6; }
17218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
17219 $as_echo "$LIBICONV" >&6; }
17220 else
17221 CPPFLAGS="$am_save_CPPFLAGS"
17222 LIBICONV=
17223 LTLIBICONV=
17228 if test "$am_cv_func_iconv" = yes; then
17229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
17230 $as_echo_n "checking for iconv declaration... " >&6; }
17231 if ${am_cv_proto_iconv+:} false; then :
17232 $as_echo_n "(cached) " >&6
17233 else
17235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17236 /* end confdefs.h. */
17238 #include <stdlib.h>
17239 #include <iconv.h>
17240 extern
17241 #ifdef __cplusplus
17243 #endif
17244 #if defined(__STDC__) || defined(__cplusplus)
17245 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
17246 #else
17247 size_t iconv();
17248 #endif
17251 main ()
17255 return 0;
17257 _ACEOF
17258 if ac_fn_c_try_compile "$LINENO"; then :
17259 am_cv_proto_iconv_arg1=""
17260 else
17261 am_cv_proto_iconv_arg1="const"
17263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17264 am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
17267 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
17268 { $as_echo "$as_me:${as_lineno-$LINENO}: result:
17269 $am_cv_proto_iconv" >&5
17270 $as_echo "
17271 $am_cv_proto_iconv" >&6; }
17273 cat >>confdefs.h <<_ACEOF
17274 #define ICONV_CONST $am_cv_proto_iconv_arg1
17275 _ACEOF
17285 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
17286 if test -n "$ac_tool_prefix"; then
17287 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
17288 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
17289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17290 $as_echo_n "checking for $ac_word... " >&6; }
17291 if ${ac_cv_path_PKG_CONFIG+:} false; then :
17292 $as_echo_n "(cached) " >&6
17293 else
17294 case $PKG_CONFIG in
17295 [\\/]* | ?:[\\/]*)
17296 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
17299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17300 for as_dir in $PATH
17302 IFS=$as_save_IFS
17303 test -z "$as_dir" && as_dir=.
17304 for ac_exec_ext in '' $ac_executable_extensions; do
17305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17306 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17307 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17308 break 2
17310 done
17311 done
17312 IFS=$as_save_IFS
17315 esac
17317 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
17318 if test -n "$PKG_CONFIG"; then
17319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17320 $as_echo "$PKG_CONFIG" >&6; }
17321 else
17322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17323 $as_echo "no" >&6; }
17328 if test -z "$ac_cv_path_PKG_CONFIG"; then
17329 ac_pt_PKG_CONFIG=$PKG_CONFIG
17330 # Extract the first word of "pkg-config", so it can be a program name with args.
17331 set dummy pkg-config; ac_word=$2
17332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17333 $as_echo_n "checking for $ac_word... " >&6; }
17334 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
17335 $as_echo_n "(cached) " >&6
17336 else
17337 case $ac_pt_PKG_CONFIG in
17338 [\\/]* | ?:[\\/]*)
17339 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
17342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17343 for as_dir in $PATH
17345 IFS=$as_save_IFS
17346 test -z "$as_dir" && as_dir=.
17347 for ac_exec_ext in '' $ac_executable_extensions; do
17348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17349 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17351 break 2
17353 done
17354 done
17355 IFS=$as_save_IFS
17358 esac
17360 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
17361 if test -n "$ac_pt_PKG_CONFIG"; then
17362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
17363 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
17364 else
17365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17366 $as_echo "no" >&6; }
17369 if test "x$ac_pt_PKG_CONFIG" = x; then
17370 PKG_CONFIG=""
17371 else
17372 case $cross_compiling:$ac_tool_warned in
17373 yes:)
17374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17375 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17376 ac_tool_warned=yes ;;
17377 esac
17378 PKG_CONFIG=$ac_pt_PKG_CONFIG
17380 else
17381 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
17385 if test -n "$PKG_CONFIG"; then
17386 _pkg_min_version=0.9.0
17387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
17388 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
17389 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
17390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17391 $as_echo "yes" >&6; }
17392 else
17393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17394 $as_echo "no" >&6; }
17395 PKG_CONFIG=""
17399 pkg_failed=no
17400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcurl" >&5
17401 $as_echo_n "checking for libcurl... " >&6; }
17403 if test -n "$libcurl_CFLAGS"; then
17404 pkg_cv_libcurl_CFLAGS="$libcurl_CFLAGS"
17405 elif test -n "$PKG_CONFIG"; then
17406 if test -n "$PKG_CONFIG" && \
17407 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= 7.18.0\""; } >&5
17408 ($PKG_CONFIG --exists --print-errors "libcurl >= 7.18.0") 2>&5
17409 ac_status=$?
17410 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17411 test $ac_status = 0; }; then
17412 pkg_cv_libcurl_CFLAGS=`$PKG_CONFIG --cflags "libcurl >= 7.18.0" 2>/dev/null`
17413 else
17414 pkg_failed=yes
17416 else
17417 pkg_failed=untried
17419 if test -n "$libcurl_LIBS"; then
17420 pkg_cv_libcurl_LIBS="$libcurl_LIBS"
17421 elif test -n "$PKG_CONFIG"; then
17422 if test -n "$PKG_CONFIG" && \
17423 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= 7.18.0\""; } >&5
17424 ($PKG_CONFIG --exists --print-errors "libcurl >= 7.18.0") 2>&5
17425 ac_status=$?
17426 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17427 test $ac_status = 0; }; then
17428 pkg_cv_libcurl_LIBS=`$PKG_CONFIG --libs "libcurl >= 7.18.0" 2>/dev/null`
17429 else
17430 pkg_failed=yes
17432 else
17433 pkg_failed=untried
17438 if test $pkg_failed = yes; then
17439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17440 $as_echo "no" >&6; }
17442 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17443 _pkg_short_errors_supported=yes
17444 else
17445 _pkg_short_errors_supported=no
17447 if test $_pkg_short_errors_supported = yes; then
17448 libcurl_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libcurl >= 7.18.0" 2>&1`
17449 else
17450 libcurl_PKG_ERRORS=`$PKG_CONFIG --print-errors "libcurl >= 7.18.0" 2>&1`
17452 # Put the nasty error message in config.log where it belongs
17453 echo "$libcurl_PKG_ERRORS" >&5
17455 as_fn_error $? "Package requirements (libcurl >= 7.18.0) were not met:
17457 $libcurl_PKG_ERRORS
17459 Consider adjusting the PKG_CONFIG_PATH environment variable if you
17460 installed software in a non-standard prefix.
17462 Alternatively, you may set the environment variables libcurl_CFLAGS
17463 and libcurl_LIBS to avoid the need to call pkg-config.
17464 See the pkg-config man page for more details." "$LINENO" 5
17465 elif test $pkg_failed = untried; then
17466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17467 $as_echo "no" >&6; }
17468 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17469 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17470 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
17471 is in your PATH or set the PKG_CONFIG environment variable to the full
17472 path to pkg-config.
17474 Alternatively, you may set the environment variables libcurl_CFLAGS
17475 and libcurl_LIBS to avoid the need to call pkg-config.
17476 See the pkg-config man page for more details.
17478 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17479 See \`config.log' for more details" "$LINENO" 5; }
17480 else
17481 libcurl_CFLAGS=$pkg_cv_libcurl_CFLAGS
17482 libcurl_LIBS=$pkg_cv_libcurl_LIBS
17483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17484 $as_echo "yes" >&6; }
17488 pkg_failed=no
17489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
17490 $as_echo_n "checking for liblua... " >&6; }
17492 if test -n "$liblua_CFLAGS"; then
17493 pkg_cv_liblua_CFLAGS="$liblua_CFLAGS"
17494 elif test -n "$PKG_CONFIG"; then
17495 if test -n "$PKG_CONFIG" && \
17496 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5
17497 ($PKG_CONFIG --exists --print-errors "lua >= 5.1") 2>&5
17498 ac_status=$?
17499 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17500 test $ac_status = 0; }; then
17501 pkg_cv_liblua_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.1" 2>/dev/null`
17502 else
17503 pkg_failed=yes
17505 else
17506 pkg_failed=untried
17508 if test -n "$liblua_LIBS"; then
17509 pkg_cv_liblua_LIBS="$liblua_LIBS"
17510 elif test -n "$PKG_CONFIG"; then
17511 if test -n "$PKG_CONFIG" && \
17512 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5
17513 ($PKG_CONFIG --exists --print-errors "lua >= 5.1") 2>&5
17514 ac_status=$?
17515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17516 test $ac_status = 0; }; then
17517 pkg_cv_liblua_LIBS=`$PKG_CONFIG --libs "lua >= 5.1" 2>/dev/null`
17518 else
17519 pkg_failed=yes
17521 else
17522 pkg_failed=untried
17527 if test $pkg_failed = yes; then
17528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17529 $as_echo "no" >&6; }
17531 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17532 _pkg_short_errors_supported=yes
17533 else
17534 _pkg_short_errors_supported=no
17536 if test $_pkg_short_errors_supported = yes; then
17537 liblua_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua >= 5.1" 2>&1`
17538 else
17539 liblua_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua >= 5.1" 2>&1`
17541 # Put the nasty error message in config.log where it belongs
17542 echo "$liblua_PKG_ERRORS" >&5
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 \"lua51 >= 5.1\""; } >&5
17555 ($PKG_CONFIG --exists --print-errors "lua51 >= 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 "lua51 >= 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 \"lua51 >= 5.1\""; } >&5
17571 ($PKG_CONFIG --exists --print-errors "lua51 >= 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 "lua51 >= 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 "lua51 >= 5.1" 2>&1`
17596 else
17597 liblua_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua51 >= 5.1" 2>&1`
17599 # Put the nasty error message in config.log where it belongs
17600 echo "$liblua_PKG_ERRORS" >&5
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 \"lua5.1 >= 5.1\""; } >&5
17613 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 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 "lua5.1 >= 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 \"lua5.1 >= 5.1\""; } >&5
17629 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 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 "lua5.1 >= 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 "lua5.1 >= 5.1" 2>&1`
17654 else
17655 liblua_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua5.1 >= 5.1" 2>&1`
17657 # Put the nasty error message in config.log where it belongs
17658 echo "$liblua_PKG_ERRORS" >&5
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 \"lua-5.1 >= 5.1\""; } >&5
17671 ($PKG_CONFIG --exists --print-errors "lua-5.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 "lua-5.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 \"lua-5.1 >= 5.1\""; } >&5
17687 ($PKG_CONFIG --exists --print-errors "lua-5.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 "lua-5.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 "lua-5.1 >= 5.1" 2>&1`
17712 else
17713 liblua_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
17715 # Put the nasty error message in config.log where it belongs
17716 echo "$liblua_PKG_ERRORS" >&5
17718 as_fn_error $? "Package requirements (lua-5.1 >= 5.1) were not met:
17720 $liblua_PKG_ERRORS
17722 Consider adjusting the PKG_CONFIG_PATH environment variable if you
17723 installed software in a non-standard prefix.
17725 Alternatively, you may set the environment variables liblua_CFLAGS
17726 and liblua_LIBS to avoid the need to call pkg-config.
17727 See the pkg-config man page for more details." "$LINENO" 5
17728 elif test $pkg_failed = untried; then
17729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17730 $as_echo "no" >&6; }
17731 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17732 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17733 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
17734 is in your PATH or set the PKG_CONFIG environment variable to the full
17735 path to pkg-config.
17737 Alternatively, you may set the environment variables liblua_CFLAGS
17738 and liblua_LIBS to avoid the need to call pkg-config.
17739 See the pkg-config man page for more details.
17741 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17742 See \`config.log' for more details" "$LINENO" 5; }
17743 else
17744 liblua_CFLAGS=$pkg_cv_liblua_CFLAGS
17745 liblua_LIBS=$pkg_cv_liblua_LIBS
17746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17747 $as_echo "yes" >&6; }
17751 elif test $pkg_failed = untried; then
17752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17753 $as_echo "no" >&6; }
17756 pkg_failed=no
17757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
17758 $as_echo_n "checking for liblua... " >&6; }
17760 if test -n "$liblua_CFLAGS"; then
17761 pkg_cv_liblua_CFLAGS="$liblua_CFLAGS"
17762 elif test -n "$PKG_CONFIG"; then
17763 if test -n "$PKG_CONFIG" && \
17764 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
17765 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
17766 ac_status=$?
17767 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17768 test $ac_status = 0; }; then
17769 pkg_cv_liblua_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
17770 else
17771 pkg_failed=yes
17773 else
17774 pkg_failed=untried
17776 if test -n "$liblua_LIBS"; then
17777 pkg_cv_liblua_LIBS="$liblua_LIBS"
17778 elif test -n "$PKG_CONFIG"; then
17779 if test -n "$PKG_CONFIG" && \
17780 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
17781 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
17782 ac_status=$?
17783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17784 test $ac_status = 0; }; then
17785 pkg_cv_liblua_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
17786 else
17787 pkg_failed=yes
17789 else
17790 pkg_failed=untried
17795 if test $pkg_failed = yes; then
17796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17797 $as_echo "no" >&6; }
17799 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17800 _pkg_short_errors_supported=yes
17801 else
17802 _pkg_short_errors_supported=no
17804 if test $_pkg_short_errors_supported = yes; then
17805 liblua_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
17806 else
17807 liblua_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
17809 # Put the nasty error message in config.log where it belongs
17810 echo "$liblua_PKG_ERRORS" >&5
17812 as_fn_error $? "Package requirements (lua-5.1 >= 5.1) were not met:
17814 $liblua_PKG_ERRORS
17816 Consider adjusting the PKG_CONFIG_PATH environment variable if you
17817 installed software in a non-standard prefix.
17819 Alternatively, you may set the environment variables liblua_CFLAGS
17820 and liblua_LIBS to avoid the need to call pkg-config.
17821 See the pkg-config man page for more details." "$LINENO" 5
17822 elif test $pkg_failed = untried; then
17823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17824 $as_echo "no" >&6; }
17825 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17826 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17827 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
17828 is in your PATH or set the PKG_CONFIG environment variable to the full
17829 path to pkg-config.
17831 Alternatively, you may set the environment variables liblua_CFLAGS
17832 and liblua_LIBS to avoid the need to call pkg-config.
17833 See the pkg-config man page for more details.
17835 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17836 See \`config.log' for more details" "$LINENO" 5; }
17837 else
17838 liblua_CFLAGS=$pkg_cv_liblua_CFLAGS
17839 liblua_LIBS=$pkg_cv_liblua_LIBS
17840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17841 $as_echo "yes" >&6; }
17845 else
17846 liblua_CFLAGS=$pkg_cv_liblua_CFLAGS
17847 liblua_LIBS=$pkg_cv_liblua_LIBS
17848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17849 $as_echo "yes" >&6; }
17853 elif test $pkg_failed = untried; then
17854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17855 $as_echo "no" >&6; }
17858 pkg_failed=no
17859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
17860 $as_echo_n "checking for liblua... " >&6; }
17862 if test -n "$liblua_CFLAGS"; then
17863 pkg_cv_liblua_CFLAGS="$liblua_CFLAGS"
17864 elif test -n "$PKG_CONFIG"; then
17865 if test -n "$PKG_CONFIG" && \
17866 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
17867 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
17868 ac_status=$?
17869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17870 test $ac_status = 0; }; then
17871 pkg_cv_liblua_CFLAGS=`$PKG_CONFIG --cflags "lua5.1 >= 5.1" 2>/dev/null`
17872 else
17873 pkg_failed=yes
17875 else
17876 pkg_failed=untried
17878 if test -n "$liblua_LIBS"; then
17879 pkg_cv_liblua_LIBS="$liblua_LIBS"
17880 elif test -n "$PKG_CONFIG"; then
17881 if test -n "$PKG_CONFIG" && \
17882 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
17883 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
17884 ac_status=$?
17885 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17886 test $ac_status = 0; }; then
17887 pkg_cv_liblua_LIBS=`$PKG_CONFIG --libs "lua5.1 >= 5.1" 2>/dev/null`
17888 else
17889 pkg_failed=yes
17891 else
17892 pkg_failed=untried
17897 if test $pkg_failed = yes; then
17898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17899 $as_echo "no" >&6; }
17901 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17902 _pkg_short_errors_supported=yes
17903 else
17904 _pkg_short_errors_supported=no
17906 if test $_pkg_short_errors_supported = yes; then
17907 liblua_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua5.1 >= 5.1" 2>&1`
17908 else
17909 liblua_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua5.1 >= 5.1" 2>&1`
17911 # Put the nasty error message in config.log where it belongs
17912 echo "$liblua_PKG_ERRORS" >&5
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 \"lua-5.1 >= 5.1\""; } >&5
17925 ($PKG_CONFIG --exists --print-errors "lua-5.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 "lua-5.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 \"lua-5.1 >= 5.1\""; } >&5
17941 ($PKG_CONFIG --exists --print-errors "lua-5.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 "lua-5.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 "lua-5.1 >= 5.1" 2>&1`
17966 else
17967 liblua_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
17969 # Put the nasty error message in config.log where it belongs
17970 echo "$liblua_PKG_ERRORS" >&5
17972 as_fn_error $? "Package requirements (lua-5.1 >= 5.1) were not met:
17974 $liblua_PKG_ERRORS
17976 Consider adjusting the PKG_CONFIG_PATH environment variable if you
17977 installed software in a non-standard prefix.
17979 Alternatively, you may set the environment variables liblua_CFLAGS
17980 and liblua_LIBS to avoid the need to call pkg-config.
17981 See the pkg-config man page for more details." "$LINENO" 5
17982 elif test $pkg_failed = untried; then
17983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17984 $as_echo "no" >&6; }
17985 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17986 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17987 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
17988 is in your PATH or set the PKG_CONFIG environment variable to the full
17989 path to pkg-config.
17991 Alternatively, you may set the environment variables liblua_CFLAGS
17992 and liblua_LIBS to avoid the need to call pkg-config.
17993 See the pkg-config man page for more details.
17995 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17996 See \`config.log' for more details" "$LINENO" 5; }
17997 else
17998 liblua_CFLAGS=$pkg_cv_liblua_CFLAGS
17999 liblua_LIBS=$pkg_cv_liblua_LIBS
18000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18001 $as_echo "yes" >&6; }
18005 elif test $pkg_failed = untried; then
18006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18007 $as_echo "no" >&6; }
18010 pkg_failed=no
18011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18012 $as_echo_n "checking for liblua... " >&6; }
18014 if test -n "$liblua_CFLAGS"; then
18015 pkg_cv_liblua_CFLAGS="$liblua_CFLAGS"
18016 elif test -n "$PKG_CONFIG"; then
18017 if test -n "$PKG_CONFIG" && \
18018 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18019 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18020 ac_status=$?
18021 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18022 test $ac_status = 0; }; then
18023 pkg_cv_liblua_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
18024 else
18025 pkg_failed=yes
18027 else
18028 pkg_failed=untried
18030 if test -n "$liblua_LIBS"; then
18031 pkg_cv_liblua_LIBS="$liblua_LIBS"
18032 elif test -n "$PKG_CONFIG"; then
18033 if test -n "$PKG_CONFIG" && \
18034 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18035 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18036 ac_status=$?
18037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18038 test $ac_status = 0; }; then
18039 pkg_cv_liblua_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
18040 else
18041 pkg_failed=yes
18043 else
18044 pkg_failed=untried
18049 if test $pkg_failed = yes; then
18050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18051 $as_echo "no" >&6; }
18053 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18054 _pkg_short_errors_supported=yes
18055 else
18056 _pkg_short_errors_supported=no
18058 if test $_pkg_short_errors_supported = yes; then
18059 liblua_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
18060 else
18061 liblua_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
18063 # Put the nasty error message in config.log where it belongs
18064 echo "$liblua_PKG_ERRORS" >&5
18066 as_fn_error $? "Package requirements (lua-5.1 >= 5.1) were not met:
18068 $liblua_PKG_ERRORS
18070 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18071 installed software in a non-standard prefix.
18073 Alternatively, you may set the environment variables liblua_CFLAGS
18074 and liblua_LIBS to avoid the need to call pkg-config.
18075 See the pkg-config man page for more details." "$LINENO" 5
18076 elif test $pkg_failed = untried; then
18077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18078 $as_echo "no" >&6; }
18079 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18080 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18081 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
18082 is in your PATH or set the PKG_CONFIG environment variable to the full
18083 path to pkg-config.
18085 Alternatively, you may set the environment variables liblua_CFLAGS
18086 and liblua_LIBS to avoid the need to call pkg-config.
18087 See the pkg-config man page for more details.
18089 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18090 See \`config.log' for more details" "$LINENO" 5; }
18091 else
18092 liblua_CFLAGS=$pkg_cv_liblua_CFLAGS
18093 liblua_LIBS=$pkg_cv_liblua_LIBS
18094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18095 $as_echo "yes" >&6; }
18099 else
18100 liblua_CFLAGS=$pkg_cv_liblua_CFLAGS
18101 liblua_LIBS=$pkg_cv_liblua_LIBS
18102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18103 $as_echo "yes" >&6; }
18107 else
18108 liblua_CFLAGS=$pkg_cv_liblua_CFLAGS
18109 liblua_LIBS=$pkg_cv_liblua_LIBS
18110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18111 $as_echo "yes" >&6; }
18115 elif test $pkg_failed = untried; then
18116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18117 $as_echo "no" >&6; }
18120 pkg_failed=no
18121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18122 $as_echo_n "checking for liblua... " >&6; }
18124 if test -n "$liblua_CFLAGS"; then
18125 pkg_cv_liblua_CFLAGS="$liblua_CFLAGS"
18126 elif test -n "$PKG_CONFIG"; then
18127 if test -n "$PKG_CONFIG" && \
18128 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1\""; } >&5
18129 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1") 2>&5
18130 ac_status=$?
18131 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18132 test $ac_status = 0; }; then
18133 pkg_cv_liblua_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1" 2>/dev/null`
18134 else
18135 pkg_failed=yes
18137 else
18138 pkg_failed=untried
18140 if test -n "$liblua_LIBS"; then
18141 pkg_cv_liblua_LIBS="$liblua_LIBS"
18142 elif test -n "$PKG_CONFIG"; then
18143 if test -n "$PKG_CONFIG" && \
18144 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1\""; } >&5
18145 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1") 2>&5
18146 ac_status=$?
18147 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18148 test $ac_status = 0; }; then
18149 pkg_cv_liblua_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1" 2>/dev/null`
18150 else
18151 pkg_failed=yes
18153 else
18154 pkg_failed=untried
18159 if test $pkg_failed = yes; then
18160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18161 $as_echo "no" >&6; }
18163 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18164 _pkg_short_errors_supported=yes
18165 else
18166 _pkg_short_errors_supported=no
18168 if test $_pkg_short_errors_supported = yes; then
18169 liblua_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1" 2>&1`
18170 else
18171 liblua_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua51 >= 5.1" 2>&1`
18173 # Put the nasty error message in config.log where it belongs
18174 echo "$liblua_PKG_ERRORS" >&5
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 \"lua5.1 >= 5.1\""; } >&5
18187 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 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 "lua5.1 >= 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 \"lua5.1 >= 5.1\""; } >&5
18203 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 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 "lua5.1 >= 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 "lua5.1 >= 5.1" 2>&1`
18228 else
18229 liblua_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua5.1 >= 5.1" 2>&1`
18231 # Put the nasty error message in config.log where it belongs
18232 echo "$liblua_PKG_ERRORS" >&5
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 \"lua-5.1 >= 5.1\""; } >&5
18245 ($PKG_CONFIG --exists --print-errors "lua-5.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 "lua-5.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 \"lua-5.1 >= 5.1\""; } >&5
18261 ($PKG_CONFIG --exists --print-errors "lua-5.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 "lua-5.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 "lua-5.1 >= 5.1" 2>&1`
18286 else
18287 liblua_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
18289 # Put the nasty error message in config.log where it belongs
18290 echo "$liblua_PKG_ERRORS" >&5
18292 as_fn_error $? "Package requirements (lua-5.1 >= 5.1) were not met:
18294 $liblua_PKG_ERRORS
18296 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18297 installed software in a non-standard prefix.
18299 Alternatively, you may set the environment variables liblua_CFLAGS
18300 and liblua_LIBS to avoid the need to call pkg-config.
18301 See the pkg-config man page for more details." "$LINENO" 5
18302 elif test $pkg_failed = untried; then
18303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18304 $as_echo "no" >&6; }
18305 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18306 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18307 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
18308 is in your PATH or set the PKG_CONFIG environment variable to the full
18309 path to pkg-config.
18311 Alternatively, you may set the environment variables liblua_CFLAGS
18312 and liblua_LIBS to avoid the need to call pkg-config.
18313 See the pkg-config man page for more details.
18315 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18316 See \`config.log' for more details" "$LINENO" 5; }
18317 else
18318 liblua_CFLAGS=$pkg_cv_liblua_CFLAGS
18319 liblua_LIBS=$pkg_cv_liblua_LIBS
18320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18321 $as_echo "yes" >&6; }
18325 elif test $pkg_failed = untried; then
18326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18327 $as_echo "no" >&6; }
18330 pkg_failed=no
18331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18332 $as_echo_n "checking for liblua... " >&6; }
18334 if test -n "$liblua_CFLAGS"; then
18335 pkg_cv_liblua_CFLAGS="$liblua_CFLAGS"
18336 elif test -n "$PKG_CONFIG"; then
18337 if test -n "$PKG_CONFIG" && \
18338 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18339 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18340 ac_status=$?
18341 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18342 test $ac_status = 0; }; then
18343 pkg_cv_liblua_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
18344 else
18345 pkg_failed=yes
18347 else
18348 pkg_failed=untried
18350 if test -n "$liblua_LIBS"; then
18351 pkg_cv_liblua_LIBS="$liblua_LIBS"
18352 elif test -n "$PKG_CONFIG"; then
18353 if test -n "$PKG_CONFIG" && \
18354 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18355 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18356 ac_status=$?
18357 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18358 test $ac_status = 0; }; then
18359 pkg_cv_liblua_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
18360 else
18361 pkg_failed=yes
18363 else
18364 pkg_failed=untried
18369 if test $pkg_failed = yes; then
18370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18371 $as_echo "no" >&6; }
18373 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18374 _pkg_short_errors_supported=yes
18375 else
18376 _pkg_short_errors_supported=no
18378 if test $_pkg_short_errors_supported = yes; then
18379 liblua_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
18380 else
18381 liblua_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
18383 # Put the nasty error message in config.log where it belongs
18384 echo "$liblua_PKG_ERRORS" >&5
18386 as_fn_error $? "Package requirements (lua-5.1 >= 5.1) were not met:
18388 $liblua_PKG_ERRORS
18390 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18391 installed software in a non-standard prefix.
18393 Alternatively, you may set the environment variables liblua_CFLAGS
18394 and liblua_LIBS to avoid the need to call pkg-config.
18395 See the pkg-config man page for more details." "$LINENO" 5
18396 elif test $pkg_failed = untried; then
18397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18398 $as_echo "no" >&6; }
18399 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18400 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18401 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
18402 is in your PATH or set the PKG_CONFIG environment variable to the full
18403 path to pkg-config.
18405 Alternatively, you may set the environment variables liblua_CFLAGS
18406 and liblua_LIBS to avoid the need to call pkg-config.
18407 See the pkg-config man page for more details.
18409 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18410 See \`config.log' for more details" "$LINENO" 5; }
18411 else
18412 liblua_CFLAGS=$pkg_cv_liblua_CFLAGS
18413 liblua_LIBS=$pkg_cv_liblua_LIBS
18414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18415 $as_echo "yes" >&6; }
18419 else
18420 liblua_CFLAGS=$pkg_cv_liblua_CFLAGS
18421 liblua_LIBS=$pkg_cv_liblua_LIBS
18422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18423 $as_echo "yes" >&6; }
18427 elif test $pkg_failed = untried; then
18428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18429 $as_echo "no" >&6; }
18432 pkg_failed=no
18433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18434 $as_echo_n "checking for liblua... " >&6; }
18436 if test -n "$liblua_CFLAGS"; then
18437 pkg_cv_liblua_CFLAGS="$liblua_CFLAGS"
18438 elif test -n "$PKG_CONFIG"; then
18439 if test -n "$PKG_CONFIG" && \
18440 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
18441 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
18442 ac_status=$?
18443 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18444 test $ac_status = 0; }; then
18445 pkg_cv_liblua_CFLAGS=`$PKG_CONFIG --cflags "lua5.1 >= 5.1" 2>/dev/null`
18446 else
18447 pkg_failed=yes
18449 else
18450 pkg_failed=untried
18452 if test -n "$liblua_LIBS"; then
18453 pkg_cv_liblua_LIBS="$liblua_LIBS"
18454 elif test -n "$PKG_CONFIG"; then
18455 if test -n "$PKG_CONFIG" && \
18456 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
18457 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
18458 ac_status=$?
18459 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18460 test $ac_status = 0; }; then
18461 pkg_cv_liblua_LIBS=`$PKG_CONFIG --libs "lua5.1 >= 5.1" 2>/dev/null`
18462 else
18463 pkg_failed=yes
18465 else
18466 pkg_failed=untried
18471 if test $pkg_failed = yes; then
18472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18473 $as_echo "no" >&6; }
18475 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18476 _pkg_short_errors_supported=yes
18477 else
18478 _pkg_short_errors_supported=no
18480 if test $_pkg_short_errors_supported = yes; then
18481 liblua_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua5.1 >= 5.1" 2>&1`
18482 else
18483 liblua_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua5.1 >= 5.1" 2>&1`
18485 # Put the nasty error message in config.log where it belongs
18486 echo "$liblua_PKG_ERRORS" >&5
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 \"lua-5.1 >= 5.1\""; } >&5
18499 ($PKG_CONFIG --exists --print-errors "lua-5.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 "lua-5.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 \"lua-5.1 >= 5.1\""; } >&5
18515 ($PKG_CONFIG --exists --print-errors "lua-5.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 "lua-5.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 "lua-5.1 >= 5.1" 2>&1`
18540 else
18541 liblua_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
18543 # Put the nasty error message in config.log where it belongs
18544 echo "$liblua_PKG_ERRORS" >&5
18546 as_fn_error $? "Package requirements (lua-5.1 >= 5.1) were not met:
18548 $liblua_PKG_ERRORS
18550 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18551 installed software in a non-standard prefix.
18553 Alternatively, you may set the environment variables liblua_CFLAGS
18554 and liblua_LIBS to avoid the need to call pkg-config.
18555 See the pkg-config man page for more details." "$LINENO" 5
18556 elif test $pkg_failed = untried; then
18557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18558 $as_echo "no" >&6; }
18559 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18560 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18561 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
18562 is in your PATH or set the PKG_CONFIG environment variable to the full
18563 path to pkg-config.
18565 Alternatively, you may set the environment variables liblua_CFLAGS
18566 and liblua_LIBS to avoid the need to call pkg-config.
18567 See the pkg-config man page for more details.
18569 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18570 See \`config.log' for more details" "$LINENO" 5; }
18571 else
18572 liblua_CFLAGS=$pkg_cv_liblua_CFLAGS
18573 liblua_LIBS=$pkg_cv_liblua_LIBS
18574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18575 $as_echo "yes" >&6; }
18579 elif test $pkg_failed = untried; then
18580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18581 $as_echo "no" >&6; }
18584 pkg_failed=no
18585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18586 $as_echo_n "checking for liblua... " >&6; }
18588 if test -n "$liblua_CFLAGS"; then
18589 pkg_cv_liblua_CFLAGS="$liblua_CFLAGS"
18590 elif test -n "$PKG_CONFIG"; then
18591 if test -n "$PKG_CONFIG" && \
18592 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18593 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18594 ac_status=$?
18595 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18596 test $ac_status = 0; }; then
18597 pkg_cv_liblua_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
18598 else
18599 pkg_failed=yes
18601 else
18602 pkg_failed=untried
18604 if test -n "$liblua_LIBS"; then
18605 pkg_cv_liblua_LIBS="$liblua_LIBS"
18606 elif test -n "$PKG_CONFIG"; then
18607 if test -n "$PKG_CONFIG" && \
18608 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18609 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18610 ac_status=$?
18611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18612 test $ac_status = 0; }; then
18613 pkg_cv_liblua_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
18614 else
18615 pkg_failed=yes
18617 else
18618 pkg_failed=untried
18623 if test $pkg_failed = yes; then
18624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18625 $as_echo "no" >&6; }
18627 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18628 _pkg_short_errors_supported=yes
18629 else
18630 _pkg_short_errors_supported=no
18632 if test $_pkg_short_errors_supported = yes; then
18633 liblua_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
18634 else
18635 liblua_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
18637 # Put the nasty error message in config.log where it belongs
18638 echo "$liblua_PKG_ERRORS" >&5
18640 as_fn_error $? "Package requirements (lua-5.1 >= 5.1) were not met:
18642 $liblua_PKG_ERRORS
18644 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18645 installed software in a non-standard prefix.
18647 Alternatively, you may set the environment variables liblua_CFLAGS
18648 and liblua_LIBS to avoid the need to call pkg-config.
18649 See the pkg-config man page for more details." "$LINENO" 5
18650 elif test $pkg_failed = untried; then
18651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18652 $as_echo "no" >&6; }
18653 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18654 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18655 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
18656 is in your PATH or set the PKG_CONFIG environment variable to the full
18657 path to pkg-config.
18659 Alternatively, you may set the environment variables liblua_CFLAGS
18660 and liblua_LIBS to avoid the need to call pkg-config.
18661 See the pkg-config man page for more details.
18663 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18664 See \`config.log' for more details" "$LINENO" 5; }
18665 else
18666 liblua_CFLAGS=$pkg_cv_liblua_CFLAGS
18667 liblua_LIBS=$pkg_cv_liblua_LIBS
18668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18669 $as_echo "yes" >&6; }
18673 else
18674 liblua_CFLAGS=$pkg_cv_liblua_CFLAGS
18675 liblua_LIBS=$pkg_cv_liblua_LIBS
18676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18677 $as_echo "yes" >&6; }
18681 else
18682 liblua_CFLAGS=$pkg_cv_liblua_CFLAGS
18683 liblua_LIBS=$pkg_cv_liblua_LIBS
18684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18685 $as_echo "yes" >&6; }
18689 else
18690 liblua_CFLAGS=$pkg_cv_liblua_CFLAGS
18691 liblua_LIBS=$pkg_cv_liblua_LIBS
18692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18693 $as_echo "yes" >&6; }
18696 # Check whether --enable-silent-rules was given.
18697 if test "${enable_silent_rules+set}" = set; then :
18698 enableval=$enable_silent_rules;
18701 case $enable_silent_rules in
18702 yes) AM_DEFAULT_VERBOSITY=0;;
18703 no) AM_DEFAULT_VERBOSITY=1;;
18704 *) AM_DEFAULT_VERBOSITY=0;;
18705 esac
18706 AM_BACKSLASH='\'
18709 # Checks for header files.
18710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
18711 $as_echo_n "checking for ANSI C header files... " >&6; }
18712 if ${ac_cv_header_stdc+:} false; then :
18713 $as_echo_n "(cached) " >&6
18714 else
18715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18716 /* end confdefs.h. */
18717 #include <stdlib.h>
18718 #include <stdarg.h>
18719 #include <string.h>
18720 #include <float.h>
18723 main ()
18727 return 0;
18729 _ACEOF
18730 if ac_fn_c_try_compile "$LINENO"; then :
18731 ac_cv_header_stdc=yes
18732 else
18733 ac_cv_header_stdc=no
18735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18737 if test $ac_cv_header_stdc = yes; then
18738 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18740 /* end confdefs.h. */
18741 #include <string.h>
18743 _ACEOF
18744 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18745 $EGREP "memchr" >/dev/null 2>&1; then :
18747 else
18748 ac_cv_header_stdc=no
18750 rm -f conftest*
18754 if test $ac_cv_header_stdc = yes; then
18755 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18757 /* end confdefs.h. */
18758 #include <stdlib.h>
18760 _ACEOF
18761 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18762 $EGREP "free" >/dev/null 2>&1; then :
18764 else
18765 ac_cv_header_stdc=no
18767 rm -f conftest*
18771 if test $ac_cv_header_stdc = yes; then
18772 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18773 if test "$cross_compiling" = yes; then :
18775 else
18776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18777 /* end confdefs.h. */
18778 #include <ctype.h>
18779 #include <stdlib.h>
18780 #if ((' ' & 0x0FF) == 0x020)
18781 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18782 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18783 #else
18784 # define ISLOWER(c) \
18785 (('a' <= (c) && (c) <= 'i') \
18786 || ('j' <= (c) && (c) <= 'r') \
18787 || ('s' <= (c) && (c) <= 'z'))
18788 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18789 #endif
18791 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18793 main ()
18795 int i;
18796 for (i = 0; i < 256; i++)
18797 if (XOR (islower (i), ISLOWER (i))
18798 || toupper (i) != TOUPPER (i))
18799 return 2;
18800 return 0;
18802 _ACEOF
18803 if ac_fn_c_try_run "$LINENO"; then :
18805 else
18806 ac_cv_header_stdc=no
18808 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18809 conftest.$ac_objext conftest.beam conftest.$ac_ext
18814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
18815 $as_echo "$ac_cv_header_stdc" >&6; }
18816 if test $ac_cv_header_stdc = yes; then
18818 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
18821 # `stdlib.h', `stdarg.h', `string.h', ...
18822 for ac_header in memory.h stdint.h stdlib.h limits.h stddef.h
18823 do :
18824 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18825 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18826 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18827 cat >>confdefs.h <<_ACEOF
18828 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18829 _ACEOF
18833 done
18836 # Checks for typedefs, structures, and compiler characteristics.
18837 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
18838 if test "x$ac_cv_type_size_t" = xyes; then :
18840 else
18842 cat >>confdefs.h <<_ACEOF
18843 #define size_t unsigned int
18844 _ACEOF
18848 ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
18849 case $ac_cv_c_uint32_t in #(
18850 no|yes) ;; #(
18853 $as_echo "#define _UINT32_T 1" >>confdefs.h
18856 cat >>confdefs.h <<_ACEOF
18857 #define uint32_t $ac_cv_c_uint32_t
18858 _ACEOF
18860 esac
18862 ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
18863 case $ac_cv_c_uint64_t in #(
18864 no|yes) ;; #(
18867 $as_echo "#define _UINT64_T 1" >>confdefs.h
18870 cat >>confdefs.h <<_ACEOF
18871 #define uint64_t $ac_cv_c_uint64_t
18872 _ACEOF
18874 esac
18876 ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
18877 case $ac_cv_c_uint8_t in #(
18878 no|yes) ;; #(
18881 $as_echo "#define _UINT8_T 1" >>confdefs.h
18884 cat >>confdefs.h <<_ACEOF
18885 #define uint8_t $ac_cv_c_uint8_t
18886 _ACEOF
18888 esac
18890 ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
18891 if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
18893 cat >>confdefs.h <<_ACEOF
18894 #define HAVE_PTRDIFF_T 1
18895 _ACEOF
18901 # Checks for library functions.
18902 if test x"$host_w32" = "xno" ; then
18903 for ac_header in stdlib.h
18904 do :
18905 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
18906 if test "x$ac_cv_header_stdlib_h" = xyes; then :
18907 cat >>confdefs.h <<_ACEOF
18908 #define HAVE_STDLIB_H 1
18909 _ACEOF
18913 done
18915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
18916 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
18917 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
18918 $as_echo_n "(cached) " >&6
18919 else
18920 if test "$cross_compiling" = yes; then :
18921 ac_cv_func_malloc_0_nonnull=no
18922 else
18923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18924 /* end confdefs.h. */
18925 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
18926 # include <stdlib.h>
18927 #else
18928 char *malloc ();
18929 #endif
18932 main ()
18934 return ! malloc (0);
18936 return 0;
18938 _ACEOF
18939 if ac_fn_c_try_run "$LINENO"; then :
18940 ac_cv_func_malloc_0_nonnull=yes
18941 else
18942 ac_cv_func_malloc_0_nonnull=no
18944 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18945 conftest.$ac_objext conftest.beam conftest.$ac_ext
18949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
18950 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
18951 if test $ac_cv_func_malloc_0_nonnull = yes; then :
18953 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
18955 else
18956 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
18958 case " $LIBOBJS " in
18959 *" malloc.$ac_objext "* ) ;;
18960 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
18962 esac
18965 $as_echo "#define malloc rpl_malloc" >>confdefs.h
18970 for ac_header in stdlib.h
18971 do :
18972 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
18973 if test "x$ac_cv_header_stdlib_h" = xyes; then :
18974 cat >>confdefs.h <<_ACEOF
18975 #define HAVE_STDLIB_H 1
18976 _ACEOF
18980 done
18982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
18983 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
18984 if ${ac_cv_func_realloc_0_nonnull+:} false; then :
18985 $as_echo_n "(cached) " >&6
18986 else
18987 if test "$cross_compiling" = yes; then :
18988 ac_cv_func_realloc_0_nonnull=no
18989 else
18990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18991 /* end confdefs.h. */
18992 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
18993 # include <stdlib.h>
18994 #else
18995 char *realloc ();
18996 #endif
18999 main ()
19001 return ! realloc (0, 0);
19003 return 0;
19005 _ACEOF
19006 if ac_fn_c_try_run "$LINENO"; then :
19007 ac_cv_func_realloc_0_nonnull=yes
19008 else
19009 ac_cv_func_realloc_0_nonnull=no
19011 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19012 conftest.$ac_objext conftest.beam conftest.$ac_ext
19016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
19017 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
19018 if test $ac_cv_func_realloc_0_nonnull = yes; then :
19020 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
19022 else
19023 $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
19025 case " $LIBOBJS " in
19026 *" realloc.$ac_objext "* ) ;;
19027 *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
19029 esac
19032 $as_echo "#define realloc rpl_realloc" >>confdefs.h
19038 for ac_func in memset strdup strstr strtol strerror strcspn getcwd strchr strrchr strspn
19039 do :
19040 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19041 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19042 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19043 cat >>confdefs.h <<_ACEOF
19044 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19045 _ACEOF
19048 done
19050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5
19051 $as_echo_n "checking for working strtod... " >&6; }
19052 if ${ac_cv_func_strtod+:} false; then :
19053 $as_echo_n "(cached) " >&6
19054 else
19055 if test "$cross_compiling" = yes; then :
19056 ac_cv_func_strtod=no
19057 else
19058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19059 /* end confdefs.h. */
19061 $ac_includes_default
19062 #ifndef strtod
19063 double strtod ();
19064 #endif
19066 main()
19069 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
19070 char *string = " +69";
19071 char *term;
19072 double value;
19073 value = strtod (string, &term);
19074 if (value != 69 || term != (string + 4))
19075 return 1;
19079 /* Under Solaris 2.4, strtod returns the wrong value for the
19080 terminating character under some conditions. */
19081 char *string = "NaN";
19082 char *term;
19083 strtod (string, &term);
19084 if (term != string && *(term - 1) == 0)
19085 return 1;
19087 return 0;
19090 _ACEOF
19091 if ac_fn_c_try_run "$LINENO"; then :
19092 ac_cv_func_strtod=yes
19093 else
19094 ac_cv_func_strtod=no
19096 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19097 conftest.$ac_objext conftest.beam conftest.$ac_ext
19101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strtod" >&5
19102 $as_echo "$ac_cv_func_strtod" >&6; }
19103 if test $ac_cv_func_strtod = no; then
19104 case " $LIBOBJS " in
19105 *" strtod.$ac_objext "* ) ;;
19106 *) LIBOBJS="$LIBOBJS strtod.$ac_objext"
19108 esac
19110 ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow"
19111 if test "x$ac_cv_func_pow" = xyes; then :
19115 if test $ac_cv_func_pow = no; then
19116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
19117 $as_echo_n "checking for pow in -lm... " >&6; }
19118 if ${ac_cv_lib_m_pow+:} false; then :
19119 $as_echo_n "(cached) " >&6
19120 else
19121 ac_check_lib_save_LIBS=$LIBS
19122 LIBS="-lm $LIBS"
19123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19124 /* end confdefs.h. */
19126 /* Override any GCC internal prototype to avoid an error.
19127 Use char because int might match the return type of a GCC
19128 builtin and then its argument prototype would still apply. */
19129 #ifdef __cplusplus
19130 extern "C"
19131 #endif
19132 char pow ();
19134 main ()
19136 return pow ();
19138 return 0;
19140 _ACEOF
19141 if ac_fn_c_try_link "$LINENO"; then :
19142 ac_cv_lib_m_pow=yes
19143 else
19144 ac_cv_lib_m_pow=no
19146 rm -f core conftest.err conftest.$ac_objext \
19147 conftest$ac_exeext conftest.$ac_ext
19148 LIBS=$ac_check_lib_save_LIBS
19150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
19151 $as_echo "$ac_cv_lib_m_pow" >&6; }
19152 if test "x$ac_cv_lib_m_pow" = xyes; then :
19153 POW_LIB=-lm
19154 else
19155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5
19156 $as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
19164 have_asprintf=no
19165 for ac_func in vasprintf
19166 do :
19167 ac_fn_c_check_func "$LINENO" "vasprintf" "ac_cv_func_vasprintf"
19168 if test "x$ac_cv_func_vasprintf" = xyes; then :
19169 cat >>confdefs.h <<_ACEOF
19170 #define HAVE_VASPRINTF 1
19171 _ACEOF
19173 for ac_func in asprintf
19174 do :
19175 ac_fn_c_check_func "$LINENO" "asprintf" "ac_cv_func_asprintf"
19176 if test "x$ac_cv_func_asprintf" = xyes; then :
19177 cat >>confdefs.h <<_ACEOF
19178 #define HAVE_ASPRINTF 1
19179 _ACEOF
19180 have_asprintf=yes
19182 done
19186 done
19188 if test x"$have_asprintf" != "xyes"; then
19189 NO_ASPRINTF_TRUE=
19190 NO_ASPRINTF_FALSE='#'
19191 else
19192 NO_ASPRINTF_TRUE='#'
19193 NO_ASPRINTF_FALSE=
19197 # --enable-quvi
19198 # Check whether --enable-quvi was given.
19199 if test "${enable_quvi+set}" = set; then :
19200 enableval=$enable_quvi;
19201 else
19202 enable_quvi=yes
19205 if test x"$enable_quvi" != "xno"; then
19206 ENABLE_QUVI_TRUE=
19207 ENABLE_QUVI_FALSE='#'
19208 else
19209 ENABLE_QUVI_TRUE='#'
19210 ENABLE_QUVI_FALSE=
19214 # --enable-examples
19215 # Check whether --enable-examples was given.
19216 if test "${enable_examples+set}" = set; then :
19217 enableval=$enable_examples;
19218 else
19219 enable_examples=no
19222 if test x"$enable_examples" != "xno"; then
19223 ENABLE_EXAMPLES_TRUE=
19224 ENABLE_EXAMPLES_FALSE='#'
19225 else
19226 ENABLE_EXAMPLES_TRUE='#'
19227 ENABLE_EXAMPLES_FALSE=
19231 # --enable-tests
19232 # Check whether --enable-tests was given.
19233 if test "${enable_tests+set}" = set; then :
19234 enableval=$enable_tests;
19235 else
19236 enable_tests=no
19239 if test x"$enable_tests" != "xno"; then
19240 ENABLE_TESTS_TRUE=
19241 ENABLE_TESTS_FALSE='#'
19242 else
19243 ENABLE_TESTS_TRUE='#'
19244 ENABLE_TESTS_FALSE=
19248 # --enable-verbose-tests
19249 # Check whether --enable-verbose-tests was given.
19250 if test "${enable_verbose_tests+set}" = set; then :
19251 enableval=$enable_verbose_tests;
19252 else
19253 enable_verbose_tests=no
19256 if test x"$enable_verbose_tests" != "xno"; then
19257 ENABLE_VERBOSE_TESTS_TRUE=
19258 ENABLE_VERBOSE_TESTS_FALSE='#'
19259 else
19260 ENABLE_VERBOSE_TESTS_TRUE='#'
19261 ENABLE_VERBOSE_TESTS_FALSE=
19265 # --enable-nsfw
19266 # Check whether --enable-nsfw was given.
19267 if test "${enable_nsfw+set}" = set; then :
19268 enableval=$enable_nsfw;
19269 else
19270 enable_nsfw=no
19273 if test x"$enable_nsfw" != "xno"; then
19274 ENABLE_NSFW_TRUE=
19275 ENABLE_NSFW_FALSE='#'
19276 else
19277 ENABLE_NSFW_TRUE='#'
19278 ENABLE_NSFW_FALSE=
19282 if test x"$enable_nsfw" != "xno" ; then
19284 $as_echo "#define ENABLE_NSFW 1" >>confdefs.h
19288 # --enable-todo
19289 # Check whether --enable-todo was given.
19290 if test "${enable_todo+set}" = set; then :
19291 enableval=$enable_todo;
19292 else
19293 enable_todo=no
19296 if test x"$enable_todo" != "xno"; then
19297 ENABLE_TODO_TRUE=
19298 ENABLE_TODO_FALSE='#'
19299 else
19300 ENABLE_TODO_TRUE='#'
19301 ENABLE_TODO_FALSE=
19305 if test x"$enable_todo" != "xno" ; then
19307 $as_echo "#define ENABLE_TODO 1" >>confdefs.h
19311 # --enable-nlfy
19312 # Check whether --enable-nlfy was given.
19313 if test "${enable_nlfy+set}" = set; then :
19314 enableval=$enable_nlfy;
19315 else
19316 enable_nlfy=no
19319 if test x"$enable_nlfy" != "xno"; then
19320 ENABLE_NLFY_TRUE=
19321 ENABLE_NLFY_FALSE='#'
19322 else
19323 ENABLE_NLFY_TRUE='#'
19324 ENABLE_NLFY_FALSE=
19328 # --with-man
19330 # Check whether --with-man was given.
19331 if test "${with_man+set}" = set; then :
19332 withval=$with_man;
19333 else
19334 with_man=yes
19337 if test x"$with_man" != "xno"; then
19338 WITH_MAN_TRUE=
19339 WITH_MAN_FALSE='#'
19340 else
19341 WITH_MAN_TRUE='#'
19342 WITH_MAN_FALSE=
19346 # --with-doc
19348 # Check whether --with-doc was given.
19349 if test "${with_doc+set}" = set; then :
19350 withval=$with_doc;
19351 else
19352 with_doc=yes
19355 if test x"$with_doc" != "xno"; then
19356 WITH_DOC_TRUE=
19357 WITH_DOC_FALSE='#'
19358 else
19359 WITH_DOC_TRUE='#'
19360 WITH_DOC_FALSE=
19364 # GNU ld?
19365 if test x"$with_gnu_ld" = "xyes"; then
19366 HAVE_GNU_LD_TRUE=
19367 HAVE_GNU_LD_FALSE='#'
19368 else
19369 HAVE_GNU_LD_TRUE='#'
19370 HAVE_GNU_LD_FALSE=
19374 ac_config_files="$ac_config_files Makefile include/Makefile include/quvi/Makefile include/quvi/quvi.h lib/Makefile man1/Makefile share/Makefile doc/Makefile src/Makefile examples/Makefile tests/Makefile scripts/Makefile libquvi.pc doxygen.conf"
19377 cat >confcache <<\_ACEOF
19378 # This file is a shell script that caches the results of configure
19379 # tests run on this system so they can be shared between configure
19380 # scripts and configure runs, see configure's option --config-cache.
19381 # It is not useful on other systems. If it contains results you don't
19382 # want to keep, you may remove or edit it.
19384 # config.status only pays attention to the cache file if you give it
19385 # the --recheck option to rerun configure.
19387 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19388 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19389 # following values.
19391 _ACEOF
19393 # The following way of writing the cache mishandles newlines in values,
19394 # but we know of no workaround that is simple, portable, and efficient.
19395 # So, we kill variables containing newlines.
19396 # Ultrix sh set writes to stderr and can't be redirected directly,
19397 # and sets the high bit in the cache file unless we assign to the vars.
19399 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19400 eval ac_val=\$$ac_var
19401 case $ac_val in #(
19402 *${as_nl}*)
19403 case $ac_var in #(
19404 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19405 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19406 esac
19407 case $ac_var in #(
19408 _ | IFS | as_nl) ;; #(
19409 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19410 *) { eval $ac_var=; unset $ac_var;} ;;
19411 esac ;;
19412 esac
19413 done
19415 (set) 2>&1 |
19416 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19417 *${as_nl}ac_space=\ *)
19418 # `set' does not quote correctly, so add quotes: double-quote
19419 # substitution turns \\\\ into \\, and sed turns \\ into \.
19420 sed -n \
19421 "s/'/'\\\\''/g;
19422 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19423 ;; #(
19425 # `set' quotes correctly as required by POSIX, so do not add quotes.
19426 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19428 esac |
19429 sort
19431 sed '
19432 /^ac_cv_env_/b end
19433 t clear
19434 :clear
19435 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19436 t end
19437 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19438 :end' >>confcache
19439 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19440 if test -w "$cache_file"; then
19441 if test "x$cache_file" != "x/dev/null"; then
19442 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19443 $as_echo "$as_me: updating cache $cache_file" >&6;}
19444 if test ! -f "$cache_file" || test -h "$cache_file"; then
19445 cat confcache >"$cache_file"
19446 else
19447 case $cache_file in #(
19448 */* | ?:*)
19449 mv -f confcache "$cache_file"$$ &&
19450 mv -f "$cache_file"$$ "$cache_file" ;; #(
19452 mv -f confcache "$cache_file" ;;
19453 esac
19456 else
19457 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19458 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19461 rm -f confcache
19463 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19464 # Let make expand exec_prefix.
19465 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19467 DEFS=-DHAVE_CONFIG_H
19469 ac_libobjs=
19470 ac_ltlibobjs=
19472 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19473 # 1. Remove the extension, and $U if already installed.
19474 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19475 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19476 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19477 # will be set to the directory where LIBOBJS objects are built.
19478 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19479 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19480 done
19481 LIBOBJS=$ac_libobjs
19483 LTLIBOBJS=$ac_ltlibobjs
19486 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19487 as_fn_error $? "conditional \"AMDEP\" was never defined.
19488 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19490 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19491 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19492 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19494 if test -n "$EXEEXT"; then
19495 am__EXEEXT_TRUE=
19496 am__EXEEXT_FALSE='#'
19497 else
19498 am__EXEEXT_TRUE='#'
19499 am__EXEEXT_FALSE=
19502 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19503 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
19504 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19506 if test -z "${HAVE_GENGETOPT_TRUE}" && test -z "${HAVE_GENGETOPT_FALSE}"; then
19507 as_fn_error $? "conditional \"HAVE_GENGETOPT\" was never defined.
19508 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19510 if test -z "${HAVE_DOXYGEN_TRUE}" && test -z "${HAVE_DOXYGEN_FALSE}"; then
19511 as_fn_error $? "conditional \"HAVE_DOXYGEN\" was never defined.
19512 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19514 if test -z "${HAVE_PROVE_TRUE}" && test -z "${HAVE_PROVE_FALSE}"; then
19515 as_fn_error $? "conditional \"HAVE_PROVE\" was never defined.
19516 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19518 if test -z "${HAVE_VALGRIND_TRUE}" && test -z "${HAVE_VALGRIND_FALSE}"; then
19519 as_fn_error $? "conditional \"HAVE_VALGRIND\" was never defined.
19520 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19522 if test -z "${HAVE_POD2MAN_TRUE}" && test -z "${HAVE_POD2MAN_FALSE}"; then
19523 as_fn_error $? "conditional \"HAVE_POD2MAN\" was never defined.
19524 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19526 if test -z "${HAVE_POD2HTML_TRUE}" && test -z "${HAVE_POD2HTML_FALSE}"; then
19527 as_fn_error $? "conditional \"HAVE_POD2HTML\" was never defined.
19528 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19530 if test -z "${NO_ASPRINTF_TRUE}" && test -z "${NO_ASPRINTF_FALSE}"; then
19531 as_fn_error $? "conditional \"NO_ASPRINTF\" was never defined.
19532 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19534 if test -z "${ENABLE_QUVI_TRUE}" && test -z "${ENABLE_QUVI_FALSE}"; then
19535 as_fn_error $? "conditional \"ENABLE_QUVI\" was never defined.
19536 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19538 if test -z "${ENABLE_EXAMPLES_TRUE}" && test -z "${ENABLE_EXAMPLES_FALSE}"; then
19539 as_fn_error $? "conditional \"ENABLE_EXAMPLES\" was never defined.
19540 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19542 if test -z "${ENABLE_TESTS_TRUE}" && test -z "${ENABLE_TESTS_FALSE}"; then
19543 as_fn_error $? "conditional \"ENABLE_TESTS\" was never defined.
19544 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19546 if test -z "${ENABLE_VERBOSE_TESTS_TRUE}" && test -z "${ENABLE_VERBOSE_TESTS_FALSE}"; then
19547 as_fn_error $? "conditional \"ENABLE_VERBOSE_TESTS\" was never defined.
19548 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19550 if test -z "${ENABLE_NSFW_TRUE}" && test -z "${ENABLE_NSFW_FALSE}"; then
19551 as_fn_error $? "conditional \"ENABLE_NSFW\" was never defined.
19552 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19554 if test -z "${ENABLE_TODO_TRUE}" && test -z "${ENABLE_TODO_FALSE}"; then
19555 as_fn_error $? "conditional \"ENABLE_TODO\" was never defined.
19556 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19558 if test -z "${ENABLE_NLFY_TRUE}" && test -z "${ENABLE_NLFY_FALSE}"; then
19559 as_fn_error $? "conditional \"ENABLE_NLFY\" was never defined.
19560 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19562 if test -z "${WITH_MAN_TRUE}" && test -z "${WITH_MAN_FALSE}"; then
19563 as_fn_error $? "conditional \"WITH_MAN\" was never defined.
19564 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19566 if test -z "${WITH_DOC_TRUE}" && test -z "${WITH_DOC_FALSE}"; then
19567 as_fn_error $? "conditional \"WITH_DOC\" was never defined.
19568 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19570 if test -z "${HAVE_GNU_LD_TRUE}" && test -z "${HAVE_GNU_LD_FALSE}"; then
19571 as_fn_error $? "conditional \"HAVE_GNU_LD\" was never defined.
19572 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19575 : "${CONFIG_STATUS=./config.status}"
19576 ac_write_fail=0
19577 ac_clean_files_save=$ac_clean_files
19578 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19579 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19580 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19581 as_write_fail=0
19582 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19583 #! $SHELL
19584 # Generated by $as_me.
19585 # Run this file to recreate the current configuration.
19586 # Compiler output produced by configure, useful for debugging
19587 # configure, is in config.log if it exists.
19589 debug=false
19590 ac_cs_recheck=false
19591 ac_cs_silent=false
19593 SHELL=\${CONFIG_SHELL-$SHELL}
19594 export SHELL
19595 _ASEOF
19596 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19597 ## -------------------- ##
19598 ## M4sh Initialization. ##
19599 ## -------------------- ##
19601 # Be more Bourne compatible
19602 DUALCASE=1; export DUALCASE # for MKS sh
19603 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19604 emulate sh
19605 NULLCMD=:
19606 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19607 # is contrary to our usage. Disable this feature.
19608 alias -g '${1+"$@"}'='"$@"'
19609 setopt NO_GLOB_SUBST
19610 else
19611 case `(set -o) 2>/dev/null` in #(
19612 *posix*) :
19613 set -o posix ;; #(
19614 *) :
19616 esac
19620 as_nl='
19622 export as_nl
19623 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19624 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19625 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19626 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19627 # Prefer a ksh shell builtin over an external printf program on Solaris,
19628 # but without wasting forks for bash or zsh.
19629 if test -z "$BASH_VERSION$ZSH_VERSION" \
19630 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19631 as_echo='print -r --'
19632 as_echo_n='print -rn --'
19633 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19634 as_echo='printf %s\n'
19635 as_echo_n='printf %s'
19636 else
19637 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19638 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19639 as_echo_n='/usr/ucb/echo -n'
19640 else
19641 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19642 as_echo_n_body='eval
19643 arg=$1;
19644 case $arg in #(
19645 *"$as_nl"*)
19646 expr "X$arg" : "X\\(.*\\)$as_nl";
19647 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19648 esac;
19649 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19651 export as_echo_n_body
19652 as_echo_n='sh -c $as_echo_n_body as_echo'
19654 export as_echo_body
19655 as_echo='sh -c $as_echo_body as_echo'
19658 # The user is always right.
19659 if test "${PATH_SEPARATOR+set}" != set; then
19660 PATH_SEPARATOR=:
19661 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19662 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19663 PATH_SEPARATOR=';'
19668 # IFS
19669 # We need space, tab and new line, in precisely that order. Quoting is
19670 # there to prevent editors from complaining about space-tab.
19671 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19672 # splitting by setting IFS to empty value.)
19673 IFS=" "" $as_nl"
19675 # Find who we are. Look in the path if we contain no directory separator.
19676 as_myself=
19677 case $0 in #((
19678 *[\\/]* ) as_myself=$0 ;;
19679 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19680 for as_dir in $PATH
19682 IFS=$as_save_IFS
19683 test -z "$as_dir" && as_dir=.
19684 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19685 done
19686 IFS=$as_save_IFS
19689 esac
19690 # We did not find ourselves, most probably we were run as `sh COMMAND'
19691 # in which case we are not to be found in the path.
19692 if test "x$as_myself" = x; then
19693 as_myself=$0
19695 if test ! -f "$as_myself"; then
19696 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19697 exit 1
19700 # Unset variables that we do not need and which cause bugs (e.g. in
19701 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19702 # suppresses any "Segmentation fault" message there. '((' could
19703 # trigger a bug in pdksh 5.2.14.
19704 for as_var in BASH_ENV ENV MAIL MAILPATH
19705 do eval test x\${$as_var+set} = xset \
19706 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19707 done
19708 PS1='$ '
19709 PS2='> '
19710 PS4='+ '
19712 # NLS nuisances.
19713 LC_ALL=C
19714 export LC_ALL
19715 LANGUAGE=C
19716 export LANGUAGE
19718 # CDPATH.
19719 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19722 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19723 # ----------------------------------------
19724 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19725 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19726 # script with STATUS, using 1 if that was 0.
19727 as_fn_error ()
19729 as_status=$1; test $as_status -eq 0 && as_status=1
19730 if test "$4"; then
19731 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19732 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19734 $as_echo "$as_me: error: $2" >&2
19735 as_fn_exit $as_status
19736 } # as_fn_error
19739 # as_fn_set_status STATUS
19740 # -----------------------
19741 # Set $? to STATUS, without forking.
19742 as_fn_set_status ()
19744 return $1
19745 } # as_fn_set_status
19747 # as_fn_exit STATUS
19748 # -----------------
19749 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19750 as_fn_exit ()
19752 set +e
19753 as_fn_set_status $1
19754 exit $1
19755 } # as_fn_exit
19757 # as_fn_unset VAR
19758 # ---------------
19759 # Portably unset VAR.
19760 as_fn_unset ()
19762 { eval $1=; unset $1;}
19764 as_unset=as_fn_unset
19765 # as_fn_append VAR VALUE
19766 # ----------------------
19767 # Append the text in VALUE to the end of the definition contained in VAR. Take
19768 # advantage of any shell optimizations that allow amortized linear growth over
19769 # repeated appends, instead of the typical quadratic growth present in naive
19770 # implementations.
19771 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19772 eval 'as_fn_append ()
19774 eval $1+=\$2
19776 else
19777 as_fn_append ()
19779 eval $1=\$$1\$2
19781 fi # as_fn_append
19783 # as_fn_arith ARG...
19784 # ------------------
19785 # Perform arithmetic evaluation on the ARGs, and store the result in the
19786 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19787 # must be portable across $(()) and expr.
19788 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19789 eval 'as_fn_arith ()
19791 as_val=$(( $* ))
19793 else
19794 as_fn_arith ()
19796 as_val=`expr "$@" || test $? -eq 1`
19798 fi # as_fn_arith
19801 if expr a : '\(a\)' >/dev/null 2>&1 &&
19802 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19803 as_expr=expr
19804 else
19805 as_expr=false
19808 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19809 as_basename=basename
19810 else
19811 as_basename=false
19814 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19815 as_dirname=dirname
19816 else
19817 as_dirname=false
19820 as_me=`$as_basename -- "$0" ||
19821 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19822 X"$0" : 'X\(//\)$' \| \
19823 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19824 $as_echo X/"$0" |
19825 sed '/^.*\/\([^/][^/]*\)\/*$/{
19826 s//\1/
19829 /^X\/\(\/\/\)$/{
19830 s//\1/
19833 /^X\/\(\/\).*/{
19834 s//\1/
19837 s/.*/./; q'`
19839 # Avoid depending upon Character Ranges.
19840 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19841 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19842 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19843 as_cr_digits='0123456789'
19844 as_cr_alnum=$as_cr_Letters$as_cr_digits
19846 ECHO_C= ECHO_N= ECHO_T=
19847 case `echo -n x` in #(((((
19848 -n*)
19849 case `echo 'xy\c'` in
19850 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19851 xy) ECHO_C='\c';;
19852 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19853 ECHO_T=' ';;
19854 esac;;
19856 ECHO_N='-n';;
19857 esac
19859 rm -f conf$$ conf$$.exe conf$$.file
19860 if test -d conf$$.dir; then
19861 rm -f conf$$.dir/conf$$.file
19862 else
19863 rm -f conf$$.dir
19864 mkdir conf$$.dir 2>/dev/null
19866 if (echo >conf$$.file) 2>/dev/null; then
19867 if ln -s conf$$.file conf$$ 2>/dev/null; then
19868 as_ln_s='ln -s'
19869 # ... but there are two gotchas:
19870 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19871 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19872 # In both cases, we have to default to `cp -p'.
19873 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19874 as_ln_s='cp -p'
19875 elif ln conf$$.file conf$$ 2>/dev/null; then
19876 as_ln_s=ln
19877 else
19878 as_ln_s='cp -p'
19880 else
19881 as_ln_s='cp -p'
19883 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19884 rmdir conf$$.dir 2>/dev/null
19887 # as_fn_mkdir_p
19888 # -------------
19889 # Create "$as_dir" as a directory, including parents if necessary.
19890 as_fn_mkdir_p ()
19893 case $as_dir in #(
19894 -*) as_dir=./$as_dir;;
19895 esac
19896 test -d "$as_dir" || eval $as_mkdir_p || {
19897 as_dirs=
19898 while :; do
19899 case $as_dir in #(
19900 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19901 *) as_qdir=$as_dir;;
19902 esac
19903 as_dirs="'$as_qdir' $as_dirs"
19904 as_dir=`$as_dirname -- "$as_dir" ||
19905 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19906 X"$as_dir" : 'X\(//\)[^/]' \| \
19907 X"$as_dir" : 'X\(//\)$' \| \
19908 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19909 $as_echo X"$as_dir" |
19910 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19911 s//\1/
19914 /^X\(\/\/\)[^/].*/{
19915 s//\1/
19918 /^X\(\/\/\)$/{
19919 s//\1/
19922 /^X\(\/\).*/{
19923 s//\1/
19926 s/.*/./; q'`
19927 test -d "$as_dir" && break
19928 done
19929 test -z "$as_dirs" || eval "mkdir $as_dirs"
19930 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19933 } # as_fn_mkdir_p
19934 if mkdir -p . 2>/dev/null; then
19935 as_mkdir_p='mkdir -p "$as_dir"'
19936 else
19937 test -d ./-p && rmdir ./-p
19938 as_mkdir_p=false
19941 if test -x / >/dev/null 2>&1; then
19942 as_test_x='test -x'
19943 else
19944 if ls -dL / >/dev/null 2>&1; then
19945 as_ls_L_option=L
19946 else
19947 as_ls_L_option=
19949 as_test_x='
19950 eval sh -c '\''
19951 if test -d "$1"; then
19952 test -d "$1/.";
19953 else
19954 case $1 in #(
19955 -*)set "./$1";;
19956 esac;
19957 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
19958 ???[sx]*):;;*)false;;esac;fi
19959 '\'' sh
19962 as_executable_p=$as_test_x
19964 # Sed expression to map a string onto a valid CPP name.
19965 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19967 # Sed expression to map a string onto a valid variable name.
19968 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19971 exec 6>&1
19972 ## ----------------------------------- ##
19973 ## Main body of $CONFIG_STATUS script. ##
19974 ## ----------------------------------- ##
19975 _ASEOF
19976 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19978 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19979 # Save the log message, to keep $0 and so on meaningful, and to
19980 # report actual input values of CONFIG_FILES etc. instead of their
19981 # values after options handling.
19982 ac_log="
19983 This file was extended by quvi $as_me 0.2.15, which was
19984 generated by GNU Autoconf 2.68. Invocation command line was
19986 CONFIG_FILES = $CONFIG_FILES
19987 CONFIG_HEADERS = $CONFIG_HEADERS
19988 CONFIG_LINKS = $CONFIG_LINKS
19989 CONFIG_COMMANDS = $CONFIG_COMMANDS
19990 $ $0 $@
19992 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19995 _ACEOF
19997 case $ac_config_files in *"
19998 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19999 esac
20001 case $ac_config_headers in *"
20002 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
20003 esac
20006 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20007 # Files that config.status was made for.
20008 config_files="$ac_config_files"
20009 config_headers="$ac_config_headers"
20010 config_commands="$ac_config_commands"
20012 _ACEOF
20014 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20015 ac_cs_usage="\
20016 \`$as_me' instantiates files and other configuration actions
20017 from templates according to the current configuration. Unless the files
20018 and actions are specified as TAGs, all are instantiated by default.
20020 Usage: $0 [OPTION]... [TAG]...
20022 -h, --help print this help, then exit
20023 -V, --version print version number and configuration settings, then exit
20024 --config print configuration, then exit
20025 -q, --quiet, --silent
20026 do not print progress messages
20027 -d, --debug don't remove temporary files
20028 --recheck update $as_me by reconfiguring in the same conditions
20029 --file=FILE[:TEMPLATE]
20030 instantiate the configuration file FILE
20031 --header=FILE[:TEMPLATE]
20032 instantiate the configuration header FILE
20034 Configuration files:
20035 $config_files
20037 Configuration headers:
20038 $config_headers
20040 Configuration commands:
20041 $config_commands
20043 Report bugs to <http://sourceforge.net/apps/trac/quvi>.
20044 quvi home page: <http://quvi.sourceforge.net/>."
20046 _ACEOF
20047 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20048 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20049 ac_cs_version="\\
20050 quvi config.status 0.2.15
20051 configured by $0, generated by GNU Autoconf 2.68,
20052 with options \\"\$ac_cs_config\\"
20054 Copyright (C) 2010 Free Software Foundation, Inc.
20055 This config.status script is free software; the Free Software Foundation
20056 gives unlimited permission to copy, distribute and modify it."
20058 ac_pwd='$ac_pwd'
20059 srcdir='$srcdir'
20060 INSTALL='$INSTALL'
20061 MKDIR_P='$MKDIR_P'
20062 AWK='$AWK'
20063 test -n "\$AWK" || AWK=awk
20064 _ACEOF
20066 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20067 # The default lists apply if the user does not specify any file.
20068 ac_need_defaults=:
20069 while test $# != 0
20071 case $1 in
20072 --*=?*)
20073 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20074 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20075 ac_shift=:
20077 --*=)
20078 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20079 ac_optarg=
20080 ac_shift=:
20083 ac_option=$1
20084 ac_optarg=$2
20085 ac_shift=shift
20087 esac
20089 case $ac_option in
20090 # Handling of the options.
20091 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20092 ac_cs_recheck=: ;;
20093 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20094 $as_echo "$ac_cs_version"; exit ;;
20095 --config | --confi | --conf | --con | --co | --c )
20096 $as_echo "$ac_cs_config"; exit ;;
20097 --debug | --debu | --deb | --de | --d | -d )
20098 debug=: ;;
20099 --file | --fil | --fi | --f )
20100 $ac_shift
20101 case $ac_optarg in
20102 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20103 '') as_fn_error $? "missing file argument" ;;
20104 esac
20105 as_fn_append CONFIG_FILES " '$ac_optarg'"
20106 ac_need_defaults=false;;
20107 --header | --heade | --head | --hea )
20108 $ac_shift
20109 case $ac_optarg in
20110 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20111 esac
20112 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20113 ac_need_defaults=false;;
20114 --he | --h)
20115 # Conflict between --help and --header
20116 as_fn_error $? "ambiguous option: \`$1'
20117 Try \`$0 --help' for more information.";;
20118 --help | --hel | -h )
20119 $as_echo "$ac_cs_usage"; exit ;;
20120 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20121 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20122 ac_cs_silent=: ;;
20124 # This is an error.
20125 -*) as_fn_error $? "unrecognized option: \`$1'
20126 Try \`$0 --help' for more information." ;;
20128 *) as_fn_append ac_config_targets " $1"
20129 ac_need_defaults=false ;;
20131 esac
20132 shift
20133 done
20135 ac_configure_extra_args=
20137 if $ac_cs_silent; then
20138 exec 6>/dev/null
20139 ac_configure_extra_args="$ac_configure_extra_args --silent"
20142 _ACEOF
20143 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20144 if \$ac_cs_recheck; then
20145 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20146 shift
20147 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20148 CONFIG_SHELL='$SHELL'
20149 export CONFIG_SHELL
20150 exec "\$@"
20153 _ACEOF
20154 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20155 exec 5>>config.log
20157 echo
20158 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20159 ## Running $as_me. ##
20160 _ASBOX
20161 $as_echo "$ac_log"
20162 } >&5
20164 _ACEOF
20165 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20167 # INIT-COMMANDS
20169 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20172 # The HP-UX ksh and POSIX shell print the target directory to stdout
20173 # if CDPATH is set.
20174 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20176 sed_quote_subst='$sed_quote_subst'
20177 double_quote_subst='$double_quote_subst'
20178 delay_variable_subst='$delay_variable_subst'
20179 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
20180 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
20181 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
20182 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
20183 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
20184 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
20185 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
20186 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
20187 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
20188 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
20189 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
20190 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
20191 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
20192 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
20193 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
20194 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
20195 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
20196 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
20197 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
20198 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
20199 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
20200 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
20201 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
20202 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
20203 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
20204 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
20205 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
20206 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
20207 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
20208 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
20209 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
20210 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
20211 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
20212 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
20213 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
20214 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
20215 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
20216 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
20217 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
20218 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
20219 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
20220 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
20221 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
20222 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
20223 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20224 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20225 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
20226 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
20227 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
20228 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
20229 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
20230 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
20231 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
20232 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
20233 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
20234 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
20235 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
20236 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
20237 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
20238 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
20239 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
20240 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
20241 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
20242 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
20243 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
20244 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
20245 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
20246 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
20247 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
20248 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
20249 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
20250 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
20251 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
20252 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
20253 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20254 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
20255 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
20256 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
20257 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
20258 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
20259 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
20260 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20261 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
20262 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20263 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
20264 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20265 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
20266 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
20267 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
20268 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
20269 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
20270 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
20271 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
20272 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
20273 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
20274 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
20275 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
20276 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
20277 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
20278 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
20279 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
20280 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
20281 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
20282 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
20283 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
20284 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
20285 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
20286 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
20287 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
20288 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
20289 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
20290 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
20291 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
20292 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
20293 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
20294 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
20295 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
20296 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20297 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20298 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
20299 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
20300 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
20301 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
20302 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
20303 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
20304 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
20305 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
20306 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
20307 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
20308 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
20309 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
20310 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
20311 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
20312 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
20313 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
20314 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
20315 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
20316 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
20317 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20318 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20319 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
20320 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
20321 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
20322 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
20323 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
20324 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
20325 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
20326 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
20327 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
20328 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20329 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20330 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
20331 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20332 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20333 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20334 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20335 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20336 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20337 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
20338 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20339 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20340 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20341 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
20342 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
20343 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
20344 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
20345 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
20346 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
20347 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
20348 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
20349 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
20350 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
20351 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20352 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20353 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20354 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20355 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20356 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
20357 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
20358 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
20359 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20360 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20361 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
20362 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
20363 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
20365 LTCC='$LTCC'
20366 LTCFLAGS='$LTCFLAGS'
20367 compiler='$compiler_DEFAULT'
20369 # A function that is used when there is no print builtin or printf.
20370 func_fallback_echo ()
20372 eval 'cat <<_LTECHO_EOF
20374 _LTECHO_EOF'
20377 # Quote evaled strings.
20378 for var in SHELL \
20379 ECHO \
20380 SED \
20381 GREP \
20382 EGREP \
20383 FGREP \
20384 LD \
20385 NM \
20386 LN_S \
20387 lt_SP2NL \
20388 lt_NL2SP \
20389 reload_flag \
20390 OBJDUMP \
20391 deplibs_check_method \
20392 file_magic_cmd \
20393 file_magic_glob \
20394 want_nocaseglob \
20395 DLLTOOL \
20396 sharedlib_from_linklib_cmd \
20397 AR \
20398 AR_FLAGS \
20399 archiver_list_spec \
20400 STRIP \
20401 RANLIB \
20402 CC \
20403 CFLAGS \
20404 compiler \
20405 lt_cv_sys_global_symbol_pipe \
20406 lt_cv_sys_global_symbol_to_cdecl \
20407 lt_cv_sys_global_symbol_to_c_name_address \
20408 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20409 nm_file_list_spec \
20410 lt_prog_compiler_no_builtin_flag \
20411 lt_prog_compiler_pic \
20412 lt_prog_compiler_wl \
20413 lt_prog_compiler_static \
20414 lt_cv_prog_compiler_c_o \
20415 need_locks \
20416 MANIFEST_TOOL \
20417 DSYMUTIL \
20418 NMEDIT \
20419 LIPO \
20420 OTOOL \
20421 OTOOL64 \
20422 shrext_cmds \
20423 export_dynamic_flag_spec \
20424 whole_archive_flag_spec \
20425 compiler_needs_object \
20426 with_gnu_ld \
20427 allow_undefined_flag \
20428 no_undefined_flag \
20429 hardcode_libdir_flag_spec \
20430 hardcode_libdir_flag_spec_ld \
20431 hardcode_libdir_separator \
20432 exclude_expsyms \
20433 include_expsyms \
20434 file_list_spec \
20435 variables_saved_for_relink \
20436 libname_spec \
20437 library_names_spec \
20438 soname_spec \
20439 install_override_mode \
20440 finish_eval \
20441 old_striplib \
20442 striplib \
20443 compiler_lib_search_dirs \
20444 predep_objects \
20445 postdep_objects \
20446 predeps \
20447 postdeps \
20448 compiler_lib_search_path \
20449 LD_CXX \
20450 reload_flag_CXX \
20451 compiler_CXX \
20452 lt_prog_compiler_no_builtin_flag_CXX \
20453 lt_prog_compiler_pic_CXX \
20454 lt_prog_compiler_wl_CXX \
20455 lt_prog_compiler_static_CXX \
20456 lt_cv_prog_compiler_c_o_CXX \
20457 export_dynamic_flag_spec_CXX \
20458 whole_archive_flag_spec_CXX \
20459 compiler_needs_object_CXX \
20460 with_gnu_ld_CXX \
20461 allow_undefined_flag_CXX \
20462 no_undefined_flag_CXX \
20463 hardcode_libdir_flag_spec_CXX \
20464 hardcode_libdir_flag_spec_ld_CXX \
20465 hardcode_libdir_separator_CXX \
20466 exclude_expsyms_CXX \
20467 include_expsyms_CXX \
20468 file_list_spec_CXX \
20469 compiler_lib_search_dirs_CXX \
20470 predep_objects_CXX \
20471 postdep_objects_CXX \
20472 predeps_CXX \
20473 postdeps_CXX \
20474 compiler_lib_search_path_CXX; do
20475 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20476 *[\\\\\\\`\\"\\\$]*)
20477 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20480 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20482 esac
20483 done
20485 # Double-quote double-evaled strings.
20486 for var in reload_cmds \
20487 old_postinstall_cmds \
20488 old_postuninstall_cmds \
20489 old_archive_cmds \
20490 extract_expsyms_cmds \
20491 old_archive_from_new_cmds \
20492 old_archive_from_expsyms_cmds \
20493 archive_cmds \
20494 archive_expsym_cmds \
20495 module_cmds \
20496 module_expsym_cmds \
20497 export_symbols_cmds \
20498 prelink_cmds \
20499 postlink_cmds \
20500 postinstall_cmds \
20501 postuninstall_cmds \
20502 finish_cmds \
20503 sys_lib_search_path_spec \
20504 sys_lib_dlsearch_path_spec \
20505 reload_cmds_CXX \
20506 old_archive_cmds_CXX \
20507 old_archive_from_new_cmds_CXX \
20508 old_archive_from_expsyms_cmds_CXX \
20509 archive_cmds_CXX \
20510 archive_expsym_cmds_CXX \
20511 module_cmds_CXX \
20512 module_expsym_cmds_CXX \
20513 export_symbols_cmds_CXX \
20514 prelink_cmds_CXX \
20515 postlink_cmds_CXX; do
20516 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20517 *[\\\\\\\`\\"\\\$]*)
20518 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20521 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20523 esac
20524 done
20526 ac_aux_dir='$ac_aux_dir'
20527 xsi_shell='$xsi_shell'
20528 lt_shell_append='$lt_shell_append'
20530 # See if we are running on zsh, and set the options which allow our
20531 # commands through without removal of \ escapes INIT.
20532 if test -n "\${ZSH_VERSION+set}" ; then
20533 setopt NO_GLOB_SUBST
20537 PACKAGE='$PACKAGE'
20538 VERSION='$VERSION'
20539 TIMESTAMP='$TIMESTAMP'
20540 RM='$RM'
20541 ofile='$ofile'
20548 _ACEOF
20550 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20552 # Handling of arguments.
20553 for ac_config_target in $ac_config_targets
20555 case $ac_config_target in
20556 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
20557 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
20558 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
20559 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20560 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
20561 "include/quvi/Makefile") CONFIG_FILES="$CONFIG_FILES include/quvi/Makefile" ;;
20562 "include/quvi/quvi.h") CONFIG_FILES="$CONFIG_FILES include/quvi/quvi.h" ;;
20563 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
20564 "man1/Makefile") CONFIG_FILES="$CONFIG_FILES man1/Makefile" ;;
20565 "share/Makefile") CONFIG_FILES="$CONFIG_FILES share/Makefile" ;;
20566 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
20567 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
20568 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
20569 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
20570 "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
20571 "libquvi.pc") CONFIG_FILES="$CONFIG_FILES libquvi.pc" ;;
20572 "doxygen.conf") CONFIG_FILES="$CONFIG_FILES doxygen.conf" ;;
20574 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20575 esac
20576 done
20579 # If the user did not use the arguments to specify the items to instantiate,
20580 # then the envvar interface is used. Set only those that are not.
20581 # We use the long form for the default assignment because of an extremely
20582 # bizarre bug on SunOS 4.1.3.
20583 if $ac_need_defaults; then
20584 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20585 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20586 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20589 # Have a temporary directory for convenience. Make it in the build tree
20590 # simply because there is no reason against having it here, and in addition,
20591 # creating and moving files from /tmp can sometimes cause problems.
20592 # Hook for its removal unless debugging.
20593 # Note that there is a small window in which the directory will not be cleaned:
20594 # after its creation but before its name has been assigned to `$tmp'.
20595 $debug ||
20597 tmp= ac_tmp=
20598 trap 'exit_status=$?
20599 : "${ac_tmp:=$tmp}"
20600 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20602 trap 'as_fn_exit 1' 1 2 13 15
20604 # Create a (secure) tmp directory for tmp files.
20607 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20608 test -d "$tmp"
20609 } ||
20611 tmp=./conf$$-$RANDOM
20612 (umask 077 && mkdir "$tmp")
20613 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20614 ac_tmp=$tmp
20616 # Set up the scripts for CONFIG_FILES section.
20617 # No need to generate them if there are no CONFIG_FILES.
20618 # This happens for instance with `./config.status config.h'.
20619 if test -n "$CONFIG_FILES"; then
20622 ac_cr=`echo X | tr X '\015'`
20623 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20624 # But we know of no other shell where ac_cr would be empty at this
20625 # point, so we can use a bashism as a fallback.
20626 if test "x$ac_cr" = x; then
20627 eval ac_cr=\$\'\\r\'
20629 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20630 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20631 ac_cs_awk_cr='\\r'
20632 else
20633 ac_cs_awk_cr=$ac_cr
20636 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20637 _ACEOF
20641 echo "cat >conf$$subs.awk <<_ACEOF" &&
20642 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20643 echo "_ACEOF"
20644 } >conf$$subs.sh ||
20645 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20646 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20647 ac_delim='%!_!# '
20648 for ac_last_try in false false false false false :; do
20649 . ./conf$$subs.sh ||
20650 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20652 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20653 if test $ac_delim_n = $ac_delim_num; then
20654 break
20655 elif $ac_last_try; then
20656 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20657 else
20658 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20660 done
20661 rm -f conf$$subs.sh
20663 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20664 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20665 _ACEOF
20666 sed -n '
20668 s/^/S["/; s/!.*/"]=/
20671 s/^[^!]*!//
20672 :repl
20673 t repl
20674 s/'"$ac_delim"'$//
20675 t delim
20678 s/\(.\{148\}\)..*/\1/
20679 t more1
20680 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20683 b repl
20684 :more1
20685 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20688 s/.\{148\}//
20689 t nl
20690 :delim
20692 s/\(.\{148\}\)..*/\1/
20693 t more2
20694 s/["\\]/\\&/g; s/^/"/; s/$/"/
20697 :more2
20698 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20701 s/.\{148\}//
20702 t delim
20703 ' <conf$$subs.awk | sed '
20704 /^[^""]/{
20706 s/\n//
20708 ' >>$CONFIG_STATUS || ac_write_fail=1
20709 rm -f conf$$subs.awk
20710 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20711 _ACAWK
20712 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20713 for (key in S) S_is_set[key] = 1
20714 FS = "\a"
20718 line = $ 0
20719 nfields = split(line, field, "@")
20720 substed = 0
20721 len = length(field[1])
20722 for (i = 2; i < nfields; i++) {
20723 key = field[i]
20724 keylen = length(key)
20725 if (S_is_set[key]) {
20726 value = S[key]
20727 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20728 len += length(value) + length(field[++i])
20729 substed = 1
20730 } else
20731 len += 1 + keylen
20734 print line
20737 _ACAWK
20738 _ACEOF
20739 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20740 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20741 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20742 else
20744 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20745 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20746 _ACEOF
20748 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20749 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20750 # trailing colons and then remove the whole line if VPATH becomes empty
20751 # (actually we leave an empty line to preserve line numbers).
20752 if test "x$srcdir" = x.; then
20753 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20755 s///
20756 s/^/:/
20757 s/[ ]*$/:/
20758 s/:\$(srcdir):/:/g
20759 s/:\${srcdir}:/:/g
20760 s/:@srcdir@:/:/g
20761 s/^:*//
20762 s/:*$//
20764 s/\(=[ ]*\).*/\1/
20766 s/\n//
20767 s/^[^=]*=[ ]*$//
20771 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20772 fi # test -n "$CONFIG_FILES"
20774 # Set up the scripts for CONFIG_HEADERS section.
20775 # No need to generate them if there are no CONFIG_HEADERS.
20776 # This happens for instance with `./config.status Makefile'.
20777 if test -n "$CONFIG_HEADERS"; then
20778 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20779 BEGIN {
20780 _ACEOF
20782 # Transform confdefs.h into an awk script `defines.awk', embedded as
20783 # here-document in config.status, that substitutes the proper values into
20784 # config.h.in to produce config.h.
20786 # Create a delimiter string that does not exist in confdefs.h, to ease
20787 # handling of long lines.
20788 ac_delim='%!_!# '
20789 for ac_last_try in false false :; do
20790 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20791 if test -z "$ac_tt"; then
20792 break
20793 elif $ac_last_try; then
20794 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20795 else
20796 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20798 done
20800 # For the awk script, D is an array of macro values keyed by name,
20801 # likewise P contains macro parameters if any. Preserve backslash
20802 # newline sequences.
20804 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20805 sed -n '
20806 s/.\{148\}/&'"$ac_delim"'/g
20807 t rset
20808 :rset
20809 s/^[ ]*#[ ]*define[ ][ ]*/ /
20810 t def
20812 :def
20813 s/\\$//
20814 t bsnl
20815 s/["\\]/\\&/g
20816 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20817 D["\1"]=" \3"/p
20818 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20820 :bsnl
20821 s/["\\]/\\&/g
20822 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20823 D["\1"]=" \3\\\\\\n"\\/p
20824 t cont
20825 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20826 t cont
20828 :cont
20830 s/.\{148\}/&'"$ac_delim"'/g
20831 t clear
20832 :clear
20833 s/\\$//
20834 t bsnlc
20835 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20837 :bsnlc
20838 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20839 b cont
20840 ' <confdefs.h | sed '
20841 s/'"$ac_delim"'/"\\\
20842 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20844 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20845 for (key in D) D_is_set[key] = 1
20846 FS = "\a"
20848 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20849 line = \$ 0
20850 split(line, arg, " ")
20851 if (arg[1] == "#") {
20852 defundef = arg[2]
20853 mac1 = arg[3]
20854 } else {
20855 defundef = substr(arg[1], 2)
20856 mac1 = arg[2]
20858 split(mac1, mac2, "(") #)
20859 macro = mac2[1]
20860 prefix = substr(line, 1, index(line, defundef) - 1)
20861 if (D_is_set[macro]) {
20862 # Preserve the white space surrounding the "#".
20863 print prefix "define", macro P[macro] D[macro]
20864 next
20865 } else {
20866 # Replace #undef with comments. This is necessary, for example,
20867 # in the case of _POSIX_SOURCE, which is predefined and required
20868 # on some systems where configure will not decide to define it.
20869 if (defundef == "undef") {
20870 print "/*", prefix defundef, macro, "*/"
20871 next
20875 { print }
20876 _ACAWK
20877 _ACEOF
20878 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20879 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20880 fi # test -n "$CONFIG_HEADERS"
20883 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
20884 shift
20885 for ac_tag
20887 case $ac_tag in
20888 :[FHLC]) ac_mode=$ac_tag; continue;;
20889 esac
20890 case $ac_mode$ac_tag in
20891 :[FHL]*:*);;
20892 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20893 :[FH]-) ac_tag=-:-;;
20894 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20895 esac
20896 ac_save_IFS=$IFS
20897 IFS=:
20898 set x $ac_tag
20899 IFS=$ac_save_IFS
20900 shift
20901 ac_file=$1
20902 shift
20904 case $ac_mode in
20905 :L) ac_source=$1;;
20906 :[FH])
20907 ac_file_inputs=
20908 for ac_f
20910 case $ac_f in
20911 -) ac_f="$ac_tmp/stdin";;
20912 *) # Look for the file first in the build tree, then in the source tree
20913 # (if the path is not absolute). The absolute path cannot be DOS-style,
20914 # because $ac_f cannot contain `:'.
20915 test -f "$ac_f" ||
20916 case $ac_f in
20917 [\\/$]*) false;;
20918 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20919 esac ||
20920 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20921 esac
20922 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20923 as_fn_append ac_file_inputs " '$ac_f'"
20924 done
20926 # Let's still pretend it is `configure' which instantiates (i.e., don't
20927 # use $as_me), people would be surprised to read:
20928 # /* config.h. Generated by config.status. */
20929 configure_input='Generated from '`
20930 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20931 `' by configure.'
20932 if test x"$ac_file" != x-; then
20933 configure_input="$ac_file. $configure_input"
20934 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20935 $as_echo "$as_me: creating $ac_file" >&6;}
20937 # Neutralize special characters interpreted by sed in replacement strings.
20938 case $configure_input in #(
20939 *\&* | *\|* | *\\* )
20940 ac_sed_conf_input=`$as_echo "$configure_input" |
20941 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20942 *) ac_sed_conf_input=$configure_input;;
20943 esac
20945 case $ac_tag in
20946 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20947 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20948 esac
20950 esac
20952 ac_dir=`$as_dirname -- "$ac_file" ||
20953 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20954 X"$ac_file" : 'X\(//\)[^/]' \| \
20955 X"$ac_file" : 'X\(//\)$' \| \
20956 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20957 $as_echo X"$ac_file" |
20958 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20959 s//\1/
20962 /^X\(\/\/\)[^/].*/{
20963 s//\1/
20966 /^X\(\/\/\)$/{
20967 s//\1/
20970 /^X\(\/\).*/{
20971 s//\1/
20974 s/.*/./; q'`
20975 as_dir="$ac_dir"; as_fn_mkdir_p
20976 ac_builddir=.
20978 case "$ac_dir" in
20979 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20981 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20982 # A ".." for each directory in $ac_dir_suffix.
20983 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20984 case $ac_top_builddir_sub in
20985 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20986 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20987 esac ;;
20988 esac
20989 ac_abs_top_builddir=$ac_pwd
20990 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20991 # for backward compatibility:
20992 ac_top_builddir=$ac_top_build_prefix
20994 case $srcdir in
20995 .) # We are building in place.
20996 ac_srcdir=.
20997 ac_top_srcdir=$ac_top_builddir_sub
20998 ac_abs_top_srcdir=$ac_pwd ;;
20999 [\\/]* | ?:[\\/]* ) # Absolute name.
21000 ac_srcdir=$srcdir$ac_dir_suffix;
21001 ac_top_srcdir=$srcdir
21002 ac_abs_top_srcdir=$srcdir ;;
21003 *) # Relative name.
21004 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21005 ac_top_srcdir=$ac_top_build_prefix$srcdir
21006 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21007 esac
21008 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21011 case $ac_mode in
21014 # CONFIG_FILE
21017 case $INSTALL in
21018 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21019 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
21020 esac
21021 ac_MKDIR_P=$MKDIR_P
21022 case $MKDIR_P in
21023 [\\/$]* | ?:[\\/]* ) ;;
21024 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
21025 esac
21026 _ACEOF
21028 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21029 # If the template does not know about datarootdir, expand it.
21030 # FIXME: This hack should be removed a few years after 2.60.
21031 ac_datarootdir_hack=; ac_datarootdir_seen=
21032 ac_sed_dataroot='
21033 /datarootdir/ {
21037 /@datadir@/p
21038 /@docdir@/p
21039 /@infodir@/p
21040 /@localedir@/p
21041 /@mandir@/p'
21042 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21043 *datarootdir*) ac_datarootdir_seen=yes;;
21044 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21046 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21047 _ACEOF
21048 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21049 ac_datarootdir_hack='
21050 s&@datadir@&$datadir&g
21051 s&@docdir@&$docdir&g
21052 s&@infodir@&$infodir&g
21053 s&@localedir@&$localedir&g
21054 s&@mandir@&$mandir&g
21055 s&\\\${datarootdir}&$datarootdir&g' ;;
21056 esac
21057 _ACEOF
21059 # Neutralize VPATH when `$srcdir' = `.'.
21060 # Shell code in configure.ac might set extrasub.
21061 # FIXME: do we really want to maintain this feature?
21062 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21063 ac_sed_extra="$ac_vpsub
21064 $extrasub
21065 _ACEOF
21066 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21068 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21069 s|@configure_input@|$ac_sed_conf_input|;t t
21070 s&@top_builddir@&$ac_top_builddir_sub&;t t
21071 s&@top_build_prefix@&$ac_top_build_prefix&;t t
21072 s&@srcdir@&$ac_srcdir&;t t
21073 s&@abs_srcdir@&$ac_abs_srcdir&;t t
21074 s&@top_srcdir@&$ac_top_srcdir&;t t
21075 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
21076 s&@builddir@&$ac_builddir&;t t
21077 s&@abs_builddir@&$ac_abs_builddir&;t t
21078 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
21079 s&@INSTALL@&$ac_INSTALL&;t t
21080 s&@MKDIR_P@&$ac_MKDIR_P&;t t
21081 $ac_datarootdir_hack
21083 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
21084 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21086 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21087 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
21088 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21089 "$ac_tmp/out"`; test -z "$ac_out"; } &&
21090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21091 which seems to be undefined. Please make sure it is defined" >&5
21092 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21093 which seems to be undefined. Please make sure it is defined" >&2;}
21095 rm -f "$ac_tmp/stdin"
21096 case $ac_file in
21097 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21098 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21099 esac \
21100 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21104 # CONFIG_HEADER
21106 if test x"$ac_file" != x-; then
21108 $as_echo "/* $configure_input */" \
21109 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21110 } >"$ac_tmp/config.h" \
21111 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21112 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21113 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21114 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21115 else
21116 rm -f "$ac_file"
21117 mv "$ac_tmp/config.h" "$ac_file" \
21118 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21120 else
21121 $as_echo "/* $configure_input */" \
21122 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21123 || as_fn_error $? "could not create -" "$LINENO" 5
21125 # Compute "$ac_file"'s index in $config_headers.
21126 _am_arg="$ac_file"
21127 _am_stamp_count=1
21128 for _am_header in $config_headers :; do
21129 case $_am_header in
21130 $_am_arg | $_am_arg:* )
21131 break ;;
21133 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
21134 esac
21135 done
21136 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
21137 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21138 X"$_am_arg" : 'X\(//\)[^/]' \| \
21139 X"$_am_arg" : 'X\(//\)$' \| \
21140 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
21141 $as_echo X"$_am_arg" |
21142 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21143 s//\1/
21146 /^X\(\/\/\)[^/].*/{
21147 s//\1/
21150 /^X\(\/\/\)$/{
21151 s//\1/
21154 /^X\(\/\).*/{
21155 s//\1/
21158 s/.*/./; q'`/stamp-h$_am_stamp_count
21161 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21162 $as_echo "$as_me: executing $ac_file commands" >&6;}
21164 esac
21167 case $ac_file$ac_mode in
21168 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
21169 # Autoconf 2.62 quotes --file arguments for eval, but not when files
21170 # are listed without --file. Let's play safe and only enable the eval
21171 # if we detect the quoting.
21172 case $CONFIG_FILES in
21173 *\'*) eval set x "$CONFIG_FILES" ;;
21174 *) set x $CONFIG_FILES ;;
21175 esac
21176 shift
21177 for mf
21179 # Strip MF so we end up with the name of the file.
21180 mf=`echo "$mf" | sed -e 's/:.*$//'`
21181 # Check whether this is an Automake generated Makefile or not.
21182 # We used to match only the files named `Makefile.in', but
21183 # some people rename them; so instead we look at the file content.
21184 # Grep'ing the first line is not enough: some people post-process
21185 # each Makefile.in and add a new line on top of each file to say so.
21186 # Grep'ing the whole file is not good either: AIX grep has a line
21187 # limit of 2048, but all sed's we know have understand at least 4000.
21188 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
21189 dirpart=`$as_dirname -- "$mf" ||
21190 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21191 X"$mf" : 'X\(//\)[^/]' \| \
21192 X"$mf" : 'X\(//\)$' \| \
21193 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21194 $as_echo X"$mf" |
21195 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21196 s//\1/
21199 /^X\(\/\/\)[^/].*/{
21200 s//\1/
21203 /^X\(\/\/\)$/{
21204 s//\1/
21207 /^X\(\/\).*/{
21208 s//\1/
21211 s/.*/./; q'`
21212 else
21213 continue
21215 # Extract the definition of DEPDIR, am__include, and am__quote
21216 # from the Makefile without running `make'.
21217 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
21218 test -z "$DEPDIR" && continue
21219 am__include=`sed -n 's/^am__include = //p' < "$mf"`
21220 test -z "am__include" && continue
21221 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
21222 # When using ansi2knr, U may be empty or an underscore; expand it
21223 U=`sed -n 's/^U = //p' < "$mf"`
21224 # Find all dependency output files, they are included files with
21225 # $(DEPDIR) in their names. We invoke sed twice because it is the
21226 # simplest approach to changing $(DEPDIR) to its actual value in the
21227 # expansion.
21228 for file in `sed -n "
21229 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21230 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21231 # Make sure the directory exists.
21232 test -f "$dirpart/$file" && continue
21233 fdir=`$as_dirname -- "$file" ||
21234 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21235 X"$file" : 'X\(//\)[^/]' \| \
21236 X"$file" : 'X\(//\)$' \| \
21237 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21238 $as_echo X"$file" |
21239 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21240 s//\1/
21243 /^X\(\/\/\)[^/].*/{
21244 s//\1/
21247 /^X\(\/\/\)$/{
21248 s//\1/
21251 /^X\(\/\).*/{
21252 s//\1/
21255 s/.*/./; q'`
21256 as_dir=$dirpart/$fdir; as_fn_mkdir_p
21257 # echo "creating $dirpart/$file"
21258 echo '# dummy' > "$dirpart/$file"
21259 done
21260 done
21263 "libtool":C)
21265 # See if we are running on zsh, and set the options which allow our
21266 # commands through without removal of \ escapes.
21267 if test -n "${ZSH_VERSION+set}" ; then
21268 setopt NO_GLOB_SUBST
21271 cfgfile="${ofile}T"
21272 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21273 $RM "$cfgfile"
21275 cat <<_LT_EOF >> "$cfgfile"
21276 #! $SHELL
21278 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
21279 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
21280 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21281 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21283 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21284 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
21285 # Inc.
21286 # Written by Gordon Matzigkeit, 1996
21288 # This file is part of GNU Libtool.
21290 # GNU Libtool is free software; you can redistribute it and/or
21291 # modify it under the terms of the GNU General Public License as
21292 # published by the Free Software Foundation; either version 2 of
21293 # the License, or (at your option) any later version.
21295 # As a special exception to the GNU General Public License,
21296 # if you distribute this file as part of a program or library that
21297 # is built using GNU Libtool, you may include this file under the
21298 # same distribution terms that you use for the rest of that program.
21300 # GNU Libtool is distributed in the hope that it will be useful,
21301 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21302 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21303 # GNU General Public License for more details.
21305 # You should have received a copy of the GNU General Public License
21306 # along with GNU Libtool; see the file COPYING. If not, a copy
21307 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
21308 # obtained by writing to the Free Software Foundation, Inc.,
21309 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21312 # The names of the tagged configurations supported by this script.
21313 available_tags="CXX "
21315 # ### BEGIN LIBTOOL CONFIG
21317 # Which release of libtool.m4 was used?
21318 macro_version=$macro_version
21319 macro_revision=$macro_revision
21321 # Whether or not to build shared libraries.
21322 build_libtool_libs=$enable_shared
21324 # Whether or not to build static libraries.
21325 build_old_libs=$enable_static
21327 # What type of objects to build.
21328 pic_mode=$pic_mode
21330 # Whether or not to optimize for fast installation.
21331 fast_install=$enable_fast_install
21333 # Shell to use when invoking shell scripts.
21334 SHELL=$lt_SHELL
21336 # An echo program that protects backslashes.
21337 ECHO=$lt_ECHO
21339 # The host system.
21340 host_alias=$host_alias
21341 host=$host
21342 host_os=$host_os
21344 # The build system.
21345 build_alias=$build_alias
21346 build=$build
21347 build_os=$build_os
21349 # A sed program that does not truncate output.
21350 SED=$lt_SED
21352 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21353 Xsed="\$SED -e 1s/^X//"
21355 # A grep program that handles long lines.
21356 GREP=$lt_GREP
21358 # An ERE matcher.
21359 EGREP=$lt_EGREP
21361 # A literal string matcher.
21362 FGREP=$lt_FGREP
21364 # A BSD- or MS-compatible name lister.
21365 NM=$lt_NM
21367 # Whether we need soft or hard links.
21368 LN_S=$lt_LN_S
21370 # What is the maximum length of a command?
21371 max_cmd_len=$max_cmd_len
21373 # Object file suffix (normally "o").
21374 objext=$ac_objext
21376 # Executable file suffix (normally "").
21377 exeext=$exeext
21379 # whether the shell understands "unset".
21380 lt_unset=$lt_unset
21382 # turn spaces into newlines.
21383 SP2NL=$lt_lt_SP2NL
21385 # turn newlines into spaces.
21386 NL2SP=$lt_lt_NL2SP
21388 # convert \$build file names to \$host format.
21389 to_host_file_cmd=$lt_cv_to_host_file_cmd
21391 # convert \$build files to toolchain format.
21392 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
21394 # An object symbol dumper.
21395 OBJDUMP=$lt_OBJDUMP
21397 # Method to check whether dependent libraries are shared objects.
21398 deplibs_check_method=$lt_deplibs_check_method
21400 # Command to use when deplibs_check_method = "file_magic".
21401 file_magic_cmd=$lt_file_magic_cmd
21403 # How to find potential files when deplibs_check_method = "file_magic".
21404 file_magic_glob=$lt_file_magic_glob
21406 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
21407 want_nocaseglob=$lt_want_nocaseglob
21409 # DLL creation program.
21410 DLLTOOL=$lt_DLLTOOL
21412 # Command to associate shared and link libraries.
21413 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
21415 # The archiver.
21416 AR=$lt_AR
21418 # Flags to create an archive.
21419 AR_FLAGS=$lt_AR_FLAGS
21421 # How to feed a file listing to the archiver.
21422 archiver_list_spec=$lt_archiver_list_spec
21424 # A symbol stripping program.
21425 STRIP=$lt_STRIP
21427 # Commands used to install an old-style archive.
21428 RANLIB=$lt_RANLIB
21429 old_postinstall_cmds=$lt_old_postinstall_cmds
21430 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21432 # Whether to use a lock for old archive extraction.
21433 lock_old_archive_extraction=$lock_old_archive_extraction
21435 # A C compiler.
21436 LTCC=$lt_CC
21438 # LTCC compiler flags.
21439 LTCFLAGS=$lt_CFLAGS
21441 # Take the output of nm and produce a listing of raw symbols and C names.
21442 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21444 # Transform the output of nm in a proper C declaration.
21445 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21447 # Transform the output of nm in a C name address pair.
21448 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21450 # Transform the output of nm in a C name address pair when lib prefix is needed.
21451 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21453 # Specify filename containing input files for \$NM.
21454 nm_file_list_spec=$lt_nm_file_list_spec
21456 # The root where to search for dependent libraries,and in which our libraries should be installed.
21457 lt_sysroot=$lt_sysroot
21459 # The name of the directory that contains temporary libtool files.
21460 objdir=$objdir
21462 # Used to examine libraries when file_magic_cmd begins with "file".
21463 MAGIC_CMD=$MAGIC_CMD
21465 # Must we lock files when doing compilation?
21466 need_locks=$lt_need_locks
21468 # Manifest tool.
21469 MANIFEST_TOOL=$lt_MANIFEST_TOOL
21471 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21472 DSYMUTIL=$lt_DSYMUTIL
21474 # Tool to change global to local symbols on Mac OS X.
21475 NMEDIT=$lt_NMEDIT
21477 # Tool to manipulate fat objects and archives on Mac OS X.
21478 LIPO=$lt_LIPO
21480 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21481 OTOOL=$lt_OTOOL
21483 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21484 OTOOL64=$lt_OTOOL64
21486 # Old archive suffix (normally "a").
21487 libext=$libext
21489 # Shared library suffix (normally ".so").
21490 shrext_cmds=$lt_shrext_cmds
21492 # The commands to extract the exported symbol list from a shared archive.
21493 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21495 # Variables whose values should be saved in libtool wrapper scripts and
21496 # restored at link time.
21497 variables_saved_for_relink=$lt_variables_saved_for_relink
21499 # Do we need the "lib" prefix for modules?
21500 need_lib_prefix=$need_lib_prefix
21502 # Do we need a version for libraries?
21503 need_version=$need_version
21505 # Library versioning type.
21506 version_type=$version_type
21508 # Shared library runtime path variable.
21509 runpath_var=$runpath_var
21511 # Shared library path variable.
21512 shlibpath_var=$shlibpath_var
21514 # Is shlibpath searched before the hard-coded library search path?
21515 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21517 # Format of library name prefix.
21518 libname_spec=$lt_libname_spec
21520 # List of archive names. First name is the real one, the rest are links.
21521 # The last name is the one that the linker finds with -lNAME
21522 library_names_spec=$lt_library_names_spec
21524 # The coded name of the library, if different from the real name.
21525 soname_spec=$lt_soname_spec
21527 # Permission mode override for installation of shared libraries.
21528 install_override_mode=$lt_install_override_mode
21530 # Command to use after installation of a shared archive.
21531 postinstall_cmds=$lt_postinstall_cmds
21533 # Command to use after uninstallation of a shared archive.
21534 postuninstall_cmds=$lt_postuninstall_cmds
21536 # Commands used to finish a libtool library installation in a directory.
21537 finish_cmds=$lt_finish_cmds
21539 # As "finish_cmds", except a single script fragment to be evaled but
21540 # not shown.
21541 finish_eval=$lt_finish_eval
21543 # Whether we should hardcode library paths into libraries.
21544 hardcode_into_libs=$hardcode_into_libs
21546 # Compile-time system search path for libraries.
21547 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21549 # Run-time system search path for libraries.
21550 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21552 # Whether dlopen is supported.
21553 dlopen_support=$enable_dlopen
21555 # Whether dlopen of programs is supported.
21556 dlopen_self=$enable_dlopen_self
21558 # Whether dlopen of statically linked programs is supported.
21559 dlopen_self_static=$enable_dlopen_self_static
21561 # Commands to strip libraries.
21562 old_striplib=$lt_old_striplib
21563 striplib=$lt_striplib
21566 # The linker used to build libraries.
21567 LD=$lt_LD
21569 # How to create reloadable object files.
21570 reload_flag=$lt_reload_flag
21571 reload_cmds=$lt_reload_cmds
21573 # Commands used to build an old-style archive.
21574 old_archive_cmds=$lt_old_archive_cmds
21576 # A language specific compiler.
21577 CC=$lt_compiler
21579 # Is the compiler the GNU compiler?
21580 with_gcc=$GCC
21582 # Compiler flag to turn off builtin functions.
21583 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21585 # Additional compiler flags for building library objects.
21586 pic_flag=$lt_lt_prog_compiler_pic
21588 # How to pass a linker flag through the compiler.
21589 wl=$lt_lt_prog_compiler_wl
21591 # Compiler flag to prevent dynamic linking.
21592 link_static_flag=$lt_lt_prog_compiler_static
21594 # Does compiler simultaneously support -c and -o options?
21595 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21597 # Whether or not to add -lc for building shared libraries.
21598 build_libtool_need_lc=$archive_cmds_need_lc
21600 # Whether or not to disallow shared libs when runtime libs are static.
21601 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21603 # Compiler flag to allow reflexive dlopens.
21604 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21606 # Compiler flag to generate shared objects directly from archives.
21607 whole_archive_flag_spec=$lt_whole_archive_flag_spec
21609 # Whether the compiler copes with passing no objects directly.
21610 compiler_needs_object=$lt_compiler_needs_object
21612 # Create an old-style archive from a shared archive.
21613 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21615 # Create a temporary old-style archive to link instead of a shared archive.
21616 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21618 # Commands used to build a shared archive.
21619 archive_cmds=$lt_archive_cmds
21620 archive_expsym_cmds=$lt_archive_expsym_cmds
21622 # Commands used to build a loadable module if different from building
21623 # a shared archive.
21624 module_cmds=$lt_module_cmds
21625 module_expsym_cmds=$lt_module_expsym_cmds
21627 # Whether we are building with GNU ld or not.
21628 with_gnu_ld=$lt_with_gnu_ld
21630 # Flag that allows shared libraries with undefined symbols to be built.
21631 allow_undefined_flag=$lt_allow_undefined_flag
21633 # Flag that enforces no undefined symbols.
21634 no_undefined_flag=$lt_no_undefined_flag
21636 # Flag to hardcode \$libdir into a binary during linking.
21637 # This must work even if \$libdir does not exist
21638 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21640 # If ld is used when linking, flag to hardcode \$libdir into a binary
21641 # during linking. This must work even if \$libdir does not exist.
21642 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
21644 # Whether we need a single "-rpath" flag with a separated argument.
21645 hardcode_libdir_separator=$lt_hardcode_libdir_separator
21647 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21648 # DIR into the resulting binary.
21649 hardcode_direct=$hardcode_direct
21651 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21652 # DIR into the resulting binary and the resulting library dependency is
21653 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21654 # library is relocated.
21655 hardcode_direct_absolute=$hardcode_direct_absolute
21657 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21658 # into the resulting binary.
21659 hardcode_minus_L=$hardcode_minus_L
21661 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21662 # into the resulting binary.
21663 hardcode_shlibpath_var=$hardcode_shlibpath_var
21665 # Set to "yes" if building a shared library automatically hardcodes DIR
21666 # into the library and all subsequent libraries and executables linked
21667 # against it.
21668 hardcode_automatic=$hardcode_automatic
21670 # Set to yes if linker adds runtime paths of dependent libraries
21671 # to runtime path list.
21672 inherit_rpath=$inherit_rpath
21674 # Whether libtool must link a program against all its dependency libraries.
21675 link_all_deplibs=$link_all_deplibs
21677 # Set to "yes" if exported symbols are required.
21678 always_export_symbols=$always_export_symbols
21680 # The commands to list exported symbols.
21681 export_symbols_cmds=$lt_export_symbols_cmds
21683 # Symbols that should not be listed in the preloaded symbols.
21684 exclude_expsyms=$lt_exclude_expsyms
21686 # Symbols that must always be exported.
21687 include_expsyms=$lt_include_expsyms
21689 # Commands necessary for linking programs (against libraries) with templates.
21690 prelink_cmds=$lt_prelink_cmds
21692 # Commands necessary for finishing linking programs.
21693 postlink_cmds=$lt_postlink_cmds
21695 # Specify filename containing input files.
21696 file_list_spec=$lt_file_list_spec
21698 # How to hardcode a shared library path into an executable.
21699 hardcode_action=$hardcode_action
21701 # The directories searched by this compiler when creating a shared library.
21702 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
21704 # Dependencies to place before and after the objects being linked to
21705 # create a shared library.
21706 predep_objects=$lt_predep_objects
21707 postdep_objects=$lt_postdep_objects
21708 predeps=$lt_predeps
21709 postdeps=$lt_postdeps
21711 # The library search path used internally by the compiler when linking
21712 # a shared library.
21713 compiler_lib_search_path=$lt_compiler_lib_search_path
21715 # ### END LIBTOOL CONFIG
21717 _LT_EOF
21719 case $host_os in
21720 aix3*)
21721 cat <<\_LT_EOF >> "$cfgfile"
21722 # AIX sometimes has problems with the GCC collect2 program. For some
21723 # reason, if we set the COLLECT_NAMES environment variable, the problems
21724 # vanish in a puff of smoke.
21725 if test "X${COLLECT_NAMES+set}" != Xset; then
21726 COLLECT_NAMES=
21727 export COLLECT_NAMES
21729 _LT_EOF
21731 esac
21734 ltmain="$ac_aux_dir/ltmain.sh"
21737 # We use sed instead of cat because bash on DJGPP gets confused if
21738 # if finds mixed CR/LF and LF-only lines. Since sed operates in
21739 # text mode, it properly converts lines to CR/LF. This bash problem
21740 # is reportedly fixed, but why not run on old versions too?
21741 sed '$q' "$ltmain" >> "$cfgfile" \
21742 || (rm -f "$cfgfile"; exit 1)
21744 if test x"$xsi_shell" = xyes; then
21745 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
21746 func_dirname ()\
21748 \ case ${1} in\
21749 \ */*) func_dirname_result="${1%/*}${2}" ;;\
21750 \ * ) func_dirname_result="${3}" ;;\
21751 \ esac\
21752 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
21753 && mv -f "$cfgfile.tmp" "$cfgfile" \
21754 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21755 test 0 -eq $? || _lt_function_replace_fail=:
21758 sed -e '/^func_basename ()$/,/^} # func_basename /c\
21759 func_basename ()\
21761 \ func_basename_result="${1##*/}"\
21762 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
21763 && mv -f "$cfgfile.tmp" "$cfgfile" \
21764 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21765 test 0 -eq $? || _lt_function_replace_fail=:
21768 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
21769 func_dirname_and_basename ()\
21771 \ case ${1} in\
21772 \ */*) func_dirname_result="${1%/*}${2}" ;;\
21773 \ * ) func_dirname_result="${3}" ;;\
21774 \ esac\
21775 \ func_basename_result="${1##*/}"\
21776 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
21777 && mv -f "$cfgfile.tmp" "$cfgfile" \
21778 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21779 test 0 -eq $? || _lt_function_replace_fail=:
21782 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
21783 func_stripname ()\
21785 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
21786 \ # positional parameters, so assign one to ordinary parameter first.\
21787 \ func_stripname_result=${3}\
21788 \ func_stripname_result=${func_stripname_result#"${1}"}\
21789 \ func_stripname_result=${func_stripname_result%"${2}"}\
21790 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
21791 && mv -f "$cfgfile.tmp" "$cfgfile" \
21792 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21793 test 0 -eq $? || _lt_function_replace_fail=:
21796 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
21797 func_split_long_opt ()\
21799 \ func_split_long_opt_name=${1%%=*}\
21800 \ func_split_long_opt_arg=${1#*=}\
21801 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
21802 && mv -f "$cfgfile.tmp" "$cfgfile" \
21803 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21804 test 0 -eq $? || _lt_function_replace_fail=:
21807 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
21808 func_split_short_opt ()\
21810 \ func_split_short_opt_arg=${1#??}\
21811 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
21812 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
21813 && mv -f "$cfgfile.tmp" "$cfgfile" \
21814 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21815 test 0 -eq $? || _lt_function_replace_fail=:
21818 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
21819 func_lo2o ()\
21821 \ case ${1} in\
21822 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
21823 \ *) func_lo2o_result=${1} ;;\
21824 \ esac\
21825 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
21826 && mv -f "$cfgfile.tmp" "$cfgfile" \
21827 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21828 test 0 -eq $? || _lt_function_replace_fail=:
21831 sed -e '/^func_xform ()$/,/^} # func_xform /c\
21832 func_xform ()\
21834 func_xform_result=${1%.*}.lo\
21835 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
21836 && mv -f "$cfgfile.tmp" "$cfgfile" \
21837 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21838 test 0 -eq $? || _lt_function_replace_fail=:
21841 sed -e '/^func_arith ()$/,/^} # func_arith /c\
21842 func_arith ()\
21844 func_arith_result=$(( $* ))\
21845 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
21846 && mv -f "$cfgfile.tmp" "$cfgfile" \
21847 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21848 test 0 -eq $? || _lt_function_replace_fail=:
21851 sed -e '/^func_len ()$/,/^} # func_len /c\
21852 func_len ()\
21854 func_len_result=${#1}\
21855 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
21856 && mv -f "$cfgfile.tmp" "$cfgfile" \
21857 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21858 test 0 -eq $? || _lt_function_replace_fail=:
21862 if test x"$lt_shell_append" = xyes; then
21863 sed -e '/^func_append ()$/,/^} # func_append /c\
21864 func_append ()\
21866 eval "${1}+=\\${2}"\
21867 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
21868 && mv -f "$cfgfile.tmp" "$cfgfile" \
21869 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21870 test 0 -eq $? || _lt_function_replace_fail=:
21873 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
21874 func_append_quoted ()\
21876 \ func_quote_for_eval "${2}"\
21877 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
21878 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
21879 && mv -f "$cfgfile.tmp" "$cfgfile" \
21880 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21881 test 0 -eq $? || _lt_function_replace_fail=:
21884 # Save a `func_append' function call where possible by direct use of '+='
21885 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
21886 && mv -f "$cfgfile.tmp" "$cfgfile" \
21887 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21888 test 0 -eq $? || _lt_function_replace_fail=:
21889 else
21890 # Save a `func_append' function call even when '+=' is not available
21891 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
21892 && mv -f "$cfgfile.tmp" "$cfgfile" \
21893 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21894 test 0 -eq $? || _lt_function_replace_fail=:
21897 if test x"$_lt_function_replace_fail" = x":"; then
21898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
21899 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
21903 mv -f "$cfgfile" "$ofile" ||
21904 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
21905 chmod +x "$ofile"
21908 cat <<_LT_EOF >> "$ofile"
21910 # ### BEGIN LIBTOOL TAG CONFIG: CXX
21912 # The linker used to build libraries.
21913 LD=$lt_LD_CXX
21915 # How to create reloadable object files.
21916 reload_flag=$lt_reload_flag_CXX
21917 reload_cmds=$lt_reload_cmds_CXX
21919 # Commands used to build an old-style archive.
21920 old_archive_cmds=$lt_old_archive_cmds_CXX
21922 # A language specific compiler.
21923 CC=$lt_compiler_CXX
21925 # Is the compiler the GNU compiler?
21926 with_gcc=$GCC_CXX
21928 # Compiler flag to turn off builtin functions.
21929 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
21931 # Additional compiler flags for building library objects.
21932 pic_flag=$lt_lt_prog_compiler_pic_CXX
21934 # How to pass a linker flag through the compiler.
21935 wl=$lt_lt_prog_compiler_wl_CXX
21937 # Compiler flag to prevent dynamic linking.
21938 link_static_flag=$lt_lt_prog_compiler_static_CXX
21940 # Does compiler simultaneously support -c and -o options?
21941 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
21943 # Whether or not to add -lc for building shared libraries.
21944 build_libtool_need_lc=$archive_cmds_need_lc_CXX
21946 # Whether or not to disallow shared libs when runtime libs are static.
21947 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
21949 # Compiler flag to allow reflexive dlopens.
21950 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
21952 # Compiler flag to generate shared objects directly from archives.
21953 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
21955 # Whether the compiler copes with passing no objects directly.
21956 compiler_needs_object=$lt_compiler_needs_object_CXX
21958 # Create an old-style archive from a shared archive.
21959 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
21961 # Create a temporary old-style archive to link instead of a shared archive.
21962 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
21964 # Commands used to build a shared archive.
21965 archive_cmds=$lt_archive_cmds_CXX
21966 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
21968 # Commands used to build a loadable module if different from building
21969 # a shared archive.
21970 module_cmds=$lt_module_cmds_CXX
21971 module_expsym_cmds=$lt_module_expsym_cmds_CXX
21973 # Whether we are building with GNU ld or not.
21974 with_gnu_ld=$lt_with_gnu_ld_CXX
21976 # Flag that allows shared libraries with undefined symbols to be built.
21977 allow_undefined_flag=$lt_allow_undefined_flag_CXX
21979 # Flag that enforces no undefined symbols.
21980 no_undefined_flag=$lt_no_undefined_flag_CXX
21982 # Flag to hardcode \$libdir into a binary during linking.
21983 # This must work even if \$libdir does not exist
21984 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
21986 # If ld is used when linking, flag to hardcode \$libdir into a binary
21987 # during linking. This must work even if \$libdir does not exist.
21988 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
21990 # Whether we need a single "-rpath" flag with a separated argument.
21991 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
21993 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21994 # DIR into the resulting binary.
21995 hardcode_direct=$hardcode_direct_CXX
21997 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21998 # DIR into the resulting binary and the resulting library dependency is
21999 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22000 # library is relocated.
22001 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
22003 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22004 # into the resulting binary.
22005 hardcode_minus_L=$hardcode_minus_L_CXX
22007 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22008 # into the resulting binary.
22009 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
22011 # Set to "yes" if building a shared library automatically hardcodes DIR
22012 # into the library and all subsequent libraries and executables linked
22013 # against it.
22014 hardcode_automatic=$hardcode_automatic_CXX
22016 # Set to yes if linker adds runtime paths of dependent libraries
22017 # to runtime path list.
22018 inherit_rpath=$inherit_rpath_CXX
22020 # Whether libtool must link a program against all its dependency libraries.
22021 link_all_deplibs=$link_all_deplibs_CXX
22023 # Set to "yes" if exported symbols are required.
22024 always_export_symbols=$always_export_symbols_CXX
22026 # The commands to list exported symbols.
22027 export_symbols_cmds=$lt_export_symbols_cmds_CXX
22029 # Symbols that should not be listed in the preloaded symbols.
22030 exclude_expsyms=$lt_exclude_expsyms_CXX
22032 # Symbols that must always be exported.
22033 include_expsyms=$lt_include_expsyms_CXX
22035 # Commands necessary for linking programs (against libraries) with templates.
22036 prelink_cmds=$lt_prelink_cmds_CXX
22038 # Commands necessary for finishing linking programs.
22039 postlink_cmds=$lt_postlink_cmds_CXX
22041 # Specify filename containing input files.
22042 file_list_spec=$lt_file_list_spec_CXX
22044 # How to hardcode a shared library path into an executable.
22045 hardcode_action=$hardcode_action_CXX
22047 # The directories searched by this compiler when creating a shared library.
22048 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
22050 # Dependencies to place before and after the objects being linked to
22051 # create a shared library.
22052 predep_objects=$lt_predep_objects_CXX
22053 postdep_objects=$lt_postdep_objects_CXX
22054 predeps=$lt_predeps_CXX
22055 postdeps=$lt_postdeps_CXX
22057 # The library search path used internally by the compiler when linking
22058 # a shared library.
22059 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
22061 # ### END LIBTOOL TAG CONFIG: CXX
22062 _LT_EOF
22066 esac
22067 done # for ac_tag
22070 as_fn_exit 0
22071 _ACEOF
22072 ac_clean_files=$ac_clean_files_save
22074 test $ac_write_fail = 0 ||
22075 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22078 # configure is writing to config.log, and then calls config.status.
22079 # config.status does its own redirection, appending to config.log.
22080 # Unfortunately, on DOS this fails, as config.log is still kept open
22081 # by configure, so config.status won't be able to write to it; its
22082 # output is simply discarded. So we exec the FD to /dev/null,
22083 # effectively closing config.log, so it can be properly (re)opened and
22084 # appended to by config.status. When coming back to configure, we
22085 # need to make the FD available again.
22086 if test "$no_create" != yes; then
22087 ac_cs_success=:
22088 ac_config_status_args=
22089 test "$silent" = yes &&
22090 ac_config_status_args="$ac_config_status_args --quiet"
22091 exec 5>/dev/null
22092 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22093 exec 5>>config.log
22094 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22095 # would make configure fail if this is the last instruction.
22096 $ac_cs_success || as_fn_exit 1
22098 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22100 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22104 { $as_echo "$as_me:${as_lineno-$LINENO}:
22106 Configured:
22107 quvi version: ${VERSION} g:${git_describe} b:${build_date}
22108 host setup: ${host}
22109 compiler: ${CC}
22110 cflags: ${CFLAGS}
22111 prefix: ${prefix}
22113 Options:
22114 build libquvi: shared=${enable_shared} static=${enable_static}
22115 build examples: ${enable_examples}
22116 build quvi: ${enable_quvi}
22118 enable tests: ${enable_tests}
22119 enable todo: ${enable_todo}
22120 enable nsfw: ${enable_nsfw}
22121 enable nlfy: ${enable_nlfy}
22123 install manual: ${with_man}
22124 install docs: ${with_doc}
22125 " >&5
22126 $as_echo "$as_me:
22128 Configured:
22129 quvi version: ${VERSION} g:${git_describe} b:${build_date}
22130 host setup: ${host}
22131 compiler: ${CC}
22132 cflags: ${CFLAGS}
22133 prefix: ${prefix}
22135 Options:
22136 build libquvi: shared=${enable_shared} static=${enable_static}
22137 build examples: ${enable_examples}
22138 build quvi: ${enable_quvi}
22140 enable tests: ${enable_tests}
22141 enable todo: ${enable_todo}
22142 enable nsfw: ${enable_nsfw}
22143 enable nlfy: ${enable_nlfy}
22145 install manual: ${with_man}
22146 install docs: ${with_doc}
22147 " >&6;}
22149 #Other:
22150 # gengetopt: ${GENGETOPT}
22151 # doxygen: ${DOXYGEN}
22152 # prove: ${PROVE}
22153 # pod2man: ${POD2MAN}
22154 # pod2html: ${POD2HTML}