updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / hesiod / resolv_lib.patch
blob54196305f569a4368ff63296fa24eabfbc874f0d
1 Only in hesiod-3.1.0: autom4te.cache
2 diff -u hesiod-3.1.0/config.h.in src/hesiod-3.1.0/config.h.in
3 --- hesiod-3.1.0/config.h.in 2006-03-30 11:22:11.000000000 -0500
4 +++ src/hesiod-3.1.0/config.h.in 2010-08-31 00:57:37.000000000 -0400
5 @@ -1,5 +1,4 @@
6 -/* config.h.in. Generated automatically from configure.in by autoheader. */
8 +/* config.h.in. Generated from configure.in by autoheader. */
9 /* Define if struct passwd has a field pw_quota. */
10 #undef HAVE_PW_QUOTA
12 @@ -15,5 +14,53 @@
13 /* Define if struct passwd has a field pw_expire. */
14 #undef HAVE_PW_EXPIRE
16 -/* Define if you have the resolv library (-lresolv). */
17 -#undef HAVE_LIBRESOLV
18 +/* Define to 1 if you have the <dlfcn.h> header file. */
19 +#undef HAVE_DLFCN_H
21 +/* Define to 1 if you have the <inttypes.h> header file. */
22 +#undef HAVE_INTTYPES_H
24 +/* Define to 1 if you have the <memory.h> header file. */
25 +#undef HAVE_MEMORY_H
27 +/* Define to 1 if you have the <stdint.h> header file. */
28 +#undef HAVE_STDINT_H
30 +/* Define to 1 if you have the <stdlib.h> header file. */
31 +#undef HAVE_STDLIB_H
33 +/* Define to 1 if you have the <strings.h> header file. */
34 +#undef HAVE_STRINGS_H
36 +/* Define to 1 if you have the <string.h> header file. */
37 +#undef HAVE_STRING_H
39 +/* Define to 1 if you have the <sys/stat.h> header file. */
40 +#undef HAVE_SYS_STAT_H
42 +/* Define to 1 if you have the <sys/types.h> header file. */
43 +#undef HAVE_SYS_TYPES_H
45 +/* Define to 1 if you have the <unistd.h> header file. */
46 +#undef HAVE_UNISTD_H
48 +/* Define to the address where bug reports for this package should be sent. */
49 +#undef PACKAGE_BUGREPORT
51 +/* Define to the full name of this package. */
52 +#undef PACKAGE_NAME
54 +/* Define to the full name and version of this package. */
55 +#undef PACKAGE_STRING
57 +/* Define to the one symbol short name of this package. */
58 +#undef PACKAGE_TARNAME
60 +/* Define to the home page for this package. */
61 +#undef PACKAGE_URL
63 +/* Define to the version of this package. */
64 +#undef PACKAGE_VERSION
66 +/* Define to 1 if you have the ANSI C header files. */
67 +#undef STDC_HEADERS
68 diff -u hesiod-3.1.0/configure src/hesiod-3.1.0/configure
69 --- hesiod-3.1.0/configure 2006-03-30 11:22:15.000000000 -0500
70 +++ src/hesiod-3.1.0/configure 2010-08-31 00:57:46.065000018 -0400
71 @@ -1,81 +1,415 @@
72 #! /bin/sh
73 # Guess values for system-dependent variables and create Makefiles.
74 -# Generated by GNU Autoconf 2.59.
75 +# Generated by GNU Autoconf 2.67 for hesiod 3.1.0.
78 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
79 +# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
80 +# Foundation, Inc.
83 -# Copyright (C) 2003 Free Software Foundation, Inc.
84 # This configure script is free software; the Free Software Foundation
85 # gives unlimited permission to copy, distribute and modify it.
86 -## --------------------- ##
87 -## M4sh Initialization. ##
88 -## --------------------- ##
89 +## -------------------- ##
90 +## M4sh Initialization. ##
91 +## -------------------- ##
93 -# Be Bourne compatible
94 -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
95 +# Be more Bourne compatible
96 +DUALCASE=1; export DUALCASE # for MKS sh
97 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
98 emulate sh
99 NULLCMD=:
100 - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
101 + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
102 # is contrary to our usage. Disable this feature.
103 alias -g '${1+"$@"}'='"$@"'
104 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
105 - set -o posix
106 + setopt NO_GLOB_SUBST
107 +else
108 + case `(set -o) 2>/dev/null` in #(
109 + *posix*) :
110 + set -o posix ;; #(
111 + *) :
112 + ;;
113 +esac
115 -DUALCASE=1; export DUALCASE # for MKS sh
117 -# Support unset when possible.
118 -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
119 - as_unset=unset
120 -else
121 - as_unset=false
123 +as_nl='
125 +export as_nl
126 +# Printing a long string crashes Solaris 7 /usr/bin/printf.
127 +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
128 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
129 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
130 +# Prefer a ksh shell builtin over an external printf program on Solaris,
131 +# but without wasting forks for bash or zsh.
132 +if test -z "$BASH_VERSION$ZSH_VERSION" \
133 + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
134 + as_echo='print -r --'
135 + as_echo_n='print -rn --'
136 +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
137 + as_echo='printf %s\n'
138 + as_echo_n='printf %s'
139 +else
140 + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
141 + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
142 + as_echo_n='/usr/ucb/echo -n'
143 + else
144 + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
145 + as_echo_n_body='eval
146 + arg=$1;
147 + case $arg in #(
148 + *"$as_nl"*)
149 + expr "X$arg" : "X\\(.*\\)$as_nl";
150 + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
151 + esac;
152 + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
154 + export as_echo_n_body
155 + as_echo_n='sh -c $as_echo_n_body as_echo'
156 + fi
157 + export as_echo_body
158 + as_echo='sh -c $as_echo_body as_echo'
161 +# The user is always right.
162 +if test "${PATH_SEPARATOR+set}" != set; then
163 + PATH_SEPARATOR=:
164 + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
165 + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
166 + PATH_SEPARATOR=';'
171 -# Work around bugs in pre-3.0 UWIN ksh.
172 -$as_unset ENV MAIL MAILPATH
173 +# IFS
174 +# We need space, tab and new line, in precisely that order. Quoting is
175 +# there to prevent editors from complaining about space-tab.
176 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
177 +# splitting by setting IFS to empty value.)
178 +IFS=" "" $as_nl"
180 +# Find who we are. Look in the path if we contain no directory separator.
181 +case $0 in #((
182 + *[\\/]* ) as_myself=$0 ;;
183 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
184 +for as_dir in $PATH
186 + IFS=$as_save_IFS
187 + test -z "$as_dir" && as_dir=.
188 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
189 + done
190 +IFS=$as_save_IFS
192 + ;;
193 +esac
194 +# We did not find ourselves, most probably we were run as `sh COMMAND'
195 +# in which case we are not to be found in the path.
196 +if test "x$as_myself" = x; then
197 + as_myself=$0
199 +if test ! -f "$as_myself"; then
200 + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
201 + exit 1
204 +# Unset variables that we do not need and which cause bugs (e.g. in
205 +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
206 +# suppresses any "Segmentation fault" message there. '((' could
207 +# trigger a bug in pdksh 5.2.14.
208 +for as_var in BASH_ENV ENV MAIL MAILPATH
209 +do eval test x\${$as_var+set} = xset \
210 + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
211 +done
212 PS1='$ '
213 PS2='> '
214 PS4='+ '
216 # NLS nuisances.
217 -for as_var in \
218 - LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
219 - LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
220 - LC_TELEPHONE LC_TIME
221 +LC_ALL=C
222 +export LC_ALL
223 +LANGUAGE=C
224 +export LANGUAGE
226 +# CDPATH.
227 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
229 +if test "x$CONFIG_SHELL" = x; then
230 + as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
231 + emulate sh
232 + NULLCMD=:
233 + # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
234 + # is contrary to our usage. Disable this feature.
235 + alias -g '\${1+\"\$@\"}'='\"\$@\"'
236 + setopt NO_GLOB_SUBST
237 +else
238 + case \`(set -o) 2>/dev/null\` in #(
239 + *posix*) :
240 + set -o posix ;; #(
241 + *) :
242 + ;;
243 +esac
246 + as_required="as_fn_return () { (exit \$1); }
247 +as_fn_success () { as_fn_return 0; }
248 +as_fn_failure () { as_fn_return 1; }
249 +as_fn_ret_success () { return 0; }
250 +as_fn_ret_failure () { return 1; }
252 +exitcode=0
253 +as_fn_success || { exitcode=1; echo as_fn_success failed.; }
254 +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
255 +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
256 +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
257 +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
259 +else
260 + exitcode=1; echo positional parameters were not saved.
262 +test x\$exitcode = x0 || exit 1"
263 + as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
264 + as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
265 + eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
266 + test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
267 +test \$(( 1 + 1 )) = 2 || exit 1"
268 + if (eval "$as_required") 2>/dev/null; then :
269 + as_have_required=yes
270 +else
271 + as_have_required=no
273 + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
275 +else
276 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
277 +as_found=false
278 +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
280 - if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
281 - eval $as_var=C; export $as_var
282 + IFS=$as_save_IFS
283 + test -z "$as_dir" && as_dir=.
284 + as_found=:
285 + case $as_dir in #(
286 + /*)
287 + for as_base in sh bash ksh sh5; do
288 + # Try only shells that exist, to save several forks.
289 + as_shell=$as_dir/$as_base
290 + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
291 + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
292 + CONFIG_SHELL=$as_shell as_have_required=yes
293 + if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
294 + break 2
297 + done;;
298 + esac
299 + as_found=false
300 +done
301 +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
302 + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
303 + CONFIG_SHELL=$SHELL as_have_required=yes
304 +fi; }
305 +IFS=$as_save_IFS
308 + if test "x$CONFIG_SHELL" != x; then :
309 + # We cannot yet assume a decent shell, so we have to provide a
310 + # neutralization value for shells without unset; and this also
311 + # works around shells that cannot unset nonexistent variables.
312 + BASH_ENV=/dev/null
313 + ENV=/dev/null
314 + (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
315 + export CONFIG_SHELL
316 + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
319 + if test x$as_have_required = xno; then :
320 + $as_echo "$0: This script requires a shell more modern than all"
321 + $as_echo "$0: the shells that I found on your system."
322 + if test x${ZSH_VERSION+set} = xset ; then
323 + $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
324 + $as_echo "$0: be upgraded to zsh 4.3.4 or later."
325 else
326 - $as_unset $as_var
327 + $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
328 +$0: including any error possibly output before this
329 +$0: message. Then install a modern shell, or manually run
330 +$0: the script under such a shell if you do have one."
332 -done
333 + exit 1
337 +SHELL=${CONFIG_SHELL-/bin/sh}
338 +export SHELL
339 +# Unset more variables known to interfere with behavior of common tools.
340 +CLICOLOR_FORCE= GREP_OPTIONS=
341 +unset CLICOLOR_FORCE GREP_OPTIONS
343 +## --------------------- ##
344 +## M4sh Shell Functions. ##
345 +## --------------------- ##
346 +# as_fn_unset VAR
347 +# ---------------
348 +# Portably unset VAR.
349 +as_fn_unset ()
351 + { eval $1=; unset $1;}
353 +as_unset=as_fn_unset
355 +# as_fn_set_status STATUS
356 +# -----------------------
357 +# Set $? to STATUS, without forking.
358 +as_fn_set_status ()
360 + return $1
361 +} # as_fn_set_status
363 +# as_fn_exit STATUS
364 +# -----------------
365 +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
366 +as_fn_exit ()
368 + set +e
369 + as_fn_set_status $1
370 + exit $1
371 +} # as_fn_exit
373 +# as_fn_mkdir_p
374 +# -------------
375 +# Create "$as_dir" as a directory, including parents if necessary.
376 +as_fn_mkdir_p ()
379 -# Required to use basename.
380 -if expr a : '\(a\)' >/dev/null 2>&1; then
381 + case $as_dir in #(
382 + -*) as_dir=./$as_dir;;
383 + esac
384 + test -d "$as_dir" || eval $as_mkdir_p || {
385 + as_dirs=
386 + while :; do
387 + case $as_dir in #(
388 + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
389 + *) as_qdir=$as_dir;;
390 + esac
391 + as_dirs="'$as_qdir' $as_dirs"
392 + as_dir=`$as_dirname -- "$as_dir" ||
393 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
394 + X"$as_dir" : 'X\(//\)[^/]' \| \
395 + X"$as_dir" : 'X\(//\)$' \| \
396 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
397 +$as_echo X"$as_dir" |
398 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
399 + s//\1/
402 + /^X\(\/\/\)[^/].*/{
403 + s//\1/
406 + /^X\(\/\/\)$/{
407 + s//\1/
410 + /^X\(\/\).*/{
411 + s//\1/
414 + s/.*/./; q'`
415 + test -d "$as_dir" && break
416 + done
417 + test -z "$as_dirs" || eval "mkdir $as_dirs"
418 + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
421 +} # as_fn_mkdir_p
422 +# as_fn_append VAR VALUE
423 +# ----------------------
424 +# Append the text in VALUE to the end of the definition contained in VAR. Take
425 +# advantage of any shell optimizations that allow amortized linear growth over
426 +# repeated appends, instead of the typical quadratic growth present in naive
427 +# implementations.
428 +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
429 + eval 'as_fn_append ()
431 + eval $1+=\$2
432 + }'
433 +else
434 + as_fn_append ()
436 + eval $1=\$$1\$2
438 +fi # as_fn_append
440 +# as_fn_arith ARG...
441 +# ------------------
442 +# Perform arithmetic evaluation on the ARGs, and store the result in the
443 +# global $as_val. Take advantage of shells that can avoid forks. The arguments
444 +# must be portable across $(()) and expr.
445 +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
446 + eval 'as_fn_arith ()
448 + as_val=$(( $* ))
449 + }'
450 +else
451 + as_fn_arith ()
453 + as_val=`expr "$@" || test $? -eq 1`
455 +fi # as_fn_arith
458 +# as_fn_error STATUS ERROR [LINENO LOG_FD]
459 +# ----------------------------------------
460 +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
461 +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
462 +# script with STATUS, using 1 if that was 0.
463 +as_fn_error ()
465 + as_status=$1; test $as_status -eq 0 && as_status=1
466 + if test "$4"; then
467 + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
468 + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
469 + fi
470 + $as_echo "$as_me: error: $2" >&2
471 + as_fn_exit $as_status
472 +} # as_fn_error
474 +if expr a : '\(a\)' >/dev/null 2>&1 &&
475 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
476 as_expr=expr
477 else
478 as_expr=false
481 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
482 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
483 as_basename=basename
484 else
485 as_basename=false
488 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
489 + as_dirname=dirname
490 +else
491 + as_dirname=false
494 -# Name of the executable.
495 -as_me=`$as_basename "$0" ||
496 +as_me=`$as_basename -- "$0" ||
497 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
498 X"$0" : 'X\(//\)$' \| \
499 - X"$0" : 'X\(/\)$' \| \
500 - . : '\(.\)' 2>/dev/null ||
501 -echo X/"$0" |
502 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
503 - /^X\/\(\/\/\)$/{ s//\1/; q; }
504 - /^X\/\(\/\).*/{ s//\1/; q; }
505 - s/.*/./; q'`
507 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
508 +$as_echo X/"$0" |
509 + sed '/^.*\/\([^/][^/]*\)\/*$/{
510 + s//\1/
513 + /^X\/\(\/\/\)$/{
514 + s//\1/
517 + /^X\/\(\/\).*/{
518 + s//\1/
521 + s/.*/./; q'`
523 -# PATH needs CR, and LINENO needs CR and PATH.
524 # Avoid depending upon Character Ranges.
525 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
526 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
527 @@ -83,146 +417,107 @@
528 as_cr_digits='0123456789'
529 as_cr_alnum=$as_cr_Letters$as_cr_digits
531 -# The user is always right.
532 -if test "${PATH_SEPARATOR+set}" != set; then
533 - echo "#! /bin/sh" >conf$$.sh
534 - echo "exit 0" >>conf$$.sh
535 - chmod +x conf$$.sh
536 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
537 - PATH_SEPARATOR=';'
538 - else
539 - PATH_SEPARATOR=:
540 - fi
541 - rm -f conf$$.sh
545 - as_lineno_1=$LINENO
546 - as_lineno_2=$LINENO
547 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
548 - test "x$as_lineno_1" != "x$as_lineno_2" &&
549 - test "x$as_lineno_3" = "x$as_lineno_2" || {
550 - # Find who we are. Look in the path if we contain no path at all
551 - # relative or not.
552 - case $0 in
553 - *[\\/]* ) as_myself=$0 ;;
554 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
555 -for as_dir in $PATH
557 - IFS=$as_save_IFS
558 - test -z "$as_dir" && as_dir=.
559 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
560 -done
562 - ;;
563 - esac
564 - # We did not find ourselves, most probably we were run as `sh COMMAND'
565 - # in which case we are not to be found in the path.
566 - if test "x$as_myself" = x; then
567 - as_myself=$0
568 - fi
569 - if test ! -f "$as_myself"; then
570 - { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
571 - { (exit 1); exit 1; }; }
572 - fi
573 - case $CONFIG_SHELL in
574 - '')
575 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
576 -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
578 - IFS=$as_save_IFS
579 - test -z "$as_dir" && as_dir=.
580 - for as_base in sh bash ksh sh5; do
581 - case $as_dir in
582 - /*)
583 - if ("$as_dir/$as_base" -c '
584 - as_lineno_1=$LINENO
585 - as_lineno_2=$LINENO
586 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
587 - test "x$as_lineno_1" != "x$as_lineno_2" &&
588 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
589 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
590 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
591 - CONFIG_SHELL=$as_dir/$as_base
592 - export CONFIG_SHELL
593 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
594 - fi;;
595 - esac
596 - done
597 -done
599 - esac
601 - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
602 - # uniformly replaced by the line number. The first 'sed' inserts a
603 - # line-number line before each line; the second 'sed' does the real
604 - # work. The second script uses 'N' to pair each line-number line
605 - # with the numbered line, and appends trailing '-' during
606 - # substitution so that $LINENO is not a special case at line end.
607 - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
608 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
609 - sed '=' <$as_myself |
610 + as_lineno_1=$LINENO as_lineno_1a=$LINENO
611 + as_lineno_2=$LINENO as_lineno_2a=$LINENO
612 + eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
613 + test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
614 + # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
615 + sed -n '
617 + /[$]LINENO/=
618 + ' <$as_myself |
619 sed '
620 + s/[$]LINENO.*/&-/
621 + t lineno
623 + :lineno
625 - s,$,-,
626 - : loop
627 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
628 + :loop
629 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
630 t loop
631 - s,-$,,
632 - s,^['$as_cr_digits']*\n,,
633 + s/-\n.*//
634 ' >$as_me.lineno &&
635 - chmod +x $as_me.lineno ||
636 - { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
637 - { (exit 1); exit 1; }; }
638 + chmod +x "$as_me.lineno" ||
639 + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
641 # Don't try to exec as it changes $[0], causing all sort of problems
642 # (the dirname of $[0] is not the place where we might find the
643 - # original and so on. Autoconf is especially sensible to this).
644 - . ./$as_me.lineno
645 + # original and so on. Autoconf is especially sensitive to this).
646 + . "./$as_me.lineno"
647 # Exit status is that of the last command.
648 exit
652 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
653 - *c*,-n*) ECHO_N= ECHO_C='
654 -' ECHO_T=' ' ;;
655 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
656 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
657 +ECHO_C= ECHO_N= ECHO_T=
658 +case `echo -n x` in #(((((
659 +-n*)
660 + case `echo 'xy\c'` in
661 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
662 + xy) ECHO_C='\c';;
663 + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
664 + ECHO_T=' ';;
665 + esac;;
667 + ECHO_N='-n';;
668 esac
670 -if expr a : '\(a\)' >/dev/null 2>&1; then
671 - as_expr=expr
672 +rm -f conf$$ conf$$.exe conf$$.file
673 +if test -d conf$$.dir; then
674 + rm -f conf$$.dir/conf$$.file
675 else
676 - as_expr=false
677 + rm -f conf$$.dir
678 + mkdir conf$$.dir 2>/dev/null
681 -rm -f conf$$ conf$$.exe conf$$.file
682 -echo >conf$$.file
683 -if ln -s conf$$.file conf$$ 2>/dev/null; then
684 - # We could just check for DJGPP; but this test a) works b) is more generic
685 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
686 - if test -f conf$$.exe; then
687 - # Don't use ln at all; we don't have any links
688 - as_ln_s='cp -p'
689 - else
690 +if (echo >conf$$.file) 2>/dev/null; then
691 + if ln -s conf$$.file conf$$ 2>/dev/null; then
692 as_ln_s='ln -s'
693 + # ... but there are two gotchas:
694 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
695 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
696 + # In both cases, we have to default to `cp -p'.
697 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
698 + as_ln_s='cp -p'
699 + elif ln conf$$.file conf$$ 2>/dev/null; then
700 + as_ln_s=ln
701 + else
702 + as_ln_s='cp -p'
704 -elif ln conf$$.file conf$$ 2>/dev/null; then
705 - as_ln_s=ln
706 else
707 as_ln_s='cp -p'
709 -rm -f conf$$ conf$$.exe conf$$.file
710 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
711 +rmdir conf$$.dir 2>/dev/null
713 if mkdir -p . 2>/dev/null; then
714 - as_mkdir_p=:
715 + as_mkdir_p='mkdir -p "$as_dir"'
716 else
717 test -d ./-p && rmdir ./-p
718 as_mkdir_p=false
721 -as_executable_p="test -f"
722 +if test -x / >/dev/null 2>&1; then
723 + as_test_x='test -x'
724 +else
725 + if ls -dL / >/dev/null 2>&1; then
726 + as_ls_L_option=L
727 + else
728 + as_ls_L_option=
729 + fi
730 + as_test_x='
731 + eval sh -c '\''
732 + if test -d "$1"; then
733 + test -d "$1/.";
734 + else
735 + case $1 in #(
736 + -*)set "./$1";;
737 + esac;
738 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
739 + ???[sx]*):;;*)false;;esac;fi
740 + '\'' sh
743 +as_executable_p=$as_test_x
745 # Sed expression to map a string onto a valid CPP name.
746 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
747 @@ -231,16 +526,6 @@
748 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
751 -# IFS
752 -# We need space, tab and new line, in precisely that order.
753 -as_nl='
755 -IFS=" $as_nl"
757 -# CDPATH.
758 -$as_unset CDPATH
761 # Find the correct PATH separator. Usually this is `:', but
762 # DJGPP uses `;' like DOS.
763 if test "X${PATH_SEPARATOR+set}" != Xset; then
764 @@ -400,80 +685,163 @@
768 +test -n "$DJDIR" || exec 7<&0 </dev/null
769 +exec 6>&1
771 # Name of the host.
772 -# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
773 +# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
774 # so uname gets run too.
775 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
777 -exec 6>&1
780 # Initializations.
782 ac_default_prefix=/usr/local
783 +ac_clean_files=
784 ac_config_libobj_dir=.
785 +LIBOBJS=
786 cross_compiling=no
787 subdirs=
788 MFLAGS=
789 MAKEFLAGS=
790 -SHELL=${CONFIG_SHELL-/bin/sh}
792 -# Maximum number of lines to put in a shell here document.
793 -# This variable seems obsolete. It should probably be removed, and
794 -# only ac_max_sed_lines should be used.
795 -: ${ac_max_here_lines=38}
797 # Identity of this package.
798 -PACKAGE_NAME=
799 -PACKAGE_TARNAME=
800 -PACKAGE_VERSION=
801 -PACKAGE_STRING=
802 -PACKAGE_BUGREPORT=
803 +PACKAGE_NAME='hesiod'
804 +PACKAGE_TARNAME='hesiod'
805 +PACKAGE_VERSION='3.1.0'
806 +PACKAGE_STRING='hesiod 3.1.0'
807 +PACKAGE_BUGREPORT=''
808 +PACKAGE_URL=''
810 ac_unique_file="hesiod.c"
811 # Factoring default headers for most tests.
812 ac_includes_default="\
813 #include <stdio.h>
814 -#if HAVE_SYS_TYPES_H
815 +#ifdef HAVE_SYS_TYPES_H
816 # include <sys/types.h>
817 #endif
818 -#if HAVE_SYS_STAT_H
819 +#ifdef HAVE_SYS_STAT_H
820 # include <sys/stat.h>
821 #endif
822 -#if STDC_HEADERS
823 +#ifdef STDC_HEADERS
824 # include <stdlib.h>
825 # include <stddef.h>
826 #else
827 -# if HAVE_STDLIB_H
828 +# ifdef HAVE_STDLIB_H
829 # include <stdlib.h>
830 # endif
831 #endif
832 -#if HAVE_STRING_H
833 -# if !STDC_HEADERS && HAVE_MEMORY_H
834 +#ifdef HAVE_STRING_H
835 +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
836 # include <memory.h>
837 # endif
838 # include <string.h>
839 #endif
840 -#if HAVE_STRINGS_H
841 +#ifdef HAVE_STRINGS_H
842 # include <strings.h>
843 #endif
844 -#if HAVE_INTTYPES_H
845 +#ifdef HAVE_INTTYPES_H
846 # include <inttypes.h>
847 -#else
848 -# if HAVE_STDINT_H
849 -# include <stdint.h>
850 -# endif
851 #endif
852 -#if HAVE_UNISTD_H
853 +#ifdef HAVE_STDINT_H
854 +# include <stdint.h>
855 +#endif
856 +#ifdef HAVE_UNISTD_H
857 # include <unistd.h>
858 #endif"
860 -ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA RANLIB ac_ct_RANLIB build build_cpu build_vendor build_os host host_cpu host_vendor host_os LN_S ECHO STRIP ac_ct_STRIP CPP EGREP LIBTOOL LIBOBJS LTLIBOBJS'
861 +ac_subst_vars='LTLIBOBJS
862 +LIBOBJS
863 +LIBTOOL
864 +EGREP
865 +GREP
866 +CPP
867 +STRIP
868 +ECHO
869 +LN_S
870 +host_os
871 +host_vendor
872 +host_cpu
873 +host
874 +build_os
875 +build_vendor
876 +build_cpu
877 +build
878 +RANLIB
879 +INSTALL_DATA
880 +INSTALL_SCRIPT
881 +INSTALL_PROGRAM
882 +OBJEXT
883 +EXEEXT
884 +ac_ct_CC
885 +CPPFLAGS
886 +LDFLAGS
887 +CFLAGS
889 +target_alias
890 +host_alias
891 +build_alias
892 +LIBS
893 +ECHO_T
894 +ECHO_N
895 +ECHO_C
896 +DEFS
897 +mandir
898 +localedir
899 +libdir
900 +psdir
901 +pdfdir
902 +dvidir
903 +htmldir
904 +infodir
905 +docdir
906 +oldincludedir
907 +includedir
908 +localstatedir
909 +sharedstatedir
910 +sysconfdir
911 +datadir
912 +datarootdir
913 +libexecdir
914 +sbindir
915 +bindir
916 +program_transform_name
917 +prefix
918 +exec_prefix
919 +PACKAGE_URL
920 +PACKAGE_BUGREPORT
921 +PACKAGE_STRING
922 +PACKAGE_VERSION
923 +PACKAGE_TARNAME
924 +PACKAGE_NAME
925 +PATH_SEPARATOR
926 +SHELL'
927 ac_subst_files=''
928 +ac_user_opts='
929 +enable_option_checking
930 +enable_shared
931 +enable_static
932 +enable_fast_install
933 +with_gnu_ld
934 +enable_libtool_lock
935 +with_pic
937 + ac_precious_vars='build_alias
938 +host_alias
939 +target_alias
941 +CFLAGS
942 +LDFLAGS
943 +LIBS
944 +CPPFLAGS
945 +CPP'
948 # Initialize some variables set by options.
949 ac_init_help=
950 ac_init_version=false
951 +ac_unrecognized_opts=
952 +ac_unrecognized_sep=
953 # The variables have the same names as the options, with
954 # dashes changed to underlines.
955 cache_file=/dev/null
956 @@ -496,34 +864,49 @@
957 # and all the variables that are supposed to be based on exec_prefix
958 # by default will actually change.
959 # Use braces instead of parens because sh, perl, etc. also accept them.
960 +# (The list follows the same order as the GNU Coding Standards.)
961 bindir='${exec_prefix}/bin'
962 sbindir='${exec_prefix}/sbin'
963 libexecdir='${exec_prefix}/libexec'
964 -datadir='${prefix}/share'
965 +datarootdir='${prefix}/share'
966 +datadir='${datarootdir}'
967 sysconfdir='${prefix}/etc'
968 sharedstatedir='${prefix}/com'
969 localstatedir='${prefix}/var'
970 -libdir='${exec_prefix}/lib'
971 includedir='${prefix}/include'
972 oldincludedir='/usr/include'
973 -infodir='${prefix}/info'
974 -mandir='${prefix}/man'
975 +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
976 +infodir='${datarootdir}/info'
977 +htmldir='${docdir}'
978 +dvidir='${docdir}'
979 +pdfdir='${docdir}'
980 +psdir='${docdir}'
981 +libdir='${exec_prefix}/lib'
982 +localedir='${datarootdir}/locale'
983 +mandir='${datarootdir}/man'
985 ac_prev=
986 +ac_dashdash=
987 for ac_option
989 # If the previous option needs an argument, assign it.
990 if test -n "$ac_prev"; then
991 - eval "$ac_prev=\$ac_option"
992 + eval $ac_prev=\$ac_option
993 ac_prev=
994 continue
997 - ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
998 + case $ac_option in
999 + *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1000 + *=) ac_optarg= ;;
1001 + *) ac_optarg=yes ;;
1002 + esac
1004 # Accept the important Cygnus configure options, so we can diagnose typos.
1006 - case $ac_option in
1007 + case $ac_dashdash$ac_option in
1008 + --)
1009 + ac_dashdash=yes ;;
1011 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1012 ac_prev=bindir ;;
1013 @@ -545,33 +928,59 @@
1014 --config-cache | -C)
1015 cache_file=config.cache ;;
1017 - -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
1018 + -datadir | --datadir | --datadi | --datad)
1019 ac_prev=datadir ;;
1020 - -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
1021 - | --da=*)
1022 + -datadir=* | --datadir=* | --datadi=* | --datad=*)
1023 datadir=$ac_optarg ;;
1025 + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1026 + | --dataroo | --dataro | --datar)
1027 + ac_prev=datarootdir ;;
1028 + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1029 + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1030 + datarootdir=$ac_optarg ;;
1032 -disable-* | --disable-*)
1033 - ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1034 + ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1035 # Reject names that are not valid shell variable names.
1036 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1037 - { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1038 - { (exit 1); exit 1; }; }
1039 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
1040 - eval "enable_$ac_feature=no" ;;
1041 + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1042 + as_fn_error $? "invalid feature name: $ac_useropt"
1043 + ac_useropt_orig=$ac_useropt
1044 + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1045 + case $ac_user_opts in
1046 + *"
1047 +"enable_$ac_useropt"
1048 +"*) ;;
1049 + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1050 + ac_unrecognized_sep=', ';;
1051 + esac
1052 + eval enable_$ac_useropt=no ;;
1054 + -docdir | --docdir | --docdi | --doc | --do)
1055 + ac_prev=docdir ;;
1056 + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1057 + docdir=$ac_optarg ;;
1059 + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1060 + ac_prev=dvidir ;;
1061 + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1062 + dvidir=$ac_optarg ;;
1064 -enable-* | --enable-*)
1065 - ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1066 + ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1067 # Reject names that are not valid shell variable names.
1068 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1069 - { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1070 - { (exit 1); exit 1; }; }
1071 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
1072 - case $ac_option in
1073 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1074 - *) ac_optarg=yes ;;
1075 + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1076 + as_fn_error $? "invalid feature name: $ac_useropt"
1077 + ac_useropt_orig=$ac_useropt
1078 + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1079 + case $ac_user_opts in
1080 + *"
1081 +"enable_$ac_useropt"
1082 +"*) ;;
1083 + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1084 + ac_unrecognized_sep=', ';;
1085 esac
1086 - eval "enable_$ac_feature='$ac_optarg'" ;;
1087 + eval enable_$ac_useropt=\$ac_optarg ;;
1089 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1090 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1091 @@ -598,6 +1007,12 @@
1092 -host=* | --host=* | --hos=* | --ho=*)
1093 host_alias=$ac_optarg ;;
1095 + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1096 + ac_prev=htmldir ;;
1097 + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1098 + | --ht=*)
1099 + htmldir=$ac_optarg ;;
1101 -includedir | --includedir | --includedi | --included | --include \
1102 | --includ | --inclu | --incl | --inc)
1103 ac_prev=includedir ;;
1104 @@ -622,13 +1037,16 @@
1105 | --libexe=* | --libex=* | --libe=*)
1106 libexecdir=$ac_optarg ;;
1108 + -localedir | --localedir | --localedi | --localed | --locale)
1109 + ac_prev=localedir ;;
1110 + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1111 + localedir=$ac_optarg ;;
1113 -localstatedir | --localstatedir | --localstatedi | --localstated \
1114 - | --localstate | --localstat | --localsta | --localst \
1115 - | --locals | --local | --loca | --loc | --lo)
1116 + | --localstate | --localstat | --localsta | --localst | --locals)
1117 ac_prev=localstatedir ;;
1118 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1119 - | --localstate=* | --localstat=* | --localsta=* | --localst=* \
1120 - | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
1121 + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1122 localstatedir=$ac_optarg ;;
1124 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1125 @@ -693,6 +1111,16 @@
1126 | --progr-tra=* | --program-tr=* | --program-t=*)
1127 program_transform_name=$ac_optarg ;;
1129 + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1130 + ac_prev=pdfdir ;;
1131 + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1132 + pdfdir=$ac_optarg ;;
1134 + -psdir | --psdir | --psdi | --psd | --ps)
1135 + ac_prev=psdir ;;
1136 + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1137 + psdir=$ac_optarg ;;
1139 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1140 | -silent | --silent | --silen | --sile | --sil)
1141 silent=yes ;;
1142 @@ -743,26 +1171,36 @@
1143 ac_init_version=: ;;
1145 -with-* | --with-*)
1146 - ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1147 + ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1148 # Reject names that are not valid shell variable names.
1149 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1150 - { echo "$as_me: error: invalid package name: $ac_package" >&2
1151 - { (exit 1); exit 1; }; }
1152 - ac_package=`echo $ac_package| sed 's/-/_/g'`
1153 - case $ac_option in
1154 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1155 - *) ac_optarg=yes ;;
1156 + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1157 + as_fn_error $? "invalid package name: $ac_useropt"
1158 + ac_useropt_orig=$ac_useropt
1159 + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1160 + case $ac_user_opts in
1161 + *"
1162 +"with_$ac_useropt"
1163 +"*) ;;
1164 + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1165 + ac_unrecognized_sep=', ';;
1166 esac
1167 - eval "with_$ac_package='$ac_optarg'" ;;
1168 + eval with_$ac_useropt=\$ac_optarg ;;
1170 -without-* | --without-*)
1171 - ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1172 + ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1173 # Reject names that are not valid shell variable names.
1174 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1175 - { echo "$as_me: error: invalid package name: $ac_package" >&2
1176 - { (exit 1); exit 1; }; }
1177 - ac_package=`echo $ac_package | sed 's/-/_/g'`
1178 - eval "with_$ac_package=no" ;;
1179 + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1180 + as_fn_error $? "invalid package name: $ac_useropt"
1181 + ac_useropt_orig=$ac_useropt
1182 + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1183 + case $ac_user_opts in
1184 + *"
1185 +"with_$ac_useropt"
1186 +"*) ;;
1187 + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1188 + ac_unrecognized_sep=', ';;
1189 + esac
1190 + eval with_$ac_useropt=no ;;
1192 --x)
1193 # Obsolete; use --with-x.
1194 @@ -782,26 +1220,25 @@
1195 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1196 x_libraries=$ac_optarg ;;
1198 - -*) { echo "$as_me: error: unrecognized option: $ac_option
1199 -Try \`$0 --help' for more information." >&2
1200 - { (exit 1); exit 1; }; }
1201 + -*) as_fn_error $? "unrecognized option: \`$ac_option'
1202 +Try \`$0 --help' for more information"
1205 *=*)
1206 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1207 # Reject names that are not valid shell variable names.
1208 - expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1209 - { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1210 - { (exit 1); exit 1; }; }
1211 - ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
1212 - eval "$ac_envvar='$ac_optarg'"
1213 + case $ac_envvar in #(
1214 + '' | [0-9]* | *[!_$as_cr_alnum]* )
1215 + as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1216 + esac
1217 + eval $ac_envvar=\$ac_optarg
1218 export $ac_envvar ;;
1221 # FIXME: should be removed in autoconf 3.0.
1222 - echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1223 + $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1224 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1225 - echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1226 + $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1227 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1230 @@ -810,31 +1247,36 @@
1232 if test -n "$ac_prev"; then
1233 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1234 - { echo "$as_me: error: missing argument to $ac_option" >&2
1235 - { (exit 1); exit 1; }; }
1236 + as_fn_error $? "missing argument to $ac_option"
1239 -# Be sure to have absolute paths.
1240 -for ac_var in exec_prefix prefix
1242 - eval ac_val=$`echo $ac_var`
1243 - case $ac_val in
1244 - [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
1245 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1246 - { (exit 1); exit 1; }; };;
1247 +if test -n "$ac_unrecognized_opts"; then
1248 + case $enable_option_checking in
1249 + no) ;;
1250 + fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1251 + *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1252 esac
1253 -done
1256 -# Be sure to have absolute paths.
1257 -for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
1258 - localstatedir libdir includedir oldincludedir infodir mandir
1259 +# Check all directory arguments for consistency.
1260 +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1261 + datadir sysconfdir sharedstatedir localstatedir includedir \
1262 + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1263 + libdir localedir mandir
1265 - eval ac_val=$`echo $ac_var`
1266 + eval ac_val=\$$ac_var
1267 + # Remove trailing slashes.
1268 case $ac_val in
1269 - [\\/$]* | ?:[\\/]* ) ;;
1270 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1271 - { (exit 1); exit 1; }; };;
1272 + */ )
1273 + ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1274 + eval $ac_var=\$ac_val;;
1275 esac
1276 + # Be sure to have absolute directory names.
1277 + case $ac_val in
1278 + [\\/$]* | ?:[\\/]* ) continue;;
1279 + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1280 + esac
1281 + as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1282 done
1284 # There might be people who depend on the old broken behavior: `$host'
1285 @@ -848,8 +1290,8 @@
1286 if test "x$host_alias" != x; then
1287 if test "x$build_alias" = x; then
1288 cross_compiling=maybe
1289 - echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1290 - If a cross compiler is detected then cross compile mode will be used." >&2
1291 + $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1292 + If a cross compiler is detected then cross compile mode will be used" >&2
1293 elif test "x$build_alias" != "x$host_alias"; then
1294 cross_compiling=yes
1296 @@ -861,74 +1303,72 @@
1297 test "$silent" = yes && exec 6>/dev/null
1300 +ac_pwd=`pwd` && test -n "$ac_pwd" &&
1301 +ac_ls_di=`ls -di .` &&
1302 +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1303 + as_fn_error $? "working directory cannot be determined"
1304 +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1305 + as_fn_error $? "pwd does not report name of working directory"
1308 # Find the source files, if location was not specified.
1309 if test -z "$srcdir"; then
1310 ac_srcdir_defaulted=yes
1311 - # Try the directory containing this script, then its parent.
1312 - ac_confdir=`(dirname "$0") 2>/dev/null ||
1313 -$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1314 - X"$0" : 'X\(//\)[^/]' \| \
1315 - X"$0" : 'X\(//\)$' \| \
1316 - X"$0" : 'X\(/\)' \| \
1317 - . : '\(.\)' 2>/dev/null ||
1318 -echo X"$0" |
1319 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1320 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1321 - /^X\(\/\/\)$/{ s//\1/; q; }
1322 - /^X\(\/\).*/{ s//\1/; q; }
1323 - s/.*/./; q'`
1324 + # Try the directory containing this script, then the parent directory.
1325 + ac_confdir=`$as_dirname -- "$as_myself" ||
1326 +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1327 + X"$as_myself" : 'X\(//\)[^/]' \| \
1328 + X"$as_myself" : 'X\(//\)$' \| \
1329 + X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1330 +$as_echo X"$as_myself" |
1331 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1332 + s//\1/
1335 + /^X\(\/\/\)[^/].*/{
1336 + s//\1/
1339 + /^X\(\/\/\)$/{
1340 + s//\1/
1343 + /^X\(\/\).*/{
1344 + s//\1/
1347 + s/.*/./; q'`
1348 srcdir=$ac_confdir
1349 - if test ! -r $srcdir/$ac_unique_file; then
1350 + if test ! -r "$srcdir/$ac_unique_file"; then
1351 srcdir=..
1353 else
1354 ac_srcdir_defaulted=no
1356 -if test ! -r $srcdir/$ac_unique_file; then
1357 - if test "$ac_srcdir_defaulted" = yes; then
1358 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
1359 - { (exit 1); exit 1; }; }
1360 - else
1361 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1362 - { (exit 1); exit 1; }; }
1363 - fi
1365 -(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
1366 - { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
1367 - { (exit 1); exit 1; }; }
1368 -srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
1369 -ac_env_build_alias_set=${build_alias+set}
1370 -ac_env_build_alias_value=$build_alias
1371 -ac_cv_env_build_alias_set=${build_alias+set}
1372 -ac_cv_env_build_alias_value=$build_alias
1373 -ac_env_host_alias_set=${host_alias+set}
1374 -ac_env_host_alias_value=$host_alias
1375 -ac_cv_env_host_alias_set=${host_alias+set}
1376 -ac_cv_env_host_alias_value=$host_alias
1377 -ac_env_target_alias_set=${target_alias+set}
1378 -ac_env_target_alias_value=$target_alias
1379 -ac_cv_env_target_alias_set=${target_alias+set}
1380 -ac_cv_env_target_alias_value=$target_alias
1381 -ac_env_CC_set=${CC+set}
1382 -ac_env_CC_value=$CC
1383 -ac_cv_env_CC_set=${CC+set}
1384 -ac_cv_env_CC_value=$CC
1385 -ac_env_CFLAGS_set=${CFLAGS+set}
1386 -ac_env_CFLAGS_value=$CFLAGS
1387 -ac_cv_env_CFLAGS_set=${CFLAGS+set}
1388 -ac_cv_env_CFLAGS_value=$CFLAGS
1389 -ac_env_LDFLAGS_set=${LDFLAGS+set}
1390 -ac_env_LDFLAGS_value=$LDFLAGS
1391 -ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
1392 -ac_cv_env_LDFLAGS_value=$LDFLAGS
1393 -ac_env_CPPFLAGS_set=${CPPFLAGS+set}
1394 -ac_env_CPPFLAGS_value=$CPPFLAGS
1395 -ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
1396 -ac_cv_env_CPPFLAGS_value=$CPPFLAGS
1397 -ac_env_CPP_set=${CPP+set}
1398 -ac_env_CPP_value=$CPP
1399 -ac_cv_env_CPP_set=${CPP+set}
1400 -ac_cv_env_CPP_value=$CPP
1401 +if test ! -r "$srcdir/$ac_unique_file"; then
1402 + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1403 + as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1405 +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1406 +ac_abs_confdir=`(
1407 + cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1408 + pwd)`
1409 +# When building in place, set srcdir=.
1410 +if test "$ac_abs_confdir" = "$ac_pwd"; then
1411 + srcdir=.
1413 +# Remove unnecessary trailing slashes from srcdir.
1414 +# Double slashes in file names in object file debugging info
1415 +# mess up M-x gdb in Emacs.
1416 +case $srcdir in
1417 +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1418 +esac
1419 +for ac_var in $ac_precious_vars; do
1420 + eval ac_env_${ac_var}_set=\${${ac_var}+set}
1421 + eval ac_env_${ac_var}_value=\$${ac_var}
1422 + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1423 + eval ac_cv_env_${ac_var}_value=\$${ac_var}
1424 +done
1427 # Report the --help message.
1428 @@ -937,7 +1377,7 @@
1429 # Omit some internal or obsolete options to make the list less imposing.
1430 # This message is too long to be a string in the A/UX 3.1 sh.
1431 cat <<_ACEOF
1432 -\`configure' configures this package to adapt to many kinds of systems.
1433 +\`configure' configures hesiod 3.1.0 to adapt to many kinds of systems.
1435 Usage: $0 [OPTION]... [VAR=VALUE]...
1437 @@ -951,20 +1391,17 @@
1438 --help=short display options specific to this package
1439 --help=recursive display the short help of all the included packages
1440 -V, --version display version information and exit
1441 - -q, --quiet, --silent do not print \`checking...' messages
1442 + -q, --quiet, --silent do not print \`checking ...' messages
1443 --cache-file=FILE cache test results in FILE [disabled]
1444 -C, --config-cache alias for \`--cache-file=config.cache'
1445 -n, --no-create do not create output files
1446 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1448 -_ACEOF
1450 - cat <<_ACEOF
1451 Installation directories:
1452 --prefix=PREFIX install architecture-independent files in PREFIX
1453 - [$ac_default_prefix]
1454 + [$ac_default_prefix]
1455 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1456 - [PREFIX]
1457 + [PREFIX]
1459 By default, \`make install' will install all the files in
1460 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1461 @@ -974,18 +1411,25 @@
1462 For better control, use the options below.
1464 Fine tuning of the installation directories:
1465 - --bindir=DIR user executables [EPREFIX/bin]
1466 - --sbindir=DIR system admin executables [EPREFIX/sbin]
1467 - --libexecdir=DIR program executables [EPREFIX/libexec]
1468 - --datadir=DIR read-only architecture-independent data [PREFIX/share]
1469 - --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1470 - --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1471 - --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1472 - --libdir=DIR object code libraries [EPREFIX/lib]
1473 - --includedir=DIR C header files [PREFIX/include]
1474 - --oldincludedir=DIR C header files for non-gcc [/usr/include]
1475 - --infodir=DIR info documentation [PREFIX/info]
1476 - --mandir=DIR man documentation [PREFIX/man]
1477 + --bindir=DIR user executables [EPREFIX/bin]
1478 + --sbindir=DIR system admin executables [EPREFIX/sbin]
1479 + --libexecdir=DIR program executables [EPREFIX/libexec]
1480 + --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1481 + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1482 + --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1483 + --libdir=DIR object code libraries [EPREFIX/lib]
1484 + --includedir=DIR C header files [PREFIX/include]
1485 + --oldincludedir=DIR C header files for non-gcc [/usr/include]
1486 + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1487 + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1488 + --infodir=DIR info documentation [DATAROOTDIR/info]
1489 + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1490 + --mandir=DIR man documentation [DATAROOTDIR/man]
1491 + --docdir=DIR documentation root [DATAROOTDIR/doc/hesiod]
1492 + --htmldir=DIR html documentation [DOCDIR]
1493 + --dvidir=DIR dvi documentation [DOCDIR]
1494 + --pdfdir=DIR pdf documentation [DOCDIR]
1495 + --psdir=DIR ps documentation [DOCDIR]
1496 _ACEOF
1498 cat <<\_ACEOF
1499 @@ -997,10 +1441,13 @@
1502 if test -n "$ac_init_help"; then
1504 + case $ac_init_help in
1505 + short | recursive ) echo "Configuration of hesiod 3.1.0:";;
1506 + esac
1507 cat <<\_ACEOF
1509 Optional Features:
1510 + --disable-option-checking ignore unrecognized --enable/--with options
1511 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1512 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1513 --enable-shared=PKGS build shared libraries default=yes
1514 @@ -1019,158 +1466,482 @@
1515 CFLAGS C compiler flags
1516 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1517 nonstandard directory <lib dir>
1518 - CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1519 - headers in a nonstandard directory <include dir>
1520 + LIBS libraries to pass to the linker, e.g. -l<library>
1521 + CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1522 + you have headers in a nonstandard directory <include dir>
1523 CPP C preprocessor
1525 Use these variables to override the choices made by `configure' or to help
1526 it to find libraries and programs with nonstandard names/locations.
1528 +Report bugs to the package provider.
1529 _ACEOF
1530 +ac_status=$?
1533 if test "$ac_init_help" = "recursive"; then
1534 # If there are subdirs, report their specific --help.
1535 - ac_popdir=`pwd`
1536 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1537 - test -d $ac_dir || continue
1538 + test -d "$ac_dir" ||
1539 + { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1540 + continue
1541 ac_builddir=.
1543 -if test "$ac_dir" != .; then
1544 - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1545 - # A "../" for each directory in $ac_dir_suffix.
1546 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1547 -else
1548 - ac_dir_suffix= ac_top_builddir=
1550 +case "$ac_dir" in
1551 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1553 + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1554 + # A ".." for each directory in $ac_dir_suffix.
1555 + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1556 + case $ac_top_builddir_sub in
1557 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1558 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1559 + esac ;;
1560 +esac
1561 +ac_abs_top_builddir=$ac_pwd
1562 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
1563 +# for backward compatibility:
1564 +ac_top_builddir=$ac_top_build_prefix
1566 case $srcdir in
1567 - .) # No --srcdir option. We are building in place.
1568 + .) # We are building in place.
1569 ac_srcdir=.
1570 - if test -z "$ac_top_builddir"; then
1571 - ac_top_srcdir=.
1572 - else
1573 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1574 - fi ;;
1575 - [\\/]* | ?:[\\/]* ) # Absolute path.
1576 + ac_top_srcdir=$ac_top_builddir_sub
1577 + ac_abs_top_srcdir=$ac_pwd ;;
1578 + [\\/]* | ?:[\\/]* ) # Absolute name.
1579 ac_srcdir=$srcdir$ac_dir_suffix;
1580 - ac_top_srcdir=$srcdir ;;
1581 - *) # Relative path.
1582 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1583 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
1584 -esac
1586 -# Do not use `cd foo && pwd` to compute absolute paths, because
1587 -# the directories may not exist.
1588 -case `pwd` in
1589 -.) ac_abs_builddir="$ac_dir";;
1591 - case "$ac_dir" in
1592 - .) ac_abs_builddir=`pwd`;;
1593 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1594 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
1595 - esac;;
1596 -esac
1597 -case $ac_abs_builddir in
1598 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
1600 - case ${ac_top_builddir}. in
1601 - .) ac_abs_top_builddir=$ac_abs_builddir;;
1602 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1603 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1604 - esac;;
1605 -esac
1606 -case $ac_abs_builddir in
1607 -.) ac_abs_srcdir=$ac_srcdir;;
1609 - case $ac_srcdir in
1610 - .) ac_abs_srcdir=$ac_abs_builddir;;
1611 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1612 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1613 - esac;;
1614 -esac
1615 -case $ac_abs_builddir in
1616 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
1618 - case $ac_top_srcdir in
1619 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
1620 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1621 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1622 - esac;;
1623 + ac_top_srcdir=$srcdir
1624 + ac_abs_top_srcdir=$srcdir ;;
1625 + *) # Relative name.
1626 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1627 + ac_top_srcdir=$ac_top_build_prefix$srcdir
1628 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1629 esac
1630 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1632 - cd $ac_dir
1633 - # Check for guested configure; otherwise get Cygnus style configure.
1634 - if test -f $ac_srcdir/configure.gnu; then
1635 - echo
1636 - $SHELL $ac_srcdir/configure.gnu --help=recursive
1637 - elif test -f $ac_srcdir/configure; then
1638 - echo
1639 - $SHELL $ac_srcdir/configure --help=recursive
1640 - elif test -f $ac_srcdir/configure.ac ||
1641 - test -f $ac_srcdir/configure.in; then
1642 - echo
1643 - $ac_configure --help
1644 + cd "$ac_dir" || { ac_status=$?; continue; }
1645 + # Check for guested configure.
1646 + if test -f "$ac_srcdir/configure.gnu"; then
1647 + echo &&
1648 + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1649 + elif test -f "$ac_srcdir/configure"; then
1650 + echo &&
1651 + $SHELL "$ac_srcdir/configure" --help=recursive
1652 else
1653 - echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1654 - fi
1655 - cd $ac_popdir
1656 + $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1657 + fi || ac_status=$?
1658 + cd "$ac_pwd" || { ac_status=$?; break; }
1659 done
1662 -test -n "$ac_init_help" && exit 0
1663 +test -n "$ac_init_help" && exit $ac_status
1664 if $ac_init_version; then
1665 cat <<\_ACEOF
1666 +hesiod configure 3.1.0
1667 +generated by GNU Autoconf 2.67
1669 -Copyright (C) 2003 Free Software Foundation, Inc.
1670 +Copyright (C) 2010 Free Software Foundation, Inc.
1671 This configure script is free software; the Free Software Foundation
1672 gives unlimited permission to copy, distribute and modify it.
1673 _ACEOF
1674 - exit 0
1675 + exit
1677 -exec 5>config.log
1678 -cat >&5 <<_ACEOF
1679 -This file contains any messages produced by compilers while
1680 -running configure, to aid debugging if configure makes a mistake.
1682 -It was created by $as_me, which was
1683 -generated by GNU Autoconf 2.59. Invocation command line was
1684 +## ------------------------ ##
1685 +## Autoconf initialization. ##
1686 +## ------------------------ ##
1688 +# ac_fn_c_try_compile LINENO
1689 +# --------------------------
1690 +# Try to compile conftest.$ac_ext, and return whether this succeeded.
1691 +ac_fn_c_try_compile ()
1693 + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1694 + rm -f conftest.$ac_objext
1695 + if { { ac_try="$ac_compile"
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_compile") 2>conftest.err
1703 + ac_status=$?
1704 + if test -s conftest.err; then
1705 + grep -v '^ *+' conftest.err >conftest.er1
1706 + cat conftest.er1 >&5
1707 + mv -f conftest.er1 conftest.err
1708 + fi
1709 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1710 + test $ac_status = 0; } && {
1711 + test -z "$ac_c_werror_flag" ||
1712 + test ! -s conftest.err
1713 + } && test -s conftest.$ac_objext; then :
1714 + ac_retval=0
1715 +else
1716 + $as_echo "$as_me: failed program was:" >&5
1717 +sed 's/^/| /' conftest.$ac_ext >&5
1719 + ac_retval=1
1721 + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1722 + as_fn_set_status $ac_retval
1724 - $ $0 $@
1725 +} # ac_fn_c_try_compile
1727 -_ACEOF
1728 +# ac_fn_c_try_link LINENO
1729 +# -----------------------
1730 +# Try to link conftest.$ac_ext, and return whether this succeeded.
1731 +ac_fn_c_try_link ()
1733 -cat <<_ASUNAME
1734 -## --------- ##
1735 -## Platform. ##
1736 -## --------- ##
1738 -hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1739 -uname -m = `(uname -m) 2>/dev/null || echo unknown`
1740 -uname -r = `(uname -r) 2>/dev/null || echo unknown`
1741 -uname -s = `(uname -s) 2>/dev/null || echo unknown`
1742 -uname -v = `(uname -v) 2>/dev/null || echo unknown`
1743 + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1744 + rm -f conftest.$ac_objext conftest$ac_exeext
1745 + if { { ac_try="$ac_link"
1746 +case "(($ac_try" in
1747 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1748 + *) ac_try_echo=$ac_try;;
1749 +esac
1750 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1751 +$as_echo "$ac_try_echo"; } >&5
1752 + (eval "$ac_link") 2>conftest.err
1753 + ac_status=$?
1754 + if test -s conftest.err; then
1755 + grep -v '^ *+' conftest.err >conftest.er1
1756 + cat conftest.er1 >&5
1757 + mv -f conftest.er1 conftest.err
1758 + fi
1759 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1760 + test $ac_status = 0; } && {
1761 + test -z "$ac_c_werror_flag" ||
1762 + test ! -s conftest.err
1763 + } && test -s conftest$ac_exeext && {
1764 + test "$cross_compiling" = yes ||
1765 + $as_test_x conftest$ac_exeext
1766 + }; then :
1767 + ac_retval=0
1768 +else
1769 + $as_echo "$as_me: failed program was:" >&5
1770 +sed 's/^/| /' conftest.$ac_ext >&5
1772 -/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1773 -/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1774 + ac_retval=1
1776 + # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1777 + # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1778 + # interfere with the next link command; also delete a directory that is
1779 + # left behind by Apple's compiler. We do this before executing the actions.
1780 + rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1781 + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1782 + as_fn_set_status $ac_retval
1784 +} # ac_fn_c_try_link
1786 +# ac_fn_c_check_func LINENO FUNC VAR
1787 +# ----------------------------------
1788 +# Tests whether FUNC exists, setting the cache variable VAR accordingly
1789 +ac_fn_c_check_func ()
1791 + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1792 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1793 +$as_echo_n "checking for $2... " >&6; }
1794 +if eval "test \"\${$3+set}\"" = set; then :
1795 + $as_echo_n "(cached) " >&6
1796 +else
1797 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1798 +/* end confdefs.h. */
1799 +/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1800 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
1801 +#define $2 innocuous_$2
1803 -/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1804 -/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1805 -/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1806 -hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1807 -/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1808 -/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1809 -/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1810 +/* System header to define __stub macros and hopefully few prototypes,
1811 + which can conflict with char $2 (); below.
1812 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1813 + <limits.h> exists even on freestanding compilers. */
1815 -_ASUNAME
1816 +#ifdef __STDC__
1817 +# include <limits.h>
1818 +#else
1819 +# include <assert.h>
1820 +#endif
1822 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1823 -for as_dir in $PATH
1825 - IFS=$as_save_IFS
1826 - test -z "$as_dir" && as_dir=.
1827 - echo "PATH: $as_dir"
1828 -done
1829 +#undef $2
1831 +/* Override any GCC internal prototype to avoid an error.
1832 + Use char because int might match the return type of a GCC
1833 + builtin and then its argument prototype would still apply. */
1834 +#ifdef __cplusplus
1835 +extern "C"
1836 +#endif
1837 +char $2 ();
1838 +/* The GNU C library defines this for functions which it implements
1839 + to always fail with ENOSYS. Some functions are actually named
1840 + something starting with __ and the normal name is an alias. */
1841 +#if defined __stub_$2 || defined __stub___$2
1842 +choke me
1843 +#endif
1845 +int
1846 +main ()
1848 +return $2 ();
1850 + return 0;
1852 +_ACEOF
1853 +if ac_fn_c_try_link "$LINENO"; then :
1854 + eval "$3=yes"
1855 +else
1856 + eval "$3=no"
1858 +rm -f core conftest.err conftest.$ac_objext \
1859 + conftest$ac_exeext conftest.$ac_ext
1861 +eval ac_res=\$$3
1862 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1863 +$as_echo "$ac_res" >&6; }
1864 + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1866 +} # ac_fn_c_check_func
1868 +# ac_fn_c_try_cpp LINENO
1869 +# ----------------------
1870 +# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1871 +ac_fn_c_try_cpp ()
1873 + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1874 + if { { ac_try="$ac_cpp conftest.$ac_ext"
1875 +case "(($ac_try" in
1876 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1877 + *) ac_try_echo=$ac_try;;
1878 +esac
1879 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1880 +$as_echo "$ac_try_echo"; } >&5
1881 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1882 + ac_status=$?
1883 + if test -s conftest.err; then
1884 + grep -v '^ *+' conftest.err >conftest.er1
1885 + cat conftest.er1 >&5
1886 + mv -f conftest.er1 conftest.err
1887 + fi
1888 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1889 + test $ac_status = 0; } > conftest.i && {
1890 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1891 + test ! -s conftest.err
1892 + }; then :
1893 + ac_retval=0
1894 +else
1895 + $as_echo "$as_me: failed program was:" >&5
1896 +sed 's/^/| /' conftest.$ac_ext >&5
1898 + ac_retval=1
1900 + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1901 + as_fn_set_status $ac_retval
1903 +} # ac_fn_c_try_cpp
1905 +# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1906 +# -------------------------------------------------------
1907 +# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1908 +# the include files in INCLUDES and setting the cache variable VAR
1909 +# accordingly.
1910 +ac_fn_c_check_header_mongrel ()
1912 + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1913 + if eval "test \"\${$3+set}\"" = set; then :
1914 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1915 +$as_echo_n "checking for $2... " >&6; }
1916 +if eval "test \"\${$3+set}\"" = set; then :
1917 + $as_echo_n "(cached) " >&6
1919 +eval ac_res=\$$3
1920 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1921 +$as_echo "$ac_res" >&6; }
1922 +else
1923 + # Is the header compilable?
1924 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1925 +$as_echo_n "checking $2 usability... " >&6; }
1926 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1927 +/* end confdefs.h. */
1929 +#include <$2>
1930 +_ACEOF
1931 +if ac_fn_c_try_compile "$LINENO"; then :
1932 + ac_header_compiler=yes
1933 +else
1934 + ac_header_compiler=no
1936 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1937 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1938 +$as_echo "$ac_header_compiler" >&6; }
1940 +# Is the header present?
1941 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1942 +$as_echo_n "checking $2 presence... " >&6; }
1943 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1944 +/* end confdefs.h. */
1945 +#include <$2>
1946 +_ACEOF
1947 +if ac_fn_c_try_cpp "$LINENO"; then :
1948 + ac_header_preproc=yes
1949 +else
1950 + ac_header_preproc=no
1952 +rm -f conftest.err conftest.i conftest.$ac_ext
1953 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1954 +$as_echo "$ac_header_preproc" >&6; }
1956 +# So? What about this header?
1957 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1958 + yes:no: )
1959 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1960 +$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1961 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1962 +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1963 + ;;
1964 + no:yes:* )
1965 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1966 +$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1967 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1968 +$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1969 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1970 +$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1971 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1972 +$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1973 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1974 +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1975 + ;;
1976 +esac
1977 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1978 +$as_echo_n "checking for $2... " >&6; }
1979 +if eval "test \"\${$3+set}\"" = set; then :
1980 + $as_echo_n "(cached) " >&6
1981 +else
1982 + eval "$3=\$ac_header_compiler"
1984 +eval ac_res=\$$3
1985 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1986 +$as_echo "$ac_res" >&6; }
1988 + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1990 +} # ac_fn_c_check_header_mongrel
1992 +# ac_fn_c_try_run LINENO
1993 +# ----------------------
1994 +# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1995 +# that executables *can* be run.
1996 +ac_fn_c_try_run ()
1998 + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1999 + if { { ac_try="$ac_link"
2000 +case "(($ac_try" in
2001 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2002 + *) ac_try_echo=$ac_try;;
2003 +esac
2004 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2005 +$as_echo "$ac_try_echo"; } >&5
2006 + (eval "$ac_link") 2>&5
2007 + ac_status=$?
2008 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2009 + test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2010 + { { case "(($ac_try" in
2011 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2012 + *) ac_try_echo=$ac_try;;
2013 +esac
2014 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2015 +$as_echo "$ac_try_echo"; } >&5
2016 + (eval "$ac_try") 2>&5
2017 + ac_status=$?
2018 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2019 + test $ac_status = 0; }; }; then :
2020 + ac_retval=0
2021 +else
2022 + $as_echo "$as_me: program exited with status $ac_status" >&5
2023 + $as_echo "$as_me: failed program was:" >&5
2024 +sed 's/^/| /' conftest.$ac_ext >&5
2026 + ac_retval=$ac_status
2028 + rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2029 + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2030 + as_fn_set_status $ac_retval
2032 +} # ac_fn_c_try_run
2034 +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2035 +# -------------------------------------------------------
2036 +# Tests whether HEADER exists and can be compiled using the include files in
2037 +# INCLUDES, setting the cache variable VAR accordingly.
2038 +ac_fn_c_check_header_compile ()
2040 + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2041 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2042 +$as_echo_n "checking for $2... " >&6; }
2043 +if eval "test \"\${$3+set}\"" = set; then :
2044 + $as_echo_n "(cached) " >&6
2045 +else
2046 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2047 +/* end confdefs.h. */
2049 +#include <$2>
2050 +_ACEOF
2051 +if ac_fn_c_try_compile "$LINENO"; then :
2052 + eval "$3=yes"
2053 +else
2054 + eval "$3=no"
2056 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2058 +eval ac_res=\$$3
2059 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2060 +$as_echo "$ac_res" >&6; }
2061 + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2063 +} # ac_fn_c_check_header_compile
2064 +cat >config.log <<_ACEOF
2065 +This file contains any messages produced by compilers while
2066 +running configure, to aid debugging if configure makes a mistake.
2068 +It was created by hesiod $as_me 3.1.0, which was
2069 +generated by GNU Autoconf 2.67. Invocation command line was
2071 + $ $0 $@
2073 +_ACEOF
2074 +exec 5>>config.log
2076 +cat <<_ASUNAME
2077 +## --------- ##
2078 +## Platform. ##
2079 +## --------- ##
2081 +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2082 +uname -m = `(uname -m) 2>/dev/null || echo unknown`
2083 +uname -r = `(uname -r) 2>/dev/null || echo unknown`
2084 +uname -s = `(uname -s) 2>/dev/null || echo unknown`
2085 +uname -v = `(uname -v) 2>/dev/null || echo unknown`
2087 +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2088 +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2090 +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2091 +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2092 +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2093 +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2094 +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2095 +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2096 +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2098 +_ASUNAME
2100 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2101 +for as_dir in $PATH
2103 + IFS=$as_save_IFS
2104 + test -z "$as_dir" && as_dir=.
2105 + $as_echo "PATH: $as_dir"
2106 + done
2107 +IFS=$as_save_IFS
2109 } >&5
2111 @@ -1192,7 +1963,6 @@
2112 ac_configure_args=
2113 ac_configure_args0=
2114 ac_configure_args1=
2115 -ac_sep=
2116 ac_must_keep_next=false
2117 for ac_pass in 1 2
2119 @@ -1203,13 +1973,13 @@
2120 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2121 | -silent | --silent | --silen | --sile | --sil)
2122 continue ;;
2123 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
2124 - ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2125 + *\'*)
2126 + ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2127 esac
2128 case $ac_pass in
2129 - 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2130 + 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2132 - ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2133 + as_fn_append ac_configure_args1 " '$ac_arg'"
2134 if test $ac_must_keep_next = true; then
2135 ac_must_keep_next=false # Got value, back to normal.
2136 else
2137 @@ -1225,104 +1995,115 @@
2138 -* ) ac_must_keep_next=true ;;
2139 esac
2141 - ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
2142 - # Get rid of the leading space.
2143 - ac_sep=" "
2144 + as_fn_append ac_configure_args " '$ac_arg'"
2146 esac
2147 done
2148 done
2149 -$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2150 -$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2151 +{ ac_configure_args0=; unset ac_configure_args0;}
2152 +{ ac_configure_args1=; unset ac_configure_args1;}
2154 # When interrupted or exit'd, cleanup temporary files, and complete
2155 # config.log. We remove comments because anyway the quotes in there
2156 # would cause problems or look ugly.
2157 -# WARNING: Be sure not to use single quotes in there, as some shells,
2158 -# such as our DU 5.0 friend, will then `close' the trap.
2159 +# WARNING: Use '\'' to represent an apostrophe within the trap.
2160 +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2161 trap 'exit_status=$?
2162 # Save into config.log some information that might help in debugging.
2164 echo
2166 - cat <<\_ASBOX
2167 -## ---------------- ##
2168 + $as_echo "## ---------------- ##
2169 ## Cache variables. ##
2170 -## ---------------- ##
2171 -_ASBOX
2172 +## ---------------- ##"
2173 echo
2174 # The following way of writing the cache mishandles newlines in values,
2177 + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2178 + eval ac_val=\$$ac_var
2179 + case $ac_val in #(
2180 + *${as_nl}*)
2181 + case $ac_var in #(
2182 + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2183 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2184 + esac
2185 + case $ac_var in #(
2186 + _ | IFS | as_nl) ;; #(
2187 + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2188 + *) { eval $ac_var=; unset $ac_var;} ;;
2189 + esac ;;
2190 + esac
2191 + done
2192 (set) 2>&1 |
2193 - case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
2194 - *ac_space=\ *)
2195 + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2196 + *${as_nl}ac_space=\ *)
2197 sed -n \
2198 - "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
2199 - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
2200 - ;;
2201 + "s/'\''/'\''\\\\'\'''\''/g;
2202 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2203 + ;; #(
2205 - sed -n \
2206 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2207 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2209 - esac;
2211 + esac |
2212 + sort
2214 echo
2216 - cat <<\_ASBOX
2217 -## ----------------- ##
2218 + $as_echo "## ----------------- ##
2219 ## Output variables. ##
2220 -## ----------------- ##
2221 -_ASBOX
2222 +## ----------------- ##"
2223 echo
2224 for ac_var in $ac_subst_vars
2226 - eval ac_val=$`echo $ac_var`
2227 - echo "$ac_var='"'"'$ac_val'"'"'"
2228 + eval ac_val=\$$ac_var
2229 + case $ac_val in
2230 + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2231 + esac
2232 + $as_echo "$ac_var='\''$ac_val'\''"
2233 done | sort
2234 echo
2236 if test -n "$ac_subst_files"; then
2237 - cat <<\_ASBOX
2238 -## ------------- ##
2239 -## Output files. ##
2240 -## ------------- ##
2241 -_ASBOX
2242 + $as_echo "## ------------------- ##
2243 +## File substitutions. ##
2244 +## ------------------- ##"
2245 echo
2246 for ac_var in $ac_subst_files
2248 - eval ac_val=$`echo $ac_var`
2249 - echo "$ac_var='"'"'$ac_val'"'"'"
2250 + eval ac_val=\$$ac_var
2251 + case $ac_val in
2252 + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2253 + esac
2254 + $as_echo "$ac_var='\''$ac_val'\''"
2255 done | sort
2256 echo
2259 if test -s confdefs.h; then
2260 - cat <<\_ASBOX
2261 -## ----------- ##
2262 + $as_echo "## ----------- ##
2263 ## confdefs.h. ##
2264 -## ----------- ##
2265 -_ASBOX
2266 +## ----------- ##"
2267 echo
2268 - sed "/^$/d" confdefs.h | sort
2269 + cat confdefs.h
2270 echo
2272 test "$ac_signal" != 0 &&
2273 - echo "$as_me: caught signal $ac_signal"
2274 - echo "$as_me: exit $exit_status"
2275 + $as_echo "$as_me: caught signal $ac_signal"
2276 + $as_echo "$as_me: exit $exit_status"
2277 } >&5
2278 - rm -f core *.core &&
2279 - rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
2280 + rm -f core *.core core.conftest.* &&
2281 + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2282 exit $exit_status
2283 - ' 0
2284 +' 0
2285 for ac_signal in 1 2 13 15; do
2286 - trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2287 + trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2288 done
2289 ac_signal=0
2291 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2292 -rm -rf conftest* confdefs.h
2293 -# AIX cpp loses on an empty file, so make sure it contains at least a newline.
2294 -echo >confdefs.h
2295 +rm -f -r conftest* confdefs.h
2297 +$as_echo "/* confdefs.h */" > confdefs.h
2299 # Predefined preprocessor variables.
2301 @@ -1330,112 +2111,137 @@
2302 #define PACKAGE_NAME "$PACKAGE_NAME"
2303 _ACEOF
2306 cat >>confdefs.h <<_ACEOF
2307 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2308 _ACEOF
2311 cat >>confdefs.h <<_ACEOF
2312 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2313 _ACEOF
2316 cat >>confdefs.h <<_ACEOF
2317 #define PACKAGE_STRING "$PACKAGE_STRING"
2318 _ACEOF
2321 cat >>confdefs.h <<_ACEOF
2322 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2323 _ACEOF
2325 +cat >>confdefs.h <<_ACEOF
2326 +#define PACKAGE_URL "$PACKAGE_URL"
2327 +_ACEOF
2330 # Let the site file select an alternate cache file if it wants to.
2331 -# Prefer explicitly selected file to automatically selected ones.
2332 -if test -z "$CONFIG_SITE"; then
2333 - if test "x$prefix" != xNONE; then
2334 - CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
2335 - else
2336 - CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
2337 - fi
2338 +# Prefer an explicitly selected file to automatically selected ones.
2339 +ac_site_file1=NONE
2340 +ac_site_file2=NONE
2341 +if test -n "$CONFIG_SITE"; then
2342 + # We do not want a PATH search for config.site.
2343 + case $CONFIG_SITE in #((
2344 + -*) ac_site_file1=./$CONFIG_SITE;;
2345 + */*) ac_site_file1=$CONFIG_SITE;;
2346 + *) ac_site_file1=./$CONFIG_SITE;;
2347 + esac
2348 +elif test "x$prefix" != xNONE; then
2349 + ac_site_file1=$prefix/share/config.site
2350 + ac_site_file2=$prefix/etc/config.site
2351 +else
2352 + ac_site_file1=$ac_default_prefix/share/config.site
2353 + ac_site_file2=$ac_default_prefix/etc/config.site
2355 -for ac_site_file in $CONFIG_SITE; do
2356 - if test -r "$ac_site_file"; then
2357 - { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2358 -echo "$as_me: loading site script $ac_site_file" >&6;}
2359 +for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2361 + test "x$ac_site_file" = xNONE && continue
2362 + if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2363 + { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2364 +$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2365 sed 's/^/| /' "$ac_site_file" >&5
2366 - . "$ac_site_file"
2367 + . "$ac_site_file" \
2368 + || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2369 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2370 +as_fn_error $? "failed to load site script $ac_site_file
2371 +See \`config.log' for more details" "$LINENO" 5; }
2373 done
2375 if test -r "$cache_file"; then
2376 - # Some versions of bash will fail to source /dev/null (special
2377 - # files actually), so we avoid doing that.
2378 - if test -f "$cache_file"; then
2379 - { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2380 -echo "$as_me: loading cache $cache_file" >&6;}
2381 + # Some versions of bash will fail to source /dev/null (special files
2382 + # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2383 + if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2384 + { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2385 +$as_echo "$as_me: loading cache $cache_file" >&6;}
2386 case $cache_file in
2387 - [\\/]* | ?:[\\/]* ) . $cache_file;;
2388 - *) . ./$cache_file;;
2389 + [\\/]* | ?:[\\/]* ) . "$cache_file";;
2390 + *) . "./$cache_file";;
2391 esac
2393 else
2394 - { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2395 -echo "$as_me: creating cache $cache_file" >&6;}
2396 + { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2397 +$as_echo "$as_me: creating cache $cache_file" >&6;}
2398 >$cache_file
2401 # Check that the precious variables saved in the cache have kept the same
2402 # value.
2403 ac_cache_corrupted=false
2404 -for ac_var in `(set) 2>&1 |
2405 - sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
2406 +for ac_var in $ac_precious_vars; do
2407 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2408 eval ac_new_set=\$ac_env_${ac_var}_set
2409 - eval ac_old_val="\$ac_cv_env_${ac_var}_value"
2410 - eval ac_new_val="\$ac_env_${ac_var}_value"
2411 + eval ac_old_val=\$ac_cv_env_${ac_var}_value
2412 + eval ac_new_val=\$ac_env_${ac_var}_value
2413 case $ac_old_set,$ac_new_set in
2414 set,)
2415 - { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2416 -echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2417 + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2418 +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2419 ac_cache_corrupted=: ;;
2420 ,set)
2421 - { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2422 -echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2423 + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2424 +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2425 ac_cache_corrupted=: ;;
2426 ,);;
2428 if test "x$ac_old_val" != "x$ac_new_val"; then
2429 - { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2430 -echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2431 - { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2432 -echo "$as_me: former value: $ac_old_val" >&2;}
2433 - { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2434 -echo "$as_me: current value: $ac_new_val" >&2;}
2435 - ac_cache_corrupted=:
2436 + # differences in whitespace do not lead to failure.
2437 + ac_old_val_w=`echo x $ac_old_val`
2438 + ac_new_val_w=`echo x $ac_new_val`
2439 + if test "$ac_old_val_w" != "$ac_new_val_w"; then
2440 + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2441 +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2442 + ac_cache_corrupted=:
2443 + else
2444 + { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2445 +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2446 + eval $ac_var=\$ac_old_val
2447 + fi
2448 + { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2449 +$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2450 + { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2451 +$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2452 fi;;
2453 esac
2454 # Pass precious variables to config.status.
2455 if test "$ac_new_set" = set; then
2456 case $ac_new_val in
2457 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
2458 - ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2459 + *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2460 *) ac_arg=$ac_var=$ac_new_val ;;
2461 esac
2462 case " $ac_configure_args " in
2463 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2464 - *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2465 + *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2466 esac
2468 done
2469 if $ac_cache_corrupted; then
2470 - { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2471 -echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2472 - { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2473 -echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2474 - { (exit 1); exit 1; }; }
2476 + { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2477 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2478 + { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2479 +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2480 + as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2482 +## -------------------- ##
2483 +## Main body of script. ##
2484 +## -------------------- ##
2486 ac_ext=c
2487 ac_cpp='$CPP $CPPFLAGS'
2488 @@ -1447,21 +2253,6 @@
2507 ac_ext=c
2508 ac_cpp='$CPP $CPPFLAGS'
2509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2510 @@ -1470,10 +2261,10 @@
2511 if test -n "$ac_tool_prefix"; then
2512 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2513 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2514 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2515 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2516 -if test "${ac_cv_prog_CC+set}" = set; then
2517 - echo $ECHO_N "(cached) $ECHO_C" >&6
2518 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2519 +$as_echo_n "checking for $ac_word... " >&6; }
2520 +if test "${ac_cv_prog_CC+set}" = set; then :
2521 + $as_echo_n "(cached) " >&6
2522 else
2523 if test -n "$CC"; then
2524 ac_cv_prog_CC="$CC" # Let the user override the test.
2525 @@ -1483,35 +2274,37 @@
2527 IFS=$as_save_IFS
2528 test -z "$as_dir" && as_dir=.
2529 - for ac_exec_ext in '' $ac_executable_extensions; do
2530 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2531 + for ac_exec_ext in '' $ac_executable_extensions; do
2532 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2533 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2534 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2535 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2536 break 2
2538 done
2539 -done
2540 + done
2541 +IFS=$as_save_IFS
2545 CC=$ac_cv_prog_CC
2546 if test -n "$CC"; then
2547 - echo "$as_me:$LINENO: result: $CC" >&5
2548 -echo "${ECHO_T}$CC" >&6
2549 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2550 +$as_echo "$CC" >&6; }
2551 else
2552 - echo "$as_me:$LINENO: result: no" >&5
2553 -echo "${ECHO_T}no" >&6
2554 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2555 +$as_echo "no" >&6; }
2560 if test -z "$ac_cv_prog_CC"; then
2561 ac_ct_CC=$CC
2562 # Extract the first word of "gcc", so it can be a program name with args.
2563 set dummy gcc; ac_word=$2
2564 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2565 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2566 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2567 - echo $ECHO_N "(cached) $ECHO_C" >&6
2568 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2569 +$as_echo_n "checking for $ac_word... " >&6; }
2570 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2571 + $as_echo_n "(cached) " >&6
2572 else
2573 if test -n "$ac_ct_CC"; then
2574 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2575 @@ -1521,39 +2314,50 @@
2577 IFS=$as_save_IFS
2578 test -z "$as_dir" && as_dir=.
2579 - for ac_exec_ext in '' $ac_executable_extensions; do
2580 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2581 + for ac_exec_ext in '' $ac_executable_extensions; do
2582 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2583 ac_cv_prog_ac_ct_CC="gcc"
2584 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2585 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2586 break 2
2588 done
2589 -done
2590 + done
2591 +IFS=$as_save_IFS
2595 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2596 if test -n "$ac_ct_CC"; then
2597 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2598 -echo "${ECHO_T}$ac_ct_CC" >&6
2599 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2600 +$as_echo "$ac_ct_CC" >&6; }
2601 else
2602 - echo "$as_me:$LINENO: result: no" >&5
2603 -echo "${ECHO_T}no" >&6
2604 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2605 +$as_echo "no" >&6; }
2608 - CC=$ac_ct_CC
2609 + if test "x$ac_ct_CC" = x; then
2610 + CC=""
2611 + else
2612 + case $cross_compiling:$ac_tool_warned in
2613 +yes:)
2614 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2615 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2616 +ac_tool_warned=yes ;;
2617 +esac
2618 + CC=$ac_ct_CC
2619 + fi
2620 else
2621 CC="$ac_cv_prog_CC"
2624 if test -z "$CC"; then
2625 - if test -n "$ac_tool_prefix"; then
2626 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2627 + if test -n "$ac_tool_prefix"; then
2628 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2629 set dummy ${ac_tool_prefix}cc; ac_word=$2
2630 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2631 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2632 -if test "${ac_cv_prog_CC+set}" = set; then
2633 - echo $ECHO_N "(cached) $ECHO_C" >&6
2634 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2635 +$as_echo_n "checking for $ac_word... " >&6; }
2636 +if test "${ac_cv_prog_CC+set}" = set; then :
2637 + $as_echo_n "(cached) " >&6
2638 else
2639 if test -n "$CC"; then
2640 ac_cv_prog_CC="$CC" # Let the user override the test.
2641 @@ -1563,77 +2367,37 @@
2643 IFS=$as_save_IFS
2644 test -z "$as_dir" && as_dir=.
2645 - for ac_exec_ext in '' $ac_executable_extensions; do
2646 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2647 + for ac_exec_ext in '' $ac_executable_extensions; do
2648 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2649 ac_cv_prog_CC="${ac_tool_prefix}cc"
2650 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2651 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2652 break 2
2654 done
2655 -done
2656 + done
2657 +IFS=$as_save_IFS
2661 CC=$ac_cv_prog_CC
2662 if test -n "$CC"; then
2663 - echo "$as_me:$LINENO: result: $CC" >&5
2664 -echo "${ECHO_T}$CC" >&6
2665 -else
2666 - echo "$as_me:$LINENO: result: no" >&5
2667 -echo "${ECHO_T}no" >&6
2671 -if test -z "$ac_cv_prog_CC"; then
2672 - ac_ct_CC=$CC
2673 - # Extract the first word of "cc", so it can be a program name with args.
2674 -set dummy cc; ac_word=$2
2675 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2676 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2677 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2678 - echo $ECHO_N "(cached) $ECHO_C" >&6
2679 -else
2680 - if test -n "$ac_ct_CC"; then
2681 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2682 -else
2683 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2684 -for as_dir in $PATH
2686 - IFS=$as_save_IFS
2687 - test -z "$as_dir" && as_dir=.
2688 - for ac_exec_ext in '' $ac_executable_extensions; do
2689 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2690 - ac_cv_prog_ac_ct_CC="cc"
2691 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2692 - break 2
2693 - fi
2694 -done
2695 -done
2699 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
2700 -if test -n "$ac_ct_CC"; then
2701 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2702 -echo "${ECHO_T}$ac_ct_CC" >&6
2703 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2704 +$as_echo "$CC" >&6; }
2705 else
2706 - echo "$as_me:$LINENO: result: no" >&5
2707 -echo "${ECHO_T}no" >&6
2708 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2709 +$as_echo "no" >&6; }
2712 - CC=$ac_ct_CC
2713 -else
2714 - CC="$ac_cv_prog_CC"
2717 + fi
2719 if test -z "$CC"; then
2720 # Extract the first word of "cc", so it can be a program name with args.
2721 set dummy cc; ac_word=$2
2722 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2723 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2724 -if test "${ac_cv_prog_CC+set}" = set; then
2725 - echo $ECHO_N "(cached) $ECHO_C" >&6
2726 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2727 +$as_echo_n "checking for $ac_word... " >&6; }
2728 +if test "${ac_cv_prog_CC+set}" = set; then :
2729 + $as_echo_n "(cached) " >&6
2730 else
2731 if test -n "$CC"; then
2732 ac_cv_prog_CC="$CC" # Let the user override the test.
2733 @@ -1644,18 +2408,19 @@
2735 IFS=$as_save_IFS
2736 test -z "$as_dir" && as_dir=.
2737 - for ac_exec_ext in '' $ac_executable_extensions; do
2738 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2739 + for ac_exec_ext in '' $ac_executable_extensions; do
2740 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2741 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2742 ac_prog_rejected=yes
2743 continue
2745 ac_cv_prog_CC="cc"
2746 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2747 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2748 break 2
2750 done
2751 -done
2752 + done
2753 +IFS=$as_save_IFS
2755 if test $ac_prog_rejected = yes; then
2756 # We found a bogon in the path, so make sure we never use it.
2757 @@ -1673,24 +2438,25 @@
2759 CC=$ac_cv_prog_CC
2760 if test -n "$CC"; then
2761 - echo "$as_me:$LINENO: result: $CC" >&5
2762 -echo "${ECHO_T}$CC" >&6
2763 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2764 +$as_echo "$CC" >&6; }
2765 else
2766 - echo "$as_me:$LINENO: result: no" >&5
2767 -echo "${ECHO_T}no" >&6
2768 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2769 +$as_echo "no" >&6; }
2774 if test -z "$CC"; then
2775 if test -n "$ac_tool_prefix"; then
2776 - for ac_prog in cl
2777 + for ac_prog in cl.exe
2779 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2780 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2781 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2782 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2783 -if test "${ac_cv_prog_CC+set}" = set; then
2784 - echo $ECHO_N "(cached) $ECHO_C" >&6
2785 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2786 +$as_echo_n "checking for $ac_word... " >&6; }
2787 +if test "${ac_cv_prog_CC+set}" = set; then :
2788 + $as_echo_n "(cached) " >&6
2789 else
2790 if test -n "$CC"; then
2791 ac_cv_prog_CC="$CC" # Let the user override the test.
2792 @@ -1700,39 +2466,41 @@
2794 IFS=$as_save_IFS
2795 test -z "$as_dir" && as_dir=.
2796 - for ac_exec_ext in '' $ac_executable_extensions; do
2797 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2798 + for ac_exec_ext in '' $ac_executable_extensions; do
2799 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2800 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2801 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2802 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2803 break 2
2805 done
2806 -done
2807 + done
2808 +IFS=$as_save_IFS
2812 CC=$ac_cv_prog_CC
2813 if test -n "$CC"; then
2814 - echo "$as_me:$LINENO: result: $CC" >&5
2815 -echo "${ECHO_T}$CC" >&6
2816 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2817 +$as_echo "$CC" >&6; }
2818 else
2819 - echo "$as_me:$LINENO: result: no" >&5
2820 -echo "${ECHO_T}no" >&6
2821 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2822 +$as_echo "no" >&6; }
2826 test -n "$CC" && break
2827 done
2829 if test -z "$CC"; then
2830 ac_ct_CC=$CC
2831 - for ac_prog in cl
2832 + for ac_prog in cl.exe
2834 # Extract the first word of "$ac_prog", so it can be a program name with args.
2835 set dummy $ac_prog; ac_word=$2
2836 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2837 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2838 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2839 - echo $ECHO_N "(cached) $ECHO_C" >&6
2840 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2841 +$as_echo_n "checking for $ac_word... " >&6; }
2842 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2843 + $as_echo_n "(cached) " >&6
2844 else
2845 if test -n "$ac_ct_CC"; then
2846 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2847 @@ -1742,66 +2510,78 @@
2849 IFS=$as_save_IFS
2850 test -z "$as_dir" && as_dir=.
2851 - for ac_exec_ext in '' $ac_executable_extensions; do
2852 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2853 + for ac_exec_ext in '' $ac_executable_extensions; do
2854 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2855 ac_cv_prog_ac_ct_CC="$ac_prog"
2856 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2857 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2858 break 2
2860 done
2861 -done
2862 + done
2863 +IFS=$as_save_IFS
2867 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2868 if test -n "$ac_ct_CC"; then
2869 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2870 -echo "${ECHO_T}$ac_ct_CC" >&6
2871 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2872 +$as_echo "$ac_ct_CC" >&6; }
2873 else
2874 - echo "$as_me:$LINENO: result: no" >&5
2875 -echo "${ECHO_T}no" >&6
2876 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2877 +$as_echo "no" >&6; }
2881 test -n "$ac_ct_CC" && break
2882 done
2884 - CC=$ac_ct_CC
2885 + if test "x$ac_ct_CC" = x; then
2886 + CC=""
2887 + else
2888 + case $cross_compiling:$ac_tool_warned in
2889 +yes:)
2890 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2891 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2892 +ac_tool_warned=yes ;;
2893 +esac
2894 + CC=$ac_ct_CC
2895 + fi
2901 -test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2902 -See \`config.log' for more details." >&5
2903 -echo "$as_me: error: no acceptable C compiler found in \$PATH
2904 -See \`config.log' for more details." >&2;}
2905 - { (exit 1); exit 1; }; }
2906 +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2907 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2908 +as_fn_error $? "no acceptable C compiler found in \$PATH
2909 +See \`config.log' for more details" "$LINENO" 5; }
2911 # Provide some information about the compiler.
2912 -echo "$as_me:$LINENO:" \
2913 - "checking for C compiler version" >&5
2914 -ac_compiler=`set X $ac_compile; echo $2`
2915 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2916 - (eval $ac_compiler --version </dev/null >&5) 2>&5
2917 - ac_status=$?
2918 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
2919 - (exit $ac_status); }
2920 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2921 - (eval $ac_compiler -v </dev/null >&5) 2>&5
2922 - ac_status=$?
2923 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
2924 - (exit $ac_status); }
2925 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2926 - (eval $ac_compiler -V </dev/null >&5) 2>&5
2927 +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2928 +set X $ac_compile
2929 +ac_compiler=$2
2930 +for ac_option in --version -v -V -qversion; do
2931 + { { ac_try="$ac_compiler $ac_option >&5"
2932 +case "(($ac_try" in
2933 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2934 + *) ac_try_echo=$ac_try;;
2935 +esac
2936 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2937 +$as_echo "$ac_try_echo"; } >&5
2938 + (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2939 ac_status=$?
2940 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
2941 - (exit $ac_status); }
2942 + if test -s conftest.err; then
2943 + sed '10a\
2944 +... rest of stderr output deleted ...
2945 + 10q' conftest.err >conftest.er1
2946 + cat conftest.er1 >&5
2947 + fi
2948 + rm -f conftest.er1 conftest.err
2949 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2950 + test $ac_status = 0; }
2951 +done
2953 -cat >conftest.$ac_ext <<_ACEOF
2954 -/* confdefs.h. */
2955 -_ACEOF
2956 -cat confdefs.h >>conftest.$ac_ext
2957 -cat >>conftest.$ac_ext <<_ACEOF
2958 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2959 /* end confdefs.h. */
2962 @@ -1813,112 +2593,108 @@
2964 _ACEOF
2965 ac_clean_files_save=$ac_clean_files
2966 -ac_clean_files="$ac_clean_files a.out a.exe b.out"
2967 +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2968 # Try to create an executable without -o first, disregard a.out.
2969 # It will help us diagnose broken compilers, and finding out an intuition
2970 # of exeext.
2971 -echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2972 -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2973 -ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2974 -if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2975 - (eval $ac_link_default) 2>&5
2976 - ac_status=$?
2977 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
2978 - (exit $ac_status); }; then
2979 - # Find the output, starting from the most likely. This scheme is
2980 -# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2981 -# resort.
2983 -# Be careful to initialize this variable, since it used to be cached.
2984 -# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2985 -ac_cv_exeext=
2986 -# b.out is created by i960 compilers.
2987 -for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2988 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2989 +$as_echo_n "checking whether the C compiler works... " >&6; }
2990 +ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2992 +# The possible output files:
2993 +ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2995 +ac_rmfiles=
2996 +for ac_file in $ac_files
2998 + case $ac_file in
2999 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3000 + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3001 + esac
3002 +done
3003 +rm -f $ac_rmfiles
3005 +if { { ac_try="$ac_link_default"
3006 +case "(($ac_try" in
3007 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3008 + *) ac_try_echo=$ac_try;;
3009 +esac
3010 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3011 +$as_echo "$ac_try_echo"; } >&5
3012 + (eval "$ac_link_default") 2>&5
3013 + ac_status=$?
3014 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3015 + test $ac_status = 0; }; then :
3016 + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3017 +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3018 +# in a Makefile. We should not override ac_cv_exeext if it was cached,
3019 +# so that the user can short-circuit this test for compilers unknown to
3020 +# Autoconf.
3021 +for ac_file in $ac_files ''
3023 test -f "$ac_file" || continue
3024 case $ac_file in
3025 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
3026 - ;;
3027 - conftest.$ac_ext )
3028 - # This is the source file.
3029 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3031 [ab].out )
3032 # We found the default executable, but exeext='' is most
3033 # certainly right.
3034 break;;
3035 *.* )
3036 - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3037 - # FIXME: I believe we export ac_cv_exeext for Libtool,
3038 - # but it would be cool to find out if it's true. Does anybody
3039 - # maintain Libtool? --akim.
3040 - export ac_cv_exeext
3041 + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3042 + then :; else
3043 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3044 + fi
3045 + # We set ac_cv_exeext here because the later test for it is not
3046 + # safe: cross compilers may not add the suffix if given an `-o'
3047 + # argument, so we may need to know it at that point already.
3048 + # Even if this section looks crufty: it has the advantage of
3049 + # actually working.
3050 break;;
3052 break;;
3053 esac
3054 done
3055 -else
3056 - echo "$as_me: failed program was:" >&5
3057 -sed 's/^/| /' conftest.$ac_ext >&5
3058 +test "$ac_cv_exeext" = no && ac_cv_exeext=
3060 -{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
3061 -See \`config.log' for more details." >&5
3062 -echo "$as_me: error: C compiler cannot create executables
3063 -See \`config.log' for more details." >&2;}
3064 - { (exit 77); exit 77; }; }
3065 +else
3066 + ac_file=''
3068 +if test -z "$ac_file"; then :
3069 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3070 +$as_echo "no" >&6; }
3071 +$as_echo "$as_me: failed program was:" >&5
3072 +sed 's/^/| /' conftest.$ac_ext >&5
3074 +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3075 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3076 +as_fn_error 77 "C compiler cannot create executables
3077 +See \`config.log' for more details" "$LINENO" 5; }
3078 +else
3079 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3080 +$as_echo "yes" >&6; }
3082 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3083 +$as_echo_n "checking for C compiler default output file name... " >&6; }
3084 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3085 +$as_echo "$ac_file" >&6; }
3086 ac_exeext=$ac_cv_exeext
3087 -echo "$as_me:$LINENO: result: $ac_file" >&5
3088 -echo "${ECHO_T}$ac_file" >&6
3090 -# Check the compiler produces executables we can run. If not, either
3091 -# the compiler is broken, or we cross compile.
3092 -echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3093 -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
3094 -# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3095 -# If not cross compiling, check that we can run a simple program.
3096 -if test "$cross_compiling" != yes; then
3097 - if { ac_try='./$ac_file'
3098 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3099 - (eval $ac_try) 2>&5
3100 - ac_status=$?
3101 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3102 - (exit $ac_status); }; }; then
3103 - cross_compiling=no
3104 - else
3105 - if test "$cross_compiling" = maybe; then
3106 - cross_compiling=yes
3107 - else
3108 - { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3109 -If you meant to cross compile, use \`--host'.
3110 -See \`config.log' for more details." >&5
3111 -echo "$as_me: error: cannot run C compiled programs.
3112 -If you meant to cross compile, use \`--host'.
3113 -See \`config.log' for more details." >&2;}
3114 - { (exit 1); exit 1; }; }
3115 - fi
3116 - fi
3118 -echo "$as_me:$LINENO: result: yes" >&5
3119 -echo "${ECHO_T}yes" >&6
3121 -rm -f a.out a.exe conftest$ac_cv_exeext b.out
3122 +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3123 ac_clean_files=$ac_clean_files_save
3124 -# Check the compiler produces executables we can run. If not, either
3125 -# the compiler is broken, or we cross compile.
3126 -echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3127 -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3128 -echo "$as_me:$LINENO: result: $cross_compiling" >&5
3129 -echo "${ECHO_T}$cross_compiling" >&6
3131 -echo "$as_me:$LINENO: checking for suffix of executables" >&5
3132 -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3133 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3134 - (eval $ac_link) 2>&5
3135 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3136 +$as_echo_n "checking for suffix of executables... " >&6; }
3137 +if { { ac_try="$ac_link"
3138 +case "(($ac_try" in
3139 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3140 + *) ac_try_echo=$ac_try;;
3141 +esac
3142 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3143 +$as_echo "$ac_try_echo"; } >&5
3144 + (eval "$ac_link") 2>&5
3145 ac_status=$?
3146 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3147 - (exit $ac_status); }; then
3148 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3149 + test $ac_status = 0; }; then :
3150 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3151 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3152 # work properly (i.e., refer to `conftest.exe'), while it won't with
3153 @@ -1926,88 +2702,141 @@
3154 for ac_file in conftest.exe conftest conftest.*; do
3155 test -f "$ac_file" || continue
3156 case $ac_file in
3157 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
3158 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3159 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3160 - export ac_cv_exeext
3161 break;;
3162 * ) break;;
3163 esac
3164 done
3165 else
3166 - { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3167 -See \`config.log' for more details." >&5
3168 -echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3169 -See \`config.log' for more details." >&2;}
3170 - { (exit 1); exit 1; }; }
3173 -rm -f conftest$ac_cv_exeext
3174 -echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3175 -echo "${ECHO_T}$ac_cv_exeext" >&6
3176 + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3177 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3178 +as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3179 +See \`config.log' for more details" "$LINENO" 5; }
3181 +rm -f conftest conftest$ac_cv_exeext
3182 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3183 +$as_echo "$ac_cv_exeext" >&6; }
3185 rm -f conftest.$ac_ext
3186 EXEEXT=$ac_cv_exeext
3187 ac_exeext=$EXEEXT
3188 -echo "$as_me:$LINENO: checking for suffix of object files" >&5
3189 -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3190 -if test "${ac_cv_objext+set}" = set; then
3191 - echo $ECHO_N "(cached) $ECHO_C" >&6
3192 -else
3193 - cat >conftest.$ac_ext <<_ACEOF
3194 -/* confdefs.h. */
3195 -_ACEOF
3196 -cat confdefs.h >>conftest.$ac_ext
3197 -cat >>conftest.$ac_ext <<_ACEOF
3198 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3199 /* end confdefs.h. */
3201 +#include <stdio.h>
3203 main ()
3205 +FILE *f = fopen ("conftest.out", "w");
3206 + return ferror (f) || fclose (f) != 0;
3209 return 0;
3211 _ACEOF
3212 -rm -f conftest.o conftest.obj
3213 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3214 - (eval $ac_compile) 2>&5
3215 - ac_status=$?
3216 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3217 - (exit $ac_status); }; then
3218 - for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3219 +ac_clean_files="$ac_clean_files conftest.out"
3220 +# Check that the compiler produces executables we can run. If not, either
3221 +# the compiler is broken, or we cross compile.
3222 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3223 +$as_echo_n "checking whether we are cross compiling... " >&6; }
3224 +if test "$cross_compiling" != yes; then
3225 + { { ac_try="$ac_link"
3226 +case "(($ac_try" in
3227 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3228 + *) ac_try_echo=$ac_try;;
3229 +esac
3230 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3231 +$as_echo "$ac_try_echo"; } >&5
3232 + (eval "$ac_link") 2>&5
3233 + ac_status=$?
3234 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3235 + test $ac_status = 0; }
3236 + if { ac_try='./conftest$ac_cv_exeext'
3237 + { { case "(($ac_try" in
3238 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3239 + *) ac_try_echo=$ac_try;;
3240 +esac
3241 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3242 +$as_echo "$ac_try_echo"; } >&5
3243 + (eval "$ac_try") 2>&5
3244 + ac_status=$?
3245 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3246 + test $ac_status = 0; }; }; then
3247 + cross_compiling=no
3248 + else
3249 + if test "$cross_compiling" = maybe; then
3250 + cross_compiling=yes
3251 + else
3252 + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3253 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3254 +as_fn_error $? "cannot run C compiled programs.
3255 +If you meant to cross compile, use \`--host'.
3256 +See \`config.log' for more details" "$LINENO" 5; }
3257 + fi
3258 + fi
3260 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3261 +$as_echo "$cross_compiling" >&6; }
3263 +rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3264 +ac_clean_files=$ac_clean_files_save
3265 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3266 +$as_echo_n "checking for suffix of object files... " >&6; }
3267 +if test "${ac_cv_objext+set}" = set; then :
3268 + $as_echo_n "(cached) " >&6
3269 +else
3270 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3271 +/* end confdefs.h. */
3273 +int
3274 +main ()
3278 + return 0;
3280 +_ACEOF
3281 +rm -f conftest.o conftest.obj
3282 +if { { ac_try="$ac_compile"
3283 +case "(($ac_try" in
3284 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3285 + *) ac_try_echo=$ac_try;;
3286 +esac
3287 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3288 +$as_echo "$ac_try_echo"; } >&5
3289 + (eval "$ac_compile") 2>&5
3290 + ac_status=$?
3291 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3292 + test $ac_status = 0; }; then :
3293 + for ac_file in conftest.o conftest.obj conftest.*; do
3294 + test -f "$ac_file" || continue;
3295 case $ac_file in
3296 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
3297 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3298 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3299 break;;
3300 esac
3301 done
3302 else
3303 - echo "$as_me: failed program was:" >&5
3304 + $as_echo "$as_me: failed program was:" >&5
3305 sed 's/^/| /' conftest.$ac_ext >&5
3307 -{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3308 -See \`config.log' for more details." >&5
3309 -echo "$as_me: error: cannot compute suffix of object files: cannot compile
3310 -See \`config.log' for more details." >&2;}
3311 - { (exit 1); exit 1; }; }
3312 +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3313 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3314 +as_fn_error $? "cannot compute suffix of object files: cannot compile
3315 +See \`config.log' for more details" "$LINENO" 5; }
3318 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3320 -echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3321 -echo "${ECHO_T}$ac_cv_objext" >&6
3322 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3323 +$as_echo "$ac_cv_objext" >&6; }
3324 OBJEXT=$ac_cv_objext
3325 ac_objext=$OBJEXT
3326 -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3327 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3328 -if test "${ac_cv_c_compiler_gnu+set}" = set; then
3329 - echo $ECHO_N "(cached) $ECHO_C" >&6
3330 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3331 +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3332 +if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3333 + $as_echo_n "(cached) " >&6
3334 else
3335 - cat >conftest.$ac_ext <<_ACEOF
3336 -/* confdefs.h. */
3337 -_ACEOF
3338 -cat confdefs.h >>conftest.$ac_ext
3339 -cat >>conftest.$ac_ext <<_ACEOF
3340 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3341 /* end confdefs.h. */
3344 @@ -2021,55 +2850,34 @@
3345 return 0;
3347 _ACEOF
3348 -rm -f conftest.$ac_objext
3349 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3350 - (eval $ac_compile) 2>conftest.er1
3351 - ac_status=$?
3352 - grep -v '^ *+' conftest.er1 >conftest.err
3353 - rm -f conftest.er1
3354 - cat conftest.err >&5
3355 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3356 - (exit $ac_status); } &&
3357 - { ac_try='test -z "$ac_c_werror_flag"
3358 - || test ! -s conftest.err'
3359 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3360 - (eval $ac_try) 2>&5
3361 - ac_status=$?
3362 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3363 - (exit $ac_status); }; } &&
3364 - { ac_try='test -s conftest.$ac_objext'
3365 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3366 - (eval $ac_try) 2>&5
3367 - ac_status=$?
3368 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3369 - (exit $ac_status); }; }; then
3370 +if ac_fn_c_try_compile "$LINENO"; then :
3371 ac_compiler_gnu=yes
3372 else
3373 - echo "$as_me: failed program was:" >&5
3374 -sed 's/^/| /' conftest.$ac_ext >&5
3376 -ac_compiler_gnu=no
3377 + ac_compiler_gnu=no
3379 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3380 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3381 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3384 -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3385 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3386 -GCC=`test $ac_compiler_gnu = yes && echo yes`
3387 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3388 +$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3389 +if test $ac_compiler_gnu = yes; then
3390 + GCC=yes
3391 +else
3392 + GCC=
3394 ac_test_CFLAGS=${CFLAGS+set}
3395 ac_save_CFLAGS=$CFLAGS
3396 -CFLAGS="-g"
3397 -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3398 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3399 -if test "${ac_cv_prog_cc_g+set}" = set; then
3400 - echo $ECHO_N "(cached) $ECHO_C" >&6
3401 -else
3402 - cat >conftest.$ac_ext <<_ACEOF
3403 -/* confdefs.h. */
3404 -_ACEOF
3405 -cat confdefs.h >>conftest.$ac_ext
3406 -cat >>conftest.$ac_ext <<_ACEOF
3407 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3408 +$as_echo_n "checking whether $CC accepts -g... " >&6; }
3409 +if test "${ac_cv_prog_cc_g+set}" = set; then :
3410 + $as_echo_n "(cached) " >&6
3411 +else
3412 + ac_save_c_werror_flag=$ac_c_werror_flag
3413 + ac_c_werror_flag=yes
3414 + ac_cv_prog_cc_g=no
3415 + CFLAGS="-g"
3416 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3417 /* end confdefs.h. */
3420 @@ -2080,39 +2888,49 @@
3421 return 0;
3423 _ACEOF
3424 -rm -f conftest.$ac_objext
3425 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3426 - (eval $ac_compile) 2>conftest.er1
3427 - ac_status=$?
3428 - grep -v '^ *+' conftest.er1 >conftest.err
3429 - rm -f conftest.er1
3430 - cat conftest.err >&5
3431 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3432 - (exit $ac_status); } &&
3433 - { ac_try='test -z "$ac_c_werror_flag"
3434 - || test ! -s conftest.err'
3435 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3436 - (eval $ac_try) 2>&5
3437 - ac_status=$?
3438 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3439 - (exit $ac_status); }; } &&
3440 - { ac_try='test -s conftest.$ac_objext'
3441 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3442 - (eval $ac_try) 2>&5
3443 - ac_status=$?
3444 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3445 - (exit $ac_status); }; }; then
3446 +if ac_fn_c_try_compile "$LINENO"; then :
3447 ac_cv_prog_cc_g=yes
3448 else
3449 - echo "$as_me: failed program was:" >&5
3450 -sed 's/^/| /' conftest.$ac_ext >&5
3451 + CFLAGS=""
3452 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3453 +/* end confdefs.h. */
3455 +int
3456 +main ()
3460 + return 0;
3462 +_ACEOF
3463 +if ac_fn_c_try_compile "$LINENO"; then :
3465 +else
3466 + ac_c_werror_flag=$ac_save_c_werror_flag
3467 + CFLAGS="-g"
3468 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3469 +/* end confdefs.h. */
3471 +int
3472 +main ()
3475 -ac_cv_prog_cc_g=no
3477 + return 0;
3479 +_ACEOF
3480 +if ac_fn_c_try_compile "$LINENO"; then :
3481 + ac_cv_prog_cc_g=yes
3483 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3485 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3487 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3488 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3489 + ac_c_werror_flag=$ac_save_c_werror_flag
3491 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3492 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3493 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3494 +$as_echo "$ac_cv_prog_cc_g" >&6; }
3495 if test "$ac_test_CFLAGS" = set; then
3496 CFLAGS=$ac_save_CFLAGS
3497 elif test $ac_cv_prog_cc_g = yes; then
3498 @@ -2128,18 +2946,14 @@
3499 CFLAGS=
3502 -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3503 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3504 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
3505 - echo $ECHO_N "(cached) $ECHO_C" >&6
3506 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3507 +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3508 +if test "${ac_cv_prog_cc_c89+set}" = set; then :
3509 + $as_echo_n "(cached) " >&6
3510 else
3511 - ac_cv_prog_cc_stdc=no
3512 + ac_cv_prog_cc_c89=no
3513 ac_save_CC=$CC
3514 -cat >conftest.$ac_ext <<_ACEOF
3515 -/* confdefs.h. */
3516 -_ACEOF
3517 -cat confdefs.h >>conftest.$ac_ext
3518 -cat >>conftest.$ac_ext <<_ACEOF
3519 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3520 /* end confdefs.h. */
3521 #include <stdarg.h>
3522 #include <stdio.h>
3523 @@ -2167,12 +2981,17 @@
3524 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3525 function prototypes and stuff, but not '\xHH' hex character constants.
3526 These don't provoke an error unfortunately, instead are silently treated
3527 - as 'x'. The following induces an error, until -std1 is added to get
3528 + as 'x'. The following induces an error, until -std is added to get
3529 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3530 array size at least. It's necessary to write '\x00'==0 to get something
3531 - that's true only with -std1. */
3532 + that's true only with -std. */
3533 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3535 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3536 + inside strings and character constants. */
3537 +#define FOO(x) 'x'
3538 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3540 int test (int i, double x);
3541 struct s1 {int (*f) (int a);};
3542 struct s2 {int (*f) (double a);};
3543 @@ -2187,205 +3006,37 @@
3544 return 0;
3546 _ACEOF
3547 -# Don't try gcc -ansi; that turns off useful extensions and
3548 -# breaks some systems' header files.
3549 -# AIX -qlanglvl=ansi
3550 -# Ultrix and OSF/1 -std1
3551 -# HP-UX 10.20 and later -Ae
3552 -# HP-UX older versions -Aa -D_HPUX_SOURCE
3553 -# SVR4 -Xc -D__EXTENSIONS__
3554 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3555 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3556 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3558 CC="$ac_save_CC $ac_arg"
3559 - rm -f conftest.$ac_objext
3560 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3561 - (eval $ac_compile) 2>conftest.er1
3562 - ac_status=$?
3563 - grep -v '^ *+' conftest.er1 >conftest.err
3564 - rm -f conftest.er1
3565 - cat conftest.err >&5
3566 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3567 - (exit $ac_status); } &&
3568 - { ac_try='test -z "$ac_c_werror_flag"
3569 - || test ! -s conftest.err'
3570 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3571 - (eval $ac_try) 2>&5
3572 - ac_status=$?
3573 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3574 - (exit $ac_status); }; } &&
3575 - { ac_try='test -s conftest.$ac_objext'
3576 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3577 - (eval $ac_try) 2>&5
3578 - ac_status=$?
3579 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3580 - (exit $ac_status); }; }; then
3581 - ac_cv_prog_cc_stdc=$ac_arg
3582 -break
3583 -else
3584 - echo "$as_me: failed program was:" >&5
3585 -sed 's/^/| /' conftest.$ac_ext >&5
3587 + if ac_fn_c_try_compile "$LINENO"; then :
3588 + ac_cv_prog_cc_c89=$ac_arg
3590 -rm -f conftest.err conftest.$ac_objext
3591 +rm -f core conftest.err conftest.$ac_objext
3592 + test "x$ac_cv_prog_cc_c89" != "xno" && break
3593 done
3594 -rm -f conftest.$ac_ext conftest.$ac_objext
3595 +rm -f conftest.$ac_ext
3596 CC=$ac_save_CC
3600 -case "x$ac_cv_prog_cc_stdc" in
3601 - x|xno)
3602 - echo "$as_me:$LINENO: result: none needed" >&5
3603 -echo "${ECHO_T}none needed" >&6 ;;
3604 +# AC_CACHE_VAL
3605 +case "x$ac_cv_prog_cc_c89" in
3606 + x)
3607 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3608 +$as_echo "none needed" >&6; } ;;
3609 + xno)
3610 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3611 +$as_echo "unsupported" >&6; } ;;
3613 - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3614 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3615 - CC="$CC $ac_cv_prog_cc_stdc" ;;
3616 + CC="$CC $ac_cv_prog_cc_c89"
3617 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3618 +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3619 esac
3620 +if test "x$ac_cv_prog_cc_c89" != xno; then :
3622 -# Some people use a C++ compiler to compile C. Since we use `exit',
3623 -# in C++ we need to declare it. In case someone uses the same compiler
3624 -# for both compiling C and C++ we need to have the C++ compiler decide
3625 -# the declaration of exit, since it's the most demanding environment.
3626 -cat >conftest.$ac_ext <<_ACEOF
3627 -#ifndef __cplusplus
3628 - choke me
3629 -#endif
3630 -_ACEOF
3631 -rm -f conftest.$ac_objext
3632 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3633 - (eval $ac_compile) 2>conftest.er1
3634 - ac_status=$?
3635 - grep -v '^ *+' conftest.er1 >conftest.err
3636 - rm -f conftest.er1
3637 - cat conftest.err >&5
3638 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3639 - (exit $ac_status); } &&
3640 - { ac_try='test -z "$ac_c_werror_flag"
3641 - || test ! -s conftest.err'
3642 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3643 - (eval $ac_try) 2>&5
3644 - ac_status=$?
3645 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3646 - (exit $ac_status); }; } &&
3647 - { ac_try='test -s conftest.$ac_objext'
3648 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3649 - (eval $ac_try) 2>&5
3650 - ac_status=$?
3651 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3652 - (exit $ac_status); }; }; then
3653 - for ac_declaration in \
3654 - '' \
3655 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
3656 - 'extern "C" void std::exit (int); using std::exit;' \
3657 - 'extern "C" void exit (int) throw ();' \
3658 - 'extern "C" void exit (int);' \
3659 - 'void exit (int);'
3661 - cat >conftest.$ac_ext <<_ACEOF
3662 -/* confdefs.h. */
3663 -_ACEOF
3664 -cat confdefs.h >>conftest.$ac_ext
3665 -cat >>conftest.$ac_ext <<_ACEOF
3666 -/* end confdefs.h. */
3667 -$ac_declaration
3668 -#include <stdlib.h>
3669 -int
3670 -main ()
3672 -exit (42);
3674 - return 0;
3676 -_ACEOF
3677 -rm -f conftest.$ac_objext
3678 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3679 - (eval $ac_compile) 2>conftest.er1
3680 - ac_status=$?
3681 - grep -v '^ *+' conftest.er1 >conftest.err
3682 - rm -f conftest.er1
3683 - cat conftest.err >&5
3684 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3685 - (exit $ac_status); } &&
3686 - { ac_try='test -z "$ac_c_werror_flag"
3687 - || test ! -s conftest.err'
3688 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3689 - (eval $ac_try) 2>&5
3690 - ac_status=$?
3691 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3692 - (exit $ac_status); }; } &&
3693 - { ac_try='test -s conftest.$ac_objext'
3694 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3695 - (eval $ac_try) 2>&5
3696 - ac_status=$?
3697 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3698 - (exit $ac_status); }; }; then
3700 -else
3701 - echo "$as_me: failed program was:" >&5
3702 -sed 's/^/| /' conftest.$ac_ext >&5
3704 -continue
3706 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3707 - cat >conftest.$ac_ext <<_ACEOF
3708 -/* confdefs.h. */
3709 -_ACEOF
3710 -cat confdefs.h >>conftest.$ac_ext
3711 -cat >>conftest.$ac_ext <<_ACEOF
3712 -/* end confdefs.h. */
3713 -$ac_declaration
3714 -int
3715 -main ()
3717 -exit (42);
3719 - return 0;
3721 -_ACEOF
3722 -rm -f conftest.$ac_objext
3723 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3724 - (eval $ac_compile) 2>conftest.er1
3725 - ac_status=$?
3726 - grep -v '^ *+' conftest.er1 >conftest.err
3727 - rm -f conftest.er1
3728 - cat conftest.err >&5
3729 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3730 - (exit $ac_status); } &&
3731 - { ac_try='test -z "$ac_c_werror_flag"
3732 - || test ! -s conftest.err'
3733 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3734 - (eval $ac_try) 2>&5
3735 - ac_status=$?
3736 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3737 - (exit $ac_status); }; } &&
3738 - { ac_try='test -s conftest.$ac_objext'
3739 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3740 - (eval $ac_try) 2>&5
3741 - ac_status=$?
3742 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3743 - (exit $ac_status); }; }; then
3744 - break
3745 -else
3746 - echo "$as_me: failed program was:" >&5
3747 -sed 's/^/| /' conftest.$ac_ext >&5
3750 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3751 -done
3752 -rm -f conftest*
3753 -if test -n "$ac_declaration"; then
3754 - echo '#ifdef __cplusplus' >>confdefs.h
3755 - echo $ac_declaration >>confdefs.h
3756 - echo '#endif' >>confdefs.h
3759 -else
3760 - echo "$as_me: failed program was:" >&5
3761 -sed 's/^/| /' conftest.$ac_ext >&5
3764 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3765 ac_ext=c
3766 ac_cpp='$CPP $CPPFLAGS'
3767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3768 @@ -2393,29 +3044,33 @@
3769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3771 ac_aux_dir=
3772 -for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
3773 - if test -f $ac_dir/install-sh; then
3774 +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3775 + if test -f "$ac_dir/install-sh"; then
3776 ac_aux_dir=$ac_dir
3777 ac_install_sh="$ac_aux_dir/install-sh -c"
3778 break
3779 - elif test -f $ac_dir/install.sh; then
3780 + elif test -f "$ac_dir/install.sh"; then
3781 ac_aux_dir=$ac_dir
3782 ac_install_sh="$ac_aux_dir/install.sh -c"
3783 break
3784 - elif test -f $ac_dir/shtool; then
3785 + elif test -f "$ac_dir/shtool"; then
3786 ac_aux_dir=$ac_dir
3787 ac_install_sh="$ac_aux_dir/shtool install -c"
3788 break
3790 done
3791 if test -z "$ac_aux_dir"; then
3792 - { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
3793 -echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
3794 - { (exit 1); exit 1; }; }
3796 -ac_config_guess="$SHELL $ac_aux_dir/config.guess"
3797 -ac_config_sub="$SHELL $ac_aux_dir/config.sub"
3798 -ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
3799 + as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3802 +# These three variables are undocumented and unsupported,
3803 +# and are intended to be withdrawn in a future Autoconf release.
3804 +# They can cause serious problems if a builder's source tree is in a directory
3805 +# whose full name contains unusual characters.
3806 +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3807 +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3808 +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3811 # Find a good install program. We prefer a C program (faster),
3812 # so one script is as good as another. But avoid the broken or
3813 @@ -2430,22 +3085,23 @@
3814 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3815 # OS/2's system install, which has a completely different semantic
3816 # ./install, which can be erroneously created by make from ./install.sh.
3817 -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3818 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3819 +# Reject install programs that cannot install multiple files.
3820 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3821 +$as_echo_n "checking for a BSD-compatible install... " >&6; }
3822 if test -z "$INSTALL"; then
3823 -if test "${ac_cv_path_install+set}" = set; then
3824 - echo $ECHO_N "(cached) $ECHO_C" >&6
3825 +if test "${ac_cv_path_install+set}" = set; then :
3826 + $as_echo_n "(cached) " >&6
3827 else
3828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3829 for as_dir in $PATH
3831 IFS=$as_save_IFS
3832 test -z "$as_dir" && as_dir=.
3833 - # Account for people who put trailing slashes in PATH elements.
3834 -case $as_dir/ in
3835 - ./ | .// | /cC/* | \
3836 + # Account for people who put trailing slashes in PATH elements.
3837 +case $as_dir/ in #((
3838 + ./ | .// | /[cC]/* | \
3839 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3840 - ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3841 + ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3842 /usr/ucb/* ) ;;
3844 # OSF1 and SCO ODT 3.0 have their own names for install.
3845 @@ -2453,7 +3109,7 @@
3846 # by default.
3847 for ac_prog in ginstall scoinst install; do
3848 for ac_exec_ext in '' $ac_executable_extensions; do
3849 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3850 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3851 if test $ac_prog = install &&
3852 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3853 # AIX install. It has an incompatible calling convention.
3854 @@ -2463,30 +3119,43 @@
3855 # program-specific install script used by HP pwplus--don't use.
3857 else
3858 - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3859 - break 3
3860 + rm -rf conftest.one conftest.two conftest.dir
3861 + echo one > conftest.one
3862 + echo two > conftest.two
3863 + mkdir conftest.dir
3864 + if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3865 + test -s conftest.one && test -s conftest.two &&
3866 + test -s conftest.dir/conftest.one &&
3867 + test -s conftest.dir/conftest.two
3868 + then
3869 + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3870 + break 3
3871 + fi
3874 done
3875 done
3877 esac
3878 -done
3880 + done
3881 +IFS=$as_save_IFS
3883 +rm -rf conftest.one conftest.two conftest.dir
3886 if test "${ac_cv_path_install+set}" = set; then
3887 INSTALL=$ac_cv_path_install
3888 else
3889 - # As a last resort, use the slow shell script. We don't cache a
3890 - # path for INSTALL within a source directory, because that will
3891 + # As a last resort, use the slow shell script. Don't cache a
3892 + # value for INSTALL within a source directory, because that will
3893 # break other packages using the cache if that directory is
3894 - # removed, or if the path is relative.
3895 + # removed, or if the value is a relative name.
3896 INSTALL=$ac_install_sh
3899 -echo "$as_me:$LINENO: result: $INSTALL" >&5
3900 -echo "${ECHO_T}$INSTALL" >&6
3901 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3902 +$as_echo "$INSTALL" >&6; }
3904 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3905 # It thinks the first close brace ends the variable substitution.
3906 @@ -2499,10 +3168,10 @@
3907 if test -n "$ac_tool_prefix"; then
3908 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3909 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3910 -echo "$as_me:$LINENO: checking for $ac_word" >&5
3911 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3912 -if test "${ac_cv_prog_RANLIB+set}" = set; then
3913 - echo $ECHO_N "(cached) $ECHO_C" >&6
3914 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3915 +$as_echo_n "checking for $ac_word... " >&6; }
3916 +if test "${ac_cv_prog_RANLIB+set}" = set; then :
3917 + $as_echo_n "(cached) " >&6
3918 else
3919 if test -n "$RANLIB"; then
3920 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3921 @@ -2512,35 +3181,37 @@
3923 IFS=$as_save_IFS
3924 test -z "$as_dir" && as_dir=.
3925 - for ac_exec_ext in '' $ac_executable_extensions; do
3926 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3927 + for ac_exec_ext in '' $ac_executable_extensions; do
3928 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3929 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3930 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3931 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3932 break 2
3934 done
3935 -done
3936 + done
3937 +IFS=$as_save_IFS
3941 RANLIB=$ac_cv_prog_RANLIB
3942 if test -n "$RANLIB"; then
3943 - echo "$as_me:$LINENO: result: $RANLIB" >&5
3944 -echo "${ECHO_T}$RANLIB" >&6
3945 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3946 +$as_echo "$RANLIB" >&6; }
3947 else
3948 - echo "$as_me:$LINENO: result: no" >&5
3949 -echo "${ECHO_T}no" >&6
3950 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3951 +$as_echo "no" >&6; }
3956 if test -z "$ac_cv_prog_RANLIB"; then
3957 ac_ct_RANLIB=$RANLIB
3958 # Extract the first word of "ranlib", so it can be a program name with args.
3959 set dummy ranlib; ac_word=$2
3960 -echo "$as_me:$LINENO: checking for $ac_word" >&5
3961 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3962 -if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3963 - echo $ECHO_N "(cached) $ECHO_C" >&6
3964 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3965 +$as_echo_n "checking for $ac_word... " >&6; }
3966 +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
3967 + $as_echo_n "(cached) " >&6
3968 else
3969 if test -n "$ac_ct_RANLIB"; then
3970 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3971 @@ -2550,36 +3221,45 @@
3973 IFS=$as_save_IFS
3974 test -z "$as_dir" && as_dir=.
3975 - for ac_exec_ext in '' $ac_executable_extensions; do
3976 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3977 + for ac_exec_ext in '' $ac_executable_extensions; do
3978 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3979 ac_cv_prog_ac_ct_RANLIB="ranlib"
3980 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3981 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3982 break 2
3984 done
3985 -done
3986 + done
3987 +IFS=$as_save_IFS
3989 - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3992 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3993 if test -n "$ac_ct_RANLIB"; then
3994 - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3995 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
3996 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3997 +$as_echo "$ac_ct_RANLIB" >&6; }
3998 else
3999 - echo "$as_me:$LINENO: result: no" >&5
4000 -echo "${ECHO_T}no" >&6
4001 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4002 +$as_echo "no" >&6; }
4005 - RANLIB=$ac_ct_RANLIB
4006 + if test "x$ac_ct_RANLIB" = x; then
4007 + RANLIB=":"
4008 + else
4009 + case $cross_compiling:$ac_tool_warned in
4010 +yes:)
4011 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4012 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4013 +ac_tool_warned=yes ;;
4014 +esac
4015 + RANLIB=$ac_ct_RANLIB
4016 + fi
4017 else
4018 RANLIB="$ac_cv_prog_RANLIB"
4021 -# Check whether --enable-shared or --disable-shared was given.
4022 -if test "${enable_shared+set}" = set; then
4023 - enableval="$enable_shared"
4024 - p=${PACKAGE-default}
4025 +# Check whether --enable-shared was given.
4026 +if test "${enable_shared+set}" = set; then :
4027 + enableval=$enable_shared; p=${PACKAGE-default}
4028 case $enableval in
4029 yes) enable_shared=yes ;;
4030 no) enable_shared=no ;;
4031 @@ -2597,11 +3277,11 @@
4032 esac
4033 else
4034 enable_shared=yes
4035 -fi;
4036 -# Check whether --enable-static or --disable-static was given.
4037 -if test "${enable_static+set}" = set; then
4038 - enableval="$enable_static"
4039 - p=${PACKAGE-default}
4042 +# Check whether --enable-static was given.
4043 +if test "${enable_static+set}" = set; then :
4044 + enableval=$enable_static; p=${PACKAGE-default}
4045 case $enableval in
4046 yes) enable_static=yes ;;
4047 no) enable_static=no ;;
4048 @@ -2619,11 +3299,11 @@
4049 esac
4050 else
4051 enable_static=yes
4052 -fi;
4053 -# Check whether --enable-fast-install or --disable-fast-install was given.
4054 -if test "${enable_fast_install+set}" = set; then
4055 - enableval="$enable_fast_install"
4056 - p=${PACKAGE-default}
4059 +# Check whether --enable-fast-install was given.
4060 +if test "${enable_fast_install+set}" = set; then :
4061 + enableval=$enable_fast_install; p=${PACKAGE-default}
4062 case $enableval in
4063 yes) enable_fast_install=yes ;;
4064 no) enable_fast_install=no ;;
4065 @@ -2641,59 +3321,77 @@
4066 esac
4067 else
4068 enable_fast_install=yes
4069 -fi;
4072 # Make sure we can run config.sub.
4073 -$ac_config_sub sun4 >/dev/null 2>&1 ||
4074 - { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
4075 -echo "$as_me: error: cannot run $ac_config_sub" >&2;}
4076 - { (exit 1); exit 1; }; }
4078 -echo "$as_me:$LINENO: checking build system type" >&5
4079 -echo $ECHO_N "checking build system type... $ECHO_C" >&6
4080 -if test "${ac_cv_build+set}" = set; then
4081 - echo $ECHO_N "(cached) $ECHO_C" >&6
4082 -else
4083 - ac_cv_build_alias=$build_alias
4084 -test -z "$ac_cv_build_alias" &&
4085 - ac_cv_build_alias=`$ac_config_guess`
4086 -test -z "$ac_cv_build_alias" &&
4087 - { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4088 -echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4089 - { (exit 1); exit 1; }; }
4090 -ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
4091 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
4092 -echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
4093 - { (exit 1); exit 1; }; }
4094 +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4095 + as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4098 -echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4099 -echo "${ECHO_T}$ac_cv_build" >&6
4100 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4101 +$as_echo_n "checking build system type... " >&6; }
4102 +if test "${ac_cv_build+set}" = set; then :
4103 + $as_echo_n "(cached) " >&6
4104 +else
4105 + ac_build_alias=$build_alias
4106 +test "x$ac_build_alias" = x &&
4107 + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4108 +test "x$ac_build_alias" = x &&
4109 + as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4110 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4111 + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4114 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4115 +$as_echo "$ac_cv_build" >&6; }
4116 +case $ac_cv_build in
4117 +*-*-*) ;;
4118 +*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4119 +esac
4120 build=$ac_cv_build
4121 -build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
4122 -build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
4123 -build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
4126 -echo "$as_me:$LINENO: checking host system type" >&5
4127 -echo $ECHO_N "checking host system type... $ECHO_C" >&6
4128 -if test "${ac_cv_host+set}" = set; then
4129 - echo $ECHO_N "(cached) $ECHO_C" >&6
4130 -else
4131 - ac_cv_host_alias=$host_alias
4132 -test -z "$ac_cv_host_alias" &&
4133 - ac_cv_host_alias=$ac_cv_build_alias
4134 -ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
4135 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
4136 -echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
4137 - { (exit 1); exit 1; }; }
4138 +ac_save_IFS=$IFS; IFS='-'
4139 +set x $ac_cv_build
4140 +shift
4141 +build_cpu=$1
4142 +build_vendor=$2
4143 +shift; shift
4144 +# Remember, the first character of IFS is used to create $*,
4145 +# except with old shells:
4146 +build_os=$*
4147 +IFS=$ac_save_IFS
4148 +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4151 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4152 +$as_echo_n "checking host system type... " >&6; }
4153 +if test "${ac_cv_host+set}" = set; then :
4154 + $as_echo_n "(cached) " >&6
4155 +else
4156 + if test "x$host_alias" = x; then
4157 + ac_cv_host=$ac_cv_build
4158 +else
4159 + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4160 + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4164 -echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4165 -echo "${ECHO_T}$ac_cv_host" >&6
4166 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4167 +$as_echo "$ac_cv_host" >&6; }
4168 +case $ac_cv_host in
4169 +*-*-*) ;;
4170 +*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4171 +esac
4172 host=$ac_cv_host
4173 -host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
4174 -host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
4175 -host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
4176 +ac_save_IFS=$IFS; IFS='-'
4177 +set x $ac_cv_host
4178 +shift
4179 +host_cpu=$1
4180 +host_vendor=$2
4181 +shift; shift
4182 +# Remember, the first character of IFS is used to create $*,
4183 +# except with old shells:
4184 +host_os=$*
4185 +IFS=$ac_save_IFS
4186 +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4189 # Find the correct PATH separator. Usually this is `:', but
4190 @@ -2708,18 +3406,18 @@
4194 -# Check whether --with-gnu-ld or --without-gnu-ld was given.
4195 -if test "${with_gnu_ld+set}" = set; then
4196 - withval="$with_gnu_ld"
4197 - test "$withval" = no || with_gnu_ld=yes
4198 +# Check whether --with-gnu-ld was given.
4199 +if test "${with_gnu_ld+set}" = set; then :
4200 + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4201 else
4202 with_gnu_ld=no
4203 -fi;
4206 ac_prog=ld
4207 if test "$GCC" = yes; then
4208 # Check if gcc -print-prog-name=ld gives a path.
4209 - echo "$as_me:$LINENO: checking for ld used by GCC" >&5
4210 -echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
4211 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
4212 +$as_echo_n "checking for ld used by GCC... " >&6; }
4213 case $host in
4214 *-*-mingw*)
4215 # gcc leaves a trailing carriage return which upsets mingw
4216 @@ -2748,14 +3446,14 @@
4218 esac
4219 elif test "$with_gnu_ld" = yes; then
4220 - echo "$as_me:$LINENO: checking for GNU ld" >&5
4221 -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4222 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4223 +$as_echo_n "checking for GNU ld... " >&6; }
4224 else
4225 - echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4226 -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4227 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4228 +$as_echo_n "checking for non-GNU ld... " >&6; }
4230 -if test "${lt_cv_path_LD+set}" = set; then
4231 - echo $ECHO_N "(cached) $ECHO_C" >&6
4232 +if test "${lt_cv_path_LD+set}" = set; then :
4233 + $as_echo_n "(cached) " >&6
4234 else
4235 if test -z "$LD"; then
4236 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4237 @@ -2781,19 +3479,17 @@
4239 LD="$lt_cv_path_LD"
4240 if test -n "$LD"; then
4241 - echo "$as_me:$LINENO: result: $LD" >&5
4242 -echo "${ECHO_T}$LD" >&6
4243 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4244 +$as_echo "$LD" >&6; }
4245 else
4246 - echo "$as_me:$LINENO: result: no" >&5
4247 -echo "${ECHO_T}no" >&6
4248 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4249 +$as_echo "no" >&6; }
4251 -test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4252 -echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4253 - { (exit 1); exit 1; }; }
4254 -echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4255 -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4256 -if test "${lt_cv_prog_gnu_ld+set}" = set; then
4257 - echo $ECHO_N "(cached) $ECHO_C" >&6
4258 +test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4259 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4260 +$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4261 +if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4262 + $as_echo_n "(cached) " >&6
4263 else
4264 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4265 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
4266 @@ -2802,27 +3498,27 @@
4267 lt_cv_prog_gnu_ld=no
4270 -echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4271 -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4272 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4273 +$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4274 with_gnu_ld=$lt_cv_prog_gnu_ld
4277 -echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4278 -echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4279 -if test "${lt_cv_ld_reload_flag+set}" = set; then
4280 - echo $ECHO_N "(cached) $ECHO_C" >&6
4281 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4282 +$as_echo_n "checking for $LD option to reload object files... " >&6; }
4283 +if test "${lt_cv_ld_reload_flag+set}" = set; then :
4284 + $as_echo_n "(cached) " >&6
4285 else
4286 lt_cv_ld_reload_flag='-r'
4288 -echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4289 -echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4290 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4291 +$as_echo "$lt_cv_ld_reload_flag" >&6; }
4292 reload_flag=$lt_cv_ld_reload_flag
4293 test -n "$reload_flag" && reload_flag=" $reload_flag"
4295 -echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4296 -echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4297 -if test "${lt_cv_path_NM+set}" = set; then
4298 - echo $ECHO_N "(cached) $ECHO_C" >&6
4299 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD-compatible nm" >&5
4300 +$as_echo_n "checking for BSD-compatible nm... " >&6; }
4301 +if test "${lt_cv_path_NM+set}" = set; then :
4302 + $as_echo_n "(cached) " >&6
4303 else
4304 if test -n "$NM"; then
4305 # Let the user override the test.
4306 @@ -2855,24 +3551,24 @@
4309 NM="$lt_cv_path_NM"
4310 -echo "$as_me:$LINENO: result: $NM" >&5
4311 -echo "${ECHO_T}$NM" >&6
4312 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
4313 +$as_echo "$NM" >&6; }
4315 -echo "$as_me:$LINENO: checking whether ln -s works" >&5
4316 -echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4317 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4318 +$as_echo_n "checking whether ln -s works... " >&6; }
4319 LN_S=$as_ln_s
4320 if test "$LN_S" = "ln -s"; then
4321 - echo "$as_me:$LINENO: result: yes" >&5
4322 -echo "${ECHO_T}yes" >&6
4323 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4324 +$as_echo "yes" >&6; }
4325 else
4326 - echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4327 -echo "${ECHO_T}no, using $LN_S" >&6
4328 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4329 +$as_echo "no, using $LN_S" >&6; }
4332 -echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
4333 -echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
4334 -if test "${lt_cv_deplibs_check_method+set}" = set; then
4335 - echo $ECHO_N "(cached) $ECHO_C" >&6
4336 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognise dependant libraries" >&5
4337 +$as_echo_n "checking how to recognise dependant libraries... " >&6; }
4338 +if test "${lt_cv_deplibs_check_method+set}" = set; then :
4339 + $as_echo_n "(cached) " >&6
4340 else
4341 lt_cv_file_magic_cmd='$MAGIC_CMD'
4342 lt_cv_file_magic_test_file=
4343 @@ -3047,8 +3743,8 @@
4344 esac
4347 -echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4348 -echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4349 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
4350 +$as_echo "$lt_cv_deplibs_check_method" >&6; }
4351 file_magic_cmd=$lt_cv_file_magic_cmd
4352 deplibs_check_method=$lt_cv_deplibs_check_method
4354 @@ -3060,10 +3756,10 @@
4357 # Check for command to grab the raw symbol name followed by C symbol from nm.
4358 -echo "$as_me:$LINENO: checking command to parse $NM output" >&5
4359 -echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6
4360 -if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
4361 - echo $ECHO_N "(cached) $ECHO_C" >&6
4362 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output" >&5
4363 +$as_echo_n "checking command to parse $NM output... " >&6; }
4364 +if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
4365 + $as_echo_n "(cached) " >&6
4366 else
4368 # These are sane defaults that work on at least a few old systems.
4369 @@ -3141,18 +3837,18 @@
4370 int main(){nm_test_var='a';nm_test_func();return(0);}
4373 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4374 + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
4375 (eval $ac_compile) 2>&5
4376 ac_status=$?
4377 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4378 - (exit $ac_status); }; then
4379 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4380 + test $ac_status = 0; }; then
4381 # Now try to grab the symbols.
4382 nlist=conftest.nm
4383 - if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
4384 + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
4385 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
4386 ac_status=$?
4387 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4388 - (exit $ac_status); } && test -s "$nlist"; then
4389 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4390 + test $ac_status = 0; } && test -s "$nlist"; then
4391 # Try sorting and uniquifying the output.
4392 if sort "$nlist" | uniq > "$nlist"T; then
4393 mv -f "$nlist"T "$nlist"
4394 @@ -3203,11 +3899,11 @@
4395 save_CFLAGS="$CFLAGS"
4396 LIBS="conftstm.$ac_objext"
4397 CFLAGS="$CFLAGS$no_builtin_flag"
4398 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4399 + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4400 (eval $ac_link) 2>&5
4401 ac_status=$?
4402 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4403 - (exit $ac_status); } && test -s conftest; then
4404 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4405 + test $ac_status = 0; } && test -s conftest; then
4406 pipe_works=yes
4408 LIBS="$save_LIBS"
4409 @@ -3247,11 +3943,11 @@
4411 if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address";
4412 then
4413 - echo "$as_me:$LINENO: result: failed" >&5
4414 -echo "${ECHO_T}failed" >&6
4415 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
4416 +$as_echo "failed" >&6; }
4417 else
4418 - echo "$as_me:$LINENO: result: ok" >&5
4419 -echo "${ECHO_T}ok" >&6
4420 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
4421 +$as_echo "ok" >&6; }
4424 ac_ext=c
4425 @@ -3259,15 +3955,15 @@
4426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4429 -echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4430 -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4431 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4432 +$as_echo_n "checking how to run the C preprocessor... " >&6; }
4433 # On Suns, sometimes $CPP names a directory.
4434 if test -n "$CPP" && test -d "$CPP"; then
4435 CPP=
4437 if test -z "$CPP"; then
4438 - if test "${ac_cv_prog_CPP+set}" = set; then
4439 - echo $ECHO_N "(cached) $ECHO_C" >&6
4440 + if test "${ac_cv_prog_CPP+set}" = set; then :
4441 + $as_echo_n "(cached) " >&6
4442 else
4443 # Double quotes because CPP needs to be expanded
4444 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4445 @@ -3281,11 +3977,7 @@
4446 # <limits.h> exists even on freestanding compilers.
4447 # On the NeXT, cc -E runs the code through the compiler's parser,
4448 # not just through cpp. "Syntax error" is here to catch this case.
4449 - cat >conftest.$ac_ext <<_ACEOF
4450 -/* confdefs.h. */
4451 -_ACEOF
4452 -cat confdefs.h >>conftest.$ac_ext
4453 -cat >>conftest.$ac_ext <<_ACEOF
4454 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4455 /* end confdefs.h. */
4456 #ifdef __STDC__
4457 # include <limits.h>
4458 @@ -3294,78 +3986,34 @@
4459 #endif
4460 Syntax error
4461 _ACEOF
4462 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4463 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4464 - ac_status=$?
4465 - grep -v '^ *+' conftest.er1 >conftest.err
4466 - rm -f conftest.er1
4467 - cat conftest.err >&5
4468 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4469 - (exit $ac_status); } >/dev/null; then
4470 - if test -s conftest.err; then
4471 - ac_cpp_err=$ac_c_preproc_warn_flag
4472 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4473 - else
4474 - ac_cpp_err=
4475 - fi
4476 -else
4477 - ac_cpp_err=yes
4479 -if test -z "$ac_cpp_err"; then
4481 -else
4482 - echo "$as_me: failed program was:" >&5
4483 -sed 's/^/| /' conftest.$ac_ext >&5
4484 +if ac_fn_c_try_cpp "$LINENO"; then :
4486 +else
4487 # Broken: fails on valid input.
4488 continue
4490 -rm -f conftest.err conftest.$ac_ext
4491 +rm -f conftest.err conftest.i conftest.$ac_ext
4493 - # OK, works on sane cases. Now check whether non-existent headers
4494 + # OK, works on sane cases. Now check whether nonexistent headers
4495 # can be detected and how.
4496 - cat >conftest.$ac_ext <<_ACEOF
4497 -/* confdefs.h. */
4498 -_ACEOF
4499 -cat confdefs.h >>conftest.$ac_ext
4500 -cat >>conftest.$ac_ext <<_ACEOF
4501 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4502 /* end confdefs.h. */
4503 #include <ac_nonexistent.h>
4504 _ACEOF
4505 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4506 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4507 - ac_status=$?
4508 - grep -v '^ *+' conftest.er1 >conftest.err
4509 - rm -f conftest.er1
4510 - cat conftest.err >&5
4511 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4512 - (exit $ac_status); } >/dev/null; then
4513 - if test -s conftest.err; then
4514 - ac_cpp_err=$ac_c_preproc_warn_flag
4515 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4516 - else
4517 - ac_cpp_err=
4518 - fi
4519 -else
4520 - ac_cpp_err=yes
4522 -if test -z "$ac_cpp_err"; then
4523 +if ac_fn_c_try_cpp "$LINENO"; then :
4524 # Broken: success on invalid input.
4525 continue
4526 else
4527 - echo "$as_me: failed program was:" >&5
4528 -sed 's/^/| /' conftest.$ac_ext >&5
4530 # Passes both tests.
4531 ac_preproc_ok=:
4532 break
4534 -rm -f conftest.err conftest.$ac_ext
4535 +rm -f conftest.err conftest.i conftest.$ac_ext
4537 done
4538 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4539 -rm -f conftest.err conftest.$ac_ext
4540 -if $ac_preproc_ok; then
4541 +rm -f conftest.i conftest.err conftest.$ac_ext
4542 +if $ac_preproc_ok; then :
4543 break
4546 @@ -3377,8 +4025,8 @@
4547 else
4548 ac_cv_prog_CPP=$CPP
4550 -echo "$as_me:$LINENO: result: $CPP" >&5
4551 -echo "${ECHO_T}$CPP" >&6
4552 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4553 +$as_echo "$CPP" >&6; }
4554 ac_preproc_ok=false
4555 for ac_c_preproc_warn_flag in '' yes
4557 @@ -3388,11 +4036,7 @@
4558 # <limits.h> exists even on freestanding compilers.
4559 # On the NeXT, cc -E runs the code through the compiler's parser,
4560 # not just through cpp. "Syntax error" is here to catch this case.
4561 - cat >conftest.$ac_ext <<_ACEOF
4562 -/* confdefs.h. */
4563 -_ACEOF
4564 -cat confdefs.h >>conftest.$ac_ext
4565 -cat >>conftest.$ac_ext <<_ACEOF
4566 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4567 /* end confdefs.h. */
4568 #ifdef __STDC__
4569 # include <limits.h>
4570 @@ -3401,85 +4045,40 @@
4571 #endif
4572 Syntax error
4573 _ACEOF
4574 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4575 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4576 - ac_status=$?
4577 - grep -v '^ *+' conftest.er1 >conftest.err
4578 - rm -f conftest.er1
4579 - cat conftest.err >&5
4580 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4581 - (exit $ac_status); } >/dev/null; then
4582 - if test -s conftest.err; then
4583 - ac_cpp_err=$ac_c_preproc_warn_flag
4584 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4585 - else
4586 - ac_cpp_err=
4587 - fi
4588 -else
4589 - ac_cpp_err=yes
4591 -if test -z "$ac_cpp_err"; then
4593 -else
4594 - echo "$as_me: failed program was:" >&5
4595 -sed 's/^/| /' conftest.$ac_ext >&5
4596 +if ac_fn_c_try_cpp "$LINENO"; then :
4598 +else
4599 # Broken: fails on valid input.
4600 continue
4602 -rm -f conftest.err conftest.$ac_ext
4603 +rm -f conftest.err conftest.i conftest.$ac_ext
4605 - # OK, works on sane cases. Now check whether non-existent headers
4606 + # OK, works on sane cases. Now check whether nonexistent headers
4607 # can be detected and how.
4608 - cat >conftest.$ac_ext <<_ACEOF
4609 -/* confdefs.h. */
4610 -_ACEOF
4611 -cat confdefs.h >>conftest.$ac_ext
4612 -cat >>conftest.$ac_ext <<_ACEOF
4613 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4614 /* end confdefs.h. */
4615 #include <ac_nonexistent.h>
4616 _ACEOF
4617 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4618 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4619 - ac_status=$?
4620 - grep -v '^ *+' conftest.er1 >conftest.err
4621 - rm -f conftest.er1
4622 - cat conftest.err >&5
4623 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4624 - (exit $ac_status); } >/dev/null; then
4625 - if test -s conftest.err; then
4626 - ac_cpp_err=$ac_c_preproc_warn_flag
4627 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4628 - else
4629 - ac_cpp_err=
4630 - fi
4631 -else
4632 - ac_cpp_err=yes
4634 -if test -z "$ac_cpp_err"; then
4635 +if ac_fn_c_try_cpp "$LINENO"; then :
4636 # Broken: success on invalid input.
4637 continue
4638 else
4639 - echo "$as_me: failed program was:" >&5
4640 -sed 's/^/| /' conftest.$ac_ext >&5
4642 # Passes both tests.
4643 ac_preproc_ok=:
4644 break
4646 -rm -f conftest.err conftest.$ac_ext
4647 +rm -f conftest.err conftest.i conftest.$ac_ext
4649 done
4650 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4651 -rm -f conftest.err conftest.$ac_ext
4652 -if $ac_preproc_ok; then
4654 +rm -f conftest.i conftest.err conftest.$ac_ext
4655 +if $ac_preproc_ok; then :
4657 else
4658 - { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4659 -See \`config.log' for more details." >&5
4660 -echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4661 -See \`config.log' for more details." >&2;}
4662 - { (exit 1); exit 1; }; }
4663 + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4664 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4665 +as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4666 +See \`config.log' for more details" "$LINENO" 5; }
4669 ac_ext=c
4670 @@ -3489,31 +4088,142 @@
4671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4674 -echo "$as_me:$LINENO: checking for egrep" >&5
4675 -echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4676 -if test "${ac_cv_prog_egrep+set}" = set; then
4677 - echo $ECHO_N "(cached) $ECHO_C" >&6
4678 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4679 +$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4680 +if test "${ac_cv_path_GREP+set}" = set; then :
4681 + $as_echo_n "(cached) " >&6
4682 +else
4683 + if test -z "$GREP"; then
4684 + ac_path_GREP_found=false
4685 + # Loop through the user's path and test for each of PROGNAME-LIST
4686 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4687 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4689 + IFS=$as_save_IFS
4690 + test -z "$as_dir" && as_dir=.
4691 + for ac_prog in grep ggrep; do
4692 + for ac_exec_ext in '' $ac_executable_extensions; do
4693 + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4694 + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4695 +# Check for GNU ac_path_GREP and select it if it is found.
4696 + # Check for GNU $ac_path_GREP
4697 +case `"$ac_path_GREP" --version 2>&1` in
4698 +*GNU*)
4699 + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4701 + ac_count=0
4702 + $as_echo_n 0123456789 >"conftest.in"
4703 + while :
4704 + do
4705 + cat "conftest.in" "conftest.in" >"conftest.tmp"
4706 + mv "conftest.tmp" "conftest.in"
4707 + cp "conftest.in" "conftest.nl"
4708 + $as_echo 'GREP' >> "conftest.nl"
4709 + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4710 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4711 + as_fn_arith $ac_count + 1 && ac_count=$as_val
4712 + if test $ac_count -gt ${ac_path_GREP_max-0}; then
4713 + # Best one so far, save it but keep looking for a better one
4714 + ac_cv_path_GREP="$ac_path_GREP"
4715 + ac_path_GREP_max=$ac_count
4716 + fi
4717 + # 10*(2^10) chars as input seems more than enough
4718 + test $ac_count -gt 10 && break
4719 + done
4720 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4721 +esac
4723 + $ac_path_GREP_found && break 3
4724 + done
4725 + done
4726 + done
4727 +IFS=$as_save_IFS
4728 + if test -z "$ac_cv_path_GREP"; then
4729 + as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4730 + fi
4731 +else
4732 + ac_cv_path_GREP=$GREP
4736 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4737 +$as_echo "$ac_cv_path_GREP" >&6; }
4738 + GREP="$ac_cv_path_GREP"
4741 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4742 +$as_echo_n "checking for egrep... " >&6; }
4743 +if test "${ac_cv_path_EGREP+set}" = set; then :
4744 + $as_echo_n "(cached) " >&6
4745 else
4746 - if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4747 - then ac_cv_prog_egrep='grep -E'
4748 - else ac_cv_prog_egrep='egrep'
4749 + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4750 + then ac_cv_path_EGREP="$GREP -E"
4751 + else
4752 + if test -z "$EGREP"; then
4753 + ac_path_EGREP_found=false
4754 + # Loop through the user's path and test for each of PROGNAME-LIST
4755 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4756 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4758 + IFS=$as_save_IFS
4759 + test -z "$as_dir" && as_dir=.
4760 + for ac_prog in egrep; do
4761 + for ac_exec_ext in '' $ac_executable_extensions; do
4762 + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4763 + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4764 +# Check for GNU ac_path_EGREP and select it if it is found.
4765 + # Check for GNU $ac_path_EGREP
4766 +case `"$ac_path_EGREP" --version 2>&1` in
4767 +*GNU*)
4768 + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4770 + ac_count=0
4771 + $as_echo_n 0123456789 >"conftest.in"
4772 + while :
4773 + do
4774 + cat "conftest.in" "conftest.in" >"conftest.tmp"
4775 + mv "conftest.tmp" "conftest.in"
4776 + cp "conftest.in" "conftest.nl"
4777 + $as_echo 'EGREP' >> "conftest.nl"
4778 + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4779 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4780 + as_fn_arith $ac_count + 1 && ac_count=$as_val
4781 + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4782 + # Best one so far, save it but keep looking for a better one
4783 + ac_cv_path_EGREP="$ac_path_EGREP"
4784 + ac_path_EGREP_max=$ac_count
4786 + # 10*(2^10) chars as input seems more than enough
4787 + test $ac_count -gt 10 && break
4788 + done
4789 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4790 +esac
4792 + $ac_path_EGREP_found && break 3
4793 + done
4794 + done
4795 + done
4796 +IFS=$as_save_IFS
4797 + if test -z "$ac_cv_path_EGREP"; then
4798 + as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4799 + fi
4800 +else
4801 + ac_cv_path_EGREP=$EGREP
4804 + fi
4806 -echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4807 -echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4808 - EGREP=$ac_cv_prog_egrep
4809 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4810 +$as_echo "$ac_cv_path_EGREP" >&6; }
4811 + EGREP="$ac_cv_path_EGREP"
4814 -echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4815 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4816 -if test "${ac_cv_header_stdc+set}" = set; then
4817 - echo $ECHO_N "(cached) $ECHO_C" >&6
4818 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4819 +$as_echo_n "checking for ANSI C header files... " >&6; }
4820 +if test "${ac_cv_header_stdc+set}" = set; then :
4821 + $as_echo_n "(cached) " >&6
4822 else
4823 - cat >conftest.$ac_ext <<_ACEOF
4824 -/* confdefs.h. */
4825 -_ACEOF
4826 -cat confdefs.h >>conftest.$ac_ext
4827 -cat >>conftest.$ac_ext <<_ACEOF
4828 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4829 /* end confdefs.h. */
4830 #include <stdlib.h>
4831 #include <stdarg.h>
4832 @@ -3528,51 +4238,23 @@
4833 return 0;
4835 _ACEOF
4836 -rm -f conftest.$ac_objext
4837 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4838 - (eval $ac_compile) 2>conftest.er1
4839 - ac_status=$?
4840 - grep -v '^ *+' conftest.er1 >conftest.err
4841 - rm -f conftest.er1
4842 - cat conftest.err >&5
4843 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4844 - (exit $ac_status); } &&
4845 - { ac_try='test -z "$ac_c_werror_flag"
4846 - || test ! -s conftest.err'
4847 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4848 - (eval $ac_try) 2>&5
4849 - ac_status=$?
4850 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4851 - (exit $ac_status); }; } &&
4852 - { ac_try='test -s conftest.$ac_objext'
4853 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4854 - (eval $ac_try) 2>&5
4855 - ac_status=$?
4856 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4857 - (exit $ac_status); }; }; then
4858 +if ac_fn_c_try_compile "$LINENO"; then :
4859 ac_cv_header_stdc=yes
4860 else
4861 - echo "$as_me: failed program was:" >&5
4862 -sed 's/^/| /' conftest.$ac_ext >&5
4864 -ac_cv_header_stdc=no
4865 + ac_cv_header_stdc=no
4867 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4868 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4870 if test $ac_cv_header_stdc = yes; then
4871 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4872 - cat >conftest.$ac_ext <<_ACEOF
4873 -/* confdefs.h. */
4874 -_ACEOF
4875 -cat confdefs.h >>conftest.$ac_ext
4876 -cat >>conftest.$ac_ext <<_ACEOF
4877 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4878 /* end confdefs.h. */
4879 #include <string.h>
4881 _ACEOF
4882 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4883 - $EGREP "memchr" >/dev/null 2>&1; then
4885 + $EGREP "memchr" >/dev/null 2>&1; then :
4887 else
4888 ac_cv_header_stdc=no
4890 @@ -3582,18 +4264,14 @@
4892 if test $ac_cv_header_stdc = yes; then
4893 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4894 - cat >conftest.$ac_ext <<_ACEOF
4895 -/* confdefs.h. */
4896 -_ACEOF
4897 -cat confdefs.h >>conftest.$ac_ext
4898 -cat >>conftest.$ac_ext <<_ACEOF
4899 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4900 /* end confdefs.h. */
4901 #include <stdlib.h>
4903 _ACEOF
4904 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4905 - $EGREP "free" >/dev/null 2>&1; then
4907 + $EGREP "free" >/dev/null 2>&1; then :
4909 else
4910 ac_cv_header_stdc=no
4912 @@ -3603,16 +4281,13 @@
4914 if test $ac_cv_header_stdc = yes; then
4915 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4916 - if test "$cross_compiling" = yes; then
4917 + if test "$cross_compiling" = yes; then :
4919 else
4920 - cat >conftest.$ac_ext <<_ACEOF
4921 -/* confdefs.h. */
4922 -_ACEOF
4923 -cat confdefs.h >>conftest.$ac_ext
4924 -cat >>conftest.$ac_ext <<_ACEOF
4925 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4926 /* end confdefs.h. */
4927 #include <ctype.h>
4928 +#include <stdlib.h>
4929 #if ((' ' & 0x0FF) == 0x020)
4930 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4931 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4932 @@ -3632,109 +4307,39 @@
4933 for (i = 0; i < 256; i++)
4934 if (XOR (islower (i), ISLOWER (i))
4935 || toupper (i) != TOUPPER (i))
4936 - exit(2);
4937 - exit (0);
4938 + return 2;
4939 + return 0;
4941 _ACEOF
4942 -rm -f conftest$ac_exeext
4943 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4944 - (eval $ac_link) 2>&5
4945 - ac_status=$?
4946 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4947 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4948 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4949 - (eval $ac_try) 2>&5
4950 - ac_status=$?
4951 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4952 - (exit $ac_status); }; }; then
4954 -else
4955 - echo "$as_me: program exited with status $ac_status" >&5
4956 -echo "$as_me: failed program was:" >&5
4957 -sed 's/^/| /' conftest.$ac_ext >&5
4958 +if ac_fn_c_try_run "$LINENO"; then :
4960 -( exit $ac_status )
4961 -ac_cv_header_stdc=no
4962 +else
4963 + ac_cv_header_stdc=no
4965 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4966 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4967 + conftest.$ac_objext conftest.beam conftest.$ac_ext
4972 -echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4973 -echo "${ECHO_T}$ac_cv_header_stdc" >&6
4974 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4975 +$as_echo "$ac_cv_header_stdc" >&6; }
4976 if test $ac_cv_header_stdc = yes; then
4978 -cat >>confdefs.h <<\_ACEOF
4979 -#define STDC_HEADERS 1
4980 -_ACEOF
4981 +$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4985 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4995 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4996 inttypes.h stdint.h unistd.h
4998 -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4999 -echo "$as_me:$LINENO: checking for $ac_header" >&5
5000 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5001 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
5002 - echo $ECHO_N "(cached) $ECHO_C" >&6
5003 -else
5004 - cat >conftest.$ac_ext <<_ACEOF
5005 -/* confdefs.h. */
5006 -_ACEOF
5007 -cat confdefs.h >>conftest.$ac_ext
5008 -cat >>conftest.$ac_ext <<_ACEOF
5009 -/* end confdefs.h. */
5010 -$ac_includes_default
5012 -#include <$ac_header>
5013 -_ACEOF
5014 -rm -f conftest.$ac_objext
5015 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5016 - (eval $ac_compile) 2>conftest.er1
5017 - ac_status=$?
5018 - grep -v '^ *+' conftest.er1 >conftest.err
5019 - rm -f conftest.er1
5020 - cat conftest.err >&5
5021 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5022 - (exit $ac_status); } &&
5023 - { ac_try='test -z "$ac_c_werror_flag"
5024 - || test ! -s conftest.err'
5025 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5026 - (eval $ac_try) 2>&5
5027 - ac_status=$?
5028 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5029 - (exit $ac_status); }; } &&
5030 - { ac_try='test -s conftest.$ac_objext'
5031 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5032 - (eval $ac_try) 2>&5
5033 - ac_status=$?
5034 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5035 - (exit $ac_status); }; }; then
5036 - eval "$as_ac_Header=yes"
5037 -else
5038 - echo "$as_me: failed program was:" >&5
5039 -sed 's/^/| /' conftest.$ac_ext >&5
5041 -eval "$as_ac_Header=no"
5043 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5045 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5046 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5047 -if test `eval echo '${'$as_ac_Header'}'` = yes; then
5048 +do :
5049 + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5050 +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5052 +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5053 cat >>confdefs.h <<_ACEOF
5054 -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5055 +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5056 _ACEOF
5059 @@ -3742,150 +4347,12 @@
5060 done
5064 for ac_header in dlfcn.h
5066 -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5067 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
5068 - echo "$as_me:$LINENO: checking for $ac_header" >&5
5069 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5070 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
5071 - echo $ECHO_N "(cached) $ECHO_C" >&6
5073 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5074 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5075 -else
5076 - # Is the header compilable?
5077 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
5078 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5079 -cat >conftest.$ac_ext <<_ACEOF
5080 -/* confdefs.h. */
5081 -_ACEOF
5082 -cat confdefs.h >>conftest.$ac_ext
5083 -cat >>conftest.$ac_ext <<_ACEOF
5084 -/* end confdefs.h. */
5085 -$ac_includes_default
5086 -#include <$ac_header>
5087 -_ACEOF
5088 -rm -f conftest.$ac_objext
5089 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5090 - (eval $ac_compile) 2>conftest.er1
5091 - ac_status=$?
5092 - grep -v '^ *+' conftest.er1 >conftest.err
5093 - rm -f conftest.er1
5094 - cat conftest.err >&5
5095 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5096 - (exit $ac_status); } &&
5097 - { ac_try='test -z "$ac_c_werror_flag"
5098 - || test ! -s conftest.err'
5099 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5100 - (eval $ac_try) 2>&5
5101 - ac_status=$?
5102 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5103 - (exit $ac_status); }; } &&
5104 - { ac_try='test -s conftest.$ac_objext'
5105 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5106 - (eval $ac_try) 2>&5
5107 - ac_status=$?
5108 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5109 - (exit $ac_status); }; }; then
5110 - ac_header_compiler=yes
5111 -else
5112 - echo "$as_me: failed program was:" >&5
5113 -sed 's/^/| /' conftest.$ac_ext >&5
5115 -ac_header_compiler=no
5117 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5118 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5119 -echo "${ECHO_T}$ac_header_compiler" >&6
5121 -# Is the header present?
5122 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
5123 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5124 -cat >conftest.$ac_ext <<_ACEOF
5125 -/* confdefs.h. */
5126 -_ACEOF
5127 -cat confdefs.h >>conftest.$ac_ext
5128 -cat >>conftest.$ac_ext <<_ACEOF
5129 -/* end confdefs.h. */
5130 -#include <$ac_header>
5131 -_ACEOF
5132 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5133 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5134 - ac_status=$?
5135 - grep -v '^ *+' conftest.er1 >conftest.err
5136 - rm -f conftest.er1
5137 - cat conftest.err >&5
5138 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5139 - (exit $ac_status); } >/dev/null; then
5140 - if test -s conftest.err; then
5141 - ac_cpp_err=$ac_c_preproc_warn_flag
5142 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5143 - else
5144 - ac_cpp_err=
5145 - fi
5146 -else
5147 - ac_cpp_err=yes
5149 -if test -z "$ac_cpp_err"; then
5150 - ac_header_preproc=yes
5151 -else
5152 - echo "$as_me: failed program was:" >&5
5153 -sed 's/^/| /' conftest.$ac_ext >&5
5155 - ac_header_preproc=no
5157 -rm -f conftest.err conftest.$ac_ext
5158 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5159 -echo "${ECHO_T}$ac_header_preproc" >&6
5161 -# So? What about this header?
5162 -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5163 - yes:no: )
5164 - { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5165 -echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5166 - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5167 -echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5168 - ac_header_preproc=yes
5169 - ;;
5170 - no:yes:* )
5171 - { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5172 -echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5173 - { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5174 -echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5175 - { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5176 -echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5177 - { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5178 -echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5179 - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5180 -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5181 - { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5182 -echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5184 - cat <<\_ASBOX
5185 -## ------------------------------------------ ##
5186 -## Report this to the AC_PACKAGE_NAME lists. ##
5187 -## ------------------------------------------ ##
5188 -_ASBOX
5189 - ) |
5190 - sed "s/^/$as_me: WARNING: /" >&2
5191 - ;;
5192 -esac
5193 -echo "$as_me:$LINENO: checking for $ac_header" >&5
5194 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5195 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
5196 - echo $ECHO_N "(cached) $ECHO_C" >&6
5197 -else
5198 - eval "$as_ac_Header=\$ac_header_preproc"
5200 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5201 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5204 -if test `eval echo '${'$as_ac_Header'}'` = yes; then
5205 +do :
5206 + ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
5207 +if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
5208 cat >>confdefs.h <<_ACEOF
5209 -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5210 +#define HAVE_DLFCN_H 1
5211 _ACEOF
5214 @@ -3900,10 +4367,10 @@
5215 case $deplibs_check_method in
5216 file_magic*)
5217 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5218 - echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5219 -echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5220 -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5221 - echo $ECHO_N "(cached) $ECHO_C" >&6
5222 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
5223 +$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
5224 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
5225 + $as_echo_n "(cached) " >&6
5226 else
5227 case $MAGIC_CMD in
5229 @@ -3955,19 +4422,19 @@
5231 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5232 if test -n "$MAGIC_CMD"; then
5233 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5234 -echo "${ECHO_T}$MAGIC_CMD" >&6
5235 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
5236 +$as_echo "$MAGIC_CMD" >&6; }
5237 else
5238 - echo "$as_me:$LINENO: result: no" >&5
5239 -echo "${ECHO_T}no" >&6
5240 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5241 +$as_echo "no" >&6; }
5244 if test -z "$lt_cv_path_MAGIC_CMD"; then
5245 if test -n "$ac_tool_prefix"; then
5246 - echo "$as_me:$LINENO: checking for file" >&5
5247 -echo $ECHO_N "checking for file... $ECHO_C" >&6
5248 -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5249 - echo $ECHO_N "(cached) $ECHO_C" >&6
5250 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
5251 +$as_echo_n "checking for file... " >&6; }
5252 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
5253 + $as_echo_n "(cached) " >&6
5254 else
5255 case $MAGIC_CMD in
5257 @@ -4019,11 +4486,11 @@
5259 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5260 if test -n "$MAGIC_CMD"; then
5261 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5262 -echo "${ECHO_T}$MAGIC_CMD" >&6
5263 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
5264 +$as_echo "$MAGIC_CMD" >&6; }
5265 else
5266 - echo "$as_me:$LINENO: result: no" >&5
5267 -echo "${ECHO_T}no" >&6
5268 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5269 +$as_echo "no" >&6; }
5272 else
5273 @@ -4038,10 +4505,10 @@
5274 if test -n "$ac_tool_prefix"; then
5275 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5276 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5277 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5278 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5279 -if test "${ac_cv_prog_RANLIB+set}" = set; then
5280 - echo $ECHO_N "(cached) $ECHO_C" >&6
5281 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5282 +$as_echo_n "checking for $ac_word... " >&6; }
5283 +if test "${ac_cv_prog_RANLIB+set}" = set; then :
5284 + $as_echo_n "(cached) " >&6
5285 else
5286 if test -n "$RANLIB"; then
5287 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5288 @@ -4051,35 +4518,37 @@
5290 IFS=$as_save_IFS
5291 test -z "$as_dir" && as_dir=.
5292 - for ac_exec_ext in '' $ac_executable_extensions; do
5293 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5294 + for ac_exec_ext in '' $ac_executable_extensions; do
5295 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5296 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5297 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5298 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5299 break 2
5301 done
5302 -done
5303 + done
5304 +IFS=$as_save_IFS
5308 RANLIB=$ac_cv_prog_RANLIB
5309 if test -n "$RANLIB"; then
5310 - echo "$as_me:$LINENO: result: $RANLIB" >&5
5311 -echo "${ECHO_T}$RANLIB" >&6
5312 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5313 +$as_echo "$RANLIB" >&6; }
5314 else
5315 - echo "$as_me:$LINENO: result: no" >&5
5316 -echo "${ECHO_T}no" >&6
5317 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5318 +$as_echo "no" >&6; }
5323 if test -z "$ac_cv_prog_RANLIB"; then
5324 ac_ct_RANLIB=$RANLIB
5325 # Extract the first word of "ranlib", so it can be a program name with args.
5326 set dummy ranlib; ac_word=$2
5327 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5328 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5329 -if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5330 - echo $ECHO_N "(cached) $ECHO_C" >&6
5331 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5332 +$as_echo_n "checking for $ac_word... " >&6; }
5333 +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5334 + $as_echo_n "(cached) " >&6
5335 else
5336 if test -n "$ac_ct_RANLIB"; then
5337 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5338 @@ -4089,28 +4558,38 @@
5340 IFS=$as_save_IFS
5341 test -z "$as_dir" && as_dir=.
5342 - for ac_exec_ext in '' $ac_executable_extensions; do
5343 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5344 + for ac_exec_ext in '' $ac_executable_extensions; do
5345 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5346 ac_cv_prog_ac_ct_RANLIB="ranlib"
5347 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5348 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5349 break 2
5351 done
5352 -done
5353 + done
5354 +IFS=$as_save_IFS
5356 - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5359 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5360 if test -n "$ac_ct_RANLIB"; then
5361 - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5362 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
5363 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5364 +$as_echo "$ac_ct_RANLIB" >&6; }
5365 else
5366 - echo "$as_me:$LINENO: result: no" >&5
5367 -echo "${ECHO_T}no" >&6
5368 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5369 +$as_echo "no" >&6; }
5372 - RANLIB=$ac_ct_RANLIB
5373 + if test "x$ac_ct_RANLIB" = x; then
5374 + RANLIB=":"
5375 + else
5376 + case $cross_compiling:$ac_tool_warned in
5377 +yes:)
5378 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5379 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5380 +ac_tool_warned=yes ;;
5381 +esac
5382 + RANLIB=$ac_ct_RANLIB
5383 + fi
5384 else
5385 RANLIB="$ac_cv_prog_RANLIB"
5387 @@ -4118,10 +4597,10 @@
5388 if test -n "$ac_tool_prefix"; then
5389 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5390 set dummy ${ac_tool_prefix}strip; ac_word=$2
5391 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5392 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5393 -if test "${ac_cv_prog_STRIP+set}" = set; then
5394 - echo $ECHO_N "(cached) $ECHO_C" >&6
5395 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5396 +$as_echo_n "checking for $ac_word... " >&6; }
5397 +if test "${ac_cv_prog_STRIP+set}" = set; then :
5398 + $as_echo_n "(cached) " >&6
5399 else
5400 if test -n "$STRIP"; then
5401 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5402 @@ -4131,35 +4610,37 @@
5404 IFS=$as_save_IFS
5405 test -z "$as_dir" && as_dir=.
5406 - for ac_exec_ext in '' $ac_executable_extensions; do
5407 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5408 + for ac_exec_ext in '' $ac_executable_extensions; do
5409 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5410 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5411 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5412 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5413 break 2
5415 done
5416 -done
5417 + done
5418 +IFS=$as_save_IFS
5422 STRIP=$ac_cv_prog_STRIP
5423 if test -n "$STRIP"; then
5424 - echo "$as_me:$LINENO: result: $STRIP" >&5
5425 -echo "${ECHO_T}$STRIP" >&6
5426 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5427 +$as_echo "$STRIP" >&6; }
5428 else
5429 - echo "$as_me:$LINENO: result: no" >&5
5430 -echo "${ECHO_T}no" >&6
5431 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5432 +$as_echo "no" >&6; }
5437 if test -z "$ac_cv_prog_STRIP"; then
5438 ac_ct_STRIP=$STRIP
5439 # Extract the first word of "strip", so it can be a program name with args.
5440 set dummy strip; ac_word=$2
5441 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5442 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5443 -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5444 - echo $ECHO_N "(cached) $ECHO_C" >&6
5445 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5446 +$as_echo_n "checking for $ac_word... " >&6; }
5447 +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5448 + $as_echo_n "(cached) " >&6
5449 else
5450 if test -n "$ac_ct_STRIP"; then
5451 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5452 @@ -4169,28 +4650,38 @@
5454 IFS=$as_save_IFS
5455 test -z "$as_dir" && as_dir=.
5456 - for ac_exec_ext in '' $ac_executable_extensions; do
5457 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5458 + for ac_exec_ext in '' $ac_executable_extensions; do
5459 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5460 ac_cv_prog_ac_ct_STRIP="strip"
5461 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5462 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5463 break 2
5465 done
5466 -done
5467 + done
5468 +IFS=$as_save_IFS
5470 - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5473 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5474 if test -n "$ac_ct_STRIP"; then
5475 - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5476 -echo "${ECHO_T}$ac_ct_STRIP" >&6
5477 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5478 +$as_echo "$ac_ct_STRIP" >&6; }
5479 else
5480 - echo "$as_me:$LINENO: result: no" >&5
5481 -echo "${ECHO_T}no" >&6
5482 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5483 +$as_echo "no" >&6; }
5486 - STRIP=$ac_ct_STRIP
5487 + if test "x$ac_ct_STRIP" = x; then
5488 + STRIP=":"
5489 + else
5490 + case $cross_compiling:$ac_tool_warned in
5491 +yes:)
5492 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5493 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5494 +ac_tool_warned=yes ;;
5495 +esac
5496 + STRIP=$ac_ct_STRIP
5497 + fi
5498 else
5499 STRIP="$ac_cv_prog_STRIP"
5501 @@ -4199,11 +4690,11 @@
5502 enable_dlopen=no
5503 enable_win32_dll=no
5505 -# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5506 -if test "${enable_libtool_lock+set}" = set; then
5507 - enableval="$enable_libtool_lock"
5508 +# Check whether --enable-libtool-lock was given.
5509 +if test "${enable_libtool_lock+set}" = set; then :
5510 + enableval=$enable_libtool_lock;
5513 -fi;
5514 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5516 # Some flags need to be propagated to the compiler or linker for good
5517 @@ -4211,12 +4702,12 @@
5518 case $host in
5519 *-*-irix6*)
5520 # Find out which ABI we are using.
5521 - echo '#line 4214 "configure"' > conftest.$ac_ext
5522 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5523 + echo '#line 4705 "configure"' > conftest.$ac_ext
5524 + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5525 (eval $ac_compile) 2>&5
5526 ac_status=$?
5527 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5528 - (exit $ac_status); }; then
5529 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5530 + test $ac_status = 0; }; then
5531 case `/usr/bin/file conftest.$ac_objext` in
5532 *32-bit*)
5533 LD="${LD-ld} -32"
5534 @@ -4236,24 +4727,19 @@
5535 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5536 SAVE_CFLAGS="$CFLAGS"
5537 CFLAGS="$CFLAGS -belf"
5538 - echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5539 -echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5540 -if test "${lt_cv_cc_needs_belf+set}" = set; then
5541 - echo $ECHO_N "(cached) $ECHO_C" >&6
5542 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
5543 +$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5544 +if test "${lt_cv_cc_needs_belf+set}" = set; then :
5545 + $as_echo_n "(cached) " >&6
5546 else
5549 ac_ext=c
5550 ac_cpp='$CPP $CPPFLAGS'
5551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5555 - cat >conftest.$ac_ext <<_ACEOF
5556 -/* confdefs.h. */
5557 -_ACEOF
5558 -cat confdefs.h >>conftest.$ac_ext
5559 -cat >>conftest.$ac_ext <<_ACEOF
5560 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5561 /* end confdefs.h. */
5564 @@ -4264,37 +4750,13 @@
5565 return 0;
5567 _ACEOF
5568 -rm -f conftest.$ac_objext conftest$ac_exeext
5569 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5570 - (eval $ac_link) 2>conftest.er1
5571 - ac_status=$?
5572 - grep -v '^ *+' conftest.er1 >conftest.err
5573 - rm -f conftest.er1
5574 - cat conftest.err >&5
5575 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5576 - (exit $ac_status); } &&
5577 - { ac_try='test -z "$ac_c_werror_flag"
5578 - || test ! -s conftest.err'
5579 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5580 - (eval $ac_try) 2>&5
5581 - ac_status=$?
5582 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5583 - (exit $ac_status); }; } &&
5584 - { ac_try='test -s conftest$ac_exeext'
5585 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5586 - (eval $ac_try) 2>&5
5587 - ac_status=$?
5588 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5589 - (exit $ac_status); }; }; then
5590 +if ac_fn_c_try_link "$LINENO"; then :
5591 lt_cv_cc_needs_belf=yes
5592 else
5593 - echo "$as_me: failed program was:" >&5
5594 -sed 's/^/| /' conftest.$ac_ext >&5
5596 -lt_cv_cc_needs_belf=no
5597 + lt_cv_cc_needs_belf=no
5599 -rm -f conftest.err conftest.$ac_objext \
5600 - conftest$ac_exeext conftest.$ac_ext
5601 +rm -f core conftest.err conftest.$ac_objext \
5602 + conftest$ac_exeext conftest.$ac_ext
5603 ac_ext=c
5604 ac_cpp='$CPP $CPPFLAGS'
5605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5606 @@ -4302,8 +4764,8 @@
5607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5610 -echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5611 -echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5612 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
5613 +$as_echo "$lt_cv_cc_needs_belf" >&6; }
5614 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5615 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5616 CFLAGS="$SAVE_CFLAGS"
5617 @@ -4405,8 +4867,8 @@
5619 ## FIXME: this should be a separate macro
5621 -echo "$as_me:$LINENO: checking for objdir" >&5
5622 -echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5623 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5624 +$as_echo_n "checking for objdir... " >&6; }
5625 rm -f .libs 2>/dev/null
5626 mkdir .libs 2>/dev/null
5627 if test -d .libs; then
5628 @@ -4416,8 +4878,8 @@
5629 objdir=_libs
5631 rmdir .libs 2>/dev/null
5632 -echo "$as_me:$LINENO: result: $objdir" >&5
5633 -echo "${ECHO_T}$objdir" >&6
5634 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $objdir" >&5
5635 +$as_echo "$objdir" >&6; }
5637 ## END FIXME
5639 @@ -4425,22 +4887,22 @@
5640 ## FIXME: this should be a separate macro
5643 -# Check whether --with-pic or --without-pic was given.
5644 -if test "${with_pic+set}" = set; then
5645 - withval="$with_pic"
5646 - pic_mode="$withval"
5647 +# Check whether --with-pic was given.
5648 +if test "${with_pic+set}" = set; then :
5649 + withval=$with_pic; pic_mode="$withval"
5650 else
5651 pic_mode=default
5652 -fi;
5655 test -z "$pic_mode" && pic_mode=default
5657 # We assume here that the value for lt_cv_prog_cc_pic will not be cached
5658 # in isolation, and that seeing it set (from the cache) indicates that
5659 # the associated values are set (in the cache) correctly too.
5660 -echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
5661 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
5662 -if test "${lt_cv_prog_cc_pic+set}" = set; then
5663 - echo $ECHO_N "(cached) $ECHO_C" >&6
5664 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
5665 +$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
5666 +if test "${lt_cv_prog_cc_pic+set}" = set; then :
5667 + $as_echo_n "(cached) " >&6
5668 else
5669 lt_cv_prog_cc_pic=
5670 lt_cv_prog_cc_shlib=
5671 @@ -4584,25 +5046,21 @@
5674 if test -z "$lt_cv_prog_cc_pic"; then
5675 - echo "$as_me:$LINENO: result: none" >&5
5676 -echo "${ECHO_T}none" >&6
5677 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5678 +$as_echo "none" >&6; }
5679 else
5680 - echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic" >&5
5681 -echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6
5682 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_cc_pic" >&5
5683 +$as_echo "$lt_cv_prog_cc_pic" >&6; }
5685 # Check to make sure the pic_flag actually works.
5686 - echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
5687 -echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6
5688 - if test "${lt_cv_prog_cc_pic_works+set}" = set; then
5689 - echo $ECHO_N "(cached) $ECHO_C" >&6
5690 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
5691 +$as_echo_n "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... " >&6; }
5692 + if test "${lt_cv_prog_cc_pic_works+set}" = set; then :
5693 + $as_echo_n "(cached) " >&6
5694 else
5695 save_CFLAGS="$CFLAGS"
5696 CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
5697 - cat >conftest.$ac_ext <<_ACEOF
5698 -/* confdefs.h. */
5699 -_ACEOF
5700 -cat confdefs.h >>conftest.$ac_ext
5701 -cat >>conftest.$ac_ext <<_ACEOF
5702 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5703 /* end confdefs.h. */
5706 @@ -4613,28 +5071,7 @@
5707 return 0;
5709 _ACEOF
5710 -rm -f conftest.$ac_objext
5711 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5712 - (eval $ac_compile) 2>conftest.er1
5713 - ac_status=$?
5714 - grep -v '^ *+' conftest.er1 >conftest.err
5715 - rm -f conftest.er1
5716 - cat conftest.err >&5
5717 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5718 - (exit $ac_status); } &&
5719 - { ac_try='test -z "$ac_c_werror_flag"
5720 - || test ! -s conftest.err'
5721 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5722 - (eval $ac_try) 2>&5
5723 - ac_status=$?
5724 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5725 - (exit $ac_status); }; } &&
5726 - { ac_try='test -s conftest.$ac_objext'
5727 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5728 - (eval $ac_try) 2>&5
5729 - ac_status=$?
5730 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5731 - (exit $ac_status); }; }; then
5732 +if ac_fn_c_try_compile "$LINENO"; then :
5733 case $host_os in
5734 hpux9* | hpux10* | hpux11*)
5735 # On HP-UX, both CC and GCC only warn that PIC is supported... then
5736 @@ -4652,13 +5089,10 @@
5737 esac
5739 else
5740 - echo "$as_me: failed program was:" >&5
5741 -sed 's/^/| /' conftest.$ac_ext >&5
5743 - lt_cv_prog_cc_pic_works=no
5744 + lt_cv_prog_cc_pic_works=no
5747 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5748 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5749 CFLAGS="$save_CFLAGS"
5752 @@ -4671,39 +5105,35 @@
5753 lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
5756 - echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic_works" >&5
5757 -echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6
5758 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_cc_pic_works" >&5
5759 +$as_echo "$lt_cv_prog_cc_pic_works" >&6; }
5762 ## END FIXME
5764 # Check for any special shared library compilation flags.
5765 if test -n "$lt_cv_prog_cc_shlib"; then
5766 - { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5
5767 -echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;}
5768 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5
5769 +$as_echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;}
5770 if echo "$old_CC $old_CFLAGS " | egrep -e "[ ]$lt_cv_prog_cc_shlib[ ]" >/dev/null; then :
5771 else
5772 - { echo "$as_me:$LINENO: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
5773 -echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
5774 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
5775 +$as_echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
5776 lt_cv_prog_cc_can_build_shared=no
5780 ## FIXME: this should be a separate macro
5782 -echo "$as_me:$LINENO: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
5783 -echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6
5784 -if test "${lt_cv_prog_cc_static_works+set}" = set; then
5785 - echo $ECHO_N "(cached) $ECHO_C" >&6
5786 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
5787 +$as_echo_n "checking if $compiler static flag $lt_cv_prog_cc_static works... " >&6; }
5788 +if test "${lt_cv_prog_cc_static_works+set}" = set; then :
5789 + $as_echo_n "(cached) " >&6
5790 else
5791 lt_cv_prog_cc_static_works=no
5792 save_LDFLAGS="$LDFLAGS"
5793 LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
5794 - cat >conftest.$ac_ext <<_ACEOF
5795 -/* confdefs.h. */
5796 -_ACEOF
5797 -cat confdefs.h >>conftest.$ac_ext
5798 -cat >>conftest.$ac_ext <<_ACEOF
5799 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5800 /* end confdefs.h. */
5803 @@ -4714,36 +5144,11 @@
5804 return 0;
5806 _ACEOF
5807 -rm -f conftest.$ac_objext conftest$ac_exeext
5808 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5809 - (eval $ac_link) 2>conftest.er1
5810 - ac_status=$?
5811 - grep -v '^ *+' conftest.er1 >conftest.err
5812 - rm -f conftest.er1
5813 - cat conftest.err >&5
5814 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5815 - (exit $ac_status); } &&
5816 - { ac_try='test -z "$ac_c_werror_flag"
5817 - || test ! -s conftest.err'
5818 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5819 - (eval $ac_try) 2>&5
5820 - ac_status=$?
5821 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5822 - (exit $ac_status); }; } &&
5823 - { ac_try='test -s conftest$ac_exeext'
5824 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5825 - (eval $ac_try) 2>&5
5826 - ac_status=$?
5827 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5828 - (exit $ac_status); }; }; then
5829 +if ac_fn_c_try_link "$LINENO"; then :
5830 lt_cv_prog_cc_static_works=yes
5831 -else
5832 - echo "$as_me: failed program was:" >&5
5833 -sed 's/^/| /' conftest.$ac_ext >&5
5836 -rm -f conftest.err conftest.$ac_objext \
5837 - conftest$ac_exeext conftest.$ac_ext
5838 +rm -f core conftest.err conftest.$ac_objext \
5839 + conftest$ac_exeext conftest.$ac_ext
5840 LDFLAGS="$save_LDFLAGS"
5843 @@ -4751,8 +5156,8 @@
5845 # Belt *and* braces to stop my trousers falling down:
5846 test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
5847 -echo "$as_me:$LINENO: result: $lt_cv_prog_cc_static_works" >&5
5848 -echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6
5849 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_cc_static_works" >&5
5850 +$as_echo "$lt_cv_prog_cc_static_works" >&6; }
5852 pic_flag="$lt_cv_prog_cc_pic"
5853 special_shlib_compile_flags="$lt_cv_prog_cc_shlib"
5854 @@ -4767,10 +5172,10 @@
5855 ## FIXME: this should be a separate macro
5857 # Check to see if options -o and -c are simultaneously supported by compiler
5858 -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
5859 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
5860 -if test "${lt_cv_compiler_c_o+set}" = set; then
5861 - echo $ECHO_N "(cached) $ECHO_C" >&6
5862 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
5863 +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
5864 +if test "${lt_cv_compiler_c_o+set}" = set; then :
5865 + $as_echo_n "(cached) " >&6
5866 else
5868 $rm -r conftest 2>/dev/null
5869 @@ -4787,7 +5192,7 @@
5870 save_CFLAGS="$CFLAGS"
5871 CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
5872 compiler_c_o=no
5873 -if { (eval echo configure:4790: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
5874 +if { (eval echo configure:5195: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
5875 # The compiler can only warn and ignore the option if not recognized
5876 # So say no if there are warnings
5877 if test -s out/conftest.err; then
5878 @@ -4811,15 +5216,15 @@
5881 compiler_c_o=$lt_cv_compiler_c_o
5882 -echo "$as_me:$LINENO: result: $compiler_c_o" >&5
5883 -echo "${ECHO_T}$compiler_c_o" >&6
5884 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $compiler_c_o" >&5
5885 +$as_echo "$compiler_c_o" >&6; }
5887 if test x"$compiler_c_o" = x"yes"; then
5888 # Check to see if we can write to a .lo
5889 - echo "$as_me:$LINENO: checking if $compiler supports -c -o file.lo" >&5
5890 -echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6
5891 - if test "${lt_cv_compiler_o_lo+set}" = set; then
5892 - echo $ECHO_N "(cached) $ECHO_C" >&6
5893 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.lo" >&5
5894 +$as_echo_n "checking if $compiler supports -c -o file.lo... " >&6; }
5895 + if test "${lt_cv_compiler_o_lo+set}" = set; then :
5896 + $as_echo_n "(cached) " >&6
5897 else
5899 lt_cv_compiler_o_lo=no
5900 @@ -4827,11 +5232,7 @@
5901 CFLAGS="$CFLAGS -c -o conftest.lo"
5902 save_objext="$ac_objext"
5903 ac_objext=lo
5904 - cat >conftest.$ac_ext <<_ACEOF
5905 -/* confdefs.h. */
5906 -_ACEOF
5907 -cat confdefs.h >>conftest.$ac_ext
5908 -cat >>conftest.$ac_ext <<_ACEOF
5909 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5910 /* end confdefs.h. */
5913 @@ -4842,28 +5243,7 @@
5914 return 0;
5916 _ACEOF
5917 -rm -f conftest.$ac_objext
5918 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5919 - (eval $ac_compile) 2>conftest.er1
5920 - ac_status=$?
5921 - grep -v '^ *+' conftest.er1 >conftest.err
5922 - rm -f conftest.er1
5923 - cat conftest.err >&5
5924 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5925 - (exit $ac_status); } &&
5926 - { ac_try='test -z "$ac_c_werror_flag"
5927 - || test ! -s conftest.err'
5928 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5929 - (eval $ac_try) 2>&5
5930 - ac_status=$?
5931 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5932 - (exit $ac_status); }; } &&
5933 - { ac_try='test -s conftest.$ac_objext'
5934 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5935 - (eval $ac_try) 2>&5
5936 - ac_status=$?
5937 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5938 - (exit $ac_status); }; }; then
5939 +if ac_fn_c_try_compile "$LINENO"; then :
5940 # The compiler can only warn and ignore the option if not recognized
5941 # So say no if there are warnings
5942 if test -s conftest.err; then
5943 @@ -4872,20 +5252,16 @@
5944 lt_cv_compiler_o_lo=yes
5947 -else
5948 - echo "$as_me: failed program was:" >&5
5949 -sed 's/^/| /' conftest.$ac_ext >&5
5952 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5953 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5954 ac_objext="$save_objext"
5955 CFLAGS="$save_CFLAGS"
5959 compiler_o_lo=$lt_cv_compiler_o_lo
5960 - echo "$as_me:$LINENO: result: $compiler_o_lo" >&5
5961 -echo "${ECHO_T}$compiler_o_lo" >&6
5962 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $compiler_o_lo" >&5
5963 +$as_echo "$compiler_o_lo" >&6; }
5964 else
5965 compiler_o_lo=no
5967 @@ -4898,19 +5274,19 @@
5968 hard_links="nottested"
5969 if test "$compiler_c_o" = no && test "$need_locks" != no; then
5970 # do not overwrite the value of need_locks provided by the user
5971 - echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
5972 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
5973 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
5974 +$as_echo_n "checking if we can lock with hard links... " >&6; }
5975 hard_links=yes
5976 $rm conftest*
5977 ln conftest.a conftest.b 2>/dev/null && hard_links=no
5978 touch conftest.a
5979 ln conftest.a conftest.b 2>&5 || hard_links=no
5980 ln conftest.a conftest.b 2>/dev/null && hard_links=no
5981 - echo "$as_me:$LINENO: result: $hard_links" >&5
5982 -echo "${ECHO_T}$hard_links" >&6
5983 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
5984 +$as_echo "$hard_links" >&6; }
5985 if test "$hard_links" = no; then
5986 - { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
5987 -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
5988 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
5989 +$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
5990 need_locks=warn
5992 else
5993 @@ -4923,17 +5299,13 @@
5995 if test "$GCC" = yes; then
5996 # Check to see if options -fno-rtti -fno-exceptions are supported by compiler
5997 - echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
5998 -echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
5999 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6000 +$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
6001 echo "int some_variable = 0;" > conftest.$ac_ext
6002 save_CFLAGS="$CFLAGS"
6003 CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
6004 compiler_rtti_exceptions=no
6005 - cat >conftest.$ac_ext <<_ACEOF
6006 -/* confdefs.h. */
6007 -_ACEOF
6008 -cat confdefs.h >>conftest.$ac_ext
6009 -cat >>conftest.$ac_ext <<_ACEOF
6010 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6011 /* end confdefs.h. */
6014 @@ -4944,28 +5316,7 @@
6015 return 0;
6017 _ACEOF
6018 -rm -f conftest.$ac_objext
6019 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6020 - (eval $ac_compile) 2>conftest.er1
6021 - ac_status=$?
6022 - grep -v '^ *+' conftest.er1 >conftest.err
6023 - rm -f conftest.er1
6024 - cat conftest.err >&5
6025 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6026 - (exit $ac_status); } &&
6027 - { ac_try='test -z "$ac_c_werror_flag"
6028 - || test ! -s conftest.err'
6029 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6030 - (eval $ac_try) 2>&5
6031 - ac_status=$?
6032 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6033 - (exit $ac_status); }; } &&
6034 - { ac_try='test -s conftest.$ac_objext'
6035 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6036 - (eval $ac_try) 2>&5
6037 - ac_status=$?
6038 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6039 - (exit $ac_status); }; }; then
6040 +if ac_fn_c_try_compile "$LINENO"; then :
6041 # The compiler can only warn and ignore the option if not recognized
6042 # So say no if there are warnings
6043 if test -s conftest.err; then
6044 @@ -4974,15 +5325,11 @@
6045 compiler_rtti_exceptions=yes
6048 -else
6049 - echo "$as_me: failed program was:" >&5
6050 -sed 's/^/| /' conftest.$ac_ext >&5
6053 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6054 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6055 CFLAGS="$save_CFLAGS"
6056 - echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&5
6057 -echo "${ECHO_T}$compiler_rtti_exceptions" >&6
6058 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $compiler_rtti_exceptions" >&5
6059 +$as_echo "$compiler_rtti_exceptions" >&6; }
6061 if test "$compiler_rtti_exceptions" = "yes"; then
6062 no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
6063 @@ -4996,8 +5343,8 @@
6064 ## FIXME: this should be a separate macro
6066 # See if the linker supports building shared libraries.
6067 -echo "$as_me:$LINENO: checking whether the linker ($LD) supports shared libraries" >&5
6068 -echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6
6069 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker ($LD) supports shared libraries" >&5
6070 +$as_echo_n "checking whether the linker ($LD) supports shared libraries... " >&6; }
6072 allow_undefined_flag=
6073 no_undefined_flag=
6074 @@ -5676,8 +6023,8 @@
6076 esac
6078 -echo "$as_me:$LINENO: result: $ld_shlibs" >&5
6079 -echo "${ECHO_T}$ld_shlibs" >&6
6080 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
6081 +$as_echo "$ld_shlibs" >&6; }
6082 test "$ld_shlibs" = no && can_build_shared=no
6084 ## END FIXME
6085 @@ -5685,8 +6032,8 @@
6086 ## FIXME: this should be a separate macro
6088 # Check hardcoding attributes.
6089 -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
6090 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
6091 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
6092 +$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
6093 hardcode_action=
6094 if test -n "$hardcode_libdir_flag_spec" || \
6095 test -n "$runpath_var"; then
6096 @@ -5709,8 +6056,8 @@
6097 # directories.
6098 hardcode_action=unsupported
6100 -echo "$as_me:$LINENO: result: $hardcode_action" >&5
6101 -echo "${ECHO_T}$hardcode_action" >&6
6102 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
6103 +$as_echo "$hardcode_action" >&6; }
6105 ## END FIXME
6107 @@ -5718,16 +6065,16 @@
6109 striplib=
6110 old_striplib=
6111 -echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
6112 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
6113 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
6114 +$as_echo_n "checking whether stripping libraries is possible... " >&6; }
6115 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
6116 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
6117 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
6118 - echo "$as_me:$LINENO: result: yes" >&5
6119 -echo "${ECHO_T}yes" >&6
6120 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6121 +$as_echo "yes" >&6; }
6122 else
6123 - echo "$as_me:$LINENO: result: no" >&5
6124 -echo "${ECHO_T}no" >&6
6125 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6126 +$as_echo "no" >&6; }
6129 ## END FIXME
6130 @@ -5738,8 +6085,8 @@
6131 ## FIXME: this should be a separate macro
6133 # PORTME Fill in your ld.so characteristics
6134 -echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
6135 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
6136 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
6137 +$as_echo_n "checking dynamic linker characteristics... " >&6; }
6138 library_names_spec=
6139 libname_spec='lib$name'
6140 soname_spec=
6141 @@ -6131,8 +6478,8 @@
6142 dynamic_linker=no
6144 esac
6145 -echo "$as_me:$LINENO: result: $dynamic_linker" >&5
6146 -echo "${ECHO_T}$dynamic_linker" >&6
6147 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
6148 +$as_echo "$dynamic_linker" >&6; }
6149 test "$dynamic_linker" = no && can_build_shared=no
6151 ## END FIXME
6152 @@ -6140,17 +6487,17 @@
6153 ## FIXME: this should be a separate macro
6155 # Report the final consequences.
6156 -echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
6157 -echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
6158 -echo "$as_me:$LINENO: result: $can_build_shared" >&5
6159 -echo "${ECHO_T}$can_build_shared" >&6
6160 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
6161 +$as_echo_n "checking if libtool supports shared libraries... " >&6; }
6162 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
6163 +$as_echo "$can_build_shared" >&6; }
6165 ## END FIXME
6167 ## FIXME: this should be a separate macro
6169 -echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
6170 -echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
6171 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
6172 +$as_echo_n "checking whether to build shared libraries... " >&6; }
6173 test "$can_build_shared" = "no" && enable_shared=no
6175 # On AIX, shared libraries and static libraries use the same namespace, and
6176 @@ -6170,19 +6517,19 @@
6179 esac
6180 -echo "$as_me:$LINENO: result: $enable_shared" >&5
6181 -echo "${ECHO_T}$enable_shared" >&6
6182 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
6183 +$as_echo "$enable_shared" >&6; }
6185 ## END FIXME
6187 ## FIXME: this should be a separate macro
6189 -echo "$as_me:$LINENO: checking whether to build static libraries" >&5
6190 -echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
6191 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
6192 +$as_echo_n "checking whether to build static libraries... " >&6; }
6193 # Make sure either enable_shared or enable_static is yes.
6194 test "$enable_shared" = yes || enable_static=yes
6195 -echo "$as_me:$LINENO: result: $enable_static" >&5
6196 -echo "${ECHO_T}$enable_static" >&6
6197 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
6198 +$as_echo "$enable_static" >&6; }
6200 ## END FIXME
6202 @@ -6221,458 +6568,168 @@
6206 - echo "$as_me:$LINENO: checking for shl_load" >&5
6207 -echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
6208 -if test "${ac_cv_func_shl_load+set}" = set; then
6209 - echo $ECHO_N "(cached) $ECHO_C" >&6
6210 -else
6211 - cat >conftest.$ac_ext <<_ACEOF
6212 -/* confdefs.h. */
6213 -_ACEOF
6214 -cat confdefs.h >>conftest.$ac_ext
6215 -cat >>conftest.$ac_ext <<_ACEOF
6216 -/* end confdefs.h. */
6217 -/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
6218 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
6219 -#define shl_load innocuous_shl_load
6221 -/* System header to define __stub macros and hopefully few prototypes,
6222 - which can conflict with char shl_load (); below.
6223 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6224 - <limits.h> exists even on freestanding compilers. */
6226 -#ifdef __STDC__
6227 -# include <limits.h>
6228 -#else
6229 -# include <assert.h>
6230 -#endif
6232 -#undef shl_load
6234 -/* Override any gcc2 internal prototype to avoid an error. */
6235 -#ifdef __cplusplus
6236 -extern "C"
6238 -#endif
6239 -/* We use char because int might match the return type of a gcc2
6240 - builtin and then its argument prototype would still apply. */
6241 -char shl_load ();
6242 -/* The GNU C library defines this for functions which it implements
6243 - to always fail with ENOSYS. Some functions are actually named
6244 - something starting with __ and the normal name is an alias. */
6245 -#if defined (__stub_shl_load) || defined (__stub___shl_load)
6246 -choke me
6247 -#else
6248 -char (*f) () = shl_load;
6249 -#endif
6250 -#ifdef __cplusplus
6252 -#endif
6254 -int
6255 -main ()
6257 -return f != shl_load;
6259 - return 0;
6261 -_ACEOF
6262 -rm -f conftest.$ac_objext conftest$ac_exeext
6263 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6264 - (eval $ac_link) 2>conftest.er1
6265 - ac_status=$?
6266 - grep -v '^ *+' conftest.er1 >conftest.err
6267 - rm -f conftest.er1
6268 - cat conftest.err >&5
6269 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6270 - (exit $ac_status); } &&
6271 - { ac_try='test -z "$ac_c_werror_flag"
6272 - || test ! -s conftest.err'
6273 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6274 - (eval $ac_try) 2>&5
6275 - ac_status=$?
6276 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6277 - (exit $ac_status); }; } &&
6278 - { ac_try='test -s conftest$ac_exeext'
6279 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6280 - (eval $ac_try) 2>&5
6281 - ac_status=$?
6282 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6283 - (exit $ac_status); }; }; then
6284 - ac_cv_func_shl_load=yes
6285 -else
6286 - echo "$as_me: failed program was:" >&5
6287 -sed 's/^/| /' conftest.$ac_ext >&5
6289 -ac_cv_func_shl_load=no
6291 -rm -f conftest.err conftest.$ac_objext \
6292 - conftest$ac_exeext conftest.$ac_ext
6294 -echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
6295 -echo "${ECHO_T}$ac_cv_func_shl_load" >&6
6296 -if test $ac_cv_func_shl_load = yes; then
6297 + ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
6298 +if test "x$ac_cv_func_shl_load" = x""yes; then :
6299 lt_cv_dlopen="shl_load"
6300 else
6301 - echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
6302 -echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
6303 -if test "${ac_cv_lib_dld_shl_load+set}" = set; then
6304 - echo $ECHO_N "(cached) $ECHO_C" >&6
6305 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
6306 +$as_echo_n "checking for shl_load in -ldld... " >&6; }
6307 +if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
6308 + $as_echo_n "(cached) " >&6
6309 else
6310 ac_check_lib_save_LIBS=$LIBS
6311 LIBS="-ldld $LIBS"
6312 -cat >conftest.$ac_ext <<_ACEOF
6313 -/* confdefs.h. */
6314 -_ACEOF
6315 -cat confdefs.h >>conftest.$ac_ext
6316 -cat >>conftest.$ac_ext <<_ACEOF
6317 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6318 /* end confdefs.h. */
6320 -/* Override any gcc2 internal prototype to avoid an error. */
6321 +/* Override any GCC internal prototype to avoid an error.
6322 + Use char because int might match the return type of a GCC
6323 + builtin and then its argument prototype would still apply. */
6324 #ifdef __cplusplus
6325 extern "C"
6326 #endif
6327 -/* We use char because int might match the return type of a gcc2
6328 - builtin and then its argument prototype would still apply. */
6329 char shl_load ();
6331 main ()
6333 -shl_load ();
6334 +return shl_load ();
6336 return 0;
6338 _ACEOF
6339 -rm -f conftest.$ac_objext conftest$ac_exeext
6340 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6341 - (eval $ac_link) 2>conftest.er1
6342 - ac_status=$?
6343 - grep -v '^ *+' conftest.er1 >conftest.err
6344 - rm -f conftest.er1
6345 - cat conftest.err >&5
6346 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6347 - (exit $ac_status); } &&
6348 - { ac_try='test -z "$ac_c_werror_flag"
6349 - || test ! -s conftest.err'
6350 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6351 - (eval $ac_try) 2>&5
6352 - ac_status=$?
6353 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6354 - (exit $ac_status); }; } &&
6355 - { ac_try='test -s conftest$ac_exeext'
6356 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6357 - (eval $ac_try) 2>&5
6358 - ac_status=$?
6359 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6360 - (exit $ac_status); }; }; then
6361 +if ac_fn_c_try_link "$LINENO"; then :
6362 ac_cv_lib_dld_shl_load=yes
6363 else
6364 - echo "$as_me: failed program was:" >&5
6365 -sed 's/^/| /' conftest.$ac_ext >&5
6367 -ac_cv_lib_dld_shl_load=no
6368 + ac_cv_lib_dld_shl_load=no
6370 -rm -f conftest.err conftest.$ac_objext \
6371 - conftest$ac_exeext conftest.$ac_ext
6372 +rm -f core conftest.err conftest.$ac_objext \
6373 + conftest$ac_exeext conftest.$ac_ext
6374 LIBS=$ac_check_lib_save_LIBS
6376 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
6377 -echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
6378 -if test $ac_cv_lib_dld_shl_load = yes; then
6379 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
6380 +$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
6381 +if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
6382 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
6383 else
6384 - echo "$as_me:$LINENO: checking for dlopen" >&5
6385 -echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
6386 -if test "${ac_cv_func_dlopen+set}" = set; then
6387 - echo $ECHO_N "(cached) $ECHO_C" >&6
6388 -else
6389 - cat >conftest.$ac_ext <<_ACEOF
6390 -/* confdefs.h. */
6391 -_ACEOF
6392 -cat confdefs.h >>conftest.$ac_ext
6393 -cat >>conftest.$ac_ext <<_ACEOF
6394 -/* end confdefs.h. */
6395 -/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
6396 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
6397 -#define dlopen innocuous_dlopen
6399 -/* System header to define __stub macros and hopefully few prototypes,
6400 - which can conflict with char dlopen (); below.
6401 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6402 - <limits.h> exists even on freestanding compilers. */
6404 -#ifdef __STDC__
6405 -# include <limits.h>
6406 -#else
6407 -# include <assert.h>
6408 -#endif
6410 -#undef dlopen
6412 -/* Override any gcc2 internal prototype to avoid an error. */
6413 -#ifdef __cplusplus
6414 -extern "C"
6416 -#endif
6417 -/* We use char because int might match the return type of a gcc2
6418 - builtin and then its argument prototype would still apply. */
6419 -char dlopen ();
6420 -/* The GNU C library defines this for functions which it implements
6421 - to always fail with ENOSYS. Some functions are actually named
6422 - something starting with __ and the normal name is an alias. */
6423 -#if defined (__stub_dlopen) || defined (__stub___dlopen)
6424 -choke me
6425 -#else
6426 -char (*f) () = dlopen;
6427 -#endif
6428 -#ifdef __cplusplus
6430 -#endif
6432 -int
6433 -main ()
6435 -return f != dlopen;
6437 - return 0;
6439 -_ACEOF
6440 -rm -f conftest.$ac_objext conftest$ac_exeext
6441 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6442 - (eval $ac_link) 2>conftest.er1
6443 - ac_status=$?
6444 - grep -v '^ *+' conftest.er1 >conftest.err
6445 - rm -f conftest.er1
6446 - cat conftest.err >&5
6447 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6448 - (exit $ac_status); } &&
6449 - { ac_try='test -z "$ac_c_werror_flag"
6450 - || test ! -s conftest.err'
6451 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6452 - (eval $ac_try) 2>&5
6453 - ac_status=$?
6454 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6455 - (exit $ac_status); }; } &&
6456 - { ac_try='test -s conftest$ac_exeext'
6457 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6458 - (eval $ac_try) 2>&5
6459 - ac_status=$?
6460 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6461 - (exit $ac_status); }; }; then
6462 - ac_cv_func_dlopen=yes
6463 -else
6464 - echo "$as_me: failed program was:" >&5
6465 -sed 's/^/| /' conftest.$ac_ext >&5
6467 -ac_cv_func_dlopen=no
6469 -rm -f conftest.err conftest.$ac_objext \
6470 - conftest$ac_exeext conftest.$ac_ext
6472 -echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
6473 -echo "${ECHO_T}$ac_cv_func_dlopen" >&6
6474 -if test $ac_cv_func_dlopen = yes; then
6475 + ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
6476 +if test "x$ac_cv_func_dlopen" = x""yes; then :
6477 lt_cv_dlopen="dlopen"
6478 else
6479 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
6480 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
6481 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
6482 - echo $ECHO_N "(cached) $ECHO_C" >&6
6483 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
6484 +$as_echo_n "checking for dlopen in -ldl... " >&6; }
6485 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
6486 + $as_echo_n "(cached) " >&6
6487 else
6488 ac_check_lib_save_LIBS=$LIBS
6489 LIBS="-ldl $LIBS"
6490 -cat >conftest.$ac_ext <<_ACEOF
6491 -/* confdefs.h. */
6492 -_ACEOF
6493 -cat confdefs.h >>conftest.$ac_ext
6494 -cat >>conftest.$ac_ext <<_ACEOF
6495 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6496 /* end confdefs.h. */
6498 -/* Override any gcc2 internal prototype to avoid an error. */
6499 +/* Override any GCC internal prototype to avoid an error.
6500 + Use char because int might match the return type of a GCC
6501 + builtin and then its argument prototype would still apply. */
6502 #ifdef __cplusplus
6503 extern "C"
6504 #endif
6505 -/* We use char because int might match the return type of a gcc2
6506 - builtin and then its argument prototype would still apply. */
6507 char dlopen ();
6509 main ()
6511 -dlopen ();
6512 +return dlopen ();
6514 return 0;
6516 _ACEOF
6517 -rm -f conftest.$ac_objext conftest$ac_exeext
6518 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6519 - (eval $ac_link) 2>conftest.er1
6520 - ac_status=$?
6521 - grep -v '^ *+' conftest.er1 >conftest.err
6522 - rm -f conftest.er1
6523 - cat conftest.err >&5
6524 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6525 - (exit $ac_status); } &&
6526 - { ac_try='test -z "$ac_c_werror_flag"
6527 - || test ! -s conftest.err'
6528 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6529 - (eval $ac_try) 2>&5
6530 - ac_status=$?
6531 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6532 - (exit $ac_status); }; } &&
6533 - { ac_try='test -s conftest$ac_exeext'
6534 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6535 - (eval $ac_try) 2>&5
6536 - ac_status=$?
6537 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6538 - (exit $ac_status); }; }; then
6539 +if ac_fn_c_try_link "$LINENO"; then :
6540 ac_cv_lib_dl_dlopen=yes
6541 else
6542 - echo "$as_me: failed program was:" >&5
6543 -sed 's/^/| /' conftest.$ac_ext >&5
6545 -ac_cv_lib_dl_dlopen=no
6546 + ac_cv_lib_dl_dlopen=no
6548 -rm -f conftest.err conftest.$ac_objext \
6549 - conftest$ac_exeext conftest.$ac_ext
6550 +rm -f core conftest.err conftest.$ac_objext \
6551 + conftest$ac_exeext conftest.$ac_ext
6552 LIBS=$ac_check_lib_save_LIBS
6554 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
6555 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
6556 -if test $ac_cv_lib_dl_dlopen = yes; then
6557 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
6558 +$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
6559 +if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
6560 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
6561 else
6562 - echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
6563 -echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
6564 -if test "${ac_cv_lib_svld_dlopen+set}" = set; then
6565 - echo $ECHO_N "(cached) $ECHO_C" >&6
6566 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
6567 +$as_echo_n "checking for dlopen in -lsvld... " >&6; }
6568 +if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
6569 + $as_echo_n "(cached) " >&6
6570 else
6571 ac_check_lib_save_LIBS=$LIBS
6572 LIBS="-lsvld $LIBS"
6573 -cat >conftest.$ac_ext <<_ACEOF
6574 -/* confdefs.h. */
6575 -_ACEOF
6576 -cat confdefs.h >>conftest.$ac_ext
6577 -cat >>conftest.$ac_ext <<_ACEOF
6578 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6579 /* end confdefs.h. */
6581 -/* Override any gcc2 internal prototype to avoid an error. */
6582 +/* Override any GCC internal prototype to avoid an error.
6583 + Use char because int might match the return type of a GCC
6584 + builtin and then its argument prototype would still apply. */
6585 #ifdef __cplusplus
6586 extern "C"
6587 #endif
6588 -/* We use char because int might match the return type of a gcc2
6589 - builtin and then its argument prototype would still apply. */
6590 char dlopen ();
6592 main ()
6594 -dlopen ();
6595 +return dlopen ();
6597 return 0;
6599 _ACEOF
6600 -rm -f conftest.$ac_objext conftest$ac_exeext
6601 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6602 - (eval $ac_link) 2>conftest.er1
6603 - ac_status=$?
6604 - grep -v '^ *+' conftest.er1 >conftest.err
6605 - rm -f conftest.er1
6606 - cat conftest.err >&5
6607 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6608 - (exit $ac_status); } &&
6609 - { ac_try='test -z "$ac_c_werror_flag"
6610 - || test ! -s conftest.err'
6611 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6612 - (eval $ac_try) 2>&5
6613 - ac_status=$?
6614 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6615 - (exit $ac_status); }; } &&
6616 - { ac_try='test -s conftest$ac_exeext'
6617 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6618 - (eval $ac_try) 2>&5
6619 - ac_status=$?
6620 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6621 - (exit $ac_status); }; }; then
6622 +if ac_fn_c_try_link "$LINENO"; then :
6623 ac_cv_lib_svld_dlopen=yes
6624 else
6625 - echo "$as_me: failed program was:" >&5
6626 -sed 's/^/| /' conftest.$ac_ext >&5
6628 -ac_cv_lib_svld_dlopen=no
6629 + ac_cv_lib_svld_dlopen=no
6631 -rm -f conftest.err conftest.$ac_objext \
6632 - conftest$ac_exeext conftest.$ac_ext
6633 +rm -f core conftest.err conftest.$ac_objext \
6634 + conftest$ac_exeext conftest.$ac_ext
6635 LIBS=$ac_check_lib_save_LIBS
6637 -echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
6638 -echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
6639 -if test $ac_cv_lib_svld_dlopen = yes; then
6640 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
6641 +$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
6642 +if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
6643 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
6644 else
6645 - echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
6646 -echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
6647 -if test "${ac_cv_lib_dld_dld_link+set}" = set; then
6648 - echo $ECHO_N "(cached) $ECHO_C" >&6
6649 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
6650 +$as_echo_n "checking for dld_link in -ldld... " >&6; }
6651 +if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
6652 + $as_echo_n "(cached) " >&6
6653 else
6654 ac_check_lib_save_LIBS=$LIBS
6655 LIBS="-ldld $LIBS"
6656 -cat >conftest.$ac_ext <<_ACEOF
6657 -/* confdefs.h. */
6658 -_ACEOF
6659 -cat confdefs.h >>conftest.$ac_ext
6660 -cat >>conftest.$ac_ext <<_ACEOF
6661 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6662 /* end confdefs.h. */
6664 -/* Override any gcc2 internal prototype to avoid an error. */
6665 +/* Override any GCC internal prototype to avoid an error.
6666 + Use char because int might match the return type of a GCC
6667 + builtin and then its argument prototype would still apply. */
6668 #ifdef __cplusplus
6669 extern "C"
6670 #endif
6671 -/* We use char because int might match the return type of a gcc2
6672 - builtin and then its argument prototype would still apply. */
6673 char dld_link ();
6675 main ()
6677 -dld_link ();
6678 +return dld_link ();
6680 return 0;
6682 _ACEOF
6683 -rm -f conftest.$ac_objext conftest$ac_exeext
6684 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6685 - (eval $ac_link) 2>conftest.er1
6686 - ac_status=$?
6687 - grep -v '^ *+' conftest.er1 >conftest.err
6688 - rm -f conftest.er1
6689 - cat conftest.err >&5
6690 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6691 - (exit $ac_status); } &&
6692 - { ac_try='test -z "$ac_c_werror_flag"
6693 - || test ! -s conftest.err'
6694 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6695 - (eval $ac_try) 2>&5
6696 - ac_status=$?
6697 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6698 - (exit $ac_status); }; } &&
6699 - { ac_try='test -s conftest$ac_exeext'
6700 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6701 - (eval $ac_try) 2>&5
6702 - ac_status=$?
6703 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6704 - (exit $ac_status); }; }; then
6705 +if ac_fn_c_try_link "$LINENO"; then :
6706 ac_cv_lib_dld_dld_link=yes
6707 else
6708 - echo "$as_me: failed program was:" >&5
6709 -sed 's/^/| /' conftest.$ac_ext >&5
6711 -ac_cv_lib_dld_dld_link=no
6712 + ac_cv_lib_dld_dld_link=no
6714 -rm -f conftest.err conftest.$ac_objext \
6715 - conftest$ac_exeext conftest.$ac_ext
6716 +rm -f core conftest.err conftest.$ac_objext \
6717 + conftest$ac_exeext conftest.$ac_ext
6718 LIBS=$ac_check_lib_save_LIBS
6720 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
6721 -echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
6722 -if test $ac_cv_lib_dld_dld_link = yes; then
6723 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
6724 +$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
6725 +if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
6726 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
6729 @@ -6711,10 +6768,10 @@
6730 save_LIBS="$LIBS"
6731 LIBS="$lt_cv_dlopen_libs $LIBS"
6733 - echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
6734 -echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
6735 -if test "${lt_cv_dlopen_self+set}" = set; then
6736 - echo $ECHO_N "(cached) $ECHO_C" >&6
6737 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
6738 +$as_echo_n "checking whether a program can dlopen itself... " >&6; }
6739 +if test "${lt_cv_dlopen_self+set}" = set; then :
6740 + $as_echo_n "(cached) " >&6
6741 else
6742 if test "$cross_compiling" = yes; then :
6743 lt_cv_dlopen_self=cross
6744 @@ -6722,7 +6779,7 @@
6745 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
6746 lt_status=$lt_dlunknown
6747 cat > conftest.$ac_ext <<EOF
6748 -#line 6725 "configure"
6749 +#line 6782 "configure"
6750 #include "confdefs.h"
6752 #if HAVE_DLFCN_H
6753 @@ -6783,11 +6840,11 @@
6754 exit (status);
6757 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6758 + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6759 (eval $ac_link) 2>&5
6760 ac_status=$?
6761 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6762 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
6763 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6764 + test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
6765 (./conftest; exit; ) 2>/dev/null
6766 lt_status=$?
6767 case x$lt_status in
6768 @@ -6804,15 +6861,15 @@
6772 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
6773 -echo "${ECHO_T}$lt_cv_dlopen_self" >&6
6774 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
6775 +$as_echo "$lt_cv_dlopen_self" >&6; }
6777 if test "x$lt_cv_dlopen_self" = xyes; then
6778 LDFLAGS="$LDFLAGS $link_static_flag"
6779 - echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
6780 -echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
6781 -if test "${lt_cv_dlopen_self_static+set}" = set; then
6782 - echo $ECHO_N "(cached) $ECHO_C" >&6
6783 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
6784 +$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
6785 +if test "${lt_cv_dlopen_self_static+set}" = set; then :
6786 + $as_echo_n "(cached) " >&6
6787 else
6788 if test "$cross_compiling" = yes; then :
6789 lt_cv_dlopen_self_static=cross
6790 @@ -6820,7 +6877,7 @@
6791 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
6792 lt_status=$lt_dlunknown
6793 cat > conftest.$ac_ext <<EOF
6794 -#line 6823 "configure"
6795 +#line 6880 "configure"
6796 #include "confdefs.h"
6798 #if HAVE_DLFCN_H
6799 @@ -6881,11 +6938,11 @@
6800 exit (status);
6803 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6804 + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6805 (eval $ac_link) 2>&5
6806 ac_status=$?
6807 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6808 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
6809 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6810 + test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
6811 (./conftest; exit; ) 2>/dev/null
6812 lt_status=$?
6813 case x$lt_status in
6814 @@ -6902,8 +6959,8 @@
6818 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
6819 -echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
6820 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
6821 +$as_echo "$lt_cv_dlopen_self_static" >&6; }
6824 CPPFLAGS="$save_CPPFLAGS"
6825 @@ -6935,19 +6992,19 @@
6826 # Test whether the compiler implicitly links with -lc since on some
6827 # systems, -lgcc has to come before -lc. If gcc already passes -lc
6828 # to ld, don't add -lc before -lgcc.
6829 - echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
6830 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
6831 - if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
6832 - echo $ECHO_N "(cached) $ECHO_C" >&6
6833 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
6834 +$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
6835 + if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
6836 + $as_echo_n "(cached) " >&6
6837 else
6838 $rm conftest*
6839 echo 'static int dummy;' > conftest.$ac_ext
6841 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6842 + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6843 (eval $ac_compile) 2>&5
6844 ac_status=$?
6845 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6846 - (exit $ac_status); }; then
6847 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6848 + test $ac_status = 0; }; then
6849 soname=conftest
6850 lib=conftest
6851 libobjs=conftest.$ac_objext
6852 @@ -6960,11 +7017,11 @@
6853 libname=conftest
6854 save_allow_undefined_flag=$allow_undefined_flag
6855 allow_undefined_flag=
6856 - if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
6857 + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\""; } >&5
6858 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
6859 ac_status=$?
6860 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6861 - (exit $ac_status); }
6862 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6863 + test $ac_status = 0; }
6864 then
6865 lt_cv_archive_cmds_need_lc=no
6866 else
6867 @@ -6976,8 +7033,8 @@
6871 - echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
6872 -echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
6873 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
6874 +$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
6876 esac
6878 @@ -7553,270 +7610,104 @@
6882 -cat >conftest.$ac_ext <<_ACEOF
6883 -/* confdefs.h. */
6884 -_ACEOF
6885 -cat confdefs.h >>conftest.$ac_ext
6886 -cat >>conftest.$ac_ext <<_ACEOF
6887 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6888 /* end confdefs.h. */
6889 #include <pwd.h>
6891 _ACEOF
6892 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6893 - $EGREP "pw_quota" >/dev/null 2>&1; then
6894 - cat >>confdefs.h <<\_ACEOF
6895 -#define HAVE_PW_QUOTA 1
6896 -_ACEOF
6897 + $EGREP "pw_quota" >/dev/null 2>&1; then :
6898 + $as_echo "#define HAVE_PW_QUOTA 1" >>confdefs.h
6901 rm -f conftest*
6903 -cat >conftest.$ac_ext <<_ACEOF
6904 -/* confdefs.h. */
6905 -_ACEOF
6906 -cat confdefs.h >>conftest.$ac_ext
6907 -cat >>conftest.$ac_ext <<_ACEOF
6908 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6909 /* end confdefs.h. */
6910 #include <pwd.h>
6912 _ACEOF
6913 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6914 - $EGREP "pw_comment" >/dev/null 2>&1; then
6915 - cat >>confdefs.h <<\_ACEOF
6916 -#define HAVE_PW_COMMENT 1
6917 -_ACEOF
6918 + $EGREP "pw_comment" >/dev/null 2>&1; then :
6919 + $as_echo "#define HAVE_PW_COMMENT 1" >>confdefs.h
6922 rm -f conftest*
6924 -cat >conftest.$ac_ext <<_ACEOF
6925 -/* confdefs.h. */
6926 -_ACEOF
6927 -cat confdefs.h >>conftest.$ac_ext
6928 -cat >>conftest.$ac_ext <<_ACEOF
6929 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6930 /* end confdefs.h. */
6931 #include <pwd.h>
6933 _ACEOF
6934 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6935 - $EGREP "pw_class" >/dev/null 2>&1; then
6936 - cat >>confdefs.h <<\_ACEOF
6937 -#define HAVE_PW_CLASS 1
6938 -_ACEOF
6939 + $EGREP "pw_class" >/dev/null 2>&1; then :
6940 + $as_echo "#define HAVE_PW_CLASS 1" >>confdefs.h
6943 rm -f conftest*
6945 -cat >conftest.$ac_ext <<_ACEOF
6946 -/* confdefs.h. */
6947 -_ACEOF
6948 -cat confdefs.h >>conftest.$ac_ext
6949 -cat >>conftest.$ac_ext <<_ACEOF
6950 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6951 /* end confdefs.h. */
6952 #include <pwd.h>
6954 _ACEOF
6955 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6956 - $EGREP "pw_change" >/dev/null 2>&1; then
6957 - cat >>confdefs.h <<\_ACEOF
6958 -#define HAVE_PW_CHANGE 1
6959 -_ACEOF
6960 + $EGREP "pw_change" >/dev/null 2>&1; then :
6961 + $as_echo "#define HAVE_PW_CHANGE 1" >>confdefs.h
6964 rm -f conftest*
6966 -cat >conftest.$ac_ext <<_ACEOF
6967 -/* confdefs.h. */
6968 -_ACEOF
6969 -cat confdefs.h >>conftest.$ac_ext
6970 -cat >>conftest.$ac_ext <<_ACEOF
6971 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6972 /* end confdefs.h. */
6973 #include <pwd.h>
6975 _ACEOF
6976 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6977 - $EGREP "pw_expire" >/dev/null 2>&1; then
6978 - cat >>confdefs.h <<\_ACEOF
6979 -#define HAVE_PW_EXPIRE 1
6980 -_ACEOF
6981 + $EGREP "pw_expire" >/dev/null 2>&1; then :
6982 + $as_echo "#define HAVE_PW_EXPIRE 1" >>confdefs.h
6985 rm -f conftest*
6988 -echo "$as_me:$LINENO: checking for res_mkquery" >&5
6989 -echo $ECHO_N "checking for res_mkquery... $ECHO_C" >&6
6990 -if test "${ac_cv_func_res_mkquery+set}" = set; then
6991 - echo $ECHO_N "(cached) $ECHO_C" >&6
6992 -else
6993 - cat >conftest.$ac_ext <<_ACEOF
6994 -/* confdefs.h. */
6995 -_ACEOF
6996 -cat confdefs.h >>conftest.$ac_ext
6997 -cat >>conftest.$ac_ext <<_ACEOF
6998 -/* end confdefs.h. */
6999 -/* Define res_mkquery to an innocuous variant, in case <limits.h> declares res_mkquery.
7000 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
7001 -#define res_mkquery innocuous_res_mkquery
7003 -/* System header to define __stub macros and hopefully few prototypes,
7004 - which can conflict with char res_mkquery (); below.
7005 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7006 - <limits.h> exists even on freestanding compilers. */
7008 -#ifdef __STDC__
7009 -# include <limits.h>
7010 -#else
7011 -# include <assert.h>
7012 -#endif
7014 -#undef res_mkquery
7016 -/* Override any gcc2 internal prototype to avoid an error. */
7017 -#ifdef __cplusplus
7018 -extern "C"
7020 -#endif
7021 -/* We use char because int might match the return type of a gcc2
7022 - builtin and then its argument prototype would still apply. */
7023 -char res_mkquery ();
7024 -/* The GNU C library defines this for functions which it implements
7025 - to always fail with ENOSYS. Some functions are actually named
7026 - something starting with __ and the normal name is an alias. */
7027 -#if defined (__stub_res_mkquery) || defined (__stub___res_mkquery)
7028 -choke me
7029 -#else
7030 -char (*f) () = res_mkquery;
7031 -#endif
7032 -#ifdef __cplusplus
7034 -#endif
7036 -int
7037 -main ()
7039 -return f != res_mkquery;
7041 - return 0;
7043 -_ACEOF
7044 -rm -f conftest.$ac_objext conftest$ac_exeext
7045 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7046 - (eval $ac_link) 2>conftest.er1
7047 - ac_status=$?
7048 - grep -v '^ *+' conftest.er1 >conftest.err
7049 - rm -f conftest.er1
7050 - cat conftest.err >&5
7051 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7052 - (exit $ac_status); } &&
7053 - { ac_try='test -z "$ac_c_werror_flag"
7054 - || test ! -s conftest.err'
7055 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7056 - (eval $ac_try) 2>&5
7057 - ac_status=$?
7058 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7059 - (exit $ac_status); }; } &&
7060 - { ac_try='test -s conftest$ac_exeext'
7061 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7062 - (eval $ac_try) 2>&5
7063 - ac_status=$?
7064 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7065 - (exit $ac_status); }; }; then
7066 - ac_cv_func_res_mkquery=yes
7067 -else
7068 - echo "$as_me: failed program was:" >&5
7069 -sed 's/^/| /' conftest.$ac_ext >&5
7071 -ac_cv_func_res_mkquery=no
7073 -rm -f conftest.err conftest.$ac_objext \
7074 - conftest$ac_exeext conftest.$ac_ext
7076 -echo "$as_me:$LINENO: result: $ac_cv_func_res_mkquery" >&5
7077 -echo "${ECHO_T}$ac_cv_func_res_mkquery" >&6
7078 -if test $ac_cv_func_res_mkquery = yes; then
7079 +ac_fn_c_check_func "$LINENO" "res_ninit" "ac_cv_func_res_ninit"
7080 +if test "x$ac_cv_func_res_ninit" = x""yes; then :
7082 else
7084 -echo "$as_me:$LINENO: checking for res_mkquery in -lresolv" >&5
7085 -echo $ECHO_N "checking for res_mkquery in -lresolv... $ECHO_C" >&6
7086 -if test "${ac_cv_lib_resolv_res_mkquery+set}" = set; then
7087 - echo $ECHO_N "(cached) $ECHO_C" >&6
7088 -else
7089 - ac_check_lib_save_LIBS=$LIBS
7090 -LIBS="-lresolv $LIBS"
7091 -cat >conftest.$ac_ext <<_ACEOF
7092 -/* confdefs.h. */
7093 -_ACEOF
7094 -cat confdefs.h >>conftest.$ac_ext
7095 -cat >>conftest.$ac_ext <<_ACEOF
7096 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for standalone resolver library existence" >&5
7097 +$as_echo_n "checking for standalone resolver library existence... " >&6; }
7098 + old_LIBS="$LIBS"
7099 + LIBS="$LIBS -lresolv"
7100 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7101 /* end confdefs.h. */
7103 -/* Override any gcc2 internal prototype to avoid an error. */
7104 -#ifdef __cplusplus
7105 -extern "C"
7106 -#endif
7107 -/* We use char because int might match the return type of a gcc2
7108 - builtin and then its argument prototype would still apply. */
7109 -char res_mkquery ();
7110 +#include <resolv.h>
7112 main ()
7114 -res_mkquery ();
7115 +res_ninit((void *)0);
7117 return 0;
7119 _ACEOF
7120 -rm -f conftest.$ac_objext conftest$ac_exeext
7121 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7122 - (eval $ac_link) 2>conftest.er1
7123 - ac_status=$?
7124 - grep -v '^ *+' conftest.er1 >conftest.err
7125 - rm -f conftest.er1
7126 - cat conftest.err >&5
7127 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7128 - (exit $ac_status); } &&
7129 - { ac_try='test -z "$ac_c_werror_flag"
7130 - || test ! -s conftest.err'
7131 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7132 - (eval $ac_try) 2>&5
7133 - ac_status=$?
7134 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7135 - (exit $ac_status); }; } &&
7136 - { ac_try='test -s conftest$ac_exeext'
7137 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7138 - (eval $ac_try) 2>&5
7139 - ac_status=$?
7140 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7141 - (exit $ac_status); }; }; then
7142 - ac_cv_lib_resolv_res_mkquery=yes
7143 +if ac_fn_c_try_link "$LINENO"; then :
7144 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
7145 +$as_echo "found" >&6; }
7146 else
7147 - echo "$as_me: failed program was:" >&5
7148 -sed 's/^/| /' conftest.$ac_ext >&5
7150 -ac_cv_lib_resolv_res_mkquery=no
7152 -rm -f conftest.err conftest.$ac_objext \
7153 - conftest$ac_exeext conftest.$ac_ext
7154 -LIBS=$ac_check_lib_save_LIBS
7155 + LIBS="$old_LIBS"
7156 + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7157 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7158 +as_fn_error $? "not found
7159 +See \`config.log' for more details" "$LINENO" 5; }
7161 -echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_mkquery" >&5
7162 -echo "${ECHO_T}$ac_cv_lib_resolv_res_mkquery" >&6
7163 -if test $ac_cv_lib_resolv_res_mkquery = yes; then
7164 - cat >>confdefs.h <<_ACEOF
7165 -#define HAVE_LIBRESOLV 1
7166 -_ACEOF
7168 - LIBS="-lresolv $LIBS"
7170 +rm -f core conftest.err conftest.$ac_objext \
7171 + conftest$ac_exeext conftest.$ac_ext
7176 +ac_config_headers="$ac_config_headers config.h"
7178 - ac_config_headers="$ac_config_headers config.h"
7179 +ac_config_files="$ac_config_files Makefile"
7181 - ac_config_files="$ac_config_files Makefile"
7182 cat >confcache <<\_ACEOF
7183 # This file is a shell script that caches the results of configure
7184 # tests run on this system so they can be shared between configure
7185 @@ -7835,39 +7726,59 @@
7187 # The following way of writing the cache mishandles newlines in values,
7188 # but we know of no workaround that is simple, portable, and efficient.
7189 -# So, don't put newlines in cache variables' values.
7190 +# So, we kill variables containing newlines.
7191 # Ultrix sh set writes to stderr and can't be redirected directly,
7192 # and sets the high bit in the cache file unless we assign to the vars.
7195 + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7196 + eval ac_val=\$$ac_var
7197 + case $ac_val in #(
7198 + *${as_nl}*)
7199 + case $ac_var in #(
7200 + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7201 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7202 + esac
7203 + case $ac_var in #(
7204 + _ | IFS | as_nl) ;; #(
7205 + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
7206 + *) { eval $ac_var=; unset $ac_var;} ;;
7207 + esac ;;
7208 + esac
7209 + done
7211 (set) 2>&1 |
7212 - case `(ac_space=' '; set | grep ac_space) 2>&1` in
7213 - *ac_space=\ *)
7214 - # `set' does not quote correctly, so add quotes (double-quote
7215 - # substitution turns \\\\ into \\, and sed turns \\ into \).
7216 + case $as_nl`(ac_space=' '; set) 2>&1` in #(
7217 + *${as_nl}ac_space=\ *)
7218 + # `set' does not quote correctly, so add quotes: double-quote
7219 + # substitution turns \\\\ into \\, and sed turns \\ into \.
7220 sed -n \
7221 "s/'/'\\\\''/g;
7222 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7223 - ;;
7224 + ;; #(
7226 # `set' quotes correctly as required by POSIX, so do not add quotes.
7227 - sed -n \
7228 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7229 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7231 - esac;
7232 -} |
7233 + esac |
7234 + sort
7235 +) |
7236 sed '
7237 + /^ac_cv_env_/b end
7238 t clear
7239 - : clear
7240 + :clear
7241 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7242 t end
7243 - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7244 - : end' >>confcache
7245 -if diff $cache_file confcache >/dev/null 2>&1; then :; else
7246 - if test -w $cache_file; then
7247 - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
7248 + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7249 + :end' >>confcache
7250 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
7251 + if test -w "$cache_file"; then
7252 + test "x$cache_file" != "x/dev/null" &&
7253 + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7254 +$as_echo "$as_me: updating cache $cache_file" >&6;}
7255 cat confcache >$cache_file
7256 else
7257 - echo "not updating unwritable cache $cache_file"
7258 + { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7259 +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7262 rm -f confcache
7263 @@ -7876,32 +7787,19 @@
7264 # Let make expand exec_prefix.
7265 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7267 -# VPATH may cause trouble with some makes, so we remove $(srcdir),
7268 -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7269 -# trailing colons and then remove the whole line if VPATH becomes empty
7270 -# (actually we leave an empty line to preserve line numbers).
7271 -if test "x$srcdir" = x.; then
7272 - ac_vpsub='/^[ ]*VPATH[ ]*=/{
7273 -s/:*\$(srcdir):*/:/;
7274 -s/:*\${srcdir}:*/:/;
7275 -s/:*@srcdir@:*/:/;
7276 -s/^\([^=]*=[ ]*\):*/\1/;
7277 -s/:*$//;
7278 -s/^[^=]*=[ ]*$//;
7282 DEFS=-DHAVE_CONFIG_H
7284 ac_libobjs=
7285 ac_ltlibobjs=
7287 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7288 # 1. Remove the extension, and $U if already installed.
7289 - ac_i=`echo "$ac_i" |
7290 - sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
7291 - # 2. Add them.
7292 - ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
7293 - ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
7294 + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7295 + ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
7296 + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7297 + # will be set to the directory where LIBOBJS objects are built.
7298 + as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7299 + as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
7300 done
7301 LIBOBJS=$ac_libobjs
7303 @@ -7910,11 +7808,13 @@
7306 : ${CONFIG_STATUS=./config.status}
7307 +ac_write_fail=0
7308 ac_clean_files_save=$ac_clean_files
7309 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7310 -{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7311 -echo "$as_me: creating $CONFIG_STATUS" >&6;}
7312 -cat >$CONFIG_STATUS <<_ACEOF
7313 +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7314 +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7315 +as_write_fail=0
7316 +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7317 #! $SHELL
7318 # Generated by $as_me.
7319 # Run this file to recreate the current configuration.
7320 @@ -7924,81 +7824,252 @@
7321 debug=false
7322 ac_cs_recheck=false
7323 ac_cs_silent=false
7324 -SHELL=\${CONFIG_SHELL-$SHELL}
7325 -_ACEOF
7327 -cat >>$CONFIG_STATUS <<\_ACEOF
7328 -## --------------------- ##
7329 -## M4sh Initialization. ##
7330 -## --------------------- ##
7331 +SHELL=\${CONFIG_SHELL-$SHELL}
7332 +export SHELL
7333 +_ASEOF
7334 +cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
7335 +## -------------------- ##
7336 +## M4sh Initialization. ##
7337 +## -------------------- ##
7339 -# Be Bourne compatible
7340 -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
7341 +# Be more Bourne compatible
7342 +DUALCASE=1; export DUALCASE # for MKS sh
7343 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
7344 emulate sh
7345 NULLCMD=:
7346 - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7347 + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7348 # is contrary to our usage. Disable this feature.
7349 alias -g '${1+"$@"}'='"$@"'
7350 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
7351 - set -o posix
7352 + setopt NO_GLOB_SUBST
7353 +else
7354 + case `(set -o) 2>/dev/null` in #(
7355 + *posix*) :
7356 + set -o posix ;; #(
7357 + *) :
7358 + ;;
7359 +esac
7361 -DUALCASE=1; export DUALCASE # for MKS sh
7363 -# Support unset when possible.
7364 -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7365 - as_unset=unset
7366 -else
7367 - as_unset=false
7369 +as_nl='
7371 +export as_nl
7372 +# Printing a long string crashes Solaris 7 /usr/bin/printf.
7373 +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7374 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7375 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7376 +# Prefer a ksh shell builtin over an external printf program on Solaris,
7377 +# but without wasting forks for bash or zsh.
7378 +if test -z "$BASH_VERSION$ZSH_VERSION" \
7379 + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7380 + as_echo='print -r --'
7381 + as_echo_n='print -rn --'
7382 +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7383 + as_echo='printf %s\n'
7384 + as_echo_n='printf %s'
7385 +else
7386 + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7387 + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
7388 + as_echo_n='/usr/ucb/echo -n'
7389 + else
7390 + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7391 + as_echo_n_body='eval
7392 + arg=$1;
7393 + case $arg in #(
7394 + *"$as_nl"*)
7395 + expr "X$arg" : "X\\(.*\\)$as_nl";
7396 + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7397 + esac;
7398 + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
7400 + export as_echo_n_body
7401 + as_echo_n='sh -c $as_echo_n_body as_echo'
7402 + fi
7403 + export as_echo_body
7404 + as_echo='sh -c $as_echo_body as_echo'
7407 +# The user is always right.
7408 +if test "${PATH_SEPARATOR+set}" != set; then
7409 + PATH_SEPARATOR=:
7410 + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7411 + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7412 + PATH_SEPARATOR=';'
7416 -# Work around bugs in pre-3.0 UWIN ksh.
7417 -$as_unset ENV MAIL MAILPATH
7419 +# IFS
7420 +# We need space, tab and new line, in precisely that order. Quoting is
7421 +# there to prevent editors from complaining about space-tab.
7422 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
7423 +# splitting by setting IFS to empty value.)
7424 +IFS=" "" $as_nl"
7426 +# Find who we are. Look in the path if we contain no directory separator.
7427 +case $0 in #((
7428 + *[\\/]* ) as_myself=$0 ;;
7429 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7430 +for as_dir in $PATH
7432 + IFS=$as_save_IFS
7433 + test -z "$as_dir" && as_dir=.
7434 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7435 + done
7436 +IFS=$as_save_IFS
7438 + ;;
7439 +esac
7440 +# We did not find ourselves, most probably we were run as `sh COMMAND'
7441 +# in which case we are not to be found in the path.
7442 +if test "x$as_myself" = x; then
7443 + as_myself=$0
7445 +if test ! -f "$as_myself"; then
7446 + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7447 + exit 1
7450 +# Unset variables that we do not need and which cause bugs (e.g. in
7451 +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7452 +# suppresses any "Segmentation fault" message there. '((' could
7453 +# trigger a bug in pdksh 5.2.14.
7454 +for as_var in BASH_ENV ENV MAIL MAILPATH
7455 +do eval test x\${$as_var+set} = xset \
7456 + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
7457 +done
7458 PS1='$ '
7459 PS2='> '
7460 PS4='+ '
7462 # NLS nuisances.
7463 -for as_var in \
7464 - LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7465 - LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7466 - LC_TELEPHONE LC_TIME
7468 - if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7469 - eval $as_var=C; export $as_var
7470 - else
7471 - $as_unset $as_var
7472 - fi
7473 -done
7474 +LC_ALL=C
7475 +export LC_ALL
7476 +LANGUAGE=C
7477 +export LANGUAGE
7479 +# CDPATH.
7480 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
7483 +# as_fn_error STATUS ERROR [LINENO LOG_FD]
7484 +# ----------------------------------------
7485 +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7486 +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7487 +# script with STATUS, using 1 if that was 0.
7488 +as_fn_error ()
7490 + as_status=$1; test $as_status -eq 0 && as_status=1
7491 + if test "$4"; then
7492 + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
7493 + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7494 + fi
7495 + $as_echo "$as_me: error: $2" >&2
7496 + as_fn_exit $as_status
7497 +} # as_fn_error
7500 +# as_fn_set_status STATUS
7501 +# -----------------------
7502 +# Set $? to STATUS, without forking.
7503 +as_fn_set_status ()
7505 + return $1
7506 +} # as_fn_set_status
7508 +# as_fn_exit STATUS
7509 +# -----------------
7510 +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7511 +as_fn_exit ()
7513 + set +e
7514 + as_fn_set_status $1
7515 + exit $1
7516 +} # as_fn_exit
7518 +# as_fn_unset VAR
7519 +# ---------------
7520 +# Portably unset VAR.
7521 +as_fn_unset ()
7523 + { eval $1=; unset $1;}
7525 +as_unset=as_fn_unset
7526 +# as_fn_append VAR VALUE
7527 +# ----------------------
7528 +# Append the text in VALUE to the end of the definition contained in VAR. Take
7529 +# advantage of any shell optimizations that allow amortized linear growth over
7530 +# repeated appends, instead of the typical quadratic growth present in naive
7531 +# implementations.
7532 +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
7533 + eval 'as_fn_append ()
7535 + eval $1+=\$2
7536 + }'
7537 +else
7538 + as_fn_append ()
7540 + eval $1=\$$1\$2
7542 +fi # as_fn_append
7544 +# as_fn_arith ARG...
7545 +# ------------------
7546 +# Perform arithmetic evaluation on the ARGs, and store the result in the
7547 +# global $as_val. Take advantage of shells that can avoid forks. The arguments
7548 +# must be portable across $(()) and expr.
7549 +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
7550 + eval 'as_fn_arith ()
7552 + as_val=$(( $* ))
7553 + }'
7554 +else
7555 + as_fn_arith ()
7557 + as_val=`expr "$@" || test $? -eq 1`
7559 +fi # as_fn_arith
7562 -# Required to use basename.
7563 -if expr a : '\(a\)' >/dev/null 2>&1; then
7564 +if expr a : '\(a\)' >/dev/null 2>&1 &&
7565 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
7566 as_expr=expr
7567 else
7568 as_expr=false
7571 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
7572 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7573 as_basename=basename
7574 else
7575 as_basename=false
7578 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7579 + as_dirname=dirname
7580 +else
7581 + as_dirname=false
7584 -# Name of the executable.
7585 -as_me=`$as_basename "$0" ||
7586 +as_me=`$as_basename -- "$0" ||
7587 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7588 X"$0" : 'X\(//\)$' \| \
7589 - X"$0" : 'X\(/\)$' \| \
7590 - . : '\(.\)' 2>/dev/null ||
7591 -echo X/"$0" |
7592 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7593 - /^X\/\(\/\/\)$/{ s//\1/; q; }
7594 - /^X\/\(\/\).*/{ s//\1/; q; }
7595 - s/.*/./; q'`
7597 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7598 +$as_echo X/"$0" |
7599 + sed '/^.*\/\([^/][^/]*\)\/*$/{
7600 + s//\1/
7603 + /^X\/\(\/\/\)$/{
7604 + s//\1/
7607 + /^X\/\(\/\).*/{
7608 + s//\1/
7611 + s/.*/./; q'`
7613 -# PATH needs CR, and LINENO needs CR and PATH.
7614 # Avoid depending upon Character Ranges.
7615 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7616 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7617 @@ -8006,148 +8077,123 @@
7618 as_cr_digits='0123456789'
7619 as_cr_alnum=$as_cr_Letters$as_cr_digits
7621 -# The user is always right.
7622 -if test "${PATH_SEPARATOR+set}" != set; then
7623 - echo "#! /bin/sh" >conf$$.sh
7624 - echo "exit 0" >>conf$$.sh
7625 - chmod +x conf$$.sh
7626 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
7627 - PATH_SEPARATOR=';'
7628 - else
7629 - PATH_SEPARATOR=:
7630 - fi
7631 - rm -f conf$$.sh
7635 - as_lineno_1=$LINENO
7636 - as_lineno_2=$LINENO
7637 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7638 - test "x$as_lineno_1" != "x$as_lineno_2" &&
7639 - test "x$as_lineno_3" = "x$as_lineno_2" || {
7640 - # Find who we are. Look in the path if we contain no path at all
7641 - # relative or not.
7642 - case $0 in
7643 - *[\\/]* ) as_myself=$0 ;;
7644 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7645 -for as_dir in $PATH
7647 - IFS=$as_save_IFS
7648 - test -z "$as_dir" && as_dir=.
7649 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7650 -done
7652 - ;;
7653 - esac
7654 - # We did not find ourselves, most probably we were run as `sh COMMAND'
7655 - # in which case we are not to be found in the path.
7656 - if test "x$as_myself" = x; then
7657 - as_myself=$0
7658 - fi
7659 - if test ! -f "$as_myself"; then
7660 - { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
7661 -echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
7662 - { (exit 1); exit 1; }; }
7663 - fi
7664 - case $CONFIG_SHELL in
7665 - '')
7666 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7667 -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
7669 - IFS=$as_save_IFS
7670 - test -z "$as_dir" && as_dir=.
7671 - for as_base in sh bash ksh sh5; do
7672 - case $as_dir in
7673 - /*)
7674 - if ("$as_dir/$as_base" -c '
7675 - as_lineno_1=$LINENO
7676 - as_lineno_2=$LINENO
7677 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7678 - test "x$as_lineno_1" != "x$as_lineno_2" &&
7679 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
7680 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
7681 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
7682 - CONFIG_SHELL=$as_dir/$as_base
7683 - export CONFIG_SHELL
7684 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
7685 - fi;;
7686 - esac
7687 - done
7688 -done
7690 - esac
7692 - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7693 - # uniformly replaced by the line number. The first 'sed' inserts a
7694 - # line-number line before each line; the second 'sed' does the real
7695 - # work. The second script uses 'N' to pair each line-number line
7696 - # with the numbered line, and appends trailing '-' during
7697 - # substitution so that $LINENO is not a special case at line end.
7698 - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7699 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
7700 - sed '=' <$as_myself |
7701 - sed '
7703 - s,$,-,
7704 - : loop
7705 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
7706 - t loop
7707 - s,-$,,
7708 - s,^['$as_cr_digits']*\n,,
7709 - ' >$as_me.lineno &&
7710 - chmod +x $as_me.lineno ||
7711 - { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
7712 -echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
7713 - { (exit 1); exit 1; }; }
7715 - # Don't try to exec as it changes $[0], causing all sort of problems
7716 - # (the dirname of $[0] is not the place where we might find the
7717 - # original and so on. Autoconf is especially sensible to this).
7718 - . ./$as_me.lineno
7719 - # Exit status is that of the last command.
7720 - exit
7724 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
7725 - *c*,-n*) ECHO_N= ECHO_C='
7726 -' ECHO_T=' ' ;;
7727 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
7728 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
7729 +ECHO_C= ECHO_N= ECHO_T=
7730 +case `echo -n x` in #(((((
7731 +-n*)
7732 + case `echo 'xy\c'` in
7733 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
7734 + xy) ECHO_C='\c';;
7735 + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
7736 + ECHO_T=' ';;
7737 + esac;;
7739 + ECHO_N='-n';;
7740 esac
7742 -if expr a : '\(a\)' >/dev/null 2>&1; then
7743 - as_expr=expr
7744 +rm -f conf$$ conf$$.exe conf$$.file
7745 +if test -d conf$$.dir; then
7746 + rm -f conf$$.dir/conf$$.file
7747 else
7748 - as_expr=false
7749 + rm -f conf$$.dir
7750 + mkdir conf$$.dir 2>/dev/null
7753 -rm -f conf$$ conf$$.exe conf$$.file
7754 -echo >conf$$.file
7755 -if ln -s conf$$.file conf$$ 2>/dev/null; then
7756 - # We could just check for DJGPP; but this test a) works b) is more generic
7757 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
7758 - if test -f conf$$.exe; then
7759 - # Don't use ln at all; we don't have any links
7760 - as_ln_s='cp -p'
7761 - else
7762 +if (echo >conf$$.file) 2>/dev/null; then
7763 + if ln -s conf$$.file conf$$ 2>/dev/null; then
7764 as_ln_s='ln -s'
7765 + # ... but there are two gotchas:
7766 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7767 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7768 + # In both cases, we have to default to `cp -p'.
7769 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7770 + as_ln_s='cp -p'
7771 + elif ln conf$$.file conf$$ 2>/dev/null; then
7772 + as_ln_s=ln
7773 + else
7774 + as_ln_s='cp -p'
7776 -elif ln conf$$.file conf$$ 2>/dev/null; then
7777 - as_ln_s=ln
7778 else
7779 as_ln_s='cp -p'
7781 -rm -f conf$$ conf$$.exe conf$$.file
7782 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7783 +rmdir conf$$.dir 2>/dev/null
7786 +# as_fn_mkdir_p
7787 +# -------------
7788 +# Create "$as_dir" as a directory, including parents if necessary.
7789 +as_fn_mkdir_p ()
7792 + case $as_dir in #(
7793 + -*) as_dir=./$as_dir;;
7794 + esac
7795 + test -d "$as_dir" || eval $as_mkdir_p || {
7796 + as_dirs=
7797 + while :; do
7798 + case $as_dir in #(
7799 + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7800 + *) as_qdir=$as_dir;;
7801 + esac
7802 + as_dirs="'$as_qdir' $as_dirs"
7803 + as_dir=`$as_dirname -- "$as_dir" ||
7804 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7805 + X"$as_dir" : 'X\(//\)[^/]' \| \
7806 + X"$as_dir" : 'X\(//\)$' \| \
7807 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7808 +$as_echo X"$as_dir" |
7809 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7810 + s//\1/
7813 + /^X\(\/\/\)[^/].*/{
7814 + s//\1/
7817 + /^X\(\/\/\)$/{
7818 + s//\1/
7821 + /^X\(\/\).*/{
7822 + s//\1/
7825 + s/.*/./; q'`
7826 + test -d "$as_dir" && break
7827 + done
7828 + test -z "$as_dirs" || eval "mkdir $as_dirs"
7829 + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
7832 +} # as_fn_mkdir_p
7833 if mkdir -p . 2>/dev/null; then
7834 - as_mkdir_p=:
7835 + as_mkdir_p='mkdir -p "$as_dir"'
7836 else
7837 test -d ./-p && rmdir ./-p
7838 as_mkdir_p=false
7841 -as_executable_p="test -f"
7842 +if test -x / >/dev/null 2>&1; then
7843 + as_test_x='test -x'
7844 +else
7845 + if ls -dL / >/dev/null 2>&1; then
7846 + as_ls_L_option=L
7847 + else
7848 + as_ls_L_option=
7849 + fi
7850 + as_test_x='
7851 + eval sh -c '\''
7852 + if test -d "$1"; then
7853 + test -d "$1/.";
7854 + else
7855 + case $1 in #(
7856 + -*)set "./$1";;
7857 + esac;
7858 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
7859 + ???[sx]*):;;*)false;;esac;fi
7860 + '\'' sh
7863 +as_executable_p=$as_test_x
7865 # Sed expression to map a string onto a valid CPP name.
7866 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7867 @@ -8156,31 +8202,20 @@
7868 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7871 -# IFS
7872 -# We need space, tab and new line, in precisely that order.
7873 -as_nl='
7875 -IFS=" $as_nl"
7877 -# CDPATH.
7878 -$as_unset CDPATH
7880 exec 6>&1
7881 +## ----------------------------------- ##
7882 +## Main body of $CONFIG_STATUS script. ##
7883 +## ----------------------------------- ##
7884 +_ASEOF
7885 +test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
7887 -# Open the log real soon, to keep \$[0] and so on meaningful, and to
7888 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7889 +# Save the log message, to keep $0 and so on meaningful, and to
7890 # report actual input values of CONFIG_FILES etc. instead of their
7891 -# values after options handling. Logging --version etc. is OK.
7892 -exec 5>>config.log
7894 - echo
7895 - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7896 -## Running $as_me. ##
7897 -_ASBOX
7898 -} >&5
7899 -cat >&5 <<_CSEOF
7901 -This file was extended by $as_me, which was
7902 -generated by GNU Autoconf 2.59. Invocation command line was
7903 +# values after options handling.
7904 +ac_log="
7905 +This file was extended by hesiod $as_me 3.1.0, which was
7906 +generated by GNU Autoconf 2.67. Invocation command line was
7908 CONFIG_FILES = $CONFIG_FILES
7909 CONFIG_HEADERS = $CONFIG_HEADERS
7910 @@ -8188,45 +8223,46 @@
7911 CONFIG_COMMANDS = $CONFIG_COMMANDS
7912 $ $0 $@
7914 -_CSEOF
7915 -echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
7916 -echo >&5
7917 +on `(hostname || uname -n) 2>/dev/null | sed 1q`
7920 _ACEOF
7922 -# Files that config.status was made for.
7923 -if test -n "$ac_config_files"; then
7924 - echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
7926 +case $ac_config_files in *"
7927 +"*) set x $ac_config_files; shift; ac_config_files=$*;;
7928 +esac
7930 -if test -n "$ac_config_headers"; then
7931 - echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
7933 +case $ac_config_headers in *"
7934 +"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
7935 +esac
7937 -if test -n "$ac_config_links"; then
7938 - echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
7941 -if test -n "$ac_config_commands"; then
7942 - echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
7944 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7945 +# Files that config.status was made for.
7946 +config_files="$ac_config_files"
7947 +config_headers="$ac_config_headers"
7949 -cat >>$CONFIG_STATUS <<\_ACEOF
7950 +_ACEOF
7952 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7953 ac_cs_usage="\
7954 -\`$as_me' instantiates files from templates according to the
7955 -current configuration.
7956 +\`$as_me' instantiates files and other configuration actions
7957 +from templates according to the current configuration. Unless the files
7958 +and actions are specified as TAGs, all are instantiated by default.
7960 -Usage: $0 [OPTIONS] [FILE]...
7961 +Usage: $0 [OPTION]... [TAG]...
7963 -h, --help print this help, then exit
7964 - -V, --version print version number, then exit
7965 - -q, --quiet do not print progress messages
7966 + -V, --version print version number and configuration settings, then exit
7967 + --config print configuration, then exit
7968 + -q, --quiet, --silent
7969 + do not print progress messages
7970 -d, --debug don't remove temporary files
7971 --recheck update $as_me by reconfiguring in the same conditions
7972 - --file=FILE[:TEMPLATE]
7973 - instantiate the configuration file FILE
7974 - --header=FILE[:TEMPLATE]
7975 - instantiate the configuration header FILE
7976 + --file=FILE[:TEMPLATE]
7977 + instantiate the configuration file FILE
7978 + --header=FILE[:TEMPLATE]
7979 + instantiate the configuration header FILE
7981 Configuration files:
7982 $config_files
7983 @@ -8234,84 +8270,90 @@
7984 Configuration headers:
7985 $config_headers
7987 -Report bugs to <bug-autoconf@gnu.org>."
7988 -_ACEOF
7989 +Report bugs to the package provider."
7991 -cat >>$CONFIG_STATUS <<_ACEOF
7992 +_ACEOF
7993 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7994 +ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7995 ac_cs_version="\\
7996 -config.status
7997 -configured by $0, generated by GNU Autoconf 2.59,
7998 - with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7999 +hesiod config.status 3.1.0
8000 +configured by $0, generated by GNU Autoconf 2.67,
8001 + with options \\"\$ac_cs_config\\"
8003 -Copyright (C) 2003 Free Software Foundation, Inc.
8004 +Copyright (C) 2010 Free Software Foundation, Inc.
8005 This config.status script is free software; the Free Software Foundation
8006 gives unlimited permission to copy, distribute and modify it."
8007 -srcdir=$srcdir
8008 -INSTALL="$INSTALL"
8010 +ac_pwd='$ac_pwd'
8011 +srcdir='$srcdir'
8012 +INSTALL='$INSTALL'
8013 +test -n "\$AWK" || AWK=awk
8014 _ACEOF
8016 -cat >>$CONFIG_STATUS <<\_ACEOF
8017 -# If no file are specified by the user, then we need to provide default
8018 -# value. By we need to know if files were specified by the user.
8019 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8020 +# The default lists apply if the user does not specify any file.
8021 ac_need_defaults=:
8022 while test $# != 0
8024 case $1 in
8025 - --*=*)
8026 - ac_option=`expr "x$1" : 'x\([^=]*\)='`
8027 - ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
8028 + --*=?*)
8029 + ac_option=`expr "X$1" : 'X\([^=]*\)='`
8030 + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
8031 ac_shift=:
8033 - -*)
8034 + --*=)
8035 + ac_option=`expr "X$1" : 'X\([^=]*\)='`
8036 + ac_optarg=
8037 + ac_shift=:
8038 + ;;
8039 + *)
8040 ac_option=$1
8041 ac_optarg=$2
8042 ac_shift=shift
8044 - *) # This is not an option, so the user has probably given explicit
8045 - # arguments.
8046 - ac_option=$1
8047 - ac_need_defaults=false;;
8048 esac
8050 case $ac_option in
8051 # Handling of the options.
8052 -_ACEOF
8053 -cat >>$CONFIG_STATUS <<\_ACEOF
8054 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8055 ac_cs_recheck=: ;;
8056 - --version | --vers* | -V )
8057 - echo "$ac_cs_version"; exit 0 ;;
8058 - --he | --h)
8059 - # Conflict between --help and --header
8060 - { { echo "$as_me:$LINENO: error: ambiguous option: $1
8061 -Try \`$0 --help' for more information." >&5
8062 -echo "$as_me: error: ambiguous option: $1
8063 -Try \`$0 --help' for more information." >&2;}
8064 - { (exit 1); exit 1; }; };;
8065 - --help | --hel | -h )
8066 - echo "$ac_cs_usage"; exit 0 ;;
8067 - --debug | --d* | -d )
8068 + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8069 + $as_echo "$ac_cs_version"; exit ;;
8070 + --config | --confi | --conf | --con | --co | --c )
8071 + $as_echo "$ac_cs_config"; exit ;;
8072 + --debug | --debu | --deb | --de | --d | -d )
8073 debug=: ;;
8074 --file | --fil | --fi | --f )
8075 $ac_shift
8076 - CONFIG_FILES="$CONFIG_FILES $ac_optarg"
8077 + case $ac_optarg in
8078 + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8079 + '') as_fn_error $? "missing file argument" ;;
8080 + esac
8081 + as_fn_append CONFIG_FILES " '$ac_optarg'"
8082 ac_need_defaults=false;;
8083 --header | --heade | --head | --hea )
8084 $ac_shift
8085 - CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
8086 + case $ac_optarg in
8087 + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8088 + esac
8089 + as_fn_append CONFIG_HEADERS " '$ac_optarg'"
8090 ac_need_defaults=false;;
8091 + --he | --h)
8092 + # Conflict between --help and --header
8093 + as_fn_error $? "ambiguous option: \`$1'
8094 +Try \`$0 --help' for more information.";;
8095 + --help | --hel | -h )
8096 + $as_echo "$ac_cs_usage"; exit ;;
8097 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8098 | -silent | --silent | --silen | --sile | --sil | --si | --s)
8099 ac_cs_silent=: ;;
8101 # This is an error.
8102 - -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
8103 -Try \`$0 --help' for more information." >&5
8104 -echo "$as_me: error: unrecognized option: $1
8105 -Try \`$0 --help' for more information." >&2;}
8106 - { (exit 1); exit 1; }; } ;;
8107 + -*) as_fn_error $? "unrecognized option: \`$1'
8108 +Try \`$0 --help' for more information." ;;
8110 - *) ac_config_targets="$ac_config_targets $1" ;;
8111 + *) as_fn_append ac_config_targets " $1"
8112 + ac_need_defaults=false ;;
8114 esac
8115 shift
8116 @@ -8325,31 +8367,45 @@
8119 _ACEOF
8120 -cat >>$CONFIG_STATUS <<_ACEOF
8121 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8122 if \$ac_cs_recheck; then
8123 - echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
8124 - exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8125 + set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8126 + shift
8127 + \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8128 + CONFIG_SHELL='$SHELL'
8129 + export CONFIG_SHELL
8130 + exec "\$@"
8133 _ACEOF
8134 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8135 +exec 5>>config.log
8137 + echo
8138 + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8139 +## Running $as_me. ##
8140 +_ASBOX
8141 + $as_echo "$ac_log"
8142 +} >&5
8144 +_ACEOF
8145 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8146 +_ACEOF
8148 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8152 -cat >>$CONFIG_STATUS <<\_ACEOF
8153 +# Handling of arguments.
8154 for ac_config_target in $ac_config_targets
8156 - case "$ac_config_target" in
8157 - # Handling of arguments.
8158 - "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8159 - "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
8160 - *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8161 -echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8162 - { (exit 1); exit 1; }; };;
8163 + case $ac_config_target in
8164 + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
8165 + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8167 + *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8168 esac
8169 done
8172 # If the user did not use the arguments to specify the items to instantiate,
8173 # then the envvar interface is used. Set only those that are not.
8174 # We use the long form for the default assignment because of an extremely
8175 @@ -8360,572 +8416,547 @@
8178 # Have a temporary directory for convenience. Make it in the build tree
8179 -# simply because there is no reason to put it here, and in addition,
8180 +# simply because there is no reason against having it here, and in addition,
8181 # creating and moving files from /tmp can sometimes cause problems.
8182 -# Create a temporary directory, and hook for its removal unless debugging.
8183 +# Hook for its removal unless debugging.
8184 +# Note that there is a small window in which the directory will not be cleaned:
8185 +# after its creation but before its name has been assigned to `$tmp'.
8186 $debug ||
8188 - trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
8189 - trap '{ (exit 1); exit 1; }' 1 2 13 15
8190 + tmp=
8191 + trap 'exit_status=$?
8192 + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
8193 +' 0
8194 + trap 'as_fn_exit 1' 1 2 13 15
8197 # Create a (secure) tmp directory for tmp files.
8200 - tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
8201 + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8202 test -n "$tmp" && test -d "$tmp"
8203 } ||
8205 - tmp=./confstat$$-$RANDOM
8206 - (umask 077 && mkdir $tmp)
8207 -} ||
8208 + tmp=./conf$$-$RANDOM
8209 + (umask 077 && mkdir "$tmp")
8210 +} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
8212 +# Set up the scripts for CONFIG_FILES section.
8213 +# No need to generate them if there are no CONFIG_FILES.
8214 +# This happens for instance with `./config.status config.h'.
8215 +if test -n "$CONFIG_FILES"; then
8218 +ac_cr=`echo X | tr X '\015'`
8219 +# On cygwin, bash can eat \r inside `` if the user requested igncr.
8220 +# But we know of no other shell where ac_cr would be empty at this
8221 +# point, so we can use a bashism as a fallback.
8222 +if test "x$ac_cr" = x; then
8223 + eval ac_cr=\$\'\\r\'
8225 +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8226 +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8227 + ac_cs_awk_cr='\\r'
8228 +else
8229 + ac_cs_awk_cr=$ac_cr
8232 +echo 'BEGIN {' >"$tmp/subs1.awk" &&
8233 +_ACEOF
8237 + echo "cat >conf$$subs.awk <<_ACEOF" &&
8238 + echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8239 + echo "_ACEOF"
8240 +} >conf$$subs.sh ||
8241 + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8242 +ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
8243 +ac_delim='%!_!# '
8244 +for ac_last_try in false false false false false :; do
8245 + . ./conf$$subs.sh ||
8246 + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8248 + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
8249 + if test $ac_delim_n = $ac_delim_num; then
8250 + break
8251 + elif $ac_last_try; then
8252 + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8253 + else
8254 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8255 + fi
8256 +done
8257 +rm -f conf$$subs.sh
8259 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8260 +cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
8261 +_ACEOF
8262 +sed -n '
8264 +s/^/S["/; s/!.*/"]=/
8267 +s/^[^!]*!//
8268 +:repl
8269 +t repl
8270 +s/'"$ac_delim"'$//
8271 +t delim
8272 +:nl
8274 +s/\(.\{148\}\)..*/\1/
8275 +t more1
8276 +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
8279 +b repl
8280 +:more1
8281 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8284 +s/.\{148\}//
8285 +t nl
8286 +:delim
8288 +s/\(.\{148\}\)..*/\1/
8289 +t more2
8290 +s/["\\]/\\&/g; s/^/"/; s/$/"/
8293 +:more2
8294 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8297 +s/.\{148\}//
8298 +t delim
8299 +' <conf$$subs.awk | sed '
8300 +/^[^""]/{
8302 + s/\n//
8304 +' >>$CONFIG_STATUS || ac_write_fail=1
8305 +rm -f conf$$subs.awk
8306 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8307 +_ACAWK
8308 +cat >>"\$tmp/subs1.awk" <<_ACAWK &&
8309 + for (key in S) S_is_set[key] = 1
8310 + FS = "\a"
8314 - echo "$me: cannot create a temporary directory in ." >&2
8315 - { (exit 1); exit 1; }
8316 + line = $ 0
8317 + nfields = split(line, field, "@")
8318 + substed = 0
8319 + len = length(field[1])
8320 + for (i = 2; i < nfields; i++) {
8321 + key = field[i]
8322 + keylen = length(key)
8323 + if (S_is_set[key]) {
8324 + value = S[key]
8325 + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8326 + len += length(value) + length(field[++i])
8327 + substed = 1
8328 + } else
8329 + len += 1 + keylen
8332 + print line
8335 +_ACAWK
8336 +_ACEOF
8337 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8338 +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8339 + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
8340 +else
8341 + cat
8342 +fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
8343 + || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
8344 _ACEOF
8346 -cat >>$CONFIG_STATUS <<_ACEOF
8347 +# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
8348 +# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
8349 +# trailing colons and then remove the whole line if VPATH becomes empty
8350 +# (actually we leave an empty line to preserve line numbers).
8351 +if test "x$srcdir" = x.; then
8352 + ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
8354 +s///
8355 +s/^/:/
8356 +s/[ ]*$/:/
8357 +s/:\$(srcdir):/:/g
8358 +s/:\${srcdir}:/:/g
8359 +s/:@srcdir@:/:/g
8360 +s/^:*//
8361 +s/:*$//
8363 +s/\(=[ ]*\).*/\1/
8365 +s/\n//
8366 +s/^[^=]*=[ ]*$//
8371 -# CONFIG_FILES section.
8373 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8374 +fi # test -n "$CONFIG_FILES"
8376 -# No need to generate the scripts if there are no CONFIG_FILES.
8377 -# This happens for instance when ./config.status config.h
8378 -if test -n "\$CONFIG_FILES"; then
8379 - # Protect against being on the right side of a sed subst in config.status.
8380 - sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
8381 - s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
8382 -s,@SHELL@,$SHELL,;t t
8383 -s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
8384 -s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
8385 -s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
8386 -s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
8387 -s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
8388 -s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
8389 -s,@exec_prefix@,$exec_prefix,;t t
8390 -s,@prefix@,$prefix,;t t
8391 -s,@program_transform_name@,$program_transform_name,;t t
8392 -s,@bindir@,$bindir,;t t
8393 -s,@sbindir@,$sbindir,;t t
8394 -s,@libexecdir@,$libexecdir,;t t
8395 -s,@datadir@,$datadir,;t t
8396 -s,@sysconfdir@,$sysconfdir,;t t
8397 -s,@sharedstatedir@,$sharedstatedir,;t t
8398 -s,@localstatedir@,$localstatedir,;t t
8399 -s,@libdir@,$libdir,;t t
8400 -s,@includedir@,$includedir,;t t
8401 -s,@oldincludedir@,$oldincludedir,;t t
8402 -s,@infodir@,$infodir,;t t
8403 -s,@mandir@,$mandir,;t t
8404 -s,@build_alias@,$build_alias,;t t
8405 -s,@host_alias@,$host_alias,;t t
8406 -s,@target_alias@,$target_alias,;t t
8407 -s,@DEFS@,$DEFS,;t t
8408 -s,@ECHO_C@,$ECHO_C,;t t
8409 -s,@ECHO_N@,$ECHO_N,;t t
8410 -s,@ECHO_T@,$ECHO_T,;t t
8411 -s,@LIBS@,$LIBS,;t t
8412 -s,@CC@,$CC,;t t
8413 -s,@CFLAGS@,$CFLAGS,;t t
8414 -s,@LDFLAGS@,$LDFLAGS,;t t
8415 -s,@CPPFLAGS@,$CPPFLAGS,;t t
8416 -s,@ac_ct_CC@,$ac_ct_CC,;t t
8417 -s,@EXEEXT@,$EXEEXT,;t t
8418 -s,@OBJEXT@,$OBJEXT,;t t
8419 -s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
8420 -s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
8421 -s,@INSTALL_DATA@,$INSTALL_DATA,;t t
8422 -s,@RANLIB@,$RANLIB,;t t
8423 -s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
8424 -s,@build@,$build,;t t
8425 -s,@build_cpu@,$build_cpu,;t t
8426 -s,@build_vendor@,$build_vendor,;t t
8427 -s,@build_os@,$build_os,;t t
8428 -s,@host@,$host,;t t
8429 -s,@host_cpu@,$host_cpu,;t t
8430 -s,@host_vendor@,$host_vendor,;t t
8431 -s,@host_os@,$host_os,;t t
8432 -s,@LN_S@,$LN_S,;t t
8433 -s,@ECHO@,$ECHO,;t t
8434 -s,@STRIP@,$STRIP,;t t
8435 -s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
8436 -s,@CPP@,$CPP,;t t
8437 -s,@EGREP@,$EGREP,;t t
8438 -s,@LIBTOOL@,$LIBTOOL,;t t
8439 -s,@LIBOBJS@,$LIBOBJS,;t t
8440 -s,@LTLIBOBJS@,$LTLIBOBJS,;t t
8441 -CEOF
8443 -_ACEOF
8445 - cat >>$CONFIG_STATUS <<\_ACEOF
8446 - # Split the substitutions into bite-sized pieces for seds with
8447 - # small command number limits, like on Digital OSF/1 and HP-UX.
8448 - ac_max_sed_lines=48
8449 - ac_sed_frag=1 # Number of current file.
8450 - ac_beg=1 # First line for current file.
8451 - ac_end=$ac_max_sed_lines # Line after last line for current file.
8452 - ac_more_lines=:
8453 - ac_sed_cmds=
8454 - while $ac_more_lines; do
8455 - if test $ac_beg -gt 1; then
8456 - sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
8457 - else
8458 - sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
8459 - fi
8460 - if test ! -s $tmp/subs.frag; then
8461 - ac_more_lines=false
8462 - else
8463 - # The purpose of the label and of the branching condition is to
8464 - # speed up the sed processing (if there are no `@' at all, there
8465 - # is no need to browse any of the substitutions).
8466 - # These are the two extra sed commands mentioned above.
8467 - (echo ':t
8468 - /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
8469 - if test -z "$ac_sed_cmds"; then
8470 - ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
8471 - else
8472 - ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
8473 - fi
8474 - ac_sed_frag=`expr $ac_sed_frag + 1`
8475 - ac_beg=$ac_end
8476 - ac_end=`expr $ac_end + $ac_max_sed_lines`
8477 - fi
8478 - done
8479 - if test -z "$ac_sed_cmds"; then
8480 - ac_sed_cmds=cat
8481 +# Set up the scripts for CONFIG_HEADERS section.
8482 +# No need to generate them if there are no CONFIG_HEADERS.
8483 +# This happens for instance with `./config.status Makefile'.
8484 +if test -n "$CONFIG_HEADERS"; then
8485 +cat >"$tmp/defines.awk" <<\_ACAWK ||
8486 +BEGIN {
8487 +_ACEOF
8489 +# Transform confdefs.h into an awk script `defines.awk', embedded as
8490 +# here-document in config.status, that substitutes the proper values into
8491 +# config.h.in to produce config.h.
8493 +# Create a delimiter string that does not exist in confdefs.h, to ease
8494 +# handling of long lines.
8495 +ac_delim='%!_!# '
8496 +for ac_last_try in false false :; do
8497 + ac_t=`sed -n "/$ac_delim/p" confdefs.h`
8498 + if test -z "$ac_t"; then
8499 + break
8500 + elif $ac_last_try; then
8501 + as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
8502 + else
8503 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8505 -fi # test -n "$CONFIG_FILES"
8506 +done
8508 +# For the awk script, D is an array of macro values keyed by name,
8509 +# likewise P contains macro parameters if any. Preserve backslash
8510 +# newline sequences.
8512 +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8513 +sed -n '
8514 +s/.\{148\}/&'"$ac_delim"'/g
8515 +t rset
8516 +:rset
8517 +s/^[ ]*#[ ]*define[ ][ ]*/ /
8518 +t def
8520 +:def
8521 +s/\\$//
8522 +t bsnl
8523 +s/["\\]/\\&/g
8524 +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
8525 +D["\1"]=" \3"/p
8526 +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
8528 +:bsnl
8529 +s/["\\]/\\&/g
8530 +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
8531 +D["\1"]=" \3\\\\\\n"\\/p
8532 +t cont
8533 +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
8534 +t cont
8536 +:cont
8538 +s/.\{148\}/&'"$ac_delim"'/g
8539 +t clear
8540 +:clear
8541 +s/\\$//
8542 +t bsnlc
8543 +s/["\\]/\\&/g; s/^/"/; s/$/"/p
8545 +:bsnlc
8546 +s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
8547 +b cont
8548 +' <confdefs.h | sed '
8549 +s/'"$ac_delim"'/"\\\
8550 +"/g' >>$CONFIG_STATUS || ac_write_fail=1
8552 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8553 + for (key in D) D_is_set[key] = 1
8554 + FS = "\a"
8556 +/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8557 + line = \$ 0
8558 + split(line, arg, " ")
8559 + if (arg[1] == "#") {
8560 + defundef = arg[2]
8561 + mac1 = arg[3]
8562 + } else {
8563 + defundef = substr(arg[1], 2)
8564 + mac1 = arg[2]
8566 + split(mac1, mac2, "(") #)
8567 + macro = mac2[1]
8568 + prefix = substr(line, 1, index(line, defundef) - 1)
8569 + if (D_is_set[macro]) {
8570 + # Preserve the white space surrounding the "#".
8571 + print prefix "define", macro P[macro] D[macro]
8572 + next
8573 + } else {
8574 + # Replace #undef with comments. This is necessary, for example,
8575 + # in the case of _POSIX_SOURCE, which is predefined and required
8576 + # on some systems where configure will not decide to define it.
8577 + if (defundef == "undef") {
8578 + print "/*", prefix defundef, macro, "*/"
8579 + next
8583 +{ print }
8584 +_ACAWK
8585 _ACEOF
8586 -cat >>$CONFIG_STATUS <<\_ACEOF
8587 -for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
8588 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8589 - case $ac_file in
8590 - - | *:- | *:-:* ) # input from stdin
8591 - cat >$tmp/stdin
8592 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8593 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8594 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8595 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8596 - * ) ac_file_in=$ac_file.in ;;
8597 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8598 + as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
8599 +fi # test -n "$CONFIG_HEADERS"
8602 +eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
8603 +shift
8604 +for ac_tag
8606 + case $ac_tag in
8607 + :[FHLC]) ac_mode=$ac_tag; continue;;
8608 esac
8609 + case $ac_mode$ac_tag in
8610 + :[FHL]*:*);;
8611 + :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
8612 + :[FH]-) ac_tag=-:-;;
8613 + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8614 + esac
8615 + ac_save_IFS=$IFS
8616 + IFS=:
8617 + set x $ac_tag
8618 + IFS=$ac_save_IFS
8619 + shift
8620 + ac_file=$1
8621 + shift
8623 - # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
8624 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
8625 + case $ac_mode in
8626 + :L) ac_source=$1;;
8627 + :[FH])
8628 + ac_file_inputs=
8629 + for ac_f
8630 + do
8631 + case $ac_f in
8632 + -) ac_f="$tmp/stdin";;
8633 + *) # Look for the file first in the build tree, then in the source tree
8634 + # (if the path is not absolute). The absolute path cannot be DOS-style,
8635 + # because $ac_f cannot contain `:'.
8636 + test -f "$ac_f" ||
8637 + case $ac_f in
8638 + [\\/$]*) false;;
8639 + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8640 + esac ||
8641 + as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
8642 + esac
8643 + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8644 + as_fn_append ac_file_inputs " '$ac_f'"
8645 + done
8647 + # Let's still pretend it is `configure' which instantiates (i.e., don't
8648 + # use $as_me), people would be surprised to read:
8649 + # /* config.h. Generated by config.status. */
8650 + configure_input='Generated from '`
8651 + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8652 + `' by configure.'
8653 + if test x"$ac_file" != x-; then
8654 + configure_input="$ac_file. $configure_input"
8655 + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8656 +$as_echo "$as_me: creating $ac_file" >&6;}
8657 + fi
8658 + # Neutralize special characters interpreted by sed in replacement strings.
8659 + case $configure_input in #(
8660 + *\&* | *\|* | *\\* )
8661 + ac_sed_conf_input=`$as_echo "$configure_input" |
8662 + sed 's/[\\\\&|]/\\\\&/g'`;; #(
8663 + *) ac_sed_conf_input=$configure_input;;
8664 + esac
8666 + case $ac_tag in
8667 + *:-:* | *:-) cat >"$tmp/stdin" \
8668 + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
8669 + esac
8670 + ;;
8671 + esac
8673 + ac_dir=`$as_dirname -- "$ac_file" ||
8674 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8675 X"$ac_file" : 'X\(//\)[^/]' \| \
8676 X"$ac_file" : 'X\(//\)$' \| \
8677 - X"$ac_file" : 'X\(/\)' \| \
8678 - . : '\(.\)' 2>/dev/null ||
8679 -echo X"$ac_file" |
8680 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8681 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8682 - /^X\(\/\/\)$/{ s//\1/; q; }
8683 - /^X\(\/\).*/{ s//\1/; q; }
8684 - s/.*/./; q'`
8685 - { if $as_mkdir_p; then
8686 - mkdir -p "$ac_dir"
8687 - else
8688 - as_dir="$ac_dir"
8689 - as_dirs=
8690 - while test ! -d "$as_dir"; do
8691 - as_dirs="$as_dir $as_dirs"
8692 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
8693 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8694 - X"$as_dir" : 'X\(//\)[^/]' \| \
8695 - X"$as_dir" : 'X\(//\)$' \| \
8696 - X"$as_dir" : 'X\(/\)' \| \
8697 - . : '\(.\)' 2>/dev/null ||
8698 -echo X"$as_dir" |
8699 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8700 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8701 - /^X\(\/\/\)$/{ s//\1/; q; }
8702 - /^X\(\/\).*/{ s//\1/; q; }
8703 - s/.*/./; q'`
8704 - done
8705 - test ! -n "$as_dirs" || mkdir $as_dirs
8706 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8707 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8708 - { (exit 1); exit 1; }; }; }
8710 + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8711 +$as_echo X"$ac_file" |
8712 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8713 + s//\1/
8716 + /^X\(\/\/\)[^/].*/{
8717 + s//\1/
8720 + /^X\(\/\/\)$/{
8721 + s//\1/
8724 + /^X\(\/\).*/{
8725 + s//\1/
8728 + s/.*/./; q'`
8729 + as_dir="$ac_dir"; as_fn_mkdir_p
8730 ac_builddir=.
8732 -if test "$ac_dir" != .; then
8733 - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8734 - # A "../" for each directory in $ac_dir_suffix.
8735 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8736 -else
8737 - ac_dir_suffix= ac_top_builddir=
8739 +case "$ac_dir" in
8740 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8742 + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8743 + # A ".." for each directory in $ac_dir_suffix.
8744 + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8745 + case $ac_top_builddir_sub in
8746 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8747 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8748 + esac ;;
8749 +esac
8750 +ac_abs_top_builddir=$ac_pwd
8751 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
8752 +# for backward compatibility:
8753 +ac_top_builddir=$ac_top_build_prefix
8755 case $srcdir in
8756 - .) # No --srcdir option. We are building in place.
8757 + .) # We are building in place.
8758 ac_srcdir=.
8759 - if test -z "$ac_top_builddir"; then
8760 - ac_top_srcdir=.
8761 - else
8762 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
8763 - fi ;;
8764 - [\\/]* | ?:[\\/]* ) # Absolute path.
8765 + ac_top_srcdir=$ac_top_builddir_sub
8766 + ac_abs_top_srcdir=$ac_pwd ;;
8767 + [\\/]* | ?:[\\/]* ) # Absolute name.
8768 ac_srcdir=$srcdir$ac_dir_suffix;
8769 - ac_top_srcdir=$srcdir ;;
8770 - *) # Relative path.
8771 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
8772 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
8773 + ac_top_srcdir=$srcdir
8774 + ac_abs_top_srcdir=$srcdir ;;
8775 + *) # Relative name.
8776 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8777 + ac_top_srcdir=$ac_top_build_prefix$srcdir
8778 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8779 esac
8780 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8782 -# Do not use `cd foo && pwd` to compute absolute paths, because
8783 -# the directories may not exist.
8784 -case `pwd` in
8785 -.) ac_abs_builddir="$ac_dir";;
8787 - case "$ac_dir" in
8788 - .) ac_abs_builddir=`pwd`;;
8789 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
8790 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
8791 - esac;;
8792 -esac
8793 -case $ac_abs_builddir in
8794 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
8796 - case ${ac_top_builddir}. in
8797 - .) ac_abs_top_builddir=$ac_abs_builddir;;
8798 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
8799 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
8800 - esac;;
8801 -esac
8802 -case $ac_abs_builddir in
8803 -.) ac_abs_srcdir=$ac_srcdir;;
8805 - case $ac_srcdir in
8806 - .) ac_abs_srcdir=$ac_abs_builddir;;
8807 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
8808 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
8809 - esac;;
8810 -esac
8811 -case $ac_abs_builddir in
8812 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
8814 - case $ac_top_srcdir in
8815 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
8816 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
8817 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
8818 - esac;;
8819 -esac
8821 + case $ac_mode in
8822 + :F)
8824 + # CONFIG_FILE
8827 case $INSTALL in
8828 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8829 - *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
8830 + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
8831 esac
8832 +_ACEOF
8834 - if test x"$ac_file" != x-; then
8835 - { echo "$as_me:$LINENO: creating $ac_file" >&5
8836 -echo "$as_me: creating $ac_file" >&6;}
8837 - rm -f "$ac_file"
8838 - fi
8839 - # Let's still pretend it is `configure' which instantiates (i.e., don't
8840 - # use $as_me), people would be surprised to read:
8841 - # /* config.h. Generated by config.status. */
8842 - if test x"$ac_file" = x-; then
8843 - configure_input=
8844 - else
8845 - configure_input="$ac_file. "
8846 - fi
8847 - configure_input=$configure_input"Generated from `echo $ac_file_in |
8848 - sed 's,.*/,,'` by configure."
8850 - # First look for the input files in the build tree, otherwise in the
8851 - # src tree.
8852 - ac_file_inputs=`IFS=:
8853 - for f in $ac_file_in; do
8854 - case $f in
8855 - -) echo $tmp/stdin ;;
8856 - [\\/$]*)
8857 - # Absolute (can't be DOS-style, as IFS=:)
8858 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8859 -echo "$as_me: error: cannot find input file: $f" >&2;}
8860 - { (exit 1); exit 1; }; }
8861 - echo "$f";;
8862 - *) # Relative
8863 - if test -f "$f"; then
8864 - # Build tree
8865 - echo "$f"
8866 - elif test -f "$srcdir/$f"; then
8867 - # Source tree
8868 - echo "$srcdir/$f"
8869 - else
8870 - # /dev/null tree
8871 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8872 -echo "$as_me: error: cannot find input file: $f" >&2;}
8873 - { (exit 1); exit 1; }; }
8874 - fi;;
8875 - esac
8876 - done` || { (exit 1); exit 1; }
8877 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8878 +# If the template does not know about datarootdir, expand it.
8879 +# FIXME: This hack should be removed a few years after 2.60.
8880 +ac_datarootdir_hack=; ac_datarootdir_seen=
8881 +ac_sed_dataroot='
8882 +/datarootdir/ {
8886 +/@datadir@/p
8887 +/@docdir@/p
8888 +/@infodir@/p
8889 +/@localedir@/p
8890 +/@mandir@/p'
8891 +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8892 +*datarootdir*) ac_datarootdir_seen=yes;;
8893 +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8894 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8895 +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8896 +_ACEOF
8897 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8898 + ac_datarootdir_hack='
8899 + s&@datadir@&$datadir&g
8900 + s&@docdir@&$docdir&g
8901 + s&@infodir@&$infodir&g
8902 + s&@localedir@&$localedir&g
8903 + s&@mandir@&$mandir&g
8904 + s&\\\${datarootdir}&$datarootdir&g' ;;
8905 +esac
8906 _ACEOF
8907 -cat >>$CONFIG_STATUS <<_ACEOF
8908 - sed "$ac_vpsub
8910 +# Neutralize VPATH when `$srcdir' = `.'.
8911 +# Shell code in configure.ac might set extrasub.
8912 +# FIXME: do we really want to maintain this feature?
8913 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8914 +ac_sed_extra="$ac_vpsub
8915 $extrasub
8916 _ACEOF
8917 -cat >>$CONFIG_STATUS <<\_ACEOF
8918 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8920 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8921 -s,@configure_input@,$configure_input,;t t
8922 -s,@srcdir@,$ac_srcdir,;t t
8923 -s,@abs_srcdir@,$ac_abs_srcdir,;t t
8924 -s,@top_srcdir@,$ac_top_srcdir,;t t
8925 -s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
8926 -s,@builddir@,$ac_builddir,;t t
8927 -s,@abs_builddir@,$ac_abs_builddir,;t t
8928 -s,@top_builddir@,$ac_top_builddir,;t t
8929 -s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
8930 -s,@INSTALL@,$ac_INSTALL,;t t
8931 -" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
8932 - rm -f $tmp/stdin
8933 - if test x"$ac_file" != x-; then
8934 - mv $tmp/out $ac_file
8935 - else
8936 - cat $tmp/out
8937 - rm -f $tmp/out
8938 - fi
8940 -done
8941 -_ACEOF
8942 -cat >>$CONFIG_STATUS <<\_ACEOF
8943 +s|@configure_input@|$ac_sed_conf_input|;t t
8944 +s&@top_builddir@&$ac_top_builddir_sub&;t t
8945 +s&@top_build_prefix@&$ac_top_build_prefix&;t t
8946 +s&@srcdir@&$ac_srcdir&;t t
8947 +s&@abs_srcdir@&$ac_abs_srcdir&;t t
8948 +s&@top_srcdir@&$ac_top_srcdir&;t t
8949 +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
8950 +s&@builddir@&$ac_builddir&;t t
8951 +s&@abs_builddir@&$ac_abs_builddir&;t t
8952 +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
8953 +s&@INSTALL@&$ac_INSTALL&;t t
8954 +$ac_datarootdir_hack
8956 +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
8957 + || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8959 +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8960 + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
8961 + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
8962 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8963 +which seems to be undefined. Please make sure it is defined" >&5
8964 +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8965 +which seems to be undefined. Please make sure it is defined" >&2;}
8968 -# CONFIG_HEADER section.
8971 -# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
8972 -# NAME is the cpp macro being defined and VALUE is the value it is being given.
8974 -# ac_d sets the value in "#define NAME VALUE" lines.
8975 -ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
8976 -ac_dB='[ ].*$,\1#\2'
8977 -ac_dC=' '
8978 -ac_dD=',;t'
8979 -# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
8980 -ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
8981 -ac_uB='$,\1#\2define\3'
8982 -ac_uC=' '
8983 -ac_uD=',;t'
8985 -for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
8986 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8987 + rm -f "$tmp/stdin"
8988 case $ac_file in
8989 - - | *:- | *:-:* ) # input from stdin
8990 - cat >$tmp/stdin
8991 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8992 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8993 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8994 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8995 - * ) ac_file_in=$ac_file.in ;;
8996 - esac
8998 - test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
8999 -echo "$as_me: creating $ac_file" >&6;}
9001 - # First look for the input files in the build tree, otherwise in the
9002 - # src tree.
9003 - ac_file_inputs=`IFS=:
9004 - for f in $ac_file_in; do
9005 - case $f in
9006 - -) echo $tmp/stdin ;;
9007 - [\\/$]*)
9008 - # Absolute (can't be DOS-style, as IFS=:)
9009 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9010 -echo "$as_me: error: cannot find input file: $f" >&2;}
9011 - { (exit 1); exit 1; }; }
9012 - # Do quote $f, to prevent DOS paths from being IFS'd.
9013 - echo "$f";;
9014 - *) # Relative
9015 - if test -f "$f"; then
9016 - # Build tree
9017 - echo "$f"
9018 - elif test -f "$srcdir/$f"; then
9019 - # Source tree
9020 - echo "$srcdir/$f"
9021 - else
9022 - # /dev/null tree
9023 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9024 -echo "$as_me: error: cannot find input file: $f" >&2;}
9025 - { (exit 1); exit 1; }; }
9026 - fi;;
9027 - esac
9028 - done` || { (exit 1); exit 1; }
9029 - # Remove the trailing spaces.
9030 - sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
9032 -_ACEOF
9034 -# Transform confdefs.h into two sed scripts, `conftest.defines' and
9035 -# `conftest.undefs', that substitutes the proper values into
9036 -# config.h.in to produce config.h. The first handles `#define'
9037 -# templates, and the second `#undef' templates.
9038 -# And first: Protect against being on the right side of a sed subst in
9039 -# config.status. Protect against being in an unquoted here document
9040 -# in config.status.
9041 -rm -f conftest.defines conftest.undefs
9042 -# Using a here document instead of a string reduces the quoting nightmare.
9043 -# Putting comments in sed scripts is not portable.
9045 -# `end' is used to avoid that the second main sed command (meant for
9046 -# 0-ary CPP macros) applies to n-ary macro definitions.
9047 -# See the Autoconf documentation for `clear'.
9048 -cat >confdef2sed.sed <<\_ACEOF
9049 -s/[\\&,]/\\&/g
9050 -s,[\\$`],\\&,g
9051 -t clear
9052 -: clear
9053 -s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
9054 -t end
9055 -s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
9056 -: end
9057 -_ACEOF
9058 -# If some macros were called several times there might be several times
9059 -# the same #defines, which is useless. Nevertheless, we may not want to
9060 -# sort them, since we want the *last* AC-DEFINE to be honored.
9061 -uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
9062 -sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
9063 -rm -f confdef2sed.sed
9065 -# This sed command replaces #undef with comments. This is necessary, for
9066 -# example, in the case of _POSIX_SOURCE, which is predefined and required
9067 -# on some systems where configure will not decide to define it.
9068 -cat >>conftest.undefs <<\_ACEOF
9069 -s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
9070 -_ACEOF
9072 -# Break up conftest.defines because some shells have a limit on the size
9073 -# of here documents, and old seds have small limits too (100 cmds).
9074 -echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
9075 -echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
9076 -echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
9077 -echo ' :' >>$CONFIG_STATUS
9078 -rm -f conftest.tail
9079 -while grep . conftest.defines >/dev/null
9081 - # Write a limited-size here document to $tmp/defines.sed.
9082 - echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
9083 - # Speed up: don't consider the non `#define' lines.
9084 - echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
9085 - # Work around the forget-to-reset-the-flag bug.
9086 - echo 't clr' >>$CONFIG_STATUS
9087 - echo ': clr' >>$CONFIG_STATUS
9088 - sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
9089 - echo 'CEOF
9090 - sed -f $tmp/defines.sed $tmp/in >$tmp/out
9091 - rm -f $tmp/in
9092 - mv $tmp/out $tmp/in
9093 -' >>$CONFIG_STATUS
9094 - sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
9095 - rm -f conftest.defines
9096 - mv conftest.tail conftest.defines
9097 -done
9098 -rm -f conftest.defines
9099 -echo ' fi # grep' >>$CONFIG_STATUS
9100 -echo >>$CONFIG_STATUS
9102 -# Break up conftest.undefs because some shells have a limit on the size
9103 -# of here documents, and old seds have small limits too (100 cmds).
9104 -echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
9105 -rm -f conftest.tail
9106 -while grep . conftest.undefs >/dev/null
9108 - # Write a limited-size here document to $tmp/undefs.sed.
9109 - echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
9110 - # Speed up: don't consider the non `#undef'
9111 - echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
9112 - # Work around the forget-to-reset-the-flag bug.
9113 - echo 't clr' >>$CONFIG_STATUS
9114 - echo ': clr' >>$CONFIG_STATUS
9115 - sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
9116 - echo 'CEOF
9117 - sed -f $tmp/undefs.sed $tmp/in >$tmp/out
9118 - rm -f $tmp/in
9119 - mv $tmp/out $tmp/in
9120 -' >>$CONFIG_STATUS
9121 - sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
9122 - rm -f conftest.undefs
9123 - mv conftest.tail conftest.undefs
9124 -done
9125 -rm -f conftest.undefs
9127 -cat >>$CONFIG_STATUS <<\_ACEOF
9128 - # Let's still pretend it is `configure' which instantiates (i.e., don't
9129 - # use $as_me), people would be surprised to read:
9130 - # /* config.h. Generated by config.status. */
9131 - if test x"$ac_file" = x-; then
9132 - echo "/* Generated by configure. */" >$tmp/config.h
9133 - else
9134 - echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
9135 - fi
9136 - cat $tmp/in >>$tmp/config.h
9137 - rm -f $tmp/in
9138 + -) cat "$tmp/out" && rm -f "$tmp/out";;
9139 + *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
9140 + esac \
9141 + || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9142 + ;;
9143 + :H)
9145 + # CONFIG_HEADER
9147 if test x"$ac_file" != x-; then
9148 - if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
9149 - { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9150 -echo "$as_me: $ac_file is unchanged" >&6;}
9152 + $as_echo "/* $configure_input */" \
9153 + && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
9154 + } >"$tmp/config.h" \
9155 + || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9156 + if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
9157 + { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
9158 +$as_echo "$as_me: $ac_file is unchanged" >&6;}
9159 else
9160 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
9161 -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9162 - X"$ac_file" : 'X\(//\)[^/]' \| \
9163 - X"$ac_file" : 'X\(//\)$' \| \
9164 - X"$ac_file" : 'X\(/\)' \| \
9165 - . : '\(.\)' 2>/dev/null ||
9166 -echo X"$ac_file" |
9167 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9168 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9169 - /^X\(\/\/\)$/{ s//\1/; q; }
9170 - /^X\(\/\).*/{ s//\1/; q; }
9171 - s/.*/./; q'`
9172 - { if $as_mkdir_p; then
9173 - mkdir -p "$ac_dir"
9174 - else
9175 - as_dir="$ac_dir"
9176 - as_dirs=
9177 - while test ! -d "$as_dir"; do
9178 - as_dirs="$as_dir $as_dirs"
9179 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
9180 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9181 - X"$as_dir" : 'X\(//\)[^/]' \| \
9182 - X"$as_dir" : 'X\(//\)$' \| \
9183 - X"$as_dir" : 'X\(/\)' \| \
9184 - . : '\(.\)' 2>/dev/null ||
9185 -echo X"$as_dir" |
9186 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9187 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9188 - /^X\(\/\/\)$/{ s//\1/; q; }
9189 - /^X\(\/\).*/{ s//\1/; q; }
9190 - s/.*/./; q'`
9191 - done
9192 - test ! -n "$as_dirs" || mkdir $as_dirs
9193 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9194 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9195 - { (exit 1); exit 1; }; }; }
9197 - rm -f $ac_file
9198 - mv $tmp/config.h $ac_file
9199 + rm -f "$ac_file"
9200 + mv "$tmp/config.h" "$ac_file" \
9201 + || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9203 else
9204 - cat $tmp/config.h
9205 - rm -f $tmp/config.h
9206 + $as_echo "/* $configure_input */" \
9207 + && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
9208 + || as_fn_error $? "could not create -" "$LINENO" 5
9210 -done
9211 -_ACEOF
9212 + ;;
9214 -cat >>$CONFIG_STATUS <<\_ACEOF
9216 -{ (exit 0); exit 0; }
9217 + esac
9219 +done # for ac_tag
9222 +as_fn_exit 0
9223 _ACEOF
9224 -chmod +x $CONFIG_STATUS
9225 ac_clean_files=$ac_clean_files_save
9227 +test $ac_write_fail = 0 ||
9228 + as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
9231 # configure is writing to config.log, and then calls config.status.
9232 # config.status does its own redirection, appending to config.log.
9233 @@ -8945,6 +8976,10 @@
9234 exec 5>>config.log
9235 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9236 # would make configure fail if this is the last instruction.
9237 - $ac_cs_success || { (exit 1); exit 1; }
9238 + $ac_cs_success || as_fn_exit 1
9240 +if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
9241 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9242 +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
9245 diff -u hesiod-3.1.0/configure.in src/hesiod-3.1.0/configure.in
9246 --- hesiod-3.1.0/configure.in 2006-03-30 11:22:11.000000000 -0500
9247 +++ src/hesiod-3.1.0/configure.in 2010-08-31 00:57:31.408000019 -0400
9248 @@ -1,18 +1,29 @@
9249 dnl Process this file with autoconf to produce a configure script.
9250 -AC_INIT(hesiod.c)
9251 +AC_INIT([hesiod], [3.1.0])
9252 +AC_PREREQ(2.53)
9253 +AC_CONFIG_SRCDIR([hesiod.c])
9255 AC_PROG_CC
9256 AC_PROG_INSTALL
9257 AC_PROG_RANLIB
9258 AC_PROG_LIBTOOL
9260 -AC_EGREP_HEADER(pw_quota, pwd.h, AC_DEFINE(HAVE_PW_QUOTA))
9261 -AC_EGREP_HEADER(pw_comment, pwd.h, AC_DEFINE(HAVE_PW_COMMENT))
9262 -AC_EGREP_HEADER(pw_class, pwd.h, AC_DEFINE(HAVE_PW_CLASS))
9263 -AC_EGREP_HEADER(pw_change, pwd.h, AC_DEFINE(HAVE_PW_CHANGE))
9264 -AC_EGREP_HEADER(pw_expire, pwd.h, AC_DEFINE(HAVE_PW_EXPIRE))
9265 +AC_EGREP_HEADER([pw_quota], [pwd.h], [AC_DEFINE(HAVE_PW_QUOTA)])
9266 +AC_EGREP_HEADER([pw_comment], [pwd.h], [AC_DEFINE(HAVE_PW_COMMENT)])
9267 +AC_EGREP_HEADER([pw_class], [pwd.h], [AC_DEFINE(HAVE_PW_CLASS)])
9268 +AC_EGREP_HEADER([pw_change], [pwd.h], [AC_DEFINE(HAVE_PW_CHANGE)])
9269 +AC_EGREP_HEADER([pw_expire], [pwd.h], [AC_DEFINE(HAVE_PW_EXPIRE)])
9270 +AC_CHECK_FUNC([res_ninit], [:],
9271 + [AC_MSG_CHECKING([for standalone resolver library existence])
9272 + old_LIBS="$LIBS"
9273 + LIBS="$LIBS -lresolv"
9274 + AC_LINK_IFELSE([AC_LANG_PROGRAM(
9275 + [[#include <resolv.h>]],
9276 + [[res_ninit((void *)0);]])],
9277 + [AC_MSG_RESULT([found])],
9278 + [LIBS="$old_LIBS"
9279 + AC_MSG_FAILURE([not found])])])
9281 -AC_CHECK_FUNC(res_mkquery, :, [AC_CHECK_LIB(resolv, res_mkquery)])
9283 -AC_CONFIG_HEADER(config.h)
9284 -AC_OUTPUT(Makefile)
9285 +AC_CONFIG_HEADER([config.h])
9286 +AC_CONFIG_FILES([Makefile])
9287 +AC_OUTPUT