• R/O
  • HTTP
  • SSH
  • HTTPS

ccunit: Commit

A C Unit Test Library for C language.


Commit MetaInfo

Révision74c8aff60171daca4f8192530ff12c5f00693b0c (tree)
l'heure2013-07-13 16:36:31
Auteurtsntsumi <tsntsumi@user...>
Commitertsntsumi

Message de Log

Started the tracking of configure.

Change Summary

Modification

--- a/.gitignore
+++ b/.gitignore
@@ -18,7 +18,6 @@ config.h
1818 config.h.in
1919 config.log
2020 config.status
21-configure
2221 configure.ac.mdi
2322 configure.scan
2423 libtool
--- /dev/null
+++ b/configure
@@ -0,0 +1,15222 @@
1+#! /bin/sh
2+# From configure.ac Revision.
3+# Guess values for system-dependent variables and create Makefiles.
4+# Generated by GNU Autoconf 2.69 for CCUnit 2.1.
5+#
6+# Report bugs to <tsntsumi@users.sourceforge.jp>.
7+#
8+#
9+# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
10+#
11+#
12+# This configure script is free software; the Free Software Foundation
13+# gives unlimited permission to copy, distribute and modify it.
14+## -------------------- ##
15+## M4sh Initialization. ##
16+## -------------------- ##
17+
18+# Be more Bourne compatible
19+DUALCASE=1; export DUALCASE # for MKS sh
20+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21+ emulate sh
22+ NULLCMD=:
23+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24+ # is contrary to our usage. Disable this feature.
25+ alias -g '${1+"$@"}'='"$@"'
26+ setopt NO_GLOB_SUBST
27+else
28+ case `(set -o) 2>/dev/null` in #(
29+ *posix*) :
30+ set -o posix ;; #(
31+ *) :
32+ ;;
33+esac
34+fi
35+
36+
37+as_nl='
38+'
39+export as_nl
40+# Printing a long string crashes Solaris 7 /usr/bin/printf.
41+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
42+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
43+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
44+# Prefer a ksh shell builtin over an external printf program on Solaris,
45+# but without wasting forks for bash or zsh.
46+if test -z "$BASH_VERSION$ZSH_VERSION" \
47+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48+ as_echo='print -r --'
49+ as_echo_n='print -rn --'
50+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51+ as_echo='printf %s\n'
52+ as_echo_n='printf %s'
53+else
54+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
55+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
56+ as_echo_n='/usr/ucb/echo -n'
57+ else
58+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
59+ as_echo_n_body='eval
60+ arg=$1;
61+ case $arg in #(
62+ *"$as_nl"*)
63+ expr "X$arg" : "X\\(.*\\)$as_nl";
64+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65+ esac;
66+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67+ '
68+ export as_echo_n_body
69+ as_echo_n='sh -c $as_echo_n_body as_echo'
70+ fi
71+ export as_echo_body
72+ as_echo='sh -c $as_echo_body as_echo'
73+fi
74+
75+# The user is always right.
76+if test "${PATH_SEPARATOR+set}" != set; then
77+ PATH_SEPARATOR=:
78+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
80+ PATH_SEPARATOR=';'
81+ }
82+fi
83+
84+
85+# IFS
86+# We need space, tab and new line, in precisely that order. Quoting is
87+# there to prevent editors from complaining about space-tab.
88+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
89+# splitting by setting IFS to empty value.)
90+IFS=" "" $as_nl"
91+
92+# Find who we are. Look in the path if we contain no directory separator.
93+as_myself=
94+case $0 in #((
95+ *[\\/]* ) as_myself=$0 ;;
96+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97+for as_dir in $PATH
98+do
99+ IFS=$as_save_IFS
100+ test -z "$as_dir" && as_dir=.
101+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
102+ done
103+IFS=$as_save_IFS
104+
105+ ;;
106+esac
107+# We did not find ourselves, most probably we were run as `sh COMMAND'
108+# in which case we are not to be found in the path.
109+if test "x$as_myself" = x; then
110+ as_myself=$0
111+fi
112+if test ! -f "$as_myself"; then
113+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114+ exit 1
115+fi
116+
117+# Unset variables that we do not need and which cause bugs (e.g. in
118+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119+# suppresses any "Segmentation fault" message there. '((' could
120+# trigger a bug in pdksh 5.2.14.
121+for as_var in BASH_ENV ENV MAIL MAILPATH
122+do eval test x\${$as_var+set} = xset \
123+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
124+done
125+PS1='$ '
126+PS2='> '
127+PS4='+ '
128+
129+# NLS nuisances.
130+LC_ALL=C
131+export LC_ALL
132+LANGUAGE=C
133+export LANGUAGE
134+
135+# CDPATH.
136+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137+
138+# Use a proper internal environment variable to ensure we don't fall
139+ # into an infinite loop, continuously re-executing ourselves.
140+ if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
141+ _as_can_reexec=no; export _as_can_reexec;
142+ # We cannot yet assume a decent shell, so we have to provide a
143+# neutralization value for shells without unset; and this also
144+# works around shells that cannot unset nonexistent variables.
145+# Preserve -v and -x to the replacement shell.
146+BASH_ENV=/dev/null
147+ENV=/dev/null
148+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149+case $- in # ((((
150+ *v*x* | *x*v* ) as_opts=-vx ;;
151+ *v* ) as_opts=-v ;;
152+ *x* ) as_opts=-x ;;
153+ * ) as_opts= ;;
154+esac
155+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
156+# Admittedly, this is quite paranoid, since all the known shells bail
157+# out after a failed `exec'.
158+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
159+as_fn_exit 255
160+ fi
161+ # We don't want this to propagate to other subprocesses.
162+ { _as_can_reexec=; unset _as_can_reexec;}
163+if test "x$CONFIG_SHELL" = x; then
164+ as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
165+ emulate sh
166+ NULLCMD=:
167+ # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
168+ # is contrary to our usage. Disable this feature.
169+ alias -g '\${1+\"\$@\"}'='\"\$@\"'
170+ setopt NO_GLOB_SUBST
171+else
172+ case \`(set -o) 2>/dev/null\` in #(
173+ *posix*) :
174+ set -o posix ;; #(
175+ *) :
176+ ;;
177+esac
178+fi
179+"
180+ as_required="as_fn_return () { (exit \$1); }
181+as_fn_success () { as_fn_return 0; }
182+as_fn_failure () { as_fn_return 1; }
183+as_fn_ret_success () { return 0; }
184+as_fn_ret_failure () { return 1; }
185+
186+exitcode=0
187+as_fn_success || { exitcode=1; echo as_fn_success failed.; }
188+as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
189+as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
190+as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
191+if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192+
193+else
194+ exitcode=1; echo positional parameters were not saved.
195+fi
196+test x\$exitcode = x0 || exit 1
197+test -x / || exit 1"
198+ as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
199+ as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
200+ eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
201+ test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202+test \$(( 1 + 1 )) = 2 || exit 1
203+
204+ test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
205+ ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
206+ ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207+ ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
208+ PATH=/empty FPATH=/empty; export PATH FPATH
209+ test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
210+ || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
211+ if (eval "$as_required") 2>/dev/null; then :
212+ as_have_required=yes
213+else
214+ as_have_required=no
215+fi
216+ if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
217+
218+else
219+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220+as_found=false
221+for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
222+do
223+ IFS=$as_save_IFS
224+ test -z "$as_dir" && as_dir=.
225+ as_found=:
226+ case $as_dir in #(
227+ /*)
228+ for as_base in sh bash ksh sh5; do
229+ # Try only shells that exist, to save several forks.
230+ as_shell=$as_dir/$as_base
231+ if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
232+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
233+ CONFIG_SHELL=$as_shell as_have_required=yes
234+ if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
235+ break 2
236+fi
237+fi
238+ done;;
239+ esac
240+ as_found=false
241+done
242+$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
243+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
244+ CONFIG_SHELL=$SHELL as_have_required=yes
245+fi; }
246+IFS=$as_save_IFS
247+
248+
249+ if test "x$CONFIG_SHELL" != x; then :
250+ export CONFIG_SHELL
251+ # We cannot yet assume a decent shell, so we have to provide a
252+# neutralization value for shells without unset; and this also
253+# works around shells that cannot unset nonexistent variables.
254+# Preserve -v and -x to the replacement shell.
255+BASH_ENV=/dev/null
256+ENV=/dev/null
257+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258+case $- in # ((((
259+ *v*x* | *x*v* ) as_opts=-vx ;;
260+ *v* ) as_opts=-v ;;
261+ *x* ) as_opts=-x ;;
262+ * ) as_opts= ;;
263+esac
264+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
265+# Admittedly, this is quite paranoid, since all the known shells bail
266+# out after a failed `exec'.
267+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
268+exit 255
269+fi
270+
271+ if test x$as_have_required = xno; then :
272+ $as_echo "$0: This script requires a shell more modern than all"
273+ $as_echo "$0: the shells that I found on your system."
274+ if test x${ZSH_VERSION+set} = xset ; then
275+ $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
276+ $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277+ else
278+ $as_echo "$0: Please tell bug-autoconf@gnu.org and
279+$0: tsntsumi@users.sourceforge.jp about your system,
280+$0: including any error possibly output before this
281+$0: message. Then install a modern shell, or manually run
282+$0: the script under such a shell if you do have one."
283+ fi
284+ exit 1
285+fi
286+fi
287+fi
288+SHELL=${CONFIG_SHELL-/bin/sh}
289+export SHELL
290+# Unset more variables known to interfere with behavior of common tools.
291+CLICOLOR_FORCE= GREP_OPTIONS=
292+unset CLICOLOR_FORCE GREP_OPTIONS
293+
294+## --------------------- ##
295+## M4sh Shell Functions. ##
296+## --------------------- ##
297+# as_fn_unset VAR
298+# ---------------
299+# Portably unset VAR.
300+as_fn_unset ()
301+{
302+ { eval $1=; unset $1;}
303+}
304+as_unset=as_fn_unset
305+
306+# as_fn_set_status STATUS
307+# -----------------------
308+# Set $? to STATUS, without forking.
309+as_fn_set_status ()
310+{
311+ return $1
312+} # as_fn_set_status
313+
314+# as_fn_exit STATUS
315+# -----------------
316+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317+as_fn_exit ()
318+{
319+ set +e
320+ as_fn_set_status $1
321+ exit $1
322+} # as_fn_exit
323+
324+# as_fn_mkdir_p
325+# -------------
326+# Create "$as_dir" as a directory, including parents if necessary.
327+as_fn_mkdir_p ()
328+{
329+
330+ case $as_dir in #(
331+ -*) as_dir=./$as_dir;;
332+ esac
333+ test -d "$as_dir" || eval $as_mkdir_p || {
334+ as_dirs=
335+ while :; do
336+ case $as_dir in #(
337+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
338+ *) as_qdir=$as_dir;;
339+ esac
340+ as_dirs="'$as_qdir' $as_dirs"
341+ as_dir=`$as_dirname -- "$as_dir" ||
342+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343+ X"$as_dir" : 'X\(//\)[^/]' \| \
344+ X"$as_dir" : 'X\(//\)$' \| \
345+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346+$as_echo X"$as_dir" |
347+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
348+ s//\1/
349+ q
350+ }
351+ /^X\(\/\/\)[^/].*/{
352+ s//\1/
353+ q
354+ }
355+ /^X\(\/\/\)$/{
356+ s//\1/
357+ q
358+ }
359+ /^X\(\/\).*/{
360+ s//\1/
361+ q
362+ }
363+ s/.*/./; q'`
364+ test -d "$as_dir" && break
365+ done
366+ test -z "$as_dirs" || eval "mkdir $as_dirs"
367+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
368+
369+
370+} # as_fn_mkdir_p
371+
372+# as_fn_executable_p FILE
373+# -----------------------
374+# Test if FILE is an executable regular file.
375+as_fn_executable_p ()
376+{
377+ test -f "$1" && test -x "$1"
378+} # as_fn_executable_p
379+# as_fn_append VAR VALUE
380+# ----------------------
381+# Append the text in VALUE to the end of the definition contained in VAR. Take
382+# advantage of any shell optimizations that allow amortized linear growth over
383+# repeated appends, instead of the typical quadratic growth present in naive
384+# implementations.
385+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
386+ eval 'as_fn_append ()
387+ {
388+ eval $1+=\$2
389+ }'
390+else
391+ as_fn_append ()
392+ {
393+ eval $1=\$$1\$2
394+ }
395+fi # as_fn_append
396+
397+# as_fn_arith ARG...
398+# ------------------
399+# Perform arithmetic evaluation on the ARGs, and store the result in the
400+# global $as_val. Take advantage of shells that can avoid forks. The arguments
401+# must be portable across $(()) and expr.
402+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
403+ eval 'as_fn_arith ()
404+ {
405+ as_val=$(( $* ))
406+ }'
407+else
408+ as_fn_arith ()
409+ {
410+ as_val=`expr "$@" || test $? -eq 1`
411+ }
412+fi # as_fn_arith
413+
414+
415+# as_fn_error STATUS ERROR [LINENO LOG_FD]
416+# ----------------------------------------
417+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419+# script with STATUS, using 1 if that was 0.
420+as_fn_error ()
421+{
422+ as_status=$1; test $as_status -eq 0 && as_status=1
423+ if test "$4"; then
424+ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426+ fi
427+ $as_echo "$as_me: error: $2" >&2
428+ as_fn_exit $as_status
429+} # as_fn_error
430+
431+if expr a : '\(a\)' >/dev/null 2>&1 &&
432+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
433+ as_expr=expr
434+else
435+ as_expr=false
436+fi
437+
438+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
439+ as_basename=basename
440+else
441+ as_basename=false
442+fi
443+
444+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
445+ as_dirname=dirname
446+else
447+ as_dirname=false
448+fi
449+
450+as_me=`$as_basename -- "$0" ||
451+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452+ X"$0" : 'X\(//\)$' \| \
453+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454+$as_echo X/"$0" |
455+ sed '/^.*\/\([^/][^/]*\)\/*$/{
456+ s//\1/
457+ q
458+ }
459+ /^X\/\(\/\/\)$/{
460+ s//\1/
461+ q
462+ }
463+ /^X\/\(\/\).*/{
464+ s//\1/
465+ q
466+ }
467+ s/.*/./; q'`
468+
469+# Avoid depending upon Character Ranges.
470+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
471+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
472+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
473+as_cr_digits='0123456789'
474+as_cr_alnum=$as_cr_Letters$as_cr_digits
475+
476+
477+ as_lineno_1=$LINENO as_lineno_1a=$LINENO
478+ as_lineno_2=$LINENO as_lineno_2a=$LINENO
479+ eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
480+ test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
481+ # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
482+ sed -n '
483+ p
484+ /[$]LINENO/=
485+ ' <$as_myself |
486+ sed '
487+ s/[$]LINENO.*/&-/
488+ t lineno
489+ b
490+ :lineno
491+ N
492+ :loop
493+ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
494+ t loop
495+ s/-\n.*//
496+ ' >$as_me.lineno &&
497+ chmod +x "$as_me.lineno" ||
498+ { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499+
500+ # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501+ # already done that, so ensure we don't try to do so again and fall
502+ # in an infinite loop. This has already happened in practice.
503+ _as_can_reexec=no; export _as_can_reexec
504+ # Don't try to exec as it changes $[0], causing all sort of problems
505+ # (the dirname of $[0] is not the place where we might find the
506+ # original and so on. Autoconf is especially sensitive to this).
507+ . "./$as_me.lineno"
508+ # Exit status is that of the last command.
509+ exit
510+}
511+
512+ECHO_C= ECHO_N= ECHO_T=
513+case `echo -n x` in #(((((
514+-n*)
515+ case `echo 'xy\c'` in
516+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
517+ xy) ECHO_C='\c';;
518+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
519+ ECHO_T=' ';;
520+ esac;;
521+*)
522+ ECHO_N='-n';;
523+esac
524+
525+rm -f conf$$ conf$$.exe conf$$.file
526+if test -d conf$$.dir; then
527+ rm -f conf$$.dir/conf$$.file
528+else
529+ rm -f conf$$.dir
530+ mkdir conf$$.dir 2>/dev/null
531+fi
532+if (echo >conf$$.file) 2>/dev/null; then
533+ if ln -s conf$$.file conf$$ 2>/dev/null; then
534+ as_ln_s='ln -s'
535+ # ... but there are two gotchas:
536+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538+ # In both cases, we have to default to `cp -pR'.
539+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540+ as_ln_s='cp -pR'
541+ elif ln conf$$.file conf$$ 2>/dev/null; then
542+ as_ln_s=ln
543+ else
544+ as_ln_s='cp -pR'
545+ fi
546+else
547+ as_ln_s='cp -pR'
548+fi
549+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550+rmdir conf$$.dir 2>/dev/null
551+
552+if mkdir -p . 2>/dev/null; then
553+ as_mkdir_p='mkdir -p "$as_dir"'
554+else
555+ test -d ./-p && rmdir ./-p
556+ as_mkdir_p=false
557+fi
558+
559+as_test_x='test -x'
560+as_executable_p=as_fn_executable_p
561+
562+# Sed expression to map a string onto a valid CPP name.
563+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564+
565+# Sed expression to map a string onto a valid variable name.
566+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567+
568+SHELL=${CONFIG_SHELL-/bin/sh}
569+
570+
571+test -n "$DJDIR" || exec 7<&0 </dev/null
572+exec 6>&1
573+
574+# Name of the host.
575+# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
576+# so uname gets run too.
577+ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
578+
579+#
580+# Initializations.
581+#
582+ac_default_prefix=/usr/local
583+ac_clean_files=
584+ac_config_libobj_dir=.
585+LIBOBJS=
586+cross_compiling=no
587+subdirs=
588+MFLAGS=
589+MAKEFLAGS=
590+
591+# Identity of this package.
592+PACKAGE_NAME='CCUnit'
593+PACKAGE_TARNAME='ccunit'
594+PACKAGE_VERSION='2.1'
595+PACKAGE_STRING='CCUnit 2.1'
596+PACKAGE_BUGREPORT='tsntsumi@users.sourceforge.jp'
597+PACKAGE_URL='http://ccunit.sourceforge.jp'
598+
599+ac_unique_file="configure.ac"
600+# Factoring default headers for most tests.
601+ac_includes_default="\
602+#include <stdio.h>
603+#ifdef HAVE_SYS_TYPES_H
604+# include <sys/types.h>
605+#endif
606+#ifdef HAVE_SYS_STAT_H
607+# include <sys/stat.h>
608+#endif
609+#ifdef STDC_HEADERS
610+# include <stdlib.h>
611+# include <stddef.h>
612+#else
613+# ifdef HAVE_STDLIB_H
614+# include <stdlib.h>
615+# endif
616+#endif
617+#ifdef HAVE_STRING_H
618+# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
619+# include <memory.h>
620+# endif
621+# include <string.h>
622+#endif
623+#ifdef HAVE_STRINGS_H
624+# include <strings.h>
625+#endif
626+#ifdef HAVE_INTTYPES_H
627+# include <inttypes.h>
628+#endif
629+#ifdef HAVE_STDINT_H
630+# include <stdint.h>
631+#endif
632+#ifdef HAVE_UNISTD_H
633+# include <unistd.h>
634+#endif"
635+
636+ac_subst_vars='am__EXEEXT_FALSE
637+am__EXEEXT_TRUE
638+LTLIBOBJS
639+LIBOBJS
640+OTOOL64
641+OTOOL
642+LIPO
643+NMEDIT
644+DSYMUTIL
645+RANLIB
646+NM
647+ac_ct_DUMPBIN
648+DUMPBIN
649+LD
650+FGREP
651+SED
652+host_os
653+host_vendor
654+host_cpu
655+host
656+build_os
657+build_vendor
658+build_cpu
659+build
660+LIBTOOL
661+OBJDUMP
662+DLLTOOL
663+AS
664+ENABLE_JADOC_FALSE
665+ENABLE_JADOC_TRUE
666+COVERAGEFLAGS
667+enable_latex_docs
668+enable_html_docs
669+enable_dot
670+DOT_PATH
671+DOT
672+DOC_FALSE
673+DOC_TRUE
674+DOXYGEN
675+ac_ct_AR
676+AR
677+LN_S
678+EGREP
679+GREP
680+CPP
681+am__fastdepCC_FALSE
682+am__fastdepCC_TRUE
683+CCDEPMODE
684+am__nodep
685+AMDEPBACKSLASH
686+AMDEP_FALSE
687+AMDEP_TRUE
688+am__quote
689+am__include
690+DEPDIR
691+OBJEXT
692+EXEEXT
693+ac_ct_CC
694+CPPFLAGS
695+LDFLAGS
696+CFLAGS
697+CC
698+DISTDOCJADIR
699+DISTDOCDIR
700+am__untar
701+am__tar
702+AMTAR
703+am__leading_dot
704+SET_MAKE
705+AWK
706+mkdir_p
707+MKDIR_P
708+INSTALL_STRIP_PROGRAM
709+STRIP
710+install_sh
711+MAKEINFO
712+AUTOHEADER
713+AUTOMAKE
714+AUTOCONF
715+ACLOCAL
716+VERSION
717+PACKAGE
718+CYGPATH_W
719+am__isrc
720+INSTALL_DATA
721+INSTALL_SCRIPT
722+INSTALL_PROGRAM
723+target_alias
724+host_alias
725+build_alias
726+LIBS
727+ECHO_T
728+ECHO_N
729+ECHO_C
730+DEFS
731+mandir
732+localedir
733+libdir
734+psdir
735+pdfdir
736+dvidir
737+htmldir
738+infodir
739+docdir
740+oldincludedir
741+includedir
742+localstatedir
743+sharedstatedir
744+sysconfdir
745+datadir
746+datarootdir
747+libexecdir
748+sbindir
749+bindir
750+program_transform_name
751+prefix
752+exec_prefix
753+PACKAGE_URL
754+PACKAGE_BUGREPORT
755+PACKAGE_STRING
756+PACKAGE_VERSION
757+PACKAGE_TARNAME
758+PACKAGE_NAME
759+PATH_SEPARATOR
760+SHELL'
761+ac_subst_files=''
762+ac_user_opts='
763+enable_option_checking
764+enable_dependency_tracking
765+with_dmalloc
766+with_doxygen
767+with_dot
768+enable_html_docs
769+enable_latex_docs
770+enable_coverage
771+enable_japanese_doc
772+enable_shared
773+enable_static
774+with_pic
775+enable_fast_install
776+with_gnu_ld
777+enable_libtool_lock
778+'
779+ ac_precious_vars='build_alias
780+host_alias
781+target_alias
782+CC
783+CFLAGS
784+LDFLAGS
785+LIBS
786+CPPFLAGS
787+CPP'
788+
789+
790+# Initialize some variables set by options.
791+ac_init_help=
792+ac_init_version=false
793+ac_unrecognized_opts=
794+ac_unrecognized_sep=
795+# The variables have the same names as the options, with
796+# dashes changed to underlines.
797+cache_file=/dev/null
798+exec_prefix=NONE
799+no_create=
800+no_recursion=
801+prefix=NONE
802+program_prefix=NONE
803+program_suffix=NONE
804+program_transform_name=s,x,x,
805+silent=
806+site=
807+srcdir=
808+verbose=
809+x_includes=NONE
810+x_libraries=NONE
811+
812+# Installation directory options.
813+# These are left unexpanded so users can "make install exec_prefix=/foo"
814+# and all the variables that are supposed to be based on exec_prefix
815+# by default will actually change.
816+# Use braces instead of parens because sh, perl, etc. also accept them.
817+# (The list follows the same order as the GNU Coding Standards.)
818+bindir='${exec_prefix}/bin'
819+sbindir='${exec_prefix}/sbin'
820+libexecdir='${exec_prefix}/libexec'
821+datarootdir='${prefix}/share'
822+datadir='${datarootdir}'
823+sysconfdir='${prefix}/etc'
824+sharedstatedir='${prefix}/com'
825+localstatedir='${prefix}/var'
826+includedir='${prefix}/include'
827+oldincludedir='/usr/include'
828+docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
829+infodir='${datarootdir}/info'
830+htmldir='${docdir}'
831+dvidir='${docdir}'
832+pdfdir='${docdir}'
833+psdir='${docdir}'
834+libdir='${exec_prefix}/lib'
835+localedir='${datarootdir}/locale'
836+mandir='${datarootdir}/man'
837+
838+ac_prev=
839+ac_dashdash=
840+for ac_option
841+do
842+ # If the previous option needs an argument, assign it.
843+ if test -n "$ac_prev"; then
844+ eval $ac_prev=\$ac_option
845+ ac_prev=
846+ continue
847+ fi
848+
849+ case $ac_option in
850+ *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
851+ *=) ac_optarg= ;;
852+ *) ac_optarg=yes ;;
853+ esac
854+
855+ # Accept the important Cygnus configure options, so we can diagnose typos.
856+
857+ case $ac_dashdash$ac_option in
858+ --)
859+ ac_dashdash=yes ;;
860+
861+ -bindir | --bindir | --bindi | --bind | --bin | --bi)
862+ ac_prev=bindir ;;
863+ -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
864+ bindir=$ac_optarg ;;
865+
866+ -build | --build | --buil | --bui | --bu)
867+ ac_prev=build_alias ;;
868+ -build=* | --build=* | --buil=* | --bui=* | --bu=*)
869+ build_alias=$ac_optarg ;;
870+
871+ -cache-file | --cache-file | --cache-fil | --cache-fi \
872+ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
873+ ac_prev=cache_file ;;
874+ -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
875+ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
876+ cache_file=$ac_optarg ;;
877+
878+ --config-cache | -C)
879+ cache_file=config.cache ;;
880+
881+ -datadir | --datadir | --datadi | --datad)
882+ ac_prev=datadir ;;
883+ -datadir=* | --datadir=* | --datadi=* | --datad=*)
884+ datadir=$ac_optarg ;;
885+
886+ -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
887+ | --dataroo | --dataro | --datar)
888+ ac_prev=datarootdir ;;
889+ -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
890+ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
891+ datarootdir=$ac_optarg ;;
892+
893+ -disable-* | --disable-*)
894+ ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
895+ # Reject names that are not valid shell variable names.
896+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
897+ as_fn_error $? "invalid feature name: $ac_useropt"
898+ ac_useropt_orig=$ac_useropt
899+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
900+ case $ac_user_opts in
901+ *"
902+"enable_$ac_useropt"
903+"*) ;;
904+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
905+ ac_unrecognized_sep=', ';;
906+ esac
907+ eval enable_$ac_useropt=no ;;
908+
909+ -docdir | --docdir | --docdi | --doc | --do)
910+ ac_prev=docdir ;;
911+ -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
912+ docdir=$ac_optarg ;;
913+
914+ -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
915+ ac_prev=dvidir ;;
916+ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
917+ dvidir=$ac_optarg ;;
918+
919+ -enable-* | --enable-*)
920+ ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
921+ # Reject names that are not valid shell variable names.
922+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
923+ as_fn_error $? "invalid feature name: $ac_useropt"
924+ ac_useropt_orig=$ac_useropt
925+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
926+ case $ac_user_opts in
927+ *"
928+"enable_$ac_useropt"
929+"*) ;;
930+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
931+ ac_unrecognized_sep=', ';;
932+ esac
933+ eval enable_$ac_useropt=\$ac_optarg ;;
934+
935+ -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
936+ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
937+ | --exec | --exe | --ex)
938+ ac_prev=exec_prefix ;;
939+ -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
940+ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
941+ | --exec=* | --exe=* | --ex=*)
942+ exec_prefix=$ac_optarg ;;
943+
944+ -gas | --gas | --ga | --g)
945+ # Obsolete; use --with-gas.
946+ with_gas=yes ;;
947+
948+ -help | --help | --hel | --he | -h)
949+ ac_init_help=long ;;
950+ -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
951+ ac_init_help=recursive ;;
952+ -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
953+ ac_init_help=short ;;
954+
955+ -host | --host | --hos | --ho)
956+ ac_prev=host_alias ;;
957+ -host=* | --host=* | --hos=* | --ho=*)
958+ host_alias=$ac_optarg ;;
959+
960+ -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
961+ ac_prev=htmldir ;;
962+ -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
963+ | --ht=*)
964+ htmldir=$ac_optarg ;;
965+
966+ -includedir | --includedir | --includedi | --included | --include \
967+ | --includ | --inclu | --incl | --inc)
968+ ac_prev=includedir ;;
969+ -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
970+ | --includ=* | --inclu=* | --incl=* | --inc=*)
971+ includedir=$ac_optarg ;;
972+
973+ -infodir | --infodir | --infodi | --infod | --info | --inf)
974+ ac_prev=infodir ;;
975+ -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
976+ infodir=$ac_optarg ;;
977+
978+ -libdir | --libdir | --libdi | --libd)
979+ ac_prev=libdir ;;
980+ -libdir=* | --libdir=* | --libdi=* | --libd=*)
981+ libdir=$ac_optarg ;;
982+
983+ -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
984+ | --libexe | --libex | --libe)
985+ ac_prev=libexecdir ;;
986+ -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
987+ | --libexe=* | --libex=* | --libe=*)
988+ libexecdir=$ac_optarg ;;
989+
990+ -localedir | --localedir | --localedi | --localed | --locale)
991+ ac_prev=localedir ;;
992+ -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
993+ localedir=$ac_optarg ;;
994+
995+ -localstatedir | --localstatedir | --localstatedi | --localstated \
996+ | --localstate | --localstat | --localsta | --localst | --locals)
997+ ac_prev=localstatedir ;;
998+ -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
999+ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1000+ localstatedir=$ac_optarg ;;
1001+
1002+ -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1003+ ac_prev=mandir ;;
1004+ -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1005+ mandir=$ac_optarg ;;
1006+
1007+ -nfp | --nfp | --nf)
1008+ # Obsolete; use --without-fp.
1009+ with_fp=no ;;
1010+
1011+ -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1012+ | --no-cr | --no-c | -n)
1013+ no_create=yes ;;
1014+
1015+ -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1016+ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1017+ no_recursion=yes ;;
1018+
1019+ -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1020+ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1021+ | --oldin | --oldi | --old | --ol | --o)
1022+ ac_prev=oldincludedir ;;
1023+ -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1024+ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1025+ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1026+ oldincludedir=$ac_optarg ;;
1027+
1028+ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1029+ ac_prev=prefix ;;
1030+ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1031+ prefix=$ac_optarg ;;
1032+
1033+ -program-prefix | --program-prefix | --program-prefi | --program-pref \
1034+ | --program-pre | --program-pr | --program-p)
1035+ ac_prev=program_prefix ;;
1036+ -program-prefix=* | --program-prefix=* | --program-prefi=* \
1037+ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1038+ program_prefix=$ac_optarg ;;
1039+
1040+ -program-suffix | --program-suffix | --program-suffi | --program-suff \
1041+ | --program-suf | --program-su | --program-s)
1042+ ac_prev=program_suffix ;;
1043+ -program-suffix=* | --program-suffix=* | --program-suffi=* \
1044+ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1045+ program_suffix=$ac_optarg ;;
1046+
1047+ -program-transform-name | --program-transform-name \
1048+ | --program-transform-nam | --program-transform-na \
1049+ | --program-transform-n | --program-transform- \
1050+ | --program-transform | --program-transfor \
1051+ | --program-transfo | --program-transf \
1052+ | --program-trans | --program-tran \
1053+ | --progr-tra | --program-tr | --program-t)
1054+ ac_prev=program_transform_name ;;
1055+ -program-transform-name=* | --program-transform-name=* \
1056+ | --program-transform-nam=* | --program-transform-na=* \
1057+ | --program-transform-n=* | --program-transform-=* \
1058+ | --program-transform=* | --program-transfor=* \
1059+ | --program-transfo=* | --program-transf=* \
1060+ | --program-trans=* | --program-tran=* \
1061+ | --progr-tra=* | --program-tr=* | --program-t=*)
1062+ program_transform_name=$ac_optarg ;;
1063+
1064+ -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1065+ ac_prev=pdfdir ;;
1066+ -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1067+ pdfdir=$ac_optarg ;;
1068+
1069+ -psdir | --psdir | --psdi | --psd | --ps)
1070+ ac_prev=psdir ;;
1071+ -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1072+ psdir=$ac_optarg ;;
1073+
1074+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1075+ | -silent | --silent | --silen | --sile | --sil)
1076+ silent=yes ;;
1077+
1078+ -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1079+ ac_prev=sbindir ;;
1080+ -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1081+ | --sbi=* | --sb=*)
1082+ sbindir=$ac_optarg ;;
1083+
1084+ -sharedstatedir | --sharedstatedir | --sharedstatedi \
1085+ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1086+ | --sharedst | --shareds | --shared | --share | --shar \
1087+ | --sha | --sh)
1088+ ac_prev=sharedstatedir ;;
1089+ -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1090+ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1091+ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1092+ | --sha=* | --sh=*)
1093+ sharedstatedir=$ac_optarg ;;
1094+
1095+ -site | --site | --sit)
1096+ ac_prev=site ;;
1097+ -site=* | --site=* | --sit=*)
1098+ site=$ac_optarg ;;
1099+
1100+ -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1101+ ac_prev=srcdir ;;
1102+ -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1103+ srcdir=$ac_optarg ;;
1104+
1105+ -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1106+ | --syscon | --sysco | --sysc | --sys | --sy)
1107+ ac_prev=sysconfdir ;;
1108+ -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1109+ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1110+ sysconfdir=$ac_optarg ;;
1111+
1112+ -target | --target | --targe | --targ | --tar | --ta | --t)
1113+ ac_prev=target_alias ;;
1114+ -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1115+ target_alias=$ac_optarg ;;
1116+
1117+ -v | -verbose | --verbose | --verbos | --verbo | --verb)
1118+ verbose=yes ;;
1119+
1120+ -version | --version | --versio | --versi | --vers | -V)
1121+ ac_init_version=: ;;
1122+
1123+ -with-* | --with-*)
1124+ ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1125+ # Reject names that are not valid shell variable names.
1126+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1127+ as_fn_error $? "invalid package name: $ac_useropt"
1128+ ac_useropt_orig=$ac_useropt
1129+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1130+ case $ac_user_opts in
1131+ *"
1132+"with_$ac_useropt"
1133+"*) ;;
1134+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1135+ ac_unrecognized_sep=', ';;
1136+ esac
1137+ eval with_$ac_useropt=\$ac_optarg ;;
1138+
1139+ -without-* | --without-*)
1140+ ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1141+ # Reject names that are not valid shell variable names.
1142+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1143+ as_fn_error $? "invalid package name: $ac_useropt"
1144+ ac_useropt_orig=$ac_useropt
1145+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1146+ case $ac_user_opts in
1147+ *"
1148+"with_$ac_useropt"
1149+"*) ;;
1150+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1151+ ac_unrecognized_sep=', ';;
1152+ esac
1153+ eval with_$ac_useropt=no ;;
1154+
1155+ --x)
1156+ # Obsolete; use --with-x.
1157+ with_x=yes ;;
1158+
1159+ -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1160+ | --x-incl | --x-inc | --x-in | --x-i)
1161+ ac_prev=x_includes ;;
1162+ -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1163+ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1164+ x_includes=$ac_optarg ;;
1165+
1166+ -x-libraries | --x-libraries | --x-librarie | --x-librari \
1167+ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1168+ ac_prev=x_libraries ;;
1169+ -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1170+ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1171+ x_libraries=$ac_optarg ;;
1172+
1173+ -*) as_fn_error $? "unrecognized option: \`$ac_option'
1174+Try \`$0 --help' for more information"
1175+ ;;
1176+
1177+ *=*)
1178+ ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1179+ # Reject names that are not valid shell variable names.
1180+ case $ac_envvar in #(
1181+ '' | [0-9]* | *[!_$as_cr_alnum]* )
1182+ as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1183+ esac
1184+ eval $ac_envvar=\$ac_optarg
1185+ export $ac_envvar ;;
1186+
1187+ *)
1188+ # FIXME: should be removed in autoconf 3.0.
1189+ $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1190+ expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1191+ $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1192+ : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1193+ ;;
1194+
1195+ esac
1196+done
1197+
1198+if test -n "$ac_prev"; then
1199+ ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1200+ as_fn_error $? "missing argument to $ac_option"
1201+fi
1202+
1203+if test -n "$ac_unrecognized_opts"; then
1204+ case $enable_option_checking in
1205+ no) ;;
1206+ fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1207+ *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1208+ esac
1209+fi
1210+
1211+# Check all directory arguments for consistency.
1212+for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1213+ datadir sysconfdir sharedstatedir localstatedir includedir \
1214+ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1215+ libdir localedir mandir
1216+do
1217+ eval ac_val=\$$ac_var
1218+ # Remove trailing slashes.
1219+ case $ac_val in
1220+ */ )
1221+ ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1222+ eval $ac_var=\$ac_val;;
1223+ esac
1224+ # Be sure to have absolute directory names.
1225+ case $ac_val in
1226+ [\\/$]* | ?:[\\/]* ) continue;;
1227+ NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1228+ esac
1229+ as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1230+done
1231+
1232+# There might be people who depend on the old broken behavior: `$host'
1233+# used to hold the argument of --host etc.
1234+# FIXME: To remove some day.
1235+build=$build_alias
1236+host=$host_alias
1237+target=$target_alias
1238+
1239+# FIXME: To remove some day.
1240+if test "x$host_alias" != x; then
1241+ if test "x$build_alias" = x; then
1242+ cross_compiling=maybe
1243+ elif test "x$build_alias" != "x$host_alias"; then
1244+ cross_compiling=yes
1245+ fi
1246+fi
1247+
1248+ac_tool_prefix=
1249+test -n "$host_alias" && ac_tool_prefix=$host_alias-
1250+
1251+test "$silent" = yes && exec 6>/dev/null
1252+
1253+
1254+ac_pwd=`pwd` && test -n "$ac_pwd" &&
1255+ac_ls_di=`ls -di .` &&
1256+ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1257+ as_fn_error $? "working directory cannot be determined"
1258+test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1259+ as_fn_error $? "pwd does not report name of working directory"
1260+
1261+
1262+# Find the source files, if location was not specified.
1263+if test -z "$srcdir"; then
1264+ ac_srcdir_defaulted=yes
1265+ # Try the directory containing this script, then the parent directory.
1266+ ac_confdir=`$as_dirname -- "$as_myself" ||
1267+$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1268+ X"$as_myself" : 'X\(//\)[^/]' \| \
1269+ X"$as_myself" : 'X\(//\)$' \| \
1270+ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1271+$as_echo X"$as_myself" |
1272+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1273+ s//\1/
1274+ q
1275+ }
1276+ /^X\(\/\/\)[^/].*/{
1277+ s//\1/
1278+ q
1279+ }
1280+ /^X\(\/\/\)$/{
1281+ s//\1/
1282+ q
1283+ }
1284+ /^X\(\/\).*/{
1285+ s//\1/
1286+ q
1287+ }
1288+ s/.*/./; q'`
1289+ srcdir=$ac_confdir
1290+ if test ! -r "$srcdir/$ac_unique_file"; then
1291+ srcdir=..
1292+ fi
1293+else
1294+ ac_srcdir_defaulted=no
1295+fi
1296+if test ! -r "$srcdir/$ac_unique_file"; then
1297+ test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1298+ as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1299+fi
1300+ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1301+ac_abs_confdir=`(
1302+ cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1303+ pwd)`
1304+# When building in place, set srcdir=.
1305+if test "$ac_abs_confdir" = "$ac_pwd"; then
1306+ srcdir=.
1307+fi
1308+# Remove unnecessary trailing slashes from srcdir.
1309+# Double slashes in file names in object file debugging info
1310+# mess up M-x gdb in Emacs.
1311+case $srcdir in
1312+*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1313+esac
1314+for ac_var in $ac_precious_vars; do
1315+ eval ac_env_${ac_var}_set=\${${ac_var}+set}
1316+ eval ac_env_${ac_var}_value=\$${ac_var}
1317+ eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1318+ eval ac_cv_env_${ac_var}_value=\$${ac_var}
1319+done
1320+
1321+#
1322+# Report the --help message.
1323+#
1324+if test "$ac_init_help" = "long"; then
1325+ # Omit some internal or obsolete options to make the list less imposing.
1326+ # This message is too long to be a string in the A/UX 3.1 sh.
1327+ cat <<_ACEOF
1328+\`configure' configures CCUnit 2.1 to adapt to many kinds of systems.
1329+
1330+Usage: $0 [OPTION]... [VAR=VALUE]...
1331+
1332+To assign environment variables (e.g., CC, CFLAGS...), specify them as
1333+VAR=VALUE. See below for descriptions of some of the useful variables.
1334+
1335+Defaults for the options are specified in brackets.
1336+
1337+Configuration:
1338+ -h, --help display this help and exit
1339+ --help=short display options specific to this package
1340+ --help=recursive display the short help of all the included packages
1341+ -V, --version display version information and exit
1342+ -q, --quiet, --silent do not print \`checking ...' messages
1343+ --cache-file=FILE cache test results in FILE [disabled]
1344+ -C, --config-cache alias for \`--cache-file=config.cache'
1345+ -n, --no-create do not create output files
1346+ --srcdir=DIR find the sources in DIR [configure dir or \`..']
1347+
1348+Installation directories:
1349+ --prefix=PREFIX install architecture-independent files in PREFIX
1350+ [$ac_default_prefix]
1351+ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1352+ [PREFIX]
1353+
1354+By default, \`make install' will install all the files in
1355+\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1356+an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1357+for instance \`--prefix=\$HOME'.
1358+
1359+For better control, use the options below.
1360+
1361+Fine tuning of the installation directories:
1362+ --bindir=DIR user executables [EPREFIX/bin]
1363+ --sbindir=DIR system admin executables [EPREFIX/sbin]
1364+ --libexecdir=DIR program executables [EPREFIX/libexec]
1365+ --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1366+ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1367+ --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1368+ --libdir=DIR object code libraries [EPREFIX/lib]
1369+ --includedir=DIR C header files [PREFIX/include]
1370+ --oldincludedir=DIR C header files for non-gcc [/usr/include]
1371+ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1372+ --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1373+ --infodir=DIR info documentation [DATAROOTDIR/info]
1374+ --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1375+ --mandir=DIR man documentation [DATAROOTDIR/man]
1376+ --docdir=DIR documentation root [DATAROOTDIR/doc/ccunit]
1377+ --htmldir=DIR html documentation [DOCDIR]
1378+ --dvidir=DIR dvi documentation [DOCDIR]
1379+ --pdfdir=DIR pdf documentation [DOCDIR]
1380+ --psdir=DIR ps documentation [DOCDIR]
1381+_ACEOF
1382+
1383+ cat <<\_ACEOF
1384+
1385+Program names:
1386+ --program-prefix=PREFIX prepend PREFIX to installed program names
1387+ --program-suffix=SUFFIX append SUFFIX to installed program names
1388+ --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1389+
1390+System types:
1391+ --build=BUILD configure for building on BUILD [guessed]
1392+ --host=HOST cross-compile to build programs to run on HOST [BUILD]
1393+_ACEOF
1394+fi
1395+
1396+if test -n "$ac_init_help"; then
1397+ case $ac_init_help in
1398+ short | recursive ) echo "Configuration of CCUnit 2.1:";;
1399+ esac
1400+ cat <<\_ACEOF
1401+
1402+Optional Features:
1403+ --disable-option-checking ignore unrecognized --enable/--with options
1404+ --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1405+ --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1406+ --enable-dependency-tracking
1407+ do not reject slow dependency extractors
1408+ --disable-dependency-tracking
1409+ speeds up one-time build
1410+ --enable-html-docs enable HTML generation with doxygen (yes)
1411+ --enable-latex-docs enable LaTeX documentation generation with doxygen
1412+ (no)
1413+ --enable-coverage enable coverage testing
1414+ --enable-japanese-doc output japanese documents
1415+ --enable-shared[=PKGS] build shared libraries [default=yes]
1416+ --enable-static[=PKGS] build static libraries [default=yes]
1417+ --enable-fast-install[=PKGS]
1418+ optimize for fast installation [default=yes]
1419+ --disable-libtool-lock avoid locking (might break parallel builds)
1420+
1421+Optional Packages:
1422+ --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1423+ --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1424+ --with-dmalloc use dmalloc, as in http://www.dmalloc.com
1425+ --enable-doxygen enable documentation generation with doxygen (yes)
1426+ --enable-dot use 'dot' to generate graphs in doxygen (yes)
1427+ --with-pic try to use only PIC/non-PIC objects [default=use
1428+ both]
1429+ --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1430+
1431+Some influential environment variables:
1432+ CC C compiler command
1433+ CFLAGS C compiler flags
1434+ LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1435+ nonstandard directory <lib dir>
1436+ LIBS libraries to pass to the linker, e.g. -l<library>
1437+ CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1438+ you have headers in a nonstandard directory <include dir>
1439+ CPP C preprocessor
1440+
1441+Use these variables to override the choices made by `configure' or to help
1442+it to find libraries and programs with nonstandard names/locations.
1443+
1444+Report bugs to <tsntsumi@users.sourceforge.jp>.
1445+CCUnit home page: <http://ccunit.sourceforge.jp>.
1446+_ACEOF
1447+ac_status=$?
1448+fi
1449+
1450+if test "$ac_init_help" = "recursive"; then
1451+ # If there are subdirs, report their specific --help.
1452+ for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1453+ test -d "$ac_dir" ||
1454+ { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1455+ continue
1456+ ac_builddir=.
1457+
1458+case "$ac_dir" in
1459+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1460+*)
1461+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1462+ # A ".." for each directory in $ac_dir_suffix.
1463+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1464+ case $ac_top_builddir_sub in
1465+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1466+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1467+ esac ;;
1468+esac
1469+ac_abs_top_builddir=$ac_pwd
1470+ac_abs_builddir=$ac_pwd$ac_dir_suffix
1471+# for backward compatibility:
1472+ac_top_builddir=$ac_top_build_prefix
1473+
1474+case $srcdir in
1475+ .) # We are building in place.
1476+ ac_srcdir=.
1477+ ac_top_srcdir=$ac_top_builddir_sub
1478+ ac_abs_top_srcdir=$ac_pwd ;;
1479+ [\\/]* | ?:[\\/]* ) # Absolute name.
1480+ ac_srcdir=$srcdir$ac_dir_suffix;
1481+ ac_top_srcdir=$srcdir
1482+ ac_abs_top_srcdir=$srcdir ;;
1483+ *) # Relative name.
1484+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1485+ ac_top_srcdir=$ac_top_build_prefix$srcdir
1486+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1487+esac
1488+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1489+
1490+ cd "$ac_dir" || { ac_status=$?; continue; }
1491+ # Check for guested configure.
1492+ if test -f "$ac_srcdir/configure.gnu"; then
1493+ echo &&
1494+ $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1495+ elif test -f "$ac_srcdir/configure"; then
1496+ echo &&
1497+ $SHELL "$ac_srcdir/configure" --help=recursive
1498+ else
1499+ $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1500+ fi || ac_status=$?
1501+ cd "$ac_pwd" || { ac_status=$?; break; }
1502+ done
1503+fi
1504+
1505+test -n "$ac_init_help" && exit $ac_status
1506+if $ac_init_version; then
1507+ cat <<\_ACEOF
1508+CCUnit configure 2.1
1509+generated by GNU Autoconf 2.69
1510+
1511+Copyright (C) 2012 Free Software Foundation, Inc.
1512+This configure script is free software; the Free Software Foundation
1513+gives unlimited permission to copy, distribute and modify it.
1514+_ACEOF
1515+ exit
1516+fi
1517+
1518+## ------------------------ ##
1519+## Autoconf initialization. ##
1520+## ------------------------ ##
1521+
1522+# ac_fn_c_try_compile LINENO
1523+# --------------------------
1524+# Try to compile conftest.$ac_ext, and return whether this succeeded.
1525+ac_fn_c_try_compile ()
1526+{
1527+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1528+ rm -f conftest.$ac_objext
1529+ if { { ac_try="$ac_compile"
1530+case "(($ac_try" in
1531+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1532+ *) ac_try_echo=$ac_try;;
1533+esac
1534+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1535+$as_echo "$ac_try_echo"; } >&5
1536+ (eval "$ac_compile") 2>conftest.err
1537+ ac_status=$?
1538+ if test -s conftest.err; then
1539+ grep -v '^ *+' conftest.err >conftest.er1
1540+ cat conftest.er1 >&5
1541+ mv -f conftest.er1 conftest.err
1542+ fi
1543+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1544+ test $ac_status = 0; } && {
1545+ test -z "$ac_c_werror_flag" ||
1546+ test ! -s conftest.err
1547+ } && test -s conftest.$ac_objext; then :
1548+ ac_retval=0
1549+else
1550+ $as_echo "$as_me: failed program was:" >&5
1551+sed 's/^/| /' conftest.$ac_ext >&5
1552+
1553+ ac_retval=1
1554+fi
1555+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1556+ as_fn_set_status $ac_retval
1557+
1558+} # ac_fn_c_try_compile
1559+
1560+# ac_fn_c_try_cpp LINENO
1561+# ----------------------
1562+# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1563+ac_fn_c_try_cpp ()
1564+{
1565+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1566+ if { { ac_try="$ac_cpp conftest.$ac_ext"
1567+case "(($ac_try" in
1568+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1569+ *) ac_try_echo=$ac_try;;
1570+esac
1571+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1572+$as_echo "$ac_try_echo"; } >&5
1573+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1574+ ac_status=$?
1575+ if test -s conftest.err; then
1576+ grep -v '^ *+' conftest.err >conftest.er1
1577+ cat conftest.er1 >&5
1578+ mv -f conftest.er1 conftest.err
1579+ fi
1580+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1581+ test $ac_status = 0; } > conftest.i && {
1582+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1583+ test ! -s conftest.err
1584+ }; then :
1585+ ac_retval=0
1586+else
1587+ $as_echo "$as_me: failed program was:" >&5
1588+sed 's/^/| /' conftest.$ac_ext >&5
1589+
1590+ ac_retval=1
1591+fi
1592+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1593+ as_fn_set_status $ac_retval
1594+
1595+} # ac_fn_c_try_cpp
1596+
1597+# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1598+# -------------------------------------------------------
1599+# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1600+# the include files in INCLUDES and setting the cache variable VAR
1601+# accordingly.
1602+ac_fn_c_check_header_mongrel ()
1603+{
1604+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1605+ if eval \${$3+:} false; then :
1606+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1607+$as_echo_n "checking for $2... " >&6; }
1608+if eval \${$3+:} false; then :
1609+ $as_echo_n "(cached) " >&6
1610+fi
1611+eval ac_res=\$$3
1612+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1613+$as_echo "$ac_res" >&6; }
1614+else
1615+ # Is the header compilable?
1616+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1617+$as_echo_n "checking $2 usability... " >&6; }
1618+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1619+/* end confdefs.h. */
1620+$4
1621+#include <$2>
1622+_ACEOF
1623+if ac_fn_c_try_compile "$LINENO"; then :
1624+ ac_header_compiler=yes
1625+else
1626+ ac_header_compiler=no
1627+fi
1628+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1629+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1630+$as_echo "$ac_header_compiler" >&6; }
1631+
1632+# Is the header present?
1633+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1634+$as_echo_n "checking $2 presence... " >&6; }
1635+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1636+/* end confdefs.h. */
1637+#include <$2>
1638+_ACEOF
1639+if ac_fn_c_try_cpp "$LINENO"; then :
1640+ ac_header_preproc=yes
1641+else
1642+ ac_header_preproc=no
1643+fi
1644+rm -f conftest.err conftest.i conftest.$ac_ext
1645+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1646+$as_echo "$ac_header_preproc" >&6; }
1647+
1648+# So? What about this header?
1649+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1650+ yes:no: )
1651+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1652+$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1653+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1654+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1655+ ;;
1656+ no:yes:* )
1657+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1658+$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1659+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1660+$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1661+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1662+$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1663+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1664+$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1665+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1666+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1667+( $as_echo "## -------------------------------------------- ##
1668+## Report this to tsntsumi@users.sourceforge.jp ##
1669+## -------------------------------------------- ##"
1670+ ) | sed "s/^/$as_me: WARNING: /" >&2
1671+ ;;
1672+esac
1673+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1674+$as_echo_n "checking for $2... " >&6; }
1675+if eval \${$3+:} false; then :
1676+ $as_echo_n "(cached) " >&6
1677+else
1678+ eval "$3=\$ac_header_compiler"
1679+fi
1680+eval ac_res=\$$3
1681+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1682+$as_echo "$ac_res" >&6; }
1683+fi
1684+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1685+
1686+} # ac_fn_c_check_header_mongrel
1687+
1688+# ac_fn_c_try_run LINENO
1689+# ----------------------
1690+# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1691+# that executables *can* be run.
1692+ac_fn_c_try_run ()
1693+{
1694+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1695+ if { { ac_try="$ac_link"
1696+case "(($ac_try" in
1697+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1698+ *) ac_try_echo=$ac_try;;
1699+esac
1700+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1701+$as_echo "$ac_try_echo"; } >&5
1702+ (eval "$ac_link") 2>&5
1703+ ac_status=$?
1704+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1705+ test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1706+ { { case "(($ac_try" in
1707+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1708+ *) ac_try_echo=$ac_try;;
1709+esac
1710+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1711+$as_echo "$ac_try_echo"; } >&5
1712+ (eval "$ac_try") 2>&5
1713+ ac_status=$?
1714+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1715+ test $ac_status = 0; }; }; then :
1716+ ac_retval=0
1717+else
1718+ $as_echo "$as_me: program exited with status $ac_status" >&5
1719+ $as_echo "$as_me: failed program was:" >&5
1720+sed 's/^/| /' conftest.$ac_ext >&5
1721+
1722+ ac_retval=$ac_status
1723+fi
1724+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1725+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1726+ as_fn_set_status $ac_retval
1727+
1728+} # ac_fn_c_try_run
1729+
1730+# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1731+# -------------------------------------------------------
1732+# Tests whether HEADER exists and can be compiled using the include files in
1733+# INCLUDES, setting the cache variable VAR accordingly.
1734+ac_fn_c_check_header_compile ()
1735+{
1736+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1737+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1738+$as_echo_n "checking for $2... " >&6; }
1739+if eval \${$3+:} false; then :
1740+ $as_echo_n "(cached) " >&6
1741+else
1742+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1743+/* end confdefs.h. */
1744+$4
1745+#include <$2>
1746+_ACEOF
1747+if ac_fn_c_try_compile "$LINENO"; then :
1748+ eval "$3=yes"
1749+else
1750+ eval "$3=no"
1751+fi
1752+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1753+fi
1754+eval ac_res=\$$3
1755+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1756+$as_echo "$ac_res" >&6; }
1757+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1758+
1759+} # ac_fn_c_check_header_compile
1760+
1761+# ac_fn_c_try_link LINENO
1762+# -----------------------
1763+# Try to link conftest.$ac_ext, and return whether this succeeded.
1764+ac_fn_c_try_link ()
1765+{
1766+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1767+ rm -f conftest.$ac_objext conftest$ac_exeext
1768+ if { { ac_try="$ac_link"
1769+case "(($ac_try" in
1770+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1771+ *) ac_try_echo=$ac_try;;
1772+esac
1773+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1774+$as_echo "$ac_try_echo"; } >&5
1775+ (eval "$ac_link") 2>conftest.err
1776+ ac_status=$?
1777+ if test -s conftest.err; then
1778+ grep -v '^ *+' conftest.err >conftest.er1
1779+ cat conftest.er1 >&5
1780+ mv -f conftest.er1 conftest.err
1781+ fi
1782+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1783+ test $ac_status = 0; } && {
1784+ test -z "$ac_c_werror_flag" ||
1785+ test ! -s conftest.err
1786+ } && test -s conftest$ac_exeext && {
1787+ test "$cross_compiling" = yes ||
1788+ test -x conftest$ac_exeext
1789+ }; then :
1790+ ac_retval=0
1791+else
1792+ $as_echo "$as_me: failed program was:" >&5
1793+sed 's/^/| /' conftest.$ac_ext >&5
1794+
1795+ ac_retval=1
1796+fi
1797+ # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1798+ # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1799+ # interfere with the next link command; also delete a directory that is
1800+ # left behind by Apple's compiler. We do this before executing the actions.
1801+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1802+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1803+ as_fn_set_status $ac_retval
1804+
1805+} # ac_fn_c_try_link
1806+
1807+# ac_fn_c_check_func LINENO FUNC VAR
1808+# ----------------------------------
1809+# Tests whether FUNC exists, setting the cache variable VAR accordingly
1810+ac_fn_c_check_func ()
1811+{
1812+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1813+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1814+$as_echo_n "checking for $2... " >&6; }
1815+if eval \${$3+:} false; then :
1816+ $as_echo_n "(cached) " >&6
1817+else
1818+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1819+/* end confdefs.h. */
1820+/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1821+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
1822+#define $2 innocuous_$2
1823+
1824+/* System header to define __stub macros and hopefully few prototypes,
1825+ which can conflict with char $2 (); below.
1826+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1827+ <limits.h> exists even on freestanding compilers. */
1828+
1829+#ifdef __STDC__
1830+# include <limits.h>
1831+#else
1832+# include <assert.h>
1833+#endif
1834+
1835+#undef $2
1836+
1837+/* Override any GCC internal prototype to avoid an error.
1838+ Use char because int might match the return type of a GCC
1839+ builtin and then its argument prototype would still apply. */
1840+#ifdef __cplusplus
1841+extern "C"
1842+#endif
1843+char $2 ();
1844+/* The GNU C library defines this for functions which it implements
1845+ to always fail with ENOSYS. Some functions are actually named
1846+ something starting with __ and the normal name is an alias. */
1847+#if defined __stub_$2 || defined __stub___$2
1848+choke me
1849+#endif
1850+
1851+int
1852+main ()
1853+{
1854+return $2 ();
1855+ ;
1856+ return 0;
1857+}
1858+_ACEOF
1859+if ac_fn_c_try_link "$LINENO"; then :
1860+ eval "$3=yes"
1861+else
1862+ eval "$3=no"
1863+fi
1864+rm -f core conftest.err conftest.$ac_objext \
1865+ conftest$ac_exeext conftest.$ac_ext
1866+fi
1867+eval ac_res=\$$3
1868+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1869+$as_echo "$ac_res" >&6; }
1870+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1871+
1872+} # ac_fn_c_check_func
1873+
1874+# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1875+# -------------------------------------------
1876+# Tests whether TYPE exists after having included INCLUDES, setting cache
1877+# variable VAR accordingly.
1878+ac_fn_c_check_type ()
1879+{
1880+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1881+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1882+$as_echo_n "checking for $2... " >&6; }
1883+if eval \${$3+:} false; then :
1884+ $as_echo_n "(cached) " >&6
1885+else
1886+ eval "$3=no"
1887+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1888+/* end confdefs.h. */
1889+$4
1890+int
1891+main ()
1892+{
1893+if (sizeof ($2))
1894+ return 0;
1895+ ;
1896+ return 0;
1897+}
1898+_ACEOF
1899+if ac_fn_c_try_compile "$LINENO"; then :
1900+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1901+/* end confdefs.h. */
1902+$4
1903+int
1904+main ()
1905+{
1906+if (sizeof (($2)))
1907+ return 0;
1908+ ;
1909+ return 0;
1910+}
1911+_ACEOF
1912+if ac_fn_c_try_compile "$LINENO"; then :
1913+
1914+else
1915+ eval "$3=yes"
1916+fi
1917+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1918+fi
1919+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1920+fi
1921+eval ac_res=\$$3
1922+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1923+$as_echo "$ac_res" >&6; }
1924+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1925+
1926+} # ac_fn_c_check_type
1927+cat >config.log <<_ACEOF
1928+This file contains any messages produced by compilers while
1929+running configure, to aid debugging if configure makes a mistake.
1930+
1931+It was created by CCUnit $as_me 2.1, which was
1932+generated by GNU Autoconf 2.69. Invocation command line was
1933+
1934+ $ $0 $@
1935+
1936+_ACEOF
1937+exec 5>>config.log
1938+{
1939+cat <<_ASUNAME
1940+## --------- ##
1941+## Platform. ##
1942+## --------- ##
1943+
1944+hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1945+uname -m = `(uname -m) 2>/dev/null || echo unknown`
1946+uname -r = `(uname -r) 2>/dev/null || echo unknown`
1947+uname -s = `(uname -s) 2>/dev/null || echo unknown`
1948+uname -v = `(uname -v) 2>/dev/null || echo unknown`
1949+
1950+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1951+/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1952+
1953+/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1954+/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1955+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1956+/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1957+/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1958+/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1959+/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1960+
1961+_ASUNAME
1962+
1963+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1964+for as_dir in $PATH
1965+do
1966+ IFS=$as_save_IFS
1967+ test -z "$as_dir" && as_dir=.
1968+ $as_echo "PATH: $as_dir"
1969+ done
1970+IFS=$as_save_IFS
1971+
1972+} >&5
1973+
1974+cat >&5 <<_ACEOF
1975+
1976+
1977+## ----------- ##
1978+## Core tests. ##
1979+## ----------- ##
1980+
1981+_ACEOF
1982+
1983+
1984+# Keep a trace of the command line.
1985+# Strip out --no-create and --no-recursion so they do not pile up.
1986+# Strip out --silent because we don't want to record it for future runs.
1987+# Also quote any args containing shell meta-characters.
1988+# Make two passes to allow for proper duplicate-argument suppression.
1989+ac_configure_args=
1990+ac_configure_args0=
1991+ac_configure_args1=
1992+ac_must_keep_next=false
1993+for ac_pass in 1 2
1994+do
1995+ for ac_arg
1996+ do
1997+ case $ac_arg in
1998+ -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1999+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2000+ | -silent | --silent | --silen | --sile | --sil)
2001+ continue ;;
2002+ *\'*)
2003+ ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2004+ esac
2005+ case $ac_pass in
2006+ 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2007+ 2)
2008+ as_fn_append ac_configure_args1 " '$ac_arg'"
2009+ if test $ac_must_keep_next = true; then
2010+ ac_must_keep_next=false # Got value, back to normal.
2011+ else
2012+ case $ac_arg in
2013+ *=* | --config-cache | -C | -disable-* | --disable-* \
2014+ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2015+ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2016+ | -with-* | --with-* | -without-* | --without-* | --x)
2017+ case "$ac_configure_args0 " in
2018+ "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2019+ esac
2020+ ;;
2021+ -* ) ac_must_keep_next=true ;;
2022+ esac
2023+ fi
2024+ as_fn_append ac_configure_args " '$ac_arg'"
2025+ ;;
2026+ esac
2027+ done
2028+done
2029+{ ac_configure_args0=; unset ac_configure_args0;}
2030+{ ac_configure_args1=; unset ac_configure_args1;}
2031+
2032+# When interrupted or exit'd, cleanup temporary files, and complete
2033+# config.log. We remove comments because anyway the quotes in there
2034+# would cause problems or look ugly.
2035+# WARNING: Use '\'' to represent an apostrophe within the trap.
2036+# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2037+trap 'exit_status=$?
2038+ # Save into config.log some information that might help in debugging.
2039+ {
2040+ echo
2041+
2042+ $as_echo "## ---------------- ##
2043+## Cache variables. ##
2044+## ---------------- ##"
2045+ echo
2046+ # The following way of writing the cache mishandles newlines in values,
2047+(
2048+ for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2049+ eval ac_val=\$$ac_var
2050+ case $ac_val in #(
2051+ *${as_nl}*)
2052+ case $ac_var in #(
2053+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2054+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2055+ esac
2056+ case $ac_var in #(
2057+ _ | IFS | as_nl) ;; #(
2058+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2059+ *) { eval $ac_var=; unset $ac_var;} ;;
2060+ esac ;;
2061+ esac
2062+ done
2063+ (set) 2>&1 |
2064+ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2065+ *${as_nl}ac_space=\ *)
2066+ sed -n \
2067+ "s/'\''/'\''\\\\'\'''\''/g;
2068+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2069+ ;; #(
2070+ *)
2071+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2072+ ;;
2073+ esac |
2074+ sort
2075+)
2076+ echo
2077+
2078+ $as_echo "## ----------------- ##
2079+## Output variables. ##
2080+## ----------------- ##"
2081+ echo
2082+ for ac_var in $ac_subst_vars
2083+ do
2084+ eval ac_val=\$$ac_var
2085+ case $ac_val in
2086+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2087+ esac
2088+ $as_echo "$ac_var='\''$ac_val'\''"
2089+ done | sort
2090+ echo
2091+
2092+ if test -n "$ac_subst_files"; then
2093+ $as_echo "## ------------------- ##
2094+## File substitutions. ##
2095+## ------------------- ##"
2096+ echo
2097+ for ac_var in $ac_subst_files
2098+ do
2099+ eval ac_val=\$$ac_var
2100+ case $ac_val in
2101+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2102+ esac
2103+ $as_echo "$ac_var='\''$ac_val'\''"
2104+ done | sort
2105+ echo
2106+ fi
2107+
2108+ if test -s confdefs.h; then
2109+ $as_echo "## ----------- ##
2110+## confdefs.h. ##
2111+## ----------- ##"
2112+ echo
2113+ cat confdefs.h
2114+ echo
2115+ fi
2116+ test "$ac_signal" != 0 &&
2117+ $as_echo "$as_me: caught signal $ac_signal"
2118+ $as_echo "$as_me: exit $exit_status"
2119+ } >&5
2120+ rm -f core *.core core.conftest.* &&
2121+ rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2122+ exit $exit_status
2123+' 0
2124+for ac_signal in 1 2 13 15; do
2125+ trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2126+done
2127+ac_signal=0
2128+
2129+# confdefs.h avoids OS command line length limits that DEFS can exceed.
2130+rm -f -r conftest* confdefs.h
2131+
2132+$as_echo "/* confdefs.h */" > confdefs.h
2133+
2134+# Predefined preprocessor variables.
2135+
2136+cat >>confdefs.h <<_ACEOF
2137+#define PACKAGE_NAME "$PACKAGE_NAME"
2138+_ACEOF
2139+
2140+cat >>confdefs.h <<_ACEOF
2141+#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2142+_ACEOF
2143+
2144+cat >>confdefs.h <<_ACEOF
2145+#define PACKAGE_VERSION "$PACKAGE_VERSION"
2146+_ACEOF
2147+
2148+cat >>confdefs.h <<_ACEOF
2149+#define PACKAGE_STRING "$PACKAGE_STRING"
2150+_ACEOF
2151+
2152+cat >>confdefs.h <<_ACEOF
2153+#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2154+_ACEOF
2155+
2156+cat >>confdefs.h <<_ACEOF
2157+#define PACKAGE_URL "$PACKAGE_URL"
2158+_ACEOF
2159+
2160+
2161+# Let the site file select an alternate cache file if it wants to.
2162+# Prefer an explicitly selected file to automatically selected ones.
2163+ac_site_file1=NONE
2164+ac_site_file2=NONE
2165+if test -n "$CONFIG_SITE"; then
2166+ # We do not want a PATH search for config.site.
2167+ case $CONFIG_SITE in #((
2168+ -*) ac_site_file1=./$CONFIG_SITE;;
2169+ */*) ac_site_file1=$CONFIG_SITE;;
2170+ *) ac_site_file1=./$CONFIG_SITE;;
2171+ esac
2172+elif test "x$prefix" != xNONE; then
2173+ ac_site_file1=$prefix/share/config.site
2174+ ac_site_file2=$prefix/etc/config.site
2175+else
2176+ ac_site_file1=$ac_default_prefix/share/config.site
2177+ ac_site_file2=$ac_default_prefix/etc/config.site
2178+fi
2179+for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2180+do
2181+ test "x$ac_site_file" = xNONE && continue
2182+ if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2183+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2184+$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2185+ sed 's/^/| /' "$ac_site_file" >&5
2186+ . "$ac_site_file" \
2187+ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2188+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2189+as_fn_error $? "failed to load site script $ac_site_file
2190+See \`config.log' for more details" "$LINENO" 5; }
2191+ fi
2192+done
2193+
2194+if test -r "$cache_file"; then
2195+ # Some versions of bash will fail to source /dev/null (special files
2196+ # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2197+ if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2198+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2199+$as_echo "$as_me: loading cache $cache_file" >&6;}
2200+ case $cache_file in
2201+ [\\/]* | ?:[\\/]* ) . "$cache_file";;
2202+ *) . "./$cache_file";;
2203+ esac
2204+ fi
2205+else
2206+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2207+$as_echo "$as_me: creating cache $cache_file" >&6;}
2208+ >$cache_file
2209+fi
2210+
2211+# Check that the precious variables saved in the cache have kept the same
2212+# value.
2213+ac_cache_corrupted=false
2214+for ac_var in $ac_precious_vars; do
2215+ eval ac_old_set=\$ac_cv_env_${ac_var}_set
2216+ eval ac_new_set=\$ac_env_${ac_var}_set
2217+ eval ac_old_val=\$ac_cv_env_${ac_var}_value
2218+ eval ac_new_val=\$ac_env_${ac_var}_value
2219+ case $ac_old_set,$ac_new_set in
2220+ set,)
2221+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2222+$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2223+ ac_cache_corrupted=: ;;
2224+ ,set)
2225+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2226+$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2227+ ac_cache_corrupted=: ;;
2228+ ,);;
2229+ *)
2230+ if test "x$ac_old_val" != "x$ac_new_val"; then
2231+ # differences in whitespace do not lead to failure.
2232+ ac_old_val_w=`echo x $ac_old_val`
2233+ ac_new_val_w=`echo x $ac_new_val`
2234+ if test "$ac_old_val_w" != "$ac_new_val_w"; then
2235+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2236+$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2237+ ac_cache_corrupted=:
2238+ else
2239+ { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2240+$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2241+ eval $ac_var=\$ac_old_val
2242+ fi
2243+ { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2244+$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2245+ { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2246+$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2247+ fi;;
2248+ esac
2249+ # Pass precious variables to config.status.
2250+ if test "$ac_new_set" = set; then
2251+ case $ac_new_val in
2252+ *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2253+ *) ac_arg=$ac_var=$ac_new_val ;;
2254+ esac
2255+ case " $ac_configure_args " in
2256+ *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2257+ *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2258+ esac
2259+ fi
2260+done
2261+if $ac_cache_corrupted; then
2262+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2263+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2264+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2265+$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2266+ as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2267+fi
2268+## -------------------- ##
2269+## Main body of script. ##
2270+## -------------------- ##
2271+
2272+ac_ext=c
2273+ac_cpp='$CPP $CPPFLAGS'
2274+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2275+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2276+ac_compiler_gnu=$ac_cv_c_compiler_gnu
2277+
2278+
2279+
2280+
2281+ac_aux_dir=
2282+for ac_dir in config "$srcdir"/config; do
2283+ if test -f "$ac_dir/install-sh"; then
2284+ ac_aux_dir=$ac_dir
2285+ ac_install_sh="$ac_aux_dir/install-sh -c"
2286+ break
2287+ elif test -f "$ac_dir/install.sh"; then
2288+ ac_aux_dir=$ac_dir
2289+ ac_install_sh="$ac_aux_dir/install.sh -c"
2290+ break
2291+ elif test -f "$ac_dir/shtool"; then
2292+ ac_aux_dir=$ac_dir
2293+ ac_install_sh="$ac_aux_dir/shtool install -c"
2294+ break
2295+ fi
2296+done
2297+if test -z "$ac_aux_dir"; then
2298+ as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2299+fi
2300+
2301+# These three variables are undocumented and unsupported,
2302+# and are intended to be withdrawn in a future Autoconf release.
2303+# They can cause serious problems if a builder's source tree is in a directory
2304+# whose full name contains unusual characters.
2305+ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2306+ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2307+ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2308+
2309+
2310+ac_config_headers="$ac_config_headers config/config.h"
2311+
2312+
2313+
2314+am__api_version='1.12'
2315+
2316+# Find a good install program. We prefer a C program (faster),
2317+# so one script is as good as another. But avoid the broken or
2318+# incompatible versions:
2319+# SysV /etc/install, /usr/sbin/install
2320+# SunOS /usr/etc/install
2321+# IRIX /sbin/install
2322+# AIX /bin/install
2323+# AmigaOS /C/install, which installs bootblocks on floppy discs
2324+# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2325+# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2326+# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2327+# OS/2's system install, which has a completely different semantic
2328+# ./install, which can be erroneously created by make from ./install.sh.
2329+# Reject install programs that cannot install multiple files.
2330+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2331+$as_echo_n "checking for a BSD-compatible install... " >&6; }
2332+if test -z "$INSTALL"; then
2333+if ${ac_cv_path_install+:} false; then :
2334+ $as_echo_n "(cached) " >&6
2335+else
2336+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2337+for as_dir in $PATH
2338+do
2339+ IFS=$as_save_IFS
2340+ test -z "$as_dir" && as_dir=.
2341+ # Account for people who put trailing slashes in PATH elements.
2342+case $as_dir/ in #((
2343+ ./ | .// | /[cC]/* | \
2344+ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2345+ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2346+ /usr/ucb/* ) ;;
2347+ *)
2348+ # OSF1 and SCO ODT 3.0 have their own names for install.
2349+ # Don't use installbsd from OSF since it installs stuff as root
2350+ # by default.
2351+ for ac_prog in ginstall scoinst install; do
2352+ for ac_exec_ext in '' $ac_executable_extensions; do
2353+ if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2354+ if test $ac_prog = install &&
2355+ grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2356+ # AIX install. It has an incompatible calling convention.
2357+ :
2358+ elif test $ac_prog = install &&
2359+ grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2360+ # program-specific install script used by HP pwplus--don't use.
2361+ :
2362+ else
2363+ rm -rf conftest.one conftest.two conftest.dir
2364+ echo one > conftest.one
2365+ echo two > conftest.two
2366+ mkdir conftest.dir
2367+ if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2368+ test -s conftest.one && test -s conftest.two &&
2369+ test -s conftest.dir/conftest.one &&
2370+ test -s conftest.dir/conftest.two
2371+ then
2372+ ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2373+ break 3
2374+ fi
2375+ fi
2376+ fi
2377+ done
2378+ done
2379+ ;;
2380+esac
2381+
2382+ done
2383+IFS=$as_save_IFS
2384+
2385+rm -rf conftest.one conftest.two conftest.dir
2386+
2387+fi
2388+ if test "${ac_cv_path_install+set}" = set; then
2389+ INSTALL=$ac_cv_path_install
2390+ else
2391+ # As a last resort, use the slow shell script. Don't cache a
2392+ # value for INSTALL within a source directory, because that will
2393+ # break other packages using the cache if that directory is
2394+ # removed, or if the value is a relative name.
2395+ INSTALL=$ac_install_sh
2396+ fi
2397+fi
2398+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2399+$as_echo "$INSTALL" >&6; }
2400+
2401+# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2402+# It thinks the first close brace ends the variable substitution.
2403+test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2404+
2405+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2406+
2407+test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2408+
2409+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2410+$as_echo_n "checking whether build environment is sane... " >&6; }
2411+# Reject unsafe characters in $srcdir or the absolute working directory
2412+# name. Accept space and tab only in the latter.
2413+am_lf='
2414+'
2415+case `pwd` in
2416+ *[\\\"\#\$\&\'\`$am_lf]*)
2417+ as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2418+esac
2419+case $srcdir in
2420+ *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2421+ as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2422+esac
2423+
2424+# Do 'set' in a subshell so we don't clobber the current shell's
2425+# arguments. Must try -L first in case configure is actually a
2426+# symlink; some systems play weird games with the mod time of symlinks
2427+# (eg FreeBSD returns the mod time of the symlink's containing
2428+# directory).
2429+if (
2430+ am_has_slept=no
2431+ for am_try in 1 2; do
2432+ echo "timestamp, slept: $am_has_slept" > conftest.file
2433+ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2434+ if test "$*" = "X"; then
2435+ # -L didn't work.
2436+ set X `ls -t "$srcdir/configure" conftest.file`
2437+ fi
2438+ if test "$*" != "X $srcdir/configure conftest.file" \
2439+ && test "$*" != "X conftest.file $srcdir/configure"; then
2440+
2441+ # If neither matched, then we have a broken ls. This can happen
2442+ # if, for instance, CONFIG_SHELL is bash and it inherits a
2443+ # broken ls alias from the environment. This has actually
2444+ # happened. Such a system could not be considered "sane".
2445+ as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2446+ alias in your environment" "$LINENO" 5
2447+ fi
2448+ if test "$2" = conftest.file || test $am_try -eq 2; then
2449+ break
2450+ fi
2451+ # Just in case.
2452+ sleep 1
2453+ am_has_slept=yes
2454+ done
2455+ test "$2" = conftest.file
2456+ )
2457+then
2458+ # Ok.
2459+ :
2460+else
2461+ as_fn_error $? "newly created file is older than distributed files!
2462+Check your system clock" "$LINENO" 5
2463+fi
2464+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2465+$as_echo "yes" >&6; }
2466+# If we didn't sleep, we still need to ensure time stamps of config.status and
2467+# generated files are strictly newer.
2468+am_sleep_pid=
2469+if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2470+ ( sleep 1 ) &
2471+ am_sleep_pid=$!
2472+fi
2473+
2474+rm -f conftest.file
2475+
2476+test "$program_prefix" != NONE &&
2477+ program_transform_name="s&^&$program_prefix&;$program_transform_name"
2478+# Use a double $ so make ignores it.
2479+test "$program_suffix" != NONE &&
2480+ program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2481+# Double any \ or $.
2482+# By default was `s,x,x', remove it if useless.
2483+ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2484+program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2485+
2486+# expand $ac_aux_dir to an absolute path
2487+am_aux_dir=`cd $ac_aux_dir && pwd`
2488+
2489+if test x"${MISSING+set}" != xset; then
2490+ case $am_aux_dir in
2491+ *\ * | *\ *)
2492+ MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2493+ *)
2494+ MISSING="\${SHELL} $am_aux_dir/missing" ;;
2495+ esac
2496+fi
2497+# Use eval to expand $SHELL
2498+if eval "$MISSING --run true"; then
2499+ am_missing_run="$MISSING --run "
2500+else
2501+ am_missing_run=
2502+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2503+$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2504+fi
2505+
2506+if test x"${install_sh}" != xset; then
2507+ case $am_aux_dir in
2508+ *\ * | *\ *)
2509+ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2510+ *)
2511+ install_sh="\${SHELL} $am_aux_dir/install-sh"
2512+ esac
2513+fi
2514+
2515+# Installed binaries are usually stripped using 'strip' when the user
2516+# run "make install-strip". However 'strip' might not be the right
2517+# tool to use in cross-compilation environments, therefore Automake
2518+# will honor the 'STRIP' environment variable to overrule this program.
2519+if test "$cross_compiling" != no; then
2520+ if test -n "$ac_tool_prefix"; then
2521+ # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2522+set dummy ${ac_tool_prefix}strip; ac_word=$2
2523+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2524+$as_echo_n "checking for $ac_word... " >&6; }
2525+if ${ac_cv_prog_STRIP+:} false; then :
2526+ $as_echo_n "(cached) " >&6
2527+else
2528+ if test -n "$STRIP"; then
2529+ ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2530+else
2531+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2532+for as_dir in $PATH
2533+do
2534+ IFS=$as_save_IFS
2535+ test -z "$as_dir" && as_dir=.
2536+ for ac_exec_ext in '' $ac_executable_extensions; do
2537+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2538+ ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2539+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2540+ break 2
2541+ fi
2542+done
2543+ done
2544+IFS=$as_save_IFS
2545+
2546+fi
2547+fi
2548+STRIP=$ac_cv_prog_STRIP
2549+if test -n "$STRIP"; then
2550+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2551+$as_echo "$STRIP" >&6; }
2552+else
2553+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2554+$as_echo "no" >&6; }
2555+fi
2556+
2557+
2558+fi
2559+if test -z "$ac_cv_prog_STRIP"; then
2560+ ac_ct_STRIP=$STRIP
2561+ # Extract the first word of "strip", so it can be a program name with args.
2562+set dummy strip; ac_word=$2
2563+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2564+$as_echo_n "checking for $ac_word... " >&6; }
2565+if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2566+ $as_echo_n "(cached) " >&6
2567+else
2568+ if test -n "$ac_ct_STRIP"; then
2569+ ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2570+else
2571+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2572+for as_dir in $PATH
2573+do
2574+ IFS=$as_save_IFS
2575+ test -z "$as_dir" && as_dir=.
2576+ for ac_exec_ext in '' $ac_executable_extensions; do
2577+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2578+ ac_cv_prog_ac_ct_STRIP="strip"
2579+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2580+ break 2
2581+ fi
2582+done
2583+ done
2584+IFS=$as_save_IFS
2585+
2586+fi
2587+fi
2588+ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2589+if test -n "$ac_ct_STRIP"; then
2590+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2591+$as_echo "$ac_ct_STRIP" >&6; }
2592+else
2593+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2594+$as_echo "no" >&6; }
2595+fi
2596+
2597+ if test "x$ac_ct_STRIP" = x; then
2598+ STRIP=":"
2599+ else
2600+ case $cross_compiling:$ac_tool_warned in
2601+yes:)
2602+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2603+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2604+ac_tool_warned=yes ;;
2605+esac
2606+ STRIP=$ac_ct_STRIP
2607+ fi
2608+else
2609+ STRIP="$ac_cv_prog_STRIP"
2610+fi
2611+
2612+fi
2613+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2614+
2615+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2616+$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2617+if test -z "$MKDIR_P"; then
2618+ if ${ac_cv_path_mkdir+:} false; then :
2619+ $as_echo_n "(cached) " >&6
2620+else
2621+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2622+for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2623+do
2624+ IFS=$as_save_IFS
2625+ test -z "$as_dir" && as_dir=.
2626+ for ac_prog in mkdir gmkdir; do
2627+ for ac_exec_ext in '' $ac_executable_extensions; do
2628+ as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2629+ case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2630+ 'mkdir (GNU coreutils) '* | \
2631+ 'mkdir (coreutils) '* | \
2632+ 'mkdir (fileutils) '4.1*)
2633+ ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2634+ break 3;;
2635+ esac
2636+ done
2637+ done
2638+ done
2639+IFS=$as_save_IFS
2640+
2641+fi
2642+
2643+ test -d ./--version && rmdir ./--version
2644+ if test "${ac_cv_path_mkdir+set}" = set; then
2645+ MKDIR_P="$ac_cv_path_mkdir -p"
2646+ else
2647+ # As a last resort, use the slow shell script. Don't cache a
2648+ # value for MKDIR_P within a source directory, because that will
2649+ # break other packages using the cache if that directory is
2650+ # removed, or if the value is a relative name.
2651+ MKDIR_P="$ac_install_sh -d"
2652+ fi
2653+fi
2654+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2655+$as_echo "$MKDIR_P" >&6; }
2656+
2657+for ac_prog in gawk mawk nawk awk
2658+do
2659+ # Extract the first word of "$ac_prog", so it can be a program name with args.
2660+set dummy $ac_prog; ac_word=$2
2661+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2662+$as_echo_n "checking for $ac_word... " >&6; }
2663+if ${ac_cv_prog_AWK+:} false; then :
2664+ $as_echo_n "(cached) " >&6
2665+else
2666+ if test -n "$AWK"; then
2667+ ac_cv_prog_AWK="$AWK" # Let the user override the test.
2668+else
2669+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2670+for as_dir in $PATH
2671+do
2672+ IFS=$as_save_IFS
2673+ test -z "$as_dir" && as_dir=.
2674+ for ac_exec_ext in '' $ac_executable_extensions; do
2675+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2676+ ac_cv_prog_AWK="$ac_prog"
2677+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2678+ break 2
2679+ fi
2680+done
2681+ done
2682+IFS=$as_save_IFS
2683+
2684+fi
2685+fi
2686+AWK=$ac_cv_prog_AWK
2687+if test -n "$AWK"; then
2688+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2689+$as_echo "$AWK" >&6; }
2690+else
2691+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2692+$as_echo "no" >&6; }
2693+fi
2694+
2695+
2696+ test -n "$AWK" && break
2697+done
2698+
2699+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2700+$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2701+set x ${MAKE-make}
2702+ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2703+if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2704+ $as_echo_n "(cached) " >&6
2705+else
2706+ cat >conftest.make <<\_ACEOF
2707+SHELL = /bin/sh
2708+all:
2709+ @echo '@@@%%%=$(MAKE)=@@@%%%'
2710+_ACEOF
2711+# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2712+case `${MAKE-make} -f conftest.make 2>/dev/null` in
2713+ *@@@%%%=?*=@@@%%%*)
2714+ eval ac_cv_prog_make_${ac_make}_set=yes;;
2715+ *)
2716+ eval ac_cv_prog_make_${ac_make}_set=no;;
2717+esac
2718+rm -f conftest.make
2719+fi
2720+if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2721+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2722+$as_echo "yes" >&6; }
2723+ SET_MAKE=
2724+else
2725+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2726+$as_echo "no" >&6; }
2727+ SET_MAKE="MAKE=${MAKE-make}"
2728+fi
2729+
2730+rm -rf .tst 2>/dev/null
2731+mkdir .tst 2>/dev/null
2732+if test -d .tst; then
2733+ am__leading_dot=.
2734+else
2735+ am__leading_dot=_
2736+fi
2737+rmdir .tst 2>/dev/null
2738+
2739+if test "`cd $srcdir && pwd`" != "`pwd`"; then
2740+ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2741+ # is not polluted with repeated "-I."
2742+ am__isrc=' -I$(srcdir)'
2743+ # test to see if srcdir already configured
2744+ if test -f $srcdir/config.status; then
2745+ as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2746+ fi
2747+fi
2748+
2749+# test whether we have cygpath
2750+if test -z "$CYGPATH_W"; then
2751+ if (cygpath --version) >/dev/null 2>/dev/null; then
2752+ CYGPATH_W='cygpath -w'
2753+ else
2754+ CYGPATH_W=echo
2755+ fi
2756+fi
2757+
2758+
2759+# Define the identity of the package.
2760+ PACKAGE='ccunit'
2761+ VERSION='2.1'
2762+
2763+
2764+cat >>confdefs.h <<_ACEOF
2765+#define PACKAGE "$PACKAGE"
2766+_ACEOF
2767+
2768+
2769+cat >>confdefs.h <<_ACEOF
2770+#define VERSION "$VERSION"
2771+_ACEOF
2772+
2773+# Some tools Automake needs.
2774+
2775+ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2776+
2777+
2778+AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2779+
2780+
2781+AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2782+
2783+
2784+AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2785+
2786+
2787+MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2788+
2789+# For better backward compatibility. To be removed once Automake 1.9.x
2790+# dies out for good. For more background, see:
2791+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2792+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2793+mkdir_p='$(MKDIR_P)'
2794+
2795+# We need awk for the "check" target. The system "awk" is bad on
2796+# some platforms.
2797+# Always define AMTAR for backward compatibility. Yes, it's still used
2798+# in the wild :-( We should find a proper way to deprecate it ...
2799+AMTAR='$${TAR-tar}'
2800+
2801+am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2802+
2803+
2804+
2805+
2806+
2807+
2808+ac_config_commands="$ac_config_commands src/ccunit/config.h"
2809+
2810+
2811+DISTDOCDIR=$PACKAGE-$VERSION-doc
2812+
2813+DISTDOCJADIR=$PACKAGE-$VERSION-docja
2814+
2815+
2816+ac_ext=c
2817+ac_cpp='$CPP $CPPFLAGS'
2818+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2819+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2820+ac_compiler_gnu=$ac_cv_c_compiler_gnu
2821+
2822+
2823+# Checks for programs.
2824+DEPDIR="${am__leading_dot}deps"
2825+
2826+ac_config_commands="$ac_config_commands depfiles"
2827+
2828+
2829+am_make=${MAKE-make}
2830+cat > confinc << 'END'
2831+am__doit:
2832+ @echo this is the am__doit target
2833+.PHONY: am__doit
2834+END
2835+# If we don't find an include directive, just comment out the code.
2836+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2837+$as_echo_n "checking for style of include used by $am_make... " >&6; }
2838+am__include="#"
2839+am__quote=
2840+_am_result=none
2841+# First try GNU make style include.
2842+echo "include confinc" > confmf
2843+# Ignore all kinds of additional output from 'make'.
2844+case `$am_make -s -f confmf 2> /dev/null` in #(
2845+*the\ am__doit\ target*)
2846+ am__include=include
2847+ am__quote=
2848+ _am_result=GNU
2849+ ;;
2850+esac
2851+# Now try BSD make style include.
2852+if test "$am__include" = "#"; then
2853+ echo '.include "confinc"' > confmf
2854+ case `$am_make -s -f confmf 2> /dev/null` in #(
2855+ *the\ am__doit\ target*)
2856+ am__include=.include
2857+ am__quote="\""
2858+ _am_result=BSD
2859+ ;;
2860+ esac
2861+fi
2862+
2863+
2864+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2865+$as_echo "$_am_result" >&6; }
2866+rm -f confinc confmf
2867+
2868+# Check whether --enable-dependency-tracking was given.
2869+if test "${enable_dependency_tracking+set}" = set; then :
2870+ enableval=$enable_dependency_tracking;
2871+fi
2872+
2873+if test "x$enable_dependency_tracking" != xno; then
2874+ am_depcomp="$ac_aux_dir/depcomp"
2875+ AMDEPBACKSLASH='\'
2876+ am__nodep='_no'
2877+fi
2878+ if test "x$enable_dependency_tracking" != xno; then
2879+ AMDEP_TRUE=
2880+ AMDEP_FALSE='#'
2881+else
2882+ AMDEP_TRUE='#'
2883+ AMDEP_FALSE=
2884+fi
2885+
2886+
2887+ac_ext=c
2888+ac_cpp='$CPP $CPPFLAGS'
2889+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2890+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2891+ac_compiler_gnu=$ac_cv_c_compiler_gnu
2892+if test -n "$ac_tool_prefix"; then
2893+ # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2894+set dummy ${ac_tool_prefix}gcc; ac_word=$2
2895+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2896+$as_echo_n "checking for $ac_word... " >&6; }
2897+if ${ac_cv_prog_CC+:} false; then :
2898+ $as_echo_n "(cached) " >&6
2899+else
2900+ if test -n "$CC"; then
2901+ ac_cv_prog_CC="$CC" # Let the user override the test.
2902+else
2903+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2904+for as_dir in $PATH
2905+do
2906+ IFS=$as_save_IFS
2907+ test -z "$as_dir" && as_dir=.
2908+ for ac_exec_ext in '' $ac_executable_extensions; do
2909+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2910+ ac_cv_prog_CC="${ac_tool_prefix}gcc"
2911+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2912+ break 2
2913+ fi
2914+done
2915+ done
2916+IFS=$as_save_IFS
2917+
2918+fi
2919+fi
2920+CC=$ac_cv_prog_CC
2921+if test -n "$CC"; then
2922+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2923+$as_echo "$CC" >&6; }
2924+else
2925+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2926+$as_echo "no" >&6; }
2927+fi
2928+
2929+
2930+fi
2931+if test -z "$ac_cv_prog_CC"; then
2932+ ac_ct_CC=$CC
2933+ # Extract the first word of "gcc", so it can be a program name with args.
2934+set dummy gcc; ac_word=$2
2935+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2936+$as_echo_n "checking for $ac_word... " >&6; }
2937+if ${ac_cv_prog_ac_ct_CC+:} false; then :
2938+ $as_echo_n "(cached) " >&6
2939+else
2940+ if test -n "$ac_ct_CC"; then
2941+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2942+else
2943+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2944+for as_dir in $PATH
2945+do
2946+ IFS=$as_save_IFS
2947+ test -z "$as_dir" && as_dir=.
2948+ for ac_exec_ext in '' $ac_executable_extensions; do
2949+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2950+ ac_cv_prog_ac_ct_CC="gcc"
2951+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2952+ break 2
2953+ fi
2954+done
2955+ done
2956+IFS=$as_save_IFS
2957+
2958+fi
2959+fi
2960+ac_ct_CC=$ac_cv_prog_ac_ct_CC
2961+if test -n "$ac_ct_CC"; then
2962+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2963+$as_echo "$ac_ct_CC" >&6; }
2964+else
2965+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2966+$as_echo "no" >&6; }
2967+fi
2968+
2969+ if test "x$ac_ct_CC" = x; then
2970+ CC=""
2971+ else
2972+ case $cross_compiling:$ac_tool_warned in
2973+yes:)
2974+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2975+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2976+ac_tool_warned=yes ;;
2977+esac
2978+ CC=$ac_ct_CC
2979+ fi
2980+else
2981+ CC="$ac_cv_prog_CC"
2982+fi
2983+
2984+if test -z "$CC"; then
2985+ if test -n "$ac_tool_prefix"; then
2986+ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2987+set dummy ${ac_tool_prefix}cc; ac_word=$2
2988+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2989+$as_echo_n "checking for $ac_word... " >&6; }
2990+if ${ac_cv_prog_CC+:} false; then :
2991+ $as_echo_n "(cached) " >&6
2992+else
2993+ if test -n "$CC"; then
2994+ ac_cv_prog_CC="$CC" # Let the user override the test.
2995+else
2996+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2997+for as_dir in $PATH
2998+do
2999+ IFS=$as_save_IFS
3000+ test -z "$as_dir" && as_dir=.
3001+ for ac_exec_ext in '' $ac_executable_extensions; do
3002+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3003+ ac_cv_prog_CC="${ac_tool_prefix}cc"
3004+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3005+ break 2
3006+ fi
3007+done
3008+ done
3009+IFS=$as_save_IFS
3010+
3011+fi
3012+fi
3013+CC=$ac_cv_prog_CC
3014+if test -n "$CC"; then
3015+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3016+$as_echo "$CC" >&6; }
3017+else
3018+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3019+$as_echo "no" >&6; }
3020+fi
3021+
3022+
3023+ fi
3024+fi
3025+if test -z "$CC"; then
3026+ # Extract the first word of "cc", so it can be a program name with args.
3027+set dummy cc; ac_word=$2
3028+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3029+$as_echo_n "checking for $ac_word... " >&6; }
3030+if ${ac_cv_prog_CC+:} false; then :
3031+ $as_echo_n "(cached) " >&6
3032+else
3033+ if test -n "$CC"; then
3034+ ac_cv_prog_CC="$CC" # Let the user override the test.
3035+else
3036+ ac_prog_rejected=no
3037+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3038+for as_dir in $PATH
3039+do
3040+ IFS=$as_save_IFS
3041+ test -z "$as_dir" && as_dir=.
3042+ for ac_exec_ext in '' $ac_executable_extensions; do
3043+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3044+ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3045+ ac_prog_rejected=yes
3046+ continue
3047+ fi
3048+ ac_cv_prog_CC="cc"
3049+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3050+ break 2
3051+ fi
3052+done
3053+ done
3054+IFS=$as_save_IFS
3055+
3056+if test $ac_prog_rejected = yes; then
3057+ # We found a bogon in the path, so make sure we never use it.
3058+ set dummy $ac_cv_prog_CC
3059+ shift
3060+ if test $# != 0; then
3061+ # We chose a different compiler from the bogus one.
3062+ # However, it has the same basename, so the bogon will be chosen
3063+ # first if we set CC to just the basename; use the full file name.
3064+ shift
3065+ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3066+ fi
3067+fi
3068+fi
3069+fi
3070+CC=$ac_cv_prog_CC
3071+if test -n "$CC"; then
3072+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3073+$as_echo "$CC" >&6; }
3074+else
3075+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3076+$as_echo "no" >&6; }
3077+fi
3078+
3079+
3080+fi
3081+if test -z "$CC"; then
3082+ if test -n "$ac_tool_prefix"; then
3083+ for ac_prog in cl.exe
3084+ do
3085+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3086+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3087+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3088+$as_echo_n "checking for $ac_word... " >&6; }
3089+if ${ac_cv_prog_CC+:} false; then :
3090+ $as_echo_n "(cached) " >&6
3091+else
3092+ if test -n "$CC"; then
3093+ ac_cv_prog_CC="$CC" # Let the user override the test.
3094+else
3095+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3096+for as_dir in $PATH
3097+do
3098+ IFS=$as_save_IFS
3099+ test -z "$as_dir" && as_dir=.
3100+ for ac_exec_ext in '' $ac_executable_extensions; do
3101+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3102+ ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3103+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3104+ break 2
3105+ fi
3106+done
3107+ done
3108+IFS=$as_save_IFS
3109+
3110+fi
3111+fi
3112+CC=$ac_cv_prog_CC
3113+if test -n "$CC"; then
3114+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3115+$as_echo "$CC" >&6; }
3116+else
3117+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3118+$as_echo "no" >&6; }
3119+fi
3120+
3121+
3122+ test -n "$CC" && break
3123+ done
3124+fi
3125+if test -z "$CC"; then
3126+ ac_ct_CC=$CC
3127+ for ac_prog in cl.exe
3128+do
3129+ # Extract the first word of "$ac_prog", so it can be a program name with args.
3130+set dummy $ac_prog; ac_word=$2
3131+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3132+$as_echo_n "checking for $ac_word... " >&6; }
3133+if ${ac_cv_prog_ac_ct_CC+:} false; then :
3134+ $as_echo_n "(cached) " >&6
3135+else
3136+ if test -n "$ac_ct_CC"; then
3137+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3138+else
3139+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3140+for as_dir in $PATH
3141+do
3142+ IFS=$as_save_IFS
3143+ test -z "$as_dir" && as_dir=.
3144+ for ac_exec_ext in '' $ac_executable_extensions; do
3145+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3146+ ac_cv_prog_ac_ct_CC="$ac_prog"
3147+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3148+ break 2
3149+ fi
3150+done
3151+ done
3152+IFS=$as_save_IFS
3153+
3154+fi
3155+fi
3156+ac_ct_CC=$ac_cv_prog_ac_ct_CC
3157+if test -n "$ac_ct_CC"; then
3158+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3159+$as_echo "$ac_ct_CC" >&6; }
3160+else
3161+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3162+$as_echo "no" >&6; }
3163+fi
3164+
3165+
3166+ test -n "$ac_ct_CC" && break
3167+done
3168+
3169+ if test "x$ac_ct_CC" = x; then
3170+ CC=""
3171+ else
3172+ case $cross_compiling:$ac_tool_warned in
3173+yes:)
3174+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3175+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3176+ac_tool_warned=yes ;;
3177+esac
3178+ CC=$ac_ct_CC
3179+ fi
3180+fi
3181+
3182+fi
3183+
3184+
3185+test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3186+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3187+as_fn_error $? "no acceptable C compiler found in \$PATH
3188+See \`config.log' for more details" "$LINENO" 5; }
3189+
3190+# Provide some information about the compiler.
3191+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3192+set X $ac_compile
3193+ac_compiler=$2
3194+for ac_option in --version -v -V -qversion; do
3195+ { { ac_try="$ac_compiler $ac_option >&5"
3196+case "(($ac_try" in
3197+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3198+ *) ac_try_echo=$ac_try;;
3199+esac
3200+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3201+$as_echo "$ac_try_echo"; } >&5
3202+ (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3203+ ac_status=$?
3204+ if test -s conftest.err; then
3205+ sed '10a\
3206+... rest of stderr output deleted ...
3207+ 10q' conftest.err >conftest.er1
3208+ cat conftest.er1 >&5
3209+ fi
3210+ rm -f conftest.er1 conftest.err
3211+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3212+ test $ac_status = 0; }
3213+done
3214+
3215+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3216+/* end confdefs.h. */
3217+
3218+int
3219+main ()
3220+{
3221+
3222+ ;
3223+ return 0;
3224+}
3225+_ACEOF
3226+ac_clean_files_save=$ac_clean_files
3227+ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3228+# Try to create an executable without -o first, disregard a.out.
3229+# It will help us diagnose broken compilers, and finding out an intuition
3230+# of exeext.
3231+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3232+$as_echo_n "checking whether the C compiler works... " >&6; }
3233+ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3234+
3235+# The possible output files:
3236+ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3237+
3238+ac_rmfiles=
3239+for ac_file in $ac_files
3240+do
3241+ case $ac_file in
3242+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3243+ * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3244+ esac
3245+done
3246+rm -f $ac_rmfiles
3247+
3248+if { { ac_try="$ac_link_default"
3249+case "(($ac_try" in
3250+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3251+ *) ac_try_echo=$ac_try;;
3252+esac
3253+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3254+$as_echo "$ac_try_echo"; } >&5
3255+ (eval "$ac_link_default") 2>&5
3256+ ac_status=$?
3257+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3258+ test $ac_status = 0; }; then :
3259+ # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3260+# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3261+# in a Makefile. We should not override ac_cv_exeext if it was cached,
3262+# so that the user can short-circuit this test for compilers unknown to
3263+# Autoconf.
3264+for ac_file in $ac_files ''
3265+do
3266+ test -f "$ac_file" || continue
3267+ case $ac_file in
3268+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3269+ ;;
3270+ [ab].out )
3271+ # We found the default executable, but exeext='' is most
3272+ # certainly right.
3273+ break;;
3274+ *.* )
3275+ if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3276+ then :; else
3277+ ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3278+ fi
3279+ # We set ac_cv_exeext here because the later test for it is not
3280+ # safe: cross compilers may not add the suffix if given an `-o'
3281+ # argument, so we may need to know it at that point already.
3282+ # Even if this section looks crufty: it has the advantage of
3283+ # actually working.
3284+ break;;
3285+ * )
3286+ break;;
3287+ esac
3288+done
3289+test "$ac_cv_exeext" = no && ac_cv_exeext=
3290+
3291+else
3292+ ac_file=''
3293+fi
3294+if test -z "$ac_file"; then :
3295+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3296+$as_echo "no" >&6; }
3297+$as_echo "$as_me: failed program was:" >&5
3298+sed 's/^/| /' conftest.$ac_ext >&5
3299+
3300+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3301+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3302+as_fn_error 77 "C compiler cannot create executables
3303+See \`config.log' for more details" "$LINENO" 5; }
3304+else
3305+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3306+$as_echo "yes" >&6; }
3307+fi
3308+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3309+$as_echo_n "checking for C compiler default output file name... " >&6; }
3310+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3311+$as_echo "$ac_file" >&6; }
3312+ac_exeext=$ac_cv_exeext
3313+
3314+rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3315+ac_clean_files=$ac_clean_files_save
3316+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3317+$as_echo_n "checking for suffix of executables... " >&6; }
3318+if { { ac_try="$ac_link"
3319+case "(($ac_try" in
3320+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3321+ *) ac_try_echo=$ac_try;;
3322+esac
3323+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3324+$as_echo "$ac_try_echo"; } >&5
3325+ (eval "$ac_link") 2>&5
3326+ ac_status=$?
3327+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3328+ test $ac_status = 0; }; then :
3329+ # If both `conftest.exe' and `conftest' are `present' (well, observable)
3330+# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3331+# work properly (i.e., refer to `conftest.exe'), while it won't with
3332+# `rm'.
3333+for ac_file in conftest.exe conftest conftest.*; do
3334+ test -f "$ac_file" || continue
3335+ case $ac_file in
3336+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3337+ *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3338+ break;;
3339+ * ) break;;
3340+ esac
3341+done
3342+else
3343+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3344+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3345+as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3346+See \`config.log' for more details" "$LINENO" 5; }
3347+fi
3348+rm -f conftest conftest$ac_cv_exeext
3349+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3350+$as_echo "$ac_cv_exeext" >&6; }
3351+
3352+rm -f conftest.$ac_ext
3353+EXEEXT=$ac_cv_exeext
3354+ac_exeext=$EXEEXT
3355+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3356+/* end confdefs.h. */
3357+#include <stdio.h>
3358+int
3359+main ()
3360+{
3361+FILE *f = fopen ("conftest.out", "w");
3362+ return ferror (f) || fclose (f) != 0;
3363+
3364+ ;
3365+ return 0;
3366+}
3367+_ACEOF
3368+ac_clean_files="$ac_clean_files conftest.out"
3369+# Check that the compiler produces executables we can run. If not, either
3370+# the compiler is broken, or we cross compile.
3371+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3372+$as_echo_n "checking whether we are cross compiling... " >&6; }
3373+if test "$cross_compiling" != yes; then
3374+ { { ac_try="$ac_link"
3375+case "(($ac_try" in
3376+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3377+ *) ac_try_echo=$ac_try;;
3378+esac
3379+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3380+$as_echo "$ac_try_echo"; } >&5
3381+ (eval "$ac_link") 2>&5
3382+ ac_status=$?
3383+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3384+ test $ac_status = 0; }
3385+ if { ac_try='./conftest$ac_cv_exeext'
3386+ { { case "(($ac_try" in
3387+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3388+ *) ac_try_echo=$ac_try;;
3389+esac
3390+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3391+$as_echo "$ac_try_echo"; } >&5
3392+ (eval "$ac_try") 2>&5
3393+ ac_status=$?
3394+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3395+ test $ac_status = 0; }; }; then
3396+ cross_compiling=no
3397+ else
3398+ if test "$cross_compiling" = maybe; then
3399+ cross_compiling=yes
3400+ else
3401+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3402+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3403+as_fn_error $? "cannot run C compiled programs.
3404+If you meant to cross compile, use \`--host'.
3405+See \`config.log' for more details" "$LINENO" 5; }
3406+ fi
3407+ fi
3408+fi
3409+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3410+$as_echo "$cross_compiling" >&6; }
3411+
3412+rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3413+ac_clean_files=$ac_clean_files_save
3414+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3415+$as_echo_n "checking for suffix of object files... " >&6; }
3416+if ${ac_cv_objext+:} false; then :
3417+ $as_echo_n "(cached) " >&6
3418+else
3419+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3420+/* end confdefs.h. */
3421+
3422+int
3423+main ()
3424+{
3425+
3426+ ;
3427+ return 0;
3428+}
3429+_ACEOF
3430+rm -f conftest.o conftest.obj
3431+if { { ac_try="$ac_compile"
3432+case "(($ac_try" in
3433+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3434+ *) ac_try_echo=$ac_try;;
3435+esac
3436+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3437+$as_echo "$ac_try_echo"; } >&5
3438+ (eval "$ac_compile") 2>&5
3439+ ac_status=$?
3440+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3441+ test $ac_status = 0; }; then :
3442+ for ac_file in conftest.o conftest.obj conftest.*; do
3443+ test -f "$ac_file" || continue;
3444+ case $ac_file in
3445+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3446+ *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3447+ break;;
3448+ esac
3449+done
3450+else
3451+ $as_echo "$as_me: failed program was:" >&5
3452+sed 's/^/| /' conftest.$ac_ext >&5
3453+
3454+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3455+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3456+as_fn_error $? "cannot compute suffix of object files: cannot compile
3457+See \`config.log' for more details" "$LINENO" 5; }
3458+fi
3459+rm -f conftest.$ac_cv_objext conftest.$ac_ext
3460+fi
3461+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3462+$as_echo "$ac_cv_objext" >&6; }
3463+OBJEXT=$ac_cv_objext
3464+ac_objext=$OBJEXT
3465+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3466+$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3467+if ${ac_cv_c_compiler_gnu+:} false; then :
3468+ $as_echo_n "(cached) " >&6
3469+else
3470+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3471+/* end confdefs.h. */
3472+
3473+int
3474+main ()
3475+{
3476+#ifndef __GNUC__
3477+ choke me
3478+#endif
3479+
3480+ ;
3481+ return 0;
3482+}
3483+_ACEOF
3484+if ac_fn_c_try_compile "$LINENO"; then :
3485+ ac_compiler_gnu=yes
3486+else
3487+ ac_compiler_gnu=no
3488+fi
3489+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3490+ac_cv_c_compiler_gnu=$ac_compiler_gnu
3491+
3492+fi
3493+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3494+$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3495+if test $ac_compiler_gnu = yes; then
3496+ GCC=yes
3497+else
3498+ GCC=
3499+fi
3500+ac_test_CFLAGS=${CFLAGS+set}
3501+ac_save_CFLAGS=$CFLAGS
3502+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3503+$as_echo_n "checking whether $CC accepts -g... " >&6; }
3504+if ${ac_cv_prog_cc_g+:} false; then :
3505+ $as_echo_n "(cached) " >&6
3506+else
3507+ ac_save_c_werror_flag=$ac_c_werror_flag
3508+ ac_c_werror_flag=yes
3509+ ac_cv_prog_cc_g=no
3510+ CFLAGS="-g"
3511+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3512+/* end confdefs.h. */
3513+
3514+int
3515+main ()
3516+{
3517+
3518+ ;
3519+ return 0;
3520+}
3521+_ACEOF
3522+if ac_fn_c_try_compile "$LINENO"; then :
3523+ ac_cv_prog_cc_g=yes
3524+else
3525+ CFLAGS=""
3526+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3527+/* end confdefs.h. */
3528+
3529+int
3530+main ()
3531+{
3532+
3533+ ;
3534+ return 0;
3535+}
3536+_ACEOF
3537+if ac_fn_c_try_compile "$LINENO"; then :
3538+
3539+else
3540+ ac_c_werror_flag=$ac_save_c_werror_flag
3541+ CFLAGS="-g"
3542+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3543+/* end confdefs.h. */
3544+
3545+int
3546+main ()
3547+{
3548+
3549+ ;
3550+ return 0;
3551+}
3552+_ACEOF
3553+if ac_fn_c_try_compile "$LINENO"; then :
3554+ ac_cv_prog_cc_g=yes
3555+fi
3556+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3557+fi
3558+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3559+fi
3560+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3561+ ac_c_werror_flag=$ac_save_c_werror_flag
3562+fi
3563+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3564+$as_echo "$ac_cv_prog_cc_g" >&6; }
3565+if test "$ac_test_CFLAGS" = set; then
3566+ CFLAGS=$ac_save_CFLAGS
3567+elif test $ac_cv_prog_cc_g = yes; then
3568+ if test "$GCC" = yes; then
3569+ CFLAGS="-g -O2"
3570+ else
3571+ CFLAGS="-g"
3572+ fi
3573+else
3574+ if test "$GCC" = yes; then
3575+ CFLAGS="-O2"
3576+ else
3577+ CFLAGS=
3578+ fi
3579+fi
3580+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3581+$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3582+if ${ac_cv_prog_cc_c89+:} false; then :
3583+ $as_echo_n "(cached) " >&6
3584+else
3585+ ac_cv_prog_cc_c89=no
3586+ac_save_CC=$CC
3587+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3588+/* end confdefs.h. */
3589+#include <stdarg.h>
3590+#include <stdio.h>
3591+struct stat;
3592+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3593+struct buf { int x; };
3594+FILE * (*rcsopen) (struct buf *, struct stat *, int);
3595+static char *e (p, i)
3596+ char **p;
3597+ int i;
3598+{
3599+ return p[i];
3600+}
3601+static char *f (char * (*g) (char **, int), char **p, ...)
3602+{
3603+ char *s;
3604+ va_list v;
3605+ va_start (v,p);
3606+ s = g (p, va_arg (v,int));
3607+ va_end (v);
3608+ return s;
3609+}
3610+
3611+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3612+ function prototypes and stuff, but not '\xHH' hex character constants.
3613+ These don't provoke an error unfortunately, instead are silently treated
3614+ as 'x'. The following induces an error, until -std is added to get
3615+ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3616+ array size at least. It's necessary to write '\x00'==0 to get something
3617+ that's true only with -std. */
3618+int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3619+
3620+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3621+ inside strings and character constants. */
3622+#define FOO(x) 'x'
3623+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3624+
3625+int test (int i, double x);
3626+struct s1 {int (*f) (int a);};
3627+struct s2 {int (*f) (double a);};
3628+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3629+int argc;
3630+char **argv;
3631+int
3632+main ()
3633+{
3634+return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3635+ ;
3636+ return 0;
3637+}
3638+_ACEOF
3639+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3640+ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3641+do
3642+ CC="$ac_save_CC $ac_arg"
3643+ if ac_fn_c_try_compile "$LINENO"; then :
3644+ ac_cv_prog_cc_c89=$ac_arg
3645+fi
3646+rm -f core conftest.err conftest.$ac_objext
3647+ test "x$ac_cv_prog_cc_c89" != "xno" && break
3648+done
3649+rm -f conftest.$ac_ext
3650+CC=$ac_save_CC
3651+
3652+fi
3653+# AC_CACHE_VAL
3654+case "x$ac_cv_prog_cc_c89" in
3655+ x)
3656+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3657+$as_echo "none needed" >&6; } ;;
3658+ xno)
3659+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3660+$as_echo "unsupported" >&6; } ;;
3661+ *)
3662+ CC="$CC $ac_cv_prog_cc_c89"
3663+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3664+$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3665+esac
3666+if test "x$ac_cv_prog_cc_c89" != xno; then :
3667+
3668+fi
3669+
3670+ac_ext=c
3671+ac_cpp='$CPP $CPPFLAGS'
3672+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3673+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3674+ac_compiler_gnu=$ac_cv_c_compiler_gnu
3675+
3676+depcc="$CC" am_compiler_list=
3677+
3678+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3679+$as_echo_n "checking dependency style of $depcc... " >&6; }
3680+if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3681+ $as_echo_n "(cached) " >&6
3682+else
3683+ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3684+ # We make a subdir and do the tests there. Otherwise we can end up
3685+ # making bogus files that we don't know about and never remove. For
3686+ # instance it was reported that on HP-UX the gcc test will end up
3687+ # making a dummy file named 'D' -- because '-MD' means "put the output
3688+ # in D".
3689+ rm -rf conftest.dir
3690+ mkdir conftest.dir
3691+ # Copy depcomp to subdir because otherwise we won't find it if we're
3692+ # using a relative directory.
3693+ cp "$am_depcomp" conftest.dir
3694+ cd conftest.dir
3695+ # We will build objects and dependencies in a subdirectory because
3696+ # it helps to detect inapplicable dependency modes. For instance
3697+ # both Tru64's cc and ICC support -MD to output dependencies as a
3698+ # side effect of compilation, but ICC will put the dependencies in
3699+ # the current directory while Tru64 will put them in the object
3700+ # directory.
3701+ mkdir sub
3702+
3703+ am_cv_CC_dependencies_compiler_type=none
3704+ if test "$am_compiler_list" = ""; then
3705+ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3706+ fi
3707+ am__universal=false
3708+ case " $depcc " in #(
3709+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
3710+ esac
3711+
3712+ for depmode in $am_compiler_list; do
3713+ # Setup a source with many dependencies, because some compilers
3714+ # like to wrap large dependency lists on column 80 (with \), and
3715+ # we should not choose a depcomp mode which is confused by this.
3716+ #
3717+ # We need to recreate these files for each test, as the compiler may
3718+ # overwrite some of them when testing with obscure command lines.
3719+ # This happens at least with the AIX C compiler.
3720+ : > sub/conftest.c
3721+ for i in 1 2 3 4 5 6; do
3722+ echo '#include "conftst'$i'.h"' >> sub/conftest.c
3723+ # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3724+ # Solaris 10 /bin/sh.
3725+ echo '/* dummy */' > sub/conftst$i.h
3726+ done
3727+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3728+
3729+ # We check with '-c' and '-o' for the sake of the "dashmstdout"
3730+ # mode. It turns out that the SunPro C++ compiler does not properly
3731+ # handle '-M -o', and we need to detect this. Also, some Intel
3732+ # versions had trouble with output in subdirs.
3733+ am__obj=sub/conftest.${OBJEXT-o}
3734+ am__minus_obj="-o $am__obj"
3735+ case $depmode in
3736+ gcc)
3737+ # This depmode causes a compiler race in universal mode.
3738+ test "$am__universal" = false || continue
3739+ ;;
3740+ nosideeffect)
3741+ # After this tag, mechanisms are not by side-effect, so they'll
3742+ # only be used when explicitly requested.
3743+ if test "x$enable_dependency_tracking" = xyes; then
3744+ continue
3745+ else
3746+ break
3747+ fi
3748+ ;;
3749+ msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3750+ # This compiler won't grok '-c -o', but also, the minuso test has
3751+ # not run yet. These depmodes are late enough in the game, and
3752+ # so weak that their functioning should not be impacted.
3753+ am__obj=conftest.${OBJEXT-o}
3754+ am__minus_obj=
3755+ ;;
3756+ none) break ;;
3757+ esac
3758+ if depmode=$depmode \
3759+ source=sub/conftest.c object=$am__obj \
3760+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3761+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3762+ >/dev/null 2>conftest.err &&
3763+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3764+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3765+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3766+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3767+ # icc doesn't choke on unknown options, it will just issue warnings
3768+ # or remarks (even with -Werror). So we grep stderr for any message
3769+ # that says an option was ignored or not supported.
3770+ # When given -MP, icc 7.0 and 7.1 complain thusly:
3771+ # icc: Command line warning: ignoring option '-M'; no argument required
3772+ # The diagnosis changed in icc 8.0:
3773+ # icc: Command line remark: option '-MP' not supported
3774+ if (grep 'ignoring option' conftest.err ||
3775+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3776+ am_cv_CC_dependencies_compiler_type=$depmode
3777+ break
3778+ fi
3779+ fi
3780+ done
3781+
3782+ cd ..
3783+ rm -rf conftest.dir
3784+else
3785+ am_cv_CC_dependencies_compiler_type=none
3786+fi
3787+
3788+fi
3789+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3790+$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3791+CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3792+
3793+ if
3794+ test "x$enable_dependency_tracking" != xno \
3795+ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3796+ am__fastdepCC_TRUE=
3797+ am__fastdepCC_FALSE='#'
3798+else
3799+ am__fastdepCC_TRUE='#'
3800+ am__fastdepCC_FALSE=
3801+fi
3802+
3803+
3804+
3805+ac_ext=c
3806+ac_cpp='$CPP $CPPFLAGS'
3807+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3808+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3809+ac_compiler_gnu=$ac_cv_c_compiler_gnu
3810+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3811+$as_echo_n "checking how to run the C preprocessor... " >&6; }
3812+# On Suns, sometimes $CPP names a directory.
3813+if test -n "$CPP" && test -d "$CPP"; then
3814+ CPP=
3815+fi
3816+if test -z "$CPP"; then
3817+ if ${ac_cv_prog_CPP+:} false; then :
3818+ $as_echo_n "(cached) " >&6
3819+else
3820+ # Double quotes because CPP needs to be expanded
3821+ for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3822+ do
3823+ ac_preproc_ok=false
3824+for ac_c_preproc_warn_flag in '' yes
3825+do
3826+ # Use a header file that comes with gcc, so configuring glibc
3827+ # with a fresh cross-compiler works.
3828+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3829+ # <limits.h> exists even on freestanding compilers.
3830+ # On the NeXT, cc -E runs the code through the compiler's parser,
3831+ # not just through cpp. "Syntax error" is here to catch this case.
3832+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3833+/* end confdefs.h. */
3834+#ifdef __STDC__
3835+# include <limits.h>
3836+#else
3837+# include <assert.h>
3838+#endif
3839+ Syntax error
3840+_ACEOF
3841+if ac_fn_c_try_cpp "$LINENO"; then :
3842+
3843+else
3844+ # Broken: fails on valid input.
3845+continue
3846+fi
3847+rm -f conftest.err conftest.i conftest.$ac_ext
3848+
3849+ # OK, works on sane cases. Now check whether nonexistent headers
3850+ # can be detected and how.
3851+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3852+/* end confdefs.h. */
3853+#include <ac_nonexistent.h>
3854+_ACEOF
3855+if ac_fn_c_try_cpp "$LINENO"; then :
3856+ # Broken: success on invalid input.
3857+continue
3858+else
3859+ # Passes both tests.
3860+ac_preproc_ok=:
3861+break
3862+fi
3863+rm -f conftest.err conftest.i conftest.$ac_ext
3864+
3865+done
3866+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3867+rm -f conftest.i conftest.err conftest.$ac_ext
3868+if $ac_preproc_ok; then :
3869+ break
3870+fi
3871+
3872+ done
3873+ ac_cv_prog_CPP=$CPP
3874+
3875+fi
3876+ CPP=$ac_cv_prog_CPP
3877+else
3878+ ac_cv_prog_CPP=$CPP
3879+fi
3880+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3881+$as_echo "$CPP" >&6; }
3882+ac_preproc_ok=false
3883+for ac_c_preproc_warn_flag in '' yes
3884+do
3885+ # Use a header file that comes with gcc, so configuring glibc
3886+ # with a fresh cross-compiler works.
3887+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3888+ # <limits.h> exists even on freestanding compilers.
3889+ # On the NeXT, cc -E runs the code through the compiler's parser,
3890+ # not just through cpp. "Syntax error" is here to catch this case.
3891+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3892+/* end confdefs.h. */
3893+#ifdef __STDC__
3894+# include <limits.h>
3895+#else
3896+# include <assert.h>
3897+#endif
3898+ Syntax error
3899+_ACEOF
3900+if ac_fn_c_try_cpp "$LINENO"; then :
3901+
3902+else
3903+ # Broken: fails on valid input.
3904+continue
3905+fi
3906+rm -f conftest.err conftest.i conftest.$ac_ext
3907+
3908+ # OK, works on sane cases. Now check whether nonexistent headers
3909+ # can be detected and how.
3910+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3911+/* end confdefs.h. */
3912+#include <ac_nonexistent.h>
3913+_ACEOF
3914+if ac_fn_c_try_cpp "$LINENO"; then :
3915+ # Broken: success on invalid input.
3916+continue
3917+else
3918+ # Passes both tests.
3919+ac_preproc_ok=:
3920+break
3921+fi
3922+rm -f conftest.err conftest.i conftest.$ac_ext
3923+
3924+done
3925+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3926+rm -f conftest.i conftest.err conftest.$ac_ext
3927+if $ac_preproc_ok; then :
3928+
3929+else
3930+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3931+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3932+as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3933+See \`config.log' for more details" "$LINENO" 5; }
3934+fi
3935+
3936+ac_ext=c
3937+ac_cpp='$CPP $CPPFLAGS'
3938+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3939+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3940+ac_compiler_gnu=$ac_cv_c_compiler_gnu
3941+
3942+
3943+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3944+$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3945+if ${ac_cv_path_GREP+:} false; then :
3946+ $as_echo_n "(cached) " >&6
3947+else
3948+ if test -z "$GREP"; then
3949+ ac_path_GREP_found=false
3950+ # Loop through the user's path and test for each of PROGNAME-LIST
3951+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3952+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3953+do
3954+ IFS=$as_save_IFS
3955+ test -z "$as_dir" && as_dir=.
3956+ for ac_prog in grep ggrep; do
3957+ for ac_exec_ext in '' $ac_executable_extensions; do
3958+ ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3959+ as_fn_executable_p "$ac_path_GREP" || continue
3960+# Check for GNU ac_path_GREP and select it if it is found.
3961+ # Check for GNU $ac_path_GREP
3962+case `"$ac_path_GREP" --version 2>&1` in
3963+*GNU*)
3964+ ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3965+*)
3966+ ac_count=0
3967+ $as_echo_n 0123456789 >"conftest.in"
3968+ while :
3969+ do
3970+ cat "conftest.in" "conftest.in" >"conftest.tmp"
3971+ mv "conftest.tmp" "conftest.in"
3972+ cp "conftest.in" "conftest.nl"
3973+ $as_echo 'GREP' >> "conftest.nl"
3974+ "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3975+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3976+ as_fn_arith $ac_count + 1 && ac_count=$as_val
3977+ if test $ac_count -gt ${ac_path_GREP_max-0}; then
3978+ # Best one so far, save it but keep looking for a better one
3979+ ac_cv_path_GREP="$ac_path_GREP"
3980+ ac_path_GREP_max=$ac_count
3981+ fi
3982+ # 10*(2^10) chars as input seems more than enough
3983+ test $ac_count -gt 10 && break
3984+ done
3985+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3986+esac
3987+
3988+ $ac_path_GREP_found && break 3
3989+ done
3990+ done
3991+ done
3992+IFS=$as_save_IFS
3993+ if test -z "$ac_cv_path_GREP"; then
3994+ as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3995+ fi
3996+else
3997+ ac_cv_path_GREP=$GREP
3998+fi
3999+
4000+fi
4001+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4002+$as_echo "$ac_cv_path_GREP" >&6; }
4003+ GREP="$ac_cv_path_GREP"
4004+
4005+
4006+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4007+$as_echo_n "checking for egrep... " >&6; }
4008+if ${ac_cv_path_EGREP+:} false; then :
4009+ $as_echo_n "(cached) " >&6
4010+else
4011+ if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4012+ then ac_cv_path_EGREP="$GREP -E"
4013+ else
4014+ if test -z "$EGREP"; then
4015+ ac_path_EGREP_found=false
4016+ # Loop through the user's path and test for each of PROGNAME-LIST
4017+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4018+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4019+do
4020+ IFS=$as_save_IFS
4021+ test -z "$as_dir" && as_dir=.
4022+ for ac_prog in egrep; do
4023+ for ac_exec_ext in '' $ac_executable_extensions; do
4024+ ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4025+ as_fn_executable_p "$ac_path_EGREP" || continue
4026+# Check for GNU ac_path_EGREP and select it if it is found.
4027+ # Check for GNU $ac_path_EGREP
4028+case `"$ac_path_EGREP" --version 2>&1` in
4029+*GNU*)
4030+ ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4031+*)
4032+ ac_count=0
4033+ $as_echo_n 0123456789 >"conftest.in"
4034+ while :
4035+ do
4036+ cat "conftest.in" "conftest.in" >"conftest.tmp"
4037+ mv "conftest.tmp" "conftest.in"
4038+ cp "conftest.in" "conftest.nl"
4039+ $as_echo 'EGREP' >> "conftest.nl"
4040+ "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4041+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4042+ as_fn_arith $ac_count + 1 && ac_count=$as_val
4043+ if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4044+ # Best one so far, save it but keep looking for a better one
4045+ ac_cv_path_EGREP="$ac_path_EGREP"
4046+ ac_path_EGREP_max=$ac_count
4047+ fi
4048+ # 10*(2^10) chars as input seems more than enough
4049+ test $ac_count -gt 10 && break
4050+ done
4051+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4052+esac
4053+
4054+ $ac_path_EGREP_found && break 3
4055+ done
4056+ done
4057+ done
4058+IFS=$as_save_IFS
4059+ if test -z "$ac_cv_path_EGREP"; then
4060+ as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4061+ fi
4062+else
4063+ ac_cv_path_EGREP=$EGREP
4064+fi
4065+
4066+ fi
4067+fi
4068+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4069+$as_echo "$ac_cv_path_EGREP" >&6; }
4070+ EGREP="$ac_cv_path_EGREP"
4071+
4072+
4073+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4074+$as_echo_n "checking for ANSI C header files... " >&6; }
4075+if ${ac_cv_header_stdc+:} false; then :
4076+ $as_echo_n "(cached) " >&6
4077+else
4078+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4079+/* end confdefs.h. */
4080+#include <stdlib.h>
4081+#include <stdarg.h>
4082+#include <string.h>
4083+#include <float.h>
4084+
4085+int
4086+main ()
4087+{
4088+
4089+ ;
4090+ return 0;
4091+}
4092+_ACEOF
4093+if ac_fn_c_try_compile "$LINENO"; then :
4094+ ac_cv_header_stdc=yes
4095+else
4096+ ac_cv_header_stdc=no
4097+fi
4098+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4099+
4100+if test $ac_cv_header_stdc = yes; then
4101+ # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4102+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4103+/* end confdefs.h. */
4104+#include <string.h>
4105+
4106+_ACEOF
4107+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4108+ $EGREP "memchr" >/dev/null 2>&1; then :
4109+
4110+else
4111+ ac_cv_header_stdc=no
4112+fi
4113+rm -f conftest*
4114+
4115+fi
4116+
4117+if test $ac_cv_header_stdc = yes; then
4118+ # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4119+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4120+/* end confdefs.h. */
4121+#include <stdlib.h>
4122+
4123+_ACEOF
4124+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4125+ $EGREP "free" >/dev/null 2>&1; then :
4126+
4127+else
4128+ ac_cv_header_stdc=no
4129+fi
4130+rm -f conftest*
4131+
4132+fi
4133+
4134+if test $ac_cv_header_stdc = yes; then
4135+ # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4136+ if test "$cross_compiling" = yes; then :
4137+ :
4138+else
4139+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4140+/* end confdefs.h. */
4141+#include <ctype.h>
4142+#include <stdlib.h>
4143+#if ((' ' & 0x0FF) == 0x020)
4144+# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4145+# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4146+#else
4147+# define ISLOWER(c) \
4148+ (('a' <= (c) && (c) <= 'i') \
4149+ || ('j' <= (c) && (c) <= 'r') \
4150+ || ('s' <= (c) && (c) <= 'z'))
4151+# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4152+#endif
4153+
4154+#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4155+int
4156+main ()
4157+{
4158+ int i;
4159+ for (i = 0; i < 256; i++)
4160+ if (XOR (islower (i), ISLOWER (i))
4161+ || toupper (i) != TOUPPER (i))
4162+ return 2;
4163+ return 0;
4164+}
4165+_ACEOF
4166+if ac_fn_c_try_run "$LINENO"; then :
4167+
4168+else
4169+ ac_cv_header_stdc=no
4170+fi
4171+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4172+ conftest.$ac_objext conftest.beam conftest.$ac_ext
4173+fi
4174+
4175+fi
4176+fi
4177+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4178+$as_echo "$ac_cv_header_stdc" >&6; }
4179+if test $ac_cv_header_stdc = yes; then
4180+
4181+$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4182+
4183+fi
4184+
4185+# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4186+for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4187+ inttypes.h stdint.h unistd.h
4188+do :
4189+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4190+ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4191+"
4192+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4193+ cat >>confdefs.h <<_ACEOF
4194+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4195+_ACEOF
4196+
4197+fi
4198+
4199+done
4200+
4201+
4202+
4203+ ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4204+if test "x$ac_cv_header_minix_config_h" = xyes; then :
4205+ MINIX=yes
4206+else
4207+ MINIX=
4208+fi
4209+
4210+
4211+ if test "$MINIX" = yes; then
4212+
4213+$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4214+
4215+
4216+$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4217+
4218+
4219+$as_echo "#define _MINIX 1" >>confdefs.h
4220+
4221+ fi
4222+
4223+
4224+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4225+$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4226+if ${ac_cv_safe_to_define___extensions__+:} false; then :
4227+ $as_echo_n "(cached) " >&6
4228+else
4229+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4230+/* end confdefs.h. */
4231+
4232+# define __EXTENSIONS__ 1
4233+ $ac_includes_default
4234+int
4235+main ()
4236+{
4237+
4238+ ;
4239+ return 0;
4240+}
4241+_ACEOF
4242+if ac_fn_c_try_compile "$LINENO"; then :
4243+ ac_cv_safe_to_define___extensions__=yes
4244+else
4245+ ac_cv_safe_to_define___extensions__=no
4246+fi
4247+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4248+fi
4249+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4250+$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4251+ test $ac_cv_safe_to_define___extensions__ = yes &&
4252+ $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4253+
4254+ $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4255+
4256+ $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4257+
4258+ $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4259+
4260+ $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4261+
4262+
4263+ac_ext=c
4264+ac_cpp='$CPP $CPPFLAGS'
4265+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4266+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4267+ac_compiler_gnu=$ac_cv_c_compiler_gnu
4268+if test -n "$ac_tool_prefix"; then
4269+ for ac_prog in gcc cc
4270+ do
4271+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4272+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4273+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4274+$as_echo_n "checking for $ac_word... " >&6; }
4275+if ${ac_cv_prog_CC+:} false; then :
4276+ $as_echo_n "(cached) " >&6
4277+else
4278+ if test -n "$CC"; then
4279+ ac_cv_prog_CC="$CC" # Let the user override the test.
4280+else
4281+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4282+for as_dir in $PATH
4283+do
4284+ IFS=$as_save_IFS
4285+ test -z "$as_dir" && as_dir=.
4286+ for ac_exec_ext in '' $ac_executable_extensions; do
4287+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4288+ ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4289+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4290+ break 2
4291+ fi
4292+done
4293+ done
4294+IFS=$as_save_IFS
4295+
4296+fi
4297+fi
4298+CC=$ac_cv_prog_CC
4299+if test -n "$CC"; then
4300+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4301+$as_echo "$CC" >&6; }
4302+else
4303+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4304+$as_echo "no" >&6; }
4305+fi
4306+
4307+
4308+ test -n "$CC" && break
4309+ done
4310+fi
4311+if test -z "$CC"; then
4312+ ac_ct_CC=$CC
4313+ for ac_prog in gcc cc
4314+do
4315+ # Extract the first word of "$ac_prog", so it can be a program name with args.
4316+set dummy $ac_prog; ac_word=$2
4317+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4318+$as_echo_n "checking for $ac_word... " >&6; }
4319+if ${ac_cv_prog_ac_ct_CC+:} false; then :
4320+ $as_echo_n "(cached) " >&6
4321+else
4322+ if test -n "$ac_ct_CC"; then
4323+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4324+else
4325+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4326+for as_dir in $PATH
4327+do
4328+ IFS=$as_save_IFS
4329+ test -z "$as_dir" && as_dir=.
4330+ for ac_exec_ext in '' $ac_executable_extensions; do
4331+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4332+ ac_cv_prog_ac_ct_CC="$ac_prog"
4333+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4334+ break 2
4335+ fi
4336+done
4337+ done
4338+IFS=$as_save_IFS
4339+
4340+fi
4341+fi
4342+ac_ct_CC=$ac_cv_prog_ac_ct_CC
4343+if test -n "$ac_ct_CC"; then
4344+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4345+$as_echo "$ac_ct_CC" >&6; }
4346+else
4347+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4348+$as_echo "no" >&6; }
4349+fi
4350+
4351+
4352+ test -n "$ac_ct_CC" && break
4353+done
4354+
4355+ if test "x$ac_ct_CC" = x; then
4356+ CC=""
4357+ else
4358+ case $cross_compiling:$ac_tool_warned in
4359+yes:)
4360+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4361+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4362+ac_tool_warned=yes ;;
4363+esac
4364+ CC=$ac_ct_CC
4365+ fi
4366+fi
4367+
4368+
4369+test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4370+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4371+as_fn_error $? "no acceptable C compiler found in \$PATH
4372+See \`config.log' for more details" "$LINENO" 5; }
4373+
4374+# Provide some information about the compiler.
4375+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4376+set X $ac_compile
4377+ac_compiler=$2
4378+for ac_option in --version -v -V -qversion; do
4379+ { { ac_try="$ac_compiler $ac_option >&5"
4380+case "(($ac_try" in
4381+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4382+ *) ac_try_echo=$ac_try;;
4383+esac
4384+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4385+$as_echo "$ac_try_echo"; } >&5
4386+ (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4387+ ac_status=$?
4388+ if test -s conftest.err; then
4389+ sed '10a\
4390+... rest of stderr output deleted ...
4391+ 10q' conftest.err >conftest.er1
4392+ cat conftest.er1 >&5
4393+ fi
4394+ rm -f conftest.er1 conftest.err
4395+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4396+ test $ac_status = 0; }
4397+done
4398+
4399+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4400+$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4401+if ${ac_cv_c_compiler_gnu+:} false; then :
4402+ $as_echo_n "(cached) " >&6
4403+else
4404+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4405+/* end confdefs.h. */
4406+
4407+int
4408+main ()
4409+{
4410+#ifndef __GNUC__
4411+ choke me
4412+#endif
4413+
4414+ ;
4415+ return 0;
4416+}
4417+_ACEOF
4418+if ac_fn_c_try_compile "$LINENO"; then :
4419+ ac_compiler_gnu=yes
4420+else
4421+ ac_compiler_gnu=no
4422+fi
4423+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4424+ac_cv_c_compiler_gnu=$ac_compiler_gnu
4425+
4426+fi
4427+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4428+$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4429+if test $ac_compiler_gnu = yes; then
4430+ GCC=yes
4431+else
4432+ GCC=
4433+fi
4434+ac_test_CFLAGS=${CFLAGS+set}
4435+ac_save_CFLAGS=$CFLAGS
4436+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4437+$as_echo_n "checking whether $CC accepts -g... " >&6; }
4438+if ${ac_cv_prog_cc_g+:} false; then :
4439+ $as_echo_n "(cached) " >&6
4440+else
4441+ ac_save_c_werror_flag=$ac_c_werror_flag
4442+ ac_c_werror_flag=yes
4443+ ac_cv_prog_cc_g=no
4444+ CFLAGS="-g"
4445+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4446+/* end confdefs.h. */
4447+
4448+int
4449+main ()
4450+{
4451+
4452+ ;
4453+ return 0;
4454+}
4455+_ACEOF
4456+if ac_fn_c_try_compile "$LINENO"; then :
4457+ ac_cv_prog_cc_g=yes
4458+else
4459+ CFLAGS=""
4460+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4461+/* end confdefs.h. */
4462+
4463+int
4464+main ()
4465+{
4466+
4467+ ;
4468+ return 0;
4469+}
4470+_ACEOF
4471+if ac_fn_c_try_compile "$LINENO"; then :
4472+
4473+else
4474+ ac_c_werror_flag=$ac_save_c_werror_flag
4475+ CFLAGS="-g"
4476+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4477+/* end confdefs.h. */
4478+
4479+int
4480+main ()
4481+{
4482+
4483+ ;
4484+ return 0;
4485+}
4486+_ACEOF
4487+if ac_fn_c_try_compile "$LINENO"; then :
4488+ ac_cv_prog_cc_g=yes
4489+fi
4490+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4491+fi
4492+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4493+fi
4494+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4495+ ac_c_werror_flag=$ac_save_c_werror_flag
4496+fi
4497+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4498+$as_echo "$ac_cv_prog_cc_g" >&6; }
4499+if test "$ac_test_CFLAGS" = set; then
4500+ CFLAGS=$ac_save_CFLAGS
4501+elif test $ac_cv_prog_cc_g = yes; then
4502+ if test "$GCC" = yes; then
4503+ CFLAGS="-g -O2"
4504+ else
4505+ CFLAGS="-g"
4506+ fi
4507+else
4508+ if test "$GCC" = yes; then
4509+ CFLAGS="-O2"
4510+ else
4511+ CFLAGS=
4512+ fi
4513+fi
4514+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4515+$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4516+if ${ac_cv_prog_cc_c89+:} false; then :
4517+ $as_echo_n "(cached) " >&6
4518+else
4519+ ac_cv_prog_cc_c89=no
4520+ac_save_CC=$CC
4521+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4522+/* end confdefs.h. */
4523+#include <stdarg.h>
4524+#include <stdio.h>
4525+struct stat;
4526+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4527+struct buf { int x; };
4528+FILE * (*rcsopen) (struct buf *, struct stat *, int);
4529+static char *e (p, i)
4530+ char **p;
4531+ int i;
4532+{
4533+ return p[i];
4534+}
4535+static char *f (char * (*g) (char **, int), char **p, ...)
4536+{
4537+ char *s;
4538+ va_list v;
4539+ va_start (v,p);
4540+ s = g (p, va_arg (v,int));
4541+ va_end (v);
4542+ return s;
4543+}
4544+
4545+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4546+ function prototypes and stuff, but not '\xHH' hex character constants.
4547+ These don't provoke an error unfortunately, instead are silently treated
4548+ as 'x'. The following induces an error, until -std is added to get
4549+ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4550+ array size at least. It's necessary to write '\x00'==0 to get something
4551+ that's true only with -std. */
4552+int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4553+
4554+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4555+ inside strings and character constants. */
4556+#define FOO(x) 'x'
4557+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4558+
4559+int test (int i, double x);
4560+struct s1 {int (*f) (int a);};
4561+struct s2 {int (*f) (double a);};
4562+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4563+int argc;
4564+char **argv;
4565+int
4566+main ()
4567+{
4568+return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4569+ ;
4570+ return 0;
4571+}
4572+_ACEOF
4573+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4574+ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4575+do
4576+ CC="$ac_save_CC $ac_arg"
4577+ if ac_fn_c_try_compile "$LINENO"; then :
4578+ ac_cv_prog_cc_c89=$ac_arg
4579+fi
4580+rm -f core conftest.err conftest.$ac_objext
4581+ test "x$ac_cv_prog_cc_c89" != "xno" && break
4582+done
4583+rm -f conftest.$ac_ext
4584+CC=$ac_save_CC
4585+
4586+fi
4587+# AC_CACHE_VAL
4588+case "x$ac_cv_prog_cc_c89" in
4589+ x)
4590+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4591+$as_echo "none needed" >&6; } ;;
4592+ xno)
4593+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4594+$as_echo "unsupported" >&6; } ;;
4595+ *)
4596+ CC="$CC $ac_cv_prog_cc_c89"
4597+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4598+$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4599+esac
4600+if test "x$ac_cv_prog_cc_c89" != xno; then :
4601+
4602+fi
4603+
4604+ac_ext=c
4605+ac_cpp='$CPP $CPPFLAGS'
4606+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4607+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4608+ac_compiler_gnu=$ac_cv_c_compiler_gnu
4609+
4610+depcc="$CC" am_compiler_list=
4611+
4612+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4613+$as_echo_n "checking dependency style of $depcc... " >&6; }
4614+if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4615+ $as_echo_n "(cached) " >&6
4616+else
4617+ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4618+ # We make a subdir and do the tests there. Otherwise we can end up
4619+ # making bogus files that we don't know about and never remove. For
4620+ # instance it was reported that on HP-UX the gcc test will end up
4621+ # making a dummy file named 'D' -- because '-MD' means "put the output
4622+ # in D".
4623+ rm -rf conftest.dir
4624+ mkdir conftest.dir
4625+ # Copy depcomp to subdir because otherwise we won't find it if we're
4626+ # using a relative directory.
4627+ cp "$am_depcomp" conftest.dir
4628+ cd conftest.dir
4629+ # We will build objects and dependencies in a subdirectory because
4630+ # it helps to detect inapplicable dependency modes. For instance
4631+ # both Tru64's cc and ICC support -MD to output dependencies as a
4632+ # side effect of compilation, but ICC will put the dependencies in
4633+ # the current directory while Tru64 will put them in the object
4634+ # directory.
4635+ mkdir sub
4636+
4637+ am_cv_CC_dependencies_compiler_type=none
4638+ if test "$am_compiler_list" = ""; then
4639+ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4640+ fi
4641+ am__universal=false
4642+ case " $depcc " in #(
4643+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
4644+ esac
4645+
4646+ for depmode in $am_compiler_list; do
4647+ # Setup a source with many dependencies, because some compilers
4648+ # like to wrap large dependency lists on column 80 (with \), and
4649+ # we should not choose a depcomp mode which is confused by this.
4650+ #
4651+ # We need to recreate these files for each test, as the compiler may
4652+ # overwrite some of them when testing with obscure command lines.
4653+ # This happens at least with the AIX C compiler.
4654+ : > sub/conftest.c
4655+ for i in 1 2 3 4 5 6; do
4656+ echo '#include "conftst'$i'.h"' >> sub/conftest.c
4657+ # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4658+ # Solaris 10 /bin/sh.
4659+ echo '/* dummy */' > sub/conftst$i.h
4660+ done
4661+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4662+
4663+ # We check with '-c' and '-o' for the sake of the "dashmstdout"
4664+ # mode. It turns out that the SunPro C++ compiler does not properly
4665+ # handle '-M -o', and we need to detect this. Also, some Intel
4666+ # versions had trouble with output in subdirs.
4667+ am__obj=sub/conftest.${OBJEXT-o}
4668+ am__minus_obj="-o $am__obj"
4669+ case $depmode in
4670+ gcc)
4671+ # This depmode causes a compiler race in universal mode.
4672+ test "$am__universal" = false || continue
4673+ ;;
4674+ nosideeffect)
4675+ # After this tag, mechanisms are not by side-effect, so they'll
4676+ # only be used when explicitly requested.
4677+ if test "x$enable_dependency_tracking" = xyes; then
4678+ continue
4679+ else
4680+ break
4681+ fi
4682+ ;;
4683+ msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4684+ # This compiler won't grok '-c -o', but also, the minuso test has
4685+ # not run yet. These depmodes are late enough in the game, and
4686+ # so weak that their functioning should not be impacted.
4687+ am__obj=conftest.${OBJEXT-o}
4688+ am__minus_obj=
4689+ ;;
4690+ none) break ;;
4691+ esac
4692+ if depmode=$depmode \
4693+ source=sub/conftest.c object=$am__obj \
4694+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4695+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4696+ >/dev/null 2>conftest.err &&
4697+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4698+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4699+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4700+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4701+ # icc doesn't choke on unknown options, it will just issue warnings
4702+ # or remarks (even with -Werror). So we grep stderr for any message
4703+ # that says an option was ignored or not supported.
4704+ # When given -MP, icc 7.0 and 7.1 complain thusly:
4705+ # icc: Command line warning: ignoring option '-M'; no argument required
4706+ # The diagnosis changed in icc 8.0:
4707+ # icc: Command line remark: option '-MP' not supported
4708+ if (grep 'ignoring option' conftest.err ||
4709+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4710+ am_cv_CC_dependencies_compiler_type=$depmode
4711+ break
4712+ fi
4713+ fi
4714+ done
4715+
4716+ cd ..
4717+ rm -rf conftest.dir
4718+else
4719+ am_cv_CC_dependencies_compiler_type=none
4720+fi
4721+
4722+fi
4723+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4724+$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4725+CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4726+
4727+ if
4728+ test "x$enable_dependency_tracking" != xno \
4729+ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4730+ am__fastdepCC_TRUE=
4731+ am__fastdepCC_FALSE='#'
4732+else
4733+ am__fastdepCC_TRUE='#'
4734+ am__fastdepCC_FALSE=
4735+fi
4736+
4737+
4738+if test "x$CC" != xcc; then
4739+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4740+$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4741+else
4742+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4743+$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4744+fi
4745+set dummy $CC; ac_cc=`$as_echo "$2" |
4746+ sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4747+if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
4748+ $as_echo_n "(cached) " >&6
4749+else
4750+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4751+/* end confdefs.h. */
4752+
4753+int
4754+main ()
4755+{
4756+
4757+ ;
4758+ return 0;
4759+}
4760+_ACEOF
4761+# Make sure it works both with $CC and with simple cc.
4762+# We do the test twice because some compilers refuse to overwrite an
4763+# existing .o file with -o, though they will create one.
4764+ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4765+rm -f conftest2.*
4766+if { { case "(($ac_try" in
4767+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4768+ *) ac_try_echo=$ac_try;;
4769+esac
4770+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4771+$as_echo "$ac_try_echo"; } >&5
4772+ (eval "$ac_try") 2>&5
4773+ ac_status=$?
4774+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4775+ test $ac_status = 0; } &&
4776+ test -f conftest2.$ac_objext && { { case "(($ac_try" in
4777+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4778+ *) ac_try_echo=$ac_try;;
4779+esac
4780+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4781+$as_echo "$ac_try_echo"; } >&5
4782+ (eval "$ac_try") 2>&5
4783+ ac_status=$?
4784+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4785+ test $ac_status = 0; };
4786+then
4787+ eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4788+ if test "x$CC" != xcc; then
4789+ # Test first that cc exists at all.
4790+ if { ac_try='cc -c conftest.$ac_ext >&5'
4791+ { { case "(($ac_try" in
4792+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4793+ *) ac_try_echo=$ac_try;;
4794+esac
4795+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4796+$as_echo "$ac_try_echo"; } >&5
4797+ (eval "$ac_try") 2>&5
4798+ ac_status=$?
4799+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4800+ test $ac_status = 0; }; }; then
4801+ ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4802+ rm -f conftest2.*
4803+ if { { case "(($ac_try" in
4804+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4805+ *) ac_try_echo=$ac_try;;
4806+esac
4807+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4808+$as_echo "$ac_try_echo"; } >&5
4809+ (eval "$ac_try") 2>&5
4810+ ac_status=$?
4811+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4812+ test $ac_status = 0; } &&
4813+ test -f conftest2.$ac_objext && { { case "(($ac_try" in
4814+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4815+ *) ac_try_echo=$ac_try;;
4816+esac
4817+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4818+$as_echo "$ac_try_echo"; } >&5
4819+ (eval "$ac_try") 2>&5
4820+ ac_status=$?
4821+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4822+ test $ac_status = 0; };
4823+ then
4824+ # cc works too.
4825+ :
4826+ else
4827+ # cc exists but doesn't like -o.
4828+ eval ac_cv_prog_cc_${ac_cc}_c_o=no
4829+ fi
4830+ fi
4831+ fi
4832+else
4833+ eval ac_cv_prog_cc_${ac_cc}_c_o=no
4834+fi
4835+rm -f core conftest*
4836+
4837+fi
4838+if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4839+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4840+$as_echo "yes" >&6; }
4841+else
4842+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4843+$as_echo "no" >&6; }
4844+
4845+$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4846+
4847+fi
4848+
4849+# AC_PROG_RANLIB
4850+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4851+$as_echo_n "checking whether ln -s works... " >&6; }
4852+LN_S=$as_ln_s
4853+if test "$LN_S" = "ln -s"; then
4854+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4855+$as_echo "yes" >&6; }
4856+else
4857+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4858+$as_echo "no, using $LN_S" >&6; }
4859+fi
4860+
4861+
4862+if test -n "$ac_tool_prefix"; then
4863+ for ac_prog in ar lib "link -lib"
4864+ do
4865+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4866+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4867+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4868+$as_echo_n "checking for $ac_word... " >&6; }
4869+if ${ac_cv_prog_AR+:} false; then :
4870+ $as_echo_n "(cached) " >&6
4871+else
4872+ if test -n "$AR"; then
4873+ ac_cv_prog_AR="$AR" # Let the user override the test.
4874+else
4875+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4876+for as_dir in $PATH
4877+do
4878+ IFS=$as_save_IFS
4879+ test -z "$as_dir" && as_dir=.
4880+ for ac_exec_ext in '' $ac_executable_extensions; do
4881+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4882+ ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4883+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4884+ break 2
4885+ fi
4886+done
4887+ done
4888+IFS=$as_save_IFS
4889+
4890+fi
4891+fi
4892+AR=$ac_cv_prog_AR
4893+if test -n "$AR"; then
4894+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4895+$as_echo "$AR" >&6; }
4896+else
4897+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4898+$as_echo "no" >&6; }
4899+fi
4900+
4901+
4902+ test -n "$AR" && break
4903+ done
4904+fi
4905+if test -z "$AR"; then
4906+ ac_ct_AR=$AR
4907+ for ac_prog in ar lib "link -lib"
4908+do
4909+ # Extract the first word of "$ac_prog", so it can be a program name with args.
4910+set dummy $ac_prog; ac_word=$2
4911+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4912+$as_echo_n "checking for $ac_word... " >&6; }
4913+if ${ac_cv_prog_ac_ct_AR+:} false; then :
4914+ $as_echo_n "(cached) " >&6
4915+else
4916+ if test -n "$ac_ct_AR"; then
4917+ ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4918+else
4919+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4920+for as_dir in $PATH
4921+do
4922+ IFS=$as_save_IFS
4923+ test -z "$as_dir" && as_dir=.
4924+ for ac_exec_ext in '' $ac_executable_extensions; do
4925+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4926+ ac_cv_prog_ac_ct_AR="$ac_prog"
4927+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4928+ break 2
4929+ fi
4930+done
4931+ done
4932+IFS=$as_save_IFS
4933+
4934+fi
4935+fi
4936+ac_ct_AR=$ac_cv_prog_ac_ct_AR
4937+if test -n "$ac_ct_AR"; then
4938+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4939+$as_echo "$ac_ct_AR" >&6; }
4940+else
4941+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4942+$as_echo "no" >&6; }
4943+fi
4944+
4945+
4946+ test -n "$ac_ct_AR" && break
4947+done
4948+
4949+ if test "x$ac_ct_AR" = x; then
4950+ AR="false"
4951+ else
4952+ case $cross_compiling:$ac_tool_warned in
4953+yes:)
4954+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4955+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4956+ac_tool_warned=yes ;;
4957+esac
4958+ AR=$ac_ct_AR
4959+ fi
4960+fi
4961+
4962+: ${AR=ar}
4963+
4964+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4965+$as_echo_n "checking the archiver ($AR) interface... " >&6; }
4966+if ${am_cv_ar_interface+:} false; then :
4967+ $as_echo_n "(cached) " >&6
4968+else
4969+ am_cv_ar_interface=ar
4970+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4971+/* end confdefs.h. */
4972+int some_variable = 0;
4973+_ACEOF
4974+if ac_fn_c_try_compile "$LINENO"; then :
4975+ am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4976+ { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4977+ (eval $am_ar_try) 2>&5
4978+ ac_status=$?
4979+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4980+ test $ac_status = 0; }
4981+ if test "$ac_status" -eq 0; then
4982+ am_cv_ar_interface=ar
4983+ else
4984+ am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4985+ { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4986+ (eval $am_ar_try) 2>&5
4987+ ac_status=$?
4988+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4989+ test $ac_status = 0; }
4990+ if test "$ac_status" -eq 0; then
4991+ am_cv_ar_interface=lib
4992+ else
4993+ am_cv_ar_interface=unknown
4994+ fi
4995+ fi
4996+ rm -f conftest.lib libconftest.a
4997+
4998+fi
4999+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5000+
5001+fi
5002+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
5003+$as_echo "$am_cv_ar_interface" >&6; }
5004+
5005+case $am_cv_ar_interface in
5006+ar)
5007+ ;;
5008+lib)
5009+ # Microsoft lib, so override with the ar-lib wrapper script.
5010+ # FIXME: It is wrong to rewrite AR.
5011+ # But if we don't then we get into trouble of one sort or another.
5012+ # A longer-term fix would be to have automake use am__AR in this case,
5013+ # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
5014+ # similar.
5015+ AR="$am_aux_dir/ar-lib $AR"
5016+ ;;
5017+unknown)
5018+ as_fn_error $? "could not determine $AR interface" "$LINENO" 5
5019+ ;;
5020+esac
5021+
5022+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if malloc debugging is wanted" >&5
5023+$as_echo_n "checking if malloc debugging is wanted... " >&6; }
5024+
5025+# Check whether --with-dmalloc was given.
5026+if test "${with_dmalloc+set}" = set; then :
5027+ withval=$with_dmalloc; if test "$withval" = yes; then
5028+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5029+$as_echo "yes" >&6; }
5030+
5031+$as_echo "#define WITH_DMALLOC 1" >>confdefs.h
5032+
5033+ LIBS="$LIBS -ldmalloc"
5034+ LDFLAGS="$LDFLAGS -g"
5035+else
5036+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5037+$as_echo "no" >&6; }
5038+fi
5039+else
5040+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5041+$as_echo "no" >&6; }
5042+fi
5043+
5044+
5045+
5046+# Check whether --with-doxygen was given.
5047+if test "${with_doxygen+set}" = set; then :
5048+ withval=$with_doxygen; if test "x$withval" = xyes; then
5049+ with_doxygen=doxygen
5050+else
5051+ with_doxygen="${withval-doxygen}"
5052+fi
5053+else
5054+ with_doxygen=doxygen
5055+fi
5056+
5057+
5058+# Check whether --with-dot was given.
5059+if test "${with_dot+set}" = set; then :
5060+ withval=$with_dot; if test "x$withval" = xyes; then
5061+ with_dot=dot
5062+else
5063+ with_dot="${withval-dot}"
5064+fi
5065+else
5066+ with_dot=dot
5067+fi
5068+
5069+# Check whether --enable-html-docs was given.
5070+if test "${enable_html_docs+set}" = set; then :
5071+ enableval=$enable_html_docs;
5072+else
5073+ enable_html_docs=yes
5074+fi
5075+
5076+# Check whether --enable-latex-docs was given.
5077+if test "${enable_latex_docs+set}" = set; then :
5078+ enableval=$enable_latex_docs;
5079+else
5080+ enable_latex_docs=no
5081+fi
5082+
5083+
5084+if test "x$with_doxygen" = xno; then
5085+ enable_doc=no
5086+else
5087+ # Extract the first word of "$with_doxygen", so it can be a program name with args.
5088+set dummy $with_doxygen; ac_word=$2
5089+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5090+$as_echo_n "checking for $ac_word... " >&6; }
5091+if ${ac_cv_path_DOXYGEN+:} false; then :
5092+ $as_echo_n "(cached) " >&6
5093+else
5094+ case $DOXYGEN in
5095+ [\\/]* | ?:[\\/]*)
5096+ ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
5097+ ;;
5098+ *)
5099+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5100+for as_dir in $PATH
5101+do
5102+ IFS=$as_save_IFS
5103+ test -z "$as_dir" && as_dir=.
5104+ for ac_exec_ext in '' $ac_executable_extensions; do
5105+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5106+ ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
5107+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5108+ break 2
5109+ fi
5110+done
5111+ done
5112+IFS=$as_save_IFS
5113+
5114+ ;;
5115+esac
5116+fi
5117+DOXYGEN=$ac_cv_path_DOXYGEN
5118+if test -n "$DOXYGEN"; then
5119+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
5120+$as_echo "$DOXYGEN" >&6; }
5121+else
5122+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5123+$as_echo "no" >&6; }
5124+fi
5125+
5126+
5127+ if test x$DOXYGEN = x; then
5128+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not find doxygen" >&5
5129+$as_echo "$as_me: WARNING: could not find doxygen" >&2;}
5130+ enable_doc=no
5131+ else
5132+ enable_doc=yes
5133+ fi
5134+fi
5135+
5136+ if test x$enable_doc = xyes; then
5137+ DOC_TRUE=
5138+ DOC_FALSE='#'
5139+else
5140+ DOC_TRUE='#'
5141+ DOC_FALSE=
5142+fi
5143+
5144+
5145+if test "x$with_dot" = xno; then
5146+ enable_dot=no
5147+else
5148+ # Extract the first word of "$with_dot", so it can be a program name with args.
5149+set dummy $with_dot; ac_word=$2
5150+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5151+$as_echo_n "checking for $ac_word... " >&6; }
5152+if ${ac_cv_path_DOT+:} false; then :
5153+ $as_echo_n "(cached) " >&6
5154+else
5155+ case $DOT in
5156+ [\\/]* | ?:[\\/]*)
5157+ ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
5158+ ;;
5159+ *)
5160+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5161+for as_dir in $PATH
5162+do
5163+ IFS=$as_save_IFS
5164+ test -z "$as_dir" && as_dir=.
5165+ for ac_exec_ext in '' $ac_executable_extensions; do
5166+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5167+ ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
5168+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5169+ break 2
5170+ fi
5171+done
5172+ done
5173+IFS=$as_save_IFS
5174+
5175+ ;;
5176+esac
5177+fi
5178+DOT=$ac_cv_path_DOT
5179+if test -n "$DOT"; then
5180+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
5181+$as_echo "$DOT" >&6; }
5182+else
5183+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5184+$as_echo "no" >&6; }
5185+fi
5186+
5187+
5188+ if test x$DOT = x; then
5189+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not find dot" >&5
5190+$as_echo "$as_me: WARNING: could not find dot" >&2;}
5191+ enable_dot=no
5192+ else
5193+ enable_dot=yes
5194+ DOT_PATH=`dirname $DOT`
5195+ fi
5196+fi
5197+
5198+
5199+
5200+
5201+
5202+
5203+# Check whether --enable-coverage was given.
5204+if test "${enable_coverage+set}" = set; then :
5205+ enableval=$enable_coverage; if test ${enableval-yes} = yes; then
5206+ COVERAGEFLAGS="-fprofile-arcs -ftest-coverage"
5207+ fi
5208+fi
5209+
5210+
5211+# Check whether --enable-japanese-doc was given.
5212+if test "${enable_japanese_doc+set}" = set; then :
5213+ enableval=$enable_japanese_doc; case "${enableval}" in
5214+ yes) enable_jadoc=yes;;
5215+ no) enable_jadoc=no;;
5216+ *) enable_jadoc=no;;
5217+ esac
5218+else
5219+ enable_jadoc=no
5220+fi
5221+
5222+ if test x$enable_jadoc = xyes; then
5223+ ENABLE_JADOC_TRUE=
5224+ ENABLE_JADOC_FALSE='#'
5225+else
5226+ ENABLE_JADOC_TRUE='#'
5227+ ENABLE_JADOC_FALSE=
5228+fi
5229+
5230+
5231+#AC_REQUIRE(AC_CANONICAL_HOST)
5232+
5233+case `pwd` in
5234+ *\ * | *\ *)
5235+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5236+$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5237+esac
5238+
5239+
5240+
5241+macro_version='2.2.8'
5242+macro_revision='1.3169'
5243+
5244+
5245+
5246+
5247+
5248+
5249+
5250+
5251+
5252+
5253+
5254+
5255+
5256+ltmain="$ac_aux_dir/ltmain.sh"
5257+
5258+# Make sure we can run config.sub.
5259+$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5260+ as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5261+
5262+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5263+$as_echo_n "checking build system type... " >&6; }
5264+if ${ac_cv_build+:} false; then :
5265+ $as_echo_n "(cached) " >&6
5266+else
5267+ ac_build_alias=$build_alias
5268+test "x$ac_build_alias" = x &&
5269+ ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5270+test "x$ac_build_alias" = x &&
5271+ as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5272+ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5273+ as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5274+
5275+fi
5276+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5277+$as_echo "$ac_cv_build" >&6; }
5278+case $ac_cv_build in
5279+*-*-*) ;;
5280+*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5281+esac
5282+build=$ac_cv_build
5283+ac_save_IFS=$IFS; IFS='-'
5284+set x $ac_cv_build
5285+shift
5286+build_cpu=$1
5287+build_vendor=$2
5288+shift; shift
5289+# Remember, the first character of IFS is used to create $*,
5290+# except with old shells:
5291+build_os=$*
5292+IFS=$ac_save_IFS
5293+case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5294+
5295+
5296+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5297+$as_echo_n "checking host system type... " >&6; }
5298+if ${ac_cv_host+:} false; then :
5299+ $as_echo_n "(cached) " >&6
5300+else
5301+ if test "x$host_alias" = x; then
5302+ ac_cv_host=$ac_cv_build
5303+else
5304+ ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5305+ as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5306+fi
5307+
5308+fi
5309+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5310+$as_echo "$ac_cv_host" >&6; }
5311+case $ac_cv_host in
5312+*-*-*) ;;
5313+*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5314+esac
5315+host=$ac_cv_host
5316+ac_save_IFS=$IFS; IFS='-'
5317+set x $ac_cv_host
5318+shift
5319+host_cpu=$1
5320+host_vendor=$2
5321+shift; shift
5322+# Remember, the first character of IFS is used to create $*,
5323+# except with old shells:
5324+host_os=$*
5325+IFS=$ac_save_IFS
5326+case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5327+
5328+
5329+# Backslashify metacharacters that are still active within
5330+# double-quoted strings.
5331+sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5332+
5333+# Same as above, but do not quote variable references.
5334+double_quote_subst='s/\(["`\\]\)/\\\1/g'
5335+
5336+# Sed substitution to delay expansion of an escaped shell variable in a
5337+# double_quote_subst'ed string.
5338+delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5339+
5340+# Sed substitution to delay expansion of an escaped single quote.
5341+delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5342+
5343+# Sed substitution to avoid accidental globbing in evaled expressions
5344+no_glob_subst='s/\*/\\\*/g'
5345+
5346+ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5347+ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5348+ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5349+
5350+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5351+$as_echo_n "checking how to print strings... " >&6; }
5352+# Test print first, because it will be a builtin if present.
5353+if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5354+ test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5355+ ECHO='print -r --'
5356+elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5357+ ECHO='printf %s\n'
5358+else
5359+ # Use this function as a fallback that always works.
5360+ func_fallback_echo ()
5361+ {
5362+ eval 'cat <<_LTECHO_EOF
5363+$1
5364+_LTECHO_EOF'
5365+ }
5366+ ECHO='func_fallback_echo'
5367+fi
5368+
5369+# func_echo_all arg...
5370+# Invoke $ECHO with all args, space-separated.
5371+func_echo_all ()
5372+{
5373+ $ECHO ""
5374+}
5375+
5376+case "$ECHO" in
5377+ printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5378+$as_echo "printf" >&6; } ;;
5379+ print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5380+$as_echo "print -r" >&6; } ;;
5381+ *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5382+$as_echo "cat" >&6; } ;;
5383+esac
5384+
5385+
5386+
5387+
5388+
5389+
5390+
5391+
5392+
5393+
5394+
5395+
5396+
5397+
5398+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5399+$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5400+if ${ac_cv_path_SED+:} false; then :
5401+ $as_echo_n "(cached) " >&6
5402+else
5403+ ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5404+ for ac_i in 1 2 3 4 5 6 7; do
5405+ ac_script="$ac_script$as_nl$ac_script"
5406+ done
5407+ echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5408+ { ac_script=; unset ac_script;}
5409+ if test -z "$SED"; then
5410+ ac_path_SED_found=false
5411+ # Loop through the user's path and test for each of PROGNAME-LIST
5412+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5413+for as_dir in $PATH
5414+do
5415+ IFS=$as_save_IFS
5416+ test -z "$as_dir" && as_dir=.
5417+ for ac_prog in sed gsed; do
5418+ for ac_exec_ext in '' $ac_executable_extensions; do
5419+ ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5420+ as_fn_executable_p "$ac_path_SED" || continue
5421+# Check for GNU ac_path_SED and select it if it is found.
5422+ # Check for GNU $ac_path_SED
5423+case `"$ac_path_SED" --version 2>&1` in
5424+*GNU*)
5425+ ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5426+*)
5427+ ac_count=0
5428+ $as_echo_n 0123456789 >"conftest.in"
5429+ while :
5430+ do
5431+ cat "conftest.in" "conftest.in" >"conftest.tmp"
5432+ mv "conftest.tmp" "conftest.in"
5433+ cp "conftest.in" "conftest.nl"
5434+ $as_echo '' >> "conftest.nl"
5435+ "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5436+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5437+ as_fn_arith $ac_count + 1 && ac_count=$as_val
5438+ if test $ac_count -gt ${ac_path_SED_max-0}; then
5439+ # Best one so far, save it but keep looking for a better one
5440+ ac_cv_path_SED="$ac_path_SED"
5441+ ac_path_SED_max=$ac_count
5442+ fi
5443+ # 10*(2^10) chars as input seems more than enough
5444+ test $ac_count -gt 10 && break
5445+ done
5446+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5447+esac
5448+
5449+ $ac_path_SED_found && break 3
5450+ done
5451+ done
5452+ done
5453+IFS=$as_save_IFS
5454+ if test -z "$ac_cv_path_SED"; then
5455+ as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5456+ fi
5457+else
5458+ ac_cv_path_SED=$SED
5459+fi
5460+
5461+fi
5462+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5463+$as_echo "$ac_cv_path_SED" >&6; }
5464+ SED="$ac_cv_path_SED"
5465+ rm -f conftest.sed
5466+
5467+test -z "$SED" && SED=sed
5468+Xsed="$SED -e 1s/^X//"
5469+
5470+
5471+
5472+
5473+
5474+
5475+
5476+
5477+
5478+
5479+
5480+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5481+$as_echo_n "checking for fgrep... " >&6; }
5482+if ${ac_cv_path_FGREP+:} false; then :
5483+ $as_echo_n "(cached) " >&6
5484+else
5485+ if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5486+ then ac_cv_path_FGREP="$GREP -F"
5487+ else
5488+ if test -z "$FGREP"; then
5489+ ac_path_FGREP_found=false
5490+ # Loop through the user's path and test for each of PROGNAME-LIST
5491+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5492+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5493+do
5494+ IFS=$as_save_IFS
5495+ test -z "$as_dir" && as_dir=.
5496+ for ac_prog in fgrep; do
5497+ for ac_exec_ext in '' $ac_executable_extensions; do
5498+ ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5499+ as_fn_executable_p "$ac_path_FGREP" || continue
5500+# Check for GNU ac_path_FGREP and select it if it is found.
5501+ # Check for GNU $ac_path_FGREP
5502+case `"$ac_path_FGREP" --version 2>&1` in
5503+*GNU*)
5504+ ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5505+*)
5506+ ac_count=0
5507+ $as_echo_n 0123456789 >"conftest.in"
5508+ while :
5509+ do
5510+ cat "conftest.in" "conftest.in" >"conftest.tmp"
5511+ mv "conftest.tmp" "conftest.in"
5512+ cp "conftest.in" "conftest.nl"
5513+ $as_echo 'FGREP' >> "conftest.nl"
5514+ "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5515+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5516+ as_fn_arith $ac_count + 1 && ac_count=$as_val
5517+ if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5518+ # Best one so far, save it but keep looking for a better one
5519+ ac_cv_path_FGREP="$ac_path_FGREP"
5520+ ac_path_FGREP_max=$ac_count
5521+ fi
5522+ # 10*(2^10) chars as input seems more than enough
5523+ test $ac_count -gt 10 && break
5524+ done
5525+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5526+esac
5527+
5528+ $ac_path_FGREP_found && break 3
5529+ done
5530+ done
5531+ done
5532+IFS=$as_save_IFS
5533+ if test -z "$ac_cv_path_FGREP"; then
5534+ as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5535+ fi
5536+else
5537+ ac_cv_path_FGREP=$FGREP
5538+fi
5539+
5540+ fi
5541+fi
5542+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5543+$as_echo "$ac_cv_path_FGREP" >&6; }
5544+ FGREP="$ac_cv_path_FGREP"
5545+
5546+
5547+test -z "$GREP" && GREP=grep
5548+
5549+
5550+
5551+
5552+
5553+
5554+
5555+
5556+
5557+
5558+
5559+
5560+
5561+
5562+
5563+
5564+
5565+
5566+
5567+# Check whether --with-gnu-ld was given.
5568+if test "${with_gnu_ld+set}" = set; then :
5569+ withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5570+else
5571+ with_gnu_ld=no
5572+fi
5573+
5574+ac_prog=ld
5575+if test "$GCC" = yes; then
5576+ # Check if gcc -print-prog-name=ld gives a path.
5577+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5578+$as_echo_n "checking for ld used by $CC... " >&6; }
5579+ case $host in
5580+ *-*-mingw*)
5581+ # gcc leaves a trailing carriage return which upsets mingw
5582+ ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5583+ *)
5584+ ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5585+ esac
5586+ case $ac_prog in
5587+ # Accept absolute paths.
5588+ [\\/]* | ?:[\\/]*)
5589+ re_direlt='/[^/][^/]*/\.\./'
5590+ # Canonicalize the pathname of ld
5591+ ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5592+ while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5593+ ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5594+ done
5595+ test -z "$LD" && LD="$ac_prog"
5596+ ;;
5597+ "")
5598+ # If it fails, then pretend we aren't using GCC.
5599+ ac_prog=ld
5600+ ;;
5601+ *)
5602+ # If it is relative, then search for the first ld in PATH.
5603+ with_gnu_ld=unknown
5604+ ;;
5605+ esac
5606+elif test "$with_gnu_ld" = yes; then
5607+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5608+$as_echo_n "checking for GNU ld... " >&6; }
5609+else
5610+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5611+$as_echo_n "checking for non-GNU ld... " >&6; }
5612+fi
5613+if ${lt_cv_path_LD+:} false; then :
5614+ $as_echo_n "(cached) " >&6
5615+else
5616+ if test -z "$LD"; then
5617+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5618+ for ac_dir in $PATH; do
5619+ IFS="$lt_save_ifs"
5620+ test -z "$ac_dir" && ac_dir=.
5621+ if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5622+ lt_cv_path_LD="$ac_dir/$ac_prog"
5623+ # Check to see if the program is GNU ld. I'd rather use --version,
5624+ # but apparently some variants of GNU ld only accept -v.
5625+ # Break only if it was the GNU/non-GNU ld that we prefer.
5626+ case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5627+ *GNU* | *'with BFD'*)
5628+ test "$with_gnu_ld" != no && break
5629+ ;;
5630+ *)
5631+ test "$with_gnu_ld" != yes && break
5632+ ;;
5633+ esac
5634+ fi
5635+ done
5636+ IFS="$lt_save_ifs"
5637+else
5638+ lt_cv_path_LD="$LD" # Let the user override the test with a path.
5639+fi
5640+fi
5641+
5642+LD="$lt_cv_path_LD"
5643+if test -n "$LD"; then
5644+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5645+$as_echo "$LD" >&6; }
5646+else
5647+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5648+$as_echo "no" >&6; }
5649+fi
5650+test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5651+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5652+$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5653+if ${lt_cv_prog_gnu_ld+:} false; then :
5654+ $as_echo_n "(cached) " >&6
5655+else
5656+ # I'd rather use --version here, but apparently some GNU lds only accept -v.
5657+case `$LD -v 2>&1 </dev/null` in
5658+*GNU* | *'with BFD'*)
5659+ lt_cv_prog_gnu_ld=yes
5660+ ;;
5661+*)
5662+ lt_cv_prog_gnu_ld=no
5663+ ;;
5664+esac
5665+fi
5666+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5667+$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5668+with_gnu_ld=$lt_cv_prog_gnu_ld
5669+
5670+
5671+
5672+
5673+
5674+
5675+
5676+
5677+
5678+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5679+$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5680+if ${lt_cv_path_NM+:} false; then :
5681+ $as_echo_n "(cached) " >&6
5682+else
5683+ if test -n "$NM"; then
5684+ # Let the user override the test.
5685+ lt_cv_path_NM="$NM"
5686+else
5687+ lt_nm_to_check="${ac_tool_prefix}nm"
5688+ if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5689+ lt_nm_to_check="$lt_nm_to_check nm"
5690+ fi
5691+ for lt_tmp_nm in $lt_nm_to_check; do
5692+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5693+ for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5694+ IFS="$lt_save_ifs"
5695+ test -z "$ac_dir" && ac_dir=.
5696+ tmp_nm="$ac_dir/$lt_tmp_nm"
5697+ if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5698+ # Check to see if the nm accepts a BSD-compat flag.
5699+ # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5700+ # nm: unknown option "B" ignored
5701+ # Tru64's nm complains that /dev/null is an invalid object file
5702+ case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5703+ */dev/null* | *'Invalid file or object type'*)
5704+ lt_cv_path_NM="$tmp_nm -B"
5705+ break
5706+ ;;
5707+ *)
5708+ case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5709+ */dev/null*)
5710+ lt_cv_path_NM="$tmp_nm -p"
5711+ break
5712+ ;;
5713+ *)
5714+ lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5715+ continue # so that we can try to find one that supports BSD flags
5716+ ;;
5717+ esac
5718+ ;;
5719+ esac
5720+ fi
5721+ done
5722+ IFS="$lt_save_ifs"
5723+ done
5724+ : ${lt_cv_path_NM=no}
5725+fi
5726+fi
5727+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5728+$as_echo "$lt_cv_path_NM" >&6; }
5729+if test "$lt_cv_path_NM" != "no"; then
5730+ NM="$lt_cv_path_NM"
5731+else
5732+ # Didn't find any BSD compatible name lister, look for dumpbin.
5733+ if test -n "$DUMPBIN"; then :
5734+ # Let the user override the test.
5735+ else
5736+ if test -n "$ac_tool_prefix"; then
5737+ for ac_prog in dumpbin "link -dump"
5738+ do
5739+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5740+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5741+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5742+$as_echo_n "checking for $ac_word... " >&6; }
5743+if ${ac_cv_prog_DUMPBIN+:} false; then :
5744+ $as_echo_n "(cached) " >&6
5745+else
5746+ if test -n "$DUMPBIN"; then
5747+ ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5748+else
5749+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5750+for as_dir in $PATH
5751+do
5752+ IFS=$as_save_IFS
5753+ test -z "$as_dir" && as_dir=.
5754+ for ac_exec_ext in '' $ac_executable_extensions; do
5755+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5756+ ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5757+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5758+ break 2
5759+ fi
5760+done
5761+ done
5762+IFS=$as_save_IFS
5763+
5764+fi
5765+fi
5766+DUMPBIN=$ac_cv_prog_DUMPBIN
5767+if test -n "$DUMPBIN"; then
5768+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5769+$as_echo "$DUMPBIN" >&6; }
5770+else
5771+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5772+$as_echo "no" >&6; }
5773+fi
5774+
5775+
5776+ test -n "$DUMPBIN" && break
5777+ done
5778+fi
5779+if test -z "$DUMPBIN"; then
5780+ ac_ct_DUMPBIN=$DUMPBIN
5781+ for ac_prog in dumpbin "link -dump"
5782+do
5783+ # Extract the first word of "$ac_prog", so it can be a program name with args.
5784+set dummy $ac_prog; ac_word=$2
5785+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5786+$as_echo_n "checking for $ac_word... " >&6; }
5787+if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5788+ $as_echo_n "(cached) " >&6
5789+else
5790+ if test -n "$ac_ct_DUMPBIN"; then
5791+ ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5792+else
5793+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5794+for as_dir in $PATH
5795+do
5796+ IFS=$as_save_IFS
5797+ test -z "$as_dir" && as_dir=.
5798+ for ac_exec_ext in '' $ac_executable_extensions; do
5799+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5800+ ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5801+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5802+ break 2
5803+ fi
5804+done
5805+ done
5806+IFS=$as_save_IFS
5807+
5808+fi
5809+fi
5810+ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5811+if test -n "$ac_ct_DUMPBIN"; then
5812+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5813+$as_echo "$ac_ct_DUMPBIN" >&6; }
5814+else
5815+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5816+$as_echo "no" >&6; }
5817+fi
5818+
5819+
5820+ test -n "$ac_ct_DUMPBIN" && break
5821+done
5822+
5823+ if test "x$ac_ct_DUMPBIN" = x; then
5824+ DUMPBIN=":"
5825+ else
5826+ case $cross_compiling:$ac_tool_warned in
5827+yes:)
5828+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5829+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5830+ac_tool_warned=yes ;;
5831+esac
5832+ DUMPBIN=$ac_ct_DUMPBIN
5833+ fi
5834+fi
5835+
5836+ case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5837+ *COFF*)
5838+ DUMPBIN="$DUMPBIN -symbols"
5839+ ;;
5840+ *)
5841+ DUMPBIN=:
5842+ ;;
5843+ esac
5844+ fi
5845+
5846+ if test "$DUMPBIN" != ":"; then
5847+ NM="$DUMPBIN"
5848+ fi
5849+fi
5850+test -z "$NM" && NM=nm
5851+
5852+
5853+
5854+
5855+
5856+
5857+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5858+$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5859+if ${lt_cv_nm_interface+:} false; then :
5860+ $as_echo_n "(cached) " >&6
5861+else
5862+ lt_cv_nm_interface="BSD nm"
5863+ echo "int some_variable = 0;" > conftest.$ac_ext
5864+ (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5865+ (eval "$ac_compile" 2>conftest.err)
5866+ cat conftest.err >&5
5867+ (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5868+ (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5869+ cat conftest.err >&5
5870+ (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5871+ cat conftest.out >&5
5872+ if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5873+ lt_cv_nm_interface="MS dumpbin"
5874+ fi
5875+ rm -f conftest*
5876+fi
5877+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5878+$as_echo "$lt_cv_nm_interface" >&6; }
5879+
5880+# find the maximum length of command line arguments
5881+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5882+$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5883+if ${lt_cv_sys_max_cmd_len+:} false; then :
5884+ $as_echo_n "(cached) " >&6
5885+else
5886+ i=0
5887+ teststring="ABCD"
5888+
5889+ case $build_os in
5890+ msdosdjgpp*)
5891+ # On DJGPP, this test can blow up pretty badly due to problems in libc
5892+ # (any single argument exceeding 2000 bytes causes a buffer overrun
5893+ # during glob expansion). Even if it were fixed, the result of this
5894+ # check would be larger than it should be.
5895+ lt_cv_sys_max_cmd_len=12288; # 12K is about right
5896+ ;;
5897+
5898+ gnu*)
5899+ # Under GNU Hurd, this test is not required because there is
5900+ # no limit to the length of command line arguments.
5901+ # Libtool will interpret -1 as no limit whatsoever
5902+ lt_cv_sys_max_cmd_len=-1;
5903+ ;;
5904+
5905+ cygwin* | mingw* | cegcc*)
5906+ # On Win9x/ME, this test blows up -- it succeeds, but takes
5907+ # about 5 minutes as the teststring grows exponentially.
5908+ # Worse, since 9x/ME are not pre-emptively multitasking,
5909+ # you end up with a "frozen" computer, even though with patience
5910+ # the test eventually succeeds (with a max line length of 256k).
5911+ # Instead, let's just punt: use the minimum linelength reported by
5912+ # all of the supported platforms: 8192 (on NT/2K/XP).
5913+ lt_cv_sys_max_cmd_len=8192;
5914+ ;;
5915+
5916+ mint*)
5917+ # On MiNT this can take a long time and run out of memory.
5918+ lt_cv_sys_max_cmd_len=8192;
5919+ ;;
5920+
5921+ amigaos*)
5922+ # On AmigaOS with pdksh, this test takes hours, literally.
5923+ # So we just punt and use a minimum line length of 8192.
5924+ lt_cv_sys_max_cmd_len=8192;
5925+ ;;
5926+
5927+ netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5928+ # This has been around since 386BSD, at least. Likely further.
5929+ if test -x /sbin/sysctl; then
5930+ lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5931+ elif test -x /usr/sbin/sysctl; then
5932+ lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5933+ else
5934+ lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5935+ fi
5936+ # And add a safety zone
5937+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5938+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5939+ ;;
5940+
5941+ interix*)
5942+ # We know the value 262144 and hardcode it with a safety zone (like BSD)
5943+ lt_cv_sys_max_cmd_len=196608
5944+ ;;
5945+
5946+ osf*)
5947+ # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5948+ # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5949+ # nice to cause kernel panics so lets avoid the loop below.
5950+ # First set a reasonable default.
5951+ lt_cv_sys_max_cmd_len=16384
5952+ #
5953+ if test -x /sbin/sysconfig; then
5954+ case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5955+ *1*) lt_cv_sys_max_cmd_len=-1 ;;
5956+ esac
5957+ fi
5958+ ;;
5959+ sco3.2v5*)
5960+ lt_cv_sys_max_cmd_len=102400
5961+ ;;
5962+ sysv5* | sco5v6* | sysv4.2uw2*)
5963+ kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5964+ if test -n "$kargmax"; then
5965+ lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5966+ else
5967+ lt_cv_sys_max_cmd_len=32768
5968+ fi
5969+ ;;
5970+ *)
5971+ lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5972+ if test -n "$lt_cv_sys_max_cmd_len"; then
5973+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5974+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5975+ else
5976+ # Make teststring a little bigger before we do anything with it.
5977+ # a 1K string should be a reasonable start.
5978+ for i in 1 2 3 4 5 6 7 8 ; do
5979+ teststring=$teststring$teststring
5980+ done
5981+ SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5982+ # If test is not a shell built-in, we'll probably end up computing a
5983+ # maximum length that is only half of the actual maximum length, but
5984+ # we can't tell.
5985+ while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5986+ = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5987+ test $i != 17 # 1/2 MB should be enough
5988+ do
5989+ i=`expr $i + 1`
5990+ teststring=$teststring$teststring
5991+ done
5992+ # Only check the string length outside the loop.
5993+ lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5994+ teststring=
5995+ # Add a significant safety factor because C++ compilers can tack on
5996+ # massive amounts of additional arguments before passing them to the
5997+ # linker. It appears as though 1/2 is a usable value.
5998+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5999+ fi
6000+ ;;
6001+ esac
6002+
6003+fi
6004+
6005+if test -n $lt_cv_sys_max_cmd_len ; then
6006+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6007+$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6008+else
6009+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6010+$as_echo "none" >&6; }
6011+fi
6012+max_cmd_len=$lt_cv_sys_max_cmd_len
6013+
6014+
6015+
6016+
6017+
6018+
6019+: ${CP="cp -f"}
6020+: ${MV="mv -f"}
6021+: ${RM="rm -f"}
6022+
6023+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6024+$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6025+# Try some XSI features
6026+xsi_shell=no
6027+( _lt_dummy="a/b/c"
6028+ test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6029+ = c,a/b,, \
6030+ && eval 'test $(( 1 + 1 )) -eq 2 \
6031+ && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6032+ && xsi_shell=yes
6033+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6034+$as_echo "$xsi_shell" >&6; }
6035+
6036+
6037+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6038+$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6039+lt_shell_append=no
6040+( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6041+ >/dev/null 2>&1 \
6042+ && lt_shell_append=yes
6043+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6044+$as_echo "$lt_shell_append" >&6; }
6045+
6046+
6047+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6048+ lt_unset=unset
6049+else
6050+ lt_unset=false
6051+fi
6052+
6053+
6054+
6055+
6056+
6057+# test EBCDIC or ASCII
6058+case `echo X|tr X '\101'` in
6059+ A) # ASCII based system
6060+ # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6061+ lt_SP2NL='tr \040 \012'
6062+ lt_NL2SP='tr \015\012 \040\040'
6063+ ;;
6064+ *) # EBCDIC based system
6065+ lt_SP2NL='tr \100 \n'
6066+ lt_NL2SP='tr \r\n \100\100'
6067+ ;;
6068+esac
6069+
6070+
6071+
6072+
6073+
6074+
6075+
6076+
6077+
6078+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6079+$as_echo_n "checking for $LD option to reload object files... " >&6; }
6080+if ${lt_cv_ld_reload_flag+:} false; then :
6081+ $as_echo_n "(cached) " >&6
6082+else
6083+ lt_cv_ld_reload_flag='-r'
6084+fi
6085+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6086+$as_echo "$lt_cv_ld_reload_flag" >&6; }
6087+reload_flag=$lt_cv_ld_reload_flag
6088+case $reload_flag in
6089+"" | " "*) ;;
6090+*) reload_flag=" $reload_flag" ;;
6091+esac
6092+reload_cmds='$LD$reload_flag -o $output$reload_objs'
6093+case $host_os in
6094+ darwin*)
6095+ if test "$GCC" = yes; then
6096+ reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6097+ else
6098+ reload_cmds='$LD$reload_flag -o $output$reload_objs'
6099+ fi
6100+ ;;
6101+esac
6102+
6103+
6104+
6105+
6106+
6107+
6108+
6109+
6110+
6111+if test -n "$ac_tool_prefix"; then
6112+ # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6113+set dummy ${ac_tool_prefix}objdump; ac_word=$2
6114+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6115+$as_echo_n "checking for $ac_word... " >&6; }
6116+if ${ac_cv_prog_OBJDUMP+:} false; then :
6117+ $as_echo_n "(cached) " >&6
6118+else
6119+ if test -n "$OBJDUMP"; then
6120+ ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6121+else
6122+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6123+for as_dir in $PATH
6124+do
6125+ IFS=$as_save_IFS
6126+ test -z "$as_dir" && as_dir=.
6127+ for ac_exec_ext in '' $ac_executable_extensions; do
6128+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6129+ ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6130+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6131+ break 2
6132+ fi
6133+done
6134+ done
6135+IFS=$as_save_IFS
6136+
6137+fi
6138+fi
6139+OBJDUMP=$ac_cv_prog_OBJDUMP
6140+if test -n "$OBJDUMP"; then
6141+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6142+$as_echo "$OBJDUMP" >&6; }
6143+else
6144+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6145+$as_echo "no" >&6; }
6146+fi
6147+
6148+
6149+fi
6150+if test -z "$ac_cv_prog_OBJDUMP"; then
6151+ ac_ct_OBJDUMP=$OBJDUMP
6152+ # Extract the first word of "objdump", so it can be a program name with args.
6153+set dummy objdump; ac_word=$2
6154+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6155+$as_echo_n "checking for $ac_word... " >&6; }
6156+if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6157+ $as_echo_n "(cached) " >&6
6158+else
6159+ if test -n "$ac_ct_OBJDUMP"; then
6160+ ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6161+else
6162+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6163+for as_dir in $PATH
6164+do
6165+ IFS=$as_save_IFS
6166+ test -z "$as_dir" && as_dir=.
6167+ for ac_exec_ext in '' $ac_executable_extensions; do
6168+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6169+ ac_cv_prog_ac_ct_OBJDUMP="objdump"
6170+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6171+ break 2
6172+ fi
6173+done
6174+ done
6175+IFS=$as_save_IFS
6176+
6177+fi
6178+fi
6179+ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6180+if test -n "$ac_ct_OBJDUMP"; then
6181+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6182+$as_echo "$ac_ct_OBJDUMP" >&6; }
6183+else
6184+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6185+$as_echo "no" >&6; }
6186+fi
6187+
6188+ if test "x$ac_ct_OBJDUMP" = x; then
6189+ OBJDUMP="false"
6190+ else
6191+ case $cross_compiling:$ac_tool_warned in
6192+yes:)
6193+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6194+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6195+ac_tool_warned=yes ;;
6196+esac
6197+ OBJDUMP=$ac_ct_OBJDUMP
6198+ fi
6199+else
6200+ OBJDUMP="$ac_cv_prog_OBJDUMP"
6201+fi
6202+
6203+test -z "$OBJDUMP" && OBJDUMP=objdump
6204+
6205+
6206+
6207+
6208+
6209+
6210+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6211+$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6212+if ${lt_cv_deplibs_check_method+:} false; then :
6213+ $as_echo_n "(cached) " >&6
6214+else
6215+ lt_cv_file_magic_cmd='$MAGIC_CMD'
6216+lt_cv_file_magic_test_file=
6217+lt_cv_deplibs_check_method='unknown'
6218+# Need to set the preceding variable on all platforms that support
6219+# interlibrary dependencies.
6220+# 'none' -- dependencies not supported.
6221+# `unknown' -- same as none, but documents that we really don't know.
6222+# 'pass_all' -- all dependencies passed with no checks.
6223+# 'test_compile' -- check by making test program.
6224+# 'file_magic [[regex]]' -- check by looking for files in library path
6225+# which responds to the $file_magic_cmd with a given extended regex.
6226+# If you have `file' or equivalent on your system and you're not sure
6227+# whether `pass_all' will *always* work, you probably want this one.
6228+
6229+case $host_os in
6230+aix[4-9]*)
6231+ lt_cv_deplibs_check_method=pass_all
6232+ ;;
6233+
6234+beos*)
6235+ lt_cv_deplibs_check_method=pass_all
6236+ ;;
6237+
6238+bsdi[45]*)
6239+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6240+ lt_cv_file_magic_cmd='/usr/bin/file -L'
6241+ lt_cv_file_magic_test_file=/shlib/libc.so
6242+ ;;
6243+
6244+cygwin*)
6245+ # func_win32_libid is a shell function defined in ltmain.sh
6246+ lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6247+ lt_cv_file_magic_cmd='func_win32_libid'
6248+ ;;
6249+
6250+mingw* | pw32*)
6251+ # Base MSYS/MinGW do not provide the 'file' command needed by
6252+ # func_win32_libid shell function, so use a weaker test based on 'objdump',
6253+ # unless we find 'file', for example because we are cross-compiling.
6254+ # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6255+ if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6256+ lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6257+ lt_cv_file_magic_cmd='func_win32_libid'
6258+ else
6259+ # Keep this pattern in sync with the one in func_win32_libid.
6260+ lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6261+ lt_cv_file_magic_cmd='$OBJDUMP -f'
6262+ fi
6263+ ;;
6264+
6265+cegcc*)
6266+ # use the weaker test based on 'objdump'. See mingw*.
6267+ lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6268+ lt_cv_file_magic_cmd='$OBJDUMP -f'
6269+ ;;
6270+
6271+darwin* | rhapsody*)
6272+ lt_cv_deplibs_check_method=pass_all
6273+ ;;
6274+
6275+freebsd* | dragonfly*)
6276+ if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6277+ case $host_cpu in
6278+ i*86 )
6279+ # Not sure whether the presence of OpenBSD here was a mistake.
6280+ # Let's accept both of them until this is cleared up.
6281+ lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6282+ lt_cv_file_magic_cmd=/usr/bin/file
6283+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6284+ ;;
6285+ esac
6286+ else
6287+ lt_cv_deplibs_check_method=pass_all
6288+ fi
6289+ ;;
6290+
6291+gnu*)
6292+ lt_cv_deplibs_check_method=pass_all
6293+ ;;
6294+
6295+haiku*)
6296+ lt_cv_deplibs_check_method=pass_all
6297+ ;;
6298+
6299+hpux10.20* | hpux11*)
6300+ lt_cv_file_magic_cmd=/usr/bin/file
6301+ case $host_cpu in
6302+ ia64*)
6303+ lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6304+ lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6305+ ;;
6306+ hppa*64*)
6307+ 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]'
6308+ lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6309+ ;;
6310+ *)
6311+ lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6312+ lt_cv_file_magic_test_file=/usr/lib/libc.sl
6313+ ;;
6314+ esac
6315+ ;;
6316+
6317+interix[3-9]*)
6318+ # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6319+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6320+ ;;
6321+
6322+irix5* | irix6* | nonstopux*)
6323+ case $LD in
6324+ *-32|*"-32 ") libmagic=32-bit;;
6325+ *-n32|*"-n32 ") libmagic=N32;;
6326+ *-64|*"-64 ") libmagic=64-bit;;
6327+ *) libmagic=never-match;;
6328+ esac
6329+ lt_cv_deplibs_check_method=pass_all
6330+ ;;
6331+
6332+# This must be Linux ELF.
6333+linux* | k*bsd*-gnu | kopensolaris*-gnu)
6334+ lt_cv_deplibs_check_method=pass_all
6335+ ;;
6336+
6337+netbsd*)
6338+ if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6339+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6340+ else
6341+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6342+ fi
6343+ ;;
6344+
6345+newos6*)
6346+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6347+ lt_cv_file_magic_cmd=/usr/bin/file
6348+ lt_cv_file_magic_test_file=/usr/lib/libnls.so
6349+ ;;
6350+
6351+*nto* | *qnx*)
6352+ lt_cv_deplibs_check_method=pass_all
6353+ ;;
6354+
6355+openbsd*)
6356+ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6357+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6358+ else
6359+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6360+ fi
6361+ ;;
6362+
6363+osf3* | osf4* | osf5*)
6364+ lt_cv_deplibs_check_method=pass_all
6365+ ;;
6366+
6367+rdos*)
6368+ lt_cv_deplibs_check_method=pass_all
6369+ ;;
6370+
6371+solaris*)
6372+ lt_cv_deplibs_check_method=pass_all
6373+ ;;
6374+
6375+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6376+ lt_cv_deplibs_check_method=pass_all
6377+ ;;
6378+
6379+sysv4 | sysv4.3*)
6380+ case $host_vendor in
6381+ motorola)
6382+ 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]'
6383+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6384+ ;;
6385+ ncr)
6386+ lt_cv_deplibs_check_method=pass_all
6387+ ;;
6388+ sequent)
6389+ lt_cv_file_magic_cmd='/bin/file'
6390+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6391+ ;;
6392+ sni)
6393+ lt_cv_file_magic_cmd='/bin/file'
6394+ lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6395+ lt_cv_file_magic_test_file=/lib/libc.so
6396+ ;;
6397+ siemens)
6398+ lt_cv_deplibs_check_method=pass_all
6399+ ;;
6400+ pc)
6401+ lt_cv_deplibs_check_method=pass_all
6402+ ;;
6403+ esac
6404+ ;;
6405+
6406+tpf*)
6407+ lt_cv_deplibs_check_method=pass_all
6408+ ;;
6409+esac
6410+
6411+fi
6412+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6413+$as_echo "$lt_cv_deplibs_check_method" >&6; }
6414+file_magic_cmd=$lt_cv_file_magic_cmd
6415+deplibs_check_method=$lt_cv_deplibs_check_method
6416+test -z "$deplibs_check_method" && deplibs_check_method=unknown
6417+
6418+
6419+
6420+
6421+
6422+
6423+
6424+
6425+
6426+
6427+
6428+
6429+if test -n "$ac_tool_prefix"; then
6430+ # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6431+set dummy ${ac_tool_prefix}ar; ac_word=$2
6432+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6433+$as_echo_n "checking for $ac_word... " >&6; }
6434+if ${ac_cv_prog_AR+:} false; then :
6435+ $as_echo_n "(cached) " >&6
6436+else
6437+ if test -n "$AR"; then
6438+ ac_cv_prog_AR="$AR" # Let the user override the test.
6439+else
6440+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6441+for as_dir in $PATH
6442+do
6443+ IFS=$as_save_IFS
6444+ test -z "$as_dir" && as_dir=.
6445+ for ac_exec_ext in '' $ac_executable_extensions; do
6446+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6447+ ac_cv_prog_AR="${ac_tool_prefix}ar"
6448+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6449+ break 2
6450+ fi
6451+done
6452+ done
6453+IFS=$as_save_IFS
6454+
6455+fi
6456+fi
6457+AR=$ac_cv_prog_AR
6458+if test -n "$AR"; then
6459+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6460+$as_echo "$AR" >&6; }
6461+else
6462+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6463+$as_echo "no" >&6; }
6464+fi
6465+
6466+
6467+fi
6468+if test -z "$ac_cv_prog_AR"; then
6469+ ac_ct_AR=$AR
6470+ # Extract the first word of "ar", so it can be a program name with args.
6471+set dummy ar; ac_word=$2
6472+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6473+$as_echo_n "checking for $ac_word... " >&6; }
6474+if ${ac_cv_prog_ac_ct_AR+:} false; then :
6475+ $as_echo_n "(cached) " >&6
6476+else
6477+ if test -n "$ac_ct_AR"; then
6478+ ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6479+else
6480+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6481+for as_dir in $PATH
6482+do
6483+ IFS=$as_save_IFS
6484+ test -z "$as_dir" && as_dir=.
6485+ for ac_exec_ext in '' $ac_executable_extensions; do
6486+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6487+ ac_cv_prog_ac_ct_AR="ar"
6488+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6489+ break 2
6490+ fi
6491+done
6492+ done
6493+IFS=$as_save_IFS
6494+
6495+fi
6496+fi
6497+ac_ct_AR=$ac_cv_prog_ac_ct_AR
6498+if test -n "$ac_ct_AR"; then
6499+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6500+$as_echo "$ac_ct_AR" >&6; }
6501+else
6502+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6503+$as_echo "no" >&6; }
6504+fi
6505+
6506+ if test "x$ac_ct_AR" = x; then
6507+ AR="false"
6508+ else
6509+ case $cross_compiling:$ac_tool_warned in
6510+yes:)
6511+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6512+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6513+ac_tool_warned=yes ;;
6514+esac
6515+ AR=$ac_ct_AR
6516+ fi
6517+else
6518+ AR="$ac_cv_prog_AR"
6519+fi
6520+
6521+test -z "$AR" && AR=ar
6522+test -z "$AR_FLAGS" && AR_FLAGS=cru
6523+
6524+
6525+
6526+
6527+
6528+
6529+
6530+
6531+
6532+
6533+
6534+if test -n "$ac_tool_prefix"; then
6535+ # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6536+set dummy ${ac_tool_prefix}strip; ac_word=$2
6537+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6538+$as_echo_n "checking for $ac_word... " >&6; }
6539+if ${ac_cv_prog_STRIP+:} false; then :
6540+ $as_echo_n "(cached) " >&6
6541+else
6542+ if test -n "$STRIP"; then
6543+ ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6544+else
6545+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6546+for as_dir in $PATH
6547+do
6548+ IFS=$as_save_IFS
6549+ test -z "$as_dir" && as_dir=.
6550+ for ac_exec_ext in '' $ac_executable_extensions; do
6551+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6552+ ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6553+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6554+ break 2
6555+ fi
6556+done
6557+ done
6558+IFS=$as_save_IFS
6559+
6560+fi
6561+fi
6562+STRIP=$ac_cv_prog_STRIP
6563+if test -n "$STRIP"; then
6564+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6565+$as_echo "$STRIP" >&6; }
6566+else
6567+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6568+$as_echo "no" >&6; }
6569+fi
6570+
6571+
6572+fi
6573+if test -z "$ac_cv_prog_STRIP"; then
6574+ ac_ct_STRIP=$STRIP
6575+ # Extract the first word of "strip", so it can be a program name with args.
6576+set dummy strip; ac_word=$2
6577+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6578+$as_echo_n "checking for $ac_word... " >&6; }
6579+if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6580+ $as_echo_n "(cached) " >&6
6581+else
6582+ if test -n "$ac_ct_STRIP"; then
6583+ ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6584+else
6585+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6586+for as_dir in $PATH
6587+do
6588+ IFS=$as_save_IFS
6589+ test -z "$as_dir" && as_dir=.
6590+ for ac_exec_ext in '' $ac_executable_extensions; do
6591+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6592+ ac_cv_prog_ac_ct_STRIP="strip"
6593+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6594+ break 2
6595+ fi
6596+done
6597+ done
6598+IFS=$as_save_IFS
6599+
6600+fi
6601+fi
6602+ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6603+if test -n "$ac_ct_STRIP"; then
6604+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6605+$as_echo "$ac_ct_STRIP" >&6; }
6606+else
6607+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6608+$as_echo "no" >&6; }
6609+fi
6610+
6611+ if test "x$ac_ct_STRIP" = x; then
6612+ STRIP=":"
6613+ else
6614+ case $cross_compiling:$ac_tool_warned in
6615+yes:)
6616+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6617+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6618+ac_tool_warned=yes ;;
6619+esac
6620+ STRIP=$ac_ct_STRIP
6621+ fi
6622+else
6623+ STRIP="$ac_cv_prog_STRIP"
6624+fi
6625+
6626+test -z "$STRIP" && STRIP=:
6627+
6628+
6629+
6630+
6631+
6632+
6633+if test -n "$ac_tool_prefix"; then
6634+ # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6635+set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6636+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6637+$as_echo_n "checking for $ac_word... " >&6; }
6638+if ${ac_cv_prog_RANLIB+:} false; then :
6639+ $as_echo_n "(cached) " >&6
6640+else
6641+ if test -n "$RANLIB"; then
6642+ ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6643+else
6644+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6645+for as_dir in $PATH
6646+do
6647+ IFS=$as_save_IFS
6648+ test -z "$as_dir" && as_dir=.
6649+ for ac_exec_ext in '' $ac_executable_extensions; do
6650+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6651+ ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6652+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6653+ break 2
6654+ fi
6655+done
6656+ done
6657+IFS=$as_save_IFS
6658+
6659+fi
6660+fi
6661+RANLIB=$ac_cv_prog_RANLIB
6662+if test -n "$RANLIB"; then
6663+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6664+$as_echo "$RANLIB" >&6; }
6665+else
6666+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6667+$as_echo "no" >&6; }
6668+fi
6669+
6670+
6671+fi
6672+if test -z "$ac_cv_prog_RANLIB"; then
6673+ ac_ct_RANLIB=$RANLIB
6674+ # Extract the first word of "ranlib", so it can be a program name with args.
6675+set dummy ranlib; ac_word=$2
6676+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6677+$as_echo_n "checking for $ac_word... " >&6; }
6678+if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6679+ $as_echo_n "(cached) " >&6
6680+else
6681+ if test -n "$ac_ct_RANLIB"; then
6682+ ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6683+else
6684+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6685+for as_dir in $PATH
6686+do
6687+ IFS=$as_save_IFS
6688+ test -z "$as_dir" && as_dir=.
6689+ for ac_exec_ext in '' $ac_executable_extensions; do
6690+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6691+ ac_cv_prog_ac_ct_RANLIB="ranlib"
6692+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6693+ break 2
6694+ fi
6695+done
6696+ done
6697+IFS=$as_save_IFS
6698+
6699+fi
6700+fi
6701+ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6702+if test -n "$ac_ct_RANLIB"; then
6703+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6704+$as_echo "$ac_ct_RANLIB" >&6; }
6705+else
6706+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6707+$as_echo "no" >&6; }
6708+fi
6709+
6710+ if test "x$ac_ct_RANLIB" = x; then
6711+ RANLIB=":"
6712+ else
6713+ case $cross_compiling:$ac_tool_warned in
6714+yes:)
6715+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6716+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6717+ac_tool_warned=yes ;;
6718+esac
6719+ RANLIB=$ac_ct_RANLIB
6720+ fi
6721+else
6722+ RANLIB="$ac_cv_prog_RANLIB"
6723+fi
6724+
6725+test -z "$RANLIB" && RANLIB=:
6726+
6727+
6728+
6729+
6730+
6731+
6732+# Determine commands to create old-style static archives.
6733+old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6734+old_postinstall_cmds='chmod 644 $oldlib'
6735+old_postuninstall_cmds=
6736+
6737+if test -n "$RANLIB"; then
6738+ case $host_os in
6739+ openbsd*)
6740+ old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6741+ ;;
6742+ *)
6743+ old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6744+ ;;
6745+ esac
6746+ old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6747+fi
6748+
6749+case $host_os in
6750+ darwin*)
6751+ lock_old_archive_extraction=yes ;;
6752+ *)
6753+ lock_old_archive_extraction=no ;;
6754+esac
6755+
6756+
6757+
6758+
6759+
6760+
6761+
6762+
6763+
6764+
6765+
6766+
6767+
6768+
6769+
6770+
6771+
6772+
6773+
6774+
6775+
6776+
6777+
6778+
6779+
6780+
6781+
6782+
6783+
6784+
6785+
6786+
6787+
6788+
6789+
6790+
6791+
6792+
6793+
6794+# If no C compiler was specified, use CC.
6795+LTCC=${LTCC-"$CC"}
6796+
6797+# If no C compiler flags were specified, use CFLAGS.
6798+LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6799+
6800+# Allow CC to be a program name with arguments.
6801+compiler=$CC
6802+
6803+
6804+# Check for command to grab the raw symbol name followed by C symbol from nm.
6805+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6806+$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6807+if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6808+ $as_echo_n "(cached) " >&6
6809+else
6810+
6811+# These are sane defaults that work on at least a few old systems.
6812+# [They come from Ultrix. What could be older than Ultrix?!! ;)]
6813+
6814+# Character class describing NM global symbol codes.
6815+symcode='[BCDEGRST]'
6816+
6817+# Regexp to match symbols that can be accessed directly from C.
6818+sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6819+
6820+# Define system-specific variables.
6821+case $host_os in
6822+aix*)
6823+ symcode='[BCDT]'
6824+ ;;
6825+cygwin* | mingw* | pw32* | cegcc*)
6826+ symcode='[ABCDGISTW]'
6827+ ;;
6828+hpux*)
6829+ if test "$host_cpu" = ia64; then
6830+ symcode='[ABCDEGRST]'
6831+ fi
6832+ ;;
6833+irix* | nonstopux*)
6834+ symcode='[BCDEGRST]'
6835+ ;;
6836+osf*)
6837+ symcode='[BCDEGQRST]'
6838+ ;;
6839+solaris*)
6840+ symcode='[BDRT]'
6841+ ;;
6842+sco3.2v5*)
6843+ symcode='[DT]'
6844+ ;;
6845+sysv4.2uw2*)
6846+ symcode='[DT]'
6847+ ;;
6848+sysv5* | sco5v6* | unixware* | OpenUNIX*)
6849+ symcode='[ABDT]'
6850+ ;;
6851+sysv4)
6852+ symcode='[DFNSTU]'
6853+ ;;
6854+esac
6855+
6856+# If we're using GNU nm, then use its standard symbol codes.
6857+case `$NM -V 2>&1` in
6858+*GNU* | *'with BFD'*)
6859+ symcode='[ABCDGIRSTW]' ;;
6860+esac
6861+
6862+# Transform an extracted symbol line into a proper C declaration.
6863+# Some systems (esp. on ia64) link data and code symbols differently,
6864+# so use this general approach.
6865+lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6866+
6867+# Transform an extracted symbol line into symbol name and symbol address
6868+lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6869+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'"
6870+
6871+# Handle CRLF in mingw tool chain
6872+opt_cr=
6873+case $build_os in
6874+mingw*)
6875+ opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6876+ ;;
6877+esac
6878+
6879+# Try without a prefix underscore, then with it.
6880+for ac_symprfx in "" "_"; do
6881+
6882+ # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6883+ symxfrm="\\1 $ac_symprfx\\2 \\2"
6884+
6885+ # Write the raw and C identifiers.
6886+ if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6887+ # Fake it for dumpbin and say T for any non-static function
6888+ # and D for any global variable.
6889+ # Also find C++ and __fastcall symbols from MSVC++,
6890+ # which start with @ or ?.
6891+ lt_cv_sys_global_symbol_pipe="$AWK '"\
6892+" {last_section=section; section=\$ 3};"\
6893+" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6894+" \$ 0!~/External *\|/{next};"\
6895+" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6896+" {if(hide[section]) next};"\
6897+" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6898+" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6899+" s[1]~/^[@?]/{print s[1], s[1]; next};"\
6900+" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6901+" ' prfx=^$ac_symprfx"
6902+ else
6903+ lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6904+ fi
6905+
6906+ # Check to see that the pipe works correctly.
6907+ pipe_works=no
6908+
6909+ rm -f conftest*
6910+ cat > conftest.$ac_ext <<_LT_EOF
6911+#ifdef __cplusplus
6912+extern "C" {
6913+#endif
6914+char nm_test_var;
6915+void nm_test_func(void);
6916+void nm_test_func(void){}
6917+#ifdef __cplusplus
6918+}
6919+#endif
6920+int main(){nm_test_var='a';nm_test_func();return(0);}
6921+_LT_EOF
6922+
6923+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6924+ (eval $ac_compile) 2>&5
6925+ ac_status=$?
6926+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6927+ test $ac_status = 0; }; then
6928+ # Now try to grab the symbols.
6929+ nlist=conftest.nm
6930+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6931+ (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6932+ ac_status=$?
6933+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6934+ test $ac_status = 0; } && test -s "$nlist"; then
6935+ # Try sorting and uniquifying the output.
6936+ if sort "$nlist" | uniq > "$nlist"T; then
6937+ mv -f "$nlist"T "$nlist"
6938+ else
6939+ rm -f "$nlist"T
6940+ fi
6941+
6942+ # Make sure that we snagged all the symbols we need.
6943+ if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6944+ if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6945+ cat <<_LT_EOF > conftest.$ac_ext
6946+#ifdef __cplusplus
6947+extern "C" {
6948+#endif
6949+
6950+_LT_EOF
6951+ # Now generate the symbol file.
6952+ eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6953+
6954+ cat <<_LT_EOF >> conftest.$ac_ext
6955+
6956+/* The mapping between symbol names and symbols. */
6957+const struct {
6958+ const char *name;
6959+ void *address;
6960+}
6961+lt__PROGRAM__LTX_preloaded_symbols[] =
6962+{
6963+ { "@PROGRAM@", (void *) 0 },
6964+_LT_EOF
6965+ $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6966+ cat <<\_LT_EOF >> conftest.$ac_ext
6967+ {0, (void *) 0}
6968+};
6969+
6970+/* This works around a problem in FreeBSD linker */
6971+#ifdef FREEBSD_WORKAROUND
6972+static const void *lt_preloaded_setup() {
6973+ return lt__PROGRAM__LTX_preloaded_symbols;
6974+}
6975+#endif
6976+
6977+#ifdef __cplusplus
6978+}
6979+#endif
6980+_LT_EOF
6981+ # Now try linking the two files.
6982+ mv conftest.$ac_objext conftstm.$ac_objext
6983+ lt_save_LIBS="$LIBS"
6984+ lt_save_CFLAGS="$CFLAGS"
6985+ LIBS="conftstm.$ac_objext"
6986+ CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6987+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6988+ (eval $ac_link) 2>&5
6989+ ac_status=$?
6990+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6991+ test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6992+ pipe_works=yes
6993+ fi
6994+ LIBS="$lt_save_LIBS"
6995+ CFLAGS="$lt_save_CFLAGS"
6996+ else
6997+ echo "cannot find nm_test_func in $nlist" >&5
6998+ fi
6999+ else
7000+ echo "cannot find nm_test_var in $nlist" >&5
7001+ fi
7002+ else
7003+ echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7004+ fi
7005+ else
7006+ echo "$progname: failed program was:" >&5
7007+ cat conftest.$ac_ext >&5
7008+ fi
7009+ rm -rf conftest* conftst*
7010+
7011+ # Do not use the global_symbol_pipe unless it works.
7012+ if test "$pipe_works" = yes; then
7013+ break
7014+ else
7015+ lt_cv_sys_global_symbol_pipe=
7016+ fi
7017+done
7018+
7019+fi
7020+
7021+if test -z "$lt_cv_sys_global_symbol_pipe"; then
7022+ lt_cv_sys_global_symbol_to_cdecl=
7023+fi
7024+if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7025+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7026+$as_echo "failed" >&6; }
7027+else
7028+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7029+$as_echo "ok" >&6; }
7030+fi
7031+
7032+
7033+
7034+
7035+
7036+
7037+
7038+
7039+
7040+
7041+
7042+
7043+
7044+
7045+
7046+
7047+
7048+
7049+
7050+
7051+
7052+
7053+# Check whether --enable-libtool-lock was given.
7054+if test "${enable_libtool_lock+set}" = set; then :
7055+ enableval=$enable_libtool_lock;
7056+fi
7057+
7058+test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7059+
7060+# Some flags need to be propagated to the compiler or linker for good
7061+# libtool support.
7062+case $host in
7063+ia64-*-hpux*)
7064+ # Find out which ABI we are using.
7065+ echo 'int i;' > conftest.$ac_ext
7066+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7067+ (eval $ac_compile) 2>&5
7068+ ac_status=$?
7069+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7070+ test $ac_status = 0; }; then
7071+ case `/usr/bin/file conftest.$ac_objext` in
7072+ *ELF-32*)
7073+ HPUX_IA64_MODE="32"
7074+ ;;
7075+ *ELF-64*)
7076+ HPUX_IA64_MODE="64"
7077+ ;;
7078+ esac
7079+ fi
7080+ rm -rf conftest*
7081+ ;;
7082+*-*-irix6*)
7083+ # Find out which ABI we are using.
7084+ echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7085+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7086+ (eval $ac_compile) 2>&5
7087+ ac_status=$?
7088+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7089+ test $ac_status = 0; }; then
7090+ if test "$lt_cv_prog_gnu_ld" = yes; then
7091+ case `/usr/bin/file conftest.$ac_objext` in
7092+ *32-bit*)
7093+ LD="${LD-ld} -melf32bsmip"
7094+ ;;
7095+ *N32*)
7096+ LD="${LD-ld} -melf32bmipn32"
7097+ ;;
7098+ *64-bit*)
7099+ LD="${LD-ld} -melf64bmip"
7100+ ;;
7101+ esac
7102+ else
7103+ case `/usr/bin/file conftest.$ac_objext` in
7104+ *32-bit*)
7105+ LD="${LD-ld} -32"
7106+ ;;
7107+ *N32*)
7108+ LD="${LD-ld} -n32"
7109+ ;;
7110+ *64-bit*)
7111+ LD="${LD-ld} -64"
7112+ ;;
7113+ esac
7114+ fi
7115+ fi
7116+ rm -rf conftest*
7117+ ;;
7118+
7119+x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7120+s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7121+ # Find out which ABI we are using.
7122+ echo 'int i;' > conftest.$ac_ext
7123+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7124+ (eval $ac_compile) 2>&5
7125+ ac_status=$?
7126+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7127+ test $ac_status = 0; }; then
7128+ case `/usr/bin/file conftest.o` in
7129+ *32-bit*)
7130+ case $host in
7131+ x86_64-*kfreebsd*-gnu)
7132+ LD="${LD-ld} -m elf_i386_fbsd"
7133+ ;;
7134+ x86_64-*linux*)
7135+ LD="${LD-ld} -m elf_i386"
7136+ ;;
7137+ ppc64-*linux*|powerpc64-*linux*)
7138+ LD="${LD-ld} -m elf32ppclinux"
7139+ ;;
7140+ s390x-*linux*)
7141+ LD="${LD-ld} -m elf_s390"
7142+ ;;
7143+ sparc64-*linux*)
7144+ LD="${LD-ld} -m elf32_sparc"
7145+ ;;
7146+ esac
7147+ ;;
7148+ *64-bit*)
7149+ case $host in
7150+ x86_64-*kfreebsd*-gnu)
7151+ LD="${LD-ld} -m elf_x86_64_fbsd"
7152+ ;;
7153+ x86_64-*linux*)
7154+ LD="${LD-ld} -m elf_x86_64"
7155+ ;;
7156+ ppc*-*linux*|powerpc*-*linux*)
7157+ LD="${LD-ld} -m elf64ppc"
7158+ ;;
7159+ s390*-*linux*|s390*-*tpf*)
7160+ LD="${LD-ld} -m elf64_s390"
7161+ ;;
7162+ sparc*-*linux*)
7163+ LD="${LD-ld} -m elf64_sparc"
7164+ ;;
7165+ esac
7166+ ;;
7167+ esac
7168+ fi
7169+ rm -rf conftest*
7170+ ;;
7171+
7172+*-*-sco3.2v5*)
7173+ # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7174+ SAVE_CFLAGS="$CFLAGS"
7175+ CFLAGS="$CFLAGS -belf"
7176+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7177+$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7178+if ${lt_cv_cc_needs_belf+:} false; then :
7179+ $as_echo_n "(cached) " >&6
7180+else
7181+ ac_ext=c
7182+ac_cpp='$CPP $CPPFLAGS'
7183+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7184+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7185+ac_compiler_gnu=$ac_cv_c_compiler_gnu
7186+
7187+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7188+/* end confdefs.h. */
7189+
7190+int
7191+main ()
7192+{
7193+
7194+ ;
7195+ return 0;
7196+}
7197+_ACEOF
7198+if ac_fn_c_try_link "$LINENO"; then :
7199+ lt_cv_cc_needs_belf=yes
7200+else
7201+ lt_cv_cc_needs_belf=no
7202+fi
7203+rm -f core conftest.err conftest.$ac_objext \
7204+ conftest$ac_exeext conftest.$ac_ext
7205+ ac_ext=c
7206+ac_cpp='$CPP $CPPFLAGS'
7207+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7208+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7209+ac_compiler_gnu=$ac_cv_c_compiler_gnu
7210+
7211+fi
7212+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7213+$as_echo "$lt_cv_cc_needs_belf" >&6; }
7214+ if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7215+ # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7216+ CFLAGS="$SAVE_CFLAGS"
7217+ fi
7218+ ;;
7219+sparc*-*solaris*)
7220+ # Find out which ABI we are using.
7221+ echo 'int i;' > conftest.$ac_ext
7222+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7223+ (eval $ac_compile) 2>&5
7224+ ac_status=$?
7225+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7226+ test $ac_status = 0; }; then
7227+ case `/usr/bin/file conftest.o` in
7228+ *64-bit*)
7229+ case $lt_cv_prog_gnu_ld in
7230+ yes*) LD="${LD-ld} -m elf64_sparc" ;;
7231+ *)
7232+ if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7233+ LD="${LD-ld} -64"
7234+ fi
7235+ ;;
7236+ esac
7237+ ;;
7238+ esac
7239+ fi
7240+ rm -rf conftest*
7241+ ;;
7242+esac
7243+
7244+need_locks="$enable_libtool_lock"
7245+
7246+
7247+ case $host_os in
7248+ rhapsody* | darwin*)
7249+ if test -n "$ac_tool_prefix"; then
7250+ # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7251+set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7252+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7253+$as_echo_n "checking for $ac_word... " >&6; }
7254+if ${ac_cv_prog_DSYMUTIL+:} false; then :
7255+ $as_echo_n "(cached) " >&6
7256+else
7257+ if test -n "$DSYMUTIL"; then
7258+ ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7259+else
7260+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7261+for as_dir in $PATH
7262+do
7263+ IFS=$as_save_IFS
7264+ test -z "$as_dir" && as_dir=.
7265+ for ac_exec_ext in '' $ac_executable_extensions; do
7266+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7267+ ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7268+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7269+ break 2
7270+ fi
7271+done
7272+ done
7273+IFS=$as_save_IFS
7274+
7275+fi
7276+fi
7277+DSYMUTIL=$ac_cv_prog_DSYMUTIL
7278+if test -n "$DSYMUTIL"; then
7279+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7280+$as_echo "$DSYMUTIL" >&6; }
7281+else
7282+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7283+$as_echo "no" >&6; }
7284+fi
7285+
7286+
7287+fi
7288+if test -z "$ac_cv_prog_DSYMUTIL"; then
7289+ ac_ct_DSYMUTIL=$DSYMUTIL
7290+ # Extract the first word of "dsymutil", so it can be a program name with args.
7291+set dummy dsymutil; ac_word=$2
7292+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7293+$as_echo_n "checking for $ac_word... " >&6; }
7294+if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7295+ $as_echo_n "(cached) " >&6
7296+else
7297+ if test -n "$ac_ct_DSYMUTIL"; then
7298+ ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7299+else
7300+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7301+for as_dir in $PATH
7302+do
7303+ IFS=$as_save_IFS
7304+ test -z "$as_dir" && as_dir=.
7305+ for ac_exec_ext in '' $ac_executable_extensions; do
7306+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7307+ ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7308+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7309+ break 2
7310+ fi
7311+done
7312+ done
7313+IFS=$as_save_IFS
7314+
7315+fi
7316+fi
7317+ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7318+if test -n "$ac_ct_DSYMUTIL"; then
7319+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7320+$as_echo "$ac_ct_DSYMUTIL" >&6; }
7321+else
7322+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7323+$as_echo "no" >&6; }
7324+fi
7325+
7326+ if test "x$ac_ct_DSYMUTIL" = x; then
7327+ DSYMUTIL=":"
7328+ else
7329+ case $cross_compiling:$ac_tool_warned in
7330+yes:)
7331+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7332+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7333+ac_tool_warned=yes ;;
7334+esac
7335+ DSYMUTIL=$ac_ct_DSYMUTIL
7336+ fi
7337+else
7338+ DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7339+fi
7340+
7341+ if test -n "$ac_tool_prefix"; then
7342+ # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7343+set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7344+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7345+$as_echo_n "checking for $ac_word... " >&6; }
7346+if ${ac_cv_prog_NMEDIT+:} false; then :
7347+ $as_echo_n "(cached) " >&6
7348+else
7349+ if test -n "$NMEDIT"; then
7350+ ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7351+else
7352+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7353+for as_dir in $PATH
7354+do
7355+ IFS=$as_save_IFS
7356+ test -z "$as_dir" && as_dir=.
7357+ for ac_exec_ext in '' $ac_executable_extensions; do
7358+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7359+ ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7360+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7361+ break 2
7362+ fi
7363+done
7364+ done
7365+IFS=$as_save_IFS
7366+
7367+fi
7368+fi
7369+NMEDIT=$ac_cv_prog_NMEDIT
7370+if test -n "$NMEDIT"; then
7371+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7372+$as_echo "$NMEDIT" >&6; }
7373+else
7374+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7375+$as_echo "no" >&6; }
7376+fi
7377+
7378+
7379+fi
7380+if test -z "$ac_cv_prog_NMEDIT"; then
7381+ ac_ct_NMEDIT=$NMEDIT
7382+ # Extract the first word of "nmedit", so it can be a program name with args.
7383+set dummy nmedit; ac_word=$2
7384+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7385+$as_echo_n "checking for $ac_word... " >&6; }
7386+if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7387+ $as_echo_n "(cached) " >&6
7388+else
7389+ if test -n "$ac_ct_NMEDIT"; then
7390+ ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7391+else
7392+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7393+for as_dir in $PATH
7394+do
7395+ IFS=$as_save_IFS
7396+ test -z "$as_dir" && as_dir=.
7397+ for ac_exec_ext in '' $ac_executable_extensions; do
7398+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7399+ ac_cv_prog_ac_ct_NMEDIT="nmedit"
7400+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7401+ break 2
7402+ fi
7403+done
7404+ done
7405+IFS=$as_save_IFS
7406+
7407+fi
7408+fi
7409+ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7410+if test -n "$ac_ct_NMEDIT"; then
7411+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7412+$as_echo "$ac_ct_NMEDIT" >&6; }
7413+else
7414+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7415+$as_echo "no" >&6; }
7416+fi
7417+
7418+ if test "x$ac_ct_NMEDIT" = x; then
7419+ NMEDIT=":"
7420+ else
7421+ case $cross_compiling:$ac_tool_warned in
7422+yes:)
7423+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7424+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7425+ac_tool_warned=yes ;;
7426+esac
7427+ NMEDIT=$ac_ct_NMEDIT
7428+ fi
7429+else
7430+ NMEDIT="$ac_cv_prog_NMEDIT"
7431+fi
7432+
7433+ if test -n "$ac_tool_prefix"; then
7434+ # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7435+set dummy ${ac_tool_prefix}lipo; ac_word=$2
7436+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7437+$as_echo_n "checking for $ac_word... " >&6; }
7438+if ${ac_cv_prog_LIPO+:} false; then :
7439+ $as_echo_n "(cached) " >&6
7440+else
7441+ if test -n "$LIPO"; then
7442+ ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7443+else
7444+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7445+for as_dir in $PATH
7446+do
7447+ IFS=$as_save_IFS
7448+ test -z "$as_dir" && as_dir=.
7449+ for ac_exec_ext in '' $ac_executable_extensions; do
7450+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7451+ ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7452+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7453+ break 2
7454+ fi
7455+done
7456+ done
7457+IFS=$as_save_IFS
7458+
7459+fi
7460+fi
7461+LIPO=$ac_cv_prog_LIPO
7462+if test -n "$LIPO"; then
7463+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7464+$as_echo "$LIPO" >&6; }
7465+else
7466+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7467+$as_echo "no" >&6; }
7468+fi
7469+
7470+
7471+fi
7472+if test -z "$ac_cv_prog_LIPO"; then
7473+ ac_ct_LIPO=$LIPO
7474+ # Extract the first word of "lipo", so it can be a program name with args.
7475+set dummy lipo; ac_word=$2
7476+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7477+$as_echo_n "checking for $ac_word... " >&6; }
7478+if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7479+ $as_echo_n "(cached) " >&6
7480+else
7481+ if test -n "$ac_ct_LIPO"; then
7482+ ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7483+else
7484+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7485+for as_dir in $PATH
7486+do
7487+ IFS=$as_save_IFS
7488+ test -z "$as_dir" && as_dir=.
7489+ for ac_exec_ext in '' $ac_executable_extensions; do
7490+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7491+ ac_cv_prog_ac_ct_LIPO="lipo"
7492+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7493+ break 2
7494+ fi
7495+done
7496+ done
7497+IFS=$as_save_IFS
7498+
7499+fi
7500+fi
7501+ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7502+if test -n "$ac_ct_LIPO"; then
7503+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7504+$as_echo "$ac_ct_LIPO" >&6; }
7505+else
7506+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7507+$as_echo "no" >&6; }
7508+fi
7509+
7510+ if test "x$ac_ct_LIPO" = x; then
7511+ LIPO=":"
7512+ else
7513+ case $cross_compiling:$ac_tool_warned in
7514+yes:)
7515+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7516+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7517+ac_tool_warned=yes ;;
7518+esac
7519+ LIPO=$ac_ct_LIPO
7520+ fi
7521+else
7522+ LIPO="$ac_cv_prog_LIPO"
7523+fi
7524+
7525+ if test -n "$ac_tool_prefix"; then
7526+ # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7527+set dummy ${ac_tool_prefix}otool; ac_word=$2
7528+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7529+$as_echo_n "checking for $ac_word... " >&6; }
7530+if ${ac_cv_prog_OTOOL+:} false; then :
7531+ $as_echo_n "(cached) " >&6
7532+else
7533+ if test -n "$OTOOL"; then
7534+ ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7535+else
7536+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7537+for as_dir in $PATH
7538+do
7539+ IFS=$as_save_IFS
7540+ test -z "$as_dir" && as_dir=.
7541+ for ac_exec_ext in '' $ac_executable_extensions; do
7542+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7543+ ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7544+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7545+ break 2
7546+ fi
7547+done
7548+ done
7549+IFS=$as_save_IFS
7550+
7551+fi
7552+fi
7553+OTOOL=$ac_cv_prog_OTOOL
7554+if test -n "$OTOOL"; then
7555+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7556+$as_echo "$OTOOL" >&6; }
7557+else
7558+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7559+$as_echo "no" >&6; }
7560+fi
7561+
7562+
7563+fi
7564+if test -z "$ac_cv_prog_OTOOL"; then
7565+ ac_ct_OTOOL=$OTOOL
7566+ # Extract the first word of "otool", so it can be a program name with args.
7567+set dummy otool; ac_word=$2
7568+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7569+$as_echo_n "checking for $ac_word... " >&6; }
7570+if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7571+ $as_echo_n "(cached) " >&6
7572+else
7573+ if test -n "$ac_ct_OTOOL"; then
7574+ ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7575+else
7576+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7577+for as_dir in $PATH
7578+do
7579+ IFS=$as_save_IFS
7580+ test -z "$as_dir" && as_dir=.
7581+ for ac_exec_ext in '' $ac_executable_extensions; do
7582+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7583+ ac_cv_prog_ac_ct_OTOOL="otool"
7584+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7585+ break 2
7586+ fi
7587+done
7588+ done
7589+IFS=$as_save_IFS
7590+
7591+fi
7592+fi
7593+ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7594+if test -n "$ac_ct_OTOOL"; then
7595+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7596+$as_echo "$ac_ct_OTOOL" >&6; }
7597+else
7598+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7599+$as_echo "no" >&6; }
7600+fi
7601+
7602+ if test "x$ac_ct_OTOOL" = x; then
7603+ OTOOL=":"
7604+ else
7605+ case $cross_compiling:$ac_tool_warned in
7606+yes:)
7607+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7608+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7609+ac_tool_warned=yes ;;
7610+esac
7611+ OTOOL=$ac_ct_OTOOL
7612+ fi
7613+else
7614+ OTOOL="$ac_cv_prog_OTOOL"
7615+fi
7616+
7617+ if test -n "$ac_tool_prefix"; then
7618+ # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7619+set dummy ${ac_tool_prefix}otool64; ac_word=$2
7620+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7621+$as_echo_n "checking for $ac_word... " >&6; }
7622+if ${ac_cv_prog_OTOOL64+:} false; then :
7623+ $as_echo_n "(cached) " >&6
7624+else
7625+ if test -n "$OTOOL64"; then
7626+ ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7627+else
7628+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7629+for as_dir in $PATH
7630+do
7631+ IFS=$as_save_IFS
7632+ test -z "$as_dir" && as_dir=.
7633+ for ac_exec_ext in '' $ac_executable_extensions; do
7634+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7635+ ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7636+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7637+ break 2
7638+ fi
7639+done
7640+ done
7641+IFS=$as_save_IFS
7642+
7643+fi
7644+fi
7645+OTOOL64=$ac_cv_prog_OTOOL64
7646+if test -n "$OTOOL64"; then
7647+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7648+$as_echo "$OTOOL64" >&6; }
7649+else
7650+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7651+$as_echo "no" >&6; }
7652+fi
7653+
7654+
7655+fi
7656+if test -z "$ac_cv_prog_OTOOL64"; then
7657+ ac_ct_OTOOL64=$OTOOL64
7658+ # Extract the first word of "otool64", so it can be a program name with args.
7659+set dummy otool64; ac_word=$2
7660+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7661+$as_echo_n "checking for $ac_word... " >&6; }
7662+if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7663+ $as_echo_n "(cached) " >&6
7664+else
7665+ if test -n "$ac_ct_OTOOL64"; then
7666+ ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7667+else
7668+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7669+for as_dir in $PATH
7670+do
7671+ IFS=$as_save_IFS
7672+ test -z "$as_dir" && as_dir=.
7673+ for ac_exec_ext in '' $ac_executable_extensions; do
7674+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7675+ ac_cv_prog_ac_ct_OTOOL64="otool64"
7676+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7677+ break 2
7678+ fi
7679+done
7680+ done
7681+IFS=$as_save_IFS
7682+
7683+fi
7684+fi
7685+ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7686+if test -n "$ac_ct_OTOOL64"; then
7687+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7688+$as_echo "$ac_ct_OTOOL64" >&6; }
7689+else
7690+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7691+$as_echo "no" >&6; }
7692+fi
7693+
7694+ if test "x$ac_ct_OTOOL64" = x; then
7695+ OTOOL64=":"
7696+ else
7697+ case $cross_compiling:$ac_tool_warned in
7698+yes:)
7699+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7700+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7701+ac_tool_warned=yes ;;
7702+esac
7703+ OTOOL64=$ac_ct_OTOOL64
7704+ fi
7705+else
7706+ OTOOL64="$ac_cv_prog_OTOOL64"
7707+fi
7708+
7709+
7710+
7711+
7712+
7713+
7714+
7715+
7716+
7717+
7718+
7719+
7720+
7721+
7722+
7723+
7724+
7725+
7726+
7727+
7728+
7729+
7730+
7731+
7732+
7733+
7734+
7735+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7736+$as_echo_n "checking for -single_module linker flag... " >&6; }
7737+if ${lt_cv_apple_cc_single_mod+:} false; then :
7738+ $as_echo_n "(cached) " >&6
7739+else
7740+ lt_cv_apple_cc_single_mod=no
7741+ if test -z "${LT_MULTI_MODULE}"; then
7742+ # By default we will add the -single_module flag. You can override
7743+ # by either setting the environment variable LT_MULTI_MODULE
7744+ # non-empty at configure time, or by adding -multi_module to the
7745+ # link flags.
7746+ rm -rf libconftest.dylib*
7747+ echo "int foo(void){return 1;}" > conftest.c
7748+ echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7749+-dynamiclib -Wl,-single_module conftest.c" >&5
7750+ $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7751+ -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7752+ _lt_result=$?
7753+ if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7754+ lt_cv_apple_cc_single_mod=yes
7755+ else
7756+ cat conftest.err >&5
7757+ fi
7758+ rm -rf libconftest.dylib*
7759+ rm -f conftest.*
7760+ fi
7761+fi
7762+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7763+$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7764+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7765+$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7766+if ${lt_cv_ld_exported_symbols_list+:} false; then :
7767+ $as_echo_n "(cached) " >&6
7768+else
7769+ lt_cv_ld_exported_symbols_list=no
7770+ save_LDFLAGS=$LDFLAGS
7771+ echo "_main" > conftest.sym
7772+ LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7773+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7774+/* end confdefs.h. */
7775+
7776+int
7777+main ()
7778+{
7779+
7780+ ;
7781+ return 0;
7782+}
7783+_ACEOF
7784+if ac_fn_c_try_link "$LINENO"; then :
7785+ lt_cv_ld_exported_symbols_list=yes
7786+else
7787+ lt_cv_ld_exported_symbols_list=no
7788+fi
7789+rm -f core conftest.err conftest.$ac_objext \
7790+ conftest$ac_exeext conftest.$ac_ext
7791+ LDFLAGS="$save_LDFLAGS"
7792+
7793+fi
7794+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7795+$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7796+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7797+$as_echo_n "checking for -force_load linker flag... " >&6; }
7798+if ${lt_cv_ld_force_load+:} false; then :
7799+ $as_echo_n "(cached) " >&6
7800+else
7801+ lt_cv_ld_force_load=no
7802+ cat > conftest.c << _LT_EOF
7803+int forced_loaded() { return 2;}
7804+_LT_EOF
7805+ echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7806+ $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7807+ echo "$AR cru libconftest.a conftest.o" >&5
7808+ $AR cru libconftest.a conftest.o 2>&5
7809+ echo "$RANLIB libconftest.a" >&5
7810+ $RANLIB libconftest.a 2>&5
7811+ cat > conftest.c << _LT_EOF
7812+int main() { return 0;}
7813+_LT_EOF
7814+ echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7815+ $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7816+ _lt_result=$?
7817+ if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7818+ lt_cv_ld_force_load=yes
7819+ else
7820+ cat conftest.err >&5
7821+ fi
7822+ rm -f conftest.err libconftest.a conftest conftest.c
7823+ rm -rf conftest.dSYM
7824+
7825+fi
7826+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7827+$as_echo "$lt_cv_ld_force_load" >&6; }
7828+ case $host_os in
7829+ rhapsody* | darwin1.[012])
7830+ _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7831+ darwin1.*)
7832+ _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7833+ darwin*) # darwin 5.x on
7834+ # if running on 10.5 or later, the deployment target defaults
7835+ # to the OS version, if on x86, and 10.4, the deployment
7836+ # target defaults to 10.4. Don't you love it?
7837+ case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7838+ 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7839+ _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7840+ 10.[012]*)
7841+ _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7842+ 10.*)
7843+ _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7844+ esac
7845+ ;;
7846+ esac
7847+ if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7848+ _lt_dar_single_mod='$single_module'
7849+ fi
7850+ if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7851+ _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7852+ else
7853+ _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7854+ fi
7855+ if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7856+ _lt_dsymutil='~$DSYMUTIL $lib || :'
7857+ else
7858+ _lt_dsymutil=
7859+ fi
7860+ ;;
7861+ esac
7862+
7863+for ac_header in dlfcn.h
7864+do :
7865+ ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7866+"
7867+if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7868+ cat >>confdefs.h <<_ACEOF
7869+#define HAVE_DLFCN_H 1
7870+_ACEOF
7871+
7872+fi
7873+
7874+done
7875+
7876+
7877+
7878+
7879+
7880+# Set options
7881+enable_dlopen=yes
7882+enable_win32_dll=yes
7883+
7884+case $host in
7885+*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
7886+ if test -n "$ac_tool_prefix"; then
7887+ # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
7888+set dummy ${ac_tool_prefix}as; ac_word=$2
7889+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7890+$as_echo_n "checking for $ac_word... " >&6; }
7891+if ${ac_cv_prog_AS+:} false; then :
7892+ $as_echo_n "(cached) " >&6
7893+else
7894+ if test -n "$AS"; then
7895+ ac_cv_prog_AS="$AS" # Let the user override the test.
7896+else
7897+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7898+for as_dir in $PATH
7899+do
7900+ IFS=$as_save_IFS
7901+ test -z "$as_dir" && as_dir=.
7902+ for ac_exec_ext in '' $ac_executable_extensions; do
7903+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7904+ ac_cv_prog_AS="${ac_tool_prefix}as"
7905+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7906+ break 2
7907+ fi
7908+done
7909+ done
7910+IFS=$as_save_IFS
7911+
7912+fi
7913+fi
7914+AS=$ac_cv_prog_AS
7915+if test -n "$AS"; then
7916+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
7917+$as_echo "$AS" >&6; }
7918+else
7919+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7920+$as_echo "no" >&6; }
7921+fi
7922+
7923+
7924+fi
7925+if test -z "$ac_cv_prog_AS"; then
7926+ ac_ct_AS=$AS
7927+ # Extract the first word of "as", so it can be a program name with args.
7928+set dummy as; ac_word=$2
7929+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7930+$as_echo_n "checking for $ac_word... " >&6; }
7931+if ${ac_cv_prog_ac_ct_AS+:} false; then :
7932+ $as_echo_n "(cached) " >&6
7933+else
7934+ if test -n "$ac_ct_AS"; then
7935+ ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
7936+else
7937+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7938+for as_dir in $PATH
7939+do
7940+ IFS=$as_save_IFS
7941+ test -z "$as_dir" && as_dir=.
7942+ for ac_exec_ext in '' $ac_executable_extensions; do
7943+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7944+ ac_cv_prog_ac_ct_AS="as"
7945+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7946+ break 2
7947+ fi
7948+done
7949+ done
7950+IFS=$as_save_IFS
7951+
7952+fi
7953+fi
7954+ac_ct_AS=$ac_cv_prog_ac_ct_AS
7955+if test -n "$ac_ct_AS"; then
7956+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
7957+$as_echo "$ac_ct_AS" >&6; }
7958+else
7959+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7960+$as_echo "no" >&6; }
7961+fi
7962+
7963+ if test "x$ac_ct_AS" = x; then
7964+ AS="false"
7965+ else
7966+ case $cross_compiling:$ac_tool_warned in
7967+yes:)
7968+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7969+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7970+ac_tool_warned=yes ;;
7971+esac
7972+ AS=$ac_ct_AS
7973+ fi
7974+else
7975+ AS="$ac_cv_prog_AS"
7976+fi
7977+
7978+ if test -n "$ac_tool_prefix"; then
7979+ # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7980+set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7981+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7982+$as_echo_n "checking for $ac_word... " >&6; }
7983+if ${ac_cv_prog_DLLTOOL+:} false; then :
7984+ $as_echo_n "(cached) " >&6
7985+else
7986+ if test -n "$DLLTOOL"; then
7987+ ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7988+else
7989+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7990+for as_dir in $PATH
7991+do
7992+ IFS=$as_save_IFS
7993+ test -z "$as_dir" && as_dir=.
7994+ for ac_exec_ext in '' $ac_executable_extensions; do
7995+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7996+ ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7997+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7998+ break 2
7999+ fi
8000+done
8001+ done
8002+IFS=$as_save_IFS
8003+
8004+fi
8005+fi
8006+DLLTOOL=$ac_cv_prog_DLLTOOL
8007+if test -n "$DLLTOOL"; then
8008+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8009+$as_echo "$DLLTOOL" >&6; }
8010+else
8011+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8012+$as_echo "no" >&6; }
8013+fi
8014+
8015+
8016+fi
8017+if test -z "$ac_cv_prog_DLLTOOL"; then
8018+ ac_ct_DLLTOOL=$DLLTOOL
8019+ # Extract the first word of "dlltool", so it can be a program name with args.
8020+set dummy dlltool; ac_word=$2
8021+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8022+$as_echo_n "checking for $ac_word... " >&6; }
8023+if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8024+ $as_echo_n "(cached) " >&6
8025+else
8026+ if test -n "$ac_ct_DLLTOOL"; then
8027+ ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8028+else
8029+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8030+for as_dir in $PATH
8031+do
8032+ IFS=$as_save_IFS
8033+ test -z "$as_dir" && as_dir=.
8034+ for ac_exec_ext in '' $ac_executable_extensions; do
8035+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8036+ ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8037+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8038+ break 2
8039+ fi
8040+done
8041+ done
8042+IFS=$as_save_IFS
8043+
8044+fi
8045+fi
8046+ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8047+if test -n "$ac_ct_DLLTOOL"; then
8048+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8049+$as_echo "$ac_ct_DLLTOOL" >&6; }
8050+else
8051+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8052+$as_echo "no" >&6; }
8053+fi
8054+
8055+ if test "x$ac_ct_DLLTOOL" = x; then
8056+ DLLTOOL="false"
8057+ else
8058+ case $cross_compiling:$ac_tool_warned in
8059+yes:)
8060+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8061+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8062+ac_tool_warned=yes ;;
8063+esac
8064+ DLLTOOL=$ac_ct_DLLTOOL
8065+ fi
8066+else
8067+ DLLTOOL="$ac_cv_prog_DLLTOOL"
8068+fi
8069+
8070+ if test -n "$ac_tool_prefix"; then
8071+ # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8072+set dummy ${ac_tool_prefix}objdump; ac_word=$2
8073+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8074+$as_echo_n "checking for $ac_word... " >&6; }
8075+if ${ac_cv_prog_OBJDUMP+:} false; then :
8076+ $as_echo_n "(cached) " >&6
8077+else
8078+ if test -n "$OBJDUMP"; then
8079+ ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8080+else
8081+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8082+for as_dir in $PATH
8083+do
8084+ IFS=$as_save_IFS
8085+ test -z "$as_dir" && as_dir=.
8086+ for ac_exec_ext in '' $ac_executable_extensions; do
8087+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8088+ ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
8089+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8090+ break 2
8091+ fi
8092+done
8093+ done
8094+IFS=$as_save_IFS
8095+
8096+fi
8097+fi
8098+OBJDUMP=$ac_cv_prog_OBJDUMP
8099+if test -n "$OBJDUMP"; then
8100+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8101+$as_echo "$OBJDUMP" >&6; }
8102+else
8103+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8104+$as_echo "no" >&6; }
8105+fi
8106+
8107+
8108+fi
8109+if test -z "$ac_cv_prog_OBJDUMP"; then
8110+ ac_ct_OBJDUMP=$OBJDUMP
8111+ # Extract the first word of "objdump", so it can be a program name with args.
8112+set dummy objdump; ac_word=$2
8113+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8114+$as_echo_n "checking for $ac_word... " >&6; }
8115+if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
8116+ $as_echo_n "(cached) " >&6
8117+else
8118+ if test -n "$ac_ct_OBJDUMP"; then
8119+ ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
8120+else
8121+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8122+for as_dir in $PATH
8123+do
8124+ IFS=$as_save_IFS
8125+ test -z "$as_dir" && as_dir=.
8126+ for ac_exec_ext in '' $ac_executable_extensions; do
8127+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8128+ ac_cv_prog_ac_ct_OBJDUMP="objdump"
8129+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8130+ break 2
8131+ fi
8132+done
8133+ done
8134+IFS=$as_save_IFS
8135+
8136+fi
8137+fi
8138+ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
8139+if test -n "$ac_ct_OBJDUMP"; then
8140+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8141+$as_echo "$ac_ct_OBJDUMP" >&6; }
8142+else
8143+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8144+$as_echo "no" >&6; }
8145+fi
8146+
8147+ if test "x$ac_ct_OBJDUMP" = x; then
8148+ OBJDUMP="false"
8149+ else
8150+ case $cross_compiling:$ac_tool_warned in
8151+yes:)
8152+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8153+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8154+ac_tool_warned=yes ;;
8155+esac
8156+ OBJDUMP=$ac_ct_OBJDUMP
8157+ fi
8158+else
8159+ OBJDUMP="$ac_cv_prog_OBJDUMP"
8160+fi
8161+
8162+ ;;
8163+esac
8164+
8165+test -z "$AS" && AS=as
8166+
8167+
8168+
8169+
8170+
8171+test -z "$DLLTOOL" && DLLTOOL=dlltool
8172+
8173+
8174+
8175+
8176+
8177+test -z "$OBJDUMP" && OBJDUMP=objdump
8178+
8179+
8180+
8181+
8182+
8183+
8184+
8185+
8186+
8187+ # Check whether --enable-shared was given.
8188+if test "${enable_shared+set}" = set; then :
8189+ enableval=$enable_shared; p=${PACKAGE-default}
8190+ case $enableval in
8191+ yes) enable_shared=yes ;;
8192+ no) enable_shared=no ;;
8193+ *)
8194+ enable_shared=no
8195+ # Look at the argument we got. We use all the common list separators.
8196+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8197+ for pkg in $enableval; do
8198+ IFS="$lt_save_ifs"
8199+ if test "X$pkg" = "X$p"; then
8200+ enable_shared=yes
8201+ fi
8202+ done
8203+ IFS="$lt_save_ifs"
8204+ ;;
8205+ esac
8206+else
8207+ enable_shared=yes
8208+fi
8209+
8210+
8211+
8212+
8213+
8214+
8215+
8216+
8217+
8218+ # Check whether --enable-static was given.
8219+if test "${enable_static+set}" = set; then :
8220+ enableval=$enable_static; p=${PACKAGE-default}
8221+ case $enableval in
8222+ yes) enable_static=yes ;;
8223+ no) enable_static=no ;;
8224+ *)
8225+ enable_static=no
8226+ # Look at the argument we got. We use all the common list separators.
8227+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8228+ for pkg in $enableval; do
8229+ IFS="$lt_save_ifs"
8230+ if test "X$pkg" = "X$p"; then
8231+ enable_static=yes
8232+ fi
8233+ done
8234+ IFS="$lt_save_ifs"
8235+ ;;
8236+ esac
8237+else
8238+ enable_static=yes
8239+fi
8240+
8241+
8242+
8243+
8244+
8245+
8246+
8247+
8248+
8249+
8250+# Check whether --with-pic was given.
8251+if test "${with_pic+set}" = set; then :
8252+ withval=$with_pic; pic_mode="$withval"
8253+else
8254+ pic_mode=default
8255+fi
8256+
8257+
8258+test -z "$pic_mode" && pic_mode=default
8259+
8260+
8261+
8262+
8263+
8264+
8265+
8266+ # Check whether --enable-fast-install was given.
8267+if test "${enable_fast_install+set}" = set; then :
8268+ enableval=$enable_fast_install; p=${PACKAGE-default}
8269+ case $enableval in
8270+ yes) enable_fast_install=yes ;;
8271+ no) enable_fast_install=no ;;
8272+ *)
8273+ enable_fast_install=no
8274+ # Look at the argument we got. We use all the common list separators.
8275+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8276+ for pkg in $enableval; do
8277+ IFS="$lt_save_ifs"
8278+ if test "X$pkg" = "X$p"; then
8279+ enable_fast_install=yes
8280+ fi
8281+ done
8282+ IFS="$lt_save_ifs"
8283+ ;;
8284+ esac
8285+else
8286+ enable_fast_install=yes
8287+fi
8288+
8289+
8290+
8291+
8292+
8293+
8294+
8295+
8296+
8297+
8298+
8299+# This can be used to rebuild libtool when needed
8300+LIBTOOL_DEPS="$ltmain"
8301+
8302+# Always use our own libtool.
8303+LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8304+
8305+
8306+
8307+
8308+
8309+
8310+
8311+
8312+
8313+
8314+
8315+
8316+
8317+
8318+
8319+
8320+
8321+
8322+
8323+
8324+
8325+
8326+
8327+
8328+
8329+
8330+test -z "$LN_S" && LN_S="ln -s"
8331+
8332+
8333+
8334+
8335+
8336+
8337+
8338+
8339+
8340+
8341+
8342+
8343+
8344+
8345+if test -n "${ZSH_VERSION+set}" ; then
8346+ setopt NO_GLOB_SUBST
8347+fi
8348+
8349+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8350+$as_echo_n "checking for objdir... " >&6; }
8351+if ${lt_cv_objdir+:} false; then :
8352+ $as_echo_n "(cached) " >&6
8353+else
8354+ rm -f .libs 2>/dev/null
8355+mkdir .libs 2>/dev/null
8356+if test -d .libs; then
8357+ lt_cv_objdir=.libs
8358+else
8359+ # MS-DOS does not allow filenames that begin with a dot.
8360+ lt_cv_objdir=_libs
8361+fi
8362+rmdir .libs 2>/dev/null
8363+fi
8364+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8365+$as_echo "$lt_cv_objdir" >&6; }
8366+objdir=$lt_cv_objdir
8367+
8368+
8369+
8370+
8371+
8372+cat >>confdefs.h <<_ACEOF
8373+#define LT_OBJDIR "$lt_cv_objdir/"
8374+_ACEOF
8375+
8376+
8377+
8378+
8379+case $host_os in
8380+aix3*)
8381+ # AIX sometimes has problems with the GCC collect2 program. For some
8382+ # reason, if we set the COLLECT_NAMES environment variable, the problems
8383+ # vanish in a puff of smoke.
8384+ if test "X${COLLECT_NAMES+set}" != Xset; then
8385+ COLLECT_NAMES=
8386+ export COLLECT_NAMES
8387+ fi
8388+ ;;
8389+esac
8390+
8391+# Global variables:
8392+ofile=libtool
8393+can_build_shared=yes
8394+
8395+# All known linkers require a `.a' archive for static linking (except MSVC,
8396+# which needs '.lib').
8397+libext=a
8398+
8399+with_gnu_ld="$lt_cv_prog_gnu_ld"
8400+
8401+old_CC="$CC"
8402+old_CFLAGS="$CFLAGS"
8403+
8404+# Set sane defaults for various variables
8405+test -z "$CC" && CC=cc
8406+test -z "$LTCC" && LTCC=$CC
8407+test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8408+test -z "$LD" && LD=ld
8409+test -z "$ac_objext" && ac_objext=o
8410+
8411+for cc_temp in $compiler""; do
8412+ case $cc_temp in
8413+ compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8414+ distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8415+ \-*) ;;
8416+ *) break;;
8417+ esac
8418+done
8419+cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8420+
8421+
8422+# Only perform the check for file, if the check method requires it
8423+test -z "$MAGIC_CMD" && MAGIC_CMD=file
8424+case $deplibs_check_method in
8425+file_magic*)
8426+ if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8427+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8428+$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8429+if ${lt_cv_path_MAGIC_CMD+:} false; then :
8430+ $as_echo_n "(cached) " >&6
8431+else
8432+ case $MAGIC_CMD in
8433+[\\/*] | ?:[\\/]*)
8434+ lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8435+ ;;
8436+*)
8437+ lt_save_MAGIC_CMD="$MAGIC_CMD"
8438+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8439+ ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8440+ for ac_dir in $ac_dummy; do
8441+ IFS="$lt_save_ifs"
8442+ test -z "$ac_dir" && ac_dir=.
8443+ if test -f $ac_dir/${ac_tool_prefix}file; then
8444+ lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8445+ if test -n "$file_magic_test_file"; then
8446+ case $deplibs_check_method in
8447+ "file_magic "*)
8448+ file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8449+ MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8450+ if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8451+ $EGREP "$file_magic_regex" > /dev/null; then
8452+ :
8453+ else
8454+ cat <<_LT_EOF 1>&2
8455+
8456+*** Warning: the command libtool uses to detect shared libraries,
8457+*** $file_magic_cmd, produces output that libtool cannot recognize.
8458+*** The result is that libtool may fail to recognize shared libraries
8459+*** as such. This will affect the creation of libtool libraries that
8460+*** depend on shared libraries, but programs linked with such libtool
8461+*** libraries will work regardless of this problem. Nevertheless, you
8462+*** may want to report the problem to your system manager and/or to
8463+*** bug-libtool@gnu.org
8464+
8465+_LT_EOF
8466+ fi ;;
8467+ esac
8468+ fi
8469+ break
8470+ fi
8471+ done
8472+ IFS="$lt_save_ifs"
8473+ MAGIC_CMD="$lt_save_MAGIC_CMD"
8474+ ;;
8475+esac
8476+fi
8477+
8478+MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8479+if test -n "$MAGIC_CMD"; then
8480+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8481+$as_echo "$MAGIC_CMD" >&6; }
8482+else
8483+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8484+$as_echo "no" >&6; }
8485+fi
8486+
8487+
8488+
8489+
8490+
8491+if test -z "$lt_cv_path_MAGIC_CMD"; then
8492+ if test -n "$ac_tool_prefix"; then
8493+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8494+$as_echo_n "checking for file... " >&6; }
8495+if ${lt_cv_path_MAGIC_CMD+:} false; then :
8496+ $as_echo_n "(cached) " >&6
8497+else
8498+ case $MAGIC_CMD in
8499+[\\/*] | ?:[\\/]*)
8500+ lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8501+ ;;
8502+*)
8503+ lt_save_MAGIC_CMD="$MAGIC_CMD"
8504+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8505+ ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8506+ for ac_dir in $ac_dummy; do
8507+ IFS="$lt_save_ifs"
8508+ test -z "$ac_dir" && ac_dir=.
8509+ if test -f $ac_dir/file; then
8510+ lt_cv_path_MAGIC_CMD="$ac_dir/file"
8511+ if test -n "$file_magic_test_file"; then
8512+ case $deplibs_check_method in
8513+ "file_magic "*)
8514+ file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8515+ MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8516+ if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8517+ $EGREP "$file_magic_regex" > /dev/null; then
8518+ :
8519+ else
8520+ cat <<_LT_EOF 1>&2
8521+
8522+*** Warning: the command libtool uses to detect shared libraries,
8523+*** $file_magic_cmd, produces output that libtool cannot recognize.
8524+*** The result is that libtool may fail to recognize shared libraries
8525+*** as such. This will affect the creation of libtool libraries that
8526+*** depend on shared libraries, but programs linked with such libtool
8527+*** libraries will work regardless of this problem. Nevertheless, you
8528+*** may want to report the problem to your system manager and/or to
8529+*** bug-libtool@gnu.org
8530+
8531+_LT_EOF
8532+ fi ;;
8533+ esac
8534+ fi
8535+ break
8536+ fi
8537+ done
8538+ IFS="$lt_save_ifs"
8539+ MAGIC_CMD="$lt_save_MAGIC_CMD"
8540+ ;;
8541+esac
8542+fi
8543+
8544+MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8545+if test -n "$MAGIC_CMD"; then
8546+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8547+$as_echo "$MAGIC_CMD" >&6; }
8548+else
8549+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8550+$as_echo "no" >&6; }
8551+fi
8552+
8553+
8554+ else
8555+ MAGIC_CMD=:
8556+ fi
8557+fi
8558+
8559+ fi
8560+ ;;
8561+esac
8562+
8563+# Use C for the default configuration in the libtool script
8564+
8565+lt_save_CC="$CC"
8566+ac_ext=c
8567+ac_cpp='$CPP $CPPFLAGS'
8568+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8569+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8570+ac_compiler_gnu=$ac_cv_c_compiler_gnu
8571+
8572+
8573+# Source file extension for C test sources.
8574+ac_ext=c
8575+
8576+# Object file extension for compiled C test sources.
8577+objext=o
8578+objext=$objext
8579+
8580+# Code to be used in simple compile tests
8581+lt_simple_compile_test_code="int some_variable = 0;"
8582+
8583+# Code to be used in simple link tests
8584+lt_simple_link_test_code='int main(){return(0);}'
8585+
8586+
8587+
8588+
8589+
8590+
8591+
8592+# If no C compiler was specified, use CC.
8593+LTCC=${LTCC-"$CC"}
8594+
8595+# If no C compiler flags were specified, use CFLAGS.
8596+LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8597+
8598+# Allow CC to be a program name with arguments.
8599+compiler=$CC
8600+
8601+# Save the default compiler, since it gets overwritten when the other
8602+# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8603+compiler_DEFAULT=$CC
8604+
8605+# save warnings/boilerplate of simple test code
8606+ac_outfile=conftest.$ac_objext
8607+echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8608+eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8609+_lt_compiler_boilerplate=`cat conftest.err`
8610+$RM conftest*
8611+
8612+ac_outfile=conftest.$ac_objext
8613+echo "$lt_simple_link_test_code" >conftest.$ac_ext
8614+eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8615+_lt_linker_boilerplate=`cat conftest.err`
8616+$RM -r conftest*
8617+
8618+
8619+## CAVEAT EMPTOR:
8620+## There is no encapsulation within the following macros, do not change
8621+## the running order or otherwise move them around unless you know exactly
8622+## what you are doing...
8623+if test -n "$compiler"; then
8624+
8625+lt_prog_compiler_no_builtin_flag=
8626+
8627+if test "$GCC" = yes; then
8628+ case $cc_basename in
8629+ nvcc*)
8630+ lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8631+ *)
8632+ lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8633+ esac
8634+
8635+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8636+$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8637+if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8638+ $as_echo_n "(cached) " >&6
8639+else
8640+ lt_cv_prog_compiler_rtti_exceptions=no
8641