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