missed one!
[debian/atlc] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for atlc 4.6.1.
4 #
5 # Report bugs to <drkirkby@gmail.com>.
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 drkirkby@gmail.com
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='atlc'
562 PACKAGE_TARNAME='atlc'
563 PACKAGE_VERSION='4.6.1'
564 PACKAGE_STRING='atlc 4.6.1'
565 PACKAGE_BUGREPORT='drkirkby@gmail.com'
566 PACKAGE_URL=''
567
568 ac_unique_file="tools/src/myfilelength.c"
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 compiled_with_cflags
609 compiled_with_compiler
610 built_with_posix_threads
611 PTHREAD_CFLAGS
612 PTHREAD_LIBS
613 PTHREAD_CC
614 host_os
615 host_vendor
616 host_cpu
617 host
618 build_os
619 build_vendor
620 build_cpu
621 build
622 LIBOBJS
623 POW_LIB
624 EGREP
625 GREP
626 CPP
627 am__fastdepCC_FALSE
628 am__fastdepCC_TRUE
629 CCDEPMODE
630 AMDEPBACKSLASH
631 AMDEP_FALSE
632 AMDEP_TRUE
633 am__quote
634 am__include
635 DEPDIR
636 OBJEXT
637 EXEEXT
638 ac_ct_CC
639 CPPFLAGS
640 LDFLAGS
641 CFLAGS
642 CC
643 am__untar
644 am__tar
645 AMTAR
646 am__leading_dot
647 SET_MAKE
648 AWK
649 mkdir_p
650 MKDIR_P
651 INSTALL_STRIP_PROGRAM
652 STRIP
653 install_sh
654 MAKEINFO
655 AUTOHEADER
656 AUTOMAKE
657 AUTOCONF
658 ACLOCAL
659 VERSION
660 PACKAGE
661 CYGPATH_W
662 am__isrc
663 INSTALL_DATA
664 INSTALL_SCRIPT
665 INSTALL_PROGRAM
666 target_alias
667 host_alias
668 build_alias
669 LIBS
670 ECHO_T
671 ECHO_N
672 ECHO_C
673 DEFS
674 mandir
675 localedir
676 libdir
677 psdir
678 pdfdir
679 dvidir
680 htmldir
681 infodir
682 docdir
683 oldincludedir
684 includedir
685 localstatedir
686 sharedstatedir
687 sysconfdir
688 datadir
689 datarootdir
690 libexecdir
691 sbindir
692 bindir
693 program_transform_name
694 prefix
695 exec_prefix
696 PACKAGE_URL
697 PACKAGE_BUGREPORT
698 PACKAGE_STRING
699 PACKAGE_VERSION
700 PACKAGE_TARNAME
701 PACKAGE_NAME
702 PATH_SEPARATOR
703 SHELL'
704 ac_subst_files=''
705 ac_user_opts='
706 enable_option_checking
707 enable_dependency_tracking
708 enable_debug
709 enable_hardware_info
710 '
711       ac_precious_vars='build_alias
712 host_alias
713 target_alias
714 CC
715 CFLAGS
716 LDFLAGS
717 LIBS
718 CPPFLAGS
719 CPP'
720
721
722 # Initialize some variables set by options.
723 ac_init_help=
724 ac_init_version=false
725 ac_unrecognized_opts=
726 ac_unrecognized_sep=
727 # The variables have the same names as the options, with
728 # dashes changed to underlines.
729 cache_file=/dev/null
730 exec_prefix=NONE
731 no_create=
732 no_recursion=
733 prefix=NONE
734 program_prefix=NONE
735 program_suffix=NONE
736 program_transform_name=s,x,x,
737 silent=
738 site=
739 srcdir=
740 verbose=
741 x_includes=NONE
742 x_libraries=NONE
743
744 # Installation directory options.
745 # These are left unexpanded so users can "make install exec_prefix=/foo"
746 # and all the variables that are supposed to be based on exec_prefix
747 # by default will actually change.
748 # Use braces instead of parens because sh, perl, etc. also accept them.
749 # (The list follows the same order as the GNU Coding Standards.)
750 bindir='${exec_prefix}/bin'
751 sbindir='${exec_prefix}/sbin'
752 libexecdir='${exec_prefix}/libexec'
753 datarootdir='${prefix}/share'
754 datadir='${datarootdir}'
755 sysconfdir='${prefix}/etc'
756 sharedstatedir='${prefix}/com'
757 localstatedir='${prefix}/var'
758 includedir='${prefix}/include'
759 oldincludedir='/usr/include'
760 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
761 infodir='${datarootdir}/info'
762 htmldir='${docdir}'
763 dvidir='${docdir}'
764 pdfdir='${docdir}'
765 psdir='${docdir}'
766 libdir='${exec_prefix}/lib'
767 localedir='${datarootdir}/locale'
768 mandir='${datarootdir}/man'
769
770 ac_prev=
771 ac_dashdash=
772 for ac_option
773 do
774   # If the previous option needs an argument, assign it.
775   if test -n "$ac_prev"; then
776     eval $ac_prev=\$ac_option
777     ac_prev=
778     continue
779   fi
780
781   case $ac_option in
782   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
783   *=)   ac_optarg= ;;
784   *)    ac_optarg=yes ;;
785   esac
786
787   # Accept the important Cygnus configure options, so we can diagnose typos.
788
789   case $ac_dashdash$ac_option in
790   --)
791     ac_dashdash=yes ;;
792
793   -bindir | --bindir | --bindi | --bind | --bin | --bi)
794     ac_prev=bindir ;;
795   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
796     bindir=$ac_optarg ;;
797
798   -build | --build | --buil | --bui | --bu)
799     ac_prev=build_alias ;;
800   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
801     build_alias=$ac_optarg ;;
802
803   -cache-file | --cache-file | --cache-fil | --cache-fi \
804   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
805     ac_prev=cache_file ;;
806   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
807   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
808     cache_file=$ac_optarg ;;
809
810   --config-cache | -C)
811     cache_file=config.cache ;;
812
813   -datadir | --datadir | --datadi | --datad)
814     ac_prev=datadir ;;
815   -datadir=* | --datadir=* | --datadi=* | --datad=*)
816     datadir=$ac_optarg ;;
817
818   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
819   | --dataroo | --dataro | --datar)
820     ac_prev=datarootdir ;;
821   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
822   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
823     datarootdir=$ac_optarg ;;
824
825   -disable-* | --disable-*)
826     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
827     # Reject names that are not valid shell variable names.
828     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
829       as_fn_error $? "invalid feature name: $ac_useropt"
830     ac_useropt_orig=$ac_useropt
831     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
832     case $ac_user_opts in
833       *"
834 "enable_$ac_useropt"
835 "*) ;;
836       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
837          ac_unrecognized_sep=', ';;
838     esac
839     eval enable_$ac_useropt=no ;;
840
841   -docdir | --docdir | --docdi | --doc | --do)
842     ac_prev=docdir ;;
843   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
844     docdir=$ac_optarg ;;
845
846   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
847     ac_prev=dvidir ;;
848   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
849     dvidir=$ac_optarg ;;
850
851   -enable-* | --enable-*)
852     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
853     # Reject names that are not valid shell variable names.
854     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
855       as_fn_error $? "invalid feature name: $ac_useropt"
856     ac_useropt_orig=$ac_useropt
857     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
858     case $ac_user_opts in
859       *"
860 "enable_$ac_useropt"
861 "*) ;;
862       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
863          ac_unrecognized_sep=', ';;
864     esac
865     eval enable_$ac_useropt=\$ac_optarg ;;
866
867   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
868   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
869   | --exec | --exe | --ex)
870     ac_prev=exec_prefix ;;
871   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
872   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
873   | --exec=* | --exe=* | --ex=*)
874     exec_prefix=$ac_optarg ;;
875
876   -gas | --gas | --ga | --g)
877     # Obsolete; use --with-gas.
878     with_gas=yes ;;
879
880   -help | --help | --hel | --he | -h)
881     ac_init_help=long ;;
882   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
883     ac_init_help=recursive ;;
884   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
885     ac_init_help=short ;;
886
887   -host | --host | --hos | --ho)
888     ac_prev=host_alias ;;
889   -host=* | --host=* | --hos=* | --ho=*)
890     host_alias=$ac_optarg ;;
891
892   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
893     ac_prev=htmldir ;;
894   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
895   | --ht=*)
896     htmldir=$ac_optarg ;;
897
898   -includedir | --includedir | --includedi | --included | --include \
899   | --includ | --inclu | --incl | --inc)
900     ac_prev=includedir ;;
901   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
902   | --includ=* | --inclu=* | --incl=* | --inc=*)
903     includedir=$ac_optarg ;;
904
905   -infodir | --infodir | --infodi | --infod | --info | --inf)
906     ac_prev=infodir ;;
907   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
908     infodir=$ac_optarg ;;
909
910   -libdir | --libdir | --libdi | --libd)
911     ac_prev=libdir ;;
912   -libdir=* | --libdir=* | --libdi=* | --libd=*)
913     libdir=$ac_optarg ;;
914
915   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
916   | --libexe | --libex | --libe)
917     ac_prev=libexecdir ;;
918   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
919   | --libexe=* | --libex=* | --libe=*)
920     libexecdir=$ac_optarg ;;
921
922   -localedir | --localedir | --localedi | --localed | --locale)
923     ac_prev=localedir ;;
924   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
925     localedir=$ac_optarg ;;
926
927   -localstatedir | --localstatedir | --localstatedi | --localstated \
928   | --localstate | --localstat | --localsta | --localst | --locals)
929     ac_prev=localstatedir ;;
930   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
931   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
932     localstatedir=$ac_optarg ;;
933
934   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
935     ac_prev=mandir ;;
936   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
937     mandir=$ac_optarg ;;
938
939   -nfp | --nfp | --nf)
940     # Obsolete; use --without-fp.
941     with_fp=no ;;
942
943   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
944   | --no-cr | --no-c | -n)
945     no_create=yes ;;
946
947   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
948   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
949     no_recursion=yes ;;
950
951   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
952   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
953   | --oldin | --oldi | --old | --ol | --o)
954     ac_prev=oldincludedir ;;
955   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
956   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
957   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
958     oldincludedir=$ac_optarg ;;
959
960   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
961     ac_prev=prefix ;;
962   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
963     prefix=$ac_optarg ;;
964
965   -program-prefix | --program-prefix | --program-prefi | --program-pref \
966   | --program-pre | --program-pr | --program-p)
967     ac_prev=program_prefix ;;
968   -program-prefix=* | --program-prefix=* | --program-prefi=* \
969   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
970     program_prefix=$ac_optarg ;;
971
972   -program-suffix | --program-suffix | --program-suffi | --program-suff \
973   | --program-suf | --program-su | --program-s)
974     ac_prev=program_suffix ;;
975   -program-suffix=* | --program-suffix=* | --program-suffi=* \
976   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
977     program_suffix=$ac_optarg ;;
978
979   -program-transform-name | --program-transform-name \
980   | --program-transform-nam | --program-transform-na \
981   | --program-transform-n | --program-transform- \
982   | --program-transform | --program-transfor \
983   | --program-transfo | --program-transf \
984   | --program-trans | --program-tran \
985   | --progr-tra | --program-tr | --program-t)
986     ac_prev=program_transform_name ;;
987   -program-transform-name=* | --program-transform-name=* \
988   | --program-transform-nam=* | --program-transform-na=* \
989   | --program-transform-n=* | --program-transform-=* \
990   | --program-transform=* | --program-transfor=* \
991   | --program-transfo=* | --program-transf=* \
992   | --program-trans=* | --program-tran=* \
993   | --progr-tra=* | --program-tr=* | --program-t=*)
994     program_transform_name=$ac_optarg ;;
995
996   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
997     ac_prev=pdfdir ;;
998   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
999     pdfdir=$ac_optarg ;;
1000
1001   -psdir | --psdir | --psdi | --psd | --ps)
1002     ac_prev=psdir ;;
1003   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1004     psdir=$ac_optarg ;;
1005
1006   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1007   | -silent | --silent | --silen | --sile | --sil)
1008     silent=yes ;;
1009
1010   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1011     ac_prev=sbindir ;;
1012   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1013   | --sbi=* | --sb=*)
1014     sbindir=$ac_optarg ;;
1015
1016   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1017   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1018   | --sharedst | --shareds | --shared | --share | --shar \
1019   | --sha | --sh)
1020     ac_prev=sharedstatedir ;;
1021   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1022   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1023   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1024   | --sha=* | --sh=*)
1025     sharedstatedir=$ac_optarg ;;
1026
1027   -site | --site | --sit)
1028     ac_prev=site ;;
1029   -site=* | --site=* | --sit=*)
1030     site=$ac_optarg ;;
1031
1032   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1033     ac_prev=srcdir ;;
1034   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1035     srcdir=$ac_optarg ;;
1036
1037   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1038   | --syscon | --sysco | --sysc | --sys | --sy)
1039     ac_prev=sysconfdir ;;
1040   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1041   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1042     sysconfdir=$ac_optarg ;;
1043
1044   -target | --target | --targe | --targ | --tar | --ta | --t)
1045     ac_prev=target_alias ;;
1046   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1047     target_alias=$ac_optarg ;;
1048
1049   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1050     verbose=yes ;;
1051
1052   -version | --version | --versio | --versi | --vers | -V)
1053     ac_init_version=: ;;
1054
1055   -with-* | --with-*)
1056     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1057     # Reject names that are not valid shell variable names.
1058     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1059       as_fn_error $? "invalid package name: $ac_useropt"
1060     ac_useropt_orig=$ac_useropt
1061     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1062     case $ac_user_opts in
1063       *"
1064 "with_$ac_useropt"
1065 "*) ;;
1066       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1067          ac_unrecognized_sep=', ';;
1068     esac
1069     eval with_$ac_useropt=\$ac_optarg ;;
1070
1071   -without-* | --without-*)
1072     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1073     # Reject names that are not valid shell variable names.
1074     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1075       as_fn_error $? "invalid package name: $ac_useropt"
1076     ac_useropt_orig=$ac_useropt
1077     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1078     case $ac_user_opts in
1079       *"
1080 "with_$ac_useropt"
1081 "*) ;;
1082       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1083          ac_unrecognized_sep=', ';;
1084     esac
1085     eval with_$ac_useropt=no ;;
1086
1087   --x)
1088     # Obsolete; use --with-x.
1089     with_x=yes ;;
1090
1091   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1092   | --x-incl | --x-inc | --x-in | --x-i)
1093     ac_prev=x_includes ;;
1094   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1095   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1096     x_includes=$ac_optarg ;;
1097
1098   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1099   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1100     ac_prev=x_libraries ;;
1101   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1102   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1103     x_libraries=$ac_optarg ;;
1104
1105   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1106 Try \`$0 --help' for more information"
1107     ;;
1108
1109   *=*)
1110     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1111     # Reject names that are not valid shell variable names.
1112     case $ac_envvar in #(
1113       '' | [0-9]* | *[!_$as_cr_alnum]* )
1114       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1115     esac
1116     eval $ac_envvar=\$ac_optarg
1117     export $ac_envvar ;;
1118
1119   *)
1120     # FIXME: should be removed in autoconf 3.0.
1121     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1122     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1123       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1124     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1125     ;;
1126
1127   esac
1128 done
1129
1130 if test -n "$ac_prev"; then
1131   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1132   as_fn_error $? "missing argument to $ac_option"
1133 fi
1134
1135 if test -n "$ac_unrecognized_opts"; then
1136   case $enable_option_checking in
1137     no) ;;
1138     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1139     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1140   esac
1141 fi
1142
1143 # Check all directory arguments for consistency.
1144 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1145                 datadir sysconfdir sharedstatedir localstatedir includedir \
1146                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1147                 libdir localedir mandir
1148 do
1149   eval ac_val=\$$ac_var
1150   # Remove trailing slashes.
1151   case $ac_val in
1152     */ )
1153       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1154       eval $ac_var=\$ac_val;;
1155   esac
1156   # Be sure to have absolute directory names.
1157   case $ac_val in
1158     [\\/$]* | ?:[\\/]* )  continue;;
1159     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1160   esac
1161   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1162 done
1163
1164 # There might be people who depend on the old broken behavior: `$host'
1165 # used to hold the argument of --host etc.
1166 # FIXME: To remove some day.
1167 build=$build_alias
1168 host=$host_alias
1169 target=$target_alias
1170
1171 # FIXME: To remove some day.
1172 if test "x$host_alias" != x; then
1173   if test "x$build_alias" = x; then
1174     cross_compiling=maybe
1175     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1176     If a cross compiler is detected then cross compile mode will be used" >&2
1177   elif test "x$build_alias" != "x$host_alias"; then
1178     cross_compiling=yes
1179   fi
1180 fi
1181
1182 ac_tool_prefix=
1183 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1184
1185 test "$silent" = yes && exec 6>/dev/null
1186
1187
1188 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1189 ac_ls_di=`ls -di .` &&
1190 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1191   as_fn_error $? "working directory cannot be determined"
1192 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1193   as_fn_error $? "pwd does not report name of working directory"
1194
1195
1196 # Find the source files, if location was not specified.
1197 if test -z "$srcdir"; then
1198   ac_srcdir_defaulted=yes
1199   # Try the directory containing this script, then the parent directory.
1200   ac_confdir=`$as_dirname -- "$as_myself" ||
1201 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1202          X"$as_myself" : 'X\(//\)[^/]' \| \
1203          X"$as_myself" : 'X\(//\)$' \| \
1204          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1205 $as_echo X"$as_myself" |
1206     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1207             s//\1/
1208             q
1209           }
1210           /^X\(\/\/\)[^/].*/{
1211             s//\1/
1212             q
1213           }
1214           /^X\(\/\/\)$/{
1215             s//\1/
1216             q
1217           }
1218           /^X\(\/\).*/{
1219             s//\1/
1220             q
1221           }
1222           s/.*/./; q'`
1223   srcdir=$ac_confdir
1224   if test ! -r "$srcdir/$ac_unique_file"; then
1225     srcdir=..
1226   fi
1227 else
1228   ac_srcdir_defaulted=no
1229 fi
1230 if test ! -r "$srcdir/$ac_unique_file"; then
1231   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1232   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1233 fi
1234 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1235 ac_abs_confdir=`(
1236         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1237         pwd)`
1238 # When building in place, set srcdir=.
1239 if test "$ac_abs_confdir" = "$ac_pwd"; then
1240   srcdir=.
1241 fi
1242 # Remove unnecessary trailing slashes from srcdir.
1243 # Double slashes in file names in object file debugging info
1244 # mess up M-x gdb in Emacs.
1245 case $srcdir in
1246 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1247 esac
1248 for ac_var in $ac_precious_vars; do
1249   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1250   eval ac_env_${ac_var}_value=\$${ac_var}
1251   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1252   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1253 done
1254
1255 #
1256 # Report the --help message.
1257 #
1258 if test "$ac_init_help" = "long"; then
1259   # Omit some internal or obsolete options to make the list less imposing.
1260   # This message is too long to be a string in the A/UX 3.1 sh.
1261   cat <<_ACEOF
1262 \`configure' configures atlc 4.6.1 to adapt to many kinds of systems.
1263
1264 Usage: $0 [OPTION]... [VAR=VALUE]...
1265
1266 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1267 VAR=VALUE.  See below for descriptions of some of the useful variables.
1268
1269 Defaults for the options are specified in brackets.
1270
1271 Configuration:
1272   -h, --help              display this help and exit
1273       --help=short        display options specific to this package
1274       --help=recursive    display the short help of all the included packages
1275   -V, --version           display version information and exit
1276   -q, --quiet, --silent   do not print \`checking ...' messages
1277       --cache-file=FILE   cache test results in FILE [disabled]
1278   -C, --config-cache      alias for \`--cache-file=config.cache'
1279   -n, --no-create         do not create output files
1280       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1281
1282 Installation directories:
1283   --prefix=PREFIX         install architecture-independent files in PREFIX
1284                           [$ac_default_prefix]
1285   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1286                           [PREFIX]
1287
1288 By default, \`make install' will install all the files in
1289 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1290 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1291 for instance \`--prefix=\$HOME'.
1292
1293 For better control, use the options below.
1294
1295 Fine tuning of the installation directories:
1296   --bindir=DIR            user executables [EPREFIX/bin]
1297   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1298   --libexecdir=DIR        program executables [EPREFIX/libexec]
1299   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1300   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1301   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1302   --libdir=DIR            object code libraries [EPREFIX/lib]
1303   --includedir=DIR        C header files [PREFIX/include]
1304   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1305   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1306   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1307   --infodir=DIR           info documentation [DATAROOTDIR/info]
1308   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1309   --mandir=DIR            man documentation [DATAROOTDIR/man]
1310   --docdir=DIR            documentation root [DATAROOTDIR/doc/atlc]
1311   --htmldir=DIR           html documentation [DOCDIR]
1312   --dvidir=DIR            dvi documentation [DOCDIR]
1313   --pdfdir=DIR            pdf documentation [DOCDIR]
1314   --psdir=DIR             ps documentation [DOCDIR]
1315 _ACEOF
1316
1317   cat <<\_ACEOF
1318
1319 Program names:
1320   --program-prefix=PREFIX            prepend PREFIX to installed program names
1321   --program-suffix=SUFFIX            append SUFFIX to installed program names
1322   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1323
1324 System types:
1325   --build=BUILD     configure for building on BUILD [guessed]
1326   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1327 _ACEOF
1328 fi
1329
1330 if test -n "$ac_init_help"; then
1331   case $ac_init_help in
1332      short | recursive ) echo "Configuration of atlc 4.6.1:";;
1333    esac
1334   cat <<\_ACEOF
1335
1336 Optional Features:
1337   --disable-option-checking  ignore unrecognized --enable/--with options
1338   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1339   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1340   --disable-dependency-tracking  speeds up one-time build
1341   --enable-dependency-tracking   do not reject slow dependency extractors
1342   --enable-debug          with debugging code
1343   --disable-hardware-info Find out information about hardware (Disable if
1344                           compilation fails during 'make check')
1345
1346 Some influential environment variables:
1347   CC          C compiler command
1348   CFLAGS      C compiler flags
1349   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1350               nonstandard directory <lib dir>
1351   LIBS        libraries to pass to the linker, e.g. -l<library>
1352   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1353               you have headers in a nonstandard directory <include dir>
1354   CPP         C preprocessor
1355
1356 Use these variables to override the choices made by `configure' or to help
1357 it to find libraries and programs with nonstandard names/locations.
1358
1359 Report bugs to <drkirkby@gmail.com>.
1360 _ACEOF
1361 ac_status=$?
1362 fi
1363
1364 if test "$ac_init_help" = "recursive"; then
1365   # If there are subdirs, report their specific --help.
1366   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1367     test -d "$ac_dir" ||
1368       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1369       continue
1370     ac_builddir=.
1371
1372 case "$ac_dir" in
1373 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1374 *)
1375   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1376   # A ".." for each directory in $ac_dir_suffix.
1377   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1378   case $ac_top_builddir_sub in
1379   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1380   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1381   esac ;;
1382 esac
1383 ac_abs_top_builddir=$ac_pwd
1384 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1385 # for backward compatibility:
1386 ac_top_builddir=$ac_top_build_prefix
1387
1388 case $srcdir in
1389   .)  # We are building in place.
1390     ac_srcdir=.
1391     ac_top_srcdir=$ac_top_builddir_sub
1392     ac_abs_top_srcdir=$ac_pwd ;;
1393   [\\/]* | ?:[\\/]* )  # Absolute name.
1394     ac_srcdir=$srcdir$ac_dir_suffix;
1395     ac_top_srcdir=$srcdir
1396     ac_abs_top_srcdir=$srcdir ;;
1397   *) # Relative name.
1398     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1399     ac_top_srcdir=$ac_top_build_prefix$srcdir
1400     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1401 esac
1402 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1403
1404     cd "$ac_dir" || { ac_status=$?; continue; }
1405     # Check for guested configure.
1406     if test -f "$ac_srcdir/configure.gnu"; then
1407       echo &&
1408       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1409     elif test -f "$ac_srcdir/configure"; then
1410       echo &&
1411       $SHELL "$ac_srcdir/configure" --help=recursive
1412     else
1413       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1414     fi || ac_status=$?
1415     cd "$ac_pwd" || { ac_status=$?; break; }
1416   done
1417 fi
1418
1419 test -n "$ac_init_help" && exit $ac_status
1420 if $ac_init_version; then
1421   cat <<\_ACEOF
1422 atlc configure 4.6.1
1423 generated by GNU Autoconf 2.68
1424
1425 Copyright (C) 2010 Free Software Foundation, Inc.
1426 This configure script is free software; the Free Software Foundation
1427 gives unlimited permission to copy, distribute and modify it.
1428 _ACEOF
1429   exit
1430 fi
1431
1432 ## ------------------------ ##
1433 ## Autoconf initialization. ##
1434 ## ------------------------ ##
1435
1436 # ac_fn_c_try_compile LINENO
1437 # --------------------------
1438 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1439 ac_fn_c_try_compile ()
1440 {
1441   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1442   rm -f conftest.$ac_objext
1443   if { { ac_try="$ac_compile"
1444 case "(($ac_try" in
1445   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1446   *) ac_try_echo=$ac_try;;
1447 esac
1448 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1449 $as_echo "$ac_try_echo"; } >&5
1450   (eval "$ac_compile") 2>conftest.err
1451   ac_status=$?
1452   if test -s conftest.err; then
1453     grep -v '^ *+' conftest.err >conftest.er1
1454     cat conftest.er1 >&5
1455     mv -f conftest.er1 conftest.err
1456   fi
1457   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1458   test $ac_status = 0; } && {
1459          test -z "$ac_c_werror_flag" ||
1460          test ! -s conftest.err
1461        } && test -s conftest.$ac_objext; then :
1462   ac_retval=0
1463 else
1464   $as_echo "$as_me: failed program was:" >&5
1465 sed 's/^/| /' conftest.$ac_ext >&5
1466
1467         ac_retval=1
1468 fi
1469   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1470   as_fn_set_status $ac_retval
1471
1472 } # ac_fn_c_try_compile
1473
1474 # ac_fn_c_try_link LINENO
1475 # -----------------------
1476 # Try to link conftest.$ac_ext, and return whether this succeeded.
1477 ac_fn_c_try_link ()
1478 {
1479   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1480   rm -f conftest.$ac_objext conftest$ac_exeext
1481   if { { ac_try="$ac_link"
1482 case "(($ac_try" in
1483   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1484   *) ac_try_echo=$ac_try;;
1485 esac
1486 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1487 $as_echo "$ac_try_echo"; } >&5
1488   (eval "$ac_link") 2>conftest.err
1489   ac_status=$?
1490   if test -s conftest.err; then
1491     grep -v '^ *+' conftest.err >conftest.er1
1492     cat conftest.er1 >&5
1493     mv -f conftest.er1 conftest.err
1494   fi
1495   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1496   test $ac_status = 0; } && {
1497          test -z "$ac_c_werror_flag" ||
1498          test ! -s conftest.err
1499        } && test -s conftest$ac_exeext && {
1500          test "$cross_compiling" = yes ||
1501          $as_test_x conftest$ac_exeext
1502        }; then :
1503   ac_retval=0
1504 else
1505   $as_echo "$as_me: failed program was:" >&5
1506 sed 's/^/| /' conftest.$ac_ext >&5
1507
1508         ac_retval=1
1509 fi
1510   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1511   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1512   # interfere with the next link command; also delete a directory that is
1513   # left behind by Apple's compiler.  We do this before executing the actions.
1514   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1515   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1516   as_fn_set_status $ac_retval
1517
1518 } # ac_fn_c_try_link
1519
1520 # ac_fn_c_try_cpp LINENO
1521 # ----------------------
1522 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1523 ac_fn_c_try_cpp ()
1524 {
1525   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1526   if { { ac_try="$ac_cpp conftest.$ac_ext"
1527 case "(($ac_try" in
1528   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1529   *) ac_try_echo=$ac_try;;
1530 esac
1531 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1532 $as_echo "$ac_try_echo"; } >&5
1533   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1534   ac_status=$?
1535   if test -s conftest.err; then
1536     grep -v '^ *+' conftest.err >conftest.er1
1537     cat conftest.er1 >&5
1538     mv -f conftest.er1 conftest.err
1539   fi
1540   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1541   test $ac_status = 0; } > conftest.i && {
1542          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1543          test ! -s conftest.err
1544        }; then :
1545   ac_retval=0
1546 else
1547   $as_echo "$as_me: failed program was:" >&5
1548 sed 's/^/| /' conftest.$ac_ext >&5
1549
1550     ac_retval=1
1551 fi
1552   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1553   as_fn_set_status $ac_retval
1554
1555 } # ac_fn_c_try_cpp
1556
1557 # ac_fn_c_try_run LINENO
1558 # ----------------------
1559 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1560 # that executables *can* be run.
1561 ac_fn_c_try_run ()
1562 {
1563   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1564   if { { ac_try="$ac_link"
1565 case "(($ac_try" in
1566   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1567   *) ac_try_echo=$ac_try;;
1568 esac
1569 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1570 $as_echo "$ac_try_echo"; } >&5
1571   (eval "$ac_link") 2>&5
1572   ac_status=$?
1573   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1574   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1575   { { case "(($ac_try" in
1576   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1577   *) ac_try_echo=$ac_try;;
1578 esac
1579 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1580 $as_echo "$ac_try_echo"; } >&5
1581   (eval "$ac_try") 2>&5
1582   ac_status=$?
1583   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1584   test $ac_status = 0; }; }; then :
1585   ac_retval=0
1586 else
1587   $as_echo "$as_me: program exited with status $ac_status" >&5
1588        $as_echo "$as_me: failed program was:" >&5
1589 sed 's/^/| /' conftest.$ac_ext >&5
1590
1591        ac_retval=$ac_status
1592 fi
1593   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1594   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1595   as_fn_set_status $ac_retval
1596
1597 } # ac_fn_c_try_run
1598
1599 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1600 # -------------------------------------------------------
1601 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1602 # the include files in INCLUDES and setting the cache variable VAR
1603 # accordingly.
1604 ac_fn_c_check_header_mongrel ()
1605 {
1606   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1607   if eval \${$3+:} false; then :
1608   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1609 $as_echo_n "checking for $2... " >&6; }
1610 if eval \${$3+:} false; then :
1611   $as_echo_n "(cached) " >&6
1612 fi
1613 eval ac_res=\$$3
1614                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1615 $as_echo "$ac_res" >&6; }
1616 else
1617   # Is the header compilable?
1618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1619 $as_echo_n "checking $2 usability... " >&6; }
1620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1621 /* end confdefs.h.  */
1622 $4
1623 #include <$2>
1624 _ACEOF
1625 if ac_fn_c_try_compile "$LINENO"; then :
1626   ac_header_compiler=yes
1627 else
1628   ac_header_compiler=no
1629 fi
1630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1632 $as_echo "$ac_header_compiler" >&6; }
1633
1634 # Is the header present?
1635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1636 $as_echo_n "checking $2 presence... " >&6; }
1637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1638 /* end confdefs.h.  */
1639 #include <$2>
1640 _ACEOF
1641 if ac_fn_c_try_cpp "$LINENO"; then :
1642   ac_header_preproc=yes
1643 else
1644   ac_header_preproc=no
1645 fi
1646 rm -f conftest.err conftest.i conftest.$ac_ext
1647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1648 $as_echo "$ac_header_preproc" >&6; }
1649
1650 # So?  What about this header?
1651 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1652   yes:no: )
1653     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1654 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1655     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1656 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1657     ;;
1658   no:yes:* )
1659     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1660 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1661     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1662 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1663     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1664 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1665     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1666 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1667     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1668 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1669 ( $as_echo "## --------------------------------- ##
1670 ## Report this to drkirkby@gmail.com ##
1671 ## --------------------------------- ##"
1672      ) | sed "s/^/$as_me: WARNING:     /" >&2
1673     ;;
1674 esac
1675   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1676 $as_echo_n "checking for $2... " >&6; }
1677 if eval \${$3+:} false; then :
1678   $as_echo_n "(cached) " >&6
1679 else
1680   eval "$3=\$ac_header_compiler"
1681 fi
1682 eval ac_res=\$$3
1683                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1684 $as_echo "$ac_res" >&6; }
1685 fi
1686   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1687
1688 } # ac_fn_c_check_header_mongrel
1689
1690 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1691 # -------------------------------------------------------
1692 # Tests whether HEADER exists and can be compiled using the include files in
1693 # INCLUDES, setting the cache variable VAR accordingly.
1694 ac_fn_c_check_header_compile ()
1695 {
1696   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1697   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1698 $as_echo_n "checking for $2... " >&6; }
1699 if eval \${$3+:} false; then :
1700   $as_echo_n "(cached) " >&6
1701 else
1702   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1703 /* end confdefs.h.  */
1704 $4
1705 #include <$2>
1706 _ACEOF
1707 if ac_fn_c_try_compile "$LINENO"; then :
1708   eval "$3=yes"
1709 else
1710   eval "$3=no"
1711 fi
1712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1713 fi
1714 eval ac_res=\$$3
1715                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1716 $as_echo "$ac_res" >&6; }
1717   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1718
1719 } # ac_fn_c_check_header_compile
1720
1721 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1722 # -------------------------------------------
1723 # Tests whether TYPE exists after having included INCLUDES, setting cache
1724 # variable VAR accordingly.
1725 ac_fn_c_check_type ()
1726 {
1727   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1728   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1729 $as_echo_n "checking for $2... " >&6; }
1730 if eval \${$3+:} false; then :
1731   $as_echo_n "(cached) " >&6
1732 else
1733   eval "$3=no"
1734   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1735 /* end confdefs.h.  */
1736 $4
1737 int
1738 main ()
1739 {
1740 if (sizeof ($2))
1741          return 0;
1742   ;
1743   return 0;
1744 }
1745 _ACEOF
1746 if ac_fn_c_try_compile "$LINENO"; then :
1747   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1748 /* end confdefs.h.  */
1749 $4
1750 int
1751 main ()
1752 {
1753 if (sizeof (($2)))
1754             return 0;
1755   ;
1756   return 0;
1757 }
1758 _ACEOF
1759 if ac_fn_c_try_compile "$LINENO"; then :
1760
1761 else
1762   eval "$3=yes"
1763 fi
1764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1765 fi
1766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1767 fi
1768 eval ac_res=\$$3
1769                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1770 $as_echo "$ac_res" >&6; }
1771   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1772
1773 } # ac_fn_c_check_type
1774
1775 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1776 # --------------------------------------------
1777 # Tries to find the compile-time value of EXPR in a program that includes
1778 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1779 # computed
1780 ac_fn_c_compute_int ()
1781 {
1782   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1783   if test "$cross_compiling" = yes; then
1784     # Depending upon the size, compute the lo and hi bounds.
1785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1786 /* end confdefs.h.  */
1787 $4
1788 int
1789 main ()
1790 {
1791 static int test_array [1 - 2 * !(($2) >= 0)];
1792 test_array [0] = 0
1793
1794   ;
1795   return 0;
1796 }
1797 _ACEOF
1798 if ac_fn_c_try_compile "$LINENO"; then :
1799   ac_lo=0 ac_mid=0
1800   while :; do
1801     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1802 /* end confdefs.h.  */
1803 $4
1804 int
1805 main ()
1806 {
1807 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1808 test_array [0] = 0
1809
1810   ;
1811   return 0;
1812 }
1813 _ACEOF
1814 if ac_fn_c_try_compile "$LINENO"; then :
1815   ac_hi=$ac_mid; break
1816 else
1817   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1818                         if test $ac_lo -le $ac_mid; then
1819                           ac_lo= ac_hi=
1820                           break
1821                         fi
1822                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1823 fi
1824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1825   done
1826 else
1827   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1828 /* end confdefs.h.  */
1829 $4
1830 int
1831 main ()
1832 {
1833 static int test_array [1 - 2 * !(($2) < 0)];
1834 test_array [0] = 0
1835
1836   ;
1837   return 0;
1838 }
1839 _ACEOF
1840 if ac_fn_c_try_compile "$LINENO"; then :
1841   ac_hi=-1 ac_mid=-1
1842   while :; do
1843     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1844 /* end confdefs.h.  */
1845 $4
1846 int
1847 main ()
1848 {
1849 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1850 test_array [0] = 0
1851
1852   ;
1853   return 0;
1854 }
1855 _ACEOF
1856 if ac_fn_c_try_compile "$LINENO"; then :
1857   ac_lo=$ac_mid; break
1858 else
1859   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1860                         if test $ac_mid -le $ac_hi; then
1861                           ac_lo= ac_hi=
1862                           break
1863                         fi
1864                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1865 fi
1866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1867   done
1868 else
1869   ac_lo= ac_hi=
1870 fi
1871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1872 fi
1873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1874 # Binary search between lo and hi bounds.
1875 while test "x$ac_lo" != "x$ac_hi"; do
1876   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1877   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1878 /* end confdefs.h.  */
1879 $4
1880 int
1881 main ()
1882 {
1883 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1884 test_array [0] = 0
1885
1886   ;
1887   return 0;
1888 }
1889 _ACEOF
1890 if ac_fn_c_try_compile "$LINENO"; then :
1891   ac_hi=$ac_mid
1892 else
1893   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1894 fi
1895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1896 done
1897 case $ac_lo in #((
1898 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1899 '') ac_retval=1 ;;
1900 esac
1901   else
1902     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1903 /* end confdefs.h.  */
1904 $4
1905 static long int longval () { return $2; }
1906 static unsigned long int ulongval () { return $2; }
1907 #include <stdio.h>
1908 #include <stdlib.h>
1909 int
1910 main ()
1911 {
1912
1913   FILE *f = fopen ("conftest.val", "w");
1914   if (! f)
1915     return 1;
1916   if (($2) < 0)
1917     {
1918       long int i = longval ();
1919       if (i != ($2))
1920         return 1;
1921       fprintf (f, "%ld", i);
1922     }
1923   else
1924     {
1925       unsigned long int i = ulongval ();
1926       if (i != ($2))
1927         return 1;
1928       fprintf (f, "%lu", i);
1929     }
1930   /* Do not output a trailing newline, as this causes \r\n confusion
1931      on some platforms.  */
1932   return ferror (f) || fclose (f) != 0;
1933
1934   ;
1935   return 0;
1936 }
1937 _ACEOF
1938 if ac_fn_c_try_run "$LINENO"; then :
1939   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
1940 else
1941   ac_retval=1
1942 fi
1943 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1944   conftest.$ac_objext conftest.beam conftest.$ac_ext
1945 rm -f conftest.val
1946
1947   fi
1948   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1949   as_fn_set_status $ac_retval
1950
1951 } # ac_fn_c_compute_int
1952
1953 # ac_fn_c_check_func LINENO FUNC VAR
1954 # ----------------------------------
1955 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1956 ac_fn_c_check_func ()
1957 {
1958   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1959   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1960 $as_echo_n "checking for $2... " >&6; }
1961 if eval \${$3+:} false; then :
1962   $as_echo_n "(cached) " >&6
1963 else
1964   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1965 /* end confdefs.h.  */
1966 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1967    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1968 #define $2 innocuous_$2
1969
1970 /* System header to define __stub macros and hopefully few prototypes,
1971     which can conflict with char $2 (); below.
1972     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1973     <limits.h> exists even on freestanding compilers.  */
1974
1975 #ifdef __STDC__
1976 # include <limits.h>
1977 #else
1978 # include <assert.h>
1979 #endif
1980
1981 #undef $2
1982
1983 /* Override any GCC internal prototype to avoid an error.
1984    Use char because int might match the return type of a GCC
1985    builtin and then its argument prototype would still apply.  */
1986 #ifdef __cplusplus
1987 extern "C"
1988 #endif
1989 char $2 ();
1990 /* The GNU C library defines this for functions which it implements
1991     to always fail with ENOSYS.  Some functions are actually named
1992     something starting with __ and the normal name is an alias.  */
1993 #if defined __stub_$2 || defined __stub___$2
1994 choke me
1995 #endif
1996
1997 int
1998 main ()
1999 {
2000 return $2 ();
2001   ;
2002   return 0;
2003 }
2004 _ACEOF
2005 if ac_fn_c_try_link "$LINENO"; then :
2006   eval "$3=yes"
2007 else
2008   eval "$3=no"
2009 fi
2010 rm -f core conftest.err conftest.$ac_objext \
2011     conftest$ac_exeext conftest.$ac_ext
2012 fi
2013 eval ac_res=\$$3
2014                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2015 $as_echo "$ac_res" >&6; }
2016   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2017
2018 } # ac_fn_c_check_func
2019
2020 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2021 # ---------------------------------------------
2022 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2023 # accordingly.
2024 ac_fn_c_check_decl ()
2025 {
2026   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2027   as_decl_name=`echo $2|sed 's/ *(.*//'`
2028   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2029   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2030 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2031 if eval \${$3+:} false; then :
2032   $as_echo_n "(cached) " >&6
2033 else
2034   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2035 /* end confdefs.h.  */
2036 $4
2037 int
2038 main ()
2039 {
2040 #ifndef $as_decl_name
2041 #ifdef __cplusplus
2042   (void) $as_decl_use;
2043 #else
2044   (void) $as_decl_name;
2045 #endif
2046 #endif
2047
2048   ;
2049   return 0;
2050 }
2051 _ACEOF
2052 if ac_fn_c_try_compile "$LINENO"; then :
2053   eval "$3=yes"
2054 else
2055   eval "$3=no"
2056 fi
2057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2058 fi
2059 eval ac_res=\$$3
2060                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2061 $as_echo "$ac_res" >&6; }
2062   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2063
2064 } # ac_fn_c_check_decl
2065 cat >config.log <<_ACEOF
2066 This file contains any messages produced by compilers while
2067 running configure, to aid debugging if configure makes a mistake.
2068
2069 It was created by atlc $as_me 4.6.1, which was
2070 generated by GNU Autoconf 2.68.  Invocation command line was
2071
2072   $ $0 $@
2073
2074 _ACEOF
2075 exec 5>>config.log
2076 {
2077 cat <<_ASUNAME
2078 ## --------- ##
2079 ## Platform. ##
2080 ## --------- ##
2081
2082 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2083 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2084 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2085 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2086 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2087
2088 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2089 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2090
2091 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2092 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2093 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2094 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2095 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2096 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2097 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2098
2099 _ASUNAME
2100
2101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2102 for as_dir in $PATH
2103 do
2104   IFS=$as_save_IFS
2105   test -z "$as_dir" && as_dir=.
2106     $as_echo "PATH: $as_dir"
2107   done
2108 IFS=$as_save_IFS
2109
2110 } >&5
2111
2112 cat >&5 <<_ACEOF
2113
2114
2115 ## ----------- ##
2116 ## Core tests. ##
2117 ## ----------- ##
2118
2119 _ACEOF
2120
2121
2122 # Keep a trace of the command line.
2123 # Strip out --no-create and --no-recursion so they do not pile up.
2124 # Strip out --silent because we don't want to record it for future runs.
2125 # Also quote any args containing shell meta-characters.
2126 # Make two passes to allow for proper duplicate-argument suppression.
2127 ac_configure_args=
2128 ac_configure_args0=
2129 ac_configure_args1=
2130 ac_must_keep_next=false
2131 for ac_pass in 1 2
2132 do
2133   for ac_arg
2134   do
2135     case $ac_arg in
2136     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2137     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2138     | -silent | --silent | --silen | --sile | --sil)
2139       continue ;;
2140     *\'*)
2141       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2142     esac
2143     case $ac_pass in
2144     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2145     2)
2146       as_fn_append ac_configure_args1 " '$ac_arg'"
2147       if test $ac_must_keep_next = true; then
2148         ac_must_keep_next=false # Got value, back to normal.
2149       else
2150         case $ac_arg in
2151           *=* | --config-cache | -C | -disable-* | --disable-* \
2152           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2153           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2154           | -with-* | --with-* | -without-* | --without-* | --x)
2155             case "$ac_configure_args0 " in
2156               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2157             esac
2158             ;;
2159           -* ) ac_must_keep_next=true ;;
2160         esac
2161       fi
2162       as_fn_append ac_configure_args " '$ac_arg'"
2163       ;;
2164     esac
2165   done
2166 done
2167 { ac_configure_args0=; unset ac_configure_args0;}
2168 { ac_configure_args1=; unset ac_configure_args1;}
2169
2170 # When interrupted or exit'd, cleanup temporary files, and complete
2171 # config.log.  We remove comments because anyway the quotes in there
2172 # would cause problems or look ugly.
2173 # WARNING: Use '\'' to represent an apostrophe within the trap.
2174 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2175 trap 'exit_status=$?
2176   # Save into config.log some information that might help in debugging.
2177   {
2178     echo
2179
2180     $as_echo "## ---------------- ##
2181 ## Cache variables. ##
2182 ## ---------------- ##"
2183     echo
2184     # The following way of writing the cache mishandles newlines in values,
2185 (
2186   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2187     eval ac_val=\$$ac_var
2188     case $ac_val in #(
2189     *${as_nl}*)
2190       case $ac_var in #(
2191       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2192 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2193       esac
2194       case $ac_var in #(
2195       _ | IFS | as_nl) ;; #(
2196       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2197       *) { eval $ac_var=; unset $ac_var;} ;;
2198       esac ;;
2199     esac
2200   done
2201   (set) 2>&1 |
2202     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2203     *${as_nl}ac_space=\ *)
2204       sed -n \
2205         "s/'\''/'\''\\\\'\'''\''/g;
2206           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2207       ;; #(
2208     *)
2209       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2210       ;;
2211     esac |
2212     sort
2213 )
2214     echo
2215
2216     $as_echo "## ----------------- ##
2217 ## Output variables. ##
2218 ## ----------------- ##"
2219     echo
2220     for ac_var in $ac_subst_vars
2221     do
2222       eval ac_val=\$$ac_var
2223       case $ac_val in
2224       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2225       esac
2226       $as_echo "$ac_var='\''$ac_val'\''"
2227     done | sort
2228     echo
2229
2230     if test -n "$ac_subst_files"; then
2231       $as_echo "## ------------------- ##
2232 ## File substitutions. ##
2233 ## ------------------- ##"
2234       echo
2235       for ac_var in $ac_subst_files
2236       do
2237         eval ac_val=\$$ac_var
2238         case $ac_val in
2239         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2240         esac
2241         $as_echo "$ac_var='\''$ac_val'\''"
2242       done | sort
2243       echo
2244     fi
2245
2246     if test -s confdefs.h; then
2247       $as_echo "## ----------- ##
2248 ## confdefs.h. ##
2249 ## ----------- ##"
2250       echo
2251       cat confdefs.h
2252       echo
2253     fi
2254     test "$ac_signal" != 0 &&
2255       $as_echo "$as_me: caught signal $ac_signal"
2256     $as_echo "$as_me: exit $exit_status"
2257   } >&5
2258   rm -f core *.core core.conftest.* &&
2259     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2260     exit $exit_status
2261 ' 0
2262 for ac_signal in 1 2 13 15; do
2263   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2264 done
2265 ac_signal=0
2266
2267 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2268 rm -f -r conftest* confdefs.h
2269
2270 $as_echo "/* confdefs.h */" > confdefs.h
2271
2272 # Predefined preprocessor variables.
2273
2274 cat >>confdefs.h <<_ACEOF
2275 #define PACKAGE_NAME "$PACKAGE_NAME"
2276 _ACEOF
2277
2278 cat >>confdefs.h <<_ACEOF
2279 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2280 _ACEOF
2281
2282 cat >>confdefs.h <<_ACEOF
2283 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2284 _ACEOF
2285
2286 cat >>confdefs.h <<_ACEOF
2287 #define PACKAGE_STRING "$PACKAGE_STRING"
2288 _ACEOF
2289
2290 cat >>confdefs.h <<_ACEOF
2291 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2292 _ACEOF
2293
2294 cat >>confdefs.h <<_ACEOF
2295 #define PACKAGE_URL "$PACKAGE_URL"
2296 _ACEOF
2297
2298
2299 # Let the site file select an alternate cache file if it wants to.
2300 # Prefer an explicitly selected file to automatically selected ones.
2301 ac_site_file1=NONE
2302 ac_site_file2=NONE
2303 if test -n "$CONFIG_SITE"; then
2304   # We do not want a PATH search for config.site.
2305   case $CONFIG_SITE in #((
2306     -*)  ac_site_file1=./$CONFIG_SITE;;
2307     */*) ac_site_file1=$CONFIG_SITE;;
2308     *)   ac_site_file1=./$CONFIG_SITE;;
2309   esac
2310 elif test "x$prefix" != xNONE; then
2311   ac_site_file1=$prefix/share/config.site
2312   ac_site_file2=$prefix/etc/config.site
2313 else
2314   ac_site_file1=$ac_default_prefix/share/config.site
2315   ac_site_file2=$ac_default_prefix/etc/config.site
2316 fi
2317 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2318 do
2319   test "x$ac_site_file" = xNONE && continue
2320   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2321     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2322 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2323     sed 's/^/| /' "$ac_site_file" >&5
2324     . "$ac_site_file" \
2325       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2326 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2327 as_fn_error $? "failed to load site script $ac_site_file
2328 See \`config.log' for more details" "$LINENO" 5; }
2329   fi
2330 done
2331
2332 if test -r "$cache_file"; then
2333   # Some versions of bash will fail to source /dev/null (special files
2334   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2335   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2336     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2337 $as_echo "$as_me: loading cache $cache_file" >&6;}
2338     case $cache_file in
2339       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2340       *)                      . "./$cache_file";;
2341     esac
2342   fi
2343 else
2344   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2345 $as_echo "$as_me: creating cache $cache_file" >&6;}
2346   >$cache_file
2347 fi
2348
2349 # Check that the precious variables saved in the cache have kept the same
2350 # value.
2351 ac_cache_corrupted=false
2352 for ac_var in $ac_precious_vars; do
2353   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2354   eval ac_new_set=\$ac_env_${ac_var}_set
2355   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2356   eval ac_new_val=\$ac_env_${ac_var}_value
2357   case $ac_old_set,$ac_new_set in
2358     set,)
2359       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2360 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2361       ac_cache_corrupted=: ;;
2362     ,set)
2363       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2364 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2365       ac_cache_corrupted=: ;;
2366     ,);;
2367     *)
2368       if test "x$ac_old_val" != "x$ac_new_val"; then
2369         # differences in whitespace do not lead to failure.
2370         ac_old_val_w=`echo x $ac_old_val`
2371         ac_new_val_w=`echo x $ac_new_val`
2372         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2373           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2374 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2375           ac_cache_corrupted=:
2376         else
2377           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2378 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2379           eval $ac_var=\$ac_old_val
2380         fi
2381         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2382 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2383         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2384 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2385       fi;;
2386   esac
2387   # Pass precious variables to config.status.
2388   if test "$ac_new_set" = set; then
2389     case $ac_new_val in
2390     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2391     *) ac_arg=$ac_var=$ac_new_val ;;
2392     esac
2393     case " $ac_configure_args " in
2394       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2395       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2396     esac
2397   fi
2398 done
2399 if $ac_cache_corrupted; then
2400   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2401 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2402   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2403 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2404   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2405 fi
2406 ## -------------------- ##
2407 ## Main body of script. ##
2408 ## -------------------- ##
2409
2410 ac_ext=c
2411 ac_cpp='$CPP $CPPFLAGS'
2412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2415
2416
2417 am__api_version='1.11'
2418
2419 ac_aux_dir=
2420 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2421   if test -f "$ac_dir/install-sh"; then
2422     ac_aux_dir=$ac_dir
2423     ac_install_sh="$ac_aux_dir/install-sh -c"
2424     break
2425   elif test -f "$ac_dir/install.sh"; then
2426     ac_aux_dir=$ac_dir
2427     ac_install_sh="$ac_aux_dir/install.sh -c"
2428     break
2429   elif test -f "$ac_dir/shtool"; then
2430     ac_aux_dir=$ac_dir
2431     ac_install_sh="$ac_aux_dir/shtool install -c"
2432     break
2433   fi
2434 done
2435 if test -z "$ac_aux_dir"; then
2436   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2437 fi
2438
2439 # These three variables are undocumented and unsupported,
2440 # and are intended to be withdrawn in a future Autoconf release.
2441 # They can cause serious problems if a builder's source tree is in a directory
2442 # whose full name contains unusual characters.
2443 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2444 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2445 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2446
2447
2448 # Find a good install program.  We prefer a C program (faster),
2449 # so one script is as good as another.  But avoid the broken or
2450 # incompatible versions:
2451 # SysV /etc/install, /usr/sbin/install
2452 # SunOS /usr/etc/install
2453 # IRIX /sbin/install
2454 # AIX /bin/install
2455 # AmigaOS /C/install, which installs bootblocks on floppy discs
2456 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2457 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2458 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2459 # OS/2's system install, which has a completely different semantic
2460 # ./install, which can be erroneously created by make from ./install.sh.
2461 # Reject install programs that cannot install multiple files.
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2463 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2464 if test -z "$INSTALL"; then
2465 if ${ac_cv_path_install+:} false; then :
2466   $as_echo_n "(cached) " >&6
2467 else
2468   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2469 for as_dir in $PATH
2470 do
2471   IFS=$as_save_IFS
2472   test -z "$as_dir" && as_dir=.
2473     # Account for people who put trailing slashes in PATH elements.
2474 case $as_dir/ in #((
2475   ./ | .// | /[cC]/* | \
2476   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2477   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2478   /usr/ucb/* ) ;;
2479   *)
2480     # OSF1 and SCO ODT 3.0 have their own names for install.
2481     # Don't use installbsd from OSF since it installs stuff as root
2482     # by default.
2483     for ac_prog in ginstall scoinst install; do
2484       for ac_exec_ext in '' $ac_executable_extensions; do
2485         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2486           if test $ac_prog = install &&
2487             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2488             # AIX install.  It has an incompatible calling convention.
2489             :
2490           elif test $ac_prog = install &&
2491             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2492             # program-specific install script used by HP pwplus--don't use.
2493             :
2494           else
2495             rm -rf conftest.one conftest.two conftest.dir
2496             echo one > conftest.one
2497             echo two > conftest.two
2498             mkdir conftest.dir
2499             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2500               test -s conftest.one && test -s conftest.two &&
2501               test -s conftest.dir/conftest.one &&
2502               test -s conftest.dir/conftest.two
2503             then
2504               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2505               break 3
2506             fi
2507           fi
2508         fi
2509       done
2510     done
2511     ;;
2512 esac
2513
2514   done
2515 IFS=$as_save_IFS
2516
2517 rm -rf conftest.one conftest.two conftest.dir
2518
2519 fi
2520   if test "${ac_cv_path_install+set}" = set; then
2521     INSTALL=$ac_cv_path_install
2522   else
2523     # As a last resort, use the slow shell script.  Don't cache a
2524     # value for INSTALL within a source directory, because that will
2525     # break other packages using the cache if that directory is
2526     # removed, or if the value is a relative name.
2527     INSTALL=$ac_install_sh
2528   fi
2529 fi
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2531 $as_echo "$INSTALL" >&6; }
2532
2533 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2534 # It thinks the first close brace ends the variable substitution.
2535 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2536
2537 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2538
2539 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2540
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2542 $as_echo_n "checking whether build environment is sane... " >&6; }
2543 # Just in case
2544 sleep 1
2545 echo timestamp > conftest.file
2546 # Reject unsafe characters in $srcdir or the absolute working directory
2547 # name.  Accept space and tab only in the latter.
2548 am_lf='
2549 '
2550 case `pwd` in
2551   *[\\\"\#\$\&\'\`$am_lf]*)
2552     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2553 esac
2554 case $srcdir in
2555   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2556     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2557 esac
2558
2559 # Do `set' in a subshell so we don't clobber the current shell's
2560 # arguments.  Must try -L first in case configure is actually a
2561 # symlink; some systems play weird games with the mod time of symlinks
2562 # (eg FreeBSD returns the mod time of the symlink's containing
2563 # directory).
2564 if (
2565    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2566    if test "$*" = "X"; then
2567       # -L didn't work.
2568       set X `ls -t "$srcdir/configure" conftest.file`
2569    fi
2570    rm -f conftest.file
2571    if test "$*" != "X $srcdir/configure conftest.file" \
2572       && test "$*" != "X conftest.file $srcdir/configure"; then
2573
2574       # If neither matched, then we have a broken ls.  This can happen
2575       # if, for instance, CONFIG_SHELL is bash and it inherits a
2576       # broken ls alias from the environment.  This has actually
2577       # happened.  Such a system could not be considered "sane".
2578       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2579 alias in your environment" "$LINENO" 5
2580    fi
2581
2582    test "$2" = conftest.file
2583    )
2584 then
2585    # Ok.
2586    :
2587 else
2588    as_fn_error $? "newly created file is older than distributed files!
2589 Check your system clock" "$LINENO" 5
2590 fi
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2592 $as_echo "yes" >&6; }
2593 test "$program_prefix" != NONE &&
2594   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2595 # Use a double $ so make ignores it.
2596 test "$program_suffix" != NONE &&
2597   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2598 # Double any \ or $.
2599 # By default was `s,x,x', remove it if useless.
2600 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2601 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2602
2603 # expand $ac_aux_dir to an absolute path
2604 am_aux_dir=`cd $ac_aux_dir && pwd`
2605
2606 if test x"${MISSING+set}" != xset; then
2607   case $am_aux_dir in
2608   *\ * | *\     *)
2609     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2610   *)
2611     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2612   esac
2613 fi
2614 # Use eval to expand $SHELL
2615 if eval "$MISSING --run true"; then
2616   am_missing_run="$MISSING --run "
2617 else
2618   am_missing_run=
2619   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2620 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2621 fi
2622
2623 if test x"${install_sh}" != xset; then
2624   case $am_aux_dir in
2625   *\ * | *\     *)
2626     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2627   *)
2628     install_sh="\${SHELL} $am_aux_dir/install-sh"
2629   esac
2630 fi
2631
2632 # Installed binaries are usually stripped using `strip' when the user
2633 # run `make install-strip'.  However `strip' might not be the right
2634 # tool to use in cross-compilation environments, therefore Automake
2635 # will honor the `STRIP' environment variable to overrule this program.
2636 if test "$cross_compiling" != no; then
2637   if test -n "$ac_tool_prefix"; then
2638   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2639 set dummy ${ac_tool_prefix}strip; ac_word=$2
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2641 $as_echo_n "checking for $ac_word... " >&6; }
2642 if ${ac_cv_prog_STRIP+:} false; then :
2643   $as_echo_n "(cached) " >&6
2644 else
2645   if test -n "$STRIP"; then
2646   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2647 else
2648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2649 for as_dir in $PATH
2650 do
2651   IFS=$as_save_IFS
2652   test -z "$as_dir" && as_dir=.
2653     for ac_exec_ext in '' $ac_executable_extensions; do
2654   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2655     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2656     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2657     break 2
2658   fi
2659 done
2660   done
2661 IFS=$as_save_IFS
2662
2663 fi
2664 fi
2665 STRIP=$ac_cv_prog_STRIP
2666 if test -n "$STRIP"; then
2667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2668 $as_echo "$STRIP" >&6; }
2669 else
2670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2671 $as_echo "no" >&6; }
2672 fi
2673
2674
2675 fi
2676 if test -z "$ac_cv_prog_STRIP"; then
2677   ac_ct_STRIP=$STRIP
2678   # Extract the first word of "strip", so it can be a program name with args.
2679 set dummy strip; ac_word=$2
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2681 $as_echo_n "checking for $ac_word... " >&6; }
2682 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2683   $as_echo_n "(cached) " >&6
2684 else
2685   if test -n "$ac_ct_STRIP"; then
2686   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2687 else
2688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2689 for as_dir in $PATH
2690 do
2691   IFS=$as_save_IFS
2692   test -z "$as_dir" && as_dir=.
2693     for ac_exec_ext in '' $ac_executable_extensions; do
2694   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2695     ac_cv_prog_ac_ct_STRIP="strip"
2696     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2697     break 2
2698   fi
2699 done
2700   done
2701 IFS=$as_save_IFS
2702
2703 fi
2704 fi
2705 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2706 if test -n "$ac_ct_STRIP"; then
2707   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2708 $as_echo "$ac_ct_STRIP" >&6; }
2709 else
2710   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2711 $as_echo "no" >&6; }
2712 fi
2713
2714   if test "x$ac_ct_STRIP" = x; then
2715     STRIP=":"
2716   else
2717     case $cross_compiling:$ac_tool_warned in
2718 yes:)
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2720 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2721 ac_tool_warned=yes ;;
2722 esac
2723     STRIP=$ac_ct_STRIP
2724   fi
2725 else
2726   STRIP="$ac_cv_prog_STRIP"
2727 fi
2728
2729 fi
2730 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2731
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2733 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2734 if test -z "$MKDIR_P"; then
2735   if ${ac_cv_path_mkdir+:} false; then :
2736   $as_echo_n "(cached) " >&6
2737 else
2738   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2739 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2740 do
2741   IFS=$as_save_IFS
2742   test -z "$as_dir" && as_dir=.
2743     for ac_prog in mkdir gmkdir; do
2744          for ac_exec_ext in '' $ac_executable_extensions; do
2745            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2746            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2747              'mkdir (GNU coreutils) '* | \
2748              'mkdir (coreutils) '* | \
2749              'mkdir (fileutils) '4.1*)
2750                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2751                break 3;;
2752            esac
2753          done
2754        done
2755   done
2756 IFS=$as_save_IFS
2757
2758 fi
2759
2760   test -d ./--version && rmdir ./--version
2761   if test "${ac_cv_path_mkdir+set}" = set; then
2762     MKDIR_P="$ac_cv_path_mkdir -p"
2763   else
2764     # As a last resort, use the slow shell script.  Don't cache a
2765     # value for MKDIR_P within a source directory, because that will
2766     # break other packages using the cache if that directory is
2767     # removed, or if the value is a relative name.
2768     MKDIR_P="$ac_install_sh -d"
2769   fi
2770 fi
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2772 $as_echo "$MKDIR_P" >&6; }
2773
2774 mkdir_p="$MKDIR_P"
2775 case $mkdir_p in
2776   [\\/$]* | ?:[\\/]*) ;;
2777   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2778 esac
2779
2780 for ac_prog in gawk mawk nawk awk
2781 do
2782   # Extract the first word of "$ac_prog", so it can be a program name with args.
2783 set dummy $ac_prog; ac_word=$2
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2785 $as_echo_n "checking for $ac_word... " >&6; }
2786 if ${ac_cv_prog_AWK+:} false; then :
2787   $as_echo_n "(cached) " >&6
2788 else
2789   if test -n "$AWK"; then
2790   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2791 else
2792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2793 for as_dir in $PATH
2794 do
2795   IFS=$as_save_IFS
2796   test -z "$as_dir" && as_dir=.
2797     for ac_exec_ext in '' $ac_executable_extensions; do
2798   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2799     ac_cv_prog_AWK="$ac_prog"
2800     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2801     break 2
2802   fi
2803 done
2804   done
2805 IFS=$as_save_IFS
2806
2807 fi
2808 fi
2809 AWK=$ac_cv_prog_AWK
2810 if test -n "$AWK"; then
2811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2812 $as_echo "$AWK" >&6; }
2813 else
2814   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2815 $as_echo "no" >&6; }
2816 fi
2817
2818
2819   test -n "$AWK" && break
2820 done
2821
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2823 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2824 set x ${MAKE-make}
2825 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2826 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2827   $as_echo_n "(cached) " >&6
2828 else
2829   cat >conftest.make <<\_ACEOF
2830 SHELL = /bin/sh
2831 all:
2832         @echo '@@@%%%=$(MAKE)=@@@%%%'
2833 _ACEOF
2834 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2835 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2836   *@@@%%%=?*=@@@%%%*)
2837     eval ac_cv_prog_make_${ac_make}_set=yes;;
2838   *)
2839     eval ac_cv_prog_make_${ac_make}_set=no;;
2840 esac
2841 rm -f conftest.make
2842 fi
2843 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2845 $as_echo "yes" >&6; }
2846   SET_MAKE=
2847 else
2848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2849 $as_echo "no" >&6; }
2850   SET_MAKE="MAKE=${MAKE-make}"
2851 fi
2852
2853 rm -rf .tst 2>/dev/null
2854 mkdir .tst 2>/dev/null
2855 if test -d .tst; then
2856   am__leading_dot=.
2857 else
2858   am__leading_dot=_
2859 fi
2860 rmdir .tst 2>/dev/null
2861
2862 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2863   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2864   # is not polluted with repeated "-I."
2865   am__isrc=' -I$(srcdir)'
2866   # test to see if srcdir already configured
2867   if test -f $srcdir/config.status; then
2868     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2869   fi
2870 fi
2871
2872 # test whether we have cygpath
2873 if test -z "$CYGPATH_W"; then
2874   if (cygpath --version) >/dev/null 2>/dev/null; then
2875     CYGPATH_W='cygpath -w'
2876   else
2877     CYGPATH_W=echo
2878   fi
2879 fi
2880
2881
2882 # Define the identity of the package.
2883  PACKAGE='atlc'
2884  VERSION='4.6.1'
2885
2886
2887 cat >>confdefs.h <<_ACEOF
2888 #define PACKAGE "$PACKAGE"
2889 _ACEOF
2890
2891
2892 cat >>confdefs.h <<_ACEOF
2893 #define VERSION "$VERSION"
2894 _ACEOF
2895
2896 # Some tools Automake needs.
2897
2898 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2899
2900
2901 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2902
2903
2904 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2905
2906
2907 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2908
2909
2910 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2911
2912 # We need awk for the "check" target.  The system "awk" is bad on
2913 # some platforms.
2914 # Always define AMTAR for backward compatibility.
2915
2916 AMTAR=${AMTAR-"${am_missing_run}tar"}
2917
2918 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2919
2920
2921
2922
2923
2924
2925
2926 # defining a config.h might be useful as it can prevent a command line becoming
2927 # too long, but I find it more of a pain than it is useful. To
2928 # make use of it, it would be necessary to hack every source file to
2929 # include it. I can't be bothered yet.
2930 ac_config_headers="$ac_config_headers config.h"
2931
2932
2933
2934 # Checks for programs.
2935 DEPDIR="${am__leading_dot}deps"
2936
2937 ac_config_commands="$ac_config_commands depfiles"
2938
2939
2940 am_make=${MAKE-make}
2941 cat > confinc << 'END'
2942 am__doit:
2943         @echo this is the am__doit target
2944 .PHONY: am__doit
2945 END
2946 # If we don't find an include directive, just comment out the code.
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2948 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2949 am__include="#"
2950 am__quote=
2951 _am_result=none
2952 # First try GNU make style include.
2953 echo "include confinc" > confmf
2954 # Ignore all kinds of additional output from `make'.
2955 case `$am_make -s -f confmf 2> /dev/null` in #(
2956 *the\ am__doit\ target*)
2957   am__include=include
2958   am__quote=
2959   _am_result=GNU
2960   ;;
2961 esac
2962 # Now try BSD make style include.
2963 if test "$am__include" = "#"; then
2964    echo '.include "confinc"' > confmf
2965    case `$am_make -s -f confmf 2> /dev/null` in #(
2966    *the\ am__doit\ target*)
2967      am__include=.include
2968      am__quote="\""
2969      _am_result=BSD
2970      ;;
2971    esac
2972 fi
2973
2974
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2976 $as_echo "$_am_result" >&6; }
2977 rm -f confinc confmf
2978
2979 # Check whether --enable-dependency-tracking was given.
2980 if test "${enable_dependency_tracking+set}" = set; then :
2981   enableval=$enable_dependency_tracking;
2982 fi
2983
2984 if test "x$enable_dependency_tracking" != xno; then
2985   am_depcomp="$ac_aux_dir/depcomp"
2986   AMDEPBACKSLASH='\'
2987 fi
2988  if test "x$enable_dependency_tracking" != xno; then
2989   AMDEP_TRUE=
2990   AMDEP_FALSE='#'
2991 else
2992   AMDEP_TRUE='#'
2993   AMDEP_FALSE=
2994 fi
2995
2996
2997 ac_ext=c
2998 ac_cpp='$CPP $CPPFLAGS'
2999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3002 if test -n "$ac_tool_prefix"; then
3003   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3004 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3006 $as_echo_n "checking for $ac_word... " >&6; }
3007 if ${ac_cv_prog_CC+:} false; then :
3008   $as_echo_n "(cached) " >&6
3009 else
3010   if test -n "$CC"; then
3011   ac_cv_prog_CC="$CC" # Let the user override the test.
3012 else
3013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3014 for as_dir in $PATH
3015 do
3016   IFS=$as_save_IFS
3017   test -z "$as_dir" && as_dir=.
3018     for ac_exec_ext in '' $ac_executable_extensions; do
3019   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3020     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3021     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3022     break 2
3023   fi
3024 done
3025   done
3026 IFS=$as_save_IFS
3027
3028 fi
3029 fi
3030 CC=$ac_cv_prog_CC
3031 if test -n "$CC"; then
3032   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3033 $as_echo "$CC" >&6; }
3034 else
3035   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3036 $as_echo "no" >&6; }
3037 fi
3038
3039
3040 fi
3041 if test -z "$ac_cv_prog_CC"; then
3042   ac_ct_CC=$CC
3043   # Extract the first word of "gcc", so it can be a program name with args.
3044 set dummy gcc; ac_word=$2
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3046 $as_echo_n "checking for $ac_word... " >&6; }
3047 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3048   $as_echo_n "(cached) " >&6
3049 else
3050   if test -n "$ac_ct_CC"; then
3051   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3052 else
3053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3054 for as_dir in $PATH
3055 do
3056   IFS=$as_save_IFS
3057   test -z "$as_dir" && as_dir=.
3058     for ac_exec_ext in '' $ac_executable_extensions; do
3059   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3060     ac_cv_prog_ac_ct_CC="gcc"
3061     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3062     break 2
3063   fi
3064 done
3065   done
3066 IFS=$as_save_IFS
3067
3068 fi
3069 fi
3070 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3071 if test -n "$ac_ct_CC"; then
3072   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3073 $as_echo "$ac_ct_CC" >&6; }
3074 else
3075   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3076 $as_echo "no" >&6; }
3077 fi
3078
3079   if test "x$ac_ct_CC" = x; then
3080     CC=""
3081   else
3082     case $cross_compiling:$ac_tool_warned in
3083 yes:)
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3085 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3086 ac_tool_warned=yes ;;
3087 esac
3088     CC=$ac_ct_CC
3089   fi
3090 else
3091   CC="$ac_cv_prog_CC"
3092 fi
3093
3094 if test -z "$CC"; then
3095           if test -n "$ac_tool_prefix"; then
3096     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3097 set dummy ${ac_tool_prefix}cc; ac_word=$2
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3099 $as_echo_n "checking for $ac_word... " >&6; }
3100 if ${ac_cv_prog_CC+:} false; then :
3101   $as_echo_n "(cached) " >&6
3102 else
3103   if test -n "$CC"; then
3104   ac_cv_prog_CC="$CC" # Let the user override the test.
3105 else
3106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3107 for as_dir in $PATH
3108 do
3109   IFS=$as_save_IFS
3110   test -z "$as_dir" && as_dir=.
3111     for ac_exec_ext in '' $ac_executable_extensions; do
3112   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3113     ac_cv_prog_CC="${ac_tool_prefix}cc"
3114     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3115     break 2
3116   fi
3117 done
3118   done
3119 IFS=$as_save_IFS
3120
3121 fi
3122 fi
3123 CC=$ac_cv_prog_CC
3124 if test -n "$CC"; then
3125   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3126 $as_echo "$CC" >&6; }
3127 else
3128   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3129 $as_echo "no" >&6; }
3130 fi
3131
3132
3133   fi
3134 fi
3135 if test -z "$CC"; then
3136   # Extract the first word of "cc", so it can be a program name with args.
3137 set dummy cc; ac_word=$2
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3139 $as_echo_n "checking for $ac_word... " >&6; }
3140 if ${ac_cv_prog_CC+:} false; then :
3141   $as_echo_n "(cached) " >&6
3142 else
3143   if test -n "$CC"; then
3144   ac_cv_prog_CC="$CC" # Let the user override the test.
3145 else
3146   ac_prog_rejected=no
3147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3148 for as_dir in $PATH
3149 do
3150   IFS=$as_save_IFS
3151   test -z "$as_dir" && as_dir=.
3152     for ac_exec_ext in '' $ac_executable_extensions; do
3153   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3154     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3155        ac_prog_rejected=yes
3156        continue
3157      fi
3158     ac_cv_prog_CC="cc"
3159     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3160     break 2
3161   fi
3162 done
3163   done
3164 IFS=$as_save_IFS
3165
3166 if test $ac_prog_rejected = yes; then
3167   # We found a bogon in the path, so make sure we never use it.
3168   set dummy $ac_cv_prog_CC
3169   shift
3170   if test $# != 0; then
3171     # We chose a different compiler from the bogus one.
3172     # However, it has the same basename, so the bogon will be chosen
3173     # first if we set CC to just the basename; use the full file name.
3174     shift
3175     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3176   fi
3177 fi
3178 fi
3179 fi
3180 CC=$ac_cv_prog_CC
3181 if test -n "$CC"; then
3182   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3183 $as_echo "$CC" >&6; }
3184 else
3185   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3186 $as_echo "no" >&6; }
3187 fi
3188
3189
3190 fi
3191 if test -z "$CC"; then
3192   if test -n "$ac_tool_prefix"; then
3193   for ac_prog in cl.exe
3194   do
3195     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3196 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3198 $as_echo_n "checking for $ac_word... " >&6; }
3199 if ${ac_cv_prog_CC+:} false; then :
3200   $as_echo_n "(cached) " >&6
3201 else
3202   if test -n "$CC"; then
3203   ac_cv_prog_CC="$CC" # Let the user override the test.
3204 else
3205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3206 for as_dir in $PATH
3207 do
3208   IFS=$as_save_IFS
3209   test -z "$as_dir" && as_dir=.
3210     for ac_exec_ext in '' $ac_executable_extensions; do
3211   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3212     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3213     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3214     break 2
3215   fi
3216 done
3217   done
3218 IFS=$as_save_IFS
3219
3220 fi
3221 fi
3222 CC=$ac_cv_prog_CC
3223 if test -n "$CC"; then
3224   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3225 $as_echo "$CC" >&6; }
3226 else
3227   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3228 $as_echo "no" >&6; }
3229 fi
3230
3231
3232     test -n "$CC" && break
3233   done
3234 fi
3235 if test -z "$CC"; then
3236   ac_ct_CC=$CC
3237   for ac_prog in cl.exe
3238 do
3239   # Extract the first word of "$ac_prog", so it can be a program name with args.
3240 set dummy $ac_prog; ac_word=$2
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3242 $as_echo_n "checking for $ac_word... " >&6; }
3243 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3244   $as_echo_n "(cached) " >&6
3245 else
3246   if test -n "$ac_ct_CC"; then
3247   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3248 else
3249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3250 for as_dir in $PATH
3251 do
3252   IFS=$as_save_IFS
3253   test -z "$as_dir" && as_dir=.
3254     for ac_exec_ext in '' $ac_executable_extensions; do
3255   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3256     ac_cv_prog_ac_ct_CC="$ac_prog"
3257     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3258     break 2
3259   fi
3260 done
3261   done
3262 IFS=$as_save_IFS
3263
3264 fi
3265 fi
3266 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3267 if test -n "$ac_ct_CC"; then
3268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3269 $as_echo "$ac_ct_CC" >&6; }
3270 else
3271   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3272 $as_echo "no" >&6; }
3273 fi
3274
3275
3276   test -n "$ac_ct_CC" && break
3277 done
3278
3279   if test "x$ac_ct_CC" = x; then
3280     CC=""
3281   else
3282     case $cross_compiling:$ac_tool_warned in
3283 yes:)
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3285 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3286 ac_tool_warned=yes ;;
3287 esac
3288     CC=$ac_ct_CC
3289   fi
3290 fi
3291
3292 fi
3293
3294
3295 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3296 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3297 as_fn_error $? "no acceptable C compiler found in \$PATH
3298 See \`config.log' for more details" "$LINENO" 5; }
3299
3300 # Provide some information about the compiler.
3301 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3302 set X $ac_compile
3303 ac_compiler=$2
3304 for ac_option in --version -v -V -qversion; do
3305   { { ac_try="$ac_compiler $ac_option >&5"
3306 case "(($ac_try" in
3307   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3308   *) ac_try_echo=$ac_try;;
3309 esac
3310 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3311 $as_echo "$ac_try_echo"; } >&5
3312   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3313   ac_status=$?
3314   if test -s conftest.err; then
3315     sed '10a\
3316 ... rest of stderr output deleted ...
3317          10q' conftest.err >conftest.er1
3318     cat conftest.er1 >&5
3319   fi
3320   rm -f conftest.er1 conftest.err
3321   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3322   test $ac_status = 0; }
3323 done
3324
3325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3326 /* end confdefs.h.  */
3327
3328 int
3329 main ()
3330 {
3331
3332   ;
3333   return 0;
3334 }
3335 _ACEOF
3336 ac_clean_files_save=$ac_clean_files
3337 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3338 # Try to create an executable without -o first, disregard a.out.
3339 # It will help us diagnose broken compilers, and finding out an intuition
3340 # of exeext.
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3342 $as_echo_n "checking whether the C compiler works... " >&6; }
3343 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3344
3345 # The possible output files:
3346 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3347
3348 ac_rmfiles=
3349 for ac_file in $ac_files
3350 do
3351   case $ac_file in
3352     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3353     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3354   esac
3355 done
3356 rm -f $ac_rmfiles
3357
3358 if { { ac_try="$ac_link_default"
3359 case "(($ac_try" in
3360   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3361   *) ac_try_echo=$ac_try;;
3362 esac
3363 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3364 $as_echo "$ac_try_echo"; } >&5
3365   (eval "$ac_link_default") 2>&5
3366   ac_status=$?
3367   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3368   test $ac_status = 0; }; then :
3369   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3370 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3371 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3372 # so that the user can short-circuit this test for compilers unknown to
3373 # Autoconf.
3374 for ac_file in $ac_files ''
3375 do
3376   test -f "$ac_file" || continue
3377   case $ac_file in
3378     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3379         ;;
3380     [ab].out )
3381         # We found the default executable, but exeext='' is most
3382         # certainly right.
3383         break;;
3384     *.* )
3385         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3386         then :; else
3387            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3388         fi
3389         # We set ac_cv_exeext here because the later test for it is not
3390         # safe: cross compilers may not add the suffix if given an `-o'
3391         # argument, so we may need to know it at that point already.
3392         # Even if this section looks crufty: it has the advantage of
3393         # actually working.
3394         break;;
3395     * )
3396         break;;
3397   esac
3398 done
3399 test "$ac_cv_exeext" = no && ac_cv_exeext=
3400
3401 else
3402   ac_file=''
3403 fi
3404 if test -z "$ac_file"; then :
3405   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3406 $as_echo "no" >&6; }
3407 $as_echo "$as_me: failed program was:" >&5
3408 sed 's/^/| /' conftest.$ac_ext >&5
3409
3410 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3411 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3412 as_fn_error 77 "C compiler cannot create executables
3413 See \`config.log' for more details" "$LINENO" 5; }
3414 else
3415   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3416 $as_echo "yes" >&6; }
3417 fi
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3419 $as_echo_n "checking for C compiler default output file name... " >&6; }
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3421 $as_echo "$ac_file" >&6; }
3422 ac_exeext=$ac_cv_exeext
3423
3424 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3425 ac_clean_files=$ac_clean_files_save
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3427 $as_echo_n "checking for suffix of executables... " >&6; }
3428 if { { ac_try="$ac_link"
3429 case "(($ac_try" in
3430   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3431   *) ac_try_echo=$ac_try;;
3432 esac
3433 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3434 $as_echo "$ac_try_echo"; } >&5
3435   (eval "$ac_link") 2>&5
3436   ac_status=$?
3437   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3438   test $ac_status = 0; }; then :
3439   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3440 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3441 # work properly (i.e., refer to `conftest.exe'), while it won't with
3442 # `rm'.
3443 for ac_file in conftest.exe conftest conftest.*; do
3444   test -f "$ac_file" || continue
3445   case $ac_file in
3446     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3447     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3448           break;;
3449     * ) break;;
3450   esac
3451 done
3452 else
3453   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3454 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3455 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3456 See \`config.log' for more details" "$LINENO" 5; }
3457 fi
3458 rm -f conftest conftest$ac_cv_exeext
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3460 $as_echo "$ac_cv_exeext" >&6; }
3461
3462 rm -f conftest.$ac_ext
3463 EXEEXT=$ac_cv_exeext
3464 ac_exeext=$EXEEXT
3465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3466 /* end confdefs.h.  */
3467 #include <stdio.h>
3468 int
3469 main ()
3470 {
3471 FILE *f = fopen ("conftest.out", "w");
3472  return ferror (f) || fclose (f) != 0;
3473
3474   ;
3475   return 0;
3476 }
3477 _ACEOF
3478 ac_clean_files="$ac_clean_files conftest.out"
3479 # Check that the compiler produces executables we can run.  If not, either
3480 # the compiler is broken, or we cross compile.
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3482 $as_echo_n "checking whether we are cross compiling... " >&6; }
3483 if test "$cross_compiling" != yes; then
3484   { { ac_try="$ac_link"
3485 case "(($ac_try" in
3486   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3487   *) ac_try_echo=$ac_try;;
3488 esac
3489 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3490 $as_echo "$ac_try_echo"; } >&5
3491   (eval "$ac_link") 2>&5
3492   ac_status=$?
3493   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3494   test $ac_status = 0; }
3495   if { ac_try='./conftest$ac_cv_exeext'
3496   { { case "(($ac_try" in
3497   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3498   *) ac_try_echo=$ac_try;;
3499 esac
3500 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3501 $as_echo "$ac_try_echo"; } >&5
3502   (eval "$ac_try") 2>&5
3503   ac_status=$?
3504   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3505   test $ac_status = 0; }; }; then
3506     cross_compiling=no
3507   else
3508     if test "$cross_compiling" = maybe; then
3509         cross_compiling=yes
3510     else
3511         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3512 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3513 as_fn_error $? "cannot run C compiled programs.
3514 If you meant to cross compile, use \`--host'.
3515 See \`config.log' for more details" "$LINENO" 5; }
3516     fi
3517   fi
3518 fi
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3520 $as_echo "$cross_compiling" >&6; }
3521
3522 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3523 ac_clean_files=$ac_clean_files_save
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3525 $as_echo_n "checking for suffix of object files... " >&6; }
3526 if ${ac_cv_objext+:} false; then :
3527   $as_echo_n "(cached) " >&6
3528 else
3529   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3530 /* end confdefs.h.  */
3531
3532 int
3533 main ()
3534 {
3535
3536   ;
3537   return 0;
3538 }
3539 _ACEOF
3540 rm -f conftest.o conftest.obj
3541 if { { ac_try="$ac_compile"
3542 case "(($ac_try" in
3543   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3544   *) ac_try_echo=$ac_try;;
3545 esac
3546 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3547 $as_echo "$ac_try_echo"; } >&5
3548   (eval "$ac_compile") 2>&5
3549   ac_status=$?
3550   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3551   test $ac_status = 0; }; then :
3552   for ac_file in conftest.o conftest.obj conftest.*; do
3553   test -f "$ac_file" || continue;
3554   case $ac_file in
3555     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3556     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3557        break;;
3558   esac
3559 done
3560 else
3561   $as_echo "$as_me: failed program was:" >&5
3562 sed 's/^/| /' conftest.$ac_ext >&5
3563
3564 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3565 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3566 as_fn_error $? "cannot compute suffix of object files: cannot compile
3567 See \`config.log' for more details" "$LINENO" 5; }
3568 fi
3569 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3570 fi
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3572 $as_echo "$ac_cv_objext" >&6; }
3573 OBJEXT=$ac_cv_objext
3574 ac_objext=$OBJEXT
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3576 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3577 if ${ac_cv_c_compiler_gnu+:} false; then :
3578   $as_echo_n "(cached) " >&6
3579 else
3580   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3581 /* end confdefs.h.  */
3582
3583 int
3584 main ()
3585 {
3586 #ifndef __GNUC__
3587        choke me
3588 #endif
3589
3590   ;
3591   return 0;
3592 }
3593 _ACEOF
3594 if ac_fn_c_try_compile "$LINENO"; then :
3595   ac_compiler_gnu=yes
3596 else
3597   ac_compiler_gnu=no
3598 fi
3599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3600 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3601
3602 fi
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3604 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3605 if test $ac_compiler_gnu = yes; then
3606   GCC=yes
3607 else
3608   GCC=
3609 fi
3610 ac_test_CFLAGS=${CFLAGS+set}
3611 ac_save_CFLAGS=$CFLAGS
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3613 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3614 if ${ac_cv_prog_cc_g+:} false; then :
3615   $as_echo_n "(cached) " >&6
3616 else
3617   ac_save_c_werror_flag=$ac_c_werror_flag
3618    ac_c_werror_flag=yes
3619    ac_cv_prog_cc_g=no
3620    CFLAGS="-g"
3621    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3622 /* end confdefs.h.  */
3623
3624 int
3625 main ()
3626 {
3627
3628   ;
3629   return 0;
3630 }
3631 _ACEOF
3632 if ac_fn_c_try_compile "$LINENO"; then :
3633   ac_cv_prog_cc_g=yes
3634 else
3635   CFLAGS=""
3636       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3637 /* end confdefs.h.  */
3638
3639 int
3640 main ()
3641 {
3642
3643   ;
3644   return 0;
3645 }
3646 _ACEOF
3647 if ac_fn_c_try_compile "$LINENO"; then :
3648
3649 else
3650   ac_c_werror_flag=$ac_save_c_werror_flag
3651          CFLAGS="-g"
3652          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3653 /* end confdefs.h.  */
3654
3655 int
3656 main ()
3657 {
3658
3659   ;
3660   return 0;
3661 }
3662 _ACEOF
3663 if ac_fn_c_try_compile "$LINENO"; then :
3664   ac_cv_prog_cc_g=yes
3665 fi
3666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3667 fi
3668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3669 fi
3670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3671    ac_c_werror_flag=$ac_save_c_werror_flag
3672 fi
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3674 $as_echo "$ac_cv_prog_cc_g" >&6; }
3675 if test "$ac_test_CFLAGS" = set; then
3676   CFLAGS=$ac_save_CFLAGS
3677 elif test $ac_cv_prog_cc_g = yes; then
3678   if test "$GCC" = yes; then
3679     CFLAGS="-g -O2"
3680   else
3681     CFLAGS="-g"
3682   fi
3683 else
3684   if test "$GCC" = yes; then
3685     CFLAGS="-O2"
3686   else
3687     CFLAGS=
3688   fi
3689 fi
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3691 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3692 if ${ac_cv_prog_cc_c89+:} false; then :
3693   $as_echo_n "(cached) " >&6
3694 else
3695   ac_cv_prog_cc_c89=no
3696 ac_save_CC=$CC
3697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3698 /* end confdefs.h.  */
3699 #include <stdarg.h>
3700 #include <stdio.h>
3701 #include <sys/types.h>
3702 #include <sys/stat.h>
3703 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3704 struct buf { int x; };
3705 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3706 static char *e (p, i)
3707      char **p;
3708      int i;
3709 {
3710   return p[i];
3711 }
3712 static char *f (char * (*g) (char **, int), char **p, ...)
3713 {
3714   char *s;
3715   va_list v;
3716   va_start (v,p);
3717   s = g (p, va_arg (v,int));
3718   va_end (v);
3719   return s;
3720 }
3721
3722 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3723    function prototypes and stuff, but not '\xHH' hex character constants.
3724    These don't provoke an error unfortunately, instead are silently treated
3725    as 'x'.  The following induces an error, until -std is added to get
3726    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3727    array size at least.  It's necessary to write '\x00'==0 to get something
3728    that's true only with -std.  */
3729 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3730
3731 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3732    inside strings and character constants.  */
3733 #define FOO(x) 'x'
3734 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3735
3736 int test (int i, double x);
3737 struct s1 {int (*f) (int a);};
3738 struct s2 {int (*f) (double a);};
3739 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3740 int argc;
3741 char **argv;
3742 int
3743 main ()
3744 {
3745 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3746   ;
3747   return 0;
3748 }
3749 _ACEOF
3750 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3751         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3752 do
3753   CC="$ac_save_CC $ac_arg"
3754   if ac_fn_c_try_compile "$LINENO"; then :
3755   ac_cv_prog_cc_c89=$ac_arg
3756 fi
3757 rm -f core conftest.err conftest.$ac_objext
3758   test "x$ac_cv_prog_cc_c89" != "xno" && break
3759 done
3760 rm -f conftest.$ac_ext
3761 CC=$ac_save_CC
3762
3763 fi
3764 # AC_CACHE_VAL
3765 case "x$ac_cv_prog_cc_c89" in
3766   x)
3767     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3768 $as_echo "none needed" >&6; } ;;
3769   xno)
3770     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3771 $as_echo "unsupported" >&6; } ;;
3772   *)
3773     CC="$CC $ac_cv_prog_cc_c89"
3774     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3775 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3776 esac
3777 if test "x$ac_cv_prog_cc_c89" != xno; then :
3778
3779 fi
3780
3781 ac_ext=c
3782 ac_cpp='$CPP $CPPFLAGS'
3783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3786
3787 depcc="$CC"   am_compiler_list=
3788
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3790 $as_echo_n "checking dependency style of $depcc... " >&6; }
3791 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3792   $as_echo_n "(cached) " >&6
3793 else
3794   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3795   # We make a subdir and do the tests there.  Otherwise we can end up
3796   # making bogus files that we don't know about and never remove.  For
3797   # instance it was reported that on HP-UX the gcc test will end up
3798   # making a dummy file named `D' -- because `-MD' means `put the output
3799   # in D'.
3800   mkdir conftest.dir
3801   # Copy depcomp to subdir because otherwise we won't find it if we're
3802   # using a relative directory.
3803   cp "$am_depcomp" conftest.dir
3804   cd conftest.dir
3805   # We will build objects and dependencies in a subdirectory because
3806   # it helps to detect inapplicable dependency modes.  For instance
3807   # both Tru64's cc and ICC support -MD to output dependencies as a
3808   # side effect of compilation, but ICC will put the dependencies in
3809   # the current directory while Tru64 will put them in the object
3810   # directory.
3811   mkdir sub
3812
3813   am_cv_CC_dependencies_compiler_type=none
3814   if test "$am_compiler_list" = ""; then
3815      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3816   fi
3817   am__universal=false
3818   case " $depcc " in #(
3819      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3820      esac
3821
3822   for depmode in $am_compiler_list; do
3823     # Setup a source with many dependencies, because some compilers
3824     # like to wrap large dependency lists on column 80 (with \), and
3825     # we should not choose a depcomp mode which is confused by this.
3826     #
3827     # We need to recreate these files for each test, as the compiler may
3828     # overwrite some of them when testing with obscure command lines.
3829     # This happens at least with the AIX C compiler.
3830     : > sub/conftest.c
3831     for i in 1 2 3 4 5 6; do
3832       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3833       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3834       # Solaris 8's {/usr,}/bin/sh.
3835       touch sub/conftst$i.h
3836     done
3837     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3838
3839     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3840     # mode.  It turns out that the SunPro C++ compiler does not properly
3841     # handle `-M -o', and we need to detect this.  Also, some Intel
3842     # versions had trouble with output in subdirs
3843     am__obj=sub/conftest.${OBJEXT-o}
3844     am__minus_obj="-o $am__obj"
3845     case $depmode in
3846     gcc)
3847       # This depmode causes a compiler race in universal mode.
3848       test "$am__universal" = false || continue
3849       ;;
3850     nosideeffect)
3851       # after this tag, mechanisms are not by side-effect, so they'll
3852       # only be used when explicitly requested
3853       if test "x$enable_dependency_tracking" = xyes; then
3854         continue
3855       else
3856         break
3857       fi
3858       ;;
3859     msvisualcpp | msvcmsys)
3860       # This compiler won't grok `-c -o', but also, the minuso test has
3861       # not run yet.  These depmodes are late enough in the game, and
3862       # so weak that their functioning should not be impacted.
3863       am__obj=conftest.${OBJEXT-o}
3864       am__minus_obj=
3865       ;;
3866     none) break ;;
3867     esac
3868     if depmode=$depmode \
3869        source=sub/conftest.c object=$am__obj \
3870        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3871        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3872          >/dev/null 2>conftest.err &&
3873        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3874        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3875        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3876        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3877       # icc doesn't choke on unknown options, it will just issue warnings
3878       # or remarks (even with -Werror).  So we grep stderr for any message
3879       # that says an option was ignored or not supported.
3880       # When given -MP, icc 7.0 and 7.1 complain thusly:
3881       #   icc: Command line warning: ignoring option '-M'; no argument required
3882       # The diagnosis changed in icc 8.0:
3883       #   icc: Command line remark: option '-MP' not supported
3884       if (grep 'ignoring option' conftest.err ||
3885           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3886         am_cv_CC_dependencies_compiler_type=$depmode
3887         break
3888       fi
3889     fi
3890   done
3891
3892   cd ..
3893   rm -rf conftest.dir
3894 else
3895   am_cv_CC_dependencies_compiler_type=none
3896 fi
3897
3898 fi
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3900 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3901 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3902
3903  if
3904   test "x$enable_dependency_tracking" != xno \
3905   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3906   am__fastdepCC_TRUE=
3907   am__fastdepCC_FALSE='#'
3908 else
3909   am__fastdepCC_TRUE='#'
3910   am__fastdepCC_FALSE=
3911 fi
3912
3913
3914
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3916 $as_echo_n "checking for library containing strerror... " >&6; }
3917 if ${ac_cv_search_strerror+:} false; then :
3918   $as_echo_n "(cached) " >&6
3919 else
3920   ac_func_search_save_LIBS=$LIBS
3921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3922 /* end confdefs.h.  */
3923
3924 /* Override any GCC internal prototype to avoid an error.
3925    Use char because int might match the return type of a GCC
3926    builtin and then its argument prototype would still apply.  */
3927 #ifdef __cplusplus
3928 extern "C"
3929 #endif
3930 char strerror ();
3931 int
3932 main ()
3933 {
3934 return strerror ();
3935   ;
3936   return 0;
3937 }
3938 _ACEOF
3939 for ac_lib in '' cposix; do
3940   if test -z "$ac_lib"; then
3941     ac_res="none required"
3942   else
3943     ac_res=-l$ac_lib
3944     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
3945   fi
3946   if ac_fn_c_try_link "$LINENO"; then :
3947   ac_cv_search_strerror=$ac_res
3948 fi
3949 rm -f core conftest.err conftest.$ac_objext \
3950     conftest$ac_exeext
3951   if ${ac_cv_search_strerror+:} false; then :
3952   break
3953 fi
3954 done
3955 if ${ac_cv_search_strerror+:} false; then :
3956
3957 else
3958   ac_cv_search_strerror=no
3959 fi
3960 rm conftest.$ac_ext
3961 LIBS=$ac_func_search_save_LIBS
3962 fi
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3964 $as_echo "$ac_cv_search_strerror" >&6; }
3965 ac_res=$ac_cv_search_strerror
3966 if test "$ac_res" != no; then :
3967   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3968
3969 fi
3970
3971
3972 # AC_OUTPUT_COMMANDS([exit])
3973
3974 # Checks for libraries.
3975 # check for optimised math library on SPARC
3976 # AC_CHECK_LIB([mopt],[main])
3977 # check for the optimised
3978 # AC_CHECK_LIB([copt],[main])
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log in -lm" >&5
3980 $as_echo_n "checking for log in -lm... " >&6; }
3981 if ${ac_cv_lib_m_log+:} false; then :
3982   $as_echo_n "(cached) " >&6
3983 else
3984   ac_check_lib_save_LIBS=$LIBS
3985 LIBS="-lm  $LIBS"
3986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3987 /* end confdefs.h.  */
3988
3989 /* Override any GCC internal prototype to avoid an error.
3990    Use char because int might match the return type of a GCC
3991    builtin and then its argument prototype would still apply.  */
3992 #ifdef __cplusplus
3993 extern "C"
3994 #endif
3995 char log ();
3996 int
3997 main ()
3998 {
3999 return log ();
4000   ;
4001   return 0;
4002 }
4003 _ACEOF
4004 if ac_fn_c_try_link "$LINENO"; then :
4005   ac_cv_lib_m_log=yes
4006 else
4007   ac_cv_lib_m_log=no
4008 fi
4009 rm -f core conftest.err conftest.$ac_objext \
4010     conftest$ac_exeext conftest.$ac_ext
4011 LIBS=$ac_check_lib_save_LIBS
4012 fi
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log" >&5
4014 $as_echo "$ac_cv_lib_m_log" >&6; }
4015 if test "x$ac_cv_lib_m_log" = xyes; then :
4016   cat >>confdefs.h <<_ACEOF
4017 #define HAVE_LIBM 1
4018 _ACEOF
4019
4020   LIBS="-lm $LIBS"
4021
4022 fi
4023
4024
4025 # Checks for header files.
4026 ac_ext=c
4027 ac_cpp='$CPP $CPPFLAGS'
4028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4032 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4033 # On Suns, sometimes $CPP names a directory.
4034 if test -n "$CPP" && test -d "$CPP"; then
4035   CPP=
4036 fi
4037 if test -z "$CPP"; then
4038   if ${ac_cv_prog_CPP+:} false; then :
4039   $as_echo_n "(cached) " >&6
4040 else
4041       # Double quotes because CPP needs to be expanded
4042     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4043     do
4044       ac_preproc_ok=false
4045 for ac_c_preproc_warn_flag in '' yes
4046 do
4047   # Use a header file that comes with gcc, so configuring glibc
4048   # with a fresh cross-compiler works.
4049   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4050   # <limits.h> exists even on freestanding compilers.
4051   # On the NeXT, cc -E runs the code through the compiler's parser,
4052   # not just through cpp. "Syntax error" is here to catch this case.
4053   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4054 /* end confdefs.h.  */
4055 #ifdef __STDC__
4056 # include <limits.h>
4057 #else
4058 # include <assert.h>
4059 #endif
4060                      Syntax error
4061 _ACEOF
4062 if ac_fn_c_try_cpp "$LINENO"; then :
4063
4064 else
4065   # Broken: fails on valid input.
4066 continue
4067 fi
4068 rm -f conftest.err conftest.i conftest.$ac_ext
4069
4070   # OK, works on sane cases.  Now check whether nonexistent headers
4071   # can be detected and how.
4072   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4073 /* end confdefs.h.  */
4074 #include <ac_nonexistent.h>
4075 _ACEOF
4076 if ac_fn_c_try_cpp "$LINENO"; then :
4077   # Broken: success on invalid input.
4078 continue
4079 else
4080   # Passes both tests.
4081 ac_preproc_ok=:
4082 break
4083 fi
4084 rm -f conftest.err conftest.i conftest.$ac_ext
4085
4086 done
4087 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4088 rm -f conftest.i conftest.err conftest.$ac_ext
4089 if $ac_preproc_ok; then :
4090   break
4091 fi
4092
4093     done
4094     ac_cv_prog_CPP=$CPP
4095
4096 fi
4097   CPP=$ac_cv_prog_CPP
4098 else
4099   ac_cv_prog_CPP=$CPP
4100 fi
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4102 $as_echo "$CPP" >&6; }
4103 ac_preproc_ok=false
4104 for ac_c_preproc_warn_flag in '' yes
4105 do
4106   # Use a header file that comes with gcc, so configuring glibc
4107   # with a fresh cross-compiler works.
4108   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4109   # <limits.h> exists even on freestanding compilers.
4110   # On the NeXT, cc -E runs the code through the compiler's parser,
4111   # not just through cpp. "Syntax error" is here to catch this case.
4112   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4113 /* end confdefs.h.  */
4114 #ifdef __STDC__
4115 # include <limits.h>
4116 #else
4117 # include <assert.h>
4118 #endif
4119                      Syntax error
4120 _ACEOF
4121 if ac_fn_c_try_cpp "$LINENO"; then :
4122
4123 else
4124   # Broken: fails on valid input.
4125 continue
4126 fi
4127 rm -f conftest.err conftest.i conftest.$ac_ext
4128
4129   # OK, works on sane cases.  Now check whether nonexistent headers
4130   # can be detected and how.
4131   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4132 /* end confdefs.h.  */
4133 #include <ac_nonexistent.h>
4134 _ACEOF
4135 if ac_fn_c_try_cpp "$LINENO"; then :
4136   # Broken: success on invalid input.
4137 continue
4138 else
4139   # Passes both tests.
4140 ac_preproc_ok=:
4141 break
4142 fi
4143 rm -f conftest.err conftest.i conftest.$ac_ext
4144
4145 done
4146 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4147 rm -f conftest.i conftest.err conftest.$ac_ext
4148 if $ac_preproc_ok; then :
4149
4150 else
4151   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4152 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4153 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4154 See \`config.log' for more details" "$LINENO" 5; }
4155 fi
4156
4157 ac_ext=c
4158 ac_cpp='$CPP $CPPFLAGS'
4159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4162
4163
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4165 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4166 if ${ac_cv_path_GREP+:} false; then :
4167   $as_echo_n "(cached) " >&6
4168 else
4169   if test -z "$GREP"; then
4170   ac_path_GREP_found=false
4171   # Loop through the user's path and test for each of PROGNAME-LIST
4172   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4173 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4174 do
4175   IFS=$as_save_IFS
4176   test -z "$as_dir" && as_dir=.
4177     for ac_prog in grep ggrep; do
4178     for ac_exec_ext in '' $ac_executable_extensions; do
4179       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4180       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4181 # Check for GNU ac_path_GREP and select it if it is found.
4182   # Check for GNU $ac_path_GREP
4183 case `"$ac_path_GREP" --version 2>&1` in
4184 *GNU*)
4185   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4186 *)
4187   ac_count=0
4188   $as_echo_n 0123456789 >"conftest.in"
4189   while :
4190   do
4191     cat "conftest.in" "conftest.in" >"conftest.tmp"
4192     mv "conftest.tmp" "conftest.in"
4193     cp "conftest.in" "conftest.nl"
4194     $as_echo 'GREP' >> "conftest.nl"
4195     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4196     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4197     as_fn_arith $ac_count + 1 && ac_count=$as_val
4198     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4199       # Best one so far, save it but keep looking for a better one
4200       ac_cv_path_GREP="$ac_path_GREP"
4201       ac_path_GREP_max=$ac_count
4202     fi
4203     # 10*(2^10) chars as input seems more than enough
4204     test $ac_count -gt 10 && break
4205   done
4206   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4207 esac
4208
4209       $ac_path_GREP_found && break 3
4210     done
4211   done
4212   done
4213 IFS=$as_save_IFS
4214   if test -z "$ac_cv_path_GREP"; then
4215     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4216   fi
4217 else
4218   ac_cv_path_GREP=$GREP
4219 fi
4220
4221 fi
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4223 $as_echo "$ac_cv_path_GREP" >&6; }
4224  GREP="$ac_cv_path_GREP"
4225
4226
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4228 $as_echo_n "checking for egrep... " >&6; }
4229 if ${ac_cv_path_EGREP+:} false; then :
4230   $as_echo_n "(cached) " >&6
4231 else
4232   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4233    then ac_cv_path_EGREP="$GREP -E"
4234    else
4235      if test -z "$EGREP"; then
4236   ac_path_EGREP_found=false
4237   # Loop through the user's path and test for each of PROGNAME-LIST
4238   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4239 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4240 do
4241   IFS=$as_save_IFS
4242   test -z "$as_dir" && as_dir=.
4243     for ac_prog in egrep; do
4244     for ac_exec_ext in '' $ac_executable_extensions; do
4245       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4246       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4247 # Check for GNU ac_path_EGREP and select it if it is found.
4248   # Check for GNU $ac_path_EGREP
4249 case `"$ac_path_EGREP" --version 2>&1` in
4250 *GNU*)
4251   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4252 *)
4253   ac_count=0
4254   $as_echo_n 0123456789 >"conftest.in"
4255   while :
4256   do
4257     cat "conftest.in" "conftest.in" >"conftest.tmp"
4258     mv "conftest.tmp" "conftest.in"
4259     cp "conftest.in" "conftest.nl"
4260     $as_echo 'EGREP' >> "conftest.nl"
4261     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4262     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4263     as_fn_arith $ac_count + 1 && ac_count=$as_val
4264     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4265       # Best one so far, save it but keep looking for a better one
4266       ac_cv_path_EGREP="$ac_path_EGREP"
4267       ac_path_EGREP_max=$ac_count
4268     fi
4269     # 10*(2^10) chars as input seems more than enough
4270     test $ac_count -gt 10 && break
4271   done
4272   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4273 esac
4274
4275       $ac_path_EGREP_found && break 3
4276     done
4277   done
4278   done
4279 IFS=$as_save_IFS
4280   if test -z "$ac_cv_path_EGREP"; then
4281     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4282   fi
4283 else
4284   ac_cv_path_EGREP=$EGREP
4285 fi
4286
4287    fi
4288 fi
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4290 $as_echo "$ac_cv_path_EGREP" >&6; }
4291  EGREP="$ac_cv_path_EGREP"
4292
4293
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4295 $as_echo_n "checking for ANSI C header files... " >&6; }
4296 if ${ac_cv_header_stdc+:} false; then :
4297   $as_echo_n "(cached) " >&6
4298 else
4299   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4300 /* end confdefs.h.  */
4301 #include <stdlib.h>
4302 #include <stdarg.h>
4303 #include <string.h>
4304 #include <float.h>
4305
4306 int
4307 main ()
4308 {
4309
4310   ;
4311   return 0;
4312 }
4313 _ACEOF
4314 if ac_fn_c_try_compile "$LINENO"; then :
4315   ac_cv_header_stdc=yes
4316 else
4317   ac_cv_header_stdc=no
4318 fi
4319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4320
4321 if test $ac_cv_header_stdc = yes; then
4322   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4323   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4324 /* end confdefs.h.  */
4325 #include <string.h>
4326
4327 _ACEOF
4328 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4329   $EGREP "memchr" >/dev/null 2>&1; then :
4330
4331 else
4332   ac_cv_header_stdc=no
4333 fi
4334 rm -f conftest*
4335
4336 fi
4337
4338 if test $ac_cv_header_stdc = yes; then
4339   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4340   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4341 /* end confdefs.h.  */
4342 #include <stdlib.h>
4343
4344 _ACEOF
4345 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4346   $EGREP "free" >/dev/null 2>&1; then :
4347
4348 else
4349   ac_cv_header_stdc=no
4350 fi
4351 rm -f conftest*
4352
4353 fi
4354
4355 if test $ac_cv_header_stdc = yes; then
4356   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4357   if test "$cross_compiling" = yes; then :
4358   :
4359 else
4360   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4361 /* end confdefs.h.  */
4362 #include <ctype.h>
4363 #include <stdlib.h>
4364 #if ((' ' & 0x0FF) == 0x020)
4365 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4366 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4367 #else
4368 # define ISLOWER(c) \
4369                    (('a' <= (c) && (c) <= 'i') \
4370                      || ('j' <= (c) && (c) <= 'r') \
4371                      || ('s' <= (c) && (c) <= 'z'))
4372 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4373 #endif
4374
4375 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4376 int
4377 main ()
4378 {
4379   int i;
4380   for (i = 0; i < 256; i++)
4381     if (XOR (islower (i), ISLOWER (i))
4382         || toupper (i) != TOUPPER (i))
4383       return 2;
4384   return 0;
4385 }
4386 _ACEOF
4387 if ac_fn_c_try_run "$LINENO"; then :
4388
4389 else
4390   ac_cv_header_stdc=no
4391 fi
4392 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4393   conftest.$ac_objext conftest.beam conftest.$ac_ext
4394 fi
4395
4396 fi
4397 fi
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4399 $as_echo "$ac_cv_header_stdc" >&6; }
4400 if test $ac_cv_header_stdc = yes; then
4401
4402 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4403
4404 fi
4405
4406 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4407 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4408                   inttypes.h stdint.h unistd.h
4409 do :
4410   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4411 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4412 "
4413 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4414   cat >>confdefs.h <<_ACEOF
4415 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4416 _ACEOF
4417
4418 fi
4419
4420 done
4421
4422
4423 for ac_header in stdio.h math.h malloc.h stdlib.h string.h time.h limits.h
4424 do :
4425   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4426 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4427 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4428   cat >>confdefs.h <<_ACEOF
4429 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4430 _ACEOF
4431
4432 fi
4433
4434 done
4435
4436 for ac_header in strings.h sys/types.h machine/hal_sysinfo.h sys/sysinfo.h
4437 do :
4438   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4439 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4440 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4441   cat >>confdefs.h <<_ACEOF
4442 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4443 _ACEOF
4444
4445 fi
4446
4447 done
4448
4449 for ac_header in sys/processor.h sched.h sys/param.h sys/pstat.h sys/unistd.h
4450 do :
4451   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4452 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4453 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4454   cat >>confdefs.h <<_ACEOF
4455 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4456 _ACEOF
4457
4458 fi
4459
4460 done
4461
4462 for ac_header in  sys/utsname.h sys/systeminfo.h unistd.h aixfont.h
4463 do :
4464   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4465 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4466 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4467   cat >>confdefs.h <<_ACEOF
4468 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4469 _ACEOF
4470
4471 fi
4472
4473 done
4474
4475 for ac_header in  linux/ip.h errno.h sys/vid.h invent.h sys/sysctl.h
4476 do :
4477   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4478 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4479 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4480   cat >>confdefs.h <<_ACEOF
4481 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4482 _ACEOF
4483
4484 fi
4485
4486 done
4487
4488 # sys/syslimits.h and sys/param.h sometimes needed on OpenBSD 3.2 SPARC
4489 for ac_header in  sys/syslimits.h
4490 do :
4491   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4492 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4493 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4494   cat >>confdefs.h <<_ACEOF
4495 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4496 _ACEOF
4497
4498 fi
4499
4500 done
4501
4502
4503 # Checks for typedefs
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
4505 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
4506 if ${ac_cv_header_stdbool_h+:} false; then :
4507   $as_echo_n "(cached) " >&6
4508 else
4509   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4510 /* end confdefs.h.  */
4511
4512 #include <stdbool.h>
4513 #ifndef bool
4514  "error: bool is not defined"
4515 #endif
4516 #ifndef false
4517  "error: false is not defined"
4518 #endif
4519 #if false
4520  "error: false is not 0"
4521 #endif
4522 #ifndef true
4523  "error: true is not defined"
4524 #endif
4525 #if true != 1
4526  "error: true is not 1"
4527 #endif
4528 #ifndef __bool_true_false_are_defined
4529  "error: __bool_true_false_are_defined is not defined"
4530 #endif
4531
4532         struct s { _Bool s: 1; _Bool t; } s;
4533
4534         char a[true == 1 ? 1 : -1];
4535         char b[false == 0 ? 1 : -1];
4536         char c[__bool_true_false_are_defined == 1 ? 1 : -1];
4537         char d[(bool) 0.5 == true ? 1 : -1];
4538         /* See body of main program for 'e'.  */
4539         char f[(_Bool) 0.0 == false ? 1 : -1];
4540         char g[true];
4541         char h[sizeof (_Bool)];
4542         char i[sizeof s.t];
4543         enum { j = false, k = true, l = false * true, m = true * 256 };
4544         /* The following fails for
4545            HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
4546         _Bool n[m];
4547         char o[sizeof n == m * sizeof n[0] ? 1 : -1];
4548         char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
4549         /* Catch a bug in an HP-UX C compiler.  See
4550            http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
4551            http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
4552          */
4553         _Bool q = true;
4554         _Bool *pq = &q;
4555
4556 int
4557 main ()
4558 {
4559
4560         bool e = &s;
4561         *pq |= q;
4562         *pq |= ! q;
4563         /* Refer to every declared value, to avoid compiler optimizations.  */
4564         return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
4565                 + !m + !n + !o + !p + !q + !pq);
4566
4567   ;
4568   return 0;
4569 }
4570 _ACEOF
4571 if ac_fn_c_try_compile "$LINENO"; then :
4572   ac_cv_header_stdbool_h=yes
4573 else
4574   ac_cv_header_stdbool_h=no
4575 fi
4576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4577 fi
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
4579 $as_echo "$ac_cv_header_stdbool_h" >&6; }
4580 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
4581 if test "x$ac_cv_type__Bool" = xyes; then :
4582
4583 cat >>confdefs.h <<_ACEOF
4584 #define HAVE__BOOL 1
4585 _ACEOF
4586
4587
4588 fi
4589
4590 if test $ac_cv_header_stdbool_h = yes; then
4591
4592 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
4593
4594 fi
4595
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4597 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4598 if ${ac_cv_c_const+:} false; then :
4599   $as_echo_n "(cached) " >&6
4600 else
4601   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4602 /* end confdefs.h.  */
4603
4604 int
4605 main ()
4606 {
4607 /* FIXME: Include the comments suggested by Paul. */
4608 #ifndef __cplusplus
4609   /* Ultrix mips cc rejects this.  */
4610   typedef int charset[2];
4611   const charset cs;
4612   /* SunOS 4.1.1 cc rejects this.  */
4613   char const *const *pcpcc;
4614   char **ppc;
4615   /* NEC SVR4.0.2 mips cc rejects this.  */
4616   struct point {int x, y;};
4617   static struct point const zero = {0,0};
4618   /* AIX XL C 1.02.0.0 rejects this.
4619      It does not let you subtract one const X* pointer from another in
4620      an arm of an if-expression whose if-part is not a constant
4621      expression */
4622   const char *g = "string";
4623   pcpcc = &g + (g ? g-g : 0);
4624   /* HPUX 7.0 cc rejects these. */
4625   ++pcpcc;
4626   ppc = (char**) pcpcc;
4627   pcpcc = (char const *const *) ppc;
4628   { /* SCO 3.2v4 cc rejects this.  */
4629     char *t;
4630     char const *s = 0 ? (char *) 0 : (char const *) 0;
4631
4632     *t++ = 0;
4633     if (s) return 0;
4634   }
4635   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
4636     int x[] = {25, 17};
4637     const int *foo = &x[0];
4638     ++foo;
4639   }
4640   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4641     typedef const int *iptr;
4642     iptr p = 0;
4643     ++p;
4644   }
4645   { /* AIX XL C 1.02.0.0 rejects this saying
4646        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4647     struct s { int j; const int *ap[3]; };
4648     struct s *b; b->j = 5;
4649   }
4650   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4651     const int foo = 10;
4652     if (!foo) return 0;
4653   }
4654   return !cs[0] && !zero.x;
4655 #endif
4656
4657   ;
4658   return 0;
4659 }
4660 _ACEOF
4661 if ac_fn_c_try_compile "$LINENO"; then :
4662   ac_cv_c_const=yes
4663 else
4664   ac_cv_c_const=no
4665 fi
4666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4667 fi
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4669 $as_echo "$ac_cv_c_const" >&6; }
4670 if test $ac_cv_c_const = no; then
4671
4672 $as_echo "#define const /**/" >>confdefs.h
4673
4674 fi
4675
4676 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4677 if test "x$ac_cv_type_size_t" = xyes; then :
4678
4679 else
4680
4681 cat >>confdefs.h <<_ACEOF
4682 #define size_t unsigned int
4683 _ACEOF
4684
4685 fi
4686
4687
4688 # checks for structures (none need to be tested)
4689
4690 # checks for compiler characteristics
4691  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
4692 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
4693 if ${ac_cv_c_bigendian+:} false; then :
4694   $as_echo_n "(cached) " >&6
4695 else
4696   ac_cv_c_bigendian=unknown
4697     # See if we're dealing with a universal compiler.
4698     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4699 /* end confdefs.h.  */
4700 #ifndef __APPLE_CC__
4701                not a universal capable compiler
4702              #endif
4703              typedef int dummy;
4704
4705 _ACEOF
4706 if ac_fn_c_try_compile "$LINENO"; then :
4707
4708         # Check for potential -arch flags.  It is not universal unless
4709         # there are at least two -arch flags with different values.
4710         ac_arch=
4711         ac_prev=
4712         for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
4713          if test -n "$ac_prev"; then
4714            case $ac_word in
4715              i?86 | x86_64 | ppc | ppc64)
4716                if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
4717                  ac_arch=$ac_word
4718                else
4719                  ac_cv_c_bigendian=universal
4720                  break
4721                fi
4722                ;;
4723            esac
4724            ac_prev=
4725          elif test "x$ac_word" = "x-arch"; then
4726            ac_prev=arch
4727          fi
4728        done
4729 fi
4730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4731     if test $ac_cv_c_bigendian = unknown; then
4732       # See if sys/param.h defines the BYTE_ORDER macro.
4733       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4734 /* end confdefs.h.  */
4735 #include <sys/types.h>
4736              #include <sys/param.h>
4737
4738 int
4739 main ()
4740 {
4741 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
4742                      && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
4743                      && LITTLE_ENDIAN)
4744               bogus endian macros
4745              #endif
4746
4747   ;
4748   return 0;
4749 }
4750 _ACEOF
4751 if ac_fn_c_try_compile "$LINENO"; then :
4752   # It does; now see whether it defined to BIG_ENDIAN or not.
4753          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4754 /* end confdefs.h.  */
4755 #include <sys/types.h>
4756                 #include <sys/param.h>
4757
4758 int
4759 main ()
4760 {
4761 #if BYTE_ORDER != BIG_ENDIAN
4762                  not big endian
4763                 #endif
4764
4765   ;
4766   return 0;
4767 }
4768 _ACEOF
4769 if ac_fn_c_try_compile "$LINENO"; then :
4770   ac_cv_c_bigendian=yes
4771 else
4772   ac_cv_c_bigendian=no
4773 fi
4774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4775 fi
4776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4777     fi
4778     if test $ac_cv_c_bigendian = unknown; then
4779       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
4780       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4781 /* end confdefs.h.  */
4782 #include <limits.h>
4783
4784 int
4785 main ()
4786 {
4787 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
4788               bogus endian macros
4789              #endif
4790
4791   ;
4792   return 0;
4793 }
4794 _ACEOF
4795 if ac_fn_c_try_compile "$LINENO"; then :
4796   # It does; now see whether it defined to _BIG_ENDIAN or not.
4797          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4798 /* end confdefs.h.  */
4799 #include <limits.h>
4800
4801 int
4802 main ()
4803 {
4804 #ifndef _BIG_ENDIAN
4805                  not big endian
4806                 #endif
4807
4808   ;
4809   return 0;
4810 }
4811 _ACEOF
4812 if ac_fn_c_try_compile "$LINENO"; then :
4813   ac_cv_c_bigendian=yes
4814 else
4815   ac_cv_c_bigendian=no
4816 fi
4817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4818 fi
4819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4820     fi
4821     if test $ac_cv_c_bigendian = unknown; then
4822       # Compile a test program.
4823       if test "$cross_compiling" = yes; then :
4824   # Try to guess by grepping values from an object file.
4825          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4826 /* end confdefs.h.  */
4827 short int ascii_mm[] =
4828                   { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4829                 short int ascii_ii[] =
4830                   { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4831                 int use_ascii (int i) {
4832                   return ascii_mm[i] + ascii_ii[i];
4833                 }
4834                 short int ebcdic_ii[] =
4835                   { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4836                 short int ebcdic_mm[] =
4837                   { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4838                 int use_ebcdic (int i) {
4839                   return ebcdic_mm[i] + ebcdic_ii[i];
4840                 }
4841                 extern int foo;
4842
4843 int
4844 main ()
4845 {
4846 return use_ascii (foo) == use_ebcdic (foo);
4847   ;
4848   return 0;
4849 }
4850 _ACEOF
4851 if ac_fn_c_try_compile "$LINENO"; then :
4852   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
4853               ac_cv_c_bigendian=yes
4854             fi
4855             if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4856               if test "$ac_cv_c_bigendian" = unknown; then
4857                 ac_cv_c_bigendian=no
4858               else
4859                 # finding both strings is unlikely to happen, but who knows?
4860                 ac_cv_c_bigendian=unknown
4861               fi
4862             fi
4863 fi
4864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4865 else
4866   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4867 /* end confdefs.h.  */
4868 $ac_includes_default
4869 int
4870 main ()
4871 {
4872
4873              /* Are we little or big endian?  From Harbison&Steele.  */
4874              union
4875              {
4876                long int l;
4877                char c[sizeof (long int)];
4878              } u;
4879              u.l = 1;
4880              return u.c[sizeof (long int) - 1] == 1;
4881
4882   ;
4883   return 0;
4884 }
4885 _ACEOF
4886 if ac_fn_c_try_run "$LINENO"; then :
4887   ac_cv_c_bigendian=no
4888 else
4889   ac_cv_c_bigendian=yes
4890 fi
4891 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4892   conftest.$ac_objext conftest.beam conftest.$ac_ext
4893 fi
4894
4895     fi
4896 fi
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
4898 $as_echo "$ac_cv_c_bigendian" >&6; }
4899  case $ac_cv_c_bigendian in #(
4900    yes)
4901      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
4902 ;; #(
4903    no)
4904       ;; #(
4905    universal)
4906
4907 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
4908
4909      ;; #(
4910    *)
4911      as_fn_error $? "unknown endianness
4912  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
4913  esac
4914
4915 # The cast to long int works around a bug in the HP C Compiler
4916 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4917 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4918 # This bug is HP SR number 8606223364.
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
4920 $as_echo_n "checking size of size_t... " >&6; }
4921 if ${ac_cv_sizeof_size_t+:} false; then :
4922   $as_echo_n "(cached) " >&6
4923 else
4924   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t"        "$ac_includes_default"; then :
4925
4926 else
4927   if test "$ac_cv_type_size_t" = yes; then
4928      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4929 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4930 as_fn_error 77 "cannot compute sizeof (size_t)
4931 See \`config.log' for more details" "$LINENO" 5; }
4932    else
4933      ac_cv_sizeof_size_t=0
4934    fi
4935 fi
4936
4937 fi
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
4939 $as_echo "$ac_cv_sizeof_size_t" >&6; }
4940
4941
4942
4943 cat >>confdefs.h <<_ACEOF
4944 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
4945 _ACEOF
4946
4947
4948
4949 # checks for library functions
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5
4951 $as_echo_n "checking for working strtod... " >&6; }
4952 if ${ac_cv_func_strtod+:} false; then :
4953   $as_echo_n "(cached) " >&6
4954 else
4955   if test "$cross_compiling" = yes; then :
4956   ac_cv_func_strtod=no
4957 else
4958   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4959 /* end confdefs.h.  */
4960
4961 $ac_includes_default
4962 #ifndef strtod
4963 double strtod ();
4964 #endif
4965 int
4966 main()
4967 {
4968   {
4969     /* Some versions of Linux strtod mis-parse strings with leading '+'.  */
4970     char *string = " +69";
4971     char *term;
4972     double value;
4973     value = strtod (string, &term);
4974     if (value != 69 || term != (string + 4))
4975       return 1;
4976   }
4977
4978   {
4979     /* Under Solaris 2.4, strtod returns the wrong value for the
4980        terminating character under some conditions.  */
4981     char *string = "NaN";
4982     char *term;
4983     strtod (string, &term);
4984     if (term != string && *(term - 1) == 0)
4985       return 1;
4986   }
4987   return 0;
4988 }
4989
4990 _ACEOF
4991 if ac_fn_c_try_run "$LINENO"; then :
4992   ac_cv_func_strtod=yes
4993 else
4994   ac_cv_func_strtod=no
4995 fi
4996 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4997   conftest.$ac_objext conftest.beam conftest.$ac_ext
4998 fi
4999
5000 fi
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strtod" >&5
5002 $as_echo "$ac_cv_func_strtod" >&6; }
5003 if test $ac_cv_func_strtod = no; then
5004   case " $LIBOBJS " in
5005   *" strtod.$ac_objext "* ) ;;
5006   *) LIBOBJS="$LIBOBJS strtod.$ac_objext"
5007  ;;
5008 esac
5009
5010 ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow"
5011 if test "x$ac_cv_func_pow" = xyes; then :
5012
5013 fi
5014
5015 if test $ac_cv_func_pow = no; then
5016   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
5017 $as_echo_n "checking for pow in -lm... " >&6; }
5018 if ${ac_cv_lib_m_pow+:} false; then :
5019   $as_echo_n "(cached) " >&6
5020 else
5021   ac_check_lib_save_LIBS=$LIBS
5022 LIBS="-lm  $LIBS"
5023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5024 /* end confdefs.h.  */
5025
5026 /* Override any GCC internal prototype to avoid an error.
5027    Use char because int might match the return type of a GCC
5028    builtin and then its argument prototype would still apply.  */
5029 #ifdef __cplusplus
5030 extern "C"
5031 #endif
5032 char pow ();
5033 int
5034 main ()
5035 {
5036 return pow ();
5037   ;
5038   return 0;
5039 }
5040 _ACEOF
5041 if ac_fn_c_try_link "$LINENO"; then :
5042   ac_cv_lib_m_pow=yes
5043 else
5044   ac_cv_lib_m_pow=no
5045 fi
5046 rm -f core conftest.err conftest.$ac_objext \
5047     conftest$ac_exeext conftest.$ac_ext
5048 LIBS=$ac_check_lib_save_LIBS
5049 fi
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
5051 $as_echo "$ac_cv_lib_m_pow" >&6; }
5052 if test "x$ac_cv_lib_m_pow" = xyes; then :
5053   POW_LIB=-lm
5054 else
5055   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5
5056 $as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
5057 fi
5058
5059 fi
5060
5061 fi
5062
5063 for ac_func in memset strchr strtol processor_info getsysinfo pthread_num_processors_np
5064 do :
5065   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5066 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5067 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
5068   cat >>confdefs.h <<_ACEOF
5069 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5070 _ACEOF
5071
5072 fi
5073 done
5074
5075 for ac_func in  cpu_get_max pstat pstat_getdynamic pstat_getprocessor uname sysconf sysinfo
5076 do :
5077   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5078 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5079 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
5080   cat >>confdefs.h <<_ACEOF
5081 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5082 _ACEOF
5083
5084 fi
5085 done
5086
5087 for ac_func in  cpusetcreate cpucountset cpu_get_num sysctl
5088 do :
5089   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5090 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5091 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
5092   cat >>confdefs.h <<_ACEOF
5093 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5094 _ACEOF
5095
5096 fi
5097 done
5098
5099
5100 # checks for system services
5101
5102 # Check if the user wants a GUI. If so makes sure GTK and wxWindows are around.
5103 # The macro is in the file gtk.m4 in the 'm4' subdirectory.
5104
5105 #AC_ARG_WITH(gui, AC_HELP_STRING([--with-gui=[no]],[Add a GUI (needs GTK >= 1.2.7 installed) but the GUI does not work!! ]))
5106 #AC_PROG_CXX # Test for C++ compiler characteristics
5107 #if test "x$with_gui" = "xyes"; then
5108 #        AC_PATH_GTK(1.2.7, GTK127=1)
5109 #        if test "$GTK127" != 1; then
5110 #            AC_MSG_ERROR([
5111 #                Please check that gtk-config is in path, the directory
5112 #                where GTK+ libraries are installed (returned by
5113 #                'gtk-config --libs' command) is in LD_LIBRARY_PATH or
5114 #                equivalent variable and GTK+ is version 1.2.7 or above.
5115 #            ])
5116 #        fi
5117 #       AC_CHECK_PROG(WXWINDOWS,wx-config, 1, 0)
5118 #       if test "$WXWINDOWS" != 1; then
5119 #            AC_MSG_ERROR([
5120 #              wxWindows must be installed to use the GUI version of atlc
5121 #        ])
5122 #        fi
5123 #        AC_SUBST(EXTRA_WXWINDOWS_LIBS,`wx-config --libs`)
5124 #        AC_SUBST(EXTRA_WXWINDOWS_CFLAGS,`wx-config --cflags`)
5125 #        AC_SUBST(GUI_DIRECTORY,gui)
5126 #fi
5127
5128
5129 #AC_ARG_ENABLE(debug, AC_HELP_STRING([--enable-debug],[ with debugging code]), AC_DEFINE([DEBUG],[1]))
5130 # Check whether --enable-debug was given.
5131 if test "${enable_debug+set}" = set; then :
5132   enableval=$enable_debug;
5133 $as_echo "#define DEBUG 1" >>confdefs.h
5134
5135 fi
5136
5137 # Check whether --enable-hardware-info was given.
5138 if test "${enable_hardware_info+set}" = set; then :
5139   enableval=$enable_hardware_info; 1
5140 else
5141
5142 $as_echo "#define TRY_TO_GET_HARDWARE_INFO 1" >>confdefs.h
5143
5144 fi
5145
5146
5147 # Put a usage message so the user can use threads if wanted.
5148 #AC_ARG_WITH(threads,
5149 #AC_HELP_STRING([--with-threads],
5150 #                  [support thread-based parallel computation, using a POSIX thread library (default is NO)]))
5151
5152 # Multi-Processor Support checked with the macro m4/acx_pthread.m4
5153 if test "x$with_threads" = "xyes"; then
5154   # Make sure we can run config.sub.
5155 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5156   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5157
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5159 $as_echo_n "checking build system type... " >&6; }
5160 if ${ac_cv_build+:} false; then :
5161   $as_echo_n "(cached) " >&6
5162 else
5163   ac_build_alias=$build_alias
5164 test "x$ac_build_alias" = x &&
5165   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5166 test "x$ac_build_alias" = x &&
5167   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5168 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5169   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5170
5171 fi
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5173 $as_echo "$ac_cv_build" >&6; }
5174 case $ac_cv_build in
5175 *-*-*) ;;
5176 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5177 esac
5178 build=$ac_cv_build
5179 ac_save_IFS=$IFS; IFS='-'
5180 set x $ac_cv_build
5181 shift
5182 build_cpu=$1
5183 build_vendor=$2
5184 shift; shift
5185 # Remember, the first character of IFS is used to create $*,
5186 # except with old shells:
5187 build_os=$*
5188 IFS=$ac_save_IFS
5189 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5190
5191
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5193 $as_echo_n "checking host system type... " >&6; }
5194 if ${ac_cv_host+:} false; then :
5195   $as_echo_n "(cached) " >&6
5196 else
5197   if test "x$host_alias" = x; then
5198   ac_cv_host=$ac_cv_build
5199 else
5200   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5201     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5202 fi
5203
5204 fi
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5206 $as_echo "$ac_cv_host" >&6; }
5207 case $ac_cv_host in
5208 *-*-*) ;;
5209 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5210 esac
5211 host=$ac_cv_host
5212 ac_save_IFS=$IFS; IFS='-'
5213 set x $ac_cv_host
5214 shift
5215 host_cpu=$1
5216 host_vendor=$2
5217 shift; shift
5218 # Remember, the first character of IFS is used to create $*,
5219 # except with old shells:
5220 host_os=$*
5221 IFS=$ac_save_IFS
5222 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5223
5224
5225
5226
5227
5228 ac_ext=c
5229 ac_cpp='$CPP $CPPFLAGS'
5230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5233
5234 acx_pthread_ok=no
5235
5236 # We used to check for pthread.h first, but this fails if pthread.h
5237 # requires special compiler flags (e.g. on True64 or Sequent).
5238 # It gets checked for in the link test anyway.
5239
5240 # First of all, check if the user has set any of the PTHREAD_LIBS,
5241 # etcetera environment variables, and if threads linking works using
5242 # them:
5243 if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
5244         save_CFLAGS="$CFLAGS"
5245         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
5246         save_LIBS="$LIBS"
5247         LIBS="$PTHREAD_LIBS $LIBS"
5248         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
5249 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
5250         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5251 /* end confdefs.h.  */
5252
5253 /* Override any GCC internal prototype to avoid an error.
5254    Use char because int might match the return type of a GCC
5255    builtin and then its argument prototype would still apply.  */
5256 #ifdef __cplusplus
5257 extern "C"
5258 #endif
5259 char pthread_join ();
5260 int
5261 main ()
5262 {
5263 return pthread_join ();
5264   ;
5265   return 0;
5266 }
5267 _ACEOF
5268 if ac_fn_c_try_link "$LINENO"; then :
5269   acx_pthread_ok=yes
5270 fi
5271 rm -f core conftest.err conftest.$ac_objext \
5272     conftest$ac_exeext conftest.$ac_ext
5273         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
5274 $as_echo "$acx_pthread_ok" >&6; }
5275         if test x"$acx_pthread_ok" = xno; then
5276                 PTHREAD_LIBS=""
5277                 PTHREAD_CFLAGS=""
5278         fi
5279         LIBS="$save_LIBS"
5280         CFLAGS="$save_CFLAGS"
5281 fi
5282
5283 # We must check for the threads library under a number of different
5284 # names; the ordering is very important because some systems
5285 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
5286 # libraries is broken (non-POSIX).
5287
5288 # Create a list of thread flags to try.  Items starting with a "-" are
5289 # C compiler flags, and other items are library names, except for "none"
5290 # which indicates that we try without any flags at all.
5291
5292 acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt"
5293
5294 # The ordering *is* (sometimes) important.  Some notes on the
5295 # individual items follow:
5296
5297 # pthreads: AIX (must check this before -lpthread)
5298 # none: in case threads are in libc; should be tried before -Kthread and
5299 #       other compiler flags to prevent continual compiler warnings
5300 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
5301 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
5302 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
5303 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
5304 # -pthreads: Solaris/gcc
5305 # -mthreads: Mingw32/gcc, Lynx/gcc
5306 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
5307 #      doesn't hurt to check since this sometimes defines pthreads too;
5308 #      also defines -D_REENTRANT)
5309 # pthread: Linux, etcetera
5310 # --thread-safe: KAI C++
5311
5312 case "${host_cpu}-${host_os}" in
5313         *solaris*)
5314
5315         # On Solaris (at least, for some versions), libc contains stubbed
5316         # (non-functional) versions of the pthreads routines, so link-based
5317         # tests will erroneously succeed.  (We need to link with -pthread or
5318         # -lpthread.)  (The stubs are missing pthread_cleanup_push, or rather
5319         # a function called by this macro, so we could check for that, but
5320         # who knows whether they'll stub that too in a future libc.)  So,
5321         # we'll just look for -pthreads and -lpthread first:
5322
5323         acx_pthread_flags="-pthread -pthreads pthread -mt $acx_pthread_flags"
5324         ;;
5325 esac
5326
5327 if test x"$acx_pthread_ok" = xno; then
5328 for flag in $acx_pthread_flags; do
5329
5330         case $flag in
5331                 none)
5332                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
5333 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
5334                 ;;
5335
5336                 -*)
5337                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
5338 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
5339                 PTHREAD_CFLAGS="$flag"
5340                 ;;
5341
5342                 *)
5343                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
5344 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
5345                 PTHREAD_LIBS="-l$flag"
5346                 ;;
5347         esac
5348
5349         save_LIBS="$LIBS"
5350         save_CFLAGS="$CFLAGS"
5351         LIBS="$PTHREAD_LIBS $LIBS"
5352         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
5353
5354         # Check for various functions.  We must include pthread.h,
5355         # since some functions may be macros.  (On the Sequent, we
5356         # need a special flag -Kthread to make this header compile.)
5357         # We check for pthread_join because it is in -lpthread on IRIX
5358         # while pthread_create is in libc.  We check for pthread_attr_init
5359         # due to DEC craziness with -lpthreads.  We check for
5360         # pthread_cleanup_push because it is one of the few pthread
5361         # functions on Solaris that doesn't have a non-functional libc stub.
5362         # We try pthread_create on general principles.
5363         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5364 /* end confdefs.h.  */
5365 #include <pthread.h>
5366 int
5367 main ()
5368 {
5369 pthread_t th; pthread_join(th, 0);
5370                      pthread_attr_init(0); pthread_cleanup_push(0, 0);
5371                      pthread_create(0,0,0,0); pthread_cleanup_pop(0);
5372   ;
5373   return 0;
5374 }
5375 _ACEOF
5376 if ac_fn_c_try_link "$LINENO"; then :
5377   acx_pthread_ok=yes
5378 fi
5379 rm -f core conftest.err conftest.$ac_objext \
5380     conftest$ac_exeext conftest.$ac_ext
5381
5382         LIBS="$save_LIBS"
5383         CFLAGS="$save_CFLAGS"
5384
5385         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
5386 $as_echo "$acx_pthread_ok" >&6; }
5387         if test "x$acx_pthread_ok" = xyes; then
5388                 break;
5389         fi
5390
5391         PTHREAD_LIBS=""
5392         PTHREAD_CFLAGS=""
5393 done
5394 fi
5395
5396 # Various other checks:
5397 if test "x$acx_pthread_ok" = xyes; then
5398         save_LIBS="$LIBS"
5399         LIBS="$PTHREAD_LIBS $LIBS"
5400         save_CFLAGS="$CFLAGS"
5401         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
5402
5403         # Detect AIX lossage: threads are created detached by default
5404         # and the JOINABLE attribute has a nonstandard name (UNDETACHED).
5405         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
5406 $as_echo_n "checking for joinable pthread attribute... " >&6; }
5407         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5408 /* end confdefs.h.  */
5409 #include <pthread.h>
5410 int
5411 main ()
5412 {
5413 int attr=PTHREAD_CREATE_JOINABLE;
5414   ;
5415   return 0;
5416 }
5417 _ACEOF
5418 if ac_fn_c_try_link "$LINENO"; then :
5419   ok=PTHREAD_CREATE_JOINABLE
5420 else
5421   ok=unknown
5422 fi
5423 rm -f core conftest.err conftest.$ac_objext \
5424     conftest$ac_exeext conftest.$ac_ext
5425         if test x"$ok" = xunknown; then
5426                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5427 /* end confdefs.h.  */
5428 #include <pthread.h>
5429 int
5430 main ()
5431 {
5432 int attr=PTHREAD_CREATE_UNDETACHED;
5433   ;
5434   return 0;
5435 }
5436 _ACEOF
5437 if ac_fn_c_try_link "$LINENO"; then :
5438   ok=PTHREAD_CREATE_UNDETACHED
5439 else
5440   ok=unknown
5441 fi
5442 rm -f core conftest.err conftest.$ac_objext \
5443     conftest$ac_exeext conftest.$ac_ext
5444         fi
5445         if test x"$ok" != xPTHREAD_CREATE_JOINABLE; then
5446
5447 $as_echo "#define PTHREAD_CREATE_JOINABLE \$ok" >>confdefs.h
5448
5449         fi
5450         { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ok}" >&5
5451 $as_echo "${ok}" >&6; }
5452         if test x"$ok" = xunknown; then
5453                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: we do not know how to create joinable pthreads" >&5
5454 $as_echo "$as_me: WARNING: we do not know how to create joinable pthreads" >&2;}
5455         fi
5456
5457         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
5458 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
5459         flag=no
5460         case "${host_cpu}-${host_os}" in
5461                 *-aix* | *-freebsd*)     flag="-D_THREAD_SAFE";;
5462                 *solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";;
5463         esac
5464         { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
5465 $as_echo "${flag}" >&6; }
5466         if test "x$flag" != xno; then
5467                 PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
5468         fi
5469
5470         LIBS="$save_LIBS"
5471         CFLAGS="$save_CFLAGS"
5472
5473         # More AIX lossage: must compile with cc_r
5474         # Extract the first word of "cc_r", so it can be a program name with args.
5475 set dummy cc_r; ac_word=$2
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5477 $as_echo_n "checking for $ac_word... " >&6; }
5478 if ${ac_cv_prog_PTHREAD_CC+:} false; then :
5479   $as_echo_n "(cached) " >&6
5480 else
5481   if test -n "$PTHREAD_CC"; then
5482   ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
5483 else
5484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5485 for as_dir in $PATH
5486 do
5487   IFS=$as_save_IFS
5488   test -z "$as_dir" && as_dir=.
5489     for ac_exec_ext in '' $ac_executable_extensions; do
5490   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5491     ac_cv_prog_PTHREAD_CC="cc_r"
5492     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5493     break 2
5494   fi
5495 done
5496   done
5497 IFS=$as_save_IFS
5498
5499   test -z "$ac_cv_prog_PTHREAD_CC" && ac_cv_prog_PTHREAD_CC="${CC}"
5500 fi
5501 fi
5502 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
5503 if test -n "$PTHREAD_CC"; then
5504   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
5505 $as_echo "$PTHREAD_CC" >&6; }
5506 else
5507   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5508 $as_echo "no" >&6; }
5509 fi
5510
5511
5512 else
5513         PTHREAD_CC="$CC"
5514 fi
5515
5516
5517
5518
5519
5520 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
5521 if test x"$acx_pthread_ok" = xyes; then
5522
5523 $as_echo "#define ENABLE_POSIX_THREADS 1" >>confdefs.h
5524
5525         :
5526 else
5527         acx_pthread_ok=no
5528
5529 fi
5530 ac_ext=c
5531 ac_cpp='$CPP $CPPFLAGS'
5532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5535
5536
5537   LIBS="$PTHREAD_LIBS $LIBS"
5538   CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
5539   CC="$PTHREAD_CC"
5540   # if possible for a number of threads to run at once.
5541   ac_fn_c_check_func "$LINENO" "pthread_setconcurrency" "ac_cv_func_pthread_setconcurrency"
5542 if test "x$ac_cv_func_pthread_setconcurrency" = xyes; then :
5543
5544 $as_echo "#define HAVE_PTHREAD_SETCONCURRENCY 1" >>confdefs.h
5545
5546 fi
5547
5548   built_with_posix_threads=yes
5549
5550 fi
5551 ac_fn_c_check_decl "$LINENO" "_SC_PHYS_PAGES" "ac_cv_have_decl__SC_PHYS_PAGES" "$ac_includes_default"
5552 if test "x$ac_cv_have_decl__SC_PHYS_PAGES" = xyes; then :
5553
5554 fi
5555
5556 ac_fn_c_check_decl "$LINENO" "_SC_PAGESIZE" "ac_cv_have_decl__SC_PAGESIZE" "$ac_includes_default"
5557 if test "x$ac_cv_have_decl__SC_PAGESIZE" = xyes; then :
5558
5559 fi
5560
5561 ac_fn_c_check_decl "$LINENO" "_SC_CRAY_NCPU" "ac_cv_have_decl__SC_CRAY_NCPU" "$ac_includes_default"
5562 if test "x$ac_cv_have_decl__SC_CRAY_NCPU" = xyes; then :
5563
5564 fi
5565
5566 ac_fn_c_check_decl "$LINENO" "_SC_CRAY_NCPU" "ac_cv_have_decl__SC_CRAY_NCPU" "$ac_includes_default"
5567 if test "x$ac_cv_have_decl__SC_CRAY_NCPU" = xyes; then :
5568
5569 fi
5570
5571 ac_fn_c_check_decl "$LINENO" "_SC_NPROC_CONF" "ac_cv_have_decl__SC_NPROC_CONF" "$ac_includes_default"
5572 if test "x$ac_cv_have_decl__SC_NPROC_CONF" = xyes; then :
5573
5574 fi
5575
5576 ac_fn_c_check_decl "$LINENO" "_SC_NPROC_ONLN" "ac_cv_have_decl__SC_NPROC_ONLN" "$ac_includes_default"
5577 if test "x$ac_cv_have_decl__SC_NPROC_ONLN" = xyes; then :
5578
5579 fi
5580
5581
5582 # MPI and MPE Support
5583 #AC_ARG_WITH(mpi, AC_HELP_STRING([--with-mpi=[mpi_install_prefix]],[support MPI-based parallel computation (needs MPICH installed)]))
5584 #AC_ARG_WITH(mpe, AC_HELP_STRING([--with-mpe=[mpi_install_prefix]],[implies --with-mpi and additionally links in MPE logging support]))
5585 #
5586 # if test "x$with_mpi" != "x" \
5587 # || test "x$with_mpe" != "x"; then
5588 #
5589 #  if test "x$with_threads" = "xyes"; then
5590 #     AC_MSG_ERROR([it does not make sense to use --with-threads with --with-mpi or --with-mpe])
5591 #  fi
5592 #  ACX_MPI(    [AC_DEFINE([ENABLE_MPI],[1],[Enable the use of MPICH library]) ] ,[],[AC_MSG_ERROR([Could not determine how to link MPI program])])
5593 #  CC="$MPICC"
5594 #  if test "x$with_mpe" = "xyes" ; then
5595 #    LIBS="$MPILIBS -lmpe $LIBS"
5596 #  else
5597 #    LIBS="$MPILIBS $LIBS"
5598 #  fi
5599   #AC_CHECK_PROG(mpirun,mpirun,yes,no,$PATH)
5600   #if test "x$mpirun" = "xyes"; then
5601   #  AC_MSG_NOTICE([Don't forget, 'mpirun' MUST be used to call atlc. Don't run atlc directly!!])
5602   #else
5603   #  AC_MSG_WARN([The program 'mpirun' needed to run atlc, can't be found])
5604   #fi
5605 #fi
5606
5607 if test "x$GCC" = "xyes"; then
5608   if test -z "`echo "$CFLAGS" | grep "\-Wall" 2> /dev/null`" ; then
5609       CFLAGS="$CFLAGS -Wall"
5610   fi
5611 fi
5612 compiled_with_compiler="$CC"
5613
5614 compiled_with_cflags="$CFLAGS"
5615
5616 ac_config_files="$ac_config_files Makefile src/Makefile m4/Makefile man/Makefile man/man1/Makefile examples/Makefile tools/Makefile tools/src/Makefile tests/Makefile docs/html-docs/Makefile docs/html-docs/jpgs/Makefile docs/qex-december-1996/Makefile docs/theory/Makefile docs/Makefile"
5617
5618 cat >confcache <<\_ACEOF
5619 # This file is a shell script that caches the results of configure
5620 # tests run on this system so they can be shared between configure
5621 # scripts and configure runs, see configure's option --config-cache.
5622 # It is not useful on other systems.  If it contains results you don't
5623 # want to keep, you may remove or edit it.
5624 #
5625 # config.status only pays attention to the cache file if you give it
5626 # the --recheck option to rerun configure.
5627 #
5628 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5629 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5630 # following values.
5631
5632 _ACEOF
5633
5634 # The following way of writing the cache mishandles newlines in values,
5635 # but we know of no workaround that is simple, portable, and efficient.
5636 # So, we kill variables containing newlines.
5637 # Ultrix sh set writes to stderr and can't be redirected directly,
5638 # and sets the high bit in the cache file unless we assign to the vars.
5639 (
5640   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5641     eval ac_val=\$$ac_var
5642     case $ac_val in #(
5643     *${as_nl}*)
5644       case $ac_var in #(
5645       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5646 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5647       esac
5648       case $ac_var in #(
5649       _ | IFS | as_nl) ;; #(
5650       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5651       *) { eval $ac_var=; unset $ac_var;} ;;
5652       esac ;;
5653     esac
5654   done
5655
5656   (set) 2>&1 |
5657     case $as_nl`(ac_space=' '; set) 2>&1` in #(
5658     *${as_nl}ac_space=\ *)
5659       # `set' does not quote correctly, so add quotes: double-quote
5660       # substitution turns \\\\ into \\, and sed turns \\ into \.
5661       sed -n \
5662         "s/'/'\\\\''/g;
5663           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5664       ;; #(
5665     *)
5666       # `set' quotes correctly as required by POSIX, so do not add quotes.
5667       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5668       ;;
5669     esac |
5670     sort
5671 ) |
5672   sed '
5673      /^ac_cv_env_/b end
5674      t clear
5675      :clear
5676      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5677      t end
5678      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5679      :end' >>confcache
5680 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5681   if test -w "$cache_file"; then
5682     if test "x$cache_file" != "x/dev/null"; then
5683       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5684 $as_echo "$as_me: updating cache $cache_file" >&6;}
5685       if test ! -f "$cache_file" || test -h "$cache_file"; then
5686         cat confcache >"$cache_file"
5687       else
5688         case $cache_file in #(
5689         */* | ?:*)
5690           mv -f confcache "$cache_file"$$ &&
5691           mv -f "$cache_file"$$ "$cache_file" ;; #(
5692         *)
5693           mv -f confcache "$cache_file" ;;
5694         esac
5695       fi
5696     fi
5697   else
5698     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5699 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5700   fi
5701 fi
5702 rm -f confcache
5703
5704 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5705 # Let make expand exec_prefix.
5706 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5707
5708 DEFS=-DHAVE_CONFIG_H
5709
5710 ac_libobjs=
5711 ac_ltlibobjs=
5712 U=
5713 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5714   # 1. Remove the extension, and $U if already installed.
5715   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5716   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5717   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
5718   #    will be set to the directory where LIBOBJS objects are built.
5719   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5720   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5721 done
5722 LIBOBJS=$ac_libobjs
5723
5724 LTLIBOBJS=$ac_ltlibobjs
5725
5726
5727  if test -n "$EXEEXT"; then
5728   am__EXEEXT_TRUE=
5729   am__EXEEXT_FALSE='#'
5730 else
5731   am__EXEEXT_TRUE='#'
5732   am__EXEEXT_FALSE=
5733 fi
5734
5735 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5736   as_fn_error $? "conditional \"AMDEP\" was never defined.
5737 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5738 fi
5739 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5740   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5741 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5742 fi
5743
5744
5745 : "${CONFIG_STATUS=./config.status}"
5746 ac_write_fail=0
5747 ac_clean_files_save=$ac_clean_files
5748 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5750 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5751 as_write_fail=0
5752 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5753 #! $SHELL
5754 # Generated by $as_me.
5755 # Run this file to recreate the current configuration.
5756 # Compiler output produced by configure, useful for debugging
5757 # configure, is in config.log if it exists.
5758
5759 debug=false
5760 ac_cs_recheck=false
5761 ac_cs_silent=false
5762
5763 SHELL=\${CONFIG_SHELL-$SHELL}
5764 export SHELL
5765 _ASEOF
5766 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5767 ## -------------------- ##
5768 ## M4sh Initialization. ##
5769 ## -------------------- ##
5770
5771 # Be more Bourne compatible
5772 DUALCASE=1; export DUALCASE # for MKS sh
5773 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5774   emulate sh
5775   NULLCMD=:
5776   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5777   # is contrary to our usage.  Disable this feature.
5778   alias -g '${1+"$@"}'='"$@"'
5779   setopt NO_GLOB_SUBST
5780 else
5781   case `(set -o) 2>/dev/null` in #(
5782   *posix*) :
5783     set -o posix ;; #(
5784   *) :
5785      ;;
5786 esac
5787 fi
5788
5789
5790 as_nl='
5791 '
5792 export as_nl
5793 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5794 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5795 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5796 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5797 # Prefer a ksh shell builtin over an external printf program on Solaris,
5798 # but without wasting forks for bash or zsh.
5799 if test -z "$BASH_VERSION$ZSH_VERSION" \
5800     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5801   as_echo='print -r --'
5802   as_echo_n='print -rn --'
5803 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5804   as_echo='printf %s\n'
5805   as_echo_n='printf %s'
5806 else
5807   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5808     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5809     as_echo_n='/usr/ucb/echo -n'
5810   else
5811     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5812     as_echo_n_body='eval
5813       arg=$1;
5814       case $arg in #(
5815       *"$as_nl"*)
5816         expr "X$arg" : "X\\(.*\\)$as_nl";
5817         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5818       esac;
5819       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5820     '
5821     export as_echo_n_body
5822     as_echo_n='sh -c $as_echo_n_body as_echo'
5823   fi
5824   export as_echo_body
5825   as_echo='sh -c $as_echo_body as_echo'
5826 fi
5827
5828 # The user is always right.
5829 if test "${PATH_SEPARATOR+set}" != set; then
5830   PATH_SEPARATOR=:
5831   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5832     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5833       PATH_SEPARATOR=';'
5834   }
5835 fi
5836
5837
5838 # IFS
5839 # We need space, tab and new line, in precisely that order.  Quoting is
5840 # there to prevent editors from complaining about space-tab.
5841 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5842 # splitting by setting IFS to empty value.)
5843 IFS=" ""        $as_nl"
5844
5845 # Find who we are.  Look in the path if we contain no directory separator.
5846 as_myself=
5847 case $0 in #((
5848   *[\\/]* ) as_myself=$0 ;;
5849   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5850 for as_dir in $PATH
5851 do
5852   IFS=$as_save_IFS
5853   test -z "$as_dir" && as_dir=.
5854     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5855   done
5856 IFS=$as_save_IFS
5857
5858      ;;
5859 esac
5860 # We did not find ourselves, most probably we were run as `sh COMMAND'
5861 # in which case we are not to be found in the path.
5862 if test "x$as_myself" = x; then
5863   as_myself=$0
5864 fi
5865 if test ! -f "$as_myself"; then
5866   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5867   exit 1
5868 fi
5869
5870 # Unset variables that we do not need and which cause bugs (e.g. in
5871 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
5872 # suppresses any "Segmentation fault" message there.  '((' could
5873 # trigger a bug in pdksh 5.2.14.
5874 for as_var in BASH_ENV ENV MAIL MAILPATH
5875 do eval test x\${$as_var+set} = xset \
5876   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5877 done
5878 PS1='$ '
5879 PS2='> '
5880 PS4='+ '
5881
5882 # NLS nuisances.
5883 LC_ALL=C
5884 export LC_ALL
5885 LANGUAGE=C
5886 export LANGUAGE
5887
5888 # CDPATH.
5889 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5890
5891
5892 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5893 # ----------------------------------------
5894 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5895 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5896 # script with STATUS, using 1 if that was 0.
5897 as_fn_error ()
5898 {
5899   as_status=$1; test $as_status -eq 0 && as_status=1
5900   if test "$4"; then
5901     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5902     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5903   fi
5904   $as_echo "$as_me: error: $2" >&2
5905   as_fn_exit $as_status
5906 } # as_fn_error
5907
5908
5909 # as_fn_set_status STATUS
5910 # -----------------------
5911 # Set $? to STATUS, without forking.
5912 as_fn_set_status ()
5913 {
5914   return $1
5915 } # as_fn_set_status
5916
5917 # as_fn_exit STATUS
5918 # -----------------
5919 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5920 as_fn_exit ()
5921 {
5922   set +e
5923   as_fn_set_status $1
5924   exit $1
5925 } # as_fn_exit
5926
5927 # as_fn_unset VAR
5928 # ---------------
5929 # Portably unset VAR.
5930 as_fn_unset ()
5931 {
5932   { eval $1=; unset $1;}
5933 }
5934 as_unset=as_fn_unset
5935 # as_fn_append VAR VALUE
5936 # ----------------------
5937 # Append the text in VALUE to the end of the definition contained in VAR. Take
5938 # advantage of any shell optimizations that allow amortized linear growth over
5939 # repeated appends, instead of the typical quadratic growth present in naive
5940 # implementations.
5941 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5942   eval 'as_fn_append ()
5943   {
5944     eval $1+=\$2
5945   }'
5946 else
5947   as_fn_append ()
5948   {
5949     eval $1=\$$1\$2
5950   }
5951 fi # as_fn_append
5952
5953 # as_fn_arith ARG...
5954 # ------------------
5955 # Perform arithmetic evaluation on the ARGs, and store the result in the
5956 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5957 # must be portable across $(()) and expr.
5958 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5959   eval 'as_fn_arith ()
5960   {
5961     as_val=$(( $* ))
5962   }'
5963 else
5964   as_fn_arith ()
5965   {
5966     as_val=`expr "$@" || test $? -eq 1`
5967   }
5968 fi # as_fn_arith
5969
5970
5971 if expr a : '\(a\)' >/dev/null 2>&1 &&
5972    test "X`expr 00001 : '.*\(...\)'`" = X001; then
5973   as_expr=expr
5974 else
5975   as_expr=false
5976 fi
5977
5978 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5979   as_basename=basename
5980 else
5981   as_basename=false
5982 fi
5983
5984 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5985   as_dirname=dirname
5986 else
5987   as_dirname=false
5988 fi
5989
5990 as_me=`$as_basename -- "$0" ||
5991 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5992          X"$0" : 'X\(//\)$' \| \
5993          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5994 $as_echo X/"$0" |
5995     sed '/^.*\/\([^/][^/]*\)\/*$/{
5996             s//\1/
5997             q
5998           }
5999           /^X\/\(\/\/\)$/{
6000             s//\1/
6001             q
6002           }
6003           /^X\/\(\/\).*/{
6004             s//\1/
6005             q
6006           }
6007           s/.*/./; q'`
6008
6009 # Avoid depending upon Character Ranges.
6010 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6011 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6012 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6013 as_cr_digits='0123456789'
6014 as_cr_alnum=$as_cr_Letters$as_cr_digits
6015
6016 ECHO_C= ECHO_N= ECHO_T=
6017 case `echo -n x` in #(((((
6018 -n*)
6019   case `echo 'xy\c'` in
6020   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
6021   xy)  ECHO_C='\c';;
6022   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
6023        ECHO_T=' ';;
6024   esac;;
6025 *)
6026   ECHO_N='-n';;
6027 esac
6028
6029 rm -f conf$$ conf$$.exe conf$$.file
6030 if test -d conf$$.dir; then
6031   rm -f conf$$.dir/conf$$.file
6032 else
6033   rm -f conf$$.dir
6034   mkdir conf$$.dir 2>/dev/null
6035 fi
6036 if (echo >conf$$.file) 2>/dev/null; then
6037   if ln -s conf$$.file conf$$ 2>/dev/null; then
6038     as_ln_s='ln -s'
6039     # ... but there are two gotchas:
6040     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6041     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6042     # In both cases, we have to default to `cp -p'.
6043     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6044       as_ln_s='cp -p'
6045   elif ln conf$$.file conf$$ 2>/dev/null; then
6046     as_ln_s=ln
6047   else
6048     as_ln_s='cp -p'
6049   fi
6050 else
6051   as_ln_s='cp -p'
6052 fi
6053 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6054 rmdir conf$$.dir 2>/dev/null
6055
6056
6057 # as_fn_mkdir_p
6058 # -------------
6059 # Create "$as_dir" as a directory, including parents if necessary.
6060 as_fn_mkdir_p ()
6061 {
6062
6063   case $as_dir in #(
6064   -*) as_dir=./$as_dir;;
6065   esac
6066   test -d "$as_dir" || eval $as_mkdir_p || {
6067     as_dirs=
6068     while :; do
6069       case $as_dir in #(
6070       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6071       *) as_qdir=$as_dir;;
6072       esac
6073       as_dirs="'$as_qdir' $as_dirs"
6074       as_dir=`$as_dirname -- "$as_dir" ||
6075 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6076          X"$as_dir" : 'X\(//\)[^/]' \| \
6077          X"$as_dir" : 'X\(//\)$' \| \
6078          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6079 $as_echo X"$as_dir" |
6080     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6081             s//\1/
6082             q
6083           }
6084           /^X\(\/\/\)[^/].*/{
6085             s//\1/
6086             q
6087           }
6088           /^X\(\/\/\)$/{
6089             s//\1/
6090             q
6091           }
6092           /^X\(\/\).*/{
6093             s//\1/
6094             q
6095           }
6096           s/.*/./; q'`
6097       test -d "$as_dir" && break
6098     done
6099     test -z "$as_dirs" || eval "mkdir $as_dirs"
6100   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
6101
6102
6103 } # as_fn_mkdir_p
6104 if mkdir -p . 2>/dev/null; then
6105   as_mkdir_p='mkdir -p "$as_dir"'
6106 else
6107   test -d ./-p && rmdir ./-p
6108   as_mkdir_p=false
6109 fi
6110
6111 if test -x / >/dev/null 2>&1; then
6112   as_test_x='test -x'
6113 else
6114   if ls -dL / >/dev/null 2>&1; then
6115     as_ls_L_option=L
6116   else
6117     as_ls_L_option=
6118   fi
6119   as_test_x='
6120     eval sh -c '\''
6121       if test -d "$1"; then
6122         test -d "$1/.";
6123       else
6124         case $1 in #(
6125         -*)set "./$1";;
6126         esac;
6127         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
6128         ???[sx]*):;;*)false;;esac;fi
6129     '\'' sh
6130   '
6131 fi
6132 as_executable_p=$as_test_x
6133
6134 # Sed expression to map a string onto a valid CPP name.
6135 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6136
6137 # Sed expression to map a string onto a valid variable name.
6138 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6139
6140
6141 exec 6>&1
6142 ## ----------------------------------- ##
6143 ## Main body of $CONFIG_STATUS script. ##
6144 ## ----------------------------------- ##
6145 _ASEOF
6146 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6147
6148 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6149 # Save the log message, to keep $0 and so on meaningful, and to
6150 # report actual input values of CONFIG_FILES etc. instead of their
6151 # values after options handling.
6152 ac_log="
6153 This file was extended by atlc $as_me 4.6.1, which was
6154 generated by GNU Autoconf 2.68.  Invocation command line was
6155
6156   CONFIG_FILES    = $CONFIG_FILES
6157   CONFIG_HEADERS  = $CONFIG_HEADERS
6158   CONFIG_LINKS    = $CONFIG_LINKS
6159   CONFIG_COMMANDS = $CONFIG_COMMANDS
6160   $ $0 $@
6161
6162 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6163 "
6164
6165 _ACEOF
6166
6167 case $ac_config_files in *"
6168 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6169 esac
6170
6171 case $ac_config_headers in *"
6172 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
6173 esac
6174
6175
6176 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6177 # Files that config.status was made for.
6178 config_files="$ac_config_files"
6179 config_headers="$ac_config_headers"
6180 config_commands="$ac_config_commands"
6181
6182 _ACEOF
6183
6184 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6185 ac_cs_usage="\
6186 \`$as_me' instantiates files and other configuration actions
6187 from templates according to the current configuration.  Unless the files
6188 and actions are specified as TAGs, all are instantiated by default.
6189
6190 Usage: $0 [OPTION]... [TAG]...
6191
6192   -h, --help       print this help, then exit
6193   -V, --version    print version number and configuration settings, then exit
6194       --config     print configuration, then exit
6195   -q, --quiet, --silent
6196                    do not print progress messages
6197   -d, --debug      don't remove temporary files
6198       --recheck    update $as_me by reconfiguring in the same conditions
6199       --file=FILE[:TEMPLATE]
6200                    instantiate the configuration file FILE
6201       --header=FILE[:TEMPLATE]
6202                    instantiate the configuration header FILE
6203
6204 Configuration files:
6205 $config_files
6206
6207 Configuration headers:
6208 $config_headers
6209
6210 Configuration commands:
6211 $config_commands
6212
6213 Report bugs to <drkirkby@gmail.com>."
6214
6215 _ACEOF
6216 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6217 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6218 ac_cs_version="\\
6219 atlc config.status 4.6.1
6220 configured by $0, generated by GNU Autoconf 2.68,
6221   with options \\"\$ac_cs_config\\"
6222
6223 Copyright (C) 2010 Free Software Foundation, Inc.
6224 This config.status script is free software; the Free Software Foundation
6225 gives unlimited permission to copy, distribute and modify it."
6226
6227 ac_pwd='$ac_pwd'
6228 srcdir='$srcdir'
6229 INSTALL='$INSTALL'
6230 MKDIR_P='$MKDIR_P'
6231 AWK='$AWK'
6232 test -n "\$AWK" || AWK=awk
6233 _ACEOF
6234
6235 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6236 # The default lists apply if the user does not specify any file.
6237 ac_need_defaults=:
6238 while test $# != 0
6239 do
6240   case $1 in
6241   --*=?*)
6242     ac_option=`expr "X$1" : 'X\([^=]*\)='`
6243     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6244     ac_shift=:
6245     ;;
6246   --*=)
6247     ac_option=`expr "X$1" : 'X\([^=]*\)='`
6248     ac_optarg=
6249     ac_shift=:
6250     ;;
6251   *)
6252     ac_option=$1
6253     ac_optarg=$2
6254     ac_shift=shift
6255     ;;
6256   esac
6257
6258   case $ac_option in
6259   # Handling of the options.
6260   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6261     ac_cs_recheck=: ;;
6262   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6263     $as_echo "$ac_cs_version"; exit ;;
6264   --config | --confi | --conf | --con | --co | --c )
6265     $as_echo "$ac_cs_config"; exit ;;
6266   --debug | --debu | --deb | --de | --d | -d )
6267     debug=: ;;
6268   --file | --fil | --fi | --f )
6269     $ac_shift
6270     case $ac_optarg in
6271     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6272     '') as_fn_error $? "missing file argument" ;;
6273     esac
6274     as_fn_append CONFIG_FILES " '$ac_optarg'"
6275     ac_need_defaults=false;;
6276   --header | --heade | --head | --hea )
6277     $ac_shift
6278     case $ac_optarg in
6279     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6280     esac
6281     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
6282     ac_need_defaults=false;;
6283   --he | --h)
6284     # Conflict between --help and --header
6285     as_fn_error $? "ambiguous option: \`$1'
6286 Try \`$0 --help' for more information.";;
6287   --help | --hel | -h )
6288     $as_echo "$ac_cs_usage"; exit ;;
6289   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6290   | -silent | --silent | --silen | --sile | --sil | --si | --s)
6291     ac_cs_silent=: ;;
6292
6293   # This is an error.
6294   -*) as_fn_error $? "unrecognized option: \`$1'
6295 Try \`$0 --help' for more information." ;;
6296
6297   *) as_fn_append ac_config_targets " $1"
6298      ac_need_defaults=false ;;
6299
6300   esac
6301   shift
6302 done
6303
6304 ac_configure_extra_args=
6305
6306 if $ac_cs_silent; then
6307   exec 6>/dev/null
6308   ac_configure_extra_args="$ac_configure_extra_args --silent"
6309 fi
6310
6311 _ACEOF
6312 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6313 if \$ac_cs_recheck; then
6314   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6315   shift
6316   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6317   CONFIG_SHELL='$SHELL'
6318   export CONFIG_SHELL
6319   exec "\$@"
6320 fi
6321
6322 _ACEOF
6323 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6324 exec 5>>config.log
6325 {
6326   echo
6327   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6328 ## Running $as_me. ##
6329 _ASBOX
6330   $as_echo "$ac_log"
6331 } >&5
6332
6333 _ACEOF
6334 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6335 #
6336 # INIT-COMMANDS
6337 #
6338 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6339
6340 _ACEOF
6341
6342 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6343
6344 # Handling of arguments.
6345 for ac_config_target in $ac_config_targets
6346 do
6347   case $ac_config_target in
6348     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6349     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6350     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6351     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
6352     "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
6353     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
6354     "man/man1/Makefile") CONFIG_FILES="$CONFIG_FILES man/man1/Makefile" ;;
6355     "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
6356     "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
6357     "tools/src/Makefile") CONFIG_FILES="$CONFIG_FILES tools/src/Makefile" ;;
6358     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
6359     "docs/html-docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/html-docs/Makefile" ;;
6360     "docs/html-docs/jpgs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/html-docs/jpgs/Makefile" ;;
6361     "docs/qex-december-1996/Makefile") CONFIG_FILES="$CONFIG_FILES docs/qex-december-1996/Makefile" ;;
6362     "docs/theory/Makefile") CONFIG_FILES="$CONFIG_FILES docs/theory/Makefile" ;;
6363     "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
6364
6365   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6366   esac
6367 done
6368
6369
6370 # If the user did not use the arguments to specify the items to instantiate,
6371 # then the envvar interface is used.  Set only those that are not.
6372 # We use the long form for the default assignment because of an extremely
6373 # bizarre bug on SunOS 4.1.3.
6374 if $ac_need_defaults; then
6375   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6376   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6377   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6378 fi
6379
6380 # Have a temporary directory for convenience.  Make it in the build tree
6381 # simply because there is no reason against having it here, and in addition,
6382 # creating and moving files from /tmp can sometimes cause problems.
6383 # Hook for its removal unless debugging.
6384 # Note that there is a small window in which the directory will not be cleaned:
6385 # after its creation but before its name has been assigned to `$tmp'.
6386 $debug ||
6387 {
6388   tmp= ac_tmp=
6389   trap 'exit_status=$?
6390   : "${ac_tmp:=$tmp}"
6391   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6392 ' 0
6393   trap 'as_fn_exit 1' 1 2 13 15
6394 }
6395 # Create a (secure) tmp directory for tmp files.
6396
6397 {
6398   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6399   test -d "$tmp"
6400 }  ||
6401 {
6402   tmp=./conf$$-$RANDOM
6403   (umask 077 && mkdir "$tmp")
6404 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6405 ac_tmp=$tmp
6406
6407 # Set up the scripts for CONFIG_FILES section.
6408 # No need to generate them if there are no CONFIG_FILES.
6409 # This happens for instance with `./config.status config.h'.
6410 if test -n "$CONFIG_FILES"; then
6411
6412
6413 ac_cr=`echo X | tr X '\015'`
6414 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6415 # But we know of no other shell where ac_cr would be empty at this
6416 # point, so we can use a bashism as a fallback.
6417 if test "x$ac_cr" = x; then
6418   eval ac_cr=\$\'\\r\'
6419 fi
6420 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6421 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6422   ac_cs_awk_cr='\\r'
6423 else
6424   ac_cs_awk_cr=$ac_cr
6425 fi
6426
6427 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6428 _ACEOF
6429
6430
6431 {
6432   echo "cat >conf$$subs.awk <<_ACEOF" &&
6433   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6434   echo "_ACEOF"
6435 } >conf$$subs.sh ||
6436   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6437 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6438 ac_delim='%!_!# '
6439 for ac_last_try in false false false false false :; do
6440   . ./conf$$subs.sh ||
6441     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6442
6443   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6444   if test $ac_delim_n = $ac_delim_num; then
6445     break
6446   elif $ac_last_try; then
6447     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6448   else
6449     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6450   fi
6451 done
6452 rm -f conf$$subs.sh
6453
6454 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6455 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6456 _ACEOF
6457 sed -n '
6458 h
6459 s/^/S["/; s/!.*/"]=/
6460 p
6461 g
6462 s/^[^!]*!//
6463 :repl
6464 t repl
6465 s/'"$ac_delim"'$//
6466 t delim
6467 :nl
6468 h
6469 s/\(.\{148\}\)..*/\1/
6470 t more1
6471 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6472 p
6473 n
6474 b repl
6475 :more1
6476 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6477 p
6478 g
6479 s/.\{148\}//
6480 t nl
6481 :delim
6482 h
6483 s/\(.\{148\}\)..*/\1/
6484 t more2
6485 s/["\\]/\\&/g; s/^/"/; s/$/"/
6486 p
6487 b
6488 :more2
6489 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6490 p
6491 g
6492 s/.\{148\}//
6493 t delim
6494 ' <conf$$subs.awk | sed '
6495 /^[^""]/{
6496   N
6497   s/\n//
6498 }
6499 ' >>$CONFIG_STATUS || ac_write_fail=1
6500 rm -f conf$$subs.awk
6501 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6502 _ACAWK
6503 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6504   for (key in S) S_is_set[key] = 1
6505   FS = "\a"
6506
6507 }
6508 {
6509   line = $ 0
6510   nfields = split(line, field, "@")
6511   substed = 0
6512   len = length(field[1])
6513   for (i = 2; i < nfields; i++) {
6514     key = field[i]
6515     keylen = length(key)
6516     if (S_is_set[key]) {
6517       value = S[key]
6518       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6519       len += length(value) + length(field[++i])
6520       substed = 1
6521     } else
6522       len += 1 + keylen
6523   }
6524
6525   print line
6526 }
6527
6528 _ACAWK
6529 _ACEOF
6530 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6531 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6532   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6533 else
6534   cat
6535 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6536   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6537 _ACEOF
6538
6539 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6540 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6541 # trailing colons and then remove the whole line if VPATH becomes empty
6542 # (actually we leave an empty line to preserve line numbers).
6543 if test "x$srcdir" = x.; then
6544   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
6545 h
6546 s///
6547 s/^/:/
6548 s/[      ]*$/:/
6549 s/:\$(srcdir):/:/g
6550 s/:\${srcdir}:/:/g
6551 s/:@srcdir@:/:/g
6552 s/^:*//
6553 s/:*$//
6554 x
6555 s/\(=[   ]*\).*/\1/
6556 G
6557 s/\n//
6558 s/^[^=]*=[       ]*$//
6559 }'
6560 fi
6561
6562 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6563 fi # test -n "$CONFIG_FILES"
6564
6565 # Set up the scripts for CONFIG_HEADERS section.
6566 # No need to generate them if there are no CONFIG_HEADERS.
6567 # This happens for instance with `./config.status Makefile'.
6568 if test -n "$CONFIG_HEADERS"; then
6569 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
6570 BEGIN {
6571 _ACEOF
6572
6573 # Transform confdefs.h into an awk script `defines.awk', embedded as
6574 # here-document in config.status, that substitutes the proper values into
6575 # config.h.in to produce config.h.
6576
6577 # Create a delimiter string that does not exist in confdefs.h, to ease
6578 # handling of long lines.
6579 ac_delim='%!_!# '
6580 for ac_last_try in false false :; do
6581   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
6582   if test -z "$ac_tt"; then
6583     break
6584   elif $ac_last_try; then
6585     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6586   else
6587     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6588   fi
6589 done
6590
6591 # For the awk script, D is an array of macro values keyed by name,
6592 # likewise P contains macro parameters if any.  Preserve backslash
6593 # newline sequences.
6594
6595 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6596 sed -n '
6597 s/.\{148\}/&'"$ac_delim"'/g
6598 t rset
6599 :rset
6600 s/^[     ]*#[    ]*define[       ][      ]*/ /
6601 t def
6602 d
6603 :def
6604 s/\\$//
6605 t bsnl
6606 s/["\\]/\\&/g
6607 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
6608 D["\1"]=" \3"/p
6609 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
6610 d
6611 :bsnl
6612 s/["\\]/\\&/g
6613 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
6614 D["\1"]=" \3\\\\\\n"\\/p
6615 t cont
6616 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6617 t cont
6618 d
6619 :cont
6620 n
6621 s/.\{148\}/&'"$ac_delim"'/g
6622 t clear
6623 :clear
6624 s/\\$//
6625 t bsnlc
6626 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6627 d
6628 :bsnlc
6629 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6630 b cont
6631 ' <confdefs.h | sed '
6632 s/'"$ac_delim"'/"\\\
6633 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6634
6635 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6636   for (key in D) D_is_set[key] = 1
6637   FS = "\a"
6638 }
6639 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6640   line = \$ 0
6641   split(line, arg, " ")
6642   if (arg[1] == "#") {
6643     defundef = arg[2]
6644     mac1 = arg[3]
6645   } else {
6646     defundef = substr(arg[1], 2)
6647     mac1 = arg[2]
6648   }
6649   split(mac1, mac2, "(") #)
6650   macro = mac2[1]
6651   prefix = substr(line, 1, index(line, defundef) - 1)
6652   if (D_is_set[macro]) {
6653     # Preserve the white space surrounding the "#".
6654     print prefix "define", macro P[macro] D[macro]
6655     next
6656   } else {
6657     # Replace #undef with comments.  This is necessary, for example,
6658     # in the case of _POSIX_SOURCE, which is predefined and required
6659     # on some systems where configure will not decide to define it.
6660     if (defundef == "undef") {
6661       print "/*", prefix defundef, macro, "*/"
6662       next
6663     }
6664   }
6665 }
6666 { print }
6667 _ACAWK
6668 _ACEOF
6669 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6670   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6671 fi # test -n "$CONFIG_HEADERS"
6672
6673
6674 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
6675 shift
6676 for ac_tag
6677 do
6678   case $ac_tag in
6679   :[FHLC]) ac_mode=$ac_tag; continue;;
6680   esac
6681   case $ac_mode$ac_tag in
6682   :[FHL]*:*);;
6683   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6684   :[FH]-) ac_tag=-:-;;
6685   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6686   esac
6687   ac_save_IFS=$IFS
6688   IFS=:
6689   set x $ac_tag
6690   IFS=$ac_save_IFS
6691   shift
6692   ac_file=$1
6693   shift
6694
6695   case $ac_mode in
6696   :L) ac_source=$1;;
6697   :[FH])
6698     ac_file_inputs=
6699     for ac_f
6700     do
6701       case $ac_f in
6702       -) ac_f="$ac_tmp/stdin";;
6703       *) # Look for the file first in the build tree, then in the source tree
6704          # (if the path is not absolute).  The absolute path cannot be DOS-style,
6705          # because $ac_f cannot contain `:'.
6706          test -f "$ac_f" ||
6707            case $ac_f in
6708            [\\/$]*) false;;
6709            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6710            esac ||
6711            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6712       esac
6713       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6714       as_fn_append ac_file_inputs " '$ac_f'"
6715     done
6716
6717     # Let's still pretend it is `configure' which instantiates (i.e., don't
6718     # use $as_me), people would be surprised to read:
6719     #    /* config.h.  Generated by config.status.  */
6720     configure_input='Generated from '`
6721           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6722         `' by configure.'
6723     if test x"$ac_file" != x-; then
6724       configure_input="$ac_file.  $configure_input"
6725       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6726 $as_echo "$as_me: creating $ac_file" >&6;}
6727     fi
6728     # Neutralize special characters interpreted by sed in replacement strings.
6729     case $configure_input in #(
6730     *\&* | *\|* | *\\* )
6731        ac_sed_conf_input=`$as_echo "$configure_input" |
6732        sed 's/[\\\\&|]/\\\\&/g'`;; #(
6733     *) ac_sed_conf_input=$configure_input;;
6734     esac
6735
6736     case $ac_tag in
6737     *:-:* | *:-) cat >"$ac_tmp/stdin" \
6738       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6739     esac
6740     ;;
6741   esac
6742
6743   ac_dir=`$as_dirname -- "$ac_file" ||
6744 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6745          X"$ac_file" : 'X\(//\)[^/]' \| \
6746          X"$ac_file" : 'X\(//\)$' \| \
6747          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6748 $as_echo X"$ac_file" |
6749     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6750             s//\1/
6751             q
6752           }
6753           /^X\(\/\/\)[^/].*/{
6754             s//\1/
6755             q
6756           }
6757           /^X\(\/\/\)$/{
6758             s//\1/
6759             q
6760           }
6761           /^X\(\/\).*/{
6762             s//\1/
6763             q
6764           }
6765           s/.*/./; q'`
6766   as_dir="$ac_dir"; as_fn_mkdir_p
6767   ac_builddir=.
6768
6769 case "$ac_dir" in
6770 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6771 *)
6772   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6773   # A ".." for each directory in $ac_dir_suffix.
6774   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6775   case $ac_top_builddir_sub in
6776   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6777   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6778   esac ;;
6779 esac
6780 ac_abs_top_builddir=$ac_pwd
6781 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6782 # for backward compatibility:
6783 ac_top_builddir=$ac_top_build_prefix
6784
6785 case $srcdir in
6786   .)  # We are building in place.
6787     ac_srcdir=.
6788     ac_top_srcdir=$ac_top_builddir_sub
6789     ac_abs_top_srcdir=$ac_pwd ;;
6790   [\\/]* | ?:[\\/]* )  # Absolute name.
6791     ac_srcdir=$srcdir$ac_dir_suffix;
6792     ac_top_srcdir=$srcdir
6793     ac_abs_top_srcdir=$srcdir ;;
6794   *) # Relative name.
6795     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6796     ac_top_srcdir=$ac_top_build_prefix$srcdir
6797     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6798 esac
6799 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6800
6801
6802   case $ac_mode in
6803   :F)
6804   #
6805   # CONFIG_FILE
6806   #
6807
6808   case $INSTALL in
6809   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6810   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6811   esac
6812   ac_MKDIR_P=$MKDIR_P
6813   case $MKDIR_P in
6814   [\\/$]* | ?:[\\/]* ) ;;
6815   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6816   esac
6817 _ACEOF
6818
6819 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6820 # If the template does not know about datarootdir, expand it.
6821 # FIXME: This hack should be removed a few years after 2.60.
6822 ac_datarootdir_hack=; ac_datarootdir_seen=
6823 ac_sed_dataroot='
6824 /datarootdir/ {
6825   p
6826   q
6827 }
6828 /@datadir@/p
6829 /@docdir@/p
6830 /@infodir@/p
6831 /@localedir@/p
6832 /@mandir@/p'
6833 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6834 *datarootdir*) ac_datarootdir_seen=yes;;
6835 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6836   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6837 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6838 _ACEOF
6839 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6840   ac_datarootdir_hack='
6841   s&@datadir@&$datadir&g
6842   s&@docdir@&$docdir&g
6843   s&@infodir@&$infodir&g
6844   s&@localedir@&$localedir&g
6845   s&@mandir@&$mandir&g
6846   s&\\\${datarootdir}&$datarootdir&g' ;;
6847 esac
6848 _ACEOF
6849
6850 # Neutralize VPATH when `$srcdir' = `.'.
6851 # Shell code in configure.ac might set extrasub.
6852 # FIXME: do we really want to maintain this feature?
6853 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6854 ac_sed_extra="$ac_vpsub
6855 $extrasub
6856 _ACEOF
6857 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6858 :t
6859 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6860 s|@configure_input@|$ac_sed_conf_input|;t t
6861 s&@top_builddir@&$ac_top_builddir_sub&;t t
6862 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6863 s&@srcdir@&$ac_srcdir&;t t
6864 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6865 s&@top_srcdir@&$ac_top_srcdir&;t t
6866 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6867 s&@builddir@&$ac_builddir&;t t
6868 s&@abs_builddir@&$ac_abs_builddir&;t t
6869 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6870 s&@INSTALL@&$ac_INSTALL&;t t
6871 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6872 $ac_datarootdir_hack
6873 "
6874 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6875   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6876
6877 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6878   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6879   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
6880       "$ac_tmp/out"`; test -z "$ac_out"; } &&
6881   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6882 which seems to be undefined.  Please make sure it is defined" >&5
6883 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6884 which seems to be undefined.  Please make sure it is defined" >&2;}
6885
6886   rm -f "$ac_tmp/stdin"
6887   case $ac_file in
6888   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6889   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6890   esac \
6891   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6892  ;;
6893   :H)
6894   #
6895   # CONFIG_HEADER
6896   #
6897   if test x"$ac_file" != x-; then
6898     {
6899       $as_echo "/* $configure_input  */" \
6900       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6901     } >"$ac_tmp/config.h" \
6902       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6903     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6904       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6905 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6906     else
6907       rm -f "$ac_file"
6908       mv "$ac_tmp/config.h" "$ac_file" \
6909         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6910     fi
6911   else
6912     $as_echo "/* $configure_input  */" \
6913       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6914       || as_fn_error $? "could not create -" "$LINENO" 5
6915   fi
6916 # Compute "$ac_file"'s index in $config_headers.
6917 _am_arg="$ac_file"
6918 _am_stamp_count=1
6919 for _am_header in $config_headers :; do
6920   case $_am_header in
6921     $_am_arg | $_am_arg:* )
6922       break ;;
6923     * )
6924       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6925   esac
6926 done
6927 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6928 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6929          X"$_am_arg" : 'X\(//\)[^/]' \| \
6930          X"$_am_arg" : 'X\(//\)$' \| \
6931          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6932 $as_echo X"$_am_arg" |
6933     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6934             s//\1/
6935             q
6936           }
6937           /^X\(\/\/\)[^/].*/{
6938             s//\1/
6939             q
6940           }
6941           /^X\(\/\/\)$/{
6942             s//\1/
6943             q
6944           }
6945           /^X\(\/\).*/{
6946             s//\1/
6947             q
6948           }
6949           s/.*/./; q'`/stamp-h$_am_stamp_count
6950  ;;
6951
6952   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6953 $as_echo "$as_me: executing $ac_file commands" >&6;}
6954  ;;
6955   esac
6956
6957
6958   case $ac_file$ac_mode in
6959     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6960   # Autoconf 2.62 quotes --file arguments for eval, but not when files
6961   # are listed without --file.  Let's play safe and only enable the eval
6962   # if we detect the quoting.
6963   case $CONFIG_FILES in
6964   *\'*) eval set x "$CONFIG_FILES" ;;
6965   *)   set x $CONFIG_FILES ;;
6966   esac
6967   shift
6968   for mf
6969   do
6970     # Strip MF so we end up with the name of the file.
6971     mf=`echo "$mf" | sed -e 's/:.*$//'`
6972     # Check whether this is an Automake generated Makefile or not.
6973     # We used to match only the files named `Makefile.in', but
6974     # some people rename them; so instead we look at the file content.
6975     # Grep'ing the first line is not enough: some people post-process
6976     # each Makefile.in and add a new line on top of each file to say so.
6977     # Grep'ing the whole file is not good either: AIX grep has a line
6978     # limit of 2048, but all sed's we know have understand at least 4000.
6979     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6980       dirpart=`$as_dirname -- "$mf" ||
6981 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6982          X"$mf" : 'X\(//\)[^/]' \| \
6983          X"$mf" : 'X\(//\)$' \| \
6984          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6985 $as_echo X"$mf" |
6986     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6987             s//\1/
6988             q
6989           }
6990           /^X\(\/\/\)[^/].*/{
6991             s//\1/
6992             q
6993           }
6994           /^X\(\/\/\)$/{
6995             s//\1/
6996             q
6997           }
6998           /^X\(\/\).*/{
6999             s//\1/
7000             q
7001           }
7002           s/.*/./; q'`
7003     else
7004       continue
7005     fi
7006     # Extract the definition of DEPDIR, am__include, and am__quote
7007     # from the Makefile without running `make'.
7008     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
7009     test -z "$DEPDIR" && continue
7010     am__include=`sed -n 's/^am__include = //p' < "$mf"`
7011     test -z "am__include" && continue
7012     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
7013     # When using ansi2knr, U may be empty or an underscore; expand it
7014     U=`sed -n 's/^U = //p' < "$mf"`
7015     # Find all dependency output files, they are included files with
7016     # $(DEPDIR) in their names.  We invoke sed twice because it is the
7017     # simplest approach to changing $(DEPDIR) to its actual value in the
7018     # expansion.
7019     for file in `sed -n "
7020       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7021          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7022       # Make sure the directory exists.
7023       test -f "$dirpart/$file" && continue
7024       fdir=`$as_dirname -- "$file" ||
7025 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7026          X"$file" : 'X\(//\)[^/]' \| \
7027          X"$file" : 'X\(//\)$' \| \
7028          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
7029 $as_echo X"$file" |
7030     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7031             s//\1/
7032             q
7033           }
7034           /^X\(\/\/\)[^/].*/{
7035             s//\1/
7036             q
7037           }
7038           /^X\(\/\/\)$/{
7039             s//\1/
7040             q
7041           }
7042           /^X\(\/\).*/{
7043             s//\1/
7044             q
7045           }
7046           s/.*/./; q'`
7047       as_dir=$dirpart/$fdir; as_fn_mkdir_p
7048       # echo "creating $dirpart/$file"
7049       echo '# dummy' > "$dirpart/$file"
7050     done
7051   done
7052 }
7053  ;;
7054
7055   esac
7056 done # for ac_tag
7057
7058
7059 as_fn_exit 0
7060 _ACEOF
7061 ac_clean_files=$ac_clean_files_save
7062
7063 test $ac_write_fail = 0 ||
7064   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
7065
7066
7067 # configure is writing to config.log, and then calls config.status.
7068 # config.status does its own redirection, appending to config.log.
7069 # Unfortunately, on DOS this fails, as config.log is still kept open
7070 # by configure, so config.status won't be able to write to it; its
7071 # output is simply discarded.  So we exec the FD to /dev/null,
7072 # effectively closing config.log, so it can be properly (re)opened and
7073 # appended to by config.status.  When coming back to configure, we
7074 # need to make the FD available again.
7075 if test "$no_create" != yes; then
7076   ac_cs_success=:
7077   ac_config_status_args=
7078   test "$silent" = yes &&
7079     ac_config_status_args="$ac_config_status_args --quiet"
7080   exec 5>/dev/null
7081   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7082   exec 5>>config.log
7083   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7084   # would make configure fail if this is the last instruction.
7085   $ac_cs_success || as_fn_exit 1
7086 fi
7087 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7088   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7089 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
7090 fi
7091