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