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