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