run configure to process configure.in change, update relevant patch
[debian/as31] / debian / patches / update-version
1 diff --git a/configure.in b/configure.in
2 index db02e3e..2850a22 100644
3 --- a/configure.in
4 +++ b/configure.in
5 @@ -1,5 +1,5 @@
6  AC_INIT(as31/as31.c)
7 -AM_INIT_AUTOMAKE(as31, 2.3.0)
8 +AM_INIT_AUTOMAKE(as31, 2.3.1)
9  
10  dnl ********************************************************************
11  dnl Minimal Requirements
12 diff --git a/configure b/configure
13 index 357a127..8a1d21c 100755
14 --- a/configure
15 +++ b/configure
16 @@ -1,81 +1,422 @@
17  #! /bin/sh
18  # Guess values for system-dependent variables and create Makefiles.
19 -# Generated by GNU Autoconf 2.59.
20 +# Generated by GNU Autoconf 2.68.
21 +#
22 +#
23 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
24 +# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
25 +# Foundation, Inc.
26 +#
27  #
28 -# Copyright (C) 2003 Free Software Foundation, Inc.
29  # This configure script is free software; the Free Software Foundation
30  # gives unlimited permission to copy, distribute and modify it.
31 -## --------------------- ##
32 -## M4sh Initialization.  ##
33 -## --------------------- ##
34 +## -------------------- ##
35 +## M4sh Initialization. ##
36 +## -------------------- ##
37  
38 -# Be Bourne compatible
39 -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
40 +# Be more Bourne compatible
41 +DUALCASE=1; export DUALCASE # for MKS sh
42 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
43    emulate sh
44    NULLCMD=:
45 -  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
46 +  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
47    # is contrary to our usage.  Disable this feature.
48    alias -g '${1+"$@"}'='"$@"'
49 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
50 -  set -o posix
51 +  setopt NO_GLOB_SUBST
52 +else
53 +  case `(set -o) 2>/dev/null` in #(
54 +  *posix*) :
55 +    set -o posix ;; #(
56 +  *) :
57 +     ;;
58 +esac
59  fi
60 -DUALCASE=1; export DUALCASE # for MKS sh
61  
62 -# Support unset when possible.
63 -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
64 -  as_unset=unset
65 +
66 +as_nl='
67 +'
68 +export as_nl
69 +# Printing a long string crashes Solaris 7 /usr/bin/printf.
70 +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
71 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
72 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
73 +# Prefer a ksh shell builtin over an external printf program on Solaris,
74 +# but without wasting forks for bash or zsh.
75 +if test -z "$BASH_VERSION$ZSH_VERSION" \
76 +    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
77 +  as_echo='print -r --'
78 +  as_echo_n='print -rn --'
79 +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
80 +  as_echo='printf %s\n'
81 +  as_echo_n='printf %s'
82  else
83 -  as_unset=false
84 +  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
85 +    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
86 +    as_echo_n='/usr/ucb/echo -n'
87 +  else
88 +    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
89 +    as_echo_n_body='eval
90 +      arg=$1;
91 +      case $arg in #(
92 +      *"$as_nl"*)
93 +       expr "X$arg" : "X\\(.*\\)$as_nl";
94 +       arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
95 +      esac;
96 +      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
97 +    '
98 +    export as_echo_n_body
99 +    as_echo_n='sh -c $as_echo_n_body as_echo'
100 +  fi
101 +  export as_echo_body
102 +  as_echo='sh -c $as_echo_body as_echo'
103 +fi
104 +
105 +# The user is always right.
106 +if test "${PATH_SEPARATOR+set}" != set; then
107 +  PATH_SEPARATOR=:
108 +  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
109 +    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
110 +      PATH_SEPARATOR=';'
111 +  }
112  fi
113  
114  
115 -# Work around bugs in pre-3.0 UWIN ksh.
116 -$as_unset ENV MAIL MAILPATH
117 +# IFS
118 +# We need space, tab and new line, in precisely that order.  Quoting is
119 +# there to prevent editors from complaining about space-tab.
120 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
121 +# splitting by setting IFS to empty value.)
122 +IFS=" ""       $as_nl"
123 +
124 +# Find who we are.  Look in the path if we contain no directory separator.
125 +as_myself=
126 +case $0 in #((
127 +  *[\\/]* ) as_myself=$0 ;;
128 +  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
129 +for as_dir in $PATH
130 +do
131 +  IFS=$as_save_IFS
132 +  test -z "$as_dir" && as_dir=.
133 +    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
134 +  done
135 +IFS=$as_save_IFS
136 +
137 +     ;;
138 +esac
139 +# We did not find ourselves, most probably we were run as `sh COMMAND'
140 +# in which case we are not to be found in the path.
141 +if test "x$as_myself" = x; then
142 +  as_myself=$0
143 +fi
144 +if test ! -f "$as_myself"; then
145 +  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
146 +  exit 1
147 +fi
148 +
149 +# Unset variables that we do not need and which cause bugs (e.g. in
150 +# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
151 +# suppresses any "Segmentation fault" message there.  '((' could
152 +# trigger a bug in pdksh 5.2.14.
153 +for as_var in BASH_ENV ENV MAIL MAILPATH
154 +do eval test x\${$as_var+set} = xset \
155 +  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
156 +done
157  PS1='$ '
158  PS2='> '
159  PS4='+ '
160  
161  # NLS nuisances.
162 -for as_var in \
163 -  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
164 -  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
165 -  LC_TELEPHONE LC_TIME
166 +LC_ALL=C
167 +export LC_ALL
168 +LANGUAGE=C
169 +export LANGUAGE
170 +
171 +# CDPATH.
172 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
173 +
174 +if test "x$CONFIG_SHELL" = x; then
175 +  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
176 +  emulate sh
177 +  NULLCMD=:
178 +  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
179 +  # is contrary to our usage.  Disable this feature.
180 +  alias -g '\${1+\"\$@\"}'='\"\$@\"'
181 +  setopt NO_GLOB_SUBST
182 +else
183 +  case \`(set -o) 2>/dev/null\` in #(
184 +  *posix*) :
185 +    set -o posix ;; #(
186 +  *) :
187 +     ;;
188 +esac
189 +fi
190 +"
191 +  as_required="as_fn_return () { (exit \$1); }
192 +as_fn_success () { as_fn_return 0; }
193 +as_fn_failure () { as_fn_return 1; }
194 +as_fn_ret_success () { return 0; }
195 +as_fn_ret_failure () { return 1; }
196 +
197 +exitcode=0
198 +as_fn_success || { exitcode=1; echo as_fn_success failed.; }
199 +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
200 +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
201 +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
202 +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
203 +
204 +else
205 +  exitcode=1; echo positional parameters were not saved.
206 +fi
207 +test x\$exitcode = x0 || exit 1"
208 +  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
209 +  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
210 +  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
211 +  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
212 +  if (eval "$as_required") 2>/dev/null; then :
213 +  as_have_required=yes
214 +else
215 +  as_have_required=no
216 +fi
217 +  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
218 +
219 +else
220 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
221 +as_found=false
222 +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223  do
224 -  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
225 -    eval $as_var=C; export $as_var
226 +  IFS=$as_save_IFS
227 +  test -z "$as_dir" && as_dir=.
228 +  as_found=:
229 +  case $as_dir in #(
230 +        /*)
231 +          for as_base in sh bash ksh sh5; do
232 +            # Try only shells that exist, to save several forks.
233 +            as_shell=$as_dir/$as_base
234 +            if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
235 +                   { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
236 +  CONFIG_SHELL=$as_shell as_have_required=yes
237 +                  if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
238 +  break 2
239 +fi
240 +fi
241 +          done;;
242 +       esac
243 +  as_found=false
244 +done
245 +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
246 +             { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
247 +  CONFIG_SHELL=$SHELL as_have_required=yes
248 +fi; }
249 +IFS=$as_save_IFS
250 +
251 +
252 +      if test "x$CONFIG_SHELL" != x; then :
253 +  # We cannot yet assume a decent shell, so we have to provide a
254 +       # neutralization value for shells without unset; and this also
255 +       # works around shells that cannot unset nonexistent variables.
256 +       # Preserve -v and -x to the replacement shell.
257 +       BASH_ENV=/dev/null
258 +       ENV=/dev/null
259 +       (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
260 +       export CONFIG_SHELL
261 +       case $- in # ((((
262 +         *v*x* | *x*v* ) as_opts=-vx ;;
263 +         *v* ) as_opts=-v ;;
264 +         *x* ) as_opts=-x ;;
265 +         * ) as_opts= ;;
266 +       esac
267 +       exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
268 +fi
269 +
270 +    if test x$as_have_required = xno; then :
271 +  $as_echo "$0: This script requires a shell more modern than all"
272 +  $as_echo "$0: the shells that I found on your system."
273 +  if test x${ZSH_VERSION+set} = xset ; then
274 +    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 +    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276    else
277 -    $as_unset $as_var
278 +    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
279 +$0: including any error possibly output before this
280 +$0: message. Then install a modern shell, or manually run
281 +$0: the script under such a shell if you do have one."
282    fi
283 -done
284 +  exit 1
285 +fi
286 +fi
287 +fi
288 +SHELL=${CONFIG_SHELL-/bin/sh}
289 +export SHELL
290 +# Unset more variables known to interfere with behavior of common tools.
291 +CLICOLOR_FORCE= GREP_OPTIONS=
292 +unset CLICOLOR_FORCE GREP_OPTIONS
293 +
294 +## --------------------- ##
295 +## M4sh Shell Functions. ##
296 +## --------------------- ##
297 +# as_fn_unset VAR
298 +# ---------------
299 +# Portably unset VAR.
300 +as_fn_unset ()
301 +{
302 +  { eval $1=; unset $1;}
303 +}
304 +as_unset=as_fn_unset
305 +
306 +# as_fn_set_status STATUS
307 +# -----------------------
308 +# Set $? to STATUS, without forking.
309 +as_fn_set_status ()
310 +{
311 +  return $1
312 +} # as_fn_set_status
313 +
314 +# as_fn_exit STATUS
315 +# -----------------
316 +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 +as_fn_exit ()
318 +{
319 +  set +e
320 +  as_fn_set_status $1
321 +  exit $1
322 +} # as_fn_exit
323 +
324 +# as_fn_mkdir_p
325 +# -------------
326 +# Create "$as_dir" as a directory, including parents if necessary.
327 +as_fn_mkdir_p ()
328 +{
329 +
330 +  case $as_dir in #(
331 +  -*) as_dir=./$as_dir;;
332 +  esac
333 +  test -d "$as_dir" || eval $as_mkdir_p || {
334 +    as_dirs=
335 +    while :; do
336 +      case $as_dir in #(
337 +      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
338 +      *) as_qdir=$as_dir;;
339 +      esac
340 +      as_dirs="'$as_qdir' $as_dirs"
341 +      as_dir=`$as_dirname -- "$as_dir" ||
342 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343 +        X"$as_dir" : 'X\(//\)[^/]' \| \
344 +        X"$as_dir" : 'X\(//\)$' \| \
345 +        X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346 +$as_echo X"$as_dir" |
347 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
348 +           s//\1/
349 +           q
350 +         }
351 +         /^X\(\/\/\)[^/].*/{
352 +           s//\1/
353 +           q
354 +         }
355 +         /^X\(\/\/\)$/{
356 +           s//\1/
357 +           q
358 +         }
359 +         /^X\(\/\).*/{
360 +           s//\1/
361 +           q
362 +         }
363 +         s/.*/./; q'`
364 +      test -d "$as_dir" && break
365 +    done
366 +    test -z "$as_dirs" || eval "mkdir $as_dirs"
367 +  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
368 +
369 +
370 +} # as_fn_mkdir_p
371 +# as_fn_append VAR VALUE
372 +# ----------------------
373 +# Append the text in VALUE to the end of the definition contained in VAR. Take
374 +# advantage of any shell optimizations that allow amortized linear growth over
375 +# repeated appends, instead of the typical quadratic growth present in naive
376 +# implementations.
377 +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
378 +  eval 'as_fn_append ()
379 +  {
380 +    eval $1+=\$2
381 +  }'
382 +else
383 +  as_fn_append ()
384 +  {
385 +    eval $1=\$$1\$2
386 +  }
387 +fi # as_fn_append
388 +
389 +# as_fn_arith ARG...
390 +# ------------------
391 +# Perform arithmetic evaluation on the ARGs, and store the result in the
392 +# global $as_val. Take advantage of shells that can avoid forks. The arguments
393 +# must be portable across $(()) and expr.
394 +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
395 +  eval 'as_fn_arith ()
396 +  {
397 +    as_val=$(( $* ))
398 +  }'
399 +else
400 +  as_fn_arith ()
401 +  {
402 +    as_val=`expr "$@" || test $? -eq 1`
403 +  }
404 +fi # as_fn_arith
405 +
406 +
407 +# as_fn_error STATUS ERROR [LINENO LOG_FD]
408 +# ----------------------------------------
409 +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
410 +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
411 +# script with STATUS, using 1 if that was 0.
412 +as_fn_error ()
413 +{
414 +  as_status=$1; test $as_status -eq 0 && as_status=1
415 +  if test "$4"; then
416 +    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
417 +    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 +  fi
419 +  $as_echo "$as_me: error: $2" >&2
420 +  as_fn_exit $as_status
421 +} # as_fn_error
422  
423 -# Required to use basename.
424 -if expr a : '\(a\)' >/dev/null 2>&1; then
425 +if expr a : '\(a\)' >/dev/null 2>&1 &&
426 +   test "X`expr 00001 : '.*\(...\)'`" = X001; then
427    as_expr=expr
428  else
429    as_expr=false
430  fi
431  
432 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
433 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
434    as_basename=basename
435  else
436    as_basename=false
437  fi
438  
439 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
440 +  as_dirname=dirname
441 +else
442 +  as_dirname=false
443 +fi
444  
445 -# Name of the executable.
446 -as_me=`$as_basename "$0" ||
447 +as_me=`$as_basename -- "$0" ||
448  $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
449          X"$0" : 'X\(//\)$' \| \
450 -        X"$0" : 'X\(/\)$' \| \
451 -        .     : '\(.\)' 2>/dev/null ||
452 -echo X/"$0" |
453 -    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
454 -         /^X\/\(\/\/\)$/{ s//\1/; q; }
455 -         /^X\/\(\/\).*/{ s//\1/; q; }
456 -         s/.*/./; q'`
457 +        X"$0" : 'X\(/\)' \| . 2>/dev/null ||
458 +$as_echo X/"$0" |
459 +    sed '/^.*\/\([^/][^/]*\)\/*$/{
460 +           s//\1/
461 +           q
462 +         }
463 +         /^X\/\(\/\/\)$/{
464 +           s//\1/
465 +           q
466 +         }
467 +         /^X\/\(\/\).*/{
468 +           s//\1/
469 +           q
470 +         }
471 +         s/.*/./; q'`
472  
473 -
474 -# PATH needs CR, and LINENO needs CR and PATH.
475  # Avoid depending upon Character Ranges.
476  as_cr_letters='abcdefghijklmnopqrstuvwxyz'
477  as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
478 @@ -83,146 +424,107 @@ as_cr_Letters=$as_cr_letters$as_cr_LETTERS
479  as_cr_digits='0123456789'
480  as_cr_alnum=$as_cr_Letters$as_cr_digits
481  
482 -# The user is always right.
483 -if test "${PATH_SEPARATOR+set}" != set; then
484 -  echo "#! /bin/sh" >conf$$.sh
485 -  echo  "exit 0"   >>conf$$.sh
486 -  chmod +x conf$$.sh
487 -  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
488 -    PATH_SEPARATOR=';'
489 -  else
490 -    PATH_SEPARATOR=:
491 -  fi
492 -  rm -f conf$$.sh
493 -fi
494 -
495 -
496 -  as_lineno_1=$LINENO
497 -  as_lineno_2=$LINENO
498 -  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
499 -  test "x$as_lineno_1" != "x$as_lineno_2" &&
500 -  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
501 -  # Find who we are.  Look in the path if we contain no path at all
502 -  # relative or not.
503 -  case $0 in
504 -    *[\\/]* ) as_myself=$0 ;;
505 -    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
506 -for as_dir in $PATH
507 -do
508 -  IFS=$as_save_IFS
509 -  test -z "$as_dir" && as_dir=.
510 -  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
511 -done
512 -
513 -       ;;
514 -  esac
515 -  # We did not find ourselves, most probably we were run as `sh COMMAND'
516 -  # in which case we are not to be found in the path.
517 -  if test "x$as_myself" = x; then
518 -    as_myself=$0
519 -  fi
520 -  if test ! -f "$as_myself"; then
521 -    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
522 -   { (exit 1); exit 1; }; }
523 -  fi
524 -  case $CONFIG_SHELL in
525 -  '')
526 -    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
527 -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
528 -do
529 -  IFS=$as_save_IFS
530 -  test -z "$as_dir" && as_dir=.
531 -  for as_base in sh bash ksh sh5; do
532 -        case $as_dir in
533 -        /*)
534 -          if ("$as_dir/$as_base" -c '
535 -  as_lineno_1=$LINENO
536 -  as_lineno_2=$LINENO
537 -  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
538 -  test "x$as_lineno_1" != "x$as_lineno_2" &&
539 -  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
540 -            $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
541 -            $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
542 -            CONFIG_SHELL=$as_dir/$as_base
543 -            export CONFIG_SHELL
544 -            exec "$CONFIG_SHELL" "$0" ${1+"$@"}
545 -          fi;;
546 -        esac
547 -       done
548 -done
549 -;;
550 -  esac
551  
552 -  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
553 -  # uniformly replaced by the line number.  The first 'sed' inserts a
554 -  # line-number line before each line; the second 'sed' does the real
555 -  # work.  The second script uses 'N' to pair each line-number line
556 -  # with the numbered line, and appends trailing '-' during
557 -  # substitution so that $LINENO is not a special case at line end.
558 -  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
559 -  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
560 -  sed '=' <$as_myself |
561 +  as_lineno_1=$LINENO as_lineno_1a=$LINENO
562 +  as_lineno_2=$LINENO as_lineno_2a=$LINENO
563 +  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
564 +  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
565 +  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
566 +  sed -n '
567 +    p
568 +    /[$]LINENO/=
569 +  ' <$as_myself |
570      sed '
571 +      s/[$]LINENO.*/&-/
572 +      t lineno
573 +      b
574 +      :lineno
575        N
576 -      s,$,-,
577 -      : loop
578 -      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
579 +      :loop
580 +      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
581        t loop
582 -      s,-$,,
583 -      s,^['$as_cr_digits']*\n,,
584 +      s/-\n.*//
585      ' >$as_me.lineno &&
586 -  chmod +x $as_me.lineno ||
587 -    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
588 -   { (exit 1); exit 1; }; }
589 +  chmod +x "$as_me.lineno" ||
590 +    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
591  
592    # Don't try to exec as it changes $[0], causing all sort of problems
593    # (the dirname of $[0] is not the place where we might find the
594 -  # original and so on.  Autoconf is especially sensible to this).
595 -  . ./$as_me.lineno
596 +  # original and so on.  Autoconf is especially sensitive to this).
597 +  . "./$as_me.lineno"
598    # Exit status is that of the last command.
599    exit
600  }
601  
602 -
603 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
604 -  *c*,-n*) ECHO_N= ECHO_C='
605 -' ECHO_T='     ' ;;
606 -  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
607 -  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
608 +ECHO_C= ECHO_N= ECHO_T=
609 +case `echo -n x` in #(((((
610 +-n*)
611 +  case `echo 'xy\c'` in
612 +  *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
613 +  xy)  ECHO_C='\c';;
614 +  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
615 +       ECHO_T='        ';;
616 +  esac;;
617 +*)
618 +  ECHO_N='-n';;
619  esac
620  
621 -if expr a : '\(a\)' >/dev/null 2>&1; then
622 -  as_expr=expr
623 +rm -f conf$$ conf$$.exe conf$$.file
624 +if test -d conf$$.dir; then
625 +  rm -f conf$$.dir/conf$$.file
626  else
627 -  as_expr=false
628 +  rm -f conf$$.dir
629 +  mkdir conf$$.dir 2>/dev/null
630  fi
631 -
632 -rm -f conf$$ conf$$.exe conf$$.file
633 -echo >conf$$.file
634 -if ln -s conf$$.file conf$$ 2>/dev/null; then
635 -  # We could just check for DJGPP; but this test a) works b) is more generic
636 -  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
637 -  if test -f conf$$.exe; then
638 -    # Don't use ln at all; we don't have any links
639 -    as_ln_s='cp -p'
640 -  else
641 +if (echo >conf$$.file) 2>/dev/null; then
642 +  if ln -s conf$$.file conf$$ 2>/dev/null; then
643      as_ln_s='ln -s'
644 +    # ... but there are two gotchas:
645 +    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
646 +    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
647 +    # In both cases, we have to default to `cp -p'.
648 +    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
649 +      as_ln_s='cp -p'
650 +  elif ln conf$$.file conf$$ 2>/dev/null; then
651 +    as_ln_s=ln
652 +  else
653 +    as_ln_s='cp -p'
654    fi
655 -elif ln conf$$.file conf$$ 2>/dev/null; then
656 -  as_ln_s=ln
657  else
658    as_ln_s='cp -p'
659  fi
660 -rm -f conf$$ conf$$.exe conf$$.file
661 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
662 +rmdir conf$$.dir 2>/dev/null
663  
664  if mkdir -p . 2>/dev/null; then
665 -  as_mkdir_p=:
666 +  as_mkdir_p='mkdir -p "$as_dir"'
667  else
668    test -d ./-p && rmdir ./-p
669    as_mkdir_p=false
670  fi
671  
672 -as_executable_p="test -f"
673 +if test -x / >/dev/null 2>&1; then
674 +  as_test_x='test -x'
675 +else
676 +  if ls -dL / >/dev/null 2>&1; then
677 +    as_ls_L_option=L
678 +  else
679 +    as_ls_L_option=
680 +  fi
681 +  as_test_x='
682 +    eval sh -c '\''
683 +      if test -d "$1"; then
684 +       test -d "$1/.";
685 +      else
686 +       case $1 in #(
687 +       -*)set "./$1";;
688 +       esac;
689 +       case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
690 +       ???[sx]*):;;*)false;;esac;fi
691 +    '\'' sh
692 +  '
693 +fi
694 +as_executable_p=$as_test_x
695  
696  # Sed expression to map a string onto a valid CPP name.
697  as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
698 @@ -231,38 +533,25 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
699  as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
700  
701  
702 -# IFS
703 -# We need space, tab and new line, in precisely that order.
704 -as_nl='
705 -'
706 -IFS="  $as_nl"
707 -
708 -# CDPATH.
709 -$as_unset CDPATH
710 -
711 +test -n "$DJDIR" || exec 7<&0 </dev/null
712 +exec 6>&1
713  
714  # Name of the host.
715 -# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
716 +# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
717  # so uname gets run too.
718  ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
719  
720 -exec 6>&1
721 -
722  #
723  # Initializations.
724  #
725  ac_default_prefix=/usr/local
726 +ac_clean_files=
727  ac_config_libobj_dir=.
728 +LIBOBJS=
729  cross_compiling=no
730  subdirs=
731  MFLAGS=
732  MAKEFLAGS=
733 -SHELL=${CONFIG_SHELL-/bin/sh}
734 -
735 -# Maximum number of lines to put in a shell here document.
736 -# This variable seems obsolete.  It should probably be removed, and
737 -# only ac_max_sed_lines should be used.
738 -: ${ac_max_here_lines=38}
739  
740  # Identity of this package.
741  PACKAGE_NAME=
742 @@ -270,14 +559,101 @@ PACKAGE_TARNAME=
743  PACKAGE_VERSION=
744  PACKAGE_STRING=
745  PACKAGE_BUGREPORT=
746 +PACKAGE_URL=
747  
748  ac_unique_file="as31/as31.c"
749 -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 INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT YACC GUI_LIBS GUI_CFLAGS GTK_CONFIG GTK_CFLAGS GTK_LIBS OPTION_GTK_TRUE OPTION_GTK_FALSE LIBOBJS LTLIBOBJS'
750 +ac_subst_vars='LTLIBOBJS
751 +LIBOBJS
752 +OPTION_GTK_FALSE
753 +OPTION_GTK_TRUE
754 +GTK_LIBS
755 +GTK_CFLAGS
756 +GTK_CONFIG
757 +GUI_CFLAGS
758 +GUI_LIBS
759 +YFLAGS
760 +YACC
761 +OBJEXT
762 +EXEEXT
763 +ac_ct_CC
764 +CPPFLAGS
765 +LDFLAGS
766 +CFLAGS
767 +CC
768 +SET_MAKE
769 +MAKEINFO
770 +AUTOHEADER
771 +AUTOMAKE
772 +AUTOCONF
773 +ACLOCAL
774 +VERSION
775 +PACKAGE
776 +INSTALL_DATA
777 +INSTALL_SCRIPT
778 +INSTALL_PROGRAM
779 +target_alias
780 +host_alias
781 +build_alias
782 +LIBS
783 +ECHO_T
784 +ECHO_N
785 +ECHO_C
786 +DEFS
787 +mandir
788 +localedir
789 +libdir
790 +psdir
791 +pdfdir
792 +dvidir
793 +htmldir
794 +infodir
795 +docdir
796 +oldincludedir
797 +includedir
798 +localstatedir
799 +sharedstatedir
800 +sysconfdir
801 +datadir
802 +datarootdir
803 +libexecdir
804 +sbindir
805 +bindir
806 +program_transform_name
807 +prefix
808 +exec_prefix
809 +PACKAGE_URL
810 +PACKAGE_BUGREPORT
811 +PACKAGE_STRING
812 +PACKAGE_VERSION
813 +PACKAGE_TARNAME
814 +PACKAGE_NAME
815 +PATH_SEPARATOR
816 +SHELL'
817  ac_subst_files=''
818 +ac_user_opts='
819 +enable_option_checking
820 +enable_gtk
821 +with_gtk_prefix
822 +with_gtk_exec_prefix
823 +enable_gtktest
824 +'
825 +      ac_precious_vars='build_alias
826 +host_alias
827 +target_alias
828 +CC
829 +CFLAGS
830 +LDFLAGS
831 +LIBS
832 +CPPFLAGS
833 +YACC
834 +YFLAGS'
835 +
836  
837  # Initialize some variables set by options.
838  ac_init_help=
839  ac_init_version=false
840 +ac_unrecognized_opts=
841 +ac_unrecognized_sep=
842  # The variables have the same names as the options, with
843  # dashes changed to underlines.
844  cache_file=/dev/null
845 @@ -300,34 +676,49 @@ x_libraries=NONE
846  # and all the variables that are supposed to be based on exec_prefix
847  # by default will actually change.
848  # Use braces instead of parens because sh, perl, etc. also accept them.
849 +# (The list follows the same order as the GNU Coding Standards.)
850  bindir='${exec_prefix}/bin'
851  sbindir='${exec_prefix}/sbin'
852  libexecdir='${exec_prefix}/libexec'
853 -datadir='${prefix}/share'
854 +datarootdir='${prefix}/share'
855 +datadir='${datarootdir}'
856  sysconfdir='${prefix}/etc'
857  sharedstatedir='${prefix}/com'
858  localstatedir='${prefix}/var'
859 -libdir='${exec_prefix}/lib'
860  includedir='${prefix}/include'
861  oldincludedir='/usr/include'
862 -infodir='${prefix}/info'
863 -mandir='${prefix}/man'
864 +docdir='${datarootdir}/doc/${PACKAGE}'
865 +infodir='${datarootdir}/info'
866 +htmldir='${docdir}'
867 +dvidir='${docdir}'
868 +pdfdir='${docdir}'
869 +psdir='${docdir}'
870 +libdir='${exec_prefix}/lib'
871 +localedir='${datarootdir}/locale'
872 +mandir='${datarootdir}/man'
873  
874  ac_prev=
875 +ac_dashdash=
876  for ac_option
877  do
878    # If the previous option needs an argument, assign it.
879    if test -n "$ac_prev"; then
880 -    eval "$ac_prev=\$ac_option"
881 +    eval $ac_prev=\$ac_option
882      ac_prev=
883      continue
884    fi
885  
886 -  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
887 +  case $ac_option in
888 +  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
889 +  *=)   ac_optarg= ;;
890 +  *)    ac_optarg=yes ;;
891 +  esac
892  
893    # Accept the important Cygnus configure options, so we can diagnose typos.
894  
895 -  case $ac_option in
896 +  case $ac_dashdash$ac_option in
897 +  --)
898 +    ac_dashdash=yes ;;
899  
900    -bindir | --bindir | --bindi | --bind | --bin | --bi)
901      ac_prev=bindir ;;
902 @@ -349,33 +740,59 @@ do
903    --config-cache | -C)
904      cache_file=config.cache ;;
905  
906 -  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
907 +  -datadir | --datadir | --datadi | --datad)
908      ac_prev=datadir ;;
909 -  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
910 -  | --da=*)
911 +  -datadir=* | --datadir=* | --datadi=* | --datad=*)
912      datadir=$ac_optarg ;;
913  
914 +  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
915 +  | --dataroo | --dataro | --datar)
916 +    ac_prev=datarootdir ;;
917 +  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
918 +  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
919 +    datarootdir=$ac_optarg ;;
920 +
921    -disable-* | --disable-*)
922 -    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
923 +    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
924      # Reject names that are not valid shell variable names.
925 -    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
926 -      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
927 -   { (exit 1); exit 1; }; }
928 -    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
929 -    eval "enable_$ac_feature=no" ;;
930 +    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
931 +      as_fn_error $? "invalid feature name: $ac_useropt"
932 +    ac_useropt_orig=$ac_useropt
933 +    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
934 +    case $ac_user_opts in
935 +      *"
936 +"enable_$ac_useropt"
937 +"*) ;;
938 +      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
939 +        ac_unrecognized_sep=', ';;
940 +    esac
941 +    eval enable_$ac_useropt=no ;;
942 +
943 +  -docdir | --docdir | --docdi | --doc | --do)
944 +    ac_prev=docdir ;;
945 +  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
946 +    docdir=$ac_optarg ;;
947 +
948 +  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
949 +    ac_prev=dvidir ;;
950 +  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
951 +    dvidir=$ac_optarg ;;
952  
953    -enable-* | --enable-*)
954 -    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
955 +    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
956      # Reject names that are not valid shell variable names.
957 -    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
958 -      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
959 -   { (exit 1); exit 1; }; }
960 -    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
961 -    case $ac_option in
962 -      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
963 -      *) ac_optarg=yes ;;
964 +    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
965 +      as_fn_error $? "invalid feature name: $ac_useropt"
966 +    ac_useropt_orig=$ac_useropt
967 +    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
968 +    case $ac_user_opts in
969 +      *"
970 +"enable_$ac_useropt"
971 +"*) ;;
972 +      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
973 +        ac_unrecognized_sep=', ';;
974      esac
975 -    eval "enable_$ac_feature='$ac_optarg'" ;;
976 +    eval enable_$ac_useropt=\$ac_optarg ;;
977  
978    -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
979    | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
980 @@ -402,6 +819,12 @@ do
981    -host=* | --host=* | --hos=* | --ho=*)
982      host_alias=$ac_optarg ;;
983  
984 +  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
985 +    ac_prev=htmldir ;;
986 +  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
987 +  | --ht=*)
988 +    htmldir=$ac_optarg ;;
989 +
990    -includedir | --includedir | --includedi | --included | --include \
991    | --includ | --inclu | --incl | --inc)
992      ac_prev=includedir ;;
993 @@ -426,13 +849,16 @@ do
994    | --libexe=* | --libex=* | --libe=*)
995      libexecdir=$ac_optarg ;;
996  
997 +  -localedir | --localedir | --localedi | --localed | --locale)
998 +    ac_prev=localedir ;;
999 +  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1000 +    localedir=$ac_optarg ;;
1001 +
1002    -localstatedir | --localstatedir | --localstatedi | --localstated \
1003 -  | --localstate | --localstat | --localsta | --localst \
1004 -  | --locals | --local | --loca | --loc | --lo)
1005 +  | --localstate | --localstat | --localsta | --localst | --locals)
1006      ac_prev=localstatedir ;;
1007    -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1008 -  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
1009 -  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
1010 +  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1011      localstatedir=$ac_optarg ;;
1012  
1013    -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1014 @@ -497,6 +923,16 @@ do
1015    | --progr-tra=* | --program-tr=* | --program-t=*)
1016      program_transform_name=$ac_optarg ;;
1017  
1018 +  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1019 +    ac_prev=pdfdir ;;
1020 +  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1021 +    pdfdir=$ac_optarg ;;
1022 +
1023 +  -psdir | --psdir | --psdi | --psd | --ps)
1024 +    ac_prev=psdir ;;
1025 +  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1026 +    psdir=$ac_optarg ;;
1027 +
1028    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1029    | -silent | --silent | --silen | --sile | --sil)
1030      silent=yes ;;
1031 @@ -547,26 +983,36 @@ do
1032      ac_init_version=: ;;
1033  
1034    -with-* | --with-*)
1035 -    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1036 +    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1037      # Reject names that are not valid shell variable names.
1038 -    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1039 -      { echo "$as_me: error: invalid package name: $ac_package" >&2
1040 -   { (exit 1); exit 1; }; }
1041 -    ac_package=`echo $ac_package| sed 's/-/_/g'`
1042 -    case $ac_option in
1043 -      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1044 -      *) ac_optarg=yes ;;
1045 +    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1046 +      as_fn_error $? "invalid package name: $ac_useropt"
1047 +    ac_useropt_orig=$ac_useropt
1048 +    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1049 +    case $ac_user_opts in
1050 +      *"
1051 +"with_$ac_useropt"
1052 +"*) ;;
1053 +      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1054 +        ac_unrecognized_sep=', ';;
1055      esac
1056 -    eval "with_$ac_package='$ac_optarg'" ;;
1057 +    eval with_$ac_useropt=\$ac_optarg ;;
1058  
1059    -without-* | --without-*)
1060 -    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1061 +    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1062      # Reject names that are not valid shell variable names.
1063 -    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1064 -      { echo "$as_me: error: invalid package name: $ac_package" >&2
1065 -   { (exit 1); exit 1; }; }
1066 -    ac_package=`echo $ac_package | sed 's/-/_/g'`
1067 -    eval "with_$ac_package=no" ;;
1068 +    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1069 +      as_fn_error $? "invalid package name: $ac_useropt"
1070 +    ac_useropt_orig=$ac_useropt
1071 +    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1072 +    case $ac_user_opts in
1073 +      *"
1074 +"with_$ac_useropt"
1075 +"*) ;;
1076 +      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1077 +        ac_unrecognized_sep=', ';;
1078 +    esac
1079 +    eval with_$ac_useropt=no ;;
1080  
1081    --x)
1082      # Obsolete; use --with-x.
1083 @@ -586,27 +1032,26 @@ do
1084    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1085      x_libraries=$ac_optarg ;;
1086  
1087 -  -*) { echo "$as_me: error: unrecognized option: $ac_option
1088 -Try \`$0 --help' for more information." >&2
1089 -   { (exit 1); exit 1; }; }
1090 +  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1091 +Try \`$0 --help' for more information"
1092      ;;
1093  
1094    *=*)
1095      ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1096      # Reject names that are not valid shell variable names.
1097 -    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1098 -      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1099 -   { (exit 1); exit 1; }; }
1100 -    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
1101 -    eval "$ac_envvar='$ac_optarg'"
1102 +    case $ac_envvar in #(
1103 +      '' | [0-9]* | *[!_$as_cr_alnum]* )
1104 +      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1105 +    esac
1106 +    eval $ac_envvar=\$ac_optarg
1107      export $ac_envvar ;;
1108  
1109    *)
1110      # FIXME: should be removed in autoconf 3.0.
1111 -    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1112 +    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1113      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1114 -      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1115 -    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1116 +      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1117 +    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1118      ;;
1119  
1120    esac
1121 @@ -614,31 +1059,36 @@ done
1122  
1123  if test -n "$ac_prev"; then
1124    ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1125 -  { echo "$as_me: error: missing argument to $ac_option" >&2
1126 -   { (exit 1); exit 1; }; }
1127 +  as_fn_error $? "missing argument to $ac_option"
1128  fi
1129  
1130 -# Be sure to have absolute paths.
1131 -for ac_var in exec_prefix prefix
1132 -do
1133 -  eval ac_val=$`echo $ac_var`
1134 -  case $ac_val in
1135 -    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
1136 -    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1137 -   { (exit 1); exit 1; }; };;
1138 +if test -n "$ac_unrecognized_opts"; then
1139 +  case $enable_option_checking in
1140 +    no) ;;
1141 +    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1142 +    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1143    esac
1144 -done
1145 +fi
1146  
1147 -# Be sure to have absolute paths.
1148 -for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
1149 -             localstatedir libdir includedir oldincludedir infodir mandir
1150 +# Check all directory arguments for consistency.
1151 +for ac_var in  exec_prefix prefix bindir sbindir libexecdir datarootdir \
1152 +               datadir sysconfdir sharedstatedir localstatedir includedir \
1153 +               oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1154 +               libdir localedir mandir
1155  do
1156 -  eval ac_val=$`echo $ac_var`
1157 +  eval ac_val=\$$ac_var
1158 +  # Remove trailing slashes.
1159 +  case $ac_val in
1160 +    */ )
1161 +      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1162 +      eval $ac_var=\$ac_val;;
1163 +  esac
1164 +  # Be sure to have absolute directory names.
1165    case $ac_val in
1166 -    [\\/$]* | ?:[\\/]* ) ;;
1167 -    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1168 -   { (exit 1); exit 1; }; };;
1169 +    [\\/$]* | ?:[\\/]* )  continue;;
1170 +    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1171    esac
1172 +  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1173  done
1174  
1175  # There might be people who depend on the old broken behavior: `$host'
1176 @@ -652,8 +1102,8 @@ target=$target_alias
1177  if test "x$host_alias" != x; then
1178    if test "x$build_alias" = x; then
1179      cross_compiling=maybe
1180 -    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1181 -    If a cross compiler is detected then cross compile mode will be used." >&2
1182 +    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1183 +    If a cross compiler is detected then cross compile mode will be used" >&2
1184    elif test "x$build_alias" != "x$host_alias"; then
1185      cross_compiling=yes
1186    fi
1187 @@ -665,70 +1115,72 @@ test -n "$host_alias" && ac_tool_prefix=$host_alias-
1188  test "$silent" = yes && exec 6>/dev/null
1189  
1190  
1191 +ac_pwd=`pwd` && test -n "$ac_pwd" &&
1192 +ac_ls_di=`ls -di .` &&
1193 +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1194 +  as_fn_error $? "working directory cannot be determined"
1195 +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1196 +  as_fn_error $? "pwd does not report name of working directory"
1197 +
1198 +
1199  # Find the source files, if location was not specified.
1200  if test -z "$srcdir"; then
1201    ac_srcdir_defaulted=yes
1202 -  # Try the directory containing this script, then its parent.
1203 -  ac_confdir=`(dirname "$0") 2>/dev/null ||
1204 -$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1205 -        X"$0" : 'X\(//\)[^/]' \| \
1206 -        X"$0" : 'X\(//\)$' \| \
1207 -        X"$0" : 'X\(/\)' \| \
1208 -        .     : '\(.\)' 2>/dev/null ||
1209 -echo X"$0" |
1210 -    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1211 -         /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1212 -         /^X\(\/\/\)$/{ s//\1/; q; }
1213 -         /^X\(\/\).*/{ s//\1/; q; }
1214 -         s/.*/./; q'`
1215 +  # Try the directory containing this script, then the parent directory.
1216 +  ac_confdir=`$as_dirname -- "$as_myself" ||
1217 +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1218 +        X"$as_myself" : 'X\(//\)[^/]' \| \
1219 +        X"$as_myself" : 'X\(//\)$' \| \
1220 +        X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1221 +$as_echo X"$as_myself" |
1222 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1223 +           s//\1/
1224 +           q
1225 +         }
1226 +         /^X\(\/\/\)[^/].*/{
1227 +           s//\1/
1228 +           q
1229 +         }
1230 +         /^X\(\/\/\)$/{
1231 +           s//\1/
1232 +           q
1233 +         }
1234 +         /^X\(\/\).*/{
1235 +           s//\1/
1236 +           q
1237 +         }
1238 +         s/.*/./; q'`
1239    srcdir=$ac_confdir
1240 -  if test ! -r $srcdir/$ac_unique_file; then
1241 +  if test ! -r "$srcdir/$ac_unique_file"; then
1242      srcdir=..
1243    fi
1244  else
1245    ac_srcdir_defaulted=no
1246  fi
1247 -if test ! -r $srcdir/$ac_unique_file; then
1248 -  if test "$ac_srcdir_defaulted" = yes; then
1249 -    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
1250 -   { (exit 1); exit 1; }; }
1251 -  else
1252 -    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1253 -   { (exit 1); exit 1; }; }
1254 -  fi
1255 +if test ! -r "$srcdir/$ac_unique_file"; then
1256 +  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1257 +  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1258 +fi
1259 +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1260 +ac_abs_confdir=`(
1261 +       cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1262 +       pwd)`
1263 +# When building in place, set srcdir=.
1264 +if test "$ac_abs_confdir" = "$ac_pwd"; then
1265 +  srcdir=.
1266  fi
1267 -(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
1268 -  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
1269 -   { (exit 1); exit 1; }; }
1270 -srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
1271 -ac_env_build_alias_set=${build_alias+set}
1272 -ac_env_build_alias_value=$build_alias
1273 -ac_cv_env_build_alias_set=${build_alias+set}
1274 -ac_cv_env_build_alias_value=$build_alias
1275 -ac_env_host_alias_set=${host_alias+set}
1276 -ac_env_host_alias_value=$host_alias
1277 -ac_cv_env_host_alias_set=${host_alias+set}
1278 -ac_cv_env_host_alias_value=$host_alias
1279 -ac_env_target_alias_set=${target_alias+set}
1280 -ac_env_target_alias_value=$target_alias
1281 -ac_cv_env_target_alias_set=${target_alias+set}
1282 -ac_cv_env_target_alias_value=$target_alias
1283 -ac_env_CC_set=${CC+set}
1284 -ac_env_CC_value=$CC
1285 -ac_cv_env_CC_set=${CC+set}
1286 -ac_cv_env_CC_value=$CC
1287 -ac_env_CFLAGS_set=${CFLAGS+set}
1288 -ac_env_CFLAGS_value=$CFLAGS
1289 -ac_cv_env_CFLAGS_set=${CFLAGS+set}
1290 -ac_cv_env_CFLAGS_value=$CFLAGS
1291 -ac_env_LDFLAGS_set=${LDFLAGS+set}
1292 -ac_env_LDFLAGS_value=$LDFLAGS
1293 -ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
1294 -ac_cv_env_LDFLAGS_value=$LDFLAGS
1295 -ac_env_CPPFLAGS_set=${CPPFLAGS+set}
1296 -ac_env_CPPFLAGS_value=$CPPFLAGS
1297 -ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
1298 -ac_cv_env_CPPFLAGS_value=$CPPFLAGS
1299 +# Remove unnecessary trailing slashes from srcdir.
1300 +# Double slashes in file names in object file debugging info
1301 +# mess up M-x gdb in Emacs.
1302 +case $srcdir in
1303 +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1304 +esac
1305 +for ac_var in $ac_precious_vars; do
1306 +  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1307 +  eval ac_env_${ac_var}_value=\$${ac_var}
1308 +  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1309 +  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1310 +done
1311  
1312  #
1313  # Report the --help message.
1314 @@ -751,20 +1203,17 @@ Configuration:
1315        --help=short        display options specific to this package
1316        --help=recursive    display the short help of all the included packages
1317    -V, --version           display version information and exit
1318 -  -q, --quiet, --silent   do not print \`checking...' messages
1319 +  -q, --quiet, --silent   do not print \`checking ...' messages
1320        --cache-file=FILE   cache test results in FILE [disabled]
1321    -C, --config-cache      alias for \`--cache-file=config.cache'
1322    -n, --no-create         do not create output files
1323        --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1324  
1325 -_ACEOF
1326 -
1327 -  cat <<_ACEOF
1328  Installation directories:
1329    --prefix=PREFIX         install architecture-independent files in PREFIX
1330 -                         [$ac_default_prefix]
1331 +                          [$ac_default_prefix]
1332    --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1333 -                         [PREFIX]
1334 +                          [PREFIX]
1335  
1336  By default, \`make install' will install all the files in
1337  \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1338 @@ -774,18 +1223,25 @@ for instance \`--prefix=\$HOME'.
1339  For better control, use the options below.
1340  
1341  Fine tuning of the installation directories:
1342 -  --bindir=DIR           user executables [EPREFIX/bin]
1343 -  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1344 -  --libexecdir=DIR       program executables [EPREFIX/libexec]
1345 -  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
1346 -  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1347 -  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1348 -  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1349 -  --libdir=DIR           object code libraries [EPREFIX/lib]
1350 -  --includedir=DIR       C header files [PREFIX/include]
1351 -  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1352 -  --infodir=DIR          info documentation [PREFIX/info]
1353 -  --mandir=DIR           man documentation [PREFIX/man]
1354 +  --bindir=DIR            user executables [EPREFIX/bin]
1355 +  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1356 +  --libexecdir=DIR        program executables [EPREFIX/libexec]
1357 +  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1358 +  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1359 +  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1360 +  --libdir=DIR            object code libraries [EPREFIX/lib]
1361 +  --includedir=DIR        C header files [PREFIX/include]
1362 +  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1363 +  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1364 +  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1365 +  --infodir=DIR           info documentation [DATAROOTDIR/info]
1366 +  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1367 +  --mandir=DIR            man documentation [DATAROOTDIR/man]
1368 +  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
1369 +  --htmldir=DIR           html documentation [DOCDIR]
1370 +  --dvidir=DIR            dvi documentation [DOCDIR]
1371 +  --pdfdir=DIR            pdf documentation [DOCDIR]
1372 +  --psdir=DIR             ps documentation [DOCDIR]
1373  _ACEOF
1374  
1375    cat <<\_ACEOF
1376 @@ -802,6 +1258,7 @@ if test -n "$ac_init_help"; then
1377    cat <<\_ACEOF
1378  
1379  Optional Features:
1380 +  --disable-option-checking  ignore unrecognized --enable/--with options
1381    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1382    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1383    --enable-gtk            build as31 with graphical user interface (alpha)
1384 @@ -818,125 +1275,232 @@ Some influential environment variables:
1385    CFLAGS      C compiler flags
1386    LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1387                nonstandard directory <lib dir>
1388 -  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
1389 -              headers in a nonstandard directory <include dir>
1390 +  LIBS        libraries to pass to the linker, e.g. -l<library>
1391 +  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1392 +              you have headers in a nonstandard directory <include dir>
1393 +  YACC        The `Yet Another Compiler Compiler' implementation to use.
1394 +              Defaults to the first program found out of: `bison -y', `byacc',
1395 +              `yacc'.
1396 +  YFLAGS      The list of arguments that will be passed by default to $YACC.
1397 +              This script will default YFLAGS to the empty string to avoid a
1398 +              default value of `-d' given by some make applications.
1399  
1400  Use these variables to override the choices made by `configure' or to help
1401  it to find libraries and programs with nonstandard names/locations.
1402  
1403 +Report bugs to the package provider.
1404  _ACEOF
1405 +ac_status=$?
1406  fi
1407  
1408  if test "$ac_init_help" = "recursive"; then
1409    # If there are subdirs, report their specific --help.
1410 -  ac_popdir=`pwd`
1411    for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1412 -    test -d $ac_dir || continue
1413 +    test -d "$ac_dir" ||
1414 +      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1415 +      continue
1416      ac_builddir=.
1417  
1418 -if test "$ac_dir" != .; then
1419 -  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1420 -  # A "../" for each directory in $ac_dir_suffix.
1421 -  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1422 -else
1423 -  ac_dir_suffix= ac_top_builddir=
1424 -fi
1425 +case "$ac_dir" in
1426 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1427 +*)
1428 +  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1429 +  # A ".." for each directory in $ac_dir_suffix.
1430 +  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1431 +  case $ac_top_builddir_sub in
1432 +  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1433 +  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1434 +  esac ;;
1435 +esac
1436 +ac_abs_top_builddir=$ac_pwd
1437 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
1438 +# for backward compatibility:
1439 +ac_top_builddir=$ac_top_build_prefix
1440  
1441  case $srcdir in
1442 -  .)  # No --srcdir option.  We are building in place.
1443 +  .)  # We are building in place.
1444      ac_srcdir=.
1445 -    if test -z "$ac_top_builddir"; then
1446 -       ac_top_srcdir=.
1447 -    else
1448 -       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1449 -    fi ;;
1450 -  [\\/]* | ?:[\\/]* )  # Absolute path.
1451 +    ac_top_srcdir=$ac_top_builddir_sub
1452 +    ac_abs_top_srcdir=$ac_pwd ;;
1453 +  [\\/]* | ?:[\\/]* )  # Absolute name.
1454      ac_srcdir=$srcdir$ac_dir_suffix;
1455 -    ac_top_srcdir=$srcdir ;;
1456 -  *) # Relative path.
1457 -    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1458 -    ac_top_srcdir=$ac_top_builddir$srcdir ;;
1459 -esac
1460 -
1461 -# Do not use `cd foo && pwd` to compute absolute paths, because
1462 -# the directories may not exist.
1463 -case `pwd` in
1464 -.) ac_abs_builddir="$ac_dir";;
1465 -*)
1466 -  case "$ac_dir" in
1467 -  .) ac_abs_builddir=`pwd`;;
1468 -  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1469 -  *) ac_abs_builddir=`pwd`/"$ac_dir";;
1470 -  esac;;
1471 -esac
1472 -case $ac_abs_builddir in
1473 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
1474 -*)
1475 -  case ${ac_top_builddir}. in
1476 -  .) ac_abs_top_builddir=$ac_abs_builddir;;
1477 -  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1478 -  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1479 -  esac;;
1480 +    ac_top_srcdir=$srcdir
1481 +    ac_abs_top_srcdir=$srcdir ;;
1482 +  *) # Relative name.
1483 +    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1484 +    ac_top_srcdir=$ac_top_build_prefix$srcdir
1485 +    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1486  esac
1487 -case $ac_abs_builddir in
1488 -.) ac_abs_srcdir=$ac_srcdir;;
1489 -*)
1490 -  case $ac_srcdir in
1491 -  .) ac_abs_srcdir=$ac_abs_builddir;;
1492 -  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1493 -  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1494 -  esac;;
1495 -esac
1496 -case $ac_abs_builddir in
1497 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
1498 -*)
1499 -  case $ac_top_srcdir in
1500 -  .) ac_abs_top_srcdir=$ac_abs_builddir;;
1501 -  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1502 -  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1503 -  esac;;
1504 -esac
1505 -
1506 -    cd $ac_dir
1507 -    # Check for guested configure; otherwise get Cygnus style configure.
1508 -    if test -f $ac_srcdir/configure.gnu; then
1509 -      echo
1510 -      $SHELL $ac_srcdir/configure.gnu  --help=recursive
1511 -    elif test -f $ac_srcdir/configure; then
1512 -      echo
1513 -      $SHELL $ac_srcdir/configure  --help=recursive
1514 -    elif test -f $ac_srcdir/configure.ac ||
1515 -          test -f $ac_srcdir/configure.in; then
1516 -      echo
1517 -      $ac_configure --help
1518 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1519 +
1520 +    cd "$ac_dir" || { ac_status=$?; continue; }
1521 +    # Check for guested configure.
1522 +    if test -f "$ac_srcdir/configure.gnu"; then
1523 +      echo &&
1524 +      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1525 +    elif test -f "$ac_srcdir/configure"; then
1526 +      echo &&
1527 +      $SHELL "$ac_srcdir/configure" --help=recursive
1528      else
1529 -      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1530 -    fi
1531 -    cd "$ac_popdir"
1532 +      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1533 +    fi || ac_status=$?
1534 +    cd "$ac_pwd" || { ac_status=$?; break; }
1535    done
1536  fi
1537  
1538 -test -n "$ac_init_help" && exit 0
1539 +test -n "$ac_init_help" && exit $ac_status
1540  if $ac_init_version; then
1541    cat <<\_ACEOF
1542 +configure
1543 +generated by GNU Autoconf 2.68
1544  
1545 -Copyright (C) 2003 Free Software Foundation, Inc.
1546 +Copyright (C) 2010 Free Software Foundation, Inc.
1547  This configure script is free software; the Free Software Foundation
1548  gives unlimited permission to copy, distribute and modify it.
1549  _ACEOF
1550 -  exit 0
1551 +  exit
1552  fi
1553 -exec 5>config.log
1554 -cat >&5 <<_ACEOF
1555 +
1556 +## ------------------------ ##
1557 +## Autoconf initialization. ##
1558 +## ------------------------ ##
1559 +
1560 +# ac_fn_c_try_compile LINENO
1561 +# --------------------------
1562 +# Try to compile conftest.$ac_ext, and return whether this succeeded.
1563 +ac_fn_c_try_compile ()
1564 +{
1565 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1566 +  rm -f conftest.$ac_objext
1567 +  if { { ac_try="$ac_compile"
1568 +case "(($ac_try" in
1569 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1570 +  *) ac_try_echo=$ac_try;;
1571 +esac
1572 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1573 +$as_echo "$ac_try_echo"; } >&5
1574 +  (eval "$ac_compile") 2>conftest.err
1575 +  ac_status=$?
1576 +  if test -s conftest.err; then
1577 +    grep -v '^ *+' conftest.err >conftest.er1
1578 +    cat conftest.er1 >&5
1579 +    mv -f conftest.er1 conftest.err
1580 +  fi
1581 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1582 +  test $ac_status = 0; } && {
1583 +        test -z "$ac_c_werror_flag" ||
1584 +        test ! -s conftest.err
1585 +       } && test -s conftest.$ac_objext; then :
1586 +  ac_retval=0
1587 +else
1588 +  $as_echo "$as_me: failed program was:" >&5
1589 +sed 's/^/| /' conftest.$ac_ext >&5
1590 +
1591 +       ac_retval=1
1592 +fi
1593 +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1594 +  as_fn_set_status $ac_retval
1595 +
1596 +} # ac_fn_c_try_compile
1597 +
1598 +# ac_fn_c_try_run LINENO
1599 +# ----------------------
1600 +# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1601 +# that executables *can* be run.
1602 +ac_fn_c_try_run ()
1603 +{
1604 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1605 +  if { { ac_try="$ac_link"
1606 +case "(($ac_try" in
1607 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1608 +  *) ac_try_echo=$ac_try;;
1609 +esac
1610 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1611 +$as_echo "$ac_try_echo"; } >&5
1612 +  (eval "$ac_link") 2>&5
1613 +  ac_status=$?
1614 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1615 +  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1616 +  { { case "(($ac_try" in
1617 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1618 +  *) ac_try_echo=$ac_try;;
1619 +esac
1620 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1621 +$as_echo "$ac_try_echo"; } >&5
1622 +  (eval "$ac_try") 2>&5
1623 +  ac_status=$?
1624 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1625 +  test $ac_status = 0; }; }; then :
1626 +  ac_retval=0
1627 +else
1628 +  $as_echo "$as_me: program exited with status $ac_status" >&5
1629 +       $as_echo "$as_me: failed program was:" >&5
1630 +sed 's/^/| /' conftest.$ac_ext >&5
1631 +
1632 +       ac_retval=$ac_status
1633 +fi
1634 +  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1635 +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1636 +  as_fn_set_status $ac_retval
1637 +
1638 +} # ac_fn_c_try_run
1639 +
1640 +# ac_fn_c_try_link LINENO
1641 +# -----------------------
1642 +# Try to link conftest.$ac_ext, and return whether this succeeded.
1643 +ac_fn_c_try_link ()
1644 +{
1645 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1646 +  rm -f conftest.$ac_objext conftest$ac_exeext
1647 +  if { { ac_try="$ac_link"
1648 +case "(($ac_try" in
1649 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1650 +  *) ac_try_echo=$ac_try;;
1651 +esac
1652 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1653 +$as_echo "$ac_try_echo"; } >&5
1654 +  (eval "$ac_link") 2>conftest.err
1655 +  ac_status=$?
1656 +  if test -s conftest.err; then
1657 +    grep -v '^ *+' conftest.err >conftest.er1
1658 +    cat conftest.er1 >&5
1659 +    mv -f conftest.er1 conftest.err
1660 +  fi
1661 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1662 +  test $ac_status = 0; } && {
1663 +        test -z "$ac_c_werror_flag" ||
1664 +        test ! -s conftest.err
1665 +       } && test -s conftest$ac_exeext && {
1666 +        test "$cross_compiling" = yes ||
1667 +        $as_test_x conftest$ac_exeext
1668 +       }; then :
1669 +  ac_retval=0
1670 +else
1671 +  $as_echo "$as_me: failed program was:" >&5
1672 +sed 's/^/| /' conftest.$ac_ext >&5
1673 +
1674 +       ac_retval=1
1675 +fi
1676 +  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1677 +  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1678 +  # interfere with the next link command; also delete a directory that is
1679 +  # left behind by Apple's compiler.  We do this before executing the actions.
1680 +  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1681 +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1682 +  as_fn_set_status $ac_retval
1683 +
1684 +} # ac_fn_c_try_link
1685 +cat >config.log <<_ACEOF
1686  This file contains any messages produced by compilers while
1687  running configure, to aid debugging if configure makes a mistake.
1688  
1689  It was created by $as_me, which was
1690 -generated by GNU Autoconf 2.59.  Invocation command line was
1691 +generated by GNU Autoconf 2.68.  Invocation command line was
1692  
1693    $ $0 $@
1694  
1695  _ACEOF
1696 +exec 5>>config.log
1697  {
1698  cat <<_ASUNAME
1699  ## --------- ##
1700 @@ -955,7 +1519,7 @@ uname -v = `(uname -v) 2>/dev/null || echo unknown`
1701  /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1702  /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1703  /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1704 -hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1705 +/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1706  /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1707  /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1708  /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1709 @@ -967,8 +1531,9 @@ for as_dir in $PATH
1710  do
1711    IFS=$as_save_IFS
1712    test -z "$as_dir" && as_dir=.
1713 -  echo "PATH: $as_dir"
1714 -done
1715 +    $as_echo "PATH: $as_dir"
1716 +  done
1717 +IFS=$as_save_IFS
1718  
1719  } >&5
1720  
1721 @@ -990,7 +1555,6 @@ _ACEOF
1722  ac_configure_args=
1723  ac_configure_args0=
1724  ac_configure_args1=
1725 -ac_sep=
1726  ac_must_keep_next=false
1727  for ac_pass in 1 2
1728  do
1729 @@ -1001,13 +1565,13 @@ do
1730      -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1731      | -silent | --silent | --silen | --sile | --sil)
1732        continue ;;
1733 -    *" "*|*"   "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1734 -      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1735 +    *\'*)
1736 +      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1737      esac
1738      case $ac_pass in
1739 -    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1740 +    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1741      2)
1742 -      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1743 +      as_fn_append ac_configure_args1 " '$ac_arg'"
1744        if test $ac_must_keep_next = true; then
1745         ac_must_keep_next=false # Got value, back to normal.
1746        else
1747 @@ -1023,104 +1587,115 @@ do
1748           -* ) ac_must_keep_next=true ;;
1749         esac
1750        fi
1751 -      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1752 -      # Get rid of the leading space.
1753 -      ac_sep=" "
1754 +      as_fn_append ac_configure_args " '$ac_arg'"
1755        ;;
1756      esac
1757    done
1758  done
1759 -$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1760 -$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1761 +{ ac_configure_args0=; unset ac_configure_args0;}
1762 +{ ac_configure_args1=; unset ac_configure_args1;}
1763  
1764  # When interrupted or exit'd, cleanup temporary files, and complete
1765  # config.log.  We remove comments because anyway the quotes in there
1766  # would cause problems or look ugly.
1767 -# WARNING: Be sure not to use single quotes in there, as some shells,
1768 -# such as our DU 5.0 friend, will then `close' the trap.
1769 +# WARNING: Use '\'' to represent an apostrophe within the trap.
1770 +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1771  trap 'exit_status=$?
1772    # Save into config.log some information that might help in debugging.
1773    {
1774      echo
1775  
1776 -    cat <<\_ASBOX
1777 -## ---------------- ##
1778 +    $as_echo "## ---------------- ##
1779  ## Cache variables. ##
1780 -## ---------------- ##
1781 -_ASBOX
1782 +## ---------------- ##"
1783      echo
1784      # The following way of writing the cache mishandles newlines in values,
1785 -{
1786 +(
1787 +  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1788 +    eval ac_val=\$$ac_var
1789 +    case $ac_val in #(
1790 +    *${as_nl}*)
1791 +      case $ac_var in #(
1792 +      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1793 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1794 +      esac
1795 +      case $ac_var in #(
1796 +      _ | IFS | as_nl) ;; #(
1797 +      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1798 +      *) { eval $ac_var=; unset $ac_var;} ;;
1799 +      esac ;;
1800 +    esac
1801 +  done
1802    (set) 2>&1 |
1803 -    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1804 -    *ac_space=\ *)
1805 +    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1806 +    *${as_nl}ac_space=\ *)
1807        sed -n \
1808 -       "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1809 -         s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1810 -      ;;
1811 +       "s/'\''/'\''\\\\'\'''\''/g;
1812 +         s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1813 +      ;; #(
1814      *)
1815 -      sed -n \
1816 -       "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1817 +      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1818        ;;
1819 -    esac;
1820 -}
1821 +    esac |
1822 +    sort
1823 +)
1824      echo
1825  
1826 -    cat <<\_ASBOX
1827 -## ----------------- ##
1828 +    $as_echo "## ----------------- ##
1829  ## Output variables. ##
1830 -## ----------------- ##
1831 -_ASBOX
1832 +## ----------------- ##"
1833      echo
1834      for ac_var in $ac_subst_vars
1835      do
1836 -      eval ac_val=$`echo $ac_var`
1837 -      echo "$ac_var='"'"'$ac_val'"'"'"
1838 +      eval ac_val=\$$ac_var
1839 +      case $ac_val in
1840 +      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1841 +      esac
1842 +      $as_echo "$ac_var='\''$ac_val'\''"
1843      done | sort
1844      echo
1845  
1846      if test -n "$ac_subst_files"; then
1847 -      cat <<\_ASBOX
1848 -## ------------- ##
1849 -## Output files. ##
1850 -## ------------- ##
1851 -_ASBOX
1852 +      $as_echo "## ------------------- ##
1853 +## File substitutions. ##
1854 +## ------------------- ##"
1855        echo
1856        for ac_var in $ac_subst_files
1857        do
1858 -       eval ac_val=$`echo $ac_var`
1859 -       echo "$ac_var='"'"'$ac_val'"'"'"
1860 +       eval ac_val=\$$ac_var
1861 +       case $ac_val in
1862 +       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1863 +       esac
1864 +       $as_echo "$ac_var='\''$ac_val'\''"
1865        done | sort
1866        echo
1867      fi
1868  
1869      if test -s confdefs.h; then
1870 -      cat <<\_ASBOX
1871 -## ----------- ##
1872 +      $as_echo "## ----------- ##
1873  ## confdefs.h. ##
1874 -## ----------- ##
1875 -_ASBOX
1876 +## ----------- ##"
1877        echo
1878 -      sed "/^$/d" confdefs.h | sort
1879 +      cat confdefs.h
1880        echo
1881      fi
1882      test "$ac_signal" != 0 &&
1883 -      echo "$as_me: caught signal $ac_signal"
1884 -    echo "$as_me: exit $exit_status"
1885 +      $as_echo "$as_me: caught signal $ac_signal"
1886 +    $as_echo "$as_me: exit $exit_status"
1887    } >&5
1888 -  rm -f core *.core &&
1889 -  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1890 +  rm -f core *.core core.conftest.* &&
1891 +    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1892      exit $exit_status
1893 -     ' 0
1894 +' 0
1895  for ac_signal in 1 2 13 15; do
1896 -  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1897 +  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1898  done
1899  ac_signal=0
1900  
1901  # confdefs.h avoids OS command line length limits that DEFS can exceed.
1902 -rm -rf conftest* confdefs.h
1903 -# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1904 -echo >confdefs.h
1905 +rm -f -r conftest* confdefs.h
1906 +
1907 +$as_echo "/* confdefs.h */" > confdefs.h
1908  
1909  # Predefined preprocessor variables.
1910  
1911 @@ -1128,112 +1703,137 @@ cat >>confdefs.h <<_ACEOF
1912  #define PACKAGE_NAME "$PACKAGE_NAME"
1913  _ACEOF
1914  
1915 -
1916  cat >>confdefs.h <<_ACEOF
1917  #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1918  _ACEOF
1919  
1920 -
1921  cat >>confdefs.h <<_ACEOF
1922  #define PACKAGE_VERSION "$PACKAGE_VERSION"
1923  _ACEOF
1924  
1925 -
1926  cat >>confdefs.h <<_ACEOF
1927  #define PACKAGE_STRING "$PACKAGE_STRING"
1928  _ACEOF
1929  
1930 -
1931  cat >>confdefs.h <<_ACEOF
1932  #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1933  _ACEOF
1934  
1935 +cat >>confdefs.h <<_ACEOF
1936 +#define PACKAGE_URL "$PACKAGE_URL"
1937 +_ACEOF
1938 +
1939  
1940  # Let the site file select an alternate cache file if it wants to.
1941 -# Prefer explicitly selected file to automatically selected ones.
1942 -if test -z "$CONFIG_SITE"; then
1943 -  if test "x$prefix" != xNONE; then
1944 -    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1945 -  else
1946 -    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1947 -  fi
1948 +# Prefer an explicitly selected file to automatically selected ones.
1949 +ac_site_file1=NONE
1950 +ac_site_file2=NONE
1951 +if test -n "$CONFIG_SITE"; then
1952 +  # We do not want a PATH search for config.site.
1953 +  case $CONFIG_SITE in #((
1954 +    -*)  ac_site_file1=./$CONFIG_SITE;;
1955 +    */*) ac_site_file1=$CONFIG_SITE;;
1956 +    *)   ac_site_file1=./$CONFIG_SITE;;
1957 +  esac
1958 +elif test "x$prefix" != xNONE; then
1959 +  ac_site_file1=$prefix/share/config.site
1960 +  ac_site_file2=$prefix/etc/config.site
1961 +else
1962 +  ac_site_file1=$ac_default_prefix/share/config.site
1963 +  ac_site_file2=$ac_default_prefix/etc/config.site
1964  fi
1965 -for ac_site_file in $CONFIG_SITE; do
1966 -  if test -r "$ac_site_file"; then
1967 -    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1968 -echo "$as_me: loading site script $ac_site_file" >&6;}
1969 +for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1970 +do
1971 +  test "x$ac_site_file" = xNONE && continue
1972 +  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1973 +    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1974 +$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1975      sed 's/^/| /' "$ac_site_file" >&5
1976 -    . "$ac_site_file"
1977 +    . "$ac_site_file" \
1978 +      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1979 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1980 +as_fn_error $? "failed to load site script $ac_site_file
1981 +See \`config.log' for more details" "$LINENO" 5; }
1982    fi
1983  done
1984  
1985  if test -r "$cache_file"; then
1986 -  # Some versions of bash will fail to source /dev/null (special
1987 -  # files actually), so we avoid doing that.
1988 -  if test -f "$cache_file"; then
1989 -    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1990 -echo "$as_me: loading cache $cache_file" >&6;}
1991 +  # Some versions of bash will fail to source /dev/null (special files
1992 +  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1993 +  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1994 +    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1995 +$as_echo "$as_me: loading cache $cache_file" >&6;}
1996      case $cache_file in
1997 -      [\\/]* | ?:[\\/]* ) . $cache_file;;
1998 -      *)                      . ./$cache_file;;
1999 +      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2000 +      *)                      . "./$cache_file";;
2001      esac
2002    fi
2003  else
2004 -  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2005 -echo "$as_me: creating cache $cache_file" >&6;}
2006 +  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2007 +$as_echo "$as_me: creating cache $cache_file" >&6;}
2008    >$cache_file
2009  fi
2010  
2011  # Check that the precious variables saved in the cache have kept the same
2012  # value.
2013  ac_cache_corrupted=false
2014 -for ac_var in `(set) 2>&1 |
2015 -              sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
2016 +for ac_var in $ac_precious_vars; do
2017    eval ac_old_set=\$ac_cv_env_${ac_var}_set
2018    eval ac_new_set=\$ac_env_${ac_var}_set
2019 -  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
2020 -  eval ac_new_val="\$ac_env_${ac_var}_value"
2021 +  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2022 +  eval ac_new_val=\$ac_env_${ac_var}_value
2023    case $ac_old_set,$ac_new_set in
2024      set,)
2025 -      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2026 -echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2027 +      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2028 +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2029        ac_cache_corrupted=: ;;
2030      ,set)
2031 -      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2032 -echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2033 +      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2034 +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2035        ac_cache_corrupted=: ;;
2036      ,);;
2037      *)
2038        if test "x$ac_old_val" != "x$ac_new_val"; then
2039 -       { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2040 -echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2041 -       { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
2042 -echo "$as_me:   former value:  $ac_old_val" >&2;}
2043 -       { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
2044 -echo "$as_me:   current value: $ac_new_val" >&2;}
2045 -       ac_cache_corrupted=:
2046 +       # differences in whitespace do not lead to failure.
2047 +       ac_old_val_w=`echo x $ac_old_val`
2048 +       ac_new_val_w=`echo x $ac_new_val`
2049 +       if test "$ac_old_val_w" != "$ac_new_val_w"; then
2050 +         { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2051 +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2052 +         ac_cache_corrupted=:
2053 +       else
2054 +         { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2055 +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2056 +         eval $ac_var=\$ac_old_val
2057 +       fi
2058 +       { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2059 +$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2060 +       { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2061 +$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2062        fi;;
2063    esac
2064    # Pass precious variables to config.status.
2065    if test "$ac_new_set" = set; then
2066      case $ac_new_val in
2067 -    *" "*|*"   "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
2068 -      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2069 +    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2070      *) ac_arg=$ac_var=$ac_new_val ;;
2071      esac
2072      case " $ac_configure_args " in
2073        *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2074 -      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2075 +      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2076      esac
2077    fi
2078  done
2079  if $ac_cache_corrupted; then
2080 -  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2081 -echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2082 -  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2083 -echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2084 -   { (exit 1); exit 1; }; }
2085 +  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2086 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2087 +  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2088 +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2089 +  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2090  fi
2091 +## -------------------- ##
2092 +## Main body of script. ##
2093 +## -------------------- ##
2094  
2095  ac_ext=c
2096  ac_cpp='$CPP $CPPFLAGS'
2097 @@ -1242,48 +1842,35 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
2098  ac_compiler_gnu=$ac_cv_c_compiler_gnu
2099  
2100  
2101 -
2102 -
2103 -
2104 -
2105 -
2106 -
2107 -
2108 -
2109 -
2110 -
2111 -
2112 -
2113 -
2114 -
2115 -
2116 -
2117 -
2118  am__api_version="1.4"
2119  ac_aux_dir=
2120 -for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
2121 -  if test -f $ac_dir/install-sh; then
2122 +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2123 +  if test -f "$ac_dir/install-sh"; then
2124      ac_aux_dir=$ac_dir
2125      ac_install_sh="$ac_aux_dir/install-sh -c"
2126      break
2127 -  elif test -f $ac_dir/install.sh; then
2128 +  elif test -f "$ac_dir/install.sh"; then
2129      ac_aux_dir=$ac_dir
2130      ac_install_sh="$ac_aux_dir/install.sh -c"
2131      break
2132 -  elif test -f $ac_dir/shtool; then
2133 +  elif test -f "$ac_dir/shtool"; then
2134      ac_aux_dir=$ac_dir
2135      ac_install_sh="$ac_aux_dir/shtool install -c"
2136      break
2137    fi
2138  done
2139  if test -z "$ac_aux_dir"; then
2140 -  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2141 -echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2142 -   { (exit 1); exit 1; }; }
2143 +  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2144  fi
2145 -ac_config_guess="$SHELL $ac_aux_dir/config.guess"
2146 -ac_config_sub="$SHELL $ac_aux_dir/config.sub"
2147 -ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2148 +
2149 +# These three variables are undocumented and unsupported,
2150 +# and are intended to be withdrawn in a future Autoconf release.
2151 +# They can cause serious problems if a builder's source tree is in a directory
2152 +# whose full name contains unusual characters.
2153 +ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2154 +ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2155 +ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2156 +
2157  
2158  # Find a good install program.  We prefer a C program (faster),
2159  # so one script is as good as another.  But avoid the broken or
2160 @@ -1298,22 +1885,23 @@ ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2161  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2162  # OS/2's system install, which has a completely different semantic
2163  # ./install, which can be erroneously created by make from ./install.sh.
2164 -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2165 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2166 +# Reject install programs that cannot install multiple files.
2167 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2168 +$as_echo_n "checking for a BSD-compatible install... " >&6; }
2169  if test -z "$INSTALL"; then
2170 -if test "${ac_cv_path_install+set}" = set; then
2171 -  echo $ECHO_N "(cached) $ECHO_C" >&6
2172 +if ${ac_cv_path_install+:} false; then :
2173 +  $as_echo_n "(cached) " >&6
2174  else
2175    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2176  for as_dir in $PATH
2177  do
2178    IFS=$as_save_IFS
2179    test -z "$as_dir" && as_dir=.
2180 -  # Account for people who put trailing slashes in PATH elements.
2181 -case $as_dir/ in
2182 -  ./ | .// | /cC/* | \
2183 +    # Account for people who put trailing slashes in PATH elements.
2184 +case $as_dir/ in #((
2185 +  ./ | .// | /[cC]/* | \
2186    /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2187 -  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2188 +  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2189    /usr/ucb/* ) ;;
2190    *)
2191      # OSF1 and SCO ODT 3.0 have their own names for install.
2192 @@ -1321,7 +1909,7 @@ case $as_dir/ in
2193      # by default.
2194      for ac_prog in ginstall scoinst install; do
2195        for ac_exec_ext in '' $ac_executable_extensions; do
2196 -       if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2197 +       if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2198           if test $ac_prog = install &&
2199             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2200             # AIX install.  It has an incompatible calling convention.
2201 @@ -1331,30 +1919,43 @@ case $as_dir/ in
2202             # program-specific install script used by HP pwplus--don't use.
2203             :
2204           else
2205 -           ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2206 -           break 3
2207 +           rm -rf conftest.one conftest.two conftest.dir
2208 +           echo one > conftest.one
2209 +           echo two > conftest.two
2210 +           mkdir conftest.dir
2211 +           if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2212 +             test -s conftest.one && test -s conftest.two &&
2213 +             test -s conftest.dir/conftest.one &&
2214 +             test -s conftest.dir/conftest.two
2215 +           then
2216 +             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2217 +             break 3
2218 +           fi
2219           fi
2220         fi
2221        done
2222      done
2223      ;;
2224  esac
2225 -done
2226  
2227 +  done
2228 +IFS=$as_save_IFS
2229 +
2230 +rm -rf conftest.one conftest.two conftest.dir
2231  
2232  fi
2233    if test "${ac_cv_path_install+set}" = set; then
2234      INSTALL=$ac_cv_path_install
2235    else
2236 -    # As a last resort, use the slow shell script.  We don't cache a
2237 -    # path for INSTALL within a source directory, because that will
2238 +    # As a last resort, use the slow shell script.  Don't cache a
2239 +    # value for INSTALL within a source directory, because that will
2240      # break other packages using the cache if that directory is
2241 -    # removed, or if the path is relative.
2242 +    # removed, or if the value is a relative name.
2243      INSTALL=$ac_install_sh
2244    fi
2245  fi
2246 -echo "$as_me:$LINENO: result: $INSTALL" >&5
2247 -echo "${ECHO_T}$INSTALL" >&6
2248 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2249 +$as_echo "$INSTALL" >&6; }
2250  
2251  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2252  # It thinks the first close brace ends the variable substitution.
2253 @@ -1364,8 +1965,8 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2254  
2255  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2256  
2257 -echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2258 -echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2259 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2260 +$as_echo_n "checking whether build environment is sane... " >&6; }
2261  # Just in case
2262  sleep 1
2263  echo timestamp > conftestfile
2264 @@ -1387,11 +1988,8 @@ if (
2265        # if, for instance, CONFIG_SHELL is bash and it inherits a
2266        # broken ls alias from the environment.  This has actually
2267        # happened.  Such a system could not be considered "sane".
2268 -      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2269 -alias in your environment" >&5
2270 -echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2271 -alias in your environment" >&2;}
2272 -   { (exit 1); exit 1; }; }
2273 +      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2274 +alias in your environment" "$LINENO" 5
2275     fi
2276  
2277     test "$2" = conftestfile
2278 @@ -1400,66 +1998,60 @@ then
2279     # Ok.
2280     :
2281  else
2282 -   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2283 -Check your system clock" >&5
2284 -echo "$as_me: error: newly created file is older than distributed files!
2285 -Check your system clock" >&2;}
2286 -   { (exit 1); exit 1; }; }
2287 +   as_fn_error $? "newly created file is older than distributed files!
2288 +Check your system clock" "$LINENO" 5
2289  fi
2290  rm -f conftest*
2291 -echo "$as_me:$LINENO: result: yes" >&5
2292 -echo "${ECHO_T}yes" >&6
2293 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2294 +$as_echo "yes" >&6; }
2295  test "$program_prefix" != NONE &&
2296 -  program_transform_name="s,^,$program_prefix,;$program_transform_name"
2297 +  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2298  # Use a double $ so make ignores it.
2299  test "$program_suffix" != NONE &&
2300 -  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
2301 -# Double any \ or $.  echo might interpret backslashes.
2302 +  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2303 +# Double any \ or $.
2304  # By default was `s,x,x', remove it if useless.
2305 -cat <<\_ACEOF >conftest.sed
2306 -s/[\\$]/&&/g;s/;s,x,x,$//
2307 -_ACEOF
2308 -program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2309 -rm conftest.sed
2310 -
2311 -echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2312 -echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2313 -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
2314 -if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2315 -  echo $ECHO_N "(cached) $ECHO_C" >&6
2316 +ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2317 +program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2318 +
2319 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2320 +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2321 +set x ${MAKE-make}
2322 +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2323 +if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2324 +  $as_echo_n "(cached) " >&6
2325  else
2326    cat >conftest.make <<\_ACEOF
2327 +SHELL = /bin/sh
2328  all:
2329 -       @echo 'ac_maketemp="$(MAKE)"'
2330 +       @echo '@@@%%%=$(MAKE)=@@@%%%'
2331  _ACEOF
2332 -# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2333 -eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2334 -if test -n "$ac_maketemp"; then
2335 -  eval ac_cv_prog_make_${ac_make}_set=yes
2336 -else
2337 -  eval ac_cv_prog_make_${ac_make}_set=no
2338 -fi
2339 +# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2340 +case `${MAKE-make} -f conftest.make 2>/dev/null` in
2341 +  *@@@%%%=?*=@@@%%%*)
2342 +    eval ac_cv_prog_make_${ac_make}_set=yes;;
2343 +  *)
2344 +    eval ac_cv_prog_make_${ac_make}_set=no;;
2345 +esac
2346  rm -f conftest.make
2347  fi
2348 -if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2349 -  echo "$as_me:$LINENO: result: yes" >&5
2350 -echo "${ECHO_T}yes" >&6
2351 +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2352 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2353 +$as_echo "yes" >&6; }
2354    SET_MAKE=
2355  else
2356 -  echo "$as_me:$LINENO: result: no" >&5
2357 -echo "${ECHO_T}no" >&6
2358 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2359 +$as_echo "no" >&6; }
2360    SET_MAKE="MAKE=${MAKE-make}"
2361  fi
2362  
2363  
2364  PACKAGE=as31
2365  
2366 -VERSION=2.3.0
2367 +VERSION=2.3.1
2368  
2369  if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
2370 -  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2371 -echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2372 -   { (exit 1); exit 1; }; }
2373 +  as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2374  fi
2375  
2376  cat >>confdefs.h <<_ACEOF
2377 @@ -1474,79 +2066,79 @@ _ACEOF
2378  
2379  
2380  missing_dir=`cd $ac_aux_dir && pwd`
2381 -echo "$as_me:$LINENO: checking for working aclocal-${am__api_version}" >&5
2382 -echo $ECHO_N "checking for working aclocal-${am__api_version}... $ECHO_C" >&6
2383 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working aclocal-${am__api_version}" >&5
2384 +$as_echo_n "checking for working aclocal-${am__api_version}... " >&6; }
2385  # Run test in a subshell; some versions of sh will print an error if
2386  # an executable is not found, even if stderr is redirected.
2387  # Redirect stdin to placate older versions of autoconf.  Sigh.
2388  if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
2389     ACLOCAL=aclocal-${am__api_version}
2390 -   echo "$as_me:$LINENO: result: found" >&5
2391 -echo "${ECHO_T}found" >&6
2392 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
2393 +$as_echo "found" >&6; }
2394  else
2395     ACLOCAL="$missing_dir/missing aclocal-${am__api_version}"
2396 -   echo "$as_me:$LINENO: result: missing" >&5
2397 -echo "${ECHO_T}missing" >&6
2398 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: missing" >&5
2399 +$as_echo "missing" >&6; }
2400  fi
2401  
2402 -echo "$as_me:$LINENO: checking for working autoconf" >&5
2403 -echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6
2404 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working autoconf" >&5
2405 +$as_echo_n "checking for working autoconf... " >&6; }
2406  # Run test in a subshell; some versions of sh will print an error if
2407  # an executable is not found, even if stderr is redirected.
2408  # Redirect stdin to placate older versions of autoconf.  Sigh.
2409  if (autoconf --version) < /dev/null > /dev/null 2>&1; then
2410     AUTOCONF=autoconf
2411 -   echo "$as_me:$LINENO: result: found" >&5
2412 -echo "${ECHO_T}found" >&6
2413 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
2414 +$as_echo "found" >&6; }
2415  else
2416     AUTOCONF="$missing_dir/missing autoconf"
2417 -   echo "$as_me:$LINENO: result: missing" >&5
2418 -echo "${ECHO_T}missing" >&6
2419 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: missing" >&5
2420 +$as_echo "missing" >&6; }
2421  fi
2422  
2423 -echo "$as_me:$LINENO: checking for working automake-${am__api_version}" >&5
2424 -echo $ECHO_N "checking for working automake-${am__api_version}... $ECHO_C" >&6
2425 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working automake-${am__api_version}" >&5
2426 +$as_echo_n "checking for working automake-${am__api_version}... " >&6; }
2427  # Run test in a subshell; some versions of sh will print an error if
2428  # an executable is not found, even if stderr is redirected.
2429  # Redirect stdin to placate older versions of autoconf.  Sigh.
2430  if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
2431     AUTOMAKE=automake-${am__api_version}
2432 -   echo "$as_me:$LINENO: result: found" >&5
2433 -echo "${ECHO_T}found" >&6
2434 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
2435 +$as_echo "found" >&6; }
2436  else
2437     AUTOMAKE="$missing_dir/missing automake-${am__api_version}"
2438 -   echo "$as_me:$LINENO: result: missing" >&5
2439 -echo "${ECHO_T}missing" >&6
2440 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: missing" >&5
2441 +$as_echo "missing" >&6; }
2442  fi
2443  
2444 -echo "$as_me:$LINENO: checking for working autoheader" >&5
2445 -echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6
2446 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working autoheader" >&5
2447 +$as_echo_n "checking for working autoheader... " >&6; }
2448  # Run test in a subshell; some versions of sh will print an error if
2449  # an executable is not found, even if stderr is redirected.
2450  # Redirect stdin to placate older versions of autoconf.  Sigh.
2451  if (autoheader --version) < /dev/null > /dev/null 2>&1; then
2452     AUTOHEADER=autoheader
2453 -   echo "$as_me:$LINENO: result: found" >&5
2454 -echo "${ECHO_T}found" >&6
2455 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
2456 +$as_echo "found" >&6; }
2457  else
2458     AUTOHEADER="$missing_dir/missing autoheader"
2459 -   echo "$as_me:$LINENO: result: missing" >&5
2460 -echo "${ECHO_T}missing" >&6
2461 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: missing" >&5
2462 +$as_echo "missing" >&6; }
2463  fi
2464  
2465 -echo "$as_me:$LINENO: checking for working makeinfo" >&5
2466 -echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6
2467 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working makeinfo" >&5
2468 +$as_echo_n "checking for working makeinfo... " >&6; }
2469  # Run test in a subshell; some versions of sh will print an error if
2470  # an executable is not found, even if stderr is redirected.
2471  # Redirect stdin to placate older versions of autoconf.  Sigh.
2472  if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
2473     MAKEINFO=makeinfo
2474 -   echo "$as_me:$LINENO: result: found" >&5
2475 -echo "${ECHO_T}found" >&6
2476 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
2477 +$as_echo "found" >&6; }
2478  else
2479     MAKEINFO="$missing_dir/missing makeinfo"
2480 -   echo "$as_me:$LINENO: result: missing" >&5
2481 -echo "${ECHO_T}missing" >&6
2482 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: missing" >&5
2483 +$as_echo "missing" >&6; }
2484  fi
2485  
2486  
2487 @@ -1560,10 +2152,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
2488  if test -n "$ac_tool_prefix"; then
2489    # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2490  set dummy ${ac_tool_prefix}gcc; ac_word=$2
2491 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2492 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2493 -if test "${ac_cv_prog_CC+set}" = set; then
2494 -  echo $ECHO_N "(cached) $ECHO_C" >&6
2495 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2496 +$as_echo_n "checking for $ac_word... " >&6; }
2497 +if ${ac_cv_prog_CC+:} false; then :
2498 +  $as_echo_n "(cached) " >&6
2499  else
2500    if test -n "$CC"; then
2501    ac_cv_prog_CC="$CC" # Let the user override the test.
2502 @@ -1573,35 +2165,37 @@ for as_dir in $PATH
2503  do
2504    IFS=$as_save_IFS
2505    test -z "$as_dir" && as_dir=.
2506 -  for ac_exec_ext in '' $ac_executable_extensions; do
2507 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2508 +    for ac_exec_ext in '' $ac_executable_extensions; do
2509 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2510      ac_cv_prog_CC="${ac_tool_prefix}gcc"
2511 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2512 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2513      break 2
2514    fi
2515  done
2516 -done
2517 +  done
2518 +IFS=$as_save_IFS
2519  
2520  fi
2521  fi
2522  CC=$ac_cv_prog_CC
2523  if test -n "$CC"; then
2524 -  echo "$as_me:$LINENO: result: $CC" >&5
2525 -echo "${ECHO_T}$CC" >&6
2526 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2527 +$as_echo "$CC" >&6; }
2528  else
2529 -  echo "$as_me:$LINENO: result: no" >&5
2530 -echo "${ECHO_T}no" >&6
2531 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2532 +$as_echo "no" >&6; }
2533  fi
2534  
2535 +
2536  fi
2537  if test -z "$ac_cv_prog_CC"; then
2538    ac_ct_CC=$CC
2539    # Extract the first word of "gcc", so it can be a program name with args.
2540  set dummy gcc; ac_word=$2
2541 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2542 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2543 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2544 -  echo $ECHO_N "(cached) $ECHO_C" >&6
2545 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2546 +$as_echo_n "checking for $ac_word... " >&6; }
2547 +if ${ac_cv_prog_ac_ct_CC+:} false; then :
2548 +  $as_echo_n "(cached) " >&6
2549  else
2550    if test -n "$ac_ct_CC"; then
2551    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2552 @@ -1611,39 +2205,50 @@ for as_dir in $PATH
2553  do
2554    IFS=$as_save_IFS
2555    test -z "$as_dir" && as_dir=.
2556 -  for ac_exec_ext in '' $ac_executable_extensions; do
2557 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2558 +    for ac_exec_ext in '' $ac_executable_extensions; do
2559 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2560      ac_cv_prog_ac_ct_CC="gcc"
2561 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2562 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2563      break 2
2564    fi
2565  done
2566 -done
2567 +  done
2568 +IFS=$as_save_IFS
2569  
2570  fi
2571  fi
2572  ac_ct_CC=$ac_cv_prog_ac_ct_CC
2573  if test -n "$ac_ct_CC"; then
2574 -  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2575 -echo "${ECHO_T}$ac_ct_CC" >&6
2576 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2577 +$as_echo "$ac_ct_CC" >&6; }
2578  else
2579 -  echo "$as_me:$LINENO: result: no" >&5
2580 -echo "${ECHO_T}no" >&6
2581 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2582 +$as_echo "no" >&6; }
2583  fi
2584  
2585 -  CC=$ac_ct_CC
2586 +  if test "x$ac_ct_CC" = x; then
2587 +    CC=""
2588 +  else
2589 +    case $cross_compiling:$ac_tool_warned in
2590 +yes:)
2591 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2592 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2593 +ac_tool_warned=yes ;;
2594 +esac
2595 +    CC=$ac_ct_CC
2596 +  fi
2597  else
2598    CC="$ac_cv_prog_CC"
2599  fi
2600  
2601  if test -z "$CC"; then
2602 -  if test -n "$ac_tool_prefix"; then
2603 -  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2604 +          if test -n "$ac_tool_prefix"; then
2605 +    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2606  set dummy ${ac_tool_prefix}cc; ac_word=$2
2607 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2608 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2609 -if test "${ac_cv_prog_CC+set}" = set; then
2610 -  echo $ECHO_N "(cached) $ECHO_C" >&6
2611 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2612 +$as_echo_n "checking for $ac_word... " >&6; }
2613 +if ${ac_cv_prog_CC+:} false; then :
2614 +  $as_echo_n "(cached) " >&6
2615  else
2616    if test -n "$CC"; then
2617    ac_cv_prog_CC="$CC" # Let the user override the test.
2618 @@ -1653,77 +2258,37 @@ for as_dir in $PATH
2619  do
2620    IFS=$as_save_IFS
2621    test -z "$as_dir" && as_dir=.
2622 -  for ac_exec_ext in '' $ac_executable_extensions; do
2623 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2624 +    for ac_exec_ext in '' $ac_executable_extensions; do
2625 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2626      ac_cv_prog_CC="${ac_tool_prefix}cc"
2627 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2628 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2629      break 2
2630    fi
2631  done
2632 -done
2633 +  done
2634 +IFS=$as_save_IFS
2635  
2636  fi
2637  fi
2638  CC=$ac_cv_prog_CC
2639  if test -n "$CC"; then
2640 -  echo "$as_me:$LINENO: result: $CC" >&5
2641 -echo "${ECHO_T}$CC" >&6
2642 -else
2643 -  echo "$as_me:$LINENO: result: no" >&5
2644 -echo "${ECHO_T}no" >&6
2645 -fi
2646 -
2647 -fi
2648 -if test -z "$ac_cv_prog_CC"; then
2649 -  ac_ct_CC=$CC
2650 -  # Extract the first word of "cc", so it can be a program name with args.
2651 -set dummy cc; ac_word=$2
2652 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2653 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2654 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2655 -  echo $ECHO_N "(cached) $ECHO_C" >&6
2656 -else
2657 -  if test -n "$ac_ct_CC"; then
2658 -  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2659 -else
2660 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2661 -for as_dir in $PATH
2662 -do
2663 -  IFS=$as_save_IFS
2664 -  test -z "$as_dir" && as_dir=.
2665 -  for ac_exec_ext in '' $ac_executable_extensions; do
2666 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2667 -    ac_cv_prog_ac_ct_CC="cc"
2668 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2669 -    break 2
2670 -  fi
2671 -done
2672 -done
2673 -
2674 -fi
2675 -fi
2676 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
2677 -if test -n "$ac_ct_CC"; then
2678 -  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2679 -echo "${ECHO_T}$ac_ct_CC" >&6
2680 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2681 +$as_echo "$CC" >&6; }
2682  else
2683 -  echo "$as_me:$LINENO: result: no" >&5
2684 -echo "${ECHO_T}no" >&6
2685 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2686 +$as_echo "no" >&6; }
2687  fi
2688  
2689 -  CC=$ac_ct_CC
2690 -else
2691 -  CC="$ac_cv_prog_CC"
2692 -fi
2693  
2694 +  fi
2695  fi
2696  if test -z "$CC"; then
2697    # Extract the first word of "cc", so it can be a program name with args.
2698  set dummy cc; ac_word=$2
2699 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2700 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2701 -if test "${ac_cv_prog_CC+set}" = set; then
2702 -  echo $ECHO_N "(cached) $ECHO_C" >&6
2703 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2704 +$as_echo_n "checking for $ac_word... " >&6; }
2705 +if ${ac_cv_prog_CC+:} false; then :
2706 +  $as_echo_n "(cached) " >&6
2707  else
2708    if test -n "$CC"; then
2709    ac_cv_prog_CC="$CC" # Let the user override the test.
2710 @@ -1734,18 +2299,19 @@ for as_dir in $PATH
2711  do
2712    IFS=$as_save_IFS
2713    test -z "$as_dir" && as_dir=.
2714 -  for ac_exec_ext in '' $ac_executable_extensions; do
2715 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2716 +    for ac_exec_ext in '' $ac_executable_extensions; do
2717 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2718      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2719         ac_prog_rejected=yes
2720         continue
2721       fi
2722      ac_cv_prog_CC="cc"
2723 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2724 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2725      break 2
2726    fi
2727  done
2728 -done
2729 +  done
2730 +IFS=$as_save_IFS
2731  
2732  if test $ac_prog_rejected = yes; then
2733    # We found a bogon in the path, so make sure we never use it.
2734 @@ -1763,24 +2329,25 @@ fi
2735  fi
2736  CC=$ac_cv_prog_CC
2737  if test -n "$CC"; then
2738 -  echo "$as_me:$LINENO: result: $CC" >&5
2739 -echo "${ECHO_T}$CC" >&6
2740 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2741 +$as_echo "$CC" >&6; }
2742  else
2743 -  echo "$as_me:$LINENO: result: no" >&5
2744 -echo "${ECHO_T}no" >&6
2745 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2746 +$as_echo "no" >&6; }
2747  fi
2748  
2749 +
2750  fi
2751  if test -z "$CC"; then
2752    if test -n "$ac_tool_prefix"; then
2753 -  for ac_prog in cl
2754 +  for ac_prog in cl.exe
2755    do
2756      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2757  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2758 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2759 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2760 -if test "${ac_cv_prog_CC+set}" = set; then
2761 -  echo $ECHO_N "(cached) $ECHO_C" >&6
2762 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2763 +$as_echo_n "checking for $ac_word... " >&6; }
2764 +if ${ac_cv_prog_CC+:} false; then :
2765 +  $as_echo_n "(cached) " >&6
2766  else
2767    if test -n "$CC"; then
2768    ac_cv_prog_CC="$CC" # Let the user override the test.
2769 @@ -1790,39 +2357,41 @@ for as_dir in $PATH
2770  do
2771    IFS=$as_save_IFS
2772    test -z "$as_dir" && as_dir=.
2773 -  for ac_exec_ext in '' $ac_executable_extensions; do
2774 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2775 +    for ac_exec_ext in '' $ac_executable_extensions; do
2776 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2777      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2778 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2779 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2780      break 2
2781    fi
2782  done
2783 -done
2784 +  done
2785 +IFS=$as_save_IFS
2786  
2787  fi
2788  fi
2789  CC=$ac_cv_prog_CC
2790  if test -n "$CC"; then
2791 -  echo "$as_me:$LINENO: result: $CC" >&5
2792 -echo "${ECHO_T}$CC" >&6
2793 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2794 +$as_echo "$CC" >&6; }
2795  else
2796 -  echo "$as_me:$LINENO: result: no" >&5
2797 -echo "${ECHO_T}no" >&6
2798 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2799 +$as_echo "no" >&6; }
2800  fi
2801  
2802 +
2803      test -n "$CC" && break
2804    done
2805  fi
2806  if test -z "$CC"; then
2807    ac_ct_CC=$CC
2808 -  for ac_prog in cl
2809 +  for ac_prog in cl.exe
2810  do
2811    # Extract the first word of "$ac_prog", so it can be a program name with args.
2812  set dummy $ac_prog; ac_word=$2
2813 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2814 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2815 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2816 -  echo $ECHO_N "(cached) $ECHO_C" >&6
2817 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2818 +$as_echo_n "checking for $ac_word... " >&6; }
2819 +if ${ac_cv_prog_ac_ct_CC+:} false; then :
2820 +  $as_echo_n "(cached) " >&6
2821  else
2822    if test -n "$ac_ct_CC"; then
2823    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2824 @@ -1832,66 +2401,78 @@ for as_dir in $PATH
2825  do
2826    IFS=$as_save_IFS
2827    test -z "$as_dir" && as_dir=.
2828 -  for ac_exec_ext in '' $ac_executable_extensions; do
2829 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2830 +    for ac_exec_ext in '' $ac_executable_extensions; do
2831 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2832      ac_cv_prog_ac_ct_CC="$ac_prog"
2833 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2834 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2835      break 2
2836    fi
2837  done
2838 -done
2839 +  done
2840 +IFS=$as_save_IFS
2841  
2842  fi
2843  fi
2844  ac_ct_CC=$ac_cv_prog_ac_ct_CC
2845  if test -n "$ac_ct_CC"; then
2846 -  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2847 -echo "${ECHO_T}$ac_ct_CC" >&6
2848 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2849 +$as_echo "$ac_ct_CC" >&6; }
2850  else
2851 -  echo "$as_me:$LINENO: result: no" >&5
2852 -echo "${ECHO_T}no" >&6
2853 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2854 +$as_echo "no" >&6; }
2855  fi
2856  
2857 +
2858    test -n "$ac_ct_CC" && break
2859  done
2860  
2861 -  CC=$ac_ct_CC
2862 +  if test "x$ac_ct_CC" = x; then
2863 +    CC=""
2864 +  else
2865 +    case $cross_compiling:$ac_tool_warned in
2866 +yes:)
2867 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2868 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2869 +ac_tool_warned=yes ;;
2870 +esac
2871 +    CC=$ac_ct_CC
2872 +  fi
2873  fi
2874  
2875  fi
2876  
2877  
2878 -test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2879 -See \`config.log' for more details." >&5
2880 -echo "$as_me: error: no acceptable C compiler found in \$PATH
2881 -See \`config.log' for more details." >&2;}
2882 -   { (exit 1); exit 1; }; }
2883 +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2884 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2885 +as_fn_error $? "no acceptable C compiler found in \$PATH
2886 +See \`config.log' for more details" "$LINENO" 5; }
2887  
2888  # Provide some information about the compiler.
2889 -echo "$as_me:$LINENO:" \
2890 -     "checking for C compiler version" >&5
2891 -ac_compiler=`set X $ac_compile; echo $2`
2892 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2893 -  (eval $ac_compiler --version </dev/null >&5) 2>&5
2894 -  ac_status=$?
2895 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2896 -  (exit $ac_status); }
2897 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2898 -  (eval $ac_compiler -v </dev/null >&5) 2>&5
2899 -  ac_status=$?
2900 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2901 -  (exit $ac_status); }
2902 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2903 -  (eval $ac_compiler -V </dev/null >&5) 2>&5
2904 +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2905 +set X $ac_compile
2906 +ac_compiler=$2
2907 +for ac_option in --version -v -V -qversion; do
2908 +  { { ac_try="$ac_compiler $ac_option >&5"
2909 +case "(($ac_try" in
2910 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2911 +  *) ac_try_echo=$ac_try;;
2912 +esac
2913 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2914 +$as_echo "$ac_try_echo"; } >&5
2915 +  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2916    ac_status=$?
2917 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2918 -  (exit $ac_status); }
2919 +  if test -s conftest.err; then
2920 +    sed '10a\
2921 +... rest of stderr output deleted ...
2922 +         10q' conftest.err >conftest.er1
2923 +    cat conftest.er1 >&5
2924 +  fi
2925 +  rm -f conftest.er1 conftest.err
2926 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2927 +  test $ac_status = 0; }
2928 +done
2929  
2930 -cat >conftest.$ac_ext <<_ACEOF
2931 -/* confdefs.h.  */
2932 -_ACEOF
2933 -cat confdefs.h >>conftest.$ac_ext
2934 -cat >>conftest.$ac_ext <<_ACEOF
2935 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2936  /* end confdefs.h.  */
2937  
2938  int
2939 @@ -1903,112 +2484,108 @@ main ()
2940  }
2941  _ACEOF
2942  ac_clean_files_save=$ac_clean_files
2943 -ac_clean_files="$ac_clean_files a.out a.exe b.out"
2944 +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2945  # Try to create an executable without -o first, disregard a.out.
2946  # It will help us diagnose broken compilers, and finding out an intuition
2947  # of exeext.
2948 -echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2949 -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2950 -ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2951 -if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2952 -  (eval $ac_link_default) 2>&5
2953 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2954 +$as_echo_n "checking whether the C compiler works... " >&6; }
2955 +ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2956 +
2957 +# The possible output files:
2958 +ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2959 +
2960 +ac_rmfiles=
2961 +for ac_file in $ac_files
2962 +do
2963 +  case $ac_file in
2964 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2965 +    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2966 +  esac
2967 +done
2968 +rm -f $ac_rmfiles
2969 +
2970 +if { { ac_try="$ac_link_default"
2971 +case "(($ac_try" in
2972 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2973 +  *) ac_try_echo=$ac_try;;
2974 +esac
2975 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2976 +$as_echo "$ac_try_echo"; } >&5
2977 +  (eval "$ac_link_default") 2>&5
2978    ac_status=$?
2979 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2980 -  (exit $ac_status); }; then
2981 -  # Find the output, starting from the most likely.  This scheme is
2982 -# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2983 -# resort.
2984 -
2985 -# Be careful to initialize this variable, since it used to be cached.
2986 -# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2987 -ac_cv_exeext=
2988 -# b.out is created by i960 compilers.
2989 -for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2990 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2991 +  test $ac_status = 0; }; then :
2992 +  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2993 +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2994 +# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2995 +# so that the user can short-circuit this test for compilers unknown to
2996 +# Autoconf.
2997 +for ac_file in $ac_files ''
2998  do
2999    test -f "$ac_file" || continue
3000    case $ac_file in
3001 -    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
3002 -       ;;
3003 -    conftest.$ac_ext )
3004 -       # This is the source file.
3005 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3006         ;;
3007      [ab].out )
3008         # We found the default executable, but exeext='' is most
3009         # certainly right.
3010         break;;
3011      *.* )
3012 -       ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3013 -       # FIXME: I believe we export ac_cv_exeext for Libtool,
3014 -       # but it would be cool to find out if it's true.  Does anybody
3015 -       # maintain Libtool? --akim.
3016 -       export ac_cv_exeext
3017 +       if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3018 +       then :; else
3019 +          ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3020 +       fi
3021 +       # We set ac_cv_exeext here because the later test for it is not
3022 +       # safe: cross compilers may not add the suffix if given an `-o'
3023 +       # argument, so we may need to know it at that point already.
3024 +       # Even if this section looks crufty: it has the advantage of
3025 +       # actually working.
3026         break;;
3027      * )
3028         break;;
3029    esac
3030  done
3031 +test "$ac_cv_exeext" = no && ac_cv_exeext=
3032 +
3033  else
3034 -  echo "$as_me: failed program was:" >&5
3035 +  ac_file=''
3036 +fi
3037 +if test -z "$ac_file"; then :
3038 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3039 +$as_echo "no" >&6; }
3040 +$as_echo "$as_me: failed program was:" >&5
3041  sed 's/^/| /' conftest.$ac_ext >&5
3042  
3043 -{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
3044 -See \`config.log' for more details." >&5
3045 -echo "$as_me: error: C compiler cannot create executables
3046 -See \`config.log' for more details." >&2;}
3047 -   { (exit 77); exit 77; }; }
3048 +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3049 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3050 +as_fn_error 77 "C compiler cannot create executables
3051 +See \`config.log' for more details" "$LINENO" 5; }
3052 +else
3053 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3054 +$as_echo "yes" >&6; }
3055  fi
3056 -
3057 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3058 +$as_echo_n "checking for C compiler default output file name... " >&6; }
3059 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3060 +$as_echo "$ac_file" >&6; }
3061  ac_exeext=$ac_cv_exeext
3062 -echo "$as_me:$LINENO: result: $ac_file" >&5
3063 -echo "${ECHO_T}$ac_file" >&6
3064 -
3065 -# Check the compiler produces executables we can run.  If not, either
3066 -# the compiler is broken, or we cross compile.
3067 -echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3068 -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
3069 -# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3070 -# If not cross compiling, check that we can run a simple program.
3071 -if test "$cross_compiling" != yes; then
3072 -  if { ac_try='./$ac_file'
3073 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3074 -  (eval $ac_try) 2>&5
3075 -  ac_status=$?
3076 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3077 -  (exit $ac_status); }; }; then
3078 -    cross_compiling=no
3079 -  else
3080 -    if test "$cross_compiling" = maybe; then
3081 -       cross_compiling=yes
3082 -    else
3083 -       { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3084 -If you meant to cross compile, use \`--host'.
3085 -See \`config.log' for more details." >&5
3086 -echo "$as_me: error: cannot run C compiled programs.
3087 -If you meant to cross compile, use \`--host'.
3088 -See \`config.log' for more details." >&2;}
3089 -   { (exit 1); exit 1; }; }
3090 -    fi
3091 -  fi
3092 -fi
3093 -echo "$as_me:$LINENO: result: yes" >&5
3094 -echo "${ECHO_T}yes" >&6
3095  
3096 -rm -f a.out a.exe conftest$ac_cv_exeext b.out
3097 +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3098  ac_clean_files=$ac_clean_files_save
3099 -# Check the compiler produces executables we can run.  If not, either
3100 -# the compiler is broken, or we cross compile.
3101 -echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3102 -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3103 -echo "$as_me:$LINENO: result: $cross_compiling" >&5
3104 -echo "${ECHO_T}$cross_compiling" >&6
3105 -
3106 -echo "$as_me:$LINENO: checking for suffix of executables" >&5
3107 -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3108 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3109 -  (eval $ac_link) 2>&5
3110 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3111 +$as_echo_n "checking for suffix of executables... " >&6; }
3112 +if { { ac_try="$ac_link"
3113 +case "(($ac_try" in
3114 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3115 +  *) ac_try_echo=$ac_try;;
3116 +esac
3117 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3118 +$as_echo "$ac_try_echo"; } >&5
3119 +  (eval "$ac_link") 2>&5
3120    ac_status=$?
3121 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3122 -  (exit $ac_status); }; then
3123 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3124 +  test $ac_status = 0; }; then :
3125    # If both `conftest.exe' and `conftest' are `present' (well, observable)
3126  # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3127  # work properly (i.e., refer to `conftest.exe'), while it won't with
3128 @@ -2016,38 +2593,90 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3129  for ac_file in conftest.exe conftest conftest.*; do
3130    test -f "$ac_file" || continue
3131    case $ac_file in
3132 -    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
3133 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3134      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3135 -         export ac_cv_exeext
3136           break;;
3137      * ) break;;
3138    esac
3139  done
3140  else
3141 -  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3142 -See \`config.log' for more details." >&5
3143 -echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3144 -See \`config.log' for more details." >&2;}
3145 -   { (exit 1); exit 1; }; }
3146 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3147 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3148 +as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3149 +See \`config.log' for more details" "$LINENO" 5; }
3150  fi
3151 -
3152 -rm -f conftest$ac_cv_exeext
3153 -echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3154 -echo "${ECHO_T}$ac_cv_exeext" >&6
3155 +rm -f conftest conftest$ac_cv_exeext
3156 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3157 +$as_echo "$ac_cv_exeext" >&6; }
3158  
3159  rm -f conftest.$ac_ext
3160  EXEEXT=$ac_cv_exeext
3161  ac_exeext=$EXEEXT
3162 -echo "$as_me:$LINENO: checking for suffix of object files" >&5
3163 -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3164 -if test "${ac_cv_objext+set}" = set; then
3165 -  echo $ECHO_N "(cached) $ECHO_C" >&6
3166 -else
3167 -  cat >conftest.$ac_ext <<_ACEOF
3168 -/* confdefs.h.  */
3169 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3170 +/* end confdefs.h.  */
3171 +#include <stdio.h>
3172 +int
3173 +main ()
3174 +{
3175 +FILE *f = fopen ("conftest.out", "w");
3176 + return ferror (f) || fclose (f) != 0;
3177 +
3178 +  ;
3179 +  return 0;
3180 +}
3181  _ACEOF
3182 -cat confdefs.h >>conftest.$ac_ext
3183 -cat >>conftest.$ac_ext <<_ACEOF
3184 +ac_clean_files="$ac_clean_files conftest.out"
3185 +# Check that the compiler produces executables we can run.  If not, either
3186 +# the compiler is broken, or we cross compile.
3187 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3188 +$as_echo_n "checking whether we are cross compiling... " >&6; }
3189 +if test "$cross_compiling" != yes; then
3190 +  { { ac_try="$ac_link"
3191 +case "(($ac_try" in
3192 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3193 +  *) ac_try_echo=$ac_try;;
3194 +esac
3195 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3196 +$as_echo "$ac_try_echo"; } >&5
3197 +  (eval "$ac_link") 2>&5
3198 +  ac_status=$?
3199 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3200 +  test $ac_status = 0; }
3201 +  if { ac_try='./conftest$ac_cv_exeext'
3202 +  { { case "(($ac_try" in
3203 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3204 +  *) ac_try_echo=$ac_try;;
3205 +esac
3206 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3207 +$as_echo "$ac_try_echo"; } >&5
3208 +  (eval "$ac_try") 2>&5
3209 +  ac_status=$?
3210 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3211 +  test $ac_status = 0; }; }; then
3212 +    cross_compiling=no
3213 +  else
3214 +    if test "$cross_compiling" = maybe; then
3215 +       cross_compiling=yes
3216 +    else
3217 +       { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3218 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3219 +as_fn_error $? "cannot run C compiled programs.
3220 +If you meant to cross compile, use \`--host'.
3221 +See \`config.log' for more details" "$LINENO" 5; }
3222 +    fi
3223 +  fi
3224 +fi
3225 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3226 +$as_echo "$cross_compiling" >&6; }
3227 +
3228 +rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3229 +ac_clean_files=$ac_clean_files_save
3230 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3231 +$as_echo_n "checking for suffix of object files... " >&6; }
3232 +if ${ac_cv_objext+:} false; then :
3233 +  $as_echo_n "(cached) " >&6
3234 +else
3235 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3236  /* end confdefs.h.  */
3237  
3238  int
3239 @@ -2059,45 +2688,46 @@ main ()
3240  }
3241  _ACEOF
3242  rm -f conftest.o conftest.obj
3243 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3244 -  (eval $ac_compile) 2>&5
3245 +if { { ac_try="$ac_compile"
3246 +case "(($ac_try" in
3247 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3248 +  *) ac_try_echo=$ac_try;;
3249 +esac
3250 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3251 +$as_echo "$ac_try_echo"; } >&5
3252 +  (eval "$ac_compile") 2>&5
3253    ac_status=$?
3254 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3255 -  (exit $ac_status); }; then
3256 -  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3257 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3258 +  test $ac_status = 0; }; then :
3259 +  for ac_file in conftest.o conftest.obj conftest.*; do
3260 +  test -f "$ac_file" || continue;
3261    case $ac_file in
3262 -    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
3263 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3264      *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3265         break;;
3266    esac
3267  done
3268  else
3269 -  echo "$as_me: failed program was:" >&5
3270 +  $as_echo "$as_me: failed program was:" >&5
3271  sed 's/^/| /' conftest.$ac_ext >&5
3272  
3273 -{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3274 -See \`config.log' for more details." >&5
3275 -echo "$as_me: error: cannot compute suffix of object files: cannot compile
3276 -See \`config.log' for more details." >&2;}
3277 -   { (exit 1); exit 1; }; }
3278 +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3279 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3280 +as_fn_error $? "cannot compute suffix of object files: cannot compile
3281 +See \`config.log' for more details" "$LINENO" 5; }
3282  fi
3283 -
3284  rm -f conftest.$ac_cv_objext conftest.$ac_ext
3285  fi
3286 -echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3287 -echo "${ECHO_T}$ac_cv_objext" >&6
3288 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3289 +$as_echo "$ac_cv_objext" >&6; }
3290  OBJEXT=$ac_cv_objext
3291  ac_objext=$OBJEXT
3292 -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3293 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3294 -if test "${ac_cv_c_compiler_gnu+set}" = set; then
3295 -  echo $ECHO_N "(cached) $ECHO_C" >&6
3296 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3297 +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3298 +if ${ac_cv_c_compiler_gnu+:} false; then :
3299 +  $as_echo_n "(cached) " >&6
3300  else
3301 -  cat >conftest.$ac_ext <<_ACEOF
3302 -/* confdefs.h.  */
3303 -_ACEOF
3304 -cat confdefs.h >>conftest.$ac_ext
3305 -cat >>conftest.$ac_ext <<_ACEOF
3306 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3307  /* end confdefs.h.  */
3308  
3309  int
3310 @@ -2111,54 +2741,34 @@ main ()
3311    return 0;
3312  }
3313  _ACEOF
3314 -rm -f conftest.$ac_objext
3315 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3316 -  (eval $ac_compile) 2>conftest.er1
3317 -  ac_status=$?
3318 -  grep -v '^ *+' conftest.er1 >conftest.err
3319 -  rm -f conftest.er1
3320 -  cat conftest.err >&5
3321 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3322 -  (exit $ac_status); } &&
3323 -        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3324 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3325 -  (eval $ac_try) 2>&5
3326 -  ac_status=$?
3327 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3328 -  (exit $ac_status); }; } &&
3329 -        { ac_try='test -s conftest.$ac_objext'
3330 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3331 -  (eval $ac_try) 2>&5
3332 -  ac_status=$?
3333 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3334 -  (exit $ac_status); }; }; then
3335 +if ac_fn_c_try_compile "$LINENO"; then :
3336    ac_compiler_gnu=yes
3337  else
3338 -  echo "$as_me: failed program was:" >&5
3339 -sed 's/^/| /' conftest.$ac_ext >&5
3340 -
3341 -ac_compiler_gnu=no
3342 +  ac_compiler_gnu=no
3343  fi
3344 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3345 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3346  ac_cv_c_compiler_gnu=$ac_compiler_gnu
3347  
3348  fi
3349 -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3350 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3351 -GCC=`test $ac_compiler_gnu = yes && echo yes`
3352 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3353 +$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3354 +if test $ac_compiler_gnu = yes; then
3355 +  GCC=yes
3356 +else
3357 +  GCC=
3358 +fi
3359  ac_test_CFLAGS=${CFLAGS+set}
3360  ac_save_CFLAGS=$CFLAGS
3361 -CFLAGS="-g"
3362 -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3363 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3364 -if test "${ac_cv_prog_cc_g+set}" = set; then
3365 -  echo $ECHO_N "(cached) $ECHO_C" >&6
3366 -else
3367 -  cat >conftest.$ac_ext <<_ACEOF
3368 -/* confdefs.h.  */
3369 -_ACEOF
3370 -cat confdefs.h >>conftest.$ac_ext
3371 -cat >>conftest.$ac_ext <<_ACEOF
3372 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3373 +$as_echo_n "checking whether $CC accepts -g... " >&6; }
3374 +if ${ac_cv_prog_cc_g+:} false; then :
3375 +  $as_echo_n "(cached) " >&6
3376 +else
3377 +  ac_save_c_werror_flag=$ac_c_werror_flag
3378 +   ac_c_werror_flag=yes
3379 +   ac_cv_prog_cc_g=no
3380 +   CFLAGS="-g"
3381 +   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3382  /* end confdefs.h.  */
3383  
3384  int
3385 @@ -2169,38 +2779,49 @@ main ()
3386    return 0;
3387  }
3388  _ACEOF
3389 -rm -f conftest.$ac_objext
3390 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3391 -  (eval $ac_compile) 2>conftest.er1
3392 -  ac_status=$?
3393 -  grep -v '^ *+' conftest.er1 >conftest.err
3394 -  rm -f conftest.er1
3395 -  cat conftest.err >&5
3396 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3397 -  (exit $ac_status); } &&
3398 -        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3399 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3400 -  (eval $ac_try) 2>&5
3401 -  ac_status=$?
3402 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3403 -  (exit $ac_status); }; } &&
3404 -        { ac_try='test -s conftest.$ac_objext'
3405 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3406 -  (eval $ac_try) 2>&5
3407 -  ac_status=$?
3408 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3409 -  (exit $ac_status); }; }; then
3410 +if ac_fn_c_try_compile "$LINENO"; then :
3411    ac_cv_prog_cc_g=yes
3412  else
3413 -  echo "$as_me: failed program was:" >&5
3414 -sed 's/^/| /' conftest.$ac_ext >&5
3415 +  CFLAGS=""
3416 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3417 +/* end confdefs.h.  */
3418 +
3419 +int
3420 +main ()
3421 +{
3422 +
3423 +  ;
3424 +  return 0;
3425 +}
3426 +_ACEOF
3427 +if ac_fn_c_try_compile "$LINENO"; then :
3428 +
3429 +else
3430 +  ac_c_werror_flag=$ac_save_c_werror_flag
3431 +        CFLAGS="-g"
3432 +        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3433 +/* end confdefs.h.  */
3434 +
3435 +int
3436 +main ()
3437 +{
3438  
3439 -ac_cv_prog_cc_g=no
3440 +  ;
3441 +  return 0;
3442 +}
3443 +_ACEOF
3444 +if ac_fn_c_try_compile "$LINENO"; then :
3445 +  ac_cv_prog_cc_g=yes
3446 +fi
3447 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3448  fi
3449 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3450 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3451  fi
3452 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3453 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3454 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3455 +   ac_c_werror_flag=$ac_save_c_werror_flag
3456 +fi
3457 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3458 +$as_echo "$ac_cv_prog_cc_g" >&6; }
3459  if test "$ac_test_CFLAGS" = set; then
3460    CFLAGS=$ac_save_CFLAGS
3461  elif test $ac_cv_prog_cc_g = yes; then
3462 @@ -2216,18 +2837,14 @@ else
3463      CFLAGS=
3464    fi
3465  fi
3466 -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3467 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3468 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
3469 -  echo $ECHO_N "(cached) $ECHO_C" >&6
3470 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3471 +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3472 +if ${ac_cv_prog_cc_c89+:} false; then :
3473 +  $as_echo_n "(cached) " >&6
3474  else
3475 -  ac_cv_prog_cc_stdc=no
3476 +  ac_cv_prog_cc_c89=no
3477  ac_save_CC=$CC
3478 -cat >conftest.$ac_ext <<_ACEOF
3479 -/* confdefs.h.  */
3480 -_ACEOF
3481 -cat confdefs.h >>conftest.$ac_ext
3482 -cat >>conftest.$ac_ext <<_ACEOF
3483 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3484  /* end confdefs.h.  */
3485  #include <stdarg.h>
3486  #include <stdio.h>
3487 @@ -2255,12 +2872,17 @@ static char *f (char * (*g) (char **, int), char **p, ...)
3488  /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3489     function prototypes and stuff, but not '\xHH' hex character constants.
3490     These don't provoke an error unfortunately, instead are silently treated
3491 -   as 'x'.  The following induces an error, until -std1 is added to get
3492 +   as 'x'.  The following induces an error, until -std is added to get
3493     proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3494     array size at least.  It's necessary to write '\x00'==0 to get something
3495 -   that's true only with -std1.  */
3496 +   that's true only with -std.  */
3497  int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3498  
3499 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3500 +   inside strings and character constants.  */
3501 +#define FOO(x) 'x'
3502 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3503 +
3504  int test (int i, double x);
3505  struct s1 {int (*f) (int a);};
3506  struct s2 {int (*f) (double a);};
3507 @@ -2275,201 +2897,37 @@ return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3508    return 0;
3509  }
3510  _ACEOF
3511 -# Don't try gcc -ansi; that turns off useful extensions and
3512 -# breaks some systems' header files.
3513 -# AIX                  -qlanglvl=ansi
3514 -# Ultrix and OSF/1     -std1
3515 -# HP-UX 10.20 and later        -Ae
3516 -# HP-UX older versions -Aa -D_HPUX_SOURCE
3517 -# SVR4                 -Xc -D__EXTENSIONS__
3518 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3519 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3520 +       -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3521  do
3522    CC="$ac_save_CC $ac_arg"
3523 -  rm -f conftest.$ac_objext
3524 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3525 -  (eval $ac_compile) 2>conftest.er1
3526 -  ac_status=$?
3527 -  grep -v '^ *+' conftest.er1 >conftest.err
3528 -  rm -f conftest.er1
3529 -  cat conftest.err >&5
3530 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3531 -  (exit $ac_status); } &&
3532 -        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3533 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3534 -  (eval $ac_try) 2>&5
3535 -  ac_status=$?
3536 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3537 -  (exit $ac_status); }; } &&
3538 -        { ac_try='test -s conftest.$ac_objext'
3539 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3540 -  (eval $ac_try) 2>&5
3541 -  ac_status=$?
3542 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3543 -  (exit $ac_status); }; }; then
3544 -  ac_cv_prog_cc_stdc=$ac_arg
3545 -break
3546 -else
3547 -  echo "$as_me: failed program was:" >&5
3548 -sed 's/^/| /' conftest.$ac_ext >&5
3549 -
3550 +  if ac_fn_c_try_compile "$LINENO"; then :
3551 +  ac_cv_prog_cc_c89=$ac_arg
3552  fi
3553 -rm -f conftest.err conftest.$ac_objext
3554 +rm -f core conftest.err conftest.$ac_objext
3555 +  test "x$ac_cv_prog_cc_c89" != "xno" && break
3556  done
3557 -rm -f conftest.$ac_ext conftest.$ac_objext
3558 +rm -f conftest.$ac_ext
3559  CC=$ac_save_CC
3560  
3561  fi
3562 -
3563 -case "x$ac_cv_prog_cc_stdc" in
3564 -  x|xno)
3565 -    echo "$as_me:$LINENO: result: none needed" >&5
3566 -echo "${ECHO_T}none needed" >&6 ;;
3567 +# AC_CACHE_VAL
3568 +case "x$ac_cv_prog_cc_c89" in
3569 +  x)
3570 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3571 +$as_echo "none needed" >&6; } ;;
3572 +  xno)
3573 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3574 +$as_echo "unsupported" >&6; } ;;
3575    *)
3576 -    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3577 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3578 -    CC="$CC $ac_cv_prog_cc_stdc" ;;
3579 +    CC="$CC $ac_cv_prog_cc_c89"
3580 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3581 +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3582  esac
3583 -
3584 -# Some people use a C++ compiler to compile C.  Since we use `exit',
3585 -# in C++ we need to declare it.  In case someone uses the same compiler
3586 -# for both compiling C and C++ we need to have the C++ compiler decide
3587 -# the declaration of exit, since it's the most demanding environment.
3588 -cat >conftest.$ac_ext <<_ACEOF
3589 -#ifndef __cplusplus
3590 -  choke me
3591 -#endif
3592 -_ACEOF
3593 -rm -f conftest.$ac_objext
3594 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3595 -  (eval $ac_compile) 2>conftest.er1
3596 -  ac_status=$?
3597 -  grep -v '^ *+' conftest.er1 >conftest.err
3598 -  rm -f conftest.er1
3599 -  cat conftest.err >&5
3600 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3601 -  (exit $ac_status); } &&
3602 -        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3603 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3604 -  (eval $ac_try) 2>&5
3605 -  ac_status=$?
3606 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3607 -  (exit $ac_status); }; } &&
3608 -        { ac_try='test -s conftest.$ac_objext'
3609 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3610 -  (eval $ac_try) 2>&5
3611 -  ac_status=$?
3612 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3613 -  (exit $ac_status); }; }; then
3614 -  for ac_declaration in \
3615 -   '' \
3616 -   'extern "C" void std::exit (int) throw (); using std::exit;' \
3617 -   'extern "C" void std::exit (int); using std::exit;' \
3618 -   'extern "C" void exit (int) throw ();' \
3619 -   'extern "C" void exit (int);' \
3620 -   'void exit (int);'
3621 -do
3622 -  cat >conftest.$ac_ext <<_ACEOF
3623 -/* confdefs.h.  */
3624 -_ACEOF
3625 -cat confdefs.h >>conftest.$ac_ext
3626 -cat >>conftest.$ac_ext <<_ACEOF
3627 -/* end confdefs.h.  */
3628 -$ac_declaration
3629 -#include <stdlib.h>
3630 -int
3631 -main ()
3632 -{
3633 -exit (42);
3634 -  ;
3635 -  return 0;
3636 -}
3637 -_ACEOF
3638 -rm -f conftest.$ac_objext
3639 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3640 -  (eval $ac_compile) 2>conftest.er1
3641 -  ac_status=$?
3642 -  grep -v '^ *+' conftest.er1 >conftest.err
3643 -  rm -f conftest.er1
3644 -  cat conftest.err >&5
3645 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3646 -  (exit $ac_status); } &&
3647 -        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
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); }; } &&
3653 -        { ac_try='test -s conftest.$ac_objext'
3654 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3655 -  (eval $ac_try) 2>&5
3656 -  ac_status=$?
3657 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3658 -  (exit $ac_status); }; }; then
3659 -  :
3660 -else
3661 -  echo "$as_me: failed program was:" >&5
3662 -sed 's/^/| /' conftest.$ac_ext >&5
3663 -
3664 -continue
3665 -fi
3666 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3667 -  cat >conftest.$ac_ext <<_ACEOF
3668 -/* confdefs.h.  */
3669 -_ACEOF
3670 -cat confdefs.h >>conftest.$ac_ext
3671 -cat >>conftest.$ac_ext <<_ACEOF
3672 -/* end confdefs.h.  */
3673 -$ac_declaration
3674 -int
3675 -main ()
3676 -{
3677 -exit (42);
3678 -  ;
3679 -  return 0;
3680 -}
3681 -_ACEOF
3682 -rm -f conftest.$ac_objext
3683 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3684 -  (eval $ac_compile) 2>conftest.er1
3685 -  ac_status=$?
3686 -  grep -v '^ *+' conftest.er1 >conftest.err
3687 -  rm -f conftest.er1
3688 -  cat conftest.err >&5
3689 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3690 -  (exit $ac_status); } &&
3691 -        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3692 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3693 -  (eval $ac_try) 2>&5
3694 -  ac_status=$?
3695 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3696 -  (exit $ac_status); }; } &&
3697 -        { ac_try='test -s conftest.$ac_objext'
3698 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3699 -  (eval $ac_try) 2>&5
3700 -  ac_status=$?
3701 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3702 -  (exit $ac_status); }; }; then
3703 -  break
3704 -else
3705 -  echo "$as_me: failed program was:" >&5
3706 -sed 's/^/| /' conftest.$ac_ext >&5
3707 +if test "x$ac_cv_prog_cc_c89" != xno; then :
3708  
3709  fi
3710 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3711 -done
3712 -rm -f conftest*
3713 -if test -n "$ac_declaration"; then
3714 -  echo '#ifdef __cplusplus' >>confdefs.h
3715 -  echo $ac_declaration      >>confdefs.h
3716 -  echo '#endif'             >>confdefs.h
3717 -fi
3718 -
3719 -else
3720 -  echo "$as_me: failed program was:" >&5
3721 -sed 's/^/| /' conftest.$ac_ext >&5
3722  
3723 -fi
3724 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3725  ac_ext=c
3726  ac_cpp='$CPP $CPPFLAGS'
3727  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3728 @@ -2480,10 +2938,10 @@ for ac_prog in 'bison -y' byacc
3729  do
3730    # Extract the first word of "$ac_prog", so it can be a program name with args.
3731  set dummy $ac_prog; ac_word=$2
3732 -echo "$as_me:$LINENO: checking for $ac_word" >&5
3733 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3734 -if test "${ac_cv_prog_YACC+set}" = set; then
3735 -  echo $ECHO_N "(cached) $ECHO_C" >&6
3736 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3737 +$as_echo_n "checking for $ac_word... " >&6; }
3738 +if ${ac_cv_prog_YACC+:} false; then :
3739 +  $as_echo_n "(cached) " >&6
3740  else
3741    if test -n "$YACC"; then
3742    ac_cv_prog_YACC="$YACC" # Let the user override the test.
3743 @@ -2493,108 +2951,32 @@ for as_dir in $PATH
3744  do
3745    IFS=$as_save_IFS
3746    test -z "$as_dir" && as_dir=.
3747 -  for ac_exec_ext in '' $ac_executable_extensions; do
3748 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3749 +    for ac_exec_ext in '' $ac_executable_extensions; do
3750 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3751      ac_cv_prog_YACC="$ac_prog"
3752 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3753 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3754      break 2
3755    fi
3756  done
3757 -done
3758 +  done
3759 +IFS=$as_save_IFS
3760  
3761  fi
3762  fi
3763  YACC=$ac_cv_prog_YACC
3764  if test -n "$YACC"; then
3765 -  echo "$as_me:$LINENO: result: $YACC" >&5
3766 -echo "${ECHO_T}$YACC" >&6
3767 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
3768 +$as_echo "$YACC" >&6; }
3769  else
3770 -  echo "$as_me:$LINENO: result: no" >&5
3771 -echo "${ECHO_T}no" >&6
3772 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3773 +$as_echo "no" >&6; }
3774  fi
3775  
3776 +
3777    test -n "$YACC" && break
3778  done
3779  test -n "$YACC" || YACC="yacc"
3780  
3781 -# Find a good install program.  We prefer a C program (faster),
3782 -# so one script is as good as another.  But avoid the broken or
3783 -# incompatible versions:
3784 -# SysV /etc/install, /usr/sbin/install
3785 -# SunOS /usr/etc/install
3786 -# IRIX /sbin/install
3787 -# AIX /bin/install
3788 -# AmigaOS /C/install, which installs bootblocks on floppy discs
3789 -# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3790 -# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3791 -# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3792 -# OS/2's system install, which has a completely different semantic
3793 -# ./install, which can be erroneously created by make from ./install.sh.
3794 -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3795 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3796 -if test -z "$INSTALL"; then
3797 -if test "${ac_cv_path_install+set}" = set; then
3798 -  echo $ECHO_N "(cached) $ECHO_C" >&6
3799 -else
3800 -  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3801 -for as_dir in $PATH
3802 -do
3803 -  IFS=$as_save_IFS
3804 -  test -z "$as_dir" && as_dir=.
3805 -  # Account for people who put trailing slashes in PATH elements.
3806 -case $as_dir/ in
3807 -  ./ | .// | /cC/* | \
3808 -  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3809 -  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3810 -  /usr/ucb/* ) ;;
3811 -  *)
3812 -    # OSF1 and SCO ODT 3.0 have their own names for install.
3813 -    # Don't use installbsd from OSF since it installs stuff as root
3814 -    # by default.
3815 -    for ac_prog in ginstall scoinst install; do
3816 -      for ac_exec_ext in '' $ac_executable_extensions; do
3817 -       if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3818 -         if test $ac_prog = install &&
3819 -           grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3820 -           # AIX install.  It has an incompatible calling convention.
3821 -           :
3822 -         elif test $ac_prog = install &&
3823 -           grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3824 -           # program-specific install script used by HP pwplus--don't use.
3825 -           :
3826 -         else
3827 -           ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3828 -           break 3
3829 -         fi
3830 -       fi
3831 -      done
3832 -    done
3833 -    ;;
3834 -esac
3835 -done
3836 -
3837 -
3838 -fi
3839 -  if test "${ac_cv_path_install+set}" = set; then
3840 -    INSTALL=$ac_cv_path_install
3841 -  else
3842 -    # As a last resort, use the slow shell script.  We don't cache a
3843 -    # path for INSTALL within a source directory, because that will
3844 -    # break other packages using the cache if that directory is
3845 -    # removed, or if the path is relative.
3846 -    INSTALL=$ac_install_sh
3847 -  fi
3848 -fi
3849 -echo "$as_me:$LINENO: result: $INSTALL" >&5
3850 -echo "${ECHO_T}$INSTALL" >&6
3851 -
3852 -# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3853 -# It thinks the first close brace ends the variable substitution.
3854 -test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3855 -
3856 -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3857 -
3858 -test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3859  
3860  
3861  LIBS="$LIBS"
3862 @@ -2604,32 +2986,28 @@ CFLAGS="$CFLAGS"
3863  
3864  
3865  option_gtk=false
3866 -echo "$as_me:$LINENO: checking for gtk" >&5
3867 -echo $ECHO_N "checking for gtk... $ECHO_C" >&6
3868 -# Check whether --enable-gtk or --disable-gtk was given.
3869 -if test "${enable_gtk+set}" = set; then
3870 -  enableval="$enable_gtk"
3871 -  gtk="$enableval"
3872 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk" >&5
3873 +$as_echo_n "checking for gtk... " >&6; }
3874 +# Check whether --enable-gtk was given.
3875 +if test "${enable_gtk+set}" = set; then :
3876 +  enableval=$enable_gtk; gtk="$enableval"
3877  else
3878    gtk="no"
3879 -fi;
3880 +fi
3881 +
3882  case "$gtk" in
3883    yes)
3884      option_gtk=true
3885 -    cat >>confdefs.h <<\_ACEOF
3886 -#define OPTION_GTK 1
3887 -_ACEOF
3888 +    $as_echo "#define OPTION_GTK 1" >>confdefs.h
3889  
3890 -    echo "$as_me:$LINENO: result: yes" >&5
3891 -echo "${ECHO_T}yes" >&6
3892 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3893 +$as_echo "yes" >&6; }
3894      ;;
3895    *)
3896 -    cat >>confdefs.h <<\_ACEOF
3897 -#define OPTION_GTK 0
3898 -_ACEOF
3899 +    $as_echo "#define OPTION_GTK 0" >>confdefs.h
3900  
3901 -    echo "$as_me:$LINENO: result: no" >&5
3902 -echo "${ECHO_T}no" >&6
3903 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3904 +$as_echo "no" >&6; }
3905      ;;
3906  esac
3907  
3908 @@ -2643,28 +3021,28 @@ if test x$option_gtk = xtrue ; then
3909    have_gtk=false
3910  
3911  
3912 -# Check whether --with-gtk-prefix or --without-gtk-prefix was given.
3913 -if test "${with_gtk_prefix+set}" = set; then
3914 -  withval="$with_gtk_prefix"
3915 -  gtk_config_prefix="$withval"
3916 +# Check whether --with-gtk-prefix was given.
3917 +if test "${with_gtk_prefix+set}" = set; then :
3918 +  withval=$with_gtk_prefix; gtk_config_prefix="$withval"
3919  else
3920    gtk_config_prefix=""
3921 -fi;
3922 +fi
3923  
3924 -# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
3925 -if test "${with_gtk_exec_prefix+set}" = set; then
3926 -  withval="$with_gtk_exec_prefix"
3927 -  gtk_config_exec_prefix="$withval"
3928 +
3929 +# Check whether --with-gtk-exec-prefix was given.
3930 +if test "${with_gtk_exec_prefix+set}" = set; then :
3931 +  withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
3932  else
3933    gtk_config_exec_prefix=""
3934 -fi;
3935 -# Check whether --enable-gtktest or --disable-gtktest was given.
3936 -if test "${enable_gtktest+set}" = set; then
3937 -  enableval="$enable_gtktest"
3938 +fi
3939  
3940 +# Check whether --enable-gtktest was given.
3941 +if test "${enable_gtktest+set}" = set; then :
3942 +  enableval=$enable_gtktest;
3943  else
3944    enable_gtktest=yes
3945 -fi;
3946 +fi
3947 +
3948  
3949    for module in .
3950    do
3951 @@ -2690,10 +3068,10 @@ fi;
3952  
3953    # Extract the first word of "gtk-config", so it can be a program name with args.
3954  set dummy gtk-config; ac_word=$2
3955 -echo "$as_me:$LINENO: checking for $ac_word" >&5
3956 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3957 -if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
3958 -  echo $ECHO_N "(cached) $ECHO_C" >&6
3959 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3960 +$as_echo_n "checking for $ac_word... " >&6; }
3961 +if ${ac_cv_path_GTK_CONFIG+:} false; then :
3962 +  $as_echo_n "(cached) " >&6
3963  else
3964    case $GTK_CONFIG in
3965    [\\/]* | ?:[\\/]*)
3966 @@ -2705,32 +3083,33 @@ for as_dir in $PATH
3967  do
3968    IFS=$as_save_IFS
3969    test -z "$as_dir" && as_dir=.
3970 -  for ac_exec_ext in '' $ac_executable_extensions; do
3971 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3972 +    for ac_exec_ext in '' $ac_executable_extensions; do
3973 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3974      ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3975 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3976 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3977      break 2
3978    fi
3979  done
3980 -done
3981 +  done
3982 +IFS=$as_save_IFS
3983  
3984    test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
3985    ;;
3986  esac
3987  fi
3988  GTK_CONFIG=$ac_cv_path_GTK_CONFIG
3989 -
3990  if test -n "$GTK_CONFIG"; then
3991 -  echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
3992 -echo "${ECHO_T}$GTK_CONFIG" >&6
3993 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
3994 +$as_echo "$GTK_CONFIG" >&6; }
3995  else
3996 -  echo "$as_me:$LINENO: result: no" >&5
3997 -echo "${ECHO_T}no" >&6
3998 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3999 +$as_echo "no" >&6; }
4000  fi
4001  
4002 +
4003    min_gtk_version=1.0.1
4004 -  echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
4005 -echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
4006 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
4007 +$as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
4008    no_gtk=""
4009    if test "$GTK_CONFIG" = "no" ; then
4010      no_gtk=yes
4011 @@ -2749,14 +3128,10 @@ echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
4012        CFLAGS="$CFLAGS $GTK_CFLAGS"
4013        LIBS="$GTK_LIBS $LIBS"
4014        rm -f conf.gtktest
4015 -      if test "$cross_compiling" = yes; then
4016 +      if test "$cross_compiling" = yes; then :
4017    echo $ac_n "cross compiling; assumed OK... $ac_c"
4018  else
4019 -  cat >conftest.$ac_ext <<_ACEOF
4020 -/* confdefs.h.  */
4021 -_ACEOF
4022 -cat confdefs.h >>conftest.$ac_ext
4023 -cat >>conftest.$ac_ext <<_ACEOF
4024 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4025  /* end confdefs.h.  */
4026  
4027  #include <gtk/gtk.h>
4028 @@ -2834,39 +3209,26 @@ main ()
4029  }
4030  
4031  _ACEOF
4032 -rm -f conftest$ac_exeext
4033 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4034 -  (eval $ac_link) 2>&5
4035 -  ac_status=$?
4036 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4037 -  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4038 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4039 -  (eval $ac_try) 2>&5
4040 -  ac_status=$?
4041 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4042 -  (exit $ac_status); }; }; then
4043 -  :
4044 -else
4045 -  echo "$as_me: program exited with status $ac_status" >&5
4046 -echo "$as_me: failed program was:" >&5
4047 -sed 's/^/| /' conftest.$ac_ext >&5
4048 +if ac_fn_c_try_run "$LINENO"; then :
4049  
4050 -( exit $ac_status )
4051 -no_gtk=yes
4052 +else
4053 +  no_gtk=yes
4054  fi
4055 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4056 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4057 +  conftest.$ac_objext conftest.beam conftest.$ac_ext
4058  fi
4059 +
4060         CFLAGS="$ac_save_CFLAGS"
4061         LIBS="$ac_save_LIBS"
4062       fi
4063    fi
4064    if test "x$no_gtk" = x ; then
4065 -     echo "$as_me:$LINENO: result: yes" >&5
4066 -echo "${ECHO_T}yes" >&6
4067 +     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4068 +$as_echo "yes" >&6; }
4069       have_gtk=true
4070    else
4071 -     echo "$as_me:$LINENO: result: no" >&5
4072 -echo "${ECHO_T}no" >&6
4073 +     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4074 +$as_echo "no" >&6; }
4075       if test "$GTK_CONFIG" = "no" ; then
4076         echo "*** The gtk-config script installed by GTK could not be found"
4077         echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
4078 @@ -2879,11 +3241,7 @@ echo "${ECHO_T}no" >&6
4079            echo "*** Could not run GTK test program, checking why..."
4080            CFLAGS="$CFLAGS $GTK_CFLAGS"
4081            LIBS="$LIBS $GTK_LIBS"
4082 -          cat >conftest.$ac_ext <<_ACEOF
4083 -/* confdefs.h.  */
4084 -_ACEOF
4085 -cat confdefs.h >>conftest.$ac_ext
4086 -cat >>conftest.$ac_ext <<_ACEOF
4087 +          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4088  /* end confdefs.h.  */
4089  
4090  #include <gtk/gtk.h>
4091 @@ -2897,27 +3255,7 @@ main ()
4092    return 0;
4093  }
4094  _ACEOF
4095 -rm -f conftest.$ac_objext conftest$ac_exeext
4096 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4097 -  (eval $ac_link) 2>conftest.er1
4098 -  ac_status=$?
4099 -  grep -v '^ *+' conftest.er1 >conftest.err
4100 -  rm -f conftest.er1
4101 -  cat conftest.err >&5
4102 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4103 -  (exit $ac_status); } &&
4104 -        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4105 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4106 -  (eval $ac_try) 2>&5
4107 -  ac_status=$?
4108 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4109 -  (exit $ac_status); }; } &&
4110 -        { ac_try='test -s conftest$ac_exeext'
4111 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4112 -  (eval $ac_try) 2>&5
4113 -  ac_status=$?
4114 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4115 -  (exit $ac_status); }; }; then
4116 +if ac_fn_c_try_link "$LINENO"; then :
4117     echo "*** The test program compiled, but did not run. This usually means"
4118            echo "*** that the run-time linker is not finding GTK or finding the wrong"
4119            echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
4120 @@ -2933,16 +3271,13 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4121            echo "***"
4122            echo "***    rpm --erase --nodeps gtk gtk-devel"
4123  else
4124 -  echo "$as_me: failed program was:" >&5
4125 -sed 's/^/| /' conftest.$ac_ext >&5
4126 -
4127 - echo "*** The test program failed to compile or link. See the file config.log for the"
4128 +   echo "*** The test program failed to compile or link. See the file config.log for the"
4129            echo "*** exact error that occured. This usually means GTK was incorrectly installed"
4130            echo "*** or that you have moved GTK since it was installed. In the latter case, you"
4131            echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
4132  fi
4133 -rm -f conftest.err conftest.$ac_objext \
4134 -      conftest$ac_exeext conftest.$ac_ext
4135 +rm -f core conftest.err conftest.$ac_objext \
4136 +    conftest$ac_exeext conftest.$ac_ext
4137            CFLAGS="$ac_save_CFLAGS"
4138            LIBS="$ac_save_LIBS"
4139         fi
4140 @@ -2975,7 +3310,8 @@ else
4141  fi
4142  
4143  
4144 -                              ac_config_files="$ac_config_files Makefile as31/Makefile examples/Makefile"
4145 +ac_config_files="$ac_config_files Makefile as31/Makefile examples/Makefile"
4146 +
4147  cat >confcache <<\_ACEOF
4148  # This file is a shell script that caches the results of configure
4149  # tests run on this system so they can be shared between configure
4150 @@ -2994,39 +3330,70 @@ _ACEOF
4151  
4152  # The following way of writing the cache mishandles newlines in values,
4153  # but we know of no workaround that is simple, portable, and efficient.
4154 -# So, don't put newlines in cache variables' values.
4155 +# So, we kill variables containing newlines.
4156  # Ultrix sh set writes to stderr and can't be redirected directly,
4157  # and sets the high bit in the cache file unless we assign to the vars.
4158 -{
4159 +(
4160 +  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4161 +    eval ac_val=\$$ac_var
4162 +    case $ac_val in #(
4163 +    *${as_nl}*)
4164 +      case $ac_var in #(
4165 +      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4166 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4167 +      esac
4168 +      case $ac_var in #(
4169 +      _ | IFS | as_nl) ;; #(
4170 +      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4171 +      *) { eval $ac_var=; unset $ac_var;} ;;
4172 +      esac ;;
4173 +    esac
4174 +  done
4175 +
4176    (set) 2>&1 |
4177 -    case `(ac_space=' '; set | grep ac_space) 2>&1` in
4178 -    *ac_space=\ *)
4179 -      # `set' does not quote correctly, so add quotes (double-quote
4180 -      # substitution turns \\\\ into \\, and sed turns \\ into \).
4181 +    case $as_nl`(ac_space=' '; set) 2>&1` in #(
4182 +    *${as_nl}ac_space=\ *)
4183 +      # `set' does not quote correctly, so add quotes: double-quote
4184 +      # substitution turns \\\\ into \\, and sed turns \\ into \.
4185        sed -n \
4186         "s/'/'\\\\''/g;
4187           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4188 -      ;;
4189 +      ;; #(
4190      *)
4191        # `set' quotes correctly as required by POSIX, so do not add quotes.
4192 -      sed -n \
4193 -       "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4194 +      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4195        ;;
4196 -    esac;
4197 -} |
4198 +    esac |
4199 +    sort
4200 +) |
4201    sed '
4202 +     /^ac_cv_env_/b end
4203       t clear
4204 -     : clear
4205 +     :clear
4206       s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4207       t end
4208 -     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4209 -     : end' >>confcache
4210 -if diff $cache_file confcache >/dev/null 2>&1; then :; else
4211 -  if test -w $cache_file; then
4212 -    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4213 -    cat confcache >$cache_file
4214 +     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4215 +     :end' >>confcache
4216 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4217 +  if test -w "$cache_file"; then
4218 +    if test "x$cache_file" != "x/dev/null"; then
4219 +      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4220 +$as_echo "$as_me: updating cache $cache_file" >&6;}
4221 +      if test ! -f "$cache_file" || test -h "$cache_file"; then
4222 +       cat confcache >"$cache_file"
4223 +      else
4224 +        case $cache_file in #(
4225 +        */* | ?:*)
4226 +         mv -f confcache "$cache_file"$$ &&
4227 +         mv -f "$cache_file"$$ "$cache_file" ;; #(
4228 +        *)
4229 +         mv -f confcache "$cache_file" ;;
4230 +       esac
4231 +      fi
4232 +    fi
4233    else
4234 -    echo "not updating unwritable cache $cache_file"
4235 +    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4236 +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4237    fi
4238  fi
4239  rm -f confcache
4240 @@ -3035,63 +3402,55 @@ test "x$prefix" = xNONE && prefix=$ac_default_prefix
4241  # Let make expand exec_prefix.
4242  test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4243  
4244 -# VPATH may cause trouble with some makes, so we remove $(srcdir),
4245 -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4246 -# trailing colons and then remove the whole line if VPATH becomes empty
4247 -# (actually we leave an empty line to preserve line numbers).
4248 -if test "x$srcdir" = x.; then
4249 -  ac_vpsub='/^[         ]*VPATH[        ]*=/{
4250 -s/:*\$(srcdir):*/:/;
4251 -s/:*\${srcdir}:*/:/;
4252 -s/:*@srcdir@:*/:/;
4253 -s/^\([^=]*=[    ]*\):*/\1/;
4254 -s/:*$//;
4255 -s/^[^=]*=[      ]*$//;
4256 -}'
4257 -fi
4258 -
4259  # Transform confdefs.h into DEFS.
4260  # Protect against shell expansion while executing Makefile rules.
4261  # Protect against Makefile macro expansion.
4262  #
4263  # If the first sed substitution is executed (which looks for macros that
4264 -# take arguments), then we branch to the quote section.  Otherwise,
4265 +# take arguments), then branch to the quote section.  Otherwise,
4266  # look for a macro that doesn't take arguments.
4267 -cat >confdef2opt.sed <<\_ACEOF
4268 +ac_script='
4269 +:mline
4270 +/\\$/{
4271 + N
4272 + s,\\\n,,
4273 + b mline
4274 +}
4275  t clear
4276 -: clear
4277 -s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
4278 +:clear
4279 +s/^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
4280  t quote
4281 -s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
4282 +s/^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
4283  t quote
4284 -d
4285 -: quote
4286 -s,[     `~#$^&*(){}\\|;'"<>?],\\&,g
4287 -s,\[,\\&,g
4288 -s,\],\\&,g
4289 -s,\$,$$,g
4290 -p
4291 -_ACEOF
4292 -# We use echo to avoid assuming a particular line-breaking character.
4293 -# The extra dot is to prevent the shell from consuming trailing
4294 -# line-breaks from the sub-command output.  A line-break within
4295 -# single-quotes doesn't work because, if this script is created in a
4296 -# platform that uses two characters for line-breaks (e.g., DOS), tr
4297 -# would break.
4298 -ac_LF_and_DOT=`echo; echo .`
4299 -DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
4300 -rm -f confdef2opt.sed
4301 +b any
4302 +:quote
4303 +s/[     `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4304 +s/\[/\\&/g
4305 +s/\]/\\&/g
4306 +s/\$/$$/g
4307 +H
4308 +:any
4309 +${
4310 +       g
4311 +       s/^\n//
4312 +       s/\n/ /g
4313 +       p
4314 +}
4315 +'
4316 +DEFS=`sed -n "$ac_script" confdefs.h`
4317  
4318  
4319  ac_libobjs=
4320  ac_ltlibobjs=
4321 +U=
4322  for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4323    # 1. Remove the extension, and $U if already installed.
4324 -  ac_i=`echo "$ac_i" |
4325 -        sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4326 -  # 2. Add them.
4327 -  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
4328 -  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
4329 +  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4330 +  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4331 +  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
4332 +  #    will be set to the directory where LIBOBJS objects are built.
4333 +  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4334 +  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4335  done
4336  LIBOBJS=$ac_libobjs
4337  
4338 @@ -3099,12 +3458,14 @@ LTLIBOBJS=$ac_ltlibobjs
4339  
4340  
4341  
4342 -: ${CONFIG_STATUS=./config.status}
4343 +: "${CONFIG_STATUS=./config.status}"
4344 +ac_write_fail=0
4345  ac_clean_files_save=$ac_clean_files
4346  ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4347 -{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4348 -echo "$as_me: creating $CONFIG_STATUS" >&6;}
4349 -cat >$CONFIG_STATUS <<_ACEOF
4350 +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4351 +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4352 +as_write_fail=0
4353 +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4354  #! $SHELL
4355  # Generated by $as_me.
4356  # Run this file to recreate the current configuration.
4357 @@ -3114,81 +3475,253 @@ cat >$CONFIG_STATUS <<_ACEOF
4358  debug=false
4359  ac_cs_recheck=false
4360  ac_cs_silent=false
4361 -SHELL=\${CONFIG_SHELL-$SHELL}
4362 -_ACEOF
4363 -
4364 -cat >>$CONFIG_STATUS <<\_ACEOF
4365 -## --------------------- ##
4366 -## M4sh Initialization.  ##
4367 -## --------------------- ##
4368  
4369 -# Be Bourne compatible
4370 -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4371 +SHELL=\${CONFIG_SHELL-$SHELL}
4372 +export SHELL
4373 +_ASEOF
4374 +cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4375 +## -------------------- ##
4376 +## M4sh Initialization. ##
4377 +## -------------------- ##
4378 +
4379 +# Be more Bourne compatible
4380 +DUALCASE=1; export DUALCASE # for MKS sh
4381 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4382    emulate sh
4383    NULLCMD=:
4384 -  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4385 +  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4386    # is contrary to our usage.  Disable this feature.
4387    alias -g '${1+"$@"}'='"$@"'
4388 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4389 -  set -o posix
4390 +  setopt NO_GLOB_SUBST
4391 +else
4392 +  case `(set -o) 2>/dev/null` in #(
4393 +  *posix*) :
4394 +    set -o posix ;; #(
4395 +  *) :
4396 +     ;;
4397 +esac
4398  fi
4399 -DUALCASE=1; export DUALCASE # for MKS sh
4400  
4401 -# Support unset when possible.
4402 -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4403 -  as_unset=unset
4404 +
4405 +as_nl='
4406 +'
4407 +export as_nl
4408 +# Printing a long string crashes Solaris 7 /usr/bin/printf.
4409 +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4410 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4411 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4412 +# Prefer a ksh shell builtin over an external printf program on Solaris,
4413 +# but without wasting forks for bash or zsh.
4414 +if test -z "$BASH_VERSION$ZSH_VERSION" \
4415 +    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4416 +  as_echo='print -r --'
4417 +  as_echo_n='print -rn --'
4418 +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4419 +  as_echo='printf %s\n'
4420 +  as_echo_n='printf %s'
4421  else
4422 -  as_unset=false
4423 +  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4424 +    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4425 +    as_echo_n='/usr/ucb/echo -n'
4426 +  else
4427 +    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4428 +    as_echo_n_body='eval
4429 +      arg=$1;
4430 +      case $arg in #(
4431 +      *"$as_nl"*)
4432 +       expr "X$arg" : "X\\(.*\\)$as_nl";
4433 +       arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4434 +      esac;
4435 +      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4436 +    '
4437 +    export as_echo_n_body
4438 +    as_echo_n='sh -c $as_echo_n_body as_echo'
4439 +  fi
4440 +  export as_echo_body
4441 +  as_echo='sh -c $as_echo_body as_echo'
4442 +fi
4443 +
4444 +# The user is always right.
4445 +if test "${PATH_SEPARATOR+set}" != set; then
4446 +  PATH_SEPARATOR=:
4447 +  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4448 +    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4449 +      PATH_SEPARATOR=';'
4450 +  }
4451  fi
4452  
4453  
4454 -# Work around bugs in pre-3.0 UWIN ksh.
4455 -$as_unset ENV MAIL MAILPATH
4456 +# IFS
4457 +# We need space, tab and new line, in precisely that order.  Quoting is
4458 +# there to prevent editors from complaining about space-tab.
4459 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
4460 +# splitting by setting IFS to empty value.)
4461 +IFS=" ""       $as_nl"
4462 +
4463 +# Find who we are.  Look in the path if we contain no directory separator.
4464 +as_myself=
4465 +case $0 in #((
4466 +  *[\\/]* ) as_myself=$0 ;;
4467 +  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4468 +for as_dir in $PATH
4469 +do
4470 +  IFS=$as_save_IFS
4471 +  test -z "$as_dir" && as_dir=.
4472 +    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4473 +  done
4474 +IFS=$as_save_IFS
4475 +
4476 +     ;;
4477 +esac
4478 +# We did not find ourselves, most probably we were run as `sh COMMAND'
4479 +# in which case we are not to be found in the path.
4480 +if test "x$as_myself" = x; then
4481 +  as_myself=$0
4482 +fi
4483 +if test ! -f "$as_myself"; then
4484 +  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4485 +  exit 1
4486 +fi
4487 +
4488 +# Unset variables that we do not need and which cause bugs (e.g. in
4489 +# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
4490 +# suppresses any "Segmentation fault" message there.  '((' could
4491 +# trigger a bug in pdksh 5.2.14.
4492 +for as_var in BASH_ENV ENV MAIL MAILPATH
4493 +do eval test x\${$as_var+set} = xset \
4494 +  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4495 +done
4496  PS1='$ '
4497  PS2='> '
4498  PS4='+ '
4499  
4500  # NLS nuisances.
4501 -for as_var in \
4502 -  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4503 -  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4504 -  LC_TELEPHONE LC_TIME
4505 -do
4506 -  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4507 -    eval $as_var=C; export $as_var
4508 -  else
4509 -    $as_unset $as_var
4510 +LC_ALL=C
4511 +export LC_ALL
4512 +LANGUAGE=C
4513 +export LANGUAGE
4514 +
4515 +# CDPATH.
4516 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4517 +
4518 +
4519 +# as_fn_error STATUS ERROR [LINENO LOG_FD]
4520 +# ----------------------------------------
4521 +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4522 +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4523 +# script with STATUS, using 1 if that was 0.
4524 +as_fn_error ()
4525 +{
4526 +  as_status=$1; test $as_status -eq 0 && as_status=1
4527 +  if test "$4"; then
4528 +    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4529 +    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4530    fi
4531 -done
4532 +  $as_echo "$as_me: error: $2" >&2
4533 +  as_fn_exit $as_status
4534 +} # as_fn_error
4535 +
4536 +
4537 +# as_fn_set_status STATUS
4538 +# -----------------------
4539 +# Set $? to STATUS, without forking.
4540 +as_fn_set_status ()
4541 +{
4542 +  return $1
4543 +} # as_fn_set_status
4544 +
4545 +# as_fn_exit STATUS
4546 +# -----------------
4547 +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4548 +as_fn_exit ()
4549 +{
4550 +  set +e
4551 +  as_fn_set_status $1
4552 +  exit $1
4553 +} # as_fn_exit
4554 +
4555 +# as_fn_unset VAR
4556 +# ---------------
4557 +# Portably unset VAR.
4558 +as_fn_unset ()
4559 +{
4560 +  { eval $1=; unset $1;}
4561 +}
4562 +as_unset=as_fn_unset
4563 +# as_fn_append VAR VALUE
4564 +# ----------------------
4565 +# Append the text in VALUE to the end of the definition contained in VAR. Take
4566 +# advantage of any shell optimizations that allow amortized linear growth over
4567 +# repeated appends, instead of the typical quadratic growth present in naive
4568 +# implementations.
4569 +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4570 +  eval 'as_fn_append ()
4571 +  {
4572 +    eval $1+=\$2
4573 +  }'
4574 +else
4575 +  as_fn_append ()
4576 +  {
4577 +    eval $1=\$$1\$2
4578 +  }
4579 +fi # as_fn_append
4580 +
4581 +# as_fn_arith ARG...
4582 +# ------------------
4583 +# Perform arithmetic evaluation on the ARGs, and store the result in the
4584 +# global $as_val. Take advantage of shells that can avoid forks. The arguments
4585 +# must be portable across $(()) and expr.
4586 +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4587 +  eval 'as_fn_arith ()
4588 +  {
4589 +    as_val=$(( $* ))
4590 +  }'
4591 +else
4592 +  as_fn_arith ()
4593 +  {
4594 +    as_val=`expr "$@" || test $? -eq 1`
4595 +  }
4596 +fi # as_fn_arith
4597  
4598 -# Required to use basename.
4599 -if expr a : '\(a\)' >/dev/null 2>&1; then
4600 +
4601 +if expr a : '\(a\)' >/dev/null 2>&1 &&
4602 +   test "X`expr 00001 : '.*\(...\)'`" = X001; then
4603    as_expr=expr
4604  else
4605    as_expr=false
4606  fi
4607  
4608 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
4609 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4610    as_basename=basename
4611  else
4612    as_basename=false
4613  fi
4614  
4615 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4616 +  as_dirname=dirname
4617 +else
4618 +  as_dirname=false
4619 +fi
4620  
4621 -# Name of the executable.
4622 -as_me=`$as_basename "$0" ||
4623 +as_me=`$as_basename -- "$0" ||
4624  $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4625          X"$0" : 'X\(//\)$' \| \
4626 -        X"$0" : 'X\(/\)$' \| \
4627 -        .     : '\(.\)' 2>/dev/null ||
4628 -echo X/"$0" |
4629 -    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4630 -         /^X\/\(\/\/\)$/{ s//\1/; q; }
4631 -         /^X\/\(\/\).*/{ s//\1/; q; }
4632 -         s/.*/./; q'`
4633 +        X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4634 +$as_echo X/"$0" |
4635 +    sed '/^.*\/\([^/][^/]*\)\/*$/{
4636 +           s//\1/
4637 +           q
4638 +         }
4639 +         /^X\/\(\/\/\)$/{
4640 +           s//\1/
4641 +           q
4642 +         }
4643 +         /^X\/\(\/\).*/{
4644 +           s//\1/
4645 +           q
4646 +         }
4647 +         s/.*/./; q'`
4648  
4649 -
4650 -# PATH needs CR, and LINENO needs CR and PATH.
4651  # Avoid depending upon Character Ranges.
4652  as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4653  as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4654 @@ -3196,148 +3729,123 @@ as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4655  as_cr_digits='0123456789'
4656  as_cr_alnum=$as_cr_Letters$as_cr_digits
4657  
4658 -# The user is always right.
4659 -if test "${PATH_SEPARATOR+set}" != set; then
4660 -  echo "#! /bin/sh" >conf$$.sh
4661 -  echo  "exit 0"   >>conf$$.sh
4662 -  chmod +x conf$$.sh
4663 -  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4664 -    PATH_SEPARATOR=';'
4665 -  else
4666 -    PATH_SEPARATOR=:
4667 -  fi
4668 -  rm -f conf$$.sh
4669 -fi
4670 -
4671 -
4672 -  as_lineno_1=$LINENO
4673 -  as_lineno_2=$LINENO
4674 -  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4675 -  test "x$as_lineno_1" != "x$as_lineno_2" &&
4676 -  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
4677 -  # Find who we are.  Look in the path if we contain no path at all
4678 -  # relative or not.
4679 -  case $0 in
4680 -    *[\\/]* ) as_myself=$0 ;;
4681 -    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4682 -for as_dir in $PATH
4683 -do
4684 -  IFS=$as_save_IFS
4685 -  test -z "$as_dir" && as_dir=.
4686 -  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4687 -done
4688 -
4689 -       ;;
4690 -  esac
4691 -  # We did not find ourselves, most probably we were run as `sh COMMAND'
4692 -  # in which case we are not to be found in the path.
4693 -  if test "x$as_myself" = x; then
4694 -    as_myself=$0
4695 -  fi
4696 -  if test ! -f "$as_myself"; then
4697 -    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4698 -echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4699 -   { (exit 1); exit 1; }; }
4700 -  fi
4701 -  case $CONFIG_SHELL in
4702 -  '')
4703 -    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4704 -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4705 -do
4706 -  IFS=$as_save_IFS
4707 -  test -z "$as_dir" && as_dir=.
4708 -  for as_base in sh bash ksh sh5; do
4709 -        case $as_dir in
4710 -        /*)
4711 -          if ("$as_dir/$as_base" -c '
4712 -  as_lineno_1=$LINENO
4713 -  as_lineno_2=$LINENO
4714 -  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4715 -  test "x$as_lineno_1" != "x$as_lineno_2" &&
4716 -  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
4717 -            $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
4718 -            $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
4719 -            CONFIG_SHELL=$as_dir/$as_base
4720 -            export CONFIG_SHELL
4721 -            exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4722 -          fi;;
4723 -        esac
4724 -       done
4725 -done
4726 -;;
4727 -  esac
4728 -
4729 -  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4730 -  # uniformly replaced by the line number.  The first 'sed' inserts a
4731 -  # line-number line before each line; the second 'sed' does the real
4732 -  # work.  The second script uses 'N' to pair each line-number line
4733 -  # with the numbered line, and appends trailing '-' during
4734 -  # substitution so that $LINENO is not a special case at line end.
4735 -  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4736 -  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
4737 -  sed '=' <$as_myself |
4738 -    sed '
4739 -      N
4740 -      s,$,-,
4741 -      : loop
4742 -      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4743 -      t loop
4744 -      s,-$,,
4745 -      s,^['$as_cr_digits']*\n,,
4746 -    ' >$as_me.lineno &&
4747 -  chmod +x $as_me.lineno ||
4748 -    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4749 -echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4750 -   { (exit 1); exit 1; }; }
4751 -
4752 -  # Don't try to exec as it changes $[0], causing all sort of problems
4753 -  # (the dirname of $[0] is not the place where we might find the
4754 -  # original and so on.  Autoconf is especially sensible to this).
4755 -  . ./$as_me.lineno
4756 -  # Exit status is that of the last command.
4757 -  exit
4758 -}
4759 -
4760 -
4761 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4762 -  *c*,-n*) ECHO_N= ECHO_C='
4763 -' ECHO_T='     ' ;;
4764 -  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
4765 -  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
4766 +ECHO_C= ECHO_N= ECHO_T=
4767 +case `echo -n x` in #(((((
4768 +-n*)
4769 +  case `echo 'xy\c'` in
4770 +  *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
4771 +  xy)  ECHO_C='\c';;
4772 +  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
4773 +       ECHO_T='        ';;
4774 +  esac;;
4775 +*)
4776 +  ECHO_N='-n';;
4777  esac
4778  
4779 -if expr a : '\(a\)' >/dev/null 2>&1; then
4780 -  as_expr=expr
4781 +rm -f conf$$ conf$$.exe conf$$.file
4782 +if test -d conf$$.dir; then
4783 +  rm -f conf$$.dir/conf$$.file
4784  else
4785 -  as_expr=false
4786 +  rm -f conf$$.dir
4787 +  mkdir conf$$.dir 2>/dev/null
4788  fi
4789 -
4790 -rm -f conf$$ conf$$.exe conf$$.file
4791 -echo >conf$$.file
4792 -if ln -s conf$$.file conf$$ 2>/dev/null; then
4793 -  # We could just check for DJGPP; but this test a) works b) is more generic
4794 -  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4795 -  if test -f conf$$.exe; then
4796 -    # Don't use ln at all; we don't have any links
4797 -    as_ln_s='cp -p'
4798 -  else
4799 +if (echo >conf$$.file) 2>/dev/null; then
4800 +  if ln -s conf$$.file conf$$ 2>/dev/null; then
4801      as_ln_s='ln -s'
4802 +    # ... but there are two gotchas:
4803 +    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4804 +    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4805 +    # In both cases, we have to default to `cp -p'.
4806 +    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4807 +      as_ln_s='cp -p'
4808 +  elif ln conf$$.file conf$$ 2>/dev/null; then
4809 +    as_ln_s=ln
4810 +  else
4811 +    as_ln_s='cp -p'
4812    fi
4813 -elif ln conf$$.file conf$$ 2>/dev/null; then
4814 -  as_ln_s=ln
4815  else
4816    as_ln_s='cp -p'
4817  fi
4818 -rm -f conf$$ conf$$.exe conf$$.file
4819 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4820 +rmdir conf$$.dir 2>/dev/null
4821 +
4822 +
4823 +# as_fn_mkdir_p
4824 +# -------------
4825 +# Create "$as_dir" as a directory, including parents if necessary.
4826 +as_fn_mkdir_p ()
4827 +{
4828 +
4829 +  case $as_dir in #(
4830 +  -*) as_dir=./$as_dir;;
4831 +  esac
4832 +  test -d "$as_dir" || eval $as_mkdir_p || {
4833 +    as_dirs=
4834 +    while :; do
4835 +      case $as_dir in #(
4836 +      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4837 +      *) as_qdir=$as_dir;;
4838 +      esac
4839 +      as_dirs="'$as_qdir' $as_dirs"
4840 +      as_dir=`$as_dirname -- "$as_dir" ||
4841 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4842 +        X"$as_dir" : 'X\(//\)[^/]' \| \
4843 +        X"$as_dir" : 'X\(//\)$' \| \
4844 +        X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4845 +$as_echo X"$as_dir" |
4846 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4847 +           s//\1/
4848 +           q
4849 +         }
4850 +         /^X\(\/\/\)[^/].*/{
4851 +           s//\1/
4852 +           q
4853 +         }
4854 +         /^X\(\/\/\)$/{
4855 +           s//\1/
4856 +           q
4857 +         }
4858 +         /^X\(\/\).*/{
4859 +           s//\1/
4860 +           q
4861 +         }
4862 +         s/.*/./; q'`
4863 +      test -d "$as_dir" && break
4864 +    done
4865 +    test -z "$as_dirs" || eval "mkdir $as_dirs"
4866 +  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4867  
4868 +
4869 +} # as_fn_mkdir_p
4870  if mkdir -p . 2>/dev/null; then
4871 -  as_mkdir_p=:
4872 +  as_mkdir_p='mkdir -p "$as_dir"'
4873  else
4874    test -d ./-p && rmdir ./-p
4875    as_mkdir_p=false
4876  fi
4877  
4878 -as_executable_p="test -f"
4879 +if test -x / >/dev/null 2>&1; then
4880 +  as_test_x='test -x'
4881 +else
4882 +  if ls -dL / >/dev/null 2>&1; then
4883 +    as_ls_L_option=L
4884 +  else
4885 +    as_ls_L_option=
4886 +  fi
4887 +  as_test_x='
4888 +    eval sh -c '\''
4889 +      if test -d "$1"; then
4890 +       test -d "$1/.";
4891 +      else
4892 +       case $1 in #(
4893 +       -*)set "./$1";;
4894 +       esac;
4895 +       case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4896 +       ???[sx]*):;;*)false;;esac;fi
4897 +    '\'' sh
4898 +  '
4899 +fi
4900 +as_executable_p=$as_test_x
4901  
4902  # Sed expression to map a string onto a valid CPP name.
4903  as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4904 @@ -3346,31 +3854,20 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4905  as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4906  
4907  
4908 -# IFS
4909 -# We need space, tab and new line, in precisely that order.
4910 -as_nl='
4911 -'
4912 -IFS="  $as_nl"
4913 -
4914 -# CDPATH.
4915 -$as_unset CDPATH
4916 -
4917  exec 6>&1
4918 -
4919 -# Open the log real soon, to keep \$[0] and so on meaningful, and to
4920 +## ----------------------------------- ##
4921 +## Main body of $CONFIG_STATUS script. ##
4922 +## ----------------------------------- ##
4923 +_ASEOF
4924 +test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4925 +
4926 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4927 +# Save the log message, to keep $0 and so on meaningful, and to
4928  # report actual input values of CONFIG_FILES etc. instead of their
4929 -# values after options handling.  Logging --version etc. is OK.
4930 -exec 5>>config.log
4931 -{
4932 -  echo
4933 -  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4934 -## Running $as_me. ##
4935 -_ASBOX
4936 -} >&5
4937 -cat >&5 <<_CSEOF
4938 -
4939 +# values after options handling.
4940 +ac_log="
4941  This file was extended by $as_me, which was
4942 -generated by GNU Autoconf 2.59.  Invocation command line was
4943 +generated by GNU Autoconf 2.68.  Invocation command line was
4944  
4945    CONFIG_FILES    = $CONFIG_FILES
4946    CONFIG_HEADERS  = $CONFIG_HEADERS
4947 @@ -3378,125 +3875,117 @@ generated by GNU Autoconf 2.59.  Invocation command line was
4948    CONFIG_COMMANDS = $CONFIG_COMMANDS
4949    $ $0 $@
4950  
4951 -_CSEOF
4952 -echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4953 -echo >&5
4954 +on `(hostname || uname -n) 2>/dev/null | sed 1q`
4955 +"
4956 +
4957  _ACEOF
4958  
4959 -# Files that config.status was made for.
4960 -if test -n "$ac_config_files"; then
4961 -  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4962 -fi
4963 +case $ac_config_files in *"
4964 +"*) set x $ac_config_files; shift; ac_config_files=$*;;
4965 +esac
4966  
4967 -if test -n "$ac_config_headers"; then
4968 -  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4969 -fi
4970  
4971 -if test -n "$ac_config_links"; then
4972 -  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4973 -fi
4974  
4975 -if test -n "$ac_config_commands"; then
4976 -  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4977 -fi
4978 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4979 +# Files that config.status was made for.
4980 +config_files="$ac_config_files"
4981  
4982 -cat >>$CONFIG_STATUS <<\_ACEOF
4983 +_ACEOF
4984  
4985 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4986  ac_cs_usage="\
4987 -\`$as_me' instantiates files from templates according to the
4988 -current configuration.
4989 +\`$as_me' instantiates files and other configuration actions
4990 +from templates according to the current configuration.  Unless the files
4991 +and actions are specified as TAGs, all are instantiated by default.
4992  
4993 -Usage: $0 [OPTIONS] [FILE]...
4994 +Usage: $0 [OPTION]... [TAG]...
4995  
4996    -h, --help       print this help, then exit
4997 -  -V, --version    print version number, then exit
4998 -  -q, --quiet      do not print progress messages
4999 +  -V, --version    print version number and configuration settings, then exit
5000 +      --config     print configuration, then exit
5001 +  -q, --quiet, --silent
5002 +                   do not print progress messages
5003    -d, --debug      don't remove temporary files
5004        --recheck    update $as_me by reconfiguring in the same conditions
5005 -  --file=FILE[:TEMPLATE]
5006 -                  instantiate the configuration file FILE
5007 +      --file=FILE[:TEMPLATE]
5008 +                   instantiate the configuration file FILE
5009  
5010  Configuration files:
5011  $config_files
5012  
5013 -Report bugs to <bug-autoconf@gnu.org>."
5014 -_ACEOF
5015 +Report bugs to the package provider."
5016  
5017 -cat >>$CONFIG_STATUS <<_ACEOF
5018 +_ACEOF
5019 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5020 +ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5021  ac_cs_version="\\
5022  config.status
5023 -configured by $0, generated by GNU Autoconf 2.59,
5024 -  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5025 +configured by $0, generated by GNU Autoconf 2.68,
5026 +  with options \\"\$ac_cs_config\\"
5027  
5028 -Copyright (C) 2003 Free Software Foundation, Inc.
5029 +Copyright (C) 2010 Free Software Foundation, Inc.
5030  This config.status script is free software; the Free Software Foundation
5031  gives unlimited permission to copy, distribute and modify it."
5032 -srcdir=$srcdir
5033 -INSTALL="$INSTALL"
5034 +
5035 +ac_pwd='$ac_pwd'
5036 +srcdir='$srcdir'
5037 +INSTALL='$INSTALL'
5038 +test -n "\$AWK" || AWK=awk
5039  _ACEOF
5040  
5041 -cat >>$CONFIG_STATUS <<\_ACEOF
5042 -# If no file are specified by the user, then we need to provide default
5043 -# value.  By we need to know if files were specified by the user.
5044 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5045 +# The default lists apply if the user does not specify any file.
5046  ac_need_defaults=:
5047  while test $# != 0
5048  do
5049    case $1 in
5050 -  --*=*)
5051 -    ac_option=`expr "x$1" : 'x\([^=]*\)='`
5052 -    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5053 +  --*=?*)
5054 +    ac_option=`expr "X$1" : 'X\([^=]*\)='`
5055 +    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5056      ac_shift=:
5057      ;;
5058 -  -*)
5059 +  --*=)
5060 +    ac_option=`expr "X$1" : 'X\([^=]*\)='`
5061 +    ac_optarg=
5062 +    ac_shift=:
5063 +    ;;
5064 +  *)
5065      ac_option=$1
5066      ac_optarg=$2
5067      ac_shift=shift
5068      ;;
5069 -  *) # This is not an option, so the user has probably given explicit
5070 -     # arguments.
5071 -     ac_option=$1
5072 -     ac_need_defaults=false;;
5073    esac
5074  
5075    case $ac_option in
5076    # Handling of the options.
5077 -_ACEOF
5078 -cat >>$CONFIG_STATUS <<\_ACEOF
5079    -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5080      ac_cs_recheck=: ;;
5081 -  --version | --vers* | -V )
5082 -    echo "$ac_cs_version"; exit 0 ;;
5083 -  --he | --h)
5084 -    # Conflict between --help and --header
5085 -    { { echo "$as_me:$LINENO: error: ambiguous option: $1
5086 -Try \`$0 --help' for more information." >&5
5087 -echo "$as_me: error: ambiguous option: $1
5088 -Try \`$0 --help' for more information." >&2;}
5089 -   { (exit 1); exit 1; }; };;
5090 -  --help | --hel | -h )
5091 -    echo "$ac_cs_usage"; exit 0 ;;
5092 -  --debug | --d* | -d )
5093 +  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5094 +    $as_echo "$ac_cs_version"; exit ;;
5095 +  --config | --confi | --conf | --con | --co | --c )
5096 +    $as_echo "$ac_cs_config"; exit ;;
5097 +  --debug | --debu | --deb | --de | --d | -d )
5098      debug=: ;;
5099    --file | --fil | --fi | --f )
5100      $ac_shift
5101 -    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5102 -    ac_need_defaults=false;;
5103 -  --header | --heade | --head | --hea )
5104 -    $ac_shift
5105 -    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5106 +    case $ac_optarg in
5107 +    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5108 +    '') as_fn_error $? "missing file argument" ;;
5109 +    esac
5110 +    as_fn_append CONFIG_FILES " '$ac_optarg'"
5111      ac_need_defaults=false;;
5112 +  --he | --h |  --help | --hel | -h )
5113 +    $as_echo "$ac_cs_usage"; exit ;;
5114    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5115    | -silent | --silent | --silen | --sile | --sil | --si | --s)
5116      ac_cs_silent=: ;;
5117  
5118    # This is an error.
5119 -  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5120 -Try \`$0 --help' for more information." >&5
5121 -echo "$as_me: error: unrecognized option: $1
5122 -Try \`$0 --help' for more information." >&2;}
5123 -   { (exit 1); exit 1; }; } ;;
5124 +  -*) as_fn_error $? "unrecognized option: \`$1'
5125 +Try \`$0 --help' for more information." ;;
5126  
5127 -  *) ac_config_targets="$ac_config_targets $1" ;;
5128 +  *) as_fn_append ac_config_targets " $1"
5129 +     ac_need_defaults=false ;;
5130  
5131    esac
5132    shift
5133 @@ -3510,32 +3999,46 @@ if $ac_cs_silent; then
5134  fi
5135  
5136  _ACEOF
5137 -cat >>$CONFIG_STATUS <<_ACEOF
5138 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5139  if \$ac_cs_recheck; then
5140 -  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5141 -  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5142 +  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5143 +  shift
5144 +  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5145 +  CONFIG_SHELL='$SHELL'
5146 +  export CONFIG_SHELL
5147 +  exec "\$@"
5148  fi
5149  
5150  _ACEOF
5151 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5152 +exec 5>>config.log
5153 +{
5154 +  echo
5155 +  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5156 +## Running $as_me. ##
5157 +_ASBOX
5158 +  $as_echo "$ac_log"
5159 +} >&5
5160  
5161 +_ACEOF
5162 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5163 +_ACEOF
5164  
5165 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5166  
5167 -
5168 -
5169 -cat >>$CONFIG_STATUS <<\_ACEOF
5170 +# Handling of arguments.
5171  for ac_config_target in $ac_config_targets
5172  do
5173 -  case "$ac_config_target" in
5174 -  # Handling of arguments.
5175 -  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5176 -  "as31/Makefile" ) CONFIG_FILES="$CONFIG_FILES as31/Makefile" ;;
5177 -  "examples/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
5178 -  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5179 -echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5180 -   { (exit 1); exit 1; }; };;
5181 +  case $ac_config_target in
5182 +    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5183 +    "as31/Makefile") CONFIG_FILES="$CONFIG_FILES as31/Makefile" ;;
5184 +    "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
5185 +
5186 +  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5187    esac
5188  done
5189  
5190 +
5191  # If the user did not use the arguments to specify the items to instantiate,
5192  # then the envvar interface is used.  Set only those that are not.
5193  # We use the long form for the default assignment because of an extremely
5194 @@ -3545,349 +4048,419 @@ if $ac_need_defaults; then
5195  fi
5196  
5197  # Have a temporary directory for convenience.  Make it in the build tree
5198 -# simply because there is no reason to put it here, and in addition,
5199 +# simply because there is no reason against having it here, and in addition,
5200  # creating and moving files from /tmp can sometimes cause problems.
5201 -# Create a temporary directory, and hook for its removal unless debugging.
5202 +# Hook for its removal unless debugging.
5203 +# Note that there is a small window in which the directory will not be cleaned:
5204 +# after its creation but before its name has been assigned to `$tmp'.
5205  $debug ||
5206  {
5207 -  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5208 -  trap '{ (exit 1); exit 1; }' 1 2 13 15
5209 +  tmp= ac_tmp=
5210 +  trap 'exit_status=$?
5211 +  : "${ac_tmp:=$tmp}"
5212 +  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5213 +' 0
5214 +  trap 'as_fn_exit 1' 1 2 13 15
5215  }
5216 -
5217  # Create a (secure) tmp directory for tmp files.
5218  
5219  {
5220 -  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5221 -  test -n "$tmp" && test -d "$tmp"
5222 +  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5223 +  test -d "$tmp"
5224  }  ||
5225  {
5226 -  tmp=./confstat$$-$RANDOM
5227 -  (umask 077 && mkdir $tmp)
5228 -} ||
5229 +  tmp=./conf$$-$RANDOM
5230 +  (umask 077 && mkdir "$tmp")
5231 +} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5232 +ac_tmp=$tmp
5233 +
5234 +# Set up the scripts for CONFIG_FILES section.
5235 +# No need to generate them if there are no CONFIG_FILES.
5236 +# This happens for instance with `./config.status config.h'.
5237 +if test -n "$CONFIG_FILES"; then
5238 +
5239 +
5240 +ac_cr=`echo X | tr X '\015'`
5241 +# On cygwin, bash can eat \r inside `` if the user requested igncr.
5242 +# But we know of no other shell where ac_cr would be empty at this
5243 +# point, so we can use a bashism as a fallback.
5244 +if test "x$ac_cr" = x; then
5245 +  eval ac_cr=\$\'\\r\'
5246 +fi
5247 +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5248 +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5249 +  ac_cs_awk_cr='\\r'
5250 +else
5251 +  ac_cs_awk_cr=$ac_cr
5252 +fi
5253 +
5254 +echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5255 +_ACEOF
5256 +
5257 +
5258 +{
5259 +  echo "cat >conf$$subs.awk <<_ACEOF" &&
5260 +  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5261 +  echo "_ACEOF"
5262 +} >conf$$subs.sh ||
5263 +  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5264 +ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5265 +ac_delim='%!_!# '
5266 +for ac_last_try in false false false false false :; do
5267 +  . ./conf$$subs.sh ||
5268 +    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5269 +
5270 +  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5271 +  if test $ac_delim_n = $ac_delim_num; then
5272 +    break
5273 +  elif $ac_last_try; then
5274 +    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5275 +  else
5276 +    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5277 +  fi
5278 +done
5279 +rm -f conf$$subs.sh
5280 +
5281 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5282 +cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5283 +_ACEOF
5284 +sed -n '
5285 +h
5286 +s/^/S["/; s/!.*/"]=/
5287 +p
5288 +g
5289 +s/^[^!]*!//
5290 +:repl
5291 +t repl
5292 +s/'"$ac_delim"'$//
5293 +t delim
5294 +:nl
5295 +h
5296 +s/\(.\{148\}\)..*/\1/
5297 +t more1
5298 +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5299 +p
5300 +n
5301 +b repl
5302 +:more1
5303 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5304 +p
5305 +g
5306 +s/.\{148\}//
5307 +t nl
5308 +:delim
5309 +h
5310 +s/\(.\{148\}\)..*/\1/
5311 +t more2
5312 +s/["\\]/\\&/g; s/^/"/; s/$/"/
5313 +p
5314 +b
5315 +:more2
5316 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5317 +p
5318 +g
5319 +s/.\{148\}//
5320 +t delim
5321 +' <conf$$subs.awk | sed '
5322 +/^[^""]/{
5323 +  N
5324 +  s/\n//
5325 +}
5326 +' >>$CONFIG_STATUS || ac_write_fail=1
5327 +rm -f conf$$subs.awk
5328 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5329 +_ACAWK
5330 +cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5331 +  for (key in S) S_is_set[key] = 1
5332 +  FS = "\a"
5333 +
5334 +}
5335  {
5336 -   echo "$me: cannot create a temporary directory in ." >&2
5337 -   { (exit 1); exit 1; }
5338 +  line = $ 0
5339 +  nfields = split(line, field, "@")
5340 +  substed = 0
5341 +  len = length(field[1])
5342 +  for (i = 2; i < nfields; i++) {
5343 +    key = field[i]
5344 +    keylen = length(key)
5345 +    if (S_is_set[key]) {
5346 +      value = S[key]
5347 +      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5348 +      len += length(value) + length(field[++i])
5349 +      substed = 1
5350 +    } else
5351 +      len += 1 + keylen
5352 +  }
5353 +
5354 +  print line
5355  }
5356  
5357 +_ACAWK
5358 +_ACEOF
5359 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5360 +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5361 +  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5362 +else
5363 +  cat
5364 +fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5365 +  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5366  _ACEOF
5367  
5368 -cat >>$CONFIG_STATUS <<_ACEOF
5369 +# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5370 +# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5371 +# trailing colons and then remove the whole line if VPATH becomes empty
5372 +# (actually we leave an empty line to preserve line numbers).
5373 +if test "x$srcdir" = x.; then
5374 +  ac_vpsub='/^[         ]*VPATH[        ]*=[    ]*/{
5375 +h
5376 +s///
5377 +s/^/:/
5378 +s/[     ]*$/:/
5379 +s/:\$(srcdir):/:/g
5380 +s/:\${srcdir}:/:/g
5381 +s/:@srcdir@:/:/g
5382 +s/^:*//
5383 +s/:*$//
5384 +x
5385 +s/\(=[  ]*\).*/\1/
5386 +G
5387 +s/\n//
5388 +s/^[^=]*=[      ]*$//
5389 +}'
5390 +fi
5391 +
5392 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5393 +fi # test -n "$CONFIG_FILES"
5394  
5395 -#
5396 -# CONFIG_FILES section.
5397 -#
5398  
5399 -# No need to generate the scripts if there are no CONFIG_FILES.
5400 -# This happens for instance when ./config.status config.h
5401 -if test -n "\$CONFIG_FILES"; then
5402 -  # Protect against being on the right side of a sed subst in config.status.
5403 -  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5404 -   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5405 -s,@SHELL@,$SHELL,;t t
5406 -s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5407 -s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5408 -s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5409 -s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5410 -s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5411 -s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5412 -s,@exec_prefix@,$exec_prefix,;t t
5413 -s,@prefix@,$prefix,;t t
5414 -s,@program_transform_name@,$program_transform_name,;t t
5415 -s,@bindir@,$bindir,;t t
5416 -s,@sbindir@,$sbindir,;t t
5417 -s,@libexecdir@,$libexecdir,;t t
5418 -s,@datadir@,$datadir,;t t
5419 -s,@sysconfdir@,$sysconfdir,;t t
5420 -s,@sharedstatedir@,$sharedstatedir,;t t
5421 -s,@localstatedir@,$localstatedir,;t t
5422 -s,@libdir@,$libdir,;t t
5423 -s,@includedir@,$includedir,;t t
5424 -s,@oldincludedir@,$oldincludedir,;t t
5425 -s,@infodir@,$infodir,;t t
5426 -s,@mandir@,$mandir,;t t
5427 -s,@build_alias@,$build_alias,;t t
5428 -s,@host_alias@,$host_alias,;t t
5429 -s,@target_alias@,$target_alias,;t t
5430 -s,@DEFS@,$DEFS,;t t
5431 -s,@ECHO_C@,$ECHO_C,;t t
5432 -s,@ECHO_N@,$ECHO_N,;t t
5433 -s,@ECHO_T@,$ECHO_T,;t t
5434 -s,@LIBS@,$LIBS,;t t
5435 -s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5436 -s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5437 -s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5438 -s,@PACKAGE@,$PACKAGE,;t t
5439 -s,@VERSION@,$VERSION,;t t
5440 -s,@ACLOCAL@,$ACLOCAL,;t t
5441 -s,@AUTOCONF@,$AUTOCONF,;t t
5442 -s,@AUTOMAKE@,$AUTOMAKE,;t t
5443 -s,@AUTOHEADER@,$AUTOHEADER,;t t
5444 -s,@MAKEINFO@,$MAKEINFO,;t t
5445 -s,@SET_MAKE@,$SET_MAKE,;t t
5446 -s,@CC@,$CC,;t t
5447 -s,@CFLAGS@,$CFLAGS,;t t
5448 -s,@LDFLAGS@,$LDFLAGS,;t t
5449 -s,@CPPFLAGS@,$CPPFLAGS,;t t
5450 -s,@ac_ct_CC@,$ac_ct_CC,;t t
5451 -s,@EXEEXT@,$EXEEXT,;t t
5452 -s,@OBJEXT@,$OBJEXT,;t t
5453 -s,@YACC@,$YACC,;t t
5454 -s,@GUI_LIBS@,$GUI_LIBS,;t t
5455 -s,@GUI_CFLAGS@,$GUI_CFLAGS,;t t
5456 -s,@GTK_CONFIG@,$GTK_CONFIG,;t t
5457 -s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
5458 -s,@GTK_LIBS@,$GTK_LIBS,;t t
5459 -s,@OPTION_GTK_TRUE@,$OPTION_GTK_TRUE,;t t
5460 -s,@OPTION_GTK_FALSE@,$OPTION_GTK_FALSE,;t t
5461 -s,@LIBOBJS@,$LIBOBJS,;t t
5462 -s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5463 -CEOF
5464 +eval set X "  :F $CONFIG_FILES      "
5465 +shift
5466 +for ac_tag
5467 +do
5468 +  case $ac_tag in
5469 +  :[FHLC]) ac_mode=$ac_tag; continue;;
5470 +  esac
5471 +  case $ac_mode$ac_tag in
5472 +  :[FHL]*:*);;
5473 +  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5474 +  :[FH]-) ac_tag=-:-;;
5475 +  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5476 +  esac
5477 +  ac_save_IFS=$IFS
5478 +  IFS=:
5479 +  set x $ac_tag
5480 +  IFS=$ac_save_IFS
5481 +  shift
5482 +  ac_file=$1
5483 +  shift
5484  
5485 -_ACEOF
5486 +  case $ac_mode in
5487 +  :L) ac_source=$1;;
5488 +  :[FH])
5489 +    ac_file_inputs=
5490 +    for ac_f
5491 +    do
5492 +      case $ac_f in
5493 +      -) ac_f="$ac_tmp/stdin";;
5494 +      *) # Look for the file first in the build tree, then in the source tree
5495 +        # (if the path is not absolute).  The absolute path cannot be DOS-style,
5496 +        # because $ac_f cannot contain `:'.
5497 +        test -f "$ac_f" ||
5498 +          case $ac_f in
5499 +          [\\/$]*) false;;
5500 +          *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5501 +          esac ||
5502 +          as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5503 +      esac
5504 +      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5505 +      as_fn_append ac_file_inputs " '$ac_f'"
5506 +    done
5507  
5508 -  cat >>$CONFIG_STATUS <<\_ACEOF
5509 -  # Split the substitutions into bite-sized pieces for seds with
5510 -  # small command number limits, like on Digital OSF/1 and HP-UX.
5511 -  ac_max_sed_lines=48
5512 -  ac_sed_frag=1 # Number of current file.
5513 -  ac_beg=1 # First line for current file.
5514 -  ac_end=$ac_max_sed_lines # Line after last line for current file.
5515 -  ac_more_lines=:
5516 -  ac_sed_cmds=
5517 -  while $ac_more_lines; do
5518 -    if test $ac_beg -gt 1; then
5519 -      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5520 -    else
5521 -      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5522 -    fi
5523 -    if test ! -s $tmp/subs.frag; then
5524 -      ac_more_lines=false
5525 -    else
5526 -      # The purpose of the label and of the branching condition is to
5527 -      # speed up the sed processing (if there are no `@' at all, there
5528 -      # is no need to browse any of the substitutions).
5529 -      # These are the two extra sed commands mentioned above.
5530 -      (echo ':t
5531 -  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5532 -      if test -z "$ac_sed_cmds"; then
5533 -       ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5534 -      else
5535 -       ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5536 -      fi
5537 -      ac_sed_frag=`expr $ac_sed_frag + 1`
5538 -      ac_beg=$ac_end
5539 -      ac_end=`expr $ac_end + $ac_max_sed_lines`
5540 +    # Let's still pretend it is `configure' which instantiates (i.e., don't
5541 +    # use $as_me), people would be surprised to read:
5542 +    #    /* config.h.  Generated by config.status.  */
5543 +    configure_input='Generated from '`
5544 +         $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5545 +       `' by configure.'
5546 +    if test x"$ac_file" != x-; then
5547 +      configure_input="$ac_file.  $configure_input"
5548 +      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5549 +$as_echo "$as_me: creating $ac_file" >&6;}
5550      fi
5551 -  done
5552 -  if test -z "$ac_sed_cmds"; then
5553 -    ac_sed_cmds=cat
5554 -  fi
5555 -fi # test -n "$CONFIG_FILES"
5556 +    # Neutralize special characters interpreted by sed in replacement strings.
5557 +    case $configure_input in #(
5558 +    *\&* | *\|* | *\\* )
5559 +       ac_sed_conf_input=`$as_echo "$configure_input" |
5560 +       sed 's/[\\\\&|]/\\\\&/g'`;; #(
5561 +    *) ac_sed_conf_input=$configure_input;;
5562 +    esac
5563  
5564 -_ACEOF
5565 -cat >>$CONFIG_STATUS <<\_ACEOF
5566 -for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5567 -  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5568 -  case $ac_file in
5569 -  - | *:- | *:-:* ) # input from stdin
5570 -       cat >$tmp/stdin
5571 -       ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5572 -       ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5573 -  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5574 -       ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5575 -  * )   ac_file_in=$ac_file.in ;;
5576 +    case $ac_tag in
5577 +    *:-:* | *:-) cat >"$ac_tmp/stdin" \
5578 +      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5579 +    esac
5580 +    ;;
5581    esac
5582  
5583 -  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5584 -  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5585 +  ac_dir=`$as_dirname -- "$ac_file" ||
5586  $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5587          X"$ac_file" : 'X\(//\)[^/]' \| \
5588          X"$ac_file" : 'X\(//\)$' \| \
5589 -        X"$ac_file" : 'X\(/\)' \| \
5590 -        .     : '\(.\)' 2>/dev/null ||
5591 -echo X"$ac_file" |
5592 -    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5593 -         /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5594 -         /^X\(\/\/\)$/{ s//\1/; q; }
5595 -         /^X\(\/\).*/{ s//\1/; q; }
5596 -         s/.*/./; q'`
5597 -  { if $as_mkdir_p; then
5598 -    mkdir -p "$ac_dir"
5599 -  else
5600 -    as_dir="$ac_dir"
5601 -    as_dirs=
5602 -    while test ! -d "$as_dir"; do
5603 -      as_dirs="$as_dir $as_dirs"
5604 -      as_dir=`(dirname "$as_dir") 2>/dev/null ||
5605 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5606 -        X"$as_dir" : 'X\(//\)[^/]' \| \
5607 -        X"$as_dir" : 'X\(//\)$' \| \
5608 -        X"$as_dir" : 'X\(/\)' \| \
5609 -        .     : '\(.\)' 2>/dev/null ||
5610 -echo X"$as_dir" |
5611 -    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5612 -         /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5613 -         /^X\(\/\/\)$/{ s//\1/; q; }
5614 -         /^X\(\/\).*/{ s//\1/; q; }
5615 -         s/.*/./; q'`
5616 -    done
5617 -    test ! -n "$as_dirs" || mkdir $as_dirs
5618 -  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5619 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5620 -   { (exit 1); exit 1; }; }; }
5621 -
5622 +        X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5623 +$as_echo X"$ac_file" |
5624 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5625 +           s//\1/
5626 +           q
5627 +         }
5628 +         /^X\(\/\/\)[^/].*/{
5629 +           s//\1/
5630 +           q
5631 +         }
5632 +         /^X\(\/\/\)$/{
5633 +           s//\1/
5634 +           q
5635 +         }
5636 +         /^X\(\/\).*/{
5637 +           s//\1/
5638 +           q
5639 +         }
5640 +         s/.*/./; q'`
5641 +  as_dir="$ac_dir"; as_fn_mkdir_p
5642    ac_builddir=.
5643  
5644 -if test "$ac_dir" != .; then
5645 -  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5646 -  # A "../" for each directory in $ac_dir_suffix.
5647 -  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5648 -else
5649 -  ac_dir_suffix= ac_top_builddir=
5650 -fi
5651 +case "$ac_dir" in
5652 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5653 +*)
5654 +  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5655 +  # A ".." for each directory in $ac_dir_suffix.
5656 +  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5657 +  case $ac_top_builddir_sub in
5658 +  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5659 +  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5660 +  esac ;;
5661 +esac
5662 +ac_abs_top_builddir=$ac_pwd
5663 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
5664 +# for backward compatibility:
5665 +ac_top_builddir=$ac_top_build_prefix
5666  
5667  case $srcdir in
5668 -  .)  # No --srcdir option.  We are building in place.
5669 +  .)  # We are building in place.
5670      ac_srcdir=.
5671 -    if test -z "$ac_top_builddir"; then
5672 -       ac_top_srcdir=.
5673 -    else
5674 -       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5675 -    fi ;;
5676 -  [\\/]* | ?:[\\/]* )  # Absolute path.
5677 +    ac_top_srcdir=$ac_top_builddir_sub
5678 +    ac_abs_top_srcdir=$ac_pwd ;;
5679 +  [\\/]* | ?:[\\/]* )  # Absolute name.
5680      ac_srcdir=$srcdir$ac_dir_suffix;
5681 -    ac_top_srcdir=$srcdir ;;
5682 -  *) # Relative path.
5683 -    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5684 -    ac_top_srcdir=$ac_top_builddir$srcdir ;;
5685 +    ac_top_srcdir=$srcdir
5686 +    ac_abs_top_srcdir=$srcdir ;;
5687 +  *) # Relative name.
5688 +    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5689 +    ac_top_srcdir=$ac_top_build_prefix$srcdir
5690 +    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5691  esac
5692 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5693  
5694 -# Do not use `cd foo && pwd` to compute absolute paths, because
5695 -# the directories may not exist.
5696 -case `pwd` in
5697 -.) ac_abs_builddir="$ac_dir";;
5698 -*)
5699 -  case "$ac_dir" in
5700 -  .) ac_abs_builddir=`pwd`;;
5701 -  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5702 -  *) ac_abs_builddir=`pwd`/"$ac_dir";;
5703 -  esac;;
5704 -esac
5705 -case $ac_abs_builddir in
5706 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
5707 -*)
5708 -  case ${ac_top_builddir}. in
5709 -  .) ac_abs_top_builddir=$ac_abs_builddir;;
5710 -  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5711 -  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5712 -  esac;;
5713 -esac
5714 -case $ac_abs_builddir in
5715 -.) ac_abs_srcdir=$ac_srcdir;;
5716 -*)
5717 -  case $ac_srcdir in
5718 -  .) ac_abs_srcdir=$ac_abs_builddir;;
5719 -  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5720 -  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5721 -  esac;;
5722 -esac
5723 -case $ac_abs_builddir in
5724 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
5725 -*)
5726 -  case $ac_top_srcdir in
5727 -  .) ac_abs_top_srcdir=$ac_abs_builddir;;
5728 -  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5729 -  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5730 -  esac;;
5731 -esac
5732  
5733 +  case $ac_mode in
5734 +  :F)
5735 +  #
5736 +  # CONFIG_FILE
5737 +  #
5738  
5739    case $INSTALL in
5740    [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5741 -  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
5742 +  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5743    esac
5744 +_ACEOF
5745  
5746 -  # Let's still pretend it is `configure' which instantiates (i.e., don't
5747 -  # use $as_me), people would be surprised to read:
5748 -  #    /* config.h.  Generated by config.status.  */
5749 -  if test x"$ac_file" = x-; then
5750 -    configure_input=
5751 -  else
5752 -    configure_input="$ac_file.  "
5753 -  fi
5754 -  configure_input=$configure_input"Generated from `echo $ac_file_in |
5755 -                                    sed 's,.*/,,'` by configure."
5756 -
5757 -  # First look for the input files in the build tree, otherwise in the
5758 -  # src tree.
5759 -  ac_file_inputs=`IFS=:
5760 -    for f in $ac_file_in; do
5761 -      case $f in
5762 -      -) echo $tmp/stdin ;;
5763 -      [\\/$]*)
5764 -        # Absolute (can't be DOS-style, as IFS=:)
5765 -        test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5766 -echo "$as_me: error: cannot find input file: $f" >&2;}
5767 -   { (exit 1); exit 1; }; }
5768 -        echo "$f";;
5769 -      *) # Relative
5770 -        if test -f "$f"; then
5771 -          # Build tree
5772 -          echo "$f"
5773 -        elif test -f "$srcdir/$f"; then
5774 -          # Source tree
5775 -          echo "$srcdir/$f"
5776 -        else
5777 -          # /dev/null tree
5778 -          { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5779 -echo "$as_me: error: cannot find input file: $f" >&2;}
5780 -   { (exit 1); exit 1; }; }
5781 -        fi;;
5782 -      esac
5783 -    done` || { (exit 1); exit 1; }
5784 -
5785 -  if test x"$ac_file" != x-; then
5786 -    { echo "$as_me:$LINENO: creating $ac_file" >&5
5787 -echo "$as_me: creating $ac_file" >&6;}
5788 -    rm -f "$ac_file"
5789 -  fi
5790 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5791 +# If the template does not know about datarootdir, expand it.
5792 +# FIXME: This hack should be removed a few years after 2.60.
5793 +ac_datarootdir_hack=; ac_datarootdir_seen=
5794 +ac_sed_dataroot='
5795 +/datarootdir/ {
5796 +  p
5797 +  q
5798 +}
5799 +/@datadir@/p
5800 +/@docdir@/p
5801 +/@infodir@/p
5802 +/@localedir@/p
5803 +/@mandir@/p'
5804 +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5805 +*datarootdir*) ac_datarootdir_seen=yes;;
5806 +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5807 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5808 +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5809  _ACEOF
5810 -cat >>$CONFIG_STATUS <<_ACEOF
5811 -  sed "$ac_vpsub
5812 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5813 +  ac_datarootdir_hack='
5814 +  s&@datadir@&$datadir&g
5815 +  s&@docdir@&$docdir&g
5816 +  s&@infodir@&$infodir&g
5817 +  s&@localedir@&$localedir&g
5818 +  s&@mandir@&$mandir&g
5819 +  s&\\\${datarootdir}&$datarootdir&g' ;;
5820 +esac
5821 +_ACEOF
5822 +
5823 +# Neutralize VPATH when `$srcdir' = `.'.
5824 +# Shell code in configure.ac might set extrasub.
5825 +# FIXME: do we really want to maintain this feature?
5826 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5827 +ac_sed_extra="$ac_vpsub
5828  $extrasub
5829  _ACEOF
5830 -cat >>$CONFIG_STATUS <<\_ACEOF
5831 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5832  :t
5833  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5834 -s,@configure_input@,$configure_input,;t t
5835 -s,@srcdir@,$ac_srcdir,;t t
5836 -s,@abs_srcdir@,$ac_abs_srcdir,;t t
5837 -s,@top_srcdir@,$ac_top_srcdir,;t t
5838 -s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
5839 -s,@builddir@,$ac_builddir,;t t
5840 -s,@abs_builddir@,$ac_abs_builddir,;t t
5841 -s,@top_builddir@,$ac_top_builddir,;t t
5842 -s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
5843 -s,@INSTALL@,$ac_INSTALL,;t t
5844 -" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5845 -  rm -f $tmp/stdin
5846 -  if test x"$ac_file" != x-; then
5847 -    mv $tmp/out $ac_file
5848 -  else
5849 -    cat $tmp/out
5850 -    rm -f $tmp/out
5851 -  fi
5852 +s|@configure_input@|$ac_sed_conf_input|;t t
5853 +s&@top_builddir@&$ac_top_builddir_sub&;t t
5854 +s&@top_build_prefix@&$ac_top_build_prefix&;t t
5855 +s&@srcdir@&$ac_srcdir&;t t
5856 +s&@abs_srcdir@&$ac_abs_srcdir&;t t
5857 +s&@top_srcdir@&$ac_top_srcdir&;t t
5858 +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5859 +s&@builddir@&$ac_builddir&;t t
5860 +s&@abs_builddir@&$ac_abs_builddir&;t t
5861 +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5862 +s&@INSTALL@&$ac_INSTALL&;t t
5863 +$ac_datarootdir_hack
5864 +"
5865 +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5866 +  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5867 +
5868 +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5869 +  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5870 +  { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' \
5871 +      "$ac_tmp/out"`; test -z "$ac_out"; } &&
5872 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5873 +which seems to be undefined.  Please make sure it is defined" >&5
5874 +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5875 +which seems to be undefined.  Please make sure it is defined" >&2;}
5876 +
5877 +  rm -f "$ac_tmp/stdin"
5878 +  case $ac_file in
5879 +  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5880 +  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5881 +  esac \
5882 +  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5883 + ;;
5884  
5885 -done
5886 -_ACEOF
5887  
5888 -cat >>$CONFIG_STATUS <<\_ACEOF
5889  
5890 -{ (exit 0); exit 0; }
5891 +  esac
5892 +
5893 +done # for ac_tag
5894 +
5895 +
5896 +as_fn_exit 0
5897  _ACEOF
5898 -chmod +x $CONFIG_STATUS
5899  ac_clean_files=$ac_clean_files_save
5900  
5901 +test $ac_write_fail = 0 ||
5902 +  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5903 +
5904  
5905  # configure is writing to config.log, and then calls config.status.
5906  # config.status does its own redirection, appending to config.log.
5907 @@ -3907,6 +4480,10 @@ if test "$no_create" != yes; then
5908    exec 5>>config.log
5909    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5910    # would make configure fail if this is the last instruction.
5911 -  $ac_cs_success || { (exit 1); exit 1; }
5912 +  $ac_cs_success || as_fn_exit 1
5913 +fi
5914 +if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5915 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5916 +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
5917  fi
5918