In gcc/objc/: 2010-11-29 Nicola Pero <nicola.pero@meta-innovation.com>
[official-gcc.git] / libquadmath / configure
blob166d42d6be4a5578e572da3d600214e8c64214ba
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for GCC Quad-precision Math Library 0.1.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 case $0 in #((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
95 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
99 IFS=$as_save_IFS
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106 as_myself=$0
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136 emulate sh
137 NULLCMD=:
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
141 setopt NO_GLOB_SUBST
142 else
143 case \`(set -o) 2>/dev/null\` in #(
144 *posix*) :
145 set -o posix ;; #(
146 *) :
148 esac
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
164 else
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
173 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
174 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
175 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 PATH=/empty FPATH=/empty; export PATH FPATH
178 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
179 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
180 test \$(( 1 + 1 )) = 2 || exit 1"
181 if (eval "$as_required") 2>/dev/null; then :
182 as_have_required=yes
183 else
184 as_have_required=no
186 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
188 else
189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190 as_found=false
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
193 IFS=$as_save_IFS
194 test -z "$as_dir" && as_dir=.
195 as_found=:
196 case $as_dir in #(
198 for as_base in sh bash ksh sh5; do
199 # Try only shells that exist, to save several forks.
200 as_shell=$as_dir/$as_base
201 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203 CONFIG_SHELL=$as_shell as_have_required=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205 break 2
208 done;;
209 esac
210 as_found=false
211 done
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214 CONFIG_SHELL=$SHELL as_have_required=yes
215 fi; }
216 IFS=$as_save_IFS
219 if test "x$CONFIG_SHELL" != x; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
223 BASH_ENV=/dev/null
224 ENV=/dev/null
225 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 export CONFIG_SHELL
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x$as_have_required = xno; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x${ZSH_VERSION+set} = xset ; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236 else
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
242 exit 1
246 SHELL=${CONFIG_SHELL-/bin/sh}
247 export SHELL
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
255 # as_fn_unset VAR
256 # ---------------
257 # Portably unset VAR.
258 as_fn_unset ()
260 { eval $1=; unset $1;}
262 as_unset=as_fn_unset
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
267 as_fn_set_status ()
269 return $1
270 } # as_fn_set_status
272 # as_fn_exit STATUS
273 # -----------------
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 as_fn_exit ()
277 set +e
278 as_fn_set_status $1
279 exit $1
280 } # as_fn_exit
282 # as_fn_mkdir_p
283 # -------------
284 # Create "$as_dir" as a directory, including parents if necessary.
285 as_fn_mkdir_p ()
288 case $as_dir in #(
289 -*) as_dir=./$as_dir;;
290 esac
291 test -d "$as_dir" || eval $as_mkdir_p || {
292 as_dirs=
293 while :; do
294 case $as_dir in #(
295 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296 *) as_qdir=$as_dir;;
297 esac
298 as_dirs="'$as_qdir' $as_dirs"
299 as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306 s//\1/
309 /^X\(\/\/\)[^/].*/{
310 s//\1/
313 /^X\(\/\/\)$/{
314 s//\1/
317 /^X\(\/\).*/{
318 s//\1/
321 s/.*/./; q'`
322 test -d "$as_dir" && break
323 done
324 test -z "$as_dirs" || eval "mkdir $as_dirs"
325 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
328 } # as_fn_mkdir_p
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
334 # implementations.
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336 eval 'as_fn_append ()
338 eval $1+=\$2
340 else
341 as_fn_append ()
343 eval $1=\$$1\$2
345 fi # as_fn_append
347 # as_fn_arith ARG...
348 # ------------------
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353 eval 'as_fn_arith ()
355 as_val=$(( $* ))
357 else
358 as_fn_arith ()
360 as_val=`expr "$@" || test $? -eq 1`
362 fi # as_fn_arith
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
370 as_fn_error ()
372 as_status=$?; test $as_status -eq 0 && as_status=1
373 if test "$3"; then
374 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit $as_status
379 } # as_fn_error
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001; then
383 as_expr=expr
384 else
385 as_expr=false
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389 as_basename=basename
390 else
391 as_basename=false
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395 as_dirname=dirname
396 else
397 as_dirname=false
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404 $as_echo X/"$0" |
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
406 s//\1/
409 /^X\/\(\/\/\)$/{
410 s//\1/
413 /^X\/\(\/\).*/{
414 s//\1/
417 s/.*/./; q'`
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
427 as_lineno_1=$LINENO as_lineno_1a=$LINENO
428 as_lineno_2=$LINENO as_lineno_2a=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
432 sed -n '
434 /[$]LINENO/=
435 ' <$as_myself |
436 sed '
437 s/[$]LINENO.*/&-/
438 t lineno
440 :lineno
442 :loop
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 t loop
445 s/-\n.*//
446 ' >$as_me.lineno &&
447 chmod +x "$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
453 . "./$as_me.lineno"
454 # Exit status is that of the last command.
455 exit
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
460 -n*)
461 case `echo 'xy\c'` in
462 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
463 xy) ECHO_C='\c';;
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 ECHO_T=' ';;
466 esac;;
468 ECHO_N='-n';;
469 esac
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473 rm -f conf$$.dir/conf$$.file
474 else
475 rm -f conf$$.dir
476 mkdir conf$$.dir 2>/dev/null
478 if (echo >conf$$.file) 2>/dev/null; then
479 if ln -s conf$$.file conf$$ 2>/dev/null; then
480 as_ln_s='ln -s'
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486 as_ln_s='cp -p'
487 elif ln conf$$.file conf$$ 2>/dev/null; then
488 as_ln_s=ln
489 else
490 as_ln_s='cp -p'
492 else
493 as_ln_s='cp -p'
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
498 if mkdir -p . 2>/dev/null; then
499 as_mkdir_p='mkdir -p "$as_dir"'
500 else
501 test -d ./-p && rmdir ./-p
502 as_mkdir_p=false
505 if test -x / >/dev/null 2>&1; then
506 as_test_x='test -x'
507 else
508 if ls -dL / >/dev/null 2>&1; then
509 as_ls_L_option=L
510 else
511 as_ls_L_option=
513 as_test_x='
514 eval sh -c '\''
515 if test -d "$1"; then
516 test -d "$1/.";
517 else
518 case $1 in #(
519 -*)set "./$1";;
520 esac;
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
523 '\'' sh
526 as_executable_p=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev/null 6>&1
539 # Name of the host.
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
545 # Initializations.
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
556 # Identity of this package.
557 PACKAGE_NAME='GCC Quad-precision Math Library'
558 PACKAGE_TARNAME='libquadmath'
559 PACKAGE_VERSION='0.1'
560 PACKAGE_STRING='GCC Quad-precision Math Library 0.1'
561 PACKAGE_BUGREPORT=''
562 PACKAGE_URL=''
564 # Factoring default headers for most tests.
565 ac_includes_default="\
566 #include <stdio.h>
567 #ifdef HAVE_SYS_TYPES_H
568 # include <sys/types.h>
569 #endif
570 #ifdef HAVE_SYS_STAT_H
571 # include <sys/stat.h>
572 #endif
573 #ifdef STDC_HEADERS
574 # include <stdlib.h>
575 # include <stddef.h>
576 #else
577 # ifdef HAVE_STDLIB_H
578 # include <stdlib.h>
579 # endif
580 #endif
581 #ifdef HAVE_STRING_H
582 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
583 # include <memory.h>
584 # endif
585 # include <string.h>
586 #endif
587 #ifdef HAVE_STRINGS_H
588 # include <strings.h>
589 #endif
590 #ifdef HAVE_INTTYPES_H
591 # include <inttypes.h>
592 #endif
593 #ifdef HAVE_STDINT_H
594 # include <stdint.h>
595 #endif
596 #ifdef HAVE_UNISTD_H
597 # include <unistd.h>
598 #endif"
600 ac_subst_vars='am__EXEEXT_FALSE
601 am__EXEEXT_TRUE
602 LTLIBOBJS
603 LIBOBJS
604 BUILD_LIBQUADMATH_FALSE
605 BUILD_LIBQUADMATH_TRUE
606 LIBQUAD_USE_SYMVER_SUN_FALSE
607 LIBQUAD_USE_SYMVER_SUN_TRUE
608 LIBQUAD_USE_SYMVER_GNU_FALSE
609 LIBQUAD_USE_SYMVER_GNU_TRUE
610 LIBQUAD_USE_SYMVER_FALSE
611 LIBQUAD_USE_SYMVER_TRUE
612 toolexeclibdir
613 toolexecdir
614 multi_basedir
615 MAINT
616 MAINTAINER_MODE_FALSE
617 MAINTAINER_MODE_TRUE
618 enable_static
619 enable_shared
621 OTOOL64
622 OTOOL
623 LIPO
624 NMEDIT
625 DSYMUTIL
626 RANLIB
628 OBJDUMP
629 LN_S
631 ac_ct_DUMPBIN
632 DUMPBIN
634 FGREP
635 EGREP
636 GREP
638 LIBTOOL
639 am__fastdepCC_FALSE
640 am__fastdepCC_TRUE
641 CCDEPMODE
642 AMDEPBACKSLASH
643 AMDEP_FALSE
644 AMDEP_TRUE
645 am__quote
646 am__include
647 DEPDIR
648 OBJEXT
649 EXEEXT
650 ac_ct_CC
651 CPPFLAGS
652 LDFLAGS
653 CFLAGS
655 am__untar
656 am__tar
657 AMTAR
658 am__leading_dot
659 SET_MAKE
661 mkdir_p
662 MKDIR_P
663 INSTALL_STRIP_PROGRAM
664 STRIP
665 install_sh
666 MAKEINFO
667 AUTOHEADER
668 AUTOMAKE
669 AUTOCONF
670 ACLOCAL
671 VERSION
672 PACKAGE
673 CYGPATH_W
674 am__isrc
675 INSTALL_DATA
676 INSTALL_SCRIPT
677 INSTALL_PROGRAM
678 target_os
679 target_vendor
680 target_cpu
681 target
682 host_os
683 host_vendor
684 host_cpu
685 host
686 build_os
687 build_vendor
688 build_cpu
689 build
690 target_alias
691 host_alias
692 build_alias
693 LIBS
694 ECHO_T
695 ECHO_N
696 ECHO_C
697 DEFS
698 mandir
699 localedir
700 libdir
701 psdir
702 pdfdir
703 dvidir
704 htmldir
705 infodir
706 docdir
707 oldincludedir
708 includedir
709 localstatedir
710 sharedstatedir
711 sysconfdir
712 datadir
713 datarootdir
714 libexecdir
715 sbindir
716 bindir
717 program_transform_name
718 prefix
719 exec_prefix
720 PACKAGE_URL
721 PACKAGE_BUGREPORT
722 PACKAGE_STRING
723 PACKAGE_VERSION
724 PACKAGE_TARNAME
725 PACKAGE_NAME
726 PATH_SEPARATOR
727 SHELL'
728 ac_subst_files=''
729 ac_user_opts='
730 enable_option_checking
731 enable_dependency_tracking
732 enable_version_specific_runtime_libs
733 enable_shared
734 enable_static
735 with_pic
736 enable_fast_install
737 with_gnu_ld
738 enable_libtool_lock
739 enable_maintainer_mode
740 enable_multilib
742 ac_precious_vars='build_alias
743 host_alias
744 target_alias
746 CFLAGS
747 LDFLAGS
748 LIBS
749 CPPFLAGS
750 CPP'
753 # Initialize some variables set by options.
754 ac_init_help=
755 ac_init_version=false
756 ac_unrecognized_opts=
757 ac_unrecognized_sep=
758 # The variables have the same names as the options, with
759 # dashes changed to underlines.
760 cache_file=/dev/null
761 exec_prefix=NONE
762 no_create=
763 no_recursion=
764 prefix=NONE
765 program_prefix=NONE
766 program_suffix=NONE
767 program_transform_name=s,x,x,
768 silent=
769 site=
770 srcdir=
771 verbose=
772 x_includes=NONE
773 x_libraries=NONE
775 # Installation directory options.
776 # These are left unexpanded so users can "make install exec_prefix=/foo"
777 # and all the variables that are supposed to be based on exec_prefix
778 # by default will actually change.
779 # Use braces instead of parens because sh, perl, etc. also accept them.
780 # (The list follows the same order as the GNU Coding Standards.)
781 bindir='${exec_prefix}/bin'
782 sbindir='${exec_prefix}/sbin'
783 libexecdir='${exec_prefix}/libexec'
784 datarootdir='${prefix}/share'
785 datadir='${datarootdir}'
786 sysconfdir='${prefix}/etc'
787 sharedstatedir='${prefix}/com'
788 localstatedir='${prefix}/var'
789 includedir='${prefix}/include'
790 oldincludedir='/usr/include'
791 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
792 infodir='${datarootdir}/info'
793 htmldir='${docdir}'
794 dvidir='${docdir}'
795 pdfdir='${docdir}'
796 psdir='${docdir}'
797 libdir='${exec_prefix}/lib'
798 localedir='${datarootdir}/locale'
799 mandir='${datarootdir}/man'
801 ac_prev=
802 ac_dashdash=
803 for ac_option
805 # If the previous option needs an argument, assign it.
806 if test -n "$ac_prev"; then
807 eval $ac_prev=\$ac_option
808 ac_prev=
809 continue
812 case $ac_option in
813 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
814 *) ac_optarg=yes ;;
815 esac
817 # Accept the important Cygnus configure options, so we can diagnose typos.
819 case $ac_dashdash$ac_option in
821 ac_dashdash=yes ;;
823 -bindir | --bindir | --bindi | --bind | --bin | --bi)
824 ac_prev=bindir ;;
825 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
826 bindir=$ac_optarg ;;
828 -build | --build | --buil | --bui | --bu)
829 ac_prev=build_alias ;;
830 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
831 build_alias=$ac_optarg ;;
833 -cache-file | --cache-file | --cache-fil | --cache-fi \
834 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
835 ac_prev=cache_file ;;
836 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
837 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
838 cache_file=$ac_optarg ;;
840 --config-cache | -C)
841 cache_file=config.cache ;;
843 -datadir | --datadir | --datadi | --datad)
844 ac_prev=datadir ;;
845 -datadir=* | --datadir=* | --datadi=* | --datad=*)
846 datadir=$ac_optarg ;;
848 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
849 | --dataroo | --dataro | --datar)
850 ac_prev=datarootdir ;;
851 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
852 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
853 datarootdir=$ac_optarg ;;
855 -disable-* | --disable-*)
856 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
857 # Reject names that are not valid shell variable names.
858 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
859 as_fn_error "invalid feature name: $ac_useropt"
860 ac_useropt_orig=$ac_useropt
861 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
862 case $ac_user_opts in
864 "enable_$ac_useropt"
865 "*) ;;
866 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
867 ac_unrecognized_sep=', ';;
868 esac
869 eval enable_$ac_useropt=no ;;
871 -docdir | --docdir | --docdi | --doc | --do)
872 ac_prev=docdir ;;
873 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
874 docdir=$ac_optarg ;;
876 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
877 ac_prev=dvidir ;;
878 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
879 dvidir=$ac_optarg ;;
881 -enable-* | --enable-*)
882 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
883 # Reject names that are not valid shell variable names.
884 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
885 as_fn_error "invalid feature name: $ac_useropt"
886 ac_useropt_orig=$ac_useropt
887 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
888 case $ac_user_opts in
890 "enable_$ac_useropt"
891 "*) ;;
892 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
893 ac_unrecognized_sep=', ';;
894 esac
895 eval enable_$ac_useropt=\$ac_optarg ;;
897 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
898 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
899 | --exec | --exe | --ex)
900 ac_prev=exec_prefix ;;
901 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
902 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
903 | --exec=* | --exe=* | --ex=*)
904 exec_prefix=$ac_optarg ;;
906 -gas | --gas | --ga | --g)
907 # Obsolete; use --with-gas.
908 with_gas=yes ;;
910 -help | --help | --hel | --he | -h)
911 ac_init_help=long ;;
912 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
913 ac_init_help=recursive ;;
914 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
915 ac_init_help=short ;;
917 -host | --host | --hos | --ho)
918 ac_prev=host_alias ;;
919 -host=* | --host=* | --hos=* | --ho=*)
920 host_alias=$ac_optarg ;;
922 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
923 ac_prev=htmldir ;;
924 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
925 | --ht=*)
926 htmldir=$ac_optarg ;;
928 -includedir | --includedir | --includedi | --included | --include \
929 | --includ | --inclu | --incl | --inc)
930 ac_prev=includedir ;;
931 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
932 | --includ=* | --inclu=* | --incl=* | --inc=*)
933 includedir=$ac_optarg ;;
935 -infodir | --infodir | --infodi | --infod | --info | --inf)
936 ac_prev=infodir ;;
937 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
938 infodir=$ac_optarg ;;
940 -libdir | --libdir | --libdi | --libd)
941 ac_prev=libdir ;;
942 -libdir=* | --libdir=* | --libdi=* | --libd=*)
943 libdir=$ac_optarg ;;
945 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
946 | --libexe | --libex | --libe)
947 ac_prev=libexecdir ;;
948 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
949 | --libexe=* | --libex=* | --libe=*)
950 libexecdir=$ac_optarg ;;
952 -localedir | --localedir | --localedi | --localed | --locale)
953 ac_prev=localedir ;;
954 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
955 localedir=$ac_optarg ;;
957 -localstatedir | --localstatedir | --localstatedi | --localstated \
958 | --localstate | --localstat | --localsta | --localst | --locals)
959 ac_prev=localstatedir ;;
960 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
961 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
962 localstatedir=$ac_optarg ;;
964 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
965 ac_prev=mandir ;;
966 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
967 mandir=$ac_optarg ;;
969 -nfp | --nfp | --nf)
970 # Obsolete; use --without-fp.
971 with_fp=no ;;
973 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
974 | --no-cr | --no-c | -n)
975 no_create=yes ;;
977 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
978 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
979 no_recursion=yes ;;
981 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
982 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
983 | --oldin | --oldi | --old | --ol | --o)
984 ac_prev=oldincludedir ;;
985 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
986 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
987 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
988 oldincludedir=$ac_optarg ;;
990 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
991 ac_prev=prefix ;;
992 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
993 prefix=$ac_optarg ;;
995 -program-prefix | --program-prefix | --program-prefi | --program-pref \
996 | --program-pre | --program-pr | --program-p)
997 ac_prev=program_prefix ;;
998 -program-prefix=* | --program-prefix=* | --program-prefi=* \
999 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1000 program_prefix=$ac_optarg ;;
1002 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1003 | --program-suf | --program-su | --program-s)
1004 ac_prev=program_suffix ;;
1005 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1006 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1007 program_suffix=$ac_optarg ;;
1009 -program-transform-name | --program-transform-name \
1010 | --program-transform-nam | --program-transform-na \
1011 | --program-transform-n | --program-transform- \
1012 | --program-transform | --program-transfor \
1013 | --program-transfo | --program-transf \
1014 | --program-trans | --program-tran \
1015 | --progr-tra | --program-tr | --program-t)
1016 ac_prev=program_transform_name ;;
1017 -program-transform-name=* | --program-transform-name=* \
1018 | --program-transform-nam=* | --program-transform-na=* \
1019 | --program-transform-n=* | --program-transform-=* \
1020 | --program-transform=* | --program-transfor=* \
1021 | --program-transfo=* | --program-transf=* \
1022 | --program-trans=* | --program-tran=* \
1023 | --progr-tra=* | --program-tr=* | --program-t=*)
1024 program_transform_name=$ac_optarg ;;
1026 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1027 ac_prev=pdfdir ;;
1028 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1029 pdfdir=$ac_optarg ;;
1031 -psdir | --psdir | --psdi | --psd | --ps)
1032 ac_prev=psdir ;;
1033 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1034 psdir=$ac_optarg ;;
1036 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1037 | -silent | --silent | --silen | --sile | --sil)
1038 silent=yes ;;
1040 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1041 ac_prev=sbindir ;;
1042 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1043 | --sbi=* | --sb=*)
1044 sbindir=$ac_optarg ;;
1046 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1047 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1048 | --sharedst | --shareds | --shared | --share | --shar \
1049 | --sha | --sh)
1050 ac_prev=sharedstatedir ;;
1051 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1052 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1053 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1054 | --sha=* | --sh=*)
1055 sharedstatedir=$ac_optarg ;;
1057 -site | --site | --sit)
1058 ac_prev=site ;;
1059 -site=* | --site=* | --sit=*)
1060 site=$ac_optarg ;;
1062 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1063 ac_prev=srcdir ;;
1064 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1065 srcdir=$ac_optarg ;;
1067 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1068 | --syscon | --sysco | --sysc | --sys | --sy)
1069 ac_prev=sysconfdir ;;
1070 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1071 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1072 sysconfdir=$ac_optarg ;;
1074 -target | --target | --targe | --targ | --tar | --ta | --t)
1075 ac_prev=target_alias ;;
1076 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1077 target_alias=$ac_optarg ;;
1079 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1080 verbose=yes ;;
1082 -version | --version | --versio | --versi | --vers | -V)
1083 ac_init_version=: ;;
1085 -with-* | --with-*)
1086 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1087 # Reject names that are not valid shell variable names.
1088 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1089 as_fn_error "invalid package name: $ac_useropt"
1090 ac_useropt_orig=$ac_useropt
1091 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1092 case $ac_user_opts in
1094 "with_$ac_useropt"
1095 "*) ;;
1096 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1097 ac_unrecognized_sep=', ';;
1098 esac
1099 eval with_$ac_useropt=\$ac_optarg ;;
1101 -without-* | --without-*)
1102 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1103 # Reject names that are not valid shell variable names.
1104 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1105 as_fn_error "invalid package name: $ac_useropt"
1106 ac_useropt_orig=$ac_useropt
1107 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1108 case $ac_user_opts in
1110 "with_$ac_useropt"
1111 "*) ;;
1112 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1113 ac_unrecognized_sep=', ';;
1114 esac
1115 eval with_$ac_useropt=no ;;
1117 --x)
1118 # Obsolete; use --with-x.
1119 with_x=yes ;;
1121 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1122 | --x-incl | --x-inc | --x-in | --x-i)
1123 ac_prev=x_includes ;;
1124 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1125 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1126 x_includes=$ac_optarg ;;
1128 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1129 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1130 ac_prev=x_libraries ;;
1131 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1132 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1133 x_libraries=$ac_optarg ;;
1135 -*) as_fn_error "unrecognized option: \`$ac_option'
1136 Try \`$0 --help' for more information."
1139 *=*)
1140 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1141 # Reject names that are not valid shell variable names.
1142 case $ac_envvar in #(
1143 '' | [0-9]* | *[!_$as_cr_alnum]* )
1144 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1145 esac
1146 eval $ac_envvar=\$ac_optarg
1147 export $ac_envvar ;;
1150 # FIXME: should be removed in autoconf 3.0.
1151 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1152 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1153 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1154 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1157 esac
1158 done
1160 if test -n "$ac_prev"; then
1161 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1162 as_fn_error "missing argument to $ac_option"
1165 if test -n "$ac_unrecognized_opts"; then
1166 case $enable_option_checking in
1167 no) ;;
1168 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1169 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1170 esac
1173 # Check all directory arguments for consistency.
1174 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1175 datadir sysconfdir sharedstatedir localstatedir includedir \
1176 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1177 libdir localedir mandir
1179 eval ac_val=\$$ac_var
1180 # Remove trailing slashes.
1181 case $ac_val in
1182 */ )
1183 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1184 eval $ac_var=\$ac_val;;
1185 esac
1186 # Be sure to have absolute directory names.
1187 case $ac_val in
1188 [\\/$]* | ?:[\\/]* ) continue;;
1189 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1190 esac
1191 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1192 done
1194 # There might be people who depend on the old broken behavior: `$host'
1195 # used to hold the argument of --host etc.
1196 # FIXME: To remove some day.
1197 build=$build_alias
1198 host=$host_alias
1199 target=$target_alias
1201 # FIXME: To remove some day.
1202 if test "x$host_alias" != x; then
1203 if test "x$build_alias" = x; then
1204 cross_compiling=maybe
1205 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1206 If a cross compiler is detected then cross compile mode will be used." >&2
1207 elif test "x$build_alias" != "x$host_alias"; then
1208 cross_compiling=yes
1212 ac_tool_prefix=
1213 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1215 test "$silent" = yes && exec 6>/dev/null
1218 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1219 ac_ls_di=`ls -di .` &&
1220 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1221 as_fn_error "working directory cannot be determined"
1222 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1223 as_fn_error "pwd does not report name of working directory"
1226 # Find the source files, if location was not specified.
1227 if test -z "$srcdir"; then
1228 ac_srcdir_defaulted=yes
1229 # Try the directory containing this script, then the parent directory.
1230 ac_confdir=`$as_dirname -- "$as_myself" ||
1231 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1232 X"$as_myself" : 'X\(//\)[^/]' \| \
1233 X"$as_myself" : 'X\(//\)$' \| \
1234 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1235 $as_echo X"$as_myself" |
1236 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1237 s//\1/
1240 /^X\(\/\/\)[^/].*/{
1241 s//\1/
1244 /^X\(\/\/\)$/{
1245 s//\1/
1248 /^X\(\/\).*/{
1249 s//\1/
1252 s/.*/./; q'`
1253 srcdir=$ac_confdir
1254 if test ! -r "$srcdir/$ac_unique_file"; then
1255 srcdir=..
1257 else
1258 ac_srcdir_defaulted=no
1260 if test ! -r "$srcdir/$ac_unique_file"; then
1261 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1262 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1264 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1265 ac_abs_confdir=`(
1266 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1267 pwd)`
1268 # When building in place, set srcdir=.
1269 if test "$ac_abs_confdir" = "$ac_pwd"; then
1270 srcdir=.
1272 # Remove unnecessary trailing slashes from srcdir.
1273 # Double slashes in file names in object file debugging info
1274 # mess up M-x gdb in Emacs.
1275 case $srcdir in
1276 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1277 esac
1278 for ac_var in $ac_precious_vars; do
1279 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1280 eval ac_env_${ac_var}_value=\$${ac_var}
1281 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1282 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1283 done
1286 # Report the --help message.
1288 if test "$ac_init_help" = "long"; then
1289 # Omit some internal or obsolete options to make the list less imposing.
1290 # This message is too long to be a string in the A/UX 3.1 sh.
1291 cat <<_ACEOF
1292 \`configure' configures GCC Quad-precision Math Library 0.1 to adapt to many kinds of systems.
1294 Usage: $0 [OPTION]... [VAR=VALUE]...
1296 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1297 VAR=VALUE. See below for descriptions of some of the useful variables.
1299 Defaults for the options are specified in brackets.
1301 Configuration:
1302 -h, --help display this help and exit
1303 --help=short display options specific to this package
1304 --help=recursive display the short help of all the included packages
1305 -V, --version display version information and exit
1306 -q, --quiet, --silent do not print \`checking...' messages
1307 --cache-file=FILE cache test results in FILE [disabled]
1308 -C, --config-cache alias for \`--cache-file=config.cache'
1309 -n, --no-create do not create output files
1310 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1312 Installation directories:
1313 --prefix=PREFIX install architecture-independent files in PREFIX
1314 [$ac_default_prefix]
1315 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1316 [PREFIX]
1318 By default, \`make install' will install all the files in
1319 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1320 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1321 for instance \`--prefix=\$HOME'.
1323 For better control, use the options below.
1325 Fine tuning of the installation directories:
1326 --bindir=DIR user executables [EPREFIX/bin]
1327 --sbindir=DIR system admin executables [EPREFIX/sbin]
1328 --libexecdir=DIR program executables [EPREFIX/libexec]
1329 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1330 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1331 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1332 --libdir=DIR object code libraries [EPREFIX/lib]
1333 --includedir=DIR C header files [PREFIX/include]
1334 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1335 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1336 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1337 --infodir=DIR info documentation [DATAROOTDIR/info]
1338 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1339 --mandir=DIR man documentation [DATAROOTDIR/man]
1340 --docdir=DIR documentation root [DATAROOTDIR/doc/libquadmath]
1341 --htmldir=DIR html documentation [DOCDIR]
1342 --dvidir=DIR dvi documentation [DOCDIR]
1343 --pdfdir=DIR pdf documentation [DOCDIR]
1344 --psdir=DIR ps documentation [DOCDIR]
1345 _ACEOF
1347 cat <<\_ACEOF
1349 Program names:
1350 --program-prefix=PREFIX prepend PREFIX to installed program names
1351 --program-suffix=SUFFIX append SUFFIX to installed program names
1352 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1354 System types:
1355 --build=BUILD configure for building on BUILD [guessed]
1356 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1357 --target=TARGET configure for building compilers for TARGET [HOST]
1358 _ACEOF
1361 if test -n "$ac_init_help"; then
1362 case $ac_init_help in
1363 short | recursive ) echo "Configuration of GCC Quad-precision Math Library 0.1:";;
1364 esac
1365 cat <<\_ACEOF
1367 Optional Features:
1368 --disable-option-checking ignore unrecognized --enable/--with options
1369 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1370 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1371 --disable-dependency-tracking speeds up one-time build
1372 --enable-dependency-tracking do not reject slow dependency extractors
1373 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory
1374 --enable-shared[=PKGS] build shared libraries [default=yes]
1375 --enable-static[=PKGS] build static libraries [default=yes]
1376 --enable-fast-install[=PKGS]
1377 optimize for fast installation [default=yes]
1378 --disable-libtool-lock avoid locking (might break parallel builds)
1379 --enable-maintainer-mode enable make rules and dependencies not useful
1380 (and sometimes confusing) to the casual installer
1381 --enable-multilib build many library versions (default)
1383 Optional Packages:
1384 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1385 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1386 --with-pic try to use only PIC/non-PIC objects [default=use
1387 both]
1388 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1390 Some influential environment variables:
1391 CC C compiler command
1392 CFLAGS C compiler flags
1393 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1394 nonstandard directory <lib dir>
1395 LIBS libraries to pass to the linker, e.g. -l<library>
1396 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1397 you have headers in a nonstandard directory <include dir>
1398 CPP C preprocessor
1400 Use these variables to override the choices made by `configure' or to help
1401 it to find libraries and programs with nonstandard names/locations.
1403 Report bugs to the package provider.
1404 _ACEOF
1405 ac_status=$?
1408 if test "$ac_init_help" = "recursive"; then
1409 # If there are subdirs, report their specific --help.
1410 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1411 test -d "$ac_dir" ||
1412 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1413 continue
1414 ac_builddir=.
1416 case "$ac_dir" in
1417 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1419 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1420 # A ".." for each directory in $ac_dir_suffix.
1421 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1422 case $ac_top_builddir_sub in
1423 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1424 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1425 esac ;;
1426 esac
1427 ac_abs_top_builddir=$ac_pwd
1428 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1429 # for backward compatibility:
1430 ac_top_builddir=$ac_top_build_prefix
1432 case $srcdir in
1433 .) # We are building in place.
1434 ac_srcdir=.
1435 ac_top_srcdir=$ac_top_builddir_sub
1436 ac_abs_top_srcdir=$ac_pwd ;;
1437 [\\/]* | ?:[\\/]* ) # Absolute name.
1438 ac_srcdir=$srcdir$ac_dir_suffix;
1439 ac_top_srcdir=$srcdir
1440 ac_abs_top_srcdir=$srcdir ;;
1441 *) # Relative name.
1442 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1443 ac_top_srcdir=$ac_top_build_prefix$srcdir
1444 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1445 esac
1446 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1448 cd "$ac_dir" || { ac_status=$?; continue; }
1449 # Check for guested configure.
1450 if test -f "$ac_srcdir/configure.gnu"; then
1451 echo &&
1452 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1453 elif test -f "$ac_srcdir/configure"; then
1454 echo &&
1455 $SHELL "$ac_srcdir/configure" --help=recursive
1456 else
1457 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1458 fi || ac_status=$?
1459 cd "$ac_pwd" || { ac_status=$?; break; }
1460 done
1463 test -n "$ac_init_help" && exit $ac_status
1464 if $ac_init_version; then
1465 cat <<\_ACEOF
1466 GCC Quad-precision Math Library configure 0.1
1467 generated by GNU Autoconf 2.64
1469 Copyright (C) 2009 Free Software Foundation, Inc.
1470 This configure script is free software; the Free Software Foundation
1471 gives unlimited permission to copy, distribute and modify it.
1472 _ACEOF
1473 exit
1476 ## ------------------------ ##
1477 ## Autoconf initialization. ##
1478 ## ------------------------ ##
1480 # ac_fn_c_try_compile LINENO
1481 # --------------------------
1482 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1483 ac_fn_c_try_compile ()
1485 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1486 rm -f conftest.$ac_objext
1487 if { { ac_try="$ac_compile"
1488 case "(($ac_try" in
1489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1490 *) ac_try_echo=$ac_try;;
1491 esac
1492 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1493 $as_echo "$ac_try_echo"; } >&5
1494 (eval "$ac_compile") 2>conftest.err
1495 ac_status=$?
1496 if test -s conftest.err; then
1497 grep -v '^ *+' conftest.err >conftest.er1
1498 cat conftest.er1 >&5
1499 mv -f conftest.er1 conftest.err
1501 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1502 test $ac_status = 0; } && {
1503 test -z "$ac_c_werror_flag" ||
1504 test ! -s conftest.err
1505 } && test -s conftest.$ac_objext; then :
1506 ac_retval=0
1507 else
1508 $as_echo "$as_me: failed program was:" >&5
1509 sed 's/^/| /' conftest.$ac_ext >&5
1511 ac_retval=1
1513 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1514 return $ac_retval
1516 } # ac_fn_c_try_compile
1518 # ac_fn_c_try_link LINENO
1519 # -----------------------
1520 # Try to link conftest.$ac_ext, and return whether this succeeded.
1521 ac_fn_c_try_link ()
1523 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1524 rm -f conftest.$ac_objext conftest$ac_exeext
1525 if { { ac_try="$ac_link"
1526 case "(($ac_try" in
1527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1528 *) ac_try_echo=$ac_try;;
1529 esac
1530 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1531 $as_echo "$ac_try_echo"; } >&5
1532 (eval "$ac_link") 2>conftest.err
1533 ac_status=$?
1534 if test -s conftest.err; then
1535 grep -v '^ *+' conftest.err >conftest.er1
1536 cat conftest.er1 >&5
1537 mv -f conftest.er1 conftest.err
1539 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1540 test $ac_status = 0; } && {
1541 test -z "$ac_c_werror_flag" ||
1542 test ! -s conftest.err
1543 } && test -s conftest$ac_exeext && {
1544 test "$cross_compiling" = yes ||
1545 $as_test_x conftest$ac_exeext
1546 }; then :
1547 ac_retval=0
1548 else
1549 $as_echo "$as_me: failed program was:" >&5
1550 sed 's/^/| /' conftest.$ac_ext >&5
1552 ac_retval=1
1554 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1555 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1556 # interfere with the next link command; also delete a directory that is
1557 # left behind by Apple's compiler. We do this before executing the actions.
1558 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1559 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1560 return $ac_retval
1562 } # ac_fn_c_try_link
1564 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1565 # -------------------------------------------------------
1566 # Tests whether HEADER exists and can be compiled using the include files in
1567 # INCLUDES, setting the cache variable VAR accordingly.
1568 ac_fn_c_check_header_compile ()
1570 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1572 $as_echo_n "checking for $2... " >&6; }
1573 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1574 $as_echo_n "(cached) " >&6
1575 else
1576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1577 /* end confdefs.h. */
1579 #include <$2>
1580 _ACEOF
1581 if ac_fn_c_try_compile "$LINENO"; then :
1582 eval "$3=yes"
1583 else
1584 eval "$3=no"
1586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1588 eval ac_res=\$$3
1589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1590 $as_echo "$ac_res" >&6; }
1591 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1593 } # ac_fn_c_check_header_compile
1595 # ac_fn_c_try_cpp LINENO
1596 # ----------------------
1597 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1598 ac_fn_c_try_cpp ()
1600 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1601 if { { ac_try="$ac_cpp conftest.$ac_ext"
1602 case "(($ac_try" in
1603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1604 *) ac_try_echo=$ac_try;;
1605 esac
1606 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1607 $as_echo "$ac_try_echo"; } >&5
1608 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1609 ac_status=$?
1610 if test -s conftest.err; then
1611 grep -v '^ *+' conftest.err >conftest.er1
1612 cat conftest.er1 >&5
1613 mv -f conftest.er1 conftest.err
1615 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1616 test $ac_status = 0; } >/dev/null && {
1617 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1618 test ! -s conftest.err
1619 }; then :
1620 ac_retval=0
1621 else
1622 $as_echo "$as_me: failed program was:" >&5
1623 sed 's/^/| /' conftest.$ac_ext >&5
1625 ac_retval=1
1627 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1628 return $ac_retval
1630 } # ac_fn_c_try_cpp
1632 # ac_fn_c_try_run LINENO
1633 # ----------------------
1634 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1635 # that executables *can* be run.
1636 ac_fn_c_try_run ()
1638 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1639 if { { ac_try="$ac_link"
1640 case "(($ac_try" in
1641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1642 *) ac_try_echo=$ac_try;;
1643 esac
1644 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1645 $as_echo "$ac_try_echo"; } >&5
1646 (eval "$ac_link") 2>&5
1647 ac_status=$?
1648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1649 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1650 { { case "(($ac_try" in
1651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1652 *) ac_try_echo=$ac_try;;
1653 esac
1654 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1655 $as_echo "$ac_try_echo"; } >&5
1656 (eval "$ac_try") 2>&5
1657 ac_status=$?
1658 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1659 test $ac_status = 0; }; }; then :
1660 ac_retval=0
1661 else
1662 $as_echo "$as_me: program exited with status $ac_status" >&5
1663 $as_echo "$as_me: failed program was:" >&5
1664 sed 's/^/| /' conftest.$ac_ext >&5
1666 ac_retval=$ac_status
1668 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1669 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1670 return $ac_retval
1672 } # ac_fn_c_try_run
1674 # ac_fn_c_check_func LINENO FUNC VAR
1675 # ----------------------------------
1676 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1677 ac_fn_c_check_func ()
1679 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1681 $as_echo_n "checking for $2... " >&6; }
1682 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1683 $as_echo_n "(cached) " >&6
1684 else
1685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1686 /* end confdefs.h. */
1687 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1688 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1689 #define $2 innocuous_$2
1691 /* System header to define __stub macros and hopefully few prototypes,
1692 which can conflict with char $2 (); below.
1693 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1694 <limits.h> exists even on freestanding compilers. */
1696 #ifdef __STDC__
1697 # include <limits.h>
1698 #else
1699 # include <assert.h>
1700 #endif
1702 #undef $2
1704 /* Override any GCC internal prototype to avoid an error.
1705 Use char because int might match the return type of a GCC
1706 builtin and then its argument prototype would still apply. */
1707 #ifdef __cplusplus
1708 extern "C"
1709 #endif
1710 char $2 ();
1711 /* The GNU C library defines this for functions which it implements
1712 to always fail with ENOSYS. Some functions are actually named
1713 something starting with __ and the normal name is an alias. */
1714 #if defined __stub_$2 || defined __stub___$2
1715 choke me
1716 #endif
1719 main ()
1721 return $2 ();
1723 return 0;
1725 _ACEOF
1726 if ac_fn_c_try_link "$LINENO"; then :
1727 eval "$3=yes"
1728 else
1729 eval "$3=no"
1731 rm -f core conftest.err conftest.$ac_objext \
1732 conftest$ac_exeext conftest.$ac_ext
1734 eval ac_res=\$$3
1735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1736 $as_echo "$ac_res" >&6; }
1737 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1739 } # ac_fn_c_check_func
1740 cat >config.log <<_ACEOF
1741 This file contains any messages produced by compilers while
1742 running configure, to aid debugging if configure makes a mistake.
1744 It was created by GCC Quad-precision Math Library $as_me 0.1, which was
1745 generated by GNU Autoconf 2.64. Invocation command line was
1747 $ $0 $@
1749 _ACEOF
1750 exec 5>>config.log
1752 cat <<_ASUNAME
1753 ## --------- ##
1754 ## Platform. ##
1755 ## --------- ##
1757 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1758 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1759 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1760 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1761 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1763 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1764 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1766 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1767 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1768 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1769 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1770 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1771 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1772 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1774 _ASUNAME
1776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1777 for as_dir in $PATH
1779 IFS=$as_save_IFS
1780 test -z "$as_dir" && as_dir=.
1781 $as_echo "PATH: $as_dir"
1782 done
1783 IFS=$as_save_IFS
1785 } >&5
1787 cat >&5 <<_ACEOF
1790 ## ----------- ##
1791 ## Core tests. ##
1792 ## ----------- ##
1794 _ACEOF
1797 # Keep a trace of the command line.
1798 # Strip out --no-create and --no-recursion so they do not pile up.
1799 # Strip out --silent because we don't want to record it for future runs.
1800 # Also quote any args containing shell meta-characters.
1801 # Make two passes to allow for proper duplicate-argument suppression.
1802 ac_configure_args=
1803 ac_configure_args0=
1804 ac_configure_args1=
1805 ac_must_keep_next=false
1806 for ac_pass in 1 2
1808 for ac_arg
1810 case $ac_arg in
1811 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1812 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1813 | -silent | --silent | --silen | --sile | --sil)
1814 continue ;;
1815 *\'*)
1816 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1817 esac
1818 case $ac_pass in
1819 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1821 as_fn_append ac_configure_args1 " '$ac_arg'"
1822 if test $ac_must_keep_next = true; then
1823 ac_must_keep_next=false # Got value, back to normal.
1824 else
1825 case $ac_arg in
1826 *=* | --config-cache | -C | -disable-* | --disable-* \
1827 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1828 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1829 | -with-* | --with-* | -without-* | --without-* | --x)
1830 case "$ac_configure_args0 " in
1831 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1832 esac
1834 -* ) ac_must_keep_next=true ;;
1835 esac
1837 as_fn_append ac_configure_args " '$ac_arg'"
1839 esac
1840 done
1841 done
1842 { ac_configure_args0=; unset ac_configure_args0;}
1843 { ac_configure_args1=; unset ac_configure_args1;}
1845 # When interrupted or exit'd, cleanup temporary files, and complete
1846 # config.log. We remove comments because anyway the quotes in there
1847 # would cause problems or look ugly.
1848 # WARNING: Use '\'' to represent an apostrophe within the trap.
1849 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1850 trap 'exit_status=$?
1851 # Save into config.log some information that might help in debugging.
1853 echo
1855 cat <<\_ASBOX
1856 ## ---------------- ##
1857 ## Cache variables. ##
1858 ## ---------------- ##
1859 _ASBOX
1860 echo
1861 # The following way of writing the cache mishandles newlines in values,
1863 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1864 eval ac_val=\$$ac_var
1865 case $ac_val in #(
1866 *${as_nl}*)
1867 case $ac_var in #(
1868 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1869 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1870 esac
1871 case $ac_var in #(
1872 _ | IFS | as_nl) ;; #(
1873 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1874 *) { eval $ac_var=; unset $ac_var;} ;;
1875 esac ;;
1876 esac
1877 done
1878 (set) 2>&1 |
1879 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1880 *${as_nl}ac_space=\ *)
1881 sed -n \
1882 "s/'\''/'\''\\\\'\'''\''/g;
1883 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1884 ;; #(
1886 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1888 esac |
1889 sort
1891 echo
1893 cat <<\_ASBOX
1894 ## ----------------- ##
1895 ## Output variables. ##
1896 ## ----------------- ##
1897 _ASBOX
1898 echo
1899 for ac_var in $ac_subst_vars
1901 eval ac_val=\$$ac_var
1902 case $ac_val in
1903 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1904 esac
1905 $as_echo "$ac_var='\''$ac_val'\''"
1906 done | sort
1907 echo
1909 if test -n "$ac_subst_files"; then
1910 cat <<\_ASBOX
1911 ## ------------------- ##
1912 ## File substitutions. ##
1913 ## ------------------- ##
1914 _ASBOX
1915 echo
1916 for ac_var in $ac_subst_files
1918 eval ac_val=\$$ac_var
1919 case $ac_val in
1920 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1921 esac
1922 $as_echo "$ac_var='\''$ac_val'\''"
1923 done | sort
1924 echo
1927 if test -s confdefs.h; then
1928 cat <<\_ASBOX
1929 ## ----------- ##
1930 ## confdefs.h. ##
1931 ## ----------- ##
1932 _ASBOX
1933 echo
1934 cat confdefs.h
1935 echo
1937 test "$ac_signal" != 0 &&
1938 $as_echo "$as_me: caught signal $ac_signal"
1939 $as_echo "$as_me: exit $exit_status"
1940 } >&5
1941 rm -f core *.core core.conftest.* &&
1942 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1943 exit $exit_status
1945 for ac_signal in 1 2 13 15; do
1946 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1947 done
1948 ac_signal=0
1950 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1951 rm -f -r conftest* confdefs.h
1953 $as_echo "/* confdefs.h */" > confdefs.h
1955 # Predefined preprocessor variables.
1957 cat >>confdefs.h <<_ACEOF
1958 #define PACKAGE_NAME "$PACKAGE_NAME"
1959 _ACEOF
1961 cat >>confdefs.h <<_ACEOF
1962 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1963 _ACEOF
1965 cat >>confdefs.h <<_ACEOF
1966 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1967 _ACEOF
1969 cat >>confdefs.h <<_ACEOF
1970 #define PACKAGE_STRING "$PACKAGE_STRING"
1971 _ACEOF
1973 cat >>confdefs.h <<_ACEOF
1974 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1975 _ACEOF
1977 cat >>confdefs.h <<_ACEOF
1978 #define PACKAGE_URL "$PACKAGE_URL"
1979 _ACEOF
1982 # Let the site file select an alternate cache file if it wants to.
1983 # Prefer an explicitly selected file to automatically selected ones.
1984 ac_site_file1=NONE
1985 ac_site_file2=NONE
1986 if test -n "$CONFIG_SITE"; then
1987 ac_site_file1=$CONFIG_SITE
1988 elif test "x$prefix" != xNONE; then
1989 ac_site_file1=$prefix/share/config.site
1990 ac_site_file2=$prefix/etc/config.site
1991 else
1992 ac_site_file1=$ac_default_prefix/share/config.site
1993 ac_site_file2=$ac_default_prefix/etc/config.site
1995 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1997 test "x$ac_site_file" = xNONE && continue
1998 if test -r "$ac_site_file"; then
1999 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2000 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2001 sed 's/^/| /' "$ac_site_file" >&5
2002 . "$ac_site_file"
2004 done
2006 if test -r "$cache_file"; then
2007 # Some versions of bash will fail to source /dev/null (special
2008 # files actually), so we avoid doing that.
2009 if test -f "$cache_file"; then
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2011 $as_echo "$as_me: loading cache $cache_file" >&6;}
2012 case $cache_file in
2013 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2014 *) . "./$cache_file";;
2015 esac
2017 else
2018 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2019 $as_echo "$as_me: creating cache $cache_file" >&6;}
2020 >$cache_file
2023 # Check that the precious variables saved in the cache have kept the same
2024 # value.
2025 ac_cache_corrupted=false
2026 for ac_var in $ac_precious_vars; do
2027 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2028 eval ac_new_set=\$ac_env_${ac_var}_set
2029 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2030 eval ac_new_val=\$ac_env_${ac_var}_value
2031 case $ac_old_set,$ac_new_set in
2032 set,)
2033 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2034 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2035 ac_cache_corrupted=: ;;
2036 ,set)
2037 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2038 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2039 ac_cache_corrupted=: ;;
2040 ,);;
2042 if test "x$ac_old_val" != "x$ac_new_val"; then
2043 # differences in whitespace do not lead to failure.
2044 ac_old_val_w=`echo x $ac_old_val`
2045 ac_new_val_w=`echo x $ac_new_val`
2046 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2048 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2049 ac_cache_corrupted=:
2050 else
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2052 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2053 eval $ac_var=\$ac_old_val
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2056 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2057 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2058 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2059 fi;;
2060 esac
2061 # Pass precious variables to config.status.
2062 if test "$ac_new_set" = set; then
2063 case $ac_new_val in
2064 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2065 *) ac_arg=$ac_var=$ac_new_val ;;
2066 esac
2067 case " $ac_configure_args " in
2068 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2069 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2070 esac
2072 done
2073 if $ac_cache_corrupted; then
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2075 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2077 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2078 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2080 ## -------------------- ##
2081 ## Main body of script. ##
2082 ## -------------------- ##
2084 ac_ext=c
2085 ac_cpp='$CPP $CPPFLAGS'
2086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2094 ac_config_headers="$ac_config_headers config.h"
2097 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2099 # You will slowly go insane if you do not grok the following fact: when
2100 # building this library, the top-level /target/ becomes the library's /host/.
2102 # configure then causes --target to default to --host, exactly like any
2103 # other package using autoconf. Therefore, 'target' and 'host' will
2104 # always be the same. This makes sense both for native and cross compilers
2105 # just think about it for a little while. :-)
2107 # Also, if this library is being configured as part of a cross compiler, the
2108 # top-level configure script will pass the "real" host as $with_cross_host.
2110 # Do not delete or change the following two lines. For why, see
2111 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2112 ac_aux_dir=
2113 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2114 for ac_t in install-sh install.sh shtool; do
2115 if test -f "$ac_dir/$ac_t"; then
2116 ac_aux_dir=$ac_dir
2117 ac_install_sh="$ac_aux_dir/$ac_t -c"
2118 break 2
2120 done
2121 done
2122 if test -z "$ac_aux_dir"; then
2123 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2126 # These three variables are undocumented and unsupported,
2127 # and are intended to be withdrawn in a future Autoconf release.
2128 # They can cause serious problems if a builder's source tree is in a directory
2129 # whose full name contains unusual characters.
2130 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2131 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2132 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2135 # Make sure we can run config.sub.
2136 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2137 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2140 $as_echo_n "checking build system type... " >&6; }
2141 if test "${ac_cv_build+set}" = set; then :
2142 $as_echo_n "(cached) " >&6
2143 else
2144 ac_build_alias=$build_alias
2145 test "x$ac_build_alias" = x &&
2146 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2147 test "x$ac_build_alias" = x &&
2148 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2149 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2150 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2154 $as_echo "$ac_cv_build" >&6; }
2155 case $ac_cv_build in
2156 *-*-*) ;;
2157 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2158 esac
2159 build=$ac_cv_build
2160 ac_save_IFS=$IFS; IFS='-'
2161 set x $ac_cv_build
2162 shift
2163 build_cpu=$1
2164 build_vendor=$2
2165 shift; shift
2166 # Remember, the first character of IFS is used to create $*,
2167 # except with old shells:
2168 build_os=$*
2169 IFS=$ac_save_IFS
2170 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2174 $as_echo_n "checking host system type... " >&6; }
2175 if test "${ac_cv_host+set}" = set; then :
2176 $as_echo_n "(cached) " >&6
2177 else
2178 if test "x$host_alias" = x; then
2179 ac_cv_host=$ac_cv_build
2180 else
2181 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2182 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2187 $as_echo "$ac_cv_host" >&6; }
2188 case $ac_cv_host in
2189 *-*-*) ;;
2190 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2191 esac
2192 host=$ac_cv_host
2193 ac_save_IFS=$IFS; IFS='-'
2194 set x $ac_cv_host
2195 shift
2196 host_cpu=$1
2197 host_vendor=$2
2198 shift; shift
2199 # Remember, the first character of IFS is used to create $*,
2200 # except with old shells:
2201 host_os=$*
2202 IFS=$ac_save_IFS
2203 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2207 $as_echo_n "checking target system type... " >&6; }
2208 if test "${ac_cv_target+set}" = set; then :
2209 $as_echo_n "(cached) " >&6
2210 else
2211 if test "x$target_alias" = x; then
2212 ac_cv_target=$ac_cv_host
2213 else
2214 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2215 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2220 $as_echo "$ac_cv_target" >&6; }
2221 case $ac_cv_target in
2222 *-*-*) ;;
2223 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2224 esac
2225 target=$ac_cv_target
2226 ac_save_IFS=$IFS; IFS='-'
2227 set x $ac_cv_target
2228 shift
2229 target_cpu=$1
2230 target_vendor=$2
2231 shift; shift
2232 # Remember, the first character of IFS is used to create $*,
2233 # except with old shells:
2234 target_os=$*
2235 IFS=$ac_save_IFS
2236 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2239 # The aliases save the names the user supplied, while $host etc.
2240 # will get canonicalized.
2241 test -n "$target_alias" &&
2242 test "$program_prefix$program_suffix$program_transform_name" = \
2243 NONENONEs,x,x, &&
2244 program_prefix=${target_alias}-
2246 target_alias=${target_alias-$host_alias}
2248 am__api_version='1.11'
2250 # Find a good install program. We prefer a C program (faster),
2251 # so one script is as good as another. But avoid the broken or
2252 # incompatible versions:
2253 # SysV /etc/install, /usr/sbin/install
2254 # SunOS /usr/etc/install
2255 # IRIX /sbin/install
2256 # AIX /bin/install
2257 # AmigaOS /C/install, which installs bootblocks on floppy discs
2258 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2259 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2260 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2261 # OS/2's system install, which has a completely different semantic
2262 # ./install, which can be erroneously created by make from ./install.sh.
2263 # Reject install programs that cannot install multiple files.
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2265 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2266 if test -z "$INSTALL"; then
2267 if test "${ac_cv_path_install+set}" = set; then :
2268 $as_echo_n "(cached) " >&6
2269 else
2270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2271 for as_dir in $PATH
2273 IFS=$as_save_IFS
2274 test -z "$as_dir" && as_dir=.
2275 # Account for people who put trailing slashes in PATH elements.
2276 case $as_dir/ in #((
2277 ./ | .// | /[cC]/* | \
2278 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2279 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2280 /usr/ucb/* ) ;;
2282 # OSF1 and SCO ODT 3.0 have their own names for install.
2283 # Don't use installbsd from OSF since it installs stuff as root
2284 # by default.
2285 for ac_prog in ginstall scoinst install; do
2286 for ac_exec_ext in '' $ac_executable_extensions; do
2287 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2288 if test $ac_prog = install &&
2289 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2290 # AIX install. It has an incompatible calling convention.
2292 elif test $ac_prog = install &&
2293 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2294 # program-specific install script used by HP pwplus--don't use.
2296 else
2297 rm -rf conftest.one conftest.two conftest.dir
2298 echo one > conftest.one
2299 echo two > conftest.two
2300 mkdir conftest.dir
2301 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2302 test -s conftest.one && test -s conftest.two &&
2303 test -s conftest.dir/conftest.one &&
2304 test -s conftest.dir/conftest.two
2305 then
2306 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2307 break 3
2311 done
2312 done
2314 esac
2316 done
2317 IFS=$as_save_IFS
2319 rm -rf conftest.one conftest.two conftest.dir
2322 if test "${ac_cv_path_install+set}" = set; then
2323 INSTALL=$ac_cv_path_install
2324 else
2325 # As a last resort, use the slow shell script. Don't cache a
2326 # value for INSTALL within a source directory, because that will
2327 # break other packages using the cache if that directory is
2328 # removed, or if the value is a relative name.
2329 INSTALL=$ac_install_sh
2332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2333 $as_echo "$INSTALL" >&6; }
2335 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2336 # It thinks the first close brace ends the variable substitution.
2337 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2339 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2341 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2344 $as_echo_n "checking whether build environment is sane... " >&6; }
2345 # Just in case
2346 sleep 1
2347 echo timestamp > conftest.file
2348 # Reject unsafe characters in $srcdir or the absolute working directory
2349 # name. Accept space and tab only in the latter.
2350 am_lf='
2352 case `pwd` in
2353 *[\\\"\#\$\&\'\`$am_lf]*)
2354 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2355 esac
2356 case $srcdir in
2357 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2358 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2359 esac
2361 # Do `set' in a subshell so we don't clobber the current shell's
2362 # arguments. Must try -L first in case configure is actually a
2363 # symlink; some systems play weird games with the mod time of symlinks
2364 # (eg FreeBSD returns the mod time of the symlink's containing
2365 # directory).
2366 if (
2367 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2368 if test "$*" = "X"; then
2369 # -L didn't work.
2370 set X `ls -t "$srcdir/configure" conftest.file`
2372 rm -f conftest.file
2373 if test "$*" != "X $srcdir/configure conftest.file" \
2374 && test "$*" != "X conftest.file $srcdir/configure"; then
2376 # If neither matched, then we have a broken ls. This can happen
2377 # if, for instance, CONFIG_SHELL is bash and it inherits a
2378 # broken ls alias from the environment. This has actually
2379 # happened. Such a system could not be considered "sane".
2380 as_fn_error "ls -t appears to fail. Make sure there is not a broken
2381 alias in your environment" "$LINENO" 5
2384 test "$2" = conftest.file
2386 then
2387 # Ok.
2389 else
2390 as_fn_error "newly created file is older than distributed files!
2391 Check your system clock" "$LINENO" 5
2393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2394 $as_echo "yes" >&6; }
2395 test "$program_prefix" != NONE &&
2396 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2397 # Use a double $ so make ignores it.
2398 test "$program_suffix" != NONE &&
2399 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2400 # Double any \ or $.
2401 # By default was `s,x,x', remove it if useless.
2402 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2403 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2405 # expand $ac_aux_dir to an absolute path
2406 am_aux_dir=`cd $ac_aux_dir && pwd`
2408 if test x"${MISSING+set}" != xset; then
2409 case $am_aux_dir in
2410 *\ * | *\ *)
2411 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2413 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2414 esac
2416 # Use eval to expand $SHELL
2417 if eval "$MISSING --run true"; then
2418 am_missing_run="$MISSING --run "
2419 else
2420 am_missing_run=
2421 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2422 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2425 if test x"${install_sh}" != xset; then
2426 case $am_aux_dir in
2427 *\ * | *\ *)
2428 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2430 install_sh="\${SHELL} $am_aux_dir/install-sh"
2431 esac
2434 # Installed binaries are usually stripped using `strip' when the user
2435 # run `make install-strip'. However `strip' might not be the right
2436 # tool to use in cross-compilation environments, therefore Automake
2437 # will honor the `STRIP' environment variable to overrule this program.
2438 if test "$cross_compiling" != no; then
2439 if test -n "$ac_tool_prefix"; then
2440 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2441 set dummy ${ac_tool_prefix}strip; ac_word=$2
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2443 $as_echo_n "checking for $ac_word... " >&6; }
2444 if test "${ac_cv_prog_STRIP+set}" = set; then :
2445 $as_echo_n "(cached) " >&6
2446 else
2447 if test -n "$STRIP"; then
2448 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2449 else
2450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2451 for as_dir in $PATH
2453 IFS=$as_save_IFS
2454 test -z "$as_dir" && as_dir=.
2455 for ac_exec_ext in '' $ac_executable_extensions; do
2456 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2457 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2458 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2459 break 2
2461 done
2462 done
2463 IFS=$as_save_IFS
2467 STRIP=$ac_cv_prog_STRIP
2468 if test -n "$STRIP"; then
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2470 $as_echo "$STRIP" >&6; }
2471 else
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2473 $as_echo "no" >&6; }
2478 if test -z "$ac_cv_prog_STRIP"; then
2479 ac_ct_STRIP=$STRIP
2480 # Extract the first word of "strip", so it can be a program name with args.
2481 set dummy strip; ac_word=$2
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2483 $as_echo_n "checking for $ac_word... " >&6; }
2484 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2485 $as_echo_n "(cached) " >&6
2486 else
2487 if test -n "$ac_ct_STRIP"; then
2488 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2489 else
2490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2491 for as_dir in $PATH
2493 IFS=$as_save_IFS
2494 test -z "$as_dir" && as_dir=.
2495 for ac_exec_ext in '' $ac_executable_extensions; do
2496 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2497 ac_cv_prog_ac_ct_STRIP="strip"
2498 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2499 break 2
2501 done
2502 done
2503 IFS=$as_save_IFS
2507 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2508 if test -n "$ac_ct_STRIP"; then
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2510 $as_echo "$ac_ct_STRIP" >&6; }
2511 else
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2513 $as_echo "no" >&6; }
2516 if test "x$ac_ct_STRIP" = x; then
2517 STRIP=":"
2518 else
2519 case $cross_compiling:$ac_tool_warned in
2520 yes:)
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2522 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2523 ac_tool_warned=yes ;;
2524 esac
2525 STRIP=$ac_ct_STRIP
2527 else
2528 STRIP="$ac_cv_prog_STRIP"
2532 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2535 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2536 if test -z "$MKDIR_P"; then
2537 if test "${ac_cv_path_mkdir+set}" = set; then :
2538 $as_echo_n "(cached) " >&6
2539 else
2540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2541 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2543 IFS=$as_save_IFS
2544 test -z "$as_dir" && as_dir=.
2545 for ac_prog in mkdir gmkdir; do
2546 for ac_exec_ext in '' $ac_executable_extensions; do
2547 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2548 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2549 'mkdir (GNU coreutils) '* | \
2550 'mkdir (coreutils) '* | \
2551 'mkdir (fileutils) '4.1*)
2552 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2553 break 3;;
2554 esac
2555 done
2556 done
2557 done
2558 IFS=$as_save_IFS
2562 if test "${ac_cv_path_mkdir+set}" = set; then
2563 MKDIR_P="$ac_cv_path_mkdir -p"
2564 else
2565 # As a last resort, use the slow shell script. Don't cache a
2566 # value for MKDIR_P within a source directory, because that will
2567 # break other packages using the cache if that directory is
2568 # removed, or if the value is a relative name.
2569 test -d ./--version && rmdir ./--version
2570 MKDIR_P="$ac_install_sh -d"
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2574 $as_echo "$MKDIR_P" >&6; }
2576 mkdir_p="$MKDIR_P"
2577 case $mkdir_p in
2578 [\\/$]* | ?:[\\/]*) ;;
2579 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2580 esac
2582 for ac_prog in gawk mawk nawk awk
2584 # Extract the first word of "$ac_prog", so it can be a program name with args.
2585 set dummy $ac_prog; ac_word=$2
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2587 $as_echo_n "checking for $ac_word... " >&6; }
2588 if test "${ac_cv_prog_AWK+set}" = set; then :
2589 $as_echo_n "(cached) " >&6
2590 else
2591 if test -n "$AWK"; then
2592 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2593 else
2594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2595 for as_dir in $PATH
2597 IFS=$as_save_IFS
2598 test -z "$as_dir" && as_dir=.
2599 for ac_exec_ext in '' $ac_executable_extensions; do
2600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2601 ac_cv_prog_AWK="$ac_prog"
2602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2603 break 2
2605 done
2606 done
2607 IFS=$as_save_IFS
2611 AWK=$ac_cv_prog_AWK
2612 if test -n "$AWK"; then
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2614 $as_echo "$AWK" >&6; }
2615 else
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2617 $as_echo "no" >&6; }
2621 test -n "$AWK" && break
2622 done
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2625 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2626 set x ${MAKE-make}
2627 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2628 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2629 $as_echo_n "(cached) " >&6
2630 else
2631 cat >conftest.make <<\_ACEOF
2632 SHELL = /bin/sh
2633 all:
2634 @echo '@@@%%%=$(MAKE)=@@@%%%'
2635 _ACEOF
2636 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2637 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2638 *@@@%%%=?*=@@@%%%*)
2639 eval ac_cv_prog_make_${ac_make}_set=yes;;
2641 eval ac_cv_prog_make_${ac_make}_set=no;;
2642 esac
2643 rm -f conftest.make
2645 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2647 $as_echo "yes" >&6; }
2648 SET_MAKE=
2649 else
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2651 $as_echo "no" >&6; }
2652 SET_MAKE="MAKE=${MAKE-make}"
2655 rm -rf .tst 2>/dev/null
2656 mkdir .tst 2>/dev/null
2657 if test -d .tst; then
2658 am__leading_dot=.
2659 else
2660 am__leading_dot=_
2662 rmdir .tst 2>/dev/null
2664 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2665 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2666 # is not polluted with repeated "-I."
2667 am__isrc=' -I$(srcdir)'
2668 # test to see if srcdir already configured
2669 if test -f $srcdir/config.status; then
2670 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2674 # test whether we have cygpath
2675 if test -z "$CYGPATH_W"; then
2676 if (cygpath --version) >/dev/null 2>/dev/null; then
2677 CYGPATH_W='cygpath -w'
2678 else
2679 CYGPATH_W=echo
2684 # Define the identity of the package.
2685 PACKAGE='libquadmath'
2686 VERSION='0.1'
2689 cat >>confdefs.h <<_ACEOF
2690 #define PACKAGE "$PACKAGE"
2691 _ACEOF
2694 cat >>confdefs.h <<_ACEOF
2695 #define VERSION "$VERSION"
2696 _ACEOF
2698 # Some tools Automake needs.
2700 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2703 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2706 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2709 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2712 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2714 # We need awk for the "check" target. The system "awk" is bad on
2715 # some platforms.
2716 # Always define AMTAR for backward compatibility.
2718 AMTAR=${AMTAR-"${am_missing_run}tar"}
2720 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2727 ac_ext=c
2728 ac_cpp='$CPP $CPPFLAGS'
2729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2732 if test -n "$ac_tool_prefix"; then
2733 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2734 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2736 $as_echo_n "checking for $ac_word... " >&6; }
2737 if test "${ac_cv_prog_CC+set}" = set; then :
2738 $as_echo_n "(cached) " >&6
2739 else
2740 if test -n "$CC"; then
2741 ac_cv_prog_CC="$CC" # Let the user override the test.
2742 else
2743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2744 for as_dir in $PATH
2746 IFS=$as_save_IFS
2747 test -z "$as_dir" && as_dir=.
2748 for ac_exec_ext in '' $ac_executable_extensions; do
2749 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2750 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2752 break 2
2754 done
2755 done
2756 IFS=$as_save_IFS
2760 CC=$ac_cv_prog_CC
2761 if test -n "$CC"; then
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2763 $as_echo "$CC" >&6; }
2764 else
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2766 $as_echo "no" >&6; }
2771 if test -z "$ac_cv_prog_CC"; then
2772 ac_ct_CC=$CC
2773 # Extract the first word of "gcc", so it can be a program name with args.
2774 set dummy gcc; ac_word=$2
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2776 $as_echo_n "checking for $ac_word... " >&6; }
2777 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2778 $as_echo_n "(cached) " >&6
2779 else
2780 if test -n "$ac_ct_CC"; then
2781 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2782 else
2783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2784 for as_dir in $PATH
2786 IFS=$as_save_IFS
2787 test -z "$as_dir" && as_dir=.
2788 for ac_exec_ext in '' $ac_executable_extensions; do
2789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2790 ac_cv_prog_ac_ct_CC="gcc"
2791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2792 break 2
2794 done
2795 done
2796 IFS=$as_save_IFS
2800 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2801 if test -n "$ac_ct_CC"; then
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2803 $as_echo "$ac_ct_CC" >&6; }
2804 else
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2806 $as_echo "no" >&6; }
2809 if test "x$ac_ct_CC" = x; then
2810 CC=""
2811 else
2812 case $cross_compiling:$ac_tool_warned in
2813 yes:)
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2815 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2816 ac_tool_warned=yes ;;
2817 esac
2818 CC=$ac_ct_CC
2820 else
2821 CC="$ac_cv_prog_CC"
2824 if test -z "$CC"; then
2825 if test -n "$ac_tool_prefix"; then
2826 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2827 set dummy ${ac_tool_prefix}cc; ac_word=$2
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2829 $as_echo_n "checking for $ac_word... " >&6; }
2830 if test "${ac_cv_prog_CC+set}" = set; then :
2831 $as_echo_n "(cached) " >&6
2832 else
2833 if test -n "$CC"; then
2834 ac_cv_prog_CC="$CC" # Let the user override the test.
2835 else
2836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2837 for as_dir in $PATH
2839 IFS=$as_save_IFS
2840 test -z "$as_dir" && as_dir=.
2841 for ac_exec_ext in '' $ac_executable_extensions; do
2842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2843 ac_cv_prog_CC="${ac_tool_prefix}cc"
2844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2845 break 2
2847 done
2848 done
2849 IFS=$as_save_IFS
2853 CC=$ac_cv_prog_CC
2854 if test -n "$CC"; then
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2856 $as_echo "$CC" >&6; }
2857 else
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2859 $as_echo "no" >&6; }
2865 if test -z "$CC"; then
2866 # Extract the first word of "cc", so it can be a program name with args.
2867 set dummy cc; ac_word=$2
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2869 $as_echo_n "checking for $ac_word... " >&6; }
2870 if test "${ac_cv_prog_CC+set}" = set; then :
2871 $as_echo_n "(cached) " >&6
2872 else
2873 if test -n "$CC"; then
2874 ac_cv_prog_CC="$CC" # Let the user override the test.
2875 else
2876 ac_prog_rejected=no
2877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2878 for as_dir in $PATH
2880 IFS=$as_save_IFS
2881 test -z "$as_dir" && as_dir=.
2882 for ac_exec_ext in '' $ac_executable_extensions; do
2883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2884 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2885 ac_prog_rejected=yes
2886 continue
2888 ac_cv_prog_CC="cc"
2889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2890 break 2
2892 done
2893 done
2894 IFS=$as_save_IFS
2896 if test $ac_prog_rejected = yes; then
2897 # We found a bogon in the path, so make sure we never use it.
2898 set dummy $ac_cv_prog_CC
2899 shift
2900 if test $# != 0; then
2901 # We chose a different compiler from the bogus one.
2902 # However, it has the same basename, so the bogon will be chosen
2903 # first if we set CC to just the basename; use the full file name.
2904 shift
2905 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2910 CC=$ac_cv_prog_CC
2911 if test -n "$CC"; then
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2913 $as_echo "$CC" >&6; }
2914 else
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2916 $as_echo "no" >&6; }
2921 if test -z "$CC"; then
2922 if test -n "$ac_tool_prefix"; then
2923 for ac_prog in cl.exe
2925 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2926 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2928 $as_echo_n "checking for $ac_word... " >&6; }
2929 if test "${ac_cv_prog_CC+set}" = set; then :
2930 $as_echo_n "(cached) " >&6
2931 else
2932 if test -n "$CC"; then
2933 ac_cv_prog_CC="$CC" # Let the user override the test.
2934 else
2935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2936 for as_dir in $PATH
2938 IFS=$as_save_IFS
2939 test -z "$as_dir" && as_dir=.
2940 for ac_exec_ext in '' $ac_executable_extensions; do
2941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2942 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2944 break 2
2946 done
2947 done
2948 IFS=$as_save_IFS
2952 CC=$ac_cv_prog_CC
2953 if test -n "$CC"; then
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2955 $as_echo "$CC" >&6; }
2956 else
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2958 $as_echo "no" >&6; }
2962 test -n "$CC" && break
2963 done
2965 if test -z "$CC"; then
2966 ac_ct_CC=$CC
2967 for ac_prog in cl.exe
2969 # Extract the first word of "$ac_prog", so it can be a program name with args.
2970 set dummy $ac_prog; ac_word=$2
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2972 $as_echo_n "checking for $ac_word... " >&6; }
2973 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2974 $as_echo_n "(cached) " >&6
2975 else
2976 if test -n "$ac_ct_CC"; then
2977 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2978 else
2979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2980 for as_dir in $PATH
2982 IFS=$as_save_IFS
2983 test -z "$as_dir" && as_dir=.
2984 for ac_exec_ext in '' $ac_executable_extensions; do
2985 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2986 ac_cv_prog_ac_ct_CC="$ac_prog"
2987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2988 break 2
2990 done
2991 done
2992 IFS=$as_save_IFS
2996 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2997 if test -n "$ac_ct_CC"; then
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2999 $as_echo "$ac_ct_CC" >&6; }
3000 else
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3002 $as_echo "no" >&6; }
3006 test -n "$ac_ct_CC" && break
3007 done
3009 if test "x$ac_ct_CC" = x; then
3010 CC=""
3011 else
3012 case $cross_compiling:$ac_tool_warned in
3013 yes:)
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3015 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3016 ac_tool_warned=yes ;;
3017 esac
3018 CC=$ac_ct_CC
3025 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3026 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3027 as_fn_error "no acceptable C compiler found in \$PATH
3028 See \`config.log' for more details." "$LINENO" 5; }
3030 # Provide some information about the compiler.
3031 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3032 set X $ac_compile
3033 ac_compiler=$2
3034 for ac_option in --version -v -V -qversion; do
3035 { { ac_try="$ac_compiler $ac_option >&5"
3036 case "(($ac_try" in
3037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3038 *) ac_try_echo=$ac_try;;
3039 esac
3040 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3041 $as_echo "$ac_try_echo"; } >&5
3042 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3043 ac_status=$?
3044 if test -s conftest.err; then
3045 sed '10a\
3046 ... rest of stderr output deleted ...
3047 10q' conftest.err >conftest.er1
3048 cat conftest.er1 >&5
3049 rm -f conftest.er1 conftest.err
3051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3052 test $ac_status = 0; }
3053 done
3055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3056 /* end confdefs.h. */
3059 main ()
3063 return 0;
3065 _ACEOF
3066 ac_clean_files_save=$ac_clean_files
3067 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3068 # Try to create an executable without -o first, disregard a.out.
3069 # It will help us diagnose broken compilers, and finding out an intuition
3070 # of exeext.
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3072 $as_echo_n "checking for C compiler default output file name... " >&6; }
3073 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3075 # The possible output files:
3076 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3078 ac_rmfiles=
3079 for ac_file in $ac_files
3081 case $ac_file in
3082 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3083 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3084 esac
3085 done
3086 rm -f $ac_rmfiles
3088 if { { ac_try="$ac_link_default"
3089 case "(($ac_try" in
3090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3091 *) ac_try_echo=$ac_try;;
3092 esac
3093 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3094 $as_echo "$ac_try_echo"; } >&5
3095 (eval "$ac_link_default") 2>&5
3096 ac_status=$?
3097 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3098 test $ac_status = 0; }; then :
3099 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3100 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3101 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3102 # so that the user can short-circuit this test for compilers unknown to
3103 # Autoconf.
3104 for ac_file in $ac_files ''
3106 test -f "$ac_file" || continue
3107 case $ac_file in
3108 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3110 [ab].out )
3111 # We found the default executable, but exeext='' is most
3112 # certainly right.
3113 break;;
3114 *.* )
3115 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3116 then :; else
3117 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3119 # We set ac_cv_exeext here because the later test for it is not
3120 # safe: cross compilers may not add the suffix if given an `-o'
3121 # argument, so we may need to know it at that point already.
3122 # Even if this section looks crufty: it has the advantage of
3123 # actually working.
3124 break;;
3126 break;;
3127 esac
3128 done
3129 test "$ac_cv_exeext" = no && ac_cv_exeext=
3131 else
3132 ac_file=''
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3135 $as_echo "$ac_file" >&6; }
3136 if test -z "$ac_file"; then :
3137 $as_echo "$as_me: failed program was:" >&5
3138 sed 's/^/| /' conftest.$ac_ext >&5
3140 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3141 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3142 { as_fn_set_status 77
3143 as_fn_error "C compiler cannot create executables
3144 See \`config.log' for more details." "$LINENO" 5; }; }
3146 ac_exeext=$ac_cv_exeext
3148 # Check that the compiler produces executables we can run. If not, either
3149 # the compiler is broken, or we cross compile.
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3151 $as_echo_n "checking whether the C compiler works... " >&6; }
3152 # If not cross compiling, check that we can run a simple program.
3153 if test "$cross_compiling" != yes; then
3154 if { ac_try='./$ac_file'
3155 { { case "(($ac_try" in
3156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3157 *) ac_try_echo=$ac_try;;
3158 esac
3159 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3160 $as_echo "$ac_try_echo"; } >&5
3161 (eval "$ac_try") 2>&5
3162 ac_status=$?
3163 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3164 test $ac_status = 0; }; }; then
3165 cross_compiling=no
3166 else
3167 if test "$cross_compiling" = maybe; then
3168 cross_compiling=yes
3169 else
3170 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3171 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3172 as_fn_error "cannot run C compiled programs.
3173 If you meant to cross compile, use \`--host'.
3174 See \`config.log' for more details." "$LINENO" 5; }
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3179 $as_echo "yes" >&6; }
3181 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3182 ac_clean_files=$ac_clean_files_save
3183 # Check that the compiler produces executables we can run. If not, either
3184 # the compiler is broken, or we cross compile.
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3186 $as_echo_n "checking whether we are cross compiling... " >&6; }
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3188 $as_echo "$cross_compiling" >&6; }
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3191 $as_echo_n "checking for suffix of executables... " >&6; }
3192 if { { ac_try="$ac_link"
3193 case "(($ac_try" in
3194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3195 *) ac_try_echo=$ac_try;;
3196 esac
3197 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3198 $as_echo "$ac_try_echo"; } >&5
3199 (eval "$ac_link") 2>&5
3200 ac_status=$?
3201 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3202 test $ac_status = 0; }; then :
3203 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3204 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3205 # work properly (i.e., refer to `conftest.exe'), while it won't with
3206 # `rm'.
3207 for ac_file in conftest.exe conftest conftest.*; do
3208 test -f "$ac_file" || continue
3209 case $ac_file in
3210 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3211 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3212 break;;
3213 * ) break;;
3214 esac
3215 done
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 compute suffix of executables: cannot compile and link
3220 See \`config.log' for more details." "$LINENO" 5; }
3222 rm -f conftest$ac_cv_exeext
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3224 $as_echo "$ac_cv_exeext" >&6; }
3226 rm -f conftest.$ac_ext
3227 EXEEXT=$ac_cv_exeext
3228 ac_exeext=$EXEEXT
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3230 $as_echo_n "checking for suffix of object files... " >&6; }
3231 if test "${ac_cv_objext+set}" = set; then :
3232 $as_echo_n "(cached) " >&6
3233 else
3234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3235 /* end confdefs.h. */
3238 main ()
3242 return 0;
3244 _ACEOF
3245 rm -f conftest.o conftest.obj
3246 if { { ac_try="$ac_compile"
3247 case "(($ac_try" in
3248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3249 *) ac_try_echo=$ac_try;;
3250 esac
3251 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3252 $as_echo "$ac_try_echo"; } >&5
3253 (eval "$ac_compile") 2>&5
3254 ac_status=$?
3255 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3256 test $ac_status = 0; }; then :
3257 for ac_file in conftest.o conftest.obj conftest.*; do
3258 test -f "$ac_file" || continue;
3259 case $ac_file in
3260 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3261 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3262 break;;
3263 esac
3264 done
3265 else
3266 $as_echo "$as_me: failed program was:" >&5
3267 sed 's/^/| /' conftest.$ac_ext >&5
3269 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3270 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3271 as_fn_error "cannot compute suffix of object files: cannot compile
3272 See \`config.log' for more details." "$LINENO" 5; }
3274 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3277 $as_echo "$ac_cv_objext" >&6; }
3278 OBJEXT=$ac_cv_objext
3279 ac_objext=$OBJEXT
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3281 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3282 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3283 $as_echo_n "(cached) " >&6
3284 else
3285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3286 /* end confdefs.h. */
3289 main ()
3291 #ifndef __GNUC__
3292 choke me
3293 #endif
3296 return 0;
3298 _ACEOF
3299 if ac_fn_c_try_compile "$LINENO"; then :
3300 ac_compiler_gnu=yes
3301 else
3302 ac_compiler_gnu=no
3304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3305 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3309 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3310 if test $ac_compiler_gnu = yes; then
3311 GCC=yes
3312 else
3313 GCC=
3315 ac_test_CFLAGS=${CFLAGS+set}
3316 ac_save_CFLAGS=$CFLAGS
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3318 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3319 if test "${ac_cv_prog_cc_g+set}" = set; then :
3320 $as_echo_n "(cached) " >&6
3321 else
3322 ac_save_c_werror_flag=$ac_c_werror_flag
3323 ac_c_werror_flag=yes
3324 ac_cv_prog_cc_g=no
3325 CFLAGS="-g"
3326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3327 /* end confdefs.h. */
3330 main ()
3334 return 0;
3336 _ACEOF
3337 if ac_fn_c_try_compile "$LINENO"; then :
3338 ac_cv_prog_cc_g=yes
3339 else
3340 CFLAGS=""
3341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3342 /* end confdefs.h. */
3345 main ()
3349 return 0;
3351 _ACEOF
3352 if ac_fn_c_try_compile "$LINENO"; then :
3354 else
3355 ac_c_werror_flag=$ac_save_c_werror_flag
3356 CFLAGS="-g"
3357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3358 /* end confdefs.h. */
3361 main ()
3365 return 0;
3367 _ACEOF
3368 if ac_fn_c_try_compile "$LINENO"; then :
3369 ac_cv_prog_cc_g=yes
3371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3376 ac_c_werror_flag=$ac_save_c_werror_flag
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3379 $as_echo "$ac_cv_prog_cc_g" >&6; }
3380 if test "$ac_test_CFLAGS" = set; then
3381 CFLAGS=$ac_save_CFLAGS
3382 elif test $ac_cv_prog_cc_g = yes; then
3383 if test "$GCC" = yes; then
3384 CFLAGS="-g -O2"
3385 else
3386 CFLAGS="-g"
3388 else
3389 if test "$GCC" = yes; then
3390 CFLAGS="-O2"
3391 else
3392 CFLAGS=
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3396 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3397 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3398 $as_echo_n "(cached) " >&6
3399 else
3400 ac_cv_prog_cc_c89=no
3401 ac_save_CC=$CC
3402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3403 /* end confdefs.h. */
3404 #include <stdarg.h>
3405 #include <stdio.h>
3406 #include <sys/types.h>
3407 #include <sys/stat.h>
3408 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3409 struct buf { int x; };
3410 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3411 static char *e (p, i)
3412 char **p;
3413 int i;
3415 return p[i];
3417 static char *f (char * (*g) (char **, int), char **p, ...)
3419 char *s;
3420 va_list v;
3421 va_start (v,p);
3422 s = g (p, va_arg (v,int));
3423 va_end (v);
3424 return s;
3427 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3428 function prototypes and stuff, but not '\xHH' hex character constants.
3429 These don't provoke an error unfortunately, instead are silently treated
3430 as 'x'. The following induces an error, until -std is added to get
3431 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3432 array size at least. It's necessary to write '\x00'==0 to get something
3433 that's true only with -std. */
3434 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3436 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3437 inside strings and character constants. */
3438 #define FOO(x) 'x'
3439 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3441 int test (int i, double x);
3442 struct s1 {int (*f) (int a);};
3443 struct s2 {int (*f) (double a);};
3444 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3445 int argc;
3446 char **argv;
3448 main ()
3450 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3452 return 0;
3454 _ACEOF
3455 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3456 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3458 CC="$ac_save_CC $ac_arg"
3459 if ac_fn_c_try_compile "$LINENO"; then :
3460 ac_cv_prog_cc_c89=$ac_arg
3462 rm -f core conftest.err conftest.$ac_objext
3463 test "x$ac_cv_prog_cc_c89" != "xno" && break
3464 done
3465 rm -f conftest.$ac_ext
3466 CC=$ac_save_CC
3469 # AC_CACHE_VAL
3470 case "x$ac_cv_prog_cc_c89" in
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3473 $as_echo "none needed" >&6; } ;;
3474 xno)
3475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3476 $as_echo "unsupported" >&6; } ;;
3478 CC="$CC $ac_cv_prog_cc_c89"
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3480 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3481 esac
3482 if test "x$ac_cv_prog_cc_c89" != xno; then :
3486 ac_ext=c
3487 ac_cpp='$CPP $CPPFLAGS'
3488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3491 DEPDIR="${am__leading_dot}deps"
3493 ac_config_commands="$ac_config_commands depfiles"
3496 am_make=${MAKE-make}
3497 cat > confinc << 'END'
3498 am__doit:
3499 @echo this is the am__doit target
3500 .PHONY: am__doit
3502 # If we don't find an include directive, just comment out the code.
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3504 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3505 am__include="#"
3506 am__quote=
3507 _am_result=none
3508 # First try GNU make style include.
3509 echo "include confinc" > confmf
3510 # Ignore all kinds of additional output from `make'.
3511 case `$am_make -s -f confmf 2> /dev/null` in #(
3512 *the\ am__doit\ target*)
3513 am__include=include
3514 am__quote=
3515 _am_result=GNU
3517 esac
3518 # Now try BSD make style include.
3519 if test "$am__include" = "#"; then
3520 echo '.include "confinc"' > confmf
3521 case `$am_make -s -f confmf 2> /dev/null` in #(
3522 *the\ am__doit\ target*)
3523 am__include=.include
3524 am__quote="\""
3525 _am_result=BSD
3527 esac
3531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3532 $as_echo "$_am_result" >&6; }
3533 rm -f confinc confmf
3535 # Check whether --enable-dependency-tracking was given.
3536 if test "${enable_dependency_tracking+set}" = set; then :
3537 enableval=$enable_dependency_tracking;
3540 if test "x$enable_dependency_tracking" != xno; then
3541 am_depcomp="$ac_aux_dir/depcomp"
3542 AMDEPBACKSLASH='\'
3544 if test "x$enable_dependency_tracking" != xno; then
3545 AMDEP_TRUE=
3546 AMDEP_FALSE='#'
3547 else
3548 AMDEP_TRUE='#'
3549 AMDEP_FALSE=
3554 depcc="$CC" am_compiler_list=
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3557 $as_echo_n "checking dependency style of $depcc... " >&6; }
3558 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3559 $as_echo_n "(cached) " >&6
3560 else
3561 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3562 # We make a subdir and do the tests there. Otherwise we can end up
3563 # making bogus files that we don't know about and never remove. For
3564 # instance it was reported that on HP-UX the gcc test will end up
3565 # making a dummy file named `D' -- because `-MD' means `put the output
3566 # in D'.
3567 mkdir conftest.dir
3568 # Copy depcomp to subdir because otherwise we won't find it if we're
3569 # using a relative directory.
3570 cp "$am_depcomp" conftest.dir
3571 cd conftest.dir
3572 # We will build objects and dependencies in a subdirectory because
3573 # it helps to detect inapplicable dependency modes. For instance
3574 # both Tru64's cc and ICC support -MD to output dependencies as a
3575 # side effect of compilation, but ICC will put the dependencies in
3576 # the current directory while Tru64 will put them in the object
3577 # directory.
3578 mkdir sub
3580 am_cv_CC_dependencies_compiler_type=none
3581 if test "$am_compiler_list" = ""; then
3582 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3584 am__universal=false
3585 case " $depcc " in #(
3586 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3587 esac
3589 for depmode in $am_compiler_list; do
3590 # Setup a source with many dependencies, because some compilers
3591 # like to wrap large dependency lists on column 80 (with \), and
3592 # we should not choose a depcomp mode which is confused by this.
3594 # We need to recreate these files for each test, as the compiler may
3595 # overwrite some of them when testing with obscure command lines.
3596 # This happens at least with the AIX C compiler.
3597 : > sub/conftest.c
3598 for i in 1 2 3 4 5 6; do
3599 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3600 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3601 # Solaris 8's {/usr,}/bin/sh.
3602 touch sub/conftst$i.h
3603 done
3604 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3606 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3607 # mode. It turns out that the SunPro C++ compiler does not properly
3608 # handle `-M -o', and we need to detect this. Also, some Intel
3609 # versions had trouble with output in subdirs
3610 am__obj=sub/conftest.${OBJEXT-o}
3611 am__minus_obj="-o $am__obj"
3612 case $depmode in
3613 gcc)
3614 # This depmode causes a compiler race in universal mode.
3615 test "$am__universal" = false || continue
3617 nosideeffect)
3618 # after this tag, mechanisms are not by side-effect, so they'll
3619 # only be used when explicitly requested
3620 if test "x$enable_dependency_tracking" = xyes; then
3621 continue
3622 else
3623 break
3626 msvisualcpp | msvcmsys)
3627 # This compiler won't grok `-c -o', but also, the minuso test has
3628 # not run yet. These depmodes are late enough in the game, and
3629 # so weak that their functioning should not be impacted.
3630 am__obj=conftest.${OBJEXT-o}
3631 am__minus_obj=
3633 none) break ;;
3634 esac
3635 if depmode=$depmode \
3636 source=sub/conftest.c object=$am__obj \
3637 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3638 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3639 >/dev/null 2>conftest.err &&
3640 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3641 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3642 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3643 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3644 # icc doesn't choke on unknown options, it will just issue warnings
3645 # or remarks (even with -Werror). So we grep stderr for any message
3646 # that says an option was ignored or not supported.
3647 # When given -MP, icc 7.0 and 7.1 complain thusly:
3648 # icc: Command line warning: ignoring option '-M'; no argument required
3649 # The diagnosis changed in icc 8.0:
3650 # icc: Command line remark: option '-MP' not supported
3651 if (grep 'ignoring option' conftest.err ||
3652 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3653 am_cv_CC_dependencies_compiler_type=$depmode
3654 break
3657 done
3659 cd ..
3660 rm -rf conftest.dir
3661 else
3662 am_cv_CC_dependencies_compiler_type=none
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3667 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3668 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3671 test "x$enable_dependency_tracking" != xno \
3672 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3673 am__fastdepCC_TRUE=
3674 am__fastdepCC_FALSE='#'
3675 else
3676 am__fastdepCC_TRUE='#'
3677 am__fastdepCC_FALSE=
3681 if test "x$CC" != xcc; then
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
3683 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3684 else
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
3686 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3688 set dummy $CC; ac_cc=`$as_echo "$2" |
3689 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3690 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
3691 $as_echo_n "(cached) " >&6
3692 else
3693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3694 /* end confdefs.h. */
3697 main ()
3701 return 0;
3703 _ACEOF
3704 # Make sure it works both with $CC and with simple cc.
3705 # We do the test twice because some compilers refuse to overwrite an
3706 # existing .o file with -o, though they will create one.
3707 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3708 rm -f conftest2.*
3709 if { { case "(($ac_try" in
3710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3711 *) ac_try_echo=$ac_try;;
3712 esac
3713 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3714 $as_echo "$ac_try_echo"; } >&5
3715 (eval "$ac_try") 2>&5
3716 ac_status=$?
3717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3718 test $ac_status = 0; } &&
3719 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3721 *) ac_try_echo=$ac_try;;
3722 esac
3723 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3724 $as_echo "$ac_try_echo"; } >&5
3725 (eval "$ac_try") 2>&5
3726 ac_status=$?
3727 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3728 test $ac_status = 0; };
3729 then
3730 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3731 if test "x$CC" != xcc; then
3732 # Test first that cc exists at all.
3733 if { ac_try='cc -c conftest.$ac_ext >&5'
3734 { { case "(($ac_try" in
3735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3736 *) ac_try_echo=$ac_try;;
3737 esac
3738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3739 $as_echo "$ac_try_echo"; } >&5
3740 (eval "$ac_try") 2>&5
3741 ac_status=$?
3742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3743 test $ac_status = 0; }; }; then
3744 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3745 rm -f conftest2.*
3746 if { { case "(($ac_try" in
3747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3748 *) ac_try_echo=$ac_try;;
3749 esac
3750 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3751 $as_echo "$ac_try_echo"; } >&5
3752 (eval "$ac_try") 2>&5
3753 ac_status=$?
3754 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3755 test $ac_status = 0; } &&
3756 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3758 *) ac_try_echo=$ac_try;;
3759 esac
3760 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3761 $as_echo "$ac_try_echo"; } >&5
3762 (eval "$ac_try") 2>&5
3763 ac_status=$?
3764 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3765 test $ac_status = 0; };
3766 then
3767 # cc works too.
3769 else
3770 # cc exists but doesn't like -o.
3771 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3775 else
3776 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3778 rm -f core conftest*
3781 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3783 $as_echo "yes" >&6; }
3784 else
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3786 $as_echo "no" >&6; }
3788 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
3792 # FIXME: we rely on the cache variable name because
3793 # there is no other way.
3794 set dummy $CC
3795 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3796 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
3797 if test "$am_t" != yes; then
3798 # Losing compiler, so override with the script.
3799 # FIXME: It is wrong to rewrite CC.
3800 # But if we don't then we get into trouble of one sort or another.
3801 # A longer-term fix would be to have automake use am__CC in this case,
3802 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3803 CC="$am_aux_dir/compile $CC"
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
3809 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
3810 # Check whether --enable-version-specific-runtime-libs was given.
3811 if test "${enable_version_specific_runtime_libs+set}" = set; then :
3812 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
3813 yes) version_specific_libs=yes ;;
3814 no) version_specific_libs=no ;;
3815 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
3816 esac
3817 else
3818 version_specific_libs=no
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
3822 $as_echo "$version_specific_libs" >&6; }
3825 # Configure libtool
3826 case `pwd` in
3827 *\ * | *\ *)
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3829 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3830 esac
3834 macro_version='2.2.7a'
3835 macro_revision='1.3134'
3849 ltmain="$ac_aux_dir/ltmain.sh"
3851 # Backslashify metacharacters that are still active within
3852 # double-quoted strings.
3853 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3855 # Same as above, but do not quote variable references.
3856 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3858 # Sed substitution to delay expansion of an escaped shell variable in a
3859 # double_quote_subst'ed string.
3860 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3862 # Sed substitution to delay expansion of an escaped single quote.
3863 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3865 # Sed substitution to avoid accidental globbing in evaled expressions
3866 no_glob_subst='s/\*/\\\*/g'
3868 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3869 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3870 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3873 $as_echo_n "checking how to print strings... " >&6; }
3874 # Test print first, because it will be a builtin if present.
3875 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
3876 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3877 ECHO='print -r --'
3878 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3879 ECHO='printf %s\n'
3880 else
3881 # Use this function as a fallback that always works.
3882 func_fallback_echo ()
3884 eval 'cat <<_LTECHO_EOF
3886 _LTECHO_EOF'
3888 ECHO='func_fallback_echo'
3891 # func_echo_all arg...
3892 # Invoke $ECHO with all args, space-separated.
3893 func_echo_all ()
3895 $ECHO ""
3898 case "$ECHO" in
3899 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3900 $as_echo "printf" >&6; } ;;
3901 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3902 $as_echo "print -r" >&6; } ;;
3903 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3904 $as_echo "cat" >&6; } ;;
3905 esac
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3921 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3922 if test "${ac_cv_path_SED+set}" = set; then :
3923 $as_echo_n "(cached) " >&6
3924 else
3925 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3926 for ac_i in 1 2 3 4 5 6 7; do
3927 ac_script="$ac_script$as_nl$ac_script"
3928 done
3929 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3930 { ac_script=; unset ac_script;}
3931 if test -z "$SED"; then
3932 ac_path_SED_found=false
3933 # Loop through the user's path and test for each of PROGNAME-LIST
3934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3935 for as_dir in $PATH
3937 IFS=$as_save_IFS
3938 test -z "$as_dir" && as_dir=.
3939 for ac_prog in sed gsed; do
3940 for ac_exec_ext in '' $ac_executable_extensions; do
3941 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3942 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3943 # Check for GNU ac_path_SED and select it if it is found.
3944 # Check for GNU $ac_path_SED
3945 case `"$ac_path_SED" --version 2>&1` in
3946 *GNU*)
3947 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3949 ac_count=0
3950 $as_echo_n 0123456789 >"conftest.in"
3951 while :
3953 cat "conftest.in" "conftest.in" >"conftest.tmp"
3954 mv "conftest.tmp" "conftest.in"
3955 cp "conftest.in" "conftest.nl"
3956 $as_echo '' >> "conftest.nl"
3957 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3958 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3959 as_fn_arith $ac_count + 1 && ac_count=$as_val
3960 if test $ac_count -gt ${ac_path_SED_max-0}; then
3961 # Best one so far, save it but keep looking for a better one
3962 ac_cv_path_SED="$ac_path_SED"
3963 ac_path_SED_max=$ac_count
3965 # 10*(2^10) chars as input seems more than enough
3966 test $ac_count -gt 10 && break
3967 done
3968 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3969 esac
3971 $ac_path_SED_found && break 3
3972 done
3973 done
3974 done
3975 IFS=$as_save_IFS
3976 if test -z "$ac_cv_path_SED"; then
3977 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
3979 else
3980 ac_cv_path_SED=$SED
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3985 $as_echo "$ac_cv_path_SED" >&6; }
3986 SED="$ac_cv_path_SED"
3987 rm -f conftest.sed
3989 test -z "$SED" && SED=sed
3990 Xsed="$SED -e 1s/^X//"
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4003 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4004 if test "${ac_cv_path_GREP+set}" = set; then :
4005 $as_echo_n "(cached) " >&6
4006 else
4007 if test -z "$GREP"; then
4008 ac_path_GREP_found=false
4009 # Loop through the user's path and test for each of PROGNAME-LIST
4010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4011 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4013 IFS=$as_save_IFS
4014 test -z "$as_dir" && as_dir=.
4015 for ac_prog in grep ggrep; do
4016 for ac_exec_ext in '' $ac_executable_extensions; do
4017 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4018 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4019 # Check for GNU ac_path_GREP and select it if it is found.
4020 # Check for GNU $ac_path_GREP
4021 case `"$ac_path_GREP" --version 2>&1` in
4022 *GNU*)
4023 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4025 ac_count=0
4026 $as_echo_n 0123456789 >"conftest.in"
4027 while :
4029 cat "conftest.in" "conftest.in" >"conftest.tmp"
4030 mv "conftest.tmp" "conftest.in"
4031 cp "conftest.in" "conftest.nl"
4032 $as_echo 'GREP' >> "conftest.nl"
4033 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4034 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4035 as_fn_arith $ac_count + 1 && ac_count=$as_val
4036 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4037 # Best one so far, save it but keep looking for a better one
4038 ac_cv_path_GREP="$ac_path_GREP"
4039 ac_path_GREP_max=$ac_count
4041 # 10*(2^10) chars as input seems more than enough
4042 test $ac_count -gt 10 && break
4043 done
4044 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4045 esac
4047 $ac_path_GREP_found && break 3
4048 done
4049 done
4050 done
4051 IFS=$as_save_IFS
4052 if test -z "$ac_cv_path_GREP"; then
4053 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4055 else
4056 ac_cv_path_GREP=$GREP
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4061 $as_echo "$ac_cv_path_GREP" >&6; }
4062 GREP="$ac_cv_path_GREP"
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4066 $as_echo_n "checking for egrep... " >&6; }
4067 if test "${ac_cv_path_EGREP+set}" = set; then :
4068 $as_echo_n "(cached) " >&6
4069 else
4070 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4071 then ac_cv_path_EGREP="$GREP -E"
4072 else
4073 if test -z "$EGREP"; then
4074 ac_path_EGREP_found=false
4075 # Loop through the user's path and test for each of PROGNAME-LIST
4076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4077 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4079 IFS=$as_save_IFS
4080 test -z "$as_dir" && as_dir=.
4081 for ac_prog in egrep; do
4082 for ac_exec_ext in '' $ac_executable_extensions; do
4083 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4084 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4085 # Check for GNU ac_path_EGREP and select it if it is found.
4086 # Check for GNU $ac_path_EGREP
4087 case `"$ac_path_EGREP" --version 2>&1` in
4088 *GNU*)
4089 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4091 ac_count=0
4092 $as_echo_n 0123456789 >"conftest.in"
4093 while :
4095 cat "conftest.in" "conftest.in" >"conftest.tmp"
4096 mv "conftest.tmp" "conftest.in"
4097 cp "conftest.in" "conftest.nl"
4098 $as_echo 'EGREP' >> "conftest.nl"
4099 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4100 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4101 as_fn_arith $ac_count + 1 && ac_count=$as_val
4102 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4103 # Best one so far, save it but keep looking for a better one
4104 ac_cv_path_EGREP="$ac_path_EGREP"
4105 ac_path_EGREP_max=$ac_count
4107 # 10*(2^10) chars as input seems more than enough
4108 test $ac_count -gt 10 && break
4109 done
4110 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4111 esac
4113 $ac_path_EGREP_found && break 3
4114 done
4115 done
4116 done
4117 IFS=$as_save_IFS
4118 if test -z "$ac_cv_path_EGREP"; then
4119 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4121 else
4122 ac_cv_path_EGREP=$EGREP
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4128 $as_echo "$ac_cv_path_EGREP" >&6; }
4129 EGREP="$ac_cv_path_EGREP"
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4133 $as_echo_n "checking for fgrep... " >&6; }
4134 if test "${ac_cv_path_FGREP+set}" = set; then :
4135 $as_echo_n "(cached) " >&6
4136 else
4137 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4138 then ac_cv_path_FGREP="$GREP -F"
4139 else
4140 if test -z "$FGREP"; then
4141 ac_path_FGREP_found=false
4142 # Loop through the user's path and test for each of PROGNAME-LIST
4143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4144 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4146 IFS=$as_save_IFS
4147 test -z "$as_dir" && as_dir=.
4148 for ac_prog in fgrep; do
4149 for ac_exec_ext in '' $ac_executable_extensions; do
4150 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4151 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4152 # Check for GNU ac_path_FGREP and select it if it is found.
4153 # Check for GNU $ac_path_FGREP
4154 case `"$ac_path_FGREP" --version 2>&1` in
4155 *GNU*)
4156 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4158 ac_count=0
4159 $as_echo_n 0123456789 >"conftest.in"
4160 while :
4162 cat "conftest.in" "conftest.in" >"conftest.tmp"
4163 mv "conftest.tmp" "conftest.in"
4164 cp "conftest.in" "conftest.nl"
4165 $as_echo 'FGREP' >> "conftest.nl"
4166 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4167 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4168 as_fn_arith $ac_count + 1 && ac_count=$as_val
4169 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4170 # Best one so far, save it but keep looking for a better one
4171 ac_cv_path_FGREP="$ac_path_FGREP"
4172 ac_path_FGREP_max=$ac_count
4174 # 10*(2^10) chars as input seems more than enough
4175 test $ac_count -gt 10 && break
4176 done
4177 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4178 esac
4180 $ac_path_FGREP_found && break 3
4181 done
4182 done
4183 done
4184 IFS=$as_save_IFS
4185 if test -z "$ac_cv_path_FGREP"; then
4186 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4188 else
4189 ac_cv_path_FGREP=$FGREP
4194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4195 $as_echo "$ac_cv_path_FGREP" >&6; }
4196 FGREP="$ac_cv_path_FGREP"
4199 test -z "$GREP" && GREP=grep
4219 # Check whether --with-gnu-ld was given.
4220 if test "${with_gnu_ld+set}" = set; then :
4221 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4222 else
4223 with_gnu_ld=no
4226 ac_prog=ld
4227 if test "$GCC" = yes; then
4228 # Check if gcc -print-prog-name=ld gives a path.
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4230 $as_echo_n "checking for ld used by $CC... " >&6; }
4231 case $host in
4232 *-*-mingw*)
4233 # gcc leaves a trailing carriage return which upsets mingw
4234 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4236 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4237 esac
4238 case $ac_prog in
4239 # Accept absolute paths.
4240 [\\/]* | ?:[\\/]*)
4241 re_direlt='/[^/][^/]*/\.\./'
4242 # Canonicalize the pathname of ld
4243 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4244 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4245 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4246 done
4247 test -z "$LD" && LD="$ac_prog"
4250 # If it fails, then pretend we aren't using GCC.
4251 ac_prog=ld
4254 # If it is relative, then search for the first ld in PATH.
4255 with_gnu_ld=unknown
4257 esac
4258 elif test "$with_gnu_ld" = yes; then
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4260 $as_echo_n "checking for GNU ld... " >&6; }
4261 else
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4263 $as_echo_n "checking for non-GNU ld... " >&6; }
4265 if test "${lt_cv_path_LD+set}" = set; then :
4266 $as_echo_n "(cached) " >&6
4267 else
4268 if test -z "$LD"; then
4269 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4270 for ac_dir in $PATH; do
4271 IFS="$lt_save_ifs"
4272 test -z "$ac_dir" && ac_dir=.
4273 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4274 lt_cv_path_LD="$ac_dir/$ac_prog"
4275 # Check to see if the program is GNU ld. I'd rather use --version,
4276 # but apparently some variants of GNU ld only accept -v.
4277 # Break only if it was the GNU/non-GNU ld that we prefer.
4278 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4279 *GNU* | *'with BFD'*)
4280 test "$with_gnu_ld" != no && break
4283 test "$with_gnu_ld" != yes && break
4285 esac
4287 done
4288 IFS="$lt_save_ifs"
4289 else
4290 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4294 LD="$lt_cv_path_LD"
4295 if test -n "$LD"; then
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4297 $as_echo "$LD" >&6; }
4298 else
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4300 $as_echo "no" >&6; }
4302 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4304 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4305 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4306 $as_echo_n "(cached) " >&6
4307 else
4308 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4309 case `$LD -v 2>&1 </dev/null` in
4310 *GNU* | *'with BFD'*)
4311 lt_cv_prog_gnu_ld=yes
4314 lt_cv_prog_gnu_ld=no
4316 esac
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4319 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4320 with_gnu_ld=$lt_cv_prog_gnu_ld
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4331 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4332 if test "${lt_cv_path_NM+set}" = set; then :
4333 $as_echo_n "(cached) " >&6
4334 else
4335 if test -n "$NM"; then
4336 # Let the user override the test.
4337 lt_cv_path_NM="$NM"
4338 else
4339 lt_nm_to_check="${ac_tool_prefix}nm"
4340 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4341 lt_nm_to_check="$lt_nm_to_check nm"
4343 for lt_tmp_nm in $lt_nm_to_check; do
4344 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4345 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4346 IFS="$lt_save_ifs"
4347 test -z "$ac_dir" && ac_dir=.
4348 tmp_nm="$ac_dir/$lt_tmp_nm"
4349 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4350 # Check to see if the nm accepts a BSD-compat flag.
4351 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4352 # nm: unknown option "B" ignored
4353 # Tru64's nm complains that /dev/null is an invalid object file
4354 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4355 */dev/null* | *'Invalid file or object type'*)
4356 lt_cv_path_NM="$tmp_nm -B"
4357 break
4360 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4361 */dev/null*)
4362 lt_cv_path_NM="$tmp_nm -p"
4363 break
4366 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4367 continue # so that we can try to find one that supports BSD flags
4369 esac
4371 esac
4373 done
4374 IFS="$lt_save_ifs"
4375 done
4376 : ${lt_cv_path_NM=no}
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4380 $as_echo "$lt_cv_path_NM" >&6; }
4381 if test "$lt_cv_path_NM" != "no"; then
4382 NM="$lt_cv_path_NM"
4383 else
4384 # Didn't find any BSD compatible name lister, look for dumpbin.
4385 if test -n "$DUMPBIN"; then :
4386 # Let the user override the test.
4387 else
4388 if test -n "$ac_tool_prefix"; then
4389 for ac_prog in dumpbin "link -dump"
4391 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4392 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4394 $as_echo_n "checking for $ac_word... " >&6; }
4395 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4396 $as_echo_n "(cached) " >&6
4397 else
4398 if test -n "$DUMPBIN"; then
4399 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4400 else
4401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4402 for as_dir in $PATH
4404 IFS=$as_save_IFS
4405 test -z "$as_dir" && as_dir=.
4406 for ac_exec_ext in '' $ac_executable_extensions; do
4407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4408 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4410 break 2
4412 done
4413 done
4414 IFS=$as_save_IFS
4418 DUMPBIN=$ac_cv_prog_DUMPBIN
4419 if test -n "$DUMPBIN"; then
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4421 $as_echo "$DUMPBIN" >&6; }
4422 else
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4424 $as_echo "no" >&6; }
4428 test -n "$DUMPBIN" && break
4429 done
4431 if test -z "$DUMPBIN"; then
4432 ac_ct_DUMPBIN=$DUMPBIN
4433 for ac_prog in dumpbin "link -dump"
4435 # Extract the first word of "$ac_prog", so it can be a program name with args.
4436 set dummy $ac_prog; ac_word=$2
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4438 $as_echo_n "checking for $ac_word... " >&6; }
4439 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4440 $as_echo_n "(cached) " >&6
4441 else
4442 if test -n "$ac_ct_DUMPBIN"; then
4443 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4444 else
4445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4446 for as_dir in $PATH
4448 IFS=$as_save_IFS
4449 test -z "$as_dir" && as_dir=.
4450 for ac_exec_ext in '' $ac_executable_extensions; do
4451 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4452 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4454 break 2
4456 done
4457 done
4458 IFS=$as_save_IFS
4462 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4463 if test -n "$ac_ct_DUMPBIN"; then
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4465 $as_echo "$ac_ct_DUMPBIN" >&6; }
4466 else
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4468 $as_echo "no" >&6; }
4472 test -n "$ac_ct_DUMPBIN" && break
4473 done
4475 if test "x$ac_ct_DUMPBIN" = x; then
4476 DUMPBIN=":"
4477 else
4478 case $cross_compiling:$ac_tool_warned in
4479 yes:)
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4481 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4482 ac_tool_warned=yes ;;
4483 esac
4484 DUMPBIN=$ac_ct_DUMPBIN
4488 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4489 *COFF*)
4490 DUMPBIN="$DUMPBIN -symbols"
4493 DUMPBIN=:
4495 esac
4498 if test "$DUMPBIN" != ":"; then
4499 NM="$DUMPBIN"
4502 test -z "$NM" && NM=nm
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4510 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4511 if test "${lt_cv_nm_interface+set}" = set; then :
4512 $as_echo_n "(cached) " >&6
4513 else
4514 lt_cv_nm_interface="BSD nm"
4515 echo "int some_variable = 0;" > conftest.$ac_ext
4516 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4517 (eval "$ac_compile" 2>conftest.err)
4518 cat conftest.err >&5
4519 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4520 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4521 cat conftest.err >&5
4522 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4523 cat conftest.out >&5
4524 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4525 lt_cv_nm_interface="MS dumpbin"
4527 rm -f conftest*
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4530 $as_echo "$lt_cv_nm_interface" >&6; }
4532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4533 $as_echo_n "checking whether ln -s works... " >&6; }
4534 LN_S=$as_ln_s
4535 if test "$LN_S" = "ln -s"; then
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4537 $as_echo "yes" >&6; }
4538 else
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4540 $as_echo "no, using $LN_S" >&6; }
4543 # find the maximum length of command line arguments
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4545 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4546 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4547 $as_echo_n "(cached) " >&6
4548 else
4550 teststring="ABCD"
4552 case $build_os in
4553 msdosdjgpp*)
4554 # On DJGPP, this test can blow up pretty badly due to problems in libc
4555 # (any single argument exceeding 2000 bytes causes a buffer overrun
4556 # during glob expansion). Even if it were fixed, the result of this
4557 # check would be larger than it should be.
4558 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4561 gnu*)
4562 # Under GNU Hurd, this test is not required because there is
4563 # no limit to the length of command line arguments.
4564 # Libtool will interpret -1 as no limit whatsoever
4565 lt_cv_sys_max_cmd_len=-1;
4568 cygwin* | mingw* | cegcc*)
4569 # On Win9x/ME, this test blows up -- it succeeds, but takes
4570 # about 5 minutes as the teststring grows exponentially.
4571 # Worse, since 9x/ME are not pre-emptively multitasking,
4572 # you end up with a "frozen" computer, even though with patience
4573 # the test eventually succeeds (with a max line length of 256k).
4574 # Instead, let's just punt: use the minimum linelength reported by
4575 # all of the supported platforms: 8192 (on NT/2K/XP).
4576 lt_cv_sys_max_cmd_len=8192;
4579 mint*)
4580 # On MiNT this can take a long time and run out of memory.
4581 lt_cv_sys_max_cmd_len=8192;
4584 amigaos*)
4585 # On AmigaOS with pdksh, this test takes hours, literally.
4586 # So we just punt and use a minimum line length of 8192.
4587 lt_cv_sys_max_cmd_len=8192;
4590 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4591 # This has been around since 386BSD, at least. Likely further.
4592 if test -x /sbin/sysctl; then
4593 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4594 elif test -x /usr/sbin/sysctl; then
4595 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4596 else
4597 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4599 # And add a safety zone
4600 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4601 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4604 interix*)
4605 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4606 lt_cv_sys_max_cmd_len=196608
4609 osf*)
4610 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4611 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4612 # nice to cause kernel panics so lets avoid the loop below.
4613 # First set a reasonable default.
4614 lt_cv_sys_max_cmd_len=16384
4616 if test -x /sbin/sysconfig; then
4617 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4618 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4619 esac
4622 sco3.2v5*)
4623 lt_cv_sys_max_cmd_len=102400
4625 sysv5* | sco5v6* | sysv4.2uw2*)
4626 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4627 if test -n "$kargmax"; then
4628 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4629 else
4630 lt_cv_sys_max_cmd_len=32768
4634 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4635 if test -n "$lt_cv_sys_max_cmd_len"; then
4636 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4637 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4638 else
4639 # Make teststring a little bigger before we do anything with it.
4640 # a 1K string should be a reasonable start.
4641 for i in 1 2 3 4 5 6 7 8 ; do
4642 teststring=$teststring$teststring
4643 done
4644 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4645 # If test is not a shell built-in, we'll probably end up computing a
4646 # maximum length that is only half of the actual maximum length, but
4647 # we can't tell.
4648 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
4649 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4650 test $i != 17 # 1/2 MB should be enough
4652 i=`expr $i + 1`
4653 teststring=$teststring$teststring
4654 done
4655 # Only check the string length outside the loop.
4656 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4657 teststring=
4658 # Add a significant safety factor because C++ compilers can tack on
4659 # massive amounts of additional arguments before passing them to the
4660 # linker. It appears as though 1/2 is a usable value.
4661 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4664 esac
4668 if test -n $lt_cv_sys_max_cmd_len ; then
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4670 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4671 else
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4673 $as_echo "none" >&6; }
4675 max_cmd_len=$lt_cv_sys_max_cmd_len
4682 : ${CP="cp -f"}
4683 : ${MV="mv -f"}
4684 : ${RM="rm -f"}
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4687 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4688 # Try some XSI features
4689 xsi_shell=no
4690 ( _lt_dummy="a/b/c"
4691 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4692 = c,a/b,, \
4693 && eval 'test $(( 1 + 1 )) -eq 2 \
4694 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4695 && xsi_shell=yes
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4697 $as_echo "$xsi_shell" >&6; }
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4701 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4702 lt_shell_append=no
4703 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4704 >/dev/null 2>&1 \
4705 && lt_shell_append=yes
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4707 $as_echo "$lt_shell_append" >&6; }
4710 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4711 lt_unset=unset
4712 else
4713 lt_unset=false
4720 # test EBCDIC or ASCII
4721 case `echo X|tr X '\101'` in
4722 A) # ASCII based system
4723 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4724 lt_SP2NL='tr \040 \012'
4725 lt_NL2SP='tr \015\012 \040\040'
4727 *) # EBCDIC based system
4728 lt_SP2NL='tr \100 \n'
4729 lt_NL2SP='tr \r\n \100\100'
4731 esac
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4742 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4743 if test "${lt_cv_ld_reload_flag+set}" = set; then :
4744 $as_echo_n "(cached) " >&6
4745 else
4746 lt_cv_ld_reload_flag='-r'
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4749 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4750 reload_flag=$lt_cv_ld_reload_flag
4751 case $reload_flag in
4752 "" | " "*) ;;
4753 *) reload_flag=" $reload_flag" ;;
4754 esac
4755 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4756 case $host_os in
4757 darwin*)
4758 if test "$GCC" = yes; then
4759 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4760 else
4761 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4764 esac
4774 if test -n "$ac_tool_prefix"; then
4775 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4776 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4778 $as_echo_n "checking for $ac_word... " >&6; }
4779 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
4780 $as_echo_n "(cached) " >&6
4781 else
4782 if test -n "$OBJDUMP"; then
4783 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4784 else
4785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4786 for as_dir in $PATH
4788 IFS=$as_save_IFS
4789 test -z "$as_dir" && as_dir=.
4790 for ac_exec_ext in '' $ac_executable_extensions; do
4791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4792 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4794 break 2
4796 done
4797 done
4798 IFS=$as_save_IFS
4802 OBJDUMP=$ac_cv_prog_OBJDUMP
4803 if test -n "$OBJDUMP"; then
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4805 $as_echo "$OBJDUMP" >&6; }
4806 else
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4808 $as_echo "no" >&6; }
4813 if test -z "$ac_cv_prog_OBJDUMP"; then
4814 ac_ct_OBJDUMP=$OBJDUMP
4815 # Extract the first word of "objdump", so it can be a program name with args.
4816 set dummy objdump; ac_word=$2
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4818 $as_echo_n "checking for $ac_word... " >&6; }
4819 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
4820 $as_echo_n "(cached) " >&6
4821 else
4822 if test -n "$ac_ct_OBJDUMP"; then
4823 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4824 else
4825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4826 for as_dir in $PATH
4828 IFS=$as_save_IFS
4829 test -z "$as_dir" && as_dir=.
4830 for ac_exec_ext in '' $ac_executable_extensions; do
4831 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4832 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4834 break 2
4836 done
4837 done
4838 IFS=$as_save_IFS
4842 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4843 if test -n "$ac_ct_OBJDUMP"; then
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4845 $as_echo "$ac_ct_OBJDUMP" >&6; }
4846 else
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4848 $as_echo "no" >&6; }
4851 if test "x$ac_ct_OBJDUMP" = x; then
4852 OBJDUMP="false"
4853 else
4854 case $cross_compiling:$ac_tool_warned in
4855 yes:)
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4857 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4858 ac_tool_warned=yes ;;
4859 esac
4860 OBJDUMP=$ac_ct_OBJDUMP
4862 else
4863 OBJDUMP="$ac_cv_prog_OBJDUMP"
4866 test -z "$OBJDUMP" && OBJDUMP=objdump
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4877 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
4878 if test "${lt_cv_deplibs_check_method+set}" = set; then :
4879 $as_echo_n "(cached) " >&6
4880 else
4881 lt_cv_file_magic_cmd='$MAGIC_CMD'
4882 lt_cv_file_magic_test_file=
4883 lt_cv_deplibs_check_method='unknown'
4884 # Need to set the preceding variable on all platforms that support
4885 # interlibrary dependencies.
4886 # 'none' -- dependencies not supported.
4887 # `unknown' -- same as none, but documents that we really don't know.
4888 # 'pass_all' -- all dependencies passed with no checks.
4889 # 'test_compile' -- check by making test program.
4890 # 'file_magic [[regex]]' -- check by looking for files in library path
4891 # which responds to the $file_magic_cmd with a given extended regex.
4892 # If you have `file' or equivalent on your system and you're not sure
4893 # whether `pass_all' will *always* work, you probably want this one.
4895 case $host_os in
4896 aix[4-9]*)
4897 lt_cv_deplibs_check_method=pass_all
4900 beos*)
4901 lt_cv_deplibs_check_method=pass_all
4904 bsdi[45]*)
4905 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4906 lt_cv_file_magic_cmd='/usr/bin/file -L'
4907 lt_cv_file_magic_test_file=/shlib/libc.so
4910 cygwin*)
4911 # func_win32_libid is a shell function defined in ltmain.sh
4912 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4913 lt_cv_file_magic_cmd='func_win32_libid'
4916 mingw* | pw32*)
4917 # Base MSYS/MinGW do not provide the 'file' command needed by
4918 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4919 # unless we find 'file', for example because we are cross-compiling.
4920 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
4921 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
4922 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4923 lt_cv_file_magic_cmd='func_win32_libid'
4924 else
4925 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4926 lt_cv_file_magic_cmd='$OBJDUMP -f'
4930 cegcc*)
4931 # use the weaker test based on 'objdump'. See mingw*.
4932 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4933 lt_cv_file_magic_cmd='$OBJDUMP -f'
4936 darwin* | rhapsody*)
4937 lt_cv_deplibs_check_method=pass_all
4940 freebsd* | dragonfly*)
4941 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4942 case $host_cpu in
4943 i*86 )
4944 # Not sure whether the presence of OpenBSD here was a mistake.
4945 # Let's accept both of them until this is cleared up.
4946 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4947 lt_cv_file_magic_cmd=/usr/bin/file
4948 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4950 esac
4951 else
4952 lt_cv_deplibs_check_method=pass_all
4956 gnu*)
4957 lt_cv_deplibs_check_method=pass_all
4960 haiku*)
4961 lt_cv_deplibs_check_method=pass_all
4964 hpux10.20* | hpux11*)
4965 lt_cv_file_magic_cmd=/usr/bin/file
4966 case $host_cpu in
4967 ia64*)
4968 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4969 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4971 hppa*64*)
4972 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]'
4973 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4976 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
4977 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4979 esac
4982 interix[3-9]*)
4983 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4984 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4987 irix5* | irix6* | nonstopux*)
4988 case $LD in
4989 *-32|*"-32 ") libmagic=32-bit;;
4990 *-n32|*"-n32 ") libmagic=N32;;
4991 *-64|*"-64 ") libmagic=64-bit;;
4992 *) libmagic=never-match;;
4993 esac
4994 lt_cv_deplibs_check_method=pass_all
4997 # This must be Linux ELF.
4998 linux* | k*bsd*-gnu | kopensolaris*-gnu)
4999 lt_cv_deplibs_check_method=pass_all
5002 netbsd*)
5003 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5004 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5005 else
5006 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5010 newos6*)
5011 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5012 lt_cv_file_magic_cmd=/usr/bin/file
5013 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5016 *nto* | *qnx*)
5017 lt_cv_deplibs_check_method=pass_all
5020 openbsd*)
5021 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5022 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5023 else
5024 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5028 osf3* | osf4* | osf5*)
5029 lt_cv_deplibs_check_method=pass_all
5032 rdos*)
5033 lt_cv_deplibs_check_method=pass_all
5036 solaris*)
5037 lt_cv_deplibs_check_method=pass_all
5040 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5041 lt_cv_deplibs_check_method=pass_all
5044 sysv4 | sysv4.3*)
5045 case $host_vendor in
5046 motorola)
5047 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]'
5048 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5050 ncr)
5051 lt_cv_deplibs_check_method=pass_all
5053 sequent)
5054 lt_cv_file_magic_cmd='/bin/file'
5055 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5057 sni)
5058 lt_cv_file_magic_cmd='/bin/file'
5059 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5060 lt_cv_file_magic_test_file=/lib/libc.so
5062 siemens)
5063 lt_cv_deplibs_check_method=pass_all
5066 lt_cv_deplibs_check_method=pass_all
5068 esac
5071 tpf*)
5072 lt_cv_deplibs_check_method=pass_all
5074 esac
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5078 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5079 file_magic_cmd=$lt_cv_file_magic_cmd
5080 deplibs_check_method=$lt_cv_deplibs_check_method
5081 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5094 if test -n "$ac_tool_prefix"; then
5095 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5096 set dummy ${ac_tool_prefix}ar; ac_word=$2
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5098 $as_echo_n "checking for $ac_word... " >&6; }
5099 if test "${ac_cv_prog_AR+set}" = set; then :
5100 $as_echo_n "(cached) " >&6
5101 else
5102 if test -n "$AR"; then
5103 ac_cv_prog_AR="$AR" # Let the user override the test.
5104 else
5105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5106 for as_dir in $PATH
5108 IFS=$as_save_IFS
5109 test -z "$as_dir" && as_dir=.
5110 for ac_exec_ext in '' $ac_executable_extensions; do
5111 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5112 ac_cv_prog_AR="${ac_tool_prefix}ar"
5113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5114 break 2
5116 done
5117 done
5118 IFS=$as_save_IFS
5122 AR=$ac_cv_prog_AR
5123 if test -n "$AR"; then
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5125 $as_echo "$AR" >&6; }
5126 else
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5128 $as_echo "no" >&6; }
5133 if test -z "$ac_cv_prog_AR"; then
5134 ac_ct_AR=$AR
5135 # Extract the first word of "ar", so it can be a program name with args.
5136 set dummy ar; ac_word=$2
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5138 $as_echo_n "checking for $ac_word... " >&6; }
5139 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5140 $as_echo_n "(cached) " >&6
5141 else
5142 if test -n "$ac_ct_AR"; then
5143 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5144 else
5145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5146 for as_dir in $PATH
5148 IFS=$as_save_IFS
5149 test -z "$as_dir" && as_dir=.
5150 for ac_exec_ext in '' $ac_executable_extensions; do
5151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5152 ac_cv_prog_ac_ct_AR="ar"
5153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5154 break 2
5156 done
5157 done
5158 IFS=$as_save_IFS
5162 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5163 if test -n "$ac_ct_AR"; then
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5165 $as_echo "$ac_ct_AR" >&6; }
5166 else
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5168 $as_echo "no" >&6; }
5171 if test "x$ac_ct_AR" = x; then
5172 AR="false"
5173 else
5174 case $cross_compiling:$ac_tool_warned in
5175 yes:)
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5177 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5178 ac_tool_warned=yes ;;
5179 esac
5180 AR=$ac_ct_AR
5182 else
5183 AR="$ac_cv_prog_AR"
5186 test -z "$AR" && AR=ar
5187 test -z "$AR_FLAGS" && AR_FLAGS=cru
5199 if test -n "$ac_tool_prefix"; then
5200 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5201 set dummy ${ac_tool_prefix}strip; ac_word=$2
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5203 $as_echo_n "checking for $ac_word... " >&6; }
5204 if test "${ac_cv_prog_STRIP+set}" = set; then :
5205 $as_echo_n "(cached) " >&6
5206 else
5207 if test -n "$STRIP"; then
5208 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5209 else
5210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5211 for as_dir in $PATH
5213 IFS=$as_save_IFS
5214 test -z "$as_dir" && as_dir=.
5215 for ac_exec_ext in '' $ac_executable_extensions; do
5216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5217 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5219 break 2
5221 done
5222 done
5223 IFS=$as_save_IFS
5227 STRIP=$ac_cv_prog_STRIP
5228 if test -n "$STRIP"; then
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5230 $as_echo "$STRIP" >&6; }
5231 else
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5233 $as_echo "no" >&6; }
5238 if test -z "$ac_cv_prog_STRIP"; then
5239 ac_ct_STRIP=$STRIP
5240 # Extract the first word of "strip", so it can be a program name with args.
5241 set dummy strip; ac_word=$2
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5243 $as_echo_n "checking for $ac_word... " >&6; }
5244 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5245 $as_echo_n "(cached) " >&6
5246 else
5247 if test -n "$ac_ct_STRIP"; then
5248 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5249 else
5250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5251 for as_dir in $PATH
5253 IFS=$as_save_IFS
5254 test -z "$as_dir" && as_dir=.
5255 for ac_exec_ext in '' $ac_executable_extensions; do
5256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5257 ac_cv_prog_ac_ct_STRIP="strip"
5258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5259 break 2
5261 done
5262 done
5263 IFS=$as_save_IFS
5267 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5268 if test -n "$ac_ct_STRIP"; then
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5270 $as_echo "$ac_ct_STRIP" >&6; }
5271 else
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5273 $as_echo "no" >&6; }
5276 if test "x$ac_ct_STRIP" = x; then
5277 STRIP=":"
5278 else
5279 case $cross_compiling:$ac_tool_warned in
5280 yes:)
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5282 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5283 ac_tool_warned=yes ;;
5284 esac
5285 STRIP=$ac_ct_STRIP
5287 else
5288 STRIP="$ac_cv_prog_STRIP"
5291 test -z "$STRIP" && STRIP=:
5298 if test -n "$ac_tool_prefix"; then
5299 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5300 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5302 $as_echo_n "checking for $ac_word... " >&6; }
5303 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5304 $as_echo_n "(cached) " >&6
5305 else
5306 if test -n "$RANLIB"; then
5307 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5308 else
5309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5310 for as_dir in $PATH
5312 IFS=$as_save_IFS
5313 test -z "$as_dir" && as_dir=.
5314 for ac_exec_ext in '' $ac_executable_extensions; do
5315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5316 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5318 break 2
5320 done
5321 done
5322 IFS=$as_save_IFS
5326 RANLIB=$ac_cv_prog_RANLIB
5327 if test -n "$RANLIB"; then
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5329 $as_echo "$RANLIB" >&6; }
5330 else
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5332 $as_echo "no" >&6; }
5337 if test -z "$ac_cv_prog_RANLIB"; then
5338 ac_ct_RANLIB=$RANLIB
5339 # Extract the first word of "ranlib", so it can be a program name with args.
5340 set dummy ranlib; ac_word=$2
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5342 $as_echo_n "checking for $ac_word... " >&6; }
5343 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5344 $as_echo_n "(cached) " >&6
5345 else
5346 if test -n "$ac_ct_RANLIB"; then
5347 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5348 else
5349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5350 for as_dir in $PATH
5352 IFS=$as_save_IFS
5353 test -z "$as_dir" && as_dir=.
5354 for ac_exec_ext in '' $ac_executable_extensions; do
5355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5356 ac_cv_prog_ac_ct_RANLIB="ranlib"
5357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5358 break 2
5360 done
5361 done
5362 IFS=$as_save_IFS
5366 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5367 if test -n "$ac_ct_RANLIB"; then
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5369 $as_echo "$ac_ct_RANLIB" >&6; }
5370 else
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5372 $as_echo "no" >&6; }
5375 if test "x$ac_ct_RANLIB" = x; then
5376 RANLIB=":"
5377 else
5378 case $cross_compiling:$ac_tool_warned in
5379 yes:)
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5381 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5382 ac_tool_warned=yes ;;
5383 esac
5384 RANLIB=$ac_ct_RANLIB
5386 else
5387 RANLIB="$ac_cv_prog_RANLIB"
5390 test -z "$RANLIB" && RANLIB=:
5397 # Determine commands to create old-style static archives.
5398 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5399 old_postinstall_cmds='chmod 644 $oldlib'
5400 old_postuninstall_cmds=
5402 if test -n "$RANLIB"; then
5403 case $host_os in
5404 openbsd*)
5405 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5408 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5410 esac
5411 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5414 case $host_os in
5415 darwin*)
5416 lock_old_archive_extraction=yes ;;
5418 lock_old_archive_extraction=no ;;
5419 esac
5459 # If no C compiler was specified, use CC.
5460 LTCC=${LTCC-"$CC"}
5462 # If no C compiler flags were specified, use CFLAGS.
5463 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5465 # Allow CC to be a program name with arguments.
5466 compiler=$CC
5469 # Check for command to grab the raw symbol name followed by C symbol from nm.
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5471 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5472 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5473 $as_echo_n "(cached) " >&6
5474 else
5476 # These are sane defaults that work on at least a few old systems.
5477 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5479 # Character class describing NM global symbol codes.
5480 symcode='[BCDEGRST]'
5482 # Regexp to match symbols that can be accessed directly from C.
5483 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5485 # Define system-specific variables.
5486 case $host_os in
5487 aix*)
5488 symcode='[BCDT]'
5490 cygwin* | mingw* | pw32* | cegcc*)
5491 symcode='[ABCDGISTW]'
5493 hpux*)
5494 if test "$host_cpu" = ia64; then
5495 symcode='[ABCDEGRST]'
5498 irix* | nonstopux*)
5499 symcode='[BCDEGRST]'
5501 osf*)
5502 symcode='[BCDEGQRST]'
5504 solaris*)
5505 symcode='[BDRT]'
5507 sco3.2v5*)
5508 symcode='[DT]'
5510 sysv4.2uw2*)
5511 symcode='[DT]'
5513 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5514 symcode='[ABDT]'
5516 sysv4)
5517 symcode='[DFNSTU]'
5519 esac
5521 # If we're using GNU nm, then use its standard symbol codes.
5522 case `$NM -V 2>&1` in
5523 *GNU* | *'with BFD'*)
5524 symcode='[ABCDGIRSTW]' ;;
5525 esac
5527 # Transform an extracted symbol line into a proper C declaration.
5528 # Some systems (esp. on ia64) link data and code symbols differently,
5529 # so use this general approach.
5530 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5532 # Transform an extracted symbol line into symbol name and symbol address
5533 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5534 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'"
5536 # Handle CRLF in mingw tool chain
5537 opt_cr=
5538 case $build_os in
5539 mingw*)
5540 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5542 esac
5544 # Try without a prefix underscore, then with it.
5545 for ac_symprfx in "" "_"; do
5547 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5548 symxfrm="\\1 $ac_symprfx\\2 \\2"
5550 # Write the raw and C identifiers.
5551 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5552 # Fake it for dumpbin and say T for any non-static function
5553 # and D for any global variable.
5554 # Also find C++ and __fastcall symbols from MSVC++,
5555 # which start with @ or ?.
5556 lt_cv_sys_global_symbol_pipe="$AWK '"\
5557 " {last_section=section; section=\$ 3};"\
5558 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5559 " \$ 0!~/External *\|/{next};"\
5560 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5561 " {if(hide[section]) next};"\
5562 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5563 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5564 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5565 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5566 " ' prfx=^$ac_symprfx"
5567 else
5568 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5571 # Check to see that the pipe works correctly.
5572 pipe_works=no
5574 rm -f conftest*
5575 cat > conftest.$ac_ext <<_LT_EOF
5576 #ifdef __cplusplus
5577 extern "C" {
5578 #endif
5579 char nm_test_var;
5580 void nm_test_func(void);
5581 void nm_test_func(void){}
5582 #ifdef __cplusplus
5584 #endif
5585 int main(){nm_test_var='a';nm_test_func();return(0);}
5586 _LT_EOF
5588 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5589 (eval $ac_compile) 2>&5
5590 ac_status=$?
5591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5592 test $ac_status = 0; }; then
5593 # Now try to grab the symbols.
5594 nlist=conftest.nm
5595 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
5596 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5597 ac_status=$?
5598 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5599 test $ac_status = 0; } && test -s "$nlist"; then
5600 # Try sorting and uniquifying the output.
5601 if sort "$nlist" | uniq > "$nlist"T; then
5602 mv -f "$nlist"T "$nlist"
5603 else
5604 rm -f "$nlist"T
5607 # Make sure that we snagged all the symbols we need.
5608 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5609 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5610 cat <<_LT_EOF > conftest.$ac_ext
5611 #ifdef __cplusplus
5612 extern "C" {
5613 #endif
5615 _LT_EOF
5616 # Now generate the symbol file.
5617 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5619 cat <<_LT_EOF >> conftest.$ac_ext
5621 /* The mapping between symbol names and symbols. */
5622 const struct {
5623 const char *name;
5624 void *address;
5626 lt__PROGRAM__LTX_preloaded_symbols[] =
5628 { "@PROGRAM@", (void *) 0 },
5629 _LT_EOF
5630 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5631 cat <<\_LT_EOF >> conftest.$ac_ext
5632 {0, (void *) 0}
5635 /* This works around a problem in FreeBSD linker */
5636 #ifdef FREEBSD_WORKAROUND
5637 static const void *lt_preloaded_setup() {
5638 return lt__PROGRAM__LTX_preloaded_symbols;
5640 #endif
5642 #ifdef __cplusplus
5644 #endif
5645 _LT_EOF
5646 # Now try linking the two files.
5647 mv conftest.$ac_objext conftstm.$ac_objext
5648 lt_save_LIBS="$LIBS"
5649 lt_save_CFLAGS="$CFLAGS"
5650 LIBS="conftstm.$ac_objext"
5651 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5652 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5653 (eval $ac_link) 2>&5
5654 ac_status=$?
5655 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5656 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5657 pipe_works=yes
5659 LIBS="$lt_save_LIBS"
5660 CFLAGS="$lt_save_CFLAGS"
5661 else
5662 echo "cannot find nm_test_func in $nlist" >&5
5664 else
5665 echo "cannot find nm_test_var in $nlist" >&5
5667 else
5668 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5670 else
5671 echo "$progname: failed program was:" >&5
5672 cat conftest.$ac_ext >&5
5674 rm -rf conftest* conftst*
5676 # Do not use the global_symbol_pipe unless it works.
5677 if test "$pipe_works" = yes; then
5678 break
5679 else
5680 lt_cv_sys_global_symbol_pipe=
5682 done
5686 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5687 lt_cv_sys_global_symbol_to_cdecl=
5689 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5691 $as_echo "failed" >&6; }
5692 else
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5694 $as_echo "ok" >&6; }
5719 # Check whether --enable-libtool-lock was given.
5720 if test "${enable_libtool_lock+set}" = set; then :
5721 enableval=$enable_libtool_lock;
5724 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5726 # Some flags need to be propagated to the compiler or linker for good
5727 # libtool support.
5728 case $host in
5729 ia64-*-hpux*)
5730 # Find out which ABI we are using.
5731 echo 'int i;' > conftest.$ac_ext
5732 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5733 (eval $ac_compile) 2>&5
5734 ac_status=$?
5735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5736 test $ac_status = 0; }; then
5737 case `/usr/bin/file conftest.$ac_objext` in
5738 *ELF-32*)
5739 HPUX_IA64_MODE="32"
5741 *ELF-64*)
5742 HPUX_IA64_MODE="64"
5744 esac
5746 rm -rf conftest*
5748 *-*-irix6*)
5749 # Find out which ABI we are using.
5750 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
5751 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5752 (eval $ac_compile) 2>&5
5753 ac_status=$?
5754 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5755 test $ac_status = 0; }; then
5756 if test "$lt_cv_prog_gnu_ld" = yes; then
5757 case `/usr/bin/file conftest.$ac_objext` in
5758 *32-bit*)
5759 LD="${LD-ld} -melf32bsmip"
5761 *N32*)
5762 LD="${LD-ld} -melf32bmipn32"
5764 *64-bit*)
5765 LD="${LD-ld} -melf64bmip"
5767 esac
5768 else
5769 case `/usr/bin/file conftest.$ac_objext` in
5770 *32-bit*)
5771 LD="${LD-ld} -32"
5773 *N32*)
5774 LD="${LD-ld} -n32"
5776 *64-bit*)
5777 LD="${LD-ld} -64"
5779 esac
5782 rm -rf conftest*
5785 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5786 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5787 # Find out which ABI we are using.
5788 echo 'int i;' > conftest.$ac_ext
5789 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5790 (eval $ac_compile) 2>&5
5791 ac_status=$?
5792 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5793 test $ac_status = 0; }; then
5794 case `/usr/bin/file conftest.o` in
5795 *32-bit*)
5796 case $host in
5797 x86_64-*kfreebsd*-gnu)
5798 LD="${LD-ld} -m elf_i386_fbsd"
5800 x86_64-*linux*)
5801 LD="${LD-ld} -m elf_i386"
5803 ppc64-*linux*|powerpc64-*linux*)
5804 LD="${LD-ld} -m elf32ppclinux"
5806 s390x-*linux*)
5807 LD="${LD-ld} -m elf_s390"
5809 sparc64-*linux*)
5810 LD="${LD-ld} -m elf32_sparc"
5812 esac
5814 *64-bit*)
5815 case $host in
5816 x86_64-*kfreebsd*-gnu)
5817 LD="${LD-ld} -m elf_x86_64_fbsd"
5819 x86_64-*linux*)
5820 LD="${LD-ld} -m elf_x86_64"
5822 ppc*-*linux*|powerpc*-*linux*)
5823 LD="${LD-ld} -m elf64ppc"
5825 s390*-*linux*|s390*-*tpf*)
5826 LD="${LD-ld} -m elf64_s390"
5828 sparc*-*linux*)
5829 LD="${LD-ld} -m elf64_sparc"
5831 esac
5833 esac
5835 rm -rf conftest*
5838 *-*-sco3.2v5*)
5839 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5840 SAVE_CFLAGS="$CFLAGS"
5841 CFLAGS="$CFLAGS -belf"
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
5843 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5844 if test "${lt_cv_cc_needs_belf+set}" = set; then :
5845 $as_echo_n "(cached) " >&6
5846 else
5847 ac_ext=c
5848 ac_cpp='$CPP $CPPFLAGS'
5849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5854 /* end confdefs.h. */
5857 main ()
5861 return 0;
5863 _ACEOF
5864 if ac_fn_c_try_link "$LINENO"; then :
5865 lt_cv_cc_needs_belf=yes
5866 else
5867 lt_cv_cc_needs_belf=no
5869 rm -f core conftest.err conftest.$ac_objext \
5870 conftest$ac_exeext conftest.$ac_ext
5871 ac_ext=c
5872 ac_cpp='$CPP $CPPFLAGS'
5873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
5879 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5880 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5881 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5882 CFLAGS="$SAVE_CFLAGS"
5885 sparc*-*solaris*)
5886 # Find out which ABI we are using.
5887 echo 'int i;' > conftest.$ac_ext
5888 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5889 (eval $ac_compile) 2>&5
5890 ac_status=$?
5891 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5892 test $ac_status = 0; }; then
5893 case `/usr/bin/file conftest.o` in
5894 *64-bit*)
5895 case $lt_cv_prog_gnu_ld in
5896 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5898 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5899 LD="${LD-ld} -64"
5902 esac
5904 esac
5906 rm -rf conftest*
5908 esac
5910 need_locks="$enable_libtool_lock"
5913 case $host_os in
5914 rhapsody* | darwin*)
5915 if test -n "$ac_tool_prefix"; then
5916 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5917 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5919 $as_echo_n "checking for $ac_word... " >&6; }
5920 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
5921 $as_echo_n "(cached) " >&6
5922 else
5923 if test -n "$DSYMUTIL"; then
5924 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5925 else
5926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5927 for as_dir in $PATH
5929 IFS=$as_save_IFS
5930 test -z "$as_dir" && as_dir=.
5931 for ac_exec_ext in '' $ac_executable_extensions; do
5932 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5933 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
5934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5935 break 2
5937 done
5938 done
5939 IFS=$as_save_IFS
5943 DSYMUTIL=$ac_cv_prog_DSYMUTIL
5944 if test -n "$DSYMUTIL"; then
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
5946 $as_echo "$DSYMUTIL" >&6; }
5947 else
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5949 $as_echo "no" >&6; }
5954 if test -z "$ac_cv_prog_DSYMUTIL"; then
5955 ac_ct_DSYMUTIL=$DSYMUTIL
5956 # Extract the first word of "dsymutil", so it can be a program name with args.
5957 set dummy dsymutil; ac_word=$2
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5959 $as_echo_n "checking for $ac_word... " >&6; }
5960 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
5961 $as_echo_n "(cached) " >&6
5962 else
5963 if test -n "$ac_ct_DSYMUTIL"; then
5964 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5965 else
5966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5967 for as_dir in $PATH
5969 IFS=$as_save_IFS
5970 test -z "$as_dir" && as_dir=.
5971 for ac_exec_ext in '' $ac_executable_extensions; do
5972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5973 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
5974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5975 break 2
5977 done
5978 done
5979 IFS=$as_save_IFS
5983 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5984 if test -n "$ac_ct_DSYMUTIL"; then
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
5986 $as_echo "$ac_ct_DSYMUTIL" >&6; }
5987 else
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5989 $as_echo "no" >&6; }
5992 if test "x$ac_ct_DSYMUTIL" = x; then
5993 DSYMUTIL=":"
5994 else
5995 case $cross_compiling:$ac_tool_warned in
5996 yes:)
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5998 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5999 ac_tool_warned=yes ;;
6000 esac
6001 DSYMUTIL=$ac_ct_DSYMUTIL
6003 else
6004 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6007 if test -n "$ac_tool_prefix"; then
6008 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6009 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6011 $as_echo_n "checking for $ac_word... " >&6; }
6012 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6013 $as_echo_n "(cached) " >&6
6014 else
6015 if test -n "$NMEDIT"; then
6016 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6017 else
6018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6019 for as_dir in $PATH
6021 IFS=$as_save_IFS
6022 test -z "$as_dir" && as_dir=.
6023 for ac_exec_ext in '' $ac_executable_extensions; do
6024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6025 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6027 break 2
6029 done
6030 done
6031 IFS=$as_save_IFS
6035 NMEDIT=$ac_cv_prog_NMEDIT
6036 if test -n "$NMEDIT"; then
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6038 $as_echo "$NMEDIT" >&6; }
6039 else
6040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6041 $as_echo "no" >&6; }
6046 if test -z "$ac_cv_prog_NMEDIT"; then
6047 ac_ct_NMEDIT=$NMEDIT
6048 # Extract the first word of "nmedit", so it can be a program name with args.
6049 set dummy nmedit; ac_word=$2
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6051 $as_echo_n "checking for $ac_word... " >&6; }
6052 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6053 $as_echo_n "(cached) " >&6
6054 else
6055 if test -n "$ac_ct_NMEDIT"; then
6056 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6057 else
6058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6059 for as_dir in $PATH
6061 IFS=$as_save_IFS
6062 test -z "$as_dir" && as_dir=.
6063 for ac_exec_ext in '' $ac_executable_extensions; do
6064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6065 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6067 break 2
6069 done
6070 done
6071 IFS=$as_save_IFS
6075 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6076 if test -n "$ac_ct_NMEDIT"; then
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6078 $as_echo "$ac_ct_NMEDIT" >&6; }
6079 else
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6081 $as_echo "no" >&6; }
6084 if test "x$ac_ct_NMEDIT" = x; then
6085 NMEDIT=":"
6086 else
6087 case $cross_compiling:$ac_tool_warned in
6088 yes:)
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6090 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6091 ac_tool_warned=yes ;;
6092 esac
6093 NMEDIT=$ac_ct_NMEDIT
6095 else
6096 NMEDIT="$ac_cv_prog_NMEDIT"
6099 if test -n "$ac_tool_prefix"; then
6100 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6101 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6103 $as_echo_n "checking for $ac_word... " >&6; }
6104 if test "${ac_cv_prog_LIPO+set}" = set; then :
6105 $as_echo_n "(cached) " >&6
6106 else
6107 if test -n "$LIPO"; then
6108 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6109 else
6110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6111 for as_dir in $PATH
6113 IFS=$as_save_IFS
6114 test -z "$as_dir" && as_dir=.
6115 for ac_exec_ext in '' $ac_executable_extensions; do
6116 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6117 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6119 break 2
6121 done
6122 done
6123 IFS=$as_save_IFS
6127 LIPO=$ac_cv_prog_LIPO
6128 if test -n "$LIPO"; then
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6130 $as_echo "$LIPO" >&6; }
6131 else
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6133 $as_echo "no" >&6; }
6138 if test -z "$ac_cv_prog_LIPO"; then
6139 ac_ct_LIPO=$LIPO
6140 # Extract the first word of "lipo", so it can be a program name with args.
6141 set dummy lipo; ac_word=$2
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6143 $as_echo_n "checking for $ac_word... " >&6; }
6144 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6145 $as_echo_n "(cached) " >&6
6146 else
6147 if test -n "$ac_ct_LIPO"; then
6148 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6149 else
6150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6151 for as_dir in $PATH
6153 IFS=$as_save_IFS
6154 test -z "$as_dir" && as_dir=.
6155 for ac_exec_ext in '' $ac_executable_extensions; do
6156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6157 ac_cv_prog_ac_ct_LIPO="lipo"
6158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6159 break 2
6161 done
6162 done
6163 IFS=$as_save_IFS
6167 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6168 if test -n "$ac_ct_LIPO"; then
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6170 $as_echo "$ac_ct_LIPO" >&6; }
6171 else
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6173 $as_echo "no" >&6; }
6176 if test "x$ac_ct_LIPO" = x; then
6177 LIPO=":"
6178 else
6179 case $cross_compiling:$ac_tool_warned in
6180 yes:)
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6182 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6183 ac_tool_warned=yes ;;
6184 esac
6185 LIPO=$ac_ct_LIPO
6187 else
6188 LIPO="$ac_cv_prog_LIPO"
6191 if test -n "$ac_tool_prefix"; then
6192 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6193 set dummy ${ac_tool_prefix}otool; ac_word=$2
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6195 $as_echo_n "checking for $ac_word... " >&6; }
6196 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6197 $as_echo_n "(cached) " >&6
6198 else
6199 if test -n "$OTOOL"; then
6200 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6201 else
6202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6203 for as_dir in $PATH
6205 IFS=$as_save_IFS
6206 test -z "$as_dir" && as_dir=.
6207 for ac_exec_ext in '' $ac_executable_extensions; do
6208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6209 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6211 break 2
6213 done
6214 done
6215 IFS=$as_save_IFS
6219 OTOOL=$ac_cv_prog_OTOOL
6220 if test -n "$OTOOL"; then
6221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6222 $as_echo "$OTOOL" >&6; }
6223 else
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6225 $as_echo "no" >&6; }
6230 if test -z "$ac_cv_prog_OTOOL"; then
6231 ac_ct_OTOOL=$OTOOL
6232 # Extract the first word of "otool", so it can be a program name with args.
6233 set dummy otool; ac_word=$2
6234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6235 $as_echo_n "checking for $ac_word... " >&6; }
6236 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6237 $as_echo_n "(cached) " >&6
6238 else
6239 if test -n "$ac_ct_OTOOL"; then
6240 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6241 else
6242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6243 for as_dir in $PATH
6245 IFS=$as_save_IFS
6246 test -z "$as_dir" && as_dir=.
6247 for ac_exec_ext in '' $ac_executable_extensions; do
6248 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6249 ac_cv_prog_ac_ct_OTOOL="otool"
6250 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6251 break 2
6253 done
6254 done
6255 IFS=$as_save_IFS
6259 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6260 if test -n "$ac_ct_OTOOL"; then
6261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6262 $as_echo "$ac_ct_OTOOL" >&6; }
6263 else
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6265 $as_echo "no" >&6; }
6268 if test "x$ac_ct_OTOOL" = x; then
6269 OTOOL=":"
6270 else
6271 case $cross_compiling:$ac_tool_warned in
6272 yes:)
6273 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6274 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6275 ac_tool_warned=yes ;;
6276 esac
6277 OTOOL=$ac_ct_OTOOL
6279 else
6280 OTOOL="$ac_cv_prog_OTOOL"
6283 if test -n "$ac_tool_prefix"; then
6284 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6285 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6287 $as_echo_n "checking for $ac_word... " >&6; }
6288 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6289 $as_echo_n "(cached) " >&6
6290 else
6291 if test -n "$OTOOL64"; then
6292 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6293 else
6294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6295 for as_dir in $PATH
6297 IFS=$as_save_IFS
6298 test -z "$as_dir" && as_dir=.
6299 for ac_exec_ext in '' $ac_executable_extensions; do
6300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6301 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6303 break 2
6305 done
6306 done
6307 IFS=$as_save_IFS
6311 OTOOL64=$ac_cv_prog_OTOOL64
6312 if test -n "$OTOOL64"; then
6313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6314 $as_echo "$OTOOL64" >&6; }
6315 else
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6317 $as_echo "no" >&6; }
6322 if test -z "$ac_cv_prog_OTOOL64"; then
6323 ac_ct_OTOOL64=$OTOOL64
6324 # Extract the first word of "otool64", so it can be a program name with args.
6325 set dummy otool64; ac_word=$2
6326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6327 $as_echo_n "checking for $ac_word... " >&6; }
6328 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6329 $as_echo_n "(cached) " >&6
6330 else
6331 if test -n "$ac_ct_OTOOL64"; then
6332 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6333 else
6334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6335 for as_dir in $PATH
6337 IFS=$as_save_IFS
6338 test -z "$as_dir" && as_dir=.
6339 for ac_exec_ext in '' $ac_executable_extensions; do
6340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6341 ac_cv_prog_ac_ct_OTOOL64="otool64"
6342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6343 break 2
6345 done
6346 done
6347 IFS=$as_save_IFS
6351 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6352 if test -n "$ac_ct_OTOOL64"; then
6353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6354 $as_echo "$ac_ct_OTOOL64" >&6; }
6355 else
6356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6357 $as_echo "no" >&6; }
6360 if test "x$ac_ct_OTOOL64" = x; then
6361 OTOOL64=":"
6362 else
6363 case $cross_compiling:$ac_tool_warned in
6364 yes:)
6365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6366 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6367 ac_tool_warned=yes ;;
6368 esac
6369 OTOOL64=$ac_ct_OTOOL64
6371 else
6372 OTOOL64="$ac_cv_prog_OTOOL64"
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6402 $as_echo_n "checking for -single_module linker flag... " >&6; }
6403 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6404 $as_echo_n "(cached) " >&6
6405 else
6406 lt_cv_apple_cc_single_mod=no
6407 if test -z "${LT_MULTI_MODULE}"; then
6408 # By default we will add the -single_module flag. You can override
6409 # by either setting the environment variable LT_MULTI_MODULE
6410 # non-empty at configure time, or by adding -multi_module to the
6411 # link flags.
6412 rm -rf libconftest.dylib*
6413 echo "int foo(void){return 1;}" > conftest.c
6414 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6415 -dynamiclib -Wl,-single_module conftest.c" >&5
6416 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6417 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6418 _lt_result=$?
6419 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6420 lt_cv_apple_cc_single_mod=yes
6421 else
6422 cat conftest.err >&5
6424 rm -rf libconftest.dylib*
6425 rm -f conftest.*
6428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6429 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6431 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6432 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6433 $as_echo_n "(cached) " >&6
6434 else
6435 lt_cv_ld_exported_symbols_list=no
6436 save_LDFLAGS=$LDFLAGS
6437 echo "_main" > conftest.sym
6438 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6440 /* end confdefs.h. */
6443 main ()
6447 return 0;
6449 _ACEOF
6450 if ac_fn_c_try_link "$LINENO"; then :
6451 lt_cv_ld_exported_symbols_list=yes
6452 else
6453 lt_cv_ld_exported_symbols_list=no
6455 rm -f core conftest.err conftest.$ac_objext \
6456 conftest$ac_exeext conftest.$ac_ext
6457 LDFLAGS="$save_LDFLAGS"
6460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6461 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
6463 $as_echo_n "checking for -force_load linker flag... " >&6; }
6464 if test "${lt_cv_ld_force_load+set}" = set; then :
6465 $as_echo_n "(cached) " >&6
6466 else
6467 lt_cv_ld_force_load=no
6468 cat > conftest.c << _LT_EOF
6469 int forced_loaded() { return 2;}
6470 _LT_EOF
6471 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
6472 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
6473 echo "$AR cru libconftest.a conftest.o" >&5
6474 $AR cru libconftest.a conftest.o 2>&5
6475 cat > conftest.c << _LT_EOF
6476 int main() { return 0;}
6477 _LT_EOF
6478 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
6479 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
6480 _lt_result=$?
6481 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
6482 lt_cv_ld_force_load=yes
6483 else
6484 cat conftest.err >&5
6486 rm -f conftest.err libconftest.a conftest conftest.c
6487 rm -rf conftest.dSYM
6490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
6491 $as_echo "$lt_cv_ld_force_load" >&6; }
6492 case $host_os in
6493 rhapsody* | darwin1.[012])
6494 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6495 darwin1.*)
6496 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6497 darwin*) # darwin 5.x on
6498 # if running on 10.5 or later, the deployment target defaults
6499 # to the OS version, if on x86, and 10.4, the deployment
6500 # target defaults to 10.4. Don't you love it?
6501 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6502 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6503 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6504 10.[012]*)
6505 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6506 10.*)
6507 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6508 esac
6510 esac
6511 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6512 _lt_dar_single_mod='$single_module'
6514 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6515 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6516 else
6517 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6519 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
6520 _lt_dsymutil='~$DSYMUTIL $lib || :'
6521 else
6522 _lt_dsymutil=
6525 esac
6527 ac_ext=c
6528 ac_cpp='$CPP $CPPFLAGS'
6529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6533 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6534 # On Suns, sometimes $CPP names a directory.
6535 if test -n "$CPP" && test -d "$CPP"; then
6536 CPP=
6538 if test -z "$CPP"; then
6539 if test "${ac_cv_prog_CPP+set}" = set; then :
6540 $as_echo_n "(cached) " >&6
6541 else
6542 # Double quotes because CPP needs to be expanded
6543 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6545 ac_preproc_ok=false
6546 for ac_c_preproc_warn_flag in '' yes
6548 # Use a header file that comes with gcc, so configuring glibc
6549 # with a fresh cross-compiler works.
6550 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6551 # <limits.h> exists even on freestanding compilers.
6552 # On the NeXT, cc -E runs the code through the compiler's parser,
6553 # not just through cpp. "Syntax error" is here to catch this case.
6554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6555 /* end confdefs.h. */
6556 #ifdef __STDC__
6557 # include <limits.h>
6558 #else
6559 # include <assert.h>
6560 #endif
6561 Syntax error
6562 _ACEOF
6563 if ac_fn_c_try_cpp "$LINENO"; then :
6565 else
6566 # Broken: fails on valid input.
6567 continue
6569 rm -f conftest.err conftest.$ac_ext
6571 # OK, works on sane cases. Now check whether nonexistent headers
6572 # can be detected and how.
6573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6574 /* end confdefs.h. */
6575 #include <ac_nonexistent.h>
6576 _ACEOF
6577 if ac_fn_c_try_cpp "$LINENO"; then :
6578 # Broken: success on invalid input.
6579 continue
6580 else
6581 # Passes both tests.
6582 ac_preproc_ok=:
6583 break
6585 rm -f conftest.err conftest.$ac_ext
6587 done
6588 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6589 rm -f conftest.err conftest.$ac_ext
6590 if $ac_preproc_ok; then :
6591 break
6594 done
6595 ac_cv_prog_CPP=$CPP
6598 CPP=$ac_cv_prog_CPP
6599 else
6600 ac_cv_prog_CPP=$CPP
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6603 $as_echo "$CPP" >&6; }
6604 ac_preproc_ok=false
6605 for ac_c_preproc_warn_flag in '' yes
6607 # Use a header file that comes with gcc, so configuring glibc
6608 # with a fresh cross-compiler works.
6609 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6610 # <limits.h> exists even on freestanding compilers.
6611 # On the NeXT, cc -E runs the code through the compiler's parser,
6612 # not just through cpp. "Syntax error" is here to catch this case.
6613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6614 /* end confdefs.h. */
6615 #ifdef __STDC__
6616 # include <limits.h>
6617 #else
6618 # include <assert.h>
6619 #endif
6620 Syntax error
6621 _ACEOF
6622 if ac_fn_c_try_cpp "$LINENO"; then :
6624 else
6625 # Broken: fails on valid input.
6626 continue
6628 rm -f conftest.err conftest.$ac_ext
6630 # OK, works on sane cases. Now check whether nonexistent headers
6631 # can be detected and how.
6632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6633 /* end confdefs.h. */
6634 #include <ac_nonexistent.h>
6635 _ACEOF
6636 if ac_fn_c_try_cpp "$LINENO"; then :
6637 # Broken: success on invalid input.
6638 continue
6639 else
6640 # Passes both tests.
6641 ac_preproc_ok=:
6642 break
6644 rm -f conftest.err conftest.$ac_ext
6646 done
6647 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6648 rm -f conftest.err conftest.$ac_ext
6649 if $ac_preproc_ok; then :
6651 else
6652 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6653 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6654 as_fn_error "C preprocessor \"$CPP\" fails sanity check
6655 See \`config.log' for more details." "$LINENO" 5; }
6658 ac_ext=c
6659 ac_cpp='$CPP $CPPFLAGS'
6660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6666 $as_echo_n "checking for ANSI C header files... " >&6; }
6667 if test "${ac_cv_header_stdc+set}" = set; then :
6668 $as_echo_n "(cached) " >&6
6669 else
6670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6671 /* end confdefs.h. */
6672 #include <stdlib.h>
6673 #include <stdarg.h>
6674 #include <string.h>
6675 #include <float.h>
6678 main ()
6682 return 0;
6684 _ACEOF
6685 if ac_fn_c_try_compile "$LINENO"; then :
6686 ac_cv_header_stdc=yes
6687 else
6688 ac_cv_header_stdc=no
6690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6692 if test $ac_cv_header_stdc = yes; then
6693 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6695 /* end confdefs.h. */
6696 #include <string.h>
6698 _ACEOF
6699 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6700 $EGREP "memchr" >/dev/null 2>&1; then :
6702 else
6703 ac_cv_header_stdc=no
6705 rm -f conftest*
6709 if test $ac_cv_header_stdc = yes; then
6710 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6712 /* end confdefs.h. */
6713 #include <stdlib.h>
6715 _ACEOF
6716 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6717 $EGREP "free" >/dev/null 2>&1; then :
6719 else
6720 ac_cv_header_stdc=no
6722 rm -f conftest*
6726 if test $ac_cv_header_stdc = yes; then
6727 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6728 if test "$cross_compiling" = yes; then :
6730 else
6731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6732 /* end confdefs.h. */
6733 #include <ctype.h>
6734 #include <stdlib.h>
6735 #if ((' ' & 0x0FF) == 0x020)
6736 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6737 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6738 #else
6739 # define ISLOWER(c) \
6740 (('a' <= (c) && (c) <= 'i') \
6741 || ('j' <= (c) && (c) <= 'r') \
6742 || ('s' <= (c) && (c) <= 'z'))
6743 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6744 #endif
6746 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6748 main ()
6750 int i;
6751 for (i = 0; i < 256; i++)
6752 if (XOR (islower (i), ISLOWER (i))
6753 || toupper (i) != TOUPPER (i))
6754 return 2;
6755 return 0;
6757 _ACEOF
6758 if ac_fn_c_try_run "$LINENO"; then :
6760 else
6761 ac_cv_header_stdc=no
6763 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6764 conftest.$ac_objext conftest.beam conftest.$ac_ext
6769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6770 $as_echo "$ac_cv_header_stdc" >&6; }
6771 if test $ac_cv_header_stdc = yes; then
6773 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6777 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6778 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6779 inttypes.h stdint.h unistd.h
6780 do :
6781 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6782 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6784 eval as_val=\$$as_ac_Header
6785 if test "x$as_val" = x""yes; then :
6786 cat >>confdefs.h <<_ACEOF
6787 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6788 _ACEOF
6792 done
6795 for ac_header in dlfcn.h
6796 do :
6797 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6799 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
6800 cat >>confdefs.h <<_ACEOF
6801 #define HAVE_DLFCN_H 1
6802 _ACEOF
6806 done
6812 # Set options
6816 enable_dlopen=no
6819 enable_win32_dll=no
6822 # Check whether --enable-shared was given.
6823 if test "${enable_shared+set}" = set; then :
6824 enableval=$enable_shared; p=${PACKAGE-default}
6825 case $enableval in
6826 yes) enable_shared=yes ;;
6827 no) enable_shared=no ;;
6829 enable_shared=no
6830 # Look at the argument we got. We use all the common list separators.
6831 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6832 for pkg in $enableval; do
6833 IFS="$lt_save_ifs"
6834 if test "X$pkg" = "X$p"; then
6835 enable_shared=yes
6837 done
6838 IFS="$lt_save_ifs"
6840 esac
6841 else
6842 enable_shared=yes
6853 # Check whether --enable-static was given.
6854 if test "${enable_static+set}" = set; then :
6855 enableval=$enable_static; p=${PACKAGE-default}
6856 case $enableval in
6857 yes) enable_static=yes ;;
6858 no) enable_static=no ;;
6860 enable_static=no
6861 # Look at the argument we got. We use all the common list separators.
6862 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6863 for pkg in $enableval; do
6864 IFS="$lt_save_ifs"
6865 if test "X$pkg" = "X$p"; then
6866 enable_static=yes
6868 done
6869 IFS="$lt_save_ifs"
6871 esac
6872 else
6873 enable_static=yes
6885 # Check whether --with-pic was given.
6886 if test "${with_pic+set}" = set; then :
6887 withval=$with_pic; pic_mode="$withval"
6888 else
6889 pic_mode=default
6893 test -z "$pic_mode" && pic_mode=default
6901 # Check whether --enable-fast-install was given.
6902 if test "${enable_fast_install+set}" = set; then :
6903 enableval=$enable_fast_install; p=${PACKAGE-default}
6904 case $enableval in
6905 yes) enable_fast_install=yes ;;
6906 no) enable_fast_install=no ;;
6908 enable_fast_install=no
6909 # Look at the argument we got. We use all the common list separators.
6910 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6911 for pkg in $enableval; do
6912 IFS="$lt_save_ifs"
6913 if test "X$pkg" = "X$p"; then
6914 enable_fast_install=yes
6916 done
6917 IFS="$lt_save_ifs"
6919 esac
6920 else
6921 enable_fast_install=yes
6934 # This can be used to rebuild libtool when needed
6935 LIBTOOL_DEPS="$ltmain"
6937 # Always use our own libtool.
6938 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6965 test -z "$LN_S" && LN_S="ln -s"
6980 if test -n "${ZSH_VERSION+set}" ; then
6981 setopt NO_GLOB_SUBST
6984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
6985 $as_echo_n "checking for objdir... " >&6; }
6986 if test "${lt_cv_objdir+set}" = set; then :
6987 $as_echo_n "(cached) " >&6
6988 else
6989 rm -f .libs 2>/dev/null
6990 mkdir .libs 2>/dev/null
6991 if test -d .libs; then
6992 lt_cv_objdir=.libs
6993 else
6994 # MS-DOS does not allow filenames that begin with a dot.
6995 lt_cv_objdir=_libs
6997 rmdir .libs 2>/dev/null
6999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7000 $as_echo "$lt_cv_objdir" >&6; }
7001 objdir=$lt_cv_objdir
7007 cat >>confdefs.h <<_ACEOF
7008 #define LT_OBJDIR "$lt_cv_objdir/"
7009 _ACEOF
7014 case $host_os in
7015 aix3*)
7016 # AIX sometimes has problems with the GCC collect2 program. For some
7017 # reason, if we set the COLLECT_NAMES environment variable, the problems
7018 # vanish in a puff of smoke.
7019 if test "X${COLLECT_NAMES+set}" != Xset; then
7020 COLLECT_NAMES=
7021 export COLLECT_NAMES
7024 esac
7026 # Global variables:
7027 ofile=libtool
7028 can_build_shared=yes
7030 # All known linkers require a `.a' archive for static linking (except MSVC,
7031 # which needs '.lib').
7032 libext=a
7034 with_gnu_ld="$lt_cv_prog_gnu_ld"
7036 old_CC="$CC"
7037 old_CFLAGS="$CFLAGS"
7039 # Set sane defaults for various variables
7040 test -z "$CC" && CC=cc
7041 test -z "$LTCC" && LTCC=$CC
7042 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7043 test -z "$LD" && LD=ld
7044 test -z "$ac_objext" && ac_objext=o
7046 for cc_temp in $compiler""; do
7047 case $cc_temp in
7048 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7049 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7050 \-*) ;;
7051 *) break;;
7052 esac
7053 done
7054 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7057 # Only perform the check for file, if the check method requires it
7058 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7059 case $deplibs_check_method in
7060 file_magic*)
7061 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7063 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7064 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7065 $as_echo_n "(cached) " >&6
7066 else
7067 case $MAGIC_CMD in
7068 [\\/*] | ?:[\\/]*)
7069 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7072 lt_save_MAGIC_CMD="$MAGIC_CMD"
7073 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7074 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7075 for ac_dir in $ac_dummy; do
7076 IFS="$lt_save_ifs"
7077 test -z "$ac_dir" && ac_dir=.
7078 if test -f $ac_dir/${ac_tool_prefix}file; then
7079 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7080 if test -n "$file_magic_test_file"; then
7081 case $deplibs_check_method in
7082 "file_magic "*)
7083 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7084 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7085 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7086 $EGREP "$file_magic_regex" > /dev/null; then
7088 else
7089 cat <<_LT_EOF 1>&2
7091 *** Warning: the command libtool uses to detect shared libraries,
7092 *** $file_magic_cmd, produces output that libtool cannot recognize.
7093 *** The result is that libtool may fail to recognize shared libraries
7094 *** as such. This will affect the creation of libtool libraries that
7095 *** depend on shared libraries, but programs linked with such libtool
7096 *** libraries will work regardless of this problem. Nevertheless, you
7097 *** may want to report the problem to your system manager and/or to
7098 *** bug-libtool@gnu.org
7100 _LT_EOF
7101 fi ;;
7102 esac
7104 break
7106 done
7107 IFS="$lt_save_ifs"
7108 MAGIC_CMD="$lt_save_MAGIC_CMD"
7110 esac
7113 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7114 if test -n "$MAGIC_CMD"; then
7115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7116 $as_echo "$MAGIC_CMD" >&6; }
7117 else
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7119 $as_echo "no" >&6; }
7126 if test -z "$lt_cv_path_MAGIC_CMD"; then
7127 if test -n "$ac_tool_prefix"; then
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7129 $as_echo_n "checking for file... " >&6; }
7130 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7131 $as_echo_n "(cached) " >&6
7132 else
7133 case $MAGIC_CMD in
7134 [\\/*] | ?:[\\/]*)
7135 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7138 lt_save_MAGIC_CMD="$MAGIC_CMD"
7139 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7140 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7141 for ac_dir in $ac_dummy; do
7142 IFS="$lt_save_ifs"
7143 test -z "$ac_dir" && ac_dir=.
7144 if test -f $ac_dir/file; then
7145 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7146 if test -n "$file_magic_test_file"; then
7147 case $deplibs_check_method in
7148 "file_magic "*)
7149 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7150 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7151 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7152 $EGREP "$file_magic_regex" > /dev/null; then
7154 else
7155 cat <<_LT_EOF 1>&2
7157 *** Warning: the command libtool uses to detect shared libraries,
7158 *** $file_magic_cmd, produces output that libtool cannot recognize.
7159 *** The result is that libtool may fail to recognize shared libraries
7160 *** as such. This will affect the creation of libtool libraries that
7161 *** depend on shared libraries, but programs linked with such libtool
7162 *** libraries will work regardless of this problem. Nevertheless, you
7163 *** may want to report the problem to your system manager and/or to
7164 *** bug-libtool@gnu.org
7166 _LT_EOF
7167 fi ;;
7168 esac
7170 break
7172 done
7173 IFS="$lt_save_ifs"
7174 MAGIC_CMD="$lt_save_MAGIC_CMD"
7176 esac
7179 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7180 if test -n "$MAGIC_CMD"; then
7181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7182 $as_echo "$MAGIC_CMD" >&6; }
7183 else
7184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7185 $as_echo "no" >&6; }
7189 else
7190 MAGIC_CMD=:
7196 esac
7198 # Use C for the default configuration in the libtool script
7200 lt_save_CC="$CC"
7201 ac_ext=c
7202 ac_cpp='$CPP $CPPFLAGS'
7203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7208 # Source file extension for C test sources.
7209 ac_ext=c
7211 # Object file extension for compiled C test sources.
7212 objext=o
7213 objext=$objext
7215 # Code to be used in simple compile tests
7216 lt_simple_compile_test_code="int some_variable = 0;"
7218 # Code to be used in simple link tests
7219 lt_simple_link_test_code='int main(){return(0);}'
7227 # If no C compiler was specified, use CC.
7228 LTCC=${LTCC-"$CC"}
7230 # If no C compiler flags were specified, use CFLAGS.
7231 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7233 # Allow CC to be a program name with arguments.
7234 compiler=$CC
7236 # Save the default compiler, since it gets overwritten when the other
7237 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7238 compiler_DEFAULT=$CC
7240 # save warnings/boilerplate of simple test code
7241 ac_outfile=conftest.$ac_objext
7242 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7243 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7244 _lt_compiler_boilerplate=`cat conftest.err`
7245 $RM conftest*
7247 ac_outfile=conftest.$ac_objext
7248 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7249 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7250 _lt_linker_boilerplate=`cat conftest.err`
7251 $RM -r conftest*
7254 ## CAVEAT EMPTOR:
7255 ## There is no encapsulation within the following macros, do not change
7256 ## the running order or otherwise move them around unless you know exactly
7257 ## what you are doing...
7258 if test -n "$compiler"; then
7260 lt_prog_compiler_no_builtin_flag=
7262 if test "$GCC" = yes; then
7263 case $cc_basename in
7264 nvcc*)
7265 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7267 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7268 esac
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7271 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7272 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7273 $as_echo_n "(cached) " >&6
7274 else
7275 lt_cv_prog_compiler_rtti_exceptions=no
7276 ac_outfile=conftest.$ac_objext
7277 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7278 lt_compiler_flag="-fno-rtti -fno-exceptions"
7279 # Insert the option either (1) after the last *FLAGS variable, or
7280 # (2) before a word containing "conftest.", or (3) at the end.
7281 # Note that $ac_compile itself does not contain backslashes and begins
7282 # with a dollar sign (not a hyphen), so the echo should work correctly.
7283 # The option is referenced via a variable to avoid confusing sed.
7284 lt_compile=`echo "$ac_compile" | $SED \
7285 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7286 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7287 -e 's:$: $lt_compiler_flag:'`
7288 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7289 (eval "$lt_compile" 2>conftest.err)
7290 ac_status=$?
7291 cat conftest.err >&5
7292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7293 if (exit $ac_status) && test -s "$ac_outfile"; then
7294 # The compiler can only warn and ignore the option if not recognized
7295 # So say no if there are warnings other than the usual output.
7296 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7297 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7298 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7299 lt_cv_prog_compiler_rtti_exceptions=yes
7302 $RM conftest*
7305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7306 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7308 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7309 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7310 else
7321 lt_prog_compiler_wl=
7322 lt_prog_compiler_pic=
7323 lt_prog_compiler_static=
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7326 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7328 if test "$GCC" = yes; then
7329 lt_prog_compiler_wl='-Wl,'
7330 lt_prog_compiler_static='-static'
7332 case $host_os in
7333 aix*)
7334 # All AIX code is PIC.
7335 if test "$host_cpu" = ia64; then
7336 # AIX 5 now supports IA64 processor
7337 lt_prog_compiler_static='-Bstatic'
7341 amigaos*)
7342 case $host_cpu in
7343 powerpc)
7344 # see comment about AmigaOS4 .so support
7345 lt_prog_compiler_pic='-fPIC'
7347 m68k)
7348 # FIXME: we need at least 68020 code to build shared libraries, but
7349 # adding the `-m68020' flag to GCC prevents building anything better,
7350 # like `-m68040'.
7351 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7353 esac
7356 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7357 # PIC is the default for these OSes.
7360 mingw* | cygwin* | pw32* | os2* | cegcc*)
7361 # This hack is so that the source file can tell whether it is being
7362 # built for inclusion in a dll (and should export symbols for example).
7363 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7364 # (--disable-auto-import) libraries
7365 lt_prog_compiler_pic='-DDLL_EXPORT'
7368 darwin* | rhapsody*)
7369 # PIC is the default on this platform
7370 # Common symbols not allowed in MH_DYLIB files
7371 lt_prog_compiler_pic='-fno-common'
7374 haiku*)
7375 # PIC is the default for Haiku.
7376 # The "-static" flag exists, but is broken.
7377 lt_prog_compiler_static=
7380 hpux*)
7381 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7382 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7383 # sets the default TLS model and affects inlining.
7384 case $host_cpu in
7385 hppa*64*)
7386 # +Z the default
7389 lt_prog_compiler_pic='-fPIC'
7391 esac
7394 interix[3-9]*)
7395 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7396 # Instead, we relocate shared libraries at runtime.
7399 msdosdjgpp*)
7400 # Just because we use GCC doesn't mean we suddenly get shared libraries
7401 # on systems that don't support them.
7402 lt_prog_compiler_can_build_shared=no
7403 enable_shared=no
7406 *nto* | *qnx*)
7407 # QNX uses GNU C++, but need to define -shared option too, otherwise
7408 # it will coredump.
7409 lt_prog_compiler_pic='-fPIC -shared'
7412 sysv4*MP*)
7413 if test -d /usr/nec; then
7414 lt_prog_compiler_pic=-Kconform_pic
7419 lt_prog_compiler_pic='-fPIC'
7421 esac
7423 case $cc_basename in
7424 nvcc*) # Cuda Compiler Driver 2.2
7425 lt_prog_compiler_wl='-Xlinker '
7426 lt_prog_compiler_pic='-Xcompiler -fPIC'
7428 esac
7429 else
7430 # PORTME Check for flag to pass linker flags through the system compiler.
7431 case $host_os in
7432 aix*)
7433 lt_prog_compiler_wl='-Wl,'
7434 if test "$host_cpu" = ia64; then
7435 # AIX 5 now supports IA64 processor
7436 lt_prog_compiler_static='-Bstatic'
7437 else
7438 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7442 mingw* | cygwin* | pw32* | os2* | cegcc*)
7443 # This hack is so that the source file can tell whether it is being
7444 # built for inclusion in a dll (and should export symbols for example).
7445 lt_prog_compiler_pic='-DDLL_EXPORT'
7448 hpux9* | hpux10* | hpux11*)
7449 lt_prog_compiler_wl='-Wl,'
7450 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7451 # not for PA HP-UX.
7452 case $host_cpu in
7453 hppa*64*|ia64*)
7454 # +Z the default
7457 lt_prog_compiler_pic='+Z'
7459 esac
7460 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7461 lt_prog_compiler_static='${wl}-a ${wl}archive'
7464 irix5* | irix6* | nonstopux*)
7465 lt_prog_compiler_wl='-Wl,'
7466 # PIC (with -KPIC) is the default.
7467 lt_prog_compiler_static='-non_shared'
7470 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7471 case $cc_basename in
7472 # old Intel for x86_64 which still supported -KPIC.
7473 ecc*)
7474 lt_prog_compiler_wl='-Wl,'
7475 lt_prog_compiler_pic='-KPIC'
7476 lt_prog_compiler_static='-static'
7478 # icc used to be incompatible with GCC.
7479 # ICC 10 doesn't accept -KPIC any more.
7480 icc* | ifort*)
7481 lt_prog_compiler_wl='-Wl,'
7482 lt_prog_compiler_pic='-fPIC'
7483 lt_prog_compiler_static='-static'
7485 # Lahey Fortran 8.1.
7486 lf95*)
7487 lt_prog_compiler_wl='-Wl,'
7488 lt_prog_compiler_pic='--shared'
7489 lt_prog_compiler_static='--static'
7491 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
7492 # Portland Group compilers (*not* the Pentium gcc compiler,
7493 # which looks to be a dead project)
7494 lt_prog_compiler_wl='-Wl,'
7495 lt_prog_compiler_pic='-fpic'
7496 lt_prog_compiler_static='-Bstatic'
7498 ccc*)
7499 lt_prog_compiler_wl='-Wl,'
7500 # All Alpha code is PIC.
7501 lt_prog_compiler_static='-non_shared'
7503 xl* | bgxl* | bgf* | mpixl*)
7504 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
7505 lt_prog_compiler_wl='-Wl,'
7506 lt_prog_compiler_pic='-qpic'
7507 lt_prog_compiler_static='-qstaticlink'
7510 case `$CC -V 2>&1 | sed 5q` in
7511 *Sun\ F* | *Sun*Fortran*)
7512 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7513 lt_prog_compiler_pic='-KPIC'
7514 lt_prog_compiler_static='-Bstatic'
7515 lt_prog_compiler_wl=''
7517 *Sun\ C*)
7518 # Sun C 5.9
7519 lt_prog_compiler_pic='-KPIC'
7520 lt_prog_compiler_static='-Bstatic'
7521 lt_prog_compiler_wl='-Wl,'
7523 esac
7525 esac
7528 newsos6)
7529 lt_prog_compiler_pic='-KPIC'
7530 lt_prog_compiler_static='-Bstatic'
7533 *nto* | *qnx*)
7534 # QNX uses GNU C++, but need to define -shared option too, otherwise
7535 # it will coredump.
7536 lt_prog_compiler_pic='-fPIC -shared'
7539 osf3* | osf4* | osf5*)
7540 lt_prog_compiler_wl='-Wl,'
7541 # All OSF/1 code is PIC.
7542 lt_prog_compiler_static='-non_shared'
7545 rdos*)
7546 lt_prog_compiler_static='-non_shared'
7549 solaris*)
7550 lt_prog_compiler_pic='-KPIC'
7551 lt_prog_compiler_static='-Bstatic'
7552 case $cc_basename in
7553 f77* | f90* | f95*)
7554 lt_prog_compiler_wl='-Qoption ld ';;
7556 lt_prog_compiler_wl='-Wl,';;
7557 esac
7560 sunos4*)
7561 lt_prog_compiler_wl='-Qoption ld '
7562 lt_prog_compiler_pic='-PIC'
7563 lt_prog_compiler_static='-Bstatic'
7566 sysv4 | sysv4.2uw2* | sysv4.3*)
7567 lt_prog_compiler_wl='-Wl,'
7568 lt_prog_compiler_pic='-KPIC'
7569 lt_prog_compiler_static='-Bstatic'
7572 sysv4*MP*)
7573 if test -d /usr/nec ;then
7574 lt_prog_compiler_pic='-Kconform_pic'
7575 lt_prog_compiler_static='-Bstatic'
7579 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7580 lt_prog_compiler_wl='-Wl,'
7581 lt_prog_compiler_pic='-KPIC'
7582 lt_prog_compiler_static='-Bstatic'
7585 unicos*)
7586 lt_prog_compiler_wl='-Wl,'
7587 lt_prog_compiler_can_build_shared=no
7590 uts4*)
7591 lt_prog_compiler_pic='-pic'
7592 lt_prog_compiler_static='-Bstatic'
7596 lt_prog_compiler_can_build_shared=no
7598 esac
7601 case $host_os in
7602 # For platforms which do not support PIC, -DPIC is meaningless:
7603 *djgpp*)
7604 lt_prog_compiler_pic=
7607 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7609 esac
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7611 $as_echo "$lt_prog_compiler_pic" >&6; }
7619 # Check to make sure the PIC flag actually works.
7621 if test -n "$lt_prog_compiler_pic"; then
7622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7623 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7624 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7625 $as_echo_n "(cached) " >&6
7626 else
7627 lt_cv_prog_compiler_pic_works=no
7628 ac_outfile=conftest.$ac_objext
7629 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7630 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7631 # Insert the option either (1) after the last *FLAGS variable, or
7632 # (2) before a word containing "conftest.", or (3) at the end.
7633 # Note that $ac_compile itself does not contain backslashes and begins
7634 # with a dollar sign (not a hyphen), so the echo should work correctly.
7635 # The option is referenced via a variable to avoid confusing sed.
7636 lt_compile=`echo "$ac_compile" | $SED \
7637 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7638 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7639 -e 's:$: $lt_compiler_flag:'`
7640 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7641 (eval "$lt_compile" 2>conftest.err)
7642 ac_status=$?
7643 cat conftest.err >&5
7644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7645 if (exit $ac_status) && test -s "$ac_outfile"; then
7646 # The compiler can only warn and ignore the option if not recognized
7647 # So say no if there are warnings other than the usual output.
7648 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7649 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7650 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7651 lt_cv_prog_compiler_pic_works=yes
7654 $RM conftest*
7657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7658 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7660 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7661 case $lt_prog_compiler_pic in
7662 "" | " "*) ;;
7663 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7664 esac
7665 else
7666 lt_prog_compiler_pic=
7667 lt_prog_compiler_can_build_shared=no
7678 # Check to make sure the static flag actually works.
7680 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7682 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7683 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7684 $as_echo_n "(cached) " >&6
7685 else
7686 lt_cv_prog_compiler_static_works=no
7687 save_LDFLAGS="$LDFLAGS"
7688 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7689 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7690 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7691 # The linker can only warn and ignore the option if not recognized
7692 # So say no if there are warnings
7693 if test -s conftest.err; then
7694 # Append any errors to the config.log.
7695 cat conftest.err 1>&5
7696 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
7697 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7698 if diff conftest.exp conftest.er2 >/dev/null; then
7699 lt_cv_prog_compiler_static_works=yes
7701 else
7702 lt_cv_prog_compiler_static_works=yes
7705 $RM -r conftest*
7706 LDFLAGS="$save_LDFLAGS"
7709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7710 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7712 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7714 else
7715 lt_prog_compiler_static=
7724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7725 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7726 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7727 $as_echo_n "(cached) " >&6
7728 else
7729 lt_cv_prog_compiler_c_o=no
7730 $RM -r conftest 2>/dev/null
7731 mkdir conftest
7732 cd conftest
7733 mkdir out
7734 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7736 lt_compiler_flag="-o out/conftest2.$ac_objext"
7737 # Insert the option either (1) after the last *FLAGS variable, or
7738 # (2) before a word containing "conftest.", or (3) at the end.
7739 # Note that $ac_compile itself does not contain backslashes and begins
7740 # with a dollar sign (not a hyphen), so the echo should work correctly.
7741 lt_compile=`echo "$ac_compile" | $SED \
7742 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7743 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7744 -e 's:$: $lt_compiler_flag:'`
7745 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7746 (eval "$lt_compile" 2>out/conftest.err)
7747 ac_status=$?
7748 cat out/conftest.err >&5
7749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7750 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7751 then
7752 # The compiler can only warn and ignore the option if not recognized
7753 # So say no if there are warnings
7754 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
7755 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7756 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7757 lt_cv_prog_compiler_c_o=yes
7760 chmod u+w . 2>&5
7761 $RM conftest*
7762 # SGI C++ compiler will create directory out/ii_files/ for
7763 # template instantiation
7764 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7765 $RM out/* && rmdir out
7766 cd ..
7767 $RM -r conftest
7768 $RM conftest*
7771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7772 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7780 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7781 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7782 $as_echo_n "(cached) " >&6
7783 else
7784 lt_cv_prog_compiler_c_o=no
7785 $RM -r conftest 2>/dev/null
7786 mkdir conftest
7787 cd conftest
7788 mkdir out
7789 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7791 lt_compiler_flag="-o out/conftest2.$ac_objext"
7792 # Insert the option either (1) after the last *FLAGS variable, or
7793 # (2) before a word containing "conftest.", or (3) at the end.
7794 # Note that $ac_compile itself does not contain backslashes and begins
7795 # with a dollar sign (not a hyphen), so the echo should work correctly.
7796 lt_compile=`echo "$ac_compile" | $SED \
7797 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7798 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7799 -e 's:$: $lt_compiler_flag:'`
7800 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7801 (eval "$lt_compile" 2>out/conftest.err)
7802 ac_status=$?
7803 cat out/conftest.err >&5
7804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7805 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7806 then
7807 # The compiler can only warn and ignore the option if not recognized
7808 # So say no if there are warnings
7809 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
7810 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7811 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7812 lt_cv_prog_compiler_c_o=yes
7815 chmod u+w . 2>&5
7816 $RM conftest*
7817 # SGI C++ compiler will create directory out/ii_files/ for
7818 # template instantiation
7819 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7820 $RM out/* && rmdir out
7821 cd ..
7822 $RM -r conftest
7823 $RM conftest*
7826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7827 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7832 hard_links="nottested"
7833 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7834 # do not overwrite the value of need_locks provided by the user
7835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
7836 $as_echo_n "checking if we can lock with hard links... " >&6; }
7837 hard_links=yes
7838 $RM conftest*
7839 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7840 touch conftest.a
7841 ln conftest.a conftest.b 2>&5 || hard_links=no
7842 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
7844 $as_echo "$hard_links" >&6; }
7845 if test "$hard_links" = no; then
7846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7847 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7848 need_locks=warn
7850 else
7851 need_locks=no
7859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7860 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7862 runpath_var=
7863 allow_undefined_flag=
7864 always_export_symbols=no
7865 archive_cmds=
7866 archive_expsym_cmds=
7867 compiler_needs_object=no
7868 enable_shared_with_static_runtimes=no
7869 export_dynamic_flag_spec=
7870 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7871 hardcode_automatic=no
7872 hardcode_direct=no
7873 hardcode_direct_absolute=no
7874 hardcode_libdir_flag_spec=
7875 hardcode_libdir_flag_spec_ld=
7876 hardcode_libdir_separator=
7877 hardcode_minus_L=no
7878 hardcode_shlibpath_var=unsupported
7879 inherit_rpath=no
7880 link_all_deplibs=unknown
7881 module_cmds=
7882 module_expsym_cmds=
7883 old_archive_from_new_cmds=
7884 old_archive_from_expsyms_cmds=
7885 thread_safe_flag_spec=
7886 whole_archive_flag_spec=
7887 # include_expsyms should be a list of space-separated symbols to be *always*
7888 # included in the symbol list
7889 include_expsyms=
7890 # exclude_expsyms can be an extended regexp of symbols to exclude
7891 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7892 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7893 # as well as any symbol that contains `d'.
7894 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7895 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7896 # platforms (ab)use it in PIC code, but their linkers get confused if
7897 # the symbol is explicitly referenced. Since portable code cannot
7898 # rely on this symbol name, it's probably fine to never include it in
7899 # preloaded symbol tables.
7900 # Exclude shared library initialization/finalization symbols.
7901 extract_expsyms_cmds=
7903 case $host_os in
7904 cygwin* | mingw* | pw32* | cegcc*)
7905 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7906 # When not using gcc, we currently assume that we are using
7907 # Microsoft Visual C++.
7908 if test "$GCC" != yes; then
7909 with_gnu_ld=no
7912 interix*)
7913 # we just hope/assume this is gcc and not c89 (= MSVC++)
7914 with_gnu_ld=yes
7916 openbsd*)
7917 with_gnu_ld=no
7919 esac
7921 ld_shlibs=yes
7923 # On some targets, GNU ld is compatible enough with the native linker
7924 # that we're better off using the native interface for both.
7925 lt_use_gnu_ld_interface=no
7926 if test "$with_gnu_ld" = yes; then
7927 case $host_os in
7928 aix*)
7929 # The AIX port of GNU ld has always aspired to compatibility
7930 # with the native linker. However, as the warning in the GNU ld
7931 # block says, versions before 2.19.5* couldn't really create working
7932 # shared libraries, regardless of the interface used.
7933 case `$LD -v 2>&1` in
7934 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
7935 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
7936 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
7938 lt_use_gnu_ld_interface=yes
7940 esac
7943 lt_use_gnu_ld_interface=yes
7945 esac
7948 if test "$lt_use_gnu_ld_interface" = yes; then
7949 # If archive_cmds runs LD, not CC, wlarc should be empty
7950 wlarc='${wl}'
7952 # Set some defaults for GNU ld with shared library support. These
7953 # are reset later if shared libraries are not supported. Putting them
7954 # here allows them to be overridden if necessary.
7955 runpath_var=LD_RUN_PATH
7956 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7957 export_dynamic_flag_spec='${wl}--export-dynamic'
7958 # ancient GNU ld didn't support --whole-archive et. al.
7959 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7960 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7961 else
7962 whole_archive_flag_spec=
7964 supports_anon_versioning=no
7965 case `$LD -v 2>&1` in
7966 *GNU\ gold*) supports_anon_versioning=yes ;;
7967 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7968 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7969 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7970 *\ 2.11.*) ;; # other 2.11 versions
7971 *) supports_anon_versioning=yes ;;
7972 esac
7974 # See if GNU ld supports shared libraries.
7975 case $host_os in
7976 aix[3-9]*)
7977 # On AIX/PPC, the GNU linker is very broken
7978 if test "$host_cpu" != ia64; then
7979 ld_shlibs=no
7980 cat <<_LT_EOF 1>&2
7982 *** Warning: the GNU linker, at least up to release 2.19, is reported
7983 *** to be unable to reliably create shared libraries on AIX.
7984 *** Therefore, libtool is disabling shared libraries support. If you
7985 *** really care for shared libraries, you may want to install binutils
7986 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
7987 *** You will then need to restart the configuration process.
7989 _LT_EOF
7993 amigaos*)
7994 case $host_cpu in
7995 powerpc)
7996 # see comment about AmigaOS4 .so support
7997 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7998 archive_expsym_cmds=''
8000 m68k)
8001 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)'
8002 hardcode_libdir_flag_spec='-L$libdir'
8003 hardcode_minus_L=yes
8005 esac
8008 beos*)
8009 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8010 allow_undefined_flag=unsupported
8011 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8012 # support --undefined. This deserves some investigation. FIXME
8013 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8014 else
8015 ld_shlibs=no
8019 cygwin* | mingw* | pw32* | cegcc*)
8020 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8021 # as there is no search path for DLLs.
8022 hardcode_libdir_flag_spec='-L$libdir'
8023 export_dynamic_flag_spec='${wl}--export-all-symbols'
8024 allow_undefined_flag=unsupported
8025 always_export_symbols=no
8026 enable_shared_with_static_runtimes=yes
8027 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8029 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8030 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8031 # If the export-symbols file already is a .def file (1st line
8032 # is EXPORTS), use it as is; otherwise, prepend...
8033 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8034 cp $export_symbols $output_objdir/$soname.def;
8035 else
8036 echo EXPORTS > $output_objdir/$soname.def;
8037 cat $export_symbols >> $output_objdir/$soname.def;
8039 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8040 else
8041 ld_shlibs=no
8045 haiku*)
8046 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8047 link_all_deplibs=yes
8050 interix[3-9]*)
8051 hardcode_direct=no
8052 hardcode_shlibpath_var=no
8053 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8054 export_dynamic_flag_spec='${wl}-E'
8055 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8056 # Instead, shared libraries are loaded at an image base (0x10000000 by
8057 # default) and relocated if they conflict, which is a slow very memory
8058 # consuming and fragmenting process. To avoid this, we pick a random,
8059 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8060 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8061 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8062 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'
8065 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8066 tmp_diet=no
8067 if test "$host_os" = linux-dietlibc; then
8068 case $cc_basename in
8069 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8070 esac
8072 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8073 && test "$tmp_diet" = no
8074 then
8075 tmp_addflag=
8076 tmp_sharedflag='-shared'
8077 case $cc_basename,$host_cpu in
8078 pgcc*) # Portland Group C compiler
8079 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'
8080 tmp_addflag=' $pic_flag'
8082 pgf77* | pgf90* | pgf95* | pgfortran*)
8083 # Portland Group f77 and f90 compilers
8084 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'
8085 tmp_addflag=' $pic_flag -Mnomain' ;;
8086 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8087 tmp_addflag=' -i_dynamic' ;;
8088 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8089 tmp_addflag=' -i_dynamic -nofor_main' ;;
8090 ifc* | ifort*) # Intel Fortran compiler
8091 tmp_addflag=' -nofor_main' ;;
8092 lf95*) # Lahey Fortran 8.1
8093 whole_archive_flag_spec=
8094 tmp_sharedflag='--shared' ;;
8095 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8096 tmp_sharedflag='-qmkshrobj'
8097 tmp_addflag= ;;
8098 nvcc*) # Cuda Compiler Driver 2.2
8099 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'
8100 compiler_needs_object=yes
8102 esac
8103 case `$CC -V 2>&1 | sed 5q` in
8104 *Sun\ C*) # Sun C 5.9
8105 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'
8106 compiler_needs_object=yes
8107 tmp_sharedflag='-G' ;;
8108 *Sun\ F*) # Sun Fortran 8.3
8109 tmp_sharedflag='-G' ;;
8110 esac
8111 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8113 if test "x$supports_anon_versioning" = xyes; then
8114 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8115 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8116 echo "local: *; };" >> $output_objdir/$libname.ver~
8117 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8120 case $cc_basename in
8121 xlf* | bgf* | bgxlf* | mpixlf*)
8122 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8123 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8124 hardcode_libdir_flag_spec=
8125 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8126 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8127 if test "x$supports_anon_versioning" = xyes; then
8128 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8129 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8130 echo "local: *; };" >> $output_objdir/$libname.ver~
8131 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8134 esac
8135 else
8136 ld_shlibs=no
8140 netbsd*)
8141 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8142 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8143 wlarc=
8144 else
8145 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8146 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8150 solaris*)
8151 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8152 ld_shlibs=no
8153 cat <<_LT_EOF 1>&2
8155 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8156 *** create shared libraries on Solaris systems. Therefore, libtool
8157 *** is disabling shared libraries support. We urge you to upgrade GNU
8158 *** binutils to release 2.9.1 or newer. Another option is to modify
8159 *** your PATH or compiler configuration so that the native linker is
8160 *** used, and then restart.
8162 _LT_EOF
8163 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8164 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8165 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8166 else
8167 ld_shlibs=no
8171 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8172 case `$LD -v 2>&1` in
8173 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8174 ld_shlibs=no
8175 cat <<_LT_EOF 1>&2
8177 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8178 *** reliably create shared libraries on SCO systems. Therefore, libtool
8179 *** is disabling shared libraries support. We urge you to upgrade GNU
8180 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8181 *** your PATH or compiler configuration so that the native linker is
8182 *** used, and then restart.
8184 _LT_EOF
8187 # For security reasons, it is highly recommended that you always
8188 # use absolute paths for naming shared libraries, and exclude the
8189 # DT_RUNPATH tag from executables and libraries. But doing so
8190 # requires that you compile everything twice, which is a pain.
8191 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8192 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8193 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8194 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8195 else
8196 ld_shlibs=no
8199 esac
8202 sunos4*)
8203 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8204 wlarc=
8205 hardcode_direct=yes
8206 hardcode_shlibpath_var=no
8210 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8211 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8212 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8213 else
8214 ld_shlibs=no
8217 esac
8219 if test "$ld_shlibs" = no; then
8220 runpath_var=
8221 hardcode_libdir_flag_spec=
8222 export_dynamic_flag_spec=
8223 whole_archive_flag_spec=
8225 else
8226 # PORTME fill in a description of your system's linker (not GNU ld)
8227 case $host_os in
8228 aix3*)
8229 allow_undefined_flag=unsupported
8230 always_export_symbols=yes
8231 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'
8232 # Note: this linker hardcodes the directories in LIBPATH if there
8233 # are no directories specified by -L.
8234 hardcode_minus_L=yes
8235 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8236 # Neither direct hardcoding nor static linking is supported with a
8237 # broken collect2.
8238 hardcode_direct=unsupported
8242 aix[4-9]*)
8243 if test "$host_cpu" = ia64; then
8244 # On IA64, the linker does run time linking by default, so we don't
8245 # have to do anything special.
8246 aix_use_runtimelinking=no
8247 exp_sym_flag='-Bexport'
8248 no_entry_flag=""
8249 else
8250 # If we're using GNU nm, then we don't want the "-C" option.
8251 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8252 # Also, AIX nm treats weak defined symbols like other global
8253 # defined symbols, whereas GNU nm marks them as "W".
8254 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8255 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'
8256 else
8257 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'
8259 aix_use_runtimelinking=no
8261 # Test if we are trying to use run time linking or normal
8262 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8263 # need to do runtime linking.
8264 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8265 for ld_flag in $LDFLAGS; do
8266 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8267 aix_use_runtimelinking=yes
8268 break
8270 done
8272 esac
8274 exp_sym_flag='-bexport'
8275 no_entry_flag='-bnoentry'
8278 # When large executables or shared objects are built, AIX ld can
8279 # have problems creating the table of contents. If linking a library
8280 # or program results in "error TOC overflow" add -mminimal-toc to
8281 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8282 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8284 archive_cmds=''
8285 hardcode_direct=yes
8286 hardcode_direct_absolute=yes
8287 hardcode_libdir_separator=':'
8288 link_all_deplibs=yes
8289 file_list_spec='${wl}-f,'
8291 if test "$GCC" = yes; then
8292 case $host_os in aix4.[012]|aix4.[012].*)
8293 # We only want to do this on AIX 4.2 and lower, the check
8294 # below for broken collect2 doesn't work under 4.3+
8295 collect2name=`${CC} -print-prog-name=collect2`
8296 if test -f "$collect2name" &&
8297 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8298 then
8299 # We have reworked collect2
8301 else
8302 # We have old collect2
8303 hardcode_direct=unsupported
8304 # It fails to find uninstalled libraries when the uninstalled
8305 # path is not listed in the libpath. Setting hardcode_minus_L
8306 # to unsupported forces relinking
8307 hardcode_minus_L=yes
8308 hardcode_libdir_flag_spec='-L$libdir'
8309 hardcode_libdir_separator=
8312 esac
8313 shared_flag='-shared'
8314 if test "$aix_use_runtimelinking" = yes; then
8315 shared_flag="$shared_flag "'${wl}-G'
8317 else
8318 # not using gcc
8319 if test "$host_cpu" = ia64; then
8320 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8321 # chokes on -Wl,-G. The following line is correct:
8322 shared_flag='-G'
8323 else
8324 if test "$aix_use_runtimelinking" = yes; then
8325 shared_flag='${wl}-G'
8326 else
8327 shared_flag='${wl}-bM:SRE'
8332 export_dynamic_flag_spec='${wl}-bexpall'
8333 # It seems that -bexpall does not export symbols beginning with
8334 # underscore (_), so it is better to generate a list of symbols to export.
8335 always_export_symbols=yes
8336 if test "$aix_use_runtimelinking" = yes; then
8337 # Warning - without using the other runtime loading flags (-brtl),
8338 # -berok will link without error, but may produce a broken library.
8339 allow_undefined_flag='-berok'
8340 # Determine the default libpath from the value encoded in an
8341 # empty executable.
8342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8343 /* end confdefs.h. */
8346 main ()
8350 return 0;
8352 _ACEOF
8353 if ac_fn_c_try_link "$LINENO"; then :
8355 lt_aix_libpath_sed='
8356 /Import File Strings/,/^$/ {
8357 /^0/ {
8358 s/^0 *\(.*\)$/\1/
8362 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8363 # Check for a 64-bit object if we didn't find anything.
8364 if test -z "$aix_libpath"; then
8365 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8368 rm -f core conftest.err conftest.$ac_objext \
8369 conftest$ac_exeext conftest.$ac_ext
8370 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8372 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8373 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"
8374 else
8375 if test "$host_cpu" = ia64; then
8376 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8377 allow_undefined_flag="-z nodefs"
8378 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"
8379 else
8380 # Determine the default libpath from the value encoded in an
8381 # empty executable.
8382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8383 /* end confdefs.h. */
8386 main ()
8390 return 0;
8392 _ACEOF
8393 if ac_fn_c_try_link "$LINENO"; then :
8395 lt_aix_libpath_sed='
8396 /Import File Strings/,/^$/ {
8397 /^0/ {
8398 s/^0 *\(.*\)$/\1/
8402 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8403 # Check for a 64-bit object if we didn't find anything.
8404 if test -z "$aix_libpath"; then
8405 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8408 rm -f core conftest.err conftest.$ac_objext \
8409 conftest$ac_exeext conftest.$ac_ext
8410 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8412 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8413 # Warning - without using the other run time loading flags,
8414 # -berok will link without error, but may produce a broken library.
8415 no_undefined_flag=' ${wl}-bernotok'
8416 allow_undefined_flag=' ${wl}-berok'
8417 if test "$with_gnu_ld" = yes; then
8418 # We only use this code for GNU lds that support --whole-archive.
8419 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
8420 else
8421 # Exported symbols can be pulled into shared objects from archives
8422 whole_archive_flag_spec='$convenience'
8424 archive_cmds_need_lc=yes
8425 # This is similar to how AIX traditionally builds its shared libraries.
8426 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'
8431 amigaos*)
8432 case $host_cpu in
8433 powerpc)
8434 # see comment about AmigaOS4 .so support
8435 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8436 archive_expsym_cmds=''
8438 m68k)
8439 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)'
8440 hardcode_libdir_flag_spec='-L$libdir'
8441 hardcode_minus_L=yes
8443 esac
8446 bsdi[45]*)
8447 export_dynamic_flag_spec=-rdynamic
8450 cygwin* | mingw* | pw32* | cegcc*)
8451 # When not using gcc, we currently assume that we are using
8452 # Microsoft Visual C++.
8453 # hardcode_libdir_flag_spec is actually meaningless, as there is
8454 # no search path for DLLs.
8455 hardcode_libdir_flag_spec=' '
8456 allow_undefined_flag=unsupported
8457 # Tell ltmain to make .lib files, not .a files.
8458 libext=lib
8459 # Tell ltmain to make .dll files, not .so files.
8460 shrext_cmds=".dll"
8461 # FIXME: Setting linknames here is a bad hack.
8462 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
8463 # The linker will automatically build a .lib file if we build a DLL.
8464 old_archive_from_new_cmds='true'
8465 # FIXME: Should let the user specify the lib program.
8466 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8467 fix_srcfile_path='`cygpath -w "$srcfile"`'
8468 enable_shared_with_static_runtimes=yes
8471 darwin* | rhapsody*)
8474 archive_cmds_need_lc=no
8475 hardcode_direct=no
8476 hardcode_automatic=yes
8477 hardcode_shlibpath_var=unsupported
8478 if test "$lt_cv_ld_force_load" = "yes"; then
8479 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\"`'
8480 else
8481 whole_archive_flag_spec=''
8483 link_all_deplibs=yes
8484 allow_undefined_flag="$_lt_dar_allow_undefined"
8485 case $cc_basename in
8486 ifort*) _lt_dar_can_shared=yes ;;
8487 *) _lt_dar_can_shared=$GCC ;;
8488 esac
8489 if test "$_lt_dar_can_shared" = "yes"; then
8490 output_verbose_link_cmd=func_echo_all
8491 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8492 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8493 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}"
8494 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}"
8496 else
8497 ld_shlibs=no
8502 dgux*)
8503 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8504 hardcode_libdir_flag_spec='-L$libdir'
8505 hardcode_shlibpath_var=no
8508 freebsd1*)
8509 ld_shlibs=no
8512 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8513 # support. Future versions do this automatically, but an explicit c++rt0.o
8514 # does not break anything, and helps significantly (at the cost of a little
8515 # extra space).
8516 freebsd2.2*)
8517 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8518 hardcode_libdir_flag_spec='-R$libdir'
8519 hardcode_direct=yes
8520 hardcode_shlibpath_var=no
8523 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8524 freebsd2*)
8525 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8526 hardcode_direct=yes
8527 hardcode_minus_L=yes
8528 hardcode_shlibpath_var=no
8531 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8532 freebsd* | dragonfly*)
8533 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8534 hardcode_libdir_flag_spec='-R$libdir'
8535 hardcode_direct=yes
8536 hardcode_shlibpath_var=no
8539 hpux9*)
8540 if test "$GCC" = yes; then
8541 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8542 else
8543 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'
8545 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8546 hardcode_libdir_separator=:
8547 hardcode_direct=yes
8549 # hardcode_minus_L: Not really in the search PATH,
8550 # but as the default location of the library.
8551 hardcode_minus_L=yes
8552 export_dynamic_flag_spec='${wl}-E'
8555 hpux10*)
8556 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
8557 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8558 else
8559 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8561 if test "$with_gnu_ld" = no; then
8562 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8563 hardcode_libdir_flag_spec_ld='+b $libdir'
8564 hardcode_libdir_separator=:
8565 hardcode_direct=yes
8566 hardcode_direct_absolute=yes
8567 export_dynamic_flag_spec='${wl}-E'
8568 # hardcode_minus_L: Not really in the search PATH,
8569 # but as the default location of the library.
8570 hardcode_minus_L=yes
8574 hpux11*)
8575 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
8576 case $host_cpu in
8577 hppa*64*)
8578 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8580 ia64*)
8581 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8584 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8586 esac
8587 else
8588 case $host_cpu in
8589 hppa*64*)
8590 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8592 ia64*)
8593 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8597 # Older versions of the 11.00 compiler do not understand -b yet
8598 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
8599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
8600 $as_echo_n "checking if $CC understands -b... " >&6; }
8601 if test "${lt_cv_prog_compiler__b+set}" = set; then :
8602 $as_echo_n "(cached) " >&6
8603 else
8604 lt_cv_prog_compiler__b=no
8605 save_LDFLAGS="$LDFLAGS"
8606 LDFLAGS="$LDFLAGS -b"
8607 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8608 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8609 # The linker can only warn and ignore the option if not recognized
8610 # So say no if there are warnings
8611 if test -s conftest.err; then
8612 # Append any errors to the config.log.
8613 cat conftest.err 1>&5
8614 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8615 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8616 if diff conftest.exp conftest.er2 >/dev/null; then
8617 lt_cv_prog_compiler__b=yes
8619 else
8620 lt_cv_prog_compiler__b=yes
8623 $RM -r conftest*
8624 LDFLAGS="$save_LDFLAGS"
8627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
8628 $as_echo "$lt_cv_prog_compiler__b" >&6; }
8630 if test x"$lt_cv_prog_compiler__b" = xyes; then
8631 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8632 else
8633 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8637 esac
8639 if test "$with_gnu_ld" = no; then
8640 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8641 hardcode_libdir_separator=:
8643 case $host_cpu in
8644 hppa*64*|ia64*)
8645 hardcode_direct=no
8646 hardcode_shlibpath_var=no
8649 hardcode_direct=yes
8650 hardcode_direct_absolute=yes
8651 export_dynamic_flag_spec='${wl}-E'
8653 # hardcode_minus_L: Not really in the search PATH,
8654 # but as the default location of the library.
8655 hardcode_minus_L=yes
8657 esac
8661 irix5* | irix6* | nonstopux*)
8662 if test "$GCC" = yes; then
8663 archive_cmds='$CC -shared $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'
8664 # Try to use the -exported_symbol ld option, if it does not
8665 # work, assume that -exports_file does not work either and
8666 # implicitly export all symbols.
8667 save_LDFLAGS="$LDFLAGS"
8668 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8670 /* end confdefs.h. */
8671 int foo(void) {}
8672 _ACEOF
8673 if ac_fn_c_try_link "$LINENO"; then :
8674 archive_expsym_cmds='$CC -shared $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'
8677 rm -f core conftest.err conftest.$ac_objext \
8678 conftest$ac_exeext conftest.$ac_ext
8679 LDFLAGS="$save_LDFLAGS"
8680 else
8681 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'
8682 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'
8684 archive_cmds_need_lc='no'
8685 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8686 hardcode_libdir_separator=:
8687 inherit_rpath=yes
8688 link_all_deplibs=yes
8691 netbsd*)
8692 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8693 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8694 else
8695 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8697 hardcode_libdir_flag_spec='-R$libdir'
8698 hardcode_direct=yes
8699 hardcode_shlibpath_var=no
8702 newsos6)
8703 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8704 hardcode_direct=yes
8705 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8706 hardcode_libdir_separator=:
8707 hardcode_shlibpath_var=no
8710 *nto* | *qnx*)
8713 openbsd*)
8714 if test -f /usr/libexec/ld.so; then
8715 hardcode_direct=yes
8716 hardcode_shlibpath_var=no
8717 hardcode_direct_absolute=yes
8718 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8719 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8720 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8721 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8722 export_dynamic_flag_spec='${wl}-E'
8723 else
8724 case $host_os in
8725 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8726 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8727 hardcode_libdir_flag_spec='-R$libdir'
8730 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8731 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8733 esac
8735 else
8736 ld_shlibs=no
8740 os2*)
8741 hardcode_libdir_flag_spec='-L$libdir'
8742 hardcode_minus_L=yes
8743 allow_undefined_flag=unsupported
8744 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'
8745 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8748 osf3*)
8749 if test "$GCC" = yes; then
8750 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8751 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'
8752 else
8753 allow_undefined_flag=' -expect_unresolved \*'
8754 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'
8756 archive_cmds_need_lc='no'
8757 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8758 hardcode_libdir_separator=:
8761 osf4* | osf5*) # as osf3* with the addition of -msym flag
8762 if test "$GCC" = yes; then
8763 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8764 archive_cmds='$CC -shared${allow_undefined_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'
8765 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8766 else
8767 allow_undefined_flag=' -expect_unresolved \*'
8768 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'
8769 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~
8770 $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'
8772 # Both c and cxx compiler support -rpath directly
8773 hardcode_libdir_flag_spec='-rpath $libdir'
8775 archive_cmds_need_lc='no'
8776 hardcode_libdir_separator=:
8779 solaris*)
8780 no_undefined_flag=' -z defs'
8781 if test "$GCC" = yes; then
8782 wlarc='${wl}'
8783 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8784 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8785 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8786 else
8787 case `$CC -V 2>&1` in
8788 *"Compilers 5.0"*)
8789 wlarc=''
8790 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8791 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8792 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8795 wlarc='${wl}'
8796 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8797 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8798 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8800 esac
8802 hardcode_libdir_flag_spec='-R$libdir'
8803 hardcode_shlibpath_var=no
8804 case $host_os in
8805 solaris2.[0-5] | solaris2.[0-5].*) ;;
8807 # The compiler driver will combine and reorder linker options,
8808 # but understands `-z linker_flag'. GCC discards it without `$wl',
8809 # but is careful enough not to reorder.
8810 # Supported since Solaris 2.6 (maybe 2.5.1?)
8811 if test "$GCC" = yes; then
8812 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8813 else
8814 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8817 esac
8818 link_all_deplibs=yes
8821 sunos4*)
8822 if test "x$host_vendor" = xsequent; then
8823 # Use $CC to link under sequent, because it throws in some extra .o
8824 # files that make .init and .fini sections work.
8825 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8826 else
8827 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8829 hardcode_libdir_flag_spec='-L$libdir'
8830 hardcode_direct=yes
8831 hardcode_minus_L=yes
8832 hardcode_shlibpath_var=no
8835 sysv4)
8836 case $host_vendor in
8837 sni)
8838 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8839 hardcode_direct=yes # is this really true???
8841 siemens)
8842 ## LD is ld it makes a PLAMLIB
8843 ## CC just makes a GrossModule.
8844 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8845 reload_cmds='$CC -r -o $output$reload_objs'
8846 hardcode_direct=no
8848 motorola)
8849 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8850 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8852 esac
8853 runpath_var='LD_RUN_PATH'
8854 hardcode_shlibpath_var=no
8857 sysv4.3*)
8858 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8859 hardcode_shlibpath_var=no
8860 export_dynamic_flag_spec='-Bexport'
8863 sysv4*MP*)
8864 if test -d /usr/nec; then
8865 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8866 hardcode_shlibpath_var=no
8867 runpath_var=LD_RUN_PATH
8868 hardcode_runpath_var=yes
8869 ld_shlibs=yes
8873 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8874 no_undefined_flag='${wl}-z,text'
8875 archive_cmds_need_lc=no
8876 hardcode_shlibpath_var=no
8877 runpath_var='LD_RUN_PATH'
8879 if test "$GCC" = yes; then
8880 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8881 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8882 else
8883 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8884 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8888 sysv5* | sco3.2v5* | sco5v6*)
8889 # Note: We can NOT use -z defs as we might desire, because we do not
8890 # link with -lc, and that would cause any symbols used from libc to
8891 # always be unresolved, which means just about no library would
8892 # ever link correctly. If we're not using GNU ld we use -z text
8893 # though, which does catch some bad symbols but isn't as heavy-handed
8894 # as -z defs.
8895 no_undefined_flag='${wl}-z,text'
8896 allow_undefined_flag='${wl}-z,nodefs'
8897 archive_cmds_need_lc=no
8898 hardcode_shlibpath_var=no
8899 hardcode_libdir_flag_spec='${wl}-R,$libdir'
8900 hardcode_libdir_separator=':'
8901 link_all_deplibs=yes
8902 export_dynamic_flag_spec='${wl}-Bexport'
8903 runpath_var='LD_RUN_PATH'
8905 if test "$GCC" = yes; then
8906 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8907 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8908 else
8909 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8910 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8914 uts4*)
8915 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8916 hardcode_libdir_flag_spec='-L$libdir'
8917 hardcode_shlibpath_var=no
8921 ld_shlibs=no
8923 esac
8925 if test x$host_vendor = xsni; then
8926 case $host in
8927 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8928 export_dynamic_flag_spec='${wl}-Blargedynsym'
8930 esac
8934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
8935 $as_echo "$ld_shlibs" >&6; }
8936 test "$ld_shlibs" = no && can_build_shared=no
8938 with_gnu_ld=$with_gnu_ld
8955 # Do we need to explicitly link libc?
8957 case "x$archive_cmds_need_lc" in
8958 x|xyes)
8959 # Assume -lc should be added
8960 archive_cmds_need_lc=yes
8962 if test "$enable_shared" = yes && test "$GCC" = yes; then
8963 case $archive_cmds in
8964 *'~'*)
8965 # FIXME: we may have to deal with multi-command sequences.
8967 '$CC '*)
8968 # Test whether the compiler implicitly links with -lc since on some
8969 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8970 # to ld, don't add -lc before -lgcc.
8971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
8972 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
8973 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
8974 $as_echo_n "(cached) " >&6
8975 else
8976 $RM conftest*
8977 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8979 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8980 (eval $ac_compile) 2>&5
8981 ac_status=$?
8982 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8983 test $ac_status = 0; } 2>conftest.err; then
8984 soname=conftest
8985 lib=conftest
8986 libobjs=conftest.$ac_objext
8987 deplibs=
8988 wl=$lt_prog_compiler_wl
8989 pic_flag=$lt_prog_compiler_pic
8990 compiler_flags=-v
8991 linker_flags=-v
8992 verstring=
8993 output_objdir=.
8994 libname=conftest
8995 lt_save_allow_undefined_flag=$allow_undefined_flag
8996 allow_undefined_flag=
8997 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
8998 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8999 ac_status=$?
9000 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9001 test $ac_status = 0; }
9002 then
9003 lt_cv_archive_cmds_need_lc=no
9004 else
9005 lt_cv_archive_cmds_need_lc=yes
9007 allow_undefined_flag=$lt_save_allow_undefined_flag
9008 else
9009 cat conftest.err 1>&5
9011 $RM conftest*
9014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9015 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9016 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9018 esac
9021 esac
9179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9180 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9182 if test "$GCC" = yes; then
9183 case $host_os in
9184 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9185 *) lt_awk_arg="/^libraries:/" ;;
9186 esac
9187 case $host_os in
9188 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9189 *) lt_sed_strip_eq="s,=/,/,g" ;;
9190 esac
9191 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9192 case $lt_search_path_spec in
9193 *\;*)
9194 # if the path contains ";" then we assume it to be the separator
9195 # otherwise default to the standard path separator (i.e. ":") - it is
9196 # assumed that no part of a normal pathname contains ";" but that should
9197 # okay in the real world where ";" in dirpaths is itself problematic.
9198 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9201 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9203 esac
9204 # Ok, now we have the path, separated by spaces, we can step through it
9205 # and add multilib dir if necessary.
9206 lt_tmp_lt_search_path_spec=
9207 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9208 for lt_sys_path in $lt_search_path_spec; do
9209 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9210 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9211 else
9212 test -d "$lt_sys_path" && \
9213 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9215 done
9216 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9217 BEGIN {RS=" "; FS="/|\n";} {
9218 lt_foo="";
9219 lt_count=0;
9220 for (lt_i = NF; lt_i > 0; lt_i--) {
9221 if ($lt_i != "" && $lt_i != ".") {
9222 if ($lt_i == "..") {
9223 lt_count++;
9224 } else {
9225 if (lt_count == 0) {
9226 lt_foo="/" $lt_i lt_foo;
9227 } else {
9228 lt_count--;
9233 if (lt_foo != "") { lt_freq[lt_foo]++; }
9234 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9236 # AWK program above erroneously prepends '/' to C:/dos/paths
9237 # for these hosts.
9238 case $host_os in
9239 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
9240 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9241 esac
9242 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9243 else
9244 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9246 library_names_spec=
9247 libname_spec='lib$name'
9248 soname_spec=
9249 shrext_cmds=".so"
9250 postinstall_cmds=
9251 postuninstall_cmds=
9252 finish_cmds=
9253 finish_eval=
9254 shlibpath_var=
9255 shlibpath_overrides_runpath=unknown
9256 version_type=none
9257 dynamic_linker="$host_os ld.so"
9258 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9259 need_lib_prefix=unknown
9260 hardcode_into_libs=no
9262 # when you set need_version to no, make sure it does not cause -set_version
9263 # flags to be left without arguments
9264 need_version=unknown
9266 case $host_os in
9267 aix3*)
9268 version_type=linux
9269 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9270 shlibpath_var=LIBPATH
9272 # AIX 3 has no versioning support, so we append a major version to the name.
9273 soname_spec='${libname}${release}${shared_ext}$major'
9276 aix[4-9]*)
9277 version_type=linux
9278 need_lib_prefix=no
9279 need_version=no
9280 hardcode_into_libs=yes
9281 if test "$host_cpu" = ia64; then
9282 # AIX 5 supports IA64
9283 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9284 shlibpath_var=LD_LIBRARY_PATH
9285 else
9286 # With GCC up to 2.95.x, collect2 would create an import file
9287 # for dependence libraries. The import file would start with
9288 # the line `#! .'. This would cause the generated library to
9289 # depend on `.', always an invalid library. This was fixed in
9290 # development snapshots of GCC prior to 3.0.
9291 case $host_os in
9292 aix4 | aix4.[01] | aix4.[01].*)
9293 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9294 echo ' yes '
9295 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9297 else
9298 can_build_shared=no
9301 esac
9302 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9303 # soname into executable. Probably we can add versioning support to
9304 # collect2, so additional links can be useful in future.
9305 if test "$aix_use_runtimelinking" = yes; then
9306 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9307 # instead of lib<name>.a to let people know that these are not
9308 # typical AIX shared libraries.
9309 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9310 else
9311 # We preserve .a as extension for shared libraries through AIX4.2
9312 # and later when we are not doing run time linking.
9313 library_names_spec='${libname}${release}.a $libname.a'
9314 soname_spec='${libname}${release}${shared_ext}$major'
9316 shlibpath_var=LIBPATH
9320 amigaos*)
9321 case $host_cpu in
9322 powerpc)
9323 # Since July 2007 AmigaOS4 officially supports .so libraries.
9324 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9325 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9327 m68k)
9328 library_names_spec='$libname.ixlibrary $libname.a'
9329 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9330 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'
9332 esac
9335 beos*)
9336 library_names_spec='${libname}${shared_ext}'
9337 dynamic_linker="$host_os ld.so"
9338 shlibpath_var=LIBRARY_PATH
9341 bsdi[45]*)
9342 version_type=linux
9343 need_version=no
9344 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9345 soname_spec='${libname}${release}${shared_ext}$major'
9346 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9347 shlibpath_var=LD_LIBRARY_PATH
9348 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9349 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9350 # the default ld.so.conf also contains /usr/contrib/lib and
9351 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9352 # libtool to hard-code these into programs
9355 cygwin* | mingw* | pw32* | cegcc*)
9356 version_type=windows
9357 shrext_cmds=".dll"
9358 need_version=no
9359 need_lib_prefix=no
9361 case $GCC,$host_os in
9362 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9363 library_names_spec='$libname.dll.a'
9364 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9365 postinstall_cmds='base_file=`basename \${file}`~
9366 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9367 dldir=$destdir/`dirname \$dlpath`~
9368 test -d \$dldir || mkdir -p \$dldir~
9369 $install_prog $dir/$dlname \$dldir/$dlname~
9370 chmod a+x \$dldir/$dlname~
9371 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9372 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9374 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9375 dlpath=$dir/\$dldll~
9376 $RM \$dlpath'
9377 shlibpath_overrides_runpath=yes
9379 case $host_os in
9380 cygwin*)
9381 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9382 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9384 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
9386 mingw* | cegcc*)
9387 # MinGW DLLs use traditional 'lib' prefix
9388 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9390 pw32*)
9391 # pw32 DLLs use 'pw' prefix rather than 'lib'
9392 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9394 esac
9398 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9400 esac
9401 dynamic_linker='Win32 ld.exe'
9402 # FIXME: first we should search . and the directory the executable is in
9403 shlibpath_var=PATH
9406 darwin* | rhapsody*)
9407 dynamic_linker="$host_os dyld"
9408 version_type=darwin
9409 need_lib_prefix=no
9410 need_version=no
9411 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9412 soname_spec='${libname}${release}${major}$shared_ext'
9413 shlibpath_overrides_runpath=yes
9414 shlibpath_var=DYLD_LIBRARY_PATH
9415 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9417 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9418 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9421 dgux*)
9422 version_type=linux
9423 need_lib_prefix=no
9424 need_version=no
9425 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9426 soname_spec='${libname}${release}${shared_ext}$major'
9427 shlibpath_var=LD_LIBRARY_PATH
9430 freebsd1*)
9431 dynamic_linker=no
9434 freebsd* | dragonfly*)
9435 # DragonFly does not have aout. When/if they implement a new
9436 # versioning mechanism, adjust this.
9437 if test -x /usr/bin/objformat; then
9438 objformat=`/usr/bin/objformat`
9439 else
9440 case $host_os in
9441 freebsd[123]*) objformat=aout ;;
9442 *) objformat=elf ;;
9443 esac
9445 version_type=freebsd-$objformat
9446 case $version_type in
9447 freebsd-elf*)
9448 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9449 need_version=no
9450 need_lib_prefix=no
9452 freebsd-*)
9453 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9454 need_version=yes
9456 esac
9457 shlibpath_var=LD_LIBRARY_PATH
9458 case $host_os in
9459 freebsd2*)
9460 shlibpath_overrides_runpath=yes
9462 freebsd3.[01]* | freebsdelf3.[01]*)
9463 shlibpath_overrides_runpath=yes
9464 hardcode_into_libs=yes
9466 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9467 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9468 shlibpath_overrides_runpath=no
9469 hardcode_into_libs=yes
9471 *) # from 4.6 on, and DragonFly
9472 shlibpath_overrides_runpath=yes
9473 hardcode_into_libs=yes
9475 esac
9478 gnu*)
9479 version_type=linux
9480 need_lib_prefix=no
9481 need_version=no
9482 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9483 soname_spec='${libname}${release}${shared_ext}$major'
9484 shlibpath_var=LD_LIBRARY_PATH
9485 hardcode_into_libs=yes
9488 haiku*)
9489 version_type=linux
9490 need_lib_prefix=no
9491 need_version=no
9492 dynamic_linker="$host_os runtime_loader"
9493 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9494 soname_spec='${libname}${release}${shared_ext}$major'
9495 shlibpath_var=LIBRARY_PATH
9496 shlibpath_overrides_runpath=yes
9497 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
9498 hardcode_into_libs=yes
9501 hpux9* | hpux10* | hpux11*)
9502 # Give a soname corresponding to the major version so that dld.sl refuses to
9503 # link against other versions.
9504 version_type=sunos
9505 need_lib_prefix=no
9506 need_version=no
9507 case $host_cpu in
9508 ia64*)
9509 shrext_cmds='.so'
9510 hardcode_into_libs=yes
9511 dynamic_linker="$host_os dld.so"
9512 shlibpath_var=LD_LIBRARY_PATH
9513 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9514 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9515 soname_spec='${libname}${release}${shared_ext}$major'
9516 if test "X$HPUX_IA64_MODE" = X32; then
9517 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9518 else
9519 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9521 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9523 hppa*64*)
9524 shrext_cmds='.sl'
9525 hardcode_into_libs=yes
9526 dynamic_linker="$host_os dld.sl"
9527 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9528 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9529 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9530 soname_spec='${libname}${release}${shared_ext}$major'
9531 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9532 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9535 shrext_cmds='.sl'
9536 dynamic_linker="$host_os dld.sl"
9537 shlibpath_var=SHLIB_PATH
9538 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9539 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9540 soname_spec='${libname}${release}${shared_ext}$major'
9542 esac
9543 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
9544 postinstall_cmds='chmod 555 $lib'
9545 # or fails outright, so override atomically:
9546 install_override_mode=555
9549 interix[3-9]*)
9550 version_type=linux
9551 need_lib_prefix=no
9552 need_version=no
9553 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9554 soname_spec='${libname}${release}${shared_ext}$major'
9555 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9556 shlibpath_var=LD_LIBRARY_PATH
9557 shlibpath_overrides_runpath=no
9558 hardcode_into_libs=yes
9561 irix5* | irix6* | nonstopux*)
9562 case $host_os in
9563 nonstopux*) version_type=nonstopux ;;
9565 if test "$lt_cv_prog_gnu_ld" = yes; then
9566 version_type=linux
9567 else
9568 version_type=irix
9569 fi ;;
9570 esac
9571 need_lib_prefix=no
9572 need_version=no
9573 soname_spec='${libname}${release}${shared_ext}$major'
9574 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9575 case $host_os in
9576 irix5* | nonstopux*)
9577 libsuff= shlibsuff=
9580 case $LD in # libtool.m4 will add one of these switches to LD
9581 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9582 libsuff= shlibsuff= libmagic=32-bit;;
9583 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9584 libsuff=32 shlibsuff=N32 libmagic=N32;;
9585 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9586 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9587 *) libsuff= shlibsuff= libmagic=never-match;;
9588 esac
9590 esac
9591 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9592 shlibpath_overrides_runpath=no
9593 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9594 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9595 hardcode_into_libs=yes
9598 # No shared lib support for Linux oldld, aout, or coff.
9599 linux*oldld* | linux*aout* | linux*coff*)
9600 dynamic_linker=no
9603 # This must be Linux ELF.
9604 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9605 version_type=linux
9606 need_lib_prefix=no
9607 need_version=no
9608 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9609 soname_spec='${libname}${release}${shared_ext}$major'
9610 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9611 shlibpath_var=LD_LIBRARY_PATH
9612 shlibpath_overrides_runpath=no
9614 # Some binutils ld are patched to set DT_RUNPATH
9615 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
9616 $as_echo_n "(cached) " >&6
9617 else
9618 lt_cv_shlibpath_overrides_runpath=no
9619 save_LDFLAGS=$LDFLAGS
9620 save_libdir=$libdir
9621 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9622 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9624 /* end confdefs.h. */
9627 main ()
9631 return 0;
9633 _ACEOF
9634 if ac_fn_c_try_link "$LINENO"; then :
9635 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
9636 lt_cv_shlibpath_overrides_runpath=yes
9639 rm -f core conftest.err conftest.$ac_objext \
9640 conftest$ac_exeext conftest.$ac_ext
9641 LDFLAGS=$save_LDFLAGS
9642 libdir=$save_libdir
9646 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
9648 # This implies no fast_install, which is unacceptable.
9649 # Some rework will be needed to allow for fast_install
9650 # before this can be enabled.
9651 hardcode_into_libs=yes
9653 # Append ld.so.conf contents to the search path
9654 if test -f /etc/ld.so.conf; then
9655 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' ' '`
9656 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9659 # We used to test for /lib/ld.so.1 and disable shared libraries on
9660 # powerpc, because MkLinux only supported shared libraries with the
9661 # GNU dynamic linker. Since this was broken with cross compilers,
9662 # most powerpc-linux boxes support dynamic linking these days and
9663 # people can always --disable-shared, the test was removed, and we
9664 # assume the GNU/Linux dynamic linker is in use.
9665 dynamic_linker='GNU/Linux ld.so'
9668 netbsd*)
9669 version_type=sunos
9670 need_lib_prefix=no
9671 need_version=no
9672 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9673 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9674 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9675 dynamic_linker='NetBSD (a.out) ld.so'
9676 else
9677 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9678 soname_spec='${libname}${release}${shared_ext}$major'
9679 dynamic_linker='NetBSD ld.elf_so'
9681 shlibpath_var=LD_LIBRARY_PATH
9682 shlibpath_overrides_runpath=yes
9683 hardcode_into_libs=yes
9686 newsos6)
9687 version_type=linux
9688 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9689 shlibpath_var=LD_LIBRARY_PATH
9690 shlibpath_overrides_runpath=yes
9693 *nto* | *qnx*)
9694 version_type=qnx
9695 need_lib_prefix=no
9696 need_version=no
9697 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9698 soname_spec='${libname}${release}${shared_ext}$major'
9699 shlibpath_var=LD_LIBRARY_PATH
9700 shlibpath_overrides_runpath=no
9701 hardcode_into_libs=yes
9702 dynamic_linker='ldqnx.so'
9705 openbsd*)
9706 version_type=sunos
9707 sys_lib_dlsearch_path_spec="/usr/lib"
9708 need_lib_prefix=no
9709 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9710 case $host_os in
9711 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9712 *) need_version=no ;;
9713 esac
9714 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9715 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9716 shlibpath_var=LD_LIBRARY_PATH
9717 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9718 case $host_os in
9719 openbsd2.[89] | openbsd2.[89].*)
9720 shlibpath_overrides_runpath=no
9723 shlibpath_overrides_runpath=yes
9725 esac
9726 else
9727 shlibpath_overrides_runpath=yes
9731 os2*)
9732 libname_spec='$name'
9733 shrext_cmds=".dll"
9734 need_lib_prefix=no
9735 library_names_spec='$libname${shared_ext} $libname.a'
9736 dynamic_linker='OS/2 ld.exe'
9737 shlibpath_var=LIBPATH
9740 osf3* | osf4* | osf5*)
9741 version_type=osf
9742 need_lib_prefix=no
9743 need_version=no
9744 soname_spec='${libname}${release}${shared_ext}$major'
9745 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9746 shlibpath_var=LD_LIBRARY_PATH
9747 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9748 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9751 rdos*)
9752 dynamic_linker=no
9755 solaris*)
9756 version_type=linux
9757 need_lib_prefix=no
9758 need_version=no
9759 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9760 soname_spec='${libname}${release}${shared_ext}$major'
9761 shlibpath_var=LD_LIBRARY_PATH
9762 shlibpath_overrides_runpath=yes
9763 hardcode_into_libs=yes
9764 # ldd complains unless libraries are executable
9765 postinstall_cmds='chmod +x $lib'
9768 sunos4*)
9769 version_type=sunos
9770 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9771 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9772 shlibpath_var=LD_LIBRARY_PATH
9773 shlibpath_overrides_runpath=yes
9774 if test "$with_gnu_ld" = yes; then
9775 need_lib_prefix=no
9777 need_version=yes
9780 sysv4 | sysv4.3*)
9781 version_type=linux
9782 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9783 soname_spec='${libname}${release}${shared_ext}$major'
9784 shlibpath_var=LD_LIBRARY_PATH
9785 case $host_vendor in
9786 sni)
9787 shlibpath_overrides_runpath=no
9788 need_lib_prefix=no
9789 runpath_var=LD_RUN_PATH
9791 siemens)
9792 need_lib_prefix=no
9794 motorola)
9795 need_lib_prefix=no
9796 need_version=no
9797 shlibpath_overrides_runpath=no
9798 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9800 esac
9803 sysv4*MP*)
9804 if test -d /usr/nec ;then
9805 version_type=linux
9806 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9807 soname_spec='$libname${shared_ext}.$major'
9808 shlibpath_var=LD_LIBRARY_PATH
9812 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9813 version_type=freebsd-elf
9814 need_lib_prefix=no
9815 need_version=no
9816 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9817 soname_spec='${libname}${release}${shared_ext}$major'
9818 shlibpath_var=LD_LIBRARY_PATH
9819 shlibpath_overrides_runpath=yes
9820 hardcode_into_libs=yes
9821 if test "$with_gnu_ld" = yes; then
9822 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9823 else
9824 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9825 case $host_os in
9826 sco3.2v5*)
9827 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9829 esac
9831 sys_lib_dlsearch_path_spec='/usr/lib'
9834 tpf*)
9835 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9836 version_type=linux
9837 need_lib_prefix=no
9838 need_version=no
9839 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9840 shlibpath_var=LD_LIBRARY_PATH
9841 shlibpath_overrides_runpath=no
9842 hardcode_into_libs=yes
9845 uts4*)
9846 version_type=linux
9847 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9848 soname_spec='${libname}${release}${shared_ext}$major'
9849 shlibpath_var=LD_LIBRARY_PATH
9853 dynamic_linker=no
9855 esac
9856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
9857 $as_echo "$dynamic_linker" >&6; }
9858 test "$dynamic_linker" = no && can_build_shared=no
9860 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9861 if test "$GCC" = yes; then
9862 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9865 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9866 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
9868 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9869 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
9963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
9964 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9965 hardcode_action=
9966 if test -n "$hardcode_libdir_flag_spec" ||
9967 test -n "$runpath_var" ||
9968 test "X$hardcode_automatic" = "Xyes" ; then
9970 # We can hardcode non-existent directories.
9971 if test "$hardcode_direct" != no &&
9972 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9973 # have to relink, otherwise we might link with an installed library
9974 # when we should be linking with a yet-to-be-installed one
9975 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9976 test "$hardcode_minus_L" != no; then
9977 # Linking always hardcodes the temporary library directory.
9978 hardcode_action=relink
9979 else
9980 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9981 hardcode_action=immediate
9983 else
9984 # We cannot hardcode anything, or else we can only hardcode existing
9985 # directories.
9986 hardcode_action=unsupported
9988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
9989 $as_echo "$hardcode_action" >&6; }
9991 if test "$hardcode_action" = relink ||
9992 test "$inherit_rpath" = yes; then
9993 # Fast installation is not supported
9994 enable_fast_install=no
9995 elif test "$shlibpath_overrides_runpath" = yes ||
9996 test "$enable_shared" = no; then
9997 # Fast installation is not necessary
9998 enable_fast_install=needless
10006 if test "x$enable_dlopen" != xyes; then
10007 enable_dlopen=unknown
10008 enable_dlopen_self=unknown
10009 enable_dlopen_self_static=unknown
10010 else
10011 lt_cv_dlopen=no
10012 lt_cv_dlopen_libs=
10014 case $host_os in
10015 beos*)
10016 lt_cv_dlopen="load_add_on"
10017 lt_cv_dlopen_libs=
10018 lt_cv_dlopen_self=yes
10021 mingw* | pw32* | cegcc*)
10022 lt_cv_dlopen="LoadLibrary"
10023 lt_cv_dlopen_libs=
10026 cygwin*)
10027 lt_cv_dlopen="dlopen"
10028 lt_cv_dlopen_libs=
10031 darwin*)
10032 # if libdl is installed we need to link against it
10033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10034 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10035 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10036 $as_echo_n "(cached) " >&6
10037 else
10038 ac_check_lib_save_LIBS=$LIBS
10039 LIBS="-ldl $LIBS"
10040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10041 /* end confdefs.h. */
10043 /* Override any GCC internal prototype to avoid an error.
10044 Use char because int might match the return type of a GCC
10045 builtin and then its argument prototype would still apply. */
10046 #ifdef __cplusplus
10047 extern "C"
10048 #endif
10049 char dlopen ();
10051 main ()
10053 return dlopen ();
10055 return 0;
10057 _ACEOF
10058 if ac_fn_c_try_link "$LINENO"; then :
10059 ac_cv_lib_dl_dlopen=yes
10060 else
10061 ac_cv_lib_dl_dlopen=no
10063 rm -f core conftest.err conftest.$ac_objext \
10064 conftest$ac_exeext conftest.$ac_ext
10065 LIBS=$ac_check_lib_save_LIBS
10067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10068 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10069 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10070 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10071 else
10073 lt_cv_dlopen="dyld"
10074 lt_cv_dlopen_libs=
10075 lt_cv_dlopen_self=yes
10082 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10083 if test "x$ac_cv_func_shl_load" = x""yes; then :
10084 lt_cv_dlopen="shl_load"
10085 else
10086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10087 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10088 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10089 $as_echo_n "(cached) " >&6
10090 else
10091 ac_check_lib_save_LIBS=$LIBS
10092 LIBS="-ldld $LIBS"
10093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10094 /* end confdefs.h. */
10096 /* Override any GCC internal prototype to avoid an error.
10097 Use char because int might match the return type of a GCC
10098 builtin and then its argument prototype would still apply. */
10099 #ifdef __cplusplus
10100 extern "C"
10101 #endif
10102 char shl_load ();
10104 main ()
10106 return shl_load ();
10108 return 0;
10110 _ACEOF
10111 if ac_fn_c_try_link "$LINENO"; then :
10112 ac_cv_lib_dld_shl_load=yes
10113 else
10114 ac_cv_lib_dld_shl_load=no
10116 rm -f core conftest.err conftest.$ac_objext \
10117 conftest$ac_exeext conftest.$ac_ext
10118 LIBS=$ac_check_lib_save_LIBS
10120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10121 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10122 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10123 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10124 else
10125 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10126 if test "x$ac_cv_func_dlopen" = x""yes; then :
10127 lt_cv_dlopen="dlopen"
10128 else
10129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10130 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10131 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10132 $as_echo_n "(cached) " >&6
10133 else
10134 ac_check_lib_save_LIBS=$LIBS
10135 LIBS="-ldl $LIBS"
10136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10137 /* end confdefs.h. */
10139 /* Override any GCC internal prototype to avoid an error.
10140 Use char because int might match the return type of a GCC
10141 builtin and then its argument prototype would still apply. */
10142 #ifdef __cplusplus
10143 extern "C"
10144 #endif
10145 char dlopen ();
10147 main ()
10149 return dlopen ();
10151 return 0;
10153 _ACEOF
10154 if ac_fn_c_try_link "$LINENO"; then :
10155 ac_cv_lib_dl_dlopen=yes
10156 else
10157 ac_cv_lib_dl_dlopen=no
10159 rm -f core conftest.err conftest.$ac_objext \
10160 conftest$ac_exeext conftest.$ac_ext
10161 LIBS=$ac_check_lib_save_LIBS
10163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10164 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10165 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10166 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10167 else
10168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10169 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10170 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10171 $as_echo_n "(cached) " >&6
10172 else
10173 ac_check_lib_save_LIBS=$LIBS
10174 LIBS="-lsvld $LIBS"
10175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10176 /* end confdefs.h. */
10178 /* Override any GCC internal prototype to avoid an error.
10179 Use char because int might match the return type of a GCC
10180 builtin and then its argument prototype would still apply. */
10181 #ifdef __cplusplus
10182 extern "C"
10183 #endif
10184 char dlopen ();
10186 main ()
10188 return dlopen ();
10190 return 0;
10192 _ACEOF
10193 if ac_fn_c_try_link "$LINENO"; then :
10194 ac_cv_lib_svld_dlopen=yes
10195 else
10196 ac_cv_lib_svld_dlopen=no
10198 rm -f core conftest.err conftest.$ac_objext \
10199 conftest$ac_exeext conftest.$ac_ext
10200 LIBS=$ac_check_lib_save_LIBS
10202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10203 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10204 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10205 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10206 else
10207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10208 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10209 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10210 $as_echo_n "(cached) " >&6
10211 else
10212 ac_check_lib_save_LIBS=$LIBS
10213 LIBS="-ldld $LIBS"
10214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10215 /* end confdefs.h. */
10217 /* Override any GCC internal prototype to avoid an error.
10218 Use char because int might match the return type of a GCC
10219 builtin and then its argument prototype would still apply. */
10220 #ifdef __cplusplus
10221 extern "C"
10222 #endif
10223 char dld_link ();
10225 main ()
10227 return dld_link ();
10229 return 0;
10231 _ACEOF
10232 if ac_fn_c_try_link "$LINENO"; then :
10233 ac_cv_lib_dld_dld_link=yes
10234 else
10235 ac_cv_lib_dld_dld_link=no
10237 rm -f core conftest.err conftest.$ac_objext \
10238 conftest$ac_exeext conftest.$ac_ext
10239 LIBS=$ac_check_lib_save_LIBS
10241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10242 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10243 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10244 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10263 esac
10265 if test "x$lt_cv_dlopen" != xno; then
10266 enable_dlopen=yes
10267 else
10268 enable_dlopen=no
10271 case $lt_cv_dlopen in
10272 dlopen)
10273 save_CPPFLAGS="$CPPFLAGS"
10274 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10276 save_LDFLAGS="$LDFLAGS"
10277 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10279 save_LIBS="$LIBS"
10280 LIBS="$lt_cv_dlopen_libs $LIBS"
10282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10283 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10284 if test "${lt_cv_dlopen_self+set}" = set; then :
10285 $as_echo_n "(cached) " >&6
10286 else
10287 if test "$cross_compiling" = yes; then :
10288 lt_cv_dlopen_self=cross
10289 else
10290 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10291 lt_status=$lt_dlunknown
10292 cat > conftest.$ac_ext <<_LT_EOF
10293 #line 10293 "configure"
10294 #include "confdefs.h"
10296 #if HAVE_DLFCN_H
10297 #include <dlfcn.h>
10298 #endif
10300 #include <stdio.h>
10302 #ifdef RTLD_GLOBAL
10303 # define LT_DLGLOBAL RTLD_GLOBAL
10304 #else
10305 # ifdef DL_GLOBAL
10306 # define LT_DLGLOBAL DL_GLOBAL
10307 # else
10308 # define LT_DLGLOBAL 0
10309 # endif
10310 #endif
10312 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10313 find out it does not work in some platform. */
10314 #ifndef LT_DLLAZY_OR_NOW
10315 # ifdef RTLD_LAZY
10316 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10317 # else
10318 # ifdef DL_LAZY
10319 # define LT_DLLAZY_OR_NOW DL_LAZY
10320 # else
10321 # ifdef RTLD_NOW
10322 # define LT_DLLAZY_OR_NOW RTLD_NOW
10323 # else
10324 # ifdef DL_NOW
10325 # define LT_DLLAZY_OR_NOW DL_NOW
10326 # else
10327 # define LT_DLLAZY_OR_NOW 0
10328 # endif
10329 # endif
10330 # endif
10331 # endif
10332 #endif
10334 /* When -fvisbility=hidden is used, assume the code has been annotated
10335 correspondingly for the symbols needed. */
10336 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10337 void fnord () __attribute__((visibility("default")));
10338 #endif
10340 void fnord () { int i=42; }
10341 int main ()
10343 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10344 int status = $lt_dlunknown;
10346 if (self)
10348 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10349 else
10351 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10352 else puts (dlerror ());
10354 /* dlclose (self); */
10356 else
10357 puts (dlerror ());
10359 return status;
10361 _LT_EOF
10362 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10363 (eval $ac_link) 2>&5
10364 ac_status=$?
10365 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10366 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10367 (./conftest; exit; ) >&5 2>/dev/null
10368 lt_status=$?
10369 case x$lt_status in
10370 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10371 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10372 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10373 esac
10374 else :
10375 # compilation failed
10376 lt_cv_dlopen_self=no
10379 rm -fr conftest*
10383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10384 $as_echo "$lt_cv_dlopen_self" >&6; }
10386 if test "x$lt_cv_dlopen_self" = xyes; then
10387 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10389 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10390 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10391 $as_echo_n "(cached) " >&6
10392 else
10393 if test "$cross_compiling" = yes; then :
10394 lt_cv_dlopen_self_static=cross
10395 else
10396 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10397 lt_status=$lt_dlunknown
10398 cat > conftest.$ac_ext <<_LT_EOF
10399 #line 10399 "configure"
10400 #include "confdefs.h"
10402 #if HAVE_DLFCN_H
10403 #include <dlfcn.h>
10404 #endif
10406 #include <stdio.h>
10408 #ifdef RTLD_GLOBAL
10409 # define LT_DLGLOBAL RTLD_GLOBAL
10410 #else
10411 # ifdef DL_GLOBAL
10412 # define LT_DLGLOBAL DL_GLOBAL
10413 # else
10414 # define LT_DLGLOBAL 0
10415 # endif
10416 #endif
10418 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10419 find out it does not work in some platform. */
10420 #ifndef LT_DLLAZY_OR_NOW
10421 # ifdef RTLD_LAZY
10422 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10423 # else
10424 # ifdef DL_LAZY
10425 # define LT_DLLAZY_OR_NOW DL_LAZY
10426 # else
10427 # ifdef RTLD_NOW
10428 # define LT_DLLAZY_OR_NOW RTLD_NOW
10429 # else
10430 # ifdef DL_NOW
10431 # define LT_DLLAZY_OR_NOW DL_NOW
10432 # else
10433 # define LT_DLLAZY_OR_NOW 0
10434 # endif
10435 # endif
10436 # endif
10437 # endif
10438 #endif
10440 /* When -fvisbility=hidden is used, assume the code has been annotated
10441 correspondingly for the symbols needed. */
10442 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10443 void fnord () __attribute__((visibility("default")));
10444 #endif
10446 void fnord () { int i=42; }
10447 int main ()
10449 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10450 int status = $lt_dlunknown;
10452 if (self)
10454 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10455 else
10457 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10458 else puts (dlerror ());
10460 /* dlclose (self); */
10462 else
10463 puts (dlerror ());
10465 return status;
10467 _LT_EOF
10468 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10469 (eval $ac_link) 2>&5
10470 ac_status=$?
10471 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10472 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10473 (./conftest; exit; ) >&5 2>/dev/null
10474 lt_status=$?
10475 case x$lt_status in
10476 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10477 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10478 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10479 esac
10480 else :
10481 # compilation failed
10482 lt_cv_dlopen_self_static=no
10485 rm -fr conftest*
10489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10490 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10493 CPPFLAGS="$save_CPPFLAGS"
10494 LDFLAGS="$save_LDFLAGS"
10495 LIBS="$save_LIBS"
10497 esac
10499 case $lt_cv_dlopen_self in
10500 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10501 *) enable_dlopen_self=unknown ;;
10502 esac
10504 case $lt_cv_dlopen_self_static in
10505 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10506 *) enable_dlopen_self_static=unknown ;;
10507 esac
10526 striplib=
10527 old_striplib=
10528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10529 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10530 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10531 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10532 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10534 $as_echo "yes" >&6; }
10535 else
10536 # FIXME - insert some real tests, host_os isn't really good enough
10537 case $host_os in
10538 darwin*)
10539 if test -n "$STRIP" ; then
10540 striplib="$STRIP -x"
10541 old_striplib="$STRIP -S"
10542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10543 $as_echo "yes" >&6; }
10544 else
10545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10546 $as_echo "no" >&6; }
10550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10551 $as_echo "no" >&6; }
10553 esac
10567 # Report which library types will actually be built
10568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10569 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10571 $as_echo "$can_build_shared" >&6; }
10573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10574 $as_echo_n "checking whether to build shared libraries... " >&6; }
10575 test "$can_build_shared" = "no" && enable_shared=no
10577 # On AIX, shared libraries and static libraries use the same namespace, and
10578 # are all built from PIC.
10579 case $host_os in
10580 aix3*)
10581 test "$enable_shared" = yes && enable_static=no
10582 if test -n "$RANLIB"; then
10583 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10584 postinstall_cmds='$RANLIB $lib'
10588 aix[4-9]*)
10589 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10590 test "$enable_shared" = yes && enable_static=no
10593 esac
10594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10595 $as_echo "$enable_shared" >&6; }
10597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10598 $as_echo_n "checking whether to build static libraries... " >&6; }
10599 # Make sure either enable_shared or enable_static is yes.
10600 test "$enable_shared" = yes || enable_static=yes
10601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10602 $as_echo "$enable_static" >&6; }
10608 ac_ext=c
10609 ac_cpp='$CPP $CPPFLAGS'
10610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10614 CC="$lt_save_CC"
10628 ac_config_commands="$ac_config_commands libtool"
10633 # Only expand once:
10640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
10641 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
10642 # Check whether --enable-maintainer-mode was given.
10643 if test "${enable_maintainer_mode+set}" = set; then :
10644 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
10645 else
10646 USE_MAINTAINER_MODE=no
10649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
10650 $as_echo "$USE_MAINTAINER_MODE" >&6; }
10651 if test $USE_MAINTAINER_MODE = yes; then
10652 MAINTAINER_MODE_TRUE=
10653 MAINTAINER_MODE_FALSE='#'
10654 else
10655 MAINTAINER_MODE_TRUE='#'
10656 MAINTAINER_MODE_FALSE=
10659 MAINT=$MAINTAINER_MODE_TRUE
10662 # Default to --enable-multilib
10663 # Check whether --enable-multilib was given.
10664 if test "${enable_multilib+set}" = set; then :
10665 enableval=$enable_multilib; case "$enableval" in
10666 yes) multilib=yes ;;
10667 no) multilib=no ;;
10668 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
10669 esac
10670 else
10671 multilib=yes
10675 # We may get other options which we leave undocumented:
10676 # --with-target-subdir, --with-multisrctop, --with-multisubdir
10677 # See config-ml.in if you want the gory details.
10679 if test "$srcdir" = "."; then
10680 if test "$with_target_subdir" != "."; then
10681 multi_basedir="$srcdir/$with_multisrctop../.."
10682 else
10683 multi_basedir="$srcdir/$with_multisrctop.."
10685 else
10686 multi_basedir="$srcdir/.."
10690 # Even if the default multilib is not a cross compilation,
10691 # it may be that some of the other multilibs are.
10692 if test $cross_compiling = no && test $multilib = yes \
10693 && test "x${with_multisubdir}" != x ; then
10694 cross_compiling=maybe
10697 ac_config_commands="$ac_config_commands default-1"
10700 # Calculate toolexeclibdir
10701 # Also toolexecdir, though it's only used in toolexeclibdir
10702 case ${version_specific_libs} in
10703 yes)
10704 # Need the gcc compiler version to know where to install libraries
10705 # and header files if --enable-version-specific-runtime-libs option
10706 # is selected.
10707 toolexecdir='$(libdir)/gcc/$(target_alias)'
10708 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
10711 if test -n "$with_cross_host" &&
10712 test x"$with_cross_host" != x"no"; then
10713 # Install a library built with a cross compiler in tooldir, not libdir.
10714 toolexecdir='$(exec_prefix)/$(target_alias)'
10715 toolexeclibdir='$(toolexecdir)/lib'
10716 else
10717 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
10718 toolexeclibdir='$(libdir)'
10720 multi_os_directory=`$CC -print-multi-os-directory`
10721 case $multi_os_directory in
10722 .) ;; # Avoid trailing /.
10723 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
10724 esac
10726 esac
10730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl in -lm" >&5
10731 $as_echo_n "checking for sqrtl in -lm... " >&6; }
10732 if test "${ac_cv_lib_m_sqrtl+set}" = set; then :
10733 $as_echo_n "(cached) " >&6
10734 else
10735 ac_check_lib_save_LIBS=$LIBS
10736 LIBS="-lm $LIBS"
10737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10738 /* end confdefs.h. */
10740 /* Override any GCC internal prototype to avoid an error.
10741 Use char because int might match the return type of a GCC
10742 builtin and then its argument prototype would still apply. */
10743 #ifdef __cplusplus
10744 extern "C"
10745 #endif
10746 char sqrtl ();
10748 main ()
10750 return sqrtl ();
10752 return 0;
10754 _ACEOF
10755 if ac_fn_c_try_link "$LINENO"; then :
10756 ac_cv_lib_m_sqrtl=yes
10757 else
10758 ac_cv_lib_m_sqrtl=no
10760 rm -f core conftest.err conftest.$ac_objext \
10761 conftest$ac_exeext conftest.$ac_ext
10762 LIBS=$ac_check_lib_save_LIBS
10764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrtl" >&5
10765 $as_echo "$ac_cv_lib_m_sqrtl" >&6; }
10766 if test "x$ac_cv_lib_m_sqrtl" = x""yes; then :
10768 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
10772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cbrtl in -lm" >&5
10773 $as_echo_n "checking for cbrtl in -lm... " >&6; }
10774 if test "${ac_cv_lib_m_cbrtl+set}" = set; then :
10775 $as_echo_n "(cached) " >&6
10776 else
10777 ac_check_lib_save_LIBS=$LIBS
10778 LIBS="-lm $LIBS"
10779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10780 /* end confdefs.h. */
10782 /* Override any GCC internal prototype to avoid an error.
10783 Use char because int might match the return type of a GCC
10784 builtin and then its argument prototype would still apply. */
10785 #ifdef __cplusplus
10786 extern "C"
10787 #endif
10788 char cbrtl ();
10790 main ()
10792 return cbrtl ();
10794 return 0;
10796 _ACEOF
10797 if ac_fn_c_try_link "$LINENO"; then :
10798 ac_cv_lib_m_cbrtl=yes
10799 else
10800 ac_cv_lib_m_cbrtl=no
10802 rm -f core conftest.err conftest.$ac_objext \
10803 conftest$ac_exeext conftest.$ac_ext
10804 LIBS=$ac_check_lib_save_LIBS
10806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cbrtl" >&5
10807 $as_echo "$ac_cv_lib_m_cbrtl" >&6; }
10808 if test "x$ac_cv_lib_m_cbrtl" = x""yes; then :
10810 $as_echo "#define HAVE_CBRTL 1" >>confdefs.h
10815 # Check for symbol versioning (copied from libssp).
10816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
10817 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
10818 save_LDFLAGS="$LDFLAGS"
10819 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
10820 cat > conftest.map <<EOF
10821 FOO_1.0 {
10822 global: *foo*; bar; local: *;
10825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10826 /* end confdefs.h. */
10827 int foo;
10829 main ()
10833 return 0;
10835 _ACEOF
10836 if ac_fn_c_try_link "$LINENO"; then :
10837 quadmath_use_symver=gnu
10838 else
10839 quadmath_use_symver=no
10841 rm -f core conftest.err conftest.$ac_objext \
10842 conftest$ac_exeext conftest.$ac_ext
10843 if test x$quadmath_use_symver = xno; then
10844 case "$target_os" in
10845 solaris2*)
10846 LDFLAGS="$save_LDFLAGS"
10847 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
10848 # Sun ld cannot handle wildcards and treats all entries as undefined.
10849 cat > conftest.map <<EOF
10850 FOO_1.0 {
10851 global: foo; local: *;
10854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10855 /* end confdefs.h. */
10856 int foo;
10858 main ()
10862 return 0;
10864 _ACEOF
10865 if ac_fn_c_try_link "$LINENO"; then :
10866 quadmath_use_symver=sun
10867 else
10868 quadmath_use_symver=no
10870 rm -f core conftest.err conftest.$ac_objext \
10871 conftest$ac_exeext conftest.$ac_ext
10873 esac
10875 LDFLAGS="$save_LDFLAGS"
10876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $quadmath_use_symver" >&5
10877 $as_echo "$quadmath_use_symver" >&6; }
10878 if test "x$quadmath_use_symver" != xno; then
10879 LIBQUAD_USE_SYMVER_TRUE=
10880 LIBQUAD_USE_SYMVER_FALSE='#'
10881 else
10882 LIBQUAD_USE_SYMVER_TRUE='#'
10883 LIBQUAD_USE_SYMVER_FALSE=
10886 if test "x$quadmath_use_symver" = xgnu; then
10887 LIBQUAD_USE_SYMVER_GNU_TRUE=
10888 LIBQUAD_USE_SYMVER_GNU_FALSE='#'
10889 else
10890 LIBQUAD_USE_SYMVER_GNU_TRUE='#'
10891 LIBQUAD_USE_SYMVER_GNU_FALSE=
10894 if test "x$quadmath_use_symver" = xsun; then
10895 LIBQUAD_USE_SYMVER_SUN_TRUE=
10896 LIBQUAD_USE_SYMVER_SUN_FALSE='#'
10897 else
10898 LIBQUAD_USE_SYMVER_SUN_TRUE='#'
10899 LIBQUAD_USE_SYMVER_SUN_FALSE=
10903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __float128 is supported" >&5
10904 $as_echo_n "checking whether __float128 is supported... " >&6; }
10905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10906 /* end confdefs.h. */
10908 typedef _Complex float __attribute__((mode(TC))) __complex128;
10910 __float128 foo (__float128 x)
10913 __complex128 z1, z2;
10915 z1 = x;
10916 z2 = x / 7.Q;
10917 z2 /= z1;
10919 return (__float128) z2;
10922 __float128 bar (__float128 x)
10924 return x * __builtin_huge_valq ();
10928 main ()
10931 foo (1.2Q);
10932 bar (1.2Q);
10935 return 0;
10937 _ACEOF
10938 if ac_fn_c_try_link "$LINENO"; then :
10940 libquad_have_float128=yes
10942 else
10944 libquad_have_float128=no
10947 rm -f core conftest.err conftest.$ac_objext \
10948 conftest$ac_exeext conftest.$ac_ext
10949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libquad_have_float128" >&5
10950 $as_echo "$libquad_have_float128" >&6; }
10953 if test "x$libquad_have_float128" = xyes; then
10954 BUILD_LIBQUADMATH_TRUE=
10955 BUILD_LIBQUADMATH_FALSE='#'
10956 else
10957 BUILD_LIBQUADMATH_TRUE='#'
10958 BUILD_LIBQUADMATH_FALSE=
10962 cat >confcache <<\_ACEOF
10963 # This file is a shell script that caches the results of configure
10964 # tests run on this system so they can be shared between configure
10965 # scripts and configure runs, see configure's option --config-cache.
10966 # It is not useful on other systems. If it contains results you don't
10967 # want to keep, you may remove or edit it.
10969 # config.status only pays attention to the cache file if you give it
10970 # the --recheck option to rerun configure.
10972 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10973 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10974 # following values.
10976 _ACEOF
10978 # The following way of writing the cache mishandles newlines in values,
10979 # but we know of no workaround that is simple, portable, and efficient.
10980 # So, we kill variables containing newlines.
10981 # Ultrix sh set writes to stderr and can't be redirected directly,
10982 # and sets the high bit in the cache file unless we assign to the vars.
10984 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
10985 eval ac_val=\$$ac_var
10986 case $ac_val in #(
10987 *${as_nl}*)
10988 case $ac_var in #(
10989 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
10990 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
10991 esac
10992 case $ac_var in #(
10993 _ | IFS | as_nl) ;; #(
10994 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
10995 *) { eval $ac_var=; unset $ac_var;} ;;
10996 esac ;;
10997 esac
10998 done
11000 (set) 2>&1 |
11001 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11002 *${as_nl}ac_space=\ *)
11003 # `set' does not quote correctly, so add quotes: double-quote
11004 # substitution turns \\\\ into \\, and sed turns \\ into \.
11005 sed -n \
11006 "s/'/'\\\\''/g;
11007 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11008 ;; #(
11010 # `set' quotes correctly as required by POSIX, so do not add quotes.
11011 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11013 esac |
11014 sort
11016 sed '
11017 /^ac_cv_env_/b end
11018 t clear
11019 :clear
11020 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11021 t end
11022 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11023 :end' >>confcache
11024 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
11025 if test -w "$cache_file"; then
11026 test "x$cache_file" != "x/dev/null" &&
11027 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11028 $as_echo "$as_me: updating cache $cache_file" >&6;}
11029 cat confcache >$cache_file
11030 else
11031 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11032 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11035 rm -f confcache
11037 if test ${multilib} = yes; then
11038 multilib_arg="--enable-multilib"
11039 else
11040 multilib_arg=
11043 ac_config_files="$ac_config_files Makefile"
11045 cat >confcache <<\_ACEOF
11046 # This file is a shell script that caches the results of configure
11047 # tests run on this system so they can be shared between configure
11048 # scripts and configure runs, see configure's option --config-cache.
11049 # It is not useful on other systems. If it contains results you don't
11050 # want to keep, you may remove or edit it.
11052 # config.status only pays attention to the cache file if you give it
11053 # the --recheck option to rerun configure.
11055 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11056 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11057 # following values.
11059 _ACEOF
11061 # The following way of writing the cache mishandles newlines in values,
11062 # but we know of no workaround that is simple, portable, and efficient.
11063 # So, we kill variables containing newlines.
11064 # Ultrix sh set writes to stderr and can't be redirected directly,
11065 # and sets the high bit in the cache file unless we assign to the vars.
11067 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11068 eval ac_val=\$$ac_var
11069 case $ac_val in #(
11070 *${as_nl}*)
11071 case $ac_var in #(
11072 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11073 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11074 esac
11075 case $ac_var in #(
11076 _ | IFS | as_nl) ;; #(
11077 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
11078 *) { eval $ac_var=; unset $ac_var;} ;;
11079 esac ;;
11080 esac
11081 done
11083 (set) 2>&1 |
11084 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11085 *${as_nl}ac_space=\ *)
11086 # `set' does not quote correctly, so add quotes: double-quote
11087 # substitution turns \\\\ into \\, and sed turns \\ into \.
11088 sed -n \
11089 "s/'/'\\\\''/g;
11090 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11091 ;; #(
11093 # `set' quotes correctly as required by POSIX, so do not add quotes.
11094 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11096 esac |
11097 sort
11099 sed '
11100 /^ac_cv_env_/b end
11101 t clear
11102 :clear
11103 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11104 t end
11105 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11106 :end' >>confcache
11107 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
11108 if test -w "$cache_file"; then
11109 test "x$cache_file" != "x/dev/null" &&
11110 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11111 $as_echo "$as_me: updating cache $cache_file" >&6;}
11112 cat confcache >$cache_file
11113 else
11114 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11115 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11118 rm -f confcache
11120 test "x$prefix" = xNONE && prefix=$ac_default_prefix
11121 # Let make expand exec_prefix.
11122 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
11124 DEFS=-DHAVE_CONFIG_H
11126 ac_libobjs=
11127 ac_ltlibobjs=
11128 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11129 # 1. Remove the extension, and $U if already installed.
11130 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
11131 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
11132 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11133 # will be set to the directory where LIBOBJS objects are built.
11134 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11135 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
11136 done
11137 LIBOBJS=$ac_libobjs
11139 LTLIBOBJS=$ac_ltlibobjs
11142 if test -n "$EXEEXT"; then
11143 am__EXEEXT_TRUE=
11144 am__EXEEXT_FALSE='#'
11145 else
11146 am__EXEEXT_TRUE='#'
11147 am__EXEEXT_FALSE=
11150 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11151 as_fn_error "conditional \"AMDEP\" was never defined.
11152 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11154 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11155 as_fn_error "conditional \"am__fastdepCC\" was never defined.
11156 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11158 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
11159 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
11160 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11162 if test -z "${LIBQUAD_USE_SYMVER_TRUE}" && test -z "${LIBQUAD_USE_SYMVER_FALSE}"; then
11163 as_fn_error "conditional \"LIBQUAD_USE_SYMVER\" was never defined.
11164 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11166 if test -z "${LIBQUAD_USE_SYMVER_GNU_TRUE}" && test -z "${LIBQUAD_USE_SYMVER_GNU_FALSE}"; then
11167 as_fn_error "conditional \"LIBQUAD_USE_SYMVER_GNU\" was never defined.
11168 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11170 if test -z "${LIBQUAD_USE_SYMVER_SUN_TRUE}" && test -z "${LIBQUAD_USE_SYMVER_SUN_FALSE}"; then
11171 as_fn_error "conditional \"LIBQUAD_USE_SYMVER_SUN\" was never defined.
11172 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11174 if test -z "${BUILD_LIBQUADMATH_TRUE}" && test -z "${BUILD_LIBQUADMATH_FALSE}"; then
11175 as_fn_error "conditional \"BUILD_LIBQUADMATH\" was never defined.
11176 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11179 : ${CONFIG_STATUS=./config.status}
11180 ac_write_fail=0
11181 ac_clean_files_save=$ac_clean_files
11182 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11183 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11184 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11185 as_write_fail=0
11186 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
11187 #! $SHELL
11188 # Generated by $as_me.
11189 # Run this file to recreate the current configuration.
11190 # Compiler output produced by configure, useful for debugging
11191 # configure, is in config.log if it exists.
11193 debug=false
11194 ac_cs_recheck=false
11195 ac_cs_silent=false
11197 SHELL=\${CONFIG_SHELL-$SHELL}
11198 export SHELL
11199 _ASEOF
11200 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
11201 ## -------------------- ##
11202 ## M4sh Initialization. ##
11203 ## -------------------- ##
11205 # Be more Bourne compatible
11206 DUALCASE=1; export DUALCASE # for MKS sh
11207 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
11208 emulate sh
11209 NULLCMD=:
11210 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11211 # is contrary to our usage. Disable this feature.
11212 alias -g '${1+"$@"}'='"$@"'
11213 setopt NO_GLOB_SUBST
11214 else
11215 case `(set -o) 2>/dev/null` in #(
11216 *posix*) :
11217 set -o posix ;; #(
11218 *) :
11220 esac
11224 as_nl='
11226 export as_nl
11227 # Printing a long string crashes Solaris 7 /usr/bin/printf.
11228 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11229 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11230 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11231 # Prefer a ksh shell builtin over an external printf program on Solaris,
11232 # but without wasting forks for bash or zsh.
11233 if test -z "$BASH_VERSION$ZSH_VERSION" \
11234 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
11235 as_echo='print -r --'
11236 as_echo_n='print -rn --'
11237 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11238 as_echo='printf %s\n'
11239 as_echo_n='printf %s'
11240 else
11241 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11242 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
11243 as_echo_n='/usr/ucb/echo -n'
11244 else
11245 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11246 as_echo_n_body='eval
11247 arg=$1;
11248 case $arg in #(
11249 *"$as_nl"*)
11250 expr "X$arg" : "X\\(.*\\)$as_nl";
11251 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11252 esac;
11253 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
11255 export as_echo_n_body
11256 as_echo_n='sh -c $as_echo_n_body as_echo'
11258 export as_echo_body
11259 as_echo='sh -c $as_echo_body as_echo'
11262 # The user is always right.
11263 if test "${PATH_SEPARATOR+set}" != set; then
11264 PATH_SEPARATOR=:
11265 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11266 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11267 PATH_SEPARATOR=';'
11272 # IFS
11273 # We need space, tab and new line, in precisely that order. Quoting is
11274 # there to prevent editors from complaining about space-tab.
11275 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11276 # splitting by setting IFS to empty value.)
11277 IFS=" "" $as_nl"
11279 # Find who we are. Look in the path if we contain no directory separator.
11280 case $0 in #((
11281 *[\\/]* ) as_myself=$0 ;;
11282 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11283 for as_dir in $PATH
11285 IFS=$as_save_IFS
11286 test -z "$as_dir" && as_dir=.
11287 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11288 done
11289 IFS=$as_save_IFS
11292 esac
11293 # We did not find ourselves, most probably we were run as `sh COMMAND'
11294 # in which case we are not to be found in the path.
11295 if test "x$as_myself" = x; then
11296 as_myself=$0
11298 if test ! -f "$as_myself"; then
11299 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11300 exit 1
11303 # Unset variables that we do not need and which cause bugs (e.g. in
11304 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
11305 # suppresses any "Segmentation fault" message there. '((' could
11306 # trigger a bug in pdksh 5.2.14.
11307 for as_var in BASH_ENV ENV MAIL MAILPATH
11308 do eval test x\${$as_var+set} = xset \
11309 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
11310 done
11311 PS1='$ '
11312 PS2='> '
11313 PS4='+ '
11315 # NLS nuisances.
11316 LC_ALL=C
11317 export LC_ALL
11318 LANGUAGE=C
11319 export LANGUAGE
11321 # CDPATH.
11322 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11325 # as_fn_error ERROR [LINENO LOG_FD]
11326 # ---------------------------------
11327 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
11328 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
11329 # script with status $?, using 1 if that was 0.
11330 as_fn_error ()
11332 as_status=$?; test $as_status -eq 0 && as_status=1
11333 if test "$3"; then
11334 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
11335 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
11337 $as_echo "$as_me: error: $1" >&2
11338 as_fn_exit $as_status
11339 } # as_fn_error
11342 # as_fn_set_status STATUS
11343 # -----------------------
11344 # Set $? to STATUS, without forking.
11345 as_fn_set_status ()
11347 return $1
11348 } # as_fn_set_status
11350 # as_fn_exit STATUS
11351 # -----------------
11352 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
11353 as_fn_exit ()
11355 set +e
11356 as_fn_set_status $1
11357 exit $1
11358 } # as_fn_exit
11360 # as_fn_unset VAR
11361 # ---------------
11362 # Portably unset VAR.
11363 as_fn_unset ()
11365 { eval $1=; unset $1;}
11367 as_unset=as_fn_unset
11368 # as_fn_append VAR VALUE
11369 # ----------------------
11370 # Append the text in VALUE to the end of the definition contained in VAR. Take
11371 # advantage of any shell optimizations that allow amortized linear growth over
11372 # repeated appends, instead of the typical quadratic growth present in naive
11373 # implementations.
11374 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
11375 eval 'as_fn_append ()
11377 eval $1+=\$2
11379 else
11380 as_fn_append ()
11382 eval $1=\$$1\$2
11384 fi # as_fn_append
11386 # as_fn_arith ARG...
11387 # ------------------
11388 # Perform arithmetic evaluation on the ARGs, and store the result in the
11389 # global $as_val. Take advantage of shells that can avoid forks. The arguments
11390 # must be portable across $(()) and expr.
11391 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
11392 eval 'as_fn_arith ()
11394 as_val=$(( $* ))
11396 else
11397 as_fn_arith ()
11399 as_val=`expr "$@" || test $? -eq 1`
11401 fi # as_fn_arith
11404 if expr a : '\(a\)' >/dev/null 2>&1 &&
11405 test "X`expr 00001 : '.*\(...\)'`" = X001; then
11406 as_expr=expr
11407 else
11408 as_expr=false
11411 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11412 as_basename=basename
11413 else
11414 as_basename=false
11417 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
11418 as_dirname=dirname
11419 else
11420 as_dirname=false
11423 as_me=`$as_basename -- "$0" ||
11424 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11425 X"$0" : 'X\(//\)$' \| \
11426 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11427 $as_echo X/"$0" |
11428 sed '/^.*\/\([^/][^/]*\)\/*$/{
11429 s//\1/
11432 /^X\/\(\/\/\)$/{
11433 s//\1/
11436 /^X\/\(\/\).*/{
11437 s//\1/
11440 s/.*/./; q'`
11442 # Avoid depending upon Character Ranges.
11443 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11444 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11445 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11446 as_cr_digits='0123456789'
11447 as_cr_alnum=$as_cr_Letters$as_cr_digits
11449 ECHO_C= ECHO_N= ECHO_T=
11450 case `echo -n x` in #(((((
11451 -n*)
11452 case `echo 'xy\c'` in
11453 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
11454 xy) ECHO_C='\c';;
11455 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
11456 ECHO_T=' ';;
11457 esac;;
11459 ECHO_N='-n';;
11460 esac
11462 rm -f conf$$ conf$$.exe conf$$.file
11463 if test -d conf$$.dir; then
11464 rm -f conf$$.dir/conf$$.file
11465 else
11466 rm -f conf$$.dir
11467 mkdir conf$$.dir 2>/dev/null
11469 if (echo >conf$$.file) 2>/dev/null; then
11470 if ln -s conf$$.file conf$$ 2>/dev/null; then
11471 as_ln_s='ln -s'
11472 # ... but there are two gotchas:
11473 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11474 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11475 # In both cases, we have to default to `cp -p'.
11476 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
11477 as_ln_s='cp -p'
11478 elif ln conf$$.file conf$$ 2>/dev/null; then
11479 as_ln_s=ln
11480 else
11481 as_ln_s='cp -p'
11483 else
11484 as_ln_s='cp -p'
11486 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
11487 rmdir conf$$.dir 2>/dev/null
11490 # as_fn_mkdir_p
11491 # -------------
11492 # Create "$as_dir" as a directory, including parents if necessary.
11493 as_fn_mkdir_p ()
11496 case $as_dir in #(
11497 -*) as_dir=./$as_dir;;
11498 esac
11499 test -d "$as_dir" || eval $as_mkdir_p || {
11500 as_dirs=
11501 while :; do
11502 case $as_dir in #(
11503 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
11504 *) as_qdir=$as_dir;;
11505 esac
11506 as_dirs="'$as_qdir' $as_dirs"
11507 as_dir=`$as_dirname -- "$as_dir" ||
11508 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11509 X"$as_dir" : 'X\(//\)[^/]' \| \
11510 X"$as_dir" : 'X\(//\)$' \| \
11511 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11512 $as_echo X"$as_dir" |
11513 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11514 s//\1/
11517 /^X\(\/\/\)[^/].*/{
11518 s//\1/
11521 /^X\(\/\/\)$/{
11522 s//\1/
11525 /^X\(\/\).*/{
11526 s//\1/
11529 s/.*/./; q'`
11530 test -d "$as_dir" && break
11531 done
11532 test -z "$as_dirs" || eval "mkdir $as_dirs"
11533 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
11536 } # as_fn_mkdir_p
11537 if mkdir -p . 2>/dev/null; then
11538 as_mkdir_p='mkdir -p "$as_dir"'
11539 else
11540 test -d ./-p && rmdir ./-p
11541 as_mkdir_p=false
11544 if test -x / >/dev/null 2>&1; then
11545 as_test_x='test -x'
11546 else
11547 if ls -dL / >/dev/null 2>&1; then
11548 as_ls_L_option=L
11549 else
11550 as_ls_L_option=
11552 as_test_x='
11553 eval sh -c '\''
11554 if test -d "$1"; then
11555 test -d "$1/.";
11556 else
11557 case $1 in #(
11558 -*)set "./$1";;
11559 esac;
11560 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
11561 ???[sx]*):;;*)false;;esac;fi
11562 '\'' sh
11565 as_executable_p=$as_test_x
11567 # Sed expression to map a string onto a valid CPP name.
11568 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11570 # Sed expression to map a string onto a valid variable name.
11571 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11574 exec 6>&1
11575 ## ----------------------------------- ##
11576 ## Main body of $CONFIG_STATUS script. ##
11577 ## ----------------------------------- ##
11578 _ASEOF
11579 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
11581 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11582 # Save the log message, to keep $0 and so on meaningful, and to
11583 # report actual input values of CONFIG_FILES etc. instead of their
11584 # values after options handling.
11585 ac_log="
11586 This file was extended by GCC Quad-precision Math Library $as_me 0.1, which was
11587 generated by GNU Autoconf 2.64. Invocation command line was
11589 CONFIG_FILES = $CONFIG_FILES
11590 CONFIG_HEADERS = $CONFIG_HEADERS
11591 CONFIG_LINKS = $CONFIG_LINKS
11592 CONFIG_COMMANDS = $CONFIG_COMMANDS
11593 $ $0 $@
11595 on `(hostname || uname -n) 2>/dev/null | sed 1q`
11598 _ACEOF
11600 case $ac_config_files in *"
11601 "*) set x $ac_config_files; shift; ac_config_files=$*;;
11602 esac
11604 case $ac_config_headers in *"
11605 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
11606 esac
11609 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11610 # Files that config.status was made for.
11611 config_files="$ac_config_files"
11612 config_headers="$ac_config_headers"
11613 config_commands="$ac_config_commands"
11615 _ACEOF
11617 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11618 ac_cs_usage="\
11619 \`$as_me' instantiates files and other configuration actions
11620 from templates according to the current configuration. Unless the files
11621 and actions are specified as TAGs, all are instantiated by default.
11623 Usage: $0 [OPTION]... [TAG]...
11625 -h, --help print this help, then exit
11626 -V, --version print version number and configuration settings, then exit
11627 -q, --quiet, --silent
11628 do not print progress messages
11629 -d, --debug don't remove temporary files
11630 --recheck update $as_me by reconfiguring in the same conditions
11631 --file=FILE[:TEMPLATE]
11632 instantiate the configuration file FILE
11633 --header=FILE[:TEMPLATE]
11634 instantiate the configuration header FILE
11636 Configuration files:
11637 $config_files
11639 Configuration headers:
11640 $config_headers
11642 Configuration commands:
11643 $config_commands
11645 Report bugs to the package provider."
11647 _ACEOF
11648 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11649 ac_cs_version="\\
11650 GCC Quad-precision Math Library config.status 0.1
11651 configured by $0, generated by GNU Autoconf 2.64,
11652 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
11654 Copyright (C) 2009 Free Software Foundation, Inc.
11655 This config.status script is free software; the Free Software Foundation
11656 gives unlimited permission to copy, distribute and modify it."
11658 ac_pwd='$ac_pwd'
11659 srcdir='$srcdir'
11660 INSTALL='$INSTALL'
11661 MKDIR_P='$MKDIR_P'
11662 AWK='$AWK'
11663 test -n "\$AWK" || AWK=awk
11664 _ACEOF
11666 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11667 # The default lists apply if the user does not specify any file.
11668 ac_need_defaults=:
11669 while test $# != 0
11671 case $1 in
11672 --*=*)
11673 ac_option=`expr "X$1" : 'X\([^=]*\)='`
11674 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
11675 ac_shift=:
11678 ac_option=$1
11679 ac_optarg=$2
11680 ac_shift=shift
11682 esac
11684 case $ac_option in
11685 # Handling of the options.
11686 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
11687 ac_cs_recheck=: ;;
11688 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
11689 $as_echo "$ac_cs_version"; exit ;;
11690 --debug | --debu | --deb | --de | --d | -d )
11691 debug=: ;;
11692 --file | --fil | --fi | --f )
11693 $ac_shift
11694 case $ac_optarg in
11695 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11696 esac
11697 as_fn_append CONFIG_FILES " '$ac_optarg'"
11698 ac_need_defaults=false;;
11699 --header | --heade | --head | --hea )
11700 $ac_shift
11701 case $ac_optarg in
11702 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11703 esac
11704 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
11705 ac_need_defaults=false;;
11706 --he | --h)
11707 # Conflict between --help and --header
11708 as_fn_error "ambiguous option: \`$1'
11709 Try \`$0 --help' for more information.";;
11710 --help | --hel | -h )
11711 $as_echo "$ac_cs_usage"; exit ;;
11712 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
11713 | -silent | --silent | --silen | --sile | --sil | --si | --s)
11714 ac_cs_silent=: ;;
11716 # This is an error.
11717 -*) as_fn_error "unrecognized option: \`$1'
11718 Try \`$0 --help' for more information." ;;
11720 *) as_fn_append ac_config_targets " $1"
11721 ac_need_defaults=false ;;
11723 esac
11724 shift
11725 done
11727 ac_configure_extra_args=
11729 if $ac_cs_silent; then
11730 exec 6>/dev/null
11731 ac_configure_extra_args="$ac_configure_extra_args --silent"
11734 _ACEOF
11735 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11736 if \$ac_cs_recheck; then
11737 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11738 shift
11739 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
11740 CONFIG_SHELL='$SHELL'
11741 export CONFIG_SHELL
11742 exec "\$@"
11745 _ACEOF
11746 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11747 exec 5>>config.log
11749 echo
11750 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11751 ## Running $as_me. ##
11752 _ASBOX
11753 $as_echo "$ac_log"
11754 } >&5
11756 _ACEOF
11757 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11759 # INIT-COMMANDS
11761 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
11764 # The HP-UX ksh and POSIX shell print the target directory to stdout
11765 # if CDPATH is set.
11766 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11768 sed_quote_subst='$sed_quote_subst'
11769 double_quote_subst='$double_quote_subst'
11770 delay_variable_subst='$delay_variable_subst'
11771 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
11772 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
11773 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
11774 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
11775 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
11776 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
11777 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
11778 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
11779 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
11780 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
11781 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
11782 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
11783 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
11784 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
11785 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
11786 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
11787 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
11788 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
11789 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
11790 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
11791 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
11792 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
11793 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
11794 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
11795 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
11796 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
11797 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
11798 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
11799 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
11800 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
11801 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
11802 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
11803 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
11804 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
11805 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
11806 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
11807 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
11808 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
11809 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
11810 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
11811 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
11812 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
11813 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
11814 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
11815 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
11816 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
11817 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
11818 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
11819 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"`'
11820 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
11821 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
11822 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
11823 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
11824 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
11825 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
11826 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
11827 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
11828 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
11829 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
11830 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
11831 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
11832 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
11833 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
11834 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
11835 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
11836 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
11837 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
11838 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
11839 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
11840 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
11841 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
11842 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
11843 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
11844 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
11845 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
11846 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
11847 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
11848 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
11849 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
11850 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
11851 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
11852 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
11853 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
11854 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
11855 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
11856 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
11857 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
11858 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
11859 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
11860 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
11861 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
11862 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
11863 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
11864 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
11865 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
11866 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
11867 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
11868 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
11869 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
11870 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
11871 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
11872 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
11873 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
11874 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
11875 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
11876 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
11877 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
11878 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
11879 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
11880 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
11881 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
11882 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
11883 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
11884 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
11885 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
11886 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
11887 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
11888 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
11889 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
11890 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
11892 LTCC='$LTCC'
11893 LTCFLAGS='$LTCFLAGS'
11894 compiler='$compiler_DEFAULT'
11896 # A function that is used when there is no print builtin or printf.
11897 func_fallback_echo ()
11899 eval 'cat <<_LTECHO_EOF
11901 _LTECHO_EOF'
11904 # Quote evaled strings.
11905 for var in SHELL \
11906 ECHO \
11907 SED \
11908 GREP \
11909 EGREP \
11910 FGREP \
11911 LD \
11912 NM \
11913 LN_S \
11914 lt_SP2NL \
11915 lt_NL2SP \
11916 reload_flag \
11917 OBJDUMP \
11918 deplibs_check_method \
11919 file_magic_cmd \
11920 AR \
11921 AR_FLAGS \
11922 STRIP \
11923 RANLIB \
11924 CC \
11925 CFLAGS \
11926 compiler \
11927 lt_cv_sys_global_symbol_pipe \
11928 lt_cv_sys_global_symbol_to_cdecl \
11929 lt_cv_sys_global_symbol_to_c_name_address \
11930 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
11931 lt_prog_compiler_no_builtin_flag \
11932 lt_prog_compiler_wl \
11933 lt_prog_compiler_pic \
11934 lt_prog_compiler_static \
11935 lt_cv_prog_compiler_c_o \
11936 need_locks \
11937 DSYMUTIL \
11938 NMEDIT \
11939 LIPO \
11940 OTOOL \
11941 OTOOL64 \
11942 shrext_cmds \
11943 export_dynamic_flag_spec \
11944 whole_archive_flag_spec \
11945 compiler_needs_object \
11946 with_gnu_ld \
11947 allow_undefined_flag \
11948 no_undefined_flag \
11949 hardcode_libdir_flag_spec \
11950 hardcode_libdir_flag_spec_ld \
11951 hardcode_libdir_separator \
11952 fix_srcfile_path \
11953 exclude_expsyms \
11954 include_expsyms \
11955 file_list_spec \
11956 variables_saved_for_relink \
11957 libname_spec \
11958 library_names_spec \
11959 soname_spec \
11960 install_override_mode \
11961 finish_eval \
11962 old_striplib \
11963 striplib; do
11964 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
11965 *[\\\\\\\`\\"\\\$]*)
11966 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
11969 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
11971 esac
11972 done
11974 # Double-quote double-evaled strings.
11975 for var in reload_cmds \
11976 old_postinstall_cmds \
11977 old_postuninstall_cmds \
11978 old_archive_cmds \
11979 extract_expsyms_cmds \
11980 old_archive_from_new_cmds \
11981 old_archive_from_expsyms_cmds \
11982 archive_cmds \
11983 archive_expsym_cmds \
11984 module_cmds \
11985 module_expsym_cmds \
11986 export_symbols_cmds \
11987 prelink_cmds \
11988 postinstall_cmds \
11989 postuninstall_cmds \
11990 finish_cmds \
11991 sys_lib_search_path_spec \
11992 sys_lib_dlsearch_path_spec; do
11993 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
11994 *[\\\\\\\`\\"\\\$]*)
11995 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
11998 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12000 esac
12001 done
12003 ac_aux_dir='$ac_aux_dir'
12004 xsi_shell='$xsi_shell'
12005 lt_shell_append='$lt_shell_append'
12007 # See if we are running on zsh, and set the options which allow our
12008 # commands through without removal of \ escapes INIT.
12009 if test -n "\${ZSH_VERSION+set}" ; then
12010 setopt NO_GLOB_SUBST
12014 PACKAGE='$PACKAGE'
12015 VERSION='$VERSION'
12016 TIMESTAMP='$TIMESTAMP'
12017 RM='$RM'
12018 ofile='$ofile'
12023 srcdir="$srcdir"
12024 host="$host"
12025 target="$target"
12026 with_multisubdir="$with_multisubdir"
12027 with_multisrctop="$with_multisrctop"
12028 with_target_subdir="$with_target_subdir"
12029 ac_configure_args="${multilib_arg} ${ac_configure_args}"
12030 multi_basedir="$multi_basedir"
12031 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
12032 CC="$CC"
12033 CXX="$CXX"
12034 GFORTRAN="$GFORTRAN"
12035 GCJ="$GCJ"
12037 _ACEOF
12039 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12041 # Handling of arguments.
12042 for ac_config_target in $ac_config_targets
12044 case $ac_config_target in
12045 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
12046 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
12047 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
12048 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
12049 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12051 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
12052 esac
12053 done
12056 # If the user did not use the arguments to specify the items to instantiate,
12057 # then the envvar interface is used. Set only those that are not.
12058 # We use the long form for the default assignment because of an extremely
12059 # bizarre bug on SunOS 4.1.3.
12060 if $ac_need_defaults; then
12061 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
12062 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
12063 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
12066 # Have a temporary directory for convenience. Make it in the build tree
12067 # simply because there is no reason against having it here, and in addition,
12068 # creating and moving files from /tmp can sometimes cause problems.
12069 # Hook for its removal unless debugging.
12070 # Note that there is a small window in which the directory will not be cleaned:
12071 # after its creation but before its name has been assigned to `$tmp'.
12072 $debug ||
12074 tmp=
12075 trap 'exit_status=$?
12076 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
12078 trap 'as_fn_exit 1' 1 2 13 15
12080 # Create a (secure) tmp directory for tmp files.
12083 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12084 test -n "$tmp" && test -d "$tmp"
12085 } ||
12087 tmp=./conf$$-$RANDOM
12088 (umask 077 && mkdir "$tmp")
12089 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
12091 # Set up the scripts for CONFIG_FILES section.
12092 # No need to generate them if there are no CONFIG_FILES.
12093 # This happens for instance with `./config.status config.h'.
12094 if test -n "$CONFIG_FILES"; then
12097 ac_cr=`echo X | tr X '\015'`
12098 # On cygwin, bash can eat \r inside `` if the user requested igncr.
12099 # But we know of no other shell where ac_cr would be empty at this
12100 # point, so we can use a bashism as a fallback.
12101 if test "x$ac_cr" = x; then
12102 eval ac_cr=\$\'\\r\'
12104 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12105 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12106 ac_cs_awk_cr='\r'
12107 else
12108 ac_cs_awk_cr=$ac_cr
12111 echo 'BEGIN {' >"$tmp/subs1.awk" &&
12112 _ACEOF
12116 echo "cat >conf$$subs.awk <<_ACEOF" &&
12117 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12118 echo "_ACEOF"
12119 } >conf$$subs.sh ||
12120 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
12121 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
12122 ac_delim='%!_!# '
12123 for ac_last_try in false false false false false :; do
12124 . ./conf$$subs.sh ||
12125 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
12127 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
12128 if test $ac_delim_n = $ac_delim_num; then
12129 break
12130 elif $ac_last_try; then
12131 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
12132 else
12133 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12135 done
12136 rm -f conf$$subs.sh
12138 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12139 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
12140 _ACEOF
12141 sed -n '
12143 s/^/S["/; s/!.*/"]=/
12146 s/^[^!]*!//
12147 :repl
12148 t repl
12149 s/'"$ac_delim"'$//
12150 t delim
12153 s/\(.\{148\}\).*/\1/
12154 t more1
12155 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
12158 b repl
12159 :more1
12160 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12163 s/.\{148\}//
12164 t nl
12165 :delim
12167 s/\(.\{148\}\).*/\1/
12168 t more2
12169 s/["\\]/\\&/g; s/^/"/; s/$/"/
12172 :more2
12173 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12176 s/.\{148\}//
12177 t delim
12178 ' <conf$$subs.awk | sed '
12179 /^[^""]/{
12181 s/\n//
12183 ' >>$CONFIG_STATUS || ac_write_fail=1
12184 rm -f conf$$subs.awk
12185 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12186 _ACAWK
12187 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
12188 for (key in S) S_is_set[key] = 1
12189 FS = "\a"
12193 line = $ 0
12194 nfields = split(line, field, "@")
12195 substed = 0
12196 len = length(field[1])
12197 for (i = 2; i < nfields; i++) {
12198 key = field[i]
12199 keylen = length(key)
12200 if (S_is_set[key]) {
12201 value = S[key]
12202 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
12203 len += length(value) + length(field[++i])
12204 substed = 1
12205 } else
12206 len += 1 + keylen
12209 print line
12212 _ACAWK
12213 _ACEOF
12214 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12215 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
12216 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
12217 else
12219 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
12220 || as_fn_error "could not setup config files machinery" "$LINENO" 5
12221 _ACEOF
12223 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12224 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
12225 # trailing colons and then remove the whole line if VPATH becomes empty
12226 # (actually we leave an empty line to preserve line numbers).
12227 if test "x$srcdir" = x.; then
12228 ac_vpsub='/^[ ]*VPATH[ ]*=/{
12229 s/:*\$(srcdir):*/:/
12230 s/:*\${srcdir}:*/:/
12231 s/:*@srcdir@:*/:/
12232 s/^\([^=]*=[ ]*\):*/\1/
12233 s/:*$//
12234 s/^[^=]*=[ ]*$//
12238 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12239 fi # test -n "$CONFIG_FILES"
12241 # Set up the scripts for CONFIG_HEADERS section.
12242 # No need to generate them if there are no CONFIG_HEADERS.
12243 # This happens for instance with `./config.status Makefile'.
12244 if test -n "$CONFIG_HEADERS"; then
12245 cat >"$tmp/defines.awk" <<\_ACAWK ||
12246 BEGIN {
12247 _ACEOF
12249 # Transform confdefs.h into an awk script `defines.awk', embedded as
12250 # here-document in config.status, that substitutes the proper values into
12251 # config.h.in to produce config.h.
12253 # Create a delimiter string that does not exist in confdefs.h, to ease
12254 # handling of long lines.
12255 ac_delim='%!_!# '
12256 for ac_last_try in false false :; do
12257 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
12258 if test -z "$ac_t"; then
12259 break
12260 elif $ac_last_try; then
12261 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
12262 else
12263 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12265 done
12267 # For the awk script, D is an array of macro values keyed by name,
12268 # likewise P contains macro parameters if any. Preserve backslash
12269 # newline sequences.
12271 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
12272 sed -n '
12273 s/.\{148\}/&'"$ac_delim"'/g
12274 t rset
12275 :rset
12276 s/^[ ]*#[ ]*define[ ][ ]*/ /
12277 t def
12279 :def
12280 s/\\$//
12281 t bsnl
12282 s/["\\]/\\&/g
12283 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
12284 D["\1"]=" \3"/p
12285 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
12287 :bsnl
12288 s/["\\]/\\&/g
12289 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
12290 D["\1"]=" \3\\\\\\n"\\/p
12291 t cont
12292 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
12293 t cont
12295 :cont
12297 s/.\{148\}/&'"$ac_delim"'/g
12298 t clear
12299 :clear
12300 s/\\$//
12301 t bsnlc
12302 s/["\\]/\\&/g; s/^/"/; s/$/"/p
12304 :bsnlc
12305 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
12306 b cont
12307 ' <confdefs.h | sed '
12308 s/'"$ac_delim"'/"\\\
12309 "/g' >>$CONFIG_STATUS || ac_write_fail=1
12311 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12312 for (key in D) D_is_set[key] = 1
12313 FS = "\a"
12315 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
12316 line = \$ 0
12317 split(line, arg, " ")
12318 if (arg[1] == "#") {
12319 defundef = arg[2]
12320 mac1 = arg[3]
12321 } else {
12322 defundef = substr(arg[1], 2)
12323 mac1 = arg[2]
12325 split(mac1, mac2, "(") #)
12326 macro = mac2[1]
12327 prefix = substr(line, 1, index(line, defundef) - 1)
12328 if (D_is_set[macro]) {
12329 # Preserve the white space surrounding the "#".
12330 print prefix "define", macro P[macro] D[macro]
12331 next
12332 } else {
12333 # Replace #undef with comments. This is necessary, for example,
12334 # in the case of _POSIX_SOURCE, which is predefined and required
12335 # on some systems where configure will not decide to define it.
12336 if (defundef == "undef") {
12337 print "/*", prefix defundef, macro, "*/"
12338 next
12342 { print }
12343 _ACAWK
12344 _ACEOF
12345 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12346 as_fn_error "could not setup config headers machinery" "$LINENO" 5
12347 fi # test -n "$CONFIG_HEADERS"
12350 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
12351 shift
12352 for ac_tag
12354 case $ac_tag in
12355 :[FHLC]) ac_mode=$ac_tag; continue;;
12356 esac
12357 case $ac_mode$ac_tag in
12358 :[FHL]*:*);;
12359 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
12360 :[FH]-) ac_tag=-:-;;
12361 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
12362 esac
12363 ac_save_IFS=$IFS
12364 IFS=:
12365 set x $ac_tag
12366 IFS=$ac_save_IFS
12367 shift
12368 ac_file=$1
12369 shift
12371 case $ac_mode in
12372 :L) ac_source=$1;;
12373 :[FH])
12374 ac_file_inputs=
12375 for ac_f
12377 case $ac_f in
12378 -) ac_f="$tmp/stdin";;
12379 *) # Look for the file first in the build tree, then in the source tree
12380 # (if the path is not absolute). The absolute path cannot be DOS-style,
12381 # because $ac_f cannot contain `:'.
12382 test -f "$ac_f" ||
12383 case $ac_f in
12384 [\\/$]*) false;;
12385 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
12386 esac ||
12387 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
12388 esac
12389 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12390 as_fn_append ac_file_inputs " '$ac_f'"
12391 done
12393 # Let's still pretend it is `configure' which instantiates (i.e., don't
12394 # use $as_me), people would be surprised to read:
12395 # /* config.h. Generated by config.status. */
12396 configure_input='Generated from '`
12397 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
12398 `' by configure.'
12399 if test x"$ac_file" != x-; then
12400 configure_input="$ac_file. $configure_input"
12401 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
12402 $as_echo "$as_me: creating $ac_file" >&6;}
12404 # Neutralize special characters interpreted by sed in replacement strings.
12405 case $configure_input in #(
12406 *\&* | *\|* | *\\* )
12407 ac_sed_conf_input=`$as_echo "$configure_input" |
12408 sed 's/[\\\\&|]/\\\\&/g'`;; #(
12409 *) ac_sed_conf_input=$configure_input;;
12410 esac
12412 case $ac_tag in
12413 *:-:* | *:-) cat >"$tmp/stdin" \
12414 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
12415 esac
12417 esac
12419 ac_dir=`$as_dirname -- "$ac_file" ||
12420 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12421 X"$ac_file" : 'X\(//\)[^/]' \| \
12422 X"$ac_file" : 'X\(//\)$' \| \
12423 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12424 $as_echo X"$ac_file" |
12425 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12426 s//\1/
12429 /^X\(\/\/\)[^/].*/{
12430 s//\1/
12433 /^X\(\/\/\)$/{
12434 s//\1/
12437 /^X\(\/\).*/{
12438 s//\1/
12441 s/.*/./; q'`
12442 as_dir="$ac_dir"; as_fn_mkdir_p
12443 ac_builddir=.
12445 case "$ac_dir" in
12446 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
12448 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
12449 # A ".." for each directory in $ac_dir_suffix.
12450 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
12451 case $ac_top_builddir_sub in
12452 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
12453 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
12454 esac ;;
12455 esac
12456 ac_abs_top_builddir=$ac_pwd
12457 ac_abs_builddir=$ac_pwd$ac_dir_suffix
12458 # for backward compatibility:
12459 ac_top_builddir=$ac_top_build_prefix
12461 case $srcdir in
12462 .) # We are building in place.
12463 ac_srcdir=.
12464 ac_top_srcdir=$ac_top_builddir_sub
12465 ac_abs_top_srcdir=$ac_pwd ;;
12466 [\\/]* | ?:[\\/]* ) # Absolute name.
12467 ac_srcdir=$srcdir$ac_dir_suffix;
12468 ac_top_srcdir=$srcdir
12469 ac_abs_top_srcdir=$srcdir ;;
12470 *) # Relative name.
12471 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
12472 ac_top_srcdir=$ac_top_build_prefix$srcdir
12473 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
12474 esac
12475 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
12478 case $ac_mode in
12481 # CONFIG_FILE
12484 case $INSTALL in
12485 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
12486 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
12487 esac
12488 ac_MKDIR_P=$MKDIR_P
12489 case $MKDIR_P in
12490 [\\/$]* | ?:[\\/]* ) ;;
12491 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
12492 esac
12493 _ACEOF
12495 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12496 # If the template does not know about datarootdir, expand it.
12497 # FIXME: This hack should be removed a few years after 2.60.
12498 ac_datarootdir_hack=; ac_datarootdir_seen=
12499 ac_sed_dataroot='
12500 /datarootdir/ {
12504 /@datadir@/p
12505 /@docdir@/p
12506 /@infodir@/p
12507 /@localedir@/p
12508 /@mandir@/p'
12509 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
12510 *datarootdir*) ac_datarootdir_seen=yes;;
12511 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
12512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
12513 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
12514 _ACEOF
12515 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12516 ac_datarootdir_hack='
12517 s&@datadir@&$datadir&g
12518 s&@docdir@&$docdir&g
12519 s&@infodir@&$infodir&g
12520 s&@localedir@&$localedir&g
12521 s&@mandir@&$mandir&g
12522 s&\\\${datarootdir}&$datarootdir&g' ;;
12523 esac
12524 _ACEOF
12526 # Neutralize VPATH when `$srcdir' = `.'.
12527 # Shell code in configure.ac might set extrasub.
12528 # FIXME: do we really want to maintain this feature?
12529 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12530 ac_sed_extra="$ac_vpsub
12531 $extrasub
12532 _ACEOF
12533 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12535 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12536 s|@configure_input@|$ac_sed_conf_input|;t t
12537 s&@top_builddir@&$ac_top_builddir_sub&;t t
12538 s&@top_build_prefix@&$ac_top_build_prefix&;t t
12539 s&@srcdir@&$ac_srcdir&;t t
12540 s&@abs_srcdir@&$ac_abs_srcdir&;t t
12541 s&@top_srcdir@&$ac_top_srcdir&;t t
12542 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
12543 s&@builddir@&$ac_builddir&;t t
12544 s&@abs_builddir@&$ac_abs_builddir&;t t
12545 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
12546 s&@INSTALL@&$ac_INSTALL&;t t
12547 s&@MKDIR_P@&$ac_MKDIR_P&;t t
12548 $ac_datarootdir_hack
12550 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
12551 || as_fn_error "could not create $ac_file" "$LINENO" 5
12553 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12554 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
12555 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
12556 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12557 which seems to be undefined. Please make sure it is defined." >&5
12558 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12559 which seems to be undefined. Please make sure it is defined." >&2;}
12561 rm -f "$tmp/stdin"
12562 case $ac_file in
12563 -) cat "$tmp/out" && rm -f "$tmp/out";;
12564 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
12565 esac \
12566 || as_fn_error "could not create $ac_file" "$LINENO" 5
12570 # CONFIG_HEADER
12572 if test x"$ac_file" != x-; then
12574 $as_echo "/* $configure_input */" \
12575 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
12576 } >"$tmp/config.h" \
12577 || as_fn_error "could not create $ac_file" "$LINENO" 5
12578 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
12579 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
12580 $as_echo "$as_me: $ac_file is unchanged" >&6;}
12581 else
12582 rm -f "$ac_file"
12583 mv "$tmp/config.h" "$ac_file" \
12584 || as_fn_error "could not create $ac_file" "$LINENO" 5
12586 else
12587 $as_echo "/* $configure_input */" \
12588 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
12589 || as_fn_error "could not create -" "$LINENO" 5
12591 # Compute "$ac_file"'s index in $config_headers.
12592 _am_arg="$ac_file"
12593 _am_stamp_count=1
12594 for _am_header in $config_headers :; do
12595 case $_am_header in
12596 $_am_arg | $_am_arg:* )
12597 break ;;
12599 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
12600 esac
12601 done
12602 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
12603 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12604 X"$_am_arg" : 'X\(//\)[^/]' \| \
12605 X"$_am_arg" : 'X\(//\)$' \| \
12606 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
12607 $as_echo X"$_am_arg" |
12608 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12609 s//\1/
12612 /^X\(\/\/\)[^/].*/{
12613 s//\1/
12616 /^X\(\/\/\)$/{
12617 s//\1/
12620 /^X\(\/\).*/{
12621 s//\1/
12624 s/.*/./; q'`/stamp-h$_am_stamp_count
12627 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
12628 $as_echo "$as_me: executing $ac_file commands" >&6;}
12630 esac
12633 case $ac_file$ac_mode in
12634 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
12635 # Autoconf 2.62 quotes --file arguments for eval, but not when files
12636 # are listed without --file. Let's play safe and only enable the eval
12637 # if we detect the quoting.
12638 case $CONFIG_FILES in
12639 *\'*) eval set x "$CONFIG_FILES" ;;
12640 *) set x $CONFIG_FILES ;;
12641 esac
12642 shift
12643 for mf
12645 # Strip MF so we end up with the name of the file.
12646 mf=`echo "$mf" | sed -e 's/:.*$//'`
12647 # Check whether this is an Automake generated Makefile or not.
12648 # We used to match only the files named `Makefile.in', but
12649 # some people rename them; so instead we look at the file content.
12650 # Grep'ing the first line is not enough: some people post-process
12651 # each Makefile.in and add a new line on top of each file to say so.
12652 # Grep'ing the whole file is not good either: AIX grep has a line
12653 # limit of 2048, but all sed's we know have understand at least 4000.
12654 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
12655 dirpart=`$as_dirname -- "$mf" ||
12656 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12657 X"$mf" : 'X\(//\)[^/]' \| \
12658 X"$mf" : 'X\(//\)$' \| \
12659 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
12660 $as_echo X"$mf" |
12661 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12662 s//\1/
12665 /^X\(\/\/\)[^/].*/{
12666 s//\1/
12669 /^X\(\/\/\)$/{
12670 s//\1/
12673 /^X\(\/\).*/{
12674 s//\1/
12677 s/.*/./; q'`
12678 else
12679 continue
12681 # Extract the definition of DEPDIR, am__include, and am__quote
12682 # from the Makefile without running `make'.
12683 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
12684 test -z "$DEPDIR" && continue
12685 am__include=`sed -n 's/^am__include = //p' < "$mf"`
12686 test -z "am__include" && continue
12687 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
12688 # When using ansi2knr, U may be empty or an underscore; expand it
12689 U=`sed -n 's/^U = //p' < "$mf"`
12690 # Find all dependency output files, they are included files with
12691 # $(DEPDIR) in their names. We invoke sed twice because it is the
12692 # simplest approach to changing $(DEPDIR) to its actual value in the
12693 # expansion.
12694 for file in `sed -n "
12695 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
12696 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
12697 # Make sure the directory exists.
12698 test -f "$dirpart/$file" && continue
12699 fdir=`$as_dirname -- "$file" ||
12700 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12701 X"$file" : 'X\(//\)[^/]' \| \
12702 X"$file" : 'X\(//\)$' \| \
12703 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
12704 $as_echo X"$file" |
12705 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12706 s//\1/
12709 /^X\(\/\/\)[^/].*/{
12710 s//\1/
12713 /^X\(\/\/\)$/{
12714 s//\1/
12717 /^X\(\/\).*/{
12718 s//\1/
12721 s/.*/./; q'`
12722 as_dir=$dirpart/$fdir; as_fn_mkdir_p
12723 # echo "creating $dirpart/$file"
12724 echo '# dummy' > "$dirpart/$file"
12725 done
12726 done
12729 "libtool":C)
12731 # See if we are running on zsh, and set the options which allow our
12732 # commands through without removal of \ escapes.
12733 if test -n "${ZSH_VERSION+set}" ; then
12734 setopt NO_GLOB_SUBST
12737 cfgfile="${ofile}T"
12738 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
12739 $RM "$cfgfile"
12741 cat <<_LT_EOF >> "$cfgfile"
12742 #! $SHELL
12744 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
12745 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
12746 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12747 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
12749 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
12750 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
12751 # Written by Gordon Matzigkeit, 1996
12753 # This file is part of GNU Libtool.
12755 # GNU Libtool is free software; you can redistribute it and/or
12756 # modify it under the terms of the GNU General Public License as
12757 # published by the Free Software Foundation; either version 2 of
12758 # the License, or (at your option) any later version.
12760 # As a special exception to the GNU General Public License,
12761 # if you distribute this file as part of a program or library that
12762 # is built using GNU Libtool, you may include this file under the
12763 # same distribution terms that you use for the rest of that program.
12765 # GNU Libtool is distributed in the hope that it will be useful,
12766 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12767 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12768 # GNU General Public License for more details.
12770 # You should have received a copy of the GNU General Public License
12771 # along with GNU Libtool; see the file COPYING. If not, a copy
12772 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
12773 # obtained by writing to the Free Software Foundation, Inc.,
12774 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
12777 # The names of the tagged configurations supported by this script.
12778 available_tags=""
12780 # ### BEGIN LIBTOOL CONFIG
12782 # Which release of libtool.m4 was used?
12783 macro_version=$macro_version
12784 macro_revision=$macro_revision
12786 # Whether or not to build shared libraries.
12787 build_libtool_libs=$enable_shared
12789 # Whether or not to build static libraries.
12790 build_old_libs=$enable_static
12792 # What type of objects to build.
12793 pic_mode=$pic_mode
12795 # Whether or not to optimize for fast installation.
12796 fast_install=$enable_fast_install
12798 # Shell to use when invoking shell scripts.
12799 SHELL=$lt_SHELL
12801 # An echo program that protects backslashes.
12802 ECHO=$lt_ECHO
12804 # The host system.
12805 host_alias=$host_alias
12806 host=$host
12807 host_os=$host_os
12809 # The build system.
12810 build_alias=$build_alias
12811 build=$build
12812 build_os=$build_os
12814 # A sed program that does not truncate output.
12815 SED=$lt_SED
12817 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
12818 Xsed="\$SED -e 1s/^X//"
12820 # A grep program that handles long lines.
12821 GREP=$lt_GREP
12823 # An ERE matcher.
12824 EGREP=$lt_EGREP
12826 # A literal string matcher.
12827 FGREP=$lt_FGREP
12829 # A BSD- or MS-compatible name lister.
12830 NM=$lt_NM
12832 # Whether we need soft or hard links.
12833 LN_S=$lt_LN_S
12835 # What is the maximum length of a command?
12836 max_cmd_len=$max_cmd_len
12838 # Object file suffix (normally "o").
12839 objext=$ac_objext
12841 # Executable file suffix (normally "").
12842 exeext=$exeext
12844 # whether the shell understands "unset".
12845 lt_unset=$lt_unset
12847 # turn spaces into newlines.
12848 SP2NL=$lt_lt_SP2NL
12850 # turn newlines into spaces.
12851 NL2SP=$lt_lt_NL2SP
12853 # An object symbol dumper.
12854 OBJDUMP=$lt_OBJDUMP
12856 # Method to check whether dependent libraries are shared objects.
12857 deplibs_check_method=$lt_deplibs_check_method
12859 # Command to use when deplibs_check_method == "file_magic".
12860 file_magic_cmd=$lt_file_magic_cmd
12862 # The archiver.
12863 AR=$lt_AR
12864 AR_FLAGS=$lt_AR_FLAGS
12866 # A symbol stripping program.
12867 STRIP=$lt_STRIP
12869 # Commands used to install an old-style archive.
12870 RANLIB=$lt_RANLIB
12871 old_postinstall_cmds=$lt_old_postinstall_cmds
12872 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12874 # Whether to use a lock for old archive extraction.
12875 lock_old_archive_extraction=$lock_old_archive_extraction
12877 # A C compiler.
12878 LTCC=$lt_CC
12880 # LTCC compiler flags.
12881 LTCFLAGS=$lt_CFLAGS
12883 # Take the output of nm and produce a listing of raw symbols and C names.
12884 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12886 # Transform the output of nm in a proper C declaration.
12887 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12889 # Transform the output of nm in a C name address pair.
12890 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12892 # Transform the output of nm in a C name address pair when lib prefix is needed.
12893 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
12895 # The name of the directory that contains temporary libtool files.
12896 objdir=$objdir
12898 # Used to examine libraries when file_magic_cmd begins with "file".
12899 MAGIC_CMD=$MAGIC_CMD
12901 # Must we lock files when doing compilation?
12902 need_locks=$lt_need_locks
12904 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
12905 DSYMUTIL=$lt_DSYMUTIL
12907 # Tool to change global to local symbols on Mac OS X.
12908 NMEDIT=$lt_NMEDIT
12910 # Tool to manipulate fat objects and archives on Mac OS X.
12911 LIPO=$lt_LIPO
12913 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
12914 OTOOL=$lt_OTOOL
12916 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
12917 OTOOL64=$lt_OTOOL64
12919 # Old archive suffix (normally "a").
12920 libext=$libext
12922 # Shared library suffix (normally ".so").
12923 shrext_cmds=$lt_shrext_cmds
12925 # The commands to extract the exported symbol list from a shared archive.
12926 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12928 # Variables whose values should be saved in libtool wrapper scripts and
12929 # restored at link time.
12930 variables_saved_for_relink=$lt_variables_saved_for_relink
12932 # Do we need the "lib" prefix for modules?
12933 need_lib_prefix=$need_lib_prefix
12935 # Do we need a version for libraries?
12936 need_version=$need_version
12938 # Library versioning type.
12939 version_type=$version_type
12941 # Shared library runtime path variable.
12942 runpath_var=$runpath_var
12944 # Shared library path variable.
12945 shlibpath_var=$shlibpath_var
12947 # Is shlibpath searched before the hard-coded library search path?
12948 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12950 # Format of library name prefix.
12951 libname_spec=$lt_libname_spec
12953 # List of archive names. First name is the real one, the rest are links.
12954 # The last name is the one that the linker finds with -lNAME
12955 library_names_spec=$lt_library_names_spec
12957 # The coded name of the library, if different from the real name.
12958 soname_spec=$lt_soname_spec
12960 # Permission mode override for installation of shared libraries.
12961 install_override_mode=$lt_install_override_mode
12963 # Command to use after installation of a shared archive.
12964 postinstall_cmds=$lt_postinstall_cmds
12966 # Command to use after uninstallation of a shared archive.
12967 postuninstall_cmds=$lt_postuninstall_cmds
12969 # Commands used to finish a libtool library installation in a directory.
12970 finish_cmds=$lt_finish_cmds
12972 # As "finish_cmds", except a single script fragment to be evaled but
12973 # not shown.
12974 finish_eval=$lt_finish_eval
12976 # Whether we should hardcode library paths into libraries.
12977 hardcode_into_libs=$hardcode_into_libs
12979 # Compile-time system search path for libraries.
12980 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12982 # Run-time system search path for libraries.
12983 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12985 # Whether dlopen is supported.
12986 dlopen_support=$enable_dlopen
12988 # Whether dlopen of programs is supported.
12989 dlopen_self=$enable_dlopen_self
12991 # Whether dlopen of statically linked programs is supported.
12992 dlopen_self_static=$enable_dlopen_self_static
12994 # Commands to strip libraries.
12995 old_striplib=$lt_old_striplib
12996 striplib=$lt_striplib
12999 # The linker used to build libraries.
13000 LD=$lt_LD
13002 # How to create reloadable object files.
13003 reload_flag=$lt_reload_flag
13004 reload_cmds=$lt_reload_cmds
13006 # Commands used to build an old-style archive.
13007 old_archive_cmds=$lt_old_archive_cmds
13009 # A language specific compiler.
13010 CC=$lt_compiler
13012 # Is the compiler the GNU compiler?
13013 with_gcc=$GCC
13015 # Compiler flag to turn off builtin functions.
13016 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13018 # How to pass a linker flag through the compiler.
13019 wl=$lt_lt_prog_compiler_wl
13021 # Additional compiler flags for building library objects.
13022 pic_flag=$lt_lt_prog_compiler_pic
13024 # Compiler flag to prevent dynamic linking.
13025 link_static_flag=$lt_lt_prog_compiler_static
13027 # Does compiler simultaneously support -c and -o options?
13028 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13030 # Whether or not to add -lc for building shared libraries.
13031 build_libtool_need_lc=$archive_cmds_need_lc
13033 # Whether or not to disallow shared libs when runtime libs are static.
13034 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13036 # Compiler flag to allow reflexive dlopens.
13037 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13039 # Compiler flag to generate shared objects directly from archives.
13040 whole_archive_flag_spec=$lt_whole_archive_flag_spec
13042 # Whether the compiler copes with passing no objects directly.
13043 compiler_needs_object=$lt_compiler_needs_object
13045 # Create an old-style archive from a shared archive.
13046 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13048 # Create a temporary old-style archive to link instead of a shared archive.
13049 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13051 # Commands used to build a shared archive.
13052 archive_cmds=$lt_archive_cmds
13053 archive_expsym_cmds=$lt_archive_expsym_cmds
13055 # Commands used to build a loadable module if different from building
13056 # a shared archive.
13057 module_cmds=$lt_module_cmds
13058 module_expsym_cmds=$lt_module_expsym_cmds
13060 # Whether we are building with GNU ld or not.
13061 with_gnu_ld=$lt_with_gnu_ld
13063 # Flag that allows shared libraries with undefined symbols to be built.
13064 allow_undefined_flag=$lt_allow_undefined_flag
13066 # Flag that enforces no undefined symbols.
13067 no_undefined_flag=$lt_no_undefined_flag
13069 # Flag to hardcode \$libdir into a binary during linking.
13070 # This must work even if \$libdir does not exist
13071 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13073 # If ld is used when linking, flag to hardcode \$libdir into a binary
13074 # during linking. This must work even if \$libdir does not exist.
13075 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
13077 # Whether we need a single "-rpath" flag with a separated argument.
13078 hardcode_libdir_separator=$lt_hardcode_libdir_separator
13080 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13081 # DIR into the resulting binary.
13082 hardcode_direct=$hardcode_direct
13084 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13085 # DIR into the resulting binary and the resulting library dependency is
13086 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13087 # library is relocated.
13088 hardcode_direct_absolute=$hardcode_direct_absolute
13090 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13091 # into the resulting binary.
13092 hardcode_minus_L=$hardcode_minus_L
13094 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13095 # into the resulting binary.
13096 hardcode_shlibpath_var=$hardcode_shlibpath_var
13098 # Set to "yes" if building a shared library automatically hardcodes DIR
13099 # into the library and all subsequent libraries and executables linked
13100 # against it.
13101 hardcode_automatic=$hardcode_automatic
13103 # Set to yes if linker adds runtime paths of dependent libraries
13104 # to runtime path list.
13105 inherit_rpath=$inherit_rpath
13107 # Whether libtool must link a program against all its dependency libraries.
13108 link_all_deplibs=$link_all_deplibs
13110 # Fix the shell variable \$srcfile for the compiler.
13111 fix_srcfile_path=$lt_fix_srcfile_path
13113 # Set to "yes" if exported symbols are required.
13114 always_export_symbols=$always_export_symbols
13116 # The commands to list exported symbols.
13117 export_symbols_cmds=$lt_export_symbols_cmds
13119 # Symbols that should not be listed in the preloaded symbols.
13120 exclude_expsyms=$lt_exclude_expsyms
13122 # Symbols that must always be exported.
13123 include_expsyms=$lt_include_expsyms
13125 # Commands necessary for linking programs (against libraries) with templates.
13126 prelink_cmds=$lt_prelink_cmds
13128 # Specify filename containing input files.
13129 file_list_spec=$lt_file_list_spec
13131 # How to hardcode a shared library path into an executable.
13132 hardcode_action=$hardcode_action
13134 # ### END LIBTOOL CONFIG
13136 _LT_EOF
13138 case $host_os in
13139 aix3*)
13140 cat <<\_LT_EOF >> "$cfgfile"
13141 # AIX sometimes has problems with the GCC collect2 program. For some
13142 # reason, if we set the COLLECT_NAMES environment variable, the problems
13143 # vanish in a puff of smoke.
13144 if test "X${COLLECT_NAMES+set}" != Xset; then
13145 COLLECT_NAMES=
13146 export COLLECT_NAMES
13148 _LT_EOF
13150 esac
13153 ltmain="$ac_aux_dir/ltmain.sh"
13156 # We use sed instead of cat because bash on DJGPP gets confused if
13157 # if finds mixed CR/LF and LF-only lines. Since sed operates in
13158 # text mode, it properly converts lines to CR/LF. This bash problem
13159 # is reportedly fixed, but why not run on old versions too?
13160 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
13161 || (rm -f "$cfgfile"; exit 1)
13163 case $xsi_shell in
13164 yes)
13165 cat << \_LT_EOF >> "$cfgfile"
13167 # func_dirname file append nondir_replacement
13168 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13169 # otherwise set result to NONDIR_REPLACEMENT.
13170 func_dirname ()
13172 case ${1} in
13173 */*) func_dirname_result="${1%/*}${2}" ;;
13174 * ) func_dirname_result="${3}" ;;
13175 esac
13178 # func_basename file
13179 func_basename ()
13181 func_basename_result="${1##*/}"
13184 # func_dirname_and_basename file append nondir_replacement
13185 # perform func_basename and func_dirname in a single function
13186 # call:
13187 # dirname: Compute the dirname of FILE. If nonempty,
13188 # add APPEND to the result, otherwise set result
13189 # to NONDIR_REPLACEMENT.
13190 # value returned in "$func_dirname_result"
13191 # basename: Compute filename of FILE.
13192 # value retuned in "$func_basename_result"
13193 # Implementation must be kept synchronized with func_dirname
13194 # and func_basename. For efficiency, we do not delegate to
13195 # those functions but instead duplicate the functionality here.
13196 func_dirname_and_basename ()
13198 case ${1} in
13199 */*) func_dirname_result="${1%/*}${2}" ;;
13200 * ) func_dirname_result="${3}" ;;
13201 esac
13202 func_basename_result="${1##*/}"
13205 # func_stripname prefix suffix name
13206 # strip PREFIX and SUFFIX off of NAME.
13207 # PREFIX and SUFFIX must not contain globbing or regex special
13208 # characters, hashes, percent signs, but SUFFIX may contain a leading
13209 # dot (in which case that matches only a dot).
13210 func_stripname ()
13212 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
13213 # positional parameters, so assign one to ordinary parameter first.
13214 func_stripname_result=${3}
13215 func_stripname_result=${func_stripname_result#"${1}"}
13216 func_stripname_result=${func_stripname_result%"${2}"}
13219 # func_opt_split
13220 func_opt_split ()
13222 func_opt_split_opt=${1%%=*}
13223 func_opt_split_arg=${1#*=}
13226 # func_lo2o object
13227 func_lo2o ()
13229 case ${1} in
13230 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
13231 *) func_lo2o_result=${1} ;;
13232 esac
13235 # func_xform libobj-or-source
13236 func_xform ()
13238 func_xform_result=${1%.*}.lo
13241 # func_arith arithmetic-term...
13242 func_arith ()
13244 func_arith_result=$(( $* ))
13247 # func_len string
13248 # STRING may not start with a hyphen.
13249 func_len ()
13251 func_len_result=${#1}
13254 _LT_EOF
13256 *) # Bourne compatible functions.
13257 cat << \_LT_EOF >> "$cfgfile"
13259 # func_dirname file append nondir_replacement
13260 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13261 # otherwise set result to NONDIR_REPLACEMENT.
13262 func_dirname ()
13264 # Extract subdirectory from the argument.
13265 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
13266 if test "X$func_dirname_result" = "X${1}"; then
13267 func_dirname_result="${3}"
13268 else
13269 func_dirname_result="$func_dirname_result${2}"
13273 # func_basename file
13274 func_basename ()
13276 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
13280 # func_stripname prefix suffix name
13281 # strip PREFIX and SUFFIX off of NAME.
13282 # PREFIX and SUFFIX must not contain globbing or regex special
13283 # characters, hashes, percent signs, but SUFFIX may contain a leading
13284 # dot (in which case that matches only a dot).
13285 # func_strip_suffix prefix name
13286 func_stripname ()
13288 case ${2} in
13289 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
13290 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
13291 esac
13294 # sed scripts:
13295 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
13296 my_sed_long_arg='1s/^-[^=]*=//'
13298 # func_opt_split
13299 func_opt_split ()
13301 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
13302 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
13305 # func_lo2o object
13306 func_lo2o ()
13308 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
13311 # func_xform libobj-or-source
13312 func_xform ()
13314 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
13317 # func_arith arithmetic-term...
13318 func_arith ()
13320 func_arith_result=`expr "$@"`
13323 # func_len string
13324 # STRING may not start with a hyphen.
13325 func_len ()
13327 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
13330 _LT_EOF
13331 esac
13333 case $lt_shell_append in
13334 yes)
13335 cat << \_LT_EOF >> "$cfgfile"
13337 # func_append var value
13338 # Append VALUE to the end of shell variable VAR.
13339 func_append ()
13341 eval "$1+=\$2"
13343 _LT_EOF
13346 cat << \_LT_EOF >> "$cfgfile"
13348 # func_append var value
13349 # Append VALUE to the end of shell variable VAR.
13350 func_append ()
13352 eval "$1=\$$1\$2"
13355 _LT_EOF
13357 esac
13360 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
13361 || (rm -f "$cfgfile"; exit 1)
13363 mv -f "$cfgfile" "$ofile" ||
13364 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13365 chmod +x "$ofile"
13368 "default-1":C)
13369 # Only add multilib support code if we just rebuilt the top-level
13370 # Makefile.
13371 case " $CONFIG_FILES " in
13372 *" Makefile "*)
13373 ac_file=Makefile . ${multi_basedir}/config-ml.in
13375 esac ;;
13377 esac
13378 done # for ac_tag
13381 as_fn_exit 0
13382 _ACEOF
13383 ac_clean_files=$ac_clean_files_save
13385 test $ac_write_fail = 0 ||
13386 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
13389 # configure is writing to config.log, and then calls config.status.
13390 # config.status does its own redirection, appending to config.log.
13391 # Unfortunately, on DOS this fails, as config.log is still kept open
13392 # by configure, so config.status won't be able to write to it; its
13393 # output is simply discarded. So we exec the FD to /dev/null,
13394 # effectively closing config.log, so it can be properly (re)opened and
13395 # appended to by config.status. When coming back to configure, we
13396 # need to make the FD available again.
13397 if test "$no_create" != yes; then
13398 ac_cs_success=:
13399 ac_config_status_args=
13400 test "$silent" = yes &&
13401 ac_config_status_args="$ac_config_status_args --quiet"
13402 exec 5>/dev/null
13403 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13404 exec 5>>config.log
13405 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13406 # would make configure fail if this is the last instruction.
13407 $ac_cs_success || as_fn_exit $?
13409 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
13410 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
13411 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}