Fix #48: vimeo.lua:62: no match: hd button
[quvi.git] / configure
blob902b94ab41357c24e6ce339bcdada951b04a15a6
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for quvi 0.2.16.
5 # Report bugs to <http://sourceforge.net/apps/trac/quvi>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
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.16'
574 PACKAGE_STRING='quvi 0.2.16'
575 PACKAGE_BUGREPORT='http://sourceforge.net/apps/trac/quvi'
576 PACKAGE_URL='http://quvi.sourceforge.net/'
578 ac_unique_file="lib/quvi.c"
579 # Factoring default headers for most tests.
580 ac_includes_default="\
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 WITH_SOUP_FALSE
643 WITH_SOUP_TRUE
644 libsoup_LIBS
645 libsoup_CFLAGS
646 libsoup_gnome_LIBS
647 libsoup_gnome_CFLAGS
648 liblua_LIBS
649 liblua_CFLAGS
650 libcurl_LIBS
651 libcurl_CFLAGS
652 PKG_CONFIG_LIBDIR
653 PKG_CONFIG_PATH
654 PKG_CONFIG
655 LTLIBICONV
656 LIBICONV
658 DATE
659 HAVE_POD2HTML_FALSE
660 HAVE_POD2HTML_TRUE
661 POD2HTML
662 HAVE_POD2MAN_FALSE
663 HAVE_POD2MAN_TRUE
664 POD2MAN
665 HAVE_VALGRIND_FALSE
666 HAVE_VALGRIND_TRUE
667 VALGRIND
668 HAVE_PROVE_FALSE
669 HAVE_PROVE_TRUE
670 PROVE
671 HAVE_DOXYGEN_FALSE
672 HAVE_DOXYGEN_TRUE
673 DOXYGEN
674 HAVE_GENGETOPT_FALSE
675 HAVE_GENGETOPT_TRUE
676 GENGETOPT
677 CXXCPP
678 am__fastdepCXX_FALSE
679 am__fastdepCXX_TRUE
680 CXXDEPMODE
681 ac_ct_CXX
682 CXXFLAGS
684 EXTRA_LIBQUVI_LDFLAGS
685 OTOOL64
686 OTOOL
687 LIPO
688 NMEDIT
689 DSYMUTIL
690 MANIFEST_TOOL
691 RANLIB
692 ac_ct_AR
694 DLLTOOL
695 OBJDUMP
696 LN_S
698 ac_ct_DUMPBIN
699 DUMPBIN
701 FGREP
703 LIBTOOL
704 AM_BACKSLASH
705 AM_DEFAULT_VERBOSITY
706 am__fastdepCC_FALSE
707 am__fastdepCC_TRUE
708 CCDEPMODE
709 AMDEPBACKSLASH
710 AMDEP_FALSE
711 AMDEP_TRUE
712 am__quote
713 am__include
714 DEPDIR
715 am__untar
716 am__tar
717 AMTAR
718 am__leading_dot
719 SET_MAKE
721 mkdir_p
722 MKDIR_P
723 INSTALL_STRIP_PROGRAM
724 STRIP
725 install_sh
726 MAKEINFO
727 AUTOHEADER
728 AUTOMAKE
729 AUTOCONF
730 ACLOCAL
731 VERSION
732 PACKAGE
733 CYGPATH_W
734 am__isrc
735 INSTALL_DATA
736 INSTALL_SCRIPT
737 INSTALL_PROGRAM
738 EGREP
739 GREP
741 OBJEXT
742 EXEEXT
743 ac_ct_CC
744 CPPFLAGS
745 LDFLAGS
746 CFLAGS
748 target_os
749 target_vendor
750 target_cpu
751 target
752 host_os
753 host_vendor
754 host_cpu
755 host
756 build_os
757 build_vendor
758 build_cpu
759 build
760 QUVI_AGE
761 QUVI_REVISION
762 QUVI_CURRENT
763 target_alias
764 host_alias
765 build_alias
766 LIBS
767 ECHO_T
768 ECHO_N
769 ECHO_C
770 DEFS
771 mandir
772 localedir
773 libdir
774 psdir
775 pdfdir
776 dvidir
777 htmldir
778 infodir
779 docdir
780 oldincludedir
781 includedir
782 localstatedir
783 sharedstatedir
784 sysconfdir
785 datadir
786 datarootdir
787 libexecdir
788 sbindir
789 bindir
790 program_transform_name
791 prefix
792 exec_prefix
793 PACKAGE_URL
794 PACKAGE_BUGREPORT
795 PACKAGE_STRING
796 PACKAGE_VERSION
797 PACKAGE_TARNAME
798 PACKAGE_NAME
799 PATH_SEPARATOR
800 SHELL'
801 ac_subst_files=''
802 ac_user_opts='
803 enable_option_checking
804 enable_dependency_tracking
805 enable_silent_rules
806 enable_shared
807 enable_static
808 with_pic
809 enable_fast_install
810 with_gnu_ld
811 with_sysroot
812 enable_libtool_lock
813 enable_rpath
814 with_libiconv_prefix
815 with_soup
816 enable_quvi
817 enable_examples
818 enable_tests
819 enable_verbose_tests
820 enable_nsfw
821 enable_todo
822 enable_nlfy
823 with_man
824 with_doc
826 ac_precious_vars='build_alias
827 host_alias
828 target_alias
830 CFLAGS
831 LDFLAGS
832 LIBS
833 CPPFLAGS
836 CXXFLAGS
838 CXXCPP
839 PKG_CONFIG
840 PKG_CONFIG_PATH
841 PKG_CONFIG_LIBDIR
842 libcurl_CFLAGS
843 libcurl_LIBS
844 liblua_CFLAGS
845 liblua_LIBS
846 libsoup_gnome_CFLAGS
847 libsoup_gnome_LIBS
848 libsoup_CFLAGS
849 libsoup_LIBS'
852 # Initialize some variables set by options.
853 ac_init_help=
854 ac_init_version=false
855 ac_unrecognized_opts=
856 ac_unrecognized_sep=
857 # The variables have the same names as the options, with
858 # dashes changed to underlines.
859 cache_file=/dev/null
860 exec_prefix=NONE
861 no_create=
862 no_recursion=
863 prefix=NONE
864 program_prefix=NONE
865 program_suffix=NONE
866 program_transform_name=s,x,x,
867 silent=
868 site=
869 srcdir=
870 verbose=
871 x_includes=NONE
872 x_libraries=NONE
874 # Installation directory options.
875 # These are left unexpanded so users can "make install exec_prefix=/foo"
876 # and all the variables that are supposed to be based on exec_prefix
877 # by default will actually change.
878 # Use braces instead of parens because sh, perl, etc. also accept them.
879 # (The list follows the same order as the GNU Coding Standards.)
880 bindir='${exec_prefix}/bin'
881 sbindir='${exec_prefix}/sbin'
882 libexecdir='${exec_prefix}/libexec'
883 datarootdir='${prefix}/share'
884 datadir='${datarootdir}'
885 sysconfdir='${prefix}/etc'
886 sharedstatedir='${prefix}/com'
887 localstatedir='${prefix}/var'
888 includedir='${prefix}/include'
889 oldincludedir='/usr/include'
890 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
891 infodir='${datarootdir}/info'
892 htmldir='${docdir}'
893 dvidir='${docdir}'
894 pdfdir='${docdir}'
895 psdir='${docdir}'
896 libdir='${exec_prefix}/lib'
897 localedir='${datarootdir}/locale'
898 mandir='${datarootdir}/man'
900 ac_prev=
901 ac_dashdash=
902 for ac_option
904 # If the previous option needs an argument, assign it.
905 if test -n "$ac_prev"; then
906 eval $ac_prev=\$ac_option
907 ac_prev=
908 continue
911 case $ac_option in
912 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
913 *=) ac_optarg= ;;
914 *) ac_optarg=yes ;;
915 esac
917 # Accept the important Cygnus configure options, so we can diagnose typos.
919 case $ac_dashdash$ac_option in
921 ac_dashdash=yes ;;
923 -bindir | --bindir | --bindi | --bind | --bin | --bi)
924 ac_prev=bindir ;;
925 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
926 bindir=$ac_optarg ;;
928 -build | --build | --buil | --bui | --bu)
929 ac_prev=build_alias ;;
930 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
931 build_alias=$ac_optarg ;;
933 -cache-file | --cache-file | --cache-fil | --cache-fi \
934 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
935 ac_prev=cache_file ;;
936 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
937 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
938 cache_file=$ac_optarg ;;
940 --config-cache | -C)
941 cache_file=config.cache ;;
943 -datadir | --datadir | --datadi | --datad)
944 ac_prev=datadir ;;
945 -datadir=* | --datadir=* | --datadi=* | --datad=*)
946 datadir=$ac_optarg ;;
948 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
949 | --dataroo | --dataro | --datar)
950 ac_prev=datarootdir ;;
951 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
952 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
953 datarootdir=$ac_optarg ;;
955 -disable-* | --disable-*)
956 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
957 # Reject names that are not valid shell variable names.
958 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
959 as_fn_error $? "invalid feature name: $ac_useropt"
960 ac_useropt_orig=$ac_useropt
961 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
962 case $ac_user_opts in
964 "enable_$ac_useropt"
965 "*) ;;
966 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
967 ac_unrecognized_sep=', ';;
968 esac
969 eval enable_$ac_useropt=no ;;
971 -docdir | --docdir | --docdi | --doc | --do)
972 ac_prev=docdir ;;
973 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
974 docdir=$ac_optarg ;;
976 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
977 ac_prev=dvidir ;;
978 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
979 dvidir=$ac_optarg ;;
981 -enable-* | --enable-*)
982 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
983 # Reject names that are not valid shell variable names.
984 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
985 as_fn_error $? "invalid feature name: $ac_useropt"
986 ac_useropt_orig=$ac_useropt
987 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
988 case $ac_user_opts in
990 "enable_$ac_useropt"
991 "*) ;;
992 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
993 ac_unrecognized_sep=', ';;
994 esac
995 eval enable_$ac_useropt=\$ac_optarg ;;
997 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
998 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
999 | --exec | --exe | --ex)
1000 ac_prev=exec_prefix ;;
1001 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1002 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1003 | --exec=* | --exe=* | --ex=*)
1004 exec_prefix=$ac_optarg ;;
1006 -gas | --gas | --ga | --g)
1007 # Obsolete; use --with-gas.
1008 with_gas=yes ;;
1010 -help | --help | --hel | --he | -h)
1011 ac_init_help=long ;;
1012 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1013 ac_init_help=recursive ;;
1014 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1015 ac_init_help=short ;;
1017 -host | --host | --hos | --ho)
1018 ac_prev=host_alias ;;
1019 -host=* | --host=* | --hos=* | --ho=*)
1020 host_alias=$ac_optarg ;;
1022 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1023 ac_prev=htmldir ;;
1024 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1025 | --ht=*)
1026 htmldir=$ac_optarg ;;
1028 -includedir | --includedir | --includedi | --included | --include \
1029 | --includ | --inclu | --incl | --inc)
1030 ac_prev=includedir ;;
1031 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1032 | --includ=* | --inclu=* | --incl=* | --inc=*)
1033 includedir=$ac_optarg ;;
1035 -infodir | --infodir | --infodi | --infod | --info | --inf)
1036 ac_prev=infodir ;;
1037 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1038 infodir=$ac_optarg ;;
1040 -libdir | --libdir | --libdi | --libd)
1041 ac_prev=libdir ;;
1042 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1043 libdir=$ac_optarg ;;
1045 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1046 | --libexe | --libex | --libe)
1047 ac_prev=libexecdir ;;
1048 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1049 | --libexe=* | --libex=* | --libe=*)
1050 libexecdir=$ac_optarg ;;
1052 -localedir | --localedir | --localedi | --localed | --locale)
1053 ac_prev=localedir ;;
1054 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1055 localedir=$ac_optarg ;;
1057 -localstatedir | --localstatedir | --localstatedi | --localstated \
1058 | --localstate | --localstat | --localsta | --localst | --locals)
1059 ac_prev=localstatedir ;;
1060 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1061 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1062 localstatedir=$ac_optarg ;;
1064 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1065 ac_prev=mandir ;;
1066 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1067 mandir=$ac_optarg ;;
1069 -nfp | --nfp | --nf)
1070 # Obsolete; use --without-fp.
1071 with_fp=no ;;
1073 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1074 | --no-cr | --no-c | -n)
1075 no_create=yes ;;
1077 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1078 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1079 no_recursion=yes ;;
1081 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1082 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1083 | --oldin | --oldi | --old | --ol | --o)
1084 ac_prev=oldincludedir ;;
1085 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1086 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1087 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1088 oldincludedir=$ac_optarg ;;
1090 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1091 ac_prev=prefix ;;
1092 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1093 prefix=$ac_optarg ;;
1095 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1096 | --program-pre | --program-pr | --program-p)
1097 ac_prev=program_prefix ;;
1098 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1099 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1100 program_prefix=$ac_optarg ;;
1102 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1103 | --program-suf | --program-su | --program-s)
1104 ac_prev=program_suffix ;;
1105 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1106 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1107 program_suffix=$ac_optarg ;;
1109 -program-transform-name | --program-transform-name \
1110 | --program-transform-nam | --program-transform-na \
1111 | --program-transform-n | --program-transform- \
1112 | --program-transform | --program-transfor \
1113 | --program-transfo | --program-transf \
1114 | --program-trans | --program-tran \
1115 | --progr-tra | --program-tr | --program-t)
1116 ac_prev=program_transform_name ;;
1117 -program-transform-name=* | --program-transform-name=* \
1118 | --program-transform-nam=* | --program-transform-na=* \
1119 | --program-transform-n=* | --program-transform-=* \
1120 | --program-transform=* | --program-transfor=* \
1121 | --program-transfo=* | --program-transf=* \
1122 | --program-trans=* | --program-tran=* \
1123 | --progr-tra=* | --program-tr=* | --program-t=*)
1124 program_transform_name=$ac_optarg ;;
1126 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1127 ac_prev=pdfdir ;;
1128 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1129 pdfdir=$ac_optarg ;;
1131 -psdir | --psdir | --psdi | --psd | --ps)
1132 ac_prev=psdir ;;
1133 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1134 psdir=$ac_optarg ;;
1136 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1137 | -silent | --silent | --silen | --sile | --sil)
1138 silent=yes ;;
1140 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1141 ac_prev=sbindir ;;
1142 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1143 | --sbi=* | --sb=*)
1144 sbindir=$ac_optarg ;;
1146 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1147 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1148 | --sharedst | --shareds | --shared | --share | --shar \
1149 | --sha | --sh)
1150 ac_prev=sharedstatedir ;;
1151 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1152 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1153 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1154 | --sha=* | --sh=*)
1155 sharedstatedir=$ac_optarg ;;
1157 -site | --site | --sit)
1158 ac_prev=site ;;
1159 -site=* | --site=* | --sit=*)
1160 site=$ac_optarg ;;
1162 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1163 ac_prev=srcdir ;;
1164 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1165 srcdir=$ac_optarg ;;
1167 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1168 | --syscon | --sysco | --sysc | --sys | --sy)
1169 ac_prev=sysconfdir ;;
1170 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1171 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1172 sysconfdir=$ac_optarg ;;
1174 -target | --target | --targe | --targ | --tar | --ta | --t)
1175 ac_prev=target_alias ;;
1176 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1177 target_alias=$ac_optarg ;;
1179 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1180 verbose=yes ;;
1182 -version | --version | --versio | --versi | --vers | -V)
1183 ac_init_version=: ;;
1185 -with-* | --with-*)
1186 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1187 # Reject names that are not valid shell variable names.
1188 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1189 as_fn_error $? "invalid package name: $ac_useropt"
1190 ac_useropt_orig=$ac_useropt
1191 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1192 case $ac_user_opts in
1194 "with_$ac_useropt"
1195 "*) ;;
1196 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1197 ac_unrecognized_sep=', ';;
1198 esac
1199 eval with_$ac_useropt=\$ac_optarg ;;
1201 -without-* | --without-*)
1202 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1203 # Reject names that are not valid shell variable names.
1204 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1205 as_fn_error $? "invalid package name: $ac_useropt"
1206 ac_useropt_orig=$ac_useropt
1207 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1208 case $ac_user_opts in
1210 "with_$ac_useropt"
1211 "*) ;;
1212 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1213 ac_unrecognized_sep=', ';;
1214 esac
1215 eval with_$ac_useropt=no ;;
1217 --x)
1218 # Obsolete; use --with-x.
1219 with_x=yes ;;
1221 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1222 | --x-incl | --x-inc | --x-in | --x-i)
1223 ac_prev=x_includes ;;
1224 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1225 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1226 x_includes=$ac_optarg ;;
1228 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1229 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1230 ac_prev=x_libraries ;;
1231 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1232 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1233 x_libraries=$ac_optarg ;;
1235 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1236 Try \`$0 --help' for more information"
1239 *=*)
1240 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1241 # Reject names that are not valid shell variable names.
1242 case $ac_envvar in #(
1243 '' | [0-9]* | *[!_$as_cr_alnum]* )
1244 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1245 esac
1246 eval $ac_envvar=\$ac_optarg
1247 export $ac_envvar ;;
1250 # FIXME: should be removed in autoconf 3.0.
1251 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1252 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1253 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1254 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1257 esac
1258 done
1260 if test -n "$ac_prev"; then
1261 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1262 as_fn_error $? "missing argument to $ac_option"
1265 if test -n "$ac_unrecognized_opts"; then
1266 case $enable_option_checking in
1267 no) ;;
1268 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1269 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1270 esac
1273 # Check all directory arguments for consistency.
1274 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1275 datadir sysconfdir sharedstatedir localstatedir includedir \
1276 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1277 libdir localedir mandir
1279 eval ac_val=\$$ac_var
1280 # Remove trailing slashes.
1281 case $ac_val in
1282 */ )
1283 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1284 eval $ac_var=\$ac_val;;
1285 esac
1286 # Be sure to have absolute directory names.
1287 case $ac_val in
1288 [\\/$]* | ?:[\\/]* ) continue;;
1289 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1290 esac
1291 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1292 done
1294 # There might be people who depend on the old broken behavior: `$host'
1295 # used to hold the argument of --host etc.
1296 # FIXME: To remove some day.
1297 build=$build_alias
1298 host=$host_alias
1299 target=$target_alias
1301 # FIXME: To remove some day.
1302 if test "x$host_alias" != x; then
1303 if test "x$build_alias" = x; then
1304 cross_compiling=maybe
1305 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1306 If a cross compiler is detected then cross compile mode will be used" >&2
1307 elif test "x$build_alias" != "x$host_alias"; then
1308 cross_compiling=yes
1312 ac_tool_prefix=
1313 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1315 test "$silent" = yes && exec 6>/dev/null
1318 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1319 ac_ls_di=`ls -di .` &&
1320 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1321 as_fn_error $? "working directory cannot be determined"
1322 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1323 as_fn_error $? "pwd does not report name of working directory"
1326 # Find the source files, if location was not specified.
1327 if test -z "$srcdir"; then
1328 ac_srcdir_defaulted=yes
1329 # Try the directory containing this script, then the parent directory.
1330 ac_confdir=`$as_dirname -- "$as_myself" ||
1331 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1332 X"$as_myself" : 'X\(//\)[^/]' \| \
1333 X"$as_myself" : 'X\(//\)$' \| \
1334 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1335 $as_echo X"$as_myself" |
1336 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1337 s//\1/
1340 /^X\(\/\/\)[^/].*/{
1341 s//\1/
1344 /^X\(\/\/\)$/{
1345 s//\1/
1348 /^X\(\/\).*/{
1349 s//\1/
1352 s/.*/./; q'`
1353 srcdir=$ac_confdir
1354 if test ! -r "$srcdir/$ac_unique_file"; then
1355 srcdir=..
1357 else
1358 ac_srcdir_defaulted=no
1360 if test ! -r "$srcdir/$ac_unique_file"; then
1361 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1362 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1364 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1365 ac_abs_confdir=`(
1366 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1367 pwd)`
1368 # When building in place, set srcdir=.
1369 if test "$ac_abs_confdir" = "$ac_pwd"; then
1370 srcdir=.
1372 # Remove unnecessary trailing slashes from srcdir.
1373 # Double slashes in file names in object file debugging info
1374 # mess up M-x gdb in Emacs.
1375 case $srcdir in
1376 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1377 esac
1378 for ac_var in $ac_precious_vars; do
1379 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1380 eval ac_env_${ac_var}_value=\$${ac_var}
1381 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1382 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1383 done
1386 # Report the --help message.
1388 if test "$ac_init_help" = "long"; then
1389 # Omit some internal or obsolete options to make the list less imposing.
1390 # This message is too long to be a string in the A/UX 3.1 sh.
1391 cat <<_ACEOF
1392 \`configure' configures quvi 0.2.16 to adapt to many kinds of systems.
1394 Usage: $0 [OPTION]... [VAR=VALUE]...
1396 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1397 VAR=VALUE. See below for descriptions of some of the useful variables.
1399 Defaults for the options are specified in brackets.
1401 Configuration:
1402 -h, --help display this help and exit
1403 --help=short display options specific to this package
1404 --help=recursive display the short help of all the included packages
1405 -V, --version display version information and exit
1406 -q, --quiet, --silent do not print \`checking ...' messages
1407 --cache-file=FILE cache test results in FILE [disabled]
1408 -C, --config-cache alias for \`--cache-file=config.cache'
1409 -n, --no-create do not create output files
1410 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1412 Installation directories:
1413 --prefix=PREFIX install architecture-independent files in PREFIX
1414 [$ac_default_prefix]
1415 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1416 [PREFIX]
1418 By default, \`make install' will install all the files in
1419 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1420 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1421 for instance \`--prefix=\$HOME'.
1423 For better control, use the options below.
1425 Fine tuning of the installation directories:
1426 --bindir=DIR user executables [EPREFIX/bin]
1427 --sbindir=DIR system admin executables [EPREFIX/sbin]
1428 --libexecdir=DIR program executables [EPREFIX/libexec]
1429 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1430 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1431 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1432 --libdir=DIR object code libraries [EPREFIX/lib]
1433 --includedir=DIR C header files [PREFIX/include]
1434 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1435 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1436 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1437 --infodir=DIR info documentation [DATAROOTDIR/info]
1438 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1439 --mandir=DIR man documentation [DATAROOTDIR/man]
1440 --docdir=DIR documentation root [DATAROOTDIR/doc/quvi]
1441 --htmldir=DIR html documentation [DOCDIR]
1442 --dvidir=DIR dvi documentation [DOCDIR]
1443 --pdfdir=DIR pdf documentation [DOCDIR]
1444 --psdir=DIR ps documentation [DOCDIR]
1445 _ACEOF
1447 cat <<\_ACEOF
1449 Program names:
1450 --program-prefix=PREFIX prepend PREFIX to installed program names
1451 --program-suffix=SUFFIX append SUFFIX to installed program names
1452 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1454 System types:
1455 --build=BUILD configure for building on BUILD [guessed]
1456 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1457 --target=TARGET configure for building compilers for TARGET [HOST]
1458 _ACEOF
1461 if test -n "$ac_init_help"; then
1462 case $ac_init_help in
1463 short | recursive ) echo "Configuration of quvi 0.2.16:";;
1464 esac
1465 cat <<\_ACEOF
1467 Optional Features:
1468 --disable-option-checking ignore unrecognized --enable/--with options
1469 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1470 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1471 --disable-dependency-tracking speeds up one-time build
1472 --enable-dependency-tracking do not reject slow dependency extractors
1473 --enable-silent-rules less verbose build output (undo: `make V=1')
1474 --disable-silent-rules verbose build output (undo: `make V=0')
1475 --enable-shared[=PKGS] build shared libraries [default=yes]
1476 --enable-static[=PKGS] build static libraries [default=yes]
1477 --enable-fast-install[=PKGS]
1478 optimize for fast installation [default=yes]
1479 --disable-libtool-lock avoid locking (might break parallel builds)
1480 --disable-rpath do not hardcode runtime library paths
1481 --enable-quvi build quvi command line tool[default=yes]
1482 --enable-examples build examples [default=no]
1483 --enable-tests enable tests [default=no]
1484 --enable-verbose-tests enable verbose tests [default=no]
1485 --enable-nsfw build with adult website support [default=no]
1486 --enable-todo with website scripts marked as "todo" [default=no]
1487 --enable-nlfy test scripts marked as "nlfy" [default=no]
1489 Optional Packages:
1490 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1491 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1492 --with-pic try to use only PIC/non-PIC objects [default=use
1493 both]
1494 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1495 --with-sysroot=DIR Search for dependent libraries within DIR
1496 (or the compiler's sysroot if not specified).
1497 --with-gnu-ld assume the C compiler uses GNU ld default=no
1498 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1499 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1500 --with-soup Build with libsoup
1501 --with-man install manual pages [default=yes]
1502 --with-doc install documentation [default=yes]
1504 Some influential environment variables:
1505 CC C compiler command
1506 CFLAGS C compiler flags
1507 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1508 nonstandard directory <lib dir>
1509 LIBS libraries to pass to the linker, e.g. -l<library>
1510 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1511 you have headers in a nonstandard directory <include dir>
1512 CPP C preprocessor
1513 CXX C++ compiler command
1514 CXXFLAGS C++ compiler flags
1515 CXXCPP C++ preprocessor
1516 PKG_CONFIG path to pkg-config utility
1517 PKG_CONFIG_PATH
1518 directories to add to pkg-config's search path
1519 PKG_CONFIG_LIBDIR
1520 path overriding pkg-config's built-in search path
1521 libcurl_CFLAGS
1522 C compiler flags for libcurl, overriding pkg-config
1523 libcurl_LIBS
1524 linker flags for libcurl, overriding pkg-config
1525 liblua_CFLAGS
1526 C compiler flags for liblua, overriding pkg-config
1527 liblua_LIBS linker flags for liblua, overriding pkg-config
1528 libsoup_gnome_CFLAGS
1529 C compiler flags for libsoup_gnome, overriding pkg-config
1530 libsoup_gnome_LIBS
1531 linker flags for libsoup_gnome, overriding pkg-config
1532 libsoup_CFLAGS
1533 C compiler flags for libsoup, overriding pkg-config
1534 libsoup_LIBS
1535 linker flags for libsoup, overriding pkg-config
1537 Use these variables to override the choices made by `configure' or to help
1538 it to find libraries and programs with nonstandard names/locations.
1540 Report bugs to <http://sourceforge.net/apps/trac/quvi>.
1541 quvi home page: <http://quvi.sourceforge.net/>.
1542 _ACEOF
1543 ac_status=$?
1546 if test "$ac_init_help" = "recursive"; then
1547 # If there are subdirs, report their specific --help.
1548 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1549 test -d "$ac_dir" ||
1550 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1551 continue
1552 ac_builddir=.
1554 case "$ac_dir" in
1555 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1557 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1558 # A ".." for each directory in $ac_dir_suffix.
1559 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1560 case $ac_top_builddir_sub in
1561 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1562 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1563 esac ;;
1564 esac
1565 ac_abs_top_builddir=$ac_pwd
1566 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1567 # for backward compatibility:
1568 ac_top_builddir=$ac_top_build_prefix
1570 case $srcdir in
1571 .) # We are building in place.
1572 ac_srcdir=.
1573 ac_top_srcdir=$ac_top_builddir_sub
1574 ac_abs_top_srcdir=$ac_pwd ;;
1575 [\\/]* | ?:[\\/]* ) # Absolute name.
1576 ac_srcdir=$srcdir$ac_dir_suffix;
1577 ac_top_srcdir=$srcdir
1578 ac_abs_top_srcdir=$srcdir ;;
1579 *) # Relative name.
1580 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1581 ac_top_srcdir=$ac_top_build_prefix$srcdir
1582 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1583 esac
1584 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1586 cd "$ac_dir" || { ac_status=$?; continue; }
1587 # Check for guested configure.
1588 if test -f "$ac_srcdir/configure.gnu"; then
1589 echo &&
1590 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1591 elif test -f "$ac_srcdir/configure"; then
1592 echo &&
1593 $SHELL "$ac_srcdir/configure" --help=recursive
1594 else
1595 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1596 fi || ac_status=$?
1597 cd "$ac_pwd" || { ac_status=$?; break; }
1598 done
1601 test -n "$ac_init_help" && exit $ac_status
1602 if $ac_init_version; then
1603 cat <<\_ACEOF
1604 quvi configure 0.2.16
1605 generated by GNU Autoconf 2.68
1607 Copyright (C) 2010 Free Software Foundation, Inc.
1608 This configure script is free software; the Free Software Foundation
1609 gives unlimited permission to copy, distribute and modify it.
1610 _ACEOF
1611 exit
1614 ## ------------------------ ##
1615 ## Autoconf initialization. ##
1616 ## ------------------------ ##
1618 # ac_fn_c_try_compile LINENO
1619 # --------------------------
1620 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1621 ac_fn_c_try_compile ()
1623 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1624 rm -f conftest.$ac_objext
1625 if { { ac_try="$ac_compile"
1626 case "(($ac_try" in
1627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1628 *) ac_try_echo=$ac_try;;
1629 esac
1630 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1631 $as_echo "$ac_try_echo"; } >&5
1632 (eval "$ac_compile") 2>conftest.err
1633 ac_status=$?
1634 if test -s conftest.err; then
1635 grep -v '^ *+' conftest.err >conftest.er1
1636 cat conftest.er1 >&5
1637 mv -f conftest.er1 conftest.err
1639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1640 test $ac_status = 0; } && {
1641 test -z "$ac_c_werror_flag" ||
1642 test ! -s conftest.err
1643 } && test -s conftest.$ac_objext; then :
1644 ac_retval=0
1645 else
1646 $as_echo "$as_me: failed program was:" >&5
1647 sed 's/^/| /' conftest.$ac_ext >&5
1649 ac_retval=1
1651 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1652 as_fn_set_status $ac_retval
1654 } # ac_fn_c_try_compile
1656 # ac_fn_c_try_cpp LINENO
1657 # ----------------------
1658 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1659 ac_fn_c_try_cpp ()
1661 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1662 if { { ac_try="$ac_cpp conftest.$ac_ext"
1663 case "(($ac_try" in
1664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1665 *) ac_try_echo=$ac_try;;
1666 esac
1667 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1668 $as_echo "$ac_try_echo"; } >&5
1669 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1670 ac_status=$?
1671 if test -s conftest.err; then
1672 grep -v '^ *+' conftest.err >conftest.er1
1673 cat conftest.er1 >&5
1674 mv -f conftest.er1 conftest.err
1676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1677 test $ac_status = 0; } > conftest.i && {
1678 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1679 test ! -s conftest.err
1680 }; then :
1681 ac_retval=0
1682 else
1683 $as_echo "$as_me: failed program was:" >&5
1684 sed 's/^/| /' conftest.$ac_ext >&5
1686 ac_retval=1
1688 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1689 as_fn_set_status $ac_retval
1691 } # ac_fn_c_try_cpp
1693 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1694 # -------------------------------------------------------
1695 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1696 # the include files in INCLUDES and setting the cache variable VAR
1697 # accordingly.
1698 ac_fn_c_check_header_mongrel ()
1700 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1701 if eval \${$3+:} false; then :
1702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1703 $as_echo_n "checking for $2... " >&6; }
1704 if eval \${$3+:} false; then :
1705 $as_echo_n "(cached) " >&6
1707 eval ac_res=\$$3
1708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1709 $as_echo "$ac_res" >&6; }
1710 else
1711 # Is the header compilable?
1712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1713 $as_echo_n "checking $2 usability... " >&6; }
1714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1715 /* end confdefs.h. */
1717 #include <$2>
1718 _ACEOF
1719 if ac_fn_c_try_compile "$LINENO"; then :
1720 ac_header_compiler=yes
1721 else
1722 ac_header_compiler=no
1724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1726 $as_echo "$ac_header_compiler" >&6; }
1728 # Is the header present?
1729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1730 $as_echo_n "checking $2 presence... " >&6; }
1731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1732 /* end confdefs.h. */
1733 #include <$2>
1734 _ACEOF
1735 if ac_fn_c_try_cpp "$LINENO"; then :
1736 ac_header_preproc=yes
1737 else
1738 ac_header_preproc=no
1740 rm -f conftest.err conftest.i conftest.$ac_ext
1741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1742 $as_echo "$ac_header_preproc" >&6; }
1744 # So? What about this header?
1745 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1746 yes:no: )
1747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1748 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1749 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1750 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1752 no:yes:* )
1753 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1754 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1756 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1758 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1760 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1762 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1763 ( $as_echo "## ---------------------------------------------------- ##
1764 ## Report this to http://sourceforge.net/apps/trac/quvi ##
1765 ## ---------------------------------------------------- ##"
1766 ) | sed "s/^/$as_me: WARNING: /" >&2
1768 esac
1769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1770 $as_echo_n "checking for $2... " >&6; }
1771 if eval \${$3+:} false; then :
1772 $as_echo_n "(cached) " >&6
1773 else
1774 eval "$3=\$ac_header_compiler"
1776 eval ac_res=\$$3
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1778 $as_echo "$ac_res" >&6; }
1780 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1782 } # ac_fn_c_check_header_mongrel
1784 # ac_fn_c_try_run LINENO
1785 # ----------------------
1786 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1787 # that executables *can* be run.
1788 ac_fn_c_try_run ()
1790 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1791 if { { ac_try="$ac_link"
1792 case "(($ac_try" in
1793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1794 *) ac_try_echo=$ac_try;;
1795 esac
1796 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1797 $as_echo "$ac_try_echo"; } >&5
1798 (eval "$ac_link") 2>&5
1799 ac_status=$?
1800 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1801 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1802 { { case "(($ac_try" in
1803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1804 *) ac_try_echo=$ac_try;;
1805 esac
1806 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1807 $as_echo "$ac_try_echo"; } >&5
1808 (eval "$ac_try") 2>&5
1809 ac_status=$?
1810 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1811 test $ac_status = 0; }; }; then :
1812 ac_retval=0
1813 else
1814 $as_echo "$as_me: program exited with status $ac_status" >&5
1815 $as_echo "$as_me: failed program was:" >&5
1816 sed 's/^/| /' conftest.$ac_ext >&5
1818 ac_retval=$ac_status
1820 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1821 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1822 as_fn_set_status $ac_retval
1824 } # ac_fn_c_try_run
1826 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1827 # -------------------------------------------------------
1828 # Tests whether HEADER exists and can be compiled using the include files in
1829 # INCLUDES, setting the cache variable VAR accordingly.
1830 ac_fn_c_check_header_compile ()
1832 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1834 $as_echo_n "checking for $2... " >&6; }
1835 if eval \${$3+:} false; then :
1836 $as_echo_n "(cached) " >&6
1837 else
1838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1839 /* end confdefs.h. */
1841 #include <$2>
1842 _ACEOF
1843 if ac_fn_c_try_compile "$LINENO"; then :
1844 eval "$3=yes"
1845 else
1846 eval "$3=no"
1848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1850 eval ac_res=\$$3
1851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1852 $as_echo "$ac_res" >&6; }
1853 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1855 } # ac_fn_c_check_header_compile
1857 # ac_fn_c_try_link LINENO
1858 # -----------------------
1859 # Try to link conftest.$ac_ext, and return whether this succeeded.
1860 ac_fn_c_try_link ()
1862 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1863 rm -f conftest.$ac_objext conftest$ac_exeext
1864 if { { ac_try="$ac_link"
1865 case "(($ac_try" in
1866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1867 *) ac_try_echo=$ac_try;;
1868 esac
1869 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1870 $as_echo "$ac_try_echo"; } >&5
1871 (eval "$ac_link") 2>conftest.err
1872 ac_status=$?
1873 if test -s conftest.err; then
1874 grep -v '^ *+' conftest.err >conftest.er1
1875 cat conftest.er1 >&5
1876 mv -f conftest.er1 conftest.err
1878 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1879 test $ac_status = 0; } && {
1880 test -z "$ac_c_werror_flag" ||
1881 test ! -s conftest.err
1882 } && test -s conftest$ac_exeext && {
1883 test "$cross_compiling" = yes ||
1884 $as_test_x conftest$ac_exeext
1885 }; then :
1886 ac_retval=0
1887 else
1888 $as_echo "$as_me: failed program was:" >&5
1889 sed 's/^/| /' conftest.$ac_ext >&5
1891 ac_retval=1
1893 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1894 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1895 # interfere with the next link command; also delete a directory that is
1896 # left behind by Apple's compiler. We do this before executing the actions.
1897 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1898 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1899 as_fn_set_status $ac_retval
1901 } # ac_fn_c_try_link
1903 # ac_fn_c_check_func LINENO FUNC VAR
1904 # ----------------------------------
1905 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1906 ac_fn_c_check_func ()
1908 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1910 $as_echo_n "checking for $2... " >&6; }
1911 if eval \${$3+:} false; then :
1912 $as_echo_n "(cached) " >&6
1913 else
1914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1915 /* end confdefs.h. */
1916 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1917 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1918 #define $2 innocuous_$2
1920 /* System header to define __stub macros and hopefully few prototypes,
1921 which can conflict with char $2 (); below.
1922 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1923 <limits.h> exists even on freestanding compilers. */
1925 #ifdef __STDC__
1926 # include <limits.h>
1927 #else
1928 # include <assert.h>
1929 #endif
1931 #undef $2
1933 /* Override any GCC internal prototype to avoid an error.
1934 Use char because int might match the return type of a GCC
1935 builtin and then its argument prototype would still apply. */
1936 #ifdef __cplusplus
1937 extern "C"
1938 #endif
1939 char $2 ();
1940 /* The GNU C library defines this for functions which it implements
1941 to always fail with ENOSYS. Some functions are actually named
1942 something starting with __ and the normal name is an alias. */
1943 #if defined __stub_$2 || defined __stub___$2
1944 choke me
1945 #endif
1948 main ()
1950 return $2 ();
1952 return 0;
1954 _ACEOF
1955 if ac_fn_c_try_link "$LINENO"; then :
1956 eval "$3=yes"
1957 else
1958 eval "$3=no"
1960 rm -f core conftest.err conftest.$ac_objext \
1961 conftest$ac_exeext conftest.$ac_ext
1963 eval ac_res=\$$3
1964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1965 $as_echo "$ac_res" >&6; }
1966 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1968 } # ac_fn_c_check_func
1970 # ac_fn_cxx_try_compile LINENO
1971 # ----------------------------
1972 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1973 ac_fn_cxx_try_compile ()
1975 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1976 rm -f conftest.$ac_objext
1977 if { { ac_try="$ac_compile"
1978 case "(($ac_try" in
1979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1980 *) ac_try_echo=$ac_try;;
1981 esac
1982 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1983 $as_echo "$ac_try_echo"; } >&5
1984 (eval "$ac_compile") 2>conftest.err
1985 ac_status=$?
1986 if test -s conftest.err; then
1987 grep -v '^ *+' conftest.err >conftest.er1
1988 cat conftest.er1 >&5
1989 mv -f conftest.er1 conftest.err
1991 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1992 test $ac_status = 0; } && {
1993 test -z "$ac_cxx_werror_flag" ||
1994 test ! -s conftest.err
1995 } && test -s conftest.$ac_objext; then :
1996 ac_retval=0
1997 else
1998 $as_echo "$as_me: failed program was:" >&5
1999 sed 's/^/| /' conftest.$ac_ext >&5
2001 ac_retval=1
2003 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2004 as_fn_set_status $ac_retval
2006 } # ac_fn_cxx_try_compile
2008 # ac_fn_cxx_try_cpp LINENO
2009 # ------------------------
2010 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2011 ac_fn_cxx_try_cpp ()
2013 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2014 if { { ac_try="$ac_cpp conftest.$ac_ext"
2015 case "(($ac_try" in
2016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2017 *) ac_try_echo=$ac_try;;
2018 esac
2019 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2020 $as_echo "$ac_try_echo"; } >&5
2021 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2022 ac_status=$?
2023 if test -s conftest.err; then
2024 grep -v '^ *+' conftest.err >conftest.er1
2025 cat conftest.er1 >&5
2026 mv -f conftest.er1 conftest.err
2028 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2029 test $ac_status = 0; } > conftest.i && {
2030 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2031 test ! -s conftest.err
2032 }; then :
2033 ac_retval=0
2034 else
2035 $as_echo "$as_me: failed program was:" >&5
2036 sed 's/^/| /' conftest.$ac_ext >&5
2038 ac_retval=1
2040 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2041 as_fn_set_status $ac_retval
2043 } # ac_fn_cxx_try_cpp
2045 # ac_fn_cxx_try_link LINENO
2046 # -------------------------
2047 # Try to link conftest.$ac_ext, and return whether this succeeded.
2048 ac_fn_cxx_try_link ()
2050 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2051 rm -f conftest.$ac_objext conftest$ac_exeext
2052 if { { ac_try="$ac_link"
2053 case "(($ac_try" in
2054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2055 *) ac_try_echo=$ac_try;;
2056 esac
2057 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2058 $as_echo "$ac_try_echo"; } >&5
2059 (eval "$ac_link") 2>conftest.err
2060 ac_status=$?
2061 if test -s conftest.err; then
2062 grep -v '^ *+' conftest.err >conftest.er1
2063 cat conftest.er1 >&5
2064 mv -f conftest.er1 conftest.err
2066 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2067 test $ac_status = 0; } && {
2068 test -z "$ac_cxx_werror_flag" ||
2069 test ! -s conftest.err
2070 } && test -s conftest$ac_exeext && {
2071 test "$cross_compiling" = yes ||
2072 $as_test_x conftest$ac_exeext
2073 }; then :
2074 ac_retval=0
2075 else
2076 $as_echo "$as_me: failed program was:" >&5
2077 sed 's/^/| /' conftest.$ac_ext >&5
2079 ac_retval=1
2081 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2082 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2083 # interfere with the next link command; also delete a directory that is
2084 # left behind by Apple's compiler. We do this before executing the actions.
2085 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2086 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2087 as_fn_set_status $ac_retval
2089 } # ac_fn_cxx_try_link
2091 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2092 # -------------------------------------------
2093 # Tests whether TYPE exists after having included INCLUDES, setting cache
2094 # variable VAR accordingly.
2095 ac_fn_c_check_type ()
2097 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2099 $as_echo_n "checking for $2... " >&6; }
2100 if eval \${$3+:} false; then :
2101 $as_echo_n "(cached) " >&6
2102 else
2103 eval "$3=no"
2104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2105 /* end confdefs.h. */
2108 main ()
2110 if (sizeof ($2))
2111 return 0;
2113 return 0;
2115 _ACEOF
2116 if ac_fn_c_try_compile "$LINENO"; then :
2117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2118 /* end confdefs.h. */
2121 main ()
2123 if (sizeof (($2)))
2124 return 0;
2126 return 0;
2128 _ACEOF
2129 if ac_fn_c_try_compile "$LINENO"; then :
2131 else
2132 eval "$3=yes"
2134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2138 eval ac_res=\$$3
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2140 $as_echo "$ac_res" >&6; }
2141 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2143 } # ac_fn_c_check_type
2145 # ac_fn_c_find_uintX_t LINENO BITS VAR
2146 # ------------------------------------
2147 # Finds an unsigned integer type with width BITS, setting cache variable VAR
2148 # accordingly.
2149 ac_fn_c_find_uintX_t ()
2151 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
2153 $as_echo_n "checking for uint$2_t... " >&6; }
2154 if eval \${$3+:} false; then :
2155 $as_echo_n "(cached) " >&6
2156 else
2157 eval "$3=no"
2158 # Order is important - never check a type that is potentially smaller
2159 # than half of the expected target width.
2160 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
2161 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
2162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2163 /* end confdefs.h. */
2164 $ac_includes_default
2166 main ()
2168 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
2169 test_array [0] = 0
2172 return 0;
2174 _ACEOF
2175 if ac_fn_c_try_compile "$LINENO"; then :
2176 case $ac_type in #(
2177 uint$2_t) :
2178 eval "$3=yes" ;; #(
2179 *) :
2180 eval "$3=\$ac_type" ;;
2181 esac
2183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2184 if eval test \"x\$"$3"\" = x"no"; then :
2186 else
2187 break
2189 done
2191 eval ac_res=\$$3
2192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2193 $as_echo "$ac_res" >&6; }
2194 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2196 } # ac_fn_c_find_uintX_t
2197 cat >config.log <<_ACEOF
2198 This file contains any messages produced by compilers while
2199 running configure, to aid debugging if configure makes a mistake.
2201 It was created by quvi $as_me 0.2.16, which was
2202 generated by GNU Autoconf 2.68. Invocation command line was
2204 $ $0 $@
2206 _ACEOF
2207 exec 5>>config.log
2209 cat <<_ASUNAME
2210 ## --------- ##
2211 ## Platform. ##
2212 ## --------- ##
2214 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2215 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2216 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2217 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2218 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2220 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2221 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2223 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2224 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2225 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2226 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2227 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2228 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2229 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2231 _ASUNAME
2233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2234 for as_dir in $PATH
2236 IFS=$as_save_IFS
2237 test -z "$as_dir" && as_dir=.
2238 $as_echo "PATH: $as_dir"
2239 done
2240 IFS=$as_save_IFS
2242 } >&5
2244 cat >&5 <<_ACEOF
2247 ## ----------- ##
2248 ## Core tests. ##
2249 ## ----------- ##
2251 _ACEOF
2254 # Keep a trace of the command line.
2255 # Strip out --no-create and --no-recursion so they do not pile up.
2256 # Strip out --silent because we don't want to record it for future runs.
2257 # Also quote any args containing shell meta-characters.
2258 # Make two passes to allow for proper duplicate-argument suppression.
2259 ac_configure_args=
2260 ac_configure_args0=
2261 ac_configure_args1=
2262 ac_must_keep_next=false
2263 for ac_pass in 1 2
2265 for ac_arg
2267 case $ac_arg in
2268 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2269 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2270 | -silent | --silent | --silen | --sile | --sil)
2271 continue ;;
2272 *\'*)
2273 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2274 esac
2275 case $ac_pass in
2276 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2278 as_fn_append ac_configure_args1 " '$ac_arg'"
2279 if test $ac_must_keep_next = true; then
2280 ac_must_keep_next=false # Got value, back to normal.
2281 else
2282 case $ac_arg in
2283 *=* | --config-cache | -C | -disable-* | --disable-* \
2284 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2285 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2286 | -with-* | --with-* | -without-* | --without-* | --x)
2287 case "$ac_configure_args0 " in
2288 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2289 esac
2291 -* ) ac_must_keep_next=true ;;
2292 esac
2294 as_fn_append ac_configure_args " '$ac_arg'"
2296 esac
2297 done
2298 done
2299 { ac_configure_args0=; unset ac_configure_args0;}
2300 { ac_configure_args1=; unset ac_configure_args1;}
2302 # When interrupted or exit'd, cleanup temporary files, and complete
2303 # config.log. We remove comments because anyway the quotes in there
2304 # would cause problems or look ugly.
2305 # WARNING: Use '\'' to represent an apostrophe within the trap.
2306 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2307 trap 'exit_status=$?
2308 # Save into config.log some information that might help in debugging.
2310 echo
2312 $as_echo "## ---------------- ##
2313 ## Cache variables. ##
2314 ## ---------------- ##"
2315 echo
2316 # The following way of writing the cache mishandles newlines in values,
2318 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2319 eval ac_val=\$$ac_var
2320 case $ac_val in #(
2321 *${as_nl}*)
2322 case $ac_var in #(
2323 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2324 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2325 esac
2326 case $ac_var in #(
2327 _ | IFS | as_nl) ;; #(
2328 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2329 *) { eval $ac_var=; unset $ac_var;} ;;
2330 esac ;;
2331 esac
2332 done
2333 (set) 2>&1 |
2334 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2335 *${as_nl}ac_space=\ *)
2336 sed -n \
2337 "s/'\''/'\''\\\\'\'''\''/g;
2338 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2339 ;; #(
2341 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2343 esac |
2344 sort
2346 echo
2348 $as_echo "## ----------------- ##
2349 ## Output variables. ##
2350 ## ----------------- ##"
2351 echo
2352 for ac_var in $ac_subst_vars
2354 eval ac_val=\$$ac_var
2355 case $ac_val in
2356 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2357 esac
2358 $as_echo "$ac_var='\''$ac_val'\''"
2359 done | sort
2360 echo
2362 if test -n "$ac_subst_files"; then
2363 $as_echo "## ------------------- ##
2364 ## File substitutions. ##
2365 ## ------------------- ##"
2366 echo
2367 for ac_var in $ac_subst_files
2369 eval ac_val=\$$ac_var
2370 case $ac_val in
2371 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2372 esac
2373 $as_echo "$ac_var='\''$ac_val'\''"
2374 done | sort
2375 echo
2378 if test -s confdefs.h; then
2379 $as_echo "## ----------- ##
2380 ## confdefs.h. ##
2381 ## ----------- ##"
2382 echo
2383 cat confdefs.h
2384 echo
2386 test "$ac_signal" != 0 &&
2387 $as_echo "$as_me: caught signal $ac_signal"
2388 $as_echo "$as_me: exit $exit_status"
2389 } >&5
2390 rm -f core *.core core.conftest.* &&
2391 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2392 exit $exit_status
2394 for ac_signal in 1 2 13 15; do
2395 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2396 done
2397 ac_signal=0
2399 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2400 rm -f -r conftest* confdefs.h
2402 $as_echo "/* confdefs.h */" > confdefs.h
2404 # Predefined preprocessor variables.
2406 cat >>confdefs.h <<_ACEOF
2407 #define PACKAGE_NAME "$PACKAGE_NAME"
2408 _ACEOF
2410 cat >>confdefs.h <<_ACEOF
2411 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2412 _ACEOF
2414 cat >>confdefs.h <<_ACEOF
2415 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2416 _ACEOF
2418 cat >>confdefs.h <<_ACEOF
2419 #define PACKAGE_STRING "$PACKAGE_STRING"
2420 _ACEOF
2422 cat >>confdefs.h <<_ACEOF
2423 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2424 _ACEOF
2426 cat >>confdefs.h <<_ACEOF
2427 #define PACKAGE_URL "$PACKAGE_URL"
2428 _ACEOF
2431 # Let the site file select an alternate cache file if it wants to.
2432 # Prefer an explicitly selected file to automatically selected ones.
2433 ac_site_file1=NONE
2434 ac_site_file2=NONE
2435 if test -n "$CONFIG_SITE"; then
2436 # We do not want a PATH search for config.site.
2437 case $CONFIG_SITE in #((
2438 -*) ac_site_file1=./$CONFIG_SITE;;
2439 */*) ac_site_file1=$CONFIG_SITE;;
2440 *) ac_site_file1=./$CONFIG_SITE;;
2441 esac
2442 elif test "x$prefix" != xNONE; then
2443 ac_site_file1=$prefix/share/config.site
2444 ac_site_file2=$prefix/etc/config.site
2445 else
2446 ac_site_file1=$ac_default_prefix/share/config.site
2447 ac_site_file2=$ac_default_prefix/etc/config.site
2449 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2451 test "x$ac_site_file" = xNONE && continue
2452 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2454 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2455 sed 's/^/| /' "$ac_site_file" >&5
2456 . "$ac_site_file" \
2457 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2458 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2459 as_fn_error $? "failed to load site script $ac_site_file
2460 See \`config.log' for more details" "$LINENO" 5; }
2462 done
2464 if test -r "$cache_file"; then
2465 # Some versions of bash will fail to source /dev/null (special files
2466 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2467 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2469 $as_echo "$as_me: loading cache $cache_file" >&6;}
2470 case $cache_file in
2471 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2472 *) . "./$cache_file";;
2473 esac
2475 else
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2477 $as_echo "$as_me: creating cache $cache_file" >&6;}
2478 >$cache_file
2481 # Check that the precious variables saved in the cache have kept the same
2482 # value.
2483 ac_cache_corrupted=false
2484 for ac_var in $ac_precious_vars; do
2485 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2486 eval ac_new_set=\$ac_env_${ac_var}_set
2487 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2488 eval ac_new_val=\$ac_env_${ac_var}_value
2489 case $ac_old_set,$ac_new_set in
2490 set,)
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2492 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2493 ac_cache_corrupted=: ;;
2494 ,set)
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2496 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2497 ac_cache_corrupted=: ;;
2498 ,);;
2500 if test "x$ac_old_val" != "x$ac_new_val"; then
2501 # differences in whitespace do not lead to failure.
2502 ac_old_val_w=`echo x $ac_old_val`
2503 ac_new_val_w=`echo x $ac_new_val`
2504 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2506 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2507 ac_cache_corrupted=:
2508 else
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2510 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2511 eval $ac_var=\$ac_old_val
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2514 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2516 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2517 fi;;
2518 esac
2519 # Pass precious variables to config.status.
2520 if test "$ac_new_set" = set; then
2521 case $ac_new_val in
2522 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2523 *) ac_arg=$ac_var=$ac_new_val ;;
2524 esac
2525 case " $ac_configure_args " in
2526 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2527 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2528 esac
2530 done
2531 if $ac_cache_corrupted; then
2532 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2533 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2535 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2536 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2538 ## -------------------- ##
2539 ## Main body of script. ##
2540 ## -------------------- ##
2542 ac_ext=c
2543 ac_cpp='$CPP $CPPFLAGS'
2544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2550 # Interface:
2551 QUVI_CURRENT=4
2552 QUVI_REVISION=0
2553 QUVI_AGE=4
2559 ac_config_headers="$ac_config_headers config.h"
2561 ac_aux_dir=
2562 for ac_dir in config.aux "$srcdir"/config.aux; do
2563 if test -f "$ac_dir/install-sh"; then
2564 ac_aux_dir=$ac_dir
2565 ac_install_sh="$ac_aux_dir/install-sh -c"
2566 break
2567 elif test -f "$ac_dir/install.sh"; then
2568 ac_aux_dir=$ac_dir
2569 ac_install_sh="$ac_aux_dir/install.sh -c"
2570 break
2571 elif test -f "$ac_dir/shtool"; then
2572 ac_aux_dir=$ac_dir
2573 ac_install_sh="$ac_aux_dir/shtool install -c"
2574 break
2576 done
2577 if test -z "$ac_aux_dir"; then
2578 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config.aux \"$srcdir\"/config.aux" "$LINENO" 5
2581 # These three variables are undocumented and unsupported,
2582 # and are intended to be withdrawn in a future Autoconf release.
2583 # They can cause serious problems if a builder's source tree is in a directory
2584 # whose full name contains unusual characters.
2585 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2586 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2587 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2592 # Make sure we can run config.sub.
2593 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2594 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2597 $as_echo_n "checking build system type... " >&6; }
2598 if ${ac_cv_build+:} false; then :
2599 $as_echo_n "(cached) " >&6
2600 else
2601 ac_build_alias=$build_alias
2602 test "x$ac_build_alias" = x &&
2603 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2604 test "x$ac_build_alias" = x &&
2605 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2606 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2607 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2611 $as_echo "$ac_cv_build" >&6; }
2612 case $ac_cv_build in
2613 *-*-*) ;;
2614 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2615 esac
2616 build=$ac_cv_build
2617 ac_save_IFS=$IFS; IFS='-'
2618 set x $ac_cv_build
2619 shift
2620 build_cpu=$1
2621 build_vendor=$2
2622 shift; shift
2623 # Remember, the first character of IFS is used to create $*,
2624 # except with old shells:
2625 build_os=$*
2626 IFS=$ac_save_IFS
2627 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2631 $as_echo_n "checking host system type... " >&6; }
2632 if ${ac_cv_host+:} false; then :
2633 $as_echo_n "(cached) " >&6
2634 else
2635 if test "x$host_alias" = x; then
2636 ac_cv_host=$ac_cv_build
2637 else
2638 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2639 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2644 $as_echo "$ac_cv_host" >&6; }
2645 case $ac_cv_host in
2646 *-*-*) ;;
2647 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2648 esac
2649 host=$ac_cv_host
2650 ac_save_IFS=$IFS; IFS='-'
2651 set x $ac_cv_host
2652 shift
2653 host_cpu=$1
2654 host_vendor=$2
2655 shift; shift
2656 # Remember, the first character of IFS is used to create $*,
2657 # except with old shells:
2658 host_os=$*
2659 IFS=$ac_save_IFS
2660 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2664 $as_echo_n "checking target system type... " >&6; }
2665 if ${ac_cv_target+:} false; then :
2666 $as_echo_n "(cached) " >&6
2667 else
2668 if test "x$target_alias" = x; then
2669 ac_cv_target=$ac_cv_host
2670 else
2671 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2672 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2677 $as_echo "$ac_cv_target" >&6; }
2678 case $ac_cv_target in
2679 *-*-*) ;;
2680 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2681 esac
2682 target=$ac_cv_target
2683 ac_save_IFS=$IFS; IFS='-'
2684 set x $ac_cv_target
2685 shift
2686 target_cpu=$1
2687 target_vendor=$2
2688 shift; shift
2689 # Remember, the first character of IFS is used to create $*,
2690 # except with old shells:
2691 target_os=$*
2692 IFS=$ac_save_IFS
2693 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2696 # The aliases save the names the user supplied, while $host etc.
2697 # will get canonicalized.
2698 test -n "$target_alias" &&
2699 test "$program_prefix$program_suffix$program_transform_name" = \
2700 NONENONEs,x,x, &&
2701 program_prefix=${target_alias}-
2703 ac_ext=c
2704 ac_cpp='$CPP $CPPFLAGS'
2705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2708 if test -n "$ac_tool_prefix"; then
2709 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2710 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2712 $as_echo_n "checking for $ac_word... " >&6; }
2713 if ${ac_cv_prog_CC+:} false; then :
2714 $as_echo_n "(cached) " >&6
2715 else
2716 if test -n "$CC"; then
2717 ac_cv_prog_CC="$CC" # Let the user override the test.
2718 else
2719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2720 for as_dir in $PATH
2722 IFS=$as_save_IFS
2723 test -z "$as_dir" && as_dir=.
2724 for ac_exec_ext in '' $ac_executable_extensions; do
2725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2726 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2728 break 2
2730 done
2731 done
2732 IFS=$as_save_IFS
2736 CC=$ac_cv_prog_CC
2737 if test -n "$CC"; then
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2739 $as_echo "$CC" >&6; }
2740 else
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2742 $as_echo "no" >&6; }
2747 if test -z "$ac_cv_prog_CC"; then
2748 ac_ct_CC=$CC
2749 # Extract the first word of "gcc", so it can be a program name with args.
2750 set dummy gcc; ac_word=$2
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2752 $as_echo_n "checking for $ac_word... " >&6; }
2753 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2754 $as_echo_n "(cached) " >&6
2755 else
2756 if test -n "$ac_ct_CC"; then
2757 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2758 else
2759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2760 for as_dir in $PATH
2762 IFS=$as_save_IFS
2763 test -z "$as_dir" && as_dir=.
2764 for ac_exec_ext in '' $ac_executable_extensions; do
2765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2766 ac_cv_prog_ac_ct_CC="gcc"
2767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2768 break 2
2770 done
2771 done
2772 IFS=$as_save_IFS
2776 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2777 if test -n "$ac_ct_CC"; then
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2779 $as_echo "$ac_ct_CC" >&6; }
2780 else
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2782 $as_echo "no" >&6; }
2785 if test "x$ac_ct_CC" = x; then
2786 CC=""
2787 else
2788 case $cross_compiling:$ac_tool_warned in
2789 yes:)
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2791 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2792 ac_tool_warned=yes ;;
2793 esac
2794 CC=$ac_ct_CC
2796 else
2797 CC="$ac_cv_prog_CC"
2800 if test -z "$CC"; then
2801 if test -n "$ac_tool_prefix"; then
2802 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2803 set dummy ${ac_tool_prefix}cc; ac_word=$2
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2805 $as_echo_n "checking for $ac_word... " >&6; }
2806 if ${ac_cv_prog_CC+:} false; then :
2807 $as_echo_n "(cached) " >&6
2808 else
2809 if test -n "$CC"; then
2810 ac_cv_prog_CC="$CC" # Let the user override the test.
2811 else
2812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2813 for as_dir in $PATH
2815 IFS=$as_save_IFS
2816 test -z "$as_dir" && as_dir=.
2817 for ac_exec_ext in '' $ac_executable_extensions; do
2818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2819 ac_cv_prog_CC="${ac_tool_prefix}cc"
2820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2821 break 2
2823 done
2824 done
2825 IFS=$as_save_IFS
2829 CC=$ac_cv_prog_CC
2830 if test -n "$CC"; then
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2832 $as_echo "$CC" >&6; }
2833 else
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2835 $as_echo "no" >&6; }
2841 if test -z "$CC"; then
2842 # Extract the first word of "cc", so it can be a program name with args.
2843 set dummy cc; ac_word=$2
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2845 $as_echo_n "checking for $ac_word... " >&6; }
2846 if ${ac_cv_prog_CC+:} false; then :
2847 $as_echo_n "(cached) " >&6
2848 else
2849 if test -n "$CC"; then
2850 ac_cv_prog_CC="$CC" # Let the user override the test.
2851 else
2852 ac_prog_rejected=no
2853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2854 for as_dir in $PATH
2856 IFS=$as_save_IFS
2857 test -z "$as_dir" && as_dir=.
2858 for ac_exec_ext in '' $ac_executable_extensions; do
2859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2860 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2861 ac_prog_rejected=yes
2862 continue
2864 ac_cv_prog_CC="cc"
2865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2866 break 2
2868 done
2869 done
2870 IFS=$as_save_IFS
2872 if test $ac_prog_rejected = yes; then
2873 # We found a bogon in the path, so make sure we never use it.
2874 set dummy $ac_cv_prog_CC
2875 shift
2876 if test $# != 0; then
2877 # We chose a different compiler from the bogus one.
2878 # However, it has the same basename, so the bogon will be chosen
2879 # first if we set CC to just the basename; use the full file name.
2880 shift
2881 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2886 CC=$ac_cv_prog_CC
2887 if test -n "$CC"; then
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2889 $as_echo "$CC" >&6; }
2890 else
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2892 $as_echo "no" >&6; }
2897 if test -z "$CC"; then
2898 if test -n "$ac_tool_prefix"; then
2899 for ac_prog in cl.exe
2901 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2902 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2904 $as_echo_n "checking for $ac_word... " >&6; }
2905 if ${ac_cv_prog_CC+:} false; then :
2906 $as_echo_n "(cached) " >&6
2907 else
2908 if test -n "$CC"; then
2909 ac_cv_prog_CC="$CC" # Let the user override the test.
2910 else
2911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2912 for as_dir in $PATH
2914 IFS=$as_save_IFS
2915 test -z "$as_dir" && as_dir=.
2916 for ac_exec_ext in '' $ac_executable_extensions; do
2917 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2918 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2920 break 2
2922 done
2923 done
2924 IFS=$as_save_IFS
2928 CC=$ac_cv_prog_CC
2929 if test -n "$CC"; then
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2931 $as_echo "$CC" >&6; }
2932 else
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2934 $as_echo "no" >&6; }
2938 test -n "$CC" && break
2939 done
2941 if test -z "$CC"; then
2942 ac_ct_CC=$CC
2943 for ac_prog in cl.exe
2945 # Extract the first word of "$ac_prog", so it can be a program name with args.
2946 set dummy $ac_prog; ac_word=$2
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2948 $as_echo_n "checking for $ac_word... " >&6; }
2949 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2950 $as_echo_n "(cached) " >&6
2951 else
2952 if test -n "$ac_ct_CC"; then
2953 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2954 else
2955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2956 for as_dir in $PATH
2958 IFS=$as_save_IFS
2959 test -z "$as_dir" && as_dir=.
2960 for ac_exec_ext in '' $ac_executable_extensions; do
2961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2962 ac_cv_prog_ac_ct_CC="$ac_prog"
2963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2964 break 2
2966 done
2967 done
2968 IFS=$as_save_IFS
2972 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2973 if test -n "$ac_ct_CC"; then
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2975 $as_echo "$ac_ct_CC" >&6; }
2976 else
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2978 $as_echo "no" >&6; }
2982 test -n "$ac_ct_CC" && break
2983 done
2985 if test "x$ac_ct_CC" = x; then
2986 CC=""
2987 else
2988 case $cross_compiling:$ac_tool_warned in
2989 yes:)
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2991 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2992 ac_tool_warned=yes ;;
2993 esac
2994 CC=$ac_ct_CC
3001 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3002 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3003 as_fn_error $? "no acceptable C compiler found in \$PATH
3004 See \`config.log' for more details" "$LINENO" 5; }
3006 # Provide some information about the compiler.
3007 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3008 set X $ac_compile
3009 ac_compiler=$2
3010 for ac_option in --version -v -V -qversion; do
3011 { { ac_try="$ac_compiler $ac_option >&5"
3012 case "(($ac_try" in
3013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3014 *) ac_try_echo=$ac_try;;
3015 esac
3016 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3017 $as_echo "$ac_try_echo"; } >&5
3018 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3019 ac_status=$?
3020 if test -s conftest.err; then
3021 sed '10a\
3022 ... rest of stderr output deleted ...
3023 10q' conftest.err >conftest.er1
3024 cat conftest.er1 >&5
3026 rm -f conftest.er1 conftest.err
3027 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3028 test $ac_status = 0; }
3029 done
3031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3032 /* end confdefs.h. */
3035 main ()
3039 return 0;
3041 _ACEOF
3042 ac_clean_files_save=$ac_clean_files
3043 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3044 # Try to create an executable without -o first, disregard a.out.
3045 # It will help us diagnose broken compilers, and finding out an intuition
3046 # of exeext.
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3048 $as_echo_n "checking whether the C compiler works... " >&6; }
3049 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3051 # The possible output files:
3052 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3054 ac_rmfiles=
3055 for ac_file in $ac_files
3057 case $ac_file in
3058 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3059 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3060 esac
3061 done
3062 rm -f $ac_rmfiles
3064 if { { ac_try="$ac_link_default"
3065 case "(($ac_try" in
3066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3067 *) ac_try_echo=$ac_try;;
3068 esac
3069 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3070 $as_echo "$ac_try_echo"; } >&5
3071 (eval "$ac_link_default") 2>&5
3072 ac_status=$?
3073 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3074 test $ac_status = 0; }; then :
3075 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3076 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3077 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3078 # so that the user can short-circuit this test for compilers unknown to
3079 # Autoconf.
3080 for ac_file in $ac_files ''
3082 test -f "$ac_file" || continue
3083 case $ac_file in
3084 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3086 [ab].out )
3087 # We found the default executable, but exeext='' is most
3088 # certainly right.
3089 break;;
3090 *.* )
3091 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3092 then :; else
3093 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3095 # We set ac_cv_exeext here because the later test for it is not
3096 # safe: cross compilers may not add the suffix if given an `-o'
3097 # argument, so we may need to know it at that point already.
3098 # Even if this section looks crufty: it has the advantage of
3099 # actually working.
3100 break;;
3102 break;;
3103 esac
3104 done
3105 test "$ac_cv_exeext" = no && ac_cv_exeext=
3107 else
3108 ac_file=''
3110 if test -z "$ac_file"; then :
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3112 $as_echo "no" >&6; }
3113 $as_echo "$as_me: failed program was:" >&5
3114 sed 's/^/| /' conftest.$ac_ext >&5
3116 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3117 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3118 as_fn_error 77 "C compiler cannot create executables
3119 See \`config.log' for more details" "$LINENO" 5; }
3120 else
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3122 $as_echo "yes" >&6; }
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3125 $as_echo_n "checking for C compiler default output file name... " >&6; }
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3127 $as_echo "$ac_file" >&6; }
3128 ac_exeext=$ac_cv_exeext
3130 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3131 ac_clean_files=$ac_clean_files_save
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3133 $as_echo_n "checking for suffix of executables... " >&6; }
3134 if { { ac_try="$ac_link"
3135 case "(($ac_try" in
3136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3137 *) ac_try_echo=$ac_try;;
3138 esac
3139 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3140 $as_echo "$ac_try_echo"; } >&5
3141 (eval "$ac_link") 2>&5
3142 ac_status=$?
3143 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3144 test $ac_status = 0; }; then :
3145 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3146 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3147 # work properly (i.e., refer to `conftest.exe'), while it won't with
3148 # `rm'.
3149 for ac_file in conftest.exe conftest conftest.*; do
3150 test -f "$ac_file" || continue
3151 case $ac_file in
3152 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3153 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3154 break;;
3155 * ) break;;
3156 esac
3157 done
3158 else
3159 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3160 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3161 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3162 See \`config.log' for more details" "$LINENO" 5; }
3164 rm -f conftest conftest$ac_cv_exeext
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3166 $as_echo "$ac_cv_exeext" >&6; }
3168 rm -f conftest.$ac_ext
3169 EXEEXT=$ac_cv_exeext
3170 ac_exeext=$EXEEXT
3171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3172 /* end confdefs.h. */
3173 #include <stdio.h>
3175 main ()
3177 FILE *f = fopen ("conftest.out", "w");
3178 return ferror (f) || fclose (f) != 0;
3181 return 0;
3183 _ACEOF
3184 ac_clean_files="$ac_clean_files conftest.out"
3185 # Check that the compiler produces executables we can run. If not, either
3186 # the compiler is broken, or we cross compile.
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3188 $as_echo_n "checking whether we are cross compiling... " >&6; }
3189 if test "$cross_compiling" != yes; then
3190 { { ac_try="$ac_link"
3191 case "(($ac_try" in
3192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3193 *) ac_try_echo=$ac_try;;
3194 esac
3195 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3196 $as_echo "$ac_try_echo"; } >&5
3197 (eval "$ac_link") 2>&5
3198 ac_status=$?
3199 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3200 test $ac_status = 0; }
3201 if { ac_try='./conftest$ac_cv_exeext'
3202 { { case "(($ac_try" in
3203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3204 *) ac_try_echo=$ac_try;;
3205 esac
3206 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3207 $as_echo "$ac_try_echo"; } >&5
3208 (eval "$ac_try") 2>&5
3209 ac_status=$?
3210 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3211 test $ac_status = 0; }; }; then
3212 cross_compiling=no
3213 else
3214 if test "$cross_compiling" = maybe; then
3215 cross_compiling=yes
3216 else
3217 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3218 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3219 as_fn_error $? "cannot run C compiled programs.
3220 If you meant to cross compile, use \`--host'.
3221 See \`config.log' for more details" "$LINENO" 5; }
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3226 $as_echo "$cross_compiling" >&6; }
3228 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3229 ac_clean_files=$ac_clean_files_save
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3231 $as_echo_n "checking for suffix of object files... " >&6; }
3232 if ${ac_cv_objext+:} false; then :
3233 $as_echo_n "(cached) " >&6
3234 else
3235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3236 /* end confdefs.h. */
3239 main ()
3243 return 0;
3245 _ACEOF
3246 rm -f conftest.o conftest.obj
3247 if { { ac_try="$ac_compile"
3248 case "(($ac_try" in
3249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3250 *) ac_try_echo=$ac_try;;
3251 esac
3252 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3253 $as_echo "$ac_try_echo"; } >&5
3254 (eval "$ac_compile") 2>&5
3255 ac_status=$?
3256 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3257 test $ac_status = 0; }; then :
3258 for ac_file in conftest.o conftest.obj conftest.*; do
3259 test -f "$ac_file" || continue;
3260 case $ac_file in
3261 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3262 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3263 break;;
3264 esac
3265 done
3266 else
3267 $as_echo "$as_me: failed program was:" >&5
3268 sed 's/^/| /' conftest.$ac_ext >&5
3270 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3271 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3272 as_fn_error $? "cannot compute suffix of object files: cannot compile
3273 See \`config.log' for more details" "$LINENO" 5; }
3275 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3278 $as_echo "$ac_cv_objext" >&6; }
3279 OBJEXT=$ac_cv_objext
3280 ac_objext=$OBJEXT
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3282 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3283 if ${ac_cv_c_compiler_gnu+:} false; then :
3284 $as_echo_n "(cached) " >&6
3285 else
3286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3287 /* end confdefs.h. */
3290 main ()
3292 #ifndef __GNUC__
3293 choke me
3294 #endif
3297 return 0;
3299 _ACEOF
3300 if ac_fn_c_try_compile "$LINENO"; then :
3301 ac_compiler_gnu=yes
3302 else
3303 ac_compiler_gnu=no
3305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3306 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3310 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3311 if test $ac_compiler_gnu = yes; then
3312 GCC=yes
3313 else
3314 GCC=
3316 ac_test_CFLAGS=${CFLAGS+set}
3317 ac_save_CFLAGS=$CFLAGS
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3319 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3320 if ${ac_cv_prog_cc_g+:} false; then :
3321 $as_echo_n "(cached) " >&6
3322 else
3323 ac_save_c_werror_flag=$ac_c_werror_flag
3324 ac_c_werror_flag=yes
3325 ac_cv_prog_cc_g=no
3326 CFLAGS="-g"
3327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3328 /* end confdefs.h. */
3331 main ()
3335 return 0;
3337 _ACEOF
3338 if ac_fn_c_try_compile "$LINENO"; then :
3339 ac_cv_prog_cc_g=yes
3340 else
3341 CFLAGS=""
3342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3343 /* end confdefs.h. */
3346 main ()
3350 return 0;
3352 _ACEOF
3353 if ac_fn_c_try_compile "$LINENO"; then :
3355 else
3356 ac_c_werror_flag=$ac_save_c_werror_flag
3357 CFLAGS="-g"
3358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3359 /* end confdefs.h. */
3362 main ()
3366 return 0;
3368 _ACEOF
3369 if ac_fn_c_try_compile "$LINENO"; then :
3370 ac_cv_prog_cc_g=yes
3372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3377 ac_c_werror_flag=$ac_save_c_werror_flag
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3380 $as_echo "$ac_cv_prog_cc_g" >&6; }
3381 if test "$ac_test_CFLAGS" = set; then
3382 CFLAGS=$ac_save_CFLAGS
3383 elif test $ac_cv_prog_cc_g = yes; then
3384 if test "$GCC" = yes; then
3385 CFLAGS="-g -O2"
3386 else
3387 CFLAGS="-g"
3389 else
3390 if test "$GCC" = yes; then
3391 CFLAGS="-O2"
3392 else
3393 CFLAGS=
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3397 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3398 if ${ac_cv_prog_cc_c89+:} false; then :
3399 $as_echo_n "(cached) " >&6
3400 else
3401 ac_cv_prog_cc_c89=no
3402 ac_save_CC=$CC
3403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3404 /* end confdefs.h. */
3405 #include <stdarg.h>
3406 #include <stdio.h>
3407 #include <sys/types.h>
3408 #include <sys/stat.h>
3409 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3410 struct buf { int x; };
3411 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3412 static char *e (p, i)
3413 char **p;
3414 int i;
3416 return p[i];
3418 static char *f (char * (*g) (char **, int), char **p, ...)
3420 char *s;
3421 va_list v;
3422 va_start (v,p);
3423 s = g (p, va_arg (v,int));
3424 va_end (v);
3425 return s;
3428 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3429 function prototypes and stuff, but not '\xHH' hex character constants.
3430 These don't provoke an error unfortunately, instead are silently treated
3431 as 'x'. The following induces an error, until -std is added to get
3432 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3433 array size at least. It's necessary to write '\x00'==0 to get something
3434 that's true only with -std. */
3435 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3437 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3438 inside strings and character constants. */
3439 #define FOO(x) 'x'
3440 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3442 int test (int i, double x);
3443 struct s1 {int (*f) (int a);};
3444 struct s2 {int (*f) (double a);};
3445 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3446 int argc;
3447 char **argv;
3449 main ()
3451 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3453 return 0;
3455 _ACEOF
3456 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3457 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3459 CC="$ac_save_CC $ac_arg"
3460 if ac_fn_c_try_compile "$LINENO"; then :
3461 ac_cv_prog_cc_c89=$ac_arg
3463 rm -f core conftest.err conftest.$ac_objext
3464 test "x$ac_cv_prog_cc_c89" != "xno" && break
3465 done
3466 rm -f conftest.$ac_ext
3467 CC=$ac_save_CC
3470 # AC_CACHE_VAL
3471 case "x$ac_cv_prog_cc_c89" in
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3474 $as_echo "none needed" >&6; } ;;
3475 xno)
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3477 $as_echo "unsupported" >&6; } ;;
3479 CC="$CC $ac_cv_prog_cc_c89"
3480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3481 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3482 esac
3483 if test "x$ac_cv_prog_cc_c89" != xno; then :
3487 ac_ext=c
3488 ac_cpp='$CPP $CPPFLAGS'
3489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3494 ac_ext=c
3495 ac_cpp='$CPP $CPPFLAGS'
3496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3500 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3501 # On Suns, sometimes $CPP names a directory.
3502 if test -n "$CPP" && test -d "$CPP"; then
3503 CPP=
3505 if test -z "$CPP"; then
3506 if ${ac_cv_prog_CPP+:} false; then :
3507 $as_echo_n "(cached) " >&6
3508 else
3509 # Double quotes because CPP needs to be expanded
3510 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3512 ac_preproc_ok=false
3513 for ac_c_preproc_warn_flag in '' yes
3515 # Use a header file that comes with gcc, so configuring glibc
3516 # with a fresh cross-compiler works.
3517 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3518 # <limits.h> exists even on freestanding compilers.
3519 # On the NeXT, cc -E runs the code through the compiler's parser,
3520 # not just through cpp. "Syntax error" is here to catch this case.
3521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3522 /* end confdefs.h. */
3523 #ifdef __STDC__
3524 # include <limits.h>
3525 #else
3526 # include <assert.h>
3527 #endif
3528 Syntax error
3529 _ACEOF
3530 if ac_fn_c_try_cpp "$LINENO"; then :
3532 else
3533 # Broken: fails on valid input.
3534 continue
3536 rm -f conftest.err conftest.i conftest.$ac_ext
3538 # OK, works on sane cases. Now check whether nonexistent headers
3539 # can be detected and how.
3540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3541 /* end confdefs.h. */
3542 #include <ac_nonexistent.h>
3543 _ACEOF
3544 if ac_fn_c_try_cpp "$LINENO"; then :
3545 # Broken: success on invalid input.
3546 continue
3547 else
3548 # Passes both tests.
3549 ac_preproc_ok=:
3550 break
3552 rm -f conftest.err conftest.i conftest.$ac_ext
3554 done
3555 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3556 rm -f conftest.i conftest.err conftest.$ac_ext
3557 if $ac_preproc_ok; then :
3558 break
3561 done
3562 ac_cv_prog_CPP=$CPP
3565 CPP=$ac_cv_prog_CPP
3566 else
3567 ac_cv_prog_CPP=$CPP
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3570 $as_echo "$CPP" >&6; }
3571 ac_preproc_ok=false
3572 for ac_c_preproc_warn_flag in '' yes
3574 # Use a header file that comes with gcc, so configuring glibc
3575 # with a fresh cross-compiler works.
3576 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3577 # <limits.h> exists even on freestanding compilers.
3578 # On the NeXT, cc -E runs the code through the compiler's parser,
3579 # not just through cpp. "Syntax error" is here to catch this case.
3580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3581 /* end confdefs.h. */
3582 #ifdef __STDC__
3583 # include <limits.h>
3584 #else
3585 # include <assert.h>
3586 #endif
3587 Syntax error
3588 _ACEOF
3589 if ac_fn_c_try_cpp "$LINENO"; then :
3591 else
3592 # Broken: fails on valid input.
3593 continue
3595 rm -f conftest.err conftest.i conftest.$ac_ext
3597 # OK, works on sane cases. Now check whether nonexistent headers
3598 # can be detected and how.
3599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3600 /* end confdefs.h. */
3601 #include <ac_nonexistent.h>
3602 _ACEOF
3603 if ac_fn_c_try_cpp "$LINENO"; then :
3604 # Broken: success on invalid input.
3605 continue
3606 else
3607 # Passes both tests.
3608 ac_preproc_ok=:
3609 break
3611 rm -f conftest.err conftest.i conftest.$ac_ext
3613 done
3614 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3615 rm -f conftest.i conftest.err conftest.$ac_ext
3616 if $ac_preproc_ok; then :
3618 else
3619 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3620 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3621 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3622 See \`config.log' for more details" "$LINENO" 5; }
3625 ac_ext=c
3626 ac_cpp='$CPP $CPPFLAGS'
3627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3633 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3634 if ${ac_cv_path_GREP+:} false; then :
3635 $as_echo_n "(cached) " >&6
3636 else
3637 if test -z "$GREP"; then
3638 ac_path_GREP_found=false
3639 # Loop through the user's path and test for each of PROGNAME-LIST
3640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3641 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3643 IFS=$as_save_IFS
3644 test -z "$as_dir" && as_dir=.
3645 for ac_prog in grep ggrep; do
3646 for ac_exec_ext in '' $ac_executable_extensions; do
3647 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3648 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3649 # Check for GNU ac_path_GREP and select it if it is found.
3650 # Check for GNU $ac_path_GREP
3651 case `"$ac_path_GREP" --version 2>&1` in
3652 *GNU*)
3653 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3655 ac_count=0
3656 $as_echo_n 0123456789 >"conftest.in"
3657 while :
3659 cat "conftest.in" "conftest.in" >"conftest.tmp"
3660 mv "conftest.tmp" "conftest.in"
3661 cp "conftest.in" "conftest.nl"
3662 $as_echo 'GREP' >> "conftest.nl"
3663 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3664 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3665 as_fn_arith $ac_count + 1 && ac_count=$as_val
3666 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3667 # Best one so far, save it but keep looking for a better one
3668 ac_cv_path_GREP="$ac_path_GREP"
3669 ac_path_GREP_max=$ac_count
3671 # 10*(2^10) chars as input seems more than enough
3672 test $ac_count -gt 10 && break
3673 done
3674 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3675 esac
3677 $ac_path_GREP_found && break 3
3678 done
3679 done
3680 done
3681 IFS=$as_save_IFS
3682 if test -z "$ac_cv_path_GREP"; then
3683 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3685 else
3686 ac_cv_path_GREP=$GREP
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3691 $as_echo "$ac_cv_path_GREP" >&6; }
3692 GREP="$ac_cv_path_GREP"
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3696 $as_echo_n "checking for egrep... " >&6; }
3697 if ${ac_cv_path_EGREP+:} false; then :
3698 $as_echo_n "(cached) " >&6
3699 else
3700 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3701 then ac_cv_path_EGREP="$GREP -E"
3702 else
3703 if test -z "$EGREP"; then
3704 ac_path_EGREP_found=false
3705 # Loop through the user's path and test for each of PROGNAME-LIST
3706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3707 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3709 IFS=$as_save_IFS
3710 test -z "$as_dir" && as_dir=.
3711 for ac_prog in egrep; do
3712 for ac_exec_ext in '' $ac_executable_extensions; do
3713 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3714 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3715 # Check for GNU ac_path_EGREP and select it if it is found.
3716 # Check for GNU $ac_path_EGREP
3717 case `"$ac_path_EGREP" --version 2>&1` in
3718 *GNU*)
3719 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3721 ac_count=0
3722 $as_echo_n 0123456789 >"conftest.in"
3723 while :
3725 cat "conftest.in" "conftest.in" >"conftest.tmp"
3726 mv "conftest.tmp" "conftest.in"
3727 cp "conftest.in" "conftest.nl"
3728 $as_echo 'EGREP' >> "conftest.nl"
3729 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3730 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3731 as_fn_arith $ac_count + 1 && ac_count=$as_val
3732 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3733 # Best one so far, save it but keep looking for a better one
3734 ac_cv_path_EGREP="$ac_path_EGREP"
3735 ac_path_EGREP_max=$ac_count
3737 # 10*(2^10) chars as input seems more than enough
3738 test $ac_count -gt 10 && break
3739 done
3740 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3741 esac
3743 $ac_path_EGREP_found && break 3
3744 done
3745 done
3746 done
3747 IFS=$as_save_IFS
3748 if test -z "$ac_cv_path_EGREP"; then
3749 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3751 else
3752 ac_cv_path_EGREP=$EGREP
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3758 $as_echo "$ac_cv_path_EGREP" >&6; }
3759 EGREP="$ac_cv_path_EGREP"
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3763 $as_echo_n "checking for ANSI C header files... " >&6; }
3764 if ${ac_cv_header_stdc+:} false; then :
3765 $as_echo_n "(cached) " >&6
3766 else
3767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3768 /* end confdefs.h. */
3769 #include <stdlib.h>
3770 #include <stdarg.h>
3771 #include <string.h>
3772 #include <float.h>
3775 main ()
3779 return 0;
3781 _ACEOF
3782 if ac_fn_c_try_compile "$LINENO"; then :
3783 ac_cv_header_stdc=yes
3784 else
3785 ac_cv_header_stdc=no
3787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3789 if test $ac_cv_header_stdc = yes; then
3790 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3792 /* end confdefs.h. */
3793 #include <string.h>
3795 _ACEOF
3796 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3797 $EGREP "memchr" >/dev/null 2>&1; then :
3799 else
3800 ac_cv_header_stdc=no
3802 rm -f conftest*
3806 if test $ac_cv_header_stdc = yes; then
3807 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3809 /* end confdefs.h. */
3810 #include <stdlib.h>
3812 _ACEOF
3813 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3814 $EGREP "free" >/dev/null 2>&1; then :
3816 else
3817 ac_cv_header_stdc=no
3819 rm -f conftest*
3823 if test $ac_cv_header_stdc = yes; then
3824 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3825 if test "$cross_compiling" = yes; then :
3827 else
3828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3829 /* end confdefs.h. */
3830 #include <ctype.h>
3831 #include <stdlib.h>
3832 #if ((' ' & 0x0FF) == 0x020)
3833 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3834 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3835 #else
3836 # define ISLOWER(c) \
3837 (('a' <= (c) && (c) <= 'i') \
3838 || ('j' <= (c) && (c) <= 'r') \
3839 || ('s' <= (c) && (c) <= 'z'))
3840 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3841 #endif
3843 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3845 main ()
3847 int i;
3848 for (i = 0; i < 256; i++)
3849 if (XOR (islower (i), ISLOWER (i))
3850 || toupper (i) != TOUPPER (i))
3851 return 2;
3852 return 0;
3854 _ACEOF
3855 if ac_fn_c_try_run "$LINENO"; then :
3857 else
3858 ac_cv_header_stdc=no
3860 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3861 conftest.$ac_objext conftest.beam conftest.$ac_ext
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3867 $as_echo "$ac_cv_header_stdc" >&6; }
3868 if test $ac_cv_header_stdc = yes; then
3870 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3874 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3875 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3876 inttypes.h stdint.h unistd.h
3877 do :
3878 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3879 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3881 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3882 cat >>confdefs.h <<_ACEOF
3883 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3884 _ACEOF
3888 done
3892 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3893 if test "x$ac_cv_header_minix_config_h" = xyes; then :
3894 MINIX=yes
3895 else
3896 MINIX=
3900 if test "$MINIX" = yes; then
3902 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3905 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3908 $as_echo "#define _MINIX 1" >>confdefs.h
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3914 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3915 if ${ac_cv_safe_to_define___extensions__+:} false; then :
3916 $as_echo_n "(cached) " >&6
3917 else
3918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3919 /* end confdefs.h. */
3921 # define __EXTENSIONS__ 1
3922 $ac_includes_default
3924 main ()
3928 return 0;
3930 _ACEOF
3931 if ac_fn_c_try_compile "$LINENO"; then :
3932 ac_cv_safe_to_define___extensions__=yes
3933 else
3934 ac_cv_safe_to_define___extensions__=no
3936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3939 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3940 test $ac_cv_safe_to_define___extensions__ = yes &&
3941 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3943 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3945 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3947 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3949 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3955 cat >>confdefs.h <<_ACEOF
3956 #define CANONICAL_TARGET "$target"
3957 _ACEOF
3960 cat >>confdefs.h <<_ACEOF
3961 #define CANONICAL_HOST "$host"
3962 _ACEOF
3965 am__api_version='1.11'
3967 # Find a good install program. We prefer a C program (faster),
3968 # so one script is as good as another. But avoid the broken or
3969 # incompatible versions:
3970 # SysV /etc/install, /usr/sbin/install
3971 # SunOS /usr/etc/install
3972 # IRIX /sbin/install
3973 # AIX /bin/install
3974 # AmigaOS /C/install, which installs bootblocks on floppy discs
3975 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3976 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3977 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3978 # OS/2's system install, which has a completely different semantic
3979 # ./install, which can be erroneously created by make from ./install.sh.
3980 # Reject install programs that cannot install multiple files.
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3982 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3983 if test -z "$INSTALL"; then
3984 if ${ac_cv_path_install+:} false; then :
3985 $as_echo_n "(cached) " >&6
3986 else
3987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3988 for as_dir in $PATH
3990 IFS=$as_save_IFS
3991 test -z "$as_dir" && as_dir=.
3992 # Account for people who put trailing slashes in PATH elements.
3993 case $as_dir/ in #((
3994 ./ | .// | /[cC]/* | \
3995 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3996 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3997 /usr/ucb/* ) ;;
3999 # OSF1 and SCO ODT 3.0 have their own names for install.
4000 # Don't use installbsd from OSF since it installs stuff as root
4001 # by default.
4002 for ac_prog in ginstall scoinst install; do
4003 for ac_exec_ext in '' $ac_executable_extensions; do
4004 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4005 if test $ac_prog = install &&
4006 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4007 # AIX install. It has an incompatible calling convention.
4009 elif test $ac_prog = install &&
4010 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4011 # program-specific install script used by HP pwplus--don't use.
4013 else
4014 rm -rf conftest.one conftest.two conftest.dir
4015 echo one > conftest.one
4016 echo two > conftest.two
4017 mkdir conftest.dir
4018 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4019 test -s conftest.one && test -s conftest.two &&
4020 test -s conftest.dir/conftest.one &&
4021 test -s conftest.dir/conftest.two
4022 then
4023 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4024 break 3
4028 done
4029 done
4031 esac
4033 done
4034 IFS=$as_save_IFS
4036 rm -rf conftest.one conftest.two conftest.dir
4039 if test "${ac_cv_path_install+set}" = set; then
4040 INSTALL=$ac_cv_path_install
4041 else
4042 # As a last resort, use the slow shell script. Don't cache a
4043 # value for INSTALL within a source directory, because that will
4044 # break other packages using the cache if that directory is
4045 # removed, or if the value is a relative name.
4046 INSTALL=$ac_install_sh
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4050 $as_echo "$INSTALL" >&6; }
4052 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4053 # It thinks the first close brace ends the variable substitution.
4054 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4056 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4058 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4061 $as_echo_n "checking whether build environment is sane... " >&6; }
4062 # Just in case
4063 sleep 1
4064 echo timestamp > conftest.file
4065 # Reject unsafe characters in $srcdir or the absolute working directory
4066 # name. Accept space and tab only in the latter.
4067 am_lf='
4069 case `pwd` in
4070 *[\\\"\#\$\&\'\`$am_lf]*)
4071 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
4072 esac
4073 case $srcdir in
4074 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
4075 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
4076 esac
4078 # Do `set' in a subshell so we don't clobber the current shell's
4079 # arguments. Must try -L first in case configure is actually a
4080 # symlink; some systems play weird games with the mod time of symlinks
4081 # (eg FreeBSD returns the mod time of the symlink's containing
4082 # directory).
4083 if (
4084 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4085 if test "$*" = "X"; then
4086 # -L didn't work.
4087 set X `ls -t "$srcdir/configure" conftest.file`
4089 rm -f conftest.file
4090 if test "$*" != "X $srcdir/configure conftest.file" \
4091 && test "$*" != "X conftest.file $srcdir/configure"; then
4093 # If neither matched, then we have a broken ls. This can happen
4094 # if, for instance, CONFIG_SHELL is bash and it inherits a
4095 # broken ls alias from the environment. This has actually
4096 # happened. Such a system could not be considered "sane".
4097 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
4098 alias in your environment" "$LINENO" 5
4101 test "$2" = conftest.file
4103 then
4104 # Ok.
4106 else
4107 as_fn_error $? "newly created file is older than distributed files!
4108 Check your system clock" "$LINENO" 5
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4111 $as_echo "yes" >&6; }
4112 test "$program_prefix" != NONE &&
4113 program_transform_name="s&^&$program_prefix&;$program_transform_name"
4114 # Use a double $ so make ignores it.
4115 test "$program_suffix" != NONE &&
4116 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
4117 # Double any \ or $.
4118 # By default was `s,x,x', remove it if useless.
4119 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
4120 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
4122 # expand $ac_aux_dir to an absolute path
4123 am_aux_dir=`cd $ac_aux_dir && pwd`
4125 if test x"${MISSING+set}" != xset; then
4126 case $am_aux_dir in
4127 *\ * | *\ *)
4128 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
4130 MISSING="\${SHELL} $am_aux_dir/missing" ;;
4131 esac
4133 # Use eval to expand $SHELL
4134 if eval "$MISSING --run true"; then
4135 am_missing_run="$MISSING --run "
4136 else
4137 am_missing_run=
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
4139 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
4142 if test x"${install_sh}" != xset; then
4143 case $am_aux_dir in
4144 *\ * | *\ *)
4145 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
4147 install_sh="\${SHELL} $am_aux_dir/install-sh"
4148 esac
4151 # Installed binaries are usually stripped using `strip' when the user
4152 # run `make install-strip'. However `strip' might not be the right
4153 # tool to use in cross-compilation environments, therefore Automake
4154 # will honor the `STRIP' environment variable to overrule this program.
4155 if test "$cross_compiling" != no; then
4156 if test -n "$ac_tool_prefix"; then
4157 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4158 set dummy ${ac_tool_prefix}strip; ac_word=$2
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4160 $as_echo_n "checking for $ac_word... " >&6; }
4161 if ${ac_cv_prog_STRIP+:} false; then :
4162 $as_echo_n "(cached) " >&6
4163 else
4164 if test -n "$STRIP"; then
4165 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4166 else
4167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4168 for as_dir in $PATH
4170 IFS=$as_save_IFS
4171 test -z "$as_dir" && as_dir=.
4172 for ac_exec_ext in '' $ac_executable_extensions; do
4173 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4174 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4176 break 2
4178 done
4179 done
4180 IFS=$as_save_IFS
4184 STRIP=$ac_cv_prog_STRIP
4185 if test -n "$STRIP"; then
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4187 $as_echo "$STRIP" >&6; }
4188 else
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4190 $as_echo "no" >&6; }
4195 if test -z "$ac_cv_prog_STRIP"; then
4196 ac_ct_STRIP=$STRIP
4197 # Extract the first word of "strip", so it can be a program name with args.
4198 set dummy strip; ac_word=$2
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4200 $as_echo_n "checking for $ac_word... " >&6; }
4201 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
4202 $as_echo_n "(cached) " >&6
4203 else
4204 if test -n "$ac_ct_STRIP"; then
4205 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4206 else
4207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4208 for as_dir in $PATH
4210 IFS=$as_save_IFS
4211 test -z "$as_dir" && as_dir=.
4212 for ac_exec_ext in '' $ac_executable_extensions; do
4213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4214 ac_cv_prog_ac_ct_STRIP="strip"
4215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4216 break 2
4218 done
4219 done
4220 IFS=$as_save_IFS
4224 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4225 if test -n "$ac_ct_STRIP"; then
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4227 $as_echo "$ac_ct_STRIP" >&6; }
4228 else
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4230 $as_echo "no" >&6; }
4233 if test "x$ac_ct_STRIP" = x; then
4234 STRIP=":"
4235 else
4236 case $cross_compiling:$ac_tool_warned in
4237 yes:)
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4239 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4240 ac_tool_warned=yes ;;
4241 esac
4242 STRIP=$ac_ct_STRIP
4244 else
4245 STRIP="$ac_cv_prog_STRIP"
4249 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4252 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4253 if test -z "$MKDIR_P"; then
4254 if ${ac_cv_path_mkdir+:} false; then :
4255 $as_echo_n "(cached) " >&6
4256 else
4257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4258 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
4260 IFS=$as_save_IFS
4261 test -z "$as_dir" && as_dir=.
4262 for ac_prog in mkdir gmkdir; do
4263 for ac_exec_ext in '' $ac_executable_extensions; do
4264 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
4265 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4266 'mkdir (GNU coreutils) '* | \
4267 'mkdir (coreutils) '* | \
4268 'mkdir (fileutils) '4.1*)
4269 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
4270 break 3;;
4271 esac
4272 done
4273 done
4274 done
4275 IFS=$as_save_IFS
4279 test -d ./--version && rmdir ./--version
4280 if test "${ac_cv_path_mkdir+set}" = set; then
4281 MKDIR_P="$ac_cv_path_mkdir -p"
4282 else
4283 # As a last resort, use the slow shell script. Don't cache a
4284 # value for MKDIR_P within a source directory, because that will
4285 # break other packages using the cache if that directory is
4286 # removed, or if the value is a relative name.
4287 MKDIR_P="$ac_install_sh -d"
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4291 $as_echo "$MKDIR_P" >&6; }
4293 mkdir_p="$MKDIR_P"
4294 case $mkdir_p in
4295 [\\/$]* | ?:[\\/]*) ;;
4296 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
4297 esac
4299 for ac_prog in gawk mawk nawk awk
4301 # Extract the first word of "$ac_prog", so it can be a program name with args.
4302 set dummy $ac_prog; ac_word=$2
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4304 $as_echo_n "checking for $ac_word... " >&6; }
4305 if ${ac_cv_prog_AWK+:} false; then :
4306 $as_echo_n "(cached) " >&6
4307 else
4308 if test -n "$AWK"; then
4309 ac_cv_prog_AWK="$AWK" # Let the user override the test.
4310 else
4311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4312 for as_dir in $PATH
4314 IFS=$as_save_IFS
4315 test -z "$as_dir" && as_dir=.
4316 for ac_exec_ext in '' $ac_executable_extensions; do
4317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4318 ac_cv_prog_AWK="$ac_prog"
4319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4320 break 2
4322 done
4323 done
4324 IFS=$as_save_IFS
4328 AWK=$ac_cv_prog_AWK
4329 if test -n "$AWK"; then
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4331 $as_echo "$AWK" >&6; }
4332 else
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4334 $as_echo "no" >&6; }
4338 test -n "$AWK" && break
4339 done
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4342 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4343 set x ${MAKE-make}
4344 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4345 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4346 $as_echo_n "(cached) " >&6
4347 else
4348 cat >conftest.make <<\_ACEOF
4349 SHELL = /bin/sh
4350 all:
4351 @echo '@@@%%%=$(MAKE)=@@@%%%'
4352 _ACEOF
4353 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4354 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4355 *@@@%%%=?*=@@@%%%*)
4356 eval ac_cv_prog_make_${ac_make}_set=yes;;
4358 eval ac_cv_prog_make_${ac_make}_set=no;;
4359 esac
4360 rm -f conftest.make
4362 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4364 $as_echo "yes" >&6; }
4365 SET_MAKE=
4366 else
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4368 $as_echo "no" >&6; }
4369 SET_MAKE="MAKE=${MAKE-make}"
4372 rm -rf .tst 2>/dev/null
4373 mkdir .tst 2>/dev/null
4374 if test -d .tst; then
4375 am__leading_dot=.
4376 else
4377 am__leading_dot=_
4379 rmdir .tst 2>/dev/null
4381 DEPDIR="${am__leading_dot}deps"
4383 ac_config_commands="$ac_config_commands depfiles"
4386 am_make=${MAKE-make}
4387 cat > confinc << 'END'
4388 am__doit:
4389 @echo this is the am__doit target
4390 .PHONY: am__doit
4392 # If we don't find an include directive, just comment out the code.
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4394 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4395 am__include="#"
4396 am__quote=
4397 _am_result=none
4398 # First try GNU make style include.
4399 echo "include confinc" > confmf
4400 # Ignore all kinds of additional output from `make'.
4401 case `$am_make -s -f confmf 2> /dev/null` in #(
4402 *the\ am__doit\ target*)
4403 am__include=include
4404 am__quote=
4405 _am_result=GNU
4407 esac
4408 # Now try BSD make style include.
4409 if test "$am__include" = "#"; then
4410 echo '.include "confinc"' > confmf
4411 case `$am_make -s -f confmf 2> /dev/null` in #(
4412 *the\ am__doit\ target*)
4413 am__include=.include
4414 am__quote="\""
4415 _am_result=BSD
4417 esac
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4422 $as_echo "$_am_result" >&6; }
4423 rm -f confinc confmf
4425 # Check whether --enable-dependency-tracking was given.
4426 if test "${enable_dependency_tracking+set}" = set; then :
4427 enableval=$enable_dependency_tracking;
4430 if test "x$enable_dependency_tracking" != xno; then
4431 am_depcomp="$ac_aux_dir/depcomp"
4432 AMDEPBACKSLASH='\'
4434 if test "x$enable_dependency_tracking" != xno; then
4435 AMDEP_TRUE=
4436 AMDEP_FALSE='#'
4437 else
4438 AMDEP_TRUE='#'
4439 AMDEP_FALSE=
4443 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4444 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4445 # is not polluted with repeated "-I."
4446 am__isrc=' -I$(srcdir)'
4447 # test to see if srcdir already configured
4448 if test -f $srcdir/config.status; then
4449 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4453 # test whether we have cygpath
4454 if test -z "$CYGPATH_W"; then
4455 if (cygpath --version) >/dev/null 2>/dev/null; then
4456 CYGPATH_W='cygpath -w'
4457 else
4458 CYGPATH_W=echo
4463 # Define the identity of the package.
4464 PACKAGE='quvi'
4465 VERSION='0.2.16'
4468 cat >>confdefs.h <<_ACEOF
4469 #define PACKAGE "$PACKAGE"
4470 _ACEOF
4473 cat >>confdefs.h <<_ACEOF
4474 #define VERSION "$VERSION"
4475 _ACEOF
4477 # Some tools Automake needs.
4479 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4482 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4485 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4488 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4491 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4493 # We need awk for the "check" target. The system "awk" is bad on
4494 # some platforms.
4495 # Always define AMTAR for backward compatibility.
4497 AMTAR=${AMTAR-"${am_missing_run}tar"}
4499 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
4504 depcc="$CC" am_compiler_list=
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4507 $as_echo_n "checking dependency style of $depcc... " >&6; }
4508 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4509 $as_echo_n "(cached) " >&6
4510 else
4511 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4512 # We make a subdir and do the tests there. Otherwise we can end up
4513 # making bogus files that we don't know about and never remove. For
4514 # instance it was reported that on HP-UX the gcc test will end up
4515 # making a dummy file named `D' -- because `-MD' means `put the output
4516 # in D'.
4517 mkdir conftest.dir
4518 # Copy depcomp to subdir because otherwise we won't find it if we're
4519 # using a relative directory.
4520 cp "$am_depcomp" conftest.dir
4521 cd conftest.dir
4522 # We will build objects and dependencies in a subdirectory because
4523 # it helps to detect inapplicable dependency modes. For instance
4524 # both Tru64's cc and ICC support -MD to output dependencies as a
4525 # side effect of compilation, but ICC will put the dependencies in
4526 # the current directory while Tru64 will put them in the object
4527 # directory.
4528 mkdir sub
4530 am_cv_CC_dependencies_compiler_type=none
4531 if test "$am_compiler_list" = ""; then
4532 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4534 am__universal=false
4535 case " $depcc " in #(
4536 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4537 esac
4539 for depmode in $am_compiler_list; do
4540 # Setup a source with many dependencies, because some compilers
4541 # like to wrap large dependency lists on column 80 (with \), and
4542 # we should not choose a depcomp mode which is confused by this.
4544 # We need to recreate these files for each test, as the compiler may
4545 # overwrite some of them when testing with obscure command lines.
4546 # This happens at least with the AIX C compiler.
4547 : > sub/conftest.c
4548 for i in 1 2 3 4 5 6; do
4549 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4550 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4551 # Solaris 8's {/usr,}/bin/sh.
4552 touch sub/conftst$i.h
4553 done
4554 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4556 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4557 # mode. It turns out that the SunPro C++ compiler does not properly
4558 # handle `-M -o', and we need to detect this. Also, some Intel
4559 # versions had trouble with output in subdirs
4560 am__obj=sub/conftest.${OBJEXT-o}
4561 am__minus_obj="-o $am__obj"
4562 case $depmode in
4563 gcc)
4564 # This depmode causes a compiler race in universal mode.
4565 test "$am__universal" = false || continue
4567 nosideeffect)
4568 # after this tag, mechanisms are not by side-effect, so they'll
4569 # only be used when explicitly requested
4570 if test "x$enable_dependency_tracking" = xyes; then
4571 continue
4572 else
4573 break
4576 msvisualcpp | msvcmsys)
4577 # This compiler won't grok `-c -o', but also, the minuso test has
4578 # not run yet. These depmodes are late enough in the game, and
4579 # so weak that their functioning should not be impacted.
4580 am__obj=conftest.${OBJEXT-o}
4581 am__minus_obj=
4583 none) break ;;
4584 esac
4585 if depmode=$depmode \
4586 source=sub/conftest.c object=$am__obj \
4587 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4588 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4589 >/dev/null 2>conftest.err &&
4590 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4591 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4592 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4593 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4594 # icc doesn't choke on unknown options, it will just issue warnings
4595 # or remarks (even with -Werror). So we grep stderr for any message
4596 # that says an option was ignored or not supported.
4597 # When given -MP, icc 7.0 and 7.1 complain thusly:
4598 # icc: Command line warning: ignoring option '-M'; no argument required
4599 # The diagnosis changed in icc 8.0:
4600 # icc: Command line remark: option '-MP' not supported
4601 if (grep 'ignoring option' conftest.err ||
4602 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4603 am_cv_CC_dependencies_compiler_type=$depmode
4604 break
4607 done
4609 cd ..
4610 rm -rf conftest.dir
4611 else
4612 am_cv_CC_dependencies_compiler_type=none
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4617 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4618 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4621 test "x$enable_dependency_tracking" != xno \
4622 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4623 am__fastdepCC_TRUE=
4624 am__fastdepCC_FALSE='#'
4625 else
4626 am__fastdepCC_TRUE='#'
4627 am__fastdepCC_FALSE=
4632 # Check whether --enable-silent-rules was given.
4633 if test "${enable_silent_rules+set}" = set; then :
4634 enableval=$enable_silent_rules;
4637 case $enable_silent_rules in
4638 yes) AM_DEFAULT_VERBOSITY=0;;
4639 no) AM_DEFAULT_VERBOSITY=1;;
4640 *) AM_DEFAULT_VERBOSITY=0;;
4641 esac
4642 AM_BACKSLASH='\'
4645 case `pwd` in
4646 *\ * | *\ *)
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4648 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4649 esac
4653 macro_version='2.4'
4654 macro_revision='1.3293'
4668 ltmain="$ac_aux_dir/ltmain.sh"
4670 # Backslashify metacharacters that are still active within
4671 # double-quoted strings.
4672 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4674 # Same as above, but do not quote variable references.
4675 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4677 # Sed substitution to delay expansion of an escaped shell variable in a
4678 # double_quote_subst'ed string.
4679 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4681 # Sed substitution to delay expansion of an escaped single quote.
4682 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4684 # Sed substitution to avoid accidental globbing in evaled expressions
4685 no_glob_subst='s/\*/\\\*/g'
4687 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4688 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4689 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4692 $as_echo_n "checking how to print strings... " >&6; }
4693 # Test print first, because it will be a builtin if present.
4694 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4695 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4696 ECHO='print -r --'
4697 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4698 ECHO='printf %s\n'
4699 else
4700 # Use this function as a fallback that always works.
4701 func_fallback_echo ()
4703 eval 'cat <<_LTECHO_EOF
4705 _LTECHO_EOF'
4707 ECHO='func_fallback_echo'
4710 # func_echo_all arg...
4711 # Invoke $ECHO with all args, space-separated.
4712 func_echo_all ()
4714 $ECHO ""
4717 case "$ECHO" in
4718 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4719 $as_echo "printf" >&6; } ;;
4720 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4721 $as_echo "print -r" >&6; } ;;
4722 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4723 $as_echo "cat" >&6; } ;;
4724 esac
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4740 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4741 if ${ac_cv_path_SED+:} false; then :
4742 $as_echo_n "(cached) " >&6
4743 else
4744 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4745 for ac_i in 1 2 3 4 5 6 7; do
4746 ac_script="$ac_script$as_nl$ac_script"
4747 done
4748 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4749 { ac_script=; unset ac_script;}
4750 if test -z "$SED"; then
4751 ac_path_SED_found=false
4752 # Loop through the user's path and test for each of PROGNAME-LIST
4753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4754 for as_dir in $PATH
4756 IFS=$as_save_IFS
4757 test -z "$as_dir" && as_dir=.
4758 for ac_prog in sed gsed; do
4759 for ac_exec_ext in '' $ac_executable_extensions; do
4760 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4761 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4762 # Check for GNU ac_path_SED and select it if it is found.
4763 # Check for GNU $ac_path_SED
4764 case `"$ac_path_SED" --version 2>&1` in
4765 *GNU*)
4766 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4768 ac_count=0
4769 $as_echo_n 0123456789 >"conftest.in"
4770 while :
4772 cat "conftest.in" "conftest.in" >"conftest.tmp"
4773 mv "conftest.tmp" "conftest.in"
4774 cp "conftest.in" "conftest.nl"
4775 $as_echo '' >> "conftest.nl"
4776 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4777 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4778 as_fn_arith $ac_count + 1 && ac_count=$as_val
4779 if test $ac_count -gt ${ac_path_SED_max-0}; then
4780 # Best one so far, save it but keep looking for a better one
4781 ac_cv_path_SED="$ac_path_SED"
4782 ac_path_SED_max=$ac_count
4784 # 10*(2^10) chars as input seems more than enough
4785 test $ac_count -gt 10 && break
4786 done
4787 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4788 esac
4790 $ac_path_SED_found && break 3
4791 done
4792 done
4793 done
4794 IFS=$as_save_IFS
4795 if test -z "$ac_cv_path_SED"; then
4796 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4798 else
4799 ac_cv_path_SED=$SED
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4804 $as_echo "$ac_cv_path_SED" >&6; }
4805 SED="$ac_cv_path_SED"
4806 rm -f conftest.sed
4808 test -z "$SED" && SED=sed
4809 Xsed="$SED -e 1s/^X//"
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4822 $as_echo_n "checking for fgrep... " >&6; }
4823 if ${ac_cv_path_FGREP+:} false; then :
4824 $as_echo_n "(cached) " >&6
4825 else
4826 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4827 then ac_cv_path_FGREP="$GREP -F"
4828 else
4829 if test -z "$FGREP"; then
4830 ac_path_FGREP_found=false
4831 # Loop through the user's path and test for each of PROGNAME-LIST
4832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4833 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4835 IFS=$as_save_IFS
4836 test -z "$as_dir" && as_dir=.
4837 for ac_prog in fgrep; do
4838 for ac_exec_ext in '' $ac_executable_extensions; do
4839 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4840 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4841 # Check for GNU ac_path_FGREP and select it if it is found.
4842 # Check for GNU $ac_path_FGREP
4843 case `"$ac_path_FGREP" --version 2>&1` in
4844 *GNU*)
4845 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4847 ac_count=0
4848 $as_echo_n 0123456789 >"conftest.in"
4849 while :
4851 cat "conftest.in" "conftest.in" >"conftest.tmp"
4852 mv "conftest.tmp" "conftest.in"
4853 cp "conftest.in" "conftest.nl"
4854 $as_echo 'FGREP' >> "conftest.nl"
4855 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4856 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4857 as_fn_arith $ac_count + 1 && ac_count=$as_val
4858 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4859 # Best one so far, save it but keep looking for a better one
4860 ac_cv_path_FGREP="$ac_path_FGREP"
4861 ac_path_FGREP_max=$ac_count
4863 # 10*(2^10) chars as input seems more than enough
4864 test $ac_count -gt 10 && break
4865 done
4866 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4867 esac
4869 $ac_path_FGREP_found && break 3
4870 done
4871 done
4872 done
4873 IFS=$as_save_IFS
4874 if test -z "$ac_cv_path_FGREP"; then
4875 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4877 else
4878 ac_cv_path_FGREP=$FGREP
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4884 $as_echo "$ac_cv_path_FGREP" >&6; }
4885 FGREP="$ac_cv_path_FGREP"
4888 test -z "$GREP" && GREP=grep
4908 # Check whether --with-gnu-ld was given.
4909 if test "${with_gnu_ld+set}" = set; then :
4910 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4911 else
4912 with_gnu_ld=no
4915 ac_prog=ld
4916 if test "$GCC" = yes; then
4917 # Check if gcc -print-prog-name=ld gives a path.
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4919 $as_echo_n "checking for ld used by $CC... " >&6; }
4920 case $host in
4921 *-*-mingw*)
4922 # gcc leaves a trailing carriage return which upsets mingw
4923 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4925 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4926 esac
4927 case $ac_prog in
4928 # Accept absolute paths.
4929 [\\/]* | ?:[\\/]*)
4930 re_direlt='/[^/][^/]*/\.\./'
4931 # Canonicalize the pathname of ld
4932 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4933 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4934 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4935 done
4936 test -z "$LD" && LD="$ac_prog"
4939 # If it fails, then pretend we aren't using GCC.
4940 ac_prog=ld
4943 # If it is relative, then search for the first ld in PATH.
4944 with_gnu_ld=unknown
4946 esac
4947 elif test "$with_gnu_ld" = yes; then
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4949 $as_echo_n "checking for GNU ld... " >&6; }
4950 else
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4952 $as_echo_n "checking for non-GNU ld... " >&6; }
4954 if ${lt_cv_path_LD+:} false; then :
4955 $as_echo_n "(cached) " >&6
4956 else
4957 if test -z "$LD"; then
4958 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4959 for ac_dir in $PATH; do
4960 IFS="$lt_save_ifs"
4961 test -z "$ac_dir" && ac_dir=.
4962 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4963 lt_cv_path_LD="$ac_dir/$ac_prog"
4964 # Check to see if the program is GNU ld. I'd rather use --version,
4965 # but apparently some variants of GNU ld only accept -v.
4966 # Break only if it was the GNU/non-GNU ld that we prefer.
4967 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4968 *GNU* | *'with BFD'*)
4969 test "$with_gnu_ld" != no && break
4972 test "$with_gnu_ld" != yes && break
4974 esac
4976 done
4977 IFS="$lt_save_ifs"
4978 else
4979 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4983 LD="$lt_cv_path_LD"
4984 if test -n "$LD"; then
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4986 $as_echo "$LD" >&6; }
4987 else
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4989 $as_echo "no" >&6; }
4991 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4993 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4994 if ${lt_cv_prog_gnu_ld+:} false; then :
4995 $as_echo_n "(cached) " >&6
4996 else
4997 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4998 case `$LD -v 2>&1 </dev/null` in
4999 *GNU* | *'with BFD'*)
5000 lt_cv_prog_gnu_ld=yes
5003 lt_cv_prog_gnu_ld=no
5005 esac
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5008 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5009 with_gnu_ld=$lt_cv_prog_gnu_ld
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5020 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5021 if ${lt_cv_path_NM+:} false; then :
5022 $as_echo_n "(cached) " >&6
5023 else
5024 if test -n "$NM"; then
5025 # Let the user override the test.
5026 lt_cv_path_NM="$NM"
5027 else
5028 lt_nm_to_check="${ac_tool_prefix}nm"
5029 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5030 lt_nm_to_check="$lt_nm_to_check nm"
5032 for lt_tmp_nm in $lt_nm_to_check; do
5033 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5034 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5035 IFS="$lt_save_ifs"
5036 test -z "$ac_dir" && ac_dir=.
5037 tmp_nm="$ac_dir/$lt_tmp_nm"
5038 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5039 # Check to see if the nm accepts a BSD-compat flag.
5040 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5041 # nm: unknown option "B" ignored
5042 # Tru64's nm complains that /dev/null is an invalid object file
5043 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5044 */dev/null* | *'Invalid file or object type'*)
5045 lt_cv_path_NM="$tmp_nm -B"
5046 break
5049 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5050 */dev/null*)
5051 lt_cv_path_NM="$tmp_nm -p"
5052 break
5055 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5056 continue # so that we can try to find one that supports BSD flags
5058 esac
5060 esac
5062 done
5063 IFS="$lt_save_ifs"
5064 done
5065 : ${lt_cv_path_NM=no}
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5069 $as_echo "$lt_cv_path_NM" >&6; }
5070 if test "$lt_cv_path_NM" != "no"; then
5071 NM="$lt_cv_path_NM"
5072 else
5073 # Didn't find any BSD compatible name lister, look for dumpbin.
5074 if test -n "$DUMPBIN"; then :
5075 # Let the user override the test.
5076 else
5077 if test -n "$ac_tool_prefix"; then
5078 for ac_prog in dumpbin "link -dump"
5080 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5081 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5083 $as_echo_n "checking for $ac_word... " >&6; }
5084 if ${ac_cv_prog_DUMPBIN+:} false; then :
5085 $as_echo_n "(cached) " >&6
5086 else
5087 if test -n "$DUMPBIN"; then
5088 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5089 else
5090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5091 for as_dir in $PATH
5093 IFS=$as_save_IFS
5094 test -z "$as_dir" && as_dir=.
5095 for ac_exec_ext in '' $ac_executable_extensions; do
5096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5097 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5099 break 2
5101 done
5102 done
5103 IFS=$as_save_IFS
5107 DUMPBIN=$ac_cv_prog_DUMPBIN
5108 if test -n "$DUMPBIN"; then
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5110 $as_echo "$DUMPBIN" >&6; }
5111 else
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5113 $as_echo "no" >&6; }
5117 test -n "$DUMPBIN" && break
5118 done
5120 if test -z "$DUMPBIN"; then
5121 ac_ct_DUMPBIN=$DUMPBIN
5122 for ac_prog in dumpbin "link -dump"
5124 # Extract the first word of "$ac_prog", so it can be a program name with args.
5125 set dummy $ac_prog; ac_word=$2
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5127 $as_echo_n "checking for $ac_word... " >&6; }
5128 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5129 $as_echo_n "(cached) " >&6
5130 else
5131 if test -n "$ac_ct_DUMPBIN"; then
5132 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5133 else
5134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5135 for as_dir in $PATH
5137 IFS=$as_save_IFS
5138 test -z "$as_dir" && as_dir=.
5139 for ac_exec_ext in '' $ac_executable_extensions; do
5140 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5141 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5143 break 2
5145 done
5146 done
5147 IFS=$as_save_IFS
5151 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5152 if test -n "$ac_ct_DUMPBIN"; then
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5154 $as_echo "$ac_ct_DUMPBIN" >&6; }
5155 else
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5157 $as_echo "no" >&6; }
5161 test -n "$ac_ct_DUMPBIN" && break
5162 done
5164 if test "x$ac_ct_DUMPBIN" = x; then
5165 DUMPBIN=":"
5166 else
5167 case $cross_compiling:$ac_tool_warned in
5168 yes:)
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5170 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5171 ac_tool_warned=yes ;;
5172 esac
5173 DUMPBIN=$ac_ct_DUMPBIN
5177 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5178 *COFF*)
5179 DUMPBIN="$DUMPBIN -symbols"
5182 DUMPBIN=:
5184 esac
5187 if test "$DUMPBIN" != ":"; then
5188 NM="$DUMPBIN"
5191 test -z "$NM" && NM=nm
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5199 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5200 if ${lt_cv_nm_interface+:} false; then :
5201 $as_echo_n "(cached) " >&6
5202 else
5203 lt_cv_nm_interface="BSD nm"
5204 echo "int some_variable = 0;" > conftest.$ac_ext
5205 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5206 (eval "$ac_compile" 2>conftest.err)
5207 cat conftest.err >&5
5208 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5209 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5210 cat conftest.err >&5
5211 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5212 cat conftest.out >&5
5213 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5214 lt_cv_nm_interface="MS dumpbin"
5216 rm -f conftest*
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5219 $as_echo "$lt_cv_nm_interface" >&6; }
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5222 $as_echo_n "checking whether ln -s works... " >&6; }
5223 LN_S=$as_ln_s
5224 if test "$LN_S" = "ln -s"; then
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5226 $as_echo "yes" >&6; }
5227 else
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5229 $as_echo "no, using $LN_S" >&6; }
5232 # find the maximum length of command line arguments
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5234 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5235 if ${lt_cv_sys_max_cmd_len+:} false; then :
5236 $as_echo_n "(cached) " >&6
5237 else
5239 teststring="ABCD"
5241 case $build_os in
5242 msdosdjgpp*)
5243 # On DJGPP, this test can blow up pretty badly due to problems in libc
5244 # (any single argument exceeding 2000 bytes causes a buffer overrun
5245 # during glob expansion). Even if it were fixed, the result of this
5246 # check would be larger than it should be.
5247 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5250 gnu*)
5251 # Under GNU Hurd, this test is not required because there is
5252 # no limit to the length of command line arguments.
5253 # Libtool will interpret -1 as no limit whatsoever
5254 lt_cv_sys_max_cmd_len=-1;
5257 cygwin* | mingw* | cegcc*)
5258 # On Win9x/ME, this test blows up -- it succeeds, but takes
5259 # about 5 minutes as the teststring grows exponentially.
5260 # Worse, since 9x/ME are not pre-emptively multitasking,
5261 # you end up with a "frozen" computer, even though with patience
5262 # the test eventually succeeds (with a max line length of 256k).
5263 # Instead, let's just punt: use the minimum linelength reported by
5264 # all of the supported platforms: 8192 (on NT/2K/XP).
5265 lt_cv_sys_max_cmd_len=8192;
5268 mint*)
5269 # On MiNT this can take a long time and run out of memory.
5270 lt_cv_sys_max_cmd_len=8192;
5273 amigaos*)
5274 # On AmigaOS with pdksh, this test takes hours, literally.
5275 # So we just punt and use a minimum line length of 8192.
5276 lt_cv_sys_max_cmd_len=8192;
5279 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5280 # This has been around since 386BSD, at least. Likely further.
5281 if test -x /sbin/sysctl; then
5282 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5283 elif test -x /usr/sbin/sysctl; then
5284 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5285 else
5286 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5288 # And add a safety zone
5289 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5290 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5293 interix*)
5294 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5295 lt_cv_sys_max_cmd_len=196608
5298 osf*)
5299 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5300 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5301 # nice to cause kernel panics so lets avoid the loop below.
5302 # First set a reasonable default.
5303 lt_cv_sys_max_cmd_len=16384
5305 if test -x /sbin/sysconfig; then
5306 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5307 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5308 esac
5311 sco3.2v5*)
5312 lt_cv_sys_max_cmd_len=102400
5314 sysv5* | sco5v6* | sysv4.2uw2*)
5315 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5316 if test -n "$kargmax"; then
5317 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5318 else
5319 lt_cv_sys_max_cmd_len=32768
5323 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5324 if test -n "$lt_cv_sys_max_cmd_len"; then
5325 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5326 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5327 else
5328 # Make teststring a little bigger before we do anything with it.
5329 # a 1K string should be a reasonable start.
5330 for i in 1 2 3 4 5 6 7 8 ; do
5331 teststring=$teststring$teststring
5332 done
5333 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5334 # If test is not a shell built-in, we'll probably end up computing a
5335 # maximum length that is only half of the actual maximum length, but
5336 # we can't tell.
5337 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5338 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5339 test $i != 17 # 1/2 MB should be enough
5341 i=`expr $i + 1`
5342 teststring=$teststring$teststring
5343 done
5344 # Only check the string length outside the loop.
5345 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5346 teststring=
5347 # Add a significant safety factor because C++ compilers can tack on
5348 # massive amounts of additional arguments before passing them to the
5349 # linker. It appears as though 1/2 is a usable value.
5350 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5353 esac
5357 if test -n $lt_cv_sys_max_cmd_len ; then
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5359 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5360 else
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5362 $as_echo "none" >&6; }
5364 max_cmd_len=$lt_cv_sys_max_cmd_len
5371 : ${CP="cp -f"}
5372 : ${MV="mv -f"}
5373 : ${RM="rm -f"}
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5376 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5377 # Try some XSI features
5378 xsi_shell=no
5379 ( _lt_dummy="a/b/c"
5380 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5381 = c,a/b,b/c, \
5382 && eval 'test $(( 1 + 1 )) -eq 2 \
5383 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5384 && xsi_shell=yes
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5386 $as_echo "$xsi_shell" >&6; }
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5390 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5391 lt_shell_append=no
5392 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5393 >/dev/null 2>&1 \
5394 && lt_shell_append=yes
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5396 $as_echo "$lt_shell_append" >&6; }
5399 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5400 lt_unset=unset
5401 else
5402 lt_unset=false
5409 # test EBCDIC or ASCII
5410 case `echo X|tr X '\101'` in
5411 A) # ASCII based system
5412 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5413 lt_SP2NL='tr \040 \012'
5414 lt_NL2SP='tr \015\012 \040\040'
5416 *) # EBCDIC based system
5417 lt_SP2NL='tr \100 \n'
5418 lt_NL2SP='tr \r\n \100\100'
5420 esac
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5431 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5432 if ${lt_cv_to_host_file_cmd+:} false; then :
5433 $as_echo_n "(cached) " >&6
5434 else
5435 case $host in
5436 *-*-mingw* )
5437 case $build in
5438 *-*-mingw* ) # actually msys
5439 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5441 *-*-cygwin* )
5442 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5444 * ) # otherwise, assume *nix
5445 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5447 esac
5449 *-*-cygwin* )
5450 case $build in
5451 *-*-mingw* ) # actually msys
5452 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5454 *-*-cygwin* )
5455 lt_cv_to_host_file_cmd=func_convert_file_noop
5457 * ) # otherwise, assume *nix
5458 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5460 esac
5462 * ) # unhandled hosts (and "normal" native builds)
5463 lt_cv_to_host_file_cmd=func_convert_file_noop
5465 esac
5469 to_host_file_cmd=$lt_cv_to_host_file_cmd
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5471 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5478 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5479 if ${lt_cv_to_tool_file_cmd+:} false; then :
5480 $as_echo_n "(cached) " >&6
5481 else
5482 #assume ordinary cross tools, or native build.
5483 lt_cv_to_tool_file_cmd=func_convert_file_noop
5484 case $host in
5485 *-*-mingw* )
5486 case $build in
5487 *-*-mingw* ) # actually msys
5488 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5490 esac
5492 esac
5496 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5498 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5505 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5506 if ${lt_cv_ld_reload_flag+:} false; then :
5507 $as_echo_n "(cached) " >&6
5508 else
5509 lt_cv_ld_reload_flag='-r'
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5512 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5513 reload_flag=$lt_cv_ld_reload_flag
5514 case $reload_flag in
5515 "" | " "*) ;;
5516 *) reload_flag=" $reload_flag" ;;
5517 esac
5518 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5519 case $host_os in
5520 cygwin* | mingw* | pw32* | cegcc*)
5521 if test "$GCC" != yes; then
5522 reload_cmds=false
5525 darwin*)
5526 if test "$GCC" = yes; then
5527 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5528 else
5529 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5532 esac
5542 if test -n "$ac_tool_prefix"; then
5543 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5544 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5546 $as_echo_n "checking for $ac_word... " >&6; }
5547 if ${ac_cv_prog_OBJDUMP+:} false; then :
5548 $as_echo_n "(cached) " >&6
5549 else
5550 if test -n "$OBJDUMP"; then
5551 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5552 else
5553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5554 for as_dir in $PATH
5556 IFS=$as_save_IFS
5557 test -z "$as_dir" && as_dir=.
5558 for ac_exec_ext in '' $ac_executable_extensions; do
5559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5560 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5562 break 2
5564 done
5565 done
5566 IFS=$as_save_IFS
5570 OBJDUMP=$ac_cv_prog_OBJDUMP
5571 if test -n "$OBJDUMP"; then
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5573 $as_echo "$OBJDUMP" >&6; }
5574 else
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5576 $as_echo "no" >&6; }
5581 if test -z "$ac_cv_prog_OBJDUMP"; then
5582 ac_ct_OBJDUMP=$OBJDUMP
5583 # Extract the first word of "objdump", so it can be a program name with args.
5584 set dummy objdump; ac_word=$2
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5586 $as_echo_n "checking for $ac_word... " >&6; }
5587 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5588 $as_echo_n "(cached) " >&6
5589 else
5590 if test -n "$ac_ct_OBJDUMP"; then
5591 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5592 else
5593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5594 for as_dir in $PATH
5596 IFS=$as_save_IFS
5597 test -z "$as_dir" && as_dir=.
5598 for ac_exec_ext in '' $ac_executable_extensions; do
5599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5600 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5602 break 2
5604 done
5605 done
5606 IFS=$as_save_IFS
5610 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5611 if test -n "$ac_ct_OBJDUMP"; then
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5613 $as_echo "$ac_ct_OBJDUMP" >&6; }
5614 else
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5616 $as_echo "no" >&6; }
5619 if test "x$ac_ct_OBJDUMP" = x; then
5620 OBJDUMP="false"
5621 else
5622 case $cross_compiling:$ac_tool_warned in
5623 yes:)
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5625 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5626 ac_tool_warned=yes ;;
5627 esac
5628 OBJDUMP=$ac_ct_OBJDUMP
5630 else
5631 OBJDUMP="$ac_cv_prog_OBJDUMP"
5634 test -z "$OBJDUMP" && OBJDUMP=objdump
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5645 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5646 if ${lt_cv_deplibs_check_method+:} false; then :
5647 $as_echo_n "(cached) " >&6
5648 else
5649 lt_cv_file_magic_cmd='$MAGIC_CMD'
5650 lt_cv_file_magic_test_file=
5651 lt_cv_deplibs_check_method='unknown'
5652 # Need to set the preceding variable on all platforms that support
5653 # interlibrary dependencies.
5654 # 'none' -- dependencies not supported.
5655 # `unknown' -- same as none, but documents that we really don't know.
5656 # 'pass_all' -- all dependencies passed with no checks.
5657 # 'test_compile' -- check by making test program.
5658 # 'file_magic [[regex]]' -- check by looking for files in library path
5659 # which responds to the $file_magic_cmd with a given extended regex.
5660 # If you have `file' or equivalent on your system and you're not sure
5661 # whether `pass_all' will *always* work, you probably want this one.
5663 case $host_os in
5664 aix[4-9]*)
5665 lt_cv_deplibs_check_method=pass_all
5668 beos*)
5669 lt_cv_deplibs_check_method=pass_all
5672 bsdi[45]*)
5673 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5674 lt_cv_file_magic_cmd='/usr/bin/file -L'
5675 lt_cv_file_magic_test_file=/shlib/libc.so
5678 cygwin*)
5679 # func_win32_libid is a shell function defined in ltmain.sh
5680 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5681 lt_cv_file_magic_cmd='func_win32_libid'
5684 mingw* | pw32*)
5685 # Base MSYS/MinGW do not provide the 'file' command needed by
5686 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5687 # unless we find 'file', for example because we are cross-compiling.
5688 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5689 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5690 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5691 lt_cv_file_magic_cmd='func_win32_libid'
5692 else
5693 # Keep this pattern in sync with the one in func_win32_libid.
5694 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5695 lt_cv_file_magic_cmd='$OBJDUMP -f'
5699 cegcc*)
5700 # use the weaker test based on 'objdump'. See mingw*.
5701 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5702 lt_cv_file_magic_cmd='$OBJDUMP -f'
5705 darwin* | rhapsody*)
5706 lt_cv_deplibs_check_method=pass_all
5709 freebsd* | dragonfly*)
5710 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5711 case $host_cpu in
5712 i*86 )
5713 # Not sure whether the presence of OpenBSD here was a mistake.
5714 # Let's accept both of them until this is cleared up.
5715 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5716 lt_cv_file_magic_cmd=/usr/bin/file
5717 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5719 esac
5720 else
5721 lt_cv_deplibs_check_method=pass_all
5725 gnu*)
5726 lt_cv_deplibs_check_method=pass_all
5729 haiku*)
5730 lt_cv_deplibs_check_method=pass_all
5733 hpux10.20* | hpux11*)
5734 lt_cv_file_magic_cmd=/usr/bin/file
5735 case $host_cpu in
5736 ia64*)
5737 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5738 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5740 hppa*64*)
5741 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5742 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5745 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5746 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5748 esac
5751 interix[3-9]*)
5752 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5753 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5756 irix5* | irix6* | nonstopux*)
5757 case $LD in
5758 *-32|*"-32 ") libmagic=32-bit;;
5759 *-n32|*"-n32 ") libmagic=N32;;
5760 *-64|*"-64 ") libmagic=64-bit;;
5761 *) libmagic=never-match;;
5762 esac
5763 lt_cv_deplibs_check_method=pass_all
5766 # This must be Linux ELF.
5767 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5768 lt_cv_deplibs_check_method=pass_all
5771 netbsd*)
5772 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5773 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5774 else
5775 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5779 newos6*)
5780 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5781 lt_cv_file_magic_cmd=/usr/bin/file
5782 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5785 *nto* | *qnx*)
5786 lt_cv_deplibs_check_method=pass_all
5789 openbsd*)
5790 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5791 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5792 else
5793 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5797 osf3* | osf4* | osf5*)
5798 lt_cv_deplibs_check_method=pass_all
5801 rdos*)
5802 lt_cv_deplibs_check_method=pass_all
5805 solaris*)
5806 lt_cv_deplibs_check_method=pass_all
5809 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5810 lt_cv_deplibs_check_method=pass_all
5813 sysv4 | sysv4.3*)
5814 case $host_vendor in
5815 motorola)
5816 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
5817 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5819 ncr)
5820 lt_cv_deplibs_check_method=pass_all
5822 sequent)
5823 lt_cv_file_magic_cmd='/bin/file'
5824 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5826 sni)
5827 lt_cv_file_magic_cmd='/bin/file'
5828 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5829 lt_cv_file_magic_test_file=/lib/libc.so
5831 siemens)
5832 lt_cv_deplibs_check_method=pass_all
5835 lt_cv_deplibs_check_method=pass_all
5837 esac
5840 tpf*)
5841 lt_cv_deplibs_check_method=pass_all
5843 esac
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5847 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5849 file_magic_glob=
5850 want_nocaseglob=no
5851 if test "$build" = "$host"; then
5852 case $host_os in
5853 mingw* | pw32*)
5854 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5855 want_nocaseglob=yes
5856 else
5857 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5860 esac
5863 file_magic_cmd=$lt_cv_file_magic_cmd
5864 deplibs_check_method=$lt_cv_deplibs_check_method
5865 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5888 if test -n "$ac_tool_prefix"; then
5889 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5890 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5892 $as_echo_n "checking for $ac_word... " >&6; }
5893 if ${ac_cv_prog_DLLTOOL+:} false; then :
5894 $as_echo_n "(cached) " >&6
5895 else
5896 if test -n "$DLLTOOL"; then
5897 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5898 else
5899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5900 for as_dir in $PATH
5902 IFS=$as_save_IFS
5903 test -z "$as_dir" && as_dir=.
5904 for ac_exec_ext in '' $ac_executable_extensions; do
5905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5906 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5908 break 2
5910 done
5911 done
5912 IFS=$as_save_IFS
5916 DLLTOOL=$ac_cv_prog_DLLTOOL
5917 if test -n "$DLLTOOL"; then
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5919 $as_echo "$DLLTOOL" >&6; }
5920 else
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5922 $as_echo "no" >&6; }
5927 if test -z "$ac_cv_prog_DLLTOOL"; then
5928 ac_ct_DLLTOOL=$DLLTOOL
5929 # Extract the first word of "dlltool", so it can be a program name with args.
5930 set dummy dlltool; ac_word=$2
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5932 $as_echo_n "checking for $ac_word... " >&6; }
5933 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5934 $as_echo_n "(cached) " >&6
5935 else
5936 if test -n "$ac_ct_DLLTOOL"; then
5937 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5938 else
5939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5940 for as_dir in $PATH
5942 IFS=$as_save_IFS
5943 test -z "$as_dir" && as_dir=.
5944 for ac_exec_ext in '' $ac_executable_extensions; do
5945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5946 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5948 break 2
5950 done
5951 done
5952 IFS=$as_save_IFS
5956 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5957 if test -n "$ac_ct_DLLTOOL"; then
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5959 $as_echo "$ac_ct_DLLTOOL" >&6; }
5960 else
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5962 $as_echo "no" >&6; }
5965 if test "x$ac_ct_DLLTOOL" = x; then
5966 DLLTOOL="false"
5967 else
5968 case $cross_compiling:$ac_tool_warned in
5969 yes:)
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5971 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5972 ac_tool_warned=yes ;;
5973 esac
5974 DLLTOOL=$ac_ct_DLLTOOL
5976 else
5977 DLLTOOL="$ac_cv_prog_DLLTOOL"
5980 test -z "$DLLTOOL" && DLLTOOL=dlltool
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5992 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5993 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5994 $as_echo_n "(cached) " >&6
5995 else
5996 lt_cv_sharedlib_from_linklib_cmd='unknown'
5998 case $host_os in
5999 cygwin* | mingw* | pw32* | cegcc*)
6000 # two different shell functions defined in ltmain.sh
6001 # decide which to use based on capabilities of $DLLTOOL
6002 case `$DLLTOOL --help 2>&1` in
6003 *--identify-strict*)
6004 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6007 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6009 esac
6012 # fallback: assume linklib IS sharedlib
6013 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6015 esac
6018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6019 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6020 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6021 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6029 if test -n "$ac_tool_prefix"; then
6030 for ac_prog in ar
6032 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6033 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6035 $as_echo_n "checking for $ac_word... " >&6; }
6036 if ${ac_cv_prog_AR+:} false; then :
6037 $as_echo_n "(cached) " >&6
6038 else
6039 if test -n "$AR"; then
6040 ac_cv_prog_AR="$AR" # Let the user override the test.
6041 else
6042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6043 for as_dir in $PATH
6045 IFS=$as_save_IFS
6046 test -z "$as_dir" && as_dir=.
6047 for ac_exec_ext in '' $ac_executable_extensions; do
6048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6049 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6051 break 2
6053 done
6054 done
6055 IFS=$as_save_IFS
6059 AR=$ac_cv_prog_AR
6060 if test -n "$AR"; then
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6062 $as_echo "$AR" >&6; }
6063 else
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6065 $as_echo "no" >&6; }
6069 test -n "$AR" && break
6070 done
6072 if test -z "$AR"; then
6073 ac_ct_AR=$AR
6074 for ac_prog in ar
6076 # Extract the first word of "$ac_prog", so it can be a program name with args.
6077 set dummy $ac_prog; ac_word=$2
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6079 $as_echo_n "checking for $ac_word... " >&6; }
6080 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6081 $as_echo_n "(cached) " >&6
6082 else
6083 if test -n "$ac_ct_AR"; then
6084 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6085 else
6086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6087 for as_dir in $PATH
6089 IFS=$as_save_IFS
6090 test -z "$as_dir" && as_dir=.
6091 for ac_exec_ext in '' $ac_executable_extensions; do
6092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6093 ac_cv_prog_ac_ct_AR="$ac_prog"
6094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6095 break 2
6097 done
6098 done
6099 IFS=$as_save_IFS
6103 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6104 if test -n "$ac_ct_AR"; then
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6106 $as_echo "$ac_ct_AR" >&6; }
6107 else
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6109 $as_echo "no" >&6; }
6113 test -n "$ac_ct_AR" && break
6114 done
6116 if test "x$ac_ct_AR" = x; then
6117 AR="false"
6118 else
6119 case $cross_compiling:$ac_tool_warned in
6120 yes:)
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6122 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6123 ac_tool_warned=yes ;;
6124 esac
6125 AR=$ac_ct_AR
6129 : ${AR=ar}
6130 : ${AR_FLAGS=cru}
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6143 $as_echo_n "checking for archiver @FILE support... " >&6; }
6144 if ${lt_cv_ar_at_file+:} false; then :
6145 $as_echo_n "(cached) " >&6
6146 else
6147 lt_cv_ar_at_file=no
6148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6149 /* end confdefs.h. */
6152 main ()
6156 return 0;
6158 _ACEOF
6159 if ac_fn_c_try_compile "$LINENO"; then :
6160 echo conftest.$ac_objext > conftest.lst
6161 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6162 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6163 (eval $lt_ar_try) 2>&5
6164 ac_status=$?
6165 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6166 test $ac_status = 0; }
6167 if test "$ac_status" -eq 0; then
6168 # Ensure the archiver fails upon bogus file names.
6169 rm -f conftest.$ac_objext libconftest.a
6170 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6171 (eval $lt_ar_try) 2>&5
6172 ac_status=$?
6173 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6174 test $ac_status = 0; }
6175 if test "$ac_status" -ne 0; then
6176 lt_cv_ar_at_file=@
6179 rm -f conftest.* libconftest.a
6182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6186 $as_echo "$lt_cv_ar_at_file" >&6; }
6188 if test "x$lt_cv_ar_at_file" = xno; then
6189 archiver_list_spec=
6190 else
6191 archiver_list_spec=$lt_cv_ar_at_file
6200 if test -n "$ac_tool_prefix"; then
6201 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6202 set dummy ${ac_tool_prefix}strip; ac_word=$2
6203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6204 $as_echo_n "checking for $ac_word... " >&6; }
6205 if ${ac_cv_prog_STRIP+:} false; then :
6206 $as_echo_n "(cached) " >&6
6207 else
6208 if test -n "$STRIP"; then
6209 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6210 else
6211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6212 for as_dir in $PATH
6214 IFS=$as_save_IFS
6215 test -z "$as_dir" && as_dir=.
6216 for ac_exec_ext in '' $ac_executable_extensions; do
6217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6218 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6220 break 2
6222 done
6223 done
6224 IFS=$as_save_IFS
6228 STRIP=$ac_cv_prog_STRIP
6229 if test -n "$STRIP"; then
6230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6231 $as_echo "$STRIP" >&6; }
6232 else
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6234 $as_echo "no" >&6; }
6239 if test -z "$ac_cv_prog_STRIP"; then
6240 ac_ct_STRIP=$STRIP
6241 # Extract the first word of "strip", so it can be a program name with args.
6242 set dummy strip; ac_word=$2
6243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6244 $as_echo_n "checking for $ac_word... " >&6; }
6245 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6246 $as_echo_n "(cached) " >&6
6247 else
6248 if test -n "$ac_ct_STRIP"; then
6249 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6250 else
6251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6252 for as_dir in $PATH
6254 IFS=$as_save_IFS
6255 test -z "$as_dir" && as_dir=.
6256 for ac_exec_ext in '' $ac_executable_extensions; do
6257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6258 ac_cv_prog_ac_ct_STRIP="strip"
6259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6260 break 2
6262 done
6263 done
6264 IFS=$as_save_IFS
6268 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6269 if test -n "$ac_ct_STRIP"; then
6270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6271 $as_echo "$ac_ct_STRIP" >&6; }
6272 else
6273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6274 $as_echo "no" >&6; }
6277 if test "x$ac_ct_STRIP" = x; then
6278 STRIP=":"
6279 else
6280 case $cross_compiling:$ac_tool_warned in
6281 yes:)
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6283 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6284 ac_tool_warned=yes ;;
6285 esac
6286 STRIP=$ac_ct_STRIP
6288 else
6289 STRIP="$ac_cv_prog_STRIP"
6292 test -z "$STRIP" && STRIP=:
6299 if test -n "$ac_tool_prefix"; then
6300 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6301 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6303 $as_echo_n "checking for $ac_word... " >&6; }
6304 if ${ac_cv_prog_RANLIB+:} false; then :
6305 $as_echo_n "(cached) " >&6
6306 else
6307 if test -n "$RANLIB"; then
6308 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6309 else
6310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6311 for as_dir in $PATH
6313 IFS=$as_save_IFS
6314 test -z "$as_dir" && as_dir=.
6315 for ac_exec_ext in '' $ac_executable_extensions; do
6316 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6317 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6319 break 2
6321 done
6322 done
6323 IFS=$as_save_IFS
6327 RANLIB=$ac_cv_prog_RANLIB
6328 if test -n "$RANLIB"; then
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6330 $as_echo "$RANLIB" >&6; }
6331 else
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6333 $as_echo "no" >&6; }
6338 if test -z "$ac_cv_prog_RANLIB"; then
6339 ac_ct_RANLIB=$RANLIB
6340 # Extract the first word of "ranlib", so it can be a program name with args.
6341 set dummy ranlib; ac_word=$2
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6343 $as_echo_n "checking for $ac_word... " >&6; }
6344 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6345 $as_echo_n "(cached) " >&6
6346 else
6347 if test -n "$ac_ct_RANLIB"; then
6348 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6349 else
6350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6351 for as_dir in $PATH
6353 IFS=$as_save_IFS
6354 test -z "$as_dir" && as_dir=.
6355 for ac_exec_ext in '' $ac_executable_extensions; do
6356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6357 ac_cv_prog_ac_ct_RANLIB="ranlib"
6358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6359 break 2
6361 done
6362 done
6363 IFS=$as_save_IFS
6367 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6368 if test -n "$ac_ct_RANLIB"; then
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6370 $as_echo "$ac_ct_RANLIB" >&6; }
6371 else
6372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6373 $as_echo "no" >&6; }
6376 if test "x$ac_ct_RANLIB" = x; then
6377 RANLIB=":"
6378 else
6379 case $cross_compiling:$ac_tool_warned in
6380 yes:)
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6382 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6383 ac_tool_warned=yes ;;
6384 esac
6385 RANLIB=$ac_ct_RANLIB
6387 else
6388 RANLIB="$ac_cv_prog_RANLIB"
6391 test -z "$RANLIB" && RANLIB=:
6398 # Determine commands to create old-style static archives.
6399 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6400 old_postinstall_cmds='chmod 644 $oldlib'
6401 old_postuninstall_cmds=
6403 if test -n "$RANLIB"; then
6404 case $host_os in
6405 openbsd*)
6406 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6409 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6411 esac
6412 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6415 case $host_os in
6416 darwin*)
6417 lock_old_archive_extraction=yes ;;
6419 lock_old_archive_extraction=no ;;
6420 esac
6460 # If no C compiler was specified, use CC.
6461 LTCC=${LTCC-"$CC"}
6463 # If no C compiler flags were specified, use CFLAGS.
6464 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6466 # Allow CC to be a program name with arguments.
6467 compiler=$CC
6470 # Check for command to grab the raw symbol name followed by C symbol from nm.
6471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6472 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6473 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6474 $as_echo_n "(cached) " >&6
6475 else
6477 # These are sane defaults that work on at least a few old systems.
6478 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6480 # Character class describing NM global symbol codes.
6481 symcode='[BCDEGRST]'
6483 # Regexp to match symbols that can be accessed directly from C.
6484 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6486 # Define system-specific variables.
6487 case $host_os in
6488 aix*)
6489 symcode='[BCDT]'
6491 cygwin* | mingw* | pw32* | cegcc*)
6492 symcode='[ABCDGISTW]'
6494 hpux*)
6495 if test "$host_cpu" = ia64; then
6496 symcode='[ABCDEGRST]'
6499 irix* | nonstopux*)
6500 symcode='[BCDEGRST]'
6502 osf*)
6503 symcode='[BCDEGQRST]'
6505 solaris*)
6506 symcode='[BDRT]'
6508 sco3.2v5*)
6509 symcode='[DT]'
6511 sysv4.2uw2*)
6512 symcode='[DT]'
6514 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6515 symcode='[ABDT]'
6517 sysv4)
6518 symcode='[DFNSTU]'
6520 esac
6522 # If we're using GNU nm, then use its standard symbol codes.
6523 case `$NM -V 2>&1` in
6524 *GNU* | *'with BFD'*)
6525 symcode='[ABCDGIRSTW]' ;;
6526 esac
6528 # Transform an extracted symbol line into a proper C declaration.
6529 # Some systems (esp. on ia64) link data and code symbols differently,
6530 # so use this general approach.
6531 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6533 # Transform an extracted symbol line into symbol name and symbol address
6534 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6535 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6537 # Handle CRLF in mingw tool chain
6538 opt_cr=
6539 case $build_os in
6540 mingw*)
6541 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6543 esac
6545 # Try without a prefix underscore, then with it.
6546 for ac_symprfx in "" "_"; do
6548 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6549 symxfrm="\\1 $ac_symprfx\\2 \\2"
6551 # Write the raw and C identifiers.
6552 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6553 # Fake it for dumpbin and say T for any non-static function
6554 # and D for any global variable.
6555 # Also find C++ and __fastcall symbols from MSVC++,
6556 # which start with @ or ?.
6557 lt_cv_sys_global_symbol_pipe="$AWK '"\
6558 " {last_section=section; section=\$ 3};"\
6559 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6560 " \$ 0!~/External *\|/{next};"\
6561 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6562 " {if(hide[section]) next};"\
6563 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6564 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6565 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6566 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6567 " ' prfx=^$ac_symprfx"
6568 else
6569 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6571 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6573 # Check to see that the pipe works correctly.
6574 pipe_works=no
6576 rm -f conftest*
6577 cat > conftest.$ac_ext <<_LT_EOF
6578 #ifdef __cplusplus
6579 extern "C" {
6580 #endif
6581 char nm_test_var;
6582 void nm_test_func(void);
6583 void nm_test_func(void){}
6584 #ifdef __cplusplus
6586 #endif
6587 int main(){nm_test_var='a';nm_test_func();return(0);}
6588 _LT_EOF
6590 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6591 (eval $ac_compile) 2>&5
6592 ac_status=$?
6593 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6594 test $ac_status = 0; }; then
6595 # Now try to grab the symbols.
6596 nlist=conftest.nm
6597 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6598 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6599 ac_status=$?
6600 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6601 test $ac_status = 0; } && test -s "$nlist"; then
6602 # Try sorting and uniquifying the output.
6603 if sort "$nlist" | uniq > "$nlist"T; then
6604 mv -f "$nlist"T "$nlist"
6605 else
6606 rm -f "$nlist"T
6609 # Make sure that we snagged all the symbols we need.
6610 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6611 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6612 cat <<_LT_EOF > conftest.$ac_ext
6613 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6614 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6615 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6616 relocations are performed -- see ld's documentation on pseudo-relocs. */
6617 # define LT_DLSYM_CONST
6618 #elif defined(__osf__)
6619 /* This system does not cope well with relocations in const data. */
6620 # define LT_DLSYM_CONST
6621 #else
6622 # define LT_DLSYM_CONST const
6623 #endif
6625 #ifdef __cplusplus
6626 extern "C" {
6627 #endif
6629 _LT_EOF
6630 # Now generate the symbol file.
6631 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6633 cat <<_LT_EOF >> conftest.$ac_ext
6635 /* The mapping between symbol names and symbols. */
6636 LT_DLSYM_CONST struct {
6637 const char *name;
6638 void *address;
6640 lt__PROGRAM__LTX_preloaded_symbols[] =
6642 { "@PROGRAM@", (void *) 0 },
6643 _LT_EOF
6644 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6645 cat <<\_LT_EOF >> conftest.$ac_ext
6646 {0, (void *) 0}
6649 /* This works around a problem in FreeBSD linker */
6650 #ifdef FREEBSD_WORKAROUND
6651 static const void *lt_preloaded_setup() {
6652 return lt__PROGRAM__LTX_preloaded_symbols;
6654 #endif
6656 #ifdef __cplusplus
6658 #endif
6659 _LT_EOF
6660 # Now try linking the two files.
6661 mv conftest.$ac_objext conftstm.$ac_objext
6662 lt_globsym_save_LIBS=$LIBS
6663 lt_globsym_save_CFLAGS=$CFLAGS
6664 LIBS="conftstm.$ac_objext"
6665 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6666 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6667 (eval $ac_link) 2>&5
6668 ac_status=$?
6669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6670 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6671 pipe_works=yes
6673 LIBS=$lt_globsym_save_LIBS
6674 CFLAGS=$lt_globsym_save_CFLAGS
6675 else
6676 echo "cannot find nm_test_func in $nlist" >&5
6678 else
6679 echo "cannot find nm_test_var in $nlist" >&5
6681 else
6682 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6684 else
6685 echo "$progname: failed program was:" >&5
6686 cat conftest.$ac_ext >&5
6688 rm -rf conftest* conftst*
6690 # Do not use the global_symbol_pipe unless it works.
6691 if test "$pipe_works" = yes; then
6692 break
6693 else
6694 lt_cv_sys_global_symbol_pipe=
6696 done
6700 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6701 lt_cv_sys_global_symbol_to_cdecl=
6703 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6705 $as_echo "failed" >&6; }
6706 else
6707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6708 $as_echo "ok" >&6; }
6711 # Response file support.
6712 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6713 nm_file_list_spec='@'
6714 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6715 nm_file_list_spec='@'
6744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6745 $as_echo_n "checking for sysroot... " >&6; }
6747 # Check whether --with-sysroot was given.
6748 if test "${with_sysroot+set}" = set; then :
6749 withval=$with_sysroot;
6750 else
6751 with_sysroot=no
6755 lt_sysroot=
6756 case ${with_sysroot} in #(
6757 yes)
6758 if test "$GCC" = yes; then
6759 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6761 ;; #(
6763 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6764 ;; #(
6765 no|'')
6766 ;; #(
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6769 $as_echo "${with_sysroot}" >&6; }
6770 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6772 esac
6774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6775 $as_echo "${lt_sysroot:-no}" >&6; }
6781 # Check whether --enable-libtool-lock was given.
6782 if test "${enable_libtool_lock+set}" = set; then :
6783 enableval=$enable_libtool_lock;
6786 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6788 # Some flags need to be propagated to the compiler or linker for good
6789 # libtool support.
6790 case $host in
6791 ia64-*-hpux*)
6792 # Find out which ABI we are using.
6793 echo 'int i;' > conftest.$ac_ext
6794 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6795 (eval $ac_compile) 2>&5
6796 ac_status=$?
6797 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6798 test $ac_status = 0; }; then
6799 case `/usr/bin/file conftest.$ac_objext` in
6800 *ELF-32*)
6801 HPUX_IA64_MODE="32"
6803 *ELF-64*)
6804 HPUX_IA64_MODE="64"
6806 esac
6808 rm -rf conftest*
6810 *-*-irix6*)
6811 # Find out which ABI we are using.
6812 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6813 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6814 (eval $ac_compile) 2>&5
6815 ac_status=$?
6816 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6817 test $ac_status = 0; }; then
6818 if test "$lt_cv_prog_gnu_ld" = yes; then
6819 case `/usr/bin/file conftest.$ac_objext` in
6820 *32-bit*)
6821 LD="${LD-ld} -melf32bsmip"
6823 *N32*)
6824 LD="${LD-ld} -melf32bmipn32"
6826 *64-bit*)
6827 LD="${LD-ld} -melf64bmip"
6829 esac
6830 else
6831 case `/usr/bin/file conftest.$ac_objext` in
6832 *32-bit*)
6833 LD="${LD-ld} -32"
6835 *N32*)
6836 LD="${LD-ld} -n32"
6838 *64-bit*)
6839 LD="${LD-ld} -64"
6841 esac
6844 rm -rf conftest*
6847 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6848 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6849 # Find out which ABI we are using.
6850 echo 'int i;' > conftest.$ac_ext
6851 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6852 (eval $ac_compile) 2>&5
6853 ac_status=$?
6854 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6855 test $ac_status = 0; }; then
6856 case `/usr/bin/file conftest.o` in
6857 *32-bit*)
6858 case $host in
6859 x86_64-*kfreebsd*-gnu)
6860 LD="${LD-ld} -m elf_i386_fbsd"
6862 x86_64-*linux*)
6863 LD="${LD-ld} -m elf_i386"
6865 ppc64-*linux*|powerpc64-*linux*)
6866 LD="${LD-ld} -m elf32ppclinux"
6868 s390x-*linux*)
6869 LD="${LD-ld} -m elf_s390"
6871 sparc64-*linux*)
6872 LD="${LD-ld} -m elf32_sparc"
6874 esac
6876 *64-bit*)
6877 case $host in
6878 x86_64-*kfreebsd*-gnu)
6879 LD="${LD-ld} -m elf_x86_64_fbsd"
6881 x86_64-*linux*)
6882 LD="${LD-ld} -m elf_x86_64"
6884 ppc*-*linux*|powerpc*-*linux*)
6885 LD="${LD-ld} -m elf64ppc"
6887 s390*-*linux*|s390*-*tpf*)
6888 LD="${LD-ld} -m elf64_s390"
6890 sparc*-*linux*)
6891 LD="${LD-ld} -m elf64_sparc"
6893 esac
6895 esac
6897 rm -rf conftest*
6900 *-*-sco3.2v5*)
6901 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6902 SAVE_CFLAGS="$CFLAGS"
6903 CFLAGS="$CFLAGS -belf"
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6905 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6906 if ${lt_cv_cc_needs_belf+:} false; then :
6907 $as_echo_n "(cached) " >&6
6908 else
6909 ac_ext=c
6910 ac_cpp='$CPP $CPPFLAGS'
6911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6916 /* end confdefs.h. */
6919 main ()
6923 return 0;
6925 _ACEOF
6926 if ac_fn_c_try_link "$LINENO"; then :
6927 lt_cv_cc_needs_belf=yes
6928 else
6929 lt_cv_cc_needs_belf=no
6931 rm -f core conftest.err conftest.$ac_objext \
6932 conftest$ac_exeext conftest.$ac_ext
6933 ac_ext=c
6934 ac_cpp='$CPP $CPPFLAGS'
6935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6941 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6942 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6943 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6944 CFLAGS="$SAVE_CFLAGS"
6947 sparc*-*solaris*)
6948 # Find out which ABI we are using.
6949 echo 'int i;' > conftest.$ac_ext
6950 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6951 (eval $ac_compile) 2>&5
6952 ac_status=$?
6953 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6954 test $ac_status = 0; }; then
6955 case `/usr/bin/file conftest.o` in
6956 *64-bit*)
6957 case $lt_cv_prog_gnu_ld in
6958 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6960 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6961 LD="${LD-ld} -64"
6964 esac
6966 esac
6968 rm -rf conftest*
6970 esac
6972 need_locks="$enable_libtool_lock"
6974 if test -n "$ac_tool_prefix"; then
6975 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6976 set dummy ${ac_tool_prefix}mt; ac_word=$2
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6978 $as_echo_n "checking for $ac_word... " >&6; }
6979 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6980 $as_echo_n "(cached) " >&6
6981 else
6982 if test -n "$MANIFEST_TOOL"; then
6983 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6984 else
6985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6986 for as_dir in $PATH
6988 IFS=$as_save_IFS
6989 test -z "$as_dir" && as_dir=.
6990 for ac_exec_ext in '' $ac_executable_extensions; do
6991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6992 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6994 break 2
6996 done
6997 done
6998 IFS=$as_save_IFS
7002 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7003 if test -n "$MANIFEST_TOOL"; then
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7005 $as_echo "$MANIFEST_TOOL" >&6; }
7006 else
7007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7008 $as_echo "no" >&6; }
7013 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7014 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7015 # Extract the first word of "mt", so it can be a program name with args.
7016 set dummy mt; ac_word=$2
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7018 $as_echo_n "checking for $ac_word... " >&6; }
7019 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7020 $as_echo_n "(cached) " >&6
7021 else
7022 if test -n "$ac_ct_MANIFEST_TOOL"; then
7023 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7024 else
7025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7026 for as_dir in $PATH
7028 IFS=$as_save_IFS
7029 test -z "$as_dir" && as_dir=.
7030 for ac_exec_ext in '' $ac_executable_extensions; do
7031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7032 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7034 break 2
7036 done
7037 done
7038 IFS=$as_save_IFS
7042 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7043 if test -n "$ac_ct_MANIFEST_TOOL"; then
7044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7045 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7046 else
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7048 $as_echo "no" >&6; }
7051 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7052 MANIFEST_TOOL=":"
7053 else
7054 case $cross_compiling:$ac_tool_warned in
7055 yes:)
7056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7057 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7058 ac_tool_warned=yes ;;
7059 esac
7060 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7062 else
7063 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7066 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7068 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7069 if ${lt_cv_path_mainfest_tool+:} false; then :
7070 $as_echo_n "(cached) " >&6
7071 else
7072 lt_cv_path_mainfest_tool=no
7073 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7074 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7075 cat conftest.err >&5
7076 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7077 lt_cv_path_mainfest_tool=yes
7079 rm -f conftest*
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7082 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7083 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7084 MANIFEST_TOOL=:
7092 case $host_os in
7093 rhapsody* | darwin*)
7094 if test -n "$ac_tool_prefix"; then
7095 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7096 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7098 $as_echo_n "checking for $ac_word... " >&6; }
7099 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7100 $as_echo_n "(cached) " >&6
7101 else
7102 if test -n "$DSYMUTIL"; then
7103 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7104 else
7105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7106 for as_dir in $PATH
7108 IFS=$as_save_IFS
7109 test -z "$as_dir" && as_dir=.
7110 for ac_exec_ext in '' $ac_executable_extensions; do
7111 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7112 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7114 break 2
7116 done
7117 done
7118 IFS=$as_save_IFS
7122 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7123 if test -n "$DSYMUTIL"; then
7124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7125 $as_echo "$DSYMUTIL" >&6; }
7126 else
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7128 $as_echo "no" >&6; }
7133 if test -z "$ac_cv_prog_DSYMUTIL"; then
7134 ac_ct_DSYMUTIL=$DSYMUTIL
7135 # Extract the first word of "dsymutil", so it can be a program name with args.
7136 set dummy dsymutil; ac_word=$2
7137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7138 $as_echo_n "checking for $ac_word... " >&6; }
7139 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7140 $as_echo_n "(cached) " >&6
7141 else
7142 if test -n "$ac_ct_DSYMUTIL"; then
7143 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7144 else
7145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7146 for as_dir in $PATH
7148 IFS=$as_save_IFS
7149 test -z "$as_dir" && as_dir=.
7150 for ac_exec_ext in '' $ac_executable_extensions; do
7151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7152 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7154 break 2
7156 done
7157 done
7158 IFS=$as_save_IFS
7162 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7163 if test -n "$ac_ct_DSYMUTIL"; then
7164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7165 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7166 else
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7168 $as_echo "no" >&6; }
7171 if test "x$ac_ct_DSYMUTIL" = x; then
7172 DSYMUTIL=":"
7173 else
7174 case $cross_compiling:$ac_tool_warned in
7175 yes:)
7176 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7177 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7178 ac_tool_warned=yes ;;
7179 esac
7180 DSYMUTIL=$ac_ct_DSYMUTIL
7182 else
7183 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7186 if test -n "$ac_tool_prefix"; then
7187 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7188 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7190 $as_echo_n "checking for $ac_word... " >&6; }
7191 if ${ac_cv_prog_NMEDIT+:} false; then :
7192 $as_echo_n "(cached) " >&6
7193 else
7194 if test -n "$NMEDIT"; then
7195 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7196 else
7197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7198 for as_dir in $PATH
7200 IFS=$as_save_IFS
7201 test -z "$as_dir" && as_dir=.
7202 for ac_exec_ext in '' $ac_executable_extensions; do
7203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7204 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7206 break 2
7208 done
7209 done
7210 IFS=$as_save_IFS
7214 NMEDIT=$ac_cv_prog_NMEDIT
7215 if test -n "$NMEDIT"; then
7216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7217 $as_echo "$NMEDIT" >&6; }
7218 else
7219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7220 $as_echo "no" >&6; }
7225 if test -z "$ac_cv_prog_NMEDIT"; then
7226 ac_ct_NMEDIT=$NMEDIT
7227 # Extract the first word of "nmedit", so it can be a program name with args.
7228 set dummy nmedit; ac_word=$2
7229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7230 $as_echo_n "checking for $ac_word... " >&6; }
7231 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7232 $as_echo_n "(cached) " >&6
7233 else
7234 if test -n "$ac_ct_NMEDIT"; then
7235 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7236 else
7237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7238 for as_dir in $PATH
7240 IFS=$as_save_IFS
7241 test -z "$as_dir" && as_dir=.
7242 for ac_exec_ext in '' $ac_executable_extensions; do
7243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7244 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7246 break 2
7248 done
7249 done
7250 IFS=$as_save_IFS
7254 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7255 if test -n "$ac_ct_NMEDIT"; then
7256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7257 $as_echo "$ac_ct_NMEDIT" >&6; }
7258 else
7259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7260 $as_echo "no" >&6; }
7263 if test "x$ac_ct_NMEDIT" = x; then
7264 NMEDIT=":"
7265 else
7266 case $cross_compiling:$ac_tool_warned in
7267 yes:)
7268 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7269 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7270 ac_tool_warned=yes ;;
7271 esac
7272 NMEDIT=$ac_ct_NMEDIT
7274 else
7275 NMEDIT="$ac_cv_prog_NMEDIT"
7278 if test -n "$ac_tool_prefix"; then
7279 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7280 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7282 $as_echo_n "checking for $ac_word... " >&6; }
7283 if ${ac_cv_prog_LIPO+:} false; then :
7284 $as_echo_n "(cached) " >&6
7285 else
7286 if test -n "$LIPO"; then
7287 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7288 else
7289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7290 for as_dir in $PATH
7292 IFS=$as_save_IFS
7293 test -z "$as_dir" && as_dir=.
7294 for ac_exec_ext in '' $ac_executable_extensions; do
7295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7296 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7298 break 2
7300 done
7301 done
7302 IFS=$as_save_IFS
7306 LIPO=$ac_cv_prog_LIPO
7307 if test -n "$LIPO"; then
7308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7309 $as_echo "$LIPO" >&6; }
7310 else
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7312 $as_echo "no" >&6; }
7317 if test -z "$ac_cv_prog_LIPO"; then
7318 ac_ct_LIPO=$LIPO
7319 # Extract the first word of "lipo", so it can be a program name with args.
7320 set dummy lipo; ac_word=$2
7321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7322 $as_echo_n "checking for $ac_word... " >&6; }
7323 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7324 $as_echo_n "(cached) " >&6
7325 else
7326 if test -n "$ac_ct_LIPO"; then
7327 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7328 else
7329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7330 for as_dir in $PATH
7332 IFS=$as_save_IFS
7333 test -z "$as_dir" && as_dir=.
7334 for ac_exec_ext in '' $ac_executable_extensions; do
7335 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7336 ac_cv_prog_ac_ct_LIPO="lipo"
7337 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7338 break 2
7340 done
7341 done
7342 IFS=$as_save_IFS
7346 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7347 if test -n "$ac_ct_LIPO"; then
7348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7349 $as_echo "$ac_ct_LIPO" >&6; }
7350 else
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7352 $as_echo "no" >&6; }
7355 if test "x$ac_ct_LIPO" = x; then
7356 LIPO=":"
7357 else
7358 case $cross_compiling:$ac_tool_warned in
7359 yes:)
7360 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7361 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7362 ac_tool_warned=yes ;;
7363 esac
7364 LIPO=$ac_ct_LIPO
7366 else
7367 LIPO="$ac_cv_prog_LIPO"
7370 if test -n "$ac_tool_prefix"; then
7371 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7372 set dummy ${ac_tool_prefix}otool; ac_word=$2
7373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7374 $as_echo_n "checking for $ac_word... " >&6; }
7375 if ${ac_cv_prog_OTOOL+:} false; then :
7376 $as_echo_n "(cached) " >&6
7377 else
7378 if test -n "$OTOOL"; then
7379 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7380 else
7381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7382 for as_dir in $PATH
7384 IFS=$as_save_IFS
7385 test -z "$as_dir" && as_dir=.
7386 for ac_exec_ext in '' $ac_executable_extensions; do
7387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7388 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7390 break 2
7392 done
7393 done
7394 IFS=$as_save_IFS
7398 OTOOL=$ac_cv_prog_OTOOL
7399 if test -n "$OTOOL"; then
7400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7401 $as_echo "$OTOOL" >&6; }
7402 else
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7404 $as_echo "no" >&6; }
7409 if test -z "$ac_cv_prog_OTOOL"; then
7410 ac_ct_OTOOL=$OTOOL
7411 # Extract the first word of "otool", so it can be a program name with args.
7412 set dummy otool; ac_word=$2
7413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7414 $as_echo_n "checking for $ac_word... " >&6; }
7415 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7416 $as_echo_n "(cached) " >&6
7417 else
7418 if test -n "$ac_ct_OTOOL"; then
7419 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7420 else
7421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7422 for as_dir in $PATH
7424 IFS=$as_save_IFS
7425 test -z "$as_dir" && as_dir=.
7426 for ac_exec_ext in '' $ac_executable_extensions; do
7427 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7428 ac_cv_prog_ac_ct_OTOOL="otool"
7429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7430 break 2
7432 done
7433 done
7434 IFS=$as_save_IFS
7438 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7439 if test -n "$ac_ct_OTOOL"; then
7440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7441 $as_echo "$ac_ct_OTOOL" >&6; }
7442 else
7443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7444 $as_echo "no" >&6; }
7447 if test "x$ac_ct_OTOOL" = x; then
7448 OTOOL=":"
7449 else
7450 case $cross_compiling:$ac_tool_warned in
7451 yes:)
7452 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7453 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7454 ac_tool_warned=yes ;;
7455 esac
7456 OTOOL=$ac_ct_OTOOL
7458 else
7459 OTOOL="$ac_cv_prog_OTOOL"
7462 if test -n "$ac_tool_prefix"; then
7463 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7464 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7466 $as_echo_n "checking for $ac_word... " >&6; }
7467 if ${ac_cv_prog_OTOOL64+:} false; then :
7468 $as_echo_n "(cached) " >&6
7469 else
7470 if test -n "$OTOOL64"; then
7471 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7472 else
7473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7474 for as_dir in $PATH
7476 IFS=$as_save_IFS
7477 test -z "$as_dir" && as_dir=.
7478 for ac_exec_ext in '' $ac_executable_extensions; do
7479 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7480 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7482 break 2
7484 done
7485 done
7486 IFS=$as_save_IFS
7490 OTOOL64=$ac_cv_prog_OTOOL64
7491 if test -n "$OTOOL64"; then
7492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7493 $as_echo "$OTOOL64" >&6; }
7494 else
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7496 $as_echo "no" >&6; }
7501 if test -z "$ac_cv_prog_OTOOL64"; then
7502 ac_ct_OTOOL64=$OTOOL64
7503 # Extract the first word of "otool64", so it can be a program name with args.
7504 set dummy otool64; ac_word=$2
7505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7506 $as_echo_n "checking for $ac_word... " >&6; }
7507 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7508 $as_echo_n "(cached) " >&6
7509 else
7510 if test -n "$ac_ct_OTOOL64"; then
7511 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7512 else
7513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7514 for as_dir in $PATH
7516 IFS=$as_save_IFS
7517 test -z "$as_dir" && as_dir=.
7518 for ac_exec_ext in '' $ac_executable_extensions; do
7519 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7520 ac_cv_prog_ac_ct_OTOOL64="otool64"
7521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7522 break 2
7524 done
7525 done
7526 IFS=$as_save_IFS
7530 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7531 if test -n "$ac_ct_OTOOL64"; then
7532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7533 $as_echo "$ac_ct_OTOOL64" >&6; }
7534 else
7535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7536 $as_echo "no" >&6; }
7539 if test "x$ac_ct_OTOOL64" = x; then
7540 OTOOL64=":"
7541 else
7542 case $cross_compiling:$ac_tool_warned in
7543 yes:)
7544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7545 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7546 ac_tool_warned=yes ;;
7547 esac
7548 OTOOL64=$ac_ct_OTOOL64
7550 else
7551 OTOOL64="$ac_cv_prog_OTOOL64"
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7581 $as_echo_n "checking for -single_module linker flag... " >&6; }
7582 if ${lt_cv_apple_cc_single_mod+:} false; then :
7583 $as_echo_n "(cached) " >&6
7584 else
7585 lt_cv_apple_cc_single_mod=no
7586 if test -z "${LT_MULTI_MODULE}"; then
7587 # By default we will add the -single_module flag. You can override
7588 # by either setting the environment variable LT_MULTI_MODULE
7589 # non-empty at configure time, or by adding -multi_module to the
7590 # link flags.
7591 rm -rf libconftest.dylib*
7592 echo "int foo(void){return 1;}" > conftest.c
7593 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7594 -dynamiclib -Wl,-single_module conftest.c" >&5
7595 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7596 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7597 _lt_result=$?
7598 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7599 lt_cv_apple_cc_single_mod=yes
7600 else
7601 cat conftest.err >&5
7603 rm -rf libconftest.dylib*
7604 rm -f conftest.*
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7608 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7610 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7611 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7612 $as_echo_n "(cached) " >&6
7613 else
7614 lt_cv_ld_exported_symbols_list=no
7615 save_LDFLAGS=$LDFLAGS
7616 echo "_main" > conftest.sym
7617 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7619 /* end confdefs.h. */
7622 main ()
7626 return 0;
7628 _ACEOF
7629 if ac_fn_c_try_link "$LINENO"; then :
7630 lt_cv_ld_exported_symbols_list=yes
7631 else
7632 lt_cv_ld_exported_symbols_list=no
7634 rm -f core conftest.err conftest.$ac_objext \
7635 conftest$ac_exeext conftest.$ac_ext
7636 LDFLAGS="$save_LDFLAGS"
7639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7640 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7642 $as_echo_n "checking for -force_load linker flag... " >&6; }
7643 if ${lt_cv_ld_force_load+:} false; then :
7644 $as_echo_n "(cached) " >&6
7645 else
7646 lt_cv_ld_force_load=no
7647 cat > conftest.c << _LT_EOF
7648 int forced_loaded() { return 2;}
7649 _LT_EOF
7650 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7651 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7652 echo "$AR cru libconftest.a conftest.o" >&5
7653 $AR cru libconftest.a conftest.o 2>&5
7654 echo "$RANLIB libconftest.a" >&5
7655 $RANLIB libconftest.a 2>&5
7656 cat > conftest.c << _LT_EOF
7657 int main() { return 0;}
7658 _LT_EOF
7659 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7660 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7661 _lt_result=$?
7662 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7663 lt_cv_ld_force_load=yes
7664 else
7665 cat conftest.err >&5
7667 rm -f conftest.err libconftest.a conftest conftest.c
7668 rm -rf conftest.dSYM
7671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7672 $as_echo "$lt_cv_ld_force_load" >&6; }
7673 case $host_os in
7674 rhapsody* | darwin1.[012])
7675 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7676 darwin1.*)
7677 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7678 darwin*) # darwin 5.x on
7679 # if running on 10.5 or later, the deployment target defaults
7680 # to the OS version, if on x86, and 10.4, the deployment
7681 # target defaults to 10.4. Don't you love it?
7682 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7683 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7684 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7685 10.[012]*)
7686 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7687 10.*)
7688 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7689 esac
7691 esac
7692 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7693 _lt_dar_single_mod='$single_module'
7695 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7696 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7697 else
7698 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7700 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7701 _lt_dsymutil='~$DSYMUTIL $lib || :'
7702 else
7703 _lt_dsymutil=
7706 esac
7708 for ac_header in dlfcn.h
7709 do :
7710 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7712 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7713 cat >>confdefs.h <<_ACEOF
7714 #define HAVE_DLFCN_H 1
7715 _ACEOF
7719 done
7725 # Set options
7729 enable_dlopen=no
7732 enable_win32_dll=no
7735 # Check whether --enable-shared was given.
7736 if test "${enable_shared+set}" = set; then :
7737 enableval=$enable_shared; p=${PACKAGE-default}
7738 case $enableval in
7739 yes) enable_shared=yes ;;
7740 no) enable_shared=no ;;
7742 enable_shared=no
7743 # Look at the argument we got. We use all the common list separators.
7744 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7745 for pkg in $enableval; do
7746 IFS="$lt_save_ifs"
7747 if test "X$pkg" = "X$p"; then
7748 enable_shared=yes
7750 done
7751 IFS="$lt_save_ifs"
7753 esac
7754 else
7755 enable_shared=yes
7766 # Check whether --enable-static was given.
7767 if test "${enable_static+set}" = set; then :
7768 enableval=$enable_static; p=${PACKAGE-default}
7769 case $enableval in
7770 yes) enable_static=yes ;;
7771 no) enable_static=no ;;
7773 enable_static=no
7774 # Look at the argument we got. We use all the common list separators.
7775 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7776 for pkg in $enableval; do
7777 IFS="$lt_save_ifs"
7778 if test "X$pkg" = "X$p"; then
7779 enable_static=yes
7781 done
7782 IFS="$lt_save_ifs"
7784 esac
7785 else
7786 enable_static=yes
7798 # Check whether --with-pic was given.
7799 if test "${with_pic+set}" = set; then :
7800 withval=$with_pic; pic_mode="$withval"
7801 else
7802 pic_mode=default
7806 test -z "$pic_mode" && pic_mode=default
7814 # Check whether --enable-fast-install was given.
7815 if test "${enable_fast_install+set}" = set; then :
7816 enableval=$enable_fast_install; p=${PACKAGE-default}
7817 case $enableval in
7818 yes) enable_fast_install=yes ;;
7819 no) enable_fast_install=no ;;
7821 enable_fast_install=no
7822 # Look at the argument we got. We use all the common list separators.
7823 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7824 for pkg in $enableval; do
7825 IFS="$lt_save_ifs"
7826 if test "X$pkg" = "X$p"; then
7827 enable_fast_install=yes
7829 done
7830 IFS="$lt_save_ifs"
7832 esac
7833 else
7834 enable_fast_install=yes
7847 # This can be used to rebuild libtool when needed
7848 LIBTOOL_DEPS="$ltmain"
7850 # Always use our own libtool.
7851 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7878 test -z "$LN_S" && LN_S="ln -s"
7893 if test -n "${ZSH_VERSION+set}" ; then
7894 setopt NO_GLOB_SUBST
7897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7898 $as_echo_n "checking for objdir... " >&6; }
7899 if ${lt_cv_objdir+:} false; then :
7900 $as_echo_n "(cached) " >&6
7901 else
7902 rm -f .libs 2>/dev/null
7903 mkdir .libs 2>/dev/null
7904 if test -d .libs; then
7905 lt_cv_objdir=.libs
7906 else
7907 # MS-DOS does not allow filenames that begin with a dot.
7908 lt_cv_objdir=_libs
7910 rmdir .libs 2>/dev/null
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7913 $as_echo "$lt_cv_objdir" >&6; }
7914 objdir=$lt_cv_objdir
7920 cat >>confdefs.h <<_ACEOF
7921 #define LT_OBJDIR "$lt_cv_objdir/"
7922 _ACEOF
7927 case $host_os in
7928 aix3*)
7929 # AIX sometimes has problems with the GCC collect2 program. For some
7930 # reason, if we set the COLLECT_NAMES environment variable, the problems
7931 # vanish in a puff of smoke.
7932 if test "X${COLLECT_NAMES+set}" != Xset; then
7933 COLLECT_NAMES=
7934 export COLLECT_NAMES
7937 esac
7939 # Global variables:
7940 ofile=libtool
7941 can_build_shared=yes
7943 # All known linkers require a `.a' archive for static linking (except MSVC,
7944 # which needs '.lib').
7945 libext=a
7947 with_gnu_ld="$lt_cv_prog_gnu_ld"
7949 old_CC="$CC"
7950 old_CFLAGS="$CFLAGS"
7952 # Set sane defaults for various variables
7953 test -z "$CC" && CC=cc
7954 test -z "$LTCC" && LTCC=$CC
7955 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7956 test -z "$LD" && LD=ld
7957 test -z "$ac_objext" && ac_objext=o
7959 for cc_temp in $compiler""; do
7960 case $cc_temp in
7961 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7962 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7963 \-*) ;;
7964 *) break;;
7965 esac
7966 done
7967 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7970 # Only perform the check for file, if the check method requires it
7971 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7972 case $deplibs_check_method in
7973 file_magic*)
7974 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7976 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7977 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7978 $as_echo_n "(cached) " >&6
7979 else
7980 case $MAGIC_CMD in
7981 [\\/*] | ?:[\\/]*)
7982 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7985 lt_save_MAGIC_CMD="$MAGIC_CMD"
7986 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7987 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7988 for ac_dir in $ac_dummy; do
7989 IFS="$lt_save_ifs"
7990 test -z "$ac_dir" && ac_dir=.
7991 if test -f $ac_dir/${ac_tool_prefix}file; then
7992 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7993 if test -n "$file_magic_test_file"; then
7994 case $deplibs_check_method in
7995 "file_magic "*)
7996 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7997 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7998 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7999 $EGREP "$file_magic_regex" > /dev/null; then
8001 else
8002 cat <<_LT_EOF 1>&2
8004 *** Warning: the command libtool uses to detect shared libraries,
8005 *** $file_magic_cmd, produces output that libtool cannot recognize.
8006 *** The result is that libtool may fail to recognize shared libraries
8007 *** as such. This will affect the creation of libtool libraries that
8008 *** depend on shared libraries, but programs linked with such libtool
8009 *** libraries will work regardless of this problem. Nevertheless, you
8010 *** may want to report the problem to your system manager and/or to
8011 *** bug-libtool@gnu.org
8013 _LT_EOF
8014 fi ;;
8015 esac
8017 break
8019 done
8020 IFS="$lt_save_ifs"
8021 MAGIC_CMD="$lt_save_MAGIC_CMD"
8023 esac
8026 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8027 if test -n "$MAGIC_CMD"; then
8028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8029 $as_echo "$MAGIC_CMD" >&6; }
8030 else
8031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8032 $as_echo "no" >&6; }
8039 if test -z "$lt_cv_path_MAGIC_CMD"; then
8040 if test -n "$ac_tool_prefix"; then
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8042 $as_echo_n "checking for file... " >&6; }
8043 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8044 $as_echo_n "(cached) " >&6
8045 else
8046 case $MAGIC_CMD in
8047 [\\/*] | ?:[\\/]*)
8048 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8051 lt_save_MAGIC_CMD="$MAGIC_CMD"
8052 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8053 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8054 for ac_dir in $ac_dummy; do
8055 IFS="$lt_save_ifs"
8056 test -z "$ac_dir" && ac_dir=.
8057 if test -f $ac_dir/file; then
8058 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8059 if test -n "$file_magic_test_file"; then
8060 case $deplibs_check_method in
8061 "file_magic "*)
8062 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8063 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8064 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8065 $EGREP "$file_magic_regex" > /dev/null; then
8067 else
8068 cat <<_LT_EOF 1>&2
8070 *** Warning: the command libtool uses to detect shared libraries,
8071 *** $file_magic_cmd, produces output that libtool cannot recognize.
8072 *** The result is that libtool may fail to recognize shared libraries
8073 *** as such. This will affect the creation of libtool libraries that
8074 *** depend on shared libraries, but programs linked with such libtool
8075 *** libraries will work regardless of this problem. Nevertheless, you
8076 *** may want to report the problem to your system manager and/or to
8077 *** bug-libtool@gnu.org
8079 _LT_EOF
8080 fi ;;
8081 esac
8083 break
8085 done
8086 IFS="$lt_save_ifs"
8087 MAGIC_CMD="$lt_save_MAGIC_CMD"
8089 esac
8092 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8093 if test -n "$MAGIC_CMD"; then
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8095 $as_echo "$MAGIC_CMD" >&6; }
8096 else
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8098 $as_echo "no" >&6; }
8102 else
8103 MAGIC_CMD=:
8109 esac
8111 # Use C for the default configuration in the libtool script
8113 lt_save_CC="$CC"
8114 ac_ext=c
8115 ac_cpp='$CPP $CPPFLAGS'
8116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8121 # Source file extension for C test sources.
8122 ac_ext=c
8124 # Object file extension for compiled C test sources.
8125 objext=o
8126 objext=$objext
8128 # Code to be used in simple compile tests
8129 lt_simple_compile_test_code="int some_variable = 0;"
8131 # Code to be used in simple link tests
8132 lt_simple_link_test_code='int main(){return(0);}'
8140 # If no C compiler was specified, use CC.
8141 LTCC=${LTCC-"$CC"}
8143 # If no C compiler flags were specified, use CFLAGS.
8144 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8146 # Allow CC to be a program name with arguments.
8147 compiler=$CC
8149 # Save the default compiler, since it gets overwritten when the other
8150 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8151 compiler_DEFAULT=$CC
8153 # save warnings/boilerplate of simple test code
8154 ac_outfile=conftest.$ac_objext
8155 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8156 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8157 _lt_compiler_boilerplate=`cat conftest.err`
8158 $RM conftest*
8160 ac_outfile=conftest.$ac_objext
8161 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8162 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8163 _lt_linker_boilerplate=`cat conftest.err`
8164 $RM -r conftest*
8167 ## CAVEAT EMPTOR:
8168 ## There is no encapsulation within the following macros, do not change
8169 ## the running order or otherwise move them around unless you know exactly
8170 ## what you are doing...
8171 if test -n "$compiler"; then
8173 lt_prog_compiler_no_builtin_flag=
8175 if test "$GCC" = yes; then
8176 case $cc_basename in
8177 nvcc*)
8178 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8180 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8181 esac
8183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8184 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8185 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8186 $as_echo_n "(cached) " >&6
8187 else
8188 lt_cv_prog_compiler_rtti_exceptions=no
8189 ac_outfile=conftest.$ac_objext
8190 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8191 lt_compiler_flag="-fno-rtti -fno-exceptions"
8192 # Insert the option either (1) after the last *FLAGS variable, or
8193 # (2) before a word containing "conftest.", or (3) at the end.
8194 # Note that $ac_compile itself does not contain backslashes and begins
8195 # with a dollar sign (not a hyphen), so the echo should work correctly.
8196 # The option is referenced via a variable to avoid confusing sed.
8197 lt_compile=`echo "$ac_compile" | $SED \
8198 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8199 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8200 -e 's:$: $lt_compiler_flag:'`
8201 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8202 (eval "$lt_compile" 2>conftest.err)
8203 ac_status=$?
8204 cat conftest.err >&5
8205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8206 if (exit $ac_status) && test -s "$ac_outfile"; then
8207 # The compiler can only warn and ignore the option if not recognized
8208 # So say no if there are warnings other than the usual output.
8209 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8210 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8211 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8212 lt_cv_prog_compiler_rtti_exceptions=yes
8215 $RM conftest*
8218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8219 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8221 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8222 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8223 else
8234 lt_prog_compiler_wl=
8235 lt_prog_compiler_pic=
8236 lt_prog_compiler_static=
8239 if test "$GCC" = yes; then
8240 lt_prog_compiler_wl='-Wl,'
8241 lt_prog_compiler_static='-static'
8243 case $host_os in
8244 aix*)
8245 # All AIX code is PIC.
8246 if test "$host_cpu" = ia64; then
8247 # AIX 5 now supports IA64 processor
8248 lt_prog_compiler_static='-Bstatic'
8252 amigaos*)
8253 case $host_cpu in
8254 powerpc)
8255 # see comment about AmigaOS4 .so support
8256 lt_prog_compiler_pic='-fPIC'
8258 m68k)
8259 # FIXME: we need at least 68020 code to build shared libraries, but
8260 # adding the `-m68020' flag to GCC prevents building anything better,
8261 # like `-m68040'.
8262 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8264 esac
8267 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8268 # PIC is the default for these OSes.
8271 mingw* | cygwin* | pw32* | os2* | cegcc*)
8272 # This hack is so that the source file can tell whether it is being
8273 # built for inclusion in a dll (and should export symbols for example).
8274 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8275 # (--disable-auto-import) libraries
8276 lt_prog_compiler_pic='-DDLL_EXPORT'
8279 darwin* | rhapsody*)
8280 # PIC is the default on this platform
8281 # Common symbols not allowed in MH_DYLIB files
8282 lt_prog_compiler_pic='-fno-common'
8285 haiku*)
8286 # PIC is the default for Haiku.
8287 # The "-static" flag exists, but is broken.
8288 lt_prog_compiler_static=
8291 hpux*)
8292 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8293 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8294 # sets the default TLS model and affects inlining.
8295 case $host_cpu in
8296 hppa*64*)
8297 # +Z the default
8300 lt_prog_compiler_pic='-fPIC'
8302 esac
8305 interix[3-9]*)
8306 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8307 # Instead, we relocate shared libraries at runtime.
8310 msdosdjgpp*)
8311 # Just because we use GCC doesn't mean we suddenly get shared libraries
8312 # on systems that don't support them.
8313 lt_prog_compiler_can_build_shared=no
8314 enable_shared=no
8317 *nto* | *qnx*)
8318 # QNX uses GNU C++, but need to define -shared option too, otherwise
8319 # it will coredump.
8320 lt_prog_compiler_pic='-fPIC -shared'
8323 sysv4*MP*)
8324 if test -d /usr/nec; then
8325 lt_prog_compiler_pic=-Kconform_pic
8330 lt_prog_compiler_pic='-fPIC'
8332 esac
8334 case $cc_basename in
8335 nvcc*) # Cuda Compiler Driver 2.2
8336 lt_prog_compiler_wl='-Xlinker '
8337 lt_prog_compiler_pic='-Xcompiler -fPIC'
8339 esac
8340 else
8341 # PORTME Check for flag to pass linker flags through the system compiler.
8342 case $host_os in
8343 aix*)
8344 lt_prog_compiler_wl='-Wl,'
8345 if test "$host_cpu" = ia64; then
8346 # AIX 5 now supports IA64 processor
8347 lt_prog_compiler_static='-Bstatic'
8348 else
8349 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8353 mingw* | cygwin* | pw32* | os2* | cegcc*)
8354 # This hack is so that the source file can tell whether it is being
8355 # built for inclusion in a dll (and should export symbols for example).
8356 lt_prog_compiler_pic='-DDLL_EXPORT'
8359 hpux9* | hpux10* | hpux11*)
8360 lt_prog_compiler_wl='-Wl,'
8361 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8362 # not for PA HP-UX.
8363 case $host_cpu in
8364 hppa*64*|ia64*)
8365 # +Z the default
8368 lt_prog_compiler_pic='+Z'
8370 esac
8371 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8372 lt_prog_compiler_static='${wl}-a ${wl}archive'
8375 irix5* | irix6* | nonstopux*)
8376 lt_prog_compiler_wl='-Wl,'
8377 # PIC (with -KPIC) is the default.
8378 lt_prog_compiler_static='-non_shared'
8381 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8382 case $cc_basename in
8383 # old Intel for x86_64 which still supported -KPIC.
8384 ecc*)
8385 lt_prog_compiler_wl='-Wl,'
8386 lt_prog_compiler_pic='-KPIC'
8387 lt_prog_compiler_static='-static'
8389 # icc used to be incompatible with GCC.
8390 # ICC 10 doesn't accept -KPIC any more.
8391 icc* | ifort*)
8392 lt_prog_compiler_wl='-Wl,'
8393 lt_prog_compiler_pic='-fPIC'
8394 lt_prog_compiler_static='-static'
8396 # Lahey Fortran 8.1.
8397 lf95*)
8398 lt_prog_compiler_wl='-Wl,'
8399 lt_prog_compiler_pic='--shared'
8400 lt_prog_compiler_static='--static'
8402 nagfor*)
8403 # NAG Fortran compiler
8404 lt_prog_compiler_wl='-Wl,-Wl,,'
8405 lt_prog_compiler_pic='-PIC'
8406 lt_prog_compiler_static='-Bstatic'
8408 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8409 # Portland Group compilers (*not* the Pentium gcc compiler,
8410 # which looks to be a dead project)
8411 lt_prog_compiler_wl='-Wl,'
8412 lt_prog_compiler_pic='-fpic'
8413 lt_prog_compiler_static='-Bstatic'
8415 ccc*)
8416 lt_prog_compiler_wl='-Wl,'
8417 # All Alpha code is PIC.
8418 lt_prog_compiler_static='-non_shared'
8420 xl* | bgxl* | bgf* | mpixl*)
8421 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8422 lt_prog_compiler_wl='-Wl,'
8423 lt_prog_compiler_pic='-qpic'
8424 lt_prog_compiler_static='-qstaticlink'
8427 case `$CC -V 2>&1 | sed 5q` in
8428 *Sun\ F* | *Sun*Fortran*)
8429 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8430 lt_prog_compiler_pic='-KPIC'
8431 lt_prog_compiler_static='-Bstatic'
8432 lt_prog_compiler_wl=''
8434 *Sun\ C*)
8435 # Sun C 5.9
8436 lt_prog_compiler_pic='-KPIC'
8437 lt_prog_compiler_static='-Bstatic'
8438 lt_prog_compiler_wl='-Wl,'
8440 esac
8442 esac
8445 newsos6)
8446 lt_prog_compiler_pic='-KPIC'
8447 lt_prog_compiler_static='-Bstatic'
8450 *nto* | *qnx*)
8451 # QNX uses GNU C++, but need to define -shared option too, otherwise
8452 # it will coredump.
8453 lt_prog_compiler_pic='-fPIC -shared'
8456 osf3* | osf4* | osf5*)
8457 lt_prog_compiler_wl='-Wl,'
8458 # All OSF/1 code is PIC.
8459 lt_prog_compiler_static='-non_shared'
8462 rdos*)
8463 lt_prog_compiler_static='-non_shared'
8466 solaris*)
8467 lt_prog_compiler_pic='-KPIC'
8468 lt_prog_compiler_static='-Bstatic'
8469 case $cc_basename in
8470 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8471 lt_prog_compiler_wl='-Qoption ld ';;
8473 lt_prog_compiler_wl='-Wl,';;
8474 esac
8477 sunos4*)
8478 lt_prog_compiler_wl='-Qoption ld '
8479 lt_prog_compiler_pic='-PIC'
8480 lt_prog_compiler_static='-Bstatic'
8483 sysv4 | sysv4.2uw2* | sysv4.3*)
8484 lt_prog_compiler_wl='-Wl,'
8485 lt_prog_compiler_pic='-KPIC'
8486 lt_prog_compiler_static='-Bstatic'
8489 sysv4*MP*)
8490 if test -d /usr/nec ;then
8491 lt_prog_compiler_pic='-Kconform_pic'
8492 lt_prog_compiler_static='-Bstatic'
8496 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8497 lt_prog_compiler_wl='-Wl,'
8498 lt_prog_compiler_pic='-KPIC'
8499 lt_prog_compiler_static='-Bstatic'
8502 unicos*)
8503 lt_prog_compiler_wl='-Wl,'
8504 lt_prog_compiler_can_build_shared=no
8507 uts4*)
8508 lt_prog_compiler_pic='-pic'
8509 lt_prog_compiler_static='-Bstatic'
8513 lt_prog_compiler_can_build_shared=no
8515 esac
8518 case $host_os in
8519 # For platforms which do not support PIC, -DPIC is meaningless:
8520 *djgpp*)
8521 lt_prog_compiler_pic=
8524 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8526 esac
8528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8529 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8530 if ${lt_cv_prog_compiler_pic+:} false; then :
8531 $as_echo_n "(cached) " >&6
8532 else
8533 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8536 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8537 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8540 # Check to make sure the PIC flag actually works.
8542 if test -n "$lt_prog_compiler_pic"; then
8543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8544 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8545 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8546 $as_echo_n "(cached) " >&6
8547 else
8548 lt_cv_prog_compiler_pic_works=no
8549 ac_outfile=conftest.$ac_objext
8550 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8551 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8552 # Insert the option either (1) after the last *FLAGS variable, or
8553 # (2) before a word containing "conftest.", or (3) at the end.
8554 # Note that $ac_compile itself does not contain backslashes and begins
8555 # with a dollar sign (not a hyphen), so the echo should work correctly.
8556 # The option is referenced via a variable to avoid confusing sed.
8557 lt_compile=`echo "$ac_compile" | $SED \
8558 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8559 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8560 -e 's:$: $lt_compiler_flag:'`
8561 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8562 (eval "$lt_compile" 2>conftest.err)
8563 ac_status=$?
8564 cat conftest.err >&5
8565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8566 if (exit $ac_status) && test -s "$ac_outfile"; then
8567 # The compiler can only warn and ignore the option if not recognized
8568 # So say no if there are warnings other than the usual output.
8569 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8570 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8571 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8572 lt_cv_prog_compiler_pic_works=yes
8575 $RM conftest*
8578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8579 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8581 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8582 case $lt_prog_compiler_pic in
8583 "" | " "*) ;;
8584 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8585 esac
8586 else
8587 lt_prog_compiler_pic=
8588 lt_prog_compiler_can_build_shared=no
8604 # Check to make sure the static flag actually works.
8606 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8608 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8609 if ${lt_cv_prog_compiler_static_works+:} false; then :
8610 $as_echo_n "(cached) " >&6
8611 else
8612 lt_cv_prog_compiler_static_works=no
8613 save_LDFLAGS="$LDFLAGS"
8614 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8615 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8616 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8617 # The linker can only warn and ignore the option if not recognized
8618 # So say no if there are warnings
8619 if test -s conftest.err; then
8620 # Append any errors to the config.log.
8621 cat conftest.err 1>&5
8622 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8623 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8624 if diff conftest.exp conftest.er2 >/dev/null; then
8625 lt_cv_prog_compiler_static_works=yes
8627 else
8628 lt_cv_prog_compiler_static_works=yes
8631 $RM -r conftest*
8632 LDFLAGS="$save_LDFLAGS"
8635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8636 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8638 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8640 else
8641 lt_prog_compiler_static=
8650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8651 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8652 if ${lt_cv_prog_compiler_c_o+:} false; then :
8653 $as_echo_n "(cached) " >&6
8654 else
8655 lt_cv_prog_compiler_c_o=no
8656 $RM -r conftest 2>/dev/null
8657 mkdir conftest
8658 cd conftest
8659 mkdir out
8660 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8662 lt_compiler_flag="-o out/conftest2.$ac_objext"
8663 # Insert the option either (1) after the last *FLAGS variable, or
8664 # (2) before a word containing "conftest.", or (3) at the end.
8665 # Note that $ac_compile itself does not contain backslashes and begins
8666 # with a dollar sign (not a hyphen), so the echo should work correctly.
8667 lt_compile=`echo "$ac_compile" | $SED \
8668 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8669 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8670 -e 's:$: $lt_compiler_flag:'`
8671 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8672 (eval "$lt_compile" 2>out/conftest.err)
8673 ac_status=$?
8674 cat out/conftest.err >&5
8675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8676 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8677 then
8678 # The compiler can only warn and ignore the option if not recognized
8679 # So say no if there are warnings
8680 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8681 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8682 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8683 lt_cv_prog_compiler_c_o=yes
8686 chmod u+w . 2>&5
8687 $RM conftest*
8688 # SGI C++ compiler will create directory out/ii_files/ for
8689 # template instantiation
8690 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8691 $RM out/* && rmdir out
8692 cd ..
8693 $RM -r conftest
8694 $RM conftest*
8697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8698 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8706 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8707 if ${lt_cv_prog_compiler_c_o+:} false; then :
8708 $as_echo_n "(cached) " >&6
8709 else
8710 lt_cv_prog_compiler_c_o=no
8711 $RM -r conftest 2>/dev/null
8712 mkdir conftest
8713 cd conftest
8714 mkdir out
8715 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8717 lt_compiler_flag="-o out/conftest2.$ac_objext"
8718 # Insert the option either (1) after the last *FLAGS variable, or
8719 # (2) before a word containing "conftest.", or (3) at the end.
8720 # Note that $ac_compile itself does not contain backslashes and begins
8721 # with a dollar sign (not a hyphen), so the echo should work correctly.
8722 lt_compile=`echo "$ac_compile" | $SED \
8723 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8724 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8725 -e 's:$: $lt_compiler_flag:'`
8726 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8727 (eval "$lt_compile" 2>out/conftest.err)
8728 ac_status=$?
8729 cat out/conftest.err >&5
8730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8731 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8732 then
8733 # The compiler can only warn and ignore the option if not recognized
8734 # So say no if there are warnings
8735 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8736 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8737 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8738 lt_cv_prog_compiler_c_o=yes
8741 chmod u+w . 2>&5
8742 $RM conftest*
8743 # SGI C++ compiler will create directory out/ii_files/ for
8744 # template instantiation
8745 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8746 $RM out/* && rmdir out
8747 cd ..
8748 $RM -r conftest
8749 $RM conftest*
8752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8753 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8758 hard_links="nottested"
8759 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8760 # do not overwrite the value of need_locks provided by the user
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8762 $as_echo_n "checking if we can lock with hard links... " >&6; }
8763 hard_links=yes
8764 $RM conftest*
8765 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8766 touch conftest.a
8767 ln conftest.a conftest.b 2>&5 || hard_links=no
8768 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8770 $as_echo "$hard_links" >&6; }
8771 if test "$hard_links" = no; then
8772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8773 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8774 need_locks=warn
8776 else
8777 need_locks=no
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8786 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8788 runpath_var=
8789 allow_undefined_flag=
8790 always_export_symbols=no
8791 archive_cmds=
8792 archive_expsym_cmds=
8793 compiler_needs_object=no
8794 enable_shared_with_static_runtimes=no
8795 export_dynamic_flag_spec=
8796 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8797 hardcode_automatic=no
8798 hardcode_direct=no
8799 hardcode_direct_absolute=no
8800 hardcode_libdir_flag_spec=
8801 hardcode_libdir_flag_spec_ld=
8802 hardcode_libdir_separator=
8803 hardcode_minus_L=no
8804 hardcode_shlibpath_var=unsupported
8805 inherit_rpath=no
8806 link_all_deplibs=unknown
8807 module_cmds=
8808 module_expsym_cmds=
8809 old_archive_from_new_cmds=
8810 old_archive_from_expsyms_cmds=
8811 thread_safe_flag_spec=
8812 whole_archive_flag_spec=
8813 # include_expsyms should be a list of space-separated symbols to be *always*
8814 # included in the symbol list
8815 include_expsyms=
8816 # exclude_expsyms can be an extended regexp of symbols to exclude
8817 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8818 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8819 # as well as any symbol that contains `d'.
8820 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8821 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8822 # platforms (ab)use it in PIC code, but their linkers get confused if
8823 # the symbol is explicitly referenced. Since portable code cannot
8824 # rely on this symbol name, it's probably fine to never include it in
8825 # preloaded symbol tables.
8826 # Exclude shared library initialization/finalization symbols.
8827 extract_expsyms_cmds=
8829 case $host_os in
8830 cygwin* | mingw* | pw32* | cegcc*)
8831 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8832 # When not using gcc, we currently assume that we are using
8833 # Microsoft Visual C++.
8834 if test "$GCC" != yes; then
8835 with_gnu_ld=no
8838 interix*)
8839 # we just hope/assume this is gcc and not c89 (= MSVC++)
8840 with_gnu_ld=yes
8842 openbsd*)
8843 with_gnu_ld=no
8845 esac
8847 ld_shlibs=yes
8849 # On some targets, GNU ld is compatible enough with the native linker
8850 # that we're better off using the native interface for both.
8851 lt_use_gnu_ld_interface=no
8852 if test "$with_gnu_ld" = yes; then
8853 case $host_os in
8854 aix*)
8855 # The AIX port of GNU ld has always aspired to compatibility
8856 # with the native linker. However, as the warning in the GNU ld
8857 # block says, versions before 2.19.5* couldn't really create working
8858 # shared libraries, regardless of the interface used.
8859 case `$LD -v 2>&1` in
8860 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8861 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8862 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8864 lt_use_gnu_ld_interface=yes
8866 esac
8869 lt_use_gnu_ld_interface=yes
8871 esac
8874 if test "$lt_use_gnu_ld_interface" = yes; then
8875 # If archive_cmds runs LD, not CC, wlarc should be empty
8876 wlarc='${wl}'
8878 # Set some defaults for GNU ld with shared library support. These
8879 # are reset later if shared libraries are not supported. Putting them
8880 # here allows them to be overridden if necessary.
8881 runpath_var=LD_RUN_PATH
8882 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8883 export_dynamic_flag_spec='${wl}--export-dynamic'
8884 # ancient GNU ld didn't support --whole-archive et. al.
8885 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8886 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8887 else
8888 whole_archive_flag_spec=
8890 supports_anon_versioning=no
8891 case `$LD -v 2>&1` in
8892 *GNU\ gold*) supports_anon_versioning=yes ;;
8893 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8894 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8895 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8896 *\ 2.11.*) ;; # other 2.11 versions
8897 *) supports_anon_versioning=yes ;;
8898 esac
8900 # See if GNU ld supports shared libraries.
8901 case $host_os in
8902 aix[3-9]*)
8903 # On AIX/PPC, the GNU linker is very broken
8904 if test "$host_cpu" != ia64; then
8905 ld_shlibs=no
8906 cat <<_LT_EOF 1>&2
8908 *** Warning: the GNU linker, at least up to release 2.19, is reported
8909 *** to be unable to reliably create shared libraries on AIX.
8910 *** Therefore, libtool is disabling shared libraries support. If you
8911 *** really care for shared libraries, you may want to install binutils
8912 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8913 *** You will then need to restart the configuration process.
8915 _LT_EOF
8919 amigaos*)
8920 case $host_cpu in
8921 powerpc)
8922 # see comment about AmigaOS4 .so support
8923 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8924 archive_expsym_cmds=''
8926 m68k)
8927 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
8928 hardcode_libdir_flag_spec='-L$libdir'
8929 hardcode_minus_L=yes
8931 esac
8934 beos*)
8935 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8936 allow_undefined_flag=unsupported
8937 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8938 # support --undefined. This deserves some investigation. FIXME
8939 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8940 else
8941 ld_shlibs=no
8945 cygwin* | mingw* | pw32* | cegcc*)
8946 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8947 # as there is no search path for DLLs.
8948 hardcode_libdir_flag_spec='-L$libdir'
8949 export_dynamic_flag_spec='${wl}--export-all-symbols'
8950 allow_undefined_flag=unsupported
8951 always_export_symbols=no
8952 enable_shared_with_static_runtimes=yes
8953 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
8954 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8956 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8957 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8958 # If the export-symbols file already is a .def file (1st line
8959 # is EXPORTS), use it as is; otherwise, prepend...
8960 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8961 cp $export_symbols $output_objdir/$soname.def;
8962 else
8963 echo EXPORTS > $output_objdir/$soname.def;
8964 cat $export_symbols >> $output_objdir/$soname.def;
8966 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8967 else
8968 ld_shlibs=no
8972 haiku*)
8973 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8974 link_all_deplibs=yes
8977 interix[3-9]*)
8978 hardcode_direct=no
8979 hardcode_shlibpath_var=no
8980 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8981 export_dynamic_flag_spec='${wl}-E'
8982 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8983 # Instead, shared libraries are loaded at an image base (0x10000000 by
8984 # default) and relocated if they conflict, which is a slow very memory
8985 # consuming and fragmenting process. To avoid this, we pick a random,
8986 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8987 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8988 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8989 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8992 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8993 tmp_diet=no
8994 if test "$host_os" = linux-dietlibc; then
8995 case $cc_basename in
8996 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8997 esac
8999 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9000 && test "$tmp_diet" = no
9001 then
9002 tmp_addflag=' $pic_flag'
9003 tmp_sharedflag='-shared'
9004 case $cc_basename,$host_cpu in
9005 pgcc*) # Portland Group C compiler
9006 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9007 tmp_addflag=' $pic_flag'
9009 pgf77* | pgf90* | pgf95* | pgfortran*)
9010 # Portland Group f77 and f90 compilers
9011 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9012 tmp_addflag=' $pic_flag -Mnomain' ;;
9013 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9014 tmp_addflag=' -i_dynamic' ;;
9015 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9016 tmp_addflag=' -i_dynamic -nofor_main' ;;
9017 ifc* | ifort*) # Intel Fortran compiler
9018 tmp_addflag=' -nofor_main' ;;
9019 lf95*) # Lahey Fortran 8.1
9020 whole_archive_flag_spec=
9021 tmp_sharedflag='--shared' ;;
9022 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9023 tmp_sharedflag='-qmkshrobj'
9024 tmp_addflag= ;;
9025 nvcc*) # Cuda Compiler Driver 2.2
9026 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9027 compiler_needs_object=yes
9029 esac
9030 case `$CC -V 2>&1 | sed 5q` in
9031 *Sun\ C*) # Sun C 5.9
9032 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9033 compiler_needs_object=yes
9034 tmp_sharedflag='-G' ;;
9035 *Sun\ F*) # Sun Fortran 8.3
9036 tmp_sharedflag='-G' ;;
9037 esac
9038 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9040 if test "x$supports_anon_versioning" = xyes; then
9041 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9042 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9043 echo "local: *; };" >> $output_objdir/$libname.ver~
9044 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9047 case $cc_basename in
9048 xlf* | bgf* | bgxlf* | mpixlf*)
9049 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9050 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9051 hardcode_libdir_flag_spec=
9052 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9053 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9054 if test "x$supports_anon_versioning" = xyes; then
9055 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9056 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9057 echo "local: *; };" >> $output_objdir/$libname.ver~
9058 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9061 esac
9062 else
9063 ld_shlibs=no
9067 netbsd*)
9068 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9069 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9070 wlarc=
9071 else
9072 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9073 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9077 solaris*)
9078 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9079 ld_shlibs=no
9080 cat <<_LT_EOF 1>&2
9082 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9083 *** create shared libraries on Solaris systems. Therefore, libtool
9084 *** is disabling shared libraries support. We urge you to upgrade GNU
9085 *** binutils to release 2.9.1 or newer. Another option is to modify
9086 *** your PATH or compiler configuration so that the native linker is
9087 *** used, and then restart.
9089 _LT_EOF
9090 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9091 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9092 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9093 else
9094 ld_shlibs=no
9098 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9099 case `$LD -v 2>&1` in
9100 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9101 ld_shlibs=no
9102 cat <<_LT_EOF 1>&2
9104 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9105 *** reliably create shared libraries on SCO systems. Therefore, libtool
9106 *** is disabling shared libraries support. We urge you to upgrade GNU
9107 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9108 *** your PATH or compiler configuration so that the native linker is
9109 *** used, and then restart.
9111 _LT_EOF
9114 # For security reasons, it is highly recommended that you always
9115 # use absolute paths for naming shared libraries, and exclude the
9116 # DT_RUNPATH tag from executables and libraries. But doing so
9117 # requires that you compile everything twice, which is a pain.
9118 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9119 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9120 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9121 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9122 else
9123 ld_shlibs=no
9126 esac
9129 sunos4*)
9130 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9131 wlarc=
9132 hardcode_direct=yes
9133 hardcode_shlibpath_var=no
9137 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9138 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9139 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9140 else
9141 ld_shlibs=no
9144 esac
9146 if test "$ld_shlibs" = no; then
9147 runpath_var=
9148 hardcode_libdir_flag_spec=
9149 export_dynamic_flag_spec=
9150 whole_archive_flag_spec=
9152 else
9153 # PORTME fill in a description of your system's linker (not GNU ld)
9154 case $host_os in
9155 aix3*)
9156 allow_undefined_flag=unsupported
9157 always_export_symbols=yes
9158 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
9159 # Note: this linker hardcodes the directories in LIBPATH if there
9160 # are no directories specified by -L.
9161 hardcode_minus_L=yes
9162 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9163 # Neither direct hardcoding nor static linking is supported with a
9164 # broken collect2.
9165 hardcode_direct=unsupported
9169 aix[4-9]*)
9170 if test "$host_cpu" = ia64; then
9171 # On IA64, the linker does run time linking by default, so we don't
9172 # have to do anything special.
9173 aix_use_runtimelinking=no
9174 exp_sym_flag='-Bexport'
9175 no_entry_flag=""
9176 else
9177 # If we're using GNU nm, then we don't want the "-C" option.
9178 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9179 # Also, AIX nm treats weak defined symbols like other global
9180 # defined symbols, whereas GNU nm marks them as "W".
9181 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9182 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9183 else
9184 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9186 aix_use_runtimelinking=no
9188 # Test if we are trying to use run time linking or normal
9189 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9190 # need to do runtime linking.
9191 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9192 for ld_flag in $LDFLAGS; do
9193 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9194 aix_use_runtimelinking=yes
9195 break
9197 done
9199 esac
9201 exp_sym_flag='-bexport'
9202 no_entry_flag='-bnoentry'
9205 # When large executables or shared objects are built, AIX ld can
9206 # have problems creating the table of contents. If linking a library
9207 # or program results in "error TOC overflow" add -mminimal-toc to
9208 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9209 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9211 archive_cmds=''
9212 hardcode_direct=yes
9213 hardcode_direct_absolute=yes
9214 hardcode_libdir_separator=':'
9215 link_all_deplibs=yes
9216 file_list_spec='${wl}-f,'
9218 if test "$GCC" = yes; then
9219 case $host_os in aix4.[012]|aix4.[012].*)
9220 # We only want to do this on AIX 4.2 and lower, the check
9221 # below for broken collect2 doesn't work under 4.3+
9222 collect2name=`${CC} -print-prog-name=collect2`
9223 if test -f "$collect2name" &&
9224 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9225 then
9226 # We have reworked collect2
9228 else
9229 # We have old collect2
9230 hardcode_direct=unsupported
9231 # It fails to find uninstalled libraries when the uninstalled
9232 # path is not listed in the libpath. Setting hardcode_minus_L
9233 # to unsupported forces relinking
9234 hardcode_minus_L=yes
9235 hardcode_libdir_flag_spec='-L$libdir'
9236 hardcode_libdir_separator=
9239 esac
9240 shared_flag='-shared'
9241 if test "$aix_use_runtimelinking" = yes; then
9242 shared_flag="$shared_flag "'${wl}-G'
9244 else
9245 # not using gcc
9246 if test "$host_cpu" = ia64; then
9247 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9248 # chokes on -Wl,-G. The following line is correct:
9249 shared_flag='-G'
9250 else
9251 if test "$aix_use_runtimelinking" = yes; then
9252 shared_flag='${wl}-G'
9253 else
9254 shared_flag='${wl}-bM:SRE'
9259 export_dynamic_flag_spec='${wl}-bexpall'
9260 # It seems that -bexpall does not export symbols beginning with
9261 # underscore (_), so it is better to generate a list of symbols to export.
9262 always_export_symbols=yes
9263 if test "$aix_use_runtimelinking" = yes; then
9264 # Warning - without using the other runtime loading flags (-brtl),
9265 # -berok will link without error, but may produce a broken library.
9266 allow_undefined_flag='-berok'
9267 # Determine the default libpath from the value encoded in an
9268 # empty executable.
9269 if test "${lt_cv_aix_libpath+set}" = set; then
9270 aix_libpath=$lt_cv_aix_libpath
9271 else
9272 if ${lt_cv_aix_libpath_+:} false; then :
9273 $as_echo_n "(cached) " >&6
9274 else
9275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9276 /* end confdefs.h. */
9279 main ()
9283 return 0;
9285 _ACEOF
9286 if ac_fn_c_try_link "$LINENO"; then :
9288 lt_aix_libpath_sed='
9289 /Import File Strings/,/^$/ {
9290 /^0/ {
9291 s/^0 *\([^ ]*\) *$/\1/
9295 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9296 # Check for a 64-bit object if we didn't find anything.
9297 if test -z "$lt_cv_aix_libpath_"; then
9298 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9301 rm -f core conftest.err conftest.$ac_objext \
9302 conftest$ac_exeext conftest.$ac_ext
9303 if test -z "$lt_cv_aix_libpath_"; then
9304 lt_cv_aix_libpath_="/usr/lib:/lib"
9309 aix_libpath=$lt_cv_aix_libpath_
9312 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9313 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9314 else
9315 if test "$host_cpu" = ia64; then
9316 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9317 allow_undefined_flag="-z nodefs"
9318 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
9319 else
9320 # Determine the default libpath from the value encoded in an
9321 # empty executable.
9322 if test "${lt_cv_aix_libpath+set}" = set; then
9323 aix_libpath=$lt_cv_aix_libpath
9324 else
9325 if ${lt_cv_aix_libpath_+:} false; then :
9326 $as_echo_n "(cached) " >&6
9327 else
9328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9329 /* end confdefs.h. */
9332 main ()
9336 return 0;
9338 _ACEOF
9339 if ac_fn_c_try_link "$LINENO"; then :
9341 lt_aix_libpath_sed='
9342 /Import File Strings/,/^$/ {
9343 /^0/ {
9344 s/^0 *\([^ ]*\) *$/\1/
9348 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9349 # Check for a 64-bit object if we didn't find anything.
9350 if test -z "$lt_cv_aix_libpath_"; then
9351 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9354 rm -f core conftest.err conftest.$ac_objext \
9355 conftest$ac_exeext conftest.$ac_ext
9356 if test -z "$lt_cv_aix_libpath_"; then
9357 lt_cv_aix_libpath_="/usr/lib:/lib"
9362 aix_libpath=$lt_cv_aix_libpath_
9365 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9366 # Warning - without using the other run time loading flags,
9367 # -berok will link without error, but may produce a broken library.
9368 no_undefined_flag=' ${wl}-bernotok'
9369 allow_undefined_flag=' ${wl}-berok'
9370 if test "$with_gnu_ld" = yes; then
9371 # We only use this code for GNU lds that support --whole-archive.
9372 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9373 else
9374 # Exported symbols can be pulled into shared objects from archives
9375 whole_archive_flag_spec='$convenience'
9377 archive_cmds_need_lc=yes
9378 # This is similar to how AIX traditionally builds its shared libraries.
9379 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9384 amigaos*)
9385 case $host_cpu in
9386 powerpc)
9387 # see comment about AmigaOS4 .so support
9388 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9389 archive_expsym_cmds=''
9391 m68k)
9392 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9393 hardcode_libdir_flag_spec='-L$libdir'
9394 hardcode_minus_L=yes
9396 esac
9399 bsdi[45]*)
9400 export_dynamic_flag_spec=-rdynamic
9403 cygwin* | mingw* | pw32* | cegcc*)
9404 # When not using gcc, we currently assume that we are using
9405 # Microsoft Visual C++.
9406 # hardcode_libdir_flag_spec is actually meaningless, as there is
9407 # no search path for DLLs.
9408 case $cc_basename in
9409 cl*)
9410 # Native MSVC
9411 hardcode_libdir_flag_spec=' '
9412 allow_undefined_flag=unsupported
9413 always_export_symbols=yes
9414 file_list_spec='@'
9415 # Tell ltmain to make .lib files, not .a files.
9416 libext=lib
9417 # Tell ltmain to make .dll files, not .so files.
9418 shrext_cmds=".dll"
9419 # FIXME: Setting linknames here is a bad hack.
9420 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9421 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9422 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9423 else
9424 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9426 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9427 linknames='
9428 # The linker will not automatically build a static lib if we build a DLL.
9429 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9430 enable_shared_with_static_runtimes=yes
9431 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9432 # Don't use ranlib
9433 old_postinstall_cmds='chmod 644 $oldlib'
9434 postlink_cmds='lt_outputfile="@OUTPUT@"~
9435 lt_tool_outputfile="@TOOL_OUTPUT@"~
9436 case $lt_outputfile in
9437 *.exe|*.EXE) ;;
9439 lt_outputfile="$lt_outputfile.exe"
9440 lt_tool_outputfile="$lt_tool_outputfile.exe"
9442 esac~
9443 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9444 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9445 $RM "$lt_outputfile.manifest";
9449 # Assume MSVC wrapper
9450 hardcode_libdir_flag_spec=' '
9451 allow_undefined_flag=unsupported
9452 # Tell ltmain to make .lib files, not .a files.
9453 libext=lib
9454 # Tell ltmain to make .dll files, not .so files.
9455 shrext_cmds=".dll"
9456 # FIXME: Setting linknames here is a bad hack.
9457 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9458 # The linker will automatically build a .lib file if we build a DLL.
9459 old_archive_from_new_cmds='true'
9460 # FIXME: Should let the user specify the lib program.
9461 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9462 enable_shared_with_static_runtimes=yes
9464 esac
9467 darwin* | rhapsody*)
9470 archive_cmds_need_lc=no
9471 hardcode_direct=no
9472 hardcode_automatic=yes
9473 hardcode_shlibpath_var=unsupported
9474 if test "$lt_cv_ld_force_load" = "yes"; then
9475 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9476 else
9477 whole_archive_flag_spec=''
9479 link_all_deplibs=yes
9480 allow_undefined_flag="$_lt_dar_allow_undefined"
9481 case $cc_basename in
9482 ifort*) _lt_dar_can_shared=yes ;;
9483 *) _lt_dar_can_shared=$GCC ;;
9484 esac
9485 if test "$_lt_dar_can_shared" = "yes"; then
9486 output_verbose_link_cmd=func_echo_all
9487 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9488 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9489 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9490 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9492 else
9493 ld_shlibs=no
9498 dgux*)
9499 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9500 hardcode_libdir_flag_spec='-L$libdir'
9501 hardcode_shlibpath_var=no
9504 freebsd1*)
9505 ld_shlibs=no
9508 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9509 # support. Future versions do this automatically, but an explicit c++rt0.o
9510 # does not break anything, and helps significantly (at the cost of a little
9511 # extra space).
9512 freebsd2.2*)
9513 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9514 hardcode_libdir_flag_spec='-R$libdir'
9515 hardcode_direct=yes
9516 hardcode_shlibpath_var=no
9519 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9520 freebsd2*)
9521 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9522 hardcode_direct=yes
9523 hardcode_minus_L=yes
9524 hardcode_shlibpath_var=no
9527 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9528 freebsd* | dragonfly*)
9529 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9530 hardcode_libdir_flag_spec='-R$libdir'
9531 hardcode_direct=yes
9532 hardcode_shlibpath_var=no
9535 hpux9*)
9536 if test "$GCC" = yes; then
9537 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9538 else
9539 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9541 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9542 hardcode_libdir_separator=:
9543 hardcode_direct=yes
9545 # hardcode_minus_L: Not really in the search PATH,
9546 # but as the default location of the library.
9547 hardcode_minus_L=yes
9548 export_dynamic_flag_spec='${wl}-E'
9551 hpux10*)
9552 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9553 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9554 else
9555 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9557 if test "$with_gnu_ld" = no; then
9558 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9559 hardcode_libdir_flag_spec_ld='+b $libdir'
9560 hardcode_libdir_separator=:
9561 hardcode_direct=yes
9562 hardcode_direct_absolute=yes
9563 export_dynamic_flag_spec='${wl}-E'
9564 # hardcode_minus_L: Not really in the search PATH,
9565 # but as the default location of the library.
9566 hardcode_minus_L=yes
9570 hpux11*)
9571 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9572 case $host_cpu in
9573 hppa*64*)
9574 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9576 ia64*)
9577 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9580 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9582 esac
9583 else
9584 case $host_cpu in
9585 hppa*64*)
9586 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9588 ia64*)
9589 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9593 # Older versions of the 11.00 compiler do not understand -b yet
9594 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9596 $as_echo_n "checking if $CC understands -b... " >&6; }
9597 if ${lt_cv_prog_compiler__b+:} false; then :
9598 $as_echo_n "(cached) " >&6
9599 else
9600 lt_cv_prog_compiler__b=no
9601 save_LDFLAGS="$LDFLAGS"
9602 LDFLAGS="$LDFLAGS -b"
9603 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9604 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9605 # The linker can only warn and ignore the option if not recognized
9606 # So say no if there are warnings
9607 if test -s conftest.err; then
9608 # Append any errors to the config.log.
9609 cat conftest.err 1>&5
9610 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9611 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9612 if diff conftest.exp conftest.er2 >/dev/null; then
9613 lt_cv_prog_compiler__b=yes
9615 else
9616 lt_cv_prog_compiler__b=yes
9619 $RM -r conftest*
9620 LDFLAGS="$save_LDFLAGS"
9623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9624 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9626 if test x"$lt_cv_prog_compiler__b" = xyes; then
9627 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9628 else
9629 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9633 esac
9635 if test "$with_gnu_ld" = no; then
9636 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9637 hardcode_libdir_separator=:
9639 case $host_cpu in
9640 hppa*64*|ia64*)
9641 hardcode_direct=no
9642 hardcode_shlibpath_var=no
9645 hardcode_direct=yes
9646 hardcode_direct_absolute=yes
9647 export_dynamic_flag_spec='${wl}-E'
9649 # hardcode_minus_L: Not really in the search PATH,
9650 # but as the default location of the library.
9651 hardcode_minus_L=yes
9653 esac
9657 irix5* | irix6* | nonstopux*)
9658 if test "$GCC" = yes; then
9659 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9660 # Try to use the -exported_symbol ld option, if it does not
9661 # work, assume that -exports_file does not work either and
9662 # implicitly export all symbols.
9663 # This should be the same for all languages, so no per-tag cache variable.
9664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9665 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9666 if ${lt_cv_irix_exported_symbol+:} false; then :
9667 $as_echo_n "(cached) " >&6
9668 else
9669 save_LDFLAGS="$LDFLAGS"
9670 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9672 /* end confdefs.h. */
9673 int foo (void) { return 0; }
9674 _ACEOF
9675 if ac_fn_c_try_link "$LINENO"; then :
9676 lt_cv_irix_exported_symbol=yes
9677 else
9678 lt_cv_irix_exported_symbol=no
9680 rm -f core conftest.err conftest.$ac_objext \
9681 conftest$ac_exeext conftest.$ac_ext
9682 LDFLAGS="$save_LDFLAGS"
9684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9685 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9686 if test "$lt_cv_irix_exported_symbol" = yes; then
9687 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9689 else
9690 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9691 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9693 archive_cmds_need_lc='no'
9694 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9695 hardcode_libdir_separator=:
9696 inherit_rpath=yes
9697 link_all_deplibs=yes
9700 netbsd*)
9701 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9702 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9703 else
9704 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9706 hardcode_libdir_flag_spec='-R$libdir'
9707 hardcode_direct=yes
9708 hardcode_shlibpath_var=no
9711 newsos6)
9712 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9713 hardcode_direct=yes
9714 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9715 hardcode_libdir_separator=:
9716 hardcode_shlibpath_var=no
9719 *nto* | *qnx*)
9722 openbsd*)
9723 if test -f /usr/libexec/ld.so; then
9724 hardcode_direct=yes
9725 hardcode_shlibpath_var=no
9726 hardcode_direct_absolute=yes
9727 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9728 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9729 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9730 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9731 export_dynamic_flag_spec='${wl}-E'
9732 else
9733 case $host_os in
9734 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9735 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9736 hardcode_libdir_flag_spec='-R$libdir'
9739 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9740 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9742 esac
9744 else
9745 ld_shlibs=no
9749 os2*)
9750 hardcode_libdir_flag_spec='-L$libdir'
9751 hardcode_minus_L=yes
9752 allow_undefined_flag=unsupported
9753 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9754 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9757 osf3*)
9758 if test "$GCC" = yes; then
9759 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9760 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9761 else
9762 allow_undefined_flag=' -expect_unresolved \*'
9763 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9765 archive_cmds_need_lc='no'
9766 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9767 hardcode_libdir_separator=:
9770 osf4* | osf5*) # as osf3* with the addition of -msym flag
9771 if test "$GCC" = yes; then
9772 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9773 archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9774 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9775 else
9776 allow_undefined_flag=' -expect_unresolved \*'
9777 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9778 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
9779 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9781 # Both c and cxx compiler support -rpath directly
9782 hardcode_libdir_flag_spec='-rpath $libdir'
9784 archive_cmds_need_lc='no'
9785 hardcode_libdir_separator=:
9788 solaris*)
9789 no_undefined_flag=' -z defs'
9790 if test "$GCC" = yes; then
9791 wlarc='${wl}'
9792 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9793 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9794 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9795 else
9796 case `$CC -V 2>&1` in
9797 *"Compilers 5.0"*)
9798 wlarc=''
9799 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9800 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9801 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9804 wlarc='${wl}'
9805 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9806 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9807 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9809 esac
9811 hardcode_libdir_flag_spec='-R$libdir'
9812 hardcode_shlibpath_var=no
9813 case $host_os in
9814 solaris2.[0-5] | solaris2.[0-5].*) ;;
9816 # The compiler driver will combine and reorder linker options,
9817 # but understands `-z linker_flag'. GCC discards it without `$wl',
9818 # but is careful enough not to reorder.
9819 # Supported since Solaris 2.6 (maybe 2.5.1?)
9820 if test "$GCC" = yes; then
9821 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9822 else
9823 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9826 esac
9827 link_all_deplibs=yes
9830 sunos4*)
9831 if test "x$host_vendor" = xsequent; then
9832 # Use $CC to link under sequent, because it throws in some extra .o
9833 # files that make .init and .fini sections work.
9834 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9835 else
9836 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9838 hardcode_libdir_flag_spec='-L$libdir'
9839 hardcode_direct=yes
9840 hardcode_minus_L=yes
9841 hardcode_shlibpath_var=no
9844 sysv4)
9845 case $host_vendor in
9846 sni)
9847 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9848 hardcode_direct=yes # is this really true???
9850 siemens)
9851 ## LD is ld it makes a PLAMLIB
9852 ## CC just makes a GrossModule.
9853 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9854 reload_cmds='$CC -r -o $output$reload_objs'
9855 hardcode_direct=no
9857 motorola)
9858 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9859 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9861 esac
9862 runpath_var='LD_RUN_PATH'
9863 hardcode_shlibpath_var=no
9866 sysv4.3*)
9867 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9868 hardcode_shlibpath_var=no
9869 export_dynamic_flag_spec='-Bexport'
9872 sysv4*MP*)
9873 if test -d /usr/nec; then
9874 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9875 hardcode_shlibpath_var=no
9876 runpath_var=LD_RUN_PATH
9877 hardcode_runpath_var=yes
9878 ld_shlibs=yes
9882 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9883 no_undefined_flag='${wl}-z,text'
9884 archive_cmds_need_lc=no
9885 hardcode_shlibpath_var=no
9886 runpath_var='LD_RUN_PATH'
9888 if test "$GCC" = yes; then
9889 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9890 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9891 else
9892 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9893 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9897 sysv5* | sco3.2v5* | sco5v6*)
9898 # Note: We can NOT use -z defs as we might desire, because we do not
9899 # link with -lc, and that would cause any symbols used from libc to
9900 # always be unresolved, which means just about no library would
9901 # ever link correctly. If we're not using GNU ld we use -z text
9902 # though, which does catch some bad symbols but isn't as heavy-handed
9903 # as -z defs.
9904 no_undefined_flag='${wl}-z,text'
9905 allow_undefined_flag='${wl}-z,nodefs'
9906 archive_cmds_need_lc=no
9907 hardcode_shlibpath_var=no
9908 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9909 hardcode_libdir_separator=':'
9910 link_all_deplibs=yes
9911 export_dynamic_flag_spec='${wl}-Bexport'
9912 runpath_var='LD_RUN_PATH'
9914 if test "$GCC" = yes; then
9915 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9916 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9917 else
9918 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9919 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9923 uts4*)
9924 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9925 hardcode_libdir_flag_spec='-L$libdir'
9926 hardcode_shlibpath_var=no
9930 ld_shlibs=no
9932 esac
9934 if test x$host_vendor = xsni; then
9935 case $host in
9936 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9937 export_dynamic_flag_spec='${wl}-Blargedynsym'
9939 esac
9943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9944 $as_echo "$ld_shlibs" >&6; }
9945 test "$ld_shlibs" = no && can_build_shared=no
9947 with_gnu_ld=$with_gnu_ld
9964 # Do we need to explicitly link libc?
9966 case "x$archive_cmds_need_lc" in
9967 x|xyes)
9968 # Assume -lc should be added
9969 archive_cmds_need_lc=yes
9971 if test "$enable_shared" = yes && test "$GCC" = yes; then
9972 case $archive_cmds in
9973 *'~'*)
9974 # FIXME: we may have to deal with multi-command sequences.
9976 '$CC '*)
9977 # Test whether the compiler implicitly links with -lc since on some
9978 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9979 # to ld, don't add -lc before -lgcc.
9980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9981 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9982 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9983 $as_echo_n "(cached) " >&6
9984 else
9985 $RM conftest*
9986 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9988 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9989 (eval $ac_compile) 2>&5
9990 ac_status=$?
9991 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9992 test $ac_status = 0; } 2>conftest.err; then
9993 soname=conftest
9994 lib=conftest
9995 libobjs=conftest.$ac_objext
9996 deplibs=
9997 wl=$lt_prog_compiler_wl
9998 pic_flag=$lt_prog_compiler_pic
9999 compiler_flags=-v
10000 linker_flags=-v
10001 verstring=
10002 output_objdir=.
10003 libname=conftest
10004 lt_save_allow_undefined_flag=$allow_undefined_flag
10005 allow_undefined_flag=
10006 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10007 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10008 ac_status=$?
10009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10010 test $ac_status = 0; }
10011 then
10012 lt_cv_archive_cmds_need_lc=no
10013 else
10014 lt_cv_archive_cmds_need_lc=yes
10016 allow_undefined_flag=$lt_save_allow_undefined_flag
10017 else
10018 cat conftest.err 1>&5
10020 $RM conftest*
10023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10024 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10025 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10027 esac
10030 esac
10188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10189 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10191 if test "$GCC" = yes; then
10192 case $host_os in
10193 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10194 *) lt_awk_arg="/^libraries:/" ;;
10195 esac
10196 case $host_os in
10197 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10198 *) lt_sed_strip_eq="s,=/,/,g" ;;
10199 esac
10200 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10201 case $lt_search_path_spec in
10202 *\;*)
10203 # if the path contains ";" then we assume it to be the separator
10204 # otherwise default to the standard path separator (i.e. ":") - it is
10205 # assumed that no part of a normal pathname contains ";" but that should
10206 # okay in the real world where ";" in dirpaths is itself problematic.
10207 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10210 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10212 esac
10213 # Ok, now we have the path, separated by spaces, we can step through it
10214 # and add multilib dir if necessary.
10215 lt_tmp_lt_search_path_spec=
10216 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10217 for lt_sys_path in $lt_search_path_spec; do
10218 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10219 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10220 else
10221 test -d "$lt_sys_path" && \
10222 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10224 done
10225 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10226 BEGIN {RS=" "; FS="/|\n";} {
10227 lt_foo="";
10228 lt_count=0;
10229 for (lt_i = NF; lt_i > 0; lt_i--) {
10230 if ($lt_i != "" && $lt_i != ".") {
10231 if ($lt_i == "..") {
10232 lt_count++;
10233 } else {
10234 if (lt_count == 0) {
10235 lt_foo="/" $lt_i lt_foo;
10236 } else {
10237 lt_count--;
10242 if (lt_foo != "") { lt_freq[lt_foo]++; }
10243 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10245 # AWK program above erroneously prepends '/' to C:/dos/paths
10246 # for these hosts.
10247 case $host_os in
10248 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10249 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10250 esac
10251 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10252 else
10253 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10255 library_names_spec=
10256 libname_spec='lib$name'
10257 soname_spec=
10258 shrext_cmds=".so"
10259 postinstall_cmds=
10260 postuninstall_cmds=
10261 finish_cmds=
10262 finish_eval=
10263 shlibpath_var=
10264 shlibpath_overrides_runpath=unknown
10265 version_type=none
10266 dynamic_linker="$host_os ld.so"
10267 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10268 need_lib_prefix=unknown
10269 hardcode_into_libs=no
10271 # when you set need_version to no, make sure it does not cause -set_version
10272 # flags to be left without arguments
10273 need_version=unknown
10275 case $host_os in
10276 aix3*)
10277 version_type=linux
10278 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10279 shlibpath_var=LIBPATH
10281 # AIX 3 has no versioning support, so we append a major version to the name.
10282 soname_spec='${libname}${release}${shared_ext}$major'
10285 aix[4-9]*)
10286 version_type=linux
10287 need_lib_prefix=no
10288 need_version=no
10289 hardcode_into_libs=yes
10290 if test "$host_cpu" = ia64; then
10291 # AIX 5 supports IA64
10292 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10293 shlibpath_var=LD_LIBRARY_PATH
10294 else
10295 # With GCC up to 2.95.x, collect2 would create an import file
10296 # for dependence libraries. The import file would start with
10297 # the line `#! .'. This would cause the generated library to
10298 # depend on `.', always an invalid library. This was fixed in
10299 # development snapshots of GCC prior to 3.0.
10300 case $host_os in
10301 aix4 | aix4.[01] | aix4.[01].*)
10302 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10303 echo ' yes '
10304 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10306 else
10307 can_build_shared=no
10310 esac
10311 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10312 # soname into executable. Probably we can add versioning support to
10313 # collect2, so additional links can be useful in future.
10314 if test "$aix_use_runtimelinking" = yes; then
10315 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10316 # instead of lib<name>.a to let people know that these are not
10317 # typical AIX shared libraries.
10318 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10319 else
10320 # We preserve .a as extension for shared libraries through AIX4.2
10321 # and later when we are not doing run time linking.
10322 library_names_spec='${libname}${release}.a $libname.a'
10323 soname_spec='${libname}${release}${shared_ext}$major'
10325 shlibpath_var=LIBPATH
10329 amigaos*)
10330 case $host_cpu in
10331 powerpc)
10332 # Since July 2007 AmigaOS4 officially supports .so libraries.
10333 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10334 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10336 m68k)
10337 library_names_spec='$libname.ixlibrary $libname.a'
10338 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10339 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10341 esac
10344 beos*)
10345 library_names_spec='${libname}${shared_ext}'
10346 dynamic_linker="$host_os ld.so"
10347 shlibpath_var=LIBRARY_PATH
10350 bsdi[45]*)
10351 version_type=linux
10352 need_version=no
10353 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10354 soname_spec='${libname}${release}${shared_ext}$major'
10355 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10356 shlibpath_var=LD_LIBRARY_PATH
10357 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10358 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10359 # the default ld.so.conf also contains /usr/contrib/lib and
10360 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10361 # libtool to hard-code these into programs
10364 cygwin* | mingw* | pw32* | cegcc*)
10365 version_type=windows
10366 shrext_cmds=".dll"
10367 need_version=no
10368 need_lib_prefix=no
10370 case $GCC,$cc_basename in
10371 yes,*)
10372 # gcc
10373 library_names_spec='$libname.dll.a'
10374 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10375 postinstall_cmds='base_file=`basename \${file}`~
10376 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10377 dldir=$destdir/`dirname \$dlpath`~
10378 test -d \$dldir || mkdir -p \$dldir~
10379 $install_prog $dir/$dlname \$dldir/$dlname~
10380 chmod a+x \$dldir/$dlname~
10381 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10382 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10384 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10385 dlpath=$dir/\$dldll~
10386 $RM \$dlpath'
10387 shlibpath_overrides_runpath=yes
10389 case $host_os in
10390 cygwin*)
10391 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10392 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10394 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10396 mingw* | cegcc*)
10397 # MinGW DLLs use traditional 'lib' prefix
10398 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10400 pw32*)
10401 # pw32 DLLs use 'pw' prefix rather than 'lib'
10402 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10404 esac
10405 dynamic_linker='Win32 ld.exe'
10408 *,cl*)
10409 # Native MSVC
10410 libname_spec='$name'
10411 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10412 library_names_spec='${libname}.dll.lib'
10414 case $build_os in
10415 mingw*)
10416 sys_lib_search_path_spec=
10417 lt_save_ifs=$IFS
10418 IFS=';'
10419 for lt_path in $LIB
10421 IFS=$lt_save_ifs
10422 # Let DOS variable expansion print the short 8.3 style file name.
10423 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10424 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10425 done
10426 IFS=$lt_save_ifs
10427 # Convert to MSYS style.
10428 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10430 cygwin*)
10431 # Convert to unix form, then to dos form, then back to unix form
10432 # but this time dos style (no spaces!) so that the unix form looks
10433 # like /cygdrive/c/PROGRA~1:/cygdr...
10434 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10435 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10436 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10439 sys_lib_search_path_spec="$LIB"
10440 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10441 # It is most probably a Windows format PATH.
10442 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10443 else
10444 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10446 # FIXME: find the short name or the path components, as spaces are
10447 # common. (e.g. "Program Files" -> "PROGRA~1")
10449 esac
10451 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10452 postinstall_cmds='base_file=`basename \${file}`~
10453 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10454 dldir=$destdir/`dirname \$dlpath`~
10455 test -d \$dldir || mkdir -p \$dldir~
10456 $install_prog $dir/$dlname \$dldir/$dlname'
10457 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10458 dlpath=$dir/\$dldll~
10459 $RM \$dlpath'
10460 shlibpath_overrides_runpath=yes
10461 dynamic_linker='Win32 link.exe'
10465 # Assume MSVC wrapper
10466 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10467 dynamic_linker='Win32 ld.exe'
10469 esac
10470 # FIXME: first we should search . and the directory the executable is in
10471 shlibpath_var=PATH
10474 darwin* | rhapsody*)
10475 dynamic_linker="$host_os dyld"
10476 version_type=darwin
10477 need_lib_prefix=no
10478 need_version=no
10479 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10480 soname_spec='${libname}${release}${major}$shared_ext'
10481 shlibpath_overrides_runpath=yes
10482 shlibpath_var=DYLD_LIBRARY_PATH
10483 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10485 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10486 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10489 dgux*)
10490 version_type=linux
10491 need_lib_prefix=no
10492 need_version=no
10493 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10494 soname_spec='${libname}${release}${shared_ext}$major'
10495 shlibpath_var=LD_LIBRARY_PATH
10498 freebsd1*)
10499 dynamic_linker=no
10502 freebsd* | dragonfly*)
10503 # DragonFly does not have aout. When/if they implement a new
10504 # versioning mechanism, adjust this.
10505 if test -x /usr/bin/objformat; then
10506 objformat=`/usr/bin/objformat`
10507 else
10508 case $host_os in
10509 freebsd[123]*) objformat=aout ;;
10510 *) objformat=elf ;;
10511 esac
10513 version_type=freebsd-$objformat
10514 case $version_type in
10515 freebsd-elf*)
10516 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10517 need_version=no
10518 need_lib_prefix=no
10520 freebsd-*)
10521 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10522 need_version=yes
10524 esac
10525 shlibpath_var=LD_LIBRARY_PATH
10526 case $host_os in
10527 freebsd2*)
10528 shlibpath_overrides_runpath=yes
10530 freebsd3.[01]* | freebsdelf3.[01]*)
10531 shlibpath_overrides_runpath=yes
10532 hardcode_into_libs=yes
10534 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10535 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10536 shlibpath_overrides_runpath=no
10537 hardcode_into_libs=yes
10539 *) # from 4.6 on, and DragonFly
10540 shlibpath_overrides_runpath=yes
10541 hardcode_into_libs=yes
10543 esac
10546 gnu*)
10547 version_type=linux
10548 need_lib_prefix=no
10549 need_version=no
10550 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10551 soname_spec='${libname}${release}${shared_ext}$major'
10552 shlibpath_var=LD_LIBRARY_PATH
10553 hardcode_into_libs=yes
10556 haiku*)
10557 version_type=linux
10558 need_lib_prefix=no
10559 need_version=no
10560 dynamic_linker="$host_os runtime_loader"
10561 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10562 soname_spec='${libname}${release}${shared_ext}$major'
10563 shlibpath_var=LIBRARY_PATH
10564 shlibpath_overrides_runpath=yes
10565 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10566 hardcode_into_libs=yes
10569 hpux9* | hpux10* | hpux11*)
10570 # Give a soname corresponding to the major version so that dld.sl refuses to
10571 # link against other versions.
10572 version_type=sunos
10573 need_lib_prefix=no
10574 need_version=no
10575 case $host_cpu in
10576 ia64*)
10577 shrext_cmds='.so'
10578 hardcode_into_libs=yes
10579 dynamic_linker="$host_os dld.so"
10580 shlibpath_var=LD_LIBRARY_PATH
10581 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10582 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10583 soname_spec='${libname}${release}${shared_ext}$major'
10584 if test "X$HPUX_IA64_MODE" = X32; then
10585 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10586 else
10587 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10589 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10591 hppa*64*)
10592 shrext_cmds='.sl'
10593 hardcode_into_libs=yes
10594 dynamic_linker="$host_os dld.sl"
10595 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10596 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10597 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10598 soname_spec='${libname}${release}${shared_ext}$major'
10599 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10600 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10603 shrext_cmds='.sl'
10604 dynamic_linker="$host_os dld.sl"
10605 shlibpath_var=SHLIB_PATH
10606 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10607 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10608 soname_spec='${libname}${release}${shared_ext}$major'
10610 esac
10611 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10612 postinstall_cmds='chmod 555 $lib'
10613 # or fails outright, so override atomically:
10614 install_override_mode=555
10617 interix[3-9]*)
10618 version_type=linux
10619 need_lib_prefix=no
10620 need_version=no
10621 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10622 soname_spec='${libname}${release}${shared_ext}$major'
10623 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10624 shlibpath_var=LD_LIBRARY_PATH
10625 shlibpath_overrides_runpath=no
10626 hardcode_into_libs=yes
10629 irix5* | irix6* | nonstopux*)
10630 case $host_os in
10631 nonstopux*) version_type=nonstopux ;;
10633 if test "$lt_cv_prog_gnu_ld" = yes; then
10634 version_type=linux
10635 else
10636 version_type=irix
10637 fi ;;
10638 esac
10639 need_lib_prefix=no
10640 need_version=no
10641 soname_spec='${libname}${release}${shared_ext}$major'
10642 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10643 case $host_os in
10644 irix5* | nonstopux*)
10645 libsuff= shlibsuff=
10648 case $LD in # libtool.m4 will add one of these switches to LD
10649 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10650 libsuff= shlibsuff= libmagic=32-bit;;
10651 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10652 libsuff=32 shlibsuff=N32 libmagic=N32;;
10653 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10654 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10655 *) libsuff= shlibsuff= libmagic=never-match;;
10656 esac
10658 esac
10659 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10660 shlibpath_overrides_runpath=no
10661 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10662 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10663 hardcode_into_libs=yes
10666 # No shared lib support for Linux oldld, aout, or coff.
10667 linux*oldld* | linux*aout* | linux*coff*)
10668 dynamic_linker=no
10671 # This must be Linux ELF.
10672 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10673 version_type=linux
10674 need_lib_prefix=no
10675 need_version=no
10676 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10677 soname_spec='${libname}${release}${shared_ext}$major'
10678 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10679 shlibpath_var=LD_LIBRARY_PATH
10680 shlibpath_overrides_runpath=no
10682 # Some binutils ld are patched to set DT_RUNPATH
10683 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10684 $as_echo_n "(cached) " >&6
10685 else
10686 lt_cv_shlibpath_overrides_runpath=no
10687 save_LDFLAGS=$LDFLAGS
10688 save_libdir=$libdir
10689 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10690 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10692 /* end confdefs.h. */
10695 main ()
10699 return 0;
10701 _ACEOF
10702 if ac_fn_c_try_link "$LINENO"; then :
10703 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10704 lt_cv_shlibpath_overrides_runpath=yes
10707 rm -f core conftest.err conftest.$ac_objext \
10708 conftest$ac_exeext conftest.$ac_ext
10709 LDFLAGS=$save_LDFLAGS
10710 libdir=$save_libdir
10714 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10716 # This implies no fast_install, which is unacceptable.
10717 # Some rework will be needed to allow for fast_install
10718 # before this can be enabled.
10719 hardcode_into_libs=yes
10721 # Append ld.so.conf contents to the search path
10722 if test -f /etc/ld.so.conf; then
10723 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
10724 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10727 # We used to test for /lib/ld.so.1 and disable shared libraries on
10728 # powerpc, because MkLinux only supported shared libraries with the
10729 # GNU dynamic linker. Since this was broken with cross compilers,
10730 # most powerpc-linux boxes support dynamic linking these days and
10731 # people can always --disable-shared, the test was removed, and we
10732 # assume the GNU/Linux dynamic linker is in use.
10733 dynamic_linker='GNU/Linux ld.so'
10736 netbsd*)
10737 version_type=sunos
10738 need_lib_prefix=no
10739 need_version=no
10740 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10741 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10742 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10743 dynamic_linker='NetBSD (a.out) ld.so'
10744 else
10745 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10746 soname_spec='${libname}${release}${shared_ext}$major'
10747 dynamic_linker='NetBSD ld.elf_so'
10749 shlibpath_var=LD_LIBRARY_PATH
10750 shlibpath_overrides_runpath=yes
10751 hardcode_into_libs=yes
10754 newsos6)
10755 version_type=linux
10756 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10757 shlibpath_var=LD_LIBRARY_PATH
10758 shlibpath_overrides_runpath=yes
10761 *nto* | *qnx*)
10762 version_type=qnx
10763 need_lib_prefix=no
10764 need_version=no
10765 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10766 soname_spec='${libname}${release}${shared_ext}$major'
10767 shlibpath_var=LD_LIBRARY_PATH
10768 shlibpath_overrides_runpath=no
10769 hardcode_into_libs=yes
10770 dynamic_linker='ldqnx.so'
10773 openbsd*)
10774 version_type=sunos
10775 sys_lib_dlsearch_path_spec="/usr/lib"
10776 need_lib_prefix=no
10777 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10778 case $host_os in
10779 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10780 *) need_version=no ;;
10781 esac
10782 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10783 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10784 shlibpath_var=LD_LIBRARY_PATH
10785 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10786 case $host_os in
10787 openbsd2.[89] | openbsd2.[89].*)
10788 shlibpath_overrides_runpath=no
10791 shlibpath_overrides_runpath=yes
10793 esac
10794 else
10795 shlibpath_overrides_runpath=yes
10799 os2*)
10800 libname_spec='$name'
10801 shrext_cmds=".dll"
10802 need_lib_prefix=no
10803 library_names_spec='$libname${shared_ext} $libname.a'
10804 dynamic_linker='OS/2 ld.exe'
10805 shlibpath_var=LIBPATH
10808 osf3* | osf4* | osf5*)
10809 version_type=osf
10810 need_lib_prefix=no
10811 need_version=no
10812 soname_spec='${libname}${release}${shared_ext}$major'
10813 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10814 shlibpath_var=LD_LIBRARY_PATH
10815 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10816 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10819 rdos*)
10820 dynamic_linker=no
10823 solaris*)
10824 version_type=linux
10825 need_lib_prefix=no
10826 need_version=no
10827 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10828 soname_spec='${libname}${release}${shared_ext}$major'
10829 shlibpath_var=LD_LIBRARY_PATH
10830 shlibpath_overrides_runpath=yes
10831 hardcode_into_libs=yes
10832 # ldd complains unless libraries are executable
10833 postinstall_cmds='chmod +x $lib'
10836 sunos4*)
10837 version_type=sunos
10838 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10839 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10840 shlibpath_var=LD_LIBRARY_PATH
10841 shlibpath_overrides_runpath=yes
10842 if test "$with_gnu_ld" = yes; then
10843 need_lib_prefix=no
10845 need_version=yes
10848 sysv4 | sysv4.3*)
10849 version_type=linux
10850 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10851 soname_spec='${libname}${release}${shared_ext}$major'
10852 shlibpath_var=LD_LIBRARY_PATH
10853 case $host_vendor in
10854 sni)
10855 shlibpath_overrides_runpath=no
10856 need_lib_prefix=no
10857 runpath_var=LD_RUN_PATH
10859 siemens)
10860 need_lib_prefix=no
10862 motorola)
10863 need_lib_prefix=no
10864 need_version=no
10865 shlibpath_overrides_runpath=no
10866 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10868 esac
10871 sysv4*MP*)
10872 if test -d /usr/nec ;then
10873 version_type=linux
10874 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10875 soname_spec='$libname${shared_ext}.$major'
10876 shlibpath_var=LD_LIBRARY_PATH
10880 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10881 version_type=freebsd-elf
10882 need_lib_prefix=no
10883 need_version=no
10884 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10885 soname_spec='${libname}${release}${shared_ext}$major'
10886 shlibpath_var=LD_LIBRARY_PATH
10887 shlibpath_overrides_runpath=yes
10888 hardcode_into_libs=yes
10889 if test "$with_gnu_ld" = yes; then
10890 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10891 else
10892 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10893 case $host_os in
10894 sco3.2v5*)
10895 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10897 esac
10899 sys_lib_dlsearch_path_spec='/usr/lib'
10902 tpf*)
10903 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10904 version_type=linux
10905 need_lib_prefix=no
10906 need_version=no
10907 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10908 shlibpath_var=LD_LIBRARY_PATH
10909 shlibpath_overrides_runpath=no
10910 hardcode_into_libs=yes
10913 uts4*)
10914 version_type=linux
10915 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10916 soname_spec='${libname}${release}${shared_ext}$major'
10917 shlibpath_var=LD_LIBRARY_PATH
10921 dynamic_linker=no
10923 esac
10924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10925 $as_echo "$dynamic_linker" >&6; }
10926 test "$dynamic_linker" = no && can_build_shared=no
10928 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10929 if test "$GCC" = yes; then
10930 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10933 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10934 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10936 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10937 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11032 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11033 hardcode_action=
11034 if test -n "$hardcode_libdir_flag_spec" ||
11035 test -n "$runpath_var" ||
11036 test "X$hardcode_automatic" = "Xyes" ; then
11038 # We can hardcode non-existent directories.
11039 if test "$hardcode_direct" != no &&
11040 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11041 # have to relink, otherwise we might link with an installed library
11042 # when we should be linking with a yet-to-be-installed one
11043 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11044 test "$hardcode_minus_L" != no; then
11045 # Linking always hardcodes the temporary library directory.
11046 hardcode_action=relink
11047 else
11048 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11049 hardcode_action=immediate
11051 else
11052 # We cannot hardcode anything, or else we can only hardcode existing
11053 # directories.
11054 hardcode_action=unsupported
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11057 $as_echo "$hardcode_action" >&6; }
11059 if test "$hardcode_action" = relink ||
11060 test "$inherit_rpath" = yes; then
11061 # Fast installation is not supported
11062 enable_fast_install=no
11063 elif test "$shlibpath_overrides_runpath" = yes ||
11064 test "$enable_shared" = no; then
11065 # Fast installation is not necessary
11066 enable_fast_install=needless
11074 if test "x$enable_dlopen" != xyes; then
11075 enable_dlopen=unknown
11076 enable_dlopen_self=unknown
11077 enable_dlopen_self_static=unknown
11078 else
11079 lt_cv_dlopen=no
11080 lt_cv_dlopen_libs=
11082 case $host_os in
11083 beos*)
11084 lt_cv_dlopen="load_add_on"
11085 lt_cv_dlopen_libs=
11086 lt_cv_dlopen_self=yes
11089 mingw* | pw32* | cegcc*)
11090 lt_cv_dlopen="LoadLibrary"
11091 lt_cv_dlopen_libs=
11094 cygwin*)
11095 lt_cv_dlopen="dlopen"
11096 lt_cv_dlopen_libs=
11099 darwin*)
11100 # if libdl is installed we need to link against it
11101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11102 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11103 if ${ac_cv_lib_dl_dlopen+:} false; then :
11104 $as_echo_n "(cached) " >&6
11105 else
11106 ac_check_lib_save_LIBS=$LIBS
11107 LIBS="-ldl $LIBS"
11108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11109 /* end confdefs.h. */
11111 /* Override any GCC internal prototype to avoid an error.
11112 Use char because int might match the return type of a GCC
11113 builtin and then its argument prototype would still apply. */
11114 #ifdef __cplusplus
11115 extern "C"
11116 #endif
11117 char dlopen ();
11119 main ()
11121 return dlopen ();
11123 return 0;
11125 _ACEOF
11126 if ac_fn_c_try_link "$LINENO"; then :
11127 ac_cv_lib_dl_dlopen=yes
11128 else
11129 ac_cv_lib_dl_dlopen=no
11131 rm -f core conftest.err conftest.$ac_objext \
11132 conftest$ac_exeext conftest.$ac_ext
11133 LIBS=$ac_check_lib_save_LIBS
11135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11136 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11137 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11138 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11139 else
11141 lt_cv_dlopen="dyld"
11142 lt_cv_dlopen_libs=
11143 lt_cv_dlopen_self=yes
11150 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11151 if test "x$ac_cv_func_shl_load" = xyes; then :
11152 lt_cv_dlopen="shl_load"
11153 else
11154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11155 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11156 if ${ac_cv_lib_dld_shl_load+:} false; then :
11157 $as_echo_n "(cached) " >&6
11158 else
11159 ac_check_lib_save_LIBS=$LIBS
11160 LIBS="-ldld $LIBS"
11161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11162 /* end confdefs.h. */
11164 /* Override any GCC internal prototype to avoid an error.
11165 Use char because int might match the return type of a GCC
11166 builtin and then its argument prototype would still apply. */
11167 #ifdef __cplusplus
11168 extern "C"
11169 #endif
11170 char shl_load ();
11172 main ()
11174 return shl_load ();
11176 return 0;
11178 _ACEOF
11179 if ac_fn_c_try_link "$LINENO"; then :
11180 ac_cv_lib_dld_shl_load=yes
11181 else
11182 ac_cv_lib_dld_shl_load=no
11184 rm -f core conftest.err conftest.$ac_objext \
11185 conftest$ac_exeext conftest.$ac_ext
11186 LIBS=$ac_check_lib_save_LIBS
11188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11189 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11190 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11191 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11192 else
11193 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11194 if test "x$ac_cv_func_dlopen" = xyes; then :
11195 lt_cv_dlopen="dlopen"
11196 else
11197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11198 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11199 if ${ac_cv_lib_dl_dlopen+:} false; then :
11200 $as_echo_n "(cached) " >&6
11201 else
11202 ac_check_lib_save_LIBS=$LIBS
11203 LIBS="-ldl $LIBS"
11204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11205 /* end confdefs.h. */
11207 /* Override any GCC internal prototype to avoid an error.
11208 Use char because int might match the return type of a GCC
11209 builtin and then its argument prototype would still apply. */
11210 #ifdef __cplusplus
11211 extern "C"
11212 #endif
11213 char dlopen ();
11215 main ()
11217 return dlopen ();
11219 return 0;
11221 _ACEOF
11222 if ac_fn_c_try_link "$LINENO"; then :
11223 ac_cv_lib_dl_dlopen=yes
11224 else
11225 ac_cv_lib_dl_dlopen=no
11227 rm -f core conftest.err conftest.$ac_objext \
11228 conftest$ac_exeext conftest.$ac_ext
11229 LIBS=$ac_check_lib_save_LIBS
11231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11232 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11233 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11234 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11235 else
11236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11237 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11238 if ${ac_cv_lib_svld_dlopen+:} false; then :
11239 $as_echo_n "(cached) " >&6
11240 else
11241 ac_check_lib_save_LIBS=$LIBS
11242 LIBS="-lsvld $LIBS"
11243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11244 /* end confdefs.h. */
11246 /* Override any GCC internal prototype to avoid an error.
11247 Use char because int might match the return type of a GCC
11248 builtin and then its argument prototype would still apply. */
11249 #ifdef __cplusplus
11250 extern "C"
11251 #endif
11252 char dlopen ();
11254 main ()
11256 return dlopen ();
11258 return 0;
11260 _ACEOF
11261 if ac_fn_c_try_link "$LINENO"; then :
11262 ac_cv_lib_svld_dlopen=yes
11263 else
11264 ac_cv_lib_svld_dlopen=no
11266 rm -f core conftest.err conftest.$ac_objext \
11267 conftest$ac_exeext conftest.$ac_ext
11268 LIBS=$ac_check_lib_save_LIBS
11270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11271 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11272 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11273 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11274 else
11275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11276 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11277 if ${ac_cv_lib_dld_dld_link+:} false; then :
11278 $as_echo_n "(cached) " >&6
11279 else
11280 ac_check_lib_save_LIBS=$LIBS
11281 LIBS="-ldld $LIBS"
11282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11283 /* end confdefs.h. */
11285 /* Override any GCC internal prototype to avoid an error.
11286 Use char because int might match the return type of a GCC
11287 builtin and then its argument prototype would still apply. */
11288 #ifdef __cplusplus
11289 extern "C"
11290 #endif
11291 char dld_link ();
11293 main ()
11295 return dld_link ();
11297 return 0;
11299 _ACEOF
11300 if ac_fn_c_try_link "$LINENO"; then :
11301 ac_cv_lib_dld_dld_link=yes
11302 else
11303 ac_cv_lib_dld_dld_link=no
11305 rm -f core conftest.err conftest.$ac_objext \
11306 conftest$ac_exeext conftest.$ac_ext
11307 LIBS=$ac_check_lib_save_LIBS
11309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11310 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11311 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11312 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11331 esac
11333 if test "x$lt_cv_dlopen" != xno; then
11334 enable_dlopen=yes
11335 else
11336 enable_dlopen=no
11339 case $lt_cv_dlopen in
11340 dlopen)
11341 save_CPPFLAGS="$CPPFLAGS"
11342 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11344 save_LDFLAGS="$LDFLAGS"
11345 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11347 save_LIBS="$LIBS"
11348 LIBS="$lt_cv_dlopen_libs $LIBS"
11350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11351 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11352 if ${lt_cv_dlopen_self+:} false; then :
11353 $as_echo_n "(cached) " >&6
11354 else
11355 if test "$cross_compiling" = yes; then :
11356 lt_cv_dlopen_self=cross
11357 else
11358 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11359 lt_status=$lt_dlunknown
11360 cat > conftest.$ac_ext <<_LT_EOF
11361 #line $LINENO "configure"
11362 #include "confdefs.h"
11364 #if HAVE_DLFCN_H
11365 #include <dlfcn.h>
11366 #endif
11368 #include <stdio.h>
11370 #ifdef RTLD_GLOBAL
11371 # define LT_DLGLOBAL RTLD_GLOBAL
11372 #else
11373 # ifdef DL_GLOBAL
11374 # define LT_DLGLOBAL DL_GLOBAL
11375 # else
11376 # define LT_DLGLOBAL 0
11377 # endif
11378 #endif
11380 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11381 find out it does not work in some platform. */
11382 #ifndef LT_DLLAZY_OR_NOW
11383 # ifdef RTLD_LAZY
11384 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11385 # else
11386 # ifdef DL_LAZY
11387 # define LT_DLLAZY_OR_NOW DL_LAZY
11388 # else
11389 # ifdef RTLD_NOW
11390 # define LT_DLLAZY_OR_NOW RTLD_NOW
11391 # else
11392 # ifdef DL_NOW
11393 # define LT_DLLAZY_OR_NOW DL_NOW
11394 # else
11395 # define LT_DLLAZY_OR_NOW 0
11396 # endif
11397 # endif
11398 # endif
11399 # endif
11400 #endif
11402 /* When -fvisbility=hidden is used, assume the code has been annotated
11403 correspondingly for the symbols needed. */
11404 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11405 int fnord () __attribute__((visibility("default")));
11406 #endif
11408 int fnord () { return 42; }
11409 int main ()
11411 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11412 int status = $lt_dlunknown;
11414 if (self)
11416 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11417 else
11419 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11420 else puts (dlerror ());
11422 /* dlclose (self); */
11424 else
11425 puts (dlerror ());
11427 return status;
11429 _LT_EOF
11430 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11431 (eval $ac_link) 2>&5
11432 ac_status=$?
11433 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11434 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11435 (./conftest; exit; ) >&5 2>/dev/null
11436 lt_status=$?
11437 case x$lt_status in
11438 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11439 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11440 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11441 esac
11442 else :
11443 # compilation failed
11444 lt_cv_dlopen_self=no
11447 rm -fr conftest*
11451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11452 $as_echo "$lt_cv_dlopen_self" >&6; }
11454 if test "x$lt_cv_dlopen_self" = xyes; then
11455 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11457 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11458 if ${lt_cv_dlopen_self_static+:} false; then :
11459 $as_echo_n "(cached) " >&6
11460 else
11461 if test "$cross_compiling" = yes; then :
11462 lt_cv_dlopen_self_static=cross
11463 else
11464 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11465 lt_status=$lt_dlunknown
11466 cat > conftest.$ac_ext <<_LT_EOF
11467 #line $LINENO "configure"
11468 #include "confdefs.h"
11470 #if HAVE_DLFCN_H
11471 #include <dlfcn.h>
11472 #endif
11474 #include <stdio.h>
11476 #ifdef RTLD_GLOBAL
11477 # define LT_DLGLOBAL RTLD_GLOBAL
11478 #else
11479 # ifdef DL_GLOBAL
11480 # define LT_DLGLOBAL DL_GLOBAL
11481 # else
11482 # define LT_DLGLOBAL 0
11483 # endif
11484 #endif
11486 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11487 find out it does not work in some platform. */
11488 #ifndef LT_DLLAZY_OR_NOW
11489 # ifdef RTLD_LAZY
11490 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11491 # else
11492 # ifdef DL_LAZY
11493 # define LT_DLLAZY_OR_NOW DL_LAZY
11494 # else
11495 # ifdef RTLD_NOW
11496 # define LT_DLLAZY_OR_NOW RTLD_NOW
11497 # else
11498 # ifdef DL_NOW
11499 # define LT_DLLAZY_OR_NOW DL_NOW
11500 # else
11501 # define LT_DLLAZY_OR_NOW 0
11502 # endif
11503 # endif
11504 # endif
11505 # endif
11506 #endif
11508 /* When -fvisbility=hidden is used, assume the code has been annotated
11509 correspondingly for the symbols needed. */
11510 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11511 int fnord () __attribute__((visibility("default")));
11512 #endif
11514 int fnord () { return 42; }
11515 int main ()
11517 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11518 int status = $lt_dlunknown;
11520 if (self)
11522 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11523 else
11525 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11526 else puts (dlerror ());
11528 /* dlclose (self); */
11530 else
11531 puts (dlerror ());
11533 return status;
11535 _LT_EOF
11536 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11537 (eval $ac_link) 2>&5
11538 ac_status=$?
11539 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11540 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11541 (./conftest; exit; ) >&5 2>/dev/null
11542 lt_status=$?
11543 case x$lt_status in
11544 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11545 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11546 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11547 esac
11548 else :
11549 # compilation failed
11550 lt_cv_dlopen_self_static=no
11553 rm -fr conftest*
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11558 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11561 CPPFLAGS="$save_CPPFLAGS"
11562 LDFLAGS="$save_LDFLAGS"
11563 LIBS="$save_LIBS"
11565 esac
11567 case $lt_cv_dlopen_self in
11568 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11569 *) enable_dlopen_self=unknown ;;
11570 esac
11572 case $lt_cv_dlopen_self_static in
11573 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11574 *) enable_dlopen_self_static=unknown ;;
11575 esac
11594 striplib=
11595 old_striplib=
11596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11597 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11598 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11599 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11600 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11602 $as_echo "yes" >&6; }
11603 else
11604 # FIXME - insert some real tests, host_os isn't really good enough
11605 case $host_os in
11606 darwin*)
11607 if test -n "$STRIP" ; then
11608 striplib="$STRIP -x"
11609 old_striplib="$STRIP -S"
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11611 $as_echo "yes" >&6; }
11612 else
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11614 $as_echo "no" >&6; }
11618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11619 $as_echo "no" >&6; }
11621 esac
11635 # Report which library types will actually be built
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11637 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11639 $as_echo "$can_build_shared" >&6; }
11641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11642 $as_echo_n "checking whether to build shared libraries... " >&6; }
11643 test "$can_build_shared" = "no" && enable_shared=no
11645 # On AIX, shared libraries and static libraries use the same namespace, and
11646 # are all built from PIC.
11647 case $host_os in
11648 aix3*)
11649 test "$enable_shared" = yes && enable_static=no
11650 if test -n "$RANLIB"; then
11651 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11652 postinstall_cmds='$RANLIB $lib'
11656 aix[4-9]*)
11657 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11658 test "$enable_shared" = yes && enable_static=no
11661 esac
11662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11663 $as_echo "$enable_shared" >&6; }
11665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11666 $as_echo_n "checking whether to build static libraries... " >&6; }
11667 # Make sure either enable_shared or enable_static is yes.
11668 test "$enable_shared" = yes || enable_static=yes
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11670 $as_echo "$enable_static" >&6; }
11676 ac_ext=c
11677 ac_cpp='$CPP $CPPFLAGS'
11678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11682 CC="$lt_save_CC"
11696 ac_config_commands="$ac_config_commands libtool"
11701 # Only expand once:
11706 # Host specific.
11707 NO_UNDEFINED=
11708 case "$host" in
11709 *-*-mingw32* | *-*-cygwin*)
11711 $as_echo "#define HOST_W32 1" >>confdefs.h
11713 host_w32=yes
11714 if test x"$enable_shared" != "xno" ; then
11715 NO_UNDEFINED="-no-undefined"
11718 esac
11719 EXTRA_LIBQUVI_LDFLAGS="$NO_UNDEFINED"
11722 # Checks for programs.
11723 for ac_prog in gawk mawk nawk awk
11725 # Extract the first word of "$ac_prog", so it can be a program name with args.
11726 set dummy $ac_prog; ac_word=$2
11727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11728 $as_echo_n "checking for $ac_word... " >&6; }
11729 if ${ac_cv_prog_AWK+:} false; then :
11730 $as_echo_n "(cached) " >&6
11731 else
11732 if test -n "$AWK"; then
11733 ac_cv_prog_AWK="$AWK" # Let the user override the test.
11734 else
11735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11736 for as_dir in $PATH
11738 IFS=$as_save_IFS
11739 test -z "$as_dir" && as_dir=.
11740 for ac_exec_ext in '' $ac_executable_extensions; do
11741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11742 ac_cv_prog_AWK="$ac_prog"
11743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11744 break 2
11746 done
11747 done
11748 IFS=$as_save_IFS
11752 AWK=$ac_cv_prog_AWK
11753 if test -n "$AWK"; then
11754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
11755 $as_echo "$AWK" >&6; }
11756 else
11757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11758 $as_echo "no" >&6; }
11762 test -n "$AWK" && break
11763 done
11765 ac_ext=c
11766 ac_cpp='$CPP $CPPFLAGS'
11767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11770 if test -n "$ac_tool_prefix"; then
11771 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11772 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11774 $as_echo_n "checking for $ac_word... " >&6; }
11775 if ${ac_cv_prog_CC+:} false; then :
11776 $as_echo_n "(cached) " >&6
11777 else
11778 if test -n "$CC"; then
11779 ac_cv_prog_CC="$CC" # Let the user override the test.
11780 else
11781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11782 for as_dir in $PATH
11784 IFS=$as_save_IFS
11785 test -z "$as_dir" && as_dir=.
11786 for ac_exec_ext in '' $ac_executable_extensions; do
11787 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11788 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11790 break 2
11792 done
11793 done
11794 IFS=$as_save_IFS
11798 CC=$ac_cv_prog_CC
11799 if test -n "$CC"; then
11800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11801 $as_echo "$CC" >&6; }
11802 else
11803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11804 $as_echo "no" >&6; }
11809 if test -z "$ac_cv_prog_CC"; then
11810 ac_ct_CC=$CC
11811 # Extract the first word of "gcc", so it can be a program name with args.
11812 set dummy gcc; ac_word=$2
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11814 $as_echo_n "checking for $ac_word... " >&6; }
11815 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11816 $as_echo_n "(cached) " >&6
11817 else
11818 if test -n "$ac_ct_CC"; then
11819 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11820 else
11821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11822 for as_dir in $PATH
11824 IFS=$as_save_IFS
11825 test -z "$as_dir" && as_dir=.
11826 for ac_exec_ext in '' $ac_executable_extensions; do
11827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11828 ac_cv_prog_ac_ct_CC="gcc"
11829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11830 break 2
11832 done
11833 done
11834 IFS=$as_save_IFS
11838 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11839 if test -n "$ac_ct_CC"; then
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11841 $as_echo "$ac_ct_CC" >&6; }
11842 else
11843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11844 $as_echo "no" >&6; }
11847 if test "x$ac_ct_CC" = x; then
11848 CC=""
11849 else
11850 case $cross_compiling:$ac_tool_warned in
11851 yes:)
11852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11853 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11854 ac_tool_warned=yes ;;
11855 esac
11856 CC=$ac_ct_CC
11858 else
11859 CC="$ac_cv_prog_CC"
11862 if test -z "$CC"; then
11863 if test -n "$ac_tool_prefix"; then
11864 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11865 set dummy ${ac_tool_prefix}cc; ac_word=$2
11866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11867 $as_echo_n "checking for $ac_word... " >&6; }
11868 if ${ac_cv_prog_CC+:} false; then :
11869 $as_echo_n "(cached) " >&6
11870 else
11871 if test -n "$CC"; then
11872 ac_cv_prog_CC="$CC" # Let the user override the test.
11873 else
11874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11875 for as_dir in $PATH
11877 IFS=$as_save_IFS
11878 test -z "$as_dir" && as_dir=.
11879 for ac_exec_ext in '' $ac_executable_extensions; do
11880 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11881 ac_cv_prog_CC="${ac_tool_prefix}cc"
11882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11883 break 2
11885 done
11886 done
11887 IFS=$as_save_IFS
11891 CC=$ac_cv_prog_CC
11892 if test -n "$CC"; then
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11894 $as_echo "$CC" >&6; }
11895 else
11896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11897 $as_echo "no" >&6; }
11903 if test -z "$CC"; then
11904 # Extract the first word of "cc", so it can be a program name with args.
11905 set dummy cc; ac_word=$2
11906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11907 $as_echo_n "checking for $ac_word... " >&6; }
11908 if ${ac_cv_prog_CC+:} false; then :
11909 $as_echo_n "(cached) " >&6
11910 else
11911 if test -n "$CC"; then
11912 ac_cv_prog_CC="$CC" # Let the user override the test.
11913 else
11914 ac_prog_rejected=no
11915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11916 for as_dir in $PATH
11918 IFS=$as_save_IFS
11919 test -z "$as_dir" && as_dir=.
11920 for ac_exec_ext in '' $ac_executable_extensions; do
11921 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11922 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11923 ac_prog_rejected=yes
11924 continue
11926 ac_cv_prog_CC="cc"
11927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11928 break 2
11930 done
11931 done
11932 IFS=$as_save_IFS
11934 if test $ac_prog_rejected = yes; then
11935 # We found a bogon in the path, so make sure we never use it.
11936 set dummy $ac_cv_prog_CC
11937 shift
11938 if test $# != 0; then
11939 # We chose a different compiler from the bogus one.
11940 # However, it has the same basename, so the bogon will be chosen
11941 # first if we set CC to just the basename; use the full file name.
11942 shift
11943 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11948 CC=$ac_cv_prog_CC
11949 if test -n "$CC"; then
11950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11951 $as_echo "$CC" >&6; }
11952 else
11953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11954 $as_echo "no" >&6; }
11959 if test -z "$CC"; then
11960 if test -n "$ac_tool_prefix"; then
11961 for ac_prog in cl.exe
11963 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11964 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11966 $as_echo_n "checking for $ac_word... " >&6; }
11967 if ${ac_cv_prog_CC+:} false; then :
11968 $as_echo_n "(cached) " >&6
11969 else
11970 if test -n "$CC"; then
11971 ac_cv_prog_CC="$CC" # Let the user override the test.
11972 else
11973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11974 for as_dir in $PATH
11976 IFS=$as_save_IFS
11977 test -z "$as_dir" && as_dir=.
11978 for ac_exec_ext in '' $ac_executable_extensions; do
11979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11980 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11982 break 2
11984 done
11985 done
11986 IFS=$as_save_IFS
11990 CC=$ac_cv_prog_CC
11991 if test -n "$CC"; then
11992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11993 $as_echo "$CC" >&6; }
11994 else
11995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11996 $as_echo "no" >&6; }
12000 test -n "$CC" && break
12001 done
12003 if test -z "$CC"; then
12004 ac_ct_CC=$CC
12005 for ac_prog in cl.exe
12007 # Extract the first word of "$ac_prog", so it can be a program name with args.
12008 set dummy $ac_prog; ac_word=$2
12009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12010 $as_echo_n "checking for $ac_word... " >&6; }
12011 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12012 $as_echo_n "(cached) " >&6
12013 else
12014 if test -n "$ac_ct_CC"; then
12015 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12016 else
12017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12018 for as_dir in $PATH
12020 IFS=$as_save_IFS
12021 test -z "$as_dir" && as_dir=.
12022 for ac_exec_ext in '' $ac_executable_extensions; do
12023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12024 ac_cv_prog_ac_ct_CC="$ac_prog"
12025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12026 break 2
12028 done
12029 done
12030 IFS=$as_save_IFS
12034 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12035 if test -n "$ac_ct_CC"; then
12036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12037 $as_echo "$ac_ct_CC" >&6; }
12038 else
12039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12040 $as_echo "no" >&6; }
12044 test -n "$ac_ct_CC" && break
12045 done
12047 if test "x$ac_ct_CC" = x; then
12048 CC=""
12049 else
12050 case $cross_compiling:$ac_tool_warned in
12051 yes:)
12052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12053 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12054 ac_tool_warned=yes ;;
12055 esac
12056 CC=$ac_ct_CC
12063 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12064 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12065 as_fn_error $? "no acceptable C compiler found in \$PATH
12066 See \`config.log' for more details" "$LINENO" 5; }
12068 # Provide some information about the compiler.
12069 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12070 set X $ac_compile
12071 ac_compiler=$2
12072 for ac_option in --version -v -V -qversion; do
12073 { { ac_try="$ac_compiler $ac_option >&5"
12074 case "(($ac_try" in
12075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12076 *) ac_try_echo=$ac_try;;
12077 esac
12078 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12079 $as_echo "$ac_try_echo"; } >&5
12080 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12081 ac_status=$?
12082 if test -s conftest.err; then
12083 sed '10a\
12084 ... rest of stderr output deleted ...
12085 10q' conftest.err >conftest.er1
12086 cat conftest.er1 >&5
12088 rm -f conftest.er1 conftest.err
12089 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12090 test $ac_status = 0; }
12091 done
12093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12094 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12095 if ${ac_cv_c_compiler_gnu+:} false; then :
12096 $as_echo_n "(cached) " >&6
12097 else
12098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12099 /* end confdefs.h. */
12102 main ()
12104 #ifndef __GNUC__
12105 choke me
12106 #endif
12109 return 0;
12111 _ACEOF
12112 if ac_fn_c_try_compile "$LINENO"; then :
12113 ac_compiler_gnu=yes
12114 else
12115 ac_compiler_gnu=no
12117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12118 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12122 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12123 if test $ac_compiler_gnu = yes; then
12124 GCC=yes
12125 else
12126 GCC=
12128 ac_test_CFLAGS=${CFLAGS+set}
12129 ac_save_CFLAGS=$CFLAGS
12130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12131 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12132 if ${ac_cv_prog_cc_g+:} false; then :
12133 $as_echo_n "(cached) " >&6
12134 else
12135 ac_save_c_werror_flag=$ac_c_werror_flag
12136 ac_c_werror_flag=yes
12137 ac_cv_prog_cc_g=no
12138 CFLAGS="-g"
12139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12140 /* end confdefs.h. */
12143 main ()
12147 return 0;
12149 _ACEOF
12150 if ac_fn_c_try_compile "$LINENO"; then :
12151 ac_cv_prog_cc_g=yes
12152 else
12153 CFLAGS=""
12154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12155 /* end confdefs.h. */
12158 main ()
12162 return 0;
12164 _ACEOF
12165 if ac_fn_c_try_compile "$LINENO"; then :
12167 else
12168 ac_c_werror_flag=$ac_save_c_werror_flag
12169 CFLAGS="-g"
12170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12171 /* end confdefs.h. */
12174 main ()
12178 return 0;
12180 _ACEOF
12181 if ac_fn_c_try_compile "$LINENO"; then :
12182 ac_cv_prog_cc_g=yes
12184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12189 ac_c_werror_flag=$ac_save_c_werror_flag
12191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12192 $as_echo "$ac_cv_prog_cc_g" >&6; }
12193 if test "$ac_test_CFLAGS" = set; then
12194 CFLAGS=$ac_save_CFLAGS
12195 elif test $ac_cv_prog_cc_g = yes; then
12196 if test "$GCC" = yes; then
12197 CFLAGS="-g -O2"
12198 else
12199 CFLAGS="-g"
12201 else
12202 if test "$GCC" = yes; then
12203 CFLAGS="-O2"
12204 else
12205 CFLAGS=
12208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12209 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12210 if ${ac_cv_prog_cc_c89+:} false; then :
12211 $as_echo_n "(cached) " >&6
12212 else
12213 ac_cv_prog_cc_c89=no
12214 ac_save_CC=$CC
12215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12216 /* end confdefs.h. */
12217 #include <stdarg.h>
12218 #include <stdio.h>
12219 #include <sys/types.h>
12220 #include <sys/stat.h>
12221 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12222 struct buf { int x; };
12223 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12224 static char *e (p, i)
12225 char **p;
12226 int i;
12228 return p[i];
12230 static char *f (char * (*g) (char **, int), char **p, ...)
12232 char *s;
12233 va_list v;
12234 va_start (v,p);
12235 s = g (p, va_arg (v,int));
12236 va_end (v);
12237 return s;
12240 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12241 function prototypes and stuff, but not '\xHH' hex character constants.
12242 These don't provoke an error unfortunately, instead are silently treated
12243 as 'x'. The following induces an error, until -std is added to get
12244 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12245 array size at least. It's necessary to write '\x00'==0 to get something
12246 that's true only with -std. */
12247 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12249 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12250 inside strings and character constants. */
12251 #define FOO(x) 'x'
12252 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12254 int test (int i, double x);
12255 struct s1 {int (*f) (int a);};
12256 struct s2 {int (*f) (double a);};
12257 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12258 int argc;
12259 char **argv;
12261 main ()
12263 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12265 return 0;
12267 _ACEOF
12268 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12269 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12271 CC="$ac_save_CC $ac_arg"
12272 if ac_fn_c_try_compile "$LINENO"; then :
12273 ac_cv_prog_cc_c89=$ac_arg
12275 rm -f core conftest.err conftest.$ac_objext
12276 test "x$ac_cv_prog_cc_c89" != "xno" && break
12277 done
12278 rm -f conftest.$ac_ext
12279 CC=$ac_save_CC
12282 # AC_CACHE_VAL
12283 case "x$ac_cv_prog_cc_c89" in
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12286 $as_echo "none needed" >&6; } ;;
12287 xno)
12288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12289 $as_echo "unsupported" >&6; } ;;
12291 CC="$CC $ac_cv_prog_cc_c89"
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12293 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12294 esac
12295 if test "x$ac_cv_prog_cc_c89" != xno; then :
12299 ac_ext=c
12300 ac_cpp='$CPP $CPPFLAGS'
12301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12305 ac_ext=cpp
12306 ac_cpp='$CXXCPP $CPPFLAGS'
12307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12310 if test -z "$CXX"; then
12311 if test -n "$CCC"; then
12312 CXX=$CCC
12313 else
12314 if test -n "$ac_tool_prefix"; then
12315 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12317 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12318 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12320 $as_echo_n "checking for $ac_word... " >&6; }
12321 if ${ac_cv_prog_CXX+:} false; then :
12322 $as_echo_n "(cached) " >&6
12323 else
12324 if test -n "$CXX"; then
12325 ac_cv_prog_CXX="$CXX" # Let the user override the test.
12326 else
12327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12328 for as_dir in $PATH
12330 IFS=$as_save_IFS
12331 test -z "$as_dir" && as_dir=.
12332 for ac_exec_ext in '' $ac_executable_extensions; do
12333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12334 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
12335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12336 break 2
12338 done
12339 done
12340 IFS=$as_save_IFS
12344 CXX=$ac_cv_prog_CXX
12345 if test -n "$CXX"; then
12346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
12347 $as_echo "$CXX" >&6; }
12348 else
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12350 $as_echo "no" >&6; }
12354 test -n "$CXX" && break
12355 done
12357 if test -z "$CXX"; then
12358 ac_ct_CXX=$CXX
12359 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12361 # Extract the first word of "$ac_prog", so it can be a program name with args.
12362 set dummy $ac_prog; ac_word=$2
12363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12364 $as_echo_n "checking for $ac_word... " >&6; }
12365 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
12366 $as_echo_n "(cached) " >&6
12367 else
12368 if test -n "$ac_ct_CXX"; then
12369 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
12370 else
12371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12372 for as_dir in $PATH
12374 IFS=$as_save_IFS
12375 test -z "$as_dir" && as_dir=.
12376 for ac_exec_ext in '' $ac_executable_extensions; do
12377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12378 ac_cv_prog_ac_ct_CXX="$ac_prog"
12379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12380 break 2
12382 done
12383 done
12384 IFS=$as_save_IFS
12388 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
12389 if test -n "$ac_ct_CXX"; then
12390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
12391 $as_echo "$ac_ct_CXX" >&6; }
12392 else
12393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12394 $as_echo "no" >&6; }
12398 test -n "$ac_ct_CXX" && break
12399 done
12401 if test "x$ac_ct_CXX" = x; then
12402 CXX="g++"
12403 else
12404 case $cross_compiling:$ac_tool_warned in
12405 yes:)
12406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12407 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12408 ac_tool_warned=yes ;;
12409 esac
12410 CXX=$ac_ct_CXX
12416 # Provide some information about the compiler.
12417 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
12418 set X $ac_compile
12419 ac_compiler=$2
12420 for ac_option in --version -v -V -qversion; do
12421 { { ac_try="$ac_compiler $ac_option >&5"
12422 case "(($ac_try" in
12423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12424 *) ac_try_echo=$ac_try;;
12425 esac
12426 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12427 $as_echo "$ac_try_echo"; } >&5
12428 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12429 ac_status=$?
12430 if test -s conftest.err; then
12431 sed '10a\
12432 ... rest of stderr output deleted ...
12433 10q' conftest.err >conftest.er1
12434 cat conftest.er1 >&5
12436 rm -f conftest.er1 conftest.err
12437 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12438 test $ac_status = 0; }
12439 done
12441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
12442 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
12443 if ${ac_cv_cxx_compiler_gnu+:} false; then :
12444 $as_echo_n "(cached) " >&6
12445 else
12446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12447 /* end confdefs.h. */
12450 main ()
12452 #ifndef __GNUC__
12453 choke me
12454 #endif
12457 return 0;
12459 _ACEOF
12460 if ac_fn_cxx_try_compile "$LINENO"; then :
12461 ac_compiler_gnu=yes
12462 else
12463 ac_compiler_gnu=no
12465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12466 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
12469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
12470 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
12471 if test $ac_compiler_gnu = yes; then
12472 GXX=yes
12473 else
12474 GXX=
12476 ac_test_CXXFLAGS=${CXXFLAGS+set}
12477 ac_save_CXXFLAGS=$CXXFLAGS
12478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
12479 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
12480 if ${ac_cv_prog_cxx_g+:} false; then :
12481 $as_echo_n "(cached) " >&6
12482 else
12483 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
12484 ac_cxx_werror_flag=yes
12485 ac_cv_prog_cxx_g=no
12486 CXXFLAGS="-g"
12487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12488 /* end confdefs.h. */
12491 main ()
12495 return 0;
12497 _ACEOF
12498 if ac_fn_cxx_try_compile "$LINENO"; then :
12499 ac_cv_prog_cxx_g=yes
12500 else
12501 CXXFLAGS=""
12502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12503 /* end confdefs.h. */
12506 main ()
12510 return 0;
12512 _ACEOF
12513 if ac_fn_cxx_try_compile "$LINENO"; then :
12515 else
12516 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
12517 CXXFLAGS="-g"
12518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12519 /* end confdefs.h. */
12522 main ()
12526 return 0;
12528 _ACEOF
12529 if ac_fn_cxx_try_compile "$LINENO"; then :
12530 ac_cv_prog_cxx_g=yes
12532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12537 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
12539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
12540 $as_echo "$ac_cv_prog_cxx_g" >&6; }
12541 if test "$ac_test_CXXFLAGS" = set; then
12542 CXXFLAGS=$ac_save_CXXFLAGS
12543 elif test $ac_cv_prog_cxx_g = yes; then
12544 if test "$GXX" = yes; then
12545 CXXFLAGS="-g -O2"
12546 else
12547 CXXFLAGS="-g"
12549 else
12550 if test "$GXX" = yes; then
12551 CXXFLAGS="-O2"
12552 else
12553 CXXFLAGS=
12556 ac_ext=c
12557 ac_cpp='$CPP $CPPFLAGS'
12558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12562 depcc="$CXX" am_compiler_list=
12564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12565 $as_echo_n "checking dependency style of $depcc... " >&6; }
12566 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
12567 $as_echo_n "(cached) " >&6
12568 else
12569 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12570 # We make a subdir and do the tests there. Otherwise we can end up
12571 # making bogus files that we don't know about and never remove. For
12572 # instance it was reported that on HP-UX the gcc test will end up
12573 # making a dummy file named `D' -- because `-MD' means `put the output
12574 # in D'.
12575 mkdir conftest.dir
12576 # Copy depcomp to subdir because otherwise we won't find it if we're
12577 # using a relative directory.
12578 cp "$am_depcomp" conftest.dir
12579 cd conftest.dir
12580 # We will build objects and dependencies in a subdirectory because
12581 # it helps to detect inapplicable dependency modes. For instance
12582 # both Tru64's cc and ICC support -MD to output dependencies as a
12583 # side effect of compilation, but ICC will put the dependencies in
12584 # the current directory while Tru64 will put them in the object
12585 # directory.
12586 mkdir sub
12588 am_cv_CXX_dependencies_compiler_type=none
12589 if test "$am_compiler_list" = ""; then
12590 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12592 am__universal=false
12593 case " $depcc " in #(
12594 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12595 esac
12597 for depmode in $am_compiler_list; do
12598 # Setup a source with many dependencies, because some compilers
12599 # like to wrap large dependency lists on column 80 (with \), and
12600 # we should not choose a depcomp mode which is confused by this.
12602 # We need to recreate these files for each test, as the compiler may
12603 # overwrite some of them when testing with obscure command lines.
12604 # This happens at least with the AIX C compiler.
12605 : > sub/conftest.c
12606 for i in 1 2 3 4 5 6; do
12607 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12608 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12609 # Solaris 8's {/usr,}/bin/sh.
12610 touch sub/conftst$i.h
12611 done
12612 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12614 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12615 # mode. It turns out that the SunPro C++ compiler does not properly
12616 # handle `-M -o', and we need to detect this. Also, some Intel
12617 # versions had trouble with output in subdirs
12618 am__obj=sub/conftest.${OBJEXT-o}
12619 am__minus_obj="-o $am__obj"
12620 case $depmode in
12621 gcc)
12622 # This depmode causes a compiler race in universal mode.
12623 test "$am__universal" = false || continue
12625 nosideeffect)
12626 # after this tag, mechanisms are not by side-effect, so they'll
12627 # only be used when explicitly requested
12628 if test "x$enable_dependency_tracking" = xyes; then
12629 continue
12630 else
12631 break
12634 msvisualcpp | msvcmsys)
12635 # This compiler won't grok `-c -o', but also, the minuso test has
12636 # not run yet. These depmodes are late enough in the game, and
12637 # so weak that their functioning should not be impacted.
12638 am__obj=conftest.${OBJEXT-o}
12639 am__minus_obj=
12641 none) break ;;
12642 esac
12643 if depmode=$depmode \
12644 source=sub/conftest.c object=$am__obj \
12645 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12646 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12647 >/dev/null 2>conftest.err &&
12648 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12649 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12650 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12651 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12652 # icc doesn't choke on unknown options, it will just issue warnings
12653 # or remarks (even with -Werror). So we grep stderr for any message
12654 # that says an option was ignored or not supported.
12655 # When given -MP, icc 7.0 and 7.1 complain thusly:
12656 # icc: Command line warning: ignoring option '-M'; no argument required
12657 # The diagnosis changed in icc 8.0:
12658 # icc: Command line remark: option '-MP' not supported
12659 if (grep 'ignoring option' conftest.err ||
12660 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12661 am_cv_CXX_dependencies_compiler_type=$depmode
12662 break
12665 done
12667 cd ..
12668 rm -rf conftest.dir
12669 else
12670 am_cv_CXX_dependencies_compiler_type=none
12674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
12675 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
12676 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
12679 test "x$enable_dependency_tracking" != xno \
12680 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
12681 am__fastdepCXX_TRUE=
12682 am__fastdepCXX_FALSE='#'
12683 else
12684 am__fastdepCXX_TRUE='#'
12685 am__fastdepCXX_FALSE=
12691 func_stripname_cnf ()
12693 case ${2} in
12694 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
12695 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
12696 esac
12697 } # func_stripname_cnf
12699 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12700 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12701 (test "X$CXX" != "Xg++"))) ; then
12702 ac_ext=cpp
12703 ac_cpp='$CXXCPP $CPPFLAGS'
12704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12708 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12709 if test -z "$CXXCPP"; then
12710 if ${ac_cv_prog_CXXCPP+:} false; then :
12711 $as_echo_n "(cached) " >&6
12712 else
12713 # Double quotes because CXXCPP needs to be expanded
12714 for CXXCPP in "$CXX -E" "/lib/cpp"
12716 ac_preproc_ok=false
12717 for ac_cxx_preproc_warn_flag in '' yes
12719 # Use a header file that comes with gcc, so configuring glibc
12720 # with a fresh cross-compiler works.
12721 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12722 # <limits.h> exists even on freestanding compilers.
12723 # On the NeXT, cc -E runs the code through the compiler's parser,
12724 # not just through cpp. "Syntax error" is here to catch this case.
12725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12726 /* end confdefs.h. */
12727 #ifdef __STDC__
12728 # include <limits.h>
12729 #else
12730 # include <assert.h>
12731 #endif
12732 Syntax error
12733 _ACEOF
12734 if ac_fn_cxx_try_cpp "$LINENO"; then :
12736 else
12737 # Broken: fails on valid input.
12738 continue
12740 rm -f conftest.err conftest.i conftest.$ac_ext
12742 # OK, works on sane cases. Now check whether nonexistent headers
12743 # can be detected and how.
12744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12745 /* end confdefs.h. */
12746 #include <ac_nonexistent.h>
12747 _ACEOF
12748 if ac_fn_cxx_try_cpp "$LINENO"; then :
12749 # Broken: success on invalid input.
12750 continue
12751 else
12752 # Passes both tests.
12753 ac_preproc_ok=:
12754 break
12756 rm -f conftest.err conftest.i conftest.$ac_ext
12758 done
12759 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12760 rm -f conftest.i conftest.err conftest.$ac_ext
12761 if $ac_preproc_ok; then :
12762 break
12765 done
12766 ac_cv_prog_CXXCPP=$CXXCPP
12769 CXXCPP=$ac_cv_prog_CXXCPP
12770 else
12771 ac_cv_prog_CXXCPP=$CXXCPP
12773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12774 $as_echo "$CXXCPP" >&6; }
12775 ac_preproc_ok=false
12776 for ac_cxx_preproc_warn_flag in '' yes
12778 # Use a header file that comes with gcc, so configuring glibc
12779 # with a fresh cross-compiler works.
12780 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12781 # <limits.h> exists even on freestanding compilers.
12782 # On the NeXT, cc -E runs the code through the compiler's parser,
12783 # not just through cpp. "Syntax error" is here to catch this case.
12784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12785 /* end confdefs.h. */
12786 #ifdef __STDC__
12787 # include <limits.h>
12788 #else
12789 # include <assert.h>
12790 #endif
12791 Syntax error
12792 _ACEOF
12793 if ac_fn_cxx_try_cpp "$LINENO"; then :
12795 else
12796 # Broken: fails on valid input.
12797 continue
12799 rm -f conftest.err conftest.i conftest.$ac_ext
12801 # OK, works on sane cases. Now check whether nonexistent headers
12802 # can be detected and how.
12803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12804 /* end confdefs.h. */
12805 #include <ac_nonexistent.h>
12806 _ACEOF
12807 if ac_fn_cxx_try_cpp "$LINENO"; then :
12808 # Broken: success on invalid input.
12809 continue
12810 else
12811 # Passes both tests.
12812 ac_preproc_ok=:
12813 break
12815 rm -f conftest.err conftest.i conftest.$ac_ext
12817 done
12818 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12819 rm -f conftest.i conftest.err conftest.$ac_ext
12820 if $ac_preproc_ok; then :
12822 else
12823 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12824 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12825 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12826 See \`config.log' for more details" "$LINENO" 5; }
12829 ac_ext=c
12830 ac_cpp='$CPP $CPPFLAGS'
12831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12835 else
12836 _lt_caught_CXX_error=yes
12839 ac_ext=cpp
12840 ac_cpp='$CXXCPP $CPPFLAGS'
12841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12845 archive_cmds_need_lc_CXX=no
12846 allow_undefined_flag_CXX=
12847 always_export_symbols_CXX=no
12848 archive_expsym_cmds_CXX=
12849 compiler_needs_object_CXX=no
12850 export_dynamic_flag_spec_CXX=
12851 hardcode_direct_CXX=no
12852 hardcode_direct_absolute_CXX=no
12853 hardcode_libdir_flag_spec_CXX=
12854 hardcode_libdir_flag_spec_ld_CXX=
12855 hardcode_libdir_separator_CXX=
12856 hardcode_minus_L_CXX=no
12857 hardcode_shlibpath_var_CXX=unsupported
12858 hardcode_automatic_CXX=no
12859 inherit_rpath_CXX=no
12860 module_cmds_CXX=
12861 module_expsym_cmds_CXX=
12862 link_all_deplibs_CXX=unknown
12863 old_archive_cmds_CXX=$old_archive_cmds
12864 reload_flag_CXX=$reload_flag
12865 reload_cmds_CXX=$reload_cmds
12866 no_undefined_flag_CXX=
12867 whole_archive_flag_spec_CXX=
12868 enable_shared_with_static_runtimes_CXX=no
12870 # Source file extension for C++ test sources.
12871 ac_ext=cpp
12873 # Object file extension for compiled C++ test sources.
12874 objext=o
12875 objext_CXX=$objext
12877 # No sense in running all these tests if we already determined that
12878 # the CXX compiler isn't working. Some variables (like enable_shared)
12879 # are currently assumed to apply to all compilers on this platform,
12880 # and will be corrupted by setting them based on a non-working compiler.
12881 if test "$_lt_caught_CXX_error" != yes; then
12882 # Code to be used in simple compile tests
12883 lt_simple_compile_test_code="int some_variable = 0;"
12885 # Code to be used in simple link tests
12886 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12888 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12895 # If no C compiler was specified, use CC.
12896 LTCC=${LTCC-"$CC"}
12898 # If no C compiler flags were specified, use CFLAGS.
12899 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12901 # Allow CC to be a program name with arguments.
12902 compiler=$CC
12905 # save warnings/boilerplate of simple test code
12906 ac_outfile=conftest.$ac_objext
12907 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12908 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12909 _lt_compiler_boilerplate=`cat conftest.err`
12910 $RM conftest*
12912 ac_outfile=conftest.$ac_objext
12913 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12914 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12915 _lt_linker_boilerplate=`cat conftest.err`
12916 $RM -r conftest*
12919 # Allow CC to be a program name with arguments.
12920 lt_save_CC=$CC
12921 lt_save_CFLAGS=$CFLAGS
12922 lt_save_LD=$LD
12923 lt_save_GCC=$GCC
12924 GCC=$GXX
12925 lt_save_with_gnu_ld=$with_gnu_ld
12926 lt_save_path_LD=$lt_cv_path_LD
12927 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12928 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12929 else
12930 $as_unset lt_cv_prog_gnu_ld
12932 if test -n "${lt_cv_path_LDCXX+set}"; then
12933 lt_cv_path_LD=$lt_cv_path_LDCXX
12934 else
12935 $as_unset lt_cv_path_LD
12937 test -z "${LDCXX+set}" || LD=$LDCXX
12938 CC=${CXX-"c++"}
12939 CFLAGS=$CXXFLAGS
12940 compiler=$CC
12941 compiler_CXX=$CC
12942 for cc_temp in $compiler""; do
12943 case $cc_temp in
12944 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12945 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12946 \-*) ;;
12947 *) break;;
12948 esac
12949 done
12950 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12953 if test -n "$compiler"; then
12954 # We don't want -fno-exception when compiling C++ code, so set the
12955 # no_builtin_flag separately
12956 if test "$GXX" = yes; then
12957 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12958 else
12959 lt_prog_compiler_no_builtin_flag_CXX=
12962 if test "$GXX" = yes; then
12963 # Set up default GNU C++ configuration
12967 # Check whether --with-gnu-ld was given.
12968 if test "${with_gnu_ld+set}" = set; then :
12969 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12970 else
12971 with_gnu_ld=no
12974 ac_prog=ld
12975 if test "$GCC" = yes; then
12976 # Check if gcc -print-prog-name=ld gives a path.
12977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12978 $as_echo_n "checking for ld used by $CC... " >&6; }
12979 case $host in
12980 *-*-mingw*)
12981 # gcc leaves a trailing carriage return which upsets mingw
12982 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12984 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12985 esac
12986 case $ac_prog in
12987 # Accept absolute paths.
12988 [\\/]* | ?:[\\/]*)
12989 re_direlt='/[^/][^/]*/\.\./'
12990 # Canonicalize the pathname of ld
12991 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12992 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12993 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12994 done
12995 test -z "$LD" && LD="$ac_prog"
12998 # If it fails, then pretend we aren't using GCC.
12999 ac_prog=ld
13002 # If it is relative, then search for the first ld in PATH.
13003 with_gnu_ld=unknown
13005 esac
13006 elif test "$with_gnu_ld" = yes; then
13007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13008 $as_echo_n "checking for GNU ld... " >&6; }
13009 else
13010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13011 $as_echo_n "checking for non-GNU ld... " >&6; }
13013 if ${lt_cv_path_LD+:} false; then :
13014 $as_echo_n "(cached) " >&6
13015 else
13016 if test -z "$LD"; then
13017 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13018 for ac_dir in $PATH; do
13019 IFS="$lt_save_ifs"
13020 test -z "$ac_dir" && ac_dir=.
13021 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13022 lt_cv_path_LD="$ac_dir/$ac_prog"
13023 # Check to see if the program is GNU ld. I'd rather use --version,
13024 # but apparently some variants of GNU ld only accept -v.
13025 # Break only if it was the GNU/non-GNU ld that we prefer.
13026 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13027 *GNU* | *'with BFD'*)
13028 test "$with_gnu_ld" != no && break
13031 test "$with_gnu_ld" != yes && break
13033 esac
13035 done
13036 IFS="$lt_save_ifs"
13037 else
13038 lt_cv_path_LD="$LD" # Let the user override the test with a path.
13042 LD="$lt_cv_path_LD"
13043 if test -n "$LD"; then
13044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13045 $as_echo "$LD" >&6; }
13046 else
13047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13048 $as_echo "no" >&6; }
13050 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13052 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13053 if ${lt_cv_prog_gnu_ld+:} false; then :
13054 $as_echo_n "(cached) " >&6
13055 else
13056 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13057 case `$LD -v 2>&1 </dev/null` in
13058 *GNU* | *'with BFD'*)
13059 lt_cv_prog_gnu_ld=yes
13062 lt_cv_prog_gnu_ld=no
13064 esac
13066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13067 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13068 with_gnu_ld=$lt_cv_prog_gnu_ld
13076 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13077 # archiving commands below assume that GNU ld is being used.
13078 if test "$with_gnu_ld" = yes; then
13079 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13080 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13082 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13083 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13085 # If archive_cmds runs LD, not CC, wlarc should be empty
13086 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13087 # investigate it a little bit more. (MM)
13088 wlarc='${wl}'
13090 # ancient GNU ld didn't support --whole-archive et. al.
13091 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13092 $GREP 'no-whole-archive' > /dev/null; then
13093 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13094 else
13095 whole_archive_flag_spec_CXX=
13097 else
13098 with_gnu_ld=no
13099 wlarc=
13101 # A generic and very simple default shared library creation
13102 # command for GNU C++ for the case where it uses the native
13103 # linker, instead of GNU ld. If possible, this setting should
13104 # overridden to take advantage of the native linker features on
13105 # the platform it is being used on.
13106 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13109 # Commands to make compiler produce verbose output that lists
13110 # what "hidden" libraries, object files and flags are used when
13111 # linking a shared library.
13112 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13114 else
13115 GXX=no
13116 with_gnu_ld=no
13117 wlarc=
13120 # PORTME: fill in a description of your system's C++ link characteristics
13121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13122 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13123 ld_shlibs_CXX=yes
13124 case $host_os in
13125 aix3*)
13126 # FIXME: insert proper C++ library support
13127 ld_shlibs_CXX=no
13129 aix[4-9]*)
13130 if test "$host_cpu" = ia64; then
13131 # On IA64, the linker does run time linking by default, so we don't
13132 # have to do anything special.
13133 aix_use_runtimelinking=no
13134 exp_sym_flag='-Bexport'
13135 no_entry_flag=""
13136 else
13137 aix_use_runtimelinking=no
13139 # Test if we are trying to use run time linking or normal
13140 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13141 # need to do runtime linking.
13142 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13143 for ld_flag in $LDFLAGS; do
13144 case $ld_flag in
13145 *-brtl*)
13146 aix_use_runtimelinking=yes
13147 break
13149 esac
13150 done
13152 esac
13154 exp_sym_flag='-bexport'
13155 no_entry_flag='-bnoentry'
13158 # When large executables or shared objects are built, AIX ld can
13159 # have problems creating the table of contents. If linking a library
13160 # or program results in "error TOC overflow" add -mminimal-toc to
13161 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13162 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13164 archive_cmds_CXX=''
13165 hardcode_direct_CXX=yes
13166 hardcode_direct_absolute_CXX=yes
13167 hardcode_libdir_separator_CXX=':'
13168 link_all_deplibs_CXX=yes
13169 file_list_spec_CXX='${wl}-f,'
13171 if test "$GXX" = yes; then
13172 case $host_os in aix4.[012]|aix4.[012].*)
13173 # We only want to do this on AIX 4.2 and lower, the check
13174 # below for broken collect2 doesn't work under 4.3+
13175 collect2name=`${CC} -print-prog-name=collect2`
13176 if test -f "$collect2name" &&
13177 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13178 then
13179 # We have reworked collect2
13181 else
13182 # We have old collect2
13183 hardcode_direct_CXX=unsupported
13184 # It fails to find uninstalled libraries when the uninstalled
13185 # path is not listed in the libpath. Setting hardcode_minus_L
13186 # to unsupported forces relinking
13187 hardcode_minus_L_CXX=yes
13188 hardcode_libdir_flag_spec_CXX='-L$libdir'
13189 hardcode_libdir_separator_CXX=
13191 esac
13192 shared_flag='-shared'
13193 if test "$aix_use_runtimelinking" = yes; then
13194 shared_flag="$shared_flag "'${wl}-G'
13196 else
13197 # not using gcc
13198 if test "$host_cpu" = ia64; then
13199 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13200 # chokes on -Wl,-G. The following line is correct:
13201 shared_flag='-G'
13202 else
13203 if test "$aix_use_runtimelinking" = yes; then
13204 shared_flag='${wl}-G'
13205 else
13206 shared_flag='${wl}-bM:SRE'
13211 export_dynamic_flag_spec_CXX='${wl}-bexpall'
13212 # It seems that -bexpall does not export symbols beginning with
13213 # underscore (_), so it is better to generate a list of symbols to
13214 # export.
13215 always_export_symbols_CXX=yes
13216 if test "$aix_use_runtimelinking" = yes; then
13217 # Warning - without using the other runtime loading flags (-brtl),
13218 # -berok will link without error, but may produce a broken library.
13219 allow_undefined_flag_CXX='-berok'
13220 # Determine the default libpath from the value encoded in an empty
13221 # executable.
13222 if test "${lt_cv_aix_libpath+set}" = set; then
13223 aix_libpath=$lt_cv_aix_libpath
13224 else
13225 if ${lt_cv_aix_libpath__CXX+:} false; then :
13226 $as_echo_n "(cached) " >&6
13227 else
13228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13229 /* end confdefs.h. */
13232 main ()
13236 return 0;
13238 _ACEOF
13239 if ac_fn_cxx_try_link "$LINENO"; then :
13241 lt_aix_libpath_sed='
13242 /Import File Strings/,/^$/ {
13243 /^0/ {
13244 s/^0 *\([^ ]*\) *$/\1/
13248 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13249 # Check for a 64-bit object if we didn't find anything.
13250 if test -z "$lt_cv_aix_libpath__CXX"; then
13251 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13254 rm -f core conftest.err conftest.$ac_objext \
13255 conftest$ac_exeext conftest.$ac_ext
13256 if test -z "$lt_cv_aix_libpath__CXX"; then
13257 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
13262 aix_libpath=$lt_cv_aix_libpath__CXX
13265 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13267 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13268 else
13269 if test "$host_cpu" = ia64; then
13270 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13271 allow_undefined_flag_CXX="-z nodefs"
13272 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
13273 else
13274 # Determine the default libpath from the value encoded in an
13275 # empty executable.
13276 if test "${lt_cv_aix_libpath+set}" = set; then
13277 aix_libpath=$lt_cv_aix_libpath
13278 else
13279 if ${lt_cv_aix_libpath__CXX+:} false; then :
13280 $as_echo_n "(cached) " >&6
13281 else
13282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13283 /* end confdefs.h. */
13286 main ()
13290 return 0;
13292 _ACEOF
13293 if ac_fn_cxx_try_link "$LINENO"; then :
13295 lt_aix_libpath_sed='
13296 /Import File Strings/,/^$/ {
13297 /^0/ {
13298 s/^0 *\([^ ]*\) *$/\1/
13302 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13303 # Check for a 64-bit object if we didn't find anything.
13304 if test -z "$lt_cv_aix_libpath__CXX"; then
13305 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13308 rm -f core conftest.err conftest.$ac_objext \
13309 conftest$ac_exeext conftest.$ac_ext
13310 if test -z "$lt_cv_aix_libpath__CXX"; then
13311 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
13316 aix_libpath=$lt_cv_aix_libpath__CXX
13319 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13320 # Warning - without using the other run time loading flags,
13321 # -berok will link without error, but may produce a broken library.
13322 no_undefined_flag_CXX=' ${wl}-bernotok'
13323 allow_undefined_flag_CXX=' ${wl}-berok'
13324 if test "$with_gnu_ld" = yes; then
13325 # We only use this code for GNU lds that support --whole-archive.
13326 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13327 else
13328 # Exported symbols can be pulled into shared objects from archives
13329 whole_archive_flag_spec_CXX='$convenience'
13331 archive_cmds_need_lc_CXX=yes
13332 # This is similar to how AIX traditionally builds its shared
13333 # libraries.
13334 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
13339 beos*)
13340 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13341 allow_undefined_flag_CXX=unsupported
13342 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13343 # support --undefined. This deserves some investigation. FIXME
13344 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13345 else
13346 ld_shlibs_CXX=no
13350 chorus*)
13351 case $cc_basename in
13353 # FIXME: insert proper C++ library support
13354 ld_shlibs_CXX=no
13356 esac
13359 cygwin* | mingw* | pw32* | cegcc*)
13360 case $GXX,$cc_basename in
13361 ,cl* | no,cl*)
13362 # Native MSVC
13363 # hardcode_libdir_flag_spec is actually meaningless, as there is
13364 # no search path for DLLs.
13365 hardcode_libdir_flag_spec_CXX=' '
13366 allow_undefined_flag_CXX=unsupported
13367 always_export_symbols_CXX=yes
13368 file_list_spec_CXX='@'
13369 # Tell ltmain to make .lib files, not .a files.
13370 libext=lib
13371 # Tell ltmain to make .dll files, not .so files.
13372 shrext_cmds=".dll"
13373 # FIXME: Setting linknames here is a bad hack.
13374 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13375 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13376 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
13377 else
13378 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
13380 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13381 linknames='
13382 # The linker will not automatically build a static lib if we build a DLL.
13383 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13384 enable_shared_with_static_runtimes_CXX=yes
13385 # Don't use ranlib
13386 old_postinstall_cmds_CXX='chmod 644 $oldlib'
13387 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
13388 lt_tool_outputfile="@TOOL_OUTPUT@"~
13389 case $lt_outputfile in
13390 *.exe|*.EXE) ;;
13392 lt_outputfile="$lt_outputfile.exe"
13393 lt_tool_outputfile="$lt_tool_outputfile.exe"
13395 esac~
13396 func_to_tool_file "$lt_outputfile"~
13397 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13398 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13399 $RM "$lt_outputfile.manifest";
13403 # g++
13404 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13405 # as there is no search path for DLLs.
13406 hardcode_libdir_flag_spec_CXX='-L$libdir'
13407 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
13408 allow_undefined_flag_CXX=unsupported
13409 always_export_symbols_CXX=no
13410 enable_shared_with_static_runtimes_CXX=yes
13412 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13413 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13414 # If the export-symbols file already is a .def file (1st line
13415 # is EXPORTS), use it as is; otherwise, prepend...
13416 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13417 cp $export_symbols $output_objdir/$soname.def;
13418 else
13419 echo EXPORTS > $output_objdir/$soname.def;
13420 cat $export_symbols >> $output_objdir/$soname.def;
13422 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13423 else
13424 ld_shlibs_CXX=no
13427 esac
13429 darwin* | rhapsody*)
13432 archive_cmds_need_lc_CXX=no
13433 hardcode_direct_CXX=no
13434 hardcode_automatic_CXX=yes
13435 hardcode_shlibpath_var_CXX=unsupported
13436 if test "$lt_cv_ld_force_load" = "yes"; then
13437 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
13438 else
13439 whole_archive_flag_spec_CXX=''
13441 link_all_deplibs_CXX=yes
13442 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13443 case $cc_basename in
13444 ifort*) _lt_dar_can_shared=yes ;;
13445 *) _lt_dar_can_shared=$GCC ;;
13446 esac
13447 if test "$_lt_dar_can_shared" = "yes"; then
13448 output_verbose_link_cmd=func_echo_all
13449 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
13450 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13451 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
13452 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
13453 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13454 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
13455 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
13458 else
13459 ld_shlibs_CXX=no
13464 dgux*)
13465 case $cc_basename in
13466 ec++*)
13467 # FIXME: insert proper C++ library support
13468 ld_shlibs_CXX=no
13470 ghcx*)
13471 # Green Hills C++ Compiler
13472 # FIXME: insert proper C++ library support
13473 ld_shlibs_CXX=no
13476 # FIXME: insert proper C++ library support
13477 ld_shlibs_CXX=no
13479 esac
13482 freebsd[12]*)
13483 # C++ shared libraries reported to be fairly broken before
13484 # switch to ELF
13485 ld_shlibs_CXX=no
13488 freebsd-elf*)
13489 archive_cmds_need_lc_CXX=no
13492 freebsd* | dragonfly*)
13493 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13494 # conventions
13495 ld_shlibs_CXX=yes
13498 gnu*)
13501 haiku*)
13502 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13503 link_all_deplibs_CXX=yes
13506 hpux9*)
13507 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13508 hardcode_libdir_separator_CXX=:
13509 export_dynamic_flag_spec_CXX='${wl}-E'
13510 hardcode_direct_CXX=yes
13511 hardcode_minus_L_CXX=yes # Not in the search PATH,
13512 # but as the default
13513 # location of the library.
13515 case $cc_basename in
13516 CC*)
13517 # FIXME: insert proper C++ library support
13518 ld_shlibs_CXX=no
13520 aCC*)
13521 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13522 # Commands to make compiler produce verbose output that lists
13523 # what "hidden" libraries, object files and flags are used when
13524 # linking a shared library.
13526 # There doesn't appear to be a way to prevent this compiler from
13527 # explicitly linking system object files so we need to strip them
13528 # from the output so that they don't get included in the library
13529 # dependencies.
13530 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13533 if test "$GXX" = yes; then
13534 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13535 else
13536 # FIXME: insert proper C++ library support
13537 ld_shlibs_CXX=no
13540 esac
13543 hpux10*|hpux11*)
13544 if test $with_gnu_ld = no; then
13545 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13546 hardcode_libdir_separator_CXX=:
13548 case $host_cpu in
13549 hppa*64*|ia64*)
13552 export_dynamic_flag_spec_CXX='${wl}-E'
13554 esac
13556 case $host_cpu in
13557 hppa*64*|ia64*)
13558 hardcode_direct_CXX=no
13559 hardcode_shlibpath_var_CXX=no
13562 hardcode_direct_CXX=yes
13563 hardcode_direct_absolute_CXX=yes
13564 hardcode_minus_L_CXX=yes # Not in the search PATH,
13565 # but as the default
13566 # location of the library.
13568 esac
13570 case $cc_basename in
13571 CC*)
13572 # FIXME: insert proper C++ library support
13573 ld_shlibs_CXX=no
13575 aCC*)
13576 case $host_cpu in
13577 hppa*64*)
13578 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13580 ia64*)
13581 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13584 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13586 esac
13587 # Commands to make compiler produce verbose output that lists
13588 # what "hidden" libraries, object files and flags are used when
13589 # linking a shared library.
13591 # There doesn't appear to be a way to prevent this compiler from
13592 # explicitly linking system object files so we need to strip them
13593 # from the output so that they don't get included in the library
13594 # dependencies.
13595 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13598 if test "$GXX" = yes; then
13599 if test $with_gnu_ld = no; then
13600 case $host_cpu in
13601 hppa*64*)
13602 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13604 ia64*)
13605 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13608 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13610 esac
13612 else
13613 # FIXME: insert proper C++ library support
13614 ld_shlibs_CXX=no
13617 esac
13620 interix[3-9]*)
13621 hardcode_direct_CXX=no
13622 hardcode_shlibpath_var_CXX=no
13623 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13624 export_dynamic_flag_spec_CXX='${wl}-E'
13625 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13626 # Instead, shared libraries are loaded at an image base (0x10000000 by
13627 # default) and relocated if they conflict, which is a slow very memory
13628 # consuming and fragmenting process. To avoid this, we pick a random,
13629 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13630 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13631 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13632 archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13634 irix5* | irix6*)
13635 case $cc_basename in
13636 CC*)
13637 # SGI C++
13638 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13640 # Archives containing C++ object files must be created using
13641 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13642 # necessary to make sure instantiated templates are included
13643 # in the archive.
13644 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13647 if test "$GXX" = yes; then
13648 if test "$with_gnu_ld" = no; then
13649 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13650 else
13651 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
13654 link_all_deplibs_CXX=yes
13656 esac
13657 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13658 hardcode_libdir_separator_CXX=:
13659 inherit_rpath_CXX=yes
13662 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13663 case $cc_basename in
13664 KCC*)
13665 # Kuck and Associates, Inc. (KAI) C++ Compiler
13667 # KCC will only create a shared library if the output file
13668 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13669 # to its proper name (with version) after linking.
13670 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13671 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
13672 # Commands to make compiler produce verbose output that lists
13673 # what "hidden" libraries, object files and flags are used when
13674 # linking a shared library.
13676 # There doesn't appear to be a way to prevent this compiler from
13677 # explicitly linking system object files so we need to strip them
13678 # from the output so that they don't get included in the library
13679 # dependencies.
13680 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13682 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13683 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13685 # Archives containing C++ object files must be created using
13686 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13687 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13689 icpc* | ecpc* )
13690 # Intel C++
13691 with_gnu_ld=yes
13692 # version 8.0 and above of icpc choke on multiply defined symbols
13693 # if we add $predep_objects and $postdep_objects, however 7.1 and
13694 # earlier do not add the objects themselves.
13695 case `$CC -V 2>&1` in
13696 *"Version 7."*)
13697 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13698 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13700 *) # Version 8.0 or newer
13701 tmp_idyn=
13702 case $host_cpu in
13703 ia64*) tmp_idyn=' -i_dynamic';;
13704 esac
13705 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13706 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13708 esac
13709 archive_cmds_need_lc_CXX=no
13710 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13711 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13712 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13714 pgCC* | pgcpp*)
13715 # Portland Group C++ compiler
13716 case `$CC -V` in
13717 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13718 prelink_cmds_CXX='tpldir=Template.dir~
13719 rm -rf $tpldir~
13720 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13721 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13722 old_archive_cmds_CXX='tpldir=Template.dir~
13723 rm -rf $tpldir~
13724 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13725 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13726 $RANLIB $oldlib'
13727 archive_cmds_CXX='tpldir=Template.dir~
13728 rm -rf $tpldir~
13729 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13730 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13731 archive_expsym_cmds_CXX='tpldir=Template.dir~
13732 rm -rf $tpldir~
13733 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13734 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13736 *) # Version 6 and above use weak symbols
13737 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13738 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13740 esac
13742 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13743 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13744 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13746 cxx*)
13747 # Compaq C++
13748 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13749 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
13751 runpath_var=LD_RUN_PATH
13752 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13753 hardcode_libdir_separator_CXX=:
13755 # Commands to make compiler produce verbose output that lists
13756 # what "hidden" libraries, object files and flags are used when
13757 # linking a shared library.
13759 # There doesn't appear to be a way to prevent this compiler from
13760 # explicitly linking system object files so we need to strip them
13761 # from the output so that they don't get included in the library
13762 # dependencies.
13763 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
13765 xl* | mpixl* | bgxl*)
13766 # IBM XL 8.0 on PPC, with GNU ld
13767 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13768 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13769 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13770 if test "x$supports_anon_versioning" = xyes; then
13771 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13772 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13773 echo "local: *; };" >> $output_objdir/$libname.ver~
13774 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13778 case `$CC -V 2>&1 | sed 5q` in
13779 *Sun\ C*)
13780 # Sun C++ 5.9
13781 no_undefined_flag_CXX=' -zdefs'
13782 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13783 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
13784 hardcode_libdir_flag_spec_CXX='-R$libdir'
13785 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13786 compiler_needs_object_CXX=yes
13788 # Not sure whether something based on
13789 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13790 # would be better.
13791 output_verbose_link_cmd='func_echo_all'
13793 # Archives containing C++ object files must be created using
13794 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13795 # necessary to make sure instantiated templates are included
13796 # in the archive.
13797 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13799 esac
13801 esac
13804 lynxos*)
13805 # FIXME: insert proper C++ library support
13806 ld_shlibs_CXX=no
13809 m88k*)
13810 # FIXME: insert proper C++ library support
13811 ld_shlibs_CXX=no
13814 mvs*)
13815 case $cc_basename in
13816 cxx*)
13817 # FIXME: insert proper C++ library support
13818 ld_shlibs_CXX=no
13821 # FIXME: insert proper C++ library support
13822 ld_shlibs_CXX=no
13824 esac
13827 netbsd*)
13828 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13829 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13830 wlarc=
13831 hardcode_libdir_flag_spec_CXX='-R$libdir'
13832 hardcode_direct_CXX=yes
13833 hardcode_shlibpath_var_CXX=no
13835 # Workaround some broken pre-1.5 toolchains
13836 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13839 *nto* | *qnx*)
13840 ld_shlibs_CXX=yes
13843 openbsd2*)
13844 # C++ shared libraries are fairly broken
13845 ld_shlibs_CXX=no
13848 openbsd*)
13849 if test -f /usr/libexec/ld.so; then
13850 hardcode_direct_CXX=yes
13851 hardcode_shlibpath_var_CXX=no
13852 hardcode_direct_absolute_CXX=yes
13853 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13854 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13855 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13856 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13857 export_dynamic_flag_spec_CXX='${wl}-E'
13858 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13860 output_verbose_link_cmd=func_echo_all
13861 else
13862 ld_shlibs_CXX=no
13866 osf3* | osf4* | osf5*)
13867 case $cc_basename in
13868 KCC*)
13869 # Kuck and Associates, Inc. (KAI) C++ Compiler
13871 # KCC will only create a shared library if the output file
13872 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13873 # to its proper name (with version) after linking.
13874 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13876 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13877 hardcode_libdir_separator_CXX=:
13879 # Archives containing C++ object files must be created using
13880 # the KAI C++ compiler.
13881 case $host in
13882 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13883 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13884 esac
13886 RCC*)
13887 # Rational C++ 2.4.1
13888 # FIXME: insert proper C++ library support
13889 ld_shlibs_CXX=no
13891 cxx*)
13892 case $host in
13893 osf3*)
13894 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13895 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13896 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13899 allow_undefined_flag_CXX=' -expect_unresolved \*'
13900 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13901 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13902 echo "-hidden">> $lib.exp~
13903 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
13904 $RM $lib.exp'
13905 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13907 esac
13909 hardcode_libdir_separator_CXX=:
13911 # Commands to make compiler produce verbose output that lists
13912 # what "hidden" libraries, object files and flags are used when
13913 # linking a shared library.
13915 # There doesn't appear to be a way to prevent this compiler from
13916 # explicitly linking system object files so we need to strip them
13917 # from the output so that they don't get included in the library
13918 # dependencies.
13919 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13922 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13923 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13924 case $host in
13925 osf3*)
13926 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13929 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13931 esac
13933 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13934 hardcode_libdir_separator_CXX=:
13936 # Commands to make compiler produce verbose output that lists
13937 # what "hidden" libraries, object files and flags are used when
13938 # linking a shared library.
13939 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13941 else
13942 # FIXME: insert proper C++ library support
13943 ld_shlibs_CXX=no
13946 esac
13949 psos*)
13950 # FIXME: insert proper C++ library support
13951 ld_shlibs_CXX=no
13954 sunos4*)
13955 case $cc_basename in
13956 CC*)
13957 # Sun C++ 4.x
13958 # FIXME: insert proper C++ library support
13959 ld_shlibs_CXX=no
13961 lcc*)
13962 # Lucid
13963 # FIXME: insert proper C++ library support
13964 ld_shlibs_CXX=no
13967 # FIXME: insert proper C++ library support
13968 ld_shlibs_CXX=no
13970 esac
13973 solaris*)
13974 case $cc_basename in
13975 CC* | sunCC*)
13976 # Sun C++ 4.2, 5.x and Centerline C++
13977 archive_cmds_need_lc_CXX=yes
13978 no_undefined_flag_CXX=' -zdefs'
13979 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13980 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13981 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13983 hardcode_libdir_flag_spec_CXX='-R$libdir'
13984 hardcode_shlibpath_var_CXX=no
13985 case $host_os in
13986 solaris2.[0-5] | solaris2.[0-5].*) ;;
13988 # The compiler driver will combine and reorder linker options,
13989 # but understands `-z linker_flag'.
13990 # Supported since Solaris 2.6 (maybe 2.5.1?)
13991 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13993 esac
13994 link_all_deplibs_CXX=yes
13996 output_verbose_link_cmd='func_echo_all'
13998 # Archives containing C++ object files must be created using
13999 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14000 # necessary to make sure instantiated templates are included
14001 # in the archive.
14002 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14004 gcx*)
14005 # Green Hills C++ Compiler
14006 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14008 # The C++ compiler must be used to create the archive.
14009 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14012 # GNU C++ compiler with Solaris linker
14013 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14014 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
14015 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
14016 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14017 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14018 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14020 # Commands to make compiler produce verbose output that lists
14021 # what "hidden" libraries, object files and flags are used when
14022 # linking a shared library.
14023 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14024 else
14025 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14026 # platform.
14027 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14028 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14029 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14031 # Commands to make compiler produce verbose output that lists
14032 # what "hidden" libraries, object files and flags are used when
14033 # linking a shared library.
14034 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14037 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
14038 case $host_os in
14039 solaris2.[0-5] | solaris2.[0-5].*) ;;
14041 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14043 esac
14046 esac
14049 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14050 no_undefined_flag_CXX='${wl}-z,text'
14051 archive_cmds_need_lc_CXX=no
14052 hardcode_shlibpath_var_CXX=no
14053 runpath_var='LD_RUN_PATH'
14055 case $cc_basename in
14056 CC*)
14057 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14058 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14061 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14062 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14064 esac
14067 sysv5* | sco3.2v5* | sco5v6*)
14068 # Note: We can NOT use -z defs as we might desire, because we do not
14069 # link with -lc, and that would cause any symbols used from libc to
14070 # always be unresolved, which means just about no library would
14071 # ever link correctly. If we're not using GNU ld we use -z text
14072 # though, which does catch some bad symbols but isn't as heavy-handed
14073 # as -z defs.
14074 no_undefined_flag_CXX='${wl}-z,text'
14075 allow_undefined_flag_CXX='${wl}-z,nodefs'
14076 archive_cmds_need_lc_CXX=no
14077 hardcode_shlibpath_var_CXX=no
14078 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
14079 hardcode_libdir_separator_CXX=':'
14080 link_all_deplibs_CXX=yes
14081 export_dynamic_flag_spec_CXX='${wl}-Bexport'
14082 runpath_var='LD_RUN_PATH'
14084 case $cc_basename in
14085 CC*)
14086 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14087 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14088 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
14089 '"$old_archive_cmds_CXX"
14090 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
14091 '"$reload_cmds_CXX"
14094 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14095 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14097 esac
14100 tandem*)
14101 case $cc_basename in
14102 NCC*)
14103 # NonStop-UX NCC 3.20
14104 # FIXME: insert proper C++ library support
14105 ld_shlibs_CXX=no
14108 # FIXME: insert proper C++ library support
14109 ld_shlibs_CXX=no
14111 esac
14114 vxworks*)
14115 # FIXME: insert proper C++ library support
14116 ld_shlibs_CXX=no
14120 # FIXME: insert proper C++ library support
14121 ld_shlibs_CXX=no
14123 esac
14125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14126 $as_echo "$ld_shlibs_CXX" >&6; }
14127 test "$ld_shlibs_CXX" = no && can_build_shared=no
14129 GCC_CXX="$GXX"
14130 LD_CXX="$LD"
14132 ## CAVEAT EMPTOR:
14133 ## There is no encapsulation within the following macros, do not change
14134 ## the running order or otherwise move them around unless you know exactly
14135 ## what you are doing...
14136 # Dependencies to place before and after the object being linked:
14137 predep_objects_CXX=
14138 postdep_objects_CXX=
14139 predeps_CXX=
14140 postdeps_CXX=
14141 compiler_lib_search_path_CXX=
14143 cat > conftest.$ac_ext <<_LT_EOF
14144 class Foo
14146 public:
14147 Foo (void) { a = 0; }
14148 private:
14149 int a;
14151 _LT_EOF
14154 _lt_libdeps_save_CFLAGS=$CFLAGS
14155 case "$CC $CFLAGS " in #(
14156 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
14157 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
14158 esac
14160 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14161 (eval $ac_compile) 2>&5
14162 ac_status=$?
14163 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14164 test $ac_status = 0; }; then
14165 # Parse the compiler output and extract the necessary
14166 # objects, libraries and library flags.
14168 # Sentinel used to keep track of whether or not we are before
14169 # the conftest object file.
14170 pre_test_object_deps_done=no
14172 for p in `eval "$output_verbose_link_cmd"`; do
14173 case ${prev}${p} in
14175 -L* | -R* | -l*)
14176 # Some compilers place space between "-{L,R}" and the path.
14177 # Remove the space.
14178 if test $p = "-L" ||
14179 test $p = "-R"; then
14180 prev=$p
14181 continue
14184 # Expand the sysroot to ease extracting the directories later.
14185 if test -z "$prev"; then
14186 case $p in
14187 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
14188 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
14189 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
14190 esac
14192 case $p in
14193 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
14194 esac
14195 if test "$pre_test_object_deps_done" = no; then
14196 case ${prev} in
14197 -L | -R)
14198 # Internal compiler library paths should come after those
14199 # provided the user. The postdeps already come after the
14200 # user supplied libs so there is no need to process them.
14201 if test -z "$compiler_lib_search_path_CXX"; then
14202 compiler_lib_search_path_CXX="${prev}${p}"
14203 else
14204 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
14207 # The "-l" case would never come before the object being
14208 # linked, so don't bother handling this case.
14209 esac
14210 else
14211 if test -z "$postdeps_CXX"; then
14212 postdeps_CXX="${prev}${p}"
14213 else
14214 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
14217 prev=
14220 *.lto.$objext) ;; # Ignore GCC LTO objects
14221 *.$objext)
14222 # This assumes that the test object file only shows up
14223 # once in the compiler output.
14224 if test "$p" = "conftest.$objext"; then
14225 pre_test_object_deps_done=yes
14226 continue
14229 if test "$pre_test_object_deps_done" = no; then
14230 if test -z "$predep_objects_CXX"; then
14231 predep_objects_CXX="$p"
14232 else
14233 predep_objects_CXX="$predep_objects_CXX $p"
14235 else
14236 if test -z "$postdep_objects_CXX"; then
14237 postdep_objects_CXX="$p"
14238 else
14239 postdep_objects_CXX="$postdep_objects_CXX $p"
14244 *) ;; # Ignore the rest.
14246 esac
14247 done
14249 # Clean up.
14250 rm -f a.out a.exe
14251 else
14252 echo "libtool.m4: error: problem compiling CXX test program"
14255 $RM -f confest.$objext
14256 CFLAGS=$_lt_libdeps_save_CFLAGS
14258 # PORTME: override above test on systems where it is broken
14259 case $host_os in
14260 interix[3-9]*)
14261 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14262 # hack all around it, let's just trust "g++" to DTRT.
14263 predep_objects_CXX=
14264 postdep_objects_CXX=
14265 postdeps_CXX=
14268 linux*)
14269 case `$CC -V 2>&1 | sed 5q` in
14270 *Sun\ C*)
14271 # Sun C++ 5.9
14273 # The more standards-conforming stlport4 library is
14274 # incompatible with the Cstd library. Avoid specifying
14275 # it if it's in CXXFLAGS. Ignore libCrun as
14276 # -library=stlport4 depends on it.
14277 case " $CXX $CXXFLAGS " in
14278 *" -library=stlport4 "*)
14279 solaris_use_stlport4=yes
14281 esac
14283 if test "$solaris_use_stlport4" != yes; then
14284 postdeps_CXX='-library=Cstd -library=Crun'
14287 esac
14290 solaris*)
14291 case $cc_basename in
14292 CC* | sunCC*)
14293 # The more standards-conforming stlport4 library is
14294 # incompatible with the Cstd library. Avoid specifying
14295 # it if it's in CXXFLAGS. Ignore libCrun as
14296 # -library=stlport4 depends on it.
14297 case " $CXX $CXXFLAGS " in
14298 *" -library=stlport4 "*)
14299 solaris_use_stlport4=yes
14301 esac
14303 # Adding this requires a known-good setup of shared libraries for
14304 # Sun compiler versions before 5.6, else PIC objects from an old
14305 # archive will be linked into the output, leading to subtle bugs.
14306 if test "$solaris_use_stlport4" != yes; then
14307 postdeps_CXX='-library=Cstd -library=Crun'
14310 esac
14312 esac
14315 case " $postdeps_CXX " in
14316 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
14317 esac
14318 compiler_lib_search_dirs_CXX=
14319 if test -n "${compiler_lib_search_path_CXX}"; then
14320 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14353 lt_prog_compiler_wl_CXX=
14354 lt_prog_compiler_pic_CXX=
14355 lt_prog_compiler_static_CXX=
14358 # C++ specific cases for pic, static, wl, etc.
14359 if test "$GXX" = yes; then
14360 lt_prog_compiler_wl_CXX='-Wl,'
14361 lt_prog_compiler_static_CXX='-static'
14363 case $host_os in
14364 aix*)
14365 # All AIX code is PIC.
14366 if test "$host_cpu" = ia64; then
14367 # AIX 5 now supports IA64 processor
14368 lt_prog_compiler_static_CXX='-Bstatic'
14372 amigaos*)
14373 case $host_cpu in
14374 powerpc)
14375 # see comment about AmigaOS4 .so support
14376 lt_prog_compiler_pic_CXX='-fPIC'
14378 m68k)
14379 # FIXME: we need at least 68020 code to build shared libraries, but
14380 # adding the `-m68020' flag to GCC prevents building anything better,
14381 # like `-m68040'.
14382 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14384 esac
14387 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14388 # PIC is the default for these OSes.
14390 mingw* | cygwin* | os2* | pw32* | cegcc*)
14391 # This hack is so that the source file can tell whether it is being
14392 # built for inclusion in a dll (and should export symbols for example).
14393 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14394 # (--disable-auto-import) libraries
14395 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14397 darwin* | rhapsody*)
14398 # PIC is the default on this platform
14399 # Common symbols not allowed in MH_DYLIB files
14400 lt_prog_compiler_pic_CXX='-fno-common'
14402 *djgpp*)
14403 # DJGPP does not support shared libraries at all
14404 lt_prog_compiler_pic_CXX=
14406 haiku*)
14407 # PIC is the default for Haiku.
14408 # The "-static" flag exists, but is broken.
14409 lt_prog_compiler_static_CXX=
14411 interix[3-9]*)
14412 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14413 # Instead, we relocate shared libraries at runtime.
14415 sysv4*MP*)
14416 if test -d /usr/nec; then
14417 lt_prog_compiler_pic_CXX=-Kconform_pic
14420 hpux*)
14421 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14422 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14423 # sets the default TLS model and affects inlining.
14424 case $host_cpu in
14425 hppa*64*)
14428 lt_prog_compiler_pic_CXX='-fPIC'
14430 esac
14432 *qnx* | *nto*)
14433 # QNX uses GNU C++, but need to define -shared option too, otherwise
14434 # it will coredump.
14435 lt_prog_compiler_pic_CXX='-fPIC -shared'
14438 lt_prog_compiler_pic_CXX='-fPIC'
14440 esac
14441 else
14442 case $host_os in
14443 aix[4-9]*)
14444 # All AIX code is PIC.
14445 if test "$host_cpu" = ia64; then
14446 # AIX 5 now supports IA64 processor
14447 lt_prog_compiler_static_CXX='-Bstatic'
14448 else
14449 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14452 chorus*)
14453 case $cc_basename in
14454 cxch68*)
14455 # Green Hills C++ Compiler
14456 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
14458 esac
14460 mingw* | cygwin* | os2* | pw32* | cegcc*)
14461 # This hack is so that the source file can tell whether it is being
14462 # built for inclusion in a dll (and should export symbols for example).
14463 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14465 dgux*)
14466 case $cc_basename in
14467 ec++*)
14468 lt_prog_compiler_pic_CXX='-KPIC'
14470 ghcx*)
14471 # Green Hills C++ Compiler
14472 lt_prog_compiler_pic_CXX='-pic'
14476 esac
14478 freebsd* | dragonfly*)
14479 # FreeBSD uses GNU C++
14481 hpux9* | hpux10* | hpux11*)
14482 case $cc_basename in
14483 CC*)
14484 lt_prog_compiler_wl_CXX='-Wl,'
14485 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14486 if test "$host_cpu" != ia64; then
14487 lt_prog_compiler_pic_CXX='+Z'
14490 aCC*)
14491 lt_prog_compiler_wl_CXX='-Wl,'
14492 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14493 case $host_cpu in
14494 hppa*64*|ia64*)
14495 # +Z the default
14498 lt_prog_compiler_pic_CXX='+Z'
14500 esac
14504 esac
14506 interix*)
14507 # This is c89, which is MS Visual C++ (no shared libs)
14508 # Anyone wants to do a port?
14510 irix5* | irix6* | nonstopux*)
14511 case $cc_basename in
14512 CC*)
14513 lt_prog_compiler_wl_CXX='-Wl,'
14514 lt_prog_compiler_static_CXX='-non_shared'
14515 # CC pic flag -KPIC is the default.
14519 esac
14521 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14522 case $cc_basename in
14523 KCC*)
14524 # KAI C++ Compiler
14525 lt_prog_compiler_wl_CXX='--backend -Wl,'
14526 lt_prog_compiler_pic_CXX='-fPIC'
14528 ecpc* )
14529 # old Intel C++ for x86_64 which still supported -KPIC.
14530 lt_prog_compiler_wl_CXX='-Wl,'
14531 lt_prog_compiler_pic_CXX='-KPIC'
14532 lt_prog_compiler_static_CXX='-static'
14534 icpc* )
14535 # Intel C++, used to be incompatible with GCC.
14536 # ICC 10 doesn't accept -KPIC any more.
14537 lt_prog_compiler_wl_CXX='-Wl,'
14538 lt_prog_compiler_pic_CXX='-fPIC'
14539 lt_prog_compiler_static_CXX='-static'
14541 pgCC* | pgcpp*)
14542 # Portland Group C++ compiler
14543 lt_prog_compiler_wl_CXX='-Wl,'
14544 lt_prog_compiler_pic_CXX='-fpic'
14545 lt_prog_compiler_static_CXX='-Bstatic'
14547 cxx*)
14548 # Compaq C++
14549 # Make sure the PIC flag is empty. It appears that all Alpha
14550 # Linux and Compaq Tru64 Unix objects are PIC.
14551 lt_prog_compiler_pic_CXX=
14552 lt_prog_compiler_static_CXX='-non_shared'
14554 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14555 # IBM XL 8.0, 9.0 on PPC and BlueGene
14556 lt_prog_compiler_wl_CXX='-Wl,'
14557 lt_prog_compiler_pic_CXX='-qpic'
14558 lt_prog_compiler_static_CXX='-qstaticlink'
14561 case `$CC -V 2>&1 | sed 5q` in
14562 *Sun\ C*)
14563 # Sun C++ 5.9
14564 lt_prog_compiler_pic_CXX='-KPIC'
14565 lt_prog_compiler_static_CXX='-Bstatic'
14566 lt_prog_compiler_wl_CXX='-Qoption ld '
14568 esac
14570 esac
14572 lynxos*)
14574 m88k*)
14576 mvs*)
14577 case $cc_basename in
14578 cxx*)
14579 lt_prog_compiler_pic_CXX='-W c,exportall'
14583 esac
14585 netbsd*)
14587 *qnx* | *nto*)
14588 # QNX uses GNU C++, but need to define -shared option too, otherwise
14589 # it will coredump.
14590 lt_prog_compiler_pic_CXX='-fPIC -shared'
14592 osf3* | osf4* | osf5*)
14593 case $cc_basename in
14594 KCC*)
14595 lt_prog_compiler_wl_CXX='--backend -Wl,'
14597 RCC*)
14598 # Rational C++ 2.4.1
14599 lt_prog_compiler_pic_CXX='-pic'
14601 cxx*)
14602 # Digital/Compaq C++
14603 lt_prog_compiler_wl_CXX='-Wl,'
14604 # Make sure the PIC flag is empty. It appears that all Alpha
14605 # Linux and Compaq Tru64 Unix objects are PIC.
14606 lt_prog_compiler_pic_CXX=
14607 lt_prog_compiler_static_CXX='-non_shared'
14611 esac
14613 psos*)
14615 solaris*)
14616 case $cc_basename in
14617 CC* | sunCC*)
14618 # Sun C++ 4.2, 5.x and Centerline C++
14619 lt_prog_compiler_pic_CXX='-KPIC'
14620 lt_prog_compiler_static_CXX='-Bstatic'
14621 lt_prog_compiler_wl_CXX='-Qoption ld '
14623 gcx*)
14624 # Green Hills C++ Compiler
14625 lt_prog_compiler_pic_CXX='-PIC'
14629 esac
14631 sunos4*)
14632 case $cc_basename in
14633 CC*)
14634 # Sun C++ 4.x
14635 lt_prog_compiler_pic_CXX='-pic'
14636 lt_prog_compiler_static_CXX='-Bstatic'
14638 lcc*)
14639 # Lucid
14640 lt_prog_compiler_pic_CXX='-pic'
14644 esac
14646 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14647 case $cc_basename in
14648 CC*)
14649 lt_prog_compiler_wl_CXX='-Wl,'
14650 lt_prog_compiler_pic_CXX='-KPIC'
14651 lt_prog_compiler_static_CXX='-Bstatic'
14653 esac
14655 tandem*)
14656 case $cc_basename in
14657 NCC*)
14658 # NonStop-UX NCC 3.20
14659 lt_prog_compiler_pic_CXX='-KPIC'
14663 esac
14665 vxworks*)
14668 lt_prog_compiler_can_build_shared_CXX=no
14670 esac
14673 case $host_os in
14674 # For platforms which do not support PIC, -DPIC is meaningless:
14675 *djgpp*)
14676 lt_prog_compiler_pic_CXX=
14679 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14681 esac
14683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14684 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14685 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
14686 $as_echo_n "(cached) " >&6
14687 else
14688 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
14690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14691 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14692 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
14695 # Check to make sure the PIC flag actually works.
14697 if test -n "$lt_prog_compiler_pic_CXX"; then
14698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14699 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14700 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14701 $as_echo_n "(cached) " >&6
14702 else
14703 lt_cv_prog_compiler_pic_works_CXX=no
14704 ac_outfile=conftest.$ac_objext
14705 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14706 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14707 # Insert the option either (1) after the last *FLAGS variable, or
14708 # (2) before a word containing "conftest.", or (3) at the end.
14709 # Note that $ac_compile itself does not contain backslashes and begins
14710 # with a dollar sign (not a hyphen), so the echo should work correctly.
14711 # The option is referenced via a variable to avoid confusing sed.
14712 lt_compile=`echo "$ac_compile" | $SED \
14713 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14714 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14715 -e 's:$: $lt_compiler_flag:'`
14716 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14717 (eval "$lt_compile" 2>conftest.err)
14718 ac_status=$?
14719 cat conftest.err >&5
14720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14721 if (exit $ac_status) && test -s "$ac_outfile"; then
14722 # The compiler can only warn and ignore the option if not recognized
14723 # So say no if there are warnings other than the usual output.
14724 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14725 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14726 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14727 lt_cv_prog_compiler_pic_works_CXX=yes
14730 $RM conftest*
14733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14734 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14736 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14737 case $lt_prog_compiler_pic_CXX in
14738 "" | " "*) ;;
14739 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14740 esac
14741 else
14742 lt_prog_compiler_pic_CXX=
14743 lt_prog_compiler_can_build_shared_CXX=no
14753 # Check to make sure the static flag actually works.
14755 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14757 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14758 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14759 $as_echo_n "(cached) " >&6
14760 else
14761 lt_cv_prog_compiler_static_works_CXX=no
14762 save_LDFLAGS="$LDFLAGS"
14763 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14764 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14765 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14766 # The linker can only warn and ignore the option if not recognized
14767 # So say no if there are warnings
14768 if test -s conftest.err; then
14769 # Append any errors to the config.log.
14770 cat conftest.err 1>&5
14771 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14772 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14773 if diff conftest.exp conftest.er2 >/dev/null; then
14774 lt_cv_prog_compiler_static_works_CXX=yes
14776 else
14777 lt_cv_prog_compiler_static_works_CXX=yes
14780 $RM -r conftest*
14781 LDFLAGS="$save_LDFLAGS"
14784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14785 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14787 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14789 else
14790 lt_prog_compiler_static_CXX=
14796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14797 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14798 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14799 $as_echo_n "(cached) " >&6
14800 else
14801 lt_cv_prog_compiler_c_o_CXX=no
14802 $RM -r conftest 2>/dev/null
14803 mkdir conftest
14804 cd conftest
14805 mkdir out
14806 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14808 lt_compiler_flag="-o out/conftest2.$ac_objext"
14809 # Insert the option either (1) after the last *FLAGS variable, or
14810 # (2) before a word containing "conftest.", or (3) at the end.
14811 # Note that $ac_compile itself does not contain backslashes and begins
14812 # with a dollar sign (not a hyphen), so the echo should work correctly.
14813 lt_compile=`echo "$ac_compile" | $SED \
14814 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14815 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14816 -e 's:$: $lt_compiler_flag:'`
14817 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14818 (eval "$lt_compile" 2>out/conftest.err)
14819 ac_status=$?
14820 cat out/conftest.err >&5
14821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14822 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14823 then
14824 # The compiler can only warn and ignore the option if not recognized
14825 # So say no if there are warnings
14826 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14827 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14828 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14829 lt_cv_prog_compiler_c_o_CXX=yes
14832 chmod u+w . 2>&5
14833 $RM conftest*
14834 # SGI C++ compiler will create directory out/ii_files/ for
14835 # template instantiation
14836 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14837 $RM out/* && rmdir out
14838 cd ..
14839 $RM -r conftest
14840 $RM conftest*
14843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14844 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14849 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14850 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14851 $as_echo_n "(cached) " >&6
14852 else
14853 lt_cv_prog_compiler_c_o_CXX=no
14854 $RM -r conftest 2>/dev/null
14855 mkdir conftest
14856 cd conftest
14857 mkdir out
14858 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14860 lt_compiler_flag="-o out/conftest2.$ac_objext"
14861 # Insert the option either (1) after the last *FLAGS variable, or
14862 # (2) before a word containing "conftest.", or (3) at the end.
14863 # Note that $ac_compile itself does not contain backslashes and begins
14864 # with a dollar sign (not a hyphen), so the echo should work correctly.
14865 lt_compile=`echo "$ac_compile" | $SED \
14866 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14867 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14868 -e 's:$: $lt_compiler_flag:'`
14869 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14870 (eval "$lt_compile" 2>out/conftest.err)
14871 ac_status=$?
14872 cat out/conftest.err >&5
14873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14874 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14875 then
14876 # The compiler can only warn and ignore the option if not recognized
14877 # So say no if there are warnings
14878 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14879 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14880 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14881 lt_cv_prog_compiler_c_o_CXX=yes
14884 chmod u+w . 2>&5
14885 $RM conftest*
14886 # SGI C++ compiler will create directory out/ii_files/ for
14887 # template instantiation
14888 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14889 $RM out/* && rmdir out
14890 cd ..
14891 $RM -r conftest
14892 $RM conftest*
14895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14896 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14901 hard_links="nottested"
14902 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14903 # do not overwrite the value of need_locks provided by the user
14904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14905 $as_echo_n "checking if we can lock with hard links... " >&6; }
14906 hard_links=yes
14907 $RM conftest*
14908 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14909 touch conftest.a
14910 ln conftest.a conftest.b 2>&5 || hard_links=no
14911 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14913 $as_echo "$hard_links" >&6; }
14914 if test "$hard_links" = no; then
14915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14916 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14917 need_locks=warn
14919 else
14920 need_locks=no
14925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14926 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14928 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14929 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14930 case $host_os in
14931 aix[4-9]*)
14932 # If we're using GNU nm, then we don't want the "-C" option.
14933 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14934 # Also, AIX nm treats weak defined symbols like other global defined
14935 # symbols, whereas GNU nm marks them as "W".
14936 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14937 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14938 else
14939 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14942 pw32*)
14943 export_symbols_cmds_CXX="$ltdll_cmds"
14945 cygwin* | mingw* | cegcc*)
14946 case $cc_basename in
14947 cl*) ;;
14949 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
14950 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14952 esac
14955 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14957 esac
14959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14960 $as_echo "$ld_shlibs_CXX" >&6; }
14961 test "$ld_shlibs_CXX" = no && can_build_shared=no
14963 with_gnu_ld_CXX=$with_gnu_ld
14971 # Do we need to explicitly link libc?
14973 case "x$archive_cmds_need_lc_CXX" in
14974 x|xyes)
14975 # Assume -lc should be added
14976 archive_cmds_need_lc_CXX=yes
14978 if test "$enable_shared" = yes && test "$GCC" = yes; then
14979 case $archive_cmds_CXX in
14980 *'~'*)
14981 # FIXME: we may have to deal with multi-command sequences.
14983 '$CC '*)
14984 # Test whether the compiler implicitly links with -lc since on some
14985 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14986 # to ld, don't add -lc before -lgcc.
14987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14988 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14989 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14990 $as_echo_n "(cached) " >&6
14991 else
14992 $RM conftest*
14993 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14995 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14996 (eval $ac_compile) 2>&5
14997 ac_status=$?
14998 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14999 test $ac_status = 0; } 2>conftest.err; then
15000 soname=conftest
15001 lib=conftest
15002 libobjs=conftest.$ac_objext
15003 deplibs=
15004 wl=$lt_prog_compiler_wl_CXX
15005 pic_flag=$lt_prog_compiler_pic_CXX
15006 compiler_flags=-v
15007 linker_flags=-v
15008 verstring=
15009 output_objdir=.
15010 libname=conftest
15011 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15012 allow_undefined_flag_CXX=
15013 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15014 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15015 ac_status=$?
15016 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15017 test $ac_status = 0; }
15018 then
15019 lt_cv_archive_cmds_need_lc_CXX=no
15020 else
15021 lt_cv_archive_cmds_need_lc_CXX=yes
15023 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
15024 else
15025 cat conftest.err 1>&5
15027 $RM conftest*
15030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15031 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15032 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
15034 esac
15037 esac
15102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15103 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15105 library_names_spec=
15106 libname_spec='lib$name'
15107 soname_spec=
15108 shrext_cmds=".so"
15109 postinstall_cmds=
15110 postuninstall_cmds=
15111 finish_cmds=
15112 finish_eval=
15113 shlibpath_var=
15114 shlibpath_overrides_runpath=unknown
15115 version_type=none
15116 dynamic_linker="$host_os ld.so"
15117 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15118 need_lib_prefix=unknown
15119 hardcode_into_libs=no
15121 # when you set need_version to no, make sure it does not cause -set_version
15122 # flags to be left without arguments
15123 need_version=unknown
15125 case $host_os in
15126 aix3*)
15127 version_type=linux
15128 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15129 shlibpath_var=LIBPATH
15131 # AIX 3 has no versioning support, so we append a major version to the name.
15132 soname_spec='${libname}${release}${shared_ext}$major'
15135 aix[4-9]*)
15136 version_type=linux
15137 need_lib_prefix=no
15138 need_version=no
15139 hardcode_into_libs=yes
15140 if test "$host_cpu" = ia64; then
15141 # AIX 5 supports IA64
15142 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15143 shlibpath_var=LD_LIBRARY_PATH
15144 else
15145 # With GCC up to 2.95.x, collect2 would create an import file
15146 # for dependence libraries. The import file would start with
15147 # the line `#! .'. This would cause the generated library to
15148 # depend on `.', always an invalid library. This was fixed in
15149 # development snapshots of GCC prior to 3.0.
15150 case $host_os in
15151 aix4 | aix4.[01] | aix4.[01].*)
15152 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15153 echo ' yes '
15154 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
15156 else
15157 can_build_shared=no
15160 esac
15161 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15162 # soname into executable. Probably we can add versioning support to
15163 # collect2, so additional links can be useful in future.
15164 if test "$aix_use_runtimelinking" = yes; then
15165 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15166 # instead of lib<name>.a to let people know that these are not
15167 # typical AIX shared libraries.
15168 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15169 else
15170 # We preserve .a as extension for shared libraries through AIX4.2
15171 # and later when we are not doing run time linking.
15172 library_names_spec='${libname}${release}.a $libname.a'
15173 soname_spec='${libname}${release}${shared_ext}$major'
15175 shlibpath_var=LIBPATH
15179 amigaos*)
15180 case $host_cpu in
15181 powerpc)
15182 # Since July 2007 AmigaOS4 officially supports .so libraries.
15183 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15184 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15186 m68k)
15187 library_names_spec='$libname.ixlibrary $libname.a'
15188 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15189 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
15191 esac
15194 beos*)
15195 library_names_spec='${libname}${shared_ext}'
15196 dynamic_linker="$host_os ld.so"
15197 shlibpath_var=LIBRARY_PATH
15200 bsdi[45]*)
15201 version_type=linux
15202 need_version=no
15203 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15204 soname_spec='${libname}${release}${shared_ext}$major'
15205 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15206 shlibpath_var=LD_LIBRARY_PATH
15207 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15208 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15209 # the default ld.so.conf also contains /usr/contrib/lib and
15210 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15211 # libtool to hard-code these into programs
15214 cygwin* | mingw* | pw32* | cegcc*)
15215 version_type=windows
15216 shrext_cmds=".dll"
15217 need_version=no
15218 need_lib_prefix=no
15220 case $GCC,$cc_basename in
15221 yes,*)
15222 # gcc
15223 library_names_spec='$libname.dll.a'
15224 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15225 postinstall_cmds='base_file=`basename \${file}`~
15226 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15227 dldir=$destdir/`dirname \$dlpath`~
15228 test -d \$dldir || mkdir -p \$dldir~
15229 $install_prog $dir/$dlname \$dldir/$dlname~
15230 chmod a+x \$dldir/$dlname~
15231 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15232 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15234 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15235 dlpath=$dir/\$dldll~
15236 $RM \$dlpath'
15237 shlibpath_overrides_runpath=yes
15239 case $host_os in
15240 cygwin*)
15241 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15242 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15245 mingw* | cegcc*)
15246 # MinGW DLLs use traditional 'lib' prefix
15247 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15249 pw32*)
15250 # pw32 DLLs use 'pw' prefix rather than 'lib'
15251 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15253 esac
15254 dynamic_linker='Win32 ld.exe'
15257 *,cl*)
15258 # Native MSVC
15259 libname_spec='$name'
15260 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15261 library_names_spec='${libname}.dll.lib'
15263 case $build_os in
15264 mingw*)
15265 sys_lib_search_path_spec=
15266 lt_save_ifs=$IFS
15267 IFS=';'
15268 for lt_path in $LIB
15270 IFS=$lt_save_ifs
15271 # Let DOS variable expansion print the short 8.3 style file name.
15272 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15273 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
15274 done
15275 IFS=$lt_save_ifs
15276 # Convert to MSYS style.
15277 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15279 cygwin*)
15280 # Convert to unix form, then to dos form, then back to unix form
15281 # but this time dos style (no spaces!) so that the unix form looks
15282 # like /cygdrive/c/PROGRA~1:/cygdr...
15283 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
15284 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15285 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15288 sys_lib_search_path_spec="$LIB"
15289 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15290 # It is most probably a Windows format PATH.
15291 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15292 else
15293 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15295 # FIXME: find the short name or the path components, as spaces are
15296 # common. (e.g. "Program Files" -> "PROGRA~1")
15298 esac
15300 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15301 postinstall_cmds='base_file=`basename \${file}`~
15302 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15303 dldir=$destdir/`dirname \$dlpath`~
15304 test -d \$dldir || mkdir -p \$dldir~
15305 $install_prog $dir/$dlname \$dldir/$dlname'
15306 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15307 dlpath=$dir/\$dldll~
15308 $RM \$dlpath'
15309 shlibpath_overrides_runpath=yes
15310 dynamic_linker='Win32 link.exe'
15314 # Assume MSVC wrapper
15315 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15316 dynamic_linker='Win32 ld.exe'
15318 esac
15319 # FIXME: first we should search . and the directory the executable is in
15320 shlibpath_var=PATH
15323 darwin* | rhapsody*)
15324 dynamic_linker="$host_os dyld"
15325 version_type=darwin
15326 need_lib_prefix=no
15327 need_version=no
15328 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15329 soname_spec='${libname}${release}${major}$shared_ext'
15330 shlibpath_overrides_runpath=yes
15331 shlibpath_var=DYLD_LIBRARY_PATH
15332 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15334 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15337 dgux*)
15338 version_type=linux
15339 need_lib_prefix=no
15340 need_version=no
15341 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15342 soname_spec='${libname}${release}${shared_ext}$major'
15343 shlibpath_var=LD_LIBRARY_PATH
15346 freebsd1*)
15347 dynamic_linker=no
15350 freebsd* | dragonfly*)
15351 # DragonFly does not have aout. When/if they implement a new
15352 # versioning mechanism, adjust this.
15353 if test -x /usr/bin/objformat; then
15354 objformat=`/usr/bin/objformat`
15355 else
15356 case $host_os in
15357 freebsd[123]*) objformat=aout ;;
15358 *) objformat=elf ;;
15359 esac
15361 version_type=freebsd-$objformat
15362 case $version_type in
15363 freebsd-elf*)
15364 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15365 need_version=no
15366 need_lib_prefix=no
15368 freebsd-*)
15369 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15370 need_version=yes
15372 esac
15373 shlibpath_var=LD_LIBRARY_PATH
15374 case $host_os in
15375 freebsd2*)
15376 shlibpath_overrides_runpath=yes
15378 freebsd3.[01]* | freebsdelf3.[01]*)
15379 shlibpath_overrides_runpath=yes
15380 hardcode_into_libs=yes
15382 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15383 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15384 shlibpath_overrides_runpath=no
15385 hardcode_into_libs=yes
15387 *) # from 4.6 on, and DragonFly
15388 shlibpath_overrides_runpath=yes
15389 hardcode_into_libs=yes
15391 esac
15394 gnu*)
15395 version_type=linux
15396 need_lib_prefix=no
15397 need_version=no
15398 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15399 soname_spec='${libname}${release}${shared_ext}$major'
15400 shlibpath_var=LD_LIBRARY_PATH
15401 hardcode_into_libs=yes
15404 haiku*)
15405 version_type=linux
15406 need_lib_prefix=no
15407 need_version=no
15408 dynamic_linker="$host_os runtime_loader"
15409 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15410 soname_spec='${libname}${release}${shared_ext}$major'
15411 shlibpath_var=LIBRARY_PATH
15412 shlibpath_overrides_runpath=yes
15413 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15414 hardcode_into_libs=yes
15417 hpux9* | hpux10* | hpux11*)
15418 # Give a soname corresponding to the major version so that dld.sl refuses to
15419 # link against other versions.
15420 version_type=sunos
15421 need_lib_prefix=no
15422 need_version=no
15423 case $host_cpu in
15424 ia64*)
15425 shrext_cmds='.so'
15426 hardcode_into_libs=yes
15427 dynamic_linker="$host_os dld.so"
15428 shlibpath_var=LD_LIBRARY_PATH
15429 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15430 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15431 soname_spec='${libname}${release}${shared_ext}$major'
15432 if test "X$HPUX_IA64_MODE" = X32; then
15433 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15434 else
15435 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15437 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15439 hppa*64*)
15440 shrext_cmds='.sl'
15441 hardcode_into_libs=yes
15442 dynamic_linker="$host_os dld.sl"
15443 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15444 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15445 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15446 soname_spec='${libname}${release}${shared_ext}$major'
15447 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15448 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15451 shrext_cmds='.sl'
15452 dynamic_linker="$host_os dld.sl"
15453 shlibpath_var=SHLIB_PATH
15454 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15455 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15456 soname_spec='${libname}${release}${shared_ext}$major'
15458 esac
15459 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15460 postinstall_cmds='chmod 555 $lib'
15461 # or fails outright, so override atomically:
15462 install_override_mode=555
15465 interix[3-9]*)
15466 version_type=linux
15467 need_lib_prefix=no
15468 need_version=no
15469 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15470 soname_spec='${libname}${release}${shared_ext}$major'
15471 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15472 shlibpath_var=LD_LIBRARY_PATH
15473 shlibpath_overrides_runpath=no
15474 hardcode_into_libs=yes
15477 irix5* | irix6* | nonstopux*)
15478 case $host_os in
15479 nonstopux*) version_type=nonstopux ;;
15481 if test "$lt_cv_prog_gnu_ld" = yes; then
15482 version_type=linux
15483 else
15484 version_type=irix
15485 fi ;;
15486 esac
15487 need_lib_prefix=no
15488 need_version=no
15489 soname_spec='${libname}${release}${shared_ext}$major'
15490 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15491 case $host_os in
15492 irix5* | nonstopux*)
15493 libsuff= shlibsuff=
15496 case $LD in # libtool.m4 will add one of these switches to LD
15497 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15498 libsuff= shlibsuff= libmagic=32-bit;;
15499 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15500 libsuff=32 shlibsuff=N32 libmagic=N32;;
15501 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15502 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15503 *) libsuff= shlibsuff= libmagic=never-match;;
15504 esac
15506 esac
15507 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15508 shlibpath_overrides_runpath=no
15509 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15510 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15511 hardcode_into_libs=yes
15514 # No shared lib support for Linux oldld, aout, or coff.
15515 linux*oldld* | linux*aout* | linux*coff*)
15516 dynamic_linker=no
15519 # This must be Linux ELF.
15520 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15521 version_type=linux
15522 need_lib_prefix=no
15523 need_version=no
15524 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15525 soname_spec='${libname}${release}${shared_ext}$major'
15526 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15527 shlibpath_var=LD_LIBRARY_PATH
15528 shlibpath_overrides_runpath=no
15530 # Some binutils ld are patched to set DT_RUNPATH
15531 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15532 $as_echo_n "(cached) " >&6
15533 else
15534 lt_cv_shlibpath_overrides_runpath=no
15535 save_LDFLAGS=$LDFLAGS
15536 save_libdir=$libdir
15537 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15538 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15540 /* end confdefs.h. */
15543 main ()
15547 return 0;
15549 _ACEOF
15550 if ac_fn_cxx_try_link "$LINENO"; then :
15551 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15552 lt_cv_shlibpath_overrides_runpath=yes
15555 rm -f core conftest.err conftest.$ac_objext \
15556 conftest$ac_exeext conftest.$ac_ext
15557 LDFLAGS=$save_LDFLAGS
15558 libdir=$save_libdir
15562 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15564 # This implies no fast_install, which is unacceptable.
15565 # Some rework will be needed to allow for fast_install
15566 # before this can be enabled.
15567 hardcode_into_libs=yes
15569 # Append ld.so.conf contents to the search path
15570 if test -f /etc/ld.so.conf; then
15571 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
15572 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15575 # We used to test for /lib/ld.so.1 and disable shared libraries on
15576 # powerpc, because MkLinux only supported shared libraries with the
15577 # GNU dynamic linker. Since this was broken with cross compilers,
15578 # most powerpc-linux boxes support dynamic linking these days and
15579 # people can always --disable-shared, the test was removed, and we
15580 # assume the GNU/Linux dynamic linker is in use.
15581 dynamic_linker='GNU/Linux ld.so'
15584 netbsd*)
15585 version_type=sunos
15586 need_lib_prefix=no
15587 need_version=no
15588 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15589 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15590 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15591 dynamic_linker='NetBSD (a.out) ld.so'
15592 else
15593 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15594 soname_spec='${libname}${release}${shared_ext}$major'
15595 dynamic_linker='NetBSD ld.elf_so'
15597 shlibpath_var=LD_LIBRARY_PATH
15598 shlibpath_overrides_runpath=yes
15599 hardcode_into_libs=yes
15602 newsos6)
15603 version_type=linux
15604 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15605 shlibpath_var=LD_LIBRARY_PATH
15606 shlibpath_overrides_runpath=yes
15609 *nto* | *qnx*)
15610 version_type=qnx
15611 need_lib_prefix=no
15612 need_version=no
15613 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15614 soname_spec='${libname}${release}${shared_ext}$major'
15615 shlibpath_var=LD_LIBRARY_PATH
15616 shlibpath_overrides_runpath=no
15617 hardcode_into_libs=yes
15618 dynamic_linker='ldqnx.so'
15621 openbsd*)
15622 version_type=sunos
15623 sys_lib_dlsearch_path_spec="/usr/lib"
15624 need_lib_prefix=no
15625 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15626 case $host_os in
15627 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15628 *) need_version=no ;;
15629 esac
15630 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15631 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15632 shlibpath_var=LD_LIBRARY_PATH
15633 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15634 case $host_os in
15635 openbsd2.[89] | openbsd2.[89].*)
15636 shlibpath_overrides_runpath=no
15639 shlibpath_overrides_runpath=yes
15641 esac
15642 else
15643 shlibpath_overrides_runpath=yes
15647 os2*)
15648 libname_spec='$name'
15649 shrext_cmds=".dll"
15650 need_lib_prefix=no
15651 library_names_spec='$libname${shared_ext} $libname.a'
15652 dynamic_linker='OS/2 ld.exe'
15653 shlibpath_var=LIBPATH
15656 osf3* | osf4* | osf5*)
15657 version_type=osf
15658 need_lib_prefix=no
15659 need_version=no
15660 soname_spec='${libname}${release}${shared_ext}$major'
15661 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15662 shlibpath_var=LD_LIBRARY_PATH
15663 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15664 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15667 rdos*)
15668 dynamic_linker=no
15671 solaris*)
15672 version_type=linux
15673 need_lib_prefix=no
15674 need_version=no
15675 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15676 soname_spec='${libname}${release}${shared_ext}$major'
15677 shlibpath_var=LD_LIBRARY_PATH
15678 shlibpath_overrides_runpath=yes
15679 hardcode_into_libs=yes
15680 # ldd complains unless libraries are executable
15681 postinstall_cmds='chmod +x $lib'
15684 sunos4*)
15685 version_type=sunos
15686 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15687 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15688 shlibpath_var=LD_LIBRARY_PATH
15689 shlibpath_overrides_runpath=yes
15690 if test "$with_gnu_ld" = yes; then
15691 need_lib_prefix=no
15693 need_version=yes
15696 sysv4 | sysv4.3*)
15697 version_type=linux
15698 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15699 soname_spec='${libname}${release}${shared_ext}$major'
15700 shlibpath_var=LD_LIBRARY_PATH
15701 case $host_vendor in
15702 sni)
15703 shlibpath_overrides_runpath=no
15704 need_lib_prefix=no
15705 runpath_var=LD_RUN_PATH
15707 siemens)
15708 need_lib_prefix=no
15710 motorola)
15711 need_lib_prefix=no
15712 need_version=no
15713 shlibpath_overrides_runpath=no
15714 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15716 esac
15719 sysv4*MP*)
15720 if test -d /usr/nec ;then
15721 version_type=linux
15722 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15723 soname_spec='$libname${shared_ext}.$major'
15724 shlibpath_var=LD_LIBRARY_PATH
15728 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15729 version_type=freebsd-elf
15730 need_lib_prefix=no
15731 need_version=no
15732 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15733 soname_spec='${libname}${release}${shared_ext}$major'
15734 shlibpath_var=LD_LIBRARY_PATH
15735 shlibpath_overrides_runpath=yes
15736 hardcode_into_libs=yes
15737 if test "$with_gnu_ld" = yes; then
15738 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15739 else
15740 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15741 case $host_os in
15742 sco3.2v5*)
15743 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15745 esac
15747 sys_lib_dlsearch_path_spec='/usr/lib'
15750 tpf*)
15751 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15752 version_type=linux
15753 need_lib_prefix=no
15754 need_version=no
15755 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15756 shlibpath_var=LD_LIBRARY_PATH
15757 shlibpath_overrides_runpath=no
15758 hardcode_into_libs=yes
15761 uts4*)
15762 version_type=linux
15763 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15764 soname_spec='${libname}${release}${shared_ext}$major'
15765 shlibpath_var=LD_LIBRARY_PATH
15769 dynamic_linker=no
15771 esac
15772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15773 $as_echo "$dynamic_linker" >&6; }
15774 test "$dynamic_linker" = no && can_build_shared=no
15776 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15777 if test "$GCC" = yes; then
15778 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15781 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15782 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15784 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15785 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15826 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15827 hardcode_action_CXX=
15828 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15829 test -n "$runpath_var_CXX" ||
15830 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15832 # We can hardcode non-existent directories.
15833 if test "$hardcode_direct_CXX" != no &&
15834 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15835 # have to relink, otherwise we might link with an installed library
15836 # when we should be linking with a yet-to-be-installed one
15837 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15838 test "$hardcode_minus_L_CXX" != no; then
15839 # Linking always hardcodes the temporary library directory.
15840 hardcode_action_CXX=relink
15841 else
15842 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15843 hardcode_action_CXX=immediate
15845 else
15846 # We cannot hardcode anything, or else we can only hardcode existing
15847 # directories.
15848 hardcode_action_CXX=unsupported
15850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15851 $as_echo "$hardcode_action_CXX" >&6; }
15853 if test "$hardcode_action_CXX" = relink ||
15854 test "$inherit_rpath_CXX" = yes; then
15855 # Fast installation is not supported
15856 enable_fast_install=no
15857 elif test "$shlibpath_overrides_runpath" = yes ||
15858 test "$enable_shared" = no; then
15859 # Fast installation is not necessary
15860 enable_fast_install=needless
15869 fi # test -n "$compiler"
15871 CC=$lt_save_CC
15872 CFLAGS=$lt_save_CFLAGS
15873 LDCXX=$LD
15874 LD=$lt_save_LD
15875 GCC=$lt_save_GCC
15876 with_gnu_ld=$lt_save_with_gnu_ld
15877 lt_cv_path_LDCXX=$lt_cv_path_LD
15878 lt_cv_path_LD=$lt_save_path_LD
15879 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15880 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15881 fi # test "$_lt_caught_CXX_error" != yes
15883 ac_ext=c
15884 ac_cpp='$CPP $CPPFLAGS'
15885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
15891 $as_echo_n "checking whether ln -s works... " >&6; }
15892 LN_S=$as_ln_s
15893 if test "$LN_S" = "ln -s"; then
15894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15895 $as_echo "yes" >&6; }
15896 else
15897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
15898 $as_echo "no, using $LN_S" >&6; }
15902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
15903 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
15904 set x ${MAKE-make}
15905 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
15906 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
15907 $as_echo_n "(cached) " >&6
15908 else
15909 cat >conftest.make <<\_ACEOF
15910 SHELL = /bin/sh
15911 all:
15912 @echo '@@@%%%=$(MAKE)=@@@%%%'
15913 _ACEOF
15914 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
15915 case `${MAKE-make} -f conftest.make 2>/dev/null` in
15916 *@@@%%%=?*=@@@%%%*)
15917 eval ac_cv_prog_make_${ac_make}_set=yes;;
15919 eval ac_cv_prog_make_${ac_make}_set=no;;
15920 esac
15921 rm -f conftest.make
15923 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
15924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15925 $as_echo "yes" >&6; }
15926 SET_MAKE=
15927 else
15928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15929 $as_echo "no" >&6; }
15930 SET_MAKE="MAKE=${MAKE-make}"
15935 # Extract the first word of "gengetopt", so it can be a program name with args.
15936 set dummy gengetopt; ac_word=$2
15937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15938 $as_echo_n "checking for $ac_word... " >&6; }
15939 if ${ac_cv_path_GENGETOPT+:} false; then :
15940 $as_echo_n "(cached) " >&6
15941 else
15942 case $GENGETOPT in
15943 [\\/]* | ?:[\\/]*)
15944 ac_cv_path_GENGETOPT="$GENGETOPT" # Let the user override the test with a path.
15947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15948 for as_dir in $PATH
15950 IFS=$as_save_IFS
15951 test -z "$as_dir" && as_dir=.
15952 for ac_exec_ext in '' $ac_executable_extensions; do
15953 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15954 ac_cv_path_GENGETOPT="$as_dir/$ac_word$ac_exec_ext"
15955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15956 break 2
15958 done
15959 done
15960 IFS=$as_save_IFS
15962 test -z "$ac_cv_path_GENGETOPT" && ac_cv_path_GENGETOPT="no"
15964 esac
15966 GENGETOPT=$ac_cv_path_GENGETOPT
15967 if test -n "$GENGETOPT"; then
15968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENGETOPT" >&5
15969 $as_echo "$GENGETOPT" >&6; }
15970 else
15971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15972 $as_echo "no" >&6; }
15976 if test x"$GENGETOPT" != "xno"; then
15977 HAVE_GENGETOPT_TRUE=
15978 HAVE_GENGETOPT_FALSE='#'
15979 else
15980 HAVE_GENGETOPT_TRUE='#'
15981 HAVE_GENGETOPT_FALSE=
15986 # Extract the first word of "doxygen", so it can be a program name with args.
15987 set dummy doxygen; ac_word=$2
15988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15989 $as_echo_n "checking for $ac_word... " >&6; }
15990 if ${ac_cv_path_DOXYGEN+:} false; then :
15991 $as_echo_n "(cached) " >&6
15992 else
15993 case $DOXYGEN in
15994 [\\/]* | ?:[\\/]*)
15995 ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
15998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15999 for as_dir in $PATH
16001 IFS=$as_save_IFS
16002 test -z "$as_dir" && as_dir=.
16003 for ac_exec_ext in '' $ac_executable_extensions; do
16004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16005 ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
16006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16007 break 2
16009 done
16010 done
16011 IFS=$as_save_IFS
16013 test -z "$ac_cv_path_DOXYGEN" && ac_cv_path_DOXYGEN="no"
16015 esac
16017 DOXYGEN=$ac_cv_path_DOXYGEN
16018 if test -n "$DOXYGEN"; then
16019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
16020 $as_echo "$DOXYGEN" >&6; }
16021 else
16022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16023 $as_echo "no" >&6; }
16027 if test x"$DOXYGEN" != "xno"; then
16028 HAVE_DOXYGEN_TRUE=
16029 HAVE_DOXYGEN_FALSE='#'
16030 else
16031 HAVE_DOXYGEN_TRUE='#'
16032 HAVE_DOXYGEN_FALSE=
16037 # Extract the first word of "prove", so it can be a program name with args.
16038 set dummy prove; ac_word=$2
16039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16040 $as_echo_n "checking for $ac_word... " >&6; }
16041 if ${ac_cv_path_PROVE+:} false; then :
16042 $as_echo_n "(cached) " >&6
16043 else
16044 case $PROVE in
16045 [\\/]* | ?:[\\/]*)
16046 ac_cv_path_PROVE="$PROVE" # Let the user override the test with a path.
16049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16050 for as_dir in $PATH
16052 IFS=$as_save_IFS
16053 test -z "$as_dir" && as_dir=.
16054 for ac_exec_ext in '' $ac_executable_extensions; do
16055 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16056 ac_cv_path_PROVE="$as_dir/$ac_word$ac_exec_ext"
16057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16058 break 2
16060 done
16061 done
16062 IFS=$as_save_IFS
16064 test -z "$ac_cv_path_PROVE" && ac_cv_path_PROVE="no"
16066 esac
16068 PROVE=$ac_cv_path_PROVE
16069 if test -n "$PROVE"; then
16070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PROVE" >&5
16071 $as_echo "$PROVE" >&6; }
16072 else
16073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16074 $as_echo "no" >&6; }
16078 if test x"$PROVE" != "xno"; then
16079 HAVE_PROVE_TRUE=
16080 HAVE_PROVE_FALSE='#'
16081 else
16082 HAVE_PROVE_TRUE='#'
16083 HAVE_PROVE_FALSE=
16088 # Extract the first word of "valgrind", so it can be a program name with args.
16089 set dummy valgrind; ac_word=$2
16090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16091 $as_echo_n "checking for $ac_word... " >&6; }
16092 if ${ac_cv_path_VALGRIND+:} false; then :
16093 $as_echo_n "(cached) " >&6
16094 else
16095 case $VALGRIND in
16096 [\\/]* | ?:[\\/]*)
16097 ac_cv_path_VALGRIND="$VALGRIND" # Let the user override the test with a path.
16100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16101 for as_dir in $PATH
16103 IFS=$as_save_IFS
16104 test -z "$as_dir" && as_dir=.
16105 for ac_exec_ext in '' $ac_executable_extensions; do
16106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16107 ac_cv_path_VALGRIND="$as_dir/$ac_word$ac_exec_ext"
16108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16109 break 2
16111 done
16112 done
16113 IFS=$as_save_IFS
16115 test -z "$ac_cv_path_VALGRIND" && ac_cv_path_VALGRIND="no"
16117 esac
16119 VALGRIND=$ac_cv_path_VALGRIND
16120 if test -n "$VALGRIND"; then
16121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALGRIND" >&5
16122 $as_echo "$VALGRIND" >&6; }
16123 else
16124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16125 $as_echo "no" >&6; }
16129 if test x"$VALGRIND" != "xno"; then
16130 HAVE_VALGRIND_TRUE=
16131 HAVE_VALGRIND_FALSE='#'
16132 else
16133 HAVE_VALGRIND_TRUE='#'
16134 HAVE_VALGRIND_FALSE=
16139 # Extract the first word of "pod2man", so it can be a program name with args.
16140 set dummy pod2man; ac_word=$2
16141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16142 $as_echo_n "checking for $ac_word... " >&6; }
16143 if ${ac_cv_path_POD2MAN+:} false; then :
16144 $as_echo_n "(cached) " >&6
16145 else
16146 case $POD2MAN in
16147 [\\/]* | ?:[\\/]*)
16148 ac_cv_path_POD2MAN="$POD2MAN" # Let the user override the test with a path.
16151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16152 for as_dir in $PATH
16154 IFS=$as_save_IFS
16155 test -z "$as_dir" && as_dir=.
16156 for ac_exec_ext in '' $ac_executable_extensions; do
16157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16158 ac_cv_path_POD2MAN="$as_dir/$ac_word$ac_exec_ext"
16159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16160 break 2
16162 done
16163 done
16164 IFS=$as_save_IFS
16166 test -z "$ac_cv_path_POD2MAN" && ac_cv_path_POD2MAN="no"
16168 esac
16170 POD2MAN=$ac_cv_path_POD2MAN
16171 if test -n "$POD2MAN"; then
16172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $POD2MAN" >&5
16173 $as_echo "$POD2MAN" >&6; }
16174 else
16175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16176 $as_echo "no" >&6; }
16180 if test x"$POD2MAN" != "xno"; then
16181 HAVE_POD2MAN_TRUE=
16182 HAVE_POD2MAN_FALSE='#'
16183 else
16184 HAVE_POD2MAN_TRUE='#'
16185 HAVE_POD2MAN_FALSE=
16190 # Extract the first word of "pod2html", so it can be a program name with args.
16191 set dummy pod2html; ac_word=$2
16192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16193 $as_echo_n "checking for $ac_word... " >&6; }
16194 if ${ac_cv_path_POD2HTML+:} false; then :
16195 $as_echo_n "(cached) " >&6
16196 else
16197 case $POD2HTML in
16198 [\\/]* | ?:[\\/]*)
16199 ac_cv_path_POD2HTML="$POD2HTML" # Let the user override the test with a path.
16202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16203 for as_dir in $PATH
16205 IFS=$as_save_IFS
16206 test -z "$as_dir" && as_dir=.
16207 for ac_exec_ext in '' $ac_executable_extensions; do
16208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16209 ac_cv_path_POD2HTML="$as_dir/$ac_word$ac_exec_ext"
16210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16211 break 2
16213 done
16214 done
16215 IFS=$as_save_IFS
16217 test -z "$ac_cv_path_POD2HTML" && ac_cv_path_POD2HTML="no"
16219 esac
16221 POD2HTML=$ac_cv_path_POD2HTML
16222 if test -n "$POD2HTML"; then
16223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $POD2HTML" >&5
16224 $as_echo "$POD2HTML" >&6; }
16225 else
16226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16227 $as_echo "no" >&6; }
16231 if test x"$POD2HTML" != "xno"; then
16232 HAVE_POD2HTML_TRUE=
16233 HAVE_POD2HTML_FALSE='#'
16234 else
16235 HAVE_POD2HTML_TRUE='#'
16236 HAVE_POD2HTML_FALSE=
16241 # Extract the first word of "date", so it can be a program name with args.
16242 set dummy date; ac_word=$2
16243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16244 $as_echo_n "checking for $ac_word... " >&6; }
16245 if ${ac_cv_path_DATE+:} false; then :
16246 $as_echo_n "(cached) " >&6
16247 else
16248 case $DATE in
16249 [\\/]* | ?:[\\/]*)
16250 ac_cv_path_DATE="$DATE" # Let the user override the test with a path.
16253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16254 for as_dir in $PATH
16256 IFS=$as_save_IFS
16257 test -z "$as_dir" && as_dir=.
16258 for ac_exec_ext in '' $ac_executable_extensions; do
16259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16260 ac_cv_path_DATE="$as_dir/$ac_word$ac_exec_ext"
16261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16262 break 2
16264 done
16265 done
16266 IFS=$as_save_IFS
16268 test -z "$ac_cv_path_DATE" && ac_cv_path_DATE="no"
16270 esac
16272 DATE=$ac_cv_path_DATE
16273 if test -n "$DATE"; then
16274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DATE" >&5
16275 $as_echo "$DATE" >&6; }
16276 else
16277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16278 $as_echo "no" >&6; }
16282 if test x"$DATE" != "xno" ; then
16283 build_date=`"$DATE" +%Y-%m-%d 2>/dev/null`
16284 if test x"$build_date" != "x" ; then
16286 cat >>confdefs.h <<_ACEOF
16287 #define BUILD_DATE "$build_date"
16288 _ACEOF
16293 # Extract the first word of "git", so it can be a program name with args.
16294 set dummy git; ac_word=$2
16295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16296 $as_echo_n "checking for $ac_word... " >&6; }
16297 if ${ac_cv_path_GIT+:} false; then :
16298 $as_echo_n "(cached) " >&6
16299 else
16300 case $GIT in
16301 [\\/]* | ?:[\\/]*)
16302 ac_cv_path_GIT="$GIT" # Let the user override the test with a path.
16305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16306 for as_dir in $PATH
16308 IFS=$as_save_IFS
16309 test -z "$as_dir" && as_dir=.
16310 for ac_exec_ext in '' $ac_executable_extensions; do
16311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16312 ac_cv_path_GIT="$as_dir/$ac_word$ac_exec_ext"
16313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16314 break 2
16316 done
16317 done
16318 IFS=$as_save_IFS
16320 test -z "$ac_cv_path_GIT" && ac_cv_path_GIT="no"
16322 esac
16324 GIT=$ac_cv_path_GIT
16325 if test -n "$GIT"; then
16326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIT" >&5
16327 $as_echo "$GIT" >&6; }
16328 else
16329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16330 $as_echo "no" >&6; }
16334 if test x"$GIT" != "xno" ; then
16335 QUVI_BRANCH=master
16336 git_describe=`"$GIT" describe "$QUVI_BRANCH" 2>/dev/null`
16337 if test x"$git_describe" != "x" ; then
16339 cat >>confdefs.h <<_ACEOF
16340 #define GIT_DESCRIBE "$git_describe"
16341 _ACEOF
16346 # Checks for libraries.
16348 if test "X$prefix" = "XNONE"; then
16349 acl_final_prefix="$ac_default_prefix"
16350 else
16351 acl_final_prefix="$prefix"
16353 if test "X$exec_prefix" = "XNONE"; then
16354 acl_final_exec_prefix='${prefix}'
16355 else
16356 acl_final_exec_prefix="$exec_prefix"
16358 acl_save_prefix="$prefix"
16359 prefix="$acl_final_prefix"
16360 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
16361 prefix="$acl_save_prefix"
16364 # Check whether --with-gnu-ld was given.
16365 if test "${with_gnu_ld+set}" = set; then :
16366 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
16367 else
16368 with_gnu_ld=no
16371 # Prepare PATH_SEPARATOR.
16372 # The user is always right.
16373 if test "${PATH_SEPARATOR+set}" != set; then
16374 echo "#! /bin/sh" >conf$$.sh
16375 echo "exit 0" >>conf$$.sh
16376 chmod +x conf$$.sh
16377 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
16378 PATH_SEPARATOR=';'
16379 else
16380 PATH_SEPARATOR=:
16382 rm -f conf$$.sh
16384 ac_prog=ld
16385 if test "$GCC" = yes; then
16386 # Check if gcc -print-prog-name=ld gives a path.
16387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
16388 $as_echo_n "checking for ld used by GCC... " >&6; }
16389 case $host in
16390 *-*-mingw*)
16391 # gcc leaves a trailing carriage return which upsets mingw
16392 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
16394 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
16395 esac
16396 case $ac_prog in
16397 # Accept absolute paths.
16398 [\\/]* | [A-Za-z]:[\\/]*)
16399 re_direlt='/[^/][^/]*/\.\./'
16400 # Canonicalize the path of ld
16401 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
16402 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
16403 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
16404 done
16405 test -z "$LD" && LD="$ac_prog"
16408 # If it fails, then pretend we aren't using GCC.
16409 ac_prog=ld
16412 # If it is relative, then search for the first ld in PATH.
16413 with_gnu_ld=unknown
16415 esac
16416 elif test "$with_gnu_ld" = yes; then
16417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
16418 $as_echo_n "checking for GNU ld... " >&6; }
16419 else
16420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
16421 $as_echo_n "checking for non-GNU ld... " >&6; }
16423 if ${acl_cv_path_LD+:} false; then :
16424 $as_echo_n "(cached) " >&6
16425 else
16426 if test -z "$LD"; then
16427 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
16428 for ac_dir in $PATH; do
16429 test -z "$ac_dir" && ac_dir=.
16430 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
16431 acl_cv_path_LD="$ac_dir/$ac_prog"
16432 # Check to see if the program is GNU ld. I'd rather use --version,
16433 # but apparently some GNU ld's only accept -v.
16434 # Break only if it was the GNU/non-GNU ld that we prefer.
16435 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
16436 *GNU* | *'with BFD'*)
16437 test "$with_gnu_ld" != no && break ;;
16439 test "$with_gnu_ld" != yes && break ;;
16440 esac
16442 done
16443 IFS="$ac_save_ifs"
16444 else
16445 acl_cv_path_LD="$LD" # Let the user override the test with a path.
16449 LD="$acl_cv_path_LD"
16450 if test -n "$LD"; then
16451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
16452 $as_echo "$LD" >&6; }
16453 else
16454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16455 $as_echo "no" >&6; }
16457 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
16458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
16459 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
16460 if ${acl_cv_prog_gnu_ld+:} false; then :
16461 $as_echo_n "(cached) " >&6
16462 else
16463 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
16464 case `$LD -v 2>&1 </dev/null` in
16465 *GNU* | *'with BFD'*)
16466 acl_cv_prog_gnu_ld=yes ;;
16468 acl_cv_prog_gnu_ld=no ;;
16469 esac
16471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
16472 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
16473 with_gnu_ld=$acl_cv_prog_gnu_ld
16478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
16479 $as_echo_n "checking for shared library run path origin... " >&6; }
16480 if ${acl_cv_rpath+:} false; then :
16481 $as_echo_n "(cached) " >&6
16482 else
16484 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
16485 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
16486 . ./conftest.sh
16487 rm -f ./conftest.sh
16488 acl_cv_rpath=done
16491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
16492 $as_echo "$acl_cv_rpath" >&6; }
16493 wl="$acl_cv_wl"
16494 acl_libext="$acl_cv_libext"
16495 acl_shlibext="$acl_cv_shlibext"
16496 acl_libname_spec="$acl_cv_libname_spec"
16497 acl_library_names_spec="$acl_cv_library_names_spec"
16498 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
16499 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
16500 acl_hardcode_direct="$acl_cv_hardcode_direct"
16501 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
16502 # Check whether --enable-rpath was given.
16503 if test "${enable_rpath+set}" = set; then :
16504 enableval=$enable_rpath; :
16505 else
16506 enable_rpath=yes
16512 acl_libdirstem=lib
16513 acl_libdirstem2=
16514 case "$host_os" in
16515 solaris*)
16516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
16517 $as_echo_n "checking for 64-bit host... " >&6; }
16518 if ${gl_cv_solaris_64bit+:} false; then :
16519 $as_echo_n "(cached) " >&6
16520 else
16521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16522 /* end confdefs.h. */
16524 #ifdef _LP64
16525 sixtyfour bits
16526 #endif
16528 _ACEOF
16529 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16530 $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
16531 gl_cv_solaris_64bit=yes
16532 else
16533 gl_cv_solaris_64bit=no
16535 rm -f conftest*
16539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
16540 $as_echo "$gl_cv_solaris_64bit" >&6; }
16541 if test $gl_cv_solaris_64bit = yes; then
16542 acl_libdirstem=lib/64
16543 case "$host_cpu" in
16544 sparc*) acl_libdirstem2=lib/sparcv9 ;;
16545 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
16546 esac
16550 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
16551 if test -n "$searchpath"; then
16552 acl_save_IFS="${IFS= }"; IFS=":"
16553 for searchdir in $searchpath; do
16554 if test -d "$searchdir"; then
16555 case "$searchdir" in
16556 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
16557 */../ | */.. )
16558 # Better ignore directories of this form. They are misleading.
16560 *) searchdir=`cd "$searchdir" && pwd`
16561 case "$searchdir" in
16562 */lib64 ) acl_libdirstem=lib64 ;;
16563 esac ;;
16564 esac
16566 done
16567 IFS="$acl_save_IFS"
16570 esac
16571 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
16584 use_additional=yes
16586 acl_save_prefix="$prefix"
16587 prefix="$acl_final_prefix"
16588 acl_save_exec_prefix="$exec_prefix"
16589 exec_prefix="$acl_final_exec_prefix"
16591 eval additional_includedir=\"$includedir\"
16592 eval additional_libdir=\"$libdir\"
16594 exec_prefix="$acl_save_exec_prefix"
16595 prefix="$acl_save_prefix"
16598 # Check whether --with-libiconv-prefix was given.
16599 if test "${with_libiconv_prefix+set}" = set; then :
16600 withval=$with_libiconv_prefix;
16601 if test "X$withval" = "Xno"; then
16602 use_additional=no
16603 else
16604 if test "X$withval" = "X"; then
16606 acl_save_prefix="$prefix"
16607 prefix="$acl_final_prefix"
16608 acl_save_exec_prefix="$exec_prefix"
16609 exec_prefix="$acl_final_exec_prefix"
16611 eval additional_includedir=\"$includedir\"
16612 eval additional_libdir=\"$libdir\"
16614 exec_prefix="$acl_save_exec_prefix"
16615 prefix="$acl_save_prefix"
16617 else
16618 additional_includedir="$withval/include"
16619 additional_libdir="$withval/$acl_libdirstem"
16620 if test "$acl_libdirstem2" != "$acl_libdirstem" \
16621 && ! test -d "$withval/$acl_libdirstem"; then
16622 additional_libdir="$withval/$acl_libdirstem2"
16629 LIBICONV=
16630 LTLIBICONV=
16631 INCICONV=
16632 LIBICONV_PREFIX=
16633 HAVE_LIBICONV=
16634 rpathdirs=
16635 ltrpathdirs=
16636 names_already_handled=
16637 names_next_round='iconv '
16638 while test -n "$names_next_round"; do
16639 names_this_round="$names_next_round"
16640 names_next_round=
16641 for name in $names_this_round; do
16642 already_handled=
16643 for n in $names_already_handled; do
16644 if test "$n" = "$name"; then
16645 already_handled=yes
16646 break
16648 done
16649 if test -z "$already_handled"; then
16650 names_already_handled="$names_already_handled $name"
16651 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
16652 eval value=\"\$HAVE_LIB$uppername\"
16653 if test -n "$value"; then
16654 if test "$value" = yes; then
16655 eval value=\"\$LIB$uppername\"
16656 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
16657 eval value=\"\$LTLIB$uppername\"
16658 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
16659 else
16662 else
16663 found_dir=
16664 found_la=
16665 found_so=
16666 found_a=
16667 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
16668 if test -n "$acl_shlibext"; then
16669 shrext=".$acl_shlibext" # typically: shrext=.so
16670 else
16671 shrext=
16673 if test $use_additional = yes; then
16674 dir="$additional_libdir"
16675 if test -n "$acl_shlibext"; then
16676 if test -f "$dir/$libname$shrext"; then
16677 found_dir="$dir"
16678 found_so="$dir/$libname$shrext"
16679 else
16680 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
16681 ver=`(cd "$dir" && \
16682 for f in "$libname$shrext".*; do echo "$f"; done \
16683 | sed -e "s,^$libname$shrext\\\\.,," \
16684 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
16685 | sed 1q ) 2>/dev/null`
16686 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
16687 found_dir="$dir"
16688 found_so="$dir/$libname$shrext.$ver"
16690 else
16691 eval library_names=\"$acl_library_names_spec\"
16692 for f in $library_names; do
16693 if test -f "$dir/$f"; then
16694 found_dir="$dir"
16695 found_so="$dir/$f"
16696 break
16698 done
16702 if test "X$found_dir" = "X"; then
16703 if test -f "$dir/$libname.$acl_libext"; then
16704 found_dir="$dir"
16705 found_a="$dir/$libname.$acl_libext"
16708 if test "X$found_dir" != "X"; then
16709 if test -f "$dir/$libname.la"; then
16710 found_la="$dir/$libname.la"
16714 if test "X$found_dir" = "X"; then
16715 for x in $LDFLAGS $LTLIBICONV; do
16717 acl_save_prefix="$prefix"
16718 prefix="$acl_final_prefix"
16719 acl_save_exec_prefix="$exec_prefix"
16720 exec_prefix="$acl_final_exec_prefix"
16721 eval x=\"$x\"
16722 exec_prefix="$acl_save_exec_prefix"
16723 prefix="$acl_save_prefix"
16725 case "$x" in
16726 -L*)
16727 dir=`echo "X$x" | sed -e 's/^X-L//'`
16728 if test -n "$acl_shlibext"; then
16729 if test -f "$dir/$libname$shrext"; then
16730 found_dir="$dir"
16731 found_so="$dir/$libname$shrext"
16732 else
16733 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
16734 ver=`(cd "$dir" && \
16735 for f in "$libname$shrext".*; do echo "$f"; done \
16736 | sed -e "s,^$libname$shrext\\\\.,," \
16737 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
16738 | sed 1q ) 2>/dev/null`
16739 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
16740 found_dir="$dir"
16741 found_so="$dir/$libname$shrext.$ver"
16743 else
16744 eval library_names=\"$acl_library_names_spec\"
16745 for f in $library_names; do
16746 if test -f "$dir/$f"; then
16747 found_dir="$dir"
16748 found_so="$dir/$f"
16749 break
16751 done
16755 if test "X$found_dir" = "X"; then
16756 if test -f "$dir/$libname.$acl_libext"; then
16757 found_dir="$dir"
16758 found_a="$dir/$libname.$acl_libext"
16761 if test "X$found_dir" != "X"; then
16762 if test -f "$dir/$libname.la"; then
16763 found_la="$dir/$libname.la"
16767 esac
16768 if test "X$found_dir" != "X"; then
16769 break
16771 done
16773 if test "X$found_dir" != "X"; then
16774 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
16775 if test "X$found_so" != "X"; then
16776 if test "$enable_rpath" = no \
16777 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
16778 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
16779 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
16780 else
16781 haveit=
16782 for x in $ltrpathdirs; do
16783 if test "X$x" = "X$found_dir"; then
16784 haveit=yes
16785 break
16787 done
16788 if test -z "$haveit"; then
16789 ltrpathdirs="$ltrpathdirs $found_dir"
16791 if test "$acl_hardcode_direct" = yes; then
16792 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
16793 else
16794 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
16795 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
16796 haveit=
16797 for x in $rpathdirs; do
16798 if test "X$x" = "X$found_dir"; then
16799 haveit=yes
16800 break
16802 done
16803 if test -z "$haveit"; then
16804 rpathdirs="$rpathdirs $found_dir"
16806 else
16807 haveit=
16808 for x in $LDFLAGS $LIBICONV; do
16810 acl_save_prefix="$prefix"
16811 prefix="$acl_final_prefix"
16812 acl_save_exec_prefix="$exec_prefix"
16813 exec_prefix="$acl_final_exec_prefix"
16814 eval x=\"$x\"
16815 exec_prefix="$acl_save_exec_prefix"
16816 prefix="$acl_save_prefix"
16818 if test "X$x" = "X-L$found_dir"; then
16819 haveit=yes
16820 break
16822 done
16823 if test -z "$haveit"; then
16824 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
16826 if test "$acl_hardcode_minus_L" != no; then
16827 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
16828 else
16829 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
16834 else
16835 if test "X$found_a" != "X"; then
16836 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
16837 else
16838 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
16841 additional_includedir=
16842 case "$found_dir" in
16843 */$acl_libdirstem | */$acl_libdirstem/)
16844 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
16845 if test "$name" = 'iconv'; then
16846 LIBICONV_PREFIX="$basedir"
16848 additional_includedir="$basedir/include"
16850 */$acl_libdirstem2 | */$acl_libdirstem2/)
16851 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
16852 if test "$name" = 'iconv'; then
16853 LIBICONV_PREFIX="$basedir"
16855 additional_includedir="$basedir/include"
16857 esac
16858 if test "X$additional_includedir" != "X"; then
16859 if test "X$additional_includedir" != "X/usr/include"; then
16860 haveit=
16861 if test "X$additional_includedir" = "X/usr/local/include"; then
16862 if test -n "$GCC"; then
16863 case $host_os in
16864 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
16865 esac
16868 if test -z "$haveit"; then
16869 for x in $CPPFLAGS $INCICONV; do
16871 acl_save_prefix="$prefix"
16872 prefix="$acl_final_prefix"
16873 acl_save_exec_prefix="$exec_prefix"
16874 exec_prefix="$acl_final_exec_prefix"
16875 eval x=\"$x\"
16876 exec_prefix="$acl_save_exec_prefix"
16877 prefix="$acl_save_prefix"
16879 if test "X$x" = "X-I$additional_includedir"; then
16880 haveit=yes
16881 break
16883 done
16884 if test -z "$haveit"; then
16885 if test -d "$additional_includedir"; then
16886 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
16892 if test -n "$found_la"; then
16893 save_libdir="$libdir"
16894 case "$found_la" in
16895 */* | *\\*) . "$found_la" ;;
16896 *) . "./$found_la" ;;
16897 esac
16898 libdir="$save_libdir"
16899 for dep in $dependency_libs; do
16900 case "$dep" in
16901 -L*)
16902 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
16903 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
16904 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
16905 haveit=
16906 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
16907 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
16908 if test -n "$GCC"; then
16909 case $host_os in
16910 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
16911 esac
16914 if test -z "$haveit"; then
16915 haveit=
16916 for x in $LDFLAGS $LIBICONV; do
16918 acl_save_prefix="$prefix"
16919 prefix="$acl_final_prefix"
16920 acl_save_exec_prefix="$exec_prefix"
16921 exec_prefix="$acl_final_exec_prefix"
16922 eval x=\"$x\"
16923 exec_prefix="$acl_save_exec_prefix"
16924 prefix="$acl_save_prefix"
16926 if test "X$x" = "X-L$additional_libdir"; then
16927 haveit=yes
16928 break
16930 done
16931 if test -z "$haveit"; then
16932 if test -d "$additional_libdir"; then
16933 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
16936 haveit=
16937 for x in $LDFLAGS $LTLIBICONV; do
16939 acl_save_prefix="$prefix"
16940 prefix="$acl_final_prefix"
16941 acl_save_exec_prefix="$exec_prefix"
16942 exec_prefix="$acl_final_exec_prefix"
16943 eval x=\"$x\"
16944 exec_prefix="$acl_save_exec_prefix"
16945 prefix="$acl_save_prefix"
16947 if test "X$x" = "X-L$additional_libdir"; then
16948 haveit=yes
16949 break
16951 done
16952 if test -z "$haveit"; then
16953 if test -d "$additional_libdir"; then
16954 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
16960 -R*)
16961 dir=`echo "X$dep" | sed -e 's/^X-R//'`
16962 if test "$enable_rpath" != no; then
16963 haveit=
16964 for x in $rpathdirs; do
16965 if test "X$x" = "X$dir"; then
16966 haveit=yes
16967 break
16969 done
16970 if test -z "$haveit"; then
16971 rpathdirs="$rpathdirs $dir"
16973 haveit=
16974 for x in $ltrpathdirs; do
16975 if test "X$x" = "X$dir"; then
16976 haveit=yes
16977 break
16979 done
16980 if test -z "$haveit"; then
16981 ltrpathdirs="$ltrpathdirs $dir"
16985 -l*)
16986 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
16988 *.la)
16989 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
16992 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
16993 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
16995 esac
16996 done
16998 else
16999 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
17000 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
17004 done
17005 done
17006 if test "X$rpathdirs" != "X"; then
17007 if test -n "$acl_hardcode_libdir_separator"; then
17008 alldirs=
17009 for found_dir in $rpathdirs; do
17010 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
17011 done
17012 acl_save_libdir="$libdir"
17013 libdir="$alldirs"
17014 eval flag=\"$acl_hardcode_libdir_flag_spec\"
17015 libdir="$acl_save_libdir"
17016 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
17017 else
17018 for found_dir in $rpathdirs; do
17019 acl_save_libdir="$libdir"
17020 libdir="$found_dir"
17021 eval flag=\"$acl_hardcode_libdir_flag_spec\"
17022 libdir="$acl_save_libdir"
17023 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
17024 done
17027 if test "X$ltrpathdirs" != "X"; then
17028 for found_dir in $ltrpathdirs; do
17029 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
17030 done
17044 am_save_CPPFLAGS="$CPPFLAGS"
17046 for element in $INCICONV; do
17047 haveit=
17048 for x in $CPPFLAGS; do
17050 acl_save_prefix="$prefix"
17051 prefix="$acl_final_prefix"
17052 acl_save_exec_prefix="$exec_prefix"
17053 exec_prefix="$acl_final_exec_prefix"
17054 eval x=\"$x\"
17055 exec_prefix="$acl_save_exec_prefix"
17056 prefix="$acl_save_prefix"
17058 if test "X$x" = "X$element"; then
17059 haveit=yes
17060 break
17062 done
17063 if test -z "$haveit"; then
17064 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
17066 done
17069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
17070 $as_echo_n "checking for iconv... " >&6; }
17071 if ${am_cv_func_iconv+:} false; then :
17072 $as_echo_n "(cached) " >&6
17073 else
17075 am_cv_func_iconv="no, consider installing GNU libiconv"
17076 am_cv_lib_iconv=no
17077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17078 /* end confdefs.h. */
17079 #include <stdlib.h>
17080 #include <iconv.h>
17082 main ()
17084 iconv_t cd = iconv_open("","");
17085 iconv(cd,NULL,NULL,NULL,NULL);
17086 iconv_close(cd);
17088 return 0;
17090 _ACEOF
17091 if ac_fn_c_try_link "$LINENO"; then :
17092 am_cv_func_iconv=yes
17094 rm -f core conftest.err conftest.$ac_objext \
17095 conftest$ac_exeext conftest.$ac_ext
17096 if test "$am_cv_func_iconv" != yes; then
17097 am_save_LIBS="$LIBS"
17098 LIBS="$LIBS $LIBICONV"
17099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17100 /* end confdefs.h. */
17101 #include <stdlib.h>
17102 #include <iconv.h>
17104 main ()
17106 iconv_t cd = iconv_open("","");
17107 iconv(cd,NULL,NULL,NULL,NULL);
17108 iconv_close(cd);
17110 return 0;
17112 _ACEOF
17113 if ac_fn_c_try_link "$LINENO"; then :
17114 am_cv_lib_iconv=yes
17115 am_cv_func_iconv=yes
17117 rm -f core conftest.err conftest.$ac_objext \
17118 conftest$ac_exeext conftest.$ac_ext
17119 LIBS="$am_save_LIBS"
17123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
17124 $as_echo "$am_cv_func_iconv" >&6; }
17125 if test "$am_cv_func_iconv" = yes; then
17126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
17127 $as_echo_n "checking for working iconv... " >&6; }
17128 if ${am_cv_func_iconv_works+:} false; then :
17129 $as_echo_n "(cached) " >&6
17130 else
17132 am_save_LIBS="$LIBS"
17133 if test $am_cv_lib_iconv = yes; then
17134 LIBS="$LIBS $LIBICONV"
17136 if test "$cross_compiling" = yes; then :
17137 case "$host_os" in
17138 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
17139 *) am_cv_func_iconv_works="guessing yes" ;;
17140 esac
17141 else
17142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17143 /* end confdefs.h. */
17145 #include <iconv.h>
17146 #include <string.h>
17147 int main ()
17149 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
17150 returns. */
17152 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
17153 if (cd_utf8_to_88591 != (iconv_t)(-1))
17155 static const char input[] = "\342\202\254"; /* EURO SIGN */
17156 char buf[10];
17157 const char *inptr = input;
17158 size_t inbytesleft = strlen (input);
17159 char *outptr = buf;
17160 size_t outbytesleft = sizeof (buf);
17161 size_t res = iconv (cd_utf8_to_88591,
17162 (char **) &inptr, &inbytesleft,
17163 &outptr, &outbytesleft);
17164 if (res == 0)
17165 return 1;
17168 /* Test against Solaris 10 bug: Failures are not distinguishable from
17169 successful returns. */
17171 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
17172 if (cd_ascii_to_88591 != (iconv_t)(-1))
17174 static const char input[] = "\263";
17175 char buf[10];
17176 const char *inptr = input;
17177 size_t inbytesleft = strlen (input);
17178 char *outptr = buf;
17179 size_t outbytesleft = sizeof (buf);
17180 size_t res = iconv (cd_ascii_to_88591,
17181 (char **) &inptr, &inbytesleft,
17182 &outptr, &outbytesleft);
17183 if (res == 0)
17184 return 1;
17187 #if 0 /* This bug could be worked around by the caller. */
17188 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
17190 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
17191 if (cd_88591_to_utf8 != (iconv_t)(-1))
17193 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
17194 char buf[50];
17195 const char *inptr = input;
17196 size_t inbytesleft = strlen (input);
17197 char *outptr = buf;
17198 size_t outbytesleft = sizeof (buf);
17199 size_t res = iconv (cd_88591_to_utf8,
17200 (char **) &inptr, &inbytesleft,
17201 &outptr, &outbytesleft);
17202 if ((int)res > 0)
17203 return 1;
17206 #endif
17207 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
17208 provided. */
17209 if (/* Try standardized names. */
17210 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
17211 /* Try IRIX, OSF/1 names. */
17212 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
17213 /* Try AIX names. */
17214 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
17215 /* Try HP-UX names. */
17216 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
17217 return 1;
17218 return 0;
17220 _ACEOF
17221 if ac_fn_c_try_run "$LINENO"; then :
17222 am_cv_func_iconv_works=yes
17223 else
17224 am_cv_func_iconv_works=no
17226 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17227 conftest.$ac_objext conftest.beam conftest.$ac_ext
17230 LIBS="$am_save_LIBS"
17233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
17234 $as_echo "$am_cv_func_iconv_works" >&6; }
17235 case "$am_cv_func_iconv_works" in
17236 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
17237 *) am_func_iconv=yes ;;
17238 esac
17239 else
17240 am_func_iconv=no am_cv_lib_iconv=no
17242 if test "$am_func_iconv" = yes; then
17244 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
17247 if test "$am_cv_lib_iconv" = yes; then
17248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
17249 $as_echo_n "checking how to link with libiconv... " >&6; }
17250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
17251 $as_echo "$LIBICONV" >&6; }
17252 else
17253 CPPFLAGS="$am_save_CPPFLAGS"
17254 LIBICONV=
17255 LTLIBICONV=
17260 if test "$am_cv_func_iconv" = yes; then
17261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
17262 $as_echo_n "checking for iconv declaration... " >&6; }
17263 if ${am_cv_proto_iconv+:} false; then :
17264 $as_echo_n "(cached) " >&6
17265 else
17267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17268 /* end confdefs.h. */
17270 #include <stdlib.h>
17271 #include <iconv.h>
17272 extern
17273 #ifdef __cplusplus
17275 #endif
17276 #if defined(__STDC__) || defined(__cplusplus)
17277 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
17278 #else
17279 size_t iconv();
17280 #endif
17283 main ()
17287 return 0;
17289 _ACEOF
17290 if ac_fn_c_try_compile "$LINENO"; then :
17291 am_cv_proto_iconv_arg1=""
17292 else
17293 am_cv_proto_iconv_arg1="const"
17295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17296 am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
17299 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
17300 { $as_echo "$as_me:${as_lineno-$LINENO}: result:
17301 $am_cv_proto_iconv" >&5
17302 $as_echo "
17303 $am_cv_proto_iconv" >&6; }
17305 cat >>confdefs.h <<_ACEOF
17306 #define ICONV_CONST $am_cv_proto_iconv_arg1
17307 _ACEOF
17317 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
17318 if test -n "$ac_tool_prefix"; then
17319 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
17320 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
17321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17322 $as_echo_n "checking for $ac_word... " >&6; }
17323 if ${ac_cv_path_PKG_CONFIG+:} false; then :
17324 $as_echo_n "(cached) " >&6
17325 else
17326 case $PKG_CONFIG in
17327 [\\/]* | ?:[\\/]*)
17328 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
17331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17332 for as_dir in $PATH
17334 IFS=$as_save_IFS
17335 test -z "$as_dir" && as_dir=.
17336 for ac_exec_ext in '' $ac_executable_extensions; do
17337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17338 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17340 break 2
17342 done
17343 done
17344 IFS=$as_save_IFS
17347 esac
17349 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
17350 if test -n "$PKG_CONFIG"; then
17351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17352 $as_echo "$PKG_CONFIG" >&6; }
17353 else
17354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17355 $as_echo "no" >&6; }
17360 if test -z "$ac_cv_path_PKG_CONFIG"; then
17361 ac_pt_PKG_CONFIG=$PKG_CONFIG
17362 # Extract the first word of "pkg-config", so it can be a program name with args.
17363 set dummy pkg-config; ac_word=$2
17364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17365 $as_echo_n "checking for $ac_word... " >&6; }
17366 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
17367 $as_echo_n "(cached) " >&6
17368 else
17369 case $ac_pt_PKG_CONFIG in
17370 [\\/]* | ?:[\\/]*)
17371 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
17374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17375 for as_dir in $PATH
17377 IFS=$as_save_IFS
17378 test -z "$as_dir" && as_dir=.
17379 for ac_exec_ext in '' $ac_executable_extensions; do
17380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17381 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17382 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17383 break 2
17385 done
17386 done
17387 IFS=$as_save_IFS
17390 esac
17392 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
17393 if test -n "$ac_pt_PKG_CONFIG"; then
17394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
17395 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
17396 else
17397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17398 $as_echo "no" >&6; }
17401 if test "x$ac_pt_PKG_CONFIG" = x; then
17402 PKG_CONFIG=""
17403 else
17404 case $cross_compiling:$ac_tool_warned in
17405 yes:)
17406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17407 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17408 ac_tool_warned=yes ;;
17409 esac
17410 PKG_CONFIG=$ac_pt_PKG_CONFIG
17412 else
17413 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
17417 if test -n "$PKG_CONFIG"; then
17418 _pkg_min_version=0.9.0
17419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
17420 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
17421 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
17422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17423 $as_echo "yes" >&6; }
17424 else
17425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17426 $as_echo "no" >&6; }
17427 PKG_CONFIG=""
17431 pkg_failed=no
17432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcurl" >&5
17433 $as_echo_n "checking for libcurl... " >&6; }
17435 if test -n "$libcurl_CFLAGS"; then
17436 pkg_cv_libcurl_CFLAGS="$libcurl_CFLAGS"
17437 elif test -n "$PKG_CONFIG"; then
17438 if test -n "$PKG_CONFIG" && \
17439 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= 7.18.0\""; } >&5
17440 ($PKG_CONFIG --exists --print-errors "libcurl >= 7.18.0") 2>&5
17441 ac_status=$?
17442 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17443 test $ac_status = 0; }; then
17444 pkg_cv_libcurl_CFLAGS=`$PKG_CONFIG --cflags "libcurl >= 7.18.0" 2>/dev/null`
17445 else
17446 pkg_failed=yes
17448 else
17449 pkg_failed=untried
17451 if test -n "$libcurl_LIBS"; then
17452 pkg_cv_libcurl_LIBS="$libcurl_LIBS"
17453 elif test -n "$PKG_CONFIG"; then
17454 if test -n "$PKG_CONFIG" && \
17455 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= 7.18.0\""; } >&5
17456 ($PKG_CONFIG --exists --print-errors "libcurl >= 7.18.0") 2>&5
17457 ac_status=$?
17458 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17459 test $ac_status = 0; }; then
17460 pkg_cv_libcurl_LIBS=`$PKG_CONFIG --libs "libcurl >= 7.18.0" 2>/dev/null`
17461 else
17462 pkg_failed=yes
17464 else
17465 pkg_failed=untried
17470 if test $pkg_failed = yes; then
17471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17472 $as_echo "no" >&6; }
17474 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17475 _pkg_short_errors_supported=yes
17476 else
17477 _pkg_short_errors_supported=no
17479 if test $_pkg_short_errors_supported = yes; then
17480 libcurl_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libcurl >= 7.18.0" 2>&1`
17481 else
17482 libcurl_PKG_ERRORS=`$PKG_CONFIG --print-errors "libcurl >= 7.18.0" 2>&1`
17484 # Put the nasty error message in config.log where it belongs
17485 echo "$libcurl_PKG_ERRORS" >&5
17487 as_fn_error $? "Package requirements (libcurl >= 7.18.0) were not met:
17489 $libcurl_PKG_ERRORS
17491 Consider adjusting the PKG_CONFIG_PATH environment variable if you
17492 installed software in a non-standard prefix.
17494 Alternatively, you may set the environment variables libcurl_CFLAGS
17495 and libcurl_LIBS to avoid the need to call pkg-config.
17496 See the pkg-config man page for more details." "$LINENO" 5
17497 elif test $pkg_failed = untried; then
17498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17499 $as_echo "no" >&6; }
17500 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17501 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17502 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
17503 is in your PATH or set the PKG_CONFIG environment variable to the full
17504 path to pkg-config.
17506 Alternatively, you may set the environment variables libcurl_CFLAGS
17507 and libcurl_LIBS to avoid the need to call pkg-config.
17508 See the pkg-config man page for more details.
17510 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17511 See \`config.log' for more details" "$LINENO" 5; }
17512 else
17513 libcurl_CFLAGS=$pkg_cv_libcurl_CFLAGS
17514 libcurl_LIBS=$pkg_cv_libcurl_LIBS
17515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17516 $as_echo "yes" >&6; }
17520 pkg_failed=no
17521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
17522 $as_echo_n "checking for liblua... " >&6; }
17524 if test -n "$liblua_CFLAGS"; then
17525 pkg_cv_liblua_CFLAGS="$liblua_CFLAGS"
17526 elif test -n "$PKG_CONFIG"; then
17527 if test -n "$PKG_CONFIG" && \
17528 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5
17529 ($PKG_CONFIG --exists --print-errors "lua >= 5.1") 2>&5
17530 ac_status=$?
17531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17532 test $ac_status = 0; }; then
17533 pkg_cv_liblua_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.1" 2>/dev/null`
17534 else
17535 pkg_failed=yes
17537 else
17538 pkg_failed=untried
17540 if test -n "$liblua_LIBS"; then
17541 pkg_cv_liblua_LIBS="$liblua_LIBS"
17542 elif test -n "$PKG_CONFIG"; then
17543 if test -n "$PKG_CONFIG" && \
17544 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5
17545 ($PKG_CONFIG --exists --print-errors "lua >= 5.1") 2>&5
17546 ac_status=$?
17547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17548 test $ac_status = 0; }; then
17549 pkg_cv_liblua_LIBS=`$PKG_CONFIG --libs "lua >= 5.1" 2>/dev/null`
17550 else
17551 pkg_failed=yes
17553 else
17554 pkg_failed=untried
17559 if test $pkg_failed = yes; then
17560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17561 $as_echo "no" >&6; }
17563 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17564 _pkg_short_errors_supported=yes
17565 else
17566 _pkg_short_errors_supported=no
17568 if test $_pkg_short_errors_supported = yes; then
17569 liblua_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua >= 5.1" 2>&1`
17570 else
17571 liblua_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua >= 5.1" 2>&1`
17573 # Put the nasty error message in config.log where it belongs
17574 echo "$liblua_PKG_ERRORS" >&5
17578 pkg_failed=no
17579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
17580 $as_echo_n "checking for liblua... " >&6; }
17582 if test -n "$liblua_CFLAGS"; then
17583 pkg_cv_liblua_CFLAGS="$liblua_CFLAGS"
17584 elif test -n "$PKG_CONFIG"; then
17585 if test -n "$PKG_CONFIG" && \
17586 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1\""; } >&5
17587 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1") 2>&5
17588 ac_status=$?
17589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17590 test $ac_status = 0; }; then
17591 pkg_cv_liblua_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1" 2>/dev/null`
17592 else
17593 pkg_failed=yes
17595 else
17596 pkg_failed=untried
17598 if test -n "$liblua_LIBS"; then
17599 pkg_cv_liblua_LIBS="$liblua_LIBS"
17600 elif test -n "$PKG_CONFIG"; then
17601 if test -n "$PKG_CONFIG" && \
17602 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1\""; } >&5
17603 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1") 2>&5
17604 ac_status=$?
17605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17606 test $ac_status = 0; }; then
17607 pkg_cv_liblua_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1" 2>/dev/null`
17608 else
17609 pkg_failed=yes
17611 else
17612 pkg_failed=untried
17617 if test $pkg_failed = yes; then
17618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17619 $as_echo "no" >&6; }
17621 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17622 _pkg_short_errors_supported=yes
17623 else
17624 _pkg_short_errors_supported=no
17626 if test $_pkg_short_errors_supported = yes; then
17627 liblua_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1" 2>&1`
17628 else
17629 liblua_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua51 >= 5.1" 2>&1`
17631 # Put the nasty error message in config.log where it belongs
17632 echo "$liblua_PKG_ERRORS" >&5
17636 pkg_failed=no
17637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
17638 $as_echo_n "checking for liblua... " >&6; }
17640 if test -n "$liblua_CFLAGS"; then
17641 pkg_cv_liblua_CFLAGS="$liblua_CFLAGS"
17642 elif test -n "$PKG_CONFIG"; then
17643 if test -n "$PKG_CONFIG" && \
17644 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
17645 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
17646 ac_status=$?
17647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17648 test $ac_status = 0; }; then
17649 pkg_cv_liblua_CFLAGS=`$PKG_CONFIG --cflags "lua5.1 >= 5.1" 2>/dev/null`
17650 else
17651 pkg_failed=yes
17653 else
17654 pkg_failed=untried
17656 if test -n "$liblua_LIBS"; then
17657 pkg_cv_liblua_LIBS="$liblua_LIBS"
17658 elif test -n "$PKG_CONFIG"; then
17659 if test -n "$PKG_CONFIG" && \
17660 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
17661 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
17662 ac_status=$?
17663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17664 test $ac_status = 0; }; then
17665 pkg_cv_liblua_LIBS=`$PKG_CONFIG --libs "lua5.1 >= 5.1" 2>/dev/null`
17666 else
17667 pkg_failed=yes
17669 else
17670 pkg_failed=untried
17675 if test $pkg_failed = yes; then
17676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17677 $as_echo "no" >&6; }
17679 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17680 _pkg_short_errors_supported=yes
17681 else
17682 _pkg_short_errors_supported=no
17684 if test $_pkg_short_errors_supported = yes; then
17685 liblua_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua5.1 >= 5.1" 2>&1`
17686 else
17687 liblua_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua5.1 >= 5.1" 2>&1`
17689 # Put the nasty error message in config.log where it belongs
17690 echo "$liblua_PKG_ERRORS" >&5
17694 pkg_failed=no
17695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
17696 $as_echo_n "checking for liblua... " >&6; }
17698 if test -n "$liblua_CFLAGS"; then
17699 pkg_cv_liblua_CFLAGS="$liblua_CFLAGS"
17700 elif test -n "$PKG_CONFIG"; then
17701 if test -n "$PKG_CONFIG" && \
17702 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
17703 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
17704 ac_status=$?
17705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17706 test $ac_status = 0; }; then
17707 pkg_cv_liblua_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
17708 else
17709 pkg_failed=yes
17711 else
17712 pkg_failed=untried
17714 if test -n "$liblua_LIBS"; then
17715 pkg_cv_liblua_LIBS="$liblua_LIBS"
17716 elif test -n "$PKG_CONFIG"; then
17717 if test -n "$PKG_CONFIG" && \
17718 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
17719 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
17720 ac_status=$?
17721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17722 test $ac_status = 0; }; then
17723 pkg_cv_liblua_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
17724 else
17725 pkg_failed=yes
17727 else
17728 pkg_failed=untried
17733 if test $pkg_failed = yes; then
17734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17735 $as_echo "no" >&6; }
17737 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17738 _pkg_short_errors_supported=yes
17739 else
17740 _pkg_short_errors_supported=no
17742 if test $_pkg_short_errors_supported = yes; then
17743 liblua_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
17744 else
17745 liblua_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
17747 # Put the nasty error message in config.log where it belongs
17748 echo "$liblua_PKG_ERRORS" >&5
17750 as_fn_error $? "Package requirements (lua-5.1 >= 5.1) were not met:
17752 $liblua_PKG_ERRORS
17754 Consider adjusting the PKG_CONFIG_PATH environment variable if you
17755 installed software in a non-standard prefix.
17757 Alternatively, you may set the environment variables liblua_CFLAGS
17758 and liblua_LIBS to avoid the need to call pkg-config.
17759 See the pkg-config man page for more details." "$LINENO" 5
17760 elif test $pkg_failed = untried; then
17761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17762 $as_echo "no" >&6; }
17763 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17764 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17765 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
17766 is in your PATH or set the PKG_CONFIG environment variable to the full
17767 path to pkg-config.
17769 Alternatively, you may set the environment variables liblua_CFLAGS
17770 and liblua_LIBS to avoid the need to call pkg-config.
17771 See the pkg-config man page for more details.
17773 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17774 See \`config.log' for more details" "$LINENO" 5; }
17775 else
17776 liblua_CFLAGS=$pkg_cv_liblua_CFLAGS
17777 liblua_LIBS=$pkg_cv_liblua_LIBS
17778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17779 $as_echo "yes" >&6; }
17783 elif test $pkg_failed = untried; then
17784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17785 $as_echo "no" >&6; }
17788 pkg_failed=no
17789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
17790 $as_echo_n "checking for liblua... " >&6; }
17792 if test -n "$liblua_CFLAGS"; then
17793 pkg_cv_liblua_CFLAGS="$liblua_CFLAGS"
17794 elif test -n "$PKG_CONFIG"; then
17795 if test -n "$PKG_CONFIG" && \
17796 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
17797 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
17798 ac_status=$?
17799 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17800 test $ac_status = 0; }; then
17801 pkg_cv_liblua_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
17802 else
17803 pkg_failed=yes
17805 else
17806 pkg_failed=untried
17808 if test -n "$liblua_LIBS"; then
17809 pkg_cv_liblua_LIBS="$liblua_LIBS"
17810 elif test -n "$PKG_CONFIG"; then
17811 if test -n "$PKG_CONFIG" && \
17812 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
17813 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
17814 ac_status=$?
17815 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17816 test $ac_status = 0; }; then
17817 pkg_cv_liblua_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
17818 else
17819 pkg_failed=yes
17821 else
17822 pkg_failed=untried
17827 if test $pkg_failed = yes; then
17828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17829 $as_echo "no" >&6; }
17831 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17832 _pkg_short_errors_supported=yes
17833 else
17834 _pkg_short_errors_supported=no
17836 if test $_pkg_short_errors_supported = yes; then
17837 liblua_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
17838 else
17839 liblua_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
17841 # Put the nasty error message in config.log where it belongs
17842 echo "$liblua_PKG_ERRORS" >&5
17844 as_fn_error $? "Package requirements (lua-5.1 >= 5.1) were not met:
17846 $liblua_PKG_ERRORS
17848 Consider adjusting the PKG_CONFIG_PATH environment variable if you
17849 installed software in a non-standard prefix.
17851 Alternatively, you may set the environment variables liblua_CFLAGS
17852 and liblua_LIBS to avoid the need to call pkg-config.
17853 See the pkg-config man page for more details." "$LINENO" 5
17854 elif test $pkg_failed = untried; then
17855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17856 $as_echo "no" >&6; }
17857 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17858 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17859 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
17860 is in your PATH or set the PKG_CONFIG environment variable to the full
17861 path to pkg-config.
17863 Alternatively, you may set the environment variables liblua_CFLAGS
17864 and liblua_LIBS to avoid the need to call pkg-config.
17865 See the pkg-config man page for more details.
17867 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17868 See \`config.log' for more details" "$LINENO" 5; }
17869 else
17870 liblua_CFLAGS=$pkg_cv_liblua_CFLAGS
17871 liblua_LIBS=$pkg_cv_liblua_LIBS
17872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17873 $as_echo "yes" >&6; }
17877 else
17878 liblua_CFLAGS=$pkg_cv_liblua_CFLAGS
17879 liblua_LIBS=$pkg_cv_liblua_LIBS
17880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17881 $as_echo "yes" >&6; }
17885 elif test $pkg_failed = untried; then
17886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17887 $as_echo "no" >&6; }
17890 pkg_failed=no
17891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
17892 $as_echo_n "checking for liblua... " >&6; }
17894 if test -n "$liblua_CFLAGS"; then
17895 pkg_cv_liblua_CFLAGS="$liblua_CFLAGS"
17896 elif test -n "$PKG_CONFIG"; then
17897 if test -n "$PKG_CONFIG" && \
17898 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
17899 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
17900 ac_status=$?
17901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17902 test $ac_status = 0; }; then
17903 pkg_cv_liblua_CFLAGS=`$PKG_CONFIG --cflags "lua5.1 >= 5.1" 2>/dev/null`
17904 else
17905 pkg_failed=yes
17907 else
17908 pkg_failed=untried
17910 if test -n "$liblua_LIBS"; then
17911 pkg_cv_liblua_LIBS="$liblua_LIBS"
17912 elif test -n "$PKG_CONFIG"; then
17913 if test -n "$PKG_CONFIG" && \
17914 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
17915 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
17916 ac_status=$?
17917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17918 test $ac_status = 0; }; then
17919 pkg_cv_liblua_LIBS=`$PKG_CONFIG --libs "lua5.1 >= 5.1" 2>/dev/null`
17920 else
17921 pkg_failed=yes
17923 else
17924 pkg_failed=untried
17929 if test $pkg_failed = yes; then
17930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17931 $as_echo "no" >&6; }
17933 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17934 _pkg_short_errors_supported=yes
17935 else
17936 _pkg_short_errors_supported=no
17938 if test $_pkg_short_errors_supported = yes; then
17939 liblua_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua5.1 >= 5.1" 2>&1`
17940 else
17941 liblua_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua5.1 >= 5.1" 2>&1`
17943 # Put the nasty error message in config.log where it belongs
17944 echo "$liblua_PKG_ERRORS" >&5
17948 pkg_failed=no
17949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
17950 $as_echo_n "checking for liblua... " >&6; }
17952 if test -n "$liblua_CFLAGS"; then
17953 pkg_cv_liblua_CFLAGS="$liblua_CFLAGS"
17954 elif test -n "$PKG_CONFIG"; then
17955 if test -n "$PKG_CONFIG" && \
17956 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
17957 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
17958 ac_status=$?
17959 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17960 test $ac_status = 0; }; then
17961 pkg_cv_liblua_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
17962 else
17963 pkg_failed=yes
17965 else
17966 pkg_failed=untried
17968 if test -n "$liblua_LIBS"; then
17969 pkg_cv_liblua_LIBS="$liblua_LIBS"
17970 elif test -n "$PKG_CONFIG"; then
17971 if test -n "$PKG_CONFIG" && \
17972 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
17973 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
17974 ac_status=$?
17975 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17976 test $ac_status = 0; }; then
17977 pkg_cv_liblua_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
17978 else
17979 pkg_failed=yes
17981 else
17982 pkg_failed=untried
17987 if test $pkg_failed = yes; then
17988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17989 $as_echo "no" >&6; }
17991 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17992 _pkg_short_errors_supported=yes
17993 else
17994 _pkg_short_errors_supported=no
17996 if test $_pkg_short_errors_supported = yes; then
17997 liblua_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
17998 else
17999 liblua_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
18001 # Put the nasty error message in config.log where it belongs
18002 echo "$liblua_PKG_ERRORS" >&5
18004 as_fn_error $? "Package requirements (lua-5.1 >= 5.1) were not met:
18006 $liblua_PKG_ERRORS
18008 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18009 installed software in a non-standard prefix.
18011 Alternatively, you may set the environment variables liblua_CFLAGS
18012 and liblua_LIBS to avoid the need to call pkg-config.
18013 See the pkg-config man page for more details." "$LINENO" 5
18014 elif test $pkg_failed = untried; then
18015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18016 $as_echo "no" >&6; }
18017 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18018 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18019 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
18020 is in your PATH or set the PKG_CONFIG environment variable to the full
18021 path to pkg-config.
18023 Alternatively, you may set the environment variables liblua_CFLAGS
18024 and liblua_LIBS to avoid the need to call pkg-config.
18025 See the pkg-config man page for more details.
18027 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18028 See \`config.log' for more details" "$LINENO" 5; }
18029 else
18030 liblua_CFLAGS=$pkg_cv_liblua_CFLAGS
18031 liblua_LIBS=$pkg_cv_liblua_LIBS
18032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18033 $as_echo "yes" >&6; }
18037 elif test $pkg_failed = untried; then
18038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18039 $as_echo "no" >&6; }
18042 pkg_failed=no
18043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18044 $as_echo_n "checking for liblua... " >&6; }
18046 if test -n "$liblua_CFLAGS"; then
18047 pkg_cv_liblua_CFLAGS="$liblua_CFLAGS"
18048 elif test -n "$PKG_CONFIG"; then
18049 if test -n "$PKG_CONFIG" && \
18050 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18051 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18052 ac_status=$?
18053 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18054 test $ac_status = 0; }; then
18055 pkg_cv_liblua_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
18056 else
18057 pkg_failed=yes
18059 else
18060 pkg_failed=untried
18062 if test -n "$liblua_LIBS"; then
18063 pkg_cv_liblua_LIBS="$liblua_LIBS"
18064 elif test -n "$PKG_CONFIG"; then
18065 if test -n "$PKG_CONFIG" && \
18066 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18067 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18068 ac_status=$?
18069 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18070 test $ac_status = 0; }; then
18071 pkg_cv_liblua_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
18072 else
18073 pkg_failed=yes
18075 else
18076 pkg_failed=untried
18081 if test $pkg_failed = yes; then
18082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18083 $as_echo "no" >&6; }
18085 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18086 _pkg_short_errors_supported=yes
18087 else
18088 _pkg_short_errors_supported=no
18090 if test $_pkg_short_errors_supported = yes; then
18091 liblua_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
18092 else
18093 liblua_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
18095 # Put the nasty error message in config.log where it belongs
18096 echo "$liblua_PKG_ERRORS" >&5
18098 as_fn_error $? "Package requirements (lua-5.1 >= 5.1) were not met:
18100 $liblua_PKG_ERRORS
18102 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18103 installed software in a non-standard prefix.
18105 Alternatively, you may set the environment variables liblua_CFLAGS
18106 and liblua_LIBS to avoid the need to call pkg-config.
18107 See the pkg-config man page for more details." "$LINENO" 5
18108 elif test $pkg_failed = untried; then
18109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18110 $as_echo "no" >&6; }
18111 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18112 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18113 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
18114 is in your PATH or set the PKG_CONFIG environment variable to the full
18115 path to pkg-config.
18117 Alternatively, you may set the environment variables liblua_CFLAGS
18118 and liblua_LIBS to avoid the need to call pkg-config.
18119 See the pkg-config man page for more details.
18121 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18122 See \`config.log' for more details" "$LINENO" 5; }
18123 else
18124 liblua_CFLAGS=$pkg_cv_liblua_CFLAGS
18125 liblua_LIBS=$pkg_cv_liblua_LIBS
18126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18127 $as_echo "yes" >&6; }
18131 else
18132 liblua_CFLAGS=$pkg_cv_liblua_CFLAGS
18133 liblua_LIBS=$pkg_cv_liblua_LIBS
18134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18135 $as_echo "yes" >&6; }
18139 else
18140 liblua_CFLAGS=$pkg_cv_liblua_CFLAGS
18141 liblua_LIBS=$pkg_cv_liblua_LIBS
18142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18143 $as_echo "yes" >&6; }
18147 elif test $pkg_failed = untried; then
18148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18149 $as_echo "no" >&6; }
18152 pkg_failed=no
18153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18154 $as_echo_n "checking for liblua... " >&6; }
18156 if test -n "$liblua_CFLAGS"; then
18157 pkg_cv_liblua_CFLAGS="$liblua_CFLAGS"
18158 elif test -n "$PKG_CONFIG"; then
18159 if test -n "$PKG_CONFIG" && \
18160 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1\""; } >&5
18161 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1") 2>&5
18162 ac_status=$?
18163 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18164 test $ac_status = 0; }; then
18165 pkg_cv_liblua_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1" 2>/dev/null`
18166 else
18167 pkg_failed=yes
18169 else
18170 pkg_failed=untried
18172 if test -n "$liblua_LIBS"; then
18173 pkg_cv_liblua_LIBS="$liblua_LIBS"
18174 elif test -n "$PKG_CONFIG"; then
18175 if test -n "$PKG_CONFIG" && \
18176 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1\""; } >&5
18177 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1") 2>&5
18178 ac_status=$?
18179 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18180 test $ac_status = 0; }; then
18181 pkg_cv_liblua_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1" 2>/dev/null`
18182 else
18183 pkg_failed=yes
18185 else
18186 pkg_failed=untried
18191 if test $pkg_failed = yes; then
18192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18193 $as_echo "no" >&6; }
18195 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18196 _pkg_short_errors_supported=yes
18197 else
18198 _pkg_short_errors_supported=no
18200 if test $_pkg_short_errors_supported = yes; then
18201 liblua_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1" 2>&1`
18202 else
18203 liblua_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua51 >= 5.1" 2>&1`
18205 # Put the nasty error message in config.log where it belongs
18206 echo "$liblua_PKG_ERRORS" >&5
18210 pkg_failed=no
18211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18212 $as_echo_n "checking for liblua... " >&6; }
18214 if test -n "$liblua_CFLAGS"; then
18215 pkg_cv_liblua_CFLAGS="$liblua_CFLAGS"
18216 elif test -n "$PKG_CONFIG"; then
18217 if test -n "$PKG_CONFIG" && \
18218 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
18219 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
18220 ac_status=$?
18221 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18222 test $ac_status = 0; }; then
18223 pkg_cv_liblua_CFLAGS=`$PKG_CONFIG --cflags "lua5.1 >= 5.1" 2>/dev/null`
18224 else
18225 pkg_failed=yes
18227 else
18228 pkg_failed=untried
18230 if test -n "$liblua_LIBS"; then
18231 pkg_cv_liblua_LIBS="$liblua_LIBS"
18232 elif test -n "$PKG_CONFIG"; then
18233 if test -n "$PKG_CONFIG" && \
18234 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
18235 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
18236 ac_status=$?
18237 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18238 test $ac_status = 0; }; then
18239 pkg_cv_liblua_LIBS=`$PKG_CONFIG --libs "lua5.1 >= 5.1" 2>/dev/null`
18240 else
18241 pkg_failed=yes
18243 else
18244 pkg_failed=untried
18249 if test $pkg_failed = yes; then
18250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18251 $as_echo "no" >&6; }
18253 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18254 _pkg_short_errors_supported=yes
18255 else
18256 _pkg_short_errors_supported=no
18258 if test $_pkg_short_errors_supported = yes; then
18259 liblua_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua5.1 >= 5.1" 2>&1`
18260 else
18261 liblua_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua5.1 >= 5.1" 2>&1`
18263 # Put the nasty error message in config.log where it belongs
18264 echo "$liblua_PKG_ERRORS" >&5
18268 pkg_failed=no
18269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18270 $as_echo_n "checking for liblua... " >&6; }
18272 if test -n "$liblua_CFLAGS"; then
18273 pkg_cv_liblua_CFLAGS="$liblua_CFLAGS"
18274 elif test -n "$PKG_CONFIG"; then
18275 if test -n "$PKG_CONFIG" && \
18276 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18277 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18278 ac_status=$?
18279 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18280 test $ac_status = 0; }; then
18281 pkg_cv_liblua_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
18282 else
18283 pkg_failed=yes
18285 else
18286 pkg_failed=untried
18288 if test -n "$liblua_LIBS"; then
18289 pkg_cv_liblua_LIBS="$liblua_LIBS"
18290 elif test -n "$PKG_CONFIG"; then
18291 if test -n "$PKG_CONFIG" && \
18292 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18293 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18294 ac_status=$?
18295 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18296 test $ac_status = 0; }; then
18297 pkg_cv_liblua_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
18298 else
18299 pkg_failed=yes
18301 else
18302 pkg_failed=untried
18307 if test $pkg_failed = yes; then
18308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18309 $as_echo "no" >&6; }
18311 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18312 _pkg_short_errors_supported=yes
18313 else
18314 _pkg_short_errors_supported=no
18316 if test $_pkg_short_errors_supported = yes; then
18317 liblua_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
18318 else
18319 liblua_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
18321 # Put the nasty error message in config.log where it belongs
18322 echo "$liblua_PKG_ERRORS" >&5
18324 as_fn_error $? "Package requirements (lua-5.1 >= 5.1) were not met:
18326 $liblua_PKG_ERRORS
18328 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18329 installed software in a non-standard prefix.
18331 Alternatively, you may set the environment variables liblua_CFLAGS
18332 and liblua_LIBS to avoid the need to call pkg-config.
18333 See the pkg-config man page for more details." "$LINENO" 5
18334 elif test $pkg_failed = untried; then
18335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18336 $as_echo "no" >&6; }
18337 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18338 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18339 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
18340 is in your PATH or set the PKG_CONFIG environment variable to the full
18341 path to pkg-config.
18343 Alternatively, you may set the environment variables liblua_CFLAGS
18344 and liblua_LIBS to avoid the need to call pkg-config.
18345 See the pkg-config man page for more details.
18347 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18348 See \`config.log' for more details" "$LINENO" 5; }
18349 else
18350 liblua_CFLAGS=$pkg_cv_liblua_CFLAGS
18351 liblua_LIBS=$pkg_cv_liblua_LIBS
18352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18353 $as_echo "yes" >&6; }
18357 elif test $pkg_failed = untried; then
18358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18359 $as_echo "no" >&6; }
18362 pkg_failed=no
18363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18364 $as_echo_n "checking for liblua... " >&6; }
18366 if test -n "$liblua_CFLAGS"; then
18367 pkg_cv_liblua_CFLAGS="$liblua_CFLAGS"
18368 elif test -n "$PKG_CONFIG"; then
18369 if test -n "$PKG_CONFIG" && \
18370 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18371 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18372 ac_status=$?
18373 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18374 test $ac_status = 0; }; then
18375 pkg_cv_liblua_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
18376 else
18377 pkg_failed=yes
18379 else
18380 pkg_failed=untried
18382 if test -n "$liblua_LIBS"; then
18383 pkg_cv_liblua_LIBS="$liblua_LIBS"
18384 elif test -n "$PKG_CONFIG"; then
18385 if test -n "$PKG_CONFIG" && \
18386 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18387 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18388 ac_status=$?
18389 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18390 test $ac_status = 0; }; then
18391 pkg_cv_liblua_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
18392 else
18393 pkg_failed=yes
18395 else
18396 pkg_failed=untried
18401 if test $pkg_failed = yes; then
18402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18403 $as_echo "no" >&6; }
18405 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18406 _pkg_short_errors_supported=yes
18407 else
18408 _pkg_short_errors_supported=no
18410 if test $_pkg_short_errors_supported = yes; then
18411 liblua_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
18412 else
18413 liblua_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
18415 # Put the nasty error message in config.log where it belongs
18416 echo "$liblua_PKG_ERRORS" >&5
18418 as_fn_error $? "Package requirements (lua-5.1 >= 5.1) were not met:
18420 $liblua_PKG_ERRORS
18422 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18423 installed software in a non-standard prefix.
18425 Alternatively, you may set the environment variables liblua_CFLAGS
18426 and liblua_LIBS to avoid the need to call pkg-config.
18427 See the pkg-config man page for more details." "$LINENO" 5
18428 elif test $pkg_failed = untried; then
18429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18430 $as_echo "no" >&6; }
18431 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18432 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18433 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
18434 is in your PATH or set the PKG_CONFIG environment variable to the full
18435 path to pkg-config.
18437 Alternatively, you may set the environment variables liblua_CFLAGS
18438 and liblua_LIBS to avoid the need to call pkg-config.
18439 See the pkg-config man page for more details.
18441 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18442 See \`config.log' for more details" "$LINENO" 5; }
18443 else
18444 liblua_CFLAGS=$pkg_cv_liblua_CFLAGS
18445 liblua_LIBS=$pkg_cv_liblua_LIBS
18446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18447 $as_echo "yes" >&6; }
18451 else
18452 liblua_CFLAGS=$pkg_cv_liblua_CFLAGS
18453 liblua_LIBS=$pkg_cv_liblua_LIBS
18454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18455 $as_echo "yes" >&6; }
18459 elif test $pkg_failed = untried; then
18460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18461 $as_echo "no" >&6; }
18464 pkg_failed=no
18465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18466 $as_echo_n "checking for liblua... " >&6; }
18468 if test -n "$liblua_CFLAGS"; then
18469 pkg_cv_liblua_CFLAGS="$liblua_CFLAGS"
18470 elif test -n "$PKG_CONFIG"; then
18471 if test -n "$PKG_CONFIG" && \
18472 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
18473 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
18474 ac_status=$?
18475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18476 test $ac_status = 0; }; then
18477 pkg_cv_liblua_CFLAGS=`$PKG_CONFIG --cflags "lua5.1 >= 5.1" 2>/dev/null`
18478 else
18479 pkg_failed=yes
18481 else
18482 pkg_failed=untried
18484 if test -n "$liblua_LIBS"; then
18485 pkg_cv_liblua_LIBS="$liblua_LIBS"
18486 elif test -n "$PKG_CONFIG"; then
18487 if test -n "$PKG_CONFIG" && \
18488 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
18489 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
18490 ac_status=$?
18491 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18492 test $ac_status = 0; }; then
18493 pkg_cv_liblua_LIBS=`$PKG_CONFIG --libs "lua5.1 >= 5.1" 2>/dev/null`
18494 else
18495 pkg_failed=yes
18497 else
18498 pkg_failed=untried
18503 if test $pkg_failed = yes; then
18504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18505 $as_echo "no" >&6; }
18507 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18508 _pkg_short_errors_supported=yes
18509 else
18510 _pkg_short_errors_supported=no
18512 if test $_pkg_short_errors_supported = yes; then
18513 liblua_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua5.1 >= 5.1" 2>&1`
18514 else
18515 liblua_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua5.1 >= 5.1" 2>&1`
18517 # Put the nasty error message in config.log where it belongs
18518 echo "$liblua_PKG_ERRORS" >&5
18522 pkg_failed=no
18523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18524 $as_echo_n "checking for liblua... " >&6; }
18526 if test -n "$liblua_CFLAGS"; then
18527 pkg_cv_liblua_CFLAGS="$liblua_CFLAGS"
18528 elif test -n "$PKG_CONFIG"; then
18529 if test -n "$PKG_CONFIG" && \
18530 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18531 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18532 ac_status=$?
18533 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18534 test $ac_status = 0; }; then
18535 pkg_cv_liblua_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
18536 else
18537 pkg_failed=yes
18539 else
18540 pkg_failed=untried
18542 if test -n "$liblua_LIBS"; then
18543 pkg_cv_liblua_LIBS="$liblua_LIBS"
18544 elif test -n "$PKG_CONFIG"; then
18545 if test -n "$PKG_CONFIG" && \
18546 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18547 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18548 ac_status=$?
18549 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18550 test $ac_status = 0; }; then
18551 pkg_cv_liblua_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
18552 else
18553 pkg_failed=yes
18555 else
18556 pkg_failed=untried
18561 if test $pkg_failed = yes; then
18562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18563 $as_echo "no" >&6; }
18565 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18566 _pkg_short_errors_supported=yes
18567 else
18568 _pkg_short_errors_supported=no
18570 if test $_pkg_short_errors_supported = yes; then
18571 liblua_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
18572 else
18573 liblua_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
18575 # Put the nasty error message in config.log where it belongs
18576 echo "$liblua_PKG_ERRORS" >&5
18578 as_fn_error $? "Package requirements (lua-5.1 >= 5.1) were not met:
18580 $liblua_PKG_ERRORS
18582 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18583 installed software in a non-standard prefix.
18585 Alternatively, you may set the environment variables liblua_CFLAGS
18586 and liblua_LIBS to avoid the need to call pkg-config.
18587 See the pkg-config man page for more details." "$LINENO" 5
18588 elif test $pkg_failed = untried; then
18589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18590 $as_echo "no" >&6; }
18591 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18592 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18593 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
18594 is in your PATH or set the PKG_CONFIG environment variable to the full
18595 path to pkg-config.
18597 Alternatively, you may set the environment variables liblua_CFLAGS
18598 and liblua_LIBS to avoid the need to call pkg-config.
18599 See the pkg-config man page for more details.
18601 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18602 See \`config.log' for more details" "$LINENO" 5; }
18603 else
18604 liblua_CFLAGS=$pkg_cv_liblua_CFLAGS
18605 liblua_LIBS=$pkg_cv_liblua_LIBS
18606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18607 $as_echo "yes" >&6; }
18611 elif test $pkg_failed = untried; then
18612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18613 $as_echo "no" >&6; }
18616 pkg_failed=no
18617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblua" >&5
18618 $as_echo_n "checking for liblua... " >&6; }
18620 if test -n "$liblua_CFLAGS"; then
18621 pkg_cv_liblua_CFLAGS="$liblua_CFLAGS"
18622 elif test -n "$PKG_CONFIG"; then
18623 if test -n "$PKG_CONFIG" && \
18624 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18625 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18626 ac_status=$?
18627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18628 test $ac_status = 0; }; then
18629 pkg_cv_liblua_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1" 2>/dev/null`
18630 else
18631 pkg_failed=yes
18633 else
18634 pkg_failed=untried
18636 if test -n "$liblua_LIBS"; then
18637 pkg_cv_liblua_LIBS="$liblua_LIBS"
18638 elif test -n "$PKG_CONFIG"; then
18639 if test -n "$PKG_CONFIG" && \
18640 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1\""; } >&5
18641 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1") 2>&5
18642 ac_status=$?
18643 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18644 test $ac_status = 0; }; then
18645 pkg_cv_liblua_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1" 2>/dev/null`
18646 else
18647 pkg_failed=yes
18649 else
18650 pkg_failed=untried
18655 if test $pkg_failed = yes; then
18656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18657 $as_echo "no" >&6; }
18659 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18660 _pkg_short_errors_supported=yes
18661 else
18662 _pkg_short_errors_supported=no
18664 if test $_pkg_short_errors_supported = yes; then
18665 liblua_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1" 2>&1`
18666 else
18667 liblua_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1" 2>&1`
18669 # Put the nasty error message in config.log where it belongs
18670 echo "$liblua_PKG_ERRORS" >&5
18672 as_fn_error $? "Package requirements (lua-5.1 >= 5.1) were not met:
18674 $liblua_PKG_ERRORS
18676 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18677 installed software in a non-standard prefix.
18679 Alternatively, you may set the environment variables liblua_CFLAGS
18680 and liblua_LIBS to avoid the need to call pkg-config.
18681 See the pkg-config man page for more details." "$LINENO" 5
18682 elif test $pkg_failed = untried; then
18683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18684 $as_echo "no" >&6; }
18685 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18686 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18687 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
18688 is in your PATH or set the PKG_CONFIG environment variable to the full
18689 path to pkg-config.
18691 Alternatively, you may set the environment variables liblua_CFLAGS
18692 and liblua_LIBS to avoid the need to call pkg-config.
18693 See the pkg-config man page for more details.
18695 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18696 See \`config.log' for more details" "$LINENO" 5; }
18697 else
18698 liblua_CFLAGS=$pkg_cv_liblua_CFLAGS
18699 liblua_LIBS=$pkg_cv_liblua_LIBS
18700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18701 $as_echo "yes" >&6; }
18705 else
18706 liblua_CFLAGS=$pkg_cv_liblua_CFLAGS
18707 liblua_LIBS=$pkg_cv_liblua_LIBS
18708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18709 $as_echo "yes" >&6; }
18713 else
18714 liblua_CFLAGS=$pkg_cv_liblua_CFLAGS
18715 liblua_LIBS=$pkg_cv_liblua_LIBS
18716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18717 $as_echo "yes" >&6; }
18721 else
18722 liblua_CFLAGS=$pkg_cv_liblua_CFLAGS
18723 liblua_LIBS=$pkg_cv_liblua_LIBS
18724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18725 $as_echo "yes" >&6; }
18730 # Check whether --with-soup was given.
18731 if test "${with_soup+set}" = set; then :
18732 withval=$with_soup;
18736 if test "x$with_soup" = "xyes"; then :
18738 # Either libsoup-gnome or libsoup.
18740 pkg_failed=no
18741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsoup_gnome" >&5
18742 $as_echo_n "checking for libsoup_gnome... " >&6; }
18744 if test -n "$libsoup_gnome_CFLAGS"; then
18745 pkg_cv_libsoup_gnome_CFLAGS="$libsoup_gnome_CFLAGS"
18746 elif test -n "$PKG_CONFIG"; then
18747 if test -n "$PKG_CONFIG" && \
18748 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-gnome-2.4 >= 2.26\""; } >&5
18749 ($PKG_CONFIG --exists --print-errors "libsoup-gnome-2.4 >= 2.26") 2>&5
18750 ac_status=$?
18751 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18752 test $ac_status = 0; }; then
18753 pkg_cv_libsoup_gnome_CFLAGS=`$PKG_CONFIG --cflags "libsoup-gnome-2.4 >= 2.26" 2>/dev/null`
18754 else
18755 pkg_failed=yes
18757 else
18758 pkg_failed=untried
18760 if test -n "$libsoup_gnome_LIBS"; then
18761 pkg_cv_libsoup_gnome_LIBS="$libsoup_gnome_LIBS"
18762 elif test -n "$PKG_CONFIG"; then
18763 if test -n "$PKG_CONFIG" && \
18764 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-gnome-2.4 >= 2.26\""; } >&5
18765 ($PKG_CONFIG --exists --print-errors "libsoup-gnome-2.4 >= 2.26") 2>&5
18766 ac_status=$?
18767 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18768 test $ac_status = 0; }; then
18769 pkg_cv_libsoup_gnome_LIBS=`$PKG_CONFIG --libs "libsoup-gnome-2.4 >= 2.26" 2>/dev/null`
18770 else
18771 pkg_failed=yes
18773 else
18774 pkg_failed=untried
18779 if test $pkg_failed = yes; then
18780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18781 $as_echo "no" >&6; }
18783 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18784 _pkg_short_errors_supported=yes
18785 else
18786 _pkg_short_errors_supported=no
18788 if test $_pkg_short_errors_supported = yes; then
18789 libsoup_gnome_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libsoup-gnome-2.4 >= 2.26" 2>&1`
18790 else
18791 libsoup_gnome_PKG_ERRORS=`$PKG_CONFIG --print-errors "libsoup-gnome-2.4 >= 2.26" 2>&1`
18793 # Put the nasty error message in config.log where it belongs
18794 echo "$libsoup_gnome_PKG_ERRORS" >&5
18797 pkg_failed=no
18798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsoup" >&5
18799 $as_echo_n "checking for libsoup... " >&6; }
18801 if test -n "$libsoup_CFLAGS"; then
18802 pkg_cv_libsoup_CFLAGS="$libsoup_CFLAGS"
18803 elif test -n "$PKG_CONFIG"; then
18804 if test -n "$PKG_CONFIG" && \
18805 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= 2.26\""; } >&5
18806 ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= 2.26") 2>&5
18807 ac_status=$?
18808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18809 test $ac_status = 0; }; then
18810 pkg_cv_libsoup_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4 >= 2.26" 2>/dev/null`
18811 else
18812 pkg_failed=yes
18814 else
18815 pkg_failed=untried
18817 if test -n "$libsoup_LIBS"; then
18818 pkg_cv_libsoup_LIBS="$libsoup_LIBS"
18819 elif test -n "$PKG_CONFIG"; then
18820 if test -n "$PKG_CONFIG" && \
18821 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= 2.26\""; } >&5
18822 ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= 2.26") 2>&5
18823 ac_status=$?
18824 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18825 test $ac_status = 0; }; then
18826 pkg_cv_libsoup_LIBS=`$PKG_CONFIG --libs "libsoup-2.4 >= 2.26" 2>/dev/null`
18827 else
18828 pkg_failed=yes
18830 else
18831 pkg_failed=untried
18836 if test $pkg_failed = yes; then
18837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18838 $as_echo "no" >&6; }
18840 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18841 _pkg_short_errors_supported=yes
18842 else
18843 _pkg_short_errors_supported=no
18845 if test $_pkg_short_errors_supported = yes; then
18846 libsoup_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libsoup-2.4 >= 2.26" 2>&1`
18847 else
18848 libsoup_PKG_ERRORS=`$PKG_CONFIG --print-errors "libsoup-2.4 >= 2.26" 2>&1`
18850 # Put the nasty error message in config.log where it belongs
18851 echo "$libsoup_PKG_ERRORS" >&5
18853 as_fn_error $? "Package requirements (libsoup-2.4 >= 2.26) were not met:
18855 $libsoup_PKG_ERRORS
18857 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18858 installed software in a non-standard prefix.
18860 Alternatively, you may set the environment variables libsoup_CFLAGS
18861 and libsoup_LIBS to avoid the need to call pkg-config.
18862 See the pkg-config man page for more details." "$LINENO" 5
18863 elif test $pkg_failed = untried; then
18864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18865 $as_echo "no" >&6; }
18866 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18867 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18868 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
18869 is in your PATH or set the PKG_CONFIG environment variable to the full
18870 path to pkg-config.
18872 Alternatively, you may set the environment variables libsoup_CFLAGS
18873 and libsoup_LIBS to avoid the need to call pkg-config.
18874 See the pkg-config man page for more details.
18876 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18877 See \`config.log' for more details" "$LINENO" 5; }
18878 else
18879 libsoup_CFLAGS=$pkg_cv_libsoup_CFLAGS
18880 libsoup_LIBS=$pkg_cv_libsoup_LIBS
18881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18882 $as_echo "yes" >&6; }
18886 elif test $pkg_failed = untried; then
18887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18888 $as_echo "no" >&6; }
18890 pkg_failed=no
18891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsoup" >&5
18892 $as_echo_n "checking for libsoup... " >&6; }
18894 if test -n "$libsoup_CFLAGS"; then
18895 pkg_cv_libsoup_CFLAGS="$libsoup_CFLAGS"
18896 elif test -n "$PKG_CONFIG"; then
18897 if test -n "$PKG_CONFIG" && \
18898 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= 2.26\""; } >&5
18899 ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= 2.26") 2>&5
18900 ac_status=$?
18901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18902 test $ac_status = 0; }; then
18903 pkg_cv_libsoup_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4 >= 2.26" 2>/dev/null`
18904 else
18905 pkg_failed=yes
18907 else
18908 pkg_failed=untried
18910 if test -n "$libsoup_LIBS"; then
18911 pkg_cv_libsoup_LIBS="$libsoup_LIBS"
18912 elif test -n "$PKG_CONFIG"; then
18913 if test -n "$PKG_CONFIG" && \
18914 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= 2.26\""; } >&5
18915 ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= 2.26") 2>&5
18916 ac_status=$?
18917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18918 test $ac_status = 0; }; then
18919 pkg_cv_libsoup_LIBS=`$PKG_CONFIG --libs "libsoup-2.4 >= 2.26" 2>/dev/null`
18920 else
18921 pkg_failed=yes
18923 else
18924 pkg_failed=untried
18929 if test $pkg_failed = yes; then
18930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18931 $as_echo "no" >&6; }
18933 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18934 _pkg_short_errors_supported=yes
18935 else
18936 _pkg_short_errors_supported=no
18938 if test $_pkg_short_errors_supported = yes; then
18939 libsoup_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libsoup-2.4 >= 2.26" 2>&1`
18940 else
18941 libsoup_PKG_ERRORS=`$PKG_CONFIG --print-errors "libsoup-2.4 >= 2.26" 2>&1`
18943 # Put the nasty error message in config.log where it belongs
18944 echo "$libsoup_PKG_ERRORS" >&5
18946 as_fn_error $? "Package requirements (libsoup-2.4 >= 2.26) were not met:
18948 $libsoup_PKG_ERRORS
18950 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18951 installed software in a non-standard prefix.
18953 Alternatively, you may set the environment variables libsoup_CFLAGS
18954 and libsoup_LIBS to avoid the need to call pkg-config.
18955 See the pkg-config man page for more details." "$LINENO" 5
18956 elif test $pkg_failed = untried; then
18957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18958 $as_echo "no" >&6; }
18959 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18960 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18961 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
18962 is in your PATH or set the PKG_CONFIG environment variable to the full
18963 path to pkg-config.
18965 Alternatively, you may set the environment variables libsoup_CFLAGS
18966 and libsoup_LIBS to avoid the need to call pkg-config.
18967 See the pkg-config man page for more details.
18969 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18970 See \`config.log' for more details" "$LINENO" 5; }
18971 else
18972 libsoup_CFLAGS=$pkg_cv_libsoup_CFLAGS
18973 libsoup_LIBS=$pkg_cv_libsoup_LIBS
18974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18975 $as_echo "yes" >&6; }
18979 else
18980 libsoup_gnome_CFLAGS=$pkg_cv_libsoup_gnome_CFLAGS
18981 libsoup_gnome_LIBS=$pkg_cv_libsoup_gnome_LIBS
18982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18983 $as_echo "yes" >&6; }
18986 $as_echo "#define HAVE_LIBSOUP_GNOME 1" >>confdefs.h
18988 libsoup_CFLAGS="$libsoup_gnome_CFLAGS"
18989 libsoup_LIBS="$libsoup_gnome_LIBS"
18997 if test x"$with_soup" = "xyes"; then
18998 WITH_SOUP_TRUE=
18999 WITH_SOUP_FALSE='#'
19000 else
19001 WITH_SOUP_TRUE='#'
19002 WITH_SOUP_FALSE=
19006 # Checks for header files.
19007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
19008 $as_echo_n "checking for ANSI C header files... " >&6; }
19009 if ${ac_cv_header_stdc+:} false; then :
19010 $as_echo_n "(cached) " >&6
19011 else
19012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19013 /* end confdefs.h. */
19014 #include <stdlib.h>
19015 #include <stdarg.h>
19016 #include <string.h>
19017 #include <float.h>
19020 main ()
19024 return 0;
19026 _ACEOF
19027 if ac_fn_c_try_compile "$LINENO"; then :
19028 ac_cv_header_stdc=yes
19029 else
19030 ac_cv_header_stdc=no
19032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19034 if test $ac_cv_header_stdc = yes; then
19035 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19037 /* end confdefs.h. */
19038 #include <string.h>
19040 _ACEOF
19041 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19042 $EGREP "memchr" >/dev/null 2>&1; then :
19044 else
19045 ac_cv_header_stdc=no
19047 rm -f conftest*
19051 if test $ac_cv_header_stdc = yes; then
19052 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19054 /* end confdefs.h. */
19055 #include <stdlib.h>
19057 _ACEOF
19058 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19059 $EGREP "free" >/dev/null 2>&1; then :
19061 else
19062 ac_cv_header_stdc=no
19064 rm -f conftest*
19068 if test $ac_cv_header_stdc = yes; then
19069 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19070 if test "$cross_compiling" = yes; then :
19072 else
19073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19074 /* end confdefs.h. */
19075 #include <ctype.h>
19076 #include <stdlib.h>
19077 #if ((' ' & 0x0FF) == 0x020)
19078 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19079 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19080 #else
19081 # define ISLOWER(c) \
19082 (('a' <= (c) && (c) <= 'i') \
19083 || ('j' <= (c) && (c) <= 'r') \
19084 || ('s' <= (c) && (c) <= 'z'))
19085 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19086 #endif
19088 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19090 main ()
19092 int i;
19093 for (i = 0; i < 256; i++)
19094 if (XOR (islower (i), ISLOWER (i))
19095 || toupper (i) != TOUPPER (i))
19096 return 2;
19097 return 0;
19099 _ACEOF
19100 if ac_fn_c_try_run "$LINENO"; then :
19102 else
19103 ac_cv_header_stdc=no
19105 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19106 conftest.$ac_objext conftest.beam conftest.$ac_ext
19111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
19112 $as_echo "$ac_cv_header_stdc" >&6; }
19113 if test $ac_cv_header_stdc = yes; then
19115 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
19118 # `stdlib.h', `stdarg.h', `string.h', ...
19119 for ac_header in memory.h stdint.h stdlib.h limits.h stddef.h
19120 do :
19121 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19122 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19123 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19124 cat >>confdefs.h <<_ACEOF
19125 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19126 _ACEOF
19130 done
19133 # Checks for typedefs, structures, and compiler characteristics.
19134 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
19135 if test "x$ac_cv_type_size_t" = xyes; then :
19137 else
19139 cat >>confdefs.h <<_ACEOF
19140 #define size_t unsigned int
19141 _ACEOF
19145 ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
19146 case $ac_cv_c_uint32_t in #(
19147 no|yes) ;; #(
19150 $as_echo "#define _UINT32_T 1" >>confdefs.h
19153 cat >>confdefs.h <<_ACEOF
19154 #define uint32_t $ac_cv_c_uint32_t
19155 _ACEOF
19157 esac
19159 ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
19160 case $ac_cv_c_uint64_t in #(
19161 no|yes) ;; #(
19164 $as_echo "#define _UINT64_T 1" >>confdefs.h
19167 cat >>confdefs.h <<_ACEOF
19168 #define uint64_t $ac_cv_c_uint64_t
19169 _ACEOF
19171 esac
19173 ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
19174 case $ac_cv_c_uint8_t in #(
19175 no|yes) ;; #(
19178 $as_echo "#define _UINT8_T 1" >>confdefs.h
19181 cat >>confdefs.h <<_ACEOF
19182 #define uint8_t $ac_cv_c_uint8_t
19183 _ACEOF
19185 esac
19187 ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
19188 if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
19190 cat >>confdefs.h <<_ACEOF
19191 #define HAVE_PTRDIFF_T 1
19192 _ACEOF
19198 # Checks for library functions.
19199 if test x"$host_w32" = "xno" ; then
19200 for ac_header in stdlib.h
19201 do :
19202 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
19203 if test "x$ac_cv_header_stdlib_h" = xyes; then :
19204 cat >>confdefs.h <<_ACEOF
19205 #define HAVE_STDLIB_H 1
19206 _ACEOF
19210 done
19212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
19213 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
19214 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
19215 $as_echo_n "(cached) " >&6
19216 else
19217 if test "$cross_compiling" = yes; then :
19218 ac_cv_func_malloc_0_nonnull=no
19219 else
19220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19221 /* end confdefs.h. */
19222 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
19223 # include <stdlib.h>
19224 #else
19225 char *malloc ();
19226 #endif
19229 main ()
19231 return ! malloc (0);
19233 return 0;
19235 _ACEOF
19236 if ac_fn_c_try_run "$LINENO"; then :
19237 ac_cv_func_malloc_0_nonnull=yes
19238 else
19239 ac_cv_func_malloc_0_nonnull=no
19241 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19242 conftest.$ac_objext conftest.beam conftest.$ac_ext
19246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
19247 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
19248 if test $ac_cv_func_malloc_0_nonnull = yes; then :
19250 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
19252 else
19253 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
19255 case " $LIBOBJS " in
19256 *" malloc.$ac_objext "* ) ;;
19257 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
19259 esac
19262 $as_echo "#define malloc rpl_malloc" >>confdefs.h
19267 for ac_header in stdlib.h
19268 do :
19269 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
19270 if test "x$ac_cv_header_stdlib_h" = xyes; then :
19271 cat >>confdefs.h <<_ACEOF
19272 #define HAVE_STDLIB_H 1
19273 _ACEOF
19277 done
19279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
19280 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
19281 if ${ac_cv_func_realloc_0_nonnull+:} false; then :
19282 $as_echo_n "(cached) " >&6
19283 else
19284 if test "$cross_compiling" = yes; then :
19285 ac_cv_func_realloc_0_nonnull=no
19286 else
19287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19288 /* end confdefs.h. */
19289 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
19290 # include <stdlib.h>
19291 #else
19292 char *realloc ();
19293 #endif
19296 main ()
19298 return ! realloc (0, 0);
19300 return 0;
19302 _ACEOF
19303 if ac_fn_c_try_run "$LINENO"; then :
19304 ac_cv_func_realloc_0_nonnull=yes
19305 else
19306 ac_cv_func_realloc_0_nonnull=no
19308 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19309 conftest.$ac_objext conftest.beam conftest.$ac_ext
19313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
19314 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
19315 if test $ac_cv_func_realloc_0_nonnull = yes; then :
19317 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
19319 else
19320 $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
19322 case " $LIBOBJS " in
19323 *" realloc.$ac_objext "* ) ;;
19324 *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
19326 esac
19329 $as_echo "#define realloc rpl_realloc" >>confdefs.h
19335 for ac_func in memset strdup strstr strtol strerror strcspn getcwd strchr strrchr strspn
19336 do :
19337 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19338 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19339 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19340 cat >>confdefs.h <<_ACEOF
19341 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19342 _ACEOF
19345 done
19347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5
19348 $as_echo_n "checking for working strtod... " >&6; }
19349 if ${ac_cv_func_strtod+:} false; then :
19350 $as_echo_n "(cached) " >&6
19351 else
19352 if test "$cross_compiling" = yes; then :
19353 ac_cv_func_strtod=no
19354 else
19355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19356 /* end confdefs.h. */
19358 $ac_includes_default
19359 #ifndef strtod
19360 double strtod ();
19361 #endif
19363 main()
19366 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
19367 char *string = " +69";
19368 char *term;
19369 double value;
19370 value = strtod (string, &term);
19371 if (value != 69 || term != (string + 4))
19372 return 1;
19376 /* Under Solaris 2.4, strtod returns the wrong value for the
19377 terminating character under some conditions. */
19378 char *string = "NaN";
19379 char *term;
19380 strtod (string, &term);
19381 if (term != string && *(term - 1) == 0)
19382 return 1;
19384 return 0;
19387 _ACEOF
19388 if ac_fn_c_try_run "$LINENO"; then :
19389 ac_cv_func_strtod=yes
19390 else
19391 ac_cv_func_strtod=no
19393 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19394 conftest.$ac_objext conftest.beam conftest.$ac_ext
19398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strtod" >&5
19399 $as_echo "$ac_cv_func_strtod" >&6; }
19400 if test $ac_cv_func_strtod = no; then
19401 case " $LIBOBJS " in
19402 *" strtod.$ac_objext "* ) ;;
19403 *) LIBOBJS="$LIBOBJS strtod.$ac_objext"
19405 esac
19407 ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow"
19408 if test "x$ac_cv_func_pow" = xyes; then :
19412 if test $ac_cv_func_pow = no; then
19413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
19414 $as_echo_n "checking for pow in -lm... " >&6; }
19415 if ${ac_cv_lib_m_pow+:} false; then :
19416 $as_echo_n "(cached) " >&6
19417 else
19418 ac_check_lib_save_LIBS=$LIBS
19419 LIBS="-lm $LIBS"
19420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19421 /* end confdefs.h. */
19423 /* Override any GCC internal prototype to avoid an error.
19424 Use char because int might match the return type of a GCC
19425 builtin and then its argument prototype would still apply. */
19426 #ifdef __cplusplus
19427 extern "C"
19428 #endif
19429 char pow ();
19431 main ()
19433 return pow ();
19435 return 0;
19437 _ACEOF
19438 if ac_fn_c_try_link "$LINENO"; then :
19439 ac_cv_lib_m_pow=yes
19440 else
19441 ac_cv_lib_m_pow=no
19443 rm -f core conftest.err conftest.$ac_objext \
19444 conftest$ac_exeext conftest.$ac_ext
19445 LIBS=$ac_check_lib_save_LIBS
19447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
19448 $as_echo "$ac_cv_lib_m_pow" >&6; }
19449 if test "x$ac_cv_lib_m_pow" = xyes; then :
19450 POW_LIB=-lm
19451 else
19452 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5
19453 $as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
19461 have_asprintf=no
19462 for ac_func in vasprintf
19463 do :
19464 ac_fn_c_check_func "$LINENO" "vasprintf" "ac_cv_func_vasprintf"
19465 if test "x$ac_cv_func_vasprintf" = xyes; then :
19466 cat >>confdefs.h <<_ACEOF
19467 #define HAVE_VASPRINTF 1
19468 _ACEOF
19470 for ac_func in asprintf
19471 do :
19472 ac_fn_c_check_func "$LINENO" "asprintf" "ac_cv_func_asprintf"
19473 if test "x$ac_cv_func_asprintf" = xyes; then :
19474 cat >>confdefs.h <<_ACEOF
19475 #define HAVE_ASPRINTF 1
19476 _ACEOF
19477 have_asprintf=yes
19479 done
19483 done
19485 if test x"$have_asprintf" != "xyes"; then
19486 NO_ASPRINTF_TRUE=
19487 NO_ASPRINTF_FALSE='#'
19488 else
19489 NO_ASPRINTF_TRUE='#'
19490 NO_ASPRINTF_FALSE=
19494 # --enable-quvi
19495 # Check whether --enable-quvi was given.
19496 if test "${enable_quvi+set}" = set; then :
19497 enableval=$enable_quvi;
19498 else
19499 enable_quvi=yes
19502 if test x"$enable_quvi" != "xno"; then
19503 ENABLE_QUVI_TRUE=
19504 ENABLE_QUVI_FALSE='#'
19505 else
19506 ENABLE_QUVI_TRUE='#'
19507 ENABLE_QUVI_FALSE=
19511 # --enable-examples
19512 # Check whether --enable-examples was given.
19513 if test "${enable_examples+set}" = set; then :
19514 enableval=$enable_examples;
19515 else
19516 enable_examples=no
19519 if test x"$enable_examples" != "xno"; then
19520 ENABLE_EXAMPLES_TRUE=
19521 ENABLE_EXAMPLES_FALSE='#'
19522 else
19523 ENABLE_EXAMPLES_TRUE='#'
19524 ENABLE_EXAMPLES_FALSE=
19528 # --enable-tests
19529 # Check whether --enable-tests was given.
19530 if test "${enable_tests+set}" = set; then :
19531 enableval=$enable_tests;
19532 else
19533 enable_tests=no
19536 if test x"$enable_tests" != "xno"; then
19537 ENABLE_TESTS_TRUE=
19538 ENABLE_TESTS_FALSE='#'
19539 else
19540 ENABLE_TESTS_TRUE='#'
19541 ENABLE_TESTS_FALSE=
19545 # --enable-verbose-tests
19546 # Check whether --enable-verbose-tests was given.
19547 if test "${enable_verbose_tests+set}" = set; then :
19548 enableval=$enable_verbose_tests;
19549 else
19550 enable_verbose_tests=no
19553 if test x"$enable_verbose_tests" != "xno"; then
19554 ENABLE_VERBOSE_TESTS_TRUE=
19555 ENABLE_VERBOSE_TESTS_FALSE='#'
19556 else
19557 ENABLE_VERBOSE_TESTS_TRUE='#'
19558 ENABLE_VERBOSE_TESTS_FALSE=
19562 # --enable-nsfw
19563 # Check whether --enable-nsfw was given.
19564 if test "${enable_nsfw+set}" = set; then :
19565 enableval=$enable_nsfw;
19566 else
19567 enable_nsfw=no
19570 if test x"$enable_nsfw" != "xno"; then
19571 ENABLE_NSFW_TRUE=
19572 ENABLE_NSFW_FALSE='#'
19573 else
19574 ENABLE_NSFW_TRUE='#'
19575 ENABLE_NSFW_FALSE=
19579 if test x"$enable_nsfw" != "xno" ; then
19581 $as_echo "#define ENABLE_NSFW 1" >>confdefs.h
19585 # --enable-todo
19586 # Check whether --enable-todo was given.
19587 if test "${enable_todo+set}" = set; then :
19588 enableval=$enable_todo;
19589 else
19590 enable_todo=no
19593 if test x"$enable_todo" != "xno"; then
19594 ENABLE_TODO_TRUE=
19595 ENABLE_TODO_FALSE='#'
19596 else
19597 ENABLE_TODO_TRUE='#'
19598 ENABLE_TODO_FALSE=
19602 if test x"$enable_todo" != "xno" ; then
19604 $as_echo "#define ENABLE_TODO 1" >>confdefs.h
19608 # --enable-nlfy
19609 # Check whether --enable-nlfy was given.
19610 if test "${enable_nlfy+set}" = set; then :
19611 enableval=$enable_nlfy;
19612 else
19613 enable_nlfy=no
19616 if test x"$enable_nlfy" != "xno"; then
19617 ENABLE_NLFY_TRUE=
19618 ENABLE_NLFY_FALSE='#'
19619 else
19620 ENABLE_NLFY_TRUE='#'
19621 ENABLE_NLFY_FALSE=
19625 # --with-man
19627 # Check whether --with-man was given.
19628 if test "${with_man+set}" = set; then :
19629 withval=$with_man;
19630 else
19631 with_man=yes
19634 if test x"$with_man" != "xno"; then
19635 WITH_MAN_TRUE=
19636 WITH_MAN_FALSE='#'
19637 else
19638 WITH_MAN_TRUE='#'
19639 WITH_MAN_FALSE=
19643 # --with-doc
19645 # Check whether --with-doc was given.
19646 if test "${with_doc+set}" = set; then :
19647 withval=$with_doc;
19648 else
19649 with_doc=yes
19652 if test x"$with_doc" != "xno"; then
19653 WITH_DOC_TRUE=
19654 WITH_DOC_FALSE='#'
19655 else
19656 WITH_DOC_TRUE='#'
19657 WITH_DOC_FALSE=
19661 # GNU ld?
19662 if test x"$with_gnu_ld" = "xyes"; then
19663 HAVE_GNU_LD_TRUE=
19664 HAVE_GNU_LD_FALSE='#'
19665 else
19666 HAVE_GNU_LD_TRUE='#'
19667 HAVE_GNU_LD_FALSE=
19671 ac_config_files="$ac_config_files Makefile include/Makefile include/quvi/Makefile include/quvi/quvi.h lib/Makefile man1/Makefile share/Makefile doc/Makefile src/Makefile examples/Makefile tests/Makefile scripts/Makefile libquvi.pc doxygen.conf"
19674 cat >confcache <<\_ACEOF
19675 # This file is a shell script that caches the results of configure
19676 # tests run on this system so they can be shared between configure
19677 # scripts and configure runs, see configure's option --config-cache.
19678 # It is not useful on other systems. If it contains results you don't
19679 # want to keep, you may remove or edit it.
19681 # config.status only pays attention to the cache file if you give it
19682 # the --recheck option to rerun configure.
19684 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19685 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19686 # following values.
19688 _ACEOF
19690 # The following way of writing the cache mishandles newlines in values,
19691 # but we know of no workaround that is simple, portable, and efficient.
19692 # So, we kill variables containing newlines.
19693 # Ultrix sh set writes to stderr and can't be redirected directly,
19694 # and sets the high bit in the cache file unless we assign to the vars.
19696 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19697 eval ac_val=\$$ac_var
19698 case $ac_val in #(
19699 *${as_nl}*)
19700 case $ac_var in #(
19701 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19702 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19703 esac
19704 case $ac_var in #(
19705 _ | IFS | as_nl) ;; #(
19706 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19707 *) { eval $ac_var=; unset $ac_var;} ;;
19708 esac ;;
19709 esac
19710 done
19712 (set) 2>&1 |
19713 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19714 *${as_nl}ac_space=\ *)
19715 # `set' does not quote correctly, so add quotes: double-quote
19716 # substitution turns \\\\ into \\, and sed turns \\ into \.
19717 sed -n \
19718 "s/'/'\\\\''/g;
19719 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19720 ;; #(
19722 # `set' quotes correctly as required by POSIX, so do not add quotes.
19723 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19725 esac |
19726 sort
19728 sed '
19729 /^ac_cv_env_/b end
19730 t clear
19731 :clear
19732 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19733 t end
19734 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19735 :end' >>confcache
19736 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19737 if test -w "$cache_file"; then
19738 if test "x$cache_file" != "x/dev/null"; then
19739 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19740 $as_echo "$as_me: updating cache $cache_file" >&6;}
19741 if test ! -f "$cache_file" || test -h "$cache_file"; then
19742 cat confcache >"$cache_file"
19743 else
19744 case $cache_file in #(
19745 */* | ?:*)
19746 mv -f confcache "$cache_file"$$ &&
19747 mv -f "$cache_file"$$ "$cache_file" ;; #(
19749 mv -f confcache "$cache_file" ;;
19750 esac
19753 else
19754 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19755 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19758 rm -f confcache
19760 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19761 # Let make expand exec_prefix.
19762 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19764 DEFS=-DHAVE_CONFIG_H
19766 ac_libobjs=
19767 ac_ltlibobjs=
19769 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19770 # 1. Remove the extension, and $U if already installed.
19771 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19772 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19773 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19774 # will be set to the directory where LIBOBJS objects are built.
19775 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19776 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19777 done
19778 LIBOBJS=$ac_libobjs
19780 LTLIBOBJS=$ac_ltlibobjs
19783 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19784 as_fn_error $? "conditional \"AMDEP\" was never defined.
19785 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19787 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19788 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19789 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19791 if test -n "$EXEEXT"; then
19792 am__EXEEXT_TRUE=
19793 am__EXEEXT_FALSE='#'
19794 else
19795 am__EXEEXT_TRUE='#'
19796 am__EXEEXT_FALSE=
19799 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19800 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
19801 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19803 if test -z "${HAVE_GENGETOPT_TRUE}" && test -z "${HAVE_GENGETOPT_FALSE}"; then
19804 as_fn_error $? "conditional \"HAVE_GENGETOPT\" was never defined.
19805 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19807 if test -z "${HAVE_DOXYGEN_TRUE}" && test -z "${HAVE_DOXYGEN_FALSE}"; then
19808 as_fn_error $? "conditional \"HAVE_DOXYGEN\" was never defined.
19809 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19811 if test -z "${HAVE_PROVE_TRUE}" && test -z "${HAVE_PROVE_FALSE}"; then
19812 as_fn_error $? "conditional \"HAVE_PROVE\" was never defined.
19813 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19815 if test -z "${HAVE_VALGRIND_TRUE}" && test -z "${HAVE_VALGRIND_FALSE}"; then
19816 as_fn_error $? "conditional \"HAVE_VALGRIND\" was never defined.
19817 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19819 if test -z "${HAVE_POD2MAN_TRUE}" && test -z "${HAVE_POD2MAN_FALSE}"; then
19820 as_fn_error $? "conditional \"HAVE_POD2MAN\" was never defined.
19821 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19823 if test -z "${HAVE_POD2HTML_TRUE}" && test -z "${HAVE_POD2HTML_FALSE}"; then
19824 as_fn_error $? "conditional \"HAVE_POD2HTML\" was never defined.
19825 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19827 if test -z "${WITH_SOUP_TRUE}" && test -z "${WITH_SOUP_FALSE}"; then
19828 as_fn_error $? "conditional \"WITH_SOUP\" was never defined.
19829 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19831 if test -z "${NO_ASPRINTF_TRUE}" && test -z "${NO_ASPRINTF_FALSE}"; then
19832 as_fn_error $? "conditional \"NO_ASPRINTF\" was never defined.
19833 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19835 if test -z "${ENABLE_QUVI_TRUE}" && test -z "${ENABLE_QUVI_FALSE}"; then
19836 as_fn_error $? "conditional \"ENABLE_QUVI\" was never defined.
19837 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19839 if test -z "${ENABLE_EXAMPLES_TRUE}" && test -z "${ENABLE_EXAMPLES_FALSE}"; then
19840 as_fn_error $? "conditional \"ENABLE_EXAMPLES\" was never defined.
19841 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19843 if test -z "${ENABLE_TESTS_TRUE}" && test -z "${ENABLE_TESTS_FALSE}"; then
19844 as_fn_error $? "conditional \"ENABLE_TESTS\" was never defined.
19845 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19847 if test -z "${ENABLE_VERBOSE_TESTS_TRUE}" && test -z "${ENABLE_VERBOSE_TESTS_FALSE}"; then
19848 as_fn_error $? "conditional \"ENABLE_VERBOSE_TESTS\" was never defined.
19849 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19851 if test -z "${ENABLE_NSFW_TRUE}" && test -z "${ENABLE_NSFW_FALSE}"; then
19852 as_fn_error $? "conditional \"ENABLE_NSFW\" was never defined.
19853 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19855 if test -z "${ENABLE_TODO_TRUE}" && test -z "${ENABLE_TODO_FALSE}"; then
19856 as_fn_error $? "conditional \"ENABLE_TODO\" was never defined.
19857 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19859 if test -z "${ENABLE_NLFY_TRUE}" && test -z "${ENABLE_NLFY_FALSE}"; then
19860 as_fn_error $? "conditional \"ENABLE_NLFY\" was never defined.
19861 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19863 if test -z "${WITH_MAN_TRUE}" && test -z "${WITH_MAN_FALSE}"; then
19864 as_fn_error $? "conditional \"WITH_MAN\" was never defined.
19865 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19867 if test -z "${WITH_DOC_TRUE}" && test -z "${WITH_DOC_FALSE}"; then
19868 as_fn_error $? "conditional \"WITH_DOC\" was never defined.
19869 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19871 if test -z "${HAVE_GNU_LD_TRUE}" && test -z "${HAVE_GNU_LD_FALSE}"; then
19872 as_fn_error $? "conditional \"HAVE_GNU_LD\" was never defined.
19873 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19876 : "${CONFIG_STATUS=./config.status}"
19877 ac_write_fail=0
19878 ac_clean_files_save=$ac_clean_files
19879 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19880 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19881 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19882 as_write_fail=0
19883 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19884 #! $SHELL
19885 # Generated by $as_me.
19886 # Run this file to recreate the current configuration.
19887 # Compiler output produced by configure, useful for debugging
19888 # configure, is in config.log if it exists.
19890 debug=false
19891 ac_cs_recheck=false
19892 ac_cs_silent=false
19894 SHELL=\${CONFIG_SHELL-$SHELL}
19895 export SHELL
19896 _ASEOF
19897 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19898 ## -------------------- ##
19899 ## M4sh Initialization. ##
19900 ## -------------------- ##
19902 # Be more Bourne compatible
19903 DUALCASE=1; export DUALCASE # for MKS sh
19904 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19905 emulate sh
19906 NULLCMD=:
19907 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19908 # is contrary to our usage. Disable this feature.
19909 alias -g '${1+"$@"}'='"$@"'
19910 setopt NO_GLOB_SUBST
19911 else
19912 case `(set -o) 2>/dev/null` in #(
19913 *posix*) :
19914 set -o posix ;; #(
19915 *) :
19917 esac
19921 as_nl='
19923 export as_nl
19924 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19925 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19926 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19927 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19928 # Prefer a ksh shell builtin over an external printf program on Solaris,
19929 # but without wasting forks for bash or zsh.
19930 if test -z "$BASH_VERSION$ZSH_VERSION" \
19931 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19932 as_echo='print -r --'
19933 as_echo_n='print -rn --'
19934 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19935 as_echo='printf %s\n'
19936 as_echo_n='printf %s'
19937 else
19938 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19939 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19940 as_echo_n='/usr/ucb/echo -n'
19941 else
19942 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19943 as_echo_n_body='eval
19944 arg=$1;
19945 case $arg in #(
19946 *"$as_nl"*)
19947 expr "X$arg" : "X\\(.*\\)$as_nl";
19948 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19949 esac;
19950 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19952 export as_echo_n_body
19953 as_echo_n='sh -c $as_echo_n_body as_echo'
19955 export as_echo_body
19956 as_echo='sh -c $as_echo_body as_echo'
19959 # The user is always right.
19960 if test "${PATH_SEPARATOR+set}" != set; then
19961 PATH_SEPARATOR=:
19962 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19963 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19964 PATH_SEPARATOR=';'
19969 # IFS
19970 # We need space, tab and new line, in precisely that order. Quoting is
19971 # there to prevent editors from complaining about space-tab.
19972 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19973 # splitting by setting IFS to empty value.)
19974 IFS=" "" $as_nl"
19976 # Find who we are. Look in the path if we contain no directory separator.
19977 as_myself=
19978 case $0 in #((
19979 *[\\/]* ) as_myself=$0 ;;
19980 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19981 for as_dir in $PATH
19983 IFS=$as_save_IFS
19984 test -z "$as_dir" && as_dir=.
19985 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19986 done
19987 IFS=$as_save_IFS
19990 esac
19991 # We did not find ourselves, most probably we were run as `sh COMMAND'
19992 # in which case we are not to be found in the path.
19993 if test "x$as_myself" = x; then
19994 as_myself=$0
19996 if test ! -f "$as_myself"; then
19997 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19998 exit 1
20001 # Unset variables that we do not need and which cause bugs (e.g. in
20002 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
20003 # suppresses any "Segmentation fault" message there. '((' could
20004 # trigger a bug in pdksh 5.2.14.
20005 for as_var in BASH_ENV ENV MAIL MAILPATH
20006 do eval test x\${$as_var+set} = xset \
20007 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
20008 done
20009 PS1='$ '
20010 PS2='> '
20011 PS4='+ '
20013 # NLS nuisances.
20014 LC_ALL=C
20015 export LC_ALL
20016 LANGUAGE=C
20017 export LANGUAGE
20019 # CDPATH.
20020 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20023 # as_fn_error STATUS ERROR [LINENO LOG_FD]
20024 # ----------------------------------------
20025 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20026 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20027 # script with STATUS, using 1 if that was 0.
20028 as_fn_error ()
20030 as_status=$1; test $as_status -eq 0 && as_status=1
20031 if test "$4"; then
20032 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
20033 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20035 $as_echo "$as_me: error: $2" >&2
20036 as_fn_exit $as_status
20037 } # as_fn_error
20040 # as_fn_set_status STATUS
20041 # -----------------------
20042 # Set $? to STATUS, without forking.
20043 as_fn_set_status ()
20045 return $1
20046 } # as_fn_set_status
20048 # as_fn_exit STATUS
20049 # -----------------
20050 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20051 as_fn_exit ()
20053 set +e
20054 as_fn_set_status $1
20055 exit $1
20056 } # as_fn_exit
20058 # as_fn_unset VAR
20059 # ---------------
20060 # Portably unset VAR.
20061 as_fn_unset ()
20063 { eval $1=; unset $1;}
20065 as_unset=as_fn_unset
20066 # as_fn_append VAR VALUE
20067 # ----------------------
20068 # Append the text in VALUE to the end of the definition contained in VAR. Take
20069 # advantage of any shell optimizations that allow amortized linear growth over
20070 # repeated appends, instead of the typical quadratic growth present in naive
20071 # implementations.
20072 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
20073 eval 'as_fn_append ()
20075 eval $1+=\$2
20077 else
20078 as_fn_append ()
20080 eval $1=\$$1\$2
20082 fi # as_fn_append
20084 # as_fn_arith ARG...
20085 # ------------------
20086 # Perform arithmetic evaluation on the ARGs, and store the result in the
20087 # global $as_val. Take advantage of shells that can avoid forks. The arguments
20088 # must be portable across $(()) and expr.
20089 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
20090 eval 'as_fn_arith ()
20092 as_val=$(( $* ))
20094 else
20095 as_fn_arith ()
20097 as_val=`expr "$@" || test $? -eq 1`
20099 fi # as_fn_arith
20102 if expr a : '\(a\)' >/dev/null 2>&1 &&
20103 test "X`expr 00001 : '.*\(...\)'`" = X001; then
20104 as_expr=expr
20105 else
20106 as_expr=false
20109 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20110 as_basename=basename
20111 else
20112 as_basename=false
20115 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
20116 as_dirname=dirname
20117 else
20118 as_dirname=false
20121 as_me=`$as_basename -- "$0" ||
20122 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20123 X"$0" : 'X\(//\)$' \| \
20124 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20125 $as_echo X/"$0" |
20126 sed '/^.*\/\([^/][^/]*\)\/*$/{
20127 s//\1/
20130 /^X\/\(\/\/\)$/{
20131 s//\1/
20134 /^X\/\(\/\).*/{
20135 s//\1/
20138 s/.*/./; q'`
20140 # Avoid depending upon Character Ranges.
20141 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20142 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20143 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20144 as_cr_digits='0123456789'
20145 as_cr_alnum=$as_cr_Letters$as_cr_digits
20147 ECHO_C= ECHO_N= ECHO_T=
20148 case `echo -n x` in #(((((
20149 -n*)
20150 case `echo 'xy\c'` in
20151 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
20152 xy) ECHO_C='\c';;
20153 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
20154 ECHO_T=' ';;
20155 esac;;
20157 ECHO_N='-n';;
20158 esac
20160 rm -f conf$$ conf$$.exe conf$$.file
20161 if test -d conf$$.dir; then
20162 rm -f conf$$.dir/conf$$.file
20163 else
20164 rm -f conf$$.dir
20165 mkdir conf$$.dir 2>/dev/null
20167 if (echo >conf$$.file) 2>/dev/null; then
20168 if ln -s conf$$.file conf$$ 2>/dev/null; then
20169 as_ln_s='ln -s'
20170 # ... but there are two gotchas:
20171 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20172 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20173 # In both cases, we have to default to `cp -p'.
20174 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
20175 as_ln_s='cp -p'
20176 elif ln conf$$.file conf$$ 2>/dev/null; then
20177 as_ln_s=ln
20178 else
20179 as_ln_s='cp -p'
20181 else
20182 as_ln_s='cp -p'
20184 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
20185 rmdir conf$$.dir 2>/dev/null
20188 # as_fn_mkdir_p
20189 # -------------
20190 # Create "$as_dir" as a directory, including parents if necessary.
20191 as_fn_mkdir_p ()
20194 case $as_dir in #(
20195 -*) as_dir=./$as_dir;;
20196 esac
20197 test -d "$as_dir" || eval $as_mkdir_p || {
20198 as_dirs=
20199 while :; do
20200 case $as_dir in #(
20201 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20202 *) as_qdir=$as_dir;;
20203 esac
20204 as_dirs="'$as_qdir' $as_dirs"
20205 as_dir=`$as_dirname -- "$as_dir" ||
20206 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20207 X"$as_dir" : 'X\(//\)[^/]' \| \
20208 X"$as_dir" : 'X\(//\)$' \| \
20209 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20210 $as_echo X"$as_dir" |
20211 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20212 s//\1/
20215 /^X\(\/\/\)[^/].*/{
20216 s//\1/
20219 /^X\(\/\/\)$/{
20220 s//\1/
20223 /^X\(\/\).*/{
20224 s//\1/
20227 s/.*/./; q'`
20228 test -d "$as_dir" && break
20229 done
20230 test -z "$as_dirs" || eval "mkdir $as_dirs"
20231 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
20234 } # as_fn_mkdir_p
20235 if mkdir -p . 2>/dev/null; then
20236 as_mkdir_p='mkdir -p "$as_dir"'
20237 else
20238 test -d ./-p && rmdir ./-p
20239 as_mkdir_p=false
20242 if test -x / >/dev/null 2>&1; then
20243 as_test_x='test -x'
20244 else
20245 if ls -dL / >/dev/null 2>&1; then
20246 as_ls_L_option=L
20247 else
20248 as_ls_L_option=
20250 as_test_x='
20251 eval sh -c '\''
20252 if test -d "$1"; then
20253 test -d "$1/.";
20254 else
20255 case $1 in #(
20256 -*)set "./$1";;
20257 esac;
20258 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
20259 ???[sx]*):;;*)false;;esac;fi
20260 '\'' sh
20263 as_executable_p=$as_test_x
20265 # Sed expression to map a string onto a valid CPP name.
20266 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20268 # Sed expression to map a string onto a valid variable name.
20269 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20272 exec 6>&1
20273 ## ----------------------------------- ##
20274 ## Main body of $CONFIG_STATUS script. ##
20275 ## ----------------------------------- ##
20276 _ASEOF
20277 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
20279 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20280 # Save the log message, to keep $0 and so on meaningful, and to
20281 # report actual input values of CONFIG_FILES etc. instead of their
20282 # values after options handling.
20283 ac_log="
20284 This file was extended by quvi $as_me 0.2.16, which was
20285 generated by GNU Autoconf 2.68. Invocation command line was
20287 CONFIG_FILES = $CONFIG_FILES
20288 CONFIG_HEADERS = $CONFIG_HEADERS
20289 CONFIG_LINKS = $CONFIG_LINKS
20290 CONFIG_COMMANDS = $CONFIG_COMMANDS
20291 $ $0 $@
20293 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20296 _ACEOF
20298 case $ac_config_files in *"
20299 "*) set x $ac_config_files; shift; ac_config_files=$*;;
20300 esac
20302 case $ac_config_headers in *"
20303 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
20304 esac
20307 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20308 # Files that config.status was made for.
20309 config_files="$ac_config_files"
20310 config_headers="$ac_config_headers"
20311 config_commands="$ac_config_commands"
20313 _ACEOF
20315 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20316 ac_cs_usage="\
20317 \`$as_me' instantiates files and other configuration actions
20318 from templates according to the current configuration. Unless the files
20319 and actions are specified as TAGs, all are instantiated by default.
20321 Usage: $0 [OPTION]... [TAG]...
20323 -h, --help print this help, then exit
20324 -V, --version print version number and configuration settings, then exit
20325 --config print configuration, then exit
20326 -q, --quiet, --silent
20327 do not print progress messages
20328 -d, --debug don't remove temporary files
20329 --recheck update $as_me by reconfiguring in the same conditions
20330 --file=FILE[:TEMPLATE]
20331 instantiate the configuration file FILE
20332 --header=FILE[:TEMPLATE]
20333 instantiate the configuration header FILE
20335 Configuration files:
20336 $config_files
20338 Configuration headers:
20339 $config_headers
20341 Configuration commands:
20342 $config_commands
20344 Report bugs to <http://sourceforge.net/apps/trac/quvi>.
20345 quvi home page: <http://quvi.sourceforge.net/>."
20347 _ACEOF
20348 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20349 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20350 ac_cs_version="\\
20351 quvi config.status 0.2.16
20352 configured by $0, generated by GNU Autoconf 2.68,
20353 with options \\"\$ac_cs_config\\"
20355 Copyright (C) 2010 Free Software Foundation, Inc.
20356 This config.status script is free software; the Free Software Foundation
20357 gives unlimited permission to copy, distribute and modify it."
20359 ac_pwd='$ac_pwd'
20360 srcdir='$srcdir'
20361 INSTALL='$INSTALL'
20362 MKDIR_P='$MKDIR_P'
20363 AWK='$AWK'
20364 test -n "\$AWK" || AWK=awk
20365 _ACEOF
20367 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20368 # The default lists apply if the user does not specify any file.
20369 ac_need_defaults=:
20370 while test $# != 0
20372 case $1 in
20373 --*=?*)
20374 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20375 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20376 ac_shift=:
20378 --*=)
20379 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20380 ac_optarg=
20381 ac_shift=:
20384 ac_option=$1
20385 ac_optarg=$2
20386 ac_shift=shift
20388 esac
20390 case $ac_option in
20391 # Handling of the options.
20392 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20393 ac_cs_recheck=: ;;
20394 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20395 $as_echo "$ac_cs_version"; exit ;;
20396 --config | --confi | --conf | --con | --co | --c )
20397 $as_echo "$ac_cs_config"; exit ;;
20398 --debug | --debu | --deb | --de | --d | -d )
20399 debug=: ;;
20400 --file | --fil | --fi | --f )
20401 $ac_shift
20402 case $ac_optarg in
20403 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20404 '') as_fn_error $? "missing file argument" ;;
20405 esac
20406 as_fn_append CONFIG_FILES " '$ac_optarg'"
20407 ac_need_defaults=false;;
20408 --header | --heade | --head | --hea )
20409 $ac_shift
20410 case $ac_optarg in
20411 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20412 esac
20413 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20414 ac_need_defaults=false;;
20415 --he | --h)
20416 # Conflict between --help and --header
20417 as_fn_error $? "ambiguous option: \`$1'
20418 Try \`$0 --help' for more information.";;
20419 --help | --hel | -h )
20420 $as_echo "$ac_cs_usage"; exit ;;
20421 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20422 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20423 ac_cs_silent=: ;;
20425 # This is an error.
20426 -*) as_fn_error $? "unrecognized option: \`$1'
20427 Try \`$0 --help' for more information." ;;
20429 *) as_fn_append ac_config_targets " $1"
20430 ac_need_defaults=false ;;
20432 esac
20433 shift
20434 done
20436 ac_configure_extra_args=
20438 if $ac_cs_silent; then
20439 exec 6>/dev/null
20440 ac_configure_extra_args="$ac_configure_extra_args --silent"
20443 _ACEOF
20444 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20445 if \$ac_cs_recheck; then
20446 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20447 shift
20448 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20449 CONFIG_SHELL='$SHELL'
20450 export CONFIG_SHELL
20451 exec "\$@"
20454 _ACEOF
20455 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20456 exec 5>>config.log
20458 echo
20459 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20460 ## Running $as_me. ##
20461 _ASBOX
20462 $as_echo "$ac_log"
20463 } >&5
20465 _ACEOF
20466 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20468 # INIT-COMMANDS
20470 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20473 # The HP-UX ksh and POSIX shell print the target directory to stdout
20474 # if CDPATH is set.
20475 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20477 sed_quote_subst='$sed_quote_subst'
20478 double_quote_subst='$double_quote_subst'
20479 delay_variable_subst='$delay_variable_subst'
20480 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
20481 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
20482 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
20483 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
20484 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
20485 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
20486 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
20487 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
20488 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
20489 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
20490 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
20491 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
20492 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
20493 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
20494 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
20495 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
20496 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
20497 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
20498 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
20499 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
20500 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
20501 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
20502 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
20503 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
20504 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
20505 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
20506 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
20507 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
20508 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
20509 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
20510 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
20511 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
20512 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
20513 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
20514 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
20515 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
20516 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
20517 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
20518 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
20519 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
20520 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
20521 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
20522 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
20523 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
20524 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20525 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20526 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
20527 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
20528 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
20529 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
20530 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
20531 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
20532 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
20533 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
20534 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
20535 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
20536 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
20537 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
20538 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
20539 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
20540 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
20541 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
20542 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
20543 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
20544 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
20545 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
20546 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
20547 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
20548 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
20549 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
20550 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
20551 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
20552 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
20553 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
20554 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20555 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
20556 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
20557 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
20558 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
20559 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
20560 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
20561 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20562 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
20563 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20564 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
20565 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20566 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
20567 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
20568 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
20569 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
20570 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
20571 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
20572 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
20573 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
20574 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
20575 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
20576 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
20577 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
20578 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
20579 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
20580 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
20581 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
20582 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
20583 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
20584 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
20585 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
20586 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
20587 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
20588 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
20589 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
20590 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
20591 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
20592 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
20593 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
20594 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
20595 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
20596 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
20597 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20598 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20599 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
20600 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
20601 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
20602 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
20603 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
20604 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
20605 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
20606 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
20607 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
20608 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
20609 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
20610 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
20611 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
20612 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
20613 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
20614 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
20615 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
20616 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
20617 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
20618 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20619 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20620 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
20621 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
20622 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
20623 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
20624 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
20625 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
20626 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
20627 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
20628 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
20629 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20630 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20631 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
20632 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20633 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20634 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20635 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20636 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20637 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20638 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
20639 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20640 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20641 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20642 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
20643 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
20644 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
20645 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
20646 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
20647 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
20648 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
20649 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
20650 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
20651 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
20652 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20653 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20654 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20655 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20656 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20657 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
20658 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
20659 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
20660 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20661 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20662 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
20663 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
20664 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
20666 LTCC='$LTCC'
20667 LTCFLAGS='$LTCFLAGS'
20668 compiler='$compiler_DEFAULT'
20670 # A function that is used when there is no print builtin or printf.
20671 func_fallback_echo ()
20673 eval 'cat <<_LTECHO_EOF
20675 _LTECHO_EOF'
20678 # Quote evaled strings.
20679 for var in SHELL \
20680 ECHO \
20681 SED \
20682 GREP \
20683 EGREP \
20684 FGREP \
20685 LD \
20686 NM \
20687 LN_S \
20688 lt_SP2NL \
20689 lt_NL2SP \
20690 reload_flag \
20691 OBJDUMP \
20692 deplibs_check_method \
20693 file_magic_cmd \
20694 file_magic_glob \
20695 want_nocaseglob \
20696 DLLTOOL \
20697 sharedlib_from_linklib_cmd \
20698 AR \
20699 AR_FLAGS \
20700 archiver_list_spec \
20701 STRIP \
20702 RANLIB \
20703 CC \
20704 CFLAGS \
20705 compiler \
20706 lt_cv_sys_global_symbol_pipe \
20707 lt_cv_sys_global_symbol_to_cdecl \
20708 lt_cv_sys_global_symbol_to_c_name_address \
20709 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20710 nm_file_list_spec \
20711 lt_prog_compiler_no_builtin_flag \
20712 lt_prog_compiler_pic \
20713 lt_prog_compiler_wl \
20714 lt_prog_compiler_static \
20715 lt_cv_prog_compiler_c_o \
20716 need_locks \
20717 MANIFEST_TOOL \
20718 DSYMUTIL \
20719 NMEDIT \
20720 LIPO \
20721 OTOOL \
20722 OTOOL64 \
20723 shrext_cmds \
20724 export_dynamic_flag_spec \
20725 whole_archive_flag_spec \
20726 compiler_needs_object \
20727 with_gnu_ld \
20728 allow_undefined_flag \
20729 no_undefined_flag \
20730 hardcode_libdir_flag_spec \
20731 hardcode_libdir_flag_spec_ld \
20732 hardcode_libdir_separator \
20733 exclude_expsyms \
20734 include_expsyms \
20735 file_list_spec \
20736 variables_saved_for_relink \
20737 libname_spec \
20738 library_names_spec \
20739 soname_spec \
20740 install_override_mode \
20741 finish_eval \
20742 old_striplib \
20743 striplib \
20744 compiler_lib_search_dirs \
20745 predep_objects \
20746 postdep_objects \
20747 predeps \
20748 postdeps \
20749 compiler_lib_search_path \
20750 LD_CXX \
20751 reload_flag_CXX \
20752 compiler_CXX \
20753 lt_prog_compiler_no_builtin_flag_CXX \
20754 lt_prog_compiler_pic_CXX \
20755 lt_prog_compiler_wl_CXX \
20756 lt_prog_compiler_static_CXX \
20757 lt_cv_prog_compiler_c_o_CXX \
20758 export_dynamic_flag_spec_CXX \
20759 whole_archive_flag_spec_CXX \
20760 compiler_needs_object_CXX \
20761 with_gnu_ld_CXX \
20762 allow_undefined_flag_CXX \
20763 no_undefined_flag_CXX \
20764 hardcode_libdir_flag_spec_CXX \
20765 hardcode_libdir_flag_spec_ld_CXX \
20766 hardcode_libdir_separator_CXX \
20767 exclude_expsyms_CXX \
20768 include_expsyms_CXX \
20769 file_list_spec_CXX \
20770 compiler_lib_search_dirs_CXX \
20771 predep_objects_CXX \
20772 postdep_objects_CXX \
20773 predeps_CXX \
20774 postdeps_CXX \
20775 compiler_lib_search_path_CXX; do
20776 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20777 *[\\\\\\\`\\"\\\$]*)
20778 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20781 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20783 esac
20784 done
20786 # Double-quote double-evaled strings.
20787 for var in reload_cmds \
20788 old_postinstall_cmds \
20789 old_postuninstall_cmds \
20790 old_archive_cmds \
20791 extract_expsyms_cmds \
20792 old_archive_from_new_cmds \
20793 old_archive_from_expsyms_cmds \
20794 archive_cmds \
20795 archive_expsym_cmds \
20796 module_cmds \
20797 module_expsym_cmds \
20798 export_symbols_cmds \
20799 prelink_cmds \
20800 postlink_cmds \
20801 postinstall_cmds \
20802 postuninstall_cmds \
20803 finish_cmds \
20804 sys_lib_search_path_spec \
20805 sys_lib_dlsearch_path_spec \
20806 reload_cmds_CXX \
20807 old_archive_cmds_CXX \
20808 old_archive_from_new_cmds_CXX \
20809 old_archive_from_expsyms_cmds_CXX \
20810 archive_cmds_CXX \
20811 archive_expsym_cmds_CXX \
20812 module_cmds_CXX \
20813 module_expsym_cmds_CXX \
20814 export_symbols_cmds_CXX \
20815 prelink_cmds_CXX \
20816 postlink_cmds_CXX; do
20817 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20818 *[\\\\\\\`\\"\\\$]*)
20819 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20822 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20824 esac
20825 done
20827 ac_aux_dir='$ac_aux_dir'
20828 xsi_shell='$xsi_shell'
20829 lt_shell_append='$lt_shell_append'
20831 # See if we are running on zsh, and set the options which allow our
20832 # commands through without removal of \ escapes INIT.
20833 if test -n "\${ZSH_VERSION+set}" ; then
20834 setopt NO_GLOB_SUBST
20838 PACKAGE='$PACKAGE'
20839 VERSION='$VERSION'
20840 TIMESTAMP='$TIMESTAMP'
20841 RM='$RM'
20842 ofile='$ofile'
20849 _ACEOF
20851 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20853 # Handling of arguments.
20854 for ac_config_target in $ac_config_targets
20856 case $ac_config_target in
20857 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
20858 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
20859 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
20860 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20861 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
20862 "include/quvi/Makefile") CONFIG_FILES="$CONFIG_FILES include/quvi/Makefile" ;;
20863 "include/quvi/quvi.h") CONFIG_FILES="$CONFIG_FILES include/quvi/quvi.h" ;;
20864 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
20865 "man1/Makefile") CONFIG_FILES="$CONFIG_FILES man1/Makefile" ;;
20866 "share/Makefile") CONFIG_FILES="$CONFIG_FILES share/Makefile" ;;
20867 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
20868 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
20869 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
20870 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
20871 "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
20872 "libquvi.pc") CONFIG_FILES="$CONFIG_FILES libquvi.pc" ;;
20873 "doxygen.conf") CONFIG_FILES="$CONFIG_FILES doxygen.conf" ;;
20875 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20876 esac
20877 done
20880 # If the user did not use the arguments to specify the items to instantiate,
20881 # then the envvar interface is used. Set only those that are not.
20882 # We use the long form for the default assignment because of an extremely
20883 # bizarre bug on SunOS 4.1.3.
20884 if $ac_need_defaults; then
20885 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20886 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20887 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20890 # Have a temporary directory for convenience. Make it in the build tree
20891 # simply because there is no reason against having it here, and in addition,
20892 # creating and moving files from /tmp can sometimes cause problems.
20893 # Hook for its removal unless debugging.
20894 # Note that there is a small window in which the directory will not be cleaned:
20895 # after its creation but before its name has been assigned to `$tmp'.
20896 $debug ||
20898 tmp= ac_tmp=
20899 trap 'exit_status=$?
20900 : "${ac_tmp:=$tmp}"
20901 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20903 trap 'as_fn_exit 1' 1 2 13 15
20905 # Create a (secure) tmp directory for tmp files.
20908 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20909 test -d "$tmp"
20910 } ||
20912 tmp=./conf$$-$RANDOM
20913 (umask 077 && mkdir "$tmp")
20914 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20915 ac_tmp=$tmp
20917 # Set up the scripts for CONFIG_FILES section.
20918 # No need to generate them if there are no CONFIG_FILES.
20919 # This happens for instance with `./config.status config.h'.
20920 if test -n "$CONFIG_FILES"; then
20923 ac_cr=`echo X | tr X '\015'`
20924 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20925 # But we know of no other shell where ac_cr would be empty at this
20926 # point, so we can use a bashism as a fallback.
20927 if test "x$ac_cr" = x; then
20928 eval ac_cr=\$\'\\r\'
20930 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20931 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20932 ac_cs_awk_cr='\\r'
20933 else
20934 ac_cs_awk_cr=$ac_cr
20937 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20938 _ACEOF
20942 echo "cat >conf$$subs.awk <<_ACEOF" &&
20943 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20944 echo "_ACEOF"
20945 } >conf$$subs.sh ||
20946 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20947 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20948 ac_delim='%!_!# '
20949 for ac_last_try in false false false false false :; do
20950 . ./conf$$subs.sh ||
20951 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20953 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20954 if test $ac_delim_n = $ac_delim_num; then
20955 break
20956 elif $ac_last_try; then
20957 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20958 else
20959 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20961 done
20962 rm -f conf$$subs.sh
20964 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20965 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20966 _ACEOF
20967 sed -n '
20969 s/^/S["/; s/!.*/"]=/
20972 s/^[^!]*!//
20973 :repl
20974 t repl
20975 s/'"$ac_delim"'$//
20976 t delim
20979 s/\(.\{148\}\)..*/\1/
20980 t more1
20981 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20984 b repl
20985 :more1
20986 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20989 s/.\{148\}//
20990 t nl
20991 :delim
20993 s/\(.\{148\}\)..*/\1/
20994 t more2
20995 s/["\\]/\\&/g; s/^/"/; s/$/"/
20998 :more2
20999 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21002 s/.\{148\}//
21003 t delim
21004 ' <conf$$subs.awk | sed '
21005 /^[^""]/{
21007 s/\n//
21009 ' >>$CONFIG_STATUS || ac_write_fail=1
21010 rm -f conf$$subs.awk
21011 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21012 _ACAWK
21013 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
21014 for (key in S) S_is_set[key] = 1
21015 FS = "\a"
21019 line = $ 0
21020 nfields = split(line, field, "@")
21021 substed = 0
21022 len = length(field[1])
21023 for (i = 2; i < nfields; i++) {
21024 key = field[i]
21025 keylen = length(key)
21026 if (S_is_set[key]) {
21027 value = S[key]
21028 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21029 len += length(value) + length(field[++i])
21030 substed = 1
21031 } else
21032 len += 1 + keylen
21035 print line
21038 _ACAWK
21039 _ACEOF
21040 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21041 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21042 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
21043 else
21045 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
21046 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
21047 _ACEOF
21049 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21050 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
21051 # trailing colons and then remove the whole line if VPATH becomes empty
21052 # (actually we leave an empty line to preserve line numbers).
21053 if test "x$srcdir" = x.; then
21054 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21056 s///
21057 s/^/:/
21058 s/[ ]*$/:/
21059 s/:\$(srcdir):/:/g
21060 s/:\${srcdir}:/:/g
21061 s/:@srcdir@:/:/g
21062 s/^:*//
21063 s/:*$//
21065 s/\(=[ ]*\).*/\1/
21067 s/\n//
21068 s/^[^=]*=[ ]*$//
21072 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21073 fi # test -n "$CONFIG_FILES"
21075 # Set up the scripts for CONFIG_HEADERS section.
21076 # No need to generate them if there are no CONFIG_HEADERS.
21077 # This happens for instance with `./config.status Makefile'.
21078 if test -n "$CONFIG_HEADERS"; then
21079 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
21080 BEGIN {
21081 _ACEOF
21083 # Transform confdefs.h into an awk script `defines.awk', embedded as
21084 # here-document in config.status, that substitutes the proper values into
21085 # config.h.in to produce config.h.
21087 # Create a delimiter string that does not exist in confdefs.h, to ease
21088 # handling of long lines.
21089 ac_delim='%!_!# '
21090 for ac_last_try in false false :; do
21091 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
21092 if test -z "$ac_tt"; then
21093 break
21094 elif $ac_last_try; then
21095 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
21096 else
21097 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21099 done
21101 # For the awk script, D is an array of macro values keyed by name,
21102 # likewise P contains macro parameters if any. Preserve backslash
21103 # newline sequences.
21105 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21106 sed -n '
21107 s/.\{148\}/&'"$ac_delim"'/g
21108 t rset
21109 :rset
21110 s/^[ ]*#[ ]*define[ ][ ]*/ /
21111 t def
21113 :def
21114 s/\\$//
21115 t bsnl
21116 s/["\\]/\\&/g
21117 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21118 D["\1"]=" \3"/p
21119 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
21121 :bsnl
21122 s/["\\]/\\&/g
21123 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21124 D["\1"]=" \3\\\\\\n"\\/p
21125 t cont
21126 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
21127 t cont
21129 :cont
21131 s/.\{148\}/&'"$ac_delim"'/g
21132 t clear
21133 :clear
21134 s/\\$//
21135 t bsnlc
21136 s/["\\]/\\&/g; s/^/"/; s/$/"/p
21138 :bsnlc
21139 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
21140 b cont
21141 ' <confdefs.h | sed '
21142 s/'"$ac_delim"'/"\\\
21143 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21145 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21146 for (key in D) D_is_set[key] = 1
21147 FS = "\a"
21149 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21150 line = \$ 0
21151 split(line, arg, " ")
21152 if (arg[1] == "#") {
21153 defundef = arg[2]
21154 mac1 = arg[3]
21155 } else {
21156 defundef = substr(arg[1], 2)
21157 mac1 = arg[2]
21159 split(mac1, mac2, "(") #)
21160 macro = mac2[1]
21161 prefix = substr(line, 1, index(line, defundef) - 1)
21162 if (D_is_set[macro]) {
21163 # Preserve the white space surrounding the "#".
21164 print prefix "define", macro P[macro] D[macro]
21165 next
21166 } else {
21167 # Replace #undef with comments. This is necessary, for example,
21168 # in the case of _POSIX_SOURCE, which is predefined and required
21169 # on some systems where configure will not decide to define it.
21170 if (defundef == "undef") {
21171 print "/*", prefix defundef, macro, "*/"
21172 next
21176 { print }
21177 _ACAWK
21178 _ACEOF
21179 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21180 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
21181 fi # test -n "$CONFIG_HEADERS"
21184 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
21185 shift
21186 for ac_tag
21188 case $ac_tag in
21189 :[FHLC]) ac_mode=$ac_tag; continue;;
21190 esac
21191 case $ac_mode$ac_tag in
21192 :[FHL]*:*);;
21193 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
21194 :[FH]-) ac_tag=-:-;;
21195 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21196 esac
21197 ac_save_IFS=$IFS
21198 IFS=:
21199 set x $ac_tag
21200 IFS=$ac_save_IFS
21201 shift
21202 ac_file=$1
21203 shift
21205 case $ac_mode in
21206 :L) ac_source=$1;;
21207 :[FH])
21208 ac_file_inputs=
21209 for ac_f
21211 case $ac_f in
21212 -) ac_f="$ac_tmp/stdin";;
21213 *) # Look for the file first in the build tree, then in the source tree
21214 # (if the path is not absolute). The absolute path cannot be DOS-style,
21215 # because $ac_f cannot contain `:'.
21216 test -f "$ac_f" ||
21217 case $ac_f in
21218 [\\/$]*) false;;
21219 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21220 esac ||
21221 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21222 esac
21223 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21224 as_fn_append ac_file_inputs " '$ac_f'"
21225 done
21227 # Let's still pretend it is `configure' which instantiates (i.e., don't
21228 # use $as_me), people would be surprised to read:
21229 # /* config.h. Generated by config.status. */
21230 configure_input='Generated from '`
21231 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21232 `' by configure.'
21233 if test x"$ac_file" != x-; then
21234 configure_input="$ac_file. $configure_input"
21235 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21236 $as_echo "$as_me: creating $ac_file" >&6;}
21238 # Neutralize special characters interpreted by sed in replacement strings.
21239 case $configure_input in #(
21240 *\&* | *\|* | *\\* )
21241 ac_sed_conf_input=`$as_echo "$configure_input" |
21242 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21243 *) ac_sed_conf_input=$configure_input;;
21244 esac
21246 case $ac_tag in
21247 *:-:* | *:-) cat >"$ac_tmp/stdin" \
21248 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
21249 esac
21251 esac
21253 ac_dir=`$as_dirname -- "$ac_file" ||
21254 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21255 X"$ac_file" : 'X\(//\)[^/]' \| \
21256 X"$ac_file" : 'X\(//\)$' \| \
21257 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21258 $as_echo X"$ac_file" |
21259 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21260 s//\1/
21263 /^X\(\/\/\)[^/].*/{
21264 s//\1/
21267 /^X\(\/\/\)$/{
21268 s//\1/
21271 /^X\(\/\).*/{
21272 s//\1/
21275 s/.*/./; q'`
21276 as_dir="$ac_dir"; as_fn_mkdir_p
21277 ac_builddir=.
21279 case "$ac_dir" in
21280 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21282 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21283 # A ".." for each directory in $ac_dir_suffix.
21284 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21285 case $ac_top_builddir_sub in
21286 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21287 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21288 esac ;;
21289 esac
21290 ac_abs_top_builddir=$ac_pwd
21291 ac_abs_builddir=$ac_pwd$ac_dir_suffix
21292 # for backward compatibility:
21293 ac_top_builddir=$ac_top_build_prefix
21295 case $srcdir in
21296 .) # We are building in place.
21297 ac_srcdir=.
21298 ac_top_srcdir=$ac_top_builddir_sub
21299 ac_abs_top_srcdir=$ac_pwd ;;
21300 [\\/]* | ?:[\\/]* ) # Absolute name.
21301 ac_srcdir=$srcdir$ac_dir_suffix;
21302 ac_top_srcdir=$srcdir
21303 ac_abs_top_srcdir=$srcdir ;;
21304 *) # Relative name.
21305 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21306 ac_top_srcdir=$ac_top_build_prefix$srcdir
21307 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21308 esac
21309 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21312 case $ac_mode in
21315 # CONFIG_FILE
21318 case $INSTALL in
21319 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21320 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
21321 esac
21322 ac_MKDIR_P=$MKDIR_P
21323 case $MKDIR_P in
21324 [\\/$]* | ?:[\\/]* ) ;;
21325 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
21326 esac
21327 _ACEOF
21329 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21330 # If the template does not know about datarootdir, expand it.
21331 # FIXME: This hack should be removed a few years after 2.60.
21332 ac_datarootdir_hack=; ac_datarootdir_seen=
21333 ac_sed_dataroot='
21334 /datarootdir/ {
21338 /@datadir@/p
21339 /@docdir@/p
21340 /@infodir@/p
21341 /@localedir@/p
21342 /@mandir@/p'
21343 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21344 *datarootdir*) ac_datarootdir_seen=yes;;
21345 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21346 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21347 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21348 _ACEOF
21349 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21350 ac_datarootdir_hack='
21351 s&@datadir@&$datadir&g
21352 s&@docdir@&$docdir&g
21353 s&@infodir@&$infodir&g
21354 s&@localedir@&$localedir&g
21355 s&@mandir@&$mandir&g
21356 s&\\\${datarootdir}&$datarootdir&g' ;;
21357 esac
21358 _ACEOF
21360 # Neutralize VPATH when `$srcdir' = `.'.
21361 # Shell code in configure.ac might set extrasub.
21362 # FIXME: do we really want to maintain this feature?
21363 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21364 ac_sed_extra="$ac_vpsub
21365 $extrasub
21366 _ACEOF
21367 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21369 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21370 s|@configure_input@|$ac_sed_conf_input|;t t
21371 s&@top_builddir@&$ac_top_builddir_sub&;t t
21372 s&@top_build_prefix@&$ac_top_build_prefix&;t t
21373 s&@srcdir@&$ac_srcdir&;t t
21374 s&@abs_srcdir@&$ac_abs_srcdir&;t t
21375 s&@top_srcdir@&$ac_top_srcdir&;t t
21376 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
21377 s&@builddir@&$ac_builddir&;t t
21378 s&@abs_builddir@&$ac_abs_builddir&;t t
21379 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
21380 s&@INSTALL@&$ac_INSTALL&;t t
21381 s&@MKDIR_P@&$ac_MKDIR_P&;t t
21382 $ac_datarootdir_hack
21384 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
21385 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21387 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21388 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
21389 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21390 "$ac_tmp/out"`; test -z "$ac_out"; } &&
21391 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21392 which seems to be undefined. Please make sure it is defined" >&5
21393 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21394 which seems to be undefined. Please make sure it is defined" >&2;}
21396 rm -f "$ac_tmp/stdin"
21397 case $ac_file in
21398 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21399 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21400 esac \
21401 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21405 # CONFIG_HEADER
21407 if test x"$ac_file" != x-; then
21409 $as_echo "/* $configure_input */" \
21410 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21411 } >"$ac_tmp/config.h" \
21412 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21413 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21414 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21415 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21416 else
21417 rm -f "$ac_file"
21418 mv "$ac_tmp/config.h" "$ac_file" \
21419 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21421 else
21422 $as_echo "/* $configure_input */" \
21423 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21424 || as_fn_error $? "could not create -" "$LINENO" 5
21426 # Compute "$ac_file"'s index in $config_headers.
21427 _am_arg="$ac_file"
21428 _am_stamp_count=1
21429 for _am_header in $config_headers :; do
21430 case $_am_header in
21431 $_am_arg | $_am_arg:* )
21432 break ;;
21434 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
21435 esac
21436 done
21437 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
21438 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21439 X"$_am_arg" : 'X\(//\)[^/]' \| \
21440 X"$_am_arg" : 'X\(//\)$' \| \
21441 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
21442 $as_echo X"$_am_arg" |
21443 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21444 s//\1/
21447 /^X\(\/\/\)[^/].*/{
21448 s//\1/
21451 /^X\(\/\/\)$/{
21452 s//\1/
21455 /^X\(\/\).*/{
21456 s//\1/
21459 s/.*/./; q'`/stamp-h$_am_stamp_count
21462 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21463 $as_echo "$as_me: executing $ac_file commands" >&6;}
21465 esac
21468 case $ac_file$ac_mode in
21469 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
21470 # Autoconf 2.62 quotes --file arguments for eval, but not when files
21471 # are listed without --file. Let's play safe and only enable the eval
21472 # if we detect the quoting.
21473 case $CONFIG_FILES in
21474 *\'*) eval set x "$CONFIG_FILES" ;;
21475 *) set x $CONFIG_FILES ;;
21476 esac
21477 shift
21478 for mf
21480 # Strip MF so we end up with the name of the file.
21481 mf=`echo "$mf" | sed -e 's/:.*$//'`
21482 # Check whether this is an Automake generated Makefile or not.
21483 # We used to match only the files named `Makefile.in', but
21484 # some people rename them; so instead we look at the file content.
21485 # Grep'ing the first line is not enough: some people post-process
21486 # each Makefile.in and add a new line on top of each file to say so.
21487 # Grep'ing the whole file is not good either: AIX grep has a line
21488 # limit of 2048, but all sed's we know have understand at least 4000.
21489 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
21490 dirpart=`$as_dirname -- "$mf" ||
21491 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21492 X"$mf" : 'X\(//\)[^/]' \| \
21493 X"$mf" : 'X\(//\)$' \| \
21494 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21495 $as_echo X"$mf" |
21496 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21497 s//\1/
21500 /^X\(\/\/\)[^/].*/{
21501 s//\1/
21504 /^X\(\/\/\)$/{
21505 s//\1/
21508 /^X\(\/\).*/{
21509 s//\1/
21512 s/.*/./; q'`
21513 else
21514 continue
21516 # Extract the definition of DEPDIR, am__include, and am__quote
21517 # from the Makefile without running `make'.
21518 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
21519 test -z "$DEPDIR" && continue
21520 am__include=`sed -n 's/^am__include = //p' < "$mf"`
21521 test -z "am__include" && continue
21522 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
21523 # When using ansi2knr, U may be empty or an underscore; expand it
21524 U=`sed -n 's/^U = //p' < "$mf"`
21525 # Find all dependency output files, they are included files with
21526 # $(DEPDIR) in their names. We invoke sed twice because it is the
21527 # simplest approach to changing $(DEPDIR) to its actual value in the
21528 # expansion.
21529 for file in `sed -n "
21530 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21531 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21532 # Make sure the directory exists.
21533 test -f "$dirpart/$file" && continue
21534 fdir=`$as_dirname -- "$file" ||
21535 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21536 X"$file" : 'X\(//\)[^/]' \| \
21537 X"$file" : 'X\(//\)$' \| \
21538 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21539 $as_echo X"$file" |
21540 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21541 s//\1/
21544 /^X\(\/\/\)[^/].*/{
21545 s//\1/
21548 /^X\(\/\/\)$/{
21549 s//\1/
21552 /^X\(\/\).*/{
21553 s//\1/
21556 s/.*/./; q'`
21557 as_dir=$dirpart/$fdir; as_fn_mkdir_p
21558 # echo "creating $dirpart/$file"
21559 echo '# dummy' > "$dirpart/$file"
21560 done
21561 done
21564 "libtool":C)
21566 # See if we are running on zsh, and set the options which allow our
21567 # commands through without removal of \ escapes.
21568 if test -n "${ZSH_VERSION+set}" ; then
21569 setopt NO_GLOB_SUBST
21572 cfgfile="${ofile}T"
21573 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21574 $RM "$cfgfile"
21576 cat <<_LT_EOF >> "$cfgfile"
21577 #! $SHELL
21579 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
21580 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
21581 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21582 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21584 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21585 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
21586 # Inc.
21587 # Written by Gordon Matzigkeit, 1996
21589 # This file is part of GNU Libtool.
21591 # GNU Libtool is free software; you can redistribute it and/or
21592 # modify it under the terms of the GNU General Public License as
21593 # published by the Free Software Foundation; either version 2 of
21594 # the License, or (at your option) any later version.
21596 # As a special exception to the GNU General Public License,
21597 # if you distribute this file as part of a program or library that
21598 # is built using GNU Libtool, you may include this file under the
21599 # same distribution terms that you use for the rest of that program.
21601 # GNU Libtool is distributed in the hope that it will be useful,
21602 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21603 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21604 # GNU General Public License for more details.
21606 # You should have received a copy of the GNU General Public License
21607 # along with GNU Libtool; see the file COPYING. If not, a copy
21608 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
21609 # obtained by writing to the Free Software Foundation, Inc.,
21610 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21613 # The names of the tagged configurations supported by this script.
21614 available_tags="CXX "
21616 # ### BEGIN LIBTOOL CONFIG
21618 # Which release of libtool.m4 was used?
21619 macro_version=$macro_version
21620 macro_revision=$macro_revision
21622 # Whether or not to build shared libraries.
21623 build_libtool_libs=$enable_shared
21625 # Whether or not to build static libraries.
21626 build_old_libs=$enable_static
21628 # What type of objects to build.
21629 pic_mode=$pic_mode
21631 # Whether or not to optimize for fast installation.
21632 fast_install=$enable_fast_install
21634 # Shell to use when invoking shell scripts.
21635 SHELL=$lt_SHELL
21637 # An echo program that protects backslashes.
21638 ECHO=$lt_ECHO
21640 # The host system.
21641 host_alias=$host_alias
21642 host=$host
21643 host_os=$host_os
21645 # The build system.
21646 build_alias=$build_alias
21647 build=$build
21648 build_os=$build_os
21650 # A sed program that does not truncate output.
21651 SED=$lt_SED
21653 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21654 Xsed="\$SED -e 1s/^X//"
21656 # A grep program that handles long lines.
21657 GREP=$lt_GREP
21659 # An ERE matcher.
21660 EGREP=$lt_EGREP
21662 # A literal string matcher.
21663 FGREP=$lt_FGREP
21665 # A BSD- or MS-compatible name lister.
21666 NM=$lt_NM
21668 # Whether we need soft or hard links.
21669 LN_S=$lt_LN_S
21671 # What is the maximum length of a command?
21672 max_cmd_len=$max_cmd_len
21674 # Object file suffix (normally "o").
21675 objext=$ac_objext
21677 # Executable file suffix (normally "").
21678 exeext=$exeext
21680 # whether the shell understands "unset".
21681 lt_unset=$lt_unset
21683 # turn spaces into newlines.
21684 SP2NL=$lt_lt_SP2NL
21686 # turn newlines into spaces.
21687 NL2SP=$lt_lt_NL2SP
21689 # convert \$build file names to \$host format.
21690 to_host_file_cmd=$lt_cv_to_host_file_cmd
21692 # convert \$build files to toolchain format.
21693 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
21695 # An object symbol dumper.
21696 OBJDUMP=$lt_OBJDUMP
21698 # Method to check whether dependent libraries are shared objects.
21699 deplibs_check_method=$lt_deplibs_check_method
21701 # Command to use when deplibs_check_method = "file_magic".
21702 file_magic_cmd=$lt_file_magic_cmd
21704 # How to find potential files when deplibs_check_method = "file_magic".
21705 file_magic_glob=$lt_file_magic_glob
21707 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
21708 want_nocaseglob=$lt_want_nocaseglob
21710 # DLL creation program.
21711 DLLTOOL=$lt_DLLTOOL
21713 # Command to associate shared and link libraries.
21714 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
21716 # The archiver.
21717 AR=$lt_AR
21719 # Flags to create an archive.
21720 AR_FLAGS=$lt_AR_FLAGS
21722 # How to feed a file listing to the archiver.
21723 archiver_list_spec=$lt_archiver_list_spec
21725 # A symbol stripping program.
21726 STRIP=$lt_STRIP
21728 # Commands used to install an old-style archive.
21729 RANLIB=$lt_RANLIB
21730 old_postinstall_cmds=$lt_old_postinstall_cmds
21731 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21733 # Whether to use a lock for old archive extraction.
21734 lock_old_archive_extraction=$lock_old_archive_extraction
21736 # A C compiler.
21737 LTCC=$lt_CC
21739 # LTCC compiler flags.
21740 LTCFLAGS=$lt_CFLAGS
21742 # Take the output of nm and produce a listing of raw symbols and C names.
21743 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21745 # Transform the output of nm in a proper C declaration.
21746 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21748 # Transform the output of nm in a C name address pair.
21749 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21751 # Transform the output of nm in a C name address pair when lib prefix is needed.
21752 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21754 # Specify filename containing input files for \$NM.
21755 nm_file_list_spec=$lt_nm_file_list_spec
21757 # The root where to search for dependent libraries,and in which our libraries should be installed.
21758 lt_sysroot=$lt_sysroot
21760 # The name of the directory that contains temporary libtool files.
21761 objdir=$objdir
21763 # Used to examine libraries when file_magic_cmd begins with "file".
21764 MAGIC_CMD=$MAGIC_CMD
21766 # Must we lock files when doing compilation?
21767 need_locks=$lt_need_locks
21769 # Manifest tool.
21770 MANIFEST_TOOL=$lt_MANIFEST_TOOL
21772 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21773 DSYMUTIL=$lt_DSYMUTIL
21775 # Tool to change global to local symbols on Mac OS X.
21776 NMEDIT=$lt_NMEDIT
21778 # Tool to manipulate fat objects and archives on Mac OS X.
21779 LIPO=$lt_LIPO
21781 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21782 OTOOL=$lt_OTOOL
21784 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21785 OTOOL64=$lt_OTOOL64
21787 # Old archive suffix (normally "a").
21788 libext=$libext
21790 # Shared library suffix (normally ".so").
21791 shrext_cmds=$lt_shrext_cmds
21793 # The commands to extract the exported symbol list from a shared archive.
21794 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21796 # Variables whose values should be saved in libtool wrapper scripts and
21797 # restored at link time.
21798 variables_saved_for_relink=$lt_variables_saved_for_relink
21800 # Do we need the "lib" prefix for modules?
21801 need_lib_prefix=$need_lib_prefix
21803 # Do we need a version for libraries?
21804 need_version=$need_version
21806 # Library versioning type.
21807 version_type=$version_type
21809 # Shared library runtime path variable.
21810 runpath_var=$runpath_var
21812 # Shared library path variable.
21813 shlibpath_var=$shlibpath_var
21815 # Is shlibpath searched before the hard-coded library search path?
21816 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21818 # Format of library name prefix.
21819 libname_spec=$lt_libname_spec
21821 # List of archive names. First name is the real one, the rest are links.
21822 # The last name is the one that the linker finds with -lNAME
21823 library_names_spec=$lt_library_names_spec
21825 # The coded name of the library, if different from the real name.
21826 soname_spec=$lt_soname_spec
21828 # Permission mode override for installation of shared libraries.
21829 install_override_mode=$lt_install_override_mode
21831 # Command to use after installation of a shared archive.
21832 postinstall_cmds=$lt_postinstall_cmds
21834 # Command to use after uninstallation of a shared archive.
21835 postuninstall_cmds=$lt_postuninstall_cmds
21837 # Commands used to finish a libtool library installation in a directory.
21838 finish_cmds=$lt_finish_cmds
21840 # As "finish_cmds", except a single script fragment to be evaled but
21841 # not shown.
21842 finish_eval=$lt_finish_eval
21844 # Whether we should hardcode library paths into libraries.
21845 hardcode_into_libs=$hardcode_into_libs
21847 # Compile-time system search path for libraries.
21848 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21850 # Run-time system search path for libraries.
21851 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21853 # Whether dlopen is supported.
21854 dlopen_support=$enable_dlopen
21856 # Whether dlopen of programs is supported.
21857 dlopen_self=$enable_dlopen_self
21859 # Whether dlopen of statically linked programs is supported.
21860 dlopen_self_static=$enable_dlopen_self_static
21862 # Commands to strip libraries.
21863 old_striplib=$lt_old_striplib
21864 striplib=$lt_striplib
21867 # The linker used to build libraries.
21868 LD=$lt_LD
21870 # How to create reloadable object files.
21871 reload_flag=$lt_reload_flag
21872 reload_cmds=$lt_reload_cmds
21874 # Commands used to build an old-style archive.
21875 old_archive_cmds=$lt_old_archive_cmds
21877 # A language specific compiler.
21878 CC=$lt_compiler
21880 # Is the compiler the GNU compiler?
21881 with_gcc=$GCC
21883 # Compiler flag to turn off builtin functions.
21884 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21886 # Additional compiler flags for building library objects.
21887 pic_flag=$lt_lt_prog_compiler_pic
21889 # How to pass a linker flag through the compiler.
21890 wl=$lt_lt_prog_compiler_wl
21892 # Compiler flag to prevent dynamic linking.
21893 link_static_flag=$lt_lt_prog_compiler_static
21895 # Does compiler simultaneously support -c and -o options?
21896 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21898 # Whether or not to add -lc for building shared libraries.
21899 build_libtool_need_lc=$archive_cmds_need_lc
21901 # Whether or not to disallow shared libs when runtime libs are static.
21902 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21904 # Compiler flag to allow reflexive dlopens.
21905 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21907 # Compiler flag to generate shared objects directly from archives.
21908 whole_archive_flag_spec=$lt_whole_archive_flag_spec
21910 # Whether the compiler copes with passing no objects directly.
21911 compiler_needs_object=$lt_compiler_needs_object
21913 # Create an old-style archive from a shared archive.
21914 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21916 # Create a temporary old-style archive to link instead of a shared archive.
21917 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21919 # Commands used to build a shared archive.
21920 archive_cmds=$lt_archive_cmds
21921 archive_expsym_cmds=$lt_archive_expsym_cmds
21923 # Commands used to build a loadable module if different from building
21924 # a shared archive.
21925 module_cmds=$lt_module_cmds
21926 module_expsym_cmds=$lt_module_expsym_cmds
21928 # Whether we are building with GNU ld or not.
21929 with_gnu_ld=$lt_with_gnu_ld
21931 # Flag that allows shared libraries with undefined symbols to be built.
21932 allow_undefined_flag=$lt_allow_undefined_flag
21934 # Flag that enforces no undefined symbols.
21935 no_undefined_flag=$lt_no_undefined_flag
21937 # Flag to hardcode \$libdir into a binary during linking.
21938 # This must work even if \$libdir does not exist
21939 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21941 # If ld is used when linking, flag to hardcode \$libdir into a binary
21942 # during linking. This must work even if \$libdir does not exist.
21943 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
21945 # Whether we need a single "-rpath" flag with a separated argument.
21946 hardcode_libdir_separator=$lt_hardcode_libdir_separator
21948 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21949 # DIR into the resulting binary.
21950 hardcode_direct=$hardcode_direct
21952 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21953 # DIR into the resulting binary and the resulting library dependency is
21954 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21955 # library is relocated.
21956 hardcode_direct_absolute=$hardcode_direct_absolute
21958 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21959 # into the resulting binary.
21960 hardcode_minus_L=$hardcode_minus_L
21962 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21963 # into the resulting binary.
21964 hardcode_shlibpath_var=$hardcode_shlibpath_var
21966 # Set to "yes" if building a shared library automatically hardcodes DIR
21967 # into the library and all subsequent libraries and executables linked
21968 # against it.
21969 hardcode_automatic=$hardcode_automatic
21971 # Set to yes if linker adds runtime paths of dependent libraries
21972 # to runtime path list.
21973 inherit_rpath=$inherit_rpath
21975 # Whether libtool must link a program against all its dependency libraries.
21976 link_all_deplibs=$link_all_deplibs
21978 # Set to "yes" if exported symbols are required.
21979 always_export_symbols=$always_export_symbols
21981 # The commands to list exported symbols.
21982 export_symbols_cmds=$lt_export_symbols_cmds
21984 # Symbols that should not be listed in the preloaded symbols.
21985 exclude_expsyms=$lt_exclude_expsyms
21987 # Symbols that must always be exported.
21988 include_expsyms=$lt_include_expsyms
21990 # Commands necessary for linking programs (against libraries) with templates.
21991 prelink_cmds=$lt_prelink_cmds
21993 # Commands necessary for finishing linking programs.
21994 postlink_cmds=$lt_postlink_cmds
21996 # Specify filename containing input files.
21997 file_list_spec=$lt_file_list_spec
21999 # How to hardcode a shared library path into an executable.
22000 hardcode_action=$hardcode_action
22002 # The directories searched by this compiler when creating a shared library.
22003 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
22005 # Dependencies to place before and after the objects being linked to
22006 # create a shared library.
22007 predep_objects=$lt_predep_objects
22008 postdep_objects=$lt_postdep_objects
22009 predeps=$lt_predeps
22010 postdeps=$lt_postdeps
22012 # The library search path used internally by the compiler when linking
22013 # a shared library.
22014 compiler_lib_search_path=$lt_compiler_lib_search_path
22016 # ### END LIBTOOL CONFIG
22018 _LT_EOF
22020 case $host_os in
22021 aix3*)
22022 cat <<\_LT_EOF >> "$cfgfile"
22023 # AIX sometimes has problems with the GCC collect2 program. For some
22024 # reason, if we set the COLLECT_NAMES environment variable, the problems
22025 # vanish in a puff of smoke.
22026 if test "X${COLLECT_NAMES+set}" != Xset; then
22027 COLLECT_NAMES=
22028 export COLLECT_NAMES
22030 _LT_EOF
22032 esac
22035 ltmain="$ac_aux_dir/ltmain.sh"
22038 # We use sed instead of cat because bash on DJGPP gets confused if
22039 # if finds mixed CR/LF and LF-only lines. Since sed operates in
22040 # text mode, it properly converts lines to CR/LF. This bash problem
22041 # is reportedly fixed, but why not run on old versions too?
22042 sed '$q' "$ltmain" >> "$cfgfile" \
22043 || (rm -f "$cfgfile"; exit 1)
22045 if test x"$xsi_shell" = xyes; then
22046 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
22047 func_dirname ()\
22049 \ case ${1} in\
22050 \ */*) func_dirname_result="${1%/*}${2}" ;;\
22051 \ * ) func_dirname_result="${3}" ;;\
22052 \ esac\
22053 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
22054 && mv -f "$cfgfile.tmp" "$cfgfile" \
22055 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22056 test 0 -eq $? || _lt_function_replace_fail=:
22059 sed -e '/^func_basename ()$/,/^} # func_basename /c\
22060 func_basename ()\
22062 \ func_basename_result="${1##*/}"\
22063 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
22064 && mv -f "$cfgfile.tmp" "$cfgfile" \
22065 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22066 test 0 -eq $? || _lt_function_replace_fail=:
22069 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
22070 func_dirname_and_basename ()\
22072 \ case ${1} in\
22073 \ */*) func_dirname_result="${1%/*}${2}" ;;\
22074 \ * ) func_dirname_result="${3}" ;;\
22075 \ esac\
22076 \ func_basename_result="${1##*/}"\
22077 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
22078 && mv -f "$cfgfile.tmp" "$cfgfile" \
22079 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22080 test 0 -eq $? || _lt_function_replace_fail=:
22083 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
22084 func_stripname ()\
22086 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
22087 \ # positional parameters, so assign one to ordinary parameter first.\
22088 \ func_stripname_result=${3}\
22089 \ func_stripname_result=${func_stripname_result#"${1}"}\
22090 \ func_stripname_result=${func_stripname_result%"${2}"}\
22091 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
22092 && mv -f "$cfgfile.tmp" "$cfgfile" \
22093 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22094 test 0 -eq $? || _lt_function_replace_fail=:
22097 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
22098 func_split_long_opt ()\
22100 \ func_split_long_opt_name=${1%%=*}\
22101 \ func_split_long_opt_arg=${1#*=}\
22102 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
22103 && mv -f "$cfgfile.tmp" "$cfgfile" \
22104 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22105 test 0 -eq $? || _lt_function_replace_fail=:
22108 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
22109 func_split_short_opt ()\
22111 \ func_split_short_opt_arg=${1#??}\
22112 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
22113 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
22114 && mv -f "$cfgfile.tmp" "$cfgfile" \
22115 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22116 test 0 -eq $? || _lt_function_replace_fail=:
22119 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
22120 func_lo2o ()\
22122 \ case ${1} in\
22123 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
22124 \ *) func_lo2o_result=${1} ;;\
22125 \ esac\
22126 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
22127 && mv -f "$cfgfile.tmp" "$cfgfile" \
22128 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22129 test 0 -eq $? || _lt_function_replace_fail=:
22132 sed -e '/^func_xform ()$/,/^} # func_xform /c\
22133 func_xform ()\
22135 func_xform_result=${1%.*}.lo\
22136 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
22137 && mv -f "$cfgfile.tmp" "$cfgfile" \
22138 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22139 test 0 -eq $? || _lt_function_replace_fail=:
22142 sed -e '/^func_arith ()$/,/^} # func_arith /c\
22143 func_arith ()\
22145 func_arith_result=$(( $* ))\
22146 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
22147 && mv -f "$cfgfile.tmp" "$cfgfile" \
22148 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22149 test 0 -eq $? || _lt_function_replace_fail=:
22152 sed -e '/^func_len ()$/,/^} # func_len /c\
22153 func_len ()\
22155 func_len_result=${#1}\
22156 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
22157 && mv -f "$cfgfile.tmp" "$cfgfile" \
22158 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22159 test 0 -eq $? || _lt_function_replace_fail=:
22163 if test x"$lt_shell_append" = xyes; then
22164 sed -e '/^func_append ()$/,/^} # func_append /c\
22165 func_append ()\
22167 eval "${1}+=\\${2}"\
22168 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
22169 && mv -f "$cfgfile.tmp" "$cfgfile" \
22170 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22171 test 0 -eq $? || _lt_function_replace_fail=:
22174 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
22175 func_append_quoted ()\
22177 \ func_quote_for_eval "${2}"\
22178 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
22179 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
22180 && mv -f "$cfgfile.tmp" "$cfgfile" \
22181 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22182 test 0 -eq $? || _lt_function_replace_fail=:
22185 # Save a `func_append' function call where possible by direct use of '+='
22186 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
22187 && mv -f "$cfgfile.tmp" "$cfgfile" \
22188 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22189 test 0 -eq $? || _lt_function_replace_fail=:
22190 else
22191 # Save a `func_append' function call even when '+=' is not available
22192 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
22193 && mv -f "$cfgfile.tmp" "$cfgfile" \
22194 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22195 test 0 -eq $? || _lt_function_replace_fail=:
22198 if test x"$_lt_function_replace_fail" = x":"; then
22199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
22200 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
22204 mv -f "$cfgfile" "$ofile" ||
22205 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
22206 chmod +x "$ofile"
22209 cat <<_LT_EOF >> "$ofile"
22211 # ### BEGIN LIBTOOL TAG CONFIG: CXX
22213 # The linker used to build libraries.
22214 LD=$lt_LD_CXX
22216 # How to create reloadable object files.
22217 reload_flag=$lt_reload_flag_CXX
22218 reload_cmds=$lt_reload_cmds_CXX
22220 # Commands used to build an old-style archive.
22221 old_archive_cmds=$lt_old_archive_cmds_CXX
22223 # A language specific compiler.
22224 CC=$lt_compiler_CXX
22226 # Is the compiler the GNU compiler?
22227 with_gcc=$GCC_CXX
22229 # Compiler flag to turn off builtin functions.
22230 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
22232 # Additional compiler flags for building library objects.
22233 pic_flag=$lt_lt_prog_compiler_pic_CXX
22235 # How to pass a linker flag through the compiler.
22236 wl=$lt_lt_prog_compiler_wl_CXX
22238 # Compiler flag to prevent dynamic linking.
22239 link_static_flag=$lt_lt_prog_compiler_static_CXX
22241 # Does compiler simultaneously support -c and -o options?
22242 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
22244 # Whether or not to add -lc for building shared libraries.
22245 build_libtool_need_lc=$archive_cmds_need_lc_CXX
22247 # Whether or not to disallow shared libs when runtime libs are static.
22248 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
22250 # Compiler flag to allow reflexive dlopens.
22251 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
22253 # Compiler flag to generate shared objects directly from archives.
22254 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
22256 # Whether the compiler copes with passing no objects directly.
22257 compiler_needs_object=$lt_compiler_needs_object_CXX
22259 # Create an old-style archive from a shared archive.
22260 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
22262 # Create a temporary old-style archive to link instead of a shared archive.
22263 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
22265 # Commands used to build a shared archive.
22266 archive_cmds=$lt_archive_cmds_CXX
22267 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
22269 # Commands used to build a loadable module if different from building
22270 # a shared archive.
22271 module_cmds=$lt_module_cmds_CXX
22272 module_expsym_cmds=$lt_module_expsym_cmds_CXX
22274 # Whether we are building with GNU ld or not.
22275 with_gnu_ld=$lt_with_gnu_ld_CXX
22277 # Flag that allows shared libraries with undefined symbols to be built.
22278 allow_undefined_flag=$lt_allow_undefined_flag_CXX
22280 # Flag that enforces no undefined symbols.
22281 no_undefined_flag=$lt_no_undefined_flag_CXX
22283 # Flag to hardcode \$libdir into a binary during linking.
22284 # This must work even if \$libdir does not exist
22285 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
22287 # If ld is used when linking, flag to hardcode \$libdir into a binary
22288 # during linking. This must work even if \$libdir does not exist.
22289 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
22291 # Whether we need a single "-rpath" flag with a separated argument.
22292 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
22294 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22295 # DIR into the resulting binary.
22296 hardcode_direct=$hardcode_direct_CXX
22298 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22299 # DIR into the resulting binary and the resulting library dependency is
22300 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22301 # library is relocated.
22302 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
22304 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22305 # into the resulting binary.
22306 hardcode_minus_L=$hardcode_minus_L_CXX
22308 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22309 # into the resulting binary.
22310 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
22312 # Set to "yes" if building a shared library automatically hardcodes DIR
22313 # into the library and all subsequent libraries and executables linked
22314 # against it.
22315 hardcode_automatic=$hardcode_automatic_CXX
22317 # Set to yes if linker adds runtime paths of dependent libraries
22318 # to runtime path list.
22319 inherit_rpath=$inherit_rpath_CXX
22321 # Whether libtool must link a program against all its dependency libraries.
22322 link_all_deplibs=$link_all_deplibs_CXX
22324 # Set to "yes" if exported symbols are required.
22325 always_export_symbols=$always_export_symbols_CXX
22327 # The commands to list exported symbols.
22328 export_symbols_cmds=$lt_export_symbols_cmds_CXX
22330 # Symbols that should not be listed in the preloaded symbols.
22331 exclude_expsyms=$lt_exclude_expsyms_CXX
22333 # Symbols that must always be exported.
22334 include_expsyms=$lt_include_expsyms_CXX
22336 # Commands necessary for linking programs (against libraries) with templates.
22337 prelink_cmds=$lt_prelink_cmds_CXX
22339 # Commands necessary for finishing linking programs.
22340 postlink_cmds=$lt_postlink_cmds_CXX
22342 # Specify filename containing input files.
22343 file_list_spec=$lt_file_list_spec_CXX
22345 # How to hardcode a shared library path into an executable.
22346 hardcode_action=$hardcode_action_CXX
22348 # The directories searched by this compiler when creating a shared library.
22349 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
22351 # Dependencies to place before and after the objects being linked to
22352 # create a shared library.
22353 predep_objects=$lt_predep_objects_CXX
22354 postdep_objects=$lt_postdep_objects_CXX
22355 predeps=$lt_predeps_CXX
22356 postdeps=$lt_postdeps_CXX
22358 # The library search path used internally by the compiler when linking
22359 # a shared library.
22360 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
22362 # ### END LIBTOOL TAG CONFIG: CXX
22363 _LT_EOF
22367 esac
22368 done # for ac_tag
22371 as_fn_exit 0
22372 _ACEOF
22373 ac_clean_files=$ac_clean_files_save
22375 test $ac_write_fail = 0 ||
22376 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22379 # configure is writing to config.log, and then calls config.status.
22380 # config.status does its own redirection, appending to config.log.
22381 # Unfortunately, on DOS this fails, as config.log is still kept open
22382 # by configure, so config.status won't be able to write to it; its
22383 # output is simply discarded. So we exec the FD to /dev/null,
22384 # effectively closing config.log, so it can be properly (re)opened and
22385 # appended to by config.status. When coming back to configure, we
22386 # need to make the FD available again.
22387 if test "$no_create" != yes; then
22388 ac_cs_success=:
22389 ac_config_status_args=
22390 test "$silent" = yes &&
22391 ac_config_status_args="$ac_config_status_args --quiet"
22392 exec 5>/dev/null
22393 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22394 exec 5>>config.log
22395 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22396 # would make configure fail if this is the last instruction.
22397 $ac_cs_success || as_fn_exit 1
22399 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22400 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22401 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22405 { $as_echo "$as_me:${as_lineno-$LINENO}:
22407 Configured:
22408 quvi version: ${VERSION} g:${git_describe} b:${build_date}
22409 host setup: ${host}
22410 compiler: ${CC}
22411 cflags: ${CFLAGS}
22412 prefix: ${prefix}
22414 Options:
22415 build libquvi: shared=${enable_shared} static=${enable_static}
22416 build examples: ${enable_examples}
22417 build quvi: ${enable_quvi}
22419 enable tests: ${enable_tests}
22420 enable todo: ${enable_todo}
22421 enable nsfw: ${enable_nsfw}
22422 enable nlfy: ${enable_nlfy}
22424 install manual: ${with_man}
22425 install docs: ${with_doc}
22426 " >&5
22427 $as_echo "$as_me:
22429 Configured:
22430 quvi version: ${VERSION} g:${git_describe} b:${build_date}
22431 host setup: ${host}
22432 compiler: ${CC}
22433 cflags: ${CFLAGS}
22434 prefix: ${prefix}
22436 Options:
22437 build libquvi: shared=${enable_shared} static=${enable_static}
22438 build examples: ${enable_examples}
22439 build quvi: ${enable_quvi}
22441 enable tests: ${enable_tests}
22442 enable todo: ${enable_todo}
22443 enable nsfw: ${enable_nsfw}
22444 enable nlfy: ${enable_nlfy}
22446 install manual: ${with_man}
22447 install docs: ${with_doc}
22448 " >&6;}
22450 #Other:
22451 # gengetopt: ${GENGETOPT}
22452 # doxygen: ${DOXYGEN}
22453 # prove: ${PROVE}
22454 # pod2man: ${POD2MAN}
22455 # pod2html: ${POD2HTML}