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