Allow IPv6 address entry in tools>ping - Loosens valid character check
[tomato/davidwu.git] / release / src / router / lzo / configure
bloba72c8ab805a9f428e66b88dc402aab7ae5e1f513
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for LZO 2.06.
5 # Report bugs to <markus@oberhumer.com>.
7 # Copyright (C) 1996-2011 Markus Franz Xaver Johannes Oberhumer.
8 # All Rights Reserved.
9 # This configure script may be copied, distributed and modified under the
10 # terms of the GNU General Public License; see COPYING for more details.
13 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
14 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
15 # Foundation, Inc.
18 # This configure script is free software; the Free Software Foundation
19 # gives unlimited permission to copy, distribute and modify it.
20 ## -------------------- ##
21 ## M4sh Initialization. ##
22 ## -------------------- ##
24 # Be more Bourne compatible
25 DUALCASE=1; export DUALCASE # for MKS sh
26 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
27 emulate sh
28 NULLCMD=:
29 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
30 # is contrary to our usage. Disable this feature.
31 alias -g '${1+"$@"}'='"$@"'
32 setopt NO_GLOB_SUBST
33 else
34 case `(set -o) 2>/dev/null` in #(
35 *posix*) :
36 set -o posix ;; #(
37 *) :
39 esac
43 as_nl='
45 export as_nl
46 # Printing a long string crashes Solaris 7 /usr/bin/printf.
47 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
49 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
50 # Prefer a ksh shell builtin over an external printf program on Solaris,
51 # but without wasting forks for bash or zsh.
52 if test -z "$BASH_VERSION$ZSH_VERSION" \
53 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
54 as_echo='print -r --'
55 as_echo_n='print -rn --'
56 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
57 as_echo='printf %s\n'
58 as_echo_n='printf %s'
59 else
60 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
61 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
62 as_echo_n='/usr/ucb/echo -n'
63 else
64 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
65 as_echo_n_body='eval
66 arg=$1;
67 case $arg in #(
68 *"$as_nl"*)
69 expr "X$arg" : "X\\(.*\\)$as_nl";
70 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
71 esac;
72 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
74 export as_echo_n_body
75 as_echo_n='sh -c $as_echo_n_body as_echo'
77 export as_echo_body
78 as_echo='sh -c $as_echo_body as_echo'
81 # The user is always right.
82 if test "${PATH_SEPARATOR+set}" != set; then
83 PATH_SEPARATOR=:
84 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
85 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
86 PATH_SEPARATOR=';'
91 # IFS
92 # We need space, tab and new line, in precisely that order. Quoting is
93 # there to prevent editors from complaining about space-tab.
94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
95 # splitting by setting IFS to empty value.)
96 IFS=" "" $as_nl"
98 # Find who we are. Look in the path if we contain no directory separator.
99 case $0 in #((
100 *[\\/]* ) as_myself=$0 ;;
101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102 for as_dir in $PATH
104 IFS=$as_save_IFS
105 test -z "$as_dir" && as_dir=.
106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 done
108 IFS=$as_save_IFS
111 esac
112 # We did not find ourselves, most probably we were run as `sh COMMAND'
113 # in which case we are not to be found in the path.
114 if test "x$as_myself" = x; then
115 as_myself=$0
117 if test ! -f "$as_myself"; then
118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119 exit 1
122 # Unset variables that we do not need and which cause bugs (e.g. in
123 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
124 # suppresses any "Segmentation fault" message there. '((' could
125 # trigger a bug in pdksh 5.2.14.
126 for as_var in BASH_ENV ENV MAIL MAILPATH
127 do eval test x\${$as_var+set} = xset \
128 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
129 done
130 PS1='$ '
131 PS2='> '
132 PS4='+ '
134 # NLS nuisances.
135 LC_ALL=C
136 export LC_ALL
137 LANGUAGE=C
138 export LANGUAGE
140 # CDPATH.
141 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
143 if test "x$CONFIG_SHELL" = x; then
144 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
145 emulate sh
146 NULLCMD=:
147 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
148 # is contrary to our usage. Disable this feature.
149 alias -g '\${1+\"\$@\"}'='\"\$@\"'
150 setopt NO_GLOB_SUBST
151 else
152 case \`(set -o) 2>/dev/null\` in #(
153 *posix*) :
154 set -o posix ;; #(
155 *) :
157 esac
160 as_required="as_fn_return () { (exit \$1); }
161 as_fn_success () { as_fn_return 0; }
162 as_fn_failure () { as_fn_return 1; }
163 as_fn_ret_success () { return 0; }
164 as_fn_ret_failure () { return 1; }
166 exitcode=0
167 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
168 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
169 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
170 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
171 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
173 else
174 exitcode=1; echo positional parameters were not saved.
176 test x\$exitcode = x0 || exit 1"
177 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
178 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
179 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
180 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
181 test \$(( 1 + 1 )) = 2 || exit 1
183 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
184 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
185 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
186 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
187 PATH=/empty FPATH=/empty; export PATH FPATH
188 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
189 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
190 if (eval "$as_required") 2>/dev/null; then :
191 as_have_required=yes
192 else
193 as_have_required=no
195 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
197 else
198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
199 as_found=false
200 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
202 IFS=$as_save_IFS
203 test -z "$as_dir" && as_dir=.
204 as_found=:
205 case $as_dir in #(
207 for as_base in sh bash ksh sh5; do
208 # Try only shells that exist, to save several forks.
209 as_shell=$as_dir/$as_base
210 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
211 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
212 CONFIG_SHELL=$as_shell as_have_required=yes
213 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
214 break 2
217 done;;
218 esac
219 as_found=false
220 done
221 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
222 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
223 CONFIG_SHELL=$SHELL as_have_required=yes
224 fi; }
225 IFS=$as_save_IFS
228 if test "x$CONFIG_SHELL" != x; then :
229 # We cannot yet assume a decent shell, so we have to provide a
230 # neutralization value for shells without unset; and this also
231 # works around shells that cannot unset nonexistent variables.
232 BASH_ENV=/dev/null
233 ENV=/dev/null
234 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
235 export CONFIG_SHELL
236 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
239 if test x$as_have_required = xno; then :
240 $as_echo "$0: This script requires a shell more modern than all"
241 $as_echo "$0: the shells that I found on your system."
242 if test x${ZSH_VERSION+set} = xset ; then
243 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
244 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
245 else
246 $as_echo "$0: Please tell bug-autoconf@gnu.org and
247 $0: markus@oberhumer.com about your system, including any
248 $0: error possibly output before this message. Then install
249 $0: a modern shell, or manually run the script under such a
250 $0: shell if you do have one."
252 exit 1
256 SHELL=${CONFIG_SHELL-/bin/sh}
257 export SHELL
258 # Unset more variables known to interfere with behavior of common tools.
259 CLICOLOR_FORCE= GREP_OPTIONS=
260 unset CLICOLOR_FORCE GREP_OPTIONS
262 ## --------------------- ##
263 ## M4sh Shell Functions. ##
264 ## --------------------- ##
265 # as_fn_unset VAR
266 # ---------------
267 # Portably unset VAR.
268 as_fn_unset ()
270 { eval $1=; unset $1;}
272 as_unset=as_fn_unset
274 # as_fn_set_status STATUS
275 # -----------------------
276 # Set $? to STATUS, without forking.
277 as_fn_set_status ()
279 return $1
280 } # as_fn_set_status
282 # as_fn_exit STATUS
283 # -----------------
284 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
285 as_fn_exit ()
287 set +e
288 as_fn_set_status $1
289 exit $1
290 } # as_fn_exit
292 # as_fn_mkdir_p
293 # -------------
294 # Create "$as_dir" as a directory, including parents if necessary.
295 as_fn_mkdir_p ()
298 case $as_dir in #(
299 -*) as_dir=./$as_dir;;
300 esac
301 test -d "$as_dir" || eval $as_mkdir_p || {
302 as_dirs=
303 while :; do
304 case $as_dir in #(
305 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
306 *) as_qdir=$as_dir;;
307 esac
308 as_dirs="'$as_qdir' $as_dirs"
309 as_dir=`$as_dirname -- "$as_dir" ||
310 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
311 X"$as_dir" : 'X\(//\)[^/]' \| \
312 X"$as_dir" : 'X\(//\)$' \| \
313 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
314 $as_echo X"$as_dir" |
315 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316 s//\1/
319 /^X\(\/\/\)[^/].*/{
320 s//\1/
323 /^X\(\/\/\)$/{
324 s//\1/
327 /^X\(\/\).*/{
328 s//\1/
331 s/.*/./; q'`
332 test -d "$as_dir" && break
333 done
334 test -z "$as_dirs" || eval "mkdir $as_dirs"
335 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
338 } # as_fn_mkdir_p
339 # as_fn_append VAR VALUE
340 # ----------------------
341 # Append the text in VALUE to the end of the definition contained in VAR. Take
342 # advantage of any shell optimizations that allow amortized linear growth over
343 # repeated appends, instead of the typical quadratic growth present in naive
344 # implementations.
345 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
346 eval 'as_fn_append ()
348 eval $1+=\$2
350 else
351 as_fn_append ()
353 eval $1=\$$1\$2
355 fi # as_fn_append
357 # as_fn_arith ARG...
358 # ------------------
359 # Perform arithmetic evaluation on the ARGs, and store the result in the
360 # global $as_val. Take advantage of shells that can avoid forks. The arguments
361 # must be portable across $(()) and expr.
362 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
363 eval 'as_fn_arith ()
365 as_val=$(( $* ))
367 else
368 as_fn_arith ()
370 as_val=`expr "$@" || test $? -eq 1`
372 fi # as_fn_arith
375 # as_fn_error STATUS ERROR [LINENO LOG_FD]
376 # ----------------------------------------
377 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
378 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
379 # script with STATUS, using 1 if that was 0.
380 as_fn_error ()
382 as_status=$1; test $as_status -eq 0 && as_status=1
383 if test "$4"; then
384 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
385 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
387 $as_echo "$as_me: error: $2" >&2
388 as_fn_exit $as_status
389 } # as_fn_error
391 if expr a : '\(a\)' >/dev/null 2>&1 &&
392 test "X`expr 00001 : '.*\(...\)'`" = X001; then
393 as_expr=expr
394 else
395 as_expr=false
398 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
399 as_basename=basename
400 else
401 as_basename=false
404 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
405 as_dirname=dirname
406 else
407 as_dirname=false
410 as_me=`$as_basename -- "$0" ||
411 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
412 X"$0" : 'X\(//\)$' \| \
413 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
414 $as_echo X/"$0" |
415 sed '/^.*\/\([^/][^/]*\)\/*$/{
416 s//\1/
419 /^X\/\(\/\/\)$/{
420 s//\1/
423 /^X\/\(\/\).*/{
424 s//\1/
427 s/.*/./; q'`
429 # Avoid depending upon Character Ranges.
430 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
431 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
432 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
433 as_cr_digits='0123456789'
434 as_cr_alnum=$as_cr_Letters$as_cr_digits
437 as_lineno_1=$LINENO as_lineno_1a=$LINENO
438 as_lineno_2=$LINENO as_lineno_2a=$LINENO
439 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
440 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
441 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
442 sed -n '
444 /[$]LINENO/=
445 ' <$as_myself |
446 sed '
447 s/[$]LINENO.*/&-/
448 t lineno
450 :lineno
452 :loop
453 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
454 t loop
455 s/-\n.*//
456 ' >$as_me.lineno &&
457 chmod +x "$as_me.lineno" ||
458 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
463 . "./$as_me.lineno"
464 # Exit status is that of the last command.
465 exit
468 ECHO_C= ECHO_N= ECHO_T=
469 case `echo -n x` in #(((((
470 -n*)
471 case `echo 'xy\c'` in
472 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
473 xy) ECHO_C='\c';;
474 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
475 ECHO_T=' ';;
476 esac;;
478 ECHO_N='-n';;
479 esac
481 rm -f conf$$ conf$$.exe conf$$.file
482 if test -d conf$$.dir; then
483 rm -f conf$$.dir/conf$$.file
484 else
485 rm -f conf$$.dir
486 mkdir conf$$.dir 2>/dev/null
488 if (echo >conf$$.file) 2>/dev/null; then
489 if ln -s conf$$.file conf$$ 2>/dev/null; then
490 as_ln_s='ln -s'
491 # ... but there are two gotchas:
492 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
493 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
494 # In both cases, we have to default to `cp -p'.
495 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
496 as_ln_s='cp -p'
497 elif ln conf$$.file conf$$ 2>/dev/null; then
498 as_ln_s=ln
499 else
500 as_ln_s='cp -p'
502 else
503 as_ln_s='cp -p'
505 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
506 rmdir conf$$.dir 2>/dev/null
508 if mkdir -p . 2>/dev/null; then
509 as_mkdir_p='mkdir -p "$as_dir"'
510 else
511 test -d ./-p && rmdir ./-p
512 as_mkdir_p=false
515 if test -x / >/dev/null 2>&1; then
516 as_test_x='test -x'
517 else
518 if ls -dL / >/dev/null 2>&1; then
519 as_ls_L_option=L
520 else
521 as_ls_L_option=
523 as_test_x='
524 eval sh -c '\''
525 if test -d "$1"; then
526 test -d "$1/.";
527 else
528 case $1 in #(
529 -*)set "./$1";;
530 esac;
531 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
532 ???[sx]*):;;*)false;;esac;fi
533 '\'' sh
536 as_executable_p=$as_test_x
538 # Sed expression to map a string onto a valid CPP name.
539 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
541 # Sed expression to map a string onto a valid variable name.
542 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
544 SHELL=${CONFIG_SHELL-/bin/sh}
547 test -n "$DJDIR" || exec 7<&0 </dev/null
548 exec 6>&1
550 # Name of the host.
551 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
552 # so uname gets run too.
553 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
556 # Initializations.
558 ac_default_prefix=/usr/local
559 ac_clean_files=
560 ac_config_libobj_dir=.
561 LIBOBJS=
562 cross_compiling=no
563 subdirs=
564 MFLAGS=
565 MAKEFLAGS=
567 # Identity of this package.
568 PACKAGE_NAME='LZO'
569 PACKAGE_TARNAME='lzo'
570 PACKAGE_VERSION='2.06'
571 PACKAGE_STRING='LZO 2.06'
572 PACKAGE_BUGREPORT='markus@oberhumer.com'
573 PACKAGE_URL='http://www.oberhumer.com/opensource/lzo/'
575 ac_unique_file="src/lzo_init.c"
576 ac_default_prefix=/usr/local
577 # Factoring default headers for most tests.
578 ac_includes_default="\
579 #include <stdio.h>
580 #ifdef HAVE_SYS_TYPES_H
581 # include <sys/types.h>
582 #endif
583 #ifdef HAVE_SYS_STAT_H
584 # include <sys/stat.h>
585 #endif
586 #ifdef STDC_HEADERS
587 # include <stdlib.h>
588 # include <stddef.h>
589 #else
590 # ifdef HAVE_STDLIB_H
591 # include <stdlib.h>
592 # endif
593 #endif
594 #ifdef HAVE_STRING_H
595 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
596 # include <memory.h>
597 # endif
598 # include <string.h>
599 #endif
600 #ifdef HAVE_STRINGS_H
601 # include <strings.h>
602 #endif
603 #ifdef HAVE_INTTYPES_H
604 # include <inttypes.h>
605 #endif
606 #ifdef HAVE_STDINT_H
607 # include <stdint.h>
608 #endif
609 #ifdef HAVE_UNISTD_H
610 # include <unistd.h>
611 #endif"
613 ac_subst_vars='am__EXEEXT_FALSE
614 am__EXEEXT_TRUE
615 LTLIBOBJS
616 LIBOBJS
617 LZO_USE_ASM_i386_obj_elf32_FALSE
618 LZO_USE_ASM_i386_obj_elf32_TRUE
619 LZO_USE_ASM_i386_src_gas_FALSE
620 LZO_USE_ASM_i386_src_gas_TRUE
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
636 LIBTOOL
637 AM_BACKSLASH
638 AM_DEFAULT_VERBOSITY
639 am__fastdepCC_FALSE
640 am__fastdepCC_TRUE
641 CCDEPMODE
642 am__untar
643 am__tar
644 AMTAR
645 SET_MAKE
647 mkdir_p
648 MKDIR_P
649 INSTALL_STRIP_PROGRAM
650 STRIP
651 install_sh
652 MAKEINFO
653 AUTOHEADER
654 AUTOMAKE
655 AUTOCONF
656 ACLOCAL
657 VERSION
658 PACKAGE
659 CYGPATH_W
660 am__isrc
661 INSTALL_DATA
662 INSTALL_SCRIPT
663 INSTALL_PROGRAM
664 EGREP
665 GREP
667 am__fastdepCCAS_FALSE
668 am__fastdepCCAS_TRUE
669 CCASDEPMODE
670 AMDEPBACKSLASH
671 AMDEP_FALSE
672 AMDEP_TRUE
673 am__quote
674 am__include
675 DEPDIR
676 am__leading_dot
677 CCASFLAGS
678 CCAS
679 OBJEXT
680 EXEEXT
681 ac_ct_CC
682 CPPFLAGS
683 LDFLAGS
684 CFLAGS
686 MAINT
687 MAINTAINER_MODE_FALSE
688 MAINTAINER_MODE_TRUE
689 target_os
690 target_vendor
691 target_cpu
692 target
693 host_os
694 host_vendor
695 host_cpu
696 host
697 build_os
698 build_vendor
699 build_cpu
700 build
701 target_alias
702 host_alias
703 build_alias
704 LIBS
705 ECHO_T
706 ECHO_N
707 ECHO_C
708 DEFS
709 mandir
710 localedir
711 libdir
712 psdir
713 pdfdir
714 dvidir
715 htmldir
716 infodir
717 docdir
718 oldincludedir
719 includedir
720 localstatedir
721 sharedstatedir
722 sysconfdir
723 datadir
724 datarootdir
725 libexecdir
726 sbindir
727 bindir
728 program_transform_name
729 prefix
730 exec_prefix
731 PACKAGE_URL
732 PACKAGE_BUGREPORT
733 PACKAGE_STRING
734 PACKAGE_VERSION
735 PACKAGE_TARNAME
736 PACKAGE_NAME
737 PATH_SEPARATOR
738 SHELL'
739 ac_subst_files=''
740 ac_user_opts='
741 enable_option_checking
742 enable_maintainer_mode
743 enable_dependency_tracking
744 enable_largefile
745 enable_silent_rules
746 enable_static
747 enable_shared
748 with_pic
749 enable_fast_install
750 with_gnu_ld
751 enable_libtool_lock
752 enable_asm
754 ac_precious_vars='build_alias
755 host_alias
756 target_alias
758 CFLAGS
759 LDFLAGS
760 LIBS
761 CPPFLAGS
762 CCAS
763 CCASFLAGS
764 CPP'
767 # Initialize some variables set by options.
768 ac_init_help=
769 ac_init_version=false
770 ac_unrecognized_opts=
771 ac_unrecognized_sep=
772 # The variables have the same names as the options, with
773 # dashes changed to underlines.
774 cache_file=/dev/null
775 exec_prefix=NONE
776 no_create=
777 no_recursion=
778 prefix=NONE
779 program_prefix=NONE
780 program_suffix=NONE
781 program_transform_name=s,x,x,
782 silent=
783 site=
784 srcdir=
785 verbose=
786 x_includes=NONE
787 x_libraries=NONE
789 # Installation directory options.
790 # These are left unexpanded so users can "make install exec_prefix=/foo"
791 # and all the variables that are supposed to be based on exec_prefix
792 # by default will actually change.
793 # Use braces instead of parens because sh, perl, etc. also accept them.
794 # (The list follows the same order as the GNU Coding Standards.)
795 bindir='${exec_prefix}/bin'
796 sbindir='${exec_prefix}/sbin'
797 libexecdir='${exec_prefix}/libexec'
798 datarootdir='${prefix}/share'
799 datadir='${datarootdir}'
800 sysconfdir='${prefix}/etc'
801 sharedstatedir='${prefix}/com'
802 localstatedir='${prefix}/var'
803 includedir='${prefix}/include'
804 oldincludedir='/usr/include'
805 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
806 infodir='${datarootdir}/info'
807 htmldir='${docdir}'
808 dvidir='${docdir}'
809 pdfdir='${docdir}'
810 psdir='${docdir}'
811 libdir='${exec_prefix}/lib'
812 localedir='${datarootdir}/locale'
813 mandir='${datarootdir}/man'
815 ac_prev=
816 ac_dashdash=
817 for ac_option
819 # If the previous option needs an argument, assign it.
820 if test -n "$ac_prev"; then
821 eval $ac_prev=\$ac_option
822 ac_prev=
823 continue
826 case $ac_option in
827 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
828 *=) ac_optarg= ;;
829 *) ac_optarg=yes ;;
830 esac
832 # Accept the important Cygnus configure options, so we can diagnose typos.
834 case $ac_dashdash$ac_option in
836 ac_dashdash=yes ;;
838 -bindir | --bindir | --bindi | --bind | --bin | --bi)
839 ac_prev=bindir ;;
840 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
841 bindir=$ac_optarg ;;
843 -build | --build | --buil | --bui | --bu)
844 ac_prev=build_alias ;;
845 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
846 build_alias=$ac_optarg ;;
848 -cache-file | --cache-file | --cache-fil | --cache-fi \
849 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
850 ac_prev=cache_file ;;
851 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
852 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
853 cache_file=$ac_optarg ;;
855 --config-cache | -C)
856 cache_file=config.cache ;;
858 -datadir | --datadir | --datadi | --datad)
859 ac_prev=datadir ;;
860 -datadir=* | --datadir=* | --datadi=* | --datad=*)
861 datadir=$ac_optarg ;;
863 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
864 | --dataroo | --dataro | --datar)
865 ac_prev=datarootdir ;;
866 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
867 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
868 datarootdir=$ac_optarg ;;
870 -disable-* | --disable-*)
871 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
872 # Reject names that are not valid shell variable names.
873 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
874 as_fn_error $? "invalid feature name: $ac_useropt"
875 ac_useropt_orig=$ac_useropt
876 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
877 case $ac_user_opts in
879 "enable_$ac_useropt"
880 "*) ;;
881 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
882 ac_unrecognized_sep=', ';;
883 esac
884 eval enable_$ac_useropt=no ;;
886 -docdir | --docdir | --docdi | --doc | --do)
887 ac_prev=docdir ;;
888 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
889 docdir=$ac_optarg ;;
891 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
892 ac_prev=dvidir ;;
893 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
894 dvidir=$ac_optarg ;;
896 -enable-* | --enable-*)
897 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
898 # Reject names that are not valid shell variable names.
899 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
900 as_fn_error $? "invalid feature name: $ac_useropt"
901 ac_useropt_orig=$ac_useropt
902 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
903 case $ac_user_opts in
905 "enable_$ac_useropt"
906 "*) ;;
907 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
908 ac_unrecognized_sep=', ';;
909 esac
910 eval enable_$ac_useropt=\$ac_optarg ;;
912 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
913 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
914 | --exec | --exe | --ex)
915 ac_prev=exec_prefix ;;
916 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
917 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
918 | --exec=* | --exe=* | --ex=*)
919 exec_prefix=$ac_optarg ;;
921 -gas | --gas | --ga | --g)
922 # Obsolete; use --with-gas.
923 with_gas=yes ;;
925 -help | --help | --hel | --he | -h)
926 ac_init_help=long ;;
927 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
928 ac_init_help=recursive ;;
929 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
930 ac_init_help=short ;;
932 -host | --host | --hos | --ho)
933 ac_prev=host_alias ;;
934 -host=* | --host=* | --hos=* | --ho=*)
935 host_alias=$ac_optarg ;;
937 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
938 ac_prev=htmldir ;;
939 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
940 | --ht=*)
941 htmldir=$ac_optarg ;;
943 -includedir | --includedir | --includedi | --included | --include \
944 | --includ | --inclu | --incl | --inc)
945 ac_prev=includedir ;;
946 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
947 | --includ=* | --inclu=* | --incl=* | --inc=*)
948 includedir=$ac_optarg ;;
950 -infodir | --infodir | --infodi | --infod | --info | --inf)
951 ac_prev=infodir ;;
952 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
953 infodir=$ac_optarg ;;
955 -libdir | --libdir | --libdi | --libd)
956 ac_prev=libdir ;;
957 -libdir=* | --libdir=* | --libdi=* | --libd=*)
958 libdir=$ac_optarg ;;
960 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
961 | --libexe | --libex | --libe)
962 ac_prev=libexecdir ;;
963 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
964 | --libexe=* | --libex=* | --libe=*)
965 libexecdir=$ac_optarg ;;
967 -localedir | --localedir | --localedi | --localed | --locale)
968 ac_prev=localedir ;;
969 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
970 localedir=$ac_optarg ;;
972 -localstatedir | --localstatedir | --localstatedi | --localstated \
973 | --localstate | --localstat | --localsta | --localst | --locals)
974 ac_prev=localstatedir ;;
975 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
976 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
977 localstatedir=$ac_optarg ;;
979 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
980 ac_prev=mandir ;;
981 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
982 mandir=$ac_optarg ;;
984 -nfp | --nfp | --nf)
985 # Obsolete; use --without-fp.
986 with_fp=no ;;
988 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
989 | --no-cr | --no-c | -n)
990 no_create=yes ;;
992 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
993 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
994 no_recursion=yes ;;
996 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
997 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
998 | --oldin | --oldi | --old | --ol | --o)
999 ac_prev=oldincludedir ;;
1000 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1001 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1002 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1003 oldincludedir=$ac_optarg ;;
1005 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1006 ac_prev=prefix ;;
1007 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1008 prefix=$ac_optarg ;;
1010 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1011 | --program-pre | --program-pr | --program-p)
1012 ac_prev=program_prefix ;;
1013 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1014 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1015 program_prefix=$ac_optarg ;;
1017 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1018 | --program-suf | --program-su | --program-s)
1019 ac_prev=program_suffix ;;
1020 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1021 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1022 program_suffix=$ac_optarg ;;
1024 -program-transform-name | --program-transform-name \
1025 | --program-transform-nam | --program-transform-na \
1026 | --program-transform-n | --program-transform- \
1027 | --program-transform | --program-transfor \
1028 | --program-transfo | --program-transf \
1029 | --program-trans | --program-tran \
1030 | --progr-tra | --program-tr | --program-t)
1031 ac_prev=program_transform_name ;;
1032 -program-transform-name=* | --program-transform-name=* \
1033 | --program-transform-nam=* | --program-transform-na=* \
1034 | --program-transform-n=* | --program-transform-=* \
1035 | --program-transform=* | --program-transfor=* \
1036 | --program-transfo=* | --program-transf=* \
1037 | --program-trans=* | --program-tran=* \
1038 | --progr-tra=* | --program-tr=* | --program-t=*)
1039 program_transform_name=$ac_optarg ;;
1041 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1042 ac_prev=pdfdir ;;
1043 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1044 pdfdir=$ac_optarg ;;
1046 -psdir | --psdir | --psdi | --psd | --ps)
1047 ac_prev=psdir ;;
1048 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1049 psdir=$ac_optarg ;;
1051 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1052 | -silent | --silent | --silen | --sile | --sil)
1053 silent=yes ;;
1055 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1056 ac_prev=sbindir ;;
1057 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1058 | --sbi=* | --sb=*)
1059 sbindir=$ac_optarg ;;
1061 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1062 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1063 | --sharedst | --shareds | --shared | --share | --shar \
1064 | --sha | --sh)
1065 ac_prev=sharedstatedir ;;
1066 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1067 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1068 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1069 | --sha=* | --sh=*)
1070 sharedstatedir=$ac_optarg ;;
1072 -site | --site | --sit)
1073 ac_prev=site ;;
1074 -site=* | --site=* | --sit=*)
1075 site=$ac_optarg ;;
1077 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1078 ac_prev=srcdir ;;
1079 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1080 srcdir=$ac_optarg ;;
1082 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1083 | --syscon | --sysco | --sysc | --sys | --sy)
1084 ac_prev=sysconfdir ;;
1085 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1086 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1087 sysconfdir=$ac_optarg ;;
1089 -target | --target | --targe | --targ | --tar | --ta | --t)
1090 ac_prev=target_alias ;;
1091 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1092 target_alias=$ac_optarg ;;
1094 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1095 verbose=yes ;;
1097 -version | --version | --versio | --versi | --vers | -V)
1098 ac_init_version=: ;;
1100 -with-* | --with-*)
1101 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1102 # Reject names that are not valid shell variable names.
1103 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1104 as_fn_error $? "invalid package name: $ac_useropt"
1105 ac_useropt_orig=$ac_useropt
1106 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1107 case $ac_user_opts in
1109 "with_$ac_useropt"
1110 "*) ;;
1111 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1112 ac_unrecognized_sep=', ';;
1113 esac
1114 eval with_$ac_useropt=\$ac_optarg ;;
1116 -without-* | --without-*)
1117 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1118 # Reject names that are not valid shell variable names.
1119 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1120 as_fn_error $? "invalid package name: $ac_useropt"
1121 ac_useropt_orig=$ac_useropt
1122 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1123 case $ac_user_opts in
1125 "with_$ac_useropt"
1126 "*) ;;
1127 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1128 ac_unrecognized_sep=', ';;
1129 esac
1130 eval with_$ac_useropt=no ;;
1132 --x)
1133 # Obsolete; use --with-x.
1134 with_x=yes ;;
1136 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1137 | --x-incl | --x-inc | --x-in | --x-i)
1138 ac_prev=x_includes ;;
1139 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1140 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1141 x_includes=$ac_optarg ;;
1143 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1144 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1145 ac_prev=x_libraries ;;
1146 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1147 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1148 x_libraries=$ac_optarg ;;
1150 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1151 Try \`$0 --help' for more information"
1154 *=*)
1155 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1156 # Reject names that are not valid shell variable names.
1157 case $ac_envvar in #(
1158 '' | [0-9]* | *[!_$as_cr_alnum]* )
1159 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1160 esac
1161 eval $ac_envvar=\$ac_optarg
1162 export $ac_envvar ;;
1165 # FIXME: should be removed in autoconf 3.0.
1166 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1167 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1168 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1169 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1172 esac
1173 done
1175 if test -n "$ac_prev"; then
1176 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1177 as_fn_error $? "missing argument to $ac_option"
1180 if test -n "$ac_unrecognized_opts"; then
1181 case $enable_option_checking in
1182 no) ;;
1183 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1184 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1185 esac
1188 # Check all directory arguments for consistency.
1189 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1190 datadir sysconfdir sharedstatedir localstatedir includedir \
1191 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1192 libdir localedir mandir
1194 eval ac_val=\$$ac_var
1195 # Remove trailing slashes.
1196 case $ac_val in
1197 */ )
1198 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1199 eval $ac_var=\$ac_val;;
1200 esac
1201 # Be sure to have absolute directory names.
1202 case $ac_val in
1203 [\\/$]* | ?:[\\/]* ) continue;;
1204 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1205 esac
1206 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1207 done
1209 # There might be people who depend on the old broken behavior: `$host'
1210 # used to hold the argument of --host etc.
1211 # FIXME: To remove some day.
1212 build=$build_alias
1213 host=$host_alias
1214 target=$target_alias
1216 # FIXME: To remove some day.
1217 if test "x$host_alias" != x; then
1218 if test "x$build_alias" = x; then
1219 cross_compiling=maybe
1220 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1221 If a cross compiler is detected then cross compile mode will be used" >&2
1222 elif test "x$build_alias" != "x$host_alias"; then
1223 cross_compiling=yes
1227 ac_tool_prefix=
1228 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1230 test "$silent" = yes && exec 6>/dev/null
1233 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1234 ac_ls_di=`ls -di .` &&
1235 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1236 as_fn_error $? "working directory cannot be determined"
1237 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1238 as_fn_error $? "pwd does not report name of working directory"
1241 # Find the source files, if location was not specified.
1242 if test -z "$srcdir"; then
1243 ac_srcdir_defaulted=yes
1244 # Try the directory containing this script, then the parent directory.
1245 ac_confdir=`$as_dirname -- "$as_myself" ||
1246 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1247 X"$as_myself" : 'X\(//\)[^/]' \| \
1248 X"$as_myself" : 'X\(//\)$' \| \
1249 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1250 $as_echo X"$as_myself" |
1251 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1252 s//\1/
1255 /^X\(\/\/\)[^/].*/{
1256 s//\1/
1259 /^X\(\/\/\)$/{
1260 s//\1/
1263 /^X\(\/\).*/{
1264 s//\1/
1267 s/.*/./; q'`
1268 srcdir=$ac_confdir
1269 if test ! -r "$srcdir/$ac_unique_file"; then
1270 srcdir=..
1272 else
1273 ac_srcdir_defaulted=no
1275 if test ! -r "$srcdir/$ac_unique_file"; then
1276 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1277 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1279 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1280 ac_abs_confdir=`(
1281 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1282 pwd)`
1283 # When building in place, set srcdir=.
1284 if test "$ac_abs_confdir" = "$ac_pwd"; then
1285 srcdir=.
1287 # Remove unnecessary trailing slashes from srcdir.
1288 # Double slashes in file names in object file debugging info
1289 # mess up M-x gdb in Emacs.
1290 case $srcdir in
1291 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1292 esac
1293 for ac_var in $ac_precious_vars; do
1294 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1295 eval ac_env_${ac_var}_value=\$${ac_var}
1296 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1297 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1298 done
1301 # Report the --help message.
1303 if test "$ac_init_help" = "long"; then
1304 # Omit some internal or obsolete options to make the list less imposing.
1305 # This message is too long to be a string in the A/UX 3.1 sh.
1306 cat <<_ACEOF
1307 \`configure' configures LZO 2.06 to adapt to many kinds of systems.
1309 Usage: $0 [OPTION]... [VAR=VALUE]...
1311 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1312 VAR=VALUE. See below for descriptions of some of the useful variables.
1314 Defaults for the options are specified in brackets.
1316 Configuration:
1317 -h, --help display this help and exit
1318 --help=short display options specific to this package
1319 --help=recursive display the short help of all the included packages
1320 -V, --version display version information and exit
1321 -q, --quiet, --silent do not print \`checking ...' messages
1322 --cache-file=FILE cache test results in FILE [disabled]
1323 -C, --config-cache alias for \`--cache-file=config.cache'
1324 -n, --no-create do not create output files
1325 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1327 Installation directories:
1328 --prefix=PREFIX install architecture-independent files in PREFIX
1329 [$ac_default_prefix]
1330 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1331 [PREFIX]
1333 By default, \`make install' will install all the files in
1334 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1335 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1336 for instance \`--prefix=\$HOME'.
1338 For better control, use the options below.
1340 Fine tuning of the installation directories:
1341 --bindir=DIR user executables [EPREFIX/bin]
1342 --sbindir=DIR system admin executables [EPREFIX/sbin]
1343 --libexecdir=DIR program executables [EPREFIX/libexec]
1344 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1345 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1346 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1347 --libdir=DIR object code libraries [EPREFIX/lib]
1348 --includedir=DIR C header files [PREFIX/include]
1349 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1350 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1351 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1352 --infodir=DIR info documentation [DATAROOTDIR/info]
1353 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1354 --mandir=DIR man documentation [DATAROOTDIR/man]
1355 --docdir=DIR documentation root [DATAROOTDIR/doc/lzo]
1356 --htmldir=DIR html documentation [DOCDIR]
1357 --dvidir=DIR dvi documentation [DOCDIR]
1358 --pdfdir=DIR pdf documentation [DOCDIR]
1359 --psdir=DIR ps documentation [DOCDIR]
1360 _ACEOF
1362 cat <<\_ACEOF
1364 Program names:
1365 --program-prefix=PREFIX prepend PREFIX to installed program names
1366 --program-suffix=SUFFIX append SUFFIX to installed program names
1367 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1369 System types:
1370 --build=BUILD configure for building on BUILD [guessed]
1371 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1372 --target=TARGET configure for building compilers for TARGET [HOST]
1373 _ACEOF
1376 if test -n "$ac_init_help"; then
1377 case $ac_init_help in
1378 short | recursive ) echo "Configuration of LZO 2.06:";;
1379 esac
1380 cat <<\_ACEOF
1382 Optional Features:
1383 --disable-option-checking ignore unrecognized --enable/--with options
1384 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1385 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1386 --enable-maintainer-mode enable make rules and dependencies not useful
1387 (and sometimes confusing) to the casual installer
1388 --disable-dependency-tracking speeds up one-time build
1389 --enable-dependency-tracking do not reject slow dependency extractors
1390 --disable-largefile omit support for large files
1391 --enable-silent-rules less verbose build output (undo: `make V=1')
1392 --disable-silent-rules verbose build output (undo: `make V=0')
1393 --enable-static[=PKGS] build static libraries [default=yes]
1394 --enable-shared[=PKGS] build shared libraries [default=no]
1395 --enable-fast-install[=PKGS]
1396 optimize for fast installation [default=yes]
1397 --disable-libtool-lock avoid locking (might break parallel builds)
1398 --disable-asm disable assembly versions
1400 Optional Packages:
1401 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1402 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1403 --with-pic try to use only PIC/non-PIC objects [default=use
1404 both]
1405 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1407 Some influential environment variables:
1408 CC C compiler command
1409 CFLAGS C compiler flags
1410 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1411 nonstandard directory <lib dir>
1412 LIBS libraries to pass to the linker, e.g. -l<library>
1413 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1414 you have headers in a nonstandard directory <include dir>
1415 CCAS assembler compiler command (defaults to CC)
1416 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1417 CPP C preprocessor
1419 Use these variables to override the choices made by `configure' or to help
1420 it to find libraries and programs with nonstandard names/locations.
1422 Report bugs to <markus@oberhumer.com>.
1423 LZO home page: <http://www.oberhumer.com/opensource/lzo/>.
1424 _ACEOF
1425 ac_status=$?
1428 if test "$ac_init_help" = "recursive"; then
1429 # If there are subdirs, report their specific --help.
1430 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1431 test -d "$ac_dir" ||
1432 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1433 continue
1434 ac_builddir=.
1436 case "$ac_dir" in
1437 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1439 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1440 # A ".." for each directory in $ac_dir_suffix.
1441 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1442 case $ac_top_builddir_sub in
1443 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1444 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1445 esac ;;
1446 esac
1447 ac_abs_top_builddir=$ac_pwd
1448 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1449 # for backward compatibility:
1450 ac_top_builddir=$ac_top_build_prefix
1452 case $srcdir in
1453 .) # We are building in place.
1454 ac_srcdir=.
1455 ac_top_srcdir=$ac_top_builddir_sub
1456 ac_abs_top_srcdir=$ac_pwd ;;
1457 [\\/]* | ?:[\\/]* ) # Absolute name.
1458 ac_srcdir=$srcdir$ac_dir_suffix;
1459 ac_top_srcdir=$srcdir
1460 ac_abs_top_srcdir=$srcdir ;;
1461 *) # Relative name.
1462 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1463 ac_top_srcdir=$ac_top_build_prefix$srcdir
1464 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1465 esac
1466 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1468 cd "$ac_dir" || { ac_status=$?; continue; }
1469 # Check for guested configure.
1470 if test -f "$ac_srcdir/configure.gnu"; then
1471 echo &&
1472 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1473 elif test -f "$ac_srcdir/configure"; then
1474 echo &&
1475 $SHELL "$ac_srcdir/configure" --help=recursive
1476 else
1477 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1478 fi || ac_status=$?
1479 cd "$ac_pwd" || { ac_status=$?; break; }
1480 done
1483 test -n "$ac_init_help" && exit $ac_status
1484 if $ac_init_version; then
1485 cat <<\_ACEOF
1486 LZO configure 2.06
1487 generated by GNU Autoconf 2.67
1489 Copyright (C) 2010 Free Software Foundation, Inc.
1490 This configure script is free software; the Free Software Foundation
1491 gives unlimited permission to copy, distribute and modify it.
1493 Copyright (C) 1996-2011 Markus Franz Xaver Johannes Oberhumer.
1494 All Rights Reserved.
1495 This configure script may be copied, distributed and modified under the
1496 terms of the GNU General Public License; see COPYING for more details.
1497 _ACEOF
1498 exit
1501 ## ------------------------ ##
1502 ## Autoconf initialization. ##
1503 ## ------------------------ ##
1505 # ac_fn_c_try_compile LINENO
1506 # --------------------------
1507 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1508 ac_fn_c_try_compile ()
1510 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1511 rm -f conftest.$ac_objext
1512 if { { ac_try="$ac_compile"
1513 case "(($ac_try" in
1514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1515 *) ac_try_echo=$ac_try;;
1516 esac
1517 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1518 $as_echo "$ac_try_echo"; } >&5
1519 (eval "$ac_compile") 2>conftest.err
1520 ac_status=$?
1521 if test -s conftest.err; then
1522 grep -v '^ *+' conftest.err >conftest.er1
1523 cat conftest.er1 >&5
1524 mv -f conftest.er1 conftest.err
1526 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1527 test $ac_status = 0; } && {
1528 test -z "$ac_c_werror_flag" ||
1529 test ! -s conftest.err
1530 } && test -s conftest.$ac_objext; then :
1531 ac_retval=0
1532 else
1533 $as_echo "$as_me: failed program was:" >&5
1534 sed 's/^/| /' conftest.$ac_ext >&5
1536 ac_retval=1
1538 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1539 as_fn_set_status $ac_retval
1541 } # ac_fn_c_try_compile
1543 # ac_fn_c_try_cpp LINENO
1544 # ----------------------
1545 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1546 ac_fn_c_try_cpp ()
1548 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1549 if { { ac_try="$ac_cpp conftest.$ac_ext"
1550 case "(($ac_try" in
1551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1552 *) ac_try_echo=$ac_try;;
1553 esac
1554 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1555 $as_echo "$ac_try_echo"; } >&5
1556 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1557 ac_status=$?
1558 if test -s conftest.err; then
1559 grep -v '^ *+' conftest.err >conftest.er1
1560 cat conftest.er1 >&5
1561 mv -f conftest.er1 conftest.err
1563 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1564 test $ac_status = 0; } > conftest.i && {
1565 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1566 test ! -s conftest.err
1567 }; then :
1568 ac_retval=0
1569 else
1570 $as_echo "$as_me: failed program was:" >&5
1571 sed 's/^/| /' conftest.$ac_ext >&5
1573 ac_retval=1
1575 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1576 as_fn_set_status $ac_retval
1578 } # ac_fn_c_try_cpp
1580 # ac_fn_c_try_run LINENO
1581 # ----------------------
1582 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1583 # that executables *can* be run.
1584 ac_fn_c_try_run ()
1586 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1587 if { { ac_try="$ac_link"
1588 case "(($ac_try" in
1589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1590 *) ac_try_echo=$ac_try;;
1591 esac
1592 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1593 $as_echo "$ac_try_echo"; } >&5
1594 (eval "$ac_link") 2>&5
1595 ac_status=$?
1596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1597 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1598 { { case "(($ac_try" in
1599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1600 *) ac_try_echo=$ac_try;;
1601 esac
1602 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1603 $as_echo "$ac_try_echo"; } >&5
1604 (eval "$ac_try") 2>&5
1605 ac_status=$?
1606 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1607 test $ac_status = 0; }; }; then :
1608 ac_retval=0
1609 else
1610 $as_echo "$as_me: program exited with status $ac_status" >&5
1611 $as_echo "$as_me: failed program was:" >&5
1612 sed 's/^/| /' conftest.$ac_ext >&5
1614 ac_retval=$ac_status
1616 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1617 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1618 as_fn_set_status $ac_retval
1620 } # ac_fn_c_try_run
1622 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1623 # -------------------------------------------------------
1624 # Tests whether HEADER exists and can be compiled using the include files in
1625 # INCLUDES, setting the cache variable VAR accordingly.
1626 ac_fn_c_check_header_compile ()
1628 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1630 $as_echo_n "checking for $2... " >&6; }
1631 if eval "test \"\${$3+set}\"" = set; then :
1632 $as_echo_n "(cached) " >&6
1633 else
1634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1635 /* end confdefs.h. */
1637 #include <$2>
1638 _ACEOF
1639 if ac_fn_c_try_compile "$LINENO"; then :
1640 eval "$3=yes"
1641 else
1642 eval "$3=no"
1644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1646 eval ac_res=\$$3
1647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1648 $as_echo "$ac_res" >&6; }
1649 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1651 } # ac_fn_c_check_header_compile
1653 # ac_fn_c_try_link LINENO
1654 # -----------------------
1655 # Try to link conftest.$ac_ext, and return whether this succeeded.
1656 ac_fn_c_try_link ()
1658 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1659 rm -f conftest.$ac_objext conftest$ac_exeext
1660 if { { ac_try="$ac_link"
1661 case "(($ac_try" in
1662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1663 *) ac_try_echo=$ac_try;;
1664 esac
1665 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1666 $as_echo "$ac_try_echo"; } >&5
1667 (eval "$ac_link") 2>conftest.err
1668 ac_status=$?
1669 if test -s conftest.err; then
1670 grep -v '^ *+' conftest.err >conftest.er1
1671 cat conftest.er1 >&5
1672 mv -f conftest.er1 conftest.err
1674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1675 test $ac_status = 0; } && {
1676 test -z "$ac_c_werror_flag" ||
1677 test ! -s conftest.err
1678 } && test -s conftest$ac_exeext && {
1679 test "$cross_compiling" = yes ||
1680 $as_test_x conftest$ac_exeext
1681 }; then :
1682 ac_retval=0
1683 else
1684 $as_echo "$as_me: failed program was:" >&5
1685 sed 's/^/| /' conftest.$ac_ext >&5
1687 ac_retval=1
1689 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1690 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1691 # interfere with the next link command; also delete a directory that is
1692 # left behind by Apple's compiler. We do this before executing the actions.
1693 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1694 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1695 as_fn_set_status $ac_retval
1697 } # ac_fn_c_try_link
1699 # ac_fn_c_check_func LINENO FUNC VAR
1700 # ----------------------------------
1701 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1702 ac_fn_c_check_func ()
1704 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1706 $as_echo_n "checking for $2... " >&6; }
1707 if eval "test \"\${$3+set}\"" = set; then :
1708 $as_echo_n "(cached) " >&6
1709 else
1710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1711 /* end confdefs.h. */
1712 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1713 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1714 #define $2 innocuous_$2
1716 /* System header to define __stub macros and hopefully few prototypes,
1717 which can conflict with char $2 (); below.
1718 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1719 <limits.h> exists even on freestanding compilers. */
1721 #ifdef __STDC__
1722 # include <limits.h>
1723 #else
1724 # include <assert.h>
1725 #endif
1727 #undef $2
1729 /* Override any GCC internal prototype to avoid an error.
1730 Use char because int might match the return type of a GCC
1731 builtin and then its argument prototype would still apply. */
1732 #ifdef __cplusplus
1733 extern "C"
1734 #endif
1735 char $2 ();
1736 /* The GNU C library defines this for functions which it implements
1737 to always fail with ENOSYS. Some functions are actually named
1738 something starting with __ and the normal name is an alias. */
1739 #if defined __stub_$2 || defined __stub___$2
1740 choke me
1741 #endif
1744 main ()
1746 return $2 ();
1748 return 0;
1750 _ACEOF
1751 if ac_fn_c_try_link "$LINENO"; then :
1752 eval "$3=yes"
1753 else
1754 eval "$3=no"
1756 rm -f core conftest.err conftest.$ac_objext \
1757 conftest$ac_exeext conftest.$ac_ext
1759 eval ac_res=\$$3
1760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1761 $as_echo "$ac_res" >&6; }
1762 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1764 } # ac_fn_c_check_func
1766 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1767 # -------------------------------------------------------
1768 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1769 # the include files in INCLUDES and setting the cache variable VAR
1770 # accordingly.
1771 ac_fn_c_check_header_mongrel ()
1773 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1774 if eval "test \"\${$3+set}\"" = set; then :
1775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1776 $as_echo_n "checking for $2... " >&6; }
1777 if eval "test \"\${$3+set}\"" = set; then :
1778 $as_echo_n "(cached) " >&6
1780 eval ac_res=\$$3
1781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1782 $as_echo "$ac_res" >&6; }
1783 else
1784 # Is the header compilable?
1785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1786 $as_echo_n "checking $2 usability... " >&6; }
1787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1788 /* end confdefs.h. */
1790 #include <$2>
1791 _ACEOF
1792 if ac_fn_c_try_compile "$LINENO"; then :
1793 ac_header_compiler=yes
1794 else
1795 ac_header_compiler=no
1797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1799 $as_echo "$ac_header_compiler" >&6; }
1801 # Is the header present?
1802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1803 $as_echo_n "checking $2 presence... " >&6; }
1804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1805 /* end confdefs.h. */
1806 #include <$2>
1807 _ACEOF
1808 if ac_fn_c_try_cpp "$LINENO"; then :
1809 ac_header_preproc=yes
1810 else
1811 ac_header_preproc=no
1813 rm -f conftest.err conftest.i conftest.$ac_ext
1814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1815 $as_echo "$ac_header_preproc" >&6; }
1817 # So? What about this header?
1818 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1819 yes:no: )
1820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1821 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1823 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1825 no:yes:* )
1826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1827 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1829 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1831 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1833 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1835 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1836 ( $as_echo "## ----------------------------------- ##
1837 ## Report this to markus@oberhumer.com ##
1838 ## ----------------------------------- ##"
1839 ) | sed "s/^/$as_me: WARNING: /" >&2
1841 esac
1842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1843 $as_echo_n "checking for $2... " >&6; }
1844 if eval "test \"\${$3+set}\"" = set; then :
1845 $as_echo_n "(cached) " >&6
1846 else
1847 eval "$3=\$ac_header_compiler"
1849 eval ac_res=\$$3
1850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1851 $as_echo "$ac_res" >&6; }
1853 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1855 } # ac_fn_c_check_header_mongrel
1857 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1858 # -------------------------------------------
1859 # Tests whether TYPE exists after having included INCLUDES, setting cache
1860 # variable VAR accordingly.
1861 ac_fn_c_check_type ()
1863 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1865 $as_echo_n "checking for $2... " >&6; }
1866 if eval "test \"\${$3+set}\"" = set; then :
1867 $as_echo_n "(cached) " >&6
1868 else
1869 eval "$3=no"
1870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1871 /* end confdefs.h. */
1874 main ()
1876 if (sizeof ($2))
1877 return 0;
1879 return 0;
1881 _ACEOF
1882 if ac_fn_c_try_compile "$LINENO"; then :
1883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1884 /* end confdefs.h. */
1887 main ()
1889 if (sizeof (($2)))
1890 return 0;
1892 return 0;
1894 _ACEOF
1895 if ac_fn_c_try_compile "$LINENO"; then :
1897 else
1898 eval "$3=yes"
1900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1904 eval ac_res=\$$3
1905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1906 $as_echo "$ac_res" >&6; }
1907 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1909 } # ac_fn_c_check_type
1911 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1912 # --------------------------------------------
1913 # Tries to find the compile-time value of EXPR in a program that includes
1914 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1915 # computed
1916 ac_fn_c_compute_int ()
1918 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1919 if test "$cross_compiling" = yes; then
1920 # Depending upon the size, compute the lo and hi bounds.
1921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1922 /* end confdefs.h. */
1925 main ()
1927 static int test_array [1 - 2 * !(($2) >= 0)];
1928 test_array [0] = 0
1931 return 0;
1933 _ACEOF
1934 if ac_fn_c_try_compile "$LINENO"; then :
1935 ac_lo=0 ac_mid=0
1936 while :; do
1937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1938 /* end confdefs.h. */
1941 main ()
1943 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1944 test_array [0] = 0
1947 return 0;
1949 _ACEOF
1950 if ac_fn_c_try_compile "$LINENO"; then :
1951 ac_hi=$ac_mid; break
1952 else
1953 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1954 if test $ac_lo -le $ac_mid; then
1955 ac_lo= ac_hi=
1956 break
1958 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1961 done
1962 else
1963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1964 /* end confdefs.h. */
1967 main ()
1969 static int test_array [1 - 2 * !(($2) < 0)];
1970 test_array [0] = 0
1973 return 0;
1975 _ACEOF
1976 if ac_fn_c_try_compile "$LINENO"; then :
1977 ac_hi=-1 ac_mid=-1
1978 while :; do
1979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1980 /* end confdefs.h. */
1983 main ()
1985 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1986 test_array [0] = 0
1989 return 0;
1991 _ACEOF
1992 if ac_fn_c_try_compile "$LINENO"; then :
1993 ac_lo=$ac_mid; break
1994 else
1995 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1996 if test $ac_mid -le $ac_hi; then
1997 ac_lo= ac_hi=
1998 break
2000 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2003 done
2004 else
2005 ac_lo= ac_hi=
2007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2010 # Binary search between lo and hi bounds.
2011 while test "x$ac_lo" != "x$ac_hi"; do
2012 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2014 /* end confdefs.h. */
2017 main ()
2019 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2020 test_array [0] = 0
2023 return 0;
2025 _ACEOF
2026 if ac_fn_c_try_compile "$LINENO"; then :
2027 ac_hi=$ac_mid
2028 else
2029 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2032 done
2033 case $ac_lo in #((
2034 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2035 '') ac_retval=1 ;;
2036 esac
2037 else
2038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2039 /* end confdefs.h. */
2041 static long int longval () { return $2; }
2042 static unsigned long int ulongval () { return $2; }
2043 #include <stdio.h>
2044 #include <stdlib.h>
2046 main ()
2049 FILE *f = fopen ("conftest.val", "w");
2050 if (! f)
2051 return 1;
2052 if (($2) < 0)
2054 long int i = longval ();
2055 if (i != ($2))
2056 return 1;
2057 fprintf (f, "%ld", i);
2059 else
2061 unsigned long int i = ulongval ();
2062 if (i != ($2))
2063 return 1;
2064 fprintf (f, "%lu", i);
2066 /* Do not output a trailing newline, as this causes \r\n confusion
2067 on some platforms. */
2068 return ferror (f) || fclose (f) != 0;
2071 return 0;
2073 _ACEOF
2074 if ac_fn_c_try_run "$LINENO"; then :
2075 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2076 else
2077 ac_retval=1
2079 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2080 conftest.$ac_objext conftest.beam conftest.$ac_ext
2081 rm -f conftest.val
2084 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2085 as_fn_set_status $ac_retval
2087 } # ac_fn_c_compute_int
2088 cat >config.log <<_ACEOF
2089 This file contains any messages produced by compilers while
2090 running configure, to aid debugging if configure makes a mistake.
2092 It was created by LZO $as_me 2.06, which was
2093 generated by GNU Autoconf 2.67. Invocation command line was
2095 $ $0 $@
2097 _ACEOF
2098 exec 5>>config.log
2100 cat <<_ASUNAME
2101 ## --------- ##
2102 ## Platform. ##
2103 ## --------- ##
2105 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2106 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2107 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2108 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2109 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2111 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2112 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2114 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2115 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2116 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2117 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2118 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2119 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2120 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2122 _ASUNAME
2124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2125 for as_dir in $PATH
2127 IFS=$as_save_IFS
2128 test -z "$as_dir" && as_dir=.
2129 $as_echo "PATH: $as_dir"
2130 done
2131 IFS=$as_save_IFS
2133 } >&5
2135 cat >&5 <<_ACEOF
2138 ## ----------- ##
2139 ## Core tests. ##
2140 ## ----------- ##
2142 _ACEOF
2145 # Keep a trace of the command line.
2146 # Strip out --no-create and --no-recursion so they do not pile up.
2147 # Strip out --silent because we don't want to record it for future runs.
2148 # Also quote any args containing shell meta-characters.
2149 # Make two passes to allow for proper duplicate-argument suppression.
2150 ac_configure_args=
2151 ac_configure_args0=
2152 ac_configure_args1=
2153 ac_must_keep_next=false
2154 for ac_pass in 1 2
2156 for ac_arg
2158 case $ac_arg in
2159 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2160 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2161 | -silent | --silent | --silen | --sile | --sil)
2162 continue ;;
2163 *\'*)
2164 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2165 esac
2166 case $ac_pass in
2167 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2169 as_fn_append ac_configure_args1 " '$ac_arg'"
2170 if test $ac_must_keep_next = true; then
2171 ac_must_keep_next=false # Got value, back to normal.
2172 else
2173 case $ac_arg in
2174 *=* | --config-cache | -C | -disable-* | --disable-* \
2175 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2176 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2177 | -with-* | --with-* | -without-* | --without-* | --x)
2178 case "$ac_configure_args0 " in
2179 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2180 esac
2182 -* ) ac_must_keep_next=true ;;
2183 esac
2185 as_fn_append ac_configure_args " '$ac_arg'"
2187 esac
2188 done
2189 done
2190 { ac_configure_args0=; unset ac_configure_args0;}
2191 { ac_configure_args1=; unset ac_configure_args1;}
2193 # When interrupted or exit'd, cleanup temporary files, and complete
2194 # config.log. We remove comments because anyway the quotes in there
2195 # would cause problems or look ugly.
2196 # WARNING: Use '\'' to represent an apostrophe within the trap.
2197 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2198 trap 'exit_status=$?
2199 # Save into config.log some information that might help in debugging.
2201 echo
2203 $as_echo "## ---------------- ##
2204 ## Cache variables. ##
2205 ## ---------------- ##"
2206 echo
2207 # The following way of writing the cache mishandles newlines in values,
2209 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2210 eval ac_val=\$$ac_var
2211 case $ac_val in #(
2212 *${as_nl}*)
2213 case $ac_var in #(
2214 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2215 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2216 esac
2217 case $ac_var in #(
2218 _ | IFS | as_nl) ;; #(
2219 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2220 *) { eval $ac_var=; unset $ac_var;} ;;
2221 esac ;;
2222 esac
2223 done
2224 (set) 2>&1 |
2225 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2226 *${as_nl}ac_space=\ *)
2227 sed -n \
2228 "s/'\''/'\''\\\\'\'''\''/g;
2229 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2230 ;; #(
2232 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2234 esac |
2235 sort
2237 echo
2239 $as_echo "## ----------------- ##
2240 ## Output variables. ##
2241 ## ----------------- ##"
2242 echo
2243 for ac_var in $ac_subst_vars
2245 eval ac_val=\$$ac_var
2246 case $ac_val in
2247 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2248 esac
2249 $as_echo "$ac_var='\''$ac_val'\''"
2250 done | sort
2251 echo
2253 if test -n "$ac_subst_files"; then
2254 $as_echo "## ------------------- ##
2255 ## File substitutions. ##
2256 ## ------------------- ##"
2257 echo
2258 for ac_var in $ac_subst_files
2260 eval ac_val=\$$ac_var
2261 case $ac_val in
2262 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2263 esac
2264 $as_echo "$ac_var='\''$ac_val'\''"
2265 done | sort
2266 echo
2269 if test -s confdefs.h; then
2270 $as_echo "## ----------- ##
2271 ## confdefs.h. ##
2272 ## ----------- ##"
2273 echo
2274 cat confdefs.h
2275 echo
2277 test "$ac_signal" != 0 &&
2278 $as_echo "$as_me: caught signal $ac_signal"
2279 $as_echo "$as_me: exit $exit_status"
2280 } >&5
2281 rm -f core *.core core.conftest.* &&
2282 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2283 exit $exit_status
2285 for ac_signal in 1 2 13 15; do
2286 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2287 done
2288 ac_signal=0
2290 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2291 rm -f -r conftest* confdefs.h
2293 $as_echo "/* confdefs.h */" > confdefs.h
2295 # Predefined preprocessor variables.
2297 cat >>confdefs.h <<_ACEOF
2298 #define PACKAGE_NAME "$PACKAGE_NAME"
2299 _ACEOF
2301 cat >>confdefs.h <<_ACEOF
2302 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2303 _ACEOF
2305 cat >>confdefs.h <<_ACEOF
2306 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2307 _ACEOF
2309 cat >>confdefs.h <<_ACEOF
2310 #define PACKAGE_STRING "$PACKAGE_STRING"
2311 _ACEOF
2313 cat >>confdefs.h <<_ACEOF
2314 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2315 _ACEOF
2317 cat >>confdefs.h <<_ACEOF
2318 #define PACKAGE_URL "$PACKAGE_URL"
2319 _ACEOF
2322 # Let the site file select an alternate cache file if it wants to.
2323 # Prefer an explicitly selected file to automatically selected ones.
2324 ac_site_file1=NONE
2325 ac_site_file2=NONE
2326 if test -n "$CONFIG_SITE"; then
2327 # We do not want a PATH search for config.site.
2328 case $CONFIG_SITE in #((
2329 -*) ac_site_file1=./$CONFIG_SITE;;
2330 */*) ac_site_file1=$CONFIG_SITE;;
2331 *) ac_site_file1=./$CONFIG_SITE;;
2332 esac
2333 elif test "x$prefix" != xNONE; then
2334 ac_site_file1=$prefix/share/config.site
2335 ac_site_file2=$prefix/etc/config.site
2336 else
2337 ac_site_file1=$ac_default_prefix/share/config.site
2338 ac_site_file2=$ac_default_prefix/etc/config.site
2340 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2342 test "x$ac_site_file" = xNONE && continue
2343 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2344 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2345 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2346 sed 's/^/| /' "$ac_site_file" >&5
2347 . "$ac_site_file" \
2348 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2349 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2350 as_fn_error $? "failed to load site script $ac_site_file
2351 See \`config.log' for more details" "$LINENO" 5; }
2353 done
2355 if test -r "$cache_file"; then
2356 # Some versions of bash will fail to source /dev/null (special files
2357 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2358 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2360 $as_echo "$as_me: loading cache $cache_file" >&6;}
2361 case $cache_file in
2362 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2363 *) . "./$cache_file";;
2364 esac
2366 else
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2368 $as_echo "$as_me: creating cache $cache_file" >&6;}
2369 >$cache_file
2372 # Check that the precious variables saved in the cache have kept the same
2373 # value.
2374 ac_cache_corrupted=false
2375 for ac_var in $ac_precious_vars; do
2376 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2377 eval ac_new_set=\$ac_env_${ac_var}_set
2378 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2379 eval ac_new_val=\$ac_env_${ac_var}_value
2380 case $ac_old_set,$ac_new_set in
2381 set,)
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2383 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2384 ac_cache_corrupted=: ;;
2385 ,set)
2386 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2387 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2388 ac_cache_corrupted=: ;;
2389 ,);;
2391 if test "x$ac_old_val" != "x$ac_new_val"; then
2392 # differences in whitespace do not lead to failure.
2393 ac_old_val_w=`echo x $ac_old_val`
2394 ac_new_val_w=`echo x $ac_new_val`
2395 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2397 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2398 ac_cache_corrupted=:
2399 else
2400 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2401 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2402 eval $ac_var=\$ac_old_val
2404 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2405 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2407 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2408 fi;;
2409 esac
2410 # Pass precious variables to config.status.
2411 if test "$ac_new_set" = set; then
2412 case $ac_new_val in
2413 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2414 *) ac_arg=$ac_var=$ac_new_val ;;
2415 esac
2416 case " $ac_configure_args " in
2417 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2418 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2419 esac
2421 done
2422 if $ac_cache_corrupted; then
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2424 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2426 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2427 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2429 ## -------------------- ##
2430 ## Main body of script. ##
2431 ## -------------------- ##
2433 ac_ext=c
2434 ac_cpp='$CPP $CPPFLAGS'
2435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring LZO $PACKAGE_VERSION" >&5
2441 $as_echo "$as_me: Configuring LZO $PACKAGE_VERSION" >&6;}
2443 ac_aux_dir=
2444 for ac_dir in autoconf "$srcdir"/autoconf; do
2445 if test -f "$ac_dir/install-sh"; then
2446 ac_aux_dir=$ac_dir
2447 ac_install_sh="$ac_aux_dir/install-sh -c"
2448 break
2449 elif test -f "$ac_dir/install.sh"; then
2450 ac_aux_dir=$ac_dir
2451 ac_install_sh="$ac_aux_dir/install.sh -c"
2452 break
2453 elif test -f "$ac_dir/shtool"; then
2454 ac_aux_dir=$ac_dir
2455 ac_install_sh="$ac_aux_dir/shtool install -c"
2456 break
2458 done
2459 if test -z "$ac_aux_dir"; then
2460 as_fn_error $? "cannot find install-sh, install.sh, or shtool in autoconf \"$srcdir\"/autoconf" "$LINENO" 5
2463 # These three variables are undocumented and unsupported,
2464 # and are intended to be withdrawn in a future Autoconf release.
2465 # They can cause serious problems if a builder's source tree is in a directory
2466 # whose full name contains unusual characters.
2467 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2468 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2469 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2489 # Enable extensions on systems that normally disable them.
2491 # Copyright (C) 2003, 2006-2011 Free Software Foundation, Inc.
2492 # This file is free software; the Free Software Foundation
2493 # gives unlimited permission to copy and/or distribute it,
2494 # with or without modifications, as long as this notice is preserved.
2496 # This definition of AC_USE_SYSTEM_EXTENSIONS is stolen from CVS
2497 # Autoconf. Perhaps we can remove this once we can assume Autoconf
2498 # 2.62 or later everywhere, but since CVS Autoconf mutates rapidly
2499 # enough in this area it's likely we'll need to redefine
2500 # AC_USE_SYSTEM_EXTENSIONS for quite some time.
2502 # If autoconf reports a warning
2503 # warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
2504 # or warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
2505 # the fix is
2506 # 1) to ensure that AC_USE_SYSTEM_EXTENSIONS is never directly invoked
2507 # but always AC_REQUIREd,
2508 # 2) to ensure that for each occurrence of
2509 # AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
2510 # or
2511 # AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
2512 # the corresponding gnulib module description has 'extensions' among
2513 # its dependencies. This will ensure that the gl_USE_SYSTEM_EXTENSIONS
2514 # invocation occurs in gl_EARLY, not in gl_INIT.
2516 # AC_USE_SYSTEM_EXTENSIONS
2517 # ------------------------
2518 # Enable extensions on systems that normally disable them,
2519 # typically due to standards-conformance issues.
2520 # Remember that #undef in AH_VERBATIM gets replaced with #define by
2521 # AC_DEFINE. The goal here is to define all known feature-enabling
2522 # macros, then, if reports of conflicts are made, disable macros that
2523 # cause problems on some platforms (such as __EXTENSIONS__).
2524 # AC_USE_SYSTEM_EXTENSIONS
2526 # gl_USE_SYSTEM_EXTENSIONS
2527 # ------------------------
2528 # Enable extensions on systems that normally disable them,
2529 # typically due to standards-conformance issues.
2545 # Checks for stat-related time functions.
2547 # Copyright (C) 1998-1999, 2001, 2003, 2005-2007, 2009-2011 Free Software
2548 # Foundation, Inc.
2550 # This file is free software; the Free Software Foundation
2551 # gives unlimited permission to copy and/or distribute it,
2552 # with or without modifications, as long as this notice is preserved.
2555 # st_atim.tv_nsec - Linux, Solaris, Cygwin
2556 # st_atimespec.tv_nsec - FreeBSD, NetBSD, if ! defined _POSIX_SOURCE
2557 # st_atimensec - FreeBSD, NetBSD, if defined _POSIX_SOURCE
2558 # st_atim.st__tim.tv_nsec - UnixWare (at least 2.1.2 through 7.1)
2560 # st_birthtimespec - FreeBSD, NetBSD (hidden on OpenBSD 3.9, anyway)
2561 # st_birthtim - Cygwin 1.7.0+
2565 # Check for st_birthtime, a feature from UFS2 (FreeBSD, NetBSD, OpenBSD, etc.)
2566 # and NTFS (Cygwin).
2567 # There was a time when this field was named st_createtime (21 June
2568 # 2002 to 16 July 2002) But that window is very small and applied only
2569 # to development code, so systems still using that configuration are
2570 # not supported. See revisions 1.10 and 1.11 of FreeBSD's
2571 # src/sys/ufs/ufs/dinode.h.
2579 # Make sure we can run config.sub.
2580 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2581 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2584 $as_echo_n "checking build system type... " >&6; }
2585 if test "${ac_cv_build+set}" = set; then :
2586 $as_echo_n "(cached) " >&6
2587 else
2588 ac_build_alias=$build_alias
2589 test "x$ac_build_alias" = x &&
2590 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2591 test "x$ac_build_alias" = x &&
2592 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2593 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2594 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2598 $as_echo "$ac_cv_build" >&6; }
2599 case $ac_cv_build in
2600 *-*-*) ;;
2601 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2602 esac
2603 build=$ac_cv_build
2604 ac_save_IFS=$IFS; IFS='-'
2605 set x $ac_cv_build
2606 shift
2607 build_cpu=$1
2608 build_vendor=$2
2609 shift; shift
2610 # Remember, the first character of IFS is used to create $*,
2611 # except with old shells:
2612 build_os=$*
2613 IFS=$ac_save_IFS
2614 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2618 $as_echo_n "checking host system type... " >&6; }
2619 if test "${ac_cv_host+set}" = set; then :
2620 $as_echo_n "(cached) " >&6
2621 else
2622 if test "x$host_alias" = x; then
2623 ac_cv_host=$ac_cv_build
2624 else
2625 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2626 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2631 $as_echo "$ac_cv_host" >&6; }
2632 case $ac_cv_host in
2633 *-*-*) ;;
2634 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2635 esac
2636 host=$ac_cv_host
2637 ac_save_IFS=$IFS; IFS='-'
2638 set x $ac_cv_host
2639 shift
2640 host_cpu=$1
2641 host_vendor=$2
2642 shift; shift
2643 # Remember, the first character of IFS is used to create $*,
2644 # except with old shells:
2645 host_os=$*
2646 IFS=$ac_save_IFS
2647 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2651 $as_echo_n "checking target system type... " >&6; }
2652 if test "${ac_cv_target+set}" = set; then :
2653 $as_echo_n "(cached) " >&6
2654 else
2655 if test "x$target_alias" = x; then
2656 ac_cv_target=$ac_cv_host
2657 else
2658 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2659 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2664 $as_echo "$ac_cv_target" >&6; }
2665 case $ac_cv_target in
2666 *-*-*) ;;
2667 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2668 esac
2669 target=$ac_cv_target
2670 ac_save_IFS=$IFS; IFS='-'
2671 set x $ac_cv_target
2672 shift
2673 target_cpu=$1
2674 target_vendor=$2
2675 shift; shift
2676 # Remember, the first character of IFS is used to create $*,
2677 # except with old shells:
2678 target_os=$*
2679 IFS=$ac_save_IFS
2680 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2683 # The aliases save the names the user supplied, while $host etc.
2684 # will get canonicalized.
2685 test -n "$target_alias" &&
2686 test "$program_prefix$program_suffix$program_transform_name" = \
2687 NONENONEs,x,x, &&
2688 program_prefix=${target_alias}-
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2691 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2692 # Check whether --enable-maintainer-mode was given.
2693 if test "${enable_maintainer_mode+set}" = set; then :
2694 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2695 else
2696 USE_MAINTAINER_MODE=no
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2700 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2701 if test $USE_MAINTAINER_MODE = yes; then
2702 MAINTAINER_MODE_TRUE=
2703 MAINTAINER_MODE_FALSE='#'
2704 else
2705 MAINTAINER_MODE_TRUE='#'
2706 MAINTAINER_MODE_FALSE=
2709 MAINT=$MAINTAINER_MODE_TRUE
2713 if test -z "$ac_abs_top_srcdir"; then
2714 ac_builddir=.
2716 case . in
2717 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2719 ac_dir_suffix=/`$as_echo . | sed 's|^\.[\\/]||'`
2720 # A ".." for each directory in $ac_dir_suffix.
2721 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2722 case $ac_top_builddir_sub in
2723 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2724 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2725 esac ;;
2726 esac
2727 ac_abs_top_builddir=$ac_pwd
2728 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2729 # for backward compatibility:
2730 ac_top_builddir=$ac_top_build_prefix
2732 case $srcdir in
2733 .) # We are building in place.
2734 ac_srcdir=.
2735 ac_top_srcdir=$ac_top_builddir_sub
2736 ac_abs_top_srcdir=$ac_pwd ;;
2737 [\\/]* | ?:[\\/]* ) # Absolute name.
2738 ac_srcdir=$srcdir$ac_dir_suffix;
2739 ac_top_srcdir=$srcdir
2740 ac_abs_top_srcdir=$srcdir ;;
2741 *) # Relative name.
2742 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2743 ac_top_srcdir=$ac_top_build_prefix$srcdir
2744 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2745 esac
2746 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2749 if test -z "$ac_abs_top_srcdir"; then
2750 as_fn_error 1 "internal error: ac_abs_top_srcdir is not set"
2752 if test -r .Conf.settings1; then
2753 . ./.Conf.settings1
2756 ac_ext=c
2757 ac_cpp='$CPP $CPPFLAGS'
2758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2761 if test -n "$ac_tool_prefix"; then
2762 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2763 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2765 $as_echo_n "checking for $ac_word... " >&6; }
2766 if test "${ac_cv_prog_CC+set}" = set; then :
2767 $as_echo_n "(cached) " >&6
2768 else
2769 if test -n "$CC"; then
2770 ac_cv_prog_CC="$CC" # Let the user override the test.
2771 else
2772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2773 for as_dir in $PATH
2775 IFS=$as_save_IFS
2776 test -z "$as_dir" && as_dir=.
2777 for ac_exec_ext in '' $ac_executable_extensions; do
2778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2779 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2780 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2781 break 2
2783 done
2784 done
2785 IFS=$as_save_IFS
2789 CC=$ac_cv_prog_CC
2790 if test -n "$CC"; then
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2792 $as_echo "$CC" >&6; }
2793 else
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2795 $as_echo "no" >&6; }
2800 if test -z "$ac_cv_prog_CC"; then
2801 ac_ct_CC=$CC
2802 # Extract the first word of "gcc", so it can be a program name with args.
2803 set dummy gcc; ac_word=$2
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2805 $as_echo_n "checking for $ac_word... " >&6; }
2806 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2807 $as_echo_n "(cached) " >&6
2808 else
2809 if test -n "$ac_ct_CC"; then
2810 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2811 else
2812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2813 for as_dir in $PATH
2815 IFS=$as_save_IFS
2816 test -z "$as_dir" && as_dir=.
2817 for ac_exec_ext in '' $ac_executable_extensions; do
2818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2819 ac_cv_prog_ac_ct_CC="gcc"
2820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2821 break 2
2823 done
2824 done
2825 IFS=$as_save_IFS
2829 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2830 if test -n "$ac_ct_CC"; then
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2832 $as_echo "$ac_ct_CC" >&6; }
2833 else
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2835 $as_echo "no" >&6; }
2838 if test "x$ac_ct_CC" = x; then
2839 CC=""
2840 else
2841 case $cross_compiling:$ac_tool_warned in
2842 yes:)
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2844 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2845 ac_tool_warned=yes ;;
2846 esac
2847 CC=$ac_ct_CC
2849 else
2850 CC="$ac_cv_prog_CC"
2853 if test -z "$CC"; then
2854 if test -n "$ac_tool_prefix"; then
2855 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2856 set dummy ${ac_tool_prefix}cc; ac_word=$2
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2858 $as_echo_n "checking for $ac_word... " >&6; }
2859 if test "${ac_cv_prog_CC+set}" = set; then :
2860 $as_echo_n "(cached) " >&6
2861 else
2862 if test -n "$CC"; then
2863 ac_cv_prog_CC="$CC" # Let the user override the test.
2864 else
2865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2866 for as_dir in $PATH
2868 IFS=$as_save_IFS
2869 test -z "$as_dir" && as_dir=.
2870 for ac_exec_ext in '' $ac_executable_extensions; do
2871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2872 ac_cv_prog_CC="${ac_tool_prefix}cc"
2873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2874 break 2
2876 done
2877 done
2878 IFS=$as_save_IFS
2882 CC=$ac_cv_prog_CC
2883 if test -n "$CC"; then
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2885 $as_echo "$CC" >&6; }
2886 else
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2888 $as_echo "no" >&6; }
2894 if test -z "$CC"; then
2895 # Extract the first word of "cc", so it can be a program name with args.
2896 set dummy cc; ac_word=$2
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2898 $as_echo_n "checking for $ac_word... " >&6; }
2899 if test "${ac_cv_prog_CC+set}" = set; then :
2900 $as_echo_n "(cached) " >&6
2901 else
2902 if test -n "$CC"; then
2903 ac_cv_prog_CC="$CC" # Let the user override the test.
2904 else
2905 ac_prog_rejected=no
2906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2907 for as_dir in $PATH
2909 IFS=$as_save_IFS
2910 test -z "$as_dir" && as_dir=.
2911 for ac_exec_ext in '' $ac_executable_extensions; do
2912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2913 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2914 ac_prog_rejected=yes
2915 continue
2917 ac_cv_prog_CC="cc"
2918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2919 break 2
2921 done
2922 done
2923 IFS=$as_save_IFS
2925 if test $ac_prog_rejected = yes; then
2926 # We found a bogon in the path, so make sure we never use it.
2927 set dummy $ac_cv_prog_CC
2928 shift
2929 if test $# != 0; then
2930 # We chose a different compiler from the bogus one.
2931 # However, it has the same basename, so the bogon will be chosen
2932 # first if we set CC to just the basename; use the full file name.
2933 shift
2934 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2939 CC=$ac_cv_prog_CC
2940 if test -n "$CC"; then
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2942 $as_echo "$CC" >&6; }
2943 else
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2945 $as_echo "no" >&6; }
2950 if test -z "$CC"; then
2951 if test -n "$ac_tool_prefix"; then
2952 for ac_prog in cl.exe
2954 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2955 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2957 $as_echo_n "checking for $ac_word... " >&6; }
2958 if test "${ac_cv_prog_CC+set}" = set; then :
2959 $as_echo_n "(cached) " >&6
2960 else
2961 if test -n "$CC"; then
2962 ac_cv_prog_CC="$CC" # Let the user override the test.
2963 else
2964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2965 for as_dir in $PATH
2967 IFS=$as_save_IFS
2968 test -z "$as_dir" && as_dir=.
2969 for ac_exec_ext in '' $ac_executable_extensions; do
2970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2971 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2973 break 2
2975 done
2976 done
2977 IFS=$as_save_IFS
2981 CC=$ac_cv_prog_CC
2982 if test -n "$CC"; then
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2984 $as_echo "$CC" >&6; }
2985 else
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2987 $as_echo "no" >&6; }
2991 test -n "$CC" && break
2992 done
2994 if test -z "$CC"; then
2995 ac_ct_CC=$CC
2996 for ac_prog in cl.exe
2998 # Extract the first word of "$ac_prog", so it can be a program name with args.
2999 set dummy $ac_prog; ac_word=$2
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3001 $as_echo_n "checking for $ac_word... " >&6; }
3002 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3003 $as_echo_n "(cached) " >&6
3004 else
3005 if test -n "$ac_ct_CC"; then
3006 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3007 else
3008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3009 for as_dir in $PATH
3011 IFS=$as_save_IFS
3012 test -z "$as_dir" && as_dir=.
3013 for ac_exec_ext in '' $ac_executable_extensions; do
3014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3015 ac_cv_prog_ac_ct_CC="$ac_prog"
3016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3017 break 2
3019 done
3020 done
3021 IFS=$as_save_IFS
3025 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3026 if test -n "$ac_ct_CC"; then
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3028 $as_echo "$ac_ct_CC" >&6; }
3029 else
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3031 $as_echo "no" >&6; }
3035 test -n "$ac_ct_CC" && break
3036 done
3038 if test "x$ac_ct_CC" = x; then
3039 CC=""
3040 else
3041 case $cross_compiling:$ac_tool_warned in
3042 yes:)
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3044 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3045 ac_tool_warned=yes ;;
3046 esac
3047 CC=$ac_ct_CC
3054 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3055 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3056 as_fn_error $? "no acceptable C compiler found in \$PATH
3057 See \`config.log' for more details" "$LINENO" 5; }
3059 # Provide some information about the compiler.
3060 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3061 set X $ac_compile
3062 ac_compiler=$2
3063 for ac_option in --version -v -V -qversion; do
3064 { { ac_try="$ac_compiler $ac_option >&5"
3065 case "(($ac_try" in
3066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3067 *) ac_try_echo=$ac_try;;
3068 esac
3069 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3070 $as_echo "$ac_try_echo"; } >&5
3071 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3072 ac_status=$?
3073 if test -s conftest.err; then
3074 sed '10a\
3075 ... rest of stderr output deleted ...
3076 10q' conftest.err >conftest.er1
3077 cat conftest.er1 >&5
3079 rm -f conftest.er1 conftest.err
3080 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3081 test $ac_status = 0; }
3082 done
3084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3085 /* end confdefs.h. */
3088 main ()
3092 return 0;
3094 _ACEOF
3095 ac_clean_files_save=$ac_clean_files
3096 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3097 # Try to create an executable without -o first, disregard a.out.
3098 # It will help us diagnose broken compilers, and finding out an intuition
3099 # of exeext.
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3101 $as_echo_n "checking whether the C compiler works... " >&6; }
3102 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3104 # The possible output files:
3105 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3107 ac_rmfiles=
3108 for ac_file in $ac_files
3110 case $ac_file in
3111 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3112 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3113 esac
3114 done
3115 rm -f $ac_rmfiles
3117 if { { ac_try="$ac_link_default"
3118 case "(($ac_try" in
3119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3120 *) ac_try_echo=$ac_try;;
3121 esac
3122 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3123 $as_echo "$ac_try_echo"; } >&5
3124 (eval "$ac_link_default") 2>&5
3125 ac_status=$?
3126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3127 test $ac_status = 0; }; then :
3128 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3129 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3130 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3131 # so that the user can short-circuit this test for compilers unknown to
3132 # Autoconf.
3133 for ac_file in $ac_files ''
3135 test -f "$ac_file" || continue
3136 case $ac_file in
3137 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3139 [ab].out )
3140 # We found the default executable, but exeext='' is most
3141 # certainly right.
3142 break;;
3143 *.* )
3144 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3145 then :; else
3146 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3148 # We set ac_cv_exeext here because the later test for it is not
3149 # safe: cross compilers may not add the suffix if given an `-o'
3150 # argument, so we may need to know it at that point already.
3151 # Even if this section looks crufty: it has the advantage of
3152 # actually working.
3153 break;;
3155 break;;
3156 esac
3157 done
3158 test "$ac_cv_exeext" = no && ac_cv_exeext=
3160 else
3161 ac_file=''
3163 if test -z "$ac_file"; then :
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3165 $as_echo "no" >&6; }
3166 $as_echo "$as_me: failed program was:" >&5
3167 sed 's/^/| /' conftest.$ac_ext >&5
3169 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3170 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3171 as_fn_error 77 "C compiler cannot create executables
3172 See \`config.log' for more details" "$LINENO" 5; }
3173 else
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3175 $as_echo "yes" >&6; }
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3178 $as_echo_n "checking for C compiler default output file name... " >&6; }
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3180 $as_echo "$ac_file" >&6; }
3181 ac_exeext=$ac_cv_exeext
3183 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3184 ac_clean_files=$ac_clean_files_save
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3186 $as_echo_n "checking for suffix of executables... " >&6; }
3187 if { { ac_try="$ac_link"
3188 case "(($ac_try" in
3189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3190 *) ac_try_echo=$ac_try;;
3191 esac
3192 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3193 $as_echo "$ac_try_echo"; } >&5
3194 (eval "$ac_link") 2>&5
3195 ac_status=$?
3196 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3197 test $ac_status = 0; }; then :
3198 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3199 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3200 # work properly (i.e., refer to `conftest.exe'), while it won't with
3201 # `rm'.
3202 for ac_file in conftest.exe conftest conftest.*; do
3203 test -f "$ac_file" || continue
3204 case $ac_file in
3205 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3206 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3207 break;;
3208 * ) break;;
3209 esac
3210 done
3211 else
3212 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3213 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3214 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3215 See \`config.log' for more details" "$LINENO" 5; }
3217 rm -f conftest conftest$ac_cv_exeext
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3219 $as_echo "$ac_cv_exeext" >&6; }
3221 rm -f conftest.$ac_ext
3222 EXEEXT=$ac_cv_exeext
3223 ac_exeext=$EXEEXT
3224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3225 /* end confdefs.h. */
3226 #include <stdio.h>
3228 main ()
3230 FILE *f = fopen ("conftest.out", "w");
3231 return ferror (f) || fclose (f) != 0;
3234 return 0;
3236 _ACEOF
3237 ac_clean_files="$ac_clean_files conftest.out"
3238 # Check that the compiler produces executables we can run. If not, either
3239 # the compiler is broken, or we cross compile.
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3241 $as_echo_n "checking whether we are cross compiling... " >&6; }
3242 if test "$cross_compiling" != yes; then
3243 { { ac_try="$ac_link"
3244 case "(($ac_try" in
3245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3246 *) ac_try_echo=$ac_try;;
3247 esac
3248 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3249 $as_echo "$ac_try_echo"; } >&5
3250 (eval "$ac_link") 2>&5
3251 ac_status=$?
3252 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3253 test $ac_status = 0; }
3254 if { ac_try='./conftest$ac_cv_exeext'
3255 { { case "(($ac_try" in
3256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3257 *) ac_try_echo=$ac_try;;
3258 esac
3259 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3260 $as_echo "$ac_try_echo"; } >&5
3261 (eval "$ac_try") 2>&5
3262 ac_status=$?
3263 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3264 test $ac_status = 0; }; }; then
3265 cross_compiling=no
3266 else
3267 if test "$cross_compiling" = maybe; then
3268 cross_compiling=yes
3269 else
3270 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3271 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3272 as_fn_error $? "cannot run C compiled programs.
3273 If you meant to cross compile, use \`--host'.
3274 See \`config.log' for more details" "$LINENO" 5; }
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3279 $as_echo "$cross_compiling" >&6; }
3281 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3282 ac_clean_files=$ac_clean_files_save
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3284 $as_echo_n "checking for suffix of object files... " >&6; }
3285 if test "${ac_cv_objext+set}" = set; then :
3286 $as_echo_n "(cached) " >&6
3287 else
3288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3289 /* end confdefs.h. */
3292 main ()
3296 return 0;
3298 _ACEOF
3299 rm -f conftest.o conftest.obj
3300 if { { ac_try="$ac_compile"
3301 case "(($ac_try" in
3302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3303 *) ac_try_echo=$ac_try;;
3304 esac
3305 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3306 $as_echo "$ac_try_echo"; } >&5
3307 (eval "$ac_compile") 2>&5
3308 ac_status=$?
3309 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3310 test $ac_status = 0; }; then :
3311 for ac_file in conftest.o conftest.obj conftest.*; do
3312 test -f "$ac_file" || continue;
3313 case $ac_file in
3314 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3315 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3316 break;;
3317 esac
3318 done
3319 else
3320 $as_echo "$as_me: failed program was:" >&5
3321 sed 's/^/| /' conftest.$ac_ext >&5
3323 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3324 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3325 as_fn_error $? "cannot compute suffix of object files: cannot compile
3326 See \`config.log' for more details" "$LINENO" 5; }
3328 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3331 $as_echo "$ac_cv_objext" >&6; }
3332 OBJEXT=$ac_cv_objext
3333 ac_objext=$OBJEXT
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3335 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3336 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3337 $as_echo_n "(cached) " >&6
3338 else
3339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3340 /* end confdefs.h. */
3343 main ()
3345 #ifndef __GNUC__
3346 choke me
3347 #endif
3350 return 0;
3352 _ACEOF
3353 if ac_fn_c_try_compile "$LINENO"; then :
3354 ac_compiler_gnu=yes
3355 else
3356 ac_compiler_gnu=no
3358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3359 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3363 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3364 if test $ac_compiler_gnu = yes; then
3365 GCC=yes
3366 else
3367 GCC=
3369 ac_test_CFLAGS=${CFLAGS+set}
3370 ac_save_CFLAGS=$CFLAGS
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3372 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3373 if test "${ac_cv_prog_cc_g+set}" = set; then :
3374 $as_echo_n "(cached) " >&6
3375 else
3376 ac_save_c_werror_flag=$ac_c_werror_flag
3377 ac_c_werror_flag=yes
3378 ac_cv_prog_cc_g=no
3379 CFLAGS="-g"
3380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3381 /* end confdefs.h. */
3384 main ()
3388 return 0;
3390 _ACEOF
3391 if ac_fn_c_try_compile "$LINENO"; then :
3392 ac_cv_prog_cc_g=yes
3393 else
3394 CFLAGS=""
3395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3396 /* end confdefs.h. */
3399 main ()
3403 return 0;
3405 _ACEOF
3406 if ac_fn_c_try_compile "$LINENO"; then :
3408 else
3409 ac_c_werror_flag=$ac_save_c_werror_flag
3410 CFLAGS="-g"
3411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3412 /* end confdefs.h. */
3415 main ()
3419 return 0;
3421 _ACEOF
3422 if ac_fn_c_try_compile "$LINENO"; then :
3423 ac_cv_prog_cc_g=yes
3425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3430 ac_c_werror_flag=$ac_save_c_werror_flag
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3433 $as_echo "$ac_cv_prog_cc_g" >&6; }
3434 if test "$ac_test_CFLAGS" = set; then
3435 CFLAGS=$ac_save_CFLAGS
3436 elif test $ac_cv_prog_cc_g = yes; then
3437 if test "$GCC" = yes; then
3438 CFLAGS="-g -O2"
3439 else
3440 CFLAGS="-g"
3442 else
3443 if test "$GCC" = yes; then
3444 CFLAGS="-O2"
3445 else
3446 CFLAGS=
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3450 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3451 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3452 $as_echo_n "(cached) " >&6
3453 else
3454 ac_cv_prog_cc_c89=no
3455 ac_save_CC=$CC
3456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3457 /* end confdefs.h. */
3458 #include <stdarg.h>
3459 #include <stdio.h>
3460 #include <sys/types.h>
3461 #include <sys/stat.h>
3462 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3463 struct buf { int x; };
3464 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3465 static char *e (p, i)
3466 char **p;
3467 int i;
3469 return p[i];
3471 static char *f (char * (*g) (char **, int), char **p, ...)
3473 char *s;
3474 va_list v;
3475 va_start (v,p);
3476 s = g (p, va_arg (v,int));
3477 va_end (v);
3478 return s;
3481 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3482 function prototypes and stuff, but not '\xHH' hex character constants.
3483 These don't provoke an error unfortunately, instead are silently treated
3484 as 'x'. The following induces an error, until -std is added to get
3485 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3486 array size at least. It's necessary to write '\x00'==0 to get something
3487 that's true only with -std. */
3488 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3490 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3491 inside strings and character constants. */
3492 #define FOO(x) 'x'
3493 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3495 int test (int i, double x);
3496 struct s1 {int (*f) (int a);};
3497 struct s2 {int (*f) (double a);};
3498 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3499 int argc;
3500 char **argv;
3502 main ()
3504 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3506 return 0;
3508 _ACEOF
3509 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3510 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3512 CC="$ac_save_CC $ac_arg"
3513 if ac_fn_c_try_compile "$LINENO"; then :
3514 ac_cv_prog_cc_c89=$ac_arg
3516 rm -f core conftest.err conftest.$ac_objext
3517 test "x$ac_cv_prog_cc_c89" != "xno" && break
3518 done
3519 rm -f conftest.$ac_ext
3520 CC=$ac_save_CC
3523 # AC_CACHE_VAL
3524 case "x$ac_cv_prog_cc_c89" in
3526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3527 $as_echo "none needed" >&6; } ;;
3528 xno)
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3530 $as_echo "unsupported" >&6; } ;;
3532 CC="$CC $ac_cv_prog_cc_c89"
3533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3534 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3535 esac
3536 if test "x$ac_cv_prog_cc_c89" != xno; then :
3540 ac_ext=c
3541 ac_cpp='$CPP $CPPFLAGS'
3542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3546 if test "x$CC" != xcc; then
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
3548 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3549 else
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
3551 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3553 set dummy $CC; ac_cc=`$as_echo "$2" |
3554 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3555 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
3556 $as_echo_n "(cached) " >&6
3557 else
3558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3559 /* end confdefs.h. */
3562 main ()
3566 return 0;
3568 _ACEOF
3569 # Make sure it works both with $CC and with simple cc.
3570 # We do the test twice because some compilers refuse to overwrite an
3571 # existing .o file with -o, though they will create one.
3572 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3573 rm -f conftest2.*
3574 if { { case "(($ac_try" in
3575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3576 *) ac_try_echo=$ac_try;;
3577 esac
3578 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3579 $as_echo "$ac_try_echo"; } >&5
3580 (eval "$ac_try") 2>&5
3581 ac_status=$?
3582 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3583 test $ac_status = 0; } &&
3584 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3586 *) ac_try_echo=$ac_try;;
3587 esac
3588 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3589 $as_echo "$ac_try_echo"; } >&5
3590 (eval "$ac_try") 2>&5
3591 ac_status=$?
3592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3593 test $ac_status = 0; };
3594 then
3595 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3596 if test "x$CC" != xcc; then
3597 # Test first that cc exists at all.
3598 if { ac_try='cc -c conftest.$ac_ext >&5'
3599 { { case "(($ac_try" in
3600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3601 *) ac_try_echo=$ac_try;;
3602 esac
3603 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3604 $as_echo "$ac_try_echo"; } >&5
3605 (eval "$ac_try") 2>&5
3606 ac_status=$?
3607 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3608 test $ac_status = 0; }; }; then
3609 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3610 rm -f conftest2.*
3611 if { { case "(($ac_try" in
3612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3613 *) ac_try_echo=$ac_try;;
3614 esac
3615 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3616 $as_echo "$ac_try_echo"; } >&5
3617 (eval "$ac_try") 2>&5
3618 ac_status=$?
3619 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3620 test $ac_status = 0; } &&
3621 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3623 *) ac_try_echo=$ac_try;;
3624 esac
3625 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3626 $as_echo "$ac_try_echo"; } >&5
3627 (eval "$ac_try") 2>&5
3628 ac_status=$?
3629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3630 test $ac_status = 0; };
3631 then
3632 # cc works too.
3634 else
3635 # cc exists but doesn't like -o.
3636 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3640 else
3641 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3643 rm -f core conftest*
3646 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3648 $as_echo "yes" >&6; }
3649 else
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3651 $as_echo "no" >&6; }
3653 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
3657 # expand $ac_aux_dir to an absolute path
3658 am_aux_dir=`cd $ac_aux_dir && pwd`
3660 # FIXME: we rely on the cache variable name because
3661 # there is no other way.
3662 set dummy $CC
3663 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3664 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
3665 if test "$am_t" != yes; then
3666 # Losing compiler, so override with the script.
3667 # FIXME: It is wrong to rewrite CC.
3668 # But if we don't then we get into trouble of one sort or another.
3669 # A longer-term fix would be to have automake use am__CC in this case,
3670 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3671 CC="$am_aux_dir/compile $CC"
3675 rm -rf .tst 2>/dev/null
3676 mkdir .tst 2>/dev/null
3677 if test -d .tst; then
3678 am__leading_dot=.
3679 else
3680 am__leading_dot=_
3682 rmdir .tst 2>/dev/null
3684 DEPDIR="${am__leading_dot}deps"
3686 ac_config_commands="$ac_config_commands depfiles"
3689 am_make=${MAKE-make}
3690 cat > confinc << 'END'
3691 am__doit:
3692 @echo this is the am__doit target
3693 .PHONY: am__doit
3695 # If we don't find an include directive, just comment out the code.
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3697 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3698 am__include="#"
3699 am__quote=
3700 _am_result=none
3701 # First try GNU make style include.
3702 echo "include confinc" > confmf
3703 # Ignore all kinds of additional output from `make'.
3704 case `$am_make -s -f confmf 2> /dev/null` in #(
3705 *the\ am__doit\ target*)
3706 am__include=include
3707 am__quote=
3708 _am_result=GNU
3710 esac
3711 # Now try BSD make style include.
3712 if test "$am__include" = "#"; then
3713 echo '.include "confinc"' > confmf
3714 case `$am_make -s -f confmf 2> /dev/null` in #(
3715 *the\ am__doit\ target*)
3716 am__include=.include
3717 am__quote="\""
3718 _am_result=BSD
3720 esac
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3725 $as_echo "$_am_result" >&6; }
3726 rm -f confinc confmf
3728 # Check whether --enable-dependency-tracking was given.
3729 if test "${enable_dependency_tracking+set}" = set; then :
3730 enableval=$enable_dependency_tracking;
3733 if test "x$enable_dependency_tracking" != xno; then
3734 am_depcomp="$ac_aux_dir/depcomp"
3735 AMDEPBACKSLASH='\'
3737 if test "x$enable_dependency_tracking" != xno; then
3738 AMDEP_TRUE=
3739 AMDEP_FALSE='#'
3740 else
3741 AMDEP_TRUE='#'
3742 AMDEP_FALSE=
3746 # By default we simply use the C compiler to build assembly code.
3748 test "${CCAS+set}" = set || CCAS=$CC
3749 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
3753 depcc="$CCAS" am_compiler_list=
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3756 $as_echo_n "checking dependency style of $depcc... " >&6; }
3757 if test "${am_cv_CCAS_dependencies_compiler_type+set}" = set; then :
3758 $as_echo_n "(cached) " >&6
3759 else
3760 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3761 # We make a subdir and do the tests there. Otherwise we can end up
3762 # making bogus files that we don't know about and never remove. For
3763 # instance it was reported that on HP-UX the gcc test will end up
3764 # making a dummy file named `D' -- because `-MD' means `put the output
3765 # in D'.
3766 mkdir conftest.dir
3767 # Copy depcomp to subdir because otherwise we won't find it if we're
3768 # using a relative directory.
3769 cp "$am_depcomp" conftest.dir
3770 cd conftest.dir
3771 # We will build objects and dependencies in a subdirectory because
3772 # it helps to detect inapplicable dependency modes. For instance
3773 # both Tru64's cc and ICC support -MD to output dependencies as a
3774 # side effect of compilation, but ICC will put the dependencies in
3775 # the current directory while Tru64 will put them in the object
3776 # directory.
3777 mkdir sub
3779 am_cv_CCAS_dependencies_compiler_type=none
3780 if test "$am_compiler_list" = ""; then
3781 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3783 am__universal=false
3786 for depmode in $am_compiler_list; do
3787 # Setup a source with many dependencies, because some compilers
3788 # like to wrap large dependency lists on column 80 (with \), and
3789 # we should not choose a depcomp mode which is confused by this.
3791 # We need to recreate these files for each test, as the compiler may
3792 # overwrite some of them when testing with obscure command lines.
3793 # This happens at least with the AIX C compiler.
3794 : > sub/conftest.c
3795 for i in 1 2 3 4 5 6; do
3796 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3797 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3798 # Solaris 8's {/usr,}/bin/sh.
3799 touch sub/conftst$i.h
3800 done
3801 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3803 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3804 # mode. It turns out that the SunPro C++ compiler does not properly
3805 # handle `-M -o', and we need to detect this. Also, some Intel
3806 # versions had trouble with output in subdirs
3807 am__obj=sub/conftest.${OBJEXT-o}
3808 am__minus_obj="-o $am__obj"
3809 case $depmode in
3810 gcc)
3811 # This depmode causes a compiler race in universal mode.
3812 test "$am__universal" = false || continue
3814 nosideeffect)
3815 # after this tag, mechanisms are not by side-effect, so they'll
3816 # only be used when explicitly requested
3817 if test "x$enable_dependency_tracking" = xyes; then
3818 continue
3819 else
3820 break
3823 msvisualcpp | msvcmsys)
3824 # This compiler won't grok `-c -o', but also, the minuso test has
3825 # not run yet. These depmodes are late enough in the game, and
3826 # so weak that their functioning should not be impacted.
3827 am__obj=conftest.${OBJEXT-o}
3828 am__minus_obj=
3830 none) break ;;
3831 esac
3832 if depmode=$depmode \
3833 source=sub/conftest.c object=$am__obj \
3834 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3835 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3836 >/dev/null 2>conftest.err &&
3837 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3838 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3839 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3840 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3841 # icc doesn't choke on unknown options, it will just issue warnings
3842 # or remarks (even with -Werror). So we grep stderr for any message
3843 # that says an option was ignored or not supported.
3844 # When given -MP, icc 7.0 and 7.1 complain thusly:
3845 # icc: Command line warning: ignoring option '-M'; no argument required
3846 # The diagnosis changed in icc 8.0:
3847 # icc: Command line remark: option '-MP' not supported
3848 if (grep 'ignoring option' conftest.err ||
3849 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3850 am_cv_CCAS_dependencies_compiler_type=$depmode
3851 break
3854 done
3856 cd ..
3857 rm -rf conftest.dir
3858 else
3859 am_cv_CCAS_dependencies_compiler_type=none
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
3864 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
3865 CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
3868 test "x$enable_dependency_tracking" != xno \
3869 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
3870 am__fastdepCCAS_TRUE=
3871 am__fastdepCCAS_FALSE='#'
3872 else
3873 am__fastdepCCAS_TRUE='#'
3874 am__fastdepCCAS_FALSE=
3878 ac_ext=c
3879 ac_cpp='$CPP $CPPFLAGS'
3880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3884 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3885 # On Suns, sometimes $CPP names a directory.
3886 if test -n "$CPP" && test -d "$CPP"; then
3887 CPP=
3889 if test -z "$CPP"; then
3890 if test "${ac_cv_prog_CPP+set}" = set; then :
3891 $as_echo_n "(cached) " >&6
3892 else
3893 # Double quotes because CPP needs to be expanded
3894 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3896 ac_preproc_ok=false
3897 for ac_c_preproc_warn_flag in '' yes
3899 # Use a header file that comes with gcc, so configuring glibc
3900 # with a fresh cross-compiler works.
3901 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3902 # <limits.h> exists even on freestanding compilers.
3903 # On the NeXT, cc -E runs the code through the compiler's parser,
3904 # not just through cpp. "Syntax error" is here to catch this case.
3905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3906 /* end confdefs.h. */
3907 #ifdef __STDC__
3908 # include <limits.h>
3909 #else
3910 # include <assert.h>
3911 #endif
3912 Syntax error
3913 _ACEOF
3914 if ac_fn_c_try_cpp "$LINENO"; then :
3916 else
3917 # Broken: fails on valid input.
3918 continue
3920 rm -f conftest.err conftest.i conftest.$ac_ext
3922 # OK, works on sane cases. Now check whether nonexistent headers
3923 # can be detected and how.
3924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3925 /* end confdefs.h. */
3926 #include <ac_nonexistent.h>
3927 _ACEOF
3928 if ac_fn_c_try_cpp "$LINENO"; then :
3929 # Broken: success on invalid input.
3930 continue
3931 else
3932 # Passes both tests.
3933 ac_preproc_ok=:
3934 break
3936 rm -f conftest.err conftest.i conftest.$ac_ext
3938 done
3939 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3940 rm -f conftest.i conftest.err conftest.$ac_ext
3941 if $ac_preproc_ok; then :
3942 break
3945 done
3946 ac_cv_prog_CPP=$CPP
3949 CPP=$ac_cv_prog_CPP
3950 else
3951 ac_cv_prog_CPP=$CPP
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3954 $as_echo "$CPP" >&6; }
3955 ac_preproc_ok=false
3956 for ac_c_preproc_warn_flag in '' yes
3958 # Use a header file that comes with gcc, so configuring glibc
3959 # with a fresh cross-compiler works.
3960 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3961 # <limits.h> exists even on freestanding compilers.
3962 # On the NeXT, cc -E runs the code through the compiler's parser,
3963 # not just through cpp. "Syntax error" is here to catch this case.
3964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3965 /* end confdefs.h. */
3966 #ifdef __STDC__
3967 # include <limits.h>
3968 #else
3969 # include <assert.h>
3970 #endif
3971 Syntax error
3972 _ACEOF
3973 if ac_fn_c_try_cpp "$LINENO"; then :
3975 else
3976 # Broken: fails on valid input.
3977 continue
3979 rm -f conftest.err conftest.i conftest.$ac_ext
3981 # OK, works on sane cases. Now check whether nonexistent headers
3982 # can be detected and how.
3983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3984 /* end confdefs.h. */
3985 #include <ac_nonexistent.h>
3986 _ACEOF
3987 if ac_fn_c_try_cpp "$LINENO"; then :
3988 # Broken: success on invalid input.
3989 continue
3990 else
3991 # Passes both tests.
3992 ac_preproc_ok=:
3993 break
3995 rm -f conftest.err conftest.i conftest.$ac_ext
3997 done
3998 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3999 rm -f conftest.i conftest.err conftest.$ac_ext
4000 if $ac_preproc_ok; then :
4002 else
4003 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4004 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4005 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4006 See \`config.log' for more details" "$LINENO" 5; }
4009 ac_ext=c
4010 ac_cpp='$CPP $CPPFLAGS'
4011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C preprocessor needs special flags" >&5
4017 $as_echo_n "checking whether the C preprocessor needs special flags... " >&6; }
4019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4020 /* end confdefs.h. */
4021 #include <limits.h>
4022 #if (32767 >= 4294967295ul) || (65535u >= 4294967295ul)
4023 # include "your C preprocessor is broken 1"
4024 #elif (0xffffu == 0xfffffffful)
4025 # include "your C preprocessor is broken 2"
4026 #elif (32767 >= ULONG_MAX) || (65535u >= ULONG_MAX)
4027 # include "your C preprocessor is broken 3"
4028 #endif
4031 main ()
4036 return 0;
4038 _ACEOF
4040 mfx_save_CPPFLAGS=$CPPFLAGS
4041 mfx_tmp=ERROR
4042 for mfx_arg in "" -no-cpp-precomp
4044 CPPFLAGS="$mfx_arg $mfx_save_CPPFLAGS"
4045 if ac_fn_c_try_compile "$LINENO"; then :
4046 mfx_tmp=$mfx_arg
4047 break
4049 rm -f core conftest.err conftest.$ac_objext
4050 done
4051 CPPFLAGS=$mfx_save_CPPFLAGS
4052 rm -f conftest.$ac_ext conftest.$ac_objext
4053 case x$mfx_tmp in
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4056 $as_echo "none needed" >&6; } ;;
4057 xERROR)
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ERROR" >&5
4059 $as_echo "ERROR" >&6; }
4060 as_fn_error $? "your C preprocessor is broken - for details see config.log" "$LINENO" 5
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mfx_tmp" >&5
4064 $as_echo "$mfx_tmp" >&6; }
4065 CPPFLAGS="$mfx_tmp $CPPFLAGS"
4067 esac
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4071 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4072 if test "${ac_cv_c_const+set}" = set; then :
4073 $as_echo_n "(cached) " >&6
4074 else
4075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4076 /* end confdefs.h. */
4079 main ()
4081 /* FIXME: Include the comments suggested by Paul. */
4082 #ifndef __cplusplus
4083 /* Ultrix mips cc rejects this. */
4084 typedef int charset[2];
4085 const charset cs;
4086 /* SunOS 4.1.1 cc rejects this. */
4087 char const *const *pcpcc;
4088 char **ppc;
4089 /* NEC SVR4.0.2 mips cc rejects this. */
4090 struct point {int x, y;};
4091 static struct point const zero = {0,0};
4092 /* AIX XL C 1.02.0.0 rejects this.
4093 It does not let you subtract one const X* pointer from another in
4094 an arm of an if-expression whose if-part is not a constant
4095 expression */
4096 const char *g = "string";
4097 pcpcc = &g + (g ? g-g : 0);
4098 /* HPUX 7.0 cc rejects these. */
4099 ++pcpcc;
4100 ppc = (char**) pcpcc;
4101 pcpcc = (char const *const *) ppc;
4102 { /* SCO 3.2v4 cc rejects this. */
4103 char *t;
4104 char const *s = 0 ? (char *) 0 : (char const *) 0;
4106 *t++ = 0;
4107 if (s) return 0;
4109 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4110 int x[] = {25, 17};
4111 const int *foo = &x[0];
4112 ++foo;
4114 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4115 typedef const int *iptr;
4116 iptr p = 0;
4117 ++p;
4119 { /* AIX XL C 1.02.0.0 rejects this saying
4120 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4121 struct s { int j; const int *ap[3]; };
4122 struct s *b; b->j = 5;
4124 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4125 const int foo = 10;
4126 if (!foo) return 0;
4128 return !cs[0] && !zero.x;
4129 #endif
4132 return 0;
4134 _ACEOF
4135 if ac_fn_c_try_compile "$LINENO"; then :
4136 ac_cv_c_const=yes
4137 else
4138 ac_cv_c_const=no
4140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4143 $as_echo "$ac_cv_c_const" >&6; }
4144 if test $ac_cv_c_const = no; then
4146 $as_echo "#define const /**/" >>confdefs.h
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4152 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4153 if test "${ac_cv_path_GREP+set}" = set; then :
4154 $as_echo_n "(cached) " >&6
4155 else
4156 if test -z "$GREP"; then
4157 ac_path_GREP_found=false
4158 # Loop through the user's path and test for each of PROGNAME-LIST
4159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4160 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4162 IFS=$as_save_IFS
4163 test -z "$as_dir" && as_dir=.
4164 for ac_prog in grep ggrep; do
4165 for ac_exec_ext in '' $ac_executable_extensions; do
4166 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4167 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4168 # Check for GNU ac_path_GREP and select it if it is found.
4169 # Check for GNU $ac_path_GREP
4170 case `"$ac_path_GREP" --version 2>&1` in
4171 *GNU*)
4172 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4174 ac_count=0
4175 $as_echo_n 0123456789 >"conftest.in"
4176 while :
4178 cat "conftest.in" "conftest.in" >"conftest.tmp"
4179 mv "conftest.tmp" "conftest.in"
4180 cp "conftest.in" "conftest.nl"
4181 $as_echo 'GREP' >> "conftest.nl"
4182 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4183 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4184 as_fn_arith $ac_count + 1 && ac_count=$as_val
4185 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4186 # Best one so far, save it but keep looking for a better one
4187 ac_cv_path_GREP="$ac_path_GREP"
4188 ac_path_GREP_max=$ac_count
4190 # 10*(2^10) chars as input seems more than enough
4191 test $ac_count -gt 10 && break
4192 done
4193 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4194 esac
4196 $ac_path_GREP_found && break 3
4197 done
4198 done
4199 done
4200 IFS=$as_save_IFS
4201 if test -z "$ac_cv_path_GREP"; then
4202 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4204 else
4205 ac_cv_path_GREP=$GREP
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4210 $as_echo "$ac_cv_path_GREP" >&6; }
4211 GREP="$ac_cv_path_GREP"
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4215 $as_echo_n "checking for egrep... " >&6; }
4216 if test "${ac_cv_path_EGREP+set}" = set; then :
4217 $as_echo_n "(cached) " >&6
4218 else
4219 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4220 then ac_cv_path_EGREP="$GREP -E"
4221 else
4222 if test -z "$EGREP"; then
4223 ac_path_EGREP_found=false
4224 # Loop through the user's path and test for each of PROGNAME-LIST
4225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4226 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4228 IFS=$as_save_IFS
4229 test -z "$as_dir" && as_dir=.
4230 for ac_prog in egrep; do
4231 for ac_exec_ext in '' $ac_executable_extensions; do
4232 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4233 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4234 # Check for GNU ac_path_EGREP and select it if it is found.
4235 # Check for GNU $ac_path_EGREP
4236 case `"$ac_path_EGREP" --version 2>&1` in
4237 *GNU*)
4238 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4240 ac_count=0
4241 $as_echo_n 0123456789 >"conftest.in"
4242 while :
4244 cat "conftest.in" "conftest.in" >"conftest.tmp"
4245 mv "conftest.tmp" "conftest.in"
4246 cp "conftest.in" "conftest.nl"
4247 $as_echo 'EGREP' >> "conftest.nl"
4248 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4249 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4250 as_fn_arith $ac_count + 1 && ac_count=$as_val
4251 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4252 # Best one so far, save it but keep looking for a better one
4253 ac_cv_path_EGREP="$ac_path_EGREP"
4254 ac_path_EGREP_max=$ac_count
4256 # 10*(2^10) chars as input seems more than enough
4257 test $ac_count -gt 10 && break
4258 done
4259 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4260 esac
4262 $ac_path_EGREP_found && break 3
4263 done
4264 done
4265 done
4266 IFS=$as_save_IFS
4267 if test -z "$ac_cv_path_EGREP"; then
4268 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4270 else
4271 ac_cv_path_EGREP=$EGREP
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4277 $as_echo "$ac_cv_path_EGREP" >&6; }
4278 EGREP="$ac_cv_path_EGREP"
4281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4282 $as_echo_n "checking for ANSI C header files... " >&6; }
4283 if test "${ac_cv_header_stdc+set}" = set; then :
4284 $as_echo_n "(cached) " >&6
4285 else
4286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4287 /* end confdefs.h. */
4288 #include <stdlib.h>
4289 #include <stdarg.h>
4290 #include <string.h>
4291 #include <float.h>
4294 main ()
4298 return 0;
4300 _ACEOF
4301 if ac_fn_c_try_compile "$LINENO"; then :
4302 ac_cv_header_stdc=yes
4303 else
4304 ac_cv_header_stdc=no
4306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4308 if test $ac_cv_header_stdc = yes; then
4309 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4311 /* end confdefs.h. */
4312 #include <string.h>
4314 _ACEOF
4315 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4316 $EGREP "memchr" >/dev/null 2>&1; then :
4318 else
4319 ac_cv_header_stdc=no
4321 rm -f conftest*
4325 if test $ac_cv_header_stdc = yes; then
4326 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4328 /* end confdefs.h. */
4329 #include <stdlib.h>
4331 _ACEOF
4332 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4333 $EGREP "free" >/dev/null 2>&1; then :
4335 else
4336 ac_cv_header_stdc=no
4338 rm -f conftest*
4342 if test $ac_cv_header_stdc = yes; then
4343 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4344 if test "$cross_compiling" = yes; then :
4346 else
4347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4348 /* end confdefs.h. */
4349 #include <ctype.h>
4350 #include <stdlib.h>
4351 #if ((' ' & 0x0FF) == 0x020)
4352 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4353 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4354 #else
4355 # define ISLOWER(c) \
4356 (('a' <= (c) && (c) <= 'i') \
4357 || ('j' <= (c) && (c) <= 'r') \
4358 || ('s' <= (c) && (c) <= 'z'))
4359 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4360 #endif
4362 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4364 main ()
4366 int i;
4367 for (i = 0; i < 256; i++)
4368 if (XOR (islower (i), ISLOWER (i))
4369 || toupper (i) != TOUPPER (i))
4370 return 2;
4371 return 0;
4373 _ACEOF
4374 if ac_fn_c_try_run "$LINENO"; then :
4376 else
4377 ac_cv_header_stdc=no
4379 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4380 conftest.$ac_objext conftest.beam conftest.$ac_ext
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4386 $as_echo "$ac_cv_header_stdc" >&6; }
4387 if test $ac_cv_header_stdc = yes; then
4389 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4393 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4394 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4395 inttypes.h stdint.h unistd.h
4396 do :
4397 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4398 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4400 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4401 cat >>confdefs.h <<_ACEOF
4402 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4403 _ACEOF
4407 done
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
4412 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
4413 if test "${ac_cv_c_bigendian+set}" = set; then :
4414 $as_echo_n "(cached) " >&6
4415 else
4416 ac_cv_c_bigendian=unknown
4417 # See if we're dealing with a universal compiler.
4418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4419 /* end confdefs.h. */
4420 #ifndef __APPLE_CC__
4421 not a universal capable compiler
4422 #endif
4423 typedef int dummy;
4425 _ACEOF
4426 if ac_fn_c_try_compile "$LINENO"; then :
4428 # Check for potential -arch flags. It is not universal unless
4429 # there are at least two -arch flags with different values.
4430 ac_arch=
4431 ac_prev=
4432 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
4433 if test -n "$ac_prev"; then
4434 case $ac_word in
4435 i?86 | x86_64 | ppc | ppc64)
4436 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
4437 ac_arch=$ac_word
4438 else
4439 ac_cv_c_bigendian=universal
4440 break
4443 esac
4444 ac_prev=
4445 elif test "x$ac_word" = "x-arch"; then
4446 ac_prev=arch
4448 done
4450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4451 if test $ac_cv_c_bigendian = unknown; then
4452 # See if sys/param.h defines the BYTE_ORDER macro.
4453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4454 /* end confdefs.h. */
4455 #include <sys/types.h>
4456 #include <sys/param.h>
4459 main ()
4461 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
4462 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
4463 && LITTLE_ENDIAN)
4464 bogus endian macros
4465 #endif
4468 return 0;
4470 _ACEOF
4471 if ac_fn_c_try_compile "$LINENO"; then :
4472 # It does; now see whether it defined to BIG_ENDIAN or not.
4473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4474 /* end confdefs.h. */
4475 #include <sys/types.h>
4476 #include <sys/param.h>
4479 main ()
4481 #if BYTE_ORDER != BIG_ENDIAN
4482 not big endian
4483 #endif
4486 return 0;
4488 _ACEOF
4489 if ac_fn_c_try_compile "$LINENO"; then :
4490 ac_cv_c_bigendian=yes
4491 else
4492 ac_cv_c_bigendian=no
4494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4498 if test $ac_cv_c_bigendian = unknown; then
4499 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
4500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4501 /* end confdefs.h. */
4502 #include <limits.h>
4505 main ()
4507 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
4508 bogus endian macros
4509 #endif
4512 return 0;
4514 _ACEOF
4515 if ac_fn_c_try_compile "$LINENO"; then :
4516 # It does; now see whether it defined to _BIG_ENDIAN or not.
4517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4518 /* end confdefs.h. */
4519 #include <limits.h>
4522 main ()
4524 #ifndef _BIG_ENDIAN
4525 not big endian
4526 #endif
4529 return 0;
4531 _ACEOF
4532 if ac_fn_c_try_compile "$LINENO"; then :
4533 ac_cv_c_bigendian=yes
4534 else
4535 ac_cv_c_bigendian=no
4537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4541 if test $ac_cv_c_bigendian = unknown; then
4542 # Compile a test program.
4543 if test "$cross_compiling" = yes; then :
4544 # Try to guess by grepping values from an object file.
4545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4546 /* end confdefs.h. */
4547 short int ascii_mm[] =
4548 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4549 short int ascii_ii[] =
4550 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4551 int use_ascii (int i) {
4552 return ascii_mm[i] + ascii_ii[i];
4554 short int ebcdic_ii[] =
4555 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4556 short int ebcdic_mm[] =
4557 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4558 int use_ebcdic (int i) {
4559 return ebcdic_mm[i] + ebcdic_ii[i];
4561 extern int foo;
4564 main ()
4566 return use_ascii (foo) == use_ebcdic (foo);
4568 return 0;
4570 _ACEOF
4571 if ac_fn_c_try_compile "$LINENO"; then :
4572 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
4573 ac_cv_c_bigendian=yes
4575 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4576 if test "$ac_cv_c_bigendian" = unknown; then
4577 ac_cv_c_bigendian=no
4578 else
4579 # finding both strings is unlikely to happen, but who knows?
4580 ac_cv_c_bigendian=unknown
4584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4585 else
4586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4587 /* end confdefs.h. */
4588 $ac_includes_default
4590 main ()
4593 /* Are we little or big endian? From Harbison&Steele. */
4594 union
4596 long int l;
4597 char c[sizeof (long int)];
4598 } u;
4599 u.l = 1;
4600 return u.c[sizeof (long int) - 1] == 1;
4603 return 0;
4605 _ACEOF
4606 if ac_fn_c_try_run "$LINENO"; then :
4607 ac_cv_c_bigendian=no
4608 else
4609 ac_cv_c_bigendian=yes
4611 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4612 conftest.$ac_objext conftest.beam conftest.$ac_ext
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
4618 $as_echo "$ac_cv_c_bigendian" >&6; }
4619 case $ac_cv_c_bigendian in #(
4620 yes)
4622 $as_echo "#define LZO_ABI_BIG_ENDIAN 1" >>confdefs.h
4623 ;; #(
4626 $as_echo "#define LZO_ABI_LITTLE_ENDIAN 1" >>confdefs.h
4627 ;; #(
4628 universal)
4630 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
4632 ;; #(
4634 as_fn_error $? "unknown endianness
4635 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
4636 esac
4639 # Check whether --enable-largefile was given.
4640 if test "${enable_largefile+set}" = set; then :
4641 enableval=$enable_largefile;
4644 if test "$enable_largefile" != no; then
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4647 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4648 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
4649 $as_echo_n "(cached) " >&6
4650 else
4651 ac_cv_sys_largefile_CC=no
4652 if test "$GCC" != yes; then
4653 ac_save_CC=$CC
4654 while :; do
4655 # IRIX 6.2 and later do not support large files by default,
4656 # so use the C compiler's -n32 option if that helps.
4657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4658 /* end confdefs.h. */
4659 #include <sys/types.h>
4660 /* Check that off_t can represent 2**63 - 1 correctly.
4661 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4662 since some C++ compilers masquerading as C compilers
4663 incorrectly reject 9223372036854775807. */
4664 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4665 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4666 && LARGE_OFF_T % 2147483647 == 1)
4667 ? 1 : -1];
4669 main ()
4673 return 0;
4675 _ACEOF
4676 if ac_fn_c_try_compile "$LINENO"; then :
4677 break
4679 rm -f core conftest.err conftest.$ac_objext
4680 CC="$CC -n32"
4681 if ac_fn_c_try_compile "$LINENO"; then :
4682 ac_cv_sys_largefile_CC=' -n32'; break
4684 rm -f core conftest.err conftest.$ac_objext
4685 break
4686 done
4687 CC=$ac_save_CC
4688 rm -f conftest.$ac_ext
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4692 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
4693 if test "$ac_cv_sys_largefile_CC" != no; then
4694 CC=$CC$ac_cv_sys_largefile_CC
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4698 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4699 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
4700 $as_echo_n "(cached) " >&6
4701 else
4702 while :; do
4703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4704 /* end confdefs.h. */
4705 #include <sys/types.h>
4706 /* Check that off_t can represent 2**63 - 1 correctly.
4707 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4708 since some C++ compilers masquerading as C compilers
4709 incorrectly reject 9223372036854775807. */
4710 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4711 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4712 && LARGE_OFF_T % 2147483647 == 1)
4713 ? 1 : -1];
4715 main ()
4719 return 0;
4721 _ACEOF
4722 if ac_fn_c_try_compile "$LINENO"; then :
4723 ac_cv_sys_file_offset_bits=no; break
4725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4727 /* end confdefs.h. */
4728 #define _FILE_OFFSET_BITS 64
4729 #include <sys/types.h>
4730 /* Check that off_t can represent 2**63 - 1 correctly.
4731 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4732 since some C++ compilers masquerading as C compilers
4733 incorrectly reject 9223372036854775807. */
4734 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4735 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4736 && LARGE_OFF_T % 2147483647 == 1)
4737 ? 1 : -1];
4739 main ()
4743 return 0;
4745 _ACEOF
4746 if ac_fn_c_try_compile "$LINENO"; then :
4747 ac_cv_sys_file_offset_bits=64; break
4749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4750 ac_cv_sys_file_offset_bits=unknown
4751 break
4752 done
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4755 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4756 case $ac_cv_sys_file_offset_bits in #(
4757 no | unknown) ;;
4759 cat >>confdefs.h <<_ACEOF
4760 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4761 _ACEOF
4763 esac
4764 rm -rf conftest*
4765 if test $ac_cv_sys_file_offset_bits = unknown; then
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4767 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4768 if test "${ac_cv_sys_large_files+set}" = set; then :
4769 $as_echo_n "(cached) " >&6
4770 else
4771 while :; do
4772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4773 /* end confdefs.h. */
4774 #include <sys/types.h>
4775 /* Check that off_t can represent 2**63 - 1 correctly.
4776 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4777 since some C++ compilers masquerading as C compilers
4778 incorrectly reject 9223372036854775807. */
4779 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4780 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4781 && LARGE_OFF_T % 2147483647 == 1)
4782 ? 1 : -1];
4784 main ()
4788 return 0;
4790 _ACEOF
4791 if ac_fn_c_try_compile "$LINENO"; then :
4792 ac_cv_sys_large_files=no; break
4794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4796 /* end confdefs.h. */
4797 #define _LARGE_FILES 1
4798 #include <sys/types.h>
4799 /* Check that off_t can represent 2**63 - 1 correctly.
4800 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4801 since some C++ compilers masquerading as C compilers
4802 incorrectly reject 9223372036854775807. */
4803 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4804 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4805 && LARGE_OFF_T % 2147483647 == 1)
4806 ? 1 : -1];
4808 main ()
4812 return 0;
4814 _ACEOF
4815 if ac_fn_c_try_compile "$LINENO"; then :
4816 ac_cv_sys_large_files=1; break
4818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4819 ac_cv_sys_large_files=unknown
4820 break
4821 done
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4824 $as_echo "$ac_cv_sys_large_files" >&6; }
4825 case $ac_cv_sys_large_files in #(
4826 no | unknown) ;;
4828 cat >>confdefs.h <<_ACEOF
4829 #define _LARGE_FILES $ac_cv_sys_large_files
4830 _ACEOF
4832 esac
4833 rm -rf conftest*
4838 am__api_version='1.11'
4840 # Find a good install program. We prefer a C program (faster),
4841 # so one script is as good as another. But avoid the broken or
4842 # incompatible versions:
4843 # SysV /etc/install, /usr/sbin/install
4844 # SunOS /usr/etc/install
4845 # IRIX /sbin/install
4846 # AIX /bin/install
4847 # AmigaOS /C/install, which installs bootblocks on floppy discs
4848 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4849 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4850 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4851 # OS/2's system install, which has a completely different semantic
4852 # ./install, which can be erroneously created by make from ./install.sh.
4853 # Reject install programs that cannot install multiple files.
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4855 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4856 if test -z "$INSTALL"; then
4857 if test "${ac_cv_path_install+set}" = set; then :
4858 $as_echo_n "(cached) " >&6
4859 else
4860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4861 for as_dir in $PATH
4863 IFS=$as_save_IFS
4864 test -z "$as_dir" && as_dir=.
4865 # Account for people who put trailing slashes in PATH elements.
4866 case $as_dir/ in #((
4867 ./ | .// | /[cC]/* | \
4868 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4869 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
4870 /usr/ucb/* ) ;;
4872 # OSF1 and SCO ODT 3.0 have their own names for install.
4873 # Don't use installbsd from OSF since it installs stuff as root
4874 # by default.
4875 for ac_prog in ginstall scoinst install; do
4876 for ac_exec_ext in '' $ac_executable_extensions; do
4877 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4878 if test $ac_prog = install &&
4879 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4880 # AIX install. It has an incompatible calling convention.
4882 elif test $ac_prog = install &&
4883 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4884 # program-specific install script used by HP pwplus--don't use.
4886 else
4887 rm -rf conftest.one conftest.two conftest.dir
4888 echo one > conftest.one
4889 echo two > conftest.two
4890 mkdir conftest.dir
4891 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4892 test -s conftest.one && test -s conftest.two &&
4893 test -s conftest.dir/conftest.one &&
4894 test -s conftest.dir/conftest.two
4895 then
4896 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4897 break 3
4901 done
4902 done
4904 esac
4906 done
4907 IFS=$as_save_IFS
4909 rm -rf conftest.one conftest.two conftest.dir
4912 if test "${ac_cv_path_install+set}" = set; then
4913 INSTALL=$ac_cv_path_install
4914 else
4915 # As a last resort, use the slow shell script. Don't cache a
4916 # value for INSTALL within a source directory, because that will
4917 # break other packages using the cache if that directory is
4918 # removed, or if the value is a relative name.
4919 INSTALL=$ac_install_sh
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4923 $as_echo "$INSTALL" >&6; }
4925 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4926 # It thinks the first close brace ends the variable substitution.
4927 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4929 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4931 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4934 $as_echo_n "checking whether build environment is sane... " >&6; }
4935 # Just in case
4936 sleep 1
4937 echo timestamp > conftest.file
4938 # Reject unsafe characters in $srcdir or the absolute working directory
4939 # name. Accept space and tab only in the latter.
4940 am_lf='
4942 case `pwd` in
4943 *[\\\"\#\$\&\'\`$am_lf]*)
4944 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
4945 esac
4946 case $srcdir in
4947 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
4948 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
4949 esac
4951 # Do `set' in a subshell so we don't clobber the current shell's
4952 # arguments. Must try -L first in case configure is actually a
4953 # symlink; some systems play weird games with the mod time of symlinks
4954 # (eg FreeBSD returns the mod time of the symlink's containing
4955 # directory).
4956 if (
4957 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4958 if test "$*" = "X"; then
4959 # -L didn't work.
4960 set X `ls -t "$srcdir/configure" conftest.file`
4962 rm -f conftest.file
4963 if test "$*" != "X $srcdir/configure conftest.file" \
4964 && test "$*" != "X conftest.file $srcdir/configure"; then
4966 # If neither matched, then we have a broken ls. This can happen
4967 # if, for instance, CONFIG_SHELL is bash and it inherits a
4968 # broken ls alias from the environment. This has actually
4969 # happened. Such a system could not be considered "sane".
4970 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
4971 alias in your environment" "$LINENO" 5
4974 test "$2" = conftest.file
4976 then
4977 # Ok.
4979 else
4980 as_fn_error $? "newly created file is older than distributed files!
4981 Check your system clock" "$LINENO" 5
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4984 $as_echo "yes" >&6; }
4985 test "$program_prefix" != NONE &&
4986 program_transform_name="s&^&$program_prefix&;$program_transform_name"
4987 # Use a double $ so make ignores it.
4988 test "$program_suffix" != NONE &&
4989 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
4990 # Double any \ or $.
4991 # By default was `s,x,x', remove it if useless.
4992 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
4993 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
4995 if test x"${MISSING+set}" != xset; then
4996 case $am_aux_dir in
4997 *\ * | *\ *)
4998 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
5000 MISSING="\${SHELL} $am_aux_dir/missing" ;;
5001 esac
5003 # Use eval to expand $SHELL
5004 if eval "$MISSING --run true"; then
5005 am_missing_run="$MISSING --run "
5006 else
5007 am_missing_run=
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
5009 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
5012 if test x"${install_sh}" != xset; then
5013 case $am_aux_dir in
5014 *\ * | *\ *)
5015 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
5017 install_sh="\${SHELL} $am_aux_dir/install-sh"
5018 esac
5021 # Installed binaries are usually stripped using `strip' when the user
5022 # run `make install-strip'. However `strip' might not be the right
5023 # tool to use in cross-compilation environments, therefore Automake
5024 # will honor the `STRIP' environment variable to overrule this program.
5025 if test "$cross_compiling" != no; then
5026 if test -n "$ac_tool_prefix"; then
5027 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5028 set dummy ${ac_tool_prefix}strip; ac_word=$2
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5030 $as_echo_n "checking for $ac_word... " >&6; }
5031 if test "${ac_cv_prog_STRIP+set}" = set; then :
5032 $as_echo_n "(cached) " >&6
5033 else
5034 if test -n "$STRIP"; then
5035 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5036 else
5037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5038 for as_dir in $PATH
5040 IFS=$as_save_IFS
5041 test -z "$as_dir" && as_dir=.
5042 for ac_exec_ext in '' $ac_executable_extensions; do
5043 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5044 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5046 break 2
5048 done
5049 done
5050 IFS=$as_save_IFS
5054 STRIP=$ac_cv_prog_STRIP
5055 if test -n "$STRIP"; then
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5057 $as_echo "$STRIP" >&6; }
5058 else
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5060 $as_echo "no" >&6; }
5065 if test -z "$ac_cv_prog_STRIP"; then
5066 ac_ct_STRIP=$STRIP
5067 # Extract the first word of "strip", so it can be a program name with args.
5068 set dummy strip; ac_word=$2
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5070 $as_echo_n "checking for $ac_word... " >&6; }
5071 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5072 $as_echo_n "(cached) " >&6
5073 else
5074 if test -n "$ac_ct_STRIP"; then
5075 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5076 else
5077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5078 for as_dir in $PATH
5080 IFS=$as_save_IFS
5081 test -z "$as_dir" && as_dir=.
5082 for ac_exec_ext in '' $ac_executable_extensions; do
5083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5084 ac_cv_prog_ac_ct_STRIP="strip"
5085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5086 break 2
5088 done
5089 done
5090 IFS=$as_save_IFS
5094 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5095 if test -n "$ac_ct_STRIP"; then
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5097 $as_echo "$ac_ct_STRIP" >&6; }
5098 else
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5100 $as_echo "no" >&6; }
5103 if test "x$ac_ct_STRIP" = x; then
5104 STRIP=":"
5105 else
5106 case $cross_compiling:$ac_tool_warned in
5107 yes:)
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5109 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5110 ac_tool_warned=yes ;;
5111 esac
5112 STRIP=$ac_ct_STRIP
5114 else
5115 STRIP="$ac_cv_prog_STRIP"
5119 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
5122 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
5123 if test -z "$MKDIR_P"; then
5124 if test "${ac_cv_path_mkdir+set}" = set; then :
5125 $as_echo_n "(cached) " >&6
5126 else
5127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5128 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
5130 IFS=$as_save_IFS
5131 test -z "$as_dir" && as_dir=.
5132 for ac_prog in mkdir gmkdir; do
5133 for ac_exec_ext in '' $ac_executable_extensions; do
5134 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
5135 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
5136 'mkdir (GNU coreutils) '* | \
5137 'mkdir (coreutils) '* | \
5138 'mkdir (fileutils) '4.1*)
5139 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
5140 break 3;;
5141 esac
5142 done
5143 done
5144 done
5145 IFS=$as_save_IFS
5149 test -d ./--version && rmdir ./--version
5150 if test "${ac_cv_path_mkdir+set}" = set; then
5151 MKDIR_P="$ac_cv_path_mkdir -p"
5152 else
5153 # As a last resort, use the slow shell script. Don't cache a
5154 # value for MKDIR_P within a source directory, because that will
5155 # break other packages using the cache if that directory is
5156 # removed, or if the value is a relative name.
5157 MKDIR_P="$ac_install_sh -d"
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
5161 $as_echo "$MKDIR_P" >&6; }
5163 mkdir_p="$MKDIR_P"
5164 case $mkdir_p in
5165 [\\/$]* | ?:[\\/]*) ;;
5166 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
5167 esac
5169 for ac_prog in gawk mawk nawk awk
5171 # Extract the first word of "$ac_prog", so it can be a program name with args.
5172 set dummy $ac_prog; ac_word=$2
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5174 $as_echo_n "checking for $ac_word... " >&6; }
5175 if test "${ac_cv_prog_AWK+set}" = set; then :
5176 $as_echo_n "(cached) " >&6
5177 else
5178 if test -n "$AWK"; then
5179 ac_cv_prog_AWK="$AWK" # Let the user override the test.
5180 else
5181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5182 for as_dir in $PATH
5184 IFS=$as_save_IFS
5185 test -z "$as_dir" && as_dir=.
5186 for ac_exec_ext in '' $ac_executable_extensions; do
5187 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5188 ac_cv_prog_AWK="$ac_prog"
5189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5190 break 2
5192 done
5193 done
5194 IFS=$as_save_IFS
5198 AWK=$ac_cv_prog_AWK
5199 if test -n "$AWK"; then
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5201 $as_echo "$AWK" >&6; }
5202 else
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5204 $as_echo "no" >&6; }
5208 test -n "$AWK" && break
5209 done
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5212 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5213 set x ${MAKE-make}
5214 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5215 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
5216 $as_echo_n "(cached) " >&6
5217 else
5218 cat >conftest.make <<\_ACEOF
5219 SHELL = /bin/sh
5220 all:
5221 @echo '@@@%%%=$(MAKE)=@@@%%%'
5222 _ACEOF
5223 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
5224 case `${MAKE-make} -f conftest.make 2>/dev/null` in
5225 *@@@%%%=?*=@@@%%%*)
5226 eval ac_cv_prog_make_${ac_make}_set=yes;;
5228 eval ac_cv_prog_make_${ac_make}_set=no;;
5229 esac
5230 rm -f conftest.make
5232 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5234 $as_echo "yes" >&6; }
5235 SET_MAKE=
5236 else
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5238 $as_echo "no" >&6; }
5239 SET_MAKE="MAKE=${MAKE-make}"
5242 if test "`cd $srcdir && pwd`" != "`pwd`"; then
5243 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
5244 # is not polluted with repeated "-I."
5245 am__isrc=' -I$(srcdir)'
5246 # test to see if srcdir already configured
5247 if test -f $srcdir/config.status; then
5248 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
5252 # test whether we have cygpath
5253 if test -z "$CYGPATH_W"; then
5254 if (cygpath --version) >/dev/null 2>/dev/null; then
5255 CYGPATH_W='cygpath -w'
5256 else
5257 CYGPATH_W=echo
5262 # Define the identity of the package.
5263 PACKAGE='lzo'
5264 VERSION='2.06'
5267 cat >>confdefs.h <<_ACEOF
5268 #define PACKAGE "$PACKAGE"
5269 _ACEOF
5272 cat >>confdefs.h <<_ACEOF
5273 #define VERSION "$VERSION"
5274 _ACEOF
5276 # Some tools Automake needs.
5278 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
5281 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
5284 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
5287 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
5290 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
5292 # We need awk for the "check" target. The system "awk" is bad on
5293 # some platforms.
5294 # Always define AMTAR for backward compatibility.
5296 AMTAR=${AMTAR-"${am_missing_run}tar"}
5298 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
5303 depcc="$CC" am_compiler_list=
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5306 $as_echo_n "checking dependency style of $depcc... " >&6; }
5307 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5308 $as_echo_n "(cached) " >&6
5309 else
5310 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5311 # We make a subdir and do the tests there. Otherwise we can end up
5312 # making bogus files that we don't know about and never remove. For
5313 # instance it was reported that on HP-UX the gcc test will end up
5314 # making a dummy file named `D' -- because `-MD' means `put the output
5315 # in D'.
5316 mkdir conftest.dir
5317 # Copy depcomp to subdir because otherwise we won't find it if we're
5318 # using a relative directory.
5319 cp "$am_depcomp" conftest.dir
5320 cd conftest.dir
5321 # We will build objects and dependencies in a subdirectory because
5322 # it helps to detect inapplicable dependency modes. For instance
5323 # both Tru64's cc and ICC support -MD to output dependencies as a
5324 # side effect of compilation, but ICC will put the dependencies in
5325 # the current directory while Tru64 will put them in the object
5326 # directory.
5327 mkdir sub
5329 am_cv_CC_dependencies_compiler_type=none
5330 if test "$am_compiler_list" = ""; then
5331 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5333 am__universal=false
5334 case " $depcc " in #(
5335 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5336 esac
5338 for depmode in $am_compiler_list; do
5339 # Setup a source with many dependencies, because some compilers
5340 # like to wrap large dependency lists on column 80 (with \), and
5341 # we should not choose a depcomp mode which is confused by this.
5343 # We need to recreate these files for each test, as the compiler may
5344 # overwrite some of them when testing with obscure command lines.
5345 # This happens at least with the AIX C compiler.
5346 : > sub/conftest.c
5347 for i in 1 2 3 4 5 6; do
5348 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5349 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5350 # Solaris 8's {/usr,}/bin/sh.
5351 touch sub/conftst$i.h
5352 done
5353 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5355 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5356 # mode. It turns out that the SunPro C++ compiler does not properly
5357 # handle `-M -o', and we need to detect this. Also, some Intel
5358 # versions had trouble with output in subdirs
5359 am__obj=sub/conftest.${OBJEXT-o}
5360 am__minus_obj="-o $am__obj"
5361 case $depmode in
5362 gcc)
5363 # This depmode causes a compiler race in universal mode.
5364 test "$am__universal" = false || continue
5366 nosideeffect)
5367 # after this tag, mechanisms are not by side-effect, so they'll
5368 # only be used when explicitly requested
5369 if test "x$enable_dependency_tracking" = xyes; then
5370 continue
5371 else
5372 break
5375 msvisualcpp | msvcmsys)
5376 # This compiler won't grok `-c -o', but also, the minuso test has
5377 # not run yet. These depmodes are late enough in the game, and
5378 # so weak that their functioning should not be impacted.
5379 am__obj=conftest.${OBJEXT-o}
5380 am__minus_obj=
5382 none) break ;;
5383 esac
5384 if depmode=$depmode \
5385 source=sub/conftest.c object=$am__obj \
5386 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5387 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5388 >/dev/null 2>conftest.err &&
5389 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5390 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5391 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5392 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5393 # icc doesn't choke on unknown options, it will just issue warnings
5394 # or remarks (even with -Werror). So we grep stderr for any message
5395 # that says an option was ignored or not supported.
5396 # When given -MP, icc 7.0 and 7.1 complain thusly:
5397 # icc: Command line warning: ignoring option '-M'; no argument required
5398 # The diagnosis changed in icc 8.0:
5399 # icc: Command line remark: option '-MP' not supported
5400 if (grep 'ignoring option' conftest.err ||
5401 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5402 am_cv_CC_dependencies_compiler_type=$depmode
5403 break
5406 done
5408 cd ..
5409 rm -rf conftest.dir
5410 else
5411 am_cv_CC_dependencies_compiler_type=none
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5416 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5417 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5420 test "x$enable_dependency_tracking" != xno \
5421 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5422 am__fastdepCC_TRUE=
5423 am__fastdepCC_FALSE='#'
5424 else
5425 am__fastdepCC_TRUE='#'
5426 am__fastdepCC_FALSE=
5431 # Check whether --enable-silent-rules was given.
5432 if test "${enable_silent_rules+set}" = set; then :
5433 enableval=$enable_silent_rules;
5436 case $enable_silent_rules in
5437 yes) AM_DEFAULT_VERBOSITY=0;;
5438 no) AM_DEFAULT_VERBOSITY=1;;
5439 *) AM_DEFAULT_VERBOSITY=0;;
5440 esac
5441 AM_BACKSLASH='\'
5443 ac_config_headers="$ac_config_headers config.h:config.hin"
5446 # Check whether --enable-static was given.
5447 if test "${enable_static+set}" = set; then :
5448 enableval=$enable_static; p=${PACKAGE-default}
5449 case $enableval in
5450 yes) enable_static=yes ;;
5451 no) enable_static=no ;;
5453 enable_static=no
5454 # Look at the argument we got. We use all the common list separators.
5455 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5456 for pkg in $enableval; do
5457 IFS="$lt_save_ifs"
5458 if test "X$pkg" = "X$p"; then
5459 enable_static=yes
5461 done
5462 IFS="$lt_save_ifs"
5464 esac
5465 else
5466 enable_static=yes
5477 # Check whether --enable-shared was given.
5478 if test "${enable_shared+set}" = set; then :
5479 enableval=$enable_shared; p=${PACKAGE-default}
5480 case $enableval in
5481 yes) enable_shared=yes ;;
5482 no) enable_shared=no ;;
5484 enable_shared=no
5485 # Look at the argument we got. We use all the common list separators.
5486 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5487 for pkg in $enableval; do
5488 IFS="$lt_save_ifs"
5489 if test "X$pkg" = "X$p"; then
5490 enable_shared=yes
5492 done
5493 IFS="$lt_save_ifs"
5495 esac
5496 else
5497 enable_shared=no
5508 case `pwd` in
5509 *\ * | *\ *)
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5511 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5512 esac
5516 macro_version='2.2.10'
5517 macro_revision='1.3175'
5531 ltmain="$ac_aux_dir/ltmain.sh"
5533 # Backslashify metacharacters that are still active within
5534 # double-quoted strings.
5535 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5537 # Same as above, but do not quote variable references.
5538 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5540 # Sed substitution to delay expansion of an escaped shell variable in a
5541 # double_quote_subst'ed string.
5542 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5544 # Sed substitution to delay expansion of an escaped single quote.
5545 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5547 # Sed substitution to avoid accidental globbing in evaled expressions
5548 no_glob_subst='s/\*/\\\*/g'
5550 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5551 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5552 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5555 $as_echo_n "checking how to print strings... " >&6; }
5556 # Test print first, because it will be a builtin if present.
5557 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5558 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5559 ECHO='print -r --'
5560 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5561 ECHO='printf %s\n'
5562 else
5563 # Use this function as a fallback that always works.
5564 func_fallback_echo ()
5566 eval 'cat <<_LTECHO_EOF
5568 _LTECHO_EOF'
5570 ECHO='func_fallback_echo'
5573 # func_echo_all arg...
5574 # Invoke $ECHO with all args, space-separated.
5575 func_echo_all ()
5577 $ECHO ""
5580 case "$ECHO" in
5581 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5582 $as_echo "printf" >&6; } ;;
5583 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5584 $as_echo "print -r" >&6; } ;;
5585 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5586 $as_echo "cat" >&6; } ;;
5587 esac
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5603 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5604 if test "${ac_cv_path_SED+set}" = set; then :
5605 $as_echo_n "(cached) " >&6
5606 else
5607 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5608 for ac_i in 1 2 3 4 5 6 7; do
5609 ac_script="$ac_script$as_nl$ac_script"
5610 done
5611 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5612 { ac_script=; unset ac_script;}
5613 if test -z "$SED"; then
5614 ac_path_SED_found=false
5615 # Loop through the user's path and test for each of PROGNAME-LIST
5616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5617 for as_dir in $PATH
5619 IFS=$as_save_IFS
5620 test -z "$as_dir" && as_dir=.
5621 for ac_prog in sed gsed; do
5622 for ac_exec_ext in '' $ac_executable_extensions; do
5623 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5624 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5625 # Check for GNU ac_path_SED and select it if it is found.
5626 # Check for GNU $ac_path_SED
5627 case `"$ac_path_SED" --version 2>&1` in
5628 *GNU*)
5629 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5631 ac_count=0
5632 $as_echo_n 0123456789 >"conftest.in"
5633 while :
5635 cat "conftest.in" "conftest.in" >"conftest.tmp"
5636 mv "conftest.tmp" "conftest.in"
5637 cp "conftest.in" "conftest.nl"
5638 $as_echo '' >> "conftest.nl"
5639 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5640 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5641 as_fn_arith $ac_count + 1 && ac_count=$as_val
5642 if test $ac_count -gt ${ac_path_SED_max-0}; then
5643 # Best one so far, save it but keep looking for a better one
5644 ac_cv_path_SED="$ac_path_SED"
5645 ac_path_SED_max=$ac_count
5647 # 10*(2^10) chars as input seems more than enough
5648 test $ac_count -gt 10 && break
5649 done
5650 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5651 esac
5653 $ac_path_SED_found && break 3
5654 done
5655 done
5656 done
5657 IFS=$as_save_IFS
5658 if test -z "$ac_cv_path_SED"; then
5659 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5661 else
5662 ac_cv_path_SED=$SED
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5667 $as_echo "$ac_cv_path_SED" >&6; }
5668 SED="$ac_cv_path_SED"
5669 rm -f conftest.sed
5671 test -z "$SED" && SED=sed
5672 Xsed="$SED -e 1s/^X//"
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5685 $as_echo_n "checking for fgrep... " >&6; }
5686 if test "${ac_cv_path_FGREP+set}" = set; then :
5687 $as_echo_n "(cached) " >&6
5688 else
5689 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5690 then ac_cv_path_FGREP="$GREP -F"
5691 else
5692 if test -z "$FGREP"; then
5693 ac_path_FGREP_found=false
5694 # Loop through the user's path and test for each of PROGNAME-LIST
5695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5696 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5698 IFS=$as_save_IFS
5699 test -z "$as_dir" && as_dir=.
5700 for ac_prog in fgrep; do
5701 for ac_exec_ext in '' $ac_executable_extensions; do
5702 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5703 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5704 # Check for GNU ac_path_FGREP and select it if it is found.
5705 # Check for GNU $ac_path_FGREP
5706 case `"$ac_path_FGREP" --version 2>&1` in
5707 *GNU*)
5708 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5710 ac_count=0
5711 $as_echo_n 0123456789 >"conftest.in"
5712 while :
5714 cat "conftest.in" "conftest.in" >"conftest.tmp"
5715 mv "conftest.tmp" "conftest.in"
5716 cp "conftest.in" "conftest.nl"
5717 $as_echo 'FGREP' >> "conftest.nl"
5718 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5719 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5720 as_fn_arith $ac_count + 1 && ac_count=$as_val
5721 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5722 # Best one so far, save it but keep looking for a better one
5723 ac_cv_path_FGREP="$ac_path_FGREP"
5724 ac_path_FGREP_max=$ac_count
5726 # 10*(2^10) chars as input seems more than enough
5727 test $ac_count -gt 10 && break
5728 done
5729 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5730 esac
5732 $ac_path_FGREP_found && break 3
5733 done
5734 done
5735 done
5736 IFS=$as_save_IFS
5737 if test -z "$ac_cv_path_FGREP"; then
5738 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5740 else
5741 ac_cv_path_FGREP=$FGREP
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5747 $as_echo "$ac_cv_path_FGREP" >&6; }
5748 FGREP="$ac_cv_path_FGREP"
5751 test -z "$GREP" && GREP=grep
5771 # Check whether --with-gnu-ld was given.
5772 if test "${with_gnu_ld+set}" = set; then :
5773 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5774 else
5775 with_gnu_ld=no
5778 ac_prog=ld
5779 if test "$GCC" = yes; then
5780 # Check if gcc -print-prog-name=ld gives a path.
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5782 $as_echo_n "checking for ld used by $CC... " >&6; }
5783 case $host in
5784 *-*-mingw*)
5785 # gcc leaves a trailing carriage return which upsets mingw
5786 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5788 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5789 esac
5790 case $ac_prog in
5791 # Accept absolute paths.
5792 [\\/]* | ?:[\\/]*)
5793 re_direlt='/[^/][^/]*/\.\./'
5794 # Canonicalize the pathname of ld
5795 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5796 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5797 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5798 done
5799 test -z "$LD" && LD="$ac_prog"
5802 # If it fails, then pretend we aren't using GCC.
5803 ac_prog=ld
5806 # If it is relative, then search for the first ld in PATH.
5807 with_gnu_ld=unknown
5809 esac
5810 elif test "$with_gnu_ld" = yes; then
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5812 $as_echo_n "checking for GNU ld... " >&6; }
5813 else
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5815 $as_echo_n "checking for non-GNU ld... " >&6; }
5817 if test "${lt_cv_path_LD+set}" = set; then :
5818 $as_echo_n "(cached) " >&6
5819 else
5820 if test -z "$LD"; then
5821 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5822 for ac_dir in $PATH; do
5823 IFS="$lt_save_ifs"
5824 test -z "$ac_dir" && ac_dir=.
5825 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5826 lt_cv_path_LD="$ac_dir/$ac_prog"
5827 # Check to see if the program is GNU ld. I'd rather use --version,
5828 # but apparently some variants of GNU ld only accept -v.
5829 # Break only if it was the GNU/non-GNU ld that we prefer.
5830 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5831 *GNU* | *'with BFD'*)
5832 test "$with_gnu_ld" != no && break
5835 test "$with_gnu_ld" != yes && break
5837 esac
5839 done
5840 IFS="$lt_save_ifs"
5841 else
5842 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5846 LD="$lt_cv_path_LD"
5847 if test -n "$LD"; then
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5849 $as_echo "$LD" >&6; }
5850 else
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5852 $as_echo "no" >&6; }
5854 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5856 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5857 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5858 $as_echo_n "(cached) " >&6
5859 else
5860 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5861 case `$LD -v 2>&1 </dev/null` in
5862 *GNU* | *'with BFD'*)
5863 lt_cv_prog_gnu_ld=yes
5866 lt_cv_prog_gnu_ld=no
5868 esac
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5871 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5872 with_gnu_ld=$lt_cv_prog_gnu_ld
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5883 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5884 if test "${lt_cv_path_NM+set}" = set; then :
5885 $as_echo_n "(cached) " >&6
5886 else
5887 if test -n "$NM"; then
5888 # Let the user override the test.
5889 lt_cv_path_NM="$NM"
5890 else
5891 lt_nm_to_check="${ac_tool_prefix}nm"
5892 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5893 lt_nm_to_check="$lt_nm_to_check nm"
5895 for lt_tmp_nm in $lt_nm_to_check; do
5896 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5897 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5898 IFS="$lt_save_ifs"
5899 test -z "$ac_dir" && ac_dir=.
5900 tmp_nm="$ac_dir/$lt_tmp_nm"
5901 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5902 # Check to see if the nm accepts a BSD-compat flag.
5903 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5904 # nm: unknown option "B" ignored
5905 # Tru64's nm complains that /dev/null is an invalid object file
5906 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5907 */dev/null* | *'Invalid file or object type'*)
5908 lt_cv_path_NM="$tmp_nm -B"
5909 break
5912 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5913 */dev/null*)
5914 lt_cv_path_NM="$tmp_nm -p"
5915 break
5918 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5919 continue # so that we can try to find one that supports BSD flags
5921 esac
5923 esac
5925 done
5926 IFS="$lt_save_ifs"
5927 done
5928 : ${lt_cv_path_NM=no}
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5932 $as_echo "$lt_cv_path_NM" >&6; }
5933 if test "$lt_cv_path_NM" != "no"; then
5934 NM="$lt_cv_path_NM"
5935 else
5936 # Didn't find any BSD compatible name lister, look for dumpbin.
5937 if test -n "$DUMPBIN"; then :
5938 # Let the user override the test.
5939 else
5940 if test -n "$ac_tool_prefix"; then
5941 for ac_prog in dumpbin "link -dump"
5943 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5944 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5946 $as_echo_n "checking for $ac_word... " >&6; }
5947 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5948 $as_echo_n "(cached) " >&6
5949 else
5950 if test -n "$DUMPBIN"; then
5951 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5952 else
5953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5954 for as_dir in $PATH
5956 IFS=$as_save_IFS
5957 test -z "$as_dir" && as_dir=.
5958 for ac_exec_ext in '' $ac_executable_extensions; do
5959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5960 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5962 break 2
5964 done
5965 done
5966 IFS=$as_save_IFS
5970 DUMPBIN=$ac_cv_prog_DUMPBIN
5971 if test -n "$DUMPBIN"; then
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5973 $as_echo "$DUMPBIN" >&6; }
5974 else
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5976 $as_echo "no" >&6; }
5980 test -n "$DUMPBIN" && break
5981 done
5983 if test -z "$DUMPBIN"; then
5984 ac_ct_DUMPBIN=$DUMPBIN
5985 for ac_prog in dumpbin "link -dump"
5987 # Extract the first word of "$ac_prog", so it can be a program name with args.
5988 set dummy $ac_prog; ac_word=$2
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5990 $as_echo_n "checking for $ac_word... " >&6; }
5991 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5992 $as_echo_n "(cached) " >&6
5993 else
5994 if test -n "$ac_ct_DUMPBIN"; then
5995 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5996 else
5997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5998 for as_dir in $PATH
6000 IFS=$as_save_IFS
6001 test -z "$as_dir" && as_dir=.
6002 for ac_exec_ext in '' $ac_executable_extensions; do
6003 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6004 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6006 break 2
6008 done
6009 done
6010 IFS=$as_save_IFS
6014 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6015 if test -n "$ac_ct_DUMPBIN"; then
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6017 $as_echo "$ac_ct_DUMPBIN" >&6; }
6018 else
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6020 $as_echo "no" >&6; }
6024 test -n "$ac_ct_DUMPBIN" && break
6025 done
6027 if test "x$ac_ct_DUMPBIN" = x; then
6028 DUMPBIN=":"
6029 else
6030 case $cross_compiling:$ac_tool_warned in
6031 yes:)
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6033 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6034 ac_tool_warned=yes ;;
6035 esac
6036 DUMPBIN=$ac_ct_DUMPBIN
6040 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6041 *COFF*)
6042 DUMPBIN="$DUMPBIN -symbols"
6045 DUMPBIN=:
6047 esac
6050 if test "$DUMPBIN" != ":"; then
6051 NM="$DUMPBIN"
6054 test -z "$NM" && NM=nm
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6062 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6063 if test "${lt_cv_nm_interface+set}" = set; then :
6064 $as_echo_n "(cached) " >&6
6065 else
6066 lt_cv_nm_interface="BSD nm"
6067 echo "int some_variable = 0;" > conftest.$ac_ext
6068 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6069 (eval "$ac_compile" 2>conftest.err)
6070 cat conftest.err >&5
6071 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6072 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6073 cat conftest.err >&5
6074 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6075 cat conftest.out >&5
6076 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6077 lt_cv_nm_interface="MS dumpbin"
6079 rm -f conftest*
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6082 $as_echo "$lt_cv_nm_interface" >&6; }
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6085 $as_echo_n "checking whether ln -s works... " >&6; }
6086 LN_S=$as_ln_s
6087 if test "$LN_S" = "ln -s"; then
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6089 $as_echo "yes" >&6; }
6090 else
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6092 $as_echo "no, using $LN_S" >&6; }
6095 # find the maximum length of command line arguments
6096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6097 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6098 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6099 $as_echo_n "(cached) " >&6
6100 else
6102 teststring="ABCD"
6104 case $build_os in
6105 msdosdjgpp*)
6106 # On DJGPP, this test can blow up pretty badly due to problems in libc
6107 # (any single argument exceeding 2000 bytes causes a buffer overrun
6108 # during glob expansion). Even if it were fixed, the result of this
6109 # check would be larger than it should be.
6110 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6113 gnu*)
6114 # Under GNU Hurd, this test is not required because there is
6115 # no limit to the length of command line arguments.
6116 # Libtool will interpret -1 as no limit whatsoever
6117 lt_cv_sys_max_cmd_len=-1;
6120 cygwin* | mingw* | cegcc*)
6121 # On Win9x/ME, this test blows up -- it succeeds, but takes
6122 # about 5 minutes as the teststring grows exponentially.
6123 # Worse, since 9x/ME are not pre-emptively multitasking,
6124 # you end up with a "frozen" computer, even though with patience
6125 # the test eventually succeeds (with a max line length of 256k).
6126 # Instead, let's just punt: use the minimum linelength reported by
6127 # all of the supported platforms: 8192 (on NT/2K/XP).
6128 lt_cv_sys_max_cmd_len=8192;
6131 mint*)
6132 # On MiNT this can take a long time and run out of memory.
6133 lt_cv_sys_max_cmd_len=8192;
6136 amigaos*)
6137 # On AmigaOS with pdksh, this test takes hours, literally.
6138 # So we just punt and use a minimum line length of 8192.
6139 lt_cv_sys_max_cmd_len=8192;
6142 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6143 # This has been around since 386BSD, at least. Likely further.
6144 if test -x /sbin/sysctl; then
6145 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6146 elif test -x /usr/sbin/sysctl; then
6147 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6148 else
6149 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6151 # And add a safety zone
6152 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6153 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6156 interix*)
6157 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6158 lt_cv_sys_max_cmd_len=196608
6161 osf*)
6162 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6163 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6164 # nice to cause kernel panics so lets avoid the loop below.
6165 # First set a reasonable default.
6166 lt_cv_sys_max_cmd_len=16384
6168 if test -x /sbin/sysconfig; then
6169 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6170 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6171 esac
6174 sco3.2v5*)
6175 lt_cv_sys_max_cmd_len=102400
6177 sysv5* | sco5v6* | sysv4.2uw2*)
6178 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6179 if test -n "$kargmax"; then
6180 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6181 else
6182 lt_cv_sys_max_cmd_len=32768
6186 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6187 if test -n "$lt_cv_sys_max_cmd_len"; then
6188 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6189 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6190 else
6191 # Make teststring a little bigger before we do anything with it.
6192 # a 1K string should be a reasonable start.
6193 for i in 1 2 3 4 5 6 7 8 ; do
6194 teststring=$teststring$teststring
6195 done
6196 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6197 # If test is not a shell built-in, we'll probably end up computing a
6198 # maximum length that is only half of the actual maximum length, but
6199 # we can't tell.
6200 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6201 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6202 test $i != 17 # 1/2 MB should be enough
6204 i=`expr $i + 1`
6205 teststring=$teststring$teststring
6206 done
6207 # Only check the string length outside the loop.
6208 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6209 teststring=
6210 # Add a significant safety factor because C++ compilers can tack on
6211 # massive amounts of additional arguments before passing them to the
6212 # linker. It appears as though 1/2 is a usable value.
6213 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6216 esac
6220 if test -n $lt_cv_sys_max_cmd_len ; then
6221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6222 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6223 else
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6225 $as_echo "none" >&6; }
6227 max_cmd_len=$lt_cv_sys_max_cmd_len
6234 : ${CP="cp -f"}
6235 : ${MV="mv -f"}
6236 : ${RM="rm -f"}
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6239 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6240 # Try some XSI features
6241 xsi_shell=no
6242 ( _lt_dummy="a/b/c"
6243 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6244 = c,a/b,, \
6245 && eval 'test $(( 1 + 1 )) -eq 2 \
6246 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6247 && xsi_shell=yes
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6249 $as_echo "$xsi_shell" >&6; }
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6253 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6254 lt_shell_append=no
6255 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6256 >/dev/null 2>&1 \
6257 && lt_shell_append=yes
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6259 $as_echo "$lt_shell_append" >&6; }
6262 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6263 lt_unset=unset
6264 else
6265 lt_unset=false
6272 # test EBCDIC or ASCII
6273 case `echo X|tr X '\101'` in
6274 A) # ASCII based system
6275 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6276 lt_SP2NL='tr \040 \012'
6277 lt_NL2SP='tr \015\012 \040\040'
6279 *) # EBCDIC based system
6280 lt_SP2NL='tr \100 \n'
6281 lt_NL2SP='tr \r\n \100\100'
6283 esac
6293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6294 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6295 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6296 $as_echo_n "(cached) " >&6
6297 else
6298 lt_cv_ld_reload_flag='-r'
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6301 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6302 reload_flag=$lt_cv_ld_reload_flag
6303 case $reload_flag in
6304 "" | " "*) ;;
6305 *) reload_flag=" $reload_flag" ;;
6306 esac
6307 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6308 case $host_os in
6309 darwin*)
6310 if test "$GCC" = yes; then
6311 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6312 else
6313 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6316 esac
6326 if test -n "$ac_tool_prefix"; then
6327 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6328 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6330 $as_echo_n "checking for $ac_word... " >&6; }
6331 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6332 $as_echo_n "(cached) " >&6
6333 else
6334 if test -n "$OBJDUMP"; then
6335 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6336 else
6337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6338 for as_dir in $PATH
6340 IFS=$as_save_IFS
6341 test -z "$as_dir" && as_dir=.
6342 for ac_exec_ext in '' $ac_executable_extensions; do
6343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6344 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6346 break 2
6348 done
6349 done
6350 IFS=$as_save_IFS
6354 OBJDUMP=$ac_cv_prog_OBJDUMP
6355 if test -n "$OBJDUMP"; then
6356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6357 $as_echo "$OBJDUMP" >&6; }
6358 else
6359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6360 $as_echo "no" >&6; }
6365 if test -z "$ac_cv_prog_OBJDUMP"; then
6366 ac_ct_OBJDUMP=$OBJDUMP
6367 # Extract the first word of "objdump", so it can be a program name with args.
6368 set dummy objdump; ac_word=$2
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6370 $as_echo_n "checking for $ac_word... " >&6; }
6371 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6372 $as_echo_n "(cached) " >&6
6373 else
6374 if test -n "$ac_ct_OBJDUMP"; then
6375 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6376 else
6377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6378 for as_dir in $PATH
6380 IFS=$as_save_IFS
6381 test -z "$as_dir" && as_dir=.
6382 for ac_exec_ext in '' $ac_executable_extensions; do
6383 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6384 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6386 break 2
6388 done
6389 done
6390 IFS=$as_save_IFS
6394 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6395 if test -n "$ac_ct_OBJDUMP"; then
6396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6397 $as_echo "$ac_ct_OBJDUMP" >&6; }
6398 else
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6400 $as_echo "no" >&6; }
6403 if test "x$ac_ct_OBJDUMP" = x; then
6404 OBJDUMP="false"
6405 else
6406 case $cross_compiling:$ac_tool_warned in
6407 yes:)
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6409 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6410 ac_tool_warned=yes ;;
6411 esac
6412 OBJDUMP=$ac_ct_OBJDUMP
6414 else
6415 OBJDUMP="$ac_cv_prog_OBJDUMP"
6418 test -z "$OBJDUMP" && OBJDUMP=objdump
6428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6429 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6430 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6431 $as_echo_n "(cached) " >&6
6432 else
6433 lt_cv_file_magic_cmd='$MAGIC_CMD'
6434 lt_cv_file_magic_test_file=
6435 lt_cv_deplibs_check_method='unknown'
6436 # Need to set the preceding variable on all platforms that support
6437 # interlibrary dependencies.
6438 # 'none' -- dependencies not supported.
6439 # `unknown' -- same as none, but documents that we really don't know.
6440 # 'pass_all' -- all dependencies passed with no checks.
6441 # 'test_compile' -- check by making test program.
6442 # 'file_magic [[regex]]' -- check by looking for files in library path
6443 # which responds to the $file_magic_cmd with a given extended regex.
6444 # If you have `file' or equivalent on your system and you're not sure
6445 # whether `pass_all' will *always* work, you probably want this one.
6447 case $host_os in
6448 aix[4-9]*)
6449 lt_cv_deplibs_check_method=pass_all
6452 beos*)
6453 lt_cv_deplibs_check_method=pass_all
6456 bsdi[45]*)
6457 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6458 lt_cv_file_magic_cmd='/usr/bin/file -L'
6459 lt_cv_file_magic_test_file=/shlib/libc.so
6462 cygwin*)
6463 # func_win32_libid is a shell function defined in ltmain.sh
6464 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6465 lt_cv_file_magic_cmd='func_win32_libid'
6468 mingw* | pw32*)
6469 # Base MSYS/MinGW do not provide the 'file' command needed by
6470 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6471 # unless we find 'file', for example because we are cross-compiling.
6472 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6473 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6474 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6475 lt_cv_file_magic_cmd='func_win32_libid'
6476 else
6477 # Keep this pattern in sync with the one in func_win32_libid.
6478 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6479 lt_cv_file_magic_cmd='$OBJDUMP -f'
6483 cegcc*)
6484 # use the weaker test based on 'objdump'. See mingw*.
6485 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6486 lt_cv_file_magic_cmd='$OBJDUMP -f'
6489 darwin* | rhapsody*)
6490 lt_cv_deplibs_check_method=pass_all
6493 freebsd* | dragonfly*)
6494 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6495 case $host_cpu in
6496 i*86 )
6497 # Not sure whether the presence of OpenBSD here was a mistake.
6498 # Let's accept both of them until this is cleared up.
6499 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6500 lt_cv_file_magic_cmd=/usr/bin/file
6501 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6503 esac
6504 else
6505 lt_cv_deplibs_check_method=pass_all
6509 gnu*)
6510 lt_cv_deplibs_check_method=pass_all
6513 haiku*)
6514 lt_cv_deplibs_check_method=pass_all
6517 hpux10.20* | hpux11*)
6518 lt_cv_file_magic_cmd=/usr/bin/file
6519 case $host_cpu in
6520 ia64*)
6521 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6522 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6524 hppa*64*)
6525 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]'
6526 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6529 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6530 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6532 esac
6535 interix[3-9]*)
6536 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6537 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6540 irix5* | irix6* | nonstopux*)
6541 case $LD in
6542 *-32|*"-32 ") libmagic=32-bit;;
6543 *-n32|*"-n32 ") libmagic=N32;;
6544 *-64|*"-64 ") libmagic=64-bit;;
6545 *) libmagic=never-match;;
6546 esac
6547 lt_cv_deplibs_check_method=pass_all
6550 # This must be Linux ELF.
6551 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6552 lt_cv_deplibs_check_method=pass_all
6555 netbsd*)
6556 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6557 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6558 else
6559 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6563 newos6*)
6564 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6565 lt_cv_file_magic_cmd=/usr/bin/file
6566 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6569 *nto* | *qnx*)
6570 lt_cv_deplibs_check_method=pass_all
6573 openbsd*)
6574 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6575 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6576 else
6577 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6581 osf3* | osf4* | osf5*)
6582 lt_cv_deplibs_check_method=pass_all
6585 rdos*)
6586 lt_cv_deplibs_check_method=pass_all
6589 solaris*)
6590 lt_cv_deplibs_check_method=pass_all
6593 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6594 lt_cv_deplibs_check_method=pass_all
6597 sysv4 | sysv4.3*)
6598 case $host_vendor in
6599 motorola)
6600 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]'
6601 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6603 ncr)
6604 lt_cv_deplibs_check_method=pass_all
6606 sequent)
6607 lt_cv_file_magic_cmd='/bin/file'
6608 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6610 sni)
6611 lt_cv_file_magic_cmd='/bin/file'
6612 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6613 lt_cv_file_magic_test_file=/lib/libc.so
6615 siemens)
6616 lt_cv_deplibs_check_method=pass_all
6619 lt_cv_deplibs_check_method=pass_all
6621 esac
6624 tpf*)
6625 lt_cv_deplibs_check_method=pass_all
6627 esac
6630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6631 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6632 file_magic_cmd=$lt_cv_file_magic_cmd
6633 deplibs_check_method=$lt_cv_deplibs_check_method
6634 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6647 if test -n "$ac_tool_prefix"; then
6648 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6649 set dummy ${ac_tool_prefix}ar; ac_word=$2
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6651 $as_echo_n "checking for $ac_word... " >&6; }
6652 if test "${ac_cv_prog_AR+set}" = set; then :
6653 $as_echo_n "(cached) " >&6
6654 else
6655 if test -n "$AR"; then
6656 ac_cv_prog_AR="$AR" # Let the user override the test.
6657 else
6658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6659 for as_dir in $PATH
6661 IFS=$as_save_IFS
6662 test -z "$as_dir" && as_dir=.
6663 for ac_exec_ext in '' $ac_executable_extensions; do
6664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6665 ac_cv_prog_AR="${ac_tool_prefix}ar"
6666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6667 break 2
6669 done
6670 done
6671 IFS=$as_save_IFS
6675 AR=$ac_cv_prog_AR
6676 if test -n "$AR"; then
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6678 $as_echo "$AR" >&6; }
6679 else
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6681 $as_echo "no" >&6; }
6686 if test -z "$ac_cv_prog_AR"; then
6687 ac_ct_AR=$AR
6688 # Extract the first word of "ar", so it can be a program name with args.
6689 set dummy ar; ac_word=$2
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6691 $as_echo_n "checking for $ac_word... " >&6; }
6692 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6693 $as_echo_n "(cached) " >&6
6694 else
6695 if test -n "$ac_ct_AR"; then
6696 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6697 else
6698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6699 for as_dir in $PATH
6701 IFS=$as_save_IFS
6702 test -z "$as_dir" && as_dir=.
6703 for ac_exec_ext in '' $ac_executable_extensions; do
6704 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6705 ac_cv_prog_ac_ct_AR="ar"
6706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6707 break 2
6709 done
6710 done
6711 IFS=$as_save_IFS
6715 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6716 if test -n "$ac_ct_AR"; then
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6718 $as_echo "$ac_ct_AR" >&6; }
6719 else
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6721 $as_echo "no" >&6; }
6724 if test "x$ac_ct_AR" = x; then
6725 AR="false"
6726 else
6727 case $cross_compiling:$ac_tool_warned in
6728 yes:)
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6730 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6731 ac_tool_warned=yes ;;
6732 esac
6733 AR=$ac_ct_AR
6735 else
6736 AR="$ac_cv_prog_AR"
6739 test -z "$AR" && AR=ar
6740 test -z "$AR_FLAGS" && AR_FLAGS=cru
6752 if test -n "$ac_tool_prefix"; then
6753 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6754 set dummy ${ac_tool_prefix}strip; ac_word=$2
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6756 $as_echo_n "checking for $ac_word... " >&6; }
6757 if test "${ac_cv_prog_STRIP+set}" = set; then :
6758 $as_echo_n "(cached) " >&6
6759 else
6760 if test -n "$STRIP"; then
6761 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6762 else
6763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6764 for as_dir in $PATH
6766 IFS=$as_save_IFS
6767 test -z "$as_dir" && as_dir=.
6768 for ac_exec_ext in '' $ac_executable_extensions; do
6769 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6770 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6772 break 2
6774 done
6775 done
6776 IFS=$as_save_IFS
6780 STRIP=$ac_cv_prog_STRIP
6781 if test -n "$STRIP"; then
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6783 $as_echo "$STRIP" >&6; }
6784 else
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6786 $as_echo "no" >&6; }
6791 if test -z "$ac_cv_prog_STRIP"; then
6792 ac_ct_STRIP=$STRIP
6793 # Extract the first word of "strip", so it can be a program name with args.
6794 set dummy strip; ac_word=$2
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6796 $as_echo_n "checking for $ac_word... " >&6; }
6797 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6798 $as_echo_n "(cached) " >&6
6799 else
6800 if test -n "$ac_ct_STRIP"; then
6801 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6802 else
6803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6804 for as_dir in $PATH
6806 IFS=$as_save_IFS
6807 test -z "$as_dir" && as_dir=.
6808 for ac_exec_ext in '' $ac_executable_extensions; do
6809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6810 ac_cv_prog_ac_ct_STRIP="strip"
6811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6812 break 2
6814 done
6815 done
6816 IFS=$as_save_IFS
6820 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6821 if test -n "$ac_ct_STRIP"; then
6822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6823 $as_echo "$ac_ct_STRIP" >&6; }
6824 else
6825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6826 $as_echo "no" >&6; }
6829 if test "x$ac_ct_STRIP" = x; then
6830 STRIP=":"
6831 else
6832 case $cross_compiling:$ac_tool_warned in
6833 yes:)
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6835 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6836 ac_tool_warned=yes ;;
6837 esac
6838 STRIP=$ac_ct_STRIP
6840 else
6841 STRIP="$ac_cv_prog_STRIP"
6844 test -z "$STRIP" && STRIP=:
6851 if test -n "$ac_tool_prefix"; then
6852 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6853 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6855 $as_echo_n "checking for $ac_word... " >&6; }
6856 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6857 $as_echo_n "(cached) " >&6
6858 else
6859 if test -n "$RANLIB"; then
6860 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6861 else
6862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6863 for as_dir in $PATH
6865 IFS=$as_save_IFS
6866 test -z "$as_dir" && as_dir=.
6867 for ac_exec_ext in '' $ac_executable_extensions; do
6868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6869 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6871 break 2
6873 done
6874 done
6875 IFS=$as_save_IFS
6879 RANLIB=$ac_cv_prog_RANLIB
6880 if test -n "$RANLIB"; then
6881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6882 $as_echo "$RANLIB" >&6; }
6883 else
6884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6885 $as_echo "no" >&6; }
6890 if test -z "$ac_cv_prog_RANLIB"; then
6891 ac_ct_RANLIB=$RANLIB
6892 # Extract the first word of "ranlib", so it can be a program name with args.
6893 set dummy ranlib; ac_word=$2
6894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6895 $as_echo_n "checking for $ac_word... " >&6; }
6896 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6897 $as_echo_n "(cached) " >&6
6898 else
6899 if test -n "$ac_ct_RANLIB"; then
6900 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6901 else
6902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6903 for as_dir in $PATH
6905 IFS=$as_save_IFS
6906 test -z "$as_dir" && as_dir=.
6907 for ac_exec_ext in '' $ac_executable_extensions; do
6908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6909 ac_cv_prog_ac_ct_RANLIB="ranlib"
6910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6911 break 2
6913 done
6914 done
6915 IFS=$as_save_IFS
6919 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6920 if test -n "$ac_ct_RANLIB"; then
6921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6922 $as_echo "$ac_ct_RANLIB" >&6; }
6923 else
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6925 $as_echo "no" >&6; }
6928 if test "x$ac_ct_RANLIB" = x; then
6929 RANLIB=":"
6930 else
6931 case $cross_compiling:$ac_tool_warned in
6932 yes:)
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6934 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6935 ac_tool_warned=yes ;;
6936 esac
6937 RANLIB=$ac_ct_RANLIB
6939 else
6940 RANLIB="$ac_cv_prog_RANLIB"
6943 test -z "$RANLIB" && RANLIB=:
6950 # Determine commands to create old-style static archives.
6951 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6952 old_postinstall_cmds='chmod 644 $oldlib'
6953 old_postuninstall_cmds=
6955 if test -n "$RANLIB"; then
6956 case $host_os in
6957 openbsd*)
6958 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6961 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6963 esac
6964 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6967 case $host_os in
6968 darwin*)
6969 lock_old_archive_extraction=yes ;;
6971 lock_old_archive_extraction=no ;;
6972 esac
7012 # If no C compiler was specified, use CC.
7013 LTCC=${LTCC-"$CC"}
7015 # If no C compiler flags were specified, use CFLAGS.
7016 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7018 # Allow CC to be a program name with arguments.
7019 compiler=$CC
7022 # Check for command to grab the raw symbol name followed by C symbol from nm.
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7024 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7025 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7026 $as_echo_n "(cached) " >&6
7027 else
7029 # These are sane defaults that work on at least a few old systems.
7030 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7032 # Character class describing NM global symbol codes.
7033 symcode='[BCDEGRST]'
7035 # Regexp to match symbols that can be accessed directly from C.
7036 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7038 # Define system-specific variables.
7039 case $host_os in
7040 aix*)
7041 symcode='[BCDT]'
7043 cygwin* | mingw* | pw32* | cegcc*)
7044 symcode='[ABCDGISTW]'
7046 hpux*)
7047 if test "$host_cpu" = ia64; then
7048 symcode='[ABCDEGRST]'
7051 irix* | nonstopux*)
7052 symcode='[BCDEGRST]'
7054 osf*)
7055 symcode='[BCDEGQRST]'
7057 solaris*)
7058 symcode='[BDRT]'
7060 sco3.2v5*)
7061 symcode='[DT]'
7063 sysv4.2uw2*)
7064 symcode='[DT]'
7066 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7067 symcode='[ABDT]'
7069 sysv4)
7070 symcode='[DFNSTU]'
7072 esac
7074 # If we're using GNU nm, then use its standard symbol codes.
7075 case `$NM -V 2>&1` in
7076 *GNU* | *'with BFD'*)
7077 symcode='[ABCDGIRSTW]' ;;
7078 esac
7080 # Transform an extracted symbol line into a proper C declaration.
7081 # Some systems (esp. on ia64) link data and code symbols differently,
7082 # so use this general approach.
7083 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7085 # Transform an extracted symbol line into symbol name and symbol address
7086 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7087 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'"
7089 # Handle CRLF in mingw tool chain
7090 opt_cr=
7091 case $build_os in
7092 mingw*)
7093 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7095 esac
7097 # Try without a prefix underscore, then with it.
7098 for ac_symprfx in "" "_"; do
7100 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7101 symxfrm="\\1 $ac_symprfx\\2 \\2"
7103 # Write the raw and C identifiers.
7104 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7105 # Fake it for dumpbin and say T for any non-static function
7106 # and D for any global variable.
7107 # Also find C++ and __fastcall symbols from MSVC++,
7108 # which start with @ or ?.
7109 lt_cv_sys_global_symbol_pipe="$AWK '"\
7110 " {last_section=section; section=\$ 3};"\
7111 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7112 " \$ 0!~/External *\|/{next};"\
7113 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7114 " {if(hide[section]) next};"\
7115 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7116 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7117 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7118 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7119 " ' prfx=^$ac_symprfx"
7120 else
7121 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7124 # Check to see that the pipe works correctly.
7125 pipe_works=no
7127 rm -f conftest*
7128 cat > conftest.$ac_ext <<_LT_EOF
7129 #ifdef __cplusplus
7130 extern "C" {
7131 #endif
7132 char nm_test_var;
7133 void nm_test_func(void);
7134 void nm_test_func(void){}
7135 #ifdef __cplusplus
7137 #endif
7138 int main(){nm_test_var='a';nm_test_func();return(0);}
7139 _LT_EOF
7141 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7142 (eval $ac_compile) 2>&5
7143 ac_status=$?
7144 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7145 test $ac_status = 0; }; then
7146 # Now try to grab the symbols.
7147 nlist=conftest.nm
7148 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7149 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7150 ac_status=$?
7151 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7152 test $ac_status = 0; } && test -s "$nlist"; then
7153 # Try sorting and uniquifying the output.
7154 if sort "$nlist" | uniq > "$nlist"T; then
7155 mv -f "$nlist"T "$nlist"
7156 else
7157 rm -f "$nlist"T
7160 # Make sure that we snagged all the symbols we need.
7161 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7162 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7163 cat <<_LT_EOF > conftest.$ac_ext
7164 #ifdef __cplusplus
7165 extern "C" {
7166 #endif
7168 _LT_EOF
7169 # Now generate the symbol file.
7170 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7172 cat <<_LT_EOF >> conftest.$ac_ext
7174 /* The mapping between symbol names and symbols. */
7175 const struct {
7176 const char *name;
7177 void *address;
7179 lt__PROGRAM__LTX_preloaded_symbols[] =
7181 { "@PROGRAM@", (void *) 0 },
7182 _LT_EOF
7183 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7184 cat <<\_LT_EOF >> conftest.$ac_ext
7185 {0, (void *) 0}
7188 /* This works around a problem in FreeBSD linker */
7189 #ifdef FREEBSD_WORKAROUND
7190 static const void *lt_preloaded_setup() {
7191 return lt__PROGRAM__LTX_preloaded_symbols;
7193 #endif
7195 #ifdef __cplusplus
7197 #endif
7198 _LT_EOF
7199 # Now try linking the two files.
7200 mv conftest.$ac_objext conftstm.$ac_objext
7201 lt_save_LIBS="$LIBS"
7202 lt_save_CFLAGS="$CFLAGS"
7203 LIBS="conftstm.$ac_objext"
7204 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7205 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7206 (eval $ac_link) 2>&5
7207 ac_status=$?
7208 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7209 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7210 pipe_works=yes
7212 LIBS="$lt_save_LIBS"
7213 CFLAGS="$lt_save_CFLAGS"
7214 else
7215 echo "cannot find nm_test_func in $nlist" >&5
7217 else
7218 echo "cannot find nm_test_var in $nlist" >&5
7220 else
7221 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7223 else
7224 echo "$progname: failed program was:" >&5
7225 cat conftest.$ac_ext >&5
7227 rm -rf conftest* conftst*
7229 # Do not use the global_symbol_pipe unless it works.
7230 if test "$pipe_works" = yes; then
7231 break
7232 else
7233 lt_cv_sys_global_symbol_pipe=
7235 done
7239 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7240 lt_cv_sys_global_symbol_to_cdecl=
7242 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7244 $as_echo "failed" >&6; }
7245 else
7246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7247 $as_echo "ok" >&6; }
7271 # Check whether --enable-libtool-lock was given.
7272 if test "${enable_libtool_lock+set}" = set; then :
7273 enableval=$enable_libtool_lock;
7276 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7278 # Some flags need to be propagated to the compiler or linker for good
7279 # libtool support.
7280 case $host in
7281 ia64-*-hpux*)
7282 # Find out which ABI we are using.
7283 echo 'int i;' > conftest.$ac_ext
7284 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7285 (eval $ac_compile) 2>&5
7286 ac_status=$?
7287 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7288 test $ac_status = 0; }; then
7289 case `/usr/bin/file conftest.$ac_objext` in
7290 *ELF-32*)
7291 HPUX_IA64_MODE="32"
7293 *ELF-64*)
7294 HPUX_IA64_MODE="64"
7296 esac
7298 rm -rf conftest*
7300 *-*-irix6*)
7301 # Find out which ABI we are using.
7302 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7303 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7304 (eval $ac_compile) 2>&5
7305 ac_status=$?
7306 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7307 test $ac_status = 0; }; then
7308 if test "$lt_cv_prog_gnu_ld" = yes; then
7309 case `/usr/bin/file conftest.$ac_objext` in
7310 *32-bit*)
7311 LD="${LD-ld} -melf32bsmip"
7313 *N32*)
7314 LD="${LD-ld} -melf32bmipn32"
7316 *64-bit*)
7317 LD="${LD-ld} -melf64bmip"
7319 esac
7320 else
7321 case `/usr/bin/file conftest.$ac_objext` in
7322 *32-bit*)
7323 LD="${LD-ld} -32"
7325 *N32*)
7326 LD="${LD-ld} -n32"
7328 *64-bit*)
7329 LD="${LD-ld} -64"
7331 esac
7334 rm -rf conftest*
7337 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7338 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7339 # Find out which ABI we are using.
7340 echo 'int i;' > conftest.$ac_ext
7341 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7342 (eval $ac_compile) 2>&5
7343 ac_status=$?
7344 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7345 test $ac_status = 0; }; then
7346 case `/usr/bin/file conftest.o` in
7347 *32-bit*)
7348 case $host in
7349 x86_64-*kfreebsd*-gnu)
7350 LD="${LD-ld} -m elf_i386_fbsd"
7352 x86_64-*linux*)
7353 LD="${LD-ld} -m elf_i386"
7355 ppc64-*linux*|powerpc64-*linux*)
7356 LD="${LD-ld} -m elf32ppclinux"
7358 s390x-*linux*)
7359 LD="${LD-ld} -m elf_s390"
7361 sparc64-*linux*)
7362 LD="${LD-ld} -m elf32_sparc"
7364 esac
7366 *64-bit*)
7367 case $host in
7368 x86_64-*kfreebsd*-gnu)
7369 LD="${LD-ld} -m elf_x86_64_fbsd"
7371 x86_64-*linux*)
7372 LD="${LD-ld} -m elf_x86_64"
7374 ppc*-*linux*|powerpc*-*linux*)
7375 LD="${LD-ld} -m elf64ppc"
7377 s390*-*linux*|s390*-*tpf*)
7378 LD="${LD-ld} -m elf64_s390"
7380 sparc*-*linux*)
7381 LD="${LD-ld} -m elf64_sparc"
7383 esac
7385 esac
7387 rm -rf conftest*
7390 *-*-sco3.2v5*)
7391 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7392 SAVE_CFLAGS="$CFLAGS"
7393 CFLAGS="$CFLAGS -belf"
7394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7395 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7396 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7397 $as_echo_n "(cached) " >&6
7398 else
7399 ac_ext=c
7400 ac_cpp='$CPP $CPPFLAGS'
7401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7406 /* end confdefs.h. */
7409 main ()
7413 return 0;
7415 _ACEOF
7416 if ac_fn_c_try_link "$LINENO"; then :
7417 lt_cv_cc_needs_belf=yes
7418 else
7419 lt_cv_cc_needs_belf=no
7421 rm -f core conftest.err conftest.$ac_objext \
7422 conftest$ac_exeext conftest.$ac_ext
7423 ac_ext=c
7424 ac_cpp='$CPP $CPPFLAGS'
7425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7431 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7432 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7433 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7434 CFLAGS="$SAVE_CFLAGS"
7437 sparc*-*solaris*)
7438 # Find out which ABI we are using.
7439 echo 'int i;' > conftest.$ac_ext
7440 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7441 (eval $ac_compile) 2>&5
7442 ac_status=$?
7443 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7444 test $ac_status = 0; }; then
7445 case `/usr/bin/file conftest.o` in
7446 *64-bit*)
7447 case $lt_cv_prog_gnu_ld in
7448 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7450 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7451 LD="${LD-ld} -64"
7454 esac
7456 esac
7458 rm -rf conftest*
7460 esac
7462 need_locks="$enable_libtool_lock"
7465 case $host_os in
7466 rhapsody* | darwin*)
7467 if test -n "$ac_tool_prefix"; then
7468 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7469 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7471 $as_echo_n "checking for $ac_word... " >&6; }
7472 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7473 $as_echo_n "(cached) " >&6
7474 else
7475 if test -n "$DSYMUTIL"; then
7476 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7477 else
7478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7479 for as_dir in $PATH
7481 IFS=$as_save_IFS
7482 test -z "$as_dir" && as_dir=.
7483 for ac_exec_ext in '' $ac_executable_extensions; do
7484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7485 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7487 break 2
7489 done
7490 done
7491 IFS=$as_save_IFS
7495 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7496 if test -n "$DSYMUTIL"; then
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7498 $as_echo "$DSYMUTIL" >&6; }
7499 else
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7501 $as_echo "no" >&6; }
7506 if test -z "$ac_cv_prog_DSYMUTIL"; then
7507 ac_ct_DSYMUTIL=$DSYMUTIL
7508 # Extract the first word of "dsymutil", so it can be a program name with args.
7509 set dummy dsymutil; ac_word=$2
7510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7511 $as_echo_n "checking for $ac_word... " >&6; }
7512 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7513 $as_echo_n "(cached) " >&6
7514 else
7515 if test -n "$ac_ct_DSYMUTIL"; then
7516 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7517 else
7518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7519 for as_dir in $PATH
7521 IFS=$as_save_IFS
7522 test -z "$as_dir" && as_dir=.
7523 for ac_exec_ext in '' $ac_executable_extensions; do
7524 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7525 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7527 break 2
7529 done
7530 done
7531 IFS=$as_save_IFS
7535 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7536 if test -n "$ac_ct_DSYMUTIL"; then
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7538 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7539 else
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7541 $as_echo "no" >&6; }
7544 if test "x$ac_ct_DSYMUTIL" = x; then
7545 DSYMUTIL=":"
7546 else
7547 case $cross_compiling:$ac_tool_warned in
7548 yes:)
7549 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7550 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7551 ac_tool_warned=yes ;;
7552 esac
7553 DSYMUTIL=$ac_ct_DSYMUTIL
7555 else
7556 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7559 if test -n "$ac_tool_prefix"; then
7560 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7561 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7563 $as_echo_n "checking for $ac_word... " >&6; }
7564 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7565 $as_echo_n "(cached) " >&6
7566 else
7567 if test -n "$NMEDIT"; then
7568 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7569 else
7570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7571 for as_dir in $PATH
7573 IFS=$as_save_IFS
7574 test -z "$as_dir" && as_dir=.
7575 for ac_exec_ext in '' $ac_executable_extensions; do
7576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7577 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7579 break 2
7581 done
7582 done
7583 IFS=$as_save_IFS
7587 NMEDIT=$ac_cv_prog_NMEDIT
7588 if test -n "$NMEDIT"; then
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7590 $as_echo "$NMEDIT" >&6; }
7591 else
7592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7593 $as_echo "no" >&6; }
7598 if test -z "$ac_cv_prog_NMEDIT"; then
7599 ac_ct_NMEDIT=$NMEDIT
7600 # Extract the first word of "nmedit", so it can be a program name with args.
7601 set dummy nmedit; ac_word=$2
7602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7603 $as_echo_n "checking for $ac_word... " >&6; }
7604 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7605 $as_echo_n "(cached) " >&6
7606 else
7607 if test -n "$ac_ct_NMEDIT"; then
7608 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7609 else
7610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7611 for as_dir in $PATH
7613 IFS=$as_save_IFS
7614 test -z "$as_dir" && as_dir=.
7615 for ac_exec_ext in '' $ac_executable_extensions; do
7616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7617 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7619 break 2
7621 done
7622 done
7623 IFS=$as_save_IFS
7627 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7628 if test -n "$ac_ct_NMEDIT"; then
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7630 $as_echo "$ac_ct_NMEDIT" >&6; }
7631 else
7632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7633 $as_echo "no" >&6; }
7636 if test "x$ac_ct_NMEDIT" = x; then
7637 NMEDIT=":"
7638 else
7639 case $cross_compiling:$ac_tool_warned in
7640 yes:)
7641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7642 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7643 ac_tool_warned=yes ;;
7644 esac
7645 NMEDIT=$ac_ct_NMEDIT
7647 else
7648 NMEDIT="$ac_cv_prog_NMEDIT"
7651 if test -n "$ac_tool_prefix"; then
7652 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7653 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7655 $as_echo_n "checking for $ac_word... " >&6; }
7656 if test "${ac_cv_prog_LIPO+set}" = set; then :
7657 $as_echo_n "(cached) " >&6
7658 else
7659 if test -n "$LIPO"; then
7660 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7661 else
7662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7663 for as_dir in $PATH
7665 IFS=$as_save_IFS
7666 test -z "$as_dir" && as_dir=.
7667 for ac_exec_ext in '' $ac_executable_extensions; do
7668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7669 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7671 break 2
7673 done
7674 done
7675 IFS=$as_save_IFS
7679 LIPO=$ac_cv_prog_LIPO
7680 if test -n "$LIPO"; then
7681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7682 $as_echo "$LIPO" >&6; }
7683 else
7684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7685 $as_echo "no" >&6; }
7690 if test -z "$ac_cv_prog_LIPO"; then
7691 ac_ct_LIPO=$LIPO
7692 # Extract the first word of "lipo", so it can be a program name with args.
7693 set dummy lipo; ac_word=$2
7694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7695 $as_echo_n "checking for $ac_word... " >&6; }
7696 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7697 $as_echo_n "(cached) " >&6
7698 else
7699 if test -n "$ac_ct_LIPO"; then
7700 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7701 else
7702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7703 for as_dir in $PATH
7705 IFS=$as_save_IFS
7706 test -z "$as_dir" && as_dir=.
7707 for ac_exec_ext in '' $ac_executable_extensions; do
7708 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7709 ac_cv_prog_ac_ct_LIPO="lipo"
7710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7711 break 2
7713 done
7714 done
7715 IFS=$as_save_IFS
7719 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7720 if test -n "$ac_ct_LIPO"; then
7721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7722 $as_echo "$ac_ct_LIPO" >&6; }
7723 else
7724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7725 $as_echo "no" >&6; }
7728 if test "x$ac_ct_LIPO" = x; then
7729 LIPO=":"
7730 else
7731 case $cross_compiling:$ac_tool_warned in
7732 yes:)
7733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7734 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7735 ac_tool_warned=yes ;;
7736 esac
7737 LIPO=$ac_ct_LIPO
7739 else
7740 LIPO="$ac_cv_prog_LIPO"
7743 if test -n "$ac_tool_prefix"; then
7744 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7745 set dummy ${ac_tool_prefix}otool; ac_word=$2
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7747 $as_echo_n "checking for $ac_word... " >&6; }
7748 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7749 $as_echo_n "(cached) " >&6
7750 else
7751 if test -n "$OTOOL"; then
7752 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7753 else
7754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7755 for as_dir in $PATH
7757 IFS=$as_save_IFS
7758 test -z "$as_dir" && as_dir=.
7759 for ac_exec_ext in '' $ac_executable_extensions; do
7760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7761 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7763 break 2
7765 done
7766 done
7767 IFS=$as_save_IFS
7771 OTOOL=$ac_cv_prog_OTOOL
7772 if test -n "$OTOOL"; then
7773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7774 $as_echo "$OTOOL" >&6; }
7775 else
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7777 $as_echo "no" >&6; }
7782 if test -z "$ac_cv_prog_OTOOL"; then
7783 ac_ct_OTOOL=$OTOOL
7784 # Extract the first word of "otool", so it can be a program name with args.
7785 set dummy otool; ac_word=$2
7786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7787 $as_echo_n "checking for $ac_word... " >&6; }
7788 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7789 $as_echo_n "(cached) " >&6
7790 else
7791 if test -n "$ac_ct_OTOOL"; then
7792 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7793 else
7794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7795 for as_dir in $PATH
7797 IFS=$as_save_IFS
7798 test -z "$as_dir" && as_dir=.
7799 for ac_exec_ext in '' $ac_executable_extensions; do
7800 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7801 ac_cv_prog_ac_ct_OTOOL="otool"
7802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7803 break 2
7805 done
7806 done
7807 IFS=$as_save_IFS
7811 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7812 if test -n "$ac_ct_OTOOL"; then
7813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7814 $as_echo "$ac_ct_OTOOL" >&6; }
7815 else
7816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7817 $as_echo "no" >&6; }
7820 if test "x$ac_ct_OTOOL" = x; then
7821 OTOOL=":"
7822 else
7823 case $cross_compiling:$ac_tool_warned in
7824 yes:)
7825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7826 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7827 ac_tool_warned=yes ;;
7828 esac
7829 OTOOL=$ac_ct_OTOOL
7831 else
7832 OTOOL="$ac_cv_prog_OTOOL"
7835 if test -n "$ac_tool_prefix"; then
7836 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7837 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7839 $as_echo_n "checking for $ac_word... " >&6; }
7840 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7841 $as_echo_n "(cached) " >&6
7842 else
7843 if test -n "$OTOOL64"; then
7844 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7845 else
7846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7847 for as_dir in $PATH
7849 IFS=$as_save_IFS
7850 test -z "$as_dir" && as_dir=.
7851 for ac_exec_ext in '' $ac_executable_extensions; do
7852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7853 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7855 break 2
7857 done
7858 done
7859 IFS=$as_save_IFS
7863 OTOOL64=$ac_cv_prog_OTOOL64
7864 if test -n "$OTOOL64"; then
7865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7866 $as_echo "$OTOOL64" >&6; }
7867 else
7868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7869 $as_echo "no" >&6; }
7874 if test -z "$ac_cv_prog_OTOOL64"; then
7875 ac_ct_OTOOL64=$OTOOL64
7876 # Extract the first word of "otool64", so it can be a program name with args.
7877 set dummy otool64; ac_word=$2
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7879 $as_echo_n "checking for $ac_word... " >&6; }
7880 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7881 $as_echo_n "(cached) " >&6
7882 else
7883 if test -n "$ac_ct_OTOOL64"; then
7884 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7885 else
7886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7887 for as_dir in $PATH
7889 IFS=$as_save_IFS
7890 test -z "$as_dir" && as_dir=.
7891 for ac_exec_ext in '' $ac_executable_extensions; do
7892 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7893 ac_cv_prog_ac_ct_OTOOL64="otool64"
7894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7895 break 2
7897 done
7898 done
7899 IFS=$as_save_IFS
7903 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7904 if test -n "$ac_ct_OTOOL64"; then
7905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7906 $as_echo "$ac_ct_OTOOL64" >&6; }
7907 else
7908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7909 $as_echo "no" >&6; }
7912 if test "x$ac_ct_OTOOL64" = x; then
7913 OTOOL64=":"
7914 else
7915 case $cross_compiling:$ac_tool_warned in
7916 yes:)
7917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7918 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7919 ac_tool_warned=yes ;;
7920 esac
7921 OTOOL64=$ac_ct_OTOOL64
7923 else
7924 OTOOL64="$ac_cv_prog_OTOOL64"
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7954 $as_echo_n "checking for -single_module linker flag... " >&6; }
7955 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7956 $as_echo_n "(cached) " >&6
7957 else
7958 lt_cv_apple_cc_single_mod=no
7959 if test -z "${LT_MULTI_MODULE}"; then
7960 # By default we will add the -single_module flag. You can override
7961 # by either setting the environment variable LT_MULTI_MODULE
7962 # non-empty at configure time, or by adding -multi_module to the
7963 # link flags.
7964 rm -rf libconftest.dylib*
7965 echo "int foo(void){return 1;}" > conftest.c
7966 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7967 -dynamiclib -Wl,-single_module conftest.c" >&5
7968 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7969 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7970 _lt_result=$?
7971 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7972 lt_cv_apple_cc_single_mod=yes
7973 else
7974 cat conftest.err >&5
7976 rm -rf libconftest.dylib*
7977 rm -f conftest.*
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7981 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7983 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7984 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7985 $as_echo_n "(cached) " >&6
7986 else
7987 lt_cv_ld_exported_symbols_list=no
7988 save_LDFLAGS=$LDFLAGS
7989 echo "_main" > conftest.sym
7990 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7992 /* end confdefs.h. */
7995 main ()
7999 return 0;
8001 _ACEOF
8002 if ac_fn_c_try_link "$LINENO"; then :
8003 lt_cv_ld_exported_symbols_list=yes
8004 else
8005 lt_cv_ld_exported_symbols_list=no
8007 rm -f core conftest.err conftest.$ac_objext \
8008 conftest$ac_exeext conftest.$ac_ext
8009 LDFLAGS="$save_LDFLAGS"
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8013 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8015 $as_echo_n "checking for -force_load linker flag... " >&6; }
8016 if test "${lt_cv_ld_force_load+set}" = set; then :
8017 $as_echo_n "(cached) " >&6
8018 else
8019 lt_cv_ld_force_load=no
8020 cat > conftest.c << _LT_EOF
8021 int forced_loaded() { return 2;}
8022 _LT_EOF
8023 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8024 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8025 echo "$AR cru libconftest.a conftest.o" >&5
8026 $AR cru libconftest.a conftest.o 2>&5
8027 echo "$RANLIB libconftest.a" >&5
8028 $RANLIB libconftest.a 2>&5
8029 cat > conftest.c << _LT_EOF
8030 int main() { return 0;}
8031 _LT_EOF
8032 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8033 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8034 _lt_result=$?
8035 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8036 lt_cv_ld_force_load=yes
8037 else
8038 cat conftest.err >&5
8040 rm -f conftest.err libconftest.a conftest conftest.c
8041 rm -rf conftest.dSYM
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8045 $as_echo "$lt_cv_ld_force_load" >&6; }
8046 case $host_os in
8047 rhapsody* | darwin1.[012])
8048 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8049 darwin1.*)
8050 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8051 darwin*) # darwin 5.x on
8052 # if running on 10.5 or later, the deployment target defaults
8053 # to the OS version, if on x86, and 10.4, the deployment
8054 # target defaults to 10.4. Don't you love it?
8055 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8056 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8057 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8058 10.[012]*)
8059 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8060 10.*)
8061 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8062 esac
8064 esac
8065 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8066 _lt_dar_single_mod='$single_module'
8068 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8069 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8070 else
8071 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8073 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8074 _lt_dsymutil='~$DSYMUTIL $lib || :'
8075 else
8076 _lt_dsymutil=
8079 esac
8081 for ac_header in dlfcn.h
8082 do :
8083 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8085 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8086 cat >>confdefs.h <<_ACEOF
8087 #define HAVE_DLFCN_H 1
8088 _ACEOF
8092 done
8098 # Set options
8102 enable_dlopen=no
8105 enable_win32_dll=no
8111 # Check whether --with-pic was given.
8112 if test "${with_pic+set}" = set; then :
8113 withval=$with_pic; pic_mode="$withval"
8114 else
8115 pic_mode=default
8119 test -z "$pic_mode" && pic_mode=default
8127 # Check whether --enable-fast-install was given.
8128 if test "${enable_fast_install+set}" = set; then :
8129 enableval=$enable_fast_install; p=${PACKAGE-default}
8130 case $enableval in
8131 yes) enable_fast_install=yes ;;
8132 no) enable_fast_install=no ;;
8134 enable_fast_install=no
8135 # Look at the argument we got. We use all the common list separators.
8136 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8137 for pkg in $enableval; do
8138 IFS="$lt_save_ifs"
8139 if test "X$pkg" = "X$p"; then
8140 enable_fast_install=yes
8142 done
8143 IFS="$lt_save_ifs"
8145 esac
8146 else
8147 enable_fast_install=yes
8160 # This can be used to rebuild libtool when needed
8161 LIBTOOL_DEPS="$ltmain"
8163 # Always use our own libtool.
8164 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8191 test -z "$LN_S" && LN_S="ln -s"
8206 if test -n "${ZSH_VERSION+set}" ; then
8207 setopt NO_GLOB_SUBST
8210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8211 $as_echo_n "checking for objdir... " >&6; }
8212 if test "${lt_cv_objdir+set}" = set; then :
8213 $as_echo_n "(cached) " >&6
8214 else
8215 rm -f .libs 2>/dev/null
8216 mkdir .libs 2>/dev/null
8217 if test -d .libs; then
8218 lt_cv_objdir=.libs
8219 else
8220 # MS-DOS does not allow filenames that begin with a dot.
8221 lt_cv_objdir=_libs
8223 rmdir .libs 2>/dev/null
8225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8226 $as_echo "$lt_cv_objdir" >&6; }
8227 objdir=$lt_cv_objdir
8233 cat >>confdefs.h <<_ACEOF
8234 #define LT_OBJDIR "$lt_cv_objdir/"
8235 _ACEOF
8240 case $host_os in
8241 aix3*)
8242 # AIX sometimes has problems with the GCC collect2 program. For some
8243 # reason, if we set the COLLECT_NAMES environment variable, the problems
8244 # vanish in a puff of smoke.
8245 if test "X${COLLECT_NAMES+set}" != Xset; then
8246 COLLECT_NAMES=
8247 export COLLECT_NAMES
8250 esac
8252 # Global variables:
8253 ofile=libtool
8254 can_build_shared=yes
8256 # All known linkers require a `.a' archive for static linking (except MSVC,
8257 # which needs '.lib').
8258 libext=a
8260 with_gnu_ld="$lt_cv_prog_gnu_ld"
8262 old_CC="$CC"
8263 old_CFLAGS="$CFLAGS"
8265 # Set sane defaults for various variables
8266 test -z "$CC" && CC=cc
8267 test -z "$LTCC" && LTCC=$CC
8268 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8269 test -z "$LD" && LD=ld
8270 test -z "$ac_objext" && ac_objext=o
8272 for cc_temp in $compiler""; do
8273 case $cc_temp in
8274 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8275 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8276 \-*) ;;
8277 *) break;;
8278 esac
8279 done
8280 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8283 # Only perform the check for file, if the check method requires it
8284 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8285 case $deplibs_check_method in
8286 file_magic*)
8287 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8289 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8290 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8291 $as_echo_n "(cached) " >&6
8292 else
8293 case $MAGIC_CMD in
8294 [\\/*] | ?:[\\/]*)
8295 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8298 lt_save_MAGIC_CMD="$MAGIC_CMD"
8299 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8300 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8301 for ac_dir in $ac_dummy; do
8302 IFS="$lt_save_ifs"
8303 test -z "$ac_dir" && ac_dir=.
8304 if test -f $ac_dir/${ac_tool_prefix}file; then
8305 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8306 if test -n "$file_magic_test_file"; then
8307 case $deplibs_check_method in
8308 "file_magic "*)
8309 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8310 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8311 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8312 $EGREP "$file_magic_regex" > /dev/null; then
8314 else
8315 cat <<_LT_EOF 1>&2
8317 *** Warning: the command libtool uses to detect shared libraries,
8318 *** $file_magic_cmd, produces output that libtool cannot recognize.
8319 *** The result is that libtool may fail to recognize shared libraries
8320 *** as such. This will affect the creation of libtool libraries that
8321 *** depend on shared libraries, but programs linked with such libtool
8322 *** libraries will work regardless of this problem. Nevertheless, you
8323 *** may want to report the problem to your system manager and/or to
8324 *** bug-libtool@gnu.org
8326 _LT_EOF
8327 fi ;;
8328 esac
8330 break
8332 done
8333 IFS="$lt_save_ifs"
8334 MAGIC_CMD="$lt_save_MAGIC_CMD"
8336 esac
8339 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8340 if test -n "$MAGIC_CMD"; then
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8342 $as_echo "$MAGIC_CMD" >&6; }
8343 else
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8345 $as_echo "no" >&6; }
8352 if test -z "$lt_cv_path_MAGIC_CMD"; then
8353 if test -n "$ac_tool_prefix"; then
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8355 $as_echo_n "checking for file... " >&6; }
8356 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8357 $as_echo_n "(cached) " >&6
8358 else
8359 case $MAGIC_CMD in
8360 [\\/*] | ?:[\\/]*)
8361 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8364 lt_save_MAGIC_CMD="$MAGIC_CMD"
8365 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8366 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8367 for ac_dir in $ac_dummy; do
8368 IFS="$lt_save_ifs"
8369 test -z "$ac_dir" && ac_dir=.
8370 if test -f $ac_dir/file; then
8371 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8372 if test -n "$file_magic_test_file"; then
8373 case $deplibs_check_method in
8374 "file_magic "*)
8375 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8376 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8377 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8378 $EGREP "$file_magic_regex" > /dev/null; then
8380 else
8381 cat <<_LT_EOF 1>&2
8383 *** Warning: the command libtool uses to detect shared libraries,
8384 *** $file_magic_cmd, produces output that libtool cannot recognize.
8385 *** The result is that libtool may fail to recognize shared libraries
8386 *** as such. This will affect the creation of libtool libraries that
8387 *** depend on shared libraries, but programs linked with such libtool
8388 *** libraries will work regardless of this problem. Nevertheless, you
8389 *** may want to report the problem to your system manager and/or to
8390 *** bug-libtool@gnu.org
8392 _LT_EOF
8393 fi ;;
8394 esac
8396 break
8398 done
8399 IFS="$lt_save_ifs"
8400 MAGIC_CMD="$lt_save_MAGIC_CMD"
8402 esac
8405 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8406 if test -n "$MAGIC_CMD"; then
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8408 $as_echo "$MAGIC_CMD" >&6; }
8409 else
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8411 $as_echo "no" >&6; }
8415 else
8416 MAGIC_CMD=:
8422 esac
8424 # Use C for the default configuration in the libtool script
8426 lt_save_CC="$CC"
8427 ac_ext=c
8428 ac_cpp='$CPP $CPPFLAGS'
8429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8434 # Source file extension for C test sources.
8435 ac_ext=c
8437 # Object file extension for compiled C test sources.
8438 objext=o
8439 objext=$objext
8441 # Code to be used in simple compile tests
8442 lt_simple_compile_test_code="int some_variable = 0;"
8444 # Code to be used in simple link tests
8445 lt_simple_link_test_code='int main(){return(0);}'
8453 # If no C compiler was specified, use CC.
8454 LTCC=${LTCC-"$CC"}
8456 # If no C compiler flags were specified, use CFLAGS.
8457 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8459 # Allow CC to be a program name with arguments.
8460 compiler=$CC
8462 # Save the default compiler, since it gets overwritten when the other
8463 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8464 compiler_DEFAULT=$CC
8466 # save warnings/boilerplate of simple test code
8467 ac_outfile=conftest.$ac_objext
8468 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8469 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8470 _lt_compiler_boilerplate=`cat conftest.err`
8471 $RM conftest*
8473 ac_outfile=conftest.$ac_objext
8474 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8475 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8476 _lt_linker_boilerplate=`cat conftest.err`
8477 $RM -r conftest*
8480 if test -n "$compiler"; then
8482 lt_prog_compiler_no_builtin_flag=
8484 if test "$GCC" = yes; then
8485 case $cc_basename in
8486 nvcc*)
8487 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8489 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8490 esac
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8493 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8494 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8495 $as_echo_n "(cached) " >&6
8496 else
8497 lt_cv_prog_compiler_rtti_exceptions=no
8498 ac_outfile=conftest.$ac_objext
8499 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8500 lt_compiler_flag="-fno-rtti -fno-exceptions"
8501 # Insert the option either (1) after the last *FLAGS variable, or
8502 # (2) before a word containing "conftest.", or (3) at the end.
8503 # Note that $ac_compile itself does not contain backslashes and begins
8504 # with a dollar sign (not a hyphen), so the echo should work correctly.
8505 # The option is referenced via a variable to avoid confusing sed.
8506 lt_compile=`echo "$ac_compile" | $SED \
8507 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8508 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8509 -e 's:$: $lt_compiler_flag:'`
8510 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8511 (eval "$lt_compile" 2>conftest.err)
8512 ac_status=$?
8513 cat conftest.err >&5
8514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8515 if (exit $ac_status) && test -s "$ac_outfile"; then
8516 # The compiler can only warn and ignore the option if not recognized
8517 # So say no if there are warnings other than the usual output.
8518 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8519 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8520 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8521 lt_cv_prog_compiler_rtti_exceptions=yes
8524 $RM conftest*
8527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8528 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8530 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8531 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8532 else
8543 lt_prog_compiler_wl=
8544 lt_prog_compiler_pic=
8545 lt_prog_compiler_static=
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8548 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8550 if test "$GCC" = yes; then
8551 lt_prog_compiler_wl='-Wl,'
8552 lt_prog_compiler_static='-static'
8554 case $host_os in
8555 aix*)
8556 # All AIX code is PIC.
8557 if test "$host_cpu" = ia64; then
8558 # AIX 5 now supports IA64 processor
8559 lt_prog_compiler_static='-Bstatic'
8563 amigaos*)
8564 case $host_cpu in
8565 powerpc)
8566 # see comment about AmigaOS4 .so support
8567 lt_prog_compiler_pic='-fPIC'
8569 m68k)
8570 # FIXME: we need at least 68020 code to build shared libraries, but
8571 # adding the `-m68020' flag to GCC prevents building anything better,
8572 # like `-m68040'.
8573 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8575 esac
8578 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8579 # PIC is the default for these OSes.
8582 mingw* | cygwin* | pw32* | os2* | cegcc*)
8583 # This hack is so that the source file can tell whether it is being
8584 # built for inclusion in a dll (and should export symbols for example).
8585 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8586 # (--disable-auto-import) libraries
8587 lt_prog_compiler_pic='-DDLL_EXPORT'
8590 darwin* | rhapsody*)
8591 # PIC is the default on this platform
8592 # Common symbols not allowed in MH_DYLIB files
8593 lt_prog_compiler_pic='-fno-common'
8596 haiku*)
8597 # PIC is the default for Haiku.
8598 # The "-static" flag exists, but is broken.
8599 lt_prog_compiler_static=
8602 hpux*)
8603 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8604 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8605 # sets the default TLS model and affects inlining.
8606 case $host_cpu in
8607 hppa*64*)
8608 # +Z the default
8611 lt_prog_compiler_pic='-fPIC'
8613 esac
8616 interix[3-9]*)
8617 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8618 # Instead, we relocate shared libraries at runtime.
8621 msdosdjgpp*)
8622 # Just because we use GCC doesn't mean we suddenly get shared libraries
8623 # on systems that don't support them.
8624 lt_prog_compiler_can_build_shared=no
8625 enable_shared=no
8628 *nto* | *qnx*)
8629 # QNX uses GNU C++, but need to define -shared option too, otherwise
8630 # it will coredump.
8631 lt_prog_compiler_pic='-fPIC -shared'
8634 sysv4*MP*)
8635 if test -d /usr/nec; then
8636 lt_prog_compiler_pic=-Kconform_pic
8641 lt_prog_compiler_pic='-fPIC'
8643 esac
8645 case $cc_basename in
8646 nvcc*) # Cuda Compiler Driver 2.2
8647 lt_prog_compiler_wl='-Xlinker '
8648 lt_prog_compiler_pic='-Xcompiler -fPIC'
8650 esac
8651 else
8652 # PORTME Check for flag to pass linker flags through the system compiler.
8653 case $host_os in
8654 aix*)
8655 lt_prog_compiler_wl='-Wl,'
8656 if test "$host_cpu" = ia64; then
8657 # AIX 5 now supports IA64 processor
8658 lt_prog_compiler_static='-Bstatic'
8659 else
8660 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8664 mingw* | cygwin* | pw32* | os2* | cegcc*)
8665 # This hack is so that the source file can tell whether it is being
8666 # built for inclusion in a dll (and should export symbols for example).
8667 lt_prog_compiler_pic='-DDLL_EXPORT'
8670 hpux9* | hpux10* | hpux11*)
8671 lt_prog_compiler_wl='-Wl,'
8672 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8673 # not for PA HP-UX.
8674 case $host_cpu in
8675 hppa*64*|ia64*)
8676 # +Z the default
8679 lt_prog_compiler_pic='+Z'
8681 esac
8682 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8683 lt_prog_compiler_static='${wl}-a ${wl}archive'
8686 irix5* | irix6* | nonstopux*)
8687 lt_prog_compiler_wl='-Wl,'
8688 # PIC (with -KPIC) is the default.
8689 lt_prog_compiler_static='-non_shared'
8692 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8693 case $cc_basename in
8694 # old Intel for x86_64 which still supported -KPIC.
8695 ecc*)
8696 lt_prog_compiler_wl='-Wl,'
8697 lt_prog_compiler_pic='-KPIC'
8698 lt_prog_compiler_static='-static'
8700 # icc used to be incompatible with GCC.
8701 # ICC 10 doesn't accept -KPIC any more.
8702 icc* | ifort*)
8703 lt_prog_compiler_wl='-Wl,'
8704 lt_prog_compiler_pic='-fPIC'
8705 lt_prog_compiler_static='-static'
8707 # Lahey Fortran 8.1.
8708 lf95*)
8709 lt_prog_compiler_wl='-Wl,'
8710 lt_prog_compiler_pic='--shared'
8711 lt_prog_compiler_static='--static'
8713 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8714 # Portland Group compilers (*not* the Pentium gcc compiler,
8715 # which looks to be a dead project)
8716 lt_prog_compiler_wl='-Wl,'
8717 lt_prog_compiler_pic='-fpic'
8718 lt_prog_compiler_static='-Bstatic'
8720 ccc*)
8721 lt_prog_compiler_wl='-Wl,'
8722 # All Alpha code is PIC.
8723 lt_prog_compiler_static='-non_shared'
8725 xl* | bgxl* | bgf* | mpixl*)
8726 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8727 lt_prog_compiler_wl='-Wl,'
8728 lt_prog_compiler_pic='-qpic'
8729 lt_prog_compiler_static='-qstaticlink'
8732 case `$CC -V 2>&1 | sed 5q` in
8733 *Sun\ F* | *Sun*Fortran*)
8734 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8735 lt_prog_compiler_pic='-KPIC'
8736 lt_prog_compiler_static='-Bstatic'
8737 lt_prog_compiler_wl=''
8739 *Sun\ C*)
8740 # Sun C 5.9
8741 lt_prog_compiler_pic='-KPIC'
8742 lt_prog_compiler_static='-Bstatic'
8743 lt_prog_compiler_wl='-Wl,'
8745 esac
8747 esac
8750 newsos6)
8751 lt_prog_compiler_pic='-KPIC'
8752 lt_prog_compiler_static='-Bstatic'
8755 *nto* | *qnx*)
8756 # QNX uses GNU C++, but need to define -shared option too, otherwise
8757 # it will coredump.
8758 lt_prog_compiler_pic='-fPIC -shared'
8761 osf3* | osf4* | osf5*)
8762 lt_prog_compiler_wl='-Wl,'
8763 # All OSF/1 code is PIC.
8764 lt_prog_compiler_static='-non_shared'
8767 rdos*)
8768 lt_prog_compiler_static='-non_shared'
8771 solaris*)
8772 lt_prog_compiler_pic='-KPIC'
8773 lt_prog_compiler_static='-Bstatic'
8774 case $cc_basename in
8775 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8776 lt_prog_compiler_wl='-Qoption ld ';;
8778 lt_prog_compiler_wl='-Wl,';;
8779 esac
8782 sunos4*)
8783 lt_prog_compiler_wl='-Qoption ld '
8784 lt_prog_compiler_pic='-PIC'
8785 lt_prog_compiler_static='-Bstatic'
8788 sysv4 | sysv4.2uw2* | sysv4.3*)
8789 lt_prog_compiler_wl='-Wl,'
8790 lt_prog_compiler_pic='-KPIC'
8791 lt_prog_compiler_static='-Bstatic'
8794 sysv4*MP*)
8795 if test -d /usr/nec ;then
8796 lt_prog_compiler_pic='-Kconform_pic'
8797 lt_prog_compiler_static='-Bstatic'
8801 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8802 lt_prog_compiler_wl='-Wl,'
8803 lt_prog_compiler_pic='-KPIC'
8804 lt_prog_compiler_static='-Bstatic'
8807 unicos*)
8808 lt_prog_compiler_wl='-Wl,'
8809 lt_prog_compiler_can_build_shared=no
8812 uts4*)
8813 lt_prog_compiler_pic='-pic'
8814 lt_prog_compiler_static='-Bstatic'
8818 lt_prog_compiler_can_build_shared=no
8820 esac
8823 case $host_os in
8824 # For platforms which do not support PIC, -DPIC is meaningless:
8825 *djgpp*)
8826 lt_prog_compiler_pic=
8829 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8831 esac
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8833 $as_echo "$lt_prog_compiler_pic" >&6; }
8841 # Check to make sure the PIC flag actually works.
8843 if test -n "$lt_prog_compiler_pic"; then
8844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8845 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8846 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8847 $as_echo_n "(cached) " >&6
8848 else
8849 lt_cv_prog_compiler_pic_works=no
8850 ac_outfile=conftest.$ac_objext
8851 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8852 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8853 # Insert the option either (1) after the last *FLAGS variable, or
8854 # (2) before a word containing "conftest.", or (3) at the end.
8855 # Note that $ac_compile itself does not contain backslashes and begins
8856 # with a dollar sign (not a hyphen), so the echo should work correctly.
8857 # The option is referenced via a variable to avoid confusing sed.
8858 lt_compile=`echo "$ac_compile" | $SED \
8859 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8860 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8861 -e 's:$: $lt_compiler_flag:'`
8862 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8863 (eval "$lt_compile" 2>conftest.err)
8864 ac_status=$?
8865 cat conftest.err >&5
8866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8867 if (exit $ac_status) && test -s "$ac_outfile"; then
8868 # The compiler can only warn and ignore the option if not recognized
8869 # So say no if there are warnings other than the usual output.
8870 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8871 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8872 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8873 lt_cv_prog_compiler_pic_works=yes
8876 $RM conftest*
8879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8880 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8882 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8883 case $lt_prog_compiler_pic in
8884 "" | " "*) ;;
8885 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8886 esac
8887 else
8888 lt_prog_compiler_pic=
8889 lt_prog_compiler_can_build_shared=no
8900 # Check to make sure the static flag actually works.
8902 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8904 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8905 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8906 $as_echo_n "(cached) " >&6
8907 else
8908 lt_cv_prog_compiler_static_works=no
8909 save_LDFLAGS="$LDFLAGS"
8910 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8911 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8912 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8913 # The linker can only warn and ignore the option if not recognized
8914 # So say no if there are warnings
8915 if test -s conftest.err; then
8916 # Append any errors to the config.log.
8917 cat conftest.err 1>&5
8918 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8919 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8920 if diff conftest.exp conftest.er2 >/dev/null; then
8921 lt_cv_prog_compiler_static_works=yes
8923 else
8924 lt_cv_prog_compiler_static_works=yes
8927 $RM -r conftest*
8928 LDFLAGS="$save_LDFLAGS"
8931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8932 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8934 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8936 else
8937 lt_prog_compiler_static=
8946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8947 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8948 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8949 $as_echo_n "(cached) " >&6
8950 else
8951 lt_cv_prog_compiler_c_o=no
8952 $RM -r conftest 2>/dev/null
8953 mkdir conftest
8954 cd conftest
8955 mkdir out
8956 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8958 lt_compiler_flag="-o out/conftest2.$ac_objext"
8959 # Insert the option either (1) after the last *FLAGS variable, or
8960 # (2) before a word containing "conftest.", or (3) at the end.
8961 # Note that $ac_compile itself does not contain backslashes and begins
8962 # with a dollar sign (not a hyphen), so the echo should work correctly.
8963 lt_compile=`echo "$ac_compile" | $SED \
8964 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8965 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8966 -e 's:$: $lt_compiler_flag:'`
8967 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8968 (eval "$lt_compile" 2>out/conftest.err)
8969 ac_status=$?
8970 cat out/conftest.err >&5
8971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8972 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8973 then
8974 # The compiler can only warn and ignore the option if not recognized
8975 # So say no if there are warnings
8976 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8977 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8978 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8979 lt_cv_prog_compiler_c_o=yes
8982 chmod u+w . 2>&5
8983 $RM conftest*
8984 # SGI C++ compiler will create directory out/ii_files/ for
8985 # template instantiation
8986 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8987 $RM out/* && rmdir out
8988 cd ..
8989 $RM -r conftest
8990 $RM conftest*
8993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8994 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9002 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9003 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9004 $as_echo_n "(cached) " >&6
9005 else
9006 lt_cv_prog_compiler_c_o=no
9007 $RM -r conftest 2>/dev/null
9008 mkdir conftest
9009 cd conftest
9010 mkdir out
9011 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9013 lt_compiler_flag="-o out/conftest2.$ac_objext"
9014 # Insert the option either (1) after the last *FLAGS variable, or
9015 # (2) before a word containing "conftest.", or (3) at the end.
9016 # Note that $ac_compile itself does not contain backslashes and begins
9017 # with a dollar sign (not a hyphen), so the echo should work correctly.
9018 lt_compile=`echo "$ac_compile" | $SED \
9019 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9020 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9021 -e 's:$: $lt_compiler_flag:'`
9022 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9023 (eval "$lt_compile" 2>out/conftest.err)
9024 ac_status=$?
9025 cat out/conftest.err >&5
9026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9027 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9028 then
9029 # The compiler can only warn and ignore the option if not recognized
9030 # So say no if there are warnings
9031 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9032 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9033 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9034 lt_cv_prog_compiler_c_o=yes
9037 chmod u+w . 2>&5
9038 $RM conftest*
9039 # SGI C++ compiler will create directory out/ii_files/ for
9040 # template instantiation
9041 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9042 $RM out/* && rmdir out
9043 cd ..
9044 $RM -r conftest
9045 $RM conftest*
9048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9049 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9054 hard_links="nottested"
9055 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9056 # do not overwrite the value of need_locks provided by the user
9057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9058 $as_echo_n "checking if we can lock with hard links... " >&6; }
9059 hard_links=yes
9060 $RM conftest*
9061 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9062 touch conftest.a
9063 ln conftest.a conftest.b 2>&5 || hard_links=no
9064 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9066 $as_echo "$hard_links" >&6; }
9067 if test "$hard_links" = no; then
9068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9069 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9070 need_locks=warn
9072 else
9073 need_locks=no
9081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9082 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9084 runpath_var=
9085 allow_undefined_flag=
9086 always_export_symbols=no
9087 archive_cmds=
9088 archive_expsym_cmds=
9089 compiler_needs_object=no
9090 enable_shared_with_static_runtimes=no
9091 export_dynamic_flag_spec=
9092 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9093 hardcode_automatic=no
9094 hardcode_direct=no
9095 hardcode_direct_absolute=no
9096 hardcode_libdir_flag_spec=
9097 hardcode_libdir_flag_spec_ld=
9098 hardcode_libdir_separator=
9099 hardcode_minus_L=no
9100 hardcode_shlibpath_var=unsupported
9101 inherit_rpath=no
9102 link_all_deplibs=unknown
9103 module_cmds=
9104 module_expsym_cmds=
9105 old_archive_from_new_cmds=
9106 old_archive_from_expsyms_cmds=
9107 thread_safe_flag_spec=
9108 whole_archive_flag_spec=
9109 # include_expsyms should be a list of space-separated symbols to be *always*
9110 # included in the symbol list
9111 include_expsyms=
9112 # exclude_expsyms can be an extended regexp of symbols to exclude
9113 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9114 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9115 # as well as any symbol that contains `d'.
9116 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9117 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9118 # platforms (ab)use it in PIC code, but their linkers get confused if
9119 # the symbol is explicitly referenced. Since portable code cannot
9120 # rely on this symbol name, it's probably fine to never include it in
9121 # preloaded symbol tables.
9122 # Exclude shared library initialization/finalization symbols.
9123 extract_expsyms_cmds=
9125 case $host_os in
9126 cygwin* | mingw* | pw32* | cegcc*)
9127 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9128 # When not using gcc, we currently assume that we are using
9129 # Microsoft Visual C++.
9130 if test "$GCC" != yes; then
9131 with_gnu_ld=no
9134 interix*)
9135 # we just hope/assume this is gcc and not c89 (= MSVC++)
9136 with_gnu_ld=yes
9138 openbsd*)
9139 with_gnu_ld=no
9141 esac
9143 ld_shlibs=yes
9145 # On some targets, GNU ld is compatible enough with the native linker
9146 # that we're better off using the native interface for both.
9147 lt_use_gnu_ld_interface=no
9148 if test "$with_gnu_ld" = yes; then
9149 case $host_os in
9150 aix*)
9151 # The AIX port of GNU ld has always aspired to compatibility
9152 # with the native linker. However, as the warning in the GNU ld
9153 # block says, versions before 2.19.5* couldn't really create working
9154 # shared libraries, regardless of the interface used.
9155 case `$LD -v 2>&1` in
9156 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9157 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9158 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9160 lt_use_gnu_ld_interface=yes
9162 esac
9165 lt_use_gnu_ld_interface=yes
9167 esac
9170 if test "$lt_use_gnu_ld_interface" = yes; then
9171 # If archive_cmds runs LD, not CC, wlarc should be empty
9172 wlarc='${wl}'
9174 # Set some defaults for GNU ld with shared library support. These
9175 # are reset later if shared libraries are not supported. Putting them
9176 # here allows them to be overridden if necessary.
9177 runpath_var=LD_RUN_PATH
9178 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9179 export_dynamic_flag_spec='${wl}--export-dynamic'
9180 # ancient GNU ld didn't support --whole-archive et. al.
9181 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9182 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9183 else
9184 whole_archive_flag_spec=
9186 supports_anon_versioning=no
9187 case `$LD -v 2>&1` in
9188 *GNU\ gold*) supports_anon_versioning=yes ;;
9189 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9190 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9191 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9192 *\ 2.11.*) ;; # other 2.11 versions
9193 *) supports_anon_versioning=yes ;;
9194 esac
9196 # See if GNU ld supports shared libraries.
9197 case $host_os in
9198 aix[3-9]*)
9199 # On AIX/PPC, the GNU linker is very broken
9200 if test "$host_cpu" != ia64; then
9201 ld_shlibs=no
9202 cat <<_LT_EOF 1>&2
9204 *** Warning: the GNU linker, at least up to release 2.19, is reported
9205 *** to be unable to reliably create shared libraries on AIX.
9206 *** Therefore, libtool is disabling shared libraries support. If you
9207 *** really care for shared libraries, you may want to install binutils
9208 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9209 *** You will then need to restart the configuration process.
9211 _LT_EOF
9215 amigaos*)
9216 case $host_cpu in
9217 powerpc)
9218 # see comment about AmigaOS4 .so support
9219 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9220 archive_expsym_cmds=''
9222 m68k)
9223 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)'
9224 hardcode_libdir_flag_spec='-L$libdir'
9225 hardcode_minus_L=yes
9227 esac
9230 beos*)
9231 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9232 allow_undefined_flag=unsupported
9233 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9234 # support --undefined. This deserves some investigation. FIXME
9235 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9236 else
9237 ld_shlibs=no
9241 cygwin* | mingw* | pw32* | cegcc*)
9242 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9243 # as there is no search path for DLLs.
9244 hardcode_libdir_flag_spec='-L$libdir'
9245 export_dynamic_flag_spec='${wl}--export-all-symbols'
9246 allow_undefined_flag=unsupported
9247 always_export_symbols=no
9248 enable_shared_with_static_runtimes=yes
9249 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9251 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9252 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9253 # If the export-symbols file already is a .def file (1st line
9254 # is EXPORTS), use it as is; otherwise, prepend...
9255 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9256 cp $export_symbols $output_objdir/$soname.def;
9257 else
9258 echo EXPORTS > $output_objdir/$soname.def;
9259 cat $export_symbols >> $output_objdir/$soname.def;
9261 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9262 else
9263 ld_shlibs=no
9267 haiku*)
9268 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9269 link_all_deplibs=yes
9272 interix[3-9]*)
9273 hardcode_direct=no
9274 hardcode_shlibpath_var=no
9275 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9276 export_dynamic_flag_spec='${wl}-E'
9277 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9278 # Instead, shared libraries are loaded at an image base (0x10000000 by
9279 # default) and relocated if they conflict, which is a slow very memory
9280 # consuming and fragmenting process. To avoid this, we pick a random,
9281 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9282 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9283 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9284 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'
9287 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9288 tmp_diet=no
9289 if test "$host_os" = linux-dietlibc; then
9290 case $cc_basename in
9291 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9292 esac
9294 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9295 && test "$tmp_diet" = no
9296 then
9297 tmp_addflag=
9298 tmp_sharedflag='-shared'
9299 case $cc_basename,$host_cpu in
9300 pgcc*) # Portland Group C compiler
9301 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'
9302 tmp_addflag=' $pic_flag'
9304 pgf77* | pgf90* | pgf95* | pgfortran*)
9305 # Portland Group f77 and f90 compilers
9306 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'
9307 tmp_addflag=' $pic_flag -Mnomain' ;;
9308 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9309 tmp_addflag=' -i_dynamic' ;;
9310 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9311 tmp_addflag=' -i_dynamic -nofor_main' ;;
9312 ifc* | ifort*) # Intel Fortran compiler
9313 tmp_addflag=' -nofor_main' ;;
9314 lf95*) # Lahey Fortran 8.1
9315 whole_archive_flag_spec=
9316 tmp_sharedflag='--shared' ;;
9317 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9318 tmp_sharedflag='-qmkshrobj'
9319 tmp_addflag= ;;
9320 nvcc*) # Cuda Compiler Driver 2.2
9321 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'
9322 compiler_needs_object=yes
9324 esac
9325 case `$CC -V 2>&1 | sed 5q` in
9326 *Sun\ C*) # Sun C 5.9
9327 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'
9328 compiler_needs_object=yes
9329 tmp_sharedflag='-G' ;;
9330 *Sun\ F*) # Sun Fortran 8.3
9331 tmp_sharedflag='-G' ;;
9332 esac
9333 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9335 if test "x$supports_anon_versioning" = xyes; then
9336 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9337 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9338 echo "local: *; };" >> $output_objdir/$libname.ver~
9339 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9342 case $cc_basename in
9343 xlf* | bgf* | bgxlf* | mpixlf*)
9344 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9345 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9346 hardcode_libdir_flag_spec=
9347 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9348 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9349 if test "x$supports_anon_versioning" = xyes; then
9350 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9351 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9352 echo "local: *; };" >> $output_objdir/$libname.ver~
9353 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9356 esac
9357 else
9358 ld_shlibs=no
9362 netbsd*)
9363 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9364 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9365 wlarc=
9366 else
9367 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9368 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9372 solaris*)
9373 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9374 ld_shlibs=no
9375 cat <<_LT_EOF 1>&2
9377 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9378 *** create shared libraries on Solaris systems. Therefore, libtool
9379 *** is disabling shared libraries support. We urge you to upgrade GNU
9380 *** binutils to release 2.9.1 or newer. Another option is to modify
9381 *** your PATH or compiler configuration so that the native linker is
9382 *** used, and then restart.
9384 _LT_EOF
9385 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9386 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9387 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9388 else
9389 ld_shlibs=no
9393 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9394 case `$LD -v 2>&1` in
9395 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9396 ld_shlibs=no
9397 cat <<_LT_EOF 1>&2
9399 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9400 *** reliably create shared libraries on SCO systems. Therefore, libtool
9401 *** is disabling shared libraries support. We urge you to upgrade GNU
9402 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9403 *** your PATH or compiler configuration so that the native linker is
9404 *** used, and then restart.
9406 _LT_EOF
9409 # For security reasons, it is highly recommended that you always
9410 # use absolute paths for naming shared libraries, and exclude the
9411 # DT_RUNPATH tag from executables and libraries. But doing so
9412 # requires that you compile everything twice, which is a pain.
9413 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9414 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9415 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9416 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9417 else
9418 ld_shlibs=no
9421 esac
9424 sunos4*)
9425 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9426 wlarc=
9427 hardcode_direct=yes
9428 hardcode_shlibpath_var=no
9432 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9433 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9434 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9435 else
9436 ld_shlibs=no
9439 esac
9441 if test "$ld_shlibs" = no; then
9442 runpath_var=
9443 hardcode_libdir_flag_spec=
9444 export_dynamic_flag_spec=
9445 whole_archive_flag_spec=
9447 else
9448 # PORTME fill in a description of your system's linker (not GNU ld)
9449 case $host_os in
9450 aix3*)
9451 allow_undefined_flag=unsupported
9452 always_export_symbols=yes
9453 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'
9454 # Note: this linker hardcodes the directories in LIBPATH if there
9455 # are no directories specified by -L.
9456 hardcode_minus_L=yes
9457 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9458 # Neither direct hardcoding nor static linking is supported with a
9459 # broken collect2.
9460 hardcode_direct=unsupported
9464 aix[4-9]*)
9465 if test "$host_cpu" = ia64; then
9466 # On IA64, the linker does run time linking by default, so we don't
9467 # have to do anything special.
9468 aix_use_runtimelinking=no
9469 exp_sym_flag='-Bexport'
9470 no_entry_flag=""
9471 else
9472 # If we're using GNU nm, then we don't want the "-C" option.
9473 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9474 # Also, AIX nm treats weak defined symbols like other global
9475 # defined symbols, whereas GNU nm marks them as "W".
9476 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9477 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'
9478 else
9479 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'
9481 aix_use_runtimelinking=no
9483 # Test if we are trying to use run time linking or normal
9484 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9485 # need to do runtime linking.
9486 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9487 for ld_flag in $LDFLAGS; do
9488 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9489 aix_use_runtimelinking=yes
9490 break
9492 done
9494 esac
9496 exp_sym_flag='-bexport'
9497 no_entry_flag='-bnoentry'
9500 # When large executables or shared objects are built, AIX ld can
9501 # have problems creating the table of contents. If linking a library
9502 # or program results in "error TOC overflow" add -mminimal-toc to
9503 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9504 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9506 archive_cmds=''
9507 hardcode_direct=yes
9508 hardcode_direct_absolute=yes
9509 hardcode_libdir_separator=':'
9510 link_all_deplibs=yes
9511 file_list_spec='${wl}-f,'
9513 if test "$GCC" = yes; then
9514 case $host_os in aix4.[012]|aix4.[012].*)
9515 # We only want to do this on AIX 4.2 and lower, the check
9516 # below for broken collect2 doesn't work under 4.3+
9517 collect2name=`${CC} -print-prog-name=collect2`
9518 if test -f "$collect2name" &&
9519 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9520 then
9521 # We have reworked collect2
9523 else
9524 # We have old collect2
9525 hardcode_direct=unsupported
9526 # It fails to find uninstalled libraries when the uninstalled
9527 # path is not listed in the libpath. Setting hardcode_minus_L
9528 # to unsupported forces relinking
9529 hardcode_minus_L=yes
9530 hardcode_libdir_flag_spec='-L$libdir'
9531 hardcode_libdir_separator=
9534 esac
9535 shared_flag='-shared'
9536 if test "$aix_use_runtimelinking" = yes; then
9537 shared_flag="$shared_flag "'${wl}-G'
9539 else
9540 # not using gcc
9541 if test "$host_cpu" = ia64; then
9542 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9543 # chokes on -Wl,-G. The following line is correct:
9544 shared_flag='-G'
9545 else
9546 if test "$aix_use_runtimelinking" = yes; then
9547 shared_flag='${wl}-G'
9548 else
9549 shared_flag='${wl}-bM:SRE'
9554 export_dynamic_flag_spec='${wl}-bexpall'
9555 # It seems that -bexpall does not export symbols beginning with
9556 # underscore (_), so it is better to generate a list of symbols to export.
9557 always_export_symbols=yes
9558 if test "$aix_use_runtimelinking" = yes; then
9559 # Warning - without using the other runtime loading flags (-brtl),
9560 # -berok will link without error, but may produce a broken library.
9561 allow_undefined_flag='-berok'
9562 # Determine the default libpath from the value encoded in an
9563 # empty executable.
9564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9565 /* end confdefs.h. */
9568 main ()
9572 return 0;
9574 _ACEOF
9575 if ac_fn_c_try_link "$LINENO"; then :
9577 lt_aix_libpath_sed='
9578 /Import File Strings/,/^$/ {
9579 /^0/ {
9580 s/^0 *\(.*\)$/\1/
9584 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9585 # Check for a 64-bit object if we didn't find anything.
9586 if test -z "$aix_libpath"; then
9587 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9590 rm -f core conftest.err conftest.$ac_objext \
9591 conftest$ac_exeext conftest.$ac_ext
9592 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9594 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9595 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"
9596 else
9597 if test "$host_cpu" = ia64; then
9598 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9599 allow_undefined_flag="-z nodefs"
9600 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"
9601 else
9602 # Determine the default libpath from the value encoded in an
9603 # empty executable.
9604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9605 /* end confdefs.h. */
9608 main ()
9612 return 0;
9614 _ACEOF
9615 if ac_fn_c_try_link "$LINENO"; then :
9617 lt_aix_libpath_sed='
9618 /Import File Strings/,/^$/ {
9619 /^0/ {
9620 s/^0 *\(.*\)$/\1/
9624 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9625 # Check for a 64-bit object if we didn't find anything.
9626 if test -z "$aix_libpath"; then
9627 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9630 rm -f core conftest.err conftest.$ac_objext \
9631 conftest$ac_exeext conftest.$ac_ext
9632 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9634 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9635 # Warning - without using the other run time loading flags,
9636 # -berok will link without error, but may produce a broken library.
9637 no_undefined_flag=' ${wl}-bernotok'
9638 allow_undefined_flag=' ${wl}-berok'
9639 if test "$with_gnu_ld" = yes; then
9640 # We only use this code for GNU lds that support --whole-archive.
9641 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9642 else
9643 # Exported symbols can be pulled into shared objects from archives
9644 whole_archive_flag_spec='$convenience'
9646 archive_cmds_need_lc=yes
9647 # This is similar to how AIX traditionally builds its shared libraries.
9648 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'
9653 amigaos*)
9654 case $host_cpu in
9655 powerpc)
9656 # see comment about AmigaOS4 .so support
9657 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9658 archive_expsym_cmds=''
9660 m68k)
9661 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)'
9662 hardcode_libdir_flag_spec='-L$libdir'
9663 hardcode_minus_L=yes
9665 esac
9668 bsdi[45]*)
9669 export_dynamic_flag_spec=-rdynamic
9672 cygwin* | mingw* | pw32* | cegcc*)
9673 # When not using gcc, we currently assume that we are using
9674 # Microsoft Visual C++.
9675 # hardcode_libdir_flag_spec is actually meaningless, as there is
9676 # no search path for DLLs.
9677 hardcode_libdir_flag_spec=' '
9678 allow_undefined_flag=unsupported
9679 # Tell ltmain to make .lib files, not .a files.
9680 libext=lib
9681 # Tell ltmain to make .dll files, not .so files.
9682 shrext_cmds=".dll"
9683 # FIXME: Setting linknames here is a bad hack.
9684 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9685 # The linker will automatically build a .lib file if we build a DLL.
9686 old_archive_from_new_cmds='true'
9687 # FIXME: Should let the user specify the lib program.
9688 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9689 fix_srcfile_path='`cygpath -w "$srcfile"`'
9690 enable_shared_with_static_runtimes=yes
9693 darwin* | rhapsody*)
9696 archive_cmds_need_lc=no
9697 hardcode_direct=no
9698 hardcode_automatic=yes
9699 hardcode_shlibpath_var=unsupported
9700 if test "$lt_cv_ld_force_load" = "yes"; then
9701 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\"`'
9702 else
9703 whole_archive_flag_spec=''
9705 link_all_deplibs=yes
9706 allow_undefined_flag="$_lt_dar_allow_undefined"
9707 case $cc_basename in
9708 ifort*) _lt_dar_can_shared=yes ;;
9709 *) _lt_dar_can_shared=$GCC ;;
9710 esac
9711 if test "$_lt_dar_can_shared" = "yes"; then
9712 output_verbose_link_cmd=func_echo_all
9713 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9714 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9715 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}"
9716 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}"
9718 else
9719 ld_shlibs=no
9724 dgux*)
9725 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9726 hardcode_libdir_flag_spec='-L$libdir'
9727 hardcode_shlibpath_var=no
9730 freebsd1*)
9731 ld_shlibs=no
9734 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9735 # support. Future versions do this automatically, but an explicit c++rt0.o
9736 # does not break anything, and helps significantly (at the cost of a little
9737 # extra space).
9738 freebsd2.2*)
9739 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9740 hardcode_libdir_flag_spec='-R$libdir'
9741 hardcode_direct=yes
9742 hardcode_shlibpath_var=no
9745 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9746 freebsd2*)
9747 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9748 hardcode_direct=yes
9749 hardcode_minus_L=yes
9750 hardcode_shlibpath_var=no
9753 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9754 freebsd* | dragonfly*)
9755 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9756 hardcode_libdir_flag_spec='-R$libdir'
9757 hardcode_direct=yes
9758 hardcode_shlibpath_var=no
9761 hpux9*)
9762 if test "$GCC" = yes; then
9763 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'
9764 else
9765 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'
9767 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9768 hardcode_libdir_separator=:
9769 hardcode_direct=yes
9771 # hardcode_minus_L: Not really in the search PATH,
9772 # but as the default location of the library.
9773 hardcode_minus_L=yes
9774 export_dynamic_flag_spec='${wl}-E'
9777 hpux10*)
9778 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9779 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9780 else
9781 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9783 if test "$with_gnu_ld" = no; then
9784 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9785 hardcode_libdir_flag_spec_ld='+b $libdir'
9786 hardcode_libdir_separator=:
9787 hardcode_direct=yes
9788 hardcode_direct_absolute=yes
9789 export_dynamic_flag_spec='${wl}-E'
9790 # hardcode_minus_L: Not really in the search PATH,
9791 # but as the default location of the library.
9792 hardcode_minus_L=yes
9796 hpux11*)
9797 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9798 case $host_cpu in
9799 hppa*64*)
9800 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9802 ia64*)
9803 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9806 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9808 esac
9809 else
9810 case $host_cpu in
9811 hppa*64*)
9812 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9814 ia64*)
9815 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9819 # Older versions of the 11.00 compiler do not understand -b yet
9820 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9822 $as_echo_n "checking if $CC understands -b... " >&6; }
9823 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9824 $as_echo_n "(cached) " >&6
9825 else
9826 lt_cv_prog_compiler__b=no
9827 save_LDFLAGS="$LDFLAGS"
9828 LDFLAGS="$LDFLAGS -b"
9829 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9830 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9831 # The linker can only warn and ignore the option if not recognized
9832 # So say no if there are warnings
9833 if test -s conftest.err; then
9834 # Append any errors to the config.log.
9835 cat conftest.err 1>&5
9836 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9837 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9838 if diff conftest.exp conftest.er2 >/dev/null; then
9839 lt_cv_prog_compiler__b=yes
9841 else
9842 lt_cv_prog_compiler__b=yes
9845 $RM -r conftest*
9846 LDFLAGS="$save_LDFLAGS"
9849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9850 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9852 if test x"$lt_cv_prog_compiler__b" = xyes; then
9853 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9854 else
9855 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9859 esac
9861 if test "$with_gnu_ld" = no; then
9862 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9863 hardcode_libdir_separator=:
9865 case $host_cpu in
9866 hppa*64*|ia64*)
9867 hardcode_direct=no
9868 hardcode_shlibpath_var=no
9871 hardcode_direct=yes
9872 hardcode_direct_absolute=yes
9873 export_dynamic_flag_spec='${wl}-E'
9875 # hardcode_minus_L: Not really in the search PATH,
9876 # but as the default location of the library.
9877 hardcode_minus_L=yes
9879 esac
9883 irix5* | irix6* | nonstopux*)
9884 if test "$GCC" = yes; then
9885 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'
9886 # Try to use the -exported_symbol ld option, if it does not
9887 # work, assume that -exports_file does not work either and
9888 # implicitly export all symbols.
9889 save_LDFLAGS="$LDFLAGS"
9890 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9892 /* end confdefs.h. */
9893 int foo(void) {}
9894 _ACEOF
9895 if ac_fn_c_try_link "$LINENO"; then :
9896 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'
9899 rm -f core conftest.err conftest.$ac_objext \
9900 conftest$ac_exeext conftest.$ac_ext
9901 LDFLAGS="$save_LDFLAGS"
9902 else
9903 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'
9904 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'
9906 archive_cmds_need_lc='no'
9907 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9908 hardcode_libdir_separator=:
9909 inherit_rpath=yes
9910 link_all_deplibs=yes
9913 netbsd*)
9914 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9915 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9916 else
9917 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9919 hardcode_libdir_flag_spec='-R$libdir'
9920 hardcode_direct=yes
9921 hardcode_shlibpath_var=no
9924 newsos6)
9925 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9926 hardcode_direct=yes
9927 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9928 hardcode_libdir_separator=:
9929 hardcode_shlibpath_var=no
9932 *nto* | *qnx*)
9935 openbsd*)
9936 if test -f /usr/libexec/ld.so; then
9937 hardcode_direct=yes
9938 hardcode_shlibpath_var=no
9939 hardcode_direct_absolute=yes
9940 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9941 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9942 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9943 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9944 export_dynamic_flag_spec='${wl}-E'
9945 else
9946 case $host_os in
9947 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9948 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9949 hardcode_libdir_flag_spec='-R$libdir'
9952 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9953 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9955 esac
9957 else
9958 ld_shlibs=no
9962 os2*)
9963 hardcode_libdir_flag_spec='-L$libdir'
9964 hardcode_minus_L=yes
9965 allow_undefined_flag=unsupported
9966 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'
9967 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9970 osf3*)
9971 if test "$GCC" = yes; then
9972 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9973 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'
9974 else
9975 allow_undefined_flag=' -expect_unresolved \*'
9976 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'
9978 archive_cmds_need_lc='no'
9979 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9980 hardcode_libdir_separator=:
9983 osf4* | osf5*) # as osf3* with the addition of -msym flag
9984 if test "$GCC" = yes; then
9985 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9986 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'
9987 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9988 else
9989 allow_undefined_flag=' -expect_unresolved \*'
9990 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'
9991 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~
9992 $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'
9994 # Both c and cxx compiler support -rpath directly
9995 hardcode_libdir_flag_spec='-rpath $libdir'
9997 archive_cmds_need_lc='no'
9998 hardcode_libdir_separator=:
10001 solaris*)
10002 no_undefined_flag=' -z defs'
10003 if test "$GCC" = yes; then
10004 wlarc='${wl}'
10005 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10006 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10007 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10008 else
10009 case `$CC -V 2>&1` in
10010 *"Compilers 5.0"*)
10011 wlarc=''
10012 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10013 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10014 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10017 wlarc='${wl}'
10018 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10019 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10020 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10022 esac
10024 hardcode_libdir_flag_spec='-R$libdir'
10025 hardcode_shlibpath_var=no
10026 case $host_os in
10027 solaris2.[0-5] | solaris2.[0-5].*) ;;
10029 # The compiler driver will combine and reorder linker options,
10030 # but understands `-z linker_flag'. GCC discards it without `$wl',
10031 # but is careful enough not to reorder.
10032 # Supported since Solaris 2.6 (maybe 2.5.1?)
10033 if test "$GCC" = yes; then
10034 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10035 else
10036 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10039 esac
10040 link_all_deplibs=yes
10043 sunos4*)
10044 if test "x$host_vendor" = xsequent; then
10045 # Use $CC to link under sequent, because it throws in some extra .o
10046 # files that make .init and .fini sections work.
10047 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10048 else
10049 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10051 hardcode_libdir_flag_spec='-L$libdir'
10052 hardcode_direct=yes
10053 hardcode_minus_L=yes
10054 hardcode_shlibpath_var=no
10057 sysv4)
10058 case $host_vendor in
10059 sni)
10060 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10061 hardcode_direct=yes # is this really true???
10063 siemens)
10064 ## LD is ld it makes a PLAMLIB
10065 ## CC just makes a GrossModule.
10066 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10067 reload_cmds='$CC -r -o $output$reload_objs'
10068 hardcode_direct=no
10070 motorola)
10071 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10072 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10074 esac
10075 runpath_var='LD_RUN_PATH'
10076 hardcode_shlibpath_var=no
10079 sysv4.3*)
10080 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10081 hardcode_shlibpath_var=no
10082 export_dynamic_flag_spec='-Bexport'
10085 sysv4*MP*)
10086 if test -d /usr/nec; then
10087 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10088 hardcode_shlibpath_var=no
10089 runpath_var=LD_RUN_PATH
10090 hardcode_runpath_var=yes
10091 ld_shlibs=yes
10095 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10096 no_undefined_flag='${wl}-z,text'
10097 archive_cmds_need_lc=no
10098 hardcode_shlibpath_var=no
10099 runpath_var='LD_RUN_PATH'
10101 if test "$GCC" = yes; then
10102 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10103 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10104 else
10105 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10106 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10110 sysv5* | sco3.2v5* | sco5v6*)
10111 # Note: We can NOT use -z defs as we might desire, because we do not
10112 # link with -lc, and that would cause any symbols used from libc to
10113 # always be unresolved, which means just about no library would
10114 # ever link correctly. If we're not using GNU ld we use -z text
10115 # though, which does catch some bad symbols but isn't as heavy-handed
10116 # as -z defs.
10117 no_undefined_flag='${wl}-z,text'
10118 allow_undefined_flag='${wl}-z,nodefs'
10119 archive_cmds_need_lc=no
10120 hardcode_shlibpath_var=no
10121 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10122 hardcode_libdir_separator=':'
10123 link_all_deplibs=yes
10124 export_dynamic_flag_spec='${wl}-Bexport'
10125 runpath_var='LD_RUN_PATH'
10127 if test "$GCC" = yes; then
10128 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10129 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10130 else
10131 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10132 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10136 uts4*)
10137 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10138 hardcode_libdir_flag_spec='-L$libdir'
10139 hardcode_shlibpath_var=no
10143 ld_shlibs=no
10145 esac
10147 if test x$host_vendor = xsni; then
10148 case $host in
10149 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10150 export_dynamic_flag_spec='${wl}-Blargedynsym'
10152 esac
10156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10157 $as_echo "$ld_shlibs" >&6; }
10158 test "$ld_shlibs" = no && can_build_shared=no
10160 with_gnu_ld=$with_gnu_ld
10177 # Do we need to explicitly link libc?
10179 case "x$archive_cmds_need_lc" in
10180 x|xyes)
10181 # Assume -lc should be added
10182 archive_cmds_need_lc=yes
10184 if test "$enable_shared" = yes && test "$GCC" = yes; then
10185 case $archive_cmds in
10186 *'~'*)
10187 # FIXME: we may have to deal with multi-command sequences.
10189 '$CC '*)
10190 # Test whether the compiler implicitly links with -lc since on some
10191 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10192 # to ld, don't add -lc before -lgcc.
10193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10194 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10195 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10196 $as_echo_n "(cached) " >&6
10197 else
10198 $RM conftest*
10199 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10201 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10202 (eval $ac_compile) 2>&5
10203 ac_status=$?
10204 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10205 test $ac_status = 0; } 2>conftest.err; then
10206 soname=conftest
10207 lib=conftest
10208 libobjs=conftest.$ac_objext
10209 deplibs=
10210 wl=$lt_prog_compiler_wl
10211 pic_flag=$lt_prog_compiler_pic
10212 compiler_flags=-v
10213 linker_flags=-v
10214 verstring=
10215 output_objdir=.
10216 libname=conftest
10217 lt_save_allow_undefined_flag=$allow_undefined_flag
10218 allow_undefined_flag=
10219 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10220 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10221 ac_status=$?
10222 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10223 test $ac_status = 0; }
10224 then
10225 lt_cv_archive_cmds_need_lc=no
10226 else
10227 lt_cv_archive_cmds_need_lc=yes
10229 allow_undefined_flag=$lt_save_allow_undefined_flag
10230 else
10231 cat conftest.err 1>&5
10233 $RM conftest*
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10237 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10238 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10240 esac
10243 esac
10401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10402 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10404 if test "$GCC" = yes; then
10405 case $host_os in
10406 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10407 *) lt_awk_arg="/^libraries:/" ;;
10408 esac
10409 case $host_os in
10410 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10411 *) lt_sed_strip_eq="s,=/,/,g" ;;
10412 esac
10413 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10414 case $lt_search_path_spec in
10415 *\;*)
10416 # if the path contains ";" then we assume it to be the separator
10417 # otherwise default to the standard path separator (i.e. ":") - it is
10418 # assumed that no part of a normal pathname contains ";" but that should
10419 # okay in the real world where ";" in dirpaths is itself problematic.
10420 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10423 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10425 esac
10426 # Ok, now we have the path, separated by spaces, we can step through it
10427 # and add multilib dir if necessary.
10428 lt_tmp_lt_search_path_spec=
10429 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10430 for lt_sys_path in $lt_search_path_spec; do
10431 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10432 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10433 else
10434 test -d "$lt_sys_path" && \
10435 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10437 done
10438 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10439 BEGIN {RS=" "; FS="/|\n";} {
10440 lt_foo="";
10441 lt_count=0;
10442 for (lt_i = NF; lt_i > 0; lt_i--) {
10443 if ($lt_i != "" && $lt_i != ".") {
10444 if ($lt_i == "..") {
10445 lt_count++;
10446 } else {
10447 if (lt_count == 0) {
10448 lt_foo="/" $lt_i lt_foo;
10449 } else {
10450 lt_count--;
10455 if (lt_foo != "") { lt_freq[lt_foo]++; }
10456 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10458 # AWK program above erroneously prepends '/' to C:/dos/paths
10459 # for these hosts.
10460 case $host_os in
10461 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10462 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10463 esac
10464 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10465 else
10466 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10468 library_names_spec=
10469 libname_spec='lib$name'
10470 soname_spec=
10471 shrext_cmds=".so"
10472 postinstall_cmds=
10473 postuninstall_cmds=
10474 finish_cmds=
10475 finish_eval=
10476 shlibpath_var=
10477 shlibpath_overrides_runpath=unknown
10478 version_type=none
10479 dynamic_linker="$host_os ld.so"
10480 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10481 need_lib_prefix=unknown
10482 hardcode_into_libs=no
10484 # when you set need_version to no, make sure it does not cause -set_version
10485 # flags to be left without arguments
10486 need_version=unknown
10488 case $host_os in
10489 aix3*)
10490 version_type=linux
10491 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10492 shlibpath_var=LIBPATH
10494 # AIX 3 has no versioning support, so we append a major version to the name.
10495 soname_spec='${libname}${release}${shared_ext}$major'
10498 aix[4-9]*)
10499 version_type=linux
10500 need_lib_prefix=no
10501 need_version=no
10502 hardcode_into_libs=yes
10503 if test "$host_cpu" = ia64; then
10504 # AIX 5 supports IA64
10505 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10506 shlibpath_var=LD_LIBRARY_PATH
10507 else
10508 # With GCC up to 2.95.x, collect2 would create an import file
10509 # for dependence libraries. The import file would start with
10510 # the line `#! .'. This would cause the generated library to
10511 # depend on `.', always an invalid library. This was fixed in
10512 # development snapshots of GCC prior to 3.0.
10513 case $host_os in
10514 aix4 | aix4.[01] | aix4.[01].*)
10515 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10516 echo ' yes '
10517 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10519 else
10520 can_build_shared=no
10523 esac
10524 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10525 # soname into executable. Probably we can add versioning support to
10526 # collect2, so additional links can be useful in future.
10527 if test "$aix_use_runtimelinking" = yes; then
10528 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10529 # instead of lib<name>.a to let people know that these are not
10530 # typical AIX shared libraries.
10531 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10532 else
10533 # We preserve .a as extension for shared libraries through AIX4.2
10534 # and later when we are not doing run time linking.
10535 library_names_spec='${libname}${release}.a $libname.a'
10536 soname_spec='${libname}${release}${shared_ext}$major'
10538 shlibpath_var=LIBPATH
10542 amigaos*)
10543 case $host_cpu in
10544 powerpc)
10545 # Since July 2007 AmigaOS4 officially supports .so libraries.
10546 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10547 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10549 m68k)
10550 library_names_spec='$libname.ixlibrary $libname.a'
10551 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10552 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'
10554 esac
10557 beos*)
10558 library_names_spec='${libname}${shared_ext}'
10559 dynamic_linker="$host_os ld.so"
10560 shlibpath_var=LIBRARY_PATH
10563 bsdi[45]*)
10564 version_type=linux
10565 need_version=no
10566 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10567 soname_spec='${libname}${release}${shared_ext}$major'
10568 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10569 shlibpath_var=LD_LIBRARY_PATH
10570 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10571 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10572 # the default ld.so.conf also contains /usr/contrib/lib and
10573 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10574 # libtool to hard-code these into programs
10577 cygwin* | mingw* | pw32* | cegcc*)
10578 version_type=windows
10579 shrext_cmds=".dll"
10580 need_version=no
10581 need_lib_prefix=no
10583 case $GCC,$host_os in
10584 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10585 library_names_spec='$libname.dll.a'
10586 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10587 postinstall_cmds='base_file=`basename \${file}`~
10588 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10589 dldir=$destdir/`dirname \$dlpath`~
10590 test -d \$dldir || mkdir -p \$dldir~
10591 $install_prog $dir/$dlname \$dldir/$dlname~
10592 chmod a+x \$dldir/$dlname~
10593 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10594 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10596 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10597 dlpath=$dir/\$dldll~
10598 $RM \$dlpath'
10599 shlibpath_overrides_runpath=yes
10601 case $host_os in
10602 cygwin*)
10603 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10604 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10606 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10608 mingw* | cegcc*)
10609 # MinGW DLLs use traditional 'lib' prefix
10610 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10612 pw32*)
10613 # pw32 DLLs use 'pw' prefix rather than 'lib'
10614 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10616 esac
10620 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10622 esac
10623 dynamic_linker='Win32 ld.exe'
10624 # FIXME: first we should search . and the directory the executable is in
10625 shlibpath_var=PATH
10628 darwin* | rhapsody*)
10629 dynamic_linker="$host_os dyld"
10630 version_type=darwin
10631 need_lib_prefix=no
10632 need_version=no
10633 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10634 soname_spec='${libname}${release}${major}$shared_ext'
10635 shlibpath_overrides_runpath=yes
10636 shlibpath_var=DYLD_LIBRARY_PATH
10637 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10639 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10640 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10643 dgux*)
10644 version_type=linux
10645 need_lib_prefix=no
10646 need_version=no
10647 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10648 soname_spec='${libname}${release}${shared_ext}$major'
10649 shlibpath_var=LD_LIBRARY_PATH
10652 freebsd1*)
10653 dynamic_linker=no
10656 freebsd* | dragonfly*)
10657 # DragonFly does not have aout. When/if they implement a new
10658 # versioning mechanism, adjust this.
10659 if test -x /usr/bin/objformat; then
10660 objformat=`/usr/bin/objformat`
10661 else
10662 case $host_os in
10663 freebsd[123]*) objformat=aout ;;
10664 *) objformat=elf ;;
10665 esac
10667 version_type=freebsd-$objformat
10668 case $version_type in
10669 freebsd-elf*)
10670 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10671 need_version=no
10672 need_lib_prefix=no
10674 freebsd-*)
10675 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10676 need_version=yes
10678 esac
10679 shlibpath_var=LD_LIBRARY_PATH
10680 case $host_os in
10681 freebsd2*)
10682 shlibpath_overrides_runpath=yes
10684 freebsd3.[01]* | freebsdelf3.[01]*)
10685 shlibpath_overrides_runpath=yes
10686 hardcode_into_libs=yes
10688 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10689 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10690 shlibpath_overrides_runpath=no
10691 hardcode_into_libs=yes
10693 *) # from 4.6 on, and DragonFly
10694 shlibpath_overrides_runpath=yes
10695 hardcode_into_libs=yes
10697 esac
10700 gnu*)
10701 version_type=linux
10702 need_lib_prefix=no
10703 need_version=no
10704 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10705 soname_spec='${libname}${release}${shared_ext}$major'
10706 shlibpath_var=LD_LIBRARY_PATH
10707 hardcode_into_libs=yes
10710 haiku*)
10711 version_type=linux
10712 need_lib_prefix=no
10713 need_version=no
10714 dynamic_linker="$host_os runtime_loader"
10715 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10716 soname_spec='${libname}${release}${shared_ext}$major'
10717 shlibpath_var=LIBRARY_PATH
10718 shlibpath_overrides_runpath=yes
10719 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10720 hardcode_into_libs=yes
10723 hpux9* | hpux10* | hpux11*)
10724 # Give a soname corresponding to the major version so that dld.sl refuses to
10725 # link against other versions.
10726 version_type=sunos
10727 need_lib_prefix=no
10728 need_version=no
10729 case $host_cpu in
10730 ia64*)
10731 shrext_cmds='.so'
10732 hardcode_into_libs=yes
10733 dynamic_linker="$host_os dld.so"
10734 shlibpath_var=LD_LIBRARY_PATH
10735 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10736 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10737 soname_spec='${libname}${release}${shared_ext}$major'
10738 if test "X$HPUX_IA64_MODE" = X32; then
10739 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10740 else
10741 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10743 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10745 hppa*64*)
10746 shrext_cmds='.sl'
10747 hardcode_into_libs=yes
10748 dynamic_linker="$host_os dld.sl"
10749 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10750 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10751 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10752 soname_spec='${libname}${release}${shared_ext}$major'
10753 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10754 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10757 shrext_cmds='.sl'
10758 dynamic_linker="$host_os dld.sl"
10759 shlibpath_var=SHLIB_PATH
10760 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10761 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10762 soname_spec='${libname}${release}${shared_ext}$major'
10764 esac
10765 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10766 postinstall_cmds='chmod 555 $lib'
10767 # or fails outright, so override atomically:
10768 install_override_mode=555
10771 interix[3-9]*)
10772 version_type=linux
10773 need_lib_prefix=no
10774 need_version=no
10775 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10776 soname_spec='${libname}${release}${shared_ext}$major'
10777 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10778 shlibpath_var=LD_LIBRARY_PATH
10779 shlibpath_overrides_runpath=no
10780 hardcode_into_libs=yes
10783 irix5* | irix6* | nonstopux*)
10784 case $host_os in
10785 nonstopux*) version_type=nonstopux ;;
10787 if test "$lt_cv_prog_gnu_ld" = yes; then
10788 version_type=linux
10789 else
10790 version_type=irix
10791 fi ;;
10792 esac
10793 need_lib_prefix=no
10794 need_version=no
10795 soname_spec='${libname}${release}${shared_ext}$major'
10796 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10797 case $host_os in
10798 irix5* | nonstopux*)
10799 libsuff= shlibsuff=
10802 case $LD in # libtool.m4 will add one of these switches to LD
10803 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10804 libsuff= shlibsuff= libmagic=32-bit;;
10805 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10806 libsuff=32 shlibsuff=N32 libmagic=N32;;
10807 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10808 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10809 *) libsuff= shlibsuff= libmagic=never-match;;
10810 esac
10812 esac
10813 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10814 shlibpath_overrides_runpath=no
10815 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10816 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10817 hardcode_into_libs=yes
10820 # No shared lib support for Linux oldld, aout, or coff.
10821 linux*oldld* | linux*aout* | linux*coff*)
10822 dynamic_linker=no
10825 # This must be Linux ELF.
10826 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10827 version_type=linux
10828 need_lib_prefix=no
10829 need_version=no
10830 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10831 soname_spec='${libname}${release}${shared_ext}$major'
10832 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10833 shlibpath_var=LD_LIBRARY_PATH
10834 shlibpath_overrides_runpath=no
10836 # Some binutils ld are patched to set DT_RUNPATH
10837 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10838 $as_echo_n "(cached) " >&6
10839 else
10840 lt_cv_shlibpath_overrides_runpath=no
10841 save_LDFLAGS=$LDFLAGS
10842 save_libdir=$libdir
10843 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10844 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10846 /* end confdefs.h. */
10849 main ()
10853 return 0;
10855 _ACEOF
10856 if ac_fn_c_try_link "$LINENO"; then :
10857 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10858 lt_cv_shlibpath_overrides_runpath=yes
10861 rm -f core conftest.err conftest.$ac_objext \
10862 conftest$ac_exeext conftest.$ac_ext
10863 LDFLAGS=$save_LDFLAGS
10864 libdir=$save_libdir
10868 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10870 # This implies no fast_install, which is unacceptable.
10871 # Some rework will be needed to allow for fast_install
10872 # before this can be enabled.
10873 hardcode_into_libs=yes
10875 # Add ABI-specific directories to the system library path.
10876 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
10878 # Append ld.so.conf contents to the search path
10879 if test -f /etc/ld.so.conf; then
10880 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' ' '`
10881 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10885 # We used to test for /lib/ld.so.1 and disable shared libraries on
10886 # powerpc, because MkLinux only supported shared libraries with the
10887 # GNU dynamic linker. Since this was broken with cross compilers,
10888 # most powerpc-linux boxes support dynamic linking these days and
10889 # people can always --disable-shared, the test was removed, and we
10890 # assume the GNU/Linux dynamic linker is in use.
10891 dynamic_linker='GNU/Linux ld.so'
10894 netbsd*)
10895 version_type=sunos
10896 need_lib_prefix=no
10897 need_version=no
10898 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10899 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10900 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10901 dynamic_linker='NetBSD (a.out) ld.so'
10902 else
10903 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10904 soname_spec='${libname}${release}${shared_ext}$major'
10905 dynamic_linker='NetBSD ld.elf_so'
10907 shlibpath_var=LD_LIBRARY_PATH
10908 shlibpath_overrides_runpath=yes
10909 hardcode_into_libs=yes
10912 newsos6)
10913 version_type=linux
10914 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10915 shlibpath_var=LD_LIBRARY_PATH
10916 shlibpath_overrides_runpath=yes
10919 *nto* | *qnx*)
10920 version_type=qnx
10921 need_lib_prefix=no
10922 need_version=no
10923 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10924 soname_spec='${libname}${release}${shared_ext}$major'
10925 shlibpath_var=LD_LIBRARY_PATH
10926 shlibpath_overrides_runpath=no
10927 hardcode_into_libs=yes
10928 dynamic_linker='ldqnx.so'
10931 openbsd*)
10932 version_type=sunos
10933 sys_lib_dlsearch_path_spec="/usr/lib"
10934 need_lib_prefix=no
10935 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10936 case $host_os in
10937 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10938 *) need_version=no ;;
10939 esac
10940 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10941 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10942 shlibpath_var=LD_LIBRARY_PATH
10943 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10944 case $host_os in
10945 openbsd2.[89] | openbsd2.[89].*)
10946 shlibpath_overrides_runpath=no
10949 shlibpath_overrides_runpath=yes
10951 esac
10952 else
10953 shlibpath_overrides_runpath=yes
10957 os2*)
10958 libname_spec='$name'
10959 shrext_cmds=".dll"
10960 need_lib_prefix=no
10961 library_names_spec='$libname${shared_ext} $libname.a'
10962 dynamic_linker='OS/2 ld.exe'
10963 shlibpath_var=LIBPATH
10966 osf3* | osf4* | osf5*)
10967 version_type=osf
10968 need_lib_prefix=no
10969 need_version=no
10970 soname_spec='${libname}${release}${shared_ext}$major'
10971 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10972 shlibpath_var=LD_LIBRARY_PATH
10973 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10974 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10977 rdos*)
10978 dynamic_linker=no
10981 solaris*)
10982 version_type=linux
10983 need_lib_prefix=no
10984 need_version=no
10985 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10986 soname_spec='${libname}${release}${shared_ext}$major'
10987 shlibpath_var=LD_LIBRARY_PATH
10988 shlibpath_overrides_runpath=yes
10989 hardcode_into_libs=yes
10990 # ldd complains unless libraries are executable
10991 postinstall_cmds='chmod +x $lib'
10994 sunos4*)
10995 version_type=sunos
10996 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10997 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10998 shlibpath_var=LD_LIBRARY_PATH
10999 shlibpath_overrides_runpath=yes
11000 if test "$with_gnu_ld" = yes; then
11001 need_lib_prefix=no
11003 need_version=yes
11006 sysv4 | sysv4.3*)
11007 version_type=linux
11008 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11009 soname_spec='${libname}${release}${shared_ext}$major'
11010 shlibpath_var=LD_LIBRARY_PATH
11011 case $host_vendor in
11012 sni)
11013 shlibpath_overrides_runpath=no
11014 need_lib_prefix=no
11015 runpath_var=LD_RUN_PATH
11017 siemens)
11018 need_lib_prefix=no
11020 motorola)
11021 need_lib_prefix=no
11022 need_version=no
11023 shlibpath_overrides_runpath=no
11024 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11026 esac
11029 sysv4*MP*)
11030 if test -d /usr/nec ;then
11031 version_type=linux
11032 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11033 soname_spec='$libname${shared_ext}.$major'
11034 shlibpath_var=LD_LIBRARY_PATH
11038 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11039 version_type=freebsd-elf
11040 need_lib_prefix=no
11041 need_version=no
11042 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11043 soname_spec='${libname}${release}${shared_ext}$major'
11044 shlibpath_var=LD_LIBRARY_PATH
11045 shlibpath_overrides_runpath=yes
11046 hardcode_into_libs=yes
11047 if test "$with_gnu_ld" = yes; then
11048 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11049 else
11050 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11051 case $host_os in
11052 sco3.2v5*)
11053 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11055 esac
11057 sys_lib_dlsearch_path_spec='/usr/lib'
11060 tpf*)
11061 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11062 version_type=linux
11063 need_lib_prefix=no
11064 need_version=no
11065 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11066 shlibpath_var=LD_LIBRARY_PATH
11067 shlibpath_overrides_runpath=no
11068 hardcode_into_libs=yes
11071 uts4*)
11072 version_type=linux
11073 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11074 soname_spec='${libname}${release}${shared_ext}$major'
11075 shlibpath_var=LD_LIBRARY_PATH
11079 dynamic_linker=no
11081 esac
11082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11083 $as_echo "$dynamic_linker" >&6; }
11084 test "$dynamic_linker" = no && can_build_shared=no
11086 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11087 if test "$GCC" = yes; then
11088 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11091 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11092 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11094 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11095 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11190 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11191 hardcode_action=
11192 if test -n "$hardcode_libdir_flag_spec" ||
11193 test -n "$runpath_var" ||
11194 test "X$hardcode_automatic" = "Xyes" ; then
11196 # We can hardcode non-existent directories.
11197 if test "$hardcode_direct" != no &&
11198 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11199 # have to relink, otherwise we might link with an installed library
11200 # when we should be linking with a yet-to-be-installed one
11201 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11202 test "$hardcode_minus_L" != no; then
11203 # Linking always hardcodes the temporary library directory.
11204 hardcode_action=relink
11205 else
11206 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11207 hardcode_action=immediate
11209 else
11210 # We cannot hardcode anything, or else we can only hardcode existing
11211 # directories.
11212 hardcode_action=unsupported
11214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11215 $as_echo "$hardcode_action" >&6; }
11217 if test "$hardcode_action" = relink ||
11218 test "$inherit_rpath" = yes; then
11219 # Fast installation is not supported
11220 enable_fast_install=no
11221 elif test "$shlibpath_overrides_runpath" = yes ||
11222 test "$enable_shared" = no; then
11223 # Fast installation is not necessary
11224 enable_fast_install=needless
11232 if test "x$enable_dlopen" != xyes; then
11233 enable_dlopen=unknown
11234 enable_dlopen_self=unknown
11235 enable_dlopen_self_static=unknown
11236 else
11237 lt_cv_dlopen=no
11238 lt_cv_dlopen_libs=
11240 case $host_os in
11241 beos*)
11242 lt_cv_dlopen="load_add_on"
11243 lt_cv_dlopen_libs=
11244 lt_cv_dlopen_self=yes
11247 mingw* | pw32* | cegcc*)
11248 lt_cv_dlopen="LoadLibrary"
11249 lt_cv_dlopen_libs=
11252 cygwin*)
11253 lt_cv_dlopen="dlopen"
11254 lt_cv_dlopen_libs=
11257 darwin*)
11258 # if libdl is installed we need to link against it
11259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11260 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11261 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11262 $as_echo_n "(cached) " >&6
11263 else
11264 ac_check_lib_save_LIBS=$LIBS
11265 LIBS="-ldl $LIBS"
11266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11267 /* end confdefs.h. */
11269 /* Override any GCC internal prototype to avoid an error.
11270 Use char because int might match the return type of a GCC
11271 builtin and then its argument prototype would still apply. */
11272 #ifdef __cplusplus
11273 extern "C"
11274 #endif
11275 char dlopen ();
11277 main ()
11279 return dlopen ();
11281 return 0;
11283 _ACEOF
11284 if ac_fn_c_try_link "$LINENO"; then :
11285 ac_cv_lib_dl_dlopen=yes
11286 else
11287 ac_cv_lib_dl_dlopen=no
11289 rm -f core conftest.err conftest.$ac_objext \
11290 conftest$ac_exeext conftest.$ac_ext
11291 LIBS=$ac_check_lib_save_LIBS
11293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11294 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11295 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11296 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11297 else
11299 lt_cv_dlopen="dyld"
11300 lt_cv_dlopen_libs=
11301 lt_cv_dlopen_self=yes
11308 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11309 if test "x$ac_cv_func_shl_load" = x""yes; then :
11310 lt_cv_dlopen="shl_load"
11311 else
11312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11313 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11314 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11315 $as_echo_n "(cached) " >&6
11316 else
11317 ac_check_lib_save_LIBS=$LIBS
11318 LIBS="-ldld $LIBS"
11319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11320 /* end confdefs.h. */
11322 /* Override any GCC internal prototype to avoid an error.
11323 Use char because int might match the return type of a GCC
11324 builtin and then its argument prototype would still apply. */
11325 #ifdef __cplusplus
11326 extern "C"
11327 #endif
11328 char shl_load ();
11330 main ()
11332 return shl_load ();
11334 return 0;
11336 _ACEOF
11337 if ac_fn_c_try_link "$LINENO"; then :
11338 ac_cv_lib_dld_shl_load=yes
11339 else
11340 ac_cv_lib_dld_shl_load=no
11342 rm -f core conftest.err conftest.$ac_objext \
11343 conftest$ac_exeext conftest.$ac_ext
11344 LIBS=$ac_check_lib_save_LIBS
11346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11347 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11348 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11349 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11350 else
11351 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11352 if test "x$ac_cv_func_dlopen" = x""yes; then :
11353 lt_cv_dlopen="dlopen"
11354 else
11355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11356 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11357 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11358 $as_echo_n "(cached) " >&6
11359 else
11360 ac_check_lib_save_LIBS=$LIBS
11361 LIBS="-ldl $LIBS"
11362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11363 /* end confdefs.h. */
11365 /* Override any GCC internal prototype to avoid an error.
11366 Use char because int might match the return type of a GCC
11367 builtin and then its argument prototype would still apply. */
11368 #ifdef __cplusplus
11369 extern "C"
11370 #endif
11371 char dlopen ();
11373 main ()
11375 return dlopen ();
11377 return 0;
11379 _ACEOF
11380 if ac_fn_c_try_link "$LINENO"; then :
11381 ac_cv_lib_dl_dlopen=yes
11382 else
11383 ac_cv_lib_dl_dlopen=no
11385 rm -f core conftest.err conftest.$ac_objext \
11386 conftest$ac_exeext conftest.$ac_ext
11387 LIBS=$ac_check_lib_save_LIBS
11389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11390 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11391 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11392 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11393 else
11394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11395 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11396 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11397 $as_echo_n "(cached) " >&6
11398 else
11399 ac_check_lib_save_LIBS=$LIBS
11400 LIBS="-lsvld $LIBS"
11401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11402 /* end confdefs.h. */
11404 /* Override any GCC internal prototype to avoid an error.
11405 Use char because int might match the return type of a GCC
11406 builtin and then its argument prototype would still apply. */
11407 #ifdef __cplusplus
11408 extern "C"
11409 #endif
11410 char dlopen ();
11412 main ()
11414 return dlopen ();
11416 return 0;
11418 _ACEOF
11419 if ac_fn_c_try_link "$LINENO"; then :
11420 ac_cv_lib_svld_dlopen=yes
11421 else
11422 ac_cv_lib_svld_dlopen=no
11424 rm -f core conftest.err conftest.$ac_objext \
11425 conftest$ac_exeext conftest.$ac_ext
11426 LIBS=$ac_check_lib_save_LIBS
11428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11429 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11430 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11431 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11432 else
11433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11434 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11435 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11436 $as_echo_n "(cached) " >&6
11437 else
11438 ac_check_lib_save_LIBS=$LIBS
11439 LIBS="-ldld $LIBS"
11440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11441 /* end confdefs.h. */
11443 /* Override any GCC internal prototype to avoid an error.
11444 Use char because int might match the return type of a GCC
11445 builtin and then its argument prototype would still apply. */
11446 #ifdef __cplusplus
11447 extern "C"
11448 #endif
11449 char dld_link ();
11451 main ()
11453 return dld_link ();
11455 return 0;
11457 _ACEOF
11458 if ac_fn_c_try_link "$LINENO"; then :
11459 ac_cv_lib_dld_dld_link=yes
11460 else
11461 ac_cv_lib_dld_dld_link=no
11463 rm -f core conftest.err conftest.$ac_objext \
11464 conftest$ac_exeext conftest.$ac_ext
11465 LIBS=$ac_check_lib_save_LIBS
11467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11468 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11469 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11470 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11489 esac
11491 if test "x$lt_cv_dlopen" != xno; then
11492 enable_dlopen=yes
11493 else
11494 enable_dlopen=no
11497 case $lt_cv_dlopen in
11498 dlopen)
11499 save_CPPFLAGS="$CPPFLAGS"
11500 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11502 save_LDFLAGS="$LDFLAGS"
11503 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11505 save_LIBS="$LIBS"
11506 LIBS="$lt_cv_dlopen_libs $LIBS"
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11509 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11510 if test "${lt_cv_dlopen_self+set}" = set; then :
11511 $as_echo_n "(cached) " >&6
11512 else
11513 if test "$cross_compiling" = yes; then :
11514 lt_cv_dlopen_self=cross
11515 else
11516 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11517 lt_status=$lt_dlunknown
11518 cat > conftest.$ac_ext <<_LT_EOF
11519 #line $LINENO "configure"
11520 #include "confdefs.h"
11522 #if HAVE_DLFCN_H
11523 #include <dlfcn.h>
11524 #endif
11526 #include <stdio.h>
11528 #ifdef RTLD_GLOBAL
11529 # define LT_DLGLOBAL RTLD_GLOBAL
11530 #else
11531 # ifdef DL_GLOBAL
11532 # define LT_DLGLOBAL DL_GLOBAL
11533 # else
11534 # define LT_DLGLOBAL 0
11535 # endif
11536 #endif
11538 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11539 find out it does not work in some platform. */
11540 #ifndef LT_DLLAZY_OR_NOW
11541 # ifdef RTLD_LAZY
11542 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11543 # else
11544 # ifdef DL_LAZY
11545 # define LT_DLLAZY_OR_NOW DL_LAZY
11546 # else
11547 # ifdef RTLD_NOW
11548 # define LT_DLLAZY_OR_NOW RTLD_NOW
11549 # else
11550 # ifdef DL_NOW
11551 # define LT_DLLAZY_OR_NOW DL_NOW
11552 # else
11553 # define LT_DLLAZY_OR_NOW 0
11554 # endif
11555 # endif
11556 # endif
11557 # endif
11558 #endif
11560 /* When -fvisbility=hidden is used, assume the code has been annotated
11561 correspondingly for the symbols needed. */
11562 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11563 void fnord () __attribute__((visibility("default")));
11564 #endif
11566 void fnord () { int i=42; }
11567 int main ()
11569 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11570 int status = $lt_dlunknown;
11572 if (self)
11574 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11575 else
11577 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11578 else puts (dlerror ());
11580 /* dlclose (self); */
11582 else
11583 puts (dlerror ());
11585 return status;
11587 _LT_EOF
11588 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11589 (eval $ac_link) 2>&5
11590 ac_status=$?
11591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11592 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11593 (./conftest; exit; ) >&5 2>/dev/null
11594 lt_status=$?
11595 case x$lt_status in
11596 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11597 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11598 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11599 esac
11600 else :
11601 # compilation failed
11602 lt_cv_dlopen_self=no
11605 rm -fr conftest*
11609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11610 $as_echo "$lt_cv_dlopen_self" >&6; }
11612 if test "x$lt_cv_dlopen_self" = xyes; then
11613 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11615 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11616 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11617 $as_echo_n "(cached) " >&6
11618 else
11619 if test "$cross_compiling" = yes; then :
11620 lt_cv_dlopen_self_static=cross
11621 else
11622 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11623 lt_status=$lt_dlunknown
11624 cat > conftest.$ac_ext <<_LT_EOF
11625 #line $LINENO "configure"
11626 #include "confdefs.h"
11628 #if HAVE_DLFCN_H
11629 #include <dlfcn.h>
11630 #endif
11632 #include <stdio.h>
11634 #ifdef RTLD_GLOBAL
11635 # define LT_DLGLOBAL RTLD_GLOBAL
11636 #else
11637 # ifdef DL_GLOBAL
11638 # define LT_DLGLOBAL DL_GLOBAL
11639 # else
11640 # define LT_DLGLOBAL 0
11641 # endif
11642 #endif
11644 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11645 find out it does not work in some platform. */
11646 #ifndef LT_DLLAZY_OR_NOW
11647 # ifdef RTLD_LAZY
11648 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11649 # else
11650 # ifdef DL_LAZY
11651 # define LT_DLLAZY_OR_NOW DL_LAZY
11652 # else
11653 # ifdef RTLD_NOW
11654 # define LT_DLLAZY_OR_NOW RTLD_NOW
11655 # else
11656 # ifdef DL_NOW
11657 # define LT_DLLAZY_OR_NOW DL_NOW
11658 # else
11659 # define LT_DLLAZY_OR_NOW 0
11660 # endif
11661 # endif
11662 # endif
11663 # endif
11664 #endif
11666 /* When -fvisbility=hidden is used, assume the code has been annotated
11667 correspondingly for the symbols needed. */
11668 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11669 void fnord () __attribute__((visibility("default")));
11670 #endif
11672 void fnord () { int i=42; }
11673 int main ()
11675 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11676 int status = $lt_dlunknown;
11678 if (self)
11680 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11681 else
11683 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11684 else puts (dlerror ());
11686 /* dlclose (self); */
11688 else
11689 puts (dlerror ());
11691 return status;
11693 _LT_EOF
11694 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11695 (eval $ac_link) 2>&5
11696 ac_status=$?
11697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11698 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11699 (./conftest; exit; ) >&5 2>/dev/null
11700 lt_status=$?
11701 case x$lt_status in
11702 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11703 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11704 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11705 esac
11706 else :
11707 # compilation failed
11708 lt_cv_dlopen_self_static=no
11711 rm -fr conftest*
11715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11716 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11719 CPPFLAGS="$save_CPPFLAGS"
11720 LDFLAGS="$save_LDFLAGS"
11721 LIBS="$save_LIBS"
11723 esac
11725 case $lt_cv_dlopen_self in
11726 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11727 *) enable_dlopen_self=unknown ;;
11728 esac
11730 case $lt_cv_dlopen_self_static in
11731 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11732 *) enable_dlopen_self_static=unknown ;;
11733 esac
11752 striplib=
11753 old_striplib=
11754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11755 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11756 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11757 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11758 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11760 $as_echo "yes" >&6; }
11761 else
11762 # FIXME - insert some real tests, host_os isn't really good enough
11763 case $host_os in
11764 darwin*)
11765 if test -n "$STRIP" ; then
11766 striplib="$STRIP -x"
11767 old_striplib="$STRIP -S"
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11769 $as_echo "yes" >&6; }
11770 else
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11772 $as_echo "no" >&6; }
11776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11777 $as_echo "no" >&6; }
11779 esac
11793 # Report which library types will actually be built
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11795 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11797 $as_echo "$can_build_shared" >&6; }
11799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11800 $as_echo_n "checking whether to build shared libraries... " >&6; }
11801 test "$can_build_shared" = "no" && enable_shared=no
11803 # On AIX, shared libraries and static libraries use the same namespace, and
11804 # are all built from PIC.
11805 case $host_os in
11806 aix3*)
11807 test "$enable_shared" = yes && enable_static=no
11808 if test -n "$RANLIB"; then
11809 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11810 postinstall_cmds='$RANLIB $lib'
11814 aix[4-9]*)
11815 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11816 test "$enable_shared" = yes && enable_static=no
11819 esac
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11821 $as_echo "$enable_shared" >&6; }
11823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11824 $as_echo_n "checking whether to build static libraries... " >&6; }
11825 # Make sure either enable_shared or enable_static is yes.
11826 test "$enable_shared" = yes || enable_static=yes
11827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11828 $as_echo "$enable_static" >&6; }
11834 ac_ext=c
11835 ac_cpp='$CPP $CPPFLAGS'
11836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11840 CC="$lt_save_CC"
11854 ac_config_commands="$ac_config_commands libtool"
11859 # Only expand once:
11864 # /***********************************************************************
11865 # // Checks for header files
11866 # ************************************************************************/
11869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
11870 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
11871 if test "${ac_cv_header_time+set}" = set; then :
11872 $as_echo_n "(cached) " >&6
11873 else
11874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11875 /* end confdefs.h. */
11876 #include <sys/types.h>
11877 #include <sys/time.h>
11878 #include <time.h>
11881 main ()
11883 if ((struct tm *) 0)
11884 return 0;
11886 return 0;
11888 _ACEOF
11889 if ac_fn_c_try_compile "$LINENO"; then :
11890 ac_cv_header_time=yes
11891 else
11892 ac_cv_header_time=no
11894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
11897 $as_echo "$ac_cv_header_time" >&6; }
11898 if test $ac_cv_header_time = yes; then
11900 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
11904 for ac_header in assert.h ctype.h dirent.h errno.h fcntl.h float.h limits.h malloc.h memory.h setjmp.h signal.h stdarg.h stddef.h stdint.h stdio.h stdlib.h string.h strings.h time.h unistd.h utime.h sys/mman.h sys/resource.h sys/stat.h sys/time.h sys/types.h sys/wait.h
11905 do :
11906 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11907 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11908 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11909 cat >>confdefs.h <<_ACEOF
11910 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11911 _ACEOF
11915 done
11918 if test "X$ac_cv_header_limits_h" != Xyes; then
11919 as_fn_error $? "<limits.h> header not found" "$LINENO" 5
11922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether limits.h is sane" >&5
11923 $as_echo_n "checking whether limits.h is sane... " >&6; }
11924 if test "${mfx_cv_header_sane_limits_h+set}" = set; then :
11925 $as_echo_n "(cached) " >&6
11926 else
11927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11928 /* end confdefs.h. */
11929 #include <limits.h>
11930 #if (32767 >= 4294967295ul) || (65535u >= 4294967295ul)
11931 # if defined(__APPLE__) && defined(__GNUC__)
11932 # error "your preprocessor is broken - use compiler option -no-cpp-precomp"
11933 # else
11934 # include "your preprocessor is broken"
11935 # endif
11936 #endif
11937 #define MFX_0xffff 0xffff
11938 #define MFX_0xffffffffL 4294967295ul
11939 #if !defined(CHAR_BIT) || (CHAR_BIT != 8)
11940 # include "error CHAR_BIT"
11941 #endif
11942 #if !defined(UCHAR_MAX)
11943 # include "error UCHAR_MAX 1"
11944 #endif
11945 #if !defined(USHRT_MAX)
11946 # include "error USHRT_MAX 1"
11947 #endif
11948 #if !defined(UINT_MAX)
11949 # include "error UINT_MAX 1"
11950 #endif
11951 #if !defined(ULONG_MAX)
11952 # include "error ULONG_MAX 1"
11953 #endif
11954 #if !defined(SHRT_MAX)
11955 # include "error SHRT_MAX 1"
11956 #endif
11957 #if !defined(INT_MAX)
11958 # include "error INT_MAX 1"
11959 #endif
11960 #if !defined(LONG_MAX)
11961 # include "error LONG_MAX 1"
11962 #endif
11963 #if (UCHAR_MAX < 1)
11964 # include "error UCHAR_MAX 2"
11965 #endif
11966 #if (USHRT_MAX < 1)
11967 # include "error USHRT_MAX 2"
11968 #endif
11969 #if (UINT_MAX < 1)
11970 # include "error UINT_MAX 2"
11971 #endif
11972 #if (ULONG_MAX < 1)
11973 # include "error ULONG_MAX 2"
11974 #endif
11975 #if (UCHAR_MAX < 0xff)
11976 # include "error UCHAR_MAX 3"
11977 #endif
11978 #if (USHRT_MAX < MFX_0xffff)
11979 # include "error USHRT_MAX 3"
11980 #endif
11981 #if (UINT_MAX < MFX_0xffff)
11982 # include "error UINT_MAX 3"
11983 #endif
11984 #if (ULONG_MAX < MFX_0xffffffffL)
11985 # include "error ULONG_MAX 3"
11986 #endif
11987 #if (USHRT_MAX > UINT_MAX)
11988 # include "error USHRT_MAX vs UINT_MAX"
11989 #endif
11990 #if (UINT_MAX > ULONG_MAX)
11991 # include "error UINT_MAX vs ULONG_MAX"
11992 #endif
11995 main ()
11998 #if (USHRT_MAX == MFX_0xffff)
11999 { typedef char a_short2a[1 - 2 * !(sizeof(short) == 2)]; }
12000 #elif (USHRT_MAX >= MFX_0xffff)
12001 { typedef char a_short2b[1 - 2 * !(sizeof(short) > 2)]; }
12002 #endif
12003 #if (UINT_MAX == MFX_0xffff)
12004 { typedef char a_int2a[1 - 2 * !(sizeof(int) == 2)]; }
12005 #elif (UINT_MAX >= MFX_0xffff)
12006 { typedef char a_int2b[1 - 2 * !(sizeof(int) > 2)]; }
12007 #endif
12008 #if (ULONG_MAX == MFX_0xffff)
12009 { typedef char a_long2a[1 - 2 * !(sizeof(long) == 2)]; }
12010 #elif (ULONG_MAX >= MFX_0xffff)
12011 { typedef char a_long2b[1 - 2 * !(sizeof(long) > 2)]; }
12012 #endif
12013 #if !defined(_CRAY1) /* CRAY PVP systems */
12014 #if (USHRT_MAX == MFX_0xffffffffL)
12015 { typedef char a_short4a[1 - 2 * !(sizeof(short) == 4)]; }
12016 #elif (USHRT_MAX >= MFX_0xffffffffL)
12017 { typedef char a_short4b[1 - 2 * !(sizeof(short) > 4)]; }
12018 #endif
12019 #endif /* _CRAY1 */
12020 #if (UINT_MAX == MFX_0xffffffffL)
12021 { typedef char a_int4a[1 - 2 * !(sizeof(int) == 4)]; }
12022 #elif (UINT_MAX >= MFX_0xffffffffL)
12023 { typedef char a_int4b[1 - 2 * !(sizeof(int) > 4)]; }
12024 #endif
12025 #if (ULONG_MAX == MFX_0xffffffffL)
12026 { typedef char a_long4a[1 - 2 * !(sizeof(long) == 4)]; }
12027 #elif (ULONG_MAX >= MFX_0xffffffffL)
12028 { typedef char a_long4b[1 - 2 * !(sizeof(long) > 4)]; }
12029 #endif
12032 return 0;
12034 _ACEOF
12035 if ac_fn_c_try_compile "$LINENO"; then :
12036 mfx_cv_header_sane_limits_h=yes
12037 else
12038 mfx_cv_header_sane_limits_h=no
12040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mfx_cv_header_sane_limits_h" >&5
12043 $as_echo "$mfx_cv_header_sane_limits_h" >&6; }
12045 if test "X$mfx_cv_header_sane_limits_h" != Xyes; then
12046 as_fn_error $? "your <limits.h> header is broken - for details see config.log" "$LINENO" 5
12050 # /***********************************************************************
12051 # // Checks for typedefs and structures
12052 # ************************************************************************/
12054 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
12055 if test "x$ac_cv_type_off_t" = x""yes; then :
12057 else
12059 cat >>confdefs.h <<_ACEOF
12060 #define off_t long int
12061 _ACEOF
12065 ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
12066 if test "x$ac_cv_type_ptrdiff_t" = x""yes; then :
12068 else
12070 cat >>confdefs.h <<_ACEOF
12071 #define ptrdiff_t long
12072 _ACEOF
12076 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
12077 if test "x$ac_cv_type_size_t" = x""yes; then :
12079 else
12081 cat >>confdefs.h <<_ACEOF
12082 #define size_t unsigned int
12083 _ACEOF
12087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
12088 $as_echo_n "checking return type of signal handlers... " >&6; }
12089 if test "${ac_cv_type_signal+set}" = set; then :
12090 $as_echo_n "(cached) " >&6
12091 else
12092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12093 /* end confdefs.h. */
12094 #include <sys/types.h>
12095 #include <signal.h>
12098 main ()
12100 return *(signal (0, 0)) (0) == 1;
12102 return 0;
12104 _ACEOF
12105 if ac_fn_c_try_compile "$LINENO"; then :
12106 ac_cv_type_signal=int
12107 else
12108 ac_cv_type_signal=void
12110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
12113 $as_echo "$ac_cv_type_signal" >&6; }
12115 cat >>confdefs.h <<_ACEOF
12116 #define RETSIGTYPE $ac_cv_type_signal
12117 _ACEOF
12122 # The cast to long int works around a bug in the HP C Compiler
12123 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12124 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12125 # This bug is HP SR number 8606223364.
12126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
12127 $as_echo_n "checking size of short... " >&6; }
12128 if test "${ac_cv_sizeof_short+set}" = set; then :
12129 $as_echo_n "(cached) " >&6
12130 else
12131 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
12133 else
12134 if test "$ac_cv_type_short" = yes; then
12135 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12136 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12137 as_fn_error 77 "cannot compute sizeof (short)
12138 See \`config.log' for more details" "$LINENO" 5; }
12139 else
12140 ac_cv_sizeof_short=0
12145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
12146 $as_echo "$ac_cv_sizeof_short" >&6; }
12150 cat >>confdefs.h <<_ACEOF
12151 #define SIZEOF_SHORT $ac_cv_sizeof_short
12152 _ACEOF
12155 # The cast to long int works around a bug in the HP C Compiler
12156 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12157 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12158 # This bug is HP SR number 8606223364.
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
12160 $as_echo_n "checking size of int... " >&6; }
12161 if test "${ac_cv_sizeof_int+set}" = set; then :
12162 $as_echo_n "(cached) " >&6
12163 else
12164 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
12166 else
12167 if test "$ac_cv_type_int" = yes; then
12168 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12169 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12170 as_fn_error 77 "cannot compute sizeof (int)
12171 See \`config.log' for more details" "$LINENO" 5; }
12172 else
12173 ac_cv_sizeof_int=0
12178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
12179 $as_echo "$ac_cv_sizeof_int" >&6; }
12183 cat >>confdefs.h <<_ACEOF
12184 #define SIZEOF_INT $ac_cv_sizeof_int
12185 _ACEOF
12188 # The cast to long int works around a bug in the HP C Compiler
12189 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12190 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12191 # This bug is HP SR number 8606223364.
12192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
12193 $as_echo_n "checking size of long... " >&6; }
12194 if test "${ac_cv_sizeof_long+set}" = set; then :
12195 $as_echo_n "(cached) " >&6
12196 else
12197 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
12199 else
12200 if test "$ac_cv_type_long" = yes; then
12201 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12202 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12203 as_fn_error 77 "cannot compute sizeof (long)
12204 See \`config.log' for more details" "$LINENO" 5; }
12205 else
12206 ac_cv_sizeof_long=0
12211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
12212 $as_echo "$ac_cv_sizeof_long" >&6; }
12216 cat >>confdefs.h <<_ACEOF
12217 #define SIZEOF_LONG $ac_cv_sizeof_long
12218 _ACEOF
12222 # The cast to long int works around a bug in the HP C Compiler
12223 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12224 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12225 # This bug is HP SR number 8606223364.
12226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
12227 $as_echo_n "checking size of long long... " >&6; }
12228 if test "${ac_cv_sizeof_long_long+set}" = set; then :
12229 $as_echo_n "(cached) " >&6
12230 else
12231 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
12233 else
12234 if test "$ac_cv_type_long_long" = yes; then
12235 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12236 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12237 as_fn_error 77 "cannot compute sizeof (long long)
12238 See \`config.log' for more details" "$LINENO" 5; }
12239 else
12240 ac_cv_sizeof_long_long=0
12245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
12246 $as_echo "$ac_cv_sizeof_long_long" >&6; }
12250 cat >>confdefs.h <<_ACEOF
12251 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
12252 _ACEOF
12255 # The cast to long int works around a bug in the HP C Compiler
12256 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12257 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12258 # This bug is HP SR number 8606223364.
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of __int16" >&5
12260 $as_echo_n "checking size of __int16... " >&6; }
12261 if test "${ac_cv_sizeof___int16+set}" = set; then :
12262 $as_echo_n "(cached) " >&6
12263 else
12264 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (__int16))" "ac_cv_sizeof___int16" "$ac_includes_default"; then :
12266 else
12267 if test "$ac_cv_type___int16" = yes; then
12268 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12269 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12270 as_fn_error 77 "cannot compute sizeof (__int16)
12271 See \`config.log' for more details" "$LINENO" 5; }
12272 else
12273 ac_cv_sizeof___int16=0
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof___int16" >&5
12279 $as_echo "$ac_cv_sizeof___int16" >&6; }
12283 cat >>confdefs.h <<_ACEOF
12284 #define SIZEOF___INT16 $ac_cv_sizeof___int16
12285 _ACEOF
12288 # The cast to long int works around a bug in the HP C Compiler
12289 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12290 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12291 # This bug is HP SR number 8606223364.
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of __int32" >&5
12293 $as_echo_n "checking size of __int32... " >&6; }
12294 if test "${ac_cv_sizeof___int32+set}" = set; then :
12295 $as_echo_n "(cached) " >&6
12296 else
12297 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (__int32))" "ac_cv_sizeof___int32" "$ac_includes_default"; then :
12299 else
12300 if test "$ac_cv_type___int32" = yes; then
12301 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12302 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12303 as_fn_error 77 "cannot compute sizeof (__int32)
12304 See \`config.log' for more details" "$LINENO" 5; }
12305 else
12306 ac_cv_sizeof___int32=0
12311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof___int32" >&5
12312 $as_echo "$ac_cv_sizeof___int32" >&6; }
12316 cat >>confdefs.h <<_ACEOF
12317 #define SIZEOF___INT32 $ac_cv_sizeof___int32
12318 _ACEOF
12321 # The cast to long int works around a bug in the HP C Compiler
12322 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12323 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12324 # This bug is HP SR number 8606223364.
12325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of __int64" >&5
12326 $as_echo_n "checking size of __int64... " >&6; }
12327 if test "${ac_cv_sizeof___int64+set}" = set; then :
12328 $as_echo_n "(cached) " >&6
12329 else
12330 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (__int64))" "ac_cv_sizeof___int64" "$ac_includes_default"; then :
12332 else
12333 if test "$ac_cv_type___int64" = yes; then
12334 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12335 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12336 as_fn_error 77 "cannot compute sizeof (__int64)
12337 See \`config.log' for more details" "$LINENO" 5; }
12338 else
12339 ac_cv_sizeof___int64=0
12344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof___int64" >&5
12345 $as_echo "$ac_cv_sizeof___int64" >&6; }
12349 cat >>confdefs.h <<_ACEOF
12350 #define SIZEOF___INT64 $ac_cv_sizeof___int64
12351 _ACEOF
12355 # The cast to long int works around a bug in the HP C Compiler
12356 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12357 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12358 # This bug is HP SR number 8606223364.
12359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
12360 $as_echo_n "checking size of void *... " >&6; }
12361 if test "${ac_cv_sizeof_void_p+set}" = set; then :
12362 $as_echo_n "(cached) " >&6
12363 else
12364 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
12366 else
12367 if test "$ac_cv_type_void_p" = yes; then
12368 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12369 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12370 as_fn_error 77 "cannot compute sizeof (void *)
12371 See \`config.log' for more details" "$LINENO" 5; }
12372 else
12373 ac_cv_sizeof_void_p=0
12378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
12379 $as_echo "$ac_cv_sizeof_void_p" >&6; }
12383 cat >>confdefs.h <<_ACEOF
12384 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
12385 _ACEOF
12388 # The cast to long int works around a bug in the HP C Compiler
12389 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12390 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12391 # This bug is HP SR number 8606223364.
12392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
12393 $as_echo_n "checking size of size_t... " >&6; }
12394 if test "${ac_cv_sizeof_size_t+set}" = set; then :
12395 $as_echo_n "(cached) " >&6
12396 else
12397 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then :
12399 else
12400 if test "$ac_cv_type_size_t" = yes; then
12401 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12402 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12403 as_fn_error 77 "cannot compute sizeof (size_t)
12404 See \`config.log' for more details" "$LINENO" 5; }
12405 else
12406 ac_cv_sizeof_size_t=0
12411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
12412 $as_echo "$ac_cv_sizeof_size_t" >&6; }
12416 cat >>confdefs.h <<_ACEOF
12417 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
12418 _ACEOF
12421 # The cast to long int works around a bug in the HP C Compiler
12422 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12423 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12424 # This bug is HP SR number 8606223364.
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of ptrdiff_t" >&5
12426 $as_echo_n "checking size of ptrdiff_t... " >&6; }
12427 if test "${ac_cv_sizeof_ptrdiff_t+set}" = set; then :
12428 $as_echo_n "(cached) " >&6
12429 else
12430 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (ptrdiff_t))" "ac_cv_sizeof_ptrdiff_t" "$ac_includes_default"; then :
12432 else
12433 if test "$ac_cv_type_ptrdiff_t" = yes; then
12434 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12435 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12436 as_fn_error 77 "cannot compute sizeof (ptrdiff_t)
12437 See \`config.log' for more details" "$LINENO" 5; }
12438 else
12439 ac_cv_sizeof_ptrdiff_t=0
12444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_ptrdiff_t" >&5
12445 $as_echo "$ac_cv_sizeof_ptrdiff_t" >&6; }
12449 cat >>confdefs.h <<_ACEOF
12450 #define SIZEOF_PTRDIFF_T $ac_cv_sizeof_ptrdiff_t
12451 _ACEOF
12456 # The cast to long int works around a bug in the HP C Compiler
12457 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12458 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12459 # This bug is HP SR number 8606223364.
12460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of __int32" >&5
12461 $as_echo_n "checking size of __int32... " >&6; }
12462 if test "${ac_cv_sizeof___int32+set}" = set; then :
12463 $as_echo_n "(cached) " >&6
12464 else
12465 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (__int32))" "ac_cv_sizeof___int32" "$ac_includes_default"; then :
12467 else
12468 if test "$ac_cv_type___int32" = yes; then
12469 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12470 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12471 as_fn_error 77 "cannot compute sizeof (__int32)
12472 See \`config.log' for more details" "$LINENO" 5; }
12473 else
12474 ac_cv_sizeof___int32=0
12479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof___int32" >&5
12480 $as_echo "$ac_cv_sizeof___int32" >&6; }
12484 cat >>confdefs.h <<_ACEOF
12485 #define SIZEOF___INT32 $ac_cv_sizeof___int32
12486 _ACEOF
12489 # The cast to long int works around a bug in the HP C Compiler
12490 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12491 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12492 # This bug is HP SR number 8606223364.
12493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of intmax_t" >&5
12494 $as_echo_n "checking size of intmax_t... " >&6; }
12495 if test "${ac_cv_sizeof_intmax_t+set}" = set; then :
12496 $as_echo_n "(cached) " >&6
12497 else
12498 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (intmax_t))" "ac_cv_sizeof_intmax_t" "$ac_includes_default"; then :
12500 else
12501 if test "$ac_cv_type_intmax_t" = yes; then
12502 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12503 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12504 as_fn_error 77 "cannot compute sizeof (intmax_t)
12505 See \`config.log' for more details" "$LINENO" 5; }
12506 else
12507 ac_cv_sizeof_intmax_t=0
12512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_intmax_t" >&5
12513 $as_echo "$ac_cv_sizeof_intmax_t" >&6; }
12517 cat >>confdefs.h <<_ACEOF
12518 #define SIZEOF_INTMAX_T $ac_cv_sizeof_intmax_t
12519 _ACEOF
12522 # The cast to long int works around a bug in the HP C Compiler
12523 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12524 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12525 # This bug is HP SR number 8606223364.
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of uintmax_t" >&5
12527 $as_echo_n "checking size of uintmax_t... " >&6; }
12528 if test "${ac_cv_sizeof_uintmax_t+set}" = set; then :
12529 $as_echo_n "(cached) " >&6
12530 else
12531 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (uintmax_t))" "ac_cv_sizeof_uintmax_t" "$ac_includes_default"; then :
12533 else
12534 if test "$ac_cv_type_uintmax_t" = yes; then
12535 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12536 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12537 as_fn_error 77 "cannot compute sizeof (uintmax_t)
12538 See \`config.log' for more details" "$LINENO" 5; }
12539 else
12540 ac_cv_sizeof_uintmax_t=0
12545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_uintmax_t" >&5
12546 $as_echo "$ac_cv_sizeof_uintmax_t" >&6; }
12550 cat >>confdefs.h <<_ACEOF
12551 #define SIZEOF_UINTMAX_T $ac_cv_sizeof_uintmax_t
12552 _ACEOF
12555 # The cast to long int works around a bug in the HP C Compiler
12556 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12557 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12558 # This bug is HP SR number 8606223364.
12559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of intptr_t" >&5
12560 $as_echo_n "checking size of intptr_t... " >&6; }
12561 if test "${ac_cv_sizeof_intptr_t+set}" = set; then :
12562 $as_echo_n "(cached) " >&6
12563 else
12564 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (intptr_t))" "ac_cv_sizeof_intptr_t" "$ac_includes_default"; then :
12566 else
12567 if test "$ac_cv_type_intptr_t" = yes; then
12568 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12569 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12570 as_fn_error 77 "cannot compute sizeof (intptr_t)
12571 See \`config.log' for more details" "$LINENO" 5; }
12572 else
12573 ac_cv_sizeof_intptr_t=0
12578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_intptr_t" >&5
12579 $as_echo "$ac_cv_sizeof_intptr_t" >&6; }
12583 cat >>confdefs.h <<_ACEOF
12584 #define SIZEOF_INTPTR_T $ac_cv_sizeof_intptr_t
12585 _ACEOF
12588 # The cast to long int works around a bug in the HP C Compiler
12589 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12590 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12591 # This bug is HP SR number 8606223364.
12592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of uintptr_t" >&5
12593 $as_echo_n "checking size of uintptr_t... " >&6; }
12594 if test "${ac_cv_sizeof_uintptr_t+set}" = set; then :
12595 $as_echo_n "(cached) " >&6
12596 else
12597 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (uintptr_t))" "ac_cv_sizeof_uintptr_t" "$ac_includes_default"; then :
12599 else
12600 if test "$ac_cv_type_uintptr_t" = yes; then
12601 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12602 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12603 as_fn_error 77 "cannot compute sizeof (uintptr_t)
12604 See \`config.log' for more details" "$LINENO" 5; }
12605 else
12606 ac_cv_sizeof_uintptr_t=0
12611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_uintptr_t" >&5
12612 $as_echo "$ac_cv_sizeof_uintptr_t" >&6; }
12616 cat >>confdefs.h <<_ACEOF
12617 #define SIZEOF_UINTPTR_T $ac_cv_sizeof_uintptr_t
12618 _ACEOF
12622 # The cast to long int works around a bug in the HP C Compiler
12623 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12624 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12625 # This bug is HP SR number 8606223364.
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of float" >&5
12627 $as_echo_n "checking size of float... " >&6; }
12628 if test "${ac_cv_sizeof_float+set}" = set; then :
12629 $as_echo_n "(cached) " >&6
12630 else
12631 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float" "$ac_includes_default"; then :
12633 else
12634 if test "$ac_cv_type_float" = yes; then
12635 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12636 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12637 as_fn_error 77 "cannot compute sizeof (float)
12638 See \`config.log' for more details" "$LINENO" 5; }
12639 else
12640 ac_cv_sizeof_float=0
12645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5
12646 $as_echo "$ac_cv_sizeof_float" >&6; }
12650 cat >>confdefs.h <<_ACEOF
12651 #define SIZEOF_FLOAT $ac_cv_sizeof_float
12652 _ACEOF
12655 # The cast to long int works around a bug in the HP C Compiler
12656 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12657 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12658 # This bug is HP SR number 8606223364.
12659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5
12660 $as_echo_n "checking size of double... " >&6; }
12661 if test "${ac_cv_sizeof_double+set}" = set; then :
12662 $as_echo_n "(cached) " >&6
12663 else
12664 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double" "$ac_includes_default"; then :
12666 else
12667 if test "$ac_cv_type_double" = yes; then
12668 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12669 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12670 as_fn_error 77 "cannot compute sizeof (double)
12671 See \`config.log' for more details" "$LINENO" 5; }
12672 else
12673 ac_cv_sizeof_double=0
12678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5
12679 $as_echo "$ac_cv_sizeof_double" >&6; }
12683 cat >>confdefs.h <<_ACEOF
12684 #define SIZEOF_DOUBLE $ac_cv_sizeof_double
12685 _ACEOF
12688 # The cast to long int works around a bug in the HP C Compiler
12689 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12690 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12691 # This bug is HP SR number 8606223364.
12692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5
12693 $as_echo_n "checking size of long double... " >&6; }
12694 if test "${ac_cv_sizeof_long_double+set}" = set; then :
12695 $as_echo_n "(cached) " >&6
12696 else
12697 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long double))" "ac_cv_sizeof_long_double" "$ac_includes_default"; then :
12699 else
12700 if test "$ac_cv_type_long_double" = yes; then
12701 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12702 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12703 as_fn_error 77 "cannot compute sizeof (long double)
12704 See \`config.log' for more details" "$LINENO" 5; }
12705 else
12706 ac_cv_sizeof_long_double=0
12711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5
12712 $as_echo "$ac_cv_sizeof_long_double" >&6; }
12716 cat >>confdefs.h <<_ACEOF
12717 #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
12718 _ACEOF
12722 # The cast to long int works around a bug in the HP C Compiler
12723 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12724 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12725 # This bug is HP SR number 8606223364.
12726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of dev_t" >&5
12727 $as_echo_n "checking size of dev_t... " >&6; }
12728 if test "${ac_cv_sizeof_dev_t+set}" = set; then :
12729 $as_echo_n "(cached) " >&6
12730 else
12731 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (dev_t))" "ac_cv_sizeof_dev_t" "$ac_includes_default"; then :
12733 else
12734 if test "$ac_cv_type_dev_t" = yes; then
12735 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12736 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12737 as_fn_error 77 "cannot compute sizeof (dev_t)
12738 See \`config.log' for more details" "$LINENO" 5; }
12739 else
12740 ac_cv_sizeof_dev_t=0
12745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_dev_t" >&5
12746 $as_echo "$ac_cv_sizeof_dev_t" >&6; }
12750 cat >>confdefs.h <<_ACEOF
12751 #define SIZEOF_DEV_T $ac_cv_sizeof_dev_t
12752 _ACEOF
12755 # The cast to long int works around a bug in the HP C Compiler
12756 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12757 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12758 # This bug is HP SR number 8606223364.
12759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of fpos_t" >&5
12760 $as_echo_n "checking size of fpos_t... " >&6; }
12761 if test "${ac_cv_sizeof_fpos_t+set}" = set; then :
12762 $as_echo_n "(cached) " >&6
12763 else
12764 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (fpos_t))" "ac_cv_sizeof_fpos_t" "$ac_includes_default"; then :
12766 else
12767 if test "$ac_cv_type_fpos_t" = yes; then
12768 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12769 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12770 as_fn_error 77 "cannot compute sizeof (fpos_t)
12771 See \`config.log' for more details" "$LINENO" 5; }
12772 else
12773 ac_cv_sizeof_fpos_t=0
12778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_fpos_t" >&5
12779 $as_echo "$ac_cv_sizeof_fpos_t" >&6; }
12783 cat >>confdefs.h <<_ACEOF
12784 #define SIZEOF_FPOS_T $ac_cv_sizeof_fpos_t
12785 _ACEOF
12788 # The cast to long int works around a bug in the HP C Compiler
12789 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12790 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12791 # This bug is HP SR number 8606223364.
12792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of mode_t" >&5
12793 $as_echo_n "checking size of mode_t... " >&6; }
12794 if test "${ac_cv_sizeof_mode_t+set}" = set; then :
12795 $as_echo_n "(cached) " >&6
12796 else
12797 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (mode_t))" "ac_cv_sizeof_mode_t" "$ac_includes_default"; then :
12799 else
12800 if test "$ac_cv_type_mode_t" = yes; then
12801 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12802 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12803 as_fn_error 77 "cannot compute sizeof (mode_t)
12804 See \`config.log' for more details" "$LINENO" 5; }
12805 else
12806 ac_cv_sizeof_mode_t=0
12811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_mode_t" >&5
12812 $as_echo "$ac_cv_sizeof_mode_t" >&6; }
12816 cat >>confdefs.h <<_ACEOF
12817 #define SIZEOF_MODE_T $ac_cv_sizeof_mode_t
12818 _ACEOF
12821 # The cast to long int works around a bug in the HP C Compiler
12822 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12823 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12824 # This bug is HP SR number 8606223364.
12825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
12826 $as_echo_n "checking size of off_t... " >&6; }
12827 if test "${ac_cv_sizeof_off_t+set}" = set; then :
12828 $as_echo_n "(cached) " >&6
12829 else
12830 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t" "$ac_includes_default"; then :
12832 else
12833 if test "$ac_cv_type_off_t" = yes; then
12834 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12835 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12836 as_fn_error 77 "cannot compute sizeof (off_t)
12837 See \`config.log' for more details" "$LINENO" 5; }
12838 else
12839 ac_cv_sizeof_off_t=0
12844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
12845 $as_echo "$ac_cv_sizeof_off_t" >&6; }
12849 cat >>confdefs.h <<_ACEOF
12850 #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
12851 _ACEOF
12854 # The cast to long int works around a bug in the HP C Compiler
12855 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12856 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12857 # This bug is HP SR number 8606223364.
12858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of ssize_t" >&5
12859 $as_echo_n "checking size of ssize_t... " >&6; }
12860 if test "${ac_cv_sizeof_ssize_t+set}" = set; then :
12861 $as_echo_n "(cached) " >&6
12862 else
12863 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (ssize_t))" "ac_cv_sizeof_ssize_t" "$ac_includes_default"; then :
12865 else
12866 if test "$ac_cv_type_ssize_t" = yes; then
12867 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12868 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12869 as_fn_error 77 "cannot compute sizeof (ssize_t)
12870 See \`config.log' for more details" "$LINENO" 5; }
12871 else
12872 ac_cv_sizeof_ssize_t=0
12877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_ssize_t" >&5
12878 $as_echo "$ac_cv_sizeof_ssize_t" >&6; }
12882 cat >>confdefs.h <<_ACEOF
12883 #define SIZEOF_SSIZE_T $ac_cv_sizeof_ssize_t
12884 _ACEOF
12887 # The cast to long int works around a bug in the HP C Compiler
12888 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12889 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12890 # This bug is HP SR number 8606223364.
12891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of time_t" >&5
12892 $as_echo_n "checking size of time_t... " >&6; }
12893 if test "${ac_cv_sizeof_time_t+set}" = set; then :
12894 $as_echo_n "(cached) " >&6
12895 else
12896 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (time_t))" "ac_cv_sizeof_time_t" "$ac_includes_default"; then :
12898 else
12899 if test "$ac_cv_type_time_t" = yes; then
12900 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12901 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12902 as_fn_error 77 "cannot compute sizeof (time_t)
12903 See \`config.log' for more details" "$LINENO" 5; }
12904 else
12905 ac_cv_sizeof_time_t=0
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_time_t" >&5
12911 $as_echo "$ac_cv_sizeof_time_t" >&6; }
12915 cat >>confdefs.h <<_ACEOF
12916 #define SIZEOF_TIME_T $ac_cv_sizeof_time_t
12917 _ACEOF
12923 # /***********************************************************************
12924 # // Checks for library functions
12925 # ************************************************************************/
12928 for ac_func in access alloca atexit atoi atol chmod chown clock_getcpuclockid clock_getres clock_gettime ctime difftime fstat getenv getpagesize getrusage gettimeofday gmtime isatty localtime longjmp lstat memcmp memcpy memmove memset mkdir mktime mmap mprotect munmap qsort raise rmdir setjmp signal snprintf strcasecmp strchr strdup strerror strftime stricmp strncasecmp strnicmp strrchr strstr time umask utime vsnprintf
12929 do :
12930 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12931 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12932 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12933 cat >>confdefs.h <<_ACEOF
12934 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12935 _ACEOF
12938 done
12942 if test "X$GCC" = Xyes; then
12943 case $host_os in
12944 cygwin* | mingw* | pw32*)
12945 test "X$LIBS" != "X" && LIBS="$LIBS "
12946 LIBS="${LIBS}-lwinmm" ;;
12947 esac
12952 # /***********************************************************************
12953 # // Checks for assembler
12954 # ************************************************************************/
12956 # Check whether --enable-asm was given.
12957 if test "${enable_asm+set}" = set; then :
12958 enableval=$enable_asm;
12962 asm_arch=
12963 asm_dir=
12964 asm_msg_amd64=no
12965 asm_msg_i386=no
12967 case "$host_cpu-$ac_cv_sizeof_void_p" in
12968 amd64-8 | x86_64-8) asm_arch="amd64"; asm_dir="asm/amd64/src_gas/elf64"; asm_mode="amd64_src_gas_elf64" ;;
12969 i?86-4) asm_arch="i386"; asm_dir="asm/i386/src_gas"; asm_mode="i386_src_gas" ;;
12970 *) enable_asm=no ;;
12971 esac
12972 LZO_USE_ASM_i386_src_gas=no
12974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build assembly versions" >&5
12975 $as_echo_n "checking whether to build assembly versions... " >&6; }
12976 if test "X$enable_asm" != Xno; then
12977 mfx_compile_S='${CCAS} ${CCASFLAGS} -c conftest.S 1>&5'
12978 cat > conftest.S <<EOF
12979 #include "$ac_abs_top_srcdir/$asm_dir/lzo1x_f1.S"
12981 enable_asm=no
12982 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$mfx_compile_S\""; } >&5
12983 (eval $mfx_compile_S) 2>&5
12984 ac_status=$?
12985 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12986 test $ac_status = 0; }; then
12987 if { ac_try='test -s conftest.$ac_objext'
12988 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12989 (eval $ac_try) 2>&5
12990 ac_status=$?
12991 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12992 test $ac_status = 0; }; }; then
12993 enable_asm=yes
12994 eval asm_msg_$asm_arch="'yes [$asm_dir]'"
12995 eval LZO_USE_ASM_$asm_mode=yes
12998 if test "X$enable_asm" = Xno; then
12999 echo "configure: failed program was:" >&5
13000 cat conftest.S >&5
13002 rm -rf conftest*
13004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_asm" >&5
13005 $as_echo "$enable_asm" >&6; }
13007 if test "X$LZO_USE_ASM_i386_src_gas" != Xno; then
13008 LZO_USE_ASM_i386_src_gas_TRUE=
13009 LZO_USE_ASM_i386_src_gas_FALSE='#'
13010 else
13011 LZO_USE_ASM_i386_src_gas_TRUE='#'
13012 LZO_USE_ASM_i386_src_gas_FALSE=
13015 if false; then
13016 LZO_USE_ASM_i386_obj_elf32_TRUE=
13017 LZO_USE_ASM_i386_obj_elf32_FALSE='#'
13018 else
13019 LZO_USE_ASM_i386_obj_elf32_TRUE='#'
13020 LZO_USE_ASM_i386_obj_elf32_FALSE=
13025 # /***********************************************************************
13026 # // Write output files
13027 # ************************************************************************/
13030 mfx_tmp="-I$srcdir"
13031 mfx_save_CPPFLAGS=$CPPFLAGS
13032 test "X$mfx_tmp" = "X" || CPPFLAGS="$mfx_tmp $CPPFLAGS"
13034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether your compiler passes the ACC conformance test" >&5
13035 $as_echo_n "checking whether your compiler passes the ACC conformance test... " >&6; }
13037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13038 /* end confdefs.h. */
13039 #define ACC_CONFIG_NO_HEADER 1
13040 #define ACC_WANT_ACC_INCD_H 1
13041 #include "src/miniacc.h"
13043 #undef ACCCHK_ASSERT
13044 #define ACCCHK_ASSERT(expr) ACC_COMPILE_TIME_ASSERT_HEADER(expr)
13045 #define ACC_WANT_ACC_CHK_CH 1
13046 #include "src/miniacc.h"
13048 #undef ACCCHK_ASSERT
13049 #define ACCCHK_ASSERT(expr) ACC_COMPILE_TIME_ASSERT(expr)
13050 static void test_acc_compile_time_assert(void) {
13051 #define ACC_WANT_ACC_CHK_CH 1
13052 #include "src/miniacc.h"
13055 #undef NDEBUG
13056 #include <assert.h>
13057 #undef ACCCHK_ASSERT
13058 #define ACCCHK_ASSERT(expr) assert(expr);
13059 static int test_acc_run_time_assert(int r) {
13060 #define ACC_WANT_ACC_CHK_CH 1
13061 #include "src/miniacc.h"
13062 return r;
13066 main ()
13069 test_acc_compile_time_assert();
13070 if (test_acc_run_time_assert(1) != 1) return 1;
13074 return 0;
13076 _ACEOF
13078 mfx_tmp=FAILED
13079 if ac_fn_c_try_compile "$LINENO"; then :
13080 mfx_tmp=yes
13082 rm -f core conftest.err conftest.$ac_objext
13083 rm -f conftest.$ac_ext conftest.$ac_objext
13085 CPPFLAGS=$mfx_save_CPPFLAGS
13087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mfx_tmp" >&5
13088 $as_echo "$mfx_tmp" >&6; }
13089 case x$mfx_tmp in
13090 xpassed | xyes) ;;
13092 { $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
13093 $as_echo "$as_me: " >&6;}
13094 { $as_echo "$as_me:${as_lineno-$LINENO}: Your compiler failed the ACC conformance test - for details see " >&5
13095 $as_echo "$as_me: Your compiler failed the ACC conformance test - for details see " >&6;}
13096 { $as_echo "$as_me:${as_lineno-$LINENO}: \`config.log'. Please check that log file and consider sending" >&5
13097 $as_echo "$as_me: \`config.log'. Please check that log file and consider sending" >&6;}
13098 { $as_echo "$as_me:${as_lineno-$LINENO}: a patch or bug-report to <${PACKAGE_BUGREPORT}>." >&5
13099 $as_echo "$as_me: a patch or bug-report to <${PACKAGE_BUGREPORT}>." >&6;}
13100 { $as_echo "$as_me:${as_lineno-$LINENO}: Thanks for your support." >&5
13101 $as_echo "$as_me: Thanks for your support." >&6;}
13102 { $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
13103 $as_echo "$as_me: " >&6;}
13104 as_fn_error $? "ACC conformance test failed. Stop." "$LINENO" 5
13106 esac
13109 if test -r .Conf.settings2; then
13110 . ./.Conf.settings2
13113 my_DEFS="-DLZO_HAVE_CONFIG_H=1"
13114 if test "X$enable_asm" != Xno; then
13115 my_DEFS="$my_DEFS -DLZO_USE_ASM=1"
13119 ac_config_files="$ac_config_files Makefile"
13121 cat >confcache <<\_ACEOF
13122 # This file is a shell script that caches the results of configure
13123 # tests run on this system so they can be shared between configure
13124 # scripts and configure runs, see configure's option --config-cache.
13125 # It is not useful on other systems. If it contains results you don't
13126 # want to keep, you may remove or edit it.
13128 # config.status only pays attention to the cache file if you give it
13129 # the --recheck option to rerun configure.
13131 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13132 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13133 # following values.
13135 _ACEOF
13137 # The following way of writing the cache mishandles newlines in values,
13138 # but we know of no workaround that is simple, portable, and efficient.
13139 # So, we kill variables containing newlines.
13140 # Ultrix sh set writes to stderr and can't be redirected directly,
13141 # and sets the high bit in the cache file unless we assign to the vars.
13143 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13144 eval ac_val=\$$ac_var
13145 case $ac_val in #(
13146 *${as_nl}*)
13147 case $ac_var in #(
13148 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13149 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13150 esac
13151 case $ac_var in #(
13152 _ | IFS | as_nl) ;; #(
13153 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13154 *) { eval $ac_var=; unset $ac_var;} ;;
13155 esac ;;
13156 esac
13157 done
13159 (set) 2>&1 |
13160 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13161 *${as_nl}ac_space=\ *)
13162 # `set' does not quote correctly, so add quotes: double-quote
13163 # substitution turns \\\\ into \\, and sed turns \\ into \.
13164 sed -n \
13165 "s/'/'\\\\''/g;
13166 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13167 ;; #(
13169 # `set' quotes correctly as required by POSIX, so do not add quotes.
13170 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13172 esac |
13173 sort
13175 sed '
13176 /^ac_cv_env_/b end
13177 t clear
13178 :clear
13179 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13180 t end
13181 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13182 :end' >>confcache
13183 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13184 if test -w "$cache_file"; then
13185 test "x$cache_file" != "x/dev/null" &&
13186 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13187 $as_echo "$as_me: updating cache $cache_file" >&6;}
13188 cat confcache >$cache_file
13189 else
13190 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13191 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13194 rm -f confcache
13196 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13197 # Let make expand exec_prefix.
13198 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13200 DEFS=-DHAVE_CONFIG_H
13202 ac_libobjs=
13203 ac_ltlibobjs=
13205 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13206 # 1. Remove the extension, and $U if already installed.
13207 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13208 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13209 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13210 # will be set to the directory where LIBOBJS objects are built.
13211 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13212 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13213 done
13214 LIBOBJS=$ac_libobjs
13216 LTLIBOBJS=$ac_ltlibobjs
13219 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13220 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
13221 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13223 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13224 as_fn_error $? "conditional \"AMDEP\" was never defined.
13225 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13227 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
13228 as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
13229 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13232 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13233 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13234 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13236 if test -n "$EXEEXT"; then
13237 am__EXEEXT_TRUE=
13238 am__EXEEXT_FALSE='#'
13239 else
13240 am__EXEEXT_TRUE='#'
13241 am__EXEEXT_FALSE=
13244 if test -z "${LZO_USE_ASM_i386_src_gas_TRUE}" && test -z "${LZO_USE_ASM_i386_src_gas_FALSE}"; then
13245 as_fn_error $? "conditional \"LZO_USE_ASM_i386_src_gas\" was never defined.
13246 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13248 if test -z "${LZO_USE_ASM_i386_obj_elf32_TRUE}" && test -z "${LZO_USE_ASM_i386_obj_elf32_FALSE}"; then
13249 as_fn_error $? "conditional \"LZO_USE_ASM_i386_obj_elf32\" was never defined.
13250 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13253 test "X$DEFS" = "X-DHAVE_CONFIG_H" && DEFS=
13254 test "X$DEFS" != "X" && DEFS="$DEFS "
13255 DEFS="${DEFS}${my_DEFS}"
13258 : ${CONFIG_STATUS=./config.status}
13259 ac_write_fail=0
13260 ac_clean_files_save=$ac_clean_files
13261 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13262 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13263 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13264 as_write_fail=0
13265 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13266 #! $SHELL
13267 # Generated by $as_me.
13268 # Run this file to recreate the current configuration.
13269 # Compiler output produced by configure, useful for debugging
13270 # configure, is in config.log if it exists.
13272 debug=false
13273 ac_cs_recheck=false
13274 ac_cs_silent=false
13276 SHELL=\${CONFIG_SHELL-$SHELL}
13277 export SHELL
13278 _ASEOF
13279 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13280 ## -------------------- ##
13281 ## M4sh Initialization. ##
13282 ## -------------------- ##
13284 # Be more Bourne compatible
13285 DUALCASE=1; export DUALCASE # for MKS sh
13286 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13287 emulate sh
13288 NULLCMD=:
13289 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13290 # is contrary to our usage. Disable this feature.
13291 alias -g '${1+"$@"}'='"$@"'
13292 setopt NO_GLOB_SUBST
13293 else
13294 case `(set -o) 2>/dev/null` in #(
13295 *posix*) :
13296 set -o posix ;; #(
13297 *) :
13299 esac
13303 as_nl='
13305 export as_nl
13306 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13307 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13308 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13309 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13310 # Prefer a ksh shell builtin over an external printf program on Solaris,
13311 # but without wasting forks for bash or zsh.
13312 if test -z "$BASH_VERSION$ZSH_VERSION" \
13313 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13314 as_echo='print -r --'
13315 as_echo_n='print -rn --'
13316 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13317 as_echo='printf %s\n'
13318 as_echo_n='printf %s'
13319 else
13320 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13321 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13322 as_echo_n='/usr/ucb/echo -n'
13323 else
13324 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13325 as_echo_n_body='eval
13326 arg=$1;
13327 case $arg in #(
13328 *"$as_nl"*)
13329 expr "X$arg" : "X\\(.*\\)$as_nl";
13330 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13331 esac;
13332 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13334 export as_echo_n_body
13335 as_echo_n='sh -c $as_echo_n_body as_echo'
13337 export as_echo_body
13338 as_echo='sh -c $as_echo_body as_echo'
13341 # The user is always right.
13342 if test "${PATH_SEPARATOR+set}" != set; then
13343 PATH_SEPARATOR=:
13344 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13345 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13346 PATH_SEPARATOR=';'
13351 # IFS
13352 # We need space, tab and new line, in precisely that order. Quoting is
13353 # there to prevent editors from complaining about space-tab.
13354 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13355 # splitting by setting IFS to empty value.)
13356 IFS=" "" $as_nl"
13358 # Find who we are. Look in the path if we contain no directory separator.
13359 case $0 in #((
13360 *[\\/]* ) as_myself=$0 ;;
13361 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13362 for as_dir in $PATH
13364 IFS=$as_save_IFS
13365 test -z "$as_dir" && as_dir=.
13366 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13367 done
13368 IFS=$as_save_IFS
13371 esac
13372 # We did not find ourselves, most probably we were run as `sh COMMAND'
13373 # in which case we are not to be found in the path.
13374 if test "x$as_myself" = x; then
13375 as_myself=$0
13377 if test ! -f "$as_myself"; then
13378 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13379 exit 1
13382 # Unset variables that we do not need and which cause bugs (e.g. in
13383 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13384 # suppresses any "Segmentation fault" message there. '((' could
13385 # trigger a bug in pdksh 5.2.14.
13386 for as_var in BASH_ENV ENV MAIL MAILPATH
13387 do eval test x\${$as_var+set} = xset \
13388 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13389 done
13390 PS1='$ '
13391 PS2='> '
13392 PS4='+ '
13394 # NLS nuisances.
13395 LC_ALL=C
13396 export LC_ALL
13397 LANGUAGE=C
13398 export LANGUAGE
13400 # CDPATH.
13401 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13404 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13405 # ----------------------------------------
13406 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13407 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13408 # script with STATUS, using 1 if that was 0.
13409 as_fn_error ()
13411 as_status=$1; test $as_status -eq 0 && as_status=1
13412 if test "$4"; then
13413 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13414 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13416 $as_echo "$as_me: error: $2" >&2
13417 as_fn_exit $as_status
13418 } # as_fn_error
13421 # as_fn_set_status STATUS
13422 # -----------------------
13423 # Set $? to STATUS, without forking.
13424 as_fn_set_status ()
13426 return $1
13427 } # as_fn_set_status
13429 # as_fn_exit STATUS
13430 # -----------------
13431 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13432 as_fn_exit ()
13434 set +e
13435 as_fn_set_status $1
13436 exit $1
13437 } # as_fn_exit
13439 # as_fn_unset VAR
13440 # ---------------
13441 # Portably unset VAR.
13442 as_fn_unset ()
13444 { eval $1=; unset $1;}
13446 as_unset=as_fn_unset
13447 # as_fn_append VAR VALUE
13448 # ----------------------
13449 # Append the text in VALUE to the end of the definition contained in VAR. Take
13450 # advantage of any shell optimizations that allow amortized linear growth over
13451 # repeated appends, instead of the typical quadratic growth present in naive
13452 # implementations.
13453 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13454 eval 'as_fn_append ()
13456 eval $1+=\$2
13458 else
13459 as_fn_append ()
13461 eval $1=\$$1\$2
13463 fi # as_fn_append
13465 # as_fn_arith ARG...
13466 # ------------------
13467 # Perform arithmetic evaluation on the ARGs, and store the result in the
13468 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13469 # must be portable across $(()) and expr.
13470 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13471 eval 'as_fn_arith ()
13473 as_val=$(( $* ))
13475 else
13476 as_fn_arith ()
13478 as_val=`expr "$@" || test $? -eq 1`
13480 fi # as_fn_arith
13483 if expr a : '\(a\)' >/dev/null 2>&1 &&
13484 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13485 as_expr=expr
13486 else
13487 as_expr=false
13490 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13491 as_basename=basename
13492 else
13493 as_basename=false
13496 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13497 as_dirname=dirname
13498 else
13499 as_dirname=false
13502 as_me=`$as_basename -- "$0" ||
13503 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13504 X"$0" : 'X\(//\)$' \| \
13505 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13506 $as_echo X/"$0" |
13507 sed '/^.*\/\([^/][^/]*\)\/*$/{
13508 s//\1/
13511 /^X\/\(\/\/\)$/{
13512 s//\1/
13515 /^X\/\(\/\).*/{
13516 s//\1/
13519 s/.*/./; q'`
13521 # Avoid depending upon Character Ranges.
13522 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13523 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13524 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13525 as_cr_digits='0123456789'
13526 as_cr_alnum=$as_cr_Letters$as_cr_digits
13528 ECHO_C= ECHO_N= ECHO_T=
13529 case `echo -n x` in #(((((
13530 -n*)
13531 case `echo 'xy\c'` in
13532 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
13533 xy) ECHO_C='\c';;
13534 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
13535 ECHO_T=' ';;
13536 esac;;
13538 ECHO_N='-n';;
13539 esac
13541 rm -f conf$$ conf$$.exe conf$$.file
13542 if test -d conf$$.dir; then
13543 rm -f conf$$.dir/conf$$.file
13544 else
13545 rm -f conf$$.dir
13546 mkdir conf$$.dir 2>/dev/null
13548 if (echo >conf$$.file) 2>/dev/null; then
13549 if ln -s conf$$.file conf$$ 2>/dev/null; then
13550 as_ln_s='ln -s'
13551 # ... but there are two gotchas:
13552 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13553 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13554 # In both cases, we have to default to `cp -p'.
13555 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13556 as_ln_s='cp -p'
13557 elif ln conf$$.file conf$$ 2>/dev/null; then
13558 as_ln_s=ln
13559 else
13560 as_ln_s='cp -p'
13562 else
13563 as_ln_s='cp -p'
13565 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13566 rmdir conf$$.dir 2>/dev/null
13569 # as_fn_mkdir_p
13570 # -------------
13571 # Create "$as_dir" as a directory, including parents if necessary.
13572 as_fn_mkdir_p ()
13575 case $as_dir in #(
13576 -*) as_dir=./$as_dir;;
13577 esac
13578 test -d "$as_dir" || eval $as_mkdir_p || {
13579 as_dirs=
13580 while :; do
13581 case $as_dir in #(
13582 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13583 *) as_qdir=$as_dir;;
13584 esac
13585 as_dirs="'$as_qdir' $as_dirs"
13586 as_dir=`$as_dirname -- "$as_dir" ||
13587 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13588 X"$as_dir" : 'X\(//\)[^/]' \| \
13589 X"$as_dir" : 'X\(//\)$' \| \
13590 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13591 $as_echo X"$as_dir" |
13592 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13593 s//\1/
13596 /^X\(\/\/\)[^/].*/{
13597 s//\1/
13600 /^X\(\/\/\)$/{
13601 s//\1/
13604 /^X\(\/\).*/{
13605 s//\1/
13608 s/.*/./; q'`
13609 test -d "$as_dir" && break
13610 done
13611 test -z "$as_dirs" || eval "mkdir $as_dirs"
13612 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13615 } # as_fn_mkdir_p
13616 if mkdir -p . 2>/dev/null; then
13617 as_mkdir_p='mkdir -p "$as_dir"'
13618 else
13619 test -d ./-p && rmdir ./-p
13620 as_mkdir_p=false
13623 if test -x / >/dev/null 2>&1; then
13624 as_test_x='test -x'
13625 else
13626 if ls -dL / >/dev/null 2>&1; then
13627 as_ls_L_option=L
13628 else
13629 as_ls_L_option=
13631 as_test_x='
13632 eval sh -c '\''
13633 if test -d "$1"; then
13634 test -d "$1/.";
13635 else
13636 case $1 in #(
13637 -*)set "./$1";;
13638 esac;
13639 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13640 ???[sx]*):;;*)false;;esac;fi
13641 '\'' sh
13644 as_executable_p=$as_test_x
13646 # Sed expression to map a string onto a valid CPP name.
13647 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13649 # Sed expression to map a string onto a valid variable name.
13650 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13653 exec 6>&1
13654 ## ----------------------------------- ##
13655 ## Main body of $CONFIG_STATUS script. ##
13656 ## ----------------------------------- ##
13657 _ASEOF
13658 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13660 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13661 # Save the log message, to keep $0 and so on meaningful, and to
13662 # report actual input values of CONFIG_FILES etc. instead of their
13663 # values after options handling.
13664 ac_log="
13665 This file was extended by LZO $as_me 2.06, which was
13666 generated by GNU Autoconf 2.67. Invocation command line was
13668 CONFIG_FILES = $CONFIG_FILES
13669 CONFIG_HEADERS = $CONFIG_HEADERS
13670 CONFIG_LINKS = $CONFIG_LINKS
13671 CONFIG_COMMANDS = $CONFIG_COMMANDS
13672 $ $0 $@
13674 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13677 _ACEOF
13679 case $ac_config_files in *"
13680 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13681 esac
13683 case $ac_config_headers in *"
13684 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13685 esac
13688 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13689 # Files that config.status was made for.
13690 config_files="$ac_config_files"
13691 config_headers="$ac_config_headers"
13692 config_commands="$ac_config_commands"
13694 _ACEOF
13696 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13697 ac_cs_usage="\
13698 \`$as_me' instantiates files and other configuration actions
13699 from templates according to the current configuration. Unless the files
13700 and actions are specified as TAGs, all are instantiated by default.
13702 Usage: $0 [OPTION]... [TAG]...
13704 -h, --help print this help, then exit
13705 -V, --version print version number and configuration settings, then exit
13706 --config print configuration, then exit
13707 -q, --quiet, --silent
13708 do not print progress messages
13709 -d, --debug don't remove temporary files
13710 --recheck update $as_me by reconfiguring in the same conditions
13711 --file=FILE[:TEMPLATE]
13712 instantiate the configuration file FILE
13713 --header=FILE[:TEMPLATE]
13714 instantiate the configuration header FILE
13716 Configuration files:
13717 $config_files
13719 Configuration headers:
13720 $config_headers
13722 Configuration commands:
13723 $config_commands
13725 Report bugs to <markus@oberhumer.com>.
13726 LZO home page: <http://www.oberhumer.com/opensource/lzo/>."
13728 _ACEOF
13729 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13730 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13731 ac_cs_version="\\
13732 LZO config.status 2.06
13733 configured by $0, generated by GNU Autoconf 2.67,
13734 with options \\"\$ac_cs_config\\"
13736 Copyright (C) 2010 Free Software Foundation, Inc.
13737 This config.status script is free software; the Free Software Foundation
13738 gives unlimited permission to copy, distribute and modify it."
13740 ac_pwd='$ac_pwd'
13741 srcdir='$srcdir'
13742 INSTALL='$INSTALL'
13743 MKDIR_P='$MKDIR_P'
13744 AWK='$AWK'
13745 test -n "\$AWK" || AWK=awk
13746 _ACEOF
13748 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13749 # The default lists apply if the user does not specify any file.
13750 ac_need_defaults=:
13751 while test $# != 0
13753 case $1 in
13754 --*=?*)
13755 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13756 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13757 ac_shift=:
13759 --*=)
13760 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13761 ac_optarg=
13762 ac_shift=:
13765 ac_option=$1
13766 ac_optarg=$2
13767 ac_shift=shift
13769 esac
13771 case $ac_option in
13772 # Handling of the options.
13773 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13774 ac_cs_recheck=: ;;
13775 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13776 $as_echo "$ac_cs_version"; exit ;;
13777 --config | --confi | --conf | --con | --co | --c )
13778 $as_echo "$ac_cs_config"; exit ;;
13779 --debug | --debu | --deb | --de | --d | -d )
13780 debug=: ;;
13781 --file | --fil | --fi | --f )
13782 $ac_shift
13783 case $ac_optarg in
13784 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13785 '') as_fn_error $? "missing file argument" ;;
13786 esac
13787 as_fn_append CONFIG_FILES " '$ac_optarg'"
13788 ac_need_defaults=false;;
13789 --header | --heade | --head | --hea )
13790 $ac_shift
13791 case $ac_optarg in
13792 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13793 esac
13794 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13795 ac_need_defaults=false;;
13796 --he | --h)
13797 # Conflict between --help and --header
13798 as_fn_error $? "ambiguous option: \`$1'
13799 Try \`$0 --help' for more information.";;
13800 --help | --hel | -h )
13801 $as_echo "$ac_cs_usage"; exit ;;
13802 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13803 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13804 ac_cs_silent=: ;;
13806 # This is an error.
13807 -*) as_fn_error $? "unrecognized option: \`$1'
13808 Try \`$0 --help' for more information." ;;
13810 *) as_fn_append ac_config_targets " $1"
13811 ac_need_defaults=false ;;
13813 esac
13814 shift
13815 done
13817 ac_configure_extra_args=
13819 if $ac_cs_silent; then
13820 exec 6>/dev/null
13821 ac_configure_extra_args="$ac_configure_extra_args --silent"
13824 _ACEOF
13825 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13826 if \$ac_cs_recheck; then
13827 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13828 shift
13829 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13830 CONFIG_SHELL='$SHELL'
13831 export CONFIG_SHELL
13832 exec "\$@"
13835 _ACEOF
13836 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13837 exec 5>>config.log
13839 echo
13840 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13841 ## Running $as_me. ##
13842 _ASBOX
13843 $as_echo "$ac_log"
13844 } >&5
13846 _ACEOF
13847 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13849 # INIT-COMMANDS
13851 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13854 # The HP-UX ksh and POSIX shell print the target directory to stdout
13855 # if CDPATH is set.
13856 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13858 sed_quote_subst='$sed_quote_subst'
13859 double_quote_subst='$double_quote_subst'
13860 delay_variable_subst='$delay_variable_subst'
13861 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13862 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13863 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13864 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13865 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13866 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13867 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13868 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13869 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13870 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13871 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13872 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13873 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13874 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13875 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13876 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13877 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13878 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13879 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13880 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13881 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13882 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13883 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13884 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13885 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13886 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13887 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13888 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13889 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13890 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13891 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13892 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13893 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13894 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13895 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13896 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13897 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13898 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13899 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13900 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13901 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13902 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13903 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13904 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13905 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13906 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13907 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13908 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13909 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"`'
13910 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13911 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13912 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13913 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13914 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13915 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13916 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13917 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13918 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13919 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13920 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13921 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13922 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13923 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13924 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13925 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13926 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13927 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13928 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13929 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13930 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13931 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13932 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13933 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13934 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13935 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13936 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13937 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13938 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13939 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13940 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13941 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
13942 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13943 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13944 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13945 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13946 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13947 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13948 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13949 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13950 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
13951 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13952 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13953 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13954 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13955 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13956 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13957 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13958 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13959 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13960 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13961 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13962 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13963 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13964 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13965 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13966 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13967 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13968 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13969 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13970 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13971 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13972 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13973 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13974 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13975 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13976 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13977 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13978 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13979 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13980 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13982 LTCC='$LTCC'
13983 LTCFLAGS='$LTCFLAGS'
13984 compiler='$compiler_DEFAULT'
13986 # A function that is used when there is no print builtin or printf.
13987 func_fallback_echo ()
13989 eval 'cat <<_LTECHO_EOF
13991 _LTECHO_EOF'
13994 # Quote evaled strings.
13995 for var in SHELL \
13996 ECHO \
13997 SED \
13998 GREP \
13999 EGREP \
14000 FGREP \
14001 LD \
14002 NM \
14003 LN_S \
14004 lt_SP2NL \
14005 lt_NL2SP \
14006 reload_flag \
14007 OBJDUMP \
14008 deplibs_check_method \
14009 file_magic_cmd \
14010 AR \
14011 AR_FLAGS \
14012 STRIP \
14013 RANLIB \
14014 CC \
14015 CFLAGS \
14016 compiler \
14017 lt_cv_sys_global_symbol_pipe \
14018 lt_cv_sys_global_symbol_to_cdecl \
14019 lt_cv_sys_global_symbol_to_c_name_address \
14020 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14021 lt_prog_compiler_no_builtin_flag \
14022 lt_prog_compiler_wl \
14023 lt_prog_compiler_pic \
14024 lt_prog_compiler_static \
14025 lt_cv_prog_compiler_c_o \
14026 need_locks \
14027 DSYMUTIL \
14028 NMEDIT \
14029 LIPO \
14030 OTOOL \
14031 OTOOL64 \
14032 shrext_cmds \
14033 export_dynamic_flag_spec \
14034 whole_archive_flag_spec \
14035 compiler_needs_object \
14036 with_gnu_ld \
14037 allow_undefined_flag \
14038 no_undefined_flag \
14039 hardcode_libdir_flag_spec \
14040 hardcode_libdir_flag_spec_ld \
14041 hardcode_libdir_separator \
14042 fix_srcfile_path \
14043 exclude_expsyms \
14044 include_expsyms \
14045 file_list_spec \
14046 variables_saved_for_relink \
14047 libname_spec \
14048 library_names_spec \
14049 soname_spec \
14050 install_override_mode \
14051 finish_eval \
14052 old_striplib \
14053 striplib; do
14054 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14055 *[\\\\\\\`\\"\\\$]*)
14056 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14059 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14061 esac
14062 done
14064 # Double-quote double-evaled strings.
14065 for var in reload_cmds \
14066 old_postinstall_cmds \
14067 old_postuninstall_cmds \
14068 old_archive_cmds \
14069 extract_expsyms_cmds \
14070 old_archive_from_new_cmds \
14071 old_archive_from_expsyms_cmds \
14072 archive_cmds \
14073 archive_expsym_cmds \
14074 module_cmds \
14075 module_expsym_cmds \
14076 export_symbols_cmds \
14077 prelink_cmds \
14078 postinstall_cmds \
14079 postuninstall_cmds \
14080 finish_cmds \
14081 sys_lib_search_path_spec \
14082 sys_lib_dlsearch_path_spec; do
14083 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14084 *[\\\\\\\`\\"\\\$]*)
14085 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14088 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14090 esac
14091 done
14093 ac_aux_dir='$ac_aux_dir'
14094 xsi_shell='$xsi_shell'
14095 lt_shell_append='$lt_shell_append'
14097 # See if we are running on zsh, and set the options which allow our
14098 # commands through without removal of \ escapes INIT.
14099 if test -n "\${ZSH_VERSION+set}" ; then
14100 setopt NO_GLOB_SUBST
14104 PACKAGE='$PACKAGE'
14105 VERSION='$VERSION'
14106 TIMESTAMP='$TIMESTAMP'
14107 RM='$RM'
14108 ofile='$ofile'
14113 _ACEOF
14115 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14117 # Handling of arguments.
14118 for ac_config_target in $ac_config_targets
14120 case $ac_config_target in
14121 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14122 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.hin" ;;
14123 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14124 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14126 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14127 esac
14128 done
14131 # If the user did not use the arguments to specify the items to instantiate,
14132 # then the envvar interface is used. Set only those that are not.
14133 # We use the long form for the default assignment because of an extremely
14134 # bizarre bug on SunOS 4.1.3.
14135 if $ac_need_defaults; then
14136 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14137 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14138 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14141 # Have a temporary directory for convenience. Make it in the build tree
14142 # simply because there is no reason against having it here, and in addition,
14143 # creating and moving files from /tmp can sometimes cause problems.
14144 # Hook for its removal unless debugging.
14145 # Note that there is a small window in which the directory will not be cleaned:
14146 # after its creation but before its name has been assigned to `$tmp'.
14147 $debug ||
14149 tmp=
14150 trap 'exit_status=$?
14151 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14153 trap 'as_fn_exit 1' 1 2 13 15
14155 # Create a (secure) tmp directory for tmp files.
14158 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14159 test -n "$tmp" && test -d "$tmp"
14160 } ||
14162 tmp=./conf$$-$RANDOM
14163 (umask 077 && mkdir "$tmp")
14164 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14166 # Set up the scripts for CONFIG_FILES section.
14167 # No need to generate them if there are no CONFIG_FILES.
14168 # This happens for instance with `./config.status config.h'.
14169 if test -n "$CONFIG_FILES"; then
14172 ac_cr=`echo X | tr X '\015'`
14173 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14174 # But we know of no other shell where ac_cr would be empty at this
14175 # point, so we can use a bashism as a fallback.
14176 if test "x$ac_cr" = x; then
14177 eval ac_cr=\$\'\\r\'
14179 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14180 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14181 ac_cs_awk_cr='\\r'
14182 else
14183 ac_cs_awk_cr=$ac_cr
14186 echo 'BEGIN {' >"$tmp/subs1.awk" &&
14187 _ACEOF
14191 echo "cat >conf$$subs.awk <<_ACEOF" &&
14192 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14193 echo "_ACEOF"
14194 } >conf$$subs.sh ||
14195 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14196 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14197 ac_delim='%!_!# '
14198 for ac_last_try in false false false false false :; do
14199 . ./conf$$subs.sh ||
14200 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14202 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14203 if test $ac_delim_n = $ac_delim_num; then
14204 break
14205 elif $ac_last_try; then
14206 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14207 else
14208 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14210 done
14211 rm -f conf$$subs.sh
14213 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14214 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
14215 _ACEOF
14216 sed -n '
14218 s/^/S["/; s/!.*/"]=/
14221 s/^[^!]*!//
14222 :repl
14223 t repl
14224 s/'"$ac_delim"'$//
14225 t delim
14228 s/\(.\{148\}\)..*/\1/
14229 t more1
14230 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14233 b repl
14234 :more1
14235 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14238 s/.\{148\}//
14239 t nl
14240 :delim
14242 s/\(.\{148\}\)..*/\1/
14243 t more2
14244 s/["\\]/\\&/g; s/^/"/; s/$/"/
14247 :more2
14248 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14251 s/.\{148\}//
14252 t delim
14253 ' <conf$$subs.awk | sed '
14254 /^[^""]/{
14256 s/\n//
14258 ' >>$CONFIG_STATUS || ac_write_fail=1
14259 rm -f conf$$subs.awk
14260 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14261 _ACAWK
14262 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
14263 for (key in S) S_is_set[key] = 1
14264 FS = "\a"
14268 line = $ 0
14269 nfields = split(line, field, "@")
14270 substed = 0
14271 len = length(field[1])
14272 for (i = 2; i < nfields; i++) {
14273 key = field[i]
14274 keylen = length(key)
14275 if (S_is_set[key]) {
14276 value = S[key]
14277 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14278 len += length(value) + length(field[++i])
14279 substed = 1
14280 } else
14281 len += 1 + keylen
14284 print line
14287 _ACAWK
14288 _ACEOF
14289 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14290 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14291 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14292 else
14294 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
14295 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14296 _ACEOF
14298 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14299 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14300 # trailing colons and then remove the whole line if VPATH becomes empty
14301 # (actually we leave an empty line to preserve line numbers).
14302 if test "x$srcdir" = x.; then
14303 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14305 s///
14306 s/^/:/
14307 s/[ ]*$/:/
14308 s/:\$(srcdir):/:/g
14309 s/:\${srcdir}:/:/g
14310 s/:@srcdir@:/:/g
14311 s/^:*//
14312 s/:*$//
14314 s/\(=[ ]*\).*/\1/
14316 s/\n//
14317 s/^[^=]*=[ ]*$//
14321 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14322 fi # test -n "$CONFIG_FILES"
14324 # Set up the scripts for CONFIG_HEADERS section.
14325 # No need to generate them if there are no CONFIG_HEADERS.
14326 # This happens for instance with `./config.status Makefile'.
14327 if test -n "$CONFIG_HEADERS"; then
14328 cat >"$tmp/defines.awk" <<\_ACAWK ||
14329 BEGIN {
14330 _ACEOF
14332 # Transform confdefs.h into an awk script `defines.awk', embedded as
14333 # here-document in config.status, that substitutes the proper values into
14334 # config.h.in to produce config.h.
14336 # Create a delimiter string that does not exist in confdefs.h, to ease
14337 # handling of long lines.
14338 ac_delim='%!_!# '
14339 for ac_last_try in false false :; do
14340 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
14341 if test -z "$ac_t"; then
14342 break
14343 elif $ac_last_try; then
14344 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14345 else
14346 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14348 done
14350 # For the awk script, D is an array of macro values keyed by name,
14351 # likewise P contains macro parameters if any. Preserve backslash
14352 # newline sequences.
14354 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14355 sed -n '
14356 s/.\{148\}/&'"$ac_delim"'/g
14357 t rset
14358 :rset
14359 s/^[ ]*#[ ]*define[ ][ ]*/ /
14360 t def
14362 :def
14363 s/\\$//
14364 t bsnl
14365 s/["\\]/\\&/g
14366 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14367 D["\1"]=" \3"/p
14368 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
14370 :bsnl
14371 s/["\\]/\\&/g
14372 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14373 D["\1"]=" \3\\\\\\n"\\/p
14374 t cont
14375 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14376 t cont
14378 :cont
14380 s/.\{148\}/&'"$ac_delim"'/g
14381 t clear
14382 :clear
14383 s/\\$//
14384 t bsnlc
14385 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14387 :bsnlc
14388 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14389 b cont
14390 ' <confdefs.h | sed '
14391 s/'"$ac_delim"'/"\\\
14392 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14394 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14395 for (key in D) D_is_set[key] = 1
14396 FS = "\a"
14398 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14399 line = \$ 0
14400 split(line, arg, " ")
14401 if (arg[1] == "#") {
14402 defundef = arg[2]
14403 mac1 = arg[3]
14404 } else {
14405 defundef = substr(arg[1], 2)
14406 mac1 = arg[2]
14408 split(mac1, mac2, "(") #)
14409 macro = mac2[1]
14410 prefix = substr(line, 1, index(line, defundef) - 1)
14411 if (D_is_set[macro]) {
14412 # Preserve the white space surrounding the "#".
14413 print prefix "define", macro P[macro] D[macro]
14414 next
14415 } else {
14416 # Replace #undef with comments. This is necessary, for example,
14417 # in the case of _POSIX_SOURCE, which is predefined and required
14418 # on some systems where configure will not decide to define it.
14419 if (defundef == "undef") {
14420 print "/*", prefix defundef, macro, "*/"
14421 next
14425 { print }
14426 _ACAWK
14427 _ACEOF
14428 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14429 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14430 fi # test -n "$CONFIG_HEADERS"
14433 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14434 shift
14435 for ac_tag
14437 case $ac_tag in
14438 :[FHLC]) ac_mode=$ac_tag; continue;;
14439 esac
14440 case $ac_mode$ac_tag in
14441 :[FHL]*:*);;
14442 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14443 :[FH]-) ac_tag=-:-;;
14444 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14445 esac
14446 ac_save_IFS=$IFS
14447 IFS=:
14448 set x $ac_tag
14449 IFS=$ac_save_IFS
14450 shift
14451 ac_file=$1
14452 shift
14454 case $ac_mode in
14455 :L) ac_source=$1;;
14456 :[FH])
14457 ac_file_inputs=
14458 for ac_f
14460 case $ac_f in
14461 -) ac_f="$tmp/stdin";;
14462 *) # Look for the file first in the build tree, then in the source tree
14463 # (if the path is not absolute). The absolute path cannot be DOS-style,
14464 # because $ac_f cannot contain `:'.
14465 test -f "$ac_f" ||
14466 case $ac_f in
14467 [\\/$]*) false;;
14468 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14469 esac ||
14470 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14471 esac
14472 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14473 as_fn_append ac_file_inputs " '$ac_f'"
14474 done
14476 # Let's still pretend it is `configure' which instantiates (i.e., don't
14477 # use $as_me), people would be surprised to read:
14478 # /* config.h. Generated by config.status. */
14479 configure_input='Generated from '`
14480 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14481 `' by configure.'
14482 if test x"$ac_file" != x-; then
14483 configure_input="$ac_file. $configure_input"
14484 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14485 $as_echo "$as_me: creating $ac_file" >&6;}
14487 # Neutralize special characters interpreted by sed in replacement strings.
14488 case $configure_input in #(
14489 *\&* | *\|* | *\\* )
14490 ac_sed_conf_input=`$as_echo "$configure_input" |
14491 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14492 *) ac_sed_conf_input=$configure_input;;
14493 esac
14495 case $ac_tag in
14496 *:-:* | *:-) cat >"$tmp/stdin" \
14497 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14498 esac
14500 esac
14502 ac_dir=`$as_dirname -- "$ac_file" ||
14503 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14504 X"$ac_file" : 'X\(//\)[^/]' \| \
14505 X"$ac_file" : 'X\(//\)$' \| \
14506 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14507 $as_echo X"$ac_file" |
14508 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14509 s//\1/
14512 /^X\(\/\/\)[^/].*/{
14513 s//\1/
14516 /^X\(\/\/\)$/{
14517 s//\1/
14520 /^X\(\/\).*/{
14521 s//\1/
14524 s/.*/./; q'`
14525 as_dir="$ac_dir"; as_fn_mkdir_p
14526 ac_builddir=.
14528 case "$ac_dir" in
14529 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14531 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14532 # A ".." for each directory in $ac_dir_suffix.
14533 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14534 case $ac_top_builddir_sub in
14535 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14536 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14537 esac ;;
14538 esac
14539 ac_abs_top_builddir=$ac_pwd
14540 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14541 # for backward compatibility:
14542 ac_top_builddir=$ac_top_build_prefix
14544 case $srcdir in
14545 .) # We are building in place.
14546 ac_srcdir=.
14547 ac_top_srcdir=$ac_top_builddir_sub
14548 ac_abs_top_srcdir=$ac_pwd ;;
14549 [\\/]* | ?:[\\/]* ) # Absolute name.
14550 ac_srcdir=$srcdir$ac_dir_suffix;
14551 ac_top_srcdir=$srcdir
14552 ac_abs_top_srcdir=$srcdir ;;
14553 *) # Relative name.
14554 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14555 ac_top_srcdir=$ac_top_build_prefix$srcdir
14556 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14557 esac
14558 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14561 case $ac_mode in
14564 # CONFIG_FILE
14567 case $INSTALL in
14568 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14569 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14570 esac
14571 ac_MKDIR_P=$MKDIR_P
14572 case $MKDIR_P in
14573 [\\/$]* | ?:[\\/]* ) ;;
14574 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14575 esac
14576 _ACEOF
14578 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14579 # If the template does not know about datarootdir, expand it.
14580 # FIXME: This hack should be removed a few years after 2.60.
14581 ac_datarootdir_hack=; ac_datarootdir_seen=
14582 ac_sed_dataroot='
14583 /datarootdir/ {
14587 /@datadir@/p
14588 /@docdir@/p
14589 /@infodir@/p
14590 /@localedir@/p
14591 /@mandir@/p'
14592 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14593 *datarootdir*) ac_datarootdir_seen=yes;;
14594 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14596 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14597 _ACEOF
14598 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14599 ac_datarootdir_hack='
14600 s&@datadir@&$datadir&g
14601 s&@docdir@&$docdir&g
14602 s&@infodir@&$infodir&g
14603 s&@localedir@&$localedir&g
14604 s&@mandir@&$mandir&g
14605 s&\\\${datarootdir}&$datarootdir&g' ;;
14606 esac
14607 _ACEOF
14609 # Neutralize VPATH when `$srcdir' = `.'.
14610 # Shell code in configure.ac might set extrasub.
14611 # FIXME: do we really want to maintain this feature?
14612 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14613 ac_sed_extra="$ac_vpsub
14614 $extrasub
14615 _ACEOF
14616 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14618 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14619 s|@configure_input@|$ac_sed_conf_input|;t t
14620 s&@top_builddir@&$ac_top_builddir_sub&;t t
14621 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14622 s&@srcdir@&$ac_srcdir&;t t
14623 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14624 s&@top_srcdir@&$ac_top_srcdir&;t t
14625 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14626 s&@builddir@&$ac_builddir&;t t
14627 s&@abs_builddir@&$ac_abs_builddir&;t t
14628 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14629 s&@INSTALL@&$ac_INSTALL&;t t
14630 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14631 $ac_datarootdir_hack
14633 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
14634 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14636 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14637 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
14638 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
14639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14640 which seems to be undefined. Please make sure it is defined" >&5
14641 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14642 which seems to be undefined. Please make sure it is defined" >&2;}
14644 rm -f "$tmp/stdin"
14645 case $ac_file in
14646 -) cat "$tmp/out" && rm -f "$tmp/out";;
14647 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14648 esac \
14649 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14653 # CONFIG_HEADER
14655 if test x"$ac_file" != x-; then
14657 $as_echo "/* $configure_input */" \
14658 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14659 } >"$tmp/config.h" \
14660 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14661 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
14662 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14663 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14664 else
14665 rm -f "$ac_file"
14666 mv "$tmp/config.h" "$ac_file" \
14667 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14669 else
14670 $as_echo "/* $configure_input */" \
14671 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14672 || as_fn_error $? "could not create -" "$LINENO" 5
14674 # Compute "$ac_file"'s index in $config_headers.
14675 _am_arg="$ac_file"
14676 _am_stamp_count=1
14677 for _am_header in $config_headers :; do
14678 case $_am_header in
14679 $_am_arg | $_am_arg:* )
14680 break ;;
14682 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14683 esac
14684 done
14685 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14686 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14687 X"$_am_arg" : 'X\(//\)[^/]' \| \
14688 X"$_am_arg" : 'X\(//\)$' \| \
14689 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14690 $as_echo X"$_am_arg" |
14691 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14692 s//\1/
14695 /^X\(\/\/\)[^/].*/{
14696 s//\1/
14699 /^X\(\/\/\)$/{
14700 s//\1/
14703 /^X\(\/\).*/{
14704 s//\1/
14707 s/.*/./; q'`/stamp-h$_am_stamp_count
14710 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14711 $as_echo "$as_me: executing $ac_file commands" >&6;}
14713 esac
14716 case $ac_file$ac_mode in
14717 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14718 # Autoconf 2.62 quotes --file arguments for eval, but not when files
14719 # are listed without --file. Let's play safe and only enable the eval
14720 # if we detect the quoting.
14721 case $CONFIG_FILES in
14722 *\'*) eval set x "$CONFIG_FILES" ;;
14723 *) set x $CONFIG_FILES ;;
14724 esac
14725 shift
14726 for mf
14728 # Strip MF so we end up with the name of the file.
14729 mf=`echo "$mf" | sed -e 's/:.*$//'`
14730 # Check whether this is an Automake generated Makefile or not.
14731 # We used to match only the files named `Makefile.in', but
14732 # some people rename them; so instead we look at the file content.
14733 # Grep'ing the first line is not enough: some people post-process
14734 # each Makefile.in and add a new line on top of each file to say so.
14735 # Grep'ing the whole file is not good either: AIX grep has a line
14736 # limit of 2048, but all sed's we know have understand at least 4000.
14737 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14738 dirpart=`$as_dirname -- "$mf" ||
14739 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14740 X"$mf" : 'X\(//\)[^/]' \| \
14741 X"$mf" : 'X\(//\)$' \| \
14742 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14743 $as_echo X"$mf" |
14744 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14745 s//\1/
14748 /^X\(\/\/\)[^/].*/{
14749 s//\1/
14752 /^X\(\/\/\)$/{
14753 s//\1/
14756 /^X\(\/\).*/{
14757 s//\1/
14760 s/.*/./; q'`
14761 else
14762 continue
14764 # Extract the definition of DEPDIR, am__include, and am__quote
14765 # from the Makefile without running `make'.
14766 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14767 test -z "$DEPDIR" && continue
14768 am__include=`sed -n 's/^am__include = //p' < "$mf"`
14769 test -z "am__include" && continue
14770 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14771 # When using ansi2knr, U may be empty or an underscore; expand it
14772 U=`sed -n 's/^U = //p' < "$mf"`
14773 # Find all dependency output files, they are included files with
14774 # $(DEPDIR) in their names. We invoke sed twice because it is the
14775 # simplest approach to changing $(DEPDIR) to its actual value in the
14776 # expansion.
14777 for file in `sed -n "
14778 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14779 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14780 # Make sure the directory exists.
14781 test -f "$dirpart/$file" && continue
14782 fdir=`$as_dirname -- "$file" ||
14783 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14784 X"$file" : 'X\(//\)[^/]' \| \
14785 X"$file" : 'X\(//\)$' \| \
14786 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14787 $as_echo X"$file" |
14788 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14789 s//\1/
14792 /^X\(\/\/\)[^/].*/{
14793 s//\1/
14796 /^X\(\/\/\)$/{
14797 s//\1/
14800 /^X\(\/\).*/{
14801 s//\1/
14804 s/.*/./; q'`
14805 as_dir=$dirpart/$fdir; as_fn_mkdir_p
14806 # echo "creating $dirpart/$file"
14807 echo '# dummy' > "$dirpart/$file"
14808 done
14809 done
14812 "libtool":C)
14814 # See if we are running on zsh, and set the options which allow our
14815 # commands through without removal of \ escapes.
14816 if test -n "${ZSH_VERSION+set}" ; then
14817 setopt NO_GLOB_SUBST
14820 cfgfile="${ofile}T"
14821 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14822 $RM "$cfgfile"
14824 cat <<_LT_EOF >> "$cfgfile"
14825 #! $SHELL
14827 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14828 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14829 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14830 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14832 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14833 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
14834 # Inc.
14835 # Written by Gordon Matzigkeit, 1996
14837 # This file is part of GNU Libtool.
14839 # GNU Libtool is free software; you can redistribute it and/or
14840 # modify it under the terms of the GNU General Public License as
14841 # published by the Free Software Foundation; either version 2 of
14842 # the License, or (at your option) any later version.
14844 # As a special exception to the GNU General Public License,
14845 # if you distribute this file as part of a program or library that
14846 # is built using GNU Libtool, you may include this file under the
14847 # same distribution terms that you use for the rest of that program.
14849 # GNU Libtool is distributed in the hope that it will be useful,
14850 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14851 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14852 # GNU General Public License for more details.
14854 # You should have received a copy of the GNU General Public License
14855 # along with GNU Libtool; see the file COPYING. If not, a copy
14856 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14857 # obtained by writing to the Free Software Foundation, Inc.,
14858 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14861 # The names of the tagged configurations supported by this script.
14862 available_tags=""
14864 # ### BEGIN LIBTOOL CONFIG
14866 # Whether or not to build static libraries.
14867 build_old_libs=$enable_static
14869 # Whether or not to build shared libraries.
14870 build_libtool_libs=$enable_shared
14872 # Which release of libtool.m4 was used?
14873 macro_version=$macro_version
14874 macro_revision=$macro_revision
14876 # What type of objects to build.
14877 pic_mode=$pic_mode
14879 # Whether or not to optimize for fast installation.
14880 fast_install=$enable_fast_install
14882 # Shell to use when invoking shell scripts.
14883 SHELL=$lt_SHELL
14885 # An echo program that protects backslashes.
14886 ECHO=$lt_ECHO
14888 # The host system.
14889 host_alias=$host_alias
14890 host=$host
14891 host_os=$host_os
14893 # The build system.
14894 build_alias=$build_alias
14895 build=$build
14896 build_os=$build_os
14898 # A sed program that does not truncate output.
14899 SED=$lt_SED
14901 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14902 Xsed="\$SED -e 1s/^X//"
14904 # A grep program that handles long lines.
14905 GREP=$lt_GREP
14907 # An ERE matcher.
14908 EGREP=$lt_EGREP
14910 # A literal string matcher.
14911 FGREP=$lt_FGREP
14913 # A BSD- or MS-compatible name lister.
14914 NM=$lt_NM
14916 # Whether we need soft or hard links.
14917 LN_S=$lt_LN_S
14919 # What is the maximum length of a command?
14920 max_cmd_len=$max_cmd_len
14922 # Object file suffix (normally "o").
14923 objext=$ac_objext
14925 # Executable file suffix (normally "").
14926 exeext=$exeext
14928 # whether the shell understands "unset".
14929 lt_unset=$lt_unset
14931 # turn spaces into newlines.
14932 SP2NL=$lt_lt_SP2NL
14934 # turn newlines into spaces.
14935 NL2SP=$lt_lt_NL2SP
14937 # An object symbol dumper.
14938 OBJDUMP=$lt_OBJDUMP
14940 # Method to check whether dependent libraries are shared objects.
14941 deplibs_check_method=$lt_deplibs_check_method
14943 # Command to use when deplibs_check_method == "file_magic".
14944 file_magic_cmd=$lt_file_magic_cmd
14946 # The archiver.
14947 AR=$lt_AR
14948 AR_FLAGS=$lt_AR_FLAGS
14950 # A symbol stripping program.
14951 STRIP=$lt_STRIP
14953 # Commands used to install an old-style archive.
14954 RANLIB=$lt_RANLIB
14955 old_postinstall_cmds=$lt_old_postinstall_cmds
14956 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14958 # Whether to use a lock for old archive extraction.
14959 lock_old_archive_extraction=$lock_old_archive_extraction
14961 # A C compiler.
14962 LTCC=$lt_CC
14964 # LTCC compiler flags.
14965 LTCFLAGS=$lt_CFLAGS
14967 # Take the output of nm and produce a listing of raw symbols and C names.
14968 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14970 # Transform the output of nm in a proper C declaration.
14971 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14973 # Transform the output of nm in a C name address pair.
14974 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14976 # Transform the output of nm in a C name address pair when lib prefix is needed.
14977 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14979 # The name of the directory that contains temporary libtool files.
14980 objdir=$objdir
14982 # Used to examine libraries when file_magic_cmd begins with "file".
14983 MAGIC_CMD=$MAGIC_CMD
14985 # Must we lock files when doing compilation?
14986 need_locks=$lt_need_locks
14988 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14989 DSYMUTIL=$lt_DSYMUTIL
14991 # Tool to change global to local symbols on Mac OS X.
14992 NMEDIT=$lt_NMEDIT
14994 # Tool to manipulate fat objects and archives on Mac OS X.
14995 LIPO=$lt_LIPO
14997 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14998 OTOOL=$lt_OTOOL
15000 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15001 OTOOL64=$lt_OTOOL64
15003 # Old archive suffix (normally "a").
15004 libext=$libext
15006 # Shared library suffix (normally ".so").
15007 shrext_cmds=$lt_shrext_cmds
15009 # The commands to extract the exported symbol list from a shared archive.
15010 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15012 # Variables whose values should be saved in libtool wrapper scripts and
15013 # restored at link time.
15014 variables_saved_for_relink=$lt_variables_saved_for_relink
15016 # Do we need the "lib" prefix for modules?
15017 need_lib_prefix=$need_lib_prefix
15019 # Do we need a version for libraries?
15020 need_version=$need_version
15022 # Library versioning type.
15023 version_type=$version_type
15025 # Shared library runtime path variable.
15026 runpath_var=$runpath_var
15028 # Shared library path variable.
15029 shlibpath_var=$shlibpath_var
15031 # Is shlibpath searched before the hard-coded library search path?
15032 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15034 # Format of library name prefix.
15035 libname_spec=$lt_libname_spec
15037 # List of archive names. First name is the real one, the rest are links.
15038 # The last name is the one that the linker finds with -lNAME
15039 library_names_spec=$lt_library_names_spec
15041 # The coded name of the library, if different from the real name.
15042 soname_spec=$lt_soname_spec
15044 # Permission mode override for installation of shared libraries.
15045 install_override_mode=$lt_install_override_mode
15047 # Command to use after installation of a shared archive.
15048 postinstall_cmds=$lt_postinstall_cmds
15050 # Command to use after uninstallation of a shared archive.
15051 postuninstall_cmds=$lt_postuninstall_cmds
15053 # Commands used to finish a libtool library installation in a directory.
15054 finish_cmds=$lt_finish_cmds
15056 # As "finish_cmds", except a single script fragment to be evaled but
15057 # not shown.
15058 finish_eval=$lt_finish_eval
15060 # Whether we should hardcode library paths into libraries.
15061 hardcode_into_libs=$hardcode_into_libs
15063 # Compile-time system search path for libraries.
15064 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15066 # Run-time system search path for libraries.
15067 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15069 # Whether dlopen is supported.
15070 dlopen_support=$enable_dlopen
15072 # Whether dlopen of programs is supported.
15073 dlopen_self=$enable_dlopen_self
15075 # Whether dlopen of statically linked programs is supported.
15076 dlopen_self_static=$enable_dlopen_self_static
15078 # Commands to strip libraries.
15079 old_striplib=$lt_old_striplib
15080 striplib=$lt_striplib
15083 # The linker used to build libraries.
15084 LD=$lt_LD
15086 # How to create reloadable object files.
15087 reload_flag=$lt_reload_flag
15088 reload_cmds=$lt_reload_cmds
15090 # Commands used to build an old-style archive.
15091 old_archive_cmds=$lt_old_archive_cmds
15093 # A language specific compiler.
15094 CC=$lt_compiler
15096 # Is the compiler the GNU compiler?
15097 with_gcc=$GCC
15099 # Compiler flag to turn off builtin functions.
15100 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15102 # How to pass a linker flag through the compiler.
15103 wl=$lt_lt_prog_compiler_wl
15105 # Additional compiler flags for building library objects.
15106 pic_flag=$lt_lt_prog_compiler_pic
15108 # Compiler flag to prevent dynamic linking.
15109 link_static_flag=$lt_lt_prog_compiler_static
15111 # Does compiler simultaneously support -c and -o options?
15112 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15114 # Whether or not to add -lc for building shared libraries.
15115 build_libtool_need_lc=$archive_cmds_need_lc
15117 # Whether or not to disallow shared libs when runtime libs are static.
15118 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15120 # Compiler flag to allow reflexive dlopens.
15121 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15123 # Compiler flag to generate shared objects directly from archives.
15124 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15126 # Whether the compiler copes with passing no objects directly.
15127 compiler_needs_object=$lt_compiler_needs_object
15129 # Create an old-style archive from a shared archive.
15130 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15132 # Create a temporary old-style archive to link instead of a shared archive.
15133 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15135 # Commands used to build a shared archive.
15136 archive_cmds=$lt_archive_cmds
15137 archive_expsym_cmds=$lt_archive_expsym_cmds
15139 # Commands used to build a loadable module if different from building
15140 # a shared archive.
15141 module_cmds=$lt_module_cmds
15142 module_expsym_cmds=$lt_module_expsym_cmds
15144 # Whether we are building with GNU ld or not.
15145 with_gnu_ld=$lt_with_gnu_ld
15147 # Flag that allows shared libraries with undefined symbols to be built.
15148 allow_undefined_flag=$lt_allow_undefined_flag
15150 # Flag that enforces no undefined symbols.
15151 no_undefined_flag=$lt_no_undefined_flag
15153 # Flag to hardcode \$libdir into a binary during linking.
15154 # This must work even if \$libdir does not exist
15155 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15157 # If ld is used when linking, flag to hardcode \$libdir into a binary
15158 # during linking. This must work even if \$libdir does not exist.
15159 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15161 # Whether we need a single "-rpath" flag with a separated argument.
15162 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15164 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15165 # DIR into the resulting binary.
15166 hardcode_direct=$hardcode_direct
15168 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15169 # DIR into the resulting binary and the resulting library dependency is
15170 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15171 # library is relocated.
15172 hardcode_direct_absolute=$hardcode_direct_absolute
15174 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15175 # into the resulting binary.
15176 hardcode_minus_L=$hardcode_minus_L
15178 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15179 # into the resulting binary.
15180 hardcode_shlibpath_var=$hardcode_shlibpath_var
15182 # Set to "yes" if building a shared library automatically hardcodes DIR
15183 # into the library and all subsequent libraries and executables linked
15184 # against it.
15185 hardcode_automatic=$hardcode_automatic
15187 # Set to yes if linker adds runtime paths of dependent libraries
15188 # to runtime path list.
15189 inherit_rpath=$inherit_rpath
15191 # Whether libtool must link a program against all its dependency libraries.
15192 link_all_deplibs=$link_all_deplibs
15194 # Fix the shell variable \$srcfile for the compiler.
15195 fix_srcfile_path=$lt_fix_srcfile_path
15197 # Set to "yes" if exported symbols are required.
15198 always_export_symbols=$always_export_symbols
15200 # The commands to list exported symbols.
15201 export_symbols_cmds=$lt_export_symbols_cmds
15203 # Symbols that should not be listed in the preloaded symbols.
15204 exclude_expsyms=$lt_exclude_expsyms
15206 # Symbols that must always be exported.
15207 include_expsyms=$lt_include_expsyms
15209 # Commands necessary for linking programs (against libraries) with templates.
15210 prelink_cmds=$lt_prelink_cmds
15212 # Specify filename containing input files.
15213 file_list_spec=$lt_file_list_spec
15215 # How to hardcode a shared library path into an executable.
15216 hardcode_action=$hardcode_action
15218 # ### END LIBTOOL CONFIG
15220 _LT_EOF
15222 case $host_os in
15223 aix3*)
15224 cat <<\_LT_EOF >> "$cfgfile"
15225 # AIX sometimes has problems with the GCC collect2 program. For some
15226 # reason, if we set the COLLECT_NAMES environment variable, the problems
15227 # vanish in a puff of smoke.
15228 if test "X${COLLECT_NAMES+set}" != Xset; then
15229 COLLECT_NAMES=
15230 export COLLECT_NAMES
15232 _LT_EOF
15234 esac
15237 ltmain="$ac_aux_dir/ltmain.sh"
15240 # We use sed instead of cat because bash on DJGPP gets confused if
15241 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15242 # text mode, it properly converts lines to CR/LF. This bash problem
15243 # is reportedly fixed, but why not run on old versions too?
15244 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15245 || (rm -f "$cfgfile"; exit 1)
15247 case $xsi_shell in
15248 yes)
15249 cat << \_LT_EOF >> "$cfgfile"
15251 # func_dirname file append nondir_replacement
15252 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15253 # otherwise set result to NONDIR_REPLACEMENT.
15254 func_dirname ()
15256 case ${1} in
15257 */*) func_dirname_result="${1%/*}${2}" ;;
15258 * ) func_dirname_result="${3}" ;;
15259 esac
15262 # func_basename file
15263 func_basename ()
15265 func_basename_result="${1##*/}"
15268 # func_dirname_and_basename file append nondir_replacement
15269 # perform func_basename and func_dirname in a single function
15270 # call:
15271 # dirname: Compute the dirname of FILE. If nonempty,
15272 # add APPEND to the result, otherwise set result
15273 # to NONDIR_REPLACEMENT.
15274 # value returned in "$func_dirname_result"
15275 # basename: Compute filename of FILE.
15276 # value retuned in "$func_basename_result"
15277 # Implementation must be kept synchronized with func_dirname
15278 # and func_basename. For efficiency, we do not delegate to
15279 # those functions but instead duplicate the functionality here.
15280 func_dirname_and_basename ()
15282 case ${1} in
15283 */*) func_dirname_result="${1%/*}${2}" ;;
15284 * ) func_dirname_result="${3}" ;;
15285 esac
15286 func_basename_result="${1##*/}"
15289 # func_stripname prefix suffix name
15290 # strip PREFIX and SUFFIX off of NAME.
15291 # PREFIX and SUFFIX must not contain globbing or regex special
15292 # characters, hashes, percent signs, but SUFFIX may contain a leading
15293 # dot (in which case that matches only a dot).
15294 func_stripname ()
15296 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15297 # positional parameters, so assign one to ordinary parameter first.
15298 func_stripname_result=${3}
15299 func_stripname_result=${func_stripname_result#"${1}"}
15300 func_stripname_result=${func_stripname_result%"${2}"}
15303 # func_opt_split
15304 func_opt_split ()
15306 func_opt_split_opt=${1%%=*}
15307 func_opt_split_arg=${1#*=}
15310 # func_lo2o object
15311 func_lo2o ()
15313 case ${1} in
15314 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15315 *) func_lo2o_result=${1} ;;
15316 esac
15319 # func_xform libobj-or-source
15320 func_xform ()
15322 func_xform_result=${1%.*}.lo
15325 # func_arith arithmetic-term...
15326 func_arith ()
15328 func_arith_result=$(( $* ))
15331 # func_len string
15332 # STRING may not start with a hyphen.
15333 func_len ()
15335 func_len_result=${#1}
15338 _LT_EOF
15340 *) # Bourne compatible functions.
15341 cat << \_LT_EOF >> "$cfgfile"
15343 # func_dirname file append nondir_replacement
15344 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15345 # otherwise set result to NONDIR_REPLACEMENT.
15346 func_dirname ()
15348 # Extract subdirectory from the argument.
15349 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
15350 if test "X$func_dirname_result" = "X${1}"; then
15351 func_dirname_result="${3}"
15352 else
15353 func_dirname_result="$func_dirname_result${2}"
15357 # func_basename file
15358 func_basename ()
15360 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
15364 # func_stripname prefix suffix name
15365 # strip PREFIX and SUFFIX off of NAME.
15366 # PREFIX and SUFFIX must not contain globbing or regex special
15367 # characters, hashes, percent signs, but SUFFIX may contain a leading
15368 # dot (in which case that matches only a dot).
15369 # func_strip_suffix prefix name
15370 func_stripname ()
15372 case ${2} in
15373 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
15374 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
15375 esac
15378 # sed scripts:
15379 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
15380 my_sed_long_arg='1s/^-[^=]*=//'
15382 # func_opt_split
15383 func_opt_split ()
15385 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
15386 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
15389 # func_lo2o object
15390 func_lo2o ()
15392 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
15395 # func_xform libobj-or-source
15396 func_xform ()
15398 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
15401 # func_arith arithmetic-term...
15402 func_arith ()
15404 func_arith_result=`expr "$@"`
15407 # func_len string
15408 # STRING may not start with a hyphen.
15409 func_len ()
15411 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15414 _LT_EOF
15415 esac
15417 case $lt_shell_append in
15418 yes)
15419 cat << \_LT_EOF >> "$cfgfile"
15421 # func_append var value
15422 # Append VALUE to the end of shell variable VAR.
15423 func_append ()
15425 eval "$1+=\$2"
15427 _LT_EOF
15430 cat << \_LT_EOF >> "$cfgfile"
15432 # func_append var value
15433 # Append VALUE to the end of shell variable VAR.
15434 func_append ()
15436 eval "$1=\$$1\$2"
15439 _LT_EOF
15441 esac
15444 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15445 || (rm -f "$cfgfile"; exit 1)
15447 mv -f "$cfgfile" "$ofile" ||
15448 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15449 chmod +x "$ofile"
15453 esac
15454 done # for ac_tag
15457 as_fn_exit 0
15458 _ACEOF
15459 ac_clean_files=$ac_clean_files_save
15461 test $ac_write_fail = 0 ||
15462 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15465 # configure is writing to config.log, and then calls config.status.
15466 # config.status does its own redirection, appending to config.log.
15467 # Unfortunately, on DOS this fails, as config.log is still kept open
15468 # by configure, so config.status won't be able to write to it; its
15469 # output is simply discarded. So we exec the FD to /dev/null,
15470 # effectively closing config.log, so it can be properly (re)opened and
15471 # appended to by config.status. When coming back to configure, we
15472 # need to make the FD available again.
15473 if test "$no_create" != yes; then
15474 ac_cs_success=:
15475 ac_config_status_args=
15476 test "$silent" = yes &&
15477 ac_config_status_args="$ac_config_status_args --quiet"
15478 exec 5>/dev/null
15479 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15480 exec 5>>config.log
15481 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15482 # would make configure fail if this is the last instruction.
15483 $ac_cs_success || as_fn_exit 1
15485 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15487 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15492 ## enable AMD64 assembly code : ${asm_msg_amd64}
15493 cat <<EOF
15495 LZO configuration summary
15496 -------------------------
15497 LZO version : ${PACKAGE_VERSION}
15498 configured for host : ${host_cpu}-${host_vendor}-${host_os}
15499 source code location : ${srcdir}
15500 compiler : ${CC}
15501 preprocessor definitions : ${DEFS}
15502 preprocessor flags : ${CPPFLAGS}
15503 compiler flags : ${CFLAGS}
15504 build static library : ${enable_static}
15505 build shared library : ${enable_shared}
15506 enable i386 assembly code : ${asm_msg_i386}
15509 LZO ${PACKAGE_VERSION} configured.
15511 Copyright (C) 1996-2011 Markus Franz Xaver Johannes Oberhumer
15512 All Rights Reserved.
15514 The LZO library is free software; you can redistribute it and/or
15515 modify it under the terms of the GNU General Public License as
15516 published by the Free Software Foundation; either version 2 of
15517 the License, or (at your option) any later version.
15519 The LZO library is distributed in the hope that it will be useful,
15520 but WITHOUT ANY WARRANTY; without even the implied warranty of
15521 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15522 GNU General Public License for more details.
15524 Markus F.X.J. Oberhumer
15525 <markus@oberhumer.com>
15526 http://www.oberhumer.com/opensource/lzo/
15529 Type \`make' to build LZO. Type \`make install' to install LZO.
15530 After installing LZO, please read the accompanied documentation.
15534 # vi:ts=4:et