Replace remaining fprintf/stderr calls to WARN.
[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  PACKAGE='skeinsum'
2716  VERSION='1.0'
2717
2718
2719 cat >>confdefs.h <<_ACEOF
2720 #define PACKAGE "$PACKAGE"
2721 _ACEOF
2722
2723
2724 cat >>confdefs.h <<_ACEOF
2725 #define VERSION "$VERSION"
2726 _ACEOF
2727
2728 # Some tools Automake needs.
2729
2730 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2731
2732
2733 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2734
2735
2736 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2737
2738
2739 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2740
2741
2742 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2743
2744 # For better backward compatibility.  To be removed once Automake 1.9.x
2745 # dies out for good.  For more background, see:
2746 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2747 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2748 mkdir_p='$(MKDIR_P)'
2749
2750 # We need awk for the "check" target.  The system "awk" is bad on
2751 # some platforms.
2752 # Always define AMTAR for backward compatibility.  Yes, it's still used
2753 # in the wild :-(  We should find a proper way to deprecate it ...
2754 AMTAR='$${TAR-tar}'
2755
2756
2757 # We'll loop over all known methods to create a tar archive until one works.
2758 _am_tools='gnutar  pax cpio none'
2759
2760 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2761
2762
2763
2764
2765
2766
2767 # POSIX will say in a future version that running "rm -f" with no argument
2768 # is OK; and we want to be able to make that assumption in our Makefile
2769 # recipes.  So use an aggressive probe to check that the usage we want is
2770 # actually supported "in the wild" to an acceptable degree.
2771 # See automake bug#10828.
2772 # To make any issue more visible, cause the running configure to be aborted
2773 # by default if the 'rm' program in use doesn't match our expectations; the
2774 # user can still override this though.
2775 if rm -f && rm -fr && rm -rf; then : OK; else
2776   cat >&2 <<'END'
2777 Oops!
2778
2779 Your 'rm' program seems unable to run without file operands specified
2780 on the command line, even when the '-f' option is present.  This is contrary
2781 to the behaviour of most rm programs out there, and not conforming with
2782 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2783
2784 Please tell bug-automake@gnu.org about your system, including the value
2785 of your $PATH and any error possibly output before this message.  This
2786 can help us improve future automake versions.
2787
2788 END
2789   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2790     echo 'Configuration will proceed anyway, since you have set the' >&2
2791     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2792     echo >&2
2793   else
2794     cat >&2 <<'END'
2795 Aborting the configuration process, to ensure you take notice of the issue.
2796
2797 You can download and install GNU coreutils to get an 'rm' implementation
2798 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2799
2800 If you want to complete the configuration process using your problematic
2801 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2802 to "yes", and re-run configure.
2803
2804 END
2805     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2806   fi
2807 fi
2808
2809 # Checks for programs.
2810 ac_ext=c
2811 ac_cpp='$CPP $CPPFLAGS'
2812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2815 if test -n "$ac_tool_prefix"; then
2816   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2817 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2819 $as_echo_n "checking for $ac_word... " >&6; }
2820 if ${ac_cv_prog_CC+:} false; then :
2821   $as_echo_n "(cached) " >&6
2822 else
2823   if test -n "$CC"; then
2824   ac_cv_prog_CC="$CC" # Let the user override the test.
2825 else
2826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2827 for as_dir in $PATH
2828 do
2829   IFS=$as_save_IFS
2830   test -z "$as_dir" && as_dir=.
2831     for ac_exec_ext in '' $ac_executable_extensions; do
2832   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2833     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2834     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2835     break 2
2836   fi
2837 done
2838   done
2839 IFS=$as_save_IFS
2840
2841 fi
2842 fi
2843 CC=$ac_cv_prog_CC
2844 if test -n "$CC"; then
2845   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2846 $as_echo "$CC" >&6; }
2847 else
2848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2849 $as_echo "no" >&6; }
2850 fi
2851
2852
2853 fi
2854 if test -z "$ac_cv_prog_CC"; then
2855   ac_ct_CC=$CC
2856   # Extract the first word of "gcc", so it can be a program name with args.
2857 set dummy gcc; ac_word=$2
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2859 $as_echo_n "checking for $ac_word... " >&6; }
2860 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2861   $as_echo_n "(cached) " >&6
2862 else
2863   if test -n "$ac_ct_CC"; then
2864   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2865 else
2866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2867 for as_dir in $PATH
2868 do
2869   IFS=$as_save_IFS
2870   test -z "$as_dir" && as_dir=.
2871     for ac_exec_ext in '' $ac_executable_extensions; do
2872   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2873     ac_cv_prog_ac_ct_CC="gcc"
2874     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2875     break 2
2876   fi
2877 done
2878   done
2879 IFS=$as_save_IFS
2880
2881 fi
2882 fi
2883 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2884 if test -n "$ac_ct_CC"; then
2885   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2886 $as_echo "$ac_ct_CC" >&6; }
2887 else
2888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2889 $as_echo "no" >&6; }
2890 fi
2891
2892   if test "x$ac_ct_CC" = x; then
2893     CC=""
2894   else
2895     case $cross_compiling:$ac_tool_warned in
2896 yes:)
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2898 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2899 ac_tool_warned=yes ;;
2900 esac
2901     CC=$ac_ct_CC
2902   fi
2903 else
2904   CC="$ac_cv_prog_CC"
2905 fi
2906
2907 if test -z "$CC"; then
2908           if test -n "$ac_tool_prefix"; then
2909     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2910 set dummy ${ac_tool_prefix}cc; ac_word=$2
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2912 $as_echo_n "checking for $ac_word... " >&6; }
2913 if ${ac_cv_prog_CC+:} false; then :
2914   $as_echo_n "(cached) " >&6
2915 else
2916   if test -n "$CC"; then
2917   ac_cv_prog_CC="$CC" # Let the user override the test.
2918 else
2919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2920 for as_dir in $PATH
2921 do
2922   IFS=$as_save_IFS
2923   test -z "$as_dir" && as_dir=.
2924     for ac_exec_ext in '' $ac_executable_extensions; do
2925   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2926     ac_cv_prog_CC="${ac_tool_prefix}cc"
2927     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2928     break 2
2929   fi
2930 done
2931   done
2932 IFS=$as_save_IFS
2933
2934 fi
2935 fi
2936 CC=$ac_cv_prog_CC
2937 if test -n "$CC"; then
2938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2939 $as_echo "$CC" >&6; }
2940 else
2941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2942 $as_echo "no" >&6; }
2943 fi
2944
2945
2946   fi
2947 fi
2948 if test -z "$CC"; then
2949   # Extract the first word of "cc", so it can be a program name with args.
2950 set dummy cc; ac_word=$2
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2952 $as_echo_n "checking for $ac_word... " >&6; }
2953 if ${ac_cv_prog_CC+:} false; then :
2954   $as_echo_n "(cached) " >&6
2955 else
2956   if test -n "$CC"; then
2957   ac_cv_prog_CC="$CC" # Let the user override the test.
2958 else
2959   ac_prog_rejected=no
2960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2961 for as_dir in $PATH
2962 do
2963   IFS=$as_save_IFS
2964   test -z "$as_dir" && as_dir=.
2965     for ac_exec_ext in '' $ac_executable_extensions; do
2966   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2967     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2968        ac_prog_rejected=yes
2969        continue
2970      fi
2971     ac_cv_prog_CC="cc"
2972     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2973     break 2
2974   fi
2975 done
2976   done
2977 IFS=$as_save_IFS
2978
2979 if test $ac_prog_rejected = yes; then
2980   # We found a bogon in the path, so make sure we never use it.
2981   set dummy $ac_cv_prog_CC
2982   shift
2983   if test $# != 0; then
2984     # We chose a different compiler from the bogus one.
2985     # However, it has the same basename, so the bogon will be chosen
2986     # first if we set CC to just the basename; use the full file name.
2987     shift
2988     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2989   fi
2990 fi
2991 fi
2992 fi
2993 CC=$ac_cv_prog_CC
2994 if test -n "$CC"; then
2995   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2996 $as_echo "$CC" >&6; }
2997 else
2998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2999 $as_echo "no" >&6; }
3000 fi
3001
3002
3003 fi
3004 if test -z "$CC"; then
3005   if test -n "$ac_tool_prefix"; then
3006   for ac_prog in cl.exe
3007   do
3008     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3009 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3011 $as_echo_n "checking for $ac_word... " >&6; }
3012 if ${ac_cv_prog_CC+:} false; then :
3013   $as_echo_n "(cached) " >&6
3014 else
3015   if test -n "$CC"; then
3016   ac_cv_prog_CC="$CC" # Let the user override the test.
3017 else
3018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3019 for as_dir in $PATH
3020 do
3021   IFS=$as_save_IFS
3022   test -z "$as_dir" && as_dir=.
3023     for ac_exec_ext in '' $ac_executable_extensions; do
3024   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3025     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3026     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3027     break 2
3028   fi
3029 done
3030   done
3031 IFS=$as_save_IFS
3032
3033 fi
3034 fi
3035 CC=$ac_cv_prog_CC
3036 if test -n "$CC"; then
3037   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3038 $as_echo "$CC" >&6; }
3039 else
3040   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3041 $as_echo "no" >&6; }
3042 fi
3043
3044
3045     test -n "$CC" && break
3046   done
3047 fi
3048 if test -z "$CC"; then
3049   ac_ct_CC=$CC
3050   for ac_prog in cl.exe
3051 do
3052   # Extract the first word of "$ac_prog", so it can be a program name with args.
3053 set dummy $ac_prog; ac_word=$2
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3055 $as_echo_n "checking for $ac_word... " >&6; }
3056 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3057   $as_echo_n "(cached) " >&6
3058 else
3059   if test -n "$ac_ct_CC"; then
3060   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3061 else
3062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3063 for as_dir in $PATH
3064 do
3065   IFS=$as_save_IFS
3066   test -z "$as_dir" && as_dir=.
3067     for ac_exec_ext in '' $ac_executable_extensions; do
3068   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3069     ac_cv_prog_ac_ct_CC="$ac_prog"
3070     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3071     break 2
3072   fi
3073 done
3074   done
3075 IFS=$as_save_IFS
3076
3077 fi
3078 fi
3079 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3080 if test -n "$ac_ct_CC"; then
3081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3082 $as_echo "$ac_ct_CC" >&6; }
3083 else
3084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3085 $as_echo "no" >&6; }
3086 fi
3087
3088
3089   test -n "$ac_ct_CC" && break
3090 done
3091
3092   if test "x$ac_ct_CC" = x; then
3093     CC=""
3094   else
3095     case $cross_compiling:$ac_tool_warned in
3096 yes:)
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3098 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3099 ac_tool_warned=yes ;;
3100 esac
3101     CC=$ac_ct_CC
3102   fi
3103 fi
3104
3105 fi
3106
3107
3108 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3109 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3110 as_fn_error $? "no acceptable C compiler found in \$PATH
3111 See \`config.log' for more details" "$LINENO" 5; }
3112
3113 # Provide some information about the compiler.
3114 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3115 set X $ac_compile
3116 ac_compiler=$2
3117 for ac_option in --version -v -V -qversion; do
3118   { { ac_try="$ac_compiler $ac_option >&5"
3119 case "(($ac_try" in
3120   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3121   *) ac_try_echo=$ac_try;;
3122 esac
3123 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3124 $as_echo "$ac_try_echo"; } >&5
3125   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3126   ac_status=$?
3127   if test -s conftest.err; then
3128     sed '10a\
3129 ... rest of stderr output deleted ...
3130          10q' conftest.err >conftest.er1
3131     cat conftest.er1 >&5
3132   fi
3133   rm -f conftest.er1 conftest.err
3134   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3135   test $ac_status = 0; }
3136 done
3137
3138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3139 /* end confdefs.h.  */
3140
3141 int
3142 main ()
3143 {
3144
3145   ;
3146   return 0;
3147 }
3148 _ACEOF
3149 ac_clean_files_save=$ac_clean_files
3150 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3151 # Try to create an executable without -o first, disregard a.out.
3152 # It will help us diagnose broken compilers, and finding out an intuition
3153 # of exeext.
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3155 $as_echo_n "checking whether the C compiler works... " >&6; }
3156 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3157
3158 # The possible output files:
3159 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3160
3161 ac_rmfiles=
3162 for ac_file in $ac_files
3163 do
3164   case $ac_file in
3165     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3166     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3167   esac
3168 done
3169 rm -f $ac_rmfiles
3170
3171 if { { ac_try="$ac_link_default"
3172 case "(($ac_try" in
3173   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3174   *) ac_try_echo=$ac_try;;
3175 esac
3176 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3177 $as_echo "$ac_try_echo"; } >&5
3178   (eval "$ac_link_default") 2>&5
3179   ac_status=$?
3180   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3181   test $ac_status = 0; }; then :
3182   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3183 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3184 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3185 # so that the user can short-circuit this test for compilers unknown to
3186 # Autoconf.
3187 for ac_file in $ac_files ''
3188 do
3189   test -f "$ac_file" || continue
3190   case $ac_file in
3191     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3192         ;;
3193     [ab].out )
3194         # We found the default executable, but exeext='' is most
3195         # certainly right.
3196         break;;
3197     *.* )
3198         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3199         then :; else
3200            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3201         fi
3202         # We set ac_cv_exeext here because the later test for it is not
3203         # safe: cross compilers may not add the suffix if given an `-o'
3204         # argument, so we may need to know it at that point already.
3205         # Even if this section looks crufty: it has the advantage of
3206         # actually working.
3207         break;;
3208     * )
3209         break;;
3210   esac
3211 done
3212 test "$ac_cv_exeext" = no && ac_cv_exeext=
3213
3214 else
3215   ac_file=''
3216 fi
3217 if test -z "$ac_file"; then :
3218   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3219 $as_echo "no" >&6; }
3220 $as_echo "$as_me: failed program was:" >&5
3221 sed 's/^/| /' conftest.$ac_ext >&5
3222
3223 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3224 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3225 as_fn_error 77 "C compiler cannot create executables
3226 See \`config.log' for more details" "$LINENO" 5; }
3227 else
3228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3229 $as_echo "yes" >&6; }
3230 fi
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3232 $as_echo_n "checking for C compiler default output file name... " >&6; }
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3234 $as_echo "$ac_file" >&6; }
3235 ac_exeext=$ac_cv_exeext
3236
3237 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3238 ac_clean_files=$ac_clean_files_save
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3240 $as_echo_n "checking for suffix of executables... " >&6; }
3241 if { { ac_try="$ac_link"
3242 case "(($ac_try" in
3243   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3244   *) ac_try_echo=$ac_try;;
3245 esac
3246 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3247 $as_echo "$ac_try_echo"; } >&5
3248   (eval "$ac_link") 2>&5
3249   ac_status=$?
3250   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3251   test $ac_status = 0; }; then :
3252   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3253 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3254 # work properly (i.e., refer to `conftest.exe'), while it won't with
3255 # `rm'.
3256 for ac_file in conftest.exe conftest conftest.*; do
3257   test -f "$ac_file" || continue
3258   case $ac_file in
3259     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3260     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3261           break;;
3262     * ) break;;
3263   esac
3264 done
3265 else
3266   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3267 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3268 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3269 See \`config.log' for more details" "$LINENO" 5; }
3270 fi
3271 rm -f conftest conftest$ac_cv_exeext
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3273 $as_echo "$ac_cv_exeext" >&6; }
3274
3275 rm -f conftest.$ac_ext
3276 EXEEXT=$ac_cv_exeext
3277 ac_exeext=$EXEEXT
3278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3279 /* end confdefs.h.  */
3280 #include <stdio.h>
3281 int
3282 main ()
3283 {
3284 FILE *f = fopen ("conftest.out", "w");
3285  return ferror (f) || fclose (f) != 0;
3286
3287   ;
3288   return 0;
3289 }
3290 _ACEOF
3291 ac_clean_files="$ac_clean_files conftest.out"
3292 # Check that the compiler produces executables we can run.  If not, either
3293 # the compiler is broken, or we cross compile.
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3295 $as_echo_n "checking whether we are cross compiling... " >&6; }
3296 if test "$cross_compiling" != yes; then
3297   { { ac_try="$ac_link"
3298 case "(($ac_try" in
3299   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3300   *) ac_try_echo=$ac_try;;
3301 esac
3302 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3303 $as_echo "$ac_try_echo"; } >&5
3304   (eval "$ac_link") 2>&5
3305   ac_status=$?
3306   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3307   test $ac_status = 0; }
3308   if { ac_try='./conftest$ac_cv_exeext'
3309   { { case "(($ac_try" in
3310   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3311   *) ac_try_echo=$ac_try;;
3312 esac
3313 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3314 $as_echo "$ac_try_echo"; } >&5
3315   (eval "$ac_try") 2>&5
3316   ac_status=$?
3317   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3318   test $ac_status = 0; }; }; then
3319     cross_compiling=no
3320   else
3321     if test "$cross_compiling" = maybe; then
3322         cross_compiling=yes
3323     else
3324         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3325 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3326 as_fn_error $? "cannot run C compiled programs.
3327 If you meant to cross compile, use \`--host'.
3328 See \`config.log' for more details" "$LINENO" 5; }
3329     fi
3330   fi
3331 fi
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3333 $as_echo "$cross_compiling" >&6; }
3334
3335 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3336 ac_clean_files=$ac_clean_files_save
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3338 $as_echo_n "checking for suffix of object files... " >&6; }
3339 if ${ac_cv_objext+:} false; then :
3340   $as_echo_n "(cached) " >&6
3341 else
3342   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3343 /* end confdefs.h.  */
3344
3345 int
3346 main ()
3347 {
3348
3349   ;
3350   return 0;
3351 }
3352 _ACEOF
3353 rm -f conftest.o conftest.obj
3354 if { { ac_try="$ac_compile"
3355 case "(($ac_try" in
3356   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3357   *) ac_try_echo=$ac_try;;
3358 esac
3359 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3360 $as_echo "$ac_try_echo"; } >&5
3361   (eval "$ac_compile") 2>&5
3362   ac_status=$?
3363   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3364   test $ac_status = 0; }; then :
3365   for ac_file in conftest.o conftest.obj conftest.*; do
3366   test -f "$ac_file" || continue;
3367   case $ac_file in
3368     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3369     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3370        break;;
3371   esac
3372 done
3373 else
3374   $as_echo "$as_me: failed program was:" >&5
3375 sed 's/^/| /' conftest.$ac_ext >&5
3376
3377 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3378 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3379 as_fn_error $? "cannot compute suffix of object files: cannot compile
3380 See \`config.log' for more details" "$LINENO" 5; }
3381 fi
3382 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3383 fi
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3385 $as_echo "$ac_cv_objext" >&6; }
3386 OBJEXT=$ac_cv_objext
3387 ac_objext=$OBJEXT
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3389 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3390 if ${ac_cv_c_compiler_gnu+:} false; then :
3391   $as_echo_n "(cached) " >&6
3392 else
3393   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3394 /* end confdefs.h.  */
3395
3396 int
3397 main ()
3398 {
3399 #ifndef __GNUC__
3400        choke me
3401 #endif
3402
3403   ;
3404   return 0;
3405 }
3406 _ACEOF
3407 if ac_fn_c_try_compile "$LINENO"; then :
3408   ac_compiler_gnu=yes
3409 else
3410   ac_compiler_gnu=no
3411 fi
3412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3413 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3414
3415 fi
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3417 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3418 if test $ac_compiler_gnu = yes; then
3419   GCC=yes
3420 else
3421   GCC=
3422 fi
3423 ac_test_CFLAGS=${CFLAGS+set}
3424 ac_save_CFLAGS=$CFLAGS
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3426 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3427 if ${ac_cv_prog_cc_g+:} false; then :
3428   $as_echo_n "(cached) " >&6
3429 else
3430   ac_save_c_werror_flag=$ac_c_werror_flag
3431    ac_c_werror_flag=yes
3432    ac_cv_prog_cc_g=no
3433    CFLAGS="-g"
3434    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3435 /* end confdefs.h.  */
3436
3437 int
3438 main ()
3439 {
3440
3441   ;
3442   return 0;
3443 }
3444 _ACEOF
3445 if ac_fn_c_try_compile "$LINENO"; then :
3446   ac_cv_prog_cc_g=yes
3447 else
3448   CFLAGS=""
3449       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3450 /* end confdefs.h.  */
3451
3452 int
3453 main ()
3454 {
3455
3456   ;
3457   return 0;
3458 }
3459 _ACEOF
3460 if ac_fn_c_try_compile "$LINENO"; then :
3461
3462 else
3463   ac_c_werror_flag=$ac_save_c_werror_flag
3464          CFLAGS="-g"
3465          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3466 /* end confdefs.h.  */
3467
3468 int
3469 main ()
3470 {
3471
3472   ;
3473   return 0;
3474 }
3475 _ACEOF
3476 if ac_fn_c_try_compile "$LINENO"; then :
3477   ac_cv_prog_cc_g=yes
3478 fi
3479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3480 fi
3481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3482 fi
3483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3484    ac_c_werror_flag=$ac_save_c_werror_flag
3485 fi
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3487 $as_echo "$ac_cv_prog_cc_g" >&6; }
3488 if test "$ac_test_CFLAGS" = set; then
3489   CFLAGS=$ac_save_CFLAGS
3490 elif test $ac_cv_prog_cc_g = yes; then
3491   if test "$GCC" = yes; then
3492     CFLAGS="-g -O2"
3493   else
3494     CFLAGS="-g"
3495   fi
3496 else
3497   if test "$GCC" = yes; then
3498     CFLAGS="-O2"
3499   else
3500     CFLAGS=
3501   fi
3502 fi
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3504 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3505 if ${ac_cv_prog_cc_c89+:} false; then :
3506   $as_echo_n "(cached) " >&6
3507 else
3508   ac_cv_prog_cc_c89=no
3509 ac_save_CC=$CC
3510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3511 /* end confdefs.h.  */
3512 #include <stdarg.h>
3513 #include <stdio.h>
3514 struct stat;
3515 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3516 struct buf { int x; };
3517 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3518 static char *e (p, i)
3519      char **p;
3520      int i;
3521 {
3522   return p[i];
3523 }
3524 static char *f (char * (*g) (char **, int), char **p, ...)
3525 {
3526   char *s;
3527   va_list v;
3528   va_start (v,p);
3529   s = g (p, va_arg (v,int));
3530   va_end (v);
3531   return s;
3532 }
3533
3534 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3535    function prototypes and stuff, but not '\xHH' hex character constants.
3536    These don't provoke an error unfortunately, instead are silently treated
3537    as 'x'.  The following induces an error, until -std is added to get
3538    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3539    array size at least.  It's necessary to write '\x00'==0 to get something
3540    that's true only with -std.  */
3541 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3542
3543 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3544    inside strings and character constants.  */
3545 #define FOO(x) 'x'
3546 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3547
3548 int test (int i, double x);
3549 struct s1 {int (*f) (int a);};
3550 struct s2 {int (*f) (double a);};
3551 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3552 int argc;
3553 char **argv;
3554 int
3555 main ()
3556 {
3557 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3558   ;
3559   return 0;
3560 }
3561 _ACEOF
3562 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3563         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3564 do
3565   CC="$ac_save_CC $ac_arg"
3566   if ac_fn_c_try_compile "$LINENO"; then :
3567   ac_cv_prog_cc_c89=$ac_arg
3568 fi
3569 rm -f core conftest.err conftest.$ac_objext
3570   test "x$ac_cv_prog_cc_c89" != "xno" && break
3571 done
3572 rm -f conftest.$ac_ext
3573 CC=$ac_save_CC
3574
3575 fi
3576 # AC_CACHE_VAL
3577 case "x$ac_cv_prog_cc_c89" in
3578   x)
3579     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3580 $as_echo "none needed" >&6; } ;;
3581   xno)
3582     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3583 $as_echo "unsupported" >&6; } ;;
3584   *)
3585     CC="$CC $ac_cv_prog_cc_c89"
3586     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3587 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3588 esac
3589 if test "x$ac_cv_prog_cc_c89" != xno; then :
3590
3591 fi
3592
3593 ac_ext=c
3594 ac_cpp='$CPP $CPPFLAGS'
3595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3598
3599 ac_ext=c
3600 ac_cpp='$CPP $CPPFLAGS'
3601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3605 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3606 if ${am_cv_prog_cc_c_o+:} false; then :
3607   $as_echo_n "(cached) " >&6
3608 else
3609   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3610 /* end confdefs.h.  */
3611
3612 int
3613 main ()
3614 {
3615
3616   ;
3617   return 0;
3618 }
3619 _ACEOF
3620   # Make sure it works both with $CC and with simple cc.
3621   # Following AC_PROG_CC_C_O, we do the test twice because some
3622   # compilers refuse to overwrite an existing .o file with -o,
3623   # though they will create one.
3624   am_cv_prog_cc_c_o=yes
3625   for am_i in 1 2; do
3626     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3627    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3628    ac_status=$?
3629    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3630    (exit $ac_status); } \
3631          && test -f conftest2.$ac_objext; then
3632       : OK
3633     else
3634       am_cv_prog_cc_c_o=no
3635       break
3636     fi
3637   done
3638   rm -f core conftest*
3639   unset am_i
3640 fi
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3642 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3643 if test "$am_cv_prog_cc_c_o" != yes; then
3644    # Losing compiler, so override with the script.
3645    # FIXME: It is wrong to rewrite CC.
3646    # But if we don't then we get into trouble of one sort or another.
3647    # A longer-term fix would be to have automake use am__CC in this case,
3648    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3649    CC="$am_aux_dir/compile $CC"
3650 fi
3651 ac_ext=c
3652 ac_cpp='$CPP $CPPFLAGS'
3653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3656
3657 DEPDIR="${am__leading_dot}deps"
3658
3659 ac_config_commands="$ac_config_commands depfiles"
3660
3661
3662 am_make=${MAKE-make}
3663 cat > confinc << 'END'
3664 am__doit:
3665         @echo this is the am__doit target
3666 .PHONY: am__doit
3667 END
3668 # If we don't find an include directive, just comment out the code.
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3670 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3671 am__include="#"
3672 am__quote=
3673 _am_result=none
3674 # First try GNU make style include.
3675 echo "include confinc" > confmf
3676 # Ignore all kinds of additional output from 'make'.
3677 case `$am_make -s -f confmf 2> /dev/null` in #(
3678 *the\ am__doit\ target*)
3679   am__include=include
3680   am__quote=
3681   _am_result=GNU
3682   ;;
3683 esac
3684 # Now try BSD make style include.
3685 if test "$am__include" = "#"; then
3686    echo '.include "confinc"' > confmf
3687    case `$am_make -s -f confmf 2> /dev/null` in #(
3688    *the\ am__doit\ target*)
3689      am__include=.include
3690      am__quote="\""
3691      _am_result=BSD
3692      ;;
3693    esac
3694 fi
3695
3696
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3698 $as_echo "$_am_result" >&6; }
3699 rm -f confinc confmf
3700
3701 # Check whether --enable-dependency-tracking was given.
3702 if test "${enable_dependency_tracking+set}" = set; then :
3703   enableval=$enable_dependency_tracking;
3704 fi
3705
3706 if test "x$enable_dependency_tracking" != xno; then
3707   am_depcomp="$ac_aux_dir/depcomp"
3708   AMDEPBACKSLASH='\'
3709   am__nodep='_no'
3710 fi
3711  if test "x$enable_dependency_tracking" != xno; then
3712   AMDEP_TRUE=
3713   AMDEP_FALSE='#'
3714 else
3715   AMDEP_TRUE='#'
3716   AMDEP_FALSE=
3717 fi
3718
3719
3720
3721 depcc="$CC"   am_compiler_list=
3722
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3724 $as_echo_n "checking dependency style of $depcc... " >&6; }
3725 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3726   $as_echo_n "(cached) " >&6
3727 else
3728   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3729   # We make a subdir and do the tests there.  Otherwise we can end up
3730   # making bogus files that we don't know about and never remove.  For
3731   # instance it was reported that on HP-UX the gcc test will end up
3732   # making a dummy file named 'D' -- because '-MD' means "put the output
3733   # in D".
3734   rm -rf conftest.dir
3735   mkdir conftest.dir
3736   # Copy depcomp to subdir because otherwise we won't find it if we're
3737   # using a relative directory.
3738   cp "$am_depcomp" conftest.dir
3739   cd conftest.dir
3740   # We will build objects and dependencies in a subdirectory because
3741   # it helps to detect inapplicable dependency modes.  For instance
3742   # both Tru64's cc and ICC support -MD to output dependencies as a
3743   # side effect of compilation, but ICC will put the dependencies in
3744   # the current directory while Tru64 will put them in the object
3745   # directory.
3746   mkdir sub
3747
3748   am_cv_CC_dependencies_compiler_type=none
3749   if test "$am_compiler_list" = ""; then
3750      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3751   fi
3752   am__universal=false
3753   case " $depcc " in #(
3754      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3755      esac
3756
3757   for depmode in $am_compiler_list; do
3758     # Setup a source with many dependencies, because some compilers
3759     # like to wrap large dependency lists on column 80 (with \), and
3760     # we should not choose a depcomp mode which is confused by this.
3761     #
3762     # We need to recreate these files for each test, as the compiler may
3763     # overwrite some of them when testing with obscure command lines.
3764     # This happens at least with the AIX C compiler.
3765     : > sub/conftest.c
3766     for i in 1 2 3 4 5 6; do
3767       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3768       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3769       # Solaris 10 /bin/sh.
3770       echo '/* dummy */' > sub/conftst$i.h
3771     done
3772     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3773
3774     # We check with '-c' and '-o' for the sake of the "dashmstdout"
3775     # mode.  It turns out that the SunPro C++ compiler does not properly
3776     # handle '-M -o', and we need to detect this.  Also, some Intel
3777     # versions had trouble with output in subdirs.
3778     am__obj=sub/conftest.${OBJEXT-o}
3779     am__minus_obj="-o $am__obj"
3780     case $depmode in
3781     gcc)
3782       # This depmode causes a compiler race in universal mode.
3783       test "$am__universal" = false || continue
3784       ;;
3785     nosideeffect)
3786       # After this tag, mechanisms are not by side-effect, so they'll
3787       # only be used when explicitly requested.
3788       if test "x$enable_dependency_tracking" = xyes; then
3789         continue
3790       else
3791         break
3792       fi
3793       ;;
3794     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3795       # This compiler won't grok '-c -o', but also, the minuso test has
3796       # not run yet.  These depmodes are late enough in the game, and
3797       # so weak that their functioning should not be impacted.
3798       am__obj=conftest.${OBJEXT-o}
3799       am__minus_obj=
3800       ;;
3801     none) break ;;
3802     esac
3803     if depmode=$depmode \
3804        source=sub/conftest.c object=$am__obj \
3805        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3806        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3807          >/dev/null 2>conftest.err &&
3808        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3809        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3810        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3811        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3812       # icc doesn't choke on unknown options, it will just issue warnings
3813       # or remarks (even with -Werror).  So we grep stderr for any message
3814       # that says an option was ignored or not supported.
3815       # When given -MP, icc 7.0 and 7.1 complain thusly:
3816       #   icc: Command line warning: ignoring option '-M'; no argument required
3817       # The diagnosis changed in icc 8.0:
3818       #   icc: Command line remark: option '-MP' not supported
3819       if (grep 'ignoring option' conftest.err ||
3820           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3821         am_cv_CC_dependencies_compiler_type=$depmode
3822         break
3823       fi
3824     fi
3825   done
3826
3827   cd ..
3828   rm -rf conftest.dir
3829 else
3830   am_cv_CC_dependencies_compiler_type=none
3831 fi
3832
3833 fi
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3835 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3836 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3837
3838  if
3839   test "x$enable_dependency_tracking" != xno \
3840   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3841   am__fastdepCC_TRUE=
3842   am__fastdepCC_FALSE='#'
3843 else
3844   am__fastdepCC_TRUE='#'
3845   am__fastdepCC_FALSE=
3846 fi
3847
3848
3849
3850 # Checks for libraries.
3851
3852 # Checks for header files.
3853
3854 ac_ext=c
3855 ac_cpp='$CPP $CPPFLAGS'
3856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3860 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3861 # On Suns, sometimes $CPP names a directory.
3862 if test -n "$CPP" && test -d "$CPP"; then
3863   CPP=
3864 fi
3865 if test -z "$CPP"; then
3866   if ${ac_cv_prog_CPP+:} false; then :
3867   $as_echo_n "(cached) " >&6
3868 else
3869       # Double quotes because CPP needs to be expanded
3870     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3871     do
3872       ac_preproc_ok=false
3873 for ac_c_preproc_warn_flag in '' yes
3874 do
3875   # Use a header file that comes with gcc, so configuring glibc
3876   # with a fresh cross-compiler works.
3877   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3878   # <limits.h> exists even on freestanding compilers.
3879   # On the NeXT, cc -E runs the code through the compiler's parser,
3880   # not just through cpp. "Syntax error" is here to catch this case.
3881   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3882 /* end confdefs.h.  */
3883 #ifdef __STDC__
3884 # include <limits.h>
3885 #else
3886 # include <assert.h>
3887 #endif
3888                      Syntax error
3889 _ACEOF
3890 if ac_fn_c_try_cpp "$LINENO"; then :
3891
3892 else
3893   # Broken: fails on valid input.
3894 continue
3895 fi
3896 rm -f conftest.err conftest.i conftest.$ac_ext
3897
3898   # OK, works on sane cases.  Now check whether nonexistent headers
3899   # can be detected and how.
3900   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3901 /* end confdefs.h.  */
3902 #include <ac_nonexistent.h>
3903 _ACEOF
3904 if ac_fn_c_try_cpp "$LINENO"; then :
3905   # Broken: success on invalid input.
3906 continue
3907 else
3908   # Passes both tests.
3909 ac_preproc_ok=:
3910 break
3911 fi
3912 rm -f conftest.err conftest.i conftest.$ac_ext
3913
3914 done
3915 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3916 rm -f conftest.i conftest.err conftest.$ac_ext
3917 if $ac_preproc_ok; then :
3918   break
3919 fi
3920
3921     done
3922     ac_cv_prog_CPP=$CPP
3923
3924 fi
3925   CPP=$ac_cv_prog_CPP
3926 else
3927   ac_cv_prog_CPP=$CPP
3928 fi
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3930 $as_echo "$CPP" >&6; }
3931 ac_preproc_ok=false
3932 for ac_c_preproc_warn_flag in '' yes
3933 do
3934   # Use a header file that comes with gcc, so configuring glibc
3935   # with a fresh cross-compiler works.
3936   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3937   # <limits.h> exists even on freestanding compilers.
3938   # On the NeXT, cc -E runs the code through the compiler's parser,
3939   # not just through cpp. "Syntax error" is here to catch this case.
3940   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3941 /* end confdefs.h.  */
3942 #ifdef __STDC__
3943 # include <limits.h>
3944 #else
3945 # include <assert.h>
3946 #endif
3947                      Syntax error
3948 _ACEOF
3949 if ac_fn_c_try_cpp "$LINENO"; then :
3950
3951 else
3952   # Broken: fails on valid input.
3953 continue
3954 fi
3955 rm -f conftest.err conftest.i conftest.$ac_ext
3956
3957   # OK, works on sane cases.  Now check whether nonexistent headers
3958   # can be detected and how.
3959   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3960 /* end confdefs.h.  */
3961 #include <ac_nonexistent.h>
3962 _ACEOF
3963 if ac_fn_c_try_cpp "$LINENO"; then :
3964   # Broken: success on invalid input.
3965 continue
3966 else
3967   # Passes both tests.
3968 ac_preproc_ok=:
3969 break
3970 fi
3971 rm -f conftest.err conftest.i conftest.$ac_ext
3972
3973 done
3974 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3975 rm -f conftest.i conftest.err conftest.$ac_ext
3976 if $ac_preproc_ok; then :
3977
3978 else
3979   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3980 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3981 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3982 See \`config.log' for more details" "$LINENO" 5; }
3983 fi
3984
3985 ac_ext=c
3986 ac_cpp='$CPP $CPPFLAGS'
3987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3990
3991
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3993 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3994 if ${ac_cv_path_GREP+:} false; then :
3995   $as_echo_n "(cached) " >&6
3996 else
3997   if test -z "$GREP"; then
3998   ac_path_GREP_found=false
3999   # Loop through the user's path and test for each of PROGNAME-LIST
4000   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4001 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4002 do
4003   IFS=$as_save_IFS
4004   test -z "$as_dir" && as_dir=.
4005     for ac_prog in grep ggrep; do
4006     for ac_exec_ext in '' $ac_executable_extensions; do
4007       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4008       as_fn_executable_p "$ac_path_GREP" || continue
4009 # Check for GNU ac_path_GREP and select it if it is found.
4010   # Check for GNU $ac_path_GREP
4011 case `"$ac_path_GREP" --version 2>&1` in
4012 *GNU*)
4013   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4014 *)
4015   ac_count=0
4016   $as_echo_n 0123456789 >"conftest.in"
4017   while :
4018   do
4019     cat "conftest.in" "conftest.in" >"conftest.tmp"
4020     mv "conftest.tmp" "conftest.in"
4021     cp "conftest.in" "conftest.nl"
4022     $as_echo 'GREP' >> "conftest.nl"
4023     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4024     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4025     as_fn_arith $ac_count + 1 && ac_count=$as_val
4026     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4027       # Best one so far, save it but keep looking for a better one
4028       ac_cv_path_GREP="$ac_path_GREP"
4029       ac_path_GREP_max=$ac_count
4030     fi
4031     # 10*(2^10) chars as input seems more than enough
4032     test $ac_count -gt 10 && break
4033   done
4034   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4035 esac
4036
4037       $ac_path_GREP_found && break 3
4038     done
4039   done
4040   done
4041 IFS=$as_save_IFS
4042   if test -z "$ac_cv_path_GREP"; then
4043     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4044   fi
4045 else
4046   ac_cv_path_GREP=$GREP
4047 fi
4048
4049 fi
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4051 $as_echo "$ac_cv_path_GREP" >&6; }
4052  GREP="$ac_cv_path_GREP"
4053
4054
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4056 $as_echo_n "checking for egrep... " >&6; }
4057 if ${ac_cv_path_EGREP+:} false; then :
4058   $as_echo_n "(cached) " >&6
4059 else
4060   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4061    then ac_cv_path_EGREP="$GREP -E"
4062    else
4063      if test -z "$EGREP"; then
4064   ac_path_EGREP_found=false
4065   # Loop through the user's path and test for each of PROGNAME-LIST
4066   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4067 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4068 do
4069   IFS=$as_save_IFS
4070   test -z "$as_dir" && as_dir=.
4071     for ac_prog in egrep; do
4072     for ac_exec_ext in '' $ac_executable_extensions; do
4073       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4074       as_fn_executable_p "$ac_path_EGREP" || continue
4075 # Check for GNU ac_path_EGREP and select it if it is found.
4076   # Check for GNU $ac_path_EGREP
4077 case `"$ac_path_EGREP" --version 2>&1` in
4078 *GNU*)
4079   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4080 *)
4081   ac_count=0
4082   $as_echo_n 0123456789 >"conftest.in"
4083   while :
4084   do
4085     cat "conftest.in" "conftest.in" >"conftest.tmp"
4086     mv "conftest.tmp" "conftest.in"
4087     cp "conftest.in" "conftest.nl"
4088     $as_echo 'EGREP' >> "conftest.nl"
4089     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4090     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4091     as_fn_arith $ac_count + 1 && ac_count=$as_val
4092     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4093       # Best one so far, save it but keep looking for a better one
4094       ac_cv_path_EGREP="$ac_path_EGREP"
4095       ac_path_EGREP_max=$ac_count
4096     fi
4097     # 10*(2^10) chars as input seems more than enough
4098     test $ac_count -gt 10 && break
4099   done
4100   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4101 esac
4102
4103       $ac_path_EGREP_found && break 3
4104     done
4105   done
4106   done
4107 IFS=$as_save_IFS
4108   if test -z "$ac_cv_path_EGREP"; then
4109     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4110   fi
4111 else
4112   ac_cv_path_EGREP=$EGREP
4113 fi
4114
4115    fi
4116 fi
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4118 $as_echo "$ac_cv_path_EGREP" >&6; }
4119  EGREP="$ac_cv_path_EGREP"
4120
4121
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4123 $as_echo_n "checking for ANSI C header files... " >&6; }
4124 if ${ac_cv_header_stdc+:} false; then :
4125   $as_echo_n "(cached) " >&6
4126 else
4127   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4128 /* end confdefs.h.  */
4129 #include <stdlib.h>
4130 #include <stdarg.h>
4131 #include <string.h>
4132 #include <float.h>
4133
4134 int
4135 main ()
4136 {
4137
4138   ;
4139   return 0;
4140 }
4141 _ACEOF
4142 if ac_fn_c_try_compile "$LINENO"; then :
4143   ac_cv_header_stdc=yes
4144 else
4145   ac_cv_header_stdc=no
4146 fi
4147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4148
4149 if test $ac_cv_header_stdc = yes; then
4150   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4151   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4152 /* end confdefs.h.  */
4153 #include <string.h>
4154
4155 _ACEOF
4156 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4157   $EGREP "memchr" >/dev/null 2>&1; then :
4158
4159 else
4160   ac_cv_header_stdc=no
4161 fi
4162 rm -f conftest*
4163
4164 fi
4165
4166 if test $ac_cv_header_stdc = yes; then
4167   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4168   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4169 /* end confdefs.h.  */
4170 #include <stdlib.h>
4171
4172 _ACEOF
4173 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4174   $EGREP "free" >/dev/null 2>&1; then :
4175
4176 else
4177   ac_cv_header_stdc=no
4178 fi
4179 rm -f conftest*
4180
4181 fi
4182
4183 if test $ac_cv_header_stdc = yes; then
4184   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4185   if test "$cross_compiling" = yes; then :
4186   :
4187 else
4188   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4189 /* end confdefs.h.  */
4190 #include <ctype.h>
4191 #include <stdlib.h>
4192 #if ((' ' & 0x0FF) == 0x020)
4193 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4194 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4195 #else
4196 # define ISLOWER(c) \
4197                    (('a' <= (c) && (c) <= 'i') \
4198                      || ('j' <= (c) && (c) <= 'r') \
4199                      || ('s' <= (c) && (c) <= 'z'))
4200 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4201 #endif
4202
4203 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4204 int
4205 main ()
4206 {
4207   int i;
4208   for (i = 0; i < 256; i++)
4209     if (XOR (islower (i), ISLOWER (i))
4210         || toupper (i) != TOUPPER (i))
4211       return 2;
4212   return 0;
4213 }
4214 _ACEOF
4215 if ac_fn_c_try_run "$LINENO"; then :
4216
4217 else
4218   ac_cv_header_stdc=no
4219 fi
4220 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4221   conftest.$ac_objext conftest.beam conftest.$ac_ext
4222 fi
4223
4224 fi
4225 fi
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4227 $as_echo "$ac_cv_header_stdc" >&6; }
4228 if test $ac_cv_header_stdc = yes; then
4229
4230 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4231
4232 fi
4233
4234 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4235 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4236                   inttypes.h stdint.h unistd.h
4237 do :
4238   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4239 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4240 "
4241 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4242   cat >>confdefs.h <<_ACEOF
4243 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4244 _ACEOF
4245
4246 fi
4247
4248 done
4249
4250
4251 for ac_header in limits.h malloc.h stddef.h stdlib.h string.h unistd.h errno.h
4252 do :
4253   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4254 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4255 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4256   cat >>confdefs.h <<_ACEOF
4257 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4258 _ACEOF
4259
4260 fi
4261
4262 done
4263
4264
4265 # Checks for typedefs, structures, and compiler characteristics.
4266 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4267 if test "x$ac_cv_type_size_t" = xyes; then :
4268
4269 else
4270
4271 cat >>confdefs.h <<_ACEOF
4272 #define size_t unsigned int
4273 _ACEOF
4274
4275 fi
4276
4277
4278 # Checks for library functions.
4279 for ac_header in stdlib.h
4280 do :
4281   ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
4282 if test "x$ac_cv_header_stdlib_h" = xyes; then :
4283   cat >>confdefs.h <<_ACEOF
4284 #define HAVE_STDLIB_H 1
4285 _ACEOF
4286
4287 fi
4288
4289 done
4290
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
4292 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
4293 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
4294   $as_echo_n "(cached) " >&6
4295 else
4296   if test "$cross_compiling" = yes; then :
4297   ac_cv_func_malloc_0_nonnull=no
4298 else
4299   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4300 /* end confdefs.h.  */
4301 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
4302 # include <stdlib.h>
4303 #else
4304 char *malloc ();
4305 #endif
4306
4307 int
4308 main ()
4309 {
4310 return ! malloc (0);
4311   ;
4312   return 0;
4313 }
4314 _ACEOF
4315 if ac_fn_c_try_run "$LINENO"; then :
4316   ac_cv_func_malloc_0_nonnull=yes
4317 else
4318   ac_cv_func_malloc_0_nonnull=no
4319 fi
4320 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4321   conftest.$ac_objext conftest.beam conftest.$ac_ext
4322 fi
4323
4324 fi
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
4326 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
4327 if test $ac_cv_func_malloc_0_nonnull = yes; then :
4328
4329 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
4330
4331 else
4332   $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
4333
4334    case " $LIBOBJS " in
4335   *" malloc.$ac_objext "* ) ;;
4336   *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
4337  ;;
4338 esac
4339
4340
4341 $as_echo "#define malloc rpl_malloc" >>confdefs.h
4342
4343 fi
4344
4345
4346 for ac_func in memset
4347 do :
4348   ac_fn_c_check_func "$LINENO" "memset" "ac_cv_func_memset"
4349 if test "x$ac_cv_func_memset" = xyes; then :
4350   cat >>confdefs.h <<_ACEOF
4351 #define HAVE_MEMSET 1
4352 _ACEOF
4353
4354 fi
4355 done
4356
4357
4358 # Check whether --enable-largefile was given.
4359 if test "${enable_largefile+set}" = set; then :
4360   enableval=$enable_largefile;
4361 fi
4362
4363 if test "$enable_largefile" != no; then
4364
4365   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4366 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4367 if ${ac_cv_sys_largefile_CC+:} false; then :
4368   $as_echo_n "(cached) " >&6
4369 else
4370   ac_cv_sys_largefile_CC=no
4371      if test "$GCC" != yes; then
4372        ac_save_CC=$CC
4373        while :; do
4374          # IRIX 6.2 and later do not support large files by default,
4375          # so use the C compiler's -n32 option if that helps.
4376          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4377 /* end confdefs.h.  */
4378 #include <sys/types.h>
4379  /* Check that off_t can represent 2**63 - 1 correctly.
4380     We can't simply define LARGE_OFF_T to be 9223372036854775807,
4381     since some C++ compilers masquerading as C compilers
4382     incorrectly reject 9223372036854775807.  */
4383 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
4384   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4385                        && LARGE_OFF_T % 2147483647 == 1)
4386                       ? 1 : -1];
4387 int
4388 main ()
4389 {
4390
4391   ;
4392   return 0;
4393 }
4394 _ACEOF
4395          if ac_fn_c_try_compile "$LINENO"; then :
4396   break
4397 fi
4398 rm -f core conftest.err conftest.$ac_objext
4399          CC="$CC -n32"
4400          if ac_fn_c_try_compile "$LINENO"; then :
4401   ac_cv_sys_largefile_CC=' -n32'; break
4402 fi
4403 rm -f core conftest.err conftest.$ac_objext
4404          break
4405        done
4406        CC=$ac_save_CC
4407        rm -f conftest.$ac_ext
4408     fi
4409 fi
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4411 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
4412   if test "$ac_cv_sys_largefile_CC" != no; then
4413     CC=$CC$ac_cv_sys_largefile_CC
4414   fi
4415
4416   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4417 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4418 if ${ac_cv_sys_file_offset_bits+:} false; then :
4419   $as_echo_n "(cached) " >&6
4420 else
4421   while :; do
4422   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4423 /* end confdefs.h.  */
4424 #include <sys/types.h>
4425  /* Check that off_t can represent 2**63 - 1 correctly.
4426     We can't simply define LARGE_OFF_T to be 9223372036854775807,
4427     since some C++ compilers masquerading as C compilers
4428     incorrectly reject 9223372036854775807.  */
4429 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
4430   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4431                        && LARGE_OFF_T % 2147483647 == 1)
4432                       ? 1 : -1];
4433 int
4434 main ()
4435 {
4436
4437   ;
4438   return 0;
4439 }
4440 _ACEOF
4441 if ac_fn_c_try_compile "$LINENO"; then :
4442   ac_cv_sys_file_offset_bits=no; break
4443 fi
4444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4445   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4446 /* end confdefs.h.  */
4447 #define _FILE_OFFSET_BITS 64
4448 #include <sys/types.h>
4449  /* Check that off_t can represent 2**63 - 1 correctly.
4450     We can't simply define LARGE_OFF_T to be 9223372036854775807,
4451     since some C++ compilers masquerading as C compilers
4452     incorrectly reject 9223372036854775807.  */
4453 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
4454   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4455                        && LARGE_OFF_T % 2147483647 == 1)
4456                       ? 1 : -1];
4457 int
4458 main ()
4459 {
4460
4461   ;
4462   return 0;
4463 }
4464 _ACEOF
4465 if ac_fn_c_try_compile "$LINENO"; then :
4466   ac_cv_sys_file_offset_bits=64; break
4467 fi
4468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4469   ac_cv_sys_file_offset_bits=unknown
4470   break
4471 done
4472 fi
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4474 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4475 case $ac_cv_sys_file_offset_bits in #(
4476   no | unknown) ;;
4477   *)
4478 cat >>confdefs.h <<_ACEOF
4479 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4480 _ACEOF
4481 ;;
4482 esac
4483 rm -rf conftest*
4484   if test $ac_cv_sys_file_offset_bits = unknown; then
4485     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4486 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4487 if ${ac_cv_sys_large_files+:} false; then :
4488   $as_echo_n "(cached) " >&6
4489 else
4490   while :; do
4491   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4492 /* end confdefs.h.  */
4493 #include <sys/types.h>
4494  /* Check that off_t can represent 2**63 - 1 correctly.
4495     We can't simply define LARGE_OFF_T to be 9223372036854775807,
4496     since some C++ compilers masquerading as C compilers
4497     incorrectly reject 9223372036854775807.  */
4498 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
4499   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4500                        && LARGE_OFF_T % 2147483647 == 1)
4501                       ? 1 : -1];
4502 int
4503 main ()
4504 {
4505
4506   ;
4507   return 0;
4508 }
4509 _ACEOF
4510 if ac_fn_c_try_compile "$LINENO"; then :
4511   ac_cv_sys_large_files=no; break
4512 fi
4513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4514   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4515 /* end confdefs.h.  */
4516 #define _LARGE_FILES 1
4517 #include <sys/types.h>
4518  /* Check that off_t can represent 2**63 - 1 correctly.
4519     We can't simply define LARGE_OFF_T to be 9223372036854775807,
4520     since some C++ compilers masquerading as C compilers
4521     incorrectly reject 9223372036854775807.  */
4522 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
4523   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4524                        && LARGE_OFF_T % 2147483647 == 1)
4525                       ? 1 : -1];
4526 int
4527 main ()
4528 {
4529
4530   ;
4531   return 0;
4532 }
4533 _ACEOF
4534 if ac_fn_c_try_compile "$LINENO"; then :
4535   ac_cv_sys_large_files=1; break
4536 fi
4537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4538   ac_cv_sys_large_files=unknown
4539   break
4540 done
4541 fi
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4543 $as_echo "$ac_cv_sys_large_files" >&6; }
4544 case $ac_cv_sys_large_files in #(
4545   no | unknown) ;;
4546   *)
4547 cat >>confdefs.h <<_ACEOF
4548 #define _LARGE_FILES $ac_cv_sys_large_files
4549 _ACEOF
4550 ;;
4551 esac
4552 rm -rf conftest*
4553   fi
4554
4555
4556 fi
4557
4558
4559 ac_config_files="$ac_config_files makefile"
4560
4561 cat >confcache <<\_ACEOF
4562 # This file is a shell script that caches the results of configure
4563 # tests run on this system so they can be shared between configure
4564 # scripts and configure runs, see configure's option --config-cache.
4565 # It is not useful on other systems.  If it contains results you don't
4566 # want to keep, you may remove or edit it.
4567 #
4568 # config.status only pays attention to the cache file if you give it
4569 # the --recheck option to rerun configure.
4570 #
4571 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4572 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4573 # following values.
4574
4575 _ACEOF
4576
4577 # The following way of writing the cache mishandles newlines in values,
4578 # but we know of no workaround that is simple, portable, and efficient.
4579 # So, we kill variables containing newlines.
4580 # Ultrix sh set writes to stderr and can't be redirected directly,
4581 # and sets the high bit in the cache file unless we assign to the vars.
4582 (
4583   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4584     eval ac_val=\$$ac_var
4585     case $ac_val in #(
4586     *${as_nl}*)
4587       case $ac_var in #(
4588       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4589 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4590       esac
4591       case $ac_var in #(
4592       _ | IFS | as_nl) ;; #(
4593       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4594       *) { eval $ac_var=; unset $ac_var;} ;;
4595       esac ;;
4596     esac
4597   done
4598
4599   (set) 2>&1 |
4600     case $as_nl`(ac_space=' '; set) 2>&1` in #(
4601     *${as_nl}ac_space=\ *)
4602       # `set' does not quote correctly, so add quotes: double-quote
4603       # substitution turns \\\\ into \\, and sed turns \\ into \.
4604       sed -n \
4605         "s/'/'\\\\''/g;
4606           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4607       ;; #(
4608     *)
4609       # `set' quotes correctly as required by POSIX, so do not add quotes.
4610       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4611       ;;
4612     esac |
4613     sort
4614 ) |
4615   sed '
4616      /^ac_cv_env_/b end
4617      t clear
4618      :clear
4619      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4620      t end
4621      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4622      :end' >>confcache
4623 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4624   if test -w "$cache_file"; then
4625     if test "x$cache_file" != "x/dev/null"; then
4626       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4627 $as_echo "$as_me: updating cache $cache_file" >&6;}
4628       if test ! -f "$cache_file" || test -h "$cache_file"; then
4629         cat confcache >"$cache_file"
4630       else
4631         case $cache_file in #(
4632         */* | ?:*)
4633           mv -f confcache "$cache_file"$$ &&
4634           mv -f "$cache_file"$$ "$cache_file" ;; #(
4635         *)
4636           mv -f confcache "$cache_file" ;;
4637         esac
4638       fi
4639     fi
4640   else
4641     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4642 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4643   fi
4644 fi
4645 rm -f confcache
4646
4647 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4648 # Let make expand exec_prefix.
4649 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4650
4651 DEFS=-DHAVE_CONFIG_H
4652
4653 ac_libobjs=
4654 ac_ltlibobjs=
4655 U=
4656 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4657   # 1. Remove the extension, and $U if already installed.
4658   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4659   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4660   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
4661   #    will be set to the directory where LIBOBJS objects are built.
4662   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4663   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4664 done
4665 LIBOBJS=$ac_libobjs
4666
4667 LTLIBOBJS=$ac_ltlibobjs
4668
4669
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
4671 $as_echo_n "checking that generated files are newer than configure... " >&6; }
4672    if test -n "$am_sleep_pid"; then
4673      # Hide warnings about reused PIDs.
4674      wait $am_sleep_pid 2>/dev/null
4675    fi
4676    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
4677 $as_echo "done" >&6; }
4678  if test -n "$EXEEXT"; then
4679   am__EXEEXT_TRUE=
4680   am__EXEEXT_FALSE='#'
4681 else
4682   am__EXEEXT_TRUE='#'
4683   am__EXEEXT_FALSE=
4684 fi
4685
4686 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4687   as_fn_error $? "conditional \"AMDEP\" was never defined.
4688 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4689 fi
4690 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4691   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4692 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4693 fi
4694
4695 : "${CONFIG_STATUS=./config.status}"
4696 ac_write_fail=0
4697 ac_clean_files_save=$ac_clean_files
4698 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4700 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4701 as_write_fail=0
4702 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4703 #! $SHELL
4704 # Generated by $as_me.
4705 # Run this file to recreate the current configuration.
4706 # Compiler output produced by configure, useful for debugging
4707 # configure, is in config.log if it exists.
4708
4709 debug=false
4710 ac_cs_recheck=false
4711 ac_cs_silent=false
4712
4713 SHELL=\${CONFIG_SHELL-$SHELL}
4714 export SHELL
4715 _ASEOF
4716 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4717 ## -------------------- ##
4718 ## M4sh Initialization. ##
4719 ## -------------------- ##
4720
4721 # Be more Bourne compatible
4722 DUALCASE=1; export DUALCASE # for MKS sh
4723 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4724   emulate sh
4725   NULLCMD=:
4726   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4727   # is contrary to our usage.  Disable this feature.
4728   alias -g '${1+"$@"}'='"$@"'
4729   setopt NO_GLOB_SUBST
4730 else
4731   case `(set -o) 2>/dev/null` in #(
4732   *posix*) :
4733     set -o posix ;; #(
4734   *) :
4735      ;;
4736 esac
4737 fi
4738
4739
4740 as_nl='
4741 '
4742 export as_nl
4743 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4744 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4745 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4746 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4747 # Prefer a ksh shell builtin over an external printf program on Solaris,
4748 # but without wasting forks for bash or zsh.
4749 if test -z "$BASH_VERSION$ZSH_VERSION" \
4750     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4751   as_echo='print -r --'
4752   as_echo_n='print -rn --'
4753 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4754   as_echo='printf %s\n'
4755   as_echo_n='printf %s'
4756 else
4757   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4758     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4759     as_echo_n='/usr/ucb/echo -n'
4760   else
4761     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4762     as_echo_n_body='eval
4763       arg=$1;
4764       case $arg in #(
4765       *"$as_nl"*)
4766         expr "X$arg" : "X\\(.*\\)$as_nl";
4767         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4768       esac;
4769       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4770     '
4771     export as_echo_n_body
4772     as_echo_n='sh -c $as_echo_n_body as_echo'
4773   fi
4774   export as_echo_body
4775   as_echo='sh -c $as_echo_body as_echo'
4776 fi
4777
4778 # The user is always right.
4779 if test "${PATH_SEPARATOR+set}" != set; then
4780   PATH_SEPARATOR=:
4781   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4782     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4783       PATH_SEPARATOR=';'
4784   }
4785 fi
4786
4787
4788 # IFS
4789 # We need space, tab and new line, in precisely that order.  Quoting is
4790 # there to prevent editors from complaining about space-tab.
4791 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4792 # splitting by setting IFS to empty value.)
4793 IFS=" ""        $as_nl"
4794
4795 # Find who we are.  Look in the path if we contain no directory separator.
4796 as_myself=
4797 case $0 in #((
4798   *[\\/]* ) as_myself=$0 ;;
4799   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4800 for as_dir in $PATH
4801 do
4802   IFS=$as_save_IFS
4803   test -z "$as_dir" && as_dir=.
4804     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4805   done
4806 IFS=$as_save_IFS
4807
4808      ;;
4809 esac
4810 # We did not find ourselves, most probably we were run as `sh COMMAND'
4811 # in which case we are not to be found in the path.
4812 if test "x$as_myself" = x; then
4813   as_myself=$0
4814 fi
4815 if test ! -f "$as_myself"; then
4816   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4817   exit 1
4818 fi
4819
4820 # Unset variables that we do not need and which cause bugs (e.g. in
4821 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
4822 # suppresses any "Segmentation fault" message there.  '((' could
4823 # trigger a bug in pdksh 5.2.14.
4824 for as_var in BASH_ENV ENV MAIL MAILPATH
4825 do eval test x\${$as_var+set} = xset \
4826   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4827 done
4828 PS1='$ '
4829 PS2='> '
4830 PS4='+ '
4831
4832 # NLS nuisances.
4833 LC_ALL=C
4834 export LC_ALL
4835 LANGUAGE=C
4836 export LANGUAGE
4837
4838 # CDPATH.
4839 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4840
4841
4842 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4843 # ----------------------------------------
4844 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4845 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4846 # script with STATUS, using 1 if that was 0.
4847 as_fn_error ()
4848 {
4849   as_status=$1; test $as_status -eq 0 && as_status=1
4850   if test "$4"; then
4851     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4852     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4853   fi
4854   $as_echo "$as_me: error: $2" >&2
4855   as_fn_exit $as_status
4856 } # as_fn_error
4857
4858
4859 # as_fn_set_status STATUS
4860 # -----------------------
4861 # Set $? to STATUS, without forking.
4862 as_fn_set_status ()
4863 {
4864   return $1
4865 } # as_fn_set_status
4866
4867 # as_fn_exit STATUS
4868 # -----------------
4869 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4870 as_fn_exit ()
4871 {
4872   set +e
4873   as_fn_set_status $1
4874   exit $1
4875 } # as_fn_exit
4876
4877 # as_fn_unset VAR
4878 # ---------------
4879 # Portably unset VAR.
4880 as_fn_unset ()
4881 {
4882   { eval $1=; unset $1;}
4883 }
4884 as_unset=as_fn_unset
4885 # as_fn_append VAR VALUE
4886 # ----------------------
4887 # Append the text in VALUE to the end of the definition contained in VAR. Take
4888 # advantage of any shell optimizations that allow amortized linear growth over
4889 # repeated appends, instead of the typical quadratic growth present in naive
4890 # implementations.
4891 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4892   eval 'as_fn_append ()
4893   {
4894     eval $1+=\$2
4895   }'
4896 else
4897   as_fn_append ()
4898   {
4899     eval $1=\$$1\$2
4900   }
4901 fi # as_fn_append
4902
4903 # as_fn_arith ARG...
4904 # ------------------
4905 # Perform arithmetic evaluation on the ARGs, and store the result in the
4906 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4907 # must be portable across $(()) and expr.
4908 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4909   eval 'as_fn_arith ()
4910   {
4911     as_val=$(( $* ))
4912   }'
4913 else
4914   as_fn_arith ()
4915   {
4916     as_val=`expr "$@" || test $? -eq 1`
4917   }
4918 fi # as_fn_arith
4919
4920
4921 if expr a : '\(a\)' >/dev/null 2>&1 &&
4922    test "X`expr 00001 : '.*\(...\)'`" = X001; then
4923   as_expr=expr
4924 else
4925   as_expr=false
4926 fi
4927
4928 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4929   as_basename=basename
4930 else
4931   as_basename=false
4932 fi
4933
4934 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4935   as_dirname=dirname
4936 else
4937   as_dirname=false
4938 fi
4939
4940 as_me=`$as_basename -- "$0" ||
4941 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4942          X"$0" : 'X\(//\)$' \| \
4943          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4944 $as_echo X/"$0" |
4945     sed '/^.*\/\([^/][^/]*\)\/*$/{
4946             s//\1/
4947             q
4948           }
4949           /^X\/\(\/\/\)$/{
4950             s//\1/
4951             q
4952           }
4953           /^X\/\(\/\).*/{
4954             s//\1/
4955             q
4956           }
4957           s/.*/./; q'`
4958
4959 # Avoid depending upon Character Ranges.
4960 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4961 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4962 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4963 as_cr_digits='0123456789'
4964 as_cr_alnum=$as_cr_Letters$as_cr_digits
4965
4966 ECHO_C= ECHO_N= ECHO_T=
4967 case `echo -n x` in #(((((
4968 -n*)
4969   case `echo 'xy\c'` in
4970   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
4971   xy)  ECHO_C='\c';;
4972   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
4973        ECHO_T=' ';;
4974   esac;;
4975 *)
4976   ECHO_N='-n';;
4977 esac
4978
4979 rm -f conf$$ conf$$.exe conf$$.file
4980 if test -d conf$$.dir; then
4981   rm -f conf$$.dir/conf$$.file
4982 else
4983   rm -f conf$$.dir
4984   mkdir conf$$.dir 2>/dev/null
4985 fi
4986 if (echo >conf$$.file) 2>/dev/null; then
4987   if ln -s conf$$.file conf$$ 2>/dev/null; then
4988     as_ln_s='ln -s'
4989     # ... but there are two gotchas:
4990     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4991     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4992     # In both cases, we have to default to `cp -pR'.
4993     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4994       as_ln_s='cp -pR'
4995   elif ln conf$$.file conf$$ 2>/dev/null; then
4996     as_ln_s=ln
4997   else
4998     as_ln_s='cp -pR'
4999   fi
5000 else
5001   as_ln_s='cp -pR'
5002 fi
5003 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5004 rmdir conf$$.dir 2>/dev/null
5005
5006
5007 # as_fn_mkdir_p
5008 # -------------
5009 # Create "$as_dir" as a directory, including parents if necessary.
5010 as_fn_mkdir_p ()
5011 {
5012
5013   case $as_dir in #(
5014   -*) as_dir=./$as_dir;;
5015   esac
5016   test -d "$as_dir" || eval $as_mkdir_p || {
5017     as_dirs=
5018     while :; do
5019       case $as_dir in #(
5020       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5021       *) as_qdir=$as_dir;;
5022       esac
5023       as_dirs="'$as_qdir' $as_dirs"
5024       as_dir=`$as_dirname -- "$as_dir" ||
5025 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5026          X"$as_dir" : 'X\(//\)[^/]' \| \
5027          X"$as_dir" : 'X\(//\)$' \| \
5028          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5029 $as_echo X"$as_dir" |
5030     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5031             s//\1/
5032             q
5033           }
5034           /^X\(\/\/\)[^/].*/{
5035             s//\1/
5036             q
5037           }
5038           /^X\(\/\/\)$/{
5039             s//\1/
5040             q
5041           }
5042           /^X\(\/\).*/{
5043             s//\1/
5044             q
5045           }
5046           s/.*/./; q'`
5047       test -d "$as_dir" && break
5048     done
5049     test -z "$as_dirs" || eval "mkdir $as_dirs"
5050   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5051
5052
5053 } # as_fn_mkdir_p
5054 if mkdir -p . 2>/dev/null; then
5055   as_mkdir_p='mkdir -p "$as_dir"'
5056 else
5057   test -d ./-p && rmdir ./-p
5058   as_mkdir_p=false
5059 fi
5060
5061
5062 # as_fn_executable_p FILE
5063 # -----------------------
5064 # Test if FILE is an executable regular file.
5065 as_fn_executable_p ()
5066 {
5067   test -f "$1" && test -x "$1"
5068 } # as_fn_executable_p
5069 as_test_x='test -x'
5070 as_executable_p=as_fn_executable_p
5071
5072 # Sed expression to map a string onto a valid CPP name.
5073 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5074
5075 # Sed expression to map a string onto a valid variable name.
5076 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5077
5078
5079 exec 6>&1
5080 ## ----------------------------------- ##
5081 ## Main body of $CONFIG_STATUS script. ##
5082 ## ----------------------------------- ##
5083 _ASEOF
5084 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5085
5086 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5087 # Save the log message, to keep $0 and so on meaningful, and to
5088 # report actual input values of CONFIG_FILES etc. instead of their
5089 # values after options handling.
5090 ac_log="
5091 This file was extended by skeinsum $as_me 1.0, which was
5092 generated by GNU Autoconf 2.69.  Invocation command line was
5093
5094   CONFIG_FILES    = $CONFIG_FILES
5095   CONFIG_HEADERS  = $CONFIG_HEADERS
5096   CONFIG_LINKS    = $CONFIG_LINKS
5097   CONFIG_COMMANDS = $CONFIG_COMMANDS
5098   $ $0 $@
5099
5100 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5101 "
5102
5103 _ACEOF
5104
5105 case $ac_config_files in *"
5106 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5107 esac
5108
5109 case $ac_config_headers in *"
5110 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5111 esac
5112
5113
5114 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5115 # Files that config.status was made for.
5116 config_files="$ac_config_files"
5117 config_headers="$ac_config_headers"
5118 config_commands="$ac_config_commands"
5119
5120 _ACEOF
5121
5122 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5123 ac_cs_usage="\
5124 \`$as_me' instantiates files and other configuration actions
5125 from templates according to the current configuration.  Unless the files
5126 and actions are specified as TAGs, all are instantiated by default.
5127
5128 Usage: $0 [OPTION]... [TAG]...
5129
5130   -h, --help       print this help, then exit
5131   -V, --version    print version number and configuration settings, then exit
5132       --config     print configuration, then exit
5133   -q, --quiet, --silent
5134                    do not print progress messages
5135   -d, --debug      don't remove temporary files
5136       --recheck    update $as_me by reconfiguring in the same conditions
5137       --file=FILE[:TEMPLATE]
5138                    instantiate the configuration file FILE
5139       --header=FILE[:TEMPLATE]
5140                    instantiate the configuration header FILE
5141
5142 Configuration files:
5143 $config_files
5144
5145 Configuration headers:
5146 $config_headers
5147
5148 Configuration commands:
5149 $config_commands
5150
5151 Report bugs to <j@jxself.org>."
5152
5153 _ACEOF
5154 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5155 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5156 ac_cs_version="\\
5157 skeinsum config.status 1.0
5158 configured by $0, generated by GNU Autoconf 2.69,
5159   with options \\"\$ac_cs_config\\"
5160
5161 Copyright (C) 2012 Free Software Foundation, Inc.
5162 This config.status script is free software; the Free Software Foundation
5163 gives unlimited permission to copy, distribute and modify it."
5164
5165 ac_pwd='$ac_pwd'
5166 srcdir='$srcdir'
5167 INSTALL='$INSTALL'
5168 MKDIR_P='$MKDIR_P'
5169 AWK='$AWK'
5170 test -n "\$AWK" || AWK=awk
5171 _ACEOF
5172
5173 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5174 # The default lists apply if the user does not specify any file.
5175 ac_need_defaults=:
5176 while test $# != 0
5177 do
5178   case $1 in
5179   --*=?*)
5180     ac_option=`expr "X$1" : 'X\([^=]*\)='`
5181     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5182     ac_shift=:
5183     ;;
5184   --*=)
5185     ac_option=`expr "X$1" : 'X\([^=]*\)='`
5186     ac_optarg=
5187     ac_shift=:
5188     ;;
5189   *)
5190     ac_option=$1
5191     ac_optarg=$2
5192     ac_shift=shift
5193     ;;
5194   esac
5195
5196   case $ac_option in
5197   # Handling of the options.
5198   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5199     ac_cs_recheck=: ;;
5200   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5201     $as_echo "$ac_cs_version"; exit ;;
5202   --config | --confi | --conf | --con | --co | --c )
5203     $as_echo "$ac_cs_config"; exit ;;
5204   --debug | --debu | --deb | --de | --d | -d )
5205     debug=: ;;
5206   --file | --fil | --fi | --f )
5207     $ac_shift
5208     case $ac_optarg in
5209     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5210     '') as_fn_error $? "missing file argument" ;;
5211     esac
5212     as_fn_append CONFIG_FILES " '$ac_optarg'"
5213     ac_need_defaults=false;;
5214   --header | --heade | --head | --hea )
5215     $ac_shift
5216     case $ac_optarg in
5217     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5218     esac
5219     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5220     ac_need_defaults=false;;
5221   --he | --h)
5222     # Conflict between --help and --header
5223     as_fn_error $? "ambiguous option: \`$1'
5224 Try \`$0 --help' for more information.";;
5225   --help | --hel | -h )
5226     $as_echo "$ac_cs_usage"; exit ;;
5227   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5228   | -silent | --silent | --silen | --sile | --sil | --si | --s)
5229     ac_cs_silent=: ;;
5230
5231   # This is an error.
5232   -*) as_fn_error $? "unrecognized option: \`$1'
5233 Try \`$0 --help' for more information." ;;
5234
5235   *) as_fn_append ac_config_targets " $1"
5236      ac_need_defaults=false ;;
5237
5238   esac
5239   shift
5240 done
5241
5242 ac_configure_extra_args=
5243
5244 if $ac_cs_silent; then
5245   exec 6>/dev/null
5246   ac_configure_extra_args="$ac_configure_extra_args --silent"
5247 fi
5248
5249 _ACEOF
5250 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5251 if \$ac_cs_recheck; then
5252   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5253   shift
5254   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5255   CONFIG_SHELL='$SHELL'
5256   export CONFIG_SHELL
5257   exec "\$@"
5258 fi
5259
5260 _ACEOF
5261 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5262 exec 5>>config.log
5263 {
5264   echo
5265   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5266 ## Running $as_me. ##
5267 _ASBOX
5268   $as_echo "$ac_log"
5269 } >&5
5270
5271 _ACEOF
5272 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5273 #
5274 # INIT-COMMANDS
5275 #
5276 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5277
5278 _ACEOF
5279
5280 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5281
5282 # Handling of arguments.
5283 for ac_config_target in $ac_config_targets
5284 do
5285   case $ac_config_target in
5286     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5287     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5288     "makefile") CONFIG_FILES="$CONFIG_FILES makefile" ;;
5289
5290   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5291   esac
5292 done
5293
5294
5295 # If the user did not use the arguments to specify the items to instantiate,
5296 # then the envvar interface is used.  Set only those that are not.
5297 # We use the long form for the default assignment because of an extremely
5298 # bizarre bug on SunOS 4.1.3.
5299 if $ac_need_defaults; then
5300   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5301   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5302   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5303 fi
5304
5305 # Have a temporary directory for convenience.  Make it in the build tree
5306 # simply because there is no reason against having it here, and in addition,
5307 # creating and moving files from /tmp can sometimes cause problems.
5308 # Hook for its removal unless debugging.
5309 # Note that there is a small window in which the directory will not be cleaned:
5310 # after its creation but before its name has been assigned to `$tmp'.
5311 $debug ||
5312 {
5313   tmp= ac_tmp=
5314   trap 'exit_status=$?
5315   : "${ac_tmp:=$tmp}"
5316   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5317 ' 0
5318   trap 'as_fn_exit 1' 1 2 13 15
5319 }
5320 # Create a (secure) tmp directory for tmp files.
5321
5322 {
5323   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5324   test -d "$tmp"
5325 }  ||
5326 {
5327   tmp=./conf$$-$RANDOM
5328   (umask 077 && mkdir "$tmp")
5329 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5330 ac_tmp=$tmp
5331
5332 # Set up the scripts for CONFIG_FILES section.
5333 # No need to generate them if there are no CONFIG_FILES.
5334 # This happens for instance with `./config.status config.h'.
5335 if test -n "$CONFIG_FILES"; then
5336
5337
5338 ac_cr=`echo X | tr X '\015'`
5339 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5340 # But we know of no other shell where ac_cr would be empty at this
5341 # point, so we can use a bashism as a fallback.
5342 if test "x$ac_cr" = x; then
5343   eval ac_cr=\$\'\\r\'
5344 fi
5345 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5346 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5347   ac_cs_awk_cr='\\r'
5348 else
5349   ac_cs_awk_cr=$ac_cr
5350 fi
5351
5352 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5353 _ACEOF
5354
5355
5356 {
5357   echo "cat >conf$$subs.awk <<_ACEOF" &&
5358   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5359   echo "_ACEOF"
5360 } >conf$$subs.sh ||
5361   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5362 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5363 ac_delim='%!_!# '
5364 for ac_last_try in false false false false false :; do
5365   . ./conf$$subs.sh ||
5366     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5367
5368   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5369   if test $ac_delim_n = $ac_delim_num; then
5370     break
5371   elif $ac_last_try; then
5372     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5373   else
5374     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5375   fi
5376 done
5377 rm -f conf$$subs.sh
5378
5379 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5380 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5381 _ACEOF
5382 sed -n '
5383 h
5384 s/^/S["/; s/!.*/"]=/
5385 p
5386 g
5387 s/^[^!]*!//
5388 :repl
5389 t repl
5390 s/'"$ac_delim"'$//
5391 t delim
5392 :nl
5393 h
5394 s/\(.\{148\}\)..*/\1/
5395 t more1
5396 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5397 p
5398 n
5399 b repl
5400 :more1
5401 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5402 p
5403 g
5404 s/.\{148\}//
5405 t nl
5406 :delim
5407 h
5408 s/\(.\{148\}\)..*/\1/
5409 t more2
5410 s/["\\]/\\&/g; s/^/"/; s/$/"/
5411 p
5412 b
5413 :more2
5414 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5415 p
5416 g
5417 s/.\{148\}//
5418 t delim
5419 ' <conf$$subs.awk | sed '
5420 /^[^""]/{
5421   N
5422   s/\n//
5423 }
5424 ' >>$CONFIG_STATUS || ac_write_fail=1
5425 rm -f conf$$subs.awk
5426 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5427 _ACAWK
5428 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5429   for (key in S) S_is_set[key] = 1
5430   FS = "\a"
5431
5432 }
5433 {
5434   line = $ 0
5435   nfields = split(line, field, "@")
5436   substed = 0
5437   len = length(field[1])
5438   for (i = 2; i < nfields; i++) {
5439     key = field[i]
5440     keylen = length(key)
5441     if (S_is_set[key]) {
5442       value = S[key]
5443       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5444       len += length(value) + length(field[++i])
5445       substed = 1
5446     } else
5447       len += 1 + keylen
5448   }
5449
5450   print line
5451 }
5452
5453 _ACAWK
5454 _ACEOF
5455 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5456 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5457   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5458 else
5459   cat
5460 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5461   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5462 _ACEOF
5463
5464 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5465 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5466 # trailing colons and then remove the whole line if VPATH becomes empty
5467 # (actually we leave an empty line to preserve line numbers).
5468 if test "x$srcdir" = x.; then
5469   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
5470 h
5471 s///
5472 s/^/:/
5473 s/[      ]*$/:/
5474 s/:\$(srcdir):/:/g
5475 s/:\${srcdir}:/:/g
5476 s/:@srcdir@:/:/g
5477 s/^:*//
5478 s/:*$//
5479 x
5480 s/\(=[   ]*\).*/\1/
5481 G
5482 s/\n//
5483 s/^[^=]*=[       ]*$//
5484 }'
5485 fi
5486
5487 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5488 fi # test -n "$CONFIG_FILES"
5489
5490 # Set up the scripts for CONFIG_HEADERS section.
5491 # No need to generate them if there are no CONFIG_HEADERS.
5492 # This happens for instance with `./config.status Makefile'.
5493 if test -n "$CONFIG_HEADERS"; then
5494 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
5495 BEGIN {
5496 _ACEOF
5497
5498 # Transform confdefs.h into an awk script `defines.awk', embedded as
5499 # here-document in config.status, that substitutes the proper values into
5500 # config.h.in to produce config.h.
5501
5502 # Create a delimiter string that does not exist in confdefs.h, to ease
5503 # handling of long lines.
5504 ac_delim='%!_!# '
5505 for ac_last_try in false false :; do
5506   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
5507   if test -z "$ac_tt"; then
5508     break
5509   elif $ac_last_try; then
5510     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
5511   else
5512     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5513   fi
5514 done
5515
5516 # For the awk script, D is an array of macro values keyed by name,
5517 # likewise P contains macro parameters if any.  Preserve backslash
5518 # newline sequences.
5519
5520 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5521 sed -n '
5522 s/.\{148\}/&'"$ac_delim"'/g
5523 t rset
5524 :rset
5525 s/^[     ]*#[    ]*define[       ][      ]*/ /
5526 t def
5527 d
5528 :def
5529 s/\\$//
5530 t bsnl
5531 s/["\\]/\\&/g
5532 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
5533 D["\1"]=" \3"/p
5534 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
5535 d
5536 :bsnl
5537 s/["\\]/\\&/g
5538 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
5539 D["\1"]=" \3\\\\\\n"\\/p
5540 t cont
5541 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5542 t cont
5543 d
5544 :cont
5545 n
5546 s/.\{148\}/&'"$ac_delim"'/g
5547 t clear
5548 :clear
5549 s/\\$//
5550 t bsnlc
5551 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5552 d
5553 :bsnlc
5554 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5555 b cont
5556 ' <confdefs.h | sed '
5557 s/'"$ac_delim"'/"\\\
5558 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5559
5560 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5561   for (key in D) D_is_set[key] = 1
5562   FS = "\a"
5563 }
5564 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5565   line = \$ 0
5566   split(line, arg, " ")
5567   if (arg[1] == "#") {
5568     defundef = arg[2]
5569     mac1 = arg[3]
5570   } else {
5571     defundef = substr(arg[1], 2)
5572     mac1 = arg[2]
5573   }
5574   split(mac1, mac2, "(") #)
5575   macro = mac2[1]
5576   prefix = substr(line, 1, index(line, defundef) - 1)
5577   if (D_is_set[macro]) {
5578     # Preserve the white space surrounding the "#".
5579     print prefix "define", macro P[macro] D[macro]
5580     next
5581   } else {
5582     # Replace #undef with comments.  This is necessary, for example,
5583     # in the case of _POSIX_SOURCE, which is predefined and required
5584     # on some systems where configure will not decide to define it.
5585     if (defundef == "undef") {
5586       print "/*", prefix defundef, macro, "*/"
5587       next
5588     }
5589   }
5590 }
5591 { print }
5592 _ACAWK
5593 _ACEOF
5594 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5595   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
5596 fi # test -n "$CONFIG_HEADERS"
5597
5598
5599 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
5600 shift
5601 for ac_tag
5602 do
5603   case $ac_tag in
5604   :[FHLC]) ac_mode=$ac_tag; continue;;
5605   esac
5606   case $ac_mode$ac_tag in
5607   :[FHL]*:*);;
5608   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5609   :[FH]-) ac_tag=-:-;;
5610   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5611   esac
5612   ac_save_IFS=$IFS
5613   IFS=:
5614   set x $ac_tag
5615   IFS=$ac_save_IFS
5616   shift
5617   ac_file=$1
5618   shift
5619
5620   case $ac_mode in
5621   :L) ac_source=$1;;
5622   :[FH])
5623     ac_file_inputs=
5624     for ac_f
5625     do
5626       case $ac_f in
5627       -) ac_f="$ac_tmp/stdin";;
5628       *) # Look for the file first in the build tree, then in the source tree
5629          # (if the path is not absolute).  The absolute path cannot be DOS-style,
5630          # because $ac_f cannot contain `:'.
5631          test -f "$ac_f" ||
5632            case $ac_f in
5633            [\\/$]*) false;;
5634            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5635            esac ||
5636            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5637       esac
5638       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5639       as_fn_append ac_file_inputs " '$ac_f'"
5640     done
5641
5642     # Let's still pretend it is `configure' which instantiates (i.e., don't
5643     # use $as_me), people would be surprised to read:
5644     #    /* config.h.  Generated by config.status.  */
5645     configure_input='Generated from '`
5646           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5647         `' by configure.'
5648     if test x"$ac_file" != x-; then
5649       configure_input="$ac_file.  $configure_input"
5650       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5651 $as_echo "$as_me: creating $ac_file" >&6;}
5652     fi
5653     # Neutralize special characters interpreted by sed in replacement strings.
5654     case $configure_input in #(
5655     *\&* | *\|* | *\\* )
5656        ac_sed_conf_input=`$as_echo "$configure_input" |
5657        sed 's/[\\\\&|]/\\\\&/g'`;; #(
5658     *) ac_sed_conf_input=$configure_input;;
5659     esac
5660
5661     case $ac_tag in
5662     *:-:* | *:-) cat >"$ac_tmp/stdin" \
5663       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5664     esac
5665     ;;
5666   esac
5667
5668   ac_dir=`$as_dirname -- "$ac_file" ||
5669 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5670          X"$ac_file" : 'X\(//\)[^/]' \| \
5671          X"$ac_file" : 'X\(//\)$' \| \
5672          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5673 $as_echo X"$ac_file" |
5674     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5675             s//\1/
5676             q
5677           }
5678           /^X\(\/\/\)[^/].*/{
5679             s//\1/
5680             q
5681           }
5682           /^X\(\/\/\)$/{
5683             s//\1/
5684             q
5685           }
5686           /^X\(\/\).*/{
5687             s//\1/
5688             q
5689           }
5690           s/.*/./; q'`
5691   as_dir="$ac_dir"; as_fn_mkdir_p
5692   ac_builddir=.
5693
5694 case "$ac_dir" in
5695 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5696 *)
5697   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5698   # A ".." for each directory in $ac_dir_suffix.
5699   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5700   case $ac_top_builddir_sub in
5701   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5702   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5703   esac ;;
5704 esac
5705 ac_abs_top_builddir=$ac_pwd
5706 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5707 # for backward compatibility:
5708 ac_top_builddir=$ac_top_build_prefix
5709
5710 case $srcdir in
5711   .)  # We are building in place.
5712     ac_srcdir=.
5713     ac_top_srcdir=$ac_top_builddir_sub
5714     ac_abs_top_srcdir=$ac_pwd ;;
5715   [\\/]* | ?:[\\/]* )  # Absolute name.
5716     ac_srcdir=$srcdir$ac_dir_suffix;
5717     ac_top_srcdir=$srcdir
5718     ac_abs_top_srcdir=$srcdir ;;
5719   *) # Relative name.
5720     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5721     ac_top_srcdir=$ac_top_build_prefix$srcdir
5722     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5723 esac
5724 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5725
5726
5727   case $ac_mode in
5728   :F)
5729   #
5730   # CONFIG_FILE
5731   #
5732
5733   case $INSTALL in
5734   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5735   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5736   esac
5737   ac_MKDIR_P=$MKDIR_P
5738   case $MKDIR_P in
5739   [\\/$]* | ?:[\\/]* ) ;;
5740   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5741   esac
5742 _ACEOF
5743
5744 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5745 # If the template does not know about datarootdir, expand it.
5746 # FIXME: This hack should be removed a few years after 2.60.
5747 ac_datarootdir_hack=; ac_datarootdir_seen=
5748 ac_sed_dataroot='
5749 /datarootdir/ {
5750   p
5751   q
5752 }
5753 /@datadir@/p
5754 /@docdir@/p
5755 /@infodir@/p
5756 /@localedir@/p
5757 /@mandir@/p'
5758 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5759 *datarootdir*) ac_datarootdir_seen=yes;;
5760 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5761   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5762 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5763 _ACEOF
5764 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5765   ac_datarootdir_hack='
5766   s&@datadir@&$datadir&g
5767   s&@docdir@&$docdir&g
5768   s&@infodir@&$infodir&g
5769   s&@localedir@&$localedir&g
5770   s&@mandir@&$mandir&g
5771   s&\\\${datarootdir}&$datarootdir&g' ;;
5772 esac
5773 _ACEOF
5774
5775 # Neutralize VPATH when `$srcdir' = `.'.
5776 # Shell code in configure.ac might set extrasub.
5777 # FIXME: do we really want to maintain this feature?
5778 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5779 ac_sed_extra="$ac_vpsub
5780 $extrasub
5781 _ACEOF
5782 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5783 :t
5784 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5785 s|@configure_input@|$ac_sed_conf_input|;t t
5786 s&@top_builddir@&$ac_top_builddir_sub&;t t
5787 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5788 s&@srcdir@&$ac_srcdir&;t t
5789 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5790 s&@top_srcdir@&$ac_top_srcdir&;t t
5791 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5792 s&@builddir@&$ac_builddir&;t t
5793 s&@abs_builddir@&$ac_abs_builddir&;t t
5794 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5795 s&@INSTALL@&$ac_INSTALL&;t t
5796 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5797 $ac_datarootdir_hack
5798 "
5799 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5800   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5801
5802 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5803   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5804   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
5805       "$ac_tmp/out"`; test -z "$ac_out"; } &&
5806   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5807 which seems to be undefined.  Please make sure it is defined" >&5
5808 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5809 which seems to be undefined.  Please make sure it is defined" >&2;}
5810
5811   rm -f "$ac_tmp/stdin"
5812   case $ac_file in
5813   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5814   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5815   esac \
5816   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5817  ;;
5818   :H)
5819   #
5820   # CONFIG_HEADER
5821   #
5822   if test x"$ac_file" != x-; then
5823     {
5824       $as_echo "/* $configure_input  */" \
5825       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
5826     } >"$ac_tmp/config.h" \
5827       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5828     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
5829       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5830 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5831     else
5832       rm -f "$ac_file"
5833       mv "$ac_tmp/config.h" "$ac_file" \
5834         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5835     fi
5836   else
5837     $as_echo "/* $configure_input  */" \
5838       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
5839       || as_fn_error $? "could not create -" "$LINENO" 5
5840   fi
5841 # Compute "$ac_file"'s index in $config_headers.
5842 _am_arg="$ac_file"
5843 _am_stamp_count=1
5844 for _am_header in $config_headers :; do
5845   case $_am_header in
5846     $_am_arg | $_am_arg:* )
5847       break ;;
5848     * )
5849       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
5850   esac
5851 done
5852 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
5853 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5854          X"$_am_arg" : 'X\(//\)[^/]' \| \
5855          X"$_am_arg" : 'X\(//\)$' \| \
5856          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
5857 $as_echo X"$_am_arg" |
5858     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5859             s//\1/
5860             q
5861           }
5862           /^X\(\/\/\)[^/].*/{
5863             s//\1/
5864             q
5865           }
5866           /^X\(\/\/\)$/{
5867             s//\1/
5868             q
5869           }
5870           /^X\(\/\).*/{
5871             s//\1/
5872             q
5873           }
5874           s/.*/./; q'`/stamp-h$_am_stamp_count
5875  ;;
5876
5877   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5878 $as_echo "$as_me: executing $ac_file commands" >&6;}
5879  ;;
5880   esac
5881
5882
5883   case $ac_file$ac_mode in
5884     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5885   # Older Autoconf quotes --file arguments for eval, but not when files
5886   # are listed without --file.  Let's play safe and only enable the eval
5887   # if we detect the quoting.
5888   case $CONFIG_FILES in
5889   *\'*) eval set x "$CONFIG_FILES" ;;
5890   *)   set x $CONFIG_FILES ;;
5891   esac
5892   shift
5893   for mf
5894   do
5895     # Strip MF so we end up with the name of the file.
5896     mf=`echo "$mf" | sed -e 's/:.*$//'`
5897     # Check whether this is an Automake generated Makefile or not.
5898     # We used to match only the files named 'Makefile.in', but
5899     # some people rename them; so instead we look at the file content.
5900     # Grep'ing the first line is not enough: some people post-process
5901     # each Makefile.in and add a new line on top of each file to say so.
5902     # Grep'ing the whole file is not good either: AIX grep has a line
5903     # limit of 2048, but all sed's we know have understand at least 4000.
5904     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
5905       dirpart=`$as_dirname -- "$mf" ||
5906 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5907          X"$mf" : 'X\(//\)[^/]' \| \
5908          X"$mf" : 'X\(//\)$' \| \
5909          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5910 $as_echo X"$mf" |
5911     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5912             s//\1/
5913             q
5914           }
5915           /^X\(\/\/\)[^/].*/{
5916             s//\1/
5917             q
5918           }
5919           /^X\(\/\/\)$/{
5920             s//\1/
5921             q
5922           }
5923           /^X\(\/\).*/{
5924             s//\1/
5925             q
5926           }
5927           s/.*/./; q'`
5928     else
5929       continue
5930     fi
5931     # Extract the definition of DEPDIR, am__include, and am__quote
5932     # from the Makefile without running 'make'.
5933     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5934     test -z "$DEPDIR" && continue
5935     am__include=`sed -n 's/^am__include = //p' < "$mf"`
5936     test -z "$am__include" && continue
5937     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5938     # Find all dependency output files, they are included files with
5939     # $(DEPDIR) in their names.  We invoke sed twice because it is the
5940     # simplest approach to changing $(DEPDIR) to its actual value in the
5941     # expansion.
5942     for file in `sed -n "
5943       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5944          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
5945       # Make sure the directory exists.
5946       test -f "$dirpart/$file" && continue
5947       fdir=`$as_dirname -- "$file" ||
5948 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5949          X"$file" : 'X\(//\)[^/]' \| \
5950          X"$file" : 'X\(//\)$' \| \
5951          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5952 $as_echo X"$file" |
5953     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5954             s//\1/
5955             q
5956           }
5957           /^X\(\/\/\)[^/].*/{
5958             s//\1/
5959             q
5960           }
5961           /^X\(\/\/\)$/{
5962             s//\1/
5963             q
5964           }
5965           /^X\(\/\).*/{
5966             s//\1/
5967             q
5968           }
5969           s/.*/./; q'`
5970       as_dir=$dirpart/$fdir; as_fn_mkdir_p
5971       # echo "creating $dirpart/$file"
5972       echo '# dummy' > "$dirpart/$file"
5973     done
5974   done
5975 }
5976  ;;
5977
5978   esac
5979 done # for ac_tag
5980
5981
5982 as_fn_exit 0
5983 _ACEOF
5984 ac_clean_files=$ac_clean_files_save
5985
5986 test $ac_write_fail = 0 ||
5987   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5988
5989
5990 # configure is writing to config.log, and then calls config.status.
5991 # config.status does its own redirection, appending to config.log.
5992 # Unfortunately, on DOS this fails, as config.log is still kept open
5993 # by configure, so config.status won't be able to write to it; its
5994 # output is simply discarded.  So we exec the FD to /dev/null,
5995 # effectively closing config.log, so it can be properly (re)opened and
5996 # appended to by config.status.  When coming back to configure, we
5997 # need to make the FD available again.
5998 if test "$no_create" != yes; then
5999   ac_cs_success=:
6000   ac_config_status_args=
6001   test "$silent" = yes &&
6002     ac_config_status_args="$ac_config_status_args --quiet"
6003   exec 5>/dev/null
6004   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6005   exec 5>>config.log
6006   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6007   # would make configure fail if this is the last instruction.
6008   $ac_cs_success || as_fn_exit 1
6009 fi
6010 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6011   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6012 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6013 fi
6014