1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.61 for cvs2darcs 0.8.
4#
5# Report bugs to <stevenj@alum.mit.edu>.
6#
7# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it.
11## --------------------- ##
12## M4sh Initialization.  ##
13## --------------------- ##
14
15# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18  emulate sh
19  NULLCMD=:
20  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21  # is contrary to our usage.  Disable this feature.
22  alias -g '${1+"$@"}'='"$@"'
23  setopt NO_GLOB_SUBST
24else
25  case `(set -o) 2>/dev/null` in
26  *posix*) set -o posix ;;
27esac
28
29fi
30
31
32
33
34# PATH needs CR
35# Avoid depending upon Character Ranges.
36as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39as_cr_digits='0123456789'
40as_cr_alnum=$as_cr_Letters$as_cr_digits
41
42# The user is always right.
43if test "${PATH_SEPARATOR+set}" != set; then
44  echo "#! /bin/sh" >conf$$.sh
45  echo  "exit 0"   >>conf$$.sh
46  chmod +x conf$$.sh
47  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48    PATH_SEPARATOR=';'
49  else
50    PATH_SEPARATOR=:
51  fi
52  rm -f conf$$.sh
53fi
54
55# Support unset when possible.
56if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57  as_unset=unset
58else
59  as_unset=false
60fi
61
62
63# IFS
64# We need space, tab and new line, in precisely that order.  Quoting is
65# there to prevent editors from complaining about space-tab.
66# (If _AS_PATH_WALK were called with IFS unset, it would disable word
67# splitting by setting IFS to empty value.)
68as_nl='
69'
70IFS=" ""	$as_nl"
71
72# Find who we are.  Look in the path if we contain no directory separator.
73case $0 in
74  *[\\/]* ) as_myself=$0 ;;
75  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76for as_dir in $PATH
77do
78  IFS=$as_save_IFS
79  test -z "$as_dir" && as_dir=.
80  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81done
82IFS=$as_save_IFS
83
84     ;;
85esac
86# We did not find ourselves, most probably we were run as `sh COMMAND'
87# in which case we are not to be found in the path.
88if test "x$as_myself" = x; then
89  as_myself=$0
90fi
91if test ! -f "$as_myself"; then
92  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93  { (exit 1); exit 1; }
94fi
95
96# Work around bugs in pre-3.0 UWIN ksh.
97for as_var in ENV MAIL MAILPATH
98do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
99done
100PS1='$ '
101PS2='> '
102PS4='+ '
103
104# NLS nuisances.
105for as_var in \
106  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108  LC_TELEPHONE LC_TIME
109do
110  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111    eval $as_var=C; export $as_var
112  else
113    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
114  fi
115done
116
117# Required to use basename.
118if expr a : '\(a\)' >/dev/null 2>&1 &&
119   test "X`expr 00001 : '.*\(...\)'`" = X001; then
120  as_expr=expr
121else
122  as_expr=false
123fi
124
125if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126  as_basename=basename
127else
128  as_basename=false
129fi
130
131
132# Name of the executable.
133as_me=`$as_basename -- "$0" ||
134$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135	 X"$0" : 'X\(//\)$' \| \
136	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137echo X/"$0" |
138    sed '/^.*\/\([^/][^/]*\)\/*$/{
139	    s//\1/
140	    q
141	  }
142	  /^X\/\(\/\/\)$/{
143	    s//\1/
144	    q
145	  }
146	  /^X\/\(\/\).*/{
147	    s//\1/
148	    q
149	  }
150	  s/.*/./; q'`
151
152# CDPATH.
153$as_unset CDPATH
154
155
156if test "x$CONFIG_SHELL" = x; then
157  if (eval ":") 2>/dev/null; then
158  as_have_required=yes
159else
160  as_have_required=no
161fi
162
163  if test $as_have_required = yes && 	 (eval ":
164(as_func_return () {
165  (exit \$1)
166}
167as_func_success () {
168  as_func_return 0
169}
170as_func_failure () {
171  as_func_return 1
172}
173as_func_ret_success () {
174  return 0
175}
176as_func_ret_failure () {
177  return 1
178}
179
180exitcode=0
181if as_func_success; then
182  :
183else
184  exitcode=1
185  echo as_func_success failed.
186fi
187
188if as_func_failure; then
189  exitcode=1
190  echo as_func_failure succeeded.
191fi
192
193if as_func_ret_success; then
194  :
195else
196  exitcode=1
197  echo as_func_ret_success failed.
198fi
199
200if as_func_ret_failure; then
201  exitcode=1
202  echo as_func_ret_failure succeeded.
203fi
204
205if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
206  :
207else
208  exitcode=1
209  echo positional parameters were not saved.
210fi
211
212test \$exitcode = 0) || { (exit 1); exit 1; }
213
214(
215  as_lineno_1=\$LINENO
216  as_lineno_2=\$LINENO
217  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219") 2> /dev/null; then
220  :
221else
222  as_candidate_shells=
223    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225do
226  IFS=$as_save_IFS
227  test -z "$as_dir" && as_dir=.
228  case $as_dir in
229	 /*)
230	   for as_base in sh bash ksh sh5; do
231	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232	   done;;
233       esac
234done
235IFS=$as_save_IFS
236
237
238      for as_shell in $as_candidate_shells $SHELL; do
239	 # Try only shells that exist, to save several forks.
240	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241		{ ("$as_shell") 2> /dev/null <<\_ASEOF
242if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243  emulate sh
244  NULLCMD=:
245  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246  # is contrary to our usage.  Disable this feature.
247  alias -g '${1+"$@"}'='"$@"'
248  setopt NO_GLOB_SUBST
249else
250  case `(set -o) 2>/dev/null` in
251  *posix*) set -o posix ;;
252esac
253
254fi
255
256
257:
258_ASEOF
259}; then
260  CONFIG_SHELL=$as_shell
261	       as_have_required=yes
262	       if { "$as_shell" 2> /dev/null <<\_ASEOF
263if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264  emulate sh
265  NULLCMD=:
266  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267  # is contrary to our usage.  Disable this feature.
268  alias -g '${1+"$@"}'='"$@"'
269  setopt NO_GLOB_SUBST
270else
271  case `(set -o) 2>/dev/null` in
272  *posix*) set -o posix ;;
273esac
274
275fi
276
277
278:
279(as_func_return () {
280  (exit $1)
281}
282as_func_success () {
283  as_func_return 0
284}
285as_func_failure () {
286  as_func_return 1
287}
288as_func_ret_success () {
289  return 0
290}
291as_func_ret_failure () {
292  return 1
293}
294
295exitcode=0
296if as_func_success; then
297  :
298else
299  exitcode=1
300  echo as_func_success failed.
301fi
302
303if as_func_failure; then
304  exitcode=1
305  echo as_func_failure succeeded.
306fi
307
308if as_func_ret_success; then
309  :
310else
311  exitcode=1
312  echo as_func_ret_success failed.
313fi
314
315if as_func_ret_failure; then
316  exitcode=1
317  echo as_func_ret_failure succeeded.
318fi
319
320if ( set x; as_func_ret_success y && test x = "$1" ); then
321  :
322else
323  exitcode=1
324  echo positional parameters were not saved.
325fi
326
327test $exitcode = 0) || { (exit 1); exit 1; }
328
329(
330  as_lineno_1=$LINENO
331  as_lineno_2=$LINENO
332  test "x$as_lineno_1" != "x$as_lineno_2" &&
333  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
334
335_ASEOF
336}; then
337  break
338fi
339
340fi
341
342      done
343
344      if test "x$CONFIG_SHELL" != x; then
345  for as_var in BASH_ENV ENV
346        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347        done
348        export CONFIG_SHELL
349        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
350fi
351
352
353    if test $as_have_required = no; then
354  echo This script requires a shell more modern than all the
355      echo shells that I found on your system.  Please install a
356      echo modern shell, or manually run the script under such a
357      echo shell if you do have one.
358      { (exit 1); exit 1; }
359fi
360
361
362fi
363
364fi
365
366
367
368(eval "as_func_return () {
369  (exit \$1)
370}
371as_func_success () {
372  as_func_return 0
373}
374as_func_failure () {
375  as_func_return 1
376}
377as_func_ret_success () {
378  return 0
379}
380as_func_ret_failure () {
381  return 1
382}
383
384exitcode=0
385if as_func_success; then
386  :
387else
388  exitcode=1
389  echo as_func_success failed.
390fi
391
392if as_func_failure; then
393  exitcode=1
394  echo as_func_failure succeeded.
395fi
396
397if as_func_ret_success; then
398  :
399else
400  exitcode=1
401  echo as_func_ret_success failed.
402fi
403
404if as_func_ret_failure; then
405  exitcode=1
406  echo as_func_ret_failure succeeded.
407fi
408
409if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
410  :
411else
412  exitcode=1
413  echo positional parameters were not saved.
414fi
415
416test \$exitcode = 0") || {
417  echo No shell found that supports shell functions.
418  echo Please tell autoconf@gnu.org about your system,
419  echo including any error possibly output before this
420  echo message
421}
422
423
424
425  as_lineno_1=$LINENO
426  as_lineno_2=$LINENO
427  test "x$as_lineno_1" != "x$as_lineno_2" &&
428  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
429
430  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431  # uniformly replaced by the line number.  The first 'sed' inserts a
432  # line-number line after each line using $LINENO; the second 'sed'
433  # does the real work.  The second script uses 'N' to pair each
434  # line-number line with the line containing $LINENO, and appends
435  # trailing '-' during substitution so that $LINENO is not a special
436  # case at line end.
437  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438  # scripts with optimization help from Paolo Bonzini.  Blame Lee
439  # E. McMahon (1931-1989) for sed's syntax.  :-)
440  sed -n '
441    p
442    /[$]LINENO/=
443  ' <$as_myself |
444    sed '
445      s/[$]LINENO.*/&-/
446      t lineno
447      b
448      :lineno
449      N
450      :loop
451      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452      t loop
453      s/-\n.*//
454    ' >$as_me.lineno &&
455  chmod +x "$as_me.lineno" ||
456    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457   { (exit 1); exit 1; }; }
458
459  # Don't try to exec as it changes $[0], causing all sort of problems
460  # (the dirname of $[0] is not the place where we might find the
461  # original and so on.  Autoconf is especially sensitive to this).
462  . "./$as_me.lineno"
463  # Exit status is that of the last command.
464  exit
465}
466
467
468if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469  as_dirname=dirname
470else
471  as_dirname=false
472fi
473
474ECHO_C= ECHO_N= ECHO_T=
475case `echo -n x` in
476-n*)
477  case `echo 'x\c'` in
478  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
479  *)   ECHO_C='\c';;
480  esac;;
481*)
482  ECHO_N='-n';;
483esac
484
485if expr a : '\(a\)' >/dev/null 2>&1 &&
486   test "X`expr 00001 : '.*\(...\)'`" = X001; then
487  as_expr=expr
488else
489  as_expr=false
490fi
491
492rm -f conf$$ conf$$.exe conf$$.file
493if test -d conf$$.dir; then
494  rm -f conf$$.dir/conf$$.file
495else
496  rm -f conf$$.dir
497  mkdir conf$$.dir
498fi
499echo >conf$$.file
500if ln -s conf$$.file conf$$ 2>/dev/null; then
501  as_ln_s='ln -s'
502  # ... but there are two gotchas:
503  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505  # In both cases, we have to default to `cp -p'.
506  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
507    as_ln_s='cp -p'
508elif ln conf$$.file conf$$ 2>/dev/null; then
509  as_ln_s=ln
510else
511  as_ln_s='cp -p'
512fi
513rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514rmdir conf$$.dir 2>/dev/null
515
516if mkdir -p . 2>/dev/null; then
517  as_mkdir_p=:
518else
519  test -d ./-p && rmdir ./-p
520  as_mkdir_p=false
521fi
522
523if test -x / >/dev/null 2>&1; then
524  as_test_x='test -x'
525else
526  if ls -dL / >/dev/null 2>&1; then
527    as_ls_L_option=L
528  else
529    as_ls_L_option=
530  fi
531  as_test_x='
532    eval sh -c '\''
533      if test -d "$1"; then
534        test -d "$1/.";
535      else
536	case $1 in
537        -*)set "./$1";;
538	esac;
539	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540	???[sx]*):;;*)false;;esac;fi
541    '\'' sh
542  '
543fi
544as_executable_p=$as_test_x
545
546# Sed expression to map a string onto a valid CPP name.
547as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
548
549# Sed expression to map a string onto a valid variable name.
550as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
551
552
553
554exec 7<&0 </dev/null 6>&1
555
556# Name of the host.
557# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558# so uname gets run too.
559ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
560
561#
562# Initializations.
563#
564ac_default_prefix=/usr/local
565ac_clean_files=
566ac_config_libobj_dir=.
567LIBOBJS=
568cross_compiling=no
569subdirs=
570MFLAGS=
571MAKEFLAGS=
572SHELL=${CONFIG_SHELL-/bin/sh}
573
574# Identity of this package.
575PACKAGE_NAME='cvs2darcs'
576PACKAGE_TARNAME='cvs2darcs'
577PACKAGE_VERSION='0.8'
578PACKAGE_STRING='cvs2darcs 0.8'
579PACKAGE_BUGREPORT='stevenj@alum.mit.edu'
580
581ac_unique_file="cvs_convert.pl"
582ac_subst_vars='SHELL
583PATH_SEPARATOR
584PACKAGE_NAME
585PACKAGE_TARNAME
586PACKAGE_VERSION
587PACKAGE_STRING
588PACKAGE_BUGREPORT
589exec_prefix
590prefix
591program_transform_name
592bindir
593sbindir
594libexecdir
595datarootdir
596datadir
597sysconfdir
598sharedstatedir
599localstatedir
600includedir
601oldincludedir
602docdir
603infodir
604htmldir
605dvidir
606pdfdir
607psdir
608libdir
609localedir
610mandir
611DEFS
612ECHO_C
613ECHO_N
614ECHO_T
615LIBS
616build_alias
617host_alias
618target_alias
619INSTALL_PROGRAM
620INSTALL_SCRIPT
621INSTALL_DATA
622am__isrc
623CYGPATH_W
624PACKAGE
625VERSION
626ACLOCAL
627AUTOCONF
628AUTOMAKE
629AUTOHEADER
630MAKEINFO
631install_sh
632STRIP
633INSTALL_STRIP_PROGRAM
634mkdir_p
635AWK
636SET_MAKE
637am__leading_dot
638AMTAR
639am__tar
640am__untar
641PERL
642CVS
643DARCS
644CVSPS
645CVS2DARCS_DIR
646LIBOBJS
647LTLIBOBJS'
648ac_subst_files=''
649      ac_precious_vars='build_alias
650host_alias
651target_alias'
652
653
654# Initialize some variables set by options.
655ac_init_help=
656ac_init_version=false
657# The variables have the same names as the options, with
658# dashes changed to underlines.
659cache_file=/dev/null
660exec_prefix=NONE
661no_create=
662no_recursion=
663prefix=NONE
664program_prefix=NONE
665program_suffix=NONE
666program_transform_name=s,x,x,
667silent=
668site=
669srcdir=
670verbose=
671x_includes=NONE
672x_libraries=NONE
673
674# Installation directory options.
675# These are left unexpanded so users can "make install exec_prefix=/foo"
676# and all the variables that are supposed to be based on exec_prefix
677# by default will actually change.
678# Use braces instead of parens because sh, perl, etc. also accept them.
679# (The list follows the same order as the GNU Coding Standards.)
680bindir='${exec_prefix}/bin'
681sbindir='${exec_prefix}/sbin'
682libexecdir='${exec_prefix}/libexec'
683datarootdir='${prefix}/share'
684datadir='${datarootdir}'
685sysconfdir='${prefix}/etc'
686sharedstatedir='${prefix}/com'
687localstatedir='${prefix}/var'
688includedir='${prefix}/include'
689oldincludedir='/usr/include'
690docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
691infodir='${datarootdir}/info'
692htmldir='${docdir}'
693dvidir='${docdir}'
694pdfdir='${docdir}'
695psdir='${docdir}'
696libdir='${exec_prefix}/lib'
697localedir='${datarootdir}/locale'
698mandir='${datarootdir}/man'
699
700ac_prev=
701ac_dashdash=
702for ac_option
703do
704  # If the previous option needs an argument, assign it.
705  if test -n "$ac_prev"; then
706    eval $ac_prev=\$ac_option
707    ac_prev=
708    continue
709  fi
710
711  case $ac_option in
712  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
713  *)	ac_optarg=yes ;;
714  esac
715
716  # Accept the important Cygnus configure options, so we can diagnose typos.
717
718  case $ac_dashdash$ac_option in
719  --)
720    ac_dashdash=yes ;;
721
722  -bindir | --bindir | --bindi | --bind | --bin | --bi)
723    ac_prev=bindir ;;
724  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
725    bindir=$ac_optarg ;;
726
727  -build | --build | --buil | --bui | --bu)
728    ac_prev=build_alias ;;
729  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
730    build_alias=$ac_optarg ;;
731
732  -cache-file | --cache-file | --cache-fil | --cache-fi \
733  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
734    ac_prev=cache_file ;;
735  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
736  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
737    cache_file=$ac_optarg ;;
738
739  --config-cache | -C)
740    cache_file=config.cache ;;
741
742  -datadir | --datadir | --datadi | --datad)
743    ac_prev=datadir ;;
744  -datadir=* | --datadir=* | --datadi=* | --datad=*)
745    datadir=$ac_optarg ;;
746
747  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
748  | --dataroo | --dataro | --datar)
749    ac_prev=datarootdir ;;
750  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
751  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
752    datarootdir=$ac_optarg ;;
753
754  -disable-* | --disable-*)
755    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
756    # Reject names that are not valid shell variable names.
757    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
758      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
759   { (exit 1); exit 1; }; }
760    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
761    eval enable_$ac_feature=no ;;
762
763  -docdir | --docdir | --docdi | --doc | --do)
764    ac_prev=docdir ;;
765  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
766    docdir=$ac_optarg ;;
767
768  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
769    ac_prev=dvidir ;;
770  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
771    dvidir=$ac_optarg ;;
772
773  -enable-* | --enable-*)
774    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
775    # Reject names that are not valid shell variable names.
776    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
777      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
778   { (exit 1); exit 1; }; }
779    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
780    eval enable_$ac_feature=\$ac_optarg ;;
781
782  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
783  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
784  | --exec | --exe | --ex)
785    ac_prev=exec_prefix ;;
786  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
787  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
788  | --exec=* | --exe=* | --ex=*)
789    exec_prefix=$ac_optarg ;;
790
791  -gas | --gas | --ga | --g)
792    # Obsolete; use --with-gas.
793    with_gas=yes ;;
794
795  -help | --help | --hel | --he | -h)
796    ac_init_help=long ;;
797  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
798    ac_init_help=recursive ;;
799  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
800    ac_init_help=short ;;
801
802  -host | --host | --hos | --ho)
803    ac_prev=host_alias ;;
804  -host=* | --host=* | --hos=* | --ho=*)
805    host_alias=$ac_optarg ;;
806
807  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
808    ac_prev=htmldir ;;
809  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
810  | --ht=*)
811    htmldir=$ac_optarg ;;
812
813  -includedir | --includedir | --includedi | --included | --include \
814  | --includ | --inclu | --incl | --inc)
815    ac_prev=includedir ;;
816  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
817  | --includ=* | --inclu=* | --incl=* | --inc=*)
818    includedir=$ac_optarg ;;
819
820  -infodir | --infodir | --infodi | --infod | --info | --inf)
821    ac_prev=infodir ;;
822  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
823    infodir=$ac_optarg ;;
824
825  -libdir | --libdir | --libdi | --libd)
826    ac_prev=libdir ;;
827  -libdir=* | --libdir=* | --libdi=* | --libd=*)
828    libdir=$ac_optarg ;;
829
830  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
831  | --libexe | --libex | --libe)
832    ac_prev=libexecdir ;;
833  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
834  | --libexe=* | --libex=* | --libe=*)
835    libexecdir=$ac_optarg ;;
836
837  -localedir | --localedir | --localedi | --localed | --locale)
838    ac_prev=localedir ;;
839  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
840    localedir=$ac_optarg ;;
841
842  -localstatedir | --localstatedir | --localstatedi | --localstated \
843  | --localstate | --localstat | --localsta | --localst | --locals)
844    ac_prev=localstatedir ;;
845  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
846  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
847    localstatedir=$ac_optarg ;;
848
849  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
850    ac_prev=mandir ;;
851  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
852    mandir=$ac_optarg ;;
853
854  -nfp | --nfp | --nf)
855    # Obsolete; use --without-fp.
856    with_fp=no ;;
857
858  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
859  | --no-cr | --no-c | -n)
860    no_create=yes ;;
861
862  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
863  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
864    no_recursion=yes ;;
865
866  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
867  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
868  | --oldin | --oldi | --old | --ol | --o)
869    ac_prev=oldincludedir ;;
870  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
871  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
872  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
873    oldincludedir=$ac_optarg ;;
874
875  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
876    ac_prev=prefix ;;
877  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
878    prefix=$ac_optarg ;;
879
880  -program-prefix | --program-prefix | --program-prefi | --program-pref \
881  | --program-pre | --program-pr | --program-p)
882    ac_prev=program_prefix ;;
883  -program-prefix=* | --program-prefix=* | --program-prefi=* \
884  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
885    program_prefix=$ac_optarg ;;
886
887  -program-suffix | --program-suffix | --program-suffi | --program-suff \
888  | --program-suf | --program-su | --program-s)
889    ac_prev=program_suffix ;;
890  -program-suffix=* | --program-suffix=* | --program-suffi=* \
891  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
892    program_suffix=$ac_optarg ;;
893
894  -program-transform-name | --program-transform-name \
895  | --program-transform-nam | --program-transform-na \
896  | --program-transform-n | --program-transform- \
897  | --program-transform | --program-transfor \
898  | --program-transfo | --program-transf \
899  | --program-trans | --program-tran \
900  | --progr-tra | --program-tr | --program-t)
901    ac_prev=program_transform_name ;;
902  -program-transform-name=* | --program-transform-name=* \
903  | --program-transform-nam=* | --program-transform-na=* \
904  | --program-transform-n=* | --program-transform-=* \
905  | --program-transform=* | --program-transfor=* \
906  | --program-transfo=* | --program-transf=* \
907  | --program-trans=* | --program-tran=* \
908  | --progr-tra=* | --program-tr=* | --program-t=*)
909    program_transform_name=$ac_optarg ;;
910
911  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
912    ac_prev=pdfdir ;;
913  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
914    pdfdir=$ac_optarg ;;
915
916  -psdir | --psdir | --psdi | --psd | --ps)
917    ac_prev=psdir ;;
918  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
919    psdir=$ac_optarg ;;
920
921  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
922  | -silent | --silent | --silen | --sile | --sil)
923    silent=yes ;;
924
925  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
926    ac_prev=sbindir ;;
927  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
928  | --sbi=* | --sb=*)
929    sbindir=$ac_optarg ;;
930
931  -sharedstatedir | --sharedstatedir | --sharedstatedi \
932  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
933  | --sharedst | --shareds | --shared | --share | --shar \
934  | --sha | --sh)
935    ac_prev=sharedstatedir ;;
936  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
937  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
938  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
939  | --sha=* | --sh=*)
940    sharedstatedir=$ac_optarg ;;
941
942  -site | --site | --sit)
943    ac_prev=site ;;
944  -site=* | --site=* | --sit=*)
945    site=$ac_optarg ;;
946
947  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
948    ac_prev=srcdir ;;
949  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
950    srcdir=$ac_optarg ;;
951
952  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
953  | --syscon | --sysco | --sysc | --sys | --sy)
954    ac_prev=sysconfdir ;;
955  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
956  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
957    sysconfdir=$ac_optarg ;;
958
959  -target | --target | --targe | --targ | --tar | --ta | --t)
960    ac_prev=target_alias ;;
961  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
962    target_alias=$ac_optarg ;;
963
964  -v | -verbose | --verbose | --verbos | --verbo | --verb)
965    verbose=yes ;;
966
967  -version | --version | --versio | --versi | --vers | -V)
968    ac_init_version=: ;;
969
970  -with-* | --with-*)
971    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
972    # Reject names that are not valid shell variable names.
973    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
974      { echo "$as_me: error: invalid package name: $ac_package" >&2
975   { (exit 1); exit 1; }; }
976    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
977    eval with_$ac_package=\$ac_optarg ;;
978
979  -without-* | --without-*)
980    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
981    # Reject names that are not valid shell variable names.
982    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
983      { echo "$as_me: error: invalid package name: $ac_package" >&2
984   { (exit 1); exit 1; }; }
985    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
986    eval with_$ac_package=no ;;
987
988  --x)
989    # Obsolete; use --with-x.
990    with_x=yes ;;
991
992  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
993  | --x-incl | --x-inc | --x-in | --x-i)
994    ac_prev=x_includes ;;
995  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
996  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
997    x_includes=$ac_optarg ;;
998
999  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1000  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1001    ac_prev=x_libraries ;;
1002  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1003  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1004    x_libraries=$ac_optarg ;;
1005
1006  -*) { echo "$as_me: error: unrecognized option: $ac_option
1007Try \`$0 --help' for more information." >&2
1008   { (exit 1); exit 1; }; }
1009    ;;
1010
1011  *=*)
1012    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1013    # Reject names that are not valid shell variable names.
1014    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1015      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1016   { (exit 1); exit 1; }; }
1017    eval $ac_envvar=\$ac_optarg
1018    export $ac_envvar ;;
1019
1020  *)
1021    # FIXME: should be removed in autoconf 3.0.
1022    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1023    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1024      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1025    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1026    ;;
1027
1028  esac
1029done
1030
1031if test -n "$ac_prev"; then
1032  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1033  { echo "$as_me: error: missing argument to $ac_option" >&2
1034   { (exit 1); exit 1; }; }
1035fi
1036
1037# Be sure to have absolute directory names.
1038for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1039		datadir sysconfdir sharedstatedir localstatedir includedir \
1040		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1041		libdir localedir mandir
1042do
1043  eval ac_val=\$$ac_var
1044  case $ac_val in
1045    [\\/$]* | ?:[\\/]* )  continue;;
1046    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1047  esac
1048  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1049   { (exit 1); exit 1; }; }
1050done
1051
1052# There might be people who depend on the old broken behavior: `$host'
1053# used to hold the argument of --host etc.
1054# FIXME: To remove some day.
1055build=$build_alias
1056host=$host_alias
1057target=$target_alias
1058
1059# FIXME: To remove some day.
1060if test "x$host_alias" != x; then
1061  if test "x$build_alias" = x; then
1062    cross_compiling=maybe
1063    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1064    If a cross compiler is detected then cross compile mode will be used." >&2
1065  elif test "x$build_alias" != "x$host_alias"; then
1066    cross_compiling=yes
1067  fi
1068fi
1069
1070ac_tool_prefix=
1071test -n "$host_alias" && ac_tool_prefix=$host_alias-
1072
1073test "$silent" = yes && exec 6>/dev/null
1074
1075
1076ac_pwd=`pwd` && test -n "$ac_pwd" &&
1077ac_ls_di=`ls -di .` &&
1078ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1079  { echo "$as_me: error: Working directory cannot be determined" >&2
1080   { (exit 1); exit 1; }; }
1081test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1082  { echo "$as_me: error: pwd does not report name of working directory" >&2
1083   { (exit 1); exit 1; }; }
1084
1085
1086# Find the source files, if location was not specified.
1087if test -z "$srcdir"; then
1088  ac_srcdir_defaulted=yes
1089  # Try the directory containing this script, then the parent directory.
1090  ac_confdir=`$as_dirname -- "$0" ||
1091$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1092	 X"$0" : 'X\(//\)[^/]' \| \
1093	 X"$0" : 'X\(//\)$' \| \
1094	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1095echo X"$0" |
1096    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1097	    s//\1/
1098	    q
1099	  }
1100	  /^X\(\/\/\)[^/].*/{
1101	    s//\1/
1102	    q
1103	  }
1104	  /^X\(\/\/\)$/{
1105	    s//\1/
1106	    q
1107	  }
1108	  /^X\(\/\).*/{
1109	    s//\1/
1110	    q
1111	  }
1112	  s/.*/./; q'`
1113  srcdir=$ac_confdir
1114  if test ! -r "$srcdir/$ac_unique_file"; then
1115    srcdir=..
1116  fi
1117else
1118  ac_srcdir_defaulted=no
1119fi
1120if test ! -r "$srcdir/$ac_unique_file"; then
1121  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1122  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1123   { (exit 1); exit 1; }; }
1124fi
1125ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1126ac_abs_confdir=`(
1127	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1128   { (exit 1); exit 1; }; }
1129	pwd)`
1130# When building in place, set srcdir=.
1131if test "$ac_abs_confdir" = "$ac_pwd"; then
1132  srcdir=.
1133fi
1134# Remove unnecessary trailing slashes from srcdir.
1135# Double slashes in file names in object file debugging info
1136# mess up M-x gdb in Emacs.
1137case $srcdir in
1138*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1139esac
1140for ac_var in $ac_precious_vars; do
1141  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1142  eval ac_env_${ac_var}_value=\$${ac_var}
1143  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1144  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1145done
1146
1147#
1148# Report the --help message.
1149#
1150if test "$ac_init_help" = "long"; then
1151  # Omit some internal or obsolete options to make the list less imposing.
1152  # This message is too long to be a string in the A/UX 3.1 sh.
1153  cat <<_ACEOF
1154\`configure' configures cvs2darcs 0.8 to adapt to many kinds of systems.
1155
1156Usage: $0 [OPTION]... [VAR=VALUE]...
1157
1158To assign environment variables (e.g., CC, CFLAGS...), specify them as
1159VAR=VALUE.  See below for descriptions of some of the useful variables.
1160
1161Defaults for the options are specified in brackets.
1162
1163Configuration:
1164  -h, --help              display this help and exit
1165      --help=short        display options specific to this package
1166      --help=recursive    display the short help of all the included packages
1167  -V, --version           display version information and exit
1168  -q, --quiet, --silent   do not print \`checking...' messages
1169      --cache-file=FILE   cache test results in FILE [disabled]
1170  -C, --config-cache      alias for \`--cache-file=config.cache'
1171  -n, --no-create         do not create output files
1172      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1173
1174Installation directories:
1175  --prefix=PREFIX         install architecture-independent files in PREFIX
1176			  [$ac_default_prefix]
1177  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1178			  [PREFIX]
1179
1180By default, \`make install' will install all the files in
1181\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1182an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1183for instance \`--prefix=\$HOME'.
1184
1185For better control, use the options below.
1186
1187Fine tuning of the installation directories:
1188  --bindir=DIR           user executables [EPREFIX/bin]
1189  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1190  --libexecdir=DIR       program executables [EPREFIX/libexec]
1191  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1192  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1193  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1194  --libdir=DIR           object code libraries [EPREFIX/lib]
1195  --includedir=DIR       C header files [PREFIX/include]
1196  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1197  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1198  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1199  --infodir=DIR          info documentation [DATAROOTDIR/info]
1200  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1201  --mandir=DIR           man documentation [DATAROOTDIR/man]
1202  --docdir=DIR           documentation root [DATAROOTDIR/doc/cvs2darcs]
1203  --htmldir=DIR          html documentation [DOCDIR]
1204  --dvidir=DIR           dvi documentation [DOCDIR]
1205  --pdfdir=DIR           pdf documentation [DOCDIR]
1206  --psdir=DIR            ps documentation [DOCDIR]
1207_ACEOF
1208
1209  cat <<\_ACEOF
1210
1211Program names:
1212  --program-prefix=PREFIX            prepend PREFIX to installed program names
1213  --program-suffix=SUFFIX            append SUFFIX to installed program names
1214  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1215_ACEOF
1216fi
1217
1218if test -n "$ac_init_help"; then
1219  case $ac_init_help in
1220     short | recursive ) echo "Configuration of cvs2darcs 0.8:";;
1221   esac
1222  cat <<\_ACEOF
1223
1224Report bugs to <stevenj@alum.mit.edu>.
1225_ACEOF
1226ac_status=$?
1227fi
1228
1229if test "$ac_init_help" = "recursive"; then
1230  # If there are subdirs, report their specific --help.
1231  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1232    test -d "$ac_dir" || continue
1233    ac_builddir=.
1234
1235case "$ac_dir" in
1236.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1237*)
1238  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1239  # A ".." for each directory in $ac_dir_suffix.
1240  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1241  case $ac_top_builddir_sub in
1242  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1243  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1244  esac ;;
1245esac
1246ac_abs_top_builddir=$ac_pwd
1247ac_abs_builddir=$ac_pwd$ac_dir_suffix
1248# for backward compatibility:
1249ac_top_builddir=$ac_top_build_prefix
1250
1251case $srcdir in
1252  .)  # We are building in place.
1253    ac_srcdir=.
1254    ac_top_srcdir=$ac_top_builddir_sub
1255    ac_abs_top_srcdir=$ac_pwd ;;
1256  [\\/]* | ?:[\\/]* )  # Absolute name.
1257    ac_srcdir=$srcdir$ac_dir_suffix;
1258    ac_top_srcdir=$srcdir
1259    ac_abs_top_srcdir=$srcdir ;;
1260  *) # Relative name.
1261    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1262    ac_top_srcdir=$ac_top_build_prefix$srcdir
1263    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1264esac
1265ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1266
1267    cd "$ac_dir" || { ac_status=$?; continue; }
1268    # Check for guested configure.
1269    if test -f "$ac_srcdir/configure.gnu"; then
1270      echo &&
1271      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1272    elif test -f "$ac_srcdir/configure"; then
1273      echo &&
1274      $SHELL "$ac_srcdir/configure" --help=recursive
1275    else
1276      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1277    fi || ac_status=$?
1278    cd "$ac_pwd" || { ac_status=$?; break; }
1279  done
1280fi
1281
1282test -n "$ac_init_help" && exit $ac_status
1283if $ac_init_version; then
1284  cat <<\_ACEOF
1285cvs2darcs configure 0.8
1286generated by GNU Autoconf 2.61
1287
1288Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
12892002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1290This configure script is free software; the Free Software Foundation
1291gives unlimited permission to copy, distribute and modify it.
1292_ACEOF
1293  exit
1294fi
1295cat >config.log <<_ACEOF
1296This file contains any messages produced by compilers while
1297running configure, to aid debugging if configure makes a mistake.
1298
1299It was created by cvs2darcs $as_me 0.8, which was
1300generated by GNU Autoconf 2.61.  Invocation command line was
1301
1302  $ $0 $@
1303
1304_ACEOF
1305exec 5>>config.log
1306{
1307cat <<_ASUNAME
1308## --------- ##
1309## Platform. ##
1310## --------- ##
1311
1312hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1313uname -m = `(uname -m) 2>/dev/null || echo unknown`
1314uname -r = `(uname -r) 2>/dev/null || echo unknown`
1315uname -s = `(uname -s) 2>/dev/null || echo unknown`
1316uname -v = `(uname -v) 2>/dev/null || echo unknown`
1317
1318/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1319/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1320
1321/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1322/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1323/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1324/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1325/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1326/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1327/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1328
1329_ASUNAME
1330
1331as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1332for as_dir in $PATH
1333do
1334  IFS=$as_save_IFS
1335  test -z "$as_dir" && as_dir=.
1336  echo "PATH: $as_dir"
1337done
1338IFS=$as_save_IFS
1339
1340} >&5
1341
1342cat >&5 <<_ACEOF
1343
1344
1345## ----------- ##
1346## Core tests. ##
1347## ----------- ##
1348
1349_ACEOF
1350
1351
1352# Keep a trace of the command line.
1353# Strip out --no-create and --no-recursion so they do not pile up.
1354# Strip out --silent because we don't want to record it for future runs.
1355# Also quote any args containing shell meta-characters.
1356# Make two passes to allow for proper duplicate-argument suppression.
1357ac_configure_args=
1358ac_configure_args0=
1359ac_configure_args1=
1360ac_must_keep_next=false
1361for ac_pass in 1 2
1362do
1363  for ac_arg
1364  do
1365    case $ac_arg in
1366    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1367    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1368    | -silent | --silent | --silen | --sile | --sil)
1369      continue ;;
1370    *\'*)
1371      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1372    esac
1373    case $ac_pass in
1374    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1375    2)
1376      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1377      if test $ac_must_keep_next = true; then
1378	ac_must_keep_next=false # Got value, back to normal.
1379      else
1380	case $ac_arg in
1381	  *=* | --config-cache | -C | -disable-* | --disable-* \
1382	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1383	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1384	  | -with-* | --with-* | -without-* | --without-* | --x)
1385	    case "$ac_configure_args0 " in
1386	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1387	    esac
1388	    ;;
1389	  -* ) ac_must_keep_next=true ;;
1390	esac
1391      fi
1392      ac_configure_args="$ac_configure_args '$ac_arg'"
1393      ;;
1394    esac
1395  done
1396done
1397$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1398$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1399
1400# When interrupted or exit'd, cleanup temporary files, and complete
1401# config.log.  We remove comments because anyway the quotes in there
1402# would cause problems or look ugly.
1403# WARNING: Use '\'' to represent an apostrophe within the trap.
1404# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1405trap 'exit_status=$?
1406  # Save into config.log some information that might help in debugging.
1407  {
1408    echo
1409
1410    cat <<\_ASBOX
1411## ---------------- ##
1412## Cache variables. ##
1413## ---------------- ##
1414_ASBOX
1415    echo
1416    # The following way of writing the cache mishandles newlines in values,
1417(
1418  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1419    eval ac_val=\$$ac_var
1420    case $ac_val in #(
1421    *${as_nl}*)
1422      case $ac_var in #(
1423      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1424echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1425      esac
1426      case $ac_var in #(
1427      _ | IFS | as_nl) ;; #(
1428      *) $as_unset $ac_var ;;
1429      esac ;;
1430    esac
1431  done
1432  (set) 2>&1 |
1433    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1434    *${as_nl}ac_space=\ *)
1435      sed -n \
1436	"s/'\''/'\''\\\\'\'''\''/g;
1437	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1438      ;; #(
1439    *)
1440      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1441      ;;
1442    esac |
1443    sort
1444)
1445    echo
1446
1447    cat <<\_ASBOX
1448## ----------------- ##
1449## Output variables. ##
1450## ----------------- ##
1451_ASBOX
1452    echo
1453    for ac_var in $ac_subst_vars
1454    do
1455      eval ac_val=\$$ac_var
1456      case $ac_val in
1457      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1458      esac
1459      echo "$ac_var='\''$ac_val'\''"
1460    done | sort
1461    echo
1462
1463    if test -n "$ac_subst_files"; then
1464      cat <<\_ASBOX
1465## ------------------- ##
1466## File substitutions. ##
1467## ------------------- ##
1468_ASBOX
1469      echo
1470      for ac_var in $ac_subst_files
1471      do
1472	eval ac_val=\$$ac_var
1473	case $ac_val in
1474	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1475	esac
1476	echo "$ac_var='\''$ac_val'\''"
1477      done | sort
1478      echo
1479    fi
1480
1481    if test -s confdefs.h; then
1482      cat <<\_ASBOX
1483## ----------- ##
1484## confdefs.h. ##
1485## ----------- ##
1486_ASBOX
1487      echo
1488      cat confdefs.h
1489      echo
1490    fi
1491    test "$ac_signal" != 0 &&
1492      echo "$as_me: caught signal $ac_signal"
1493    echo "$as_me: exit $exit_status"
1494  } >&5
1495  rm -f core *.core core.conftest.* &&
1496    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1497    exit $exit_status
1498' 0
1499for ac_signal in 1 2 13 15; do
1500  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1501done
1502ac_signal=0
1503
1504# confdefs.h avoids OS command line length limits that DEFS can exceed.
1505rm -f -r conftest* confdefs.h
1506
1507# Predefined preprocessor variables.
1508
1509cat >>confdefs.h <<_ACEOF
1510#define PACKAGE_NAME "$PACKAGE_NAME"
1511_ACEOF
1512
1513
1514cat >>confdefs.h <<_ACEOF
1515#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1516_ACEOF
1517
1518
1519cat >>confdefs.h <<_ACEOF
1520#define PACKAGE_VERSION "$PACKAGE_VERSION"
1521_ACEOF
1522
1523
1524cat >>confdefs.h <<_ACEOF
1525#define PACKAGE_STRING "$PACKAGE_STRING"
1526_ACEOF
1527
1528
1529cat >>confdefs.h <<_ACEOF
1530#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1531_ACEOF
1532
1533
1534# Let the site file select an alternate cache file if it wants to.
1535# Prefer explicitly selected file to automatically selected ones.
1536if test -n "$CONFIG_SITE"; then
1537  set x "$CONFIG_SITE"
1538elif test "x$prefix" != xNONE; then
1539  set x "$prefix/share/config.site" "$prefix/etc/config.site"
1540else
1541  set x "$ac_default_prefix/share/config.site" \
1542	"$ac_default_prefix/etc/config.site"
1543fi
1544shift
1545for ac_site_file
1546do
1547  if test -r "$ac_site_file"; then
1548    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1549echo "$as_me: loading site script $ac_site_file" >&6;}
1550    sed 's/^/| /' "$ac_site_file" >&5
1551    . "$ac_site_file"
1552  fi
1553done
1554
1555if test -r "$cache_file"; then
1556  # Some versions of bash will fail to source /dev/null (special
1557  # files actually), so we avoid doing that.
1558  if test -f "$cache_file"; then
1559    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1560echo "$as_me: loading cache $cache_file" >&6;}
1561    case $cache_file in
1562      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1563      *)                      . "./$cache_file";;
1564    esac
1565  fi
1566else
1567  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1568echo "$as_me: creating cache $cache_file" >&6;}
1569  >$cache_file
1570fi
1571
1572# Check that the precious variables saved in the cache have kept the same
1573# value.
1574ac_cache_corrupted=false
1575for ac_var in $ac_precious_vars; do
1576  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1577  eval ac_new_set=\$ac_env_${ac_var}_set
1578  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1579  eval ac_new_val=\$ac_env_${ac_var}_value
1580  case $ac_old_set,$ac_new_set in
1581    set,)
1582      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1583echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1584      ac_cache_corrupted=: ;;
1585    ,set)
1586      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1587echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1588      ac_cache_corrupted=: ;;
1589    ,);;
1590    *)
1591      if test "x$ac_old_val" != "x$ac_new_val"; then
1592	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1593echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1594	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1595echo "$as_me:   former value:  $ac_old_val" >&2;}
1596	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1597echo "$as_me:   current value: $ac_new_val" >&2;}
1598	ac_cache_corrupted=:
1599      fi;;
1600  esac
1601  # Pass precious variables to config.status.
1602  if test "$ac_new_set" = set; then
1603    case $ac_new_val in
1604    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1605    *) ac_arg=$ac_var=$ac_new_val ;;
1606    esac
1607    case " $ac_configure_args " in
1608      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1609      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1610    esac
1611  fi
1612done
1613if $ac_cache_corrupted; then
1614  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1615echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1616  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1617echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1618   { (exit 1); exit 1; }; }
1619fi
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645ac_ext=c
1646ac_cpp='$CPP $CPPFLAGS'
1647ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1648ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1649ac_compiler_gnu=$ac_cv_c_compiler_gnu
1650
1651
1652
1653
1654am__api_version='1.10'
1655
1656ac_aux_dir=
1657for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1658  if test -f "$ac_dir/install-sh"; then
1659    ac_aux_dir=$ac_dir
1660    ac_install_sh="$ac_aux_dir/install-sh -c"
1661    break
1662  elif test -f "$ac_dir/install.sh"; then
1663    ac_aux_dir=$ac_dir
1664    ac_install_sh="$ac_aux_dir/install.sh -c"
1665    break
1666  elif test -f "$ac_dir/shtool"; then
1667    ac_aux_dir=$ac_dir
1668    ac_install_sh="$ac_aux_dir/shtool install -c"
1669    break
1670  fi
1671done
1672if test -z "$ac_aux_dir"; then
1673  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1674echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1675   { (exit 1); exit 1; }; }
1676fi
1677
1678# These three variables are undocumented and unsupported,
1679# and are intended to be withdrawn in a future Autoconf release.
1680# They can cause serious problems if a builder's source tree is in a directory
1681# whose full name contains unusual characters.
1682ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1683ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1684ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1685
1686
1687# Find a good install program.  We prefer a C program (faster),
1688# so one script is as good as another.  But avoid the broken or
1689# incompatible versions:
1690# SysV /etc/install, /usr/sbin/install
1691# SunOS /usr/etc/install
1692# IRIX /sbin/install
1693# AIX /bin/install
1694# AmigaOS /C/install, which installs bootblocks on floppy discs
1695# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1696# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1697# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1698# OS/2's system install, which has a completely different semantic
1699# ./install, which can be erroneously created by make from ./install.sh.
1700{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1701echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1702if test -z "$INSTALL"; then
1703if test "${ac_cv_path_install+set}" = set; then
1704  echo $ECHO_N "(cached) $ECHO_C" >&6
1705else
1706  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1707for as_dir in $PATH
1708do
1709  IFS=$as_save_IFS
1710  test -z "$as_dir" && as_dir=.
1711  # Account for people who put trailing slashes in PATH elements.
1712case $as_dir/ in
1713  ./ | .// | /cC/* | \
1714  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1715  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1716  /usr/ucb/* ) ;;
1717  *)
1718    # OSF1 and SCO ODT 3.0 have their own names for install.
1719    # Don't use installbsd from OSF since it installs stuff as root
1720    # by default.
1721    for ac_prog in ginstall scoinst install; do
1722      for ac_exec_ext in '' $ac_executable_extensions; do
1723	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1724	  if test $ac_prog = install &&
1725	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1726	    # AIX install.  It has an incompatible calling convention.
1727	    :
1728	  elif test $ac_prog = install &&
1729	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1730	    # program-specific install script used by HP pwplus--don't use.
1731	    :
1732	  else
1733	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1734	    break 3
1735	  fi
1736	fi
1737      done
1738    done
1739    ;;
1740esac
1741done
1742IFS=$as_save_IFS
1743
1744
1745fi
1746  if test "${ac_cv_path_install+set}" = set; then
1747    INSTALL=$ac_cv_path_install
1748  else
1749    # As a last resort, use the slow shell script.  Don't cache a
1750    # value for INSTALL within a source directory, because that will
1751    # break other packages using the cache if that directory is
1752    # removed, or if the value is a relative name.
1753    INSTALL=$ac_install_sh
1754  fi
1755fi
1756{ echo "$as_me:$LINENO: result: $INSTALL" >&5
1757echo "${ECHO_T}$INSTALL" >&6; }
1758
1759# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1760# It thinks the first close brace ends the variable substitution.
1761test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1762
1763test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1764
1765test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1766
1767{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1768echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1769# Just in case
1770sleep 1
1771echo timestamp > conftest.file
1772# Do `set' in a subshell so we don't clobber the current shell's
1773# arguments.  Must try -L first in case configure is actually a
1774# symlink; some systems play weird games with the mod time of symlinks
1775# (eg FreeBSD returns the mod time of the symlink's containing
1776# directory).
1777if (
1778   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1779   if test "$*" = "X"; then
1780      # -L didn't work.
1781      set X `ls -t $srcdir/configure conftest.file`
1782   fi
1783   rm -f conftest.file
1784   if test "$*" != "X $srcdir/configure conftest.file" \
1785      && test "$*" != "X conftest.file $srcdir/configure"; then
1786
1787      # If neither matched, then we have a broken ls.  This can happen
1788      # if, for instance, CONFIG_SHELL is bash and it inherits a
1789      # broken ls alias from the environment.  This has actually
1790      # happened.  Such a system could not be considered "sane".
1791      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1792alias in your environment" >&5
1793echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1794alias in your environment" >&2;}
1795   { (exit 1); exit 1; }; }
1796   fi
1797
1798   test "$2" = conftest.file
1799   )
1800then
1801   # Ok.
1802   :
1803else
1804   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1805Check your system clock" >&5
1806echo "$as_me: error: newly created file is older than distributed files!
1807Check your system clock" >&2;}
1808   { (exit 1); exit 1; }; }
1809fi
1810{ echo "$as_me:$LINENO: result: yes" >&5
1811echo "${ECHO_T}yes" >&6; }
1812test "$program_prefix" != NONE &&
1813  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1814# Use a double $ so make ignores it.
1815test "$program_suffix" != NONE &&
1816  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1817# Double any \ or $.  echo might interpret backslashes.
1818# By default was `s,x,x', remove it if useless.
1819cat <<\_ACEOF >conftest.sed
1820s/[\\$]/&&/g;s/;s,x,x,$//
1821_ACEOF
1822program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1823rm -f conftest.sed
1824
1825# expand $ac_aux_dir to an absolute path
1826am_aux_dir=`cd $ac_aux_dir && pwd`
1827
1828test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1829# Use eval to expand $SHELL
1830if eval "$MISSING --run true"; then
1831  am_missing_run="$MISSING --run "
1832else
1833  am_missing_run=
1834  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1835echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1836fi
1837
1838{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1839echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1840if test -z "$MKDIR_P"; then
1841  if test "${ac_cv_path_mkdir+set}" = set; then
1842  echo $ECHO_N "(cached) $ECHO_C" >&6
1843else
1844  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1845for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1846do
1847  IFS=$as_save_IFS
1848  test -z "$as_dir" && as_dir=.
1849  for ac_prog in mkdir gmkdir; do
1850	 for ac_exec_ext in '' $ac_executable_extensions; do
1851	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1852	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1853	     'mkdir (GNU coreutils) '* | \
1854	     'mkdir (coreutils) '* | \
1855	     'mkdir (fileutils) '4.1*)
1856	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1857	       break 3;;
1858	   esac
1859	 done
1860       done
1861done
1862IFS=$as_save_IFS
1863
1864fi
1865
1866  if test "${ac_cv_path_mkdir+set}" = set; then
1867    MKDIR_P="$ac_cv_path_mkdir -p"
1868  else
1869    # As a last resort, use the slow shell script.  Don't cache a
1870    # value for MKDIR_P within a source directory, because that will
1871    # break other packages using the cache if that directory is
1872    # removed, or if the value is a relative name.
1873    test -d ./--version && rmdir ./--version
1874    MKDIR_P="$ac_install_sh -d"
1875  fi
1876fi
1877{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1878echo "${ECHO_T}$MKDIR_P" >&6; }
1879
1880mkdir_p="$MKDIR_P"
1881case $mkdir_p in
1882  [\\/$]* | ?:[\\/]*) ;;
1883  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1884esac
1885
1886for ac_prog in gawk mawk nawk awk
1887do
1888  # Extract the first word of "$ac_prog", so it can be a program name with args.
1889set dummy $ac_prog; ac_word=$2
1890{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1891echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1892if test "${ac_cv_prog_AWK+set}" = set; then
1893  echo $ECHO_N "(cached) $ECHO_C" >&6
1894else
1895  if test -n "$AWK"; then
1896  ac_cv_prog_AWK="$AWK" # Let the user override the test.
1897else
1898as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1899for as_dir in $PATH
1900do
1901  IFS=$as_save_IFS
1902  test -z "$as_dir" && as_dir=.
1903  for ac_exec_ext in '' $ac_executable_extensions; do
1904  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1905    ac_cv_prog_AWK="$ac_prog"
1906    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1907    break 2
1908  fi
1909done
1910done
1911IFS=$as_save_IFS
1912
1913fi
1914fi
1915AWK=$ac_cv_prog_AWK
1916if test -n "$AWK"; then
1917  { echo "$as_me:$LINENO: result: $AWK" >&5
1918echo "${ECHO_T}$AWK" >&6; }
1919else
1920  { echo "$as_me:$LINENO: result: no" >&5
1921echo "${ECHO_T}no" >&6; }
1922fi
1923
1924
1925  test -n "$AWK" && break
1926done
1927
1928{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1929echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1930set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1931if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1932  echo $ECHO_N "(cached) $ECHO_C" >&6
1933else
1934  cat >conftest.make <<\_ACEOF
1935SHELL = /bin/sh
1936all:
1937	@echo '@@@%%%=$(MAKE)=@@@%%%'
1938_ACEOF
1939# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1940case `${MAKE-make} -f conftest.make 2>/dev/null` in
1941  *@@@%%%=?*=@@@%%%*)
1942    eval ac_cv_prog_make_${ac_make}_set=yes;;
1943  *)
1944    eval ac_cv_prog_make_${ac_make}_set=no;;
1945esac
1946rm -f conftest.make
1947fi
1948if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1949  { echo "$as_me:$LINENO: result: yes" >&5
1950echo "${ECHO_T}yes" >&6; }
1951  SET_MAKE=
1952else
1953  { echo "$as_me:$LINENO: result: no" >&5
1954echo "${ECHO_T}no" >&6; }
1955  SET_MAKE="MAKE=${MAKE-make}"
1956fi
1957
1958rm -rf .tst 2>/dev/null
1959mkdir .tst 2>/dev/null
1960if test -d .tst; then
1961  am__leading_dot=.
1962else
1963  am__leading_dot=_
1964fi
1965rmdir .tst 2>/dev/null
1966
1967if test "`cd $srcdir && pwd`" != "`pwd`"; then
1968  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
1969  # is not polluted with repeated "-I."
1970  am__isrc=' -I$(srcdir)'
1971  # test to see if srcdir already configured
1972  if test -f $srcdir/config.status; then
1973    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1974echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1975   { (exit 1); exit 1; }; }
1976  fi
1977fi
1978
1979# test whether we have cygpath
1980if test -z "$CYGPATH_W"; then
1981  if (cygpath --version) >/dev/null 2>/dev/null; then
1982    CYGPATH_W='cygpath -w'
1983  else
1984    CYGPATH_W=echo
1985  fi
1986fi
1987
1988
1989# Define the identity of the package.
1990 PACKAGE='cvs2darcs'
1991 VERSION='0.8'
1992
1993
1994cat >>confdefs.h <<_ACEOF
1995#define PACKAGE "$PACKAGE"
1996_ACEOF
1997
1998
1999cat >>confdefs.h <<_ACEOF
2000#define VERSION "$VERSION"
2001_ACEOF
2002
2003# Some tools Automake needs.
2004
2005ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2006
2007
2008AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2009
2010
2011AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2012
2013
2014AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2015
2016
2017MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2018
2019install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2020
2021# Installed binaries are usually stripped using `strip' when the user
2022# run `make install-strip'.  However `strip' might not be the right
2023# tool to use in cross-compilation environments, therefore Automake
2024# will honor the `STRIP' environment variable to overrule this program.
2025if test "$cross_compiling" != no; then
2026  if test -n "$ac_tool_prefix"; then
2027  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2028set dummy ${ac_tool_prefix}strip; ac_word=$2
2029{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2030echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2031if test "${ac_cv_prog_STRIP+set}" = set; then
2032  echo $ECHO_N "(cached) $ECHO_C" >&6
2033else
2034  if test -n "$STRIP"; then
2035  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2036else
2037as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2038for as_dir in $PATH
2039do
2040  IFS=$as_save_IFS
2041  test -z "$as_dir" && as_dir=.
2042  for ac_exec_ext in '' $ac_executable_extensions; do
2043  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2044    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2045    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2046    break 2
2047  fi
2048done
2049done
2050IFS=$as_save_IFS
2051
2052fi
2053fi
2054STRIP=$ac_cv_prog_STRIP
2055if test -n "$STRIP"; then
2056  { echo "$as_me:$LINENO: result: $STRIP" >&5
2057echo "${ECHO_T}$STRIP" >&6; }
2058else
2059  { echo "$as_me:$LINENO: result: no" >&5
2060echo "${ECHO_T}no" >&6; }
2061fi
2062
2063
2064fi
2065if test -z "$ac_cv_prog_STRIP"; then
2066  ac_ct_STRIP=$STRIP
2067  # Extract the first word of "strip", so it can be a program name with args.
2068set dummy strip; ac_word=$2
2069{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2070echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2071if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2072  echo $ECHO_N "(cached) $ECHO_C" >&6
2073else
2074  if test -n "$ac_ct_STRIP"; then
2075  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2076else
2077as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2078for as_dir in $PATH
2079do
2080  IFS=$as_save_IFS
2081  test -z "$as_dir" && as_dir=.
2082  for ac_exec_ext in '' $ac_executable_extensions; do
2083  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2084    ac_cv_prog_ac_ct_STRIP="strip"
2085    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2086    break 2
2087  fi
2088done
2089done
2090IFS=$as_save_IFS
2091
2092fi
2093fi
2094ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2095if test -n "$ac_ct_STRIP"; then
2096  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2097echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2098else
2099  { echo "$as_me:$LINENO: result: no" >&5
2100echo "${ECHO_T}no" >&6; }
2101fi
2102
2103  if test "x$ac_ct_STRIP" = x; then
2104    STRIP=":"
2105  else
2106    case $cross_compiling:$ac_tool_warned in
2107yes:)
2108{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2109whose name does not start with the host triplet.  If you think this
2110configuration is useful to you, please write to autoconf@gnu.org." >&5
2111echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2112whose name does not start with the host triplet.  If you think this
2113configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2114ac_tool_warned=yes ;;
2115esac
2116    STRIP=$ac_ct_STRIP
2117  fi
2118else
2119  STRIP="$ac_cv_prog_STRIP"
2120fi
2121
2122fi
2123INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2124
2125# We need awk for the "check" target.  The system "awk" is bad on
2126# some platforms.
2127# Always define AMTAR for backward compatibility.
2128
2129AMTAR=${AMTAR-"${am_missing_run}tar"}
2130
2131am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2132
2133
2134
2135
2136
2137
2138# Find a good install program.  We prefer a C program (faster),
2139# so one script is as good as another.  But avoid the broken or
2140# incompatible versions:
2141# SysV /etc/install, /usr/sbin/install
2142# SunOS /usr/etc/install
2143# IRIX /sbin/install
2144# AIX /bin/install
2145# AmigaOS /C/install, which installs bootblocks on floppy discs
2146# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2147# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2148# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2149# OS/2's system install, which has a completely different semantic
2150# ./install, which can be erroneously created by make from ./install.sh.
2151{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2152echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2153if test -z "$INSTALL"; then
2154if test "${ac_cv_path_install+set}" = set; then
2155  echo $ECHO_N "(cached) $ECHO_C" >&6
2156else
2157  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2158for as_dir in $PATH
2159do
2160  IFS=$as_save_IFS
2161  test -z "$as_dir" && as_dir=.
2162  # Account for people who put trailing slashes in PATH elements.
2163case $as_dir/ in
2164  ./ | .// | /cC/* | \
2165  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2166  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2167  /usr/ucb/* ) ;;
2168  *)
2169    # OSF1 and SCO ODT 3.0 have their own names for install.
2170    # Don't use installbsd from OSF since it installs stuff as root
2171    # by default.
2172    for ac_prog in ginstall scoinst install; do
2173      for ac_exec_ext in '' $ac_executable_extensions; do
2174	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2175	  if test $ac_prog = install &&
2176	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2177	    # AIX install.  It has an incompatible calling convention.
2178	    :
2179	  elif test $ac_prog = install &&
2180	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2181	    # program-specific install script used by HP pwplus--don't use.
2182	    :
2183	  else
2184	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2185	    break 3
2186	  fi
2187	fi
2188      done
2189    done
2190    ;;
2191esac
2192done
2193IFS=$as_save_IFS
2194
2195
2196fi
2197  if test "${ac_cv_path_install+set}" = set; then
2198    INSTALL=$ac_cv_path_install
2199  else
2200    # As a last resort, use the slow shell script.  Don't cache a
2201    # value for INSTALL within a source directory, because that will
2202    # break other packages using the cache if that directory is
2203    # removed, or if the value is a relative name.
2204    INSTALL=$ac_install_sh
2205  fi
2206fi
2207{ echo "$as_me:$LINENO: result: $INSTALL" >&5
2208echo "${ECHO_T}$INSTALL" >&6; }
2209
2210# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2211# It thinks the first close brace ends the variable substitution.
2212test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2213
2214test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2215
2216test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2217
2218# Extract the first word of "perl", so it can be a program name with args.
2219set dummy perl; ac_word=$2
2220{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2221echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2222if test "${ac_cv_prog_PERL+set}" = set; then
2223  echo $ECHO_N "(cached) $ECHO_C" >&6
2224else
2225  if test -n "$PERL"; then
2226  ac_cv_prog_PERL="$PERL" # Let the user override the test.
2227else
2228as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2229for as_dir in $PATH
2230do
2231  IFS=$as_save_IFS
2232  test -z "$as_dir" && as_dir=.
2233  for ac_exec_ext in '' $ac_executable_extensions; do
2234  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2235    ac_cv_prog_PERL="perl"
2236    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2237    break 2
2238  fi
2239done
2240done
2241IFS=$as_save_IFS
2242
2243  test -z "$ac_cv_prog_PERL" && ac_cv_prog_PERL="missing-perl"
2244fi
2245fi
2246PERL=$ac_cv_prog_PERL
2247if test -n "$PERL"; then
2248  { echo "$as_me:$LINENO: result: $PERL" >&5
2249echo "${ECHO_T}$PERL" >&6; }
2250else
2251  { echo "$as_me:$LINENO: result: no" >&5
2252echo "${ECHO_T}no" >&6; }
2253fi
2254
2255
2256# Extract the first word of "cvs", so it can be a program name with args.
2257set dummy cvs; ac_word=$2
2258{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2259echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2260if test "${ac_cv_prog_CVS+set}" = set; then
2261  echo $ECHO_N "(cached) $ECHO_C" >&6
2262else
2263  if test -n "$CVS"; then
2264  ac_cv_prog_CVS="$CVS" # Let the user override the test.
2265else
2266as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2267for as_dir in $PATH
2268do
2269  IFS=$as_save_IFS
2270  test -z "$as_dir" && as_dir=.
2271  for ac_exec_ext in '' $ac_executable_extensions; do
2272  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2273    ac_cv_prog_CVS="cvs"
2274    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2275    break 2
2276  fi
2277done
2278done
2279IFS=$as_save_IFS
2280
2281  test -z "$ac_cv_prog_CVS" && ac_cv_prog_CVS="missing cvs"
2282fi
2283fi
2284CVS=$ac_cv_prog_CVS
2285if test -n "$CVS"; then
2286  { echo "$as_me:$LINENO: result: $CVS" >&5
2287echo "${ECHO_T}$CVS" >&6; }
2288else
2289  { echo "$as_me:$LINENO: result: no" >&5
2290echo "${ECHO_T}no" >&6; }
2291fi
2292
2293
2294# Extract the first word of "darcs", so it can be a program name with args.
2295set dummy darcs; ac_word=$2
2296{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2297echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2298if test "${ac_cv_prog_DARCS+set}" = set; then
2299  echo $ECHO_N "(cached) $ECHO_C" >&6
2300else
2301  if test -n "$DARCS"; then
2302  ac_cv_prog_DARCS="$DARCS" # Let the user override the test.
2303else
2304as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2305for as_dir in $PATH
2306do
2307  IFS=$as_save_IFS
2308  test -z "$as_dir" && as_dir=.
2309  for ac_exec_ext in '' $ac_executable_extensions; do
2310  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2311    ac_cv_prog_DARCS="darcs"
2312    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2313    break 2
2314  fi
2315done
2316done
2317IFS=$as_save_IFS
2318
2319  test -z "$ac_cv_prog_DARCS" && ac_cv_prog_DARCS="missing darcs"
2320fi
2321fi
2322DARCS=$ac_cv_prog_DARCS
2323if test -n "$DARCS"; then
2324  { echo "$as_me:$LINENO: result: $DARCS" >&5
2325echo "${ECHO_T}$DARCS" >&6; }
2326else
2327  { echo "$as_me:$LINENO: result: no" >&5
2328echo "${ECHO_T}no" >&6; }
2329fi
2330
2331
2332# Extract the first word of "cvsps", so it can be a program name with args.
2333set dummy cvsps; ac_word=$2
2334{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2335echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2336if test "${ac_cv_prog_CVSPS+set}" = set; then
2337  echo $ECHO_N "(cached) $ECHO_C" >&6
2338else
2339  if test -n "$CVSPS"; then
2340  ac_cv_prog_CVSPS="$CVSPS" # Let the user override the test.
2341else
2342as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2343for as_dir in $PATH
2344do
2345  IFS=$as_save_IFS
2346  test -z "$as_dir" && as_dir=.
2347  for ac_exec_ext in '' $ac_executable_extensions; do
2348  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2349    ac_cv_prog_CVSPS="cvsps"
2350    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2351    break 2
2352  fi
2353done
2354done
2355IFS=$as_save_IFS
2356
2357  test -z "$ac_cv_prog_CVSPS" && ac_cv_prog_CVSPS="missing cvsps"
2358fi
2359fi
2360CVSPS=$ac_cv_prog_CVSPS
2361if test -n "$CVSPS"; then
2362  { echo "$as_me:$LINENO: result: $CVSPS" >&5
2363echo "${ECHO_T}$CVSPS" >&6; }
2364else
2365  { echo "$as_me:$LINENO: result: no" >&5
2366echo "${ECHO_T}no" >&6; }
2367fi
2368
2369
2370
2371for prog in "$PERL" "$CVS" "$DARCS" "$CVSPS"; do
2372  case $prog in
2373    missing\ *)
2374      prog=`echo $prog | cut -d" " -f2`
2375      { { echo "$as_me:$LINENO: error: Could not find required program: $prog" >&5
2376echo "$as_me: error: Could not find required program: $prog" >&2;}
2377   { (exit 1); exit 1; }; }
2378      ;;
2379  esac
2380done
2381
2382for perlmod in HTTP::Date Getopt::Long Cwd; do
2383    ac_perl_modules="$perlmod"
2384# Make sure we have perl
2385if test -z "$PERL"; then
2386# Extract the first word of "perl", so it can be a program name with args.
2387set dummy perl; ac_word=$2
2388{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2389echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2390if test "${ac_cv_prog_PERL+set}" = set; then
2391  echo $ECHO_N "(cached) $ECHO_C" >&6
2392else
2393  if test -n "$PERL"; then
2394  ac_cv_prog_PERL="$PERL" # Let the user override the test.
2395else
2396as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2397for as_dir in $PATH
2398do
2399  IFS=$as_save_IFS
2400  test -z "$as_dir" && as_dir=.
2401  for ac_exec_ext in '' $ac_executable_extensions; do
2402  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2403    ac_cv_prog_PERL="perl"
2404    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2405    break 2
2406  fi
2407done
2408done
2409IFS=$as_save_IFS
2410
2411fi
2412fi
2413PERL=$ac_cv_prog_PERL
2414if test -n "$PERL"; then
2415  { echo "$as_me:$LINENO: result: $PERL" >&5
2416echo "${ECHO_T}$PERL" >&6; }
2417else
2418  { echo "$as_me:$LINENO: result: no" >&5
2419echo "${ECHO_T}no" >&6; }
2420fi
2421
2422
2423fi
2424
2425if test "x$PERL" != x; then
2426  ac_perl_modules_failed=0
2427  for ac_perl_module in $ac_perl_modules; do
2428    { echo "$as_me:$LINENO: checking for perl module $ac_perl_module" >&5
2429echo $ECHO_N "checking for perl module $ac_perl_module... $ECHO_C" >&6; }
2430
2431    # Would be nice to log result here, but can't rely on autoconf internals
2432    $PERL "-M$ac_perl_module" -e exit > /dev/null 2>&1
2433    if test $? -ne 0; then
2434      { echo "$as_me:$LINENO: result: no" >&5
2435echo "${ECHO_T}no" >&6; };
2436      ac_perl_modules_failed=1
2437   else
2438      { echo "$as_me:$LINENO: result: ok" >&5
2439echo "${ECHO_T}ok" >&6; };
2440    fi
2441  done
2442
2443  # Run optional shell commands
2444  if test "$ac_perl_modules_failed" = 0; then
2445    :
2446
2447  else
2448    :
2449    { { echo "$as_me:$LINENO: error: Could not find required Perl module $perlmod" >&5
2450echo "$as_me: error: Could not find required Perl module $perlmod" >&2;}
2451   { (exit 1); exit 1; }; }
2452  fi
2453else
2454  { echo "$as_me:$LINENO: WARNING: could not find perl" >&5
2455echo "$as_me: WARNING: could not find perl" >&2;}
2456fi
2457done
2458
2459test "x$prefix" = xNONE && prefix="$ac_default_prefix"
2460ac_define_dir=`eval echo $datadir`
2461ac_define_dir=`eval echo $ac_define_dir`
2462CVS2DARCS_DIR="$ac_define_dir/cvs2darcs"
2463
2464
2465ac_config_files="$ac_config_files cvs2darcs Makefile"
2466
2467cat >confcache <<\_ACEOF
2468# This file is a shell script that caches the results of configure
2469# tests run on this system so they can be shared between configure
2470# scripts and configure runs, see configure's option --config-cache.
2471# It is not useful on other systems.  If it contains results you don't
2472# want to keep, you may remove or edit it.
2473#
2474# config.status only pays attention to the cache file if you give it
2475# the --recheck option to rerun configure.
2476#
2477# `ac_cv_env_foo' variables (set or unset) will be overridden when
2478# loading this file, other *unset* `ac_cv_foo' will be assigned the
2479# following values.
2480
2481_ACEOF
2482
2483# The following way of writing the cache mishandles newlines in values,
2484# but we know of no workaround that is simple, portable, and efficient.
2485# So, we kill variables containing newlines.
2486# Ultrix sh set writes to stderr and can't be redirected directly,
2487# and sets the high bit in the cache file unless we assign to the vars.
2488(
2489  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2490    eval ac_val=\$$ac_var
2491    case $ac_val in #(
2492    *${as_nl}*)
2493      case $ac_var in #(
2494      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2495echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2496      esac
2497      case $ac_var in #(
2498      _ | IFS | as_nl) ;; #(
2499      *) $as_unset $ac_var ;;
2500      esac ;;
2501    esac
2502  done
2503
2504  (set) 2>&1 |
2505    case $as_nl`(ac_space=' '; set) 2>&1` in #(
2506    *${as_nl}ac_space=\ *)
2507      # `set' does not quote correctly, so add quotes (double-quote
2508      # substitution turns \\\\ into \\, and sed turns \\ into \).
2509      sed -n \
2510	"s/'/'\\\\''/g;
2511	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2512      ;; #(
2513    *)
2514      # `set' quotes correctly as required by POSIX, so do not add quotes.
2515      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2516      ;;
2517    esac |
2518    sort
2519) |
2520  sed '
2521     /^ac_cv_env_/b end
2522     t clear
2523     :clear
2524     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2525     t end
2526     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2527     :end' >>confcache
2528if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2529  if test -w "$cache_file"; then
2530    test "x$cache_file" != "x/dev/null" &&
2531      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
2532echo "$as_me: updating cache $cache_file" >&6;}
2533    cat confcache >$cache_file
2534  else
2535    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2536echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2537  fi
2538fi
2539rm -f confcache
2540
2541test "x$prefix" = xNONE && prefix=$ac_default_prefix
2542# Let make expand exec_prefix.
2543test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2544
2545# Transform confdefs.h into DEFS.
2546# Protect against shell expansion while executing Makefile rules.
2547# Protect against Makefile macro expansion.
2548#
2549# If the first sed substitution is executed (which looks for macros that
2550# take arguments), then branch to the quote section.  Otherwise,
2551# look for a macro that doesn't take arguments.
2552ac_script='
2553t clear
2554:clear
2555s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
2556t quote
2557s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
2558t quote
2559b any
2560:quote
2561s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2562s/\[/\\&/g
2563s/\]/\\&/g
2564s/\$/$$/g
2565H
2566:any
2567${
2568	g
2569	s/^\n//
2570	s/\n/ /g
2571	p
2572}
2573'
2574DEFS=`sed -n "$ac_script" confdefs.h`
2575
2576
2577ac_libobjs=
2578ac_ltlibobjs=
2579for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2580  # 1. Remove the extension, and $U if already installed.
2581  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2582  ac_i=`echo "$ac_i" | sed "$ac_script"`
2583  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
2584  #    will be set to the directory where LIBOBJS objects are built.
2585  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2586  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2587done
2588LIBOBJS=$ac_libobjs
2589
2590LTLIBOBJS=$ac_ltlibobjs
2591
2592
2593
2594: ${CONFIG_STATUS=./config.status}
2595ac_clean_files_save=$ac_clean_files
2596ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2597{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2598echo "$as_me: creating $CONFIG_STATUS" >&6;}
2599cat >$CONFIG_STATUS <<_ACEOF
2600#! $SHELL
2601# Generated by $as_me.
2602# Run this file to recreate the current configuration.
2603# Compiler output produced by configure, useful for debugging
2604# configure, is in config.log if it exists.
2605
2606debug=false
2607ac_cs_recheck=false
2608ac_cs_silent=false
2609SHELL=\${CONFIG_SHELL-$SHELL}
2610_ACEOF
2611
2612cat >>$CONFIG_STATUS <<\_ACEOF
2613## --------------------- ##
2614## M4sh Initialization.  ##
2615## --------------------- ##
2616
2617# Be more Bourne compatible
2618DUALCASE=1; export DUALCASE # for MKS sh
2619if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2620  emulate sh
2621  NULLCMD=:
2622  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2623  # is contrary to our usage.  Disable this feature.
2624  alias -g '${1+"$@"}'='"$@"'
2625  setopt NO_GLOB_SUBST
2626else
2627  case `(set -o) 2>/dev/null` in
2628  *posix*) set -o posix ;;
2629esac
2630
2631fi
2632
2633
2634
2635
2636# PATH needs CR
2637# Avoid depending upon Character Ranges.
2638as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2639as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2640as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2641as_cr_digits='0123456789'
2642as_cr_alnum=$as_cr_Letters$as_cr_digits
2643
2644# The user is always right.
2645if test "${PATH_SEPARATOR+set}" != set; then
2646  echo "#! /bin/sh" >conf$$.sh
2647  echo  "exit 0"   >>conf$$.sh
2648  chmod +x conf$$.sh
2649  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2650    PATH_SEPARATOR=';'
2651  else
2652    PATH_SEPARATOR=:
2653  fi
2654  rm -f conf$$.sh
2655fi
2656
2657# Support unset when possible.
2658if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2659  as_unset=unset
2660else
2661  as_unset=false
2662fi
2663
2664
2665# IFS
2666# We need space, tab and new line, in precisely that order.  Quoting is
2667# there to prevent editors from complaining about space-tab.
2668# (If _AS_PATH_WALK were called with IFS unset, it would disable word
2669# splitting by setting IFS to empty value.)
2670as_nl='
2671'
2672IFS=" ""	$as_nl"
2673
2674# Find who we are.  Look in the path if we contain no directory separator.
2675case $0 in
2676  *[\\/]* ) as_myself=$0 ;;
2677  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2678for as_dir in $PATH
2679do
2680  IFS=$as_save_IFS
2681  test -z "$as_dir" && as_dir=.
2682  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2683done
2684IFS=$as_save_IFS
2685
2686     ;;
2687esac
2688# We did not find ourselves, most probably we were run as `sh COMMAND'
2689# in which case we are not to be found in the path.
2690if test "x$as_myself" = x; then
2691  as_myself=$0
2692fi
2693if test ! -f "$as_myself"; then
2694  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2695  { (exit 1); exit 1; }
2696fi
2697
2698# Work around bugs in pre-3.0 UWIN ksh.
2699for as_var in ENV MAIL MAILPATH
2700do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2701done
2702PS1='$ '
2703PS2='> '
2704PS4='+ '
2705
2706# NLS nuisances.
2707for as_var in \
2708  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2709  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2710  LC_TELEPHONE LC_TIME
2711do
2712  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2713    eval $as_var=C; export $as_var
2714  else
2715    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2716  fi
2717done
2718
2719# Required to use basename.
2720if expr a : '\(a\)' >/dev/null 2>&1 &&
2721   test "X`expr 00001 : '.*\(...\)'`" = X001; then
2722  as_expr=expr
2723else
2724  as_expr=false
2725fi
2726
2727if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2728  as_basename=basename
2729else
2730  as_basename=false
2731fi
2732
2733
2734# Name of the executable.
2735as_me=`$as_basename -- "$0" ||
2736$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2737	 X"$0" : 'X\(//\)$' \| \
2738	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2739echo X/"$0" |
2740    sed '/^.*\/\([^/][^/]*\)\/*$/{
2741	    s//\1/
2742	    q
2743	  }
2744	  /^X\/\(\/\/\)$/{
2745	    s//\1/
2746	    q
2747	  }
2748	  /^X\/\(\/\).*/{
2749	    s//\1/
2750	    q
2751	  }
2752	  s/.*/./; q'`
2753
2754# CDPATH.
2755$as_unset CDPATH
2756
2757
2758
2759  as_lineno_1=$LINENO
2760  as_lineno_2=$LINENO
2761  test "x$as_lineno_1" != "x$as_lineno_2" &&
2762  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
2763
2764  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2765  # uniformly replaced by the line number.  The first 'sed' inserts a
2766  # line-number line after each line using $LINENO; the second 'sed'
2767  # does the real work.  The second script uses 'N' to pair each
2768  # line-number line with the line containing $LINENO, and appends
2769  # trailing '-' during substitution so that $LINENO is not a special
2770  # case at line end.
2771  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2772  # scripts with optimization help from Paolo Bonzini.  Blame Lee
2773  # E. McMahon (1931-1989) for sed's syntax.  :-)
2774  sed -n '
2775    p
2776    /[$]LINENO/=
2777  ' <$as_myself |
2778    sed '
2779      s/[$]LINENO.*/&-/
2780      t lineno
2781      b
2782      :lineno
2783      N
2784      :loop
2785      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
2786      t loop
2787      s/-\n.*//
2788    ' >$as_me.lineno &&
2789  chmod +x "$as_me.lineno" ||
2790    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
2791   { (exit 1); exit 1; }; }
2792
2793  # Don't try to exec as it changes $[0], causing all sort of problems
2794  # (the dirname of $[0] is not the place where we might find the
2795  # original and so on.  Autoconf is especially sensitive to this).
2796  . "./$as_me.lineno"
2797  # Exit status is that of the last command.
2798  exit
2799}
2800
2801
2802if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2803  as_dirname=dirname
2804else
2805  as_dirname=false
2806fi
2807
2808ECHO_C= ECHO_N= ECHO_T=
2809case `echo -n x` in
2810-n*)
2811  case `echo 'x\c'` in
2812  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
2813  *)   ECHO_C='\c';;
2814  esac;;
2815*)
2816  ECHO_N='-n';;
2817esac
2818
2819if expr a : '\(a\)' >/dev/null 2>&1 &&
2820   test "X`expr 00001 : '.*\(...\)'`" = X001; then
2821  as_expr=expr
2822else
2823  as_expr=false
2824fi
2825
2826rm -f conf$$ conf$$.exe conf$$.file
2827if test -d conf$$.dir; then
2828  rm -f conf$$.dir/conf$$.file
2829else
2830  rm -f conf$$.dir
2831  mkdir conf$$.dir
2832fi
2833echo >conf$$.file
2834if ln -s conf$$.file conf$$ 2>/dev/null; then
2835  as_ln_s='ln -s'
2836  # ... but there are two gotchas:
2837  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2838  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2839  # In both cases, we have to default to `cp -p'.
2840  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2841    as_ln_s='cp -p'
2842elif ln conf$$.file conf$$ 2>/dev/null; then
2843  as_ln_s=ln
2844else
2845  as_ln_s='cp -p'
2846fi
2847rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2848rmdir conf$$.dir 2>/dev/null
2849
2850if mkdir -p . 2>/dev/null; then
2851  as_mkdir_p=:
2852else
2853  test -d ./-p && rmdir ./-p
2854  as_mkdir_p=false
2855fi
2856
2857if test -x / >/dev/null 2>&1; then
2858  as_test_x='test -x'
2859else
2860  if ls -dL / >/dev/null 2>&1; then
2861    as_ls_L_option=L
2862  else
2863    as_ls_L_option=
2864  fi
2865  as_test_x='
2866    eval sh -c '\''
2867      if test -d "$1"; then
2868        test -d "$1/.";
2869      else
2870	case $1 in
2871        -*)set "./$1";;
2872	esac;
2873	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
2874	???[sx]*):;;*)false;;esac;fi
2875    '\'' sh
2876  '
2877fi
2878as_executable_p=$as_test_x
2879
2880# Sed expression to map a string onto a valid CPP name.
2881as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2882
2883# Sed expression to map a string onto a valid variable name.
2884as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2885
2886
2887exec 6>&1
2888
2889# Save the log message, to keep $[0] and so on meaningful, and to
2890# report actual input values of CONFIG_FILES etc. instead of their
2891# values after options handling.
2892ac_log="
2893This file was extended by cvs2darcs $as_me 0.8, which was
2894generated by GNU Autoconf 2.61.  Invocation command line was
2895
2896  CONFIG_FILES    = $CONFIG_FILES
2897  CONFIG_HEADERS  = $CONFIG_HEADERS
2898  CONFIG_LINKS    = $CONFIG_LINKS
2899  CONFIG_COMMANDS = $CONFIG_COMMANDS
2900  $ $0 $@
2901
2902on `(hostname || uname -n) 2>/dev/null | sed 1q`
2903"
2904
2905_ACEOF
2906
2907cat >>$CONFIG_STATUS <<_ACEOF
2908# Files that config.status was made for.
2909config_files="$ac_config_files"
2910
2911_ACEOF
2912
2913cat >>$CONFIG_STATUS <<\_ACEOF
2914ac_cs_usage="\
2915\`$as_me' instantiates files from templates according to the
2916current configuration.
2917
2918Usage: $0 [OPTIONS] [FILE]...
2919
2920  -h, --help       print this help, then exit
2921  -V, --version    print version number and configuration settings, then exit
2922  -q, --quiet      do not print progress messages
2923  -d, --debug      don't remove temporary files
2924      --recheck    update $as_me by reconfiguring in the same conditions
2925  --file=FILE[:TEMPLATE]
2926		   instantiate the configuration file FILE
2927
2928Configuration files:
2929$config_files
2930
2931Report bugs to <bug-autoconf@gnu.org>."
2932
2933_ACEOF
2934cat >>$CONFIG_STATUS <<_ACEOF
2935ac_cs_version="\\
2936cvs2darcs config.status 0.8
2937configured by $0, generated by GNU Autoconf 2.61,
2938  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
2939
2940Copyright (C) 2006 Free Software Foundation, Inc.
2941This config.status script is free software; the Free Software Foundation
2942gives unlimited permission to copy, distribute and modify it."
2943
2944ac_pwd='$ac_pwd'
2945srcdir='$srcdir'
2946INSTALL='$INSTALL'
2947MKDIR_P='$MKDIR_P'
2948_ACEOF
2949
2950cat >>$CONFIG_STATUS <<\_ACEOF
2951# If no file are specified by the user, then we need to provide default
2952# value.  By we need to know if files were specified by the user.
2953ac_need_defaults=:
2954while test $# != 0
2955do
2956  case $1 in
2957  --*=*)
2958    ac_option=`expr "X$1" : 'X\([^=]*\)='`
2959    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2960    ac_shift=:
2961    ;;
2962  *)
2963    ac_option=$1
2964    ac_optarg=$2
2965    ac_shift=shift
2966    ;;
2967  esac
2968
2969  case $ac_option in
2970  # Handling of the options.
2971  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2972    ac_cs_recheck=: ;;
2973  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2974    echo "$ac_cs_version"; exit ;;
2975  --debug | --debu | --deb | --de | --d | -d )
2976    debug=: ;;
2977  --file | --fil | --fi | --f )
2978    $ac_shift
2979    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2980    ac_need_defaults=false;;
2981  --he | --h |  --help | --hel | -h )
2982    echo "$ac_cs_usage"; exit ;;
2983  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2984  | -silent | --silent | --silen | --sile | --sil | --si | --s)
2985    ac_cs_silent=: ;;
2986
2987  # This is an error.
2988  -*) { echo "$as_me: error: unrecognized option: $1
2989Try \`$0 --help' for more information." >&2
2990   { (exit 1); exit 1; }; } ;;
2991
2992  *) ac_config_targets="$ac_config_targets $1"
2993     ac_need_defaults=false ;;
2994
2995  esac
2996  shift
2997done
2998
2999ac_configure_extra_args=
3000
3001if $ac_cs_silent; then
3002  exec 6>/dev/null
3003  ac_configure_extra_args="$ac_configure_extra_args --silent"
3004fi
3005
3006_ACEOF
3007cat >>$CONFIG_STATUS <<_ACEOF
3008if \$ac_cs_recheck; then
3009  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3010  CONFIG_SHELL=$SHELL
3011  export CONFIG_SHELL
3012  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3013fi
3014
3015_ACEOF
3016cat >>$CONFIG_STATUS <<\_ACEOF
3017exec 5>>config.log
3018{
3019  echo
3020  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3021## Running $as_me. ##
3022_ASBOX
3023  echo "$ac_log"
3024} >&5
3025
3026_ACEOF
3027cat >>$CONFIG_STATUS <<_ACEOF
3028_ACEOF
3029
3030cat >>$CONFIG_STATUS <<\_ACEOF
3031
3032# Handling of arguments.
3033for ac_config_target in $ac_config_targets
3034do
3035  case $ac_config_target in
3036    "cvs2darcs") CONFIG_FILES="$CONFIG_FILES cvs2darcs" ;;
3037    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3038
3039  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3040echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3041   { (exit 1); exit 1; }; };;
3042  esac
3043done
3044
3045
3046# If the user did not use the arguments to specify the items to instantiate,
3047# then the envvar interface is used.  Set only those that are not.
3048# We use the long form for the default assignment because of an extremely
3049# bizarre bug on SunOS 4.1.3.
3050if $ac_need_defaults; then
3051  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3052fi
3053
3054# Have a temporary directory for convenience.  Make it in the build tree
3055# simply because there is no reason against having it here, and in addition,
3056# creating and moving files from /tmp can sometimes cause problems.
3057# Hook for its removal unless debugging.
3058# Note that there is a small window in which the directory will not be cleaned:
3059# after its creation but before its name has been assigned to `$tmp'.
3060$debug ||
3061{
3062  tmp=
3063  trap 'exit_status=$?
3064  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3065' 0
3066  trap '{ (exit 1); exit 1; }' 1 2 13 15
3067}
3068# Create a (secure) tmp directory for tmp files.
3069
3070{
3071  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3072  test -n "$tmp" && test -d "$tmp"
3073}  ||
3074{
3075  tmp=./conf$$-$RANDOM
3076  (umask 077 && mkdir "$tmp")
3077} ||
3078{
3079   echo "$me: cannot create a temporary directory in ." >&2
3080   { (exit 1); exit 1; }
3081}
3082
3083#
3084# Set up the sed scripts for CONFIG_FILES section.
3085#
3086
3087# No need to generate the scripts if there are no CONFIG_FILES.
3088# This happens for instance when ./config.status config.h
3089if test -n "$CONFIG_FILES"; then
3090
3091_ACEOF
3092
3093
3094
3095ac_delim='%!_!# '
3096for ac_last_try in false false false false false :; do
3097  cat >conf$$subs.sed <<_ACEOF
3098SHELL!$SHELL$ac_delim
3099PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
3100PACKAGE_NAME!$PACKAGE_NAME$ac_delim
3101PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
3102PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
3103PACKAGE_STRING!$PACKAGE_STRING$ac_delim
3104PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
3105exec_prefix!$exec_prefix$ac_delim
3106prefix!$prefix$ac_delim
3107program_transform_name!$program_transform_name$ac_delim
3108bindir!$bindir$ac_delim
3109sbindir!$sbindir$ac_delim
3110libexecdir!$libexecdir$ac_delim
3111datarootdir!$datarootdir$ac_delim
3112datadir!$datadir$ac_delim
3113sysconfdir!$sysconfdir$ac_delim
3114sharedstatedir!$sharedstatedir$ac_delim
3115localstatedir!$localstatedir$ac_delim
3116includedir!$includedir$ac_delim
3117oldincludedir!$oldincludedir$ac_delim
3118docdir!$docdir$ac_delim
3119infodir!$infodir$ac_delim
3120htmldir!$htmldir$ac_delim
3121dvidir!$dvidir$ac_delim
3122pdfdir!$pdfdir$ac_delim
3123psdir!$psdir$ac_delim
3124libdir!$libdir$ac_delim
3125localedir!$localedir$ac_delim
3126mandir!$mandir$ac_delim
3127DEFS!$DEFS$ac_delim
3128ECHO_C!$ECHO_C$ac_delim
3129ECHO_N!$ECHO_N$ac_delim
3130ECHO_T!$ECHO_T$ac_delim
3131LIBS!$LIBS$ac_delim
3132build_alias!$build_alias$ac_delim
3133host_alias!$host_alias$ac_delim
3134target_alias!$target_alias$ac_delim
3135INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
3136INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
3137INSTALL_DATA!$INSTALL_DATA$ac_delim
3138am__isrc!$am__isrc$ac_delim
3139CYGPATH_W!$CYGPATH_W$ac_delim
3140PACKAGE!$PACKAGE$ac_delim
3141VERSION!$VERSION$ac_delim
3142ACLOCAL!$ACLOCAL$ac_delim
3143AUTOCONF!$AUTOCONF$ac_delim
3144AUTOMAKE!$AUTOMAKE$ac_delim
3145AUTOHEADER!$AUTOHEADER$ac_delim
3146MAKEINFO!$MAKEINFO$ac_delim
3147install_sh!$install_sh$ac_delim
3148STRIP!$STRIP$ac_delim
3149INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
3150mkdir_p!$mkdir_p$ac_delim
3151AWK!$AWK$ac_delim
3152SET_MAKE!$SET_MAKE$ac_delim
3153am__leading_dot!$am__leading_dot$ac_delim
3154AMTAR!$AMTAR$ac_delim
3155am__tar!$am__tar$ac_delim
3156am__untar!$am__untar$ac_delim
3157PERL!$PERL$ac_delim
3158CVS!$CVS$ac_delim
3159DARCS!$DARCS$ac_delim
3160CVSPS!$CVSPS$ac_delim
3161CVS2DARCS_DIR!$CVS2DARCS_DIR$ac_delim
3162LIBOBJS!$LIBOBJS$ac_delim
3163LTLIBOBJS!$LTLIBOBJS$ac_delim
3164_ACEOF
3165
3166  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 66; then
3167    break
3168  elif $ac_last_try; then
3169    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3170echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3171   { (exit 1); exit 1; }; }
3172  else
3173    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3174  fi
3175done
3176
3177ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
3178if test -n "$ac_eof"; then
3179  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
3180  ac_eof=`expr $ac_eof + 1`
3181fi
3182
3183cat >>$CONFIG_STATUS <<_ACEOF
3184cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
3185/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
3186_ACEOF
3187sed '
3188s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
3189s/^/s,@/; s/!/@,|#_!!_#|/
3190:n
3191t n
3192s/'"$ac_delim"'$/,g/; t
3193s/$/\\/; p
3194N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
3195' >>$CONFIG_STATUS <conf$$subs.sed
3196rm -f conf$$subs.sed
3197cat >>$CONFIG_STATUS <<_ACEOF
3198:end
3199s/|#_!!_#|//g
3200CEOF$ac_eof
3201_ACEOF
3202
3203
3204# VPATH may cause trouble with some makes, so we remove $(srcdir),
3205# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3206# trailing colons and then remove the whole line if VPATH becomes empty
3207# (actually we leave an empty line to preserve line numbers).
3208if test "x$srcdir" = x.; then
3209  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
3210s/:*\$(srcdir):*/:/
3211s/:*\${srcdir}:*/:/
3212s/:*@srcdir@:*/:/
3213s/^\([^=]*=[	 ]*\):*/\1/
3214s/:*$//
3215s/^[^=]*=[	 ]*$//
3216}'
3217fi
3218
3219cat >>$CONFIG_STATUS <<\_ACEOF
3220fi # test -n "$CONFIG_FILES"
3221
3222
3223for ac_tag in  :F $CONFIG_FILES
3224do
3225  case $ac_tag in
3226  :[FHLC]) ac_mode=$ac_tag; continue;;
3227  esac
3228  case $ac_mode$ac_tag in
3229  :[FHL]*:*);;
3230  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3231echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3232   { (exit 1); exit 1; }; };;
3233  :[FH]-) ac_tag=-:-;;
3234  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3235  esac
3236  ac_save_IFS=$IFS
3237  IFS=:
3238  set x $ac_tag
3239  IFS=$ac_save_IFS
3240  shift
3241  ac_file=$1
3242  shift
3243
3244  case $ac_mode in
3245  :L) ac_source=$1;;
3246  :[FH])
3247    ac_file_inputs=
3248    for ac_f
3249    do
3250      case $ac_f in
3251      -) ac_f="$tmp/stdin";;
3252      *) # Look for the file first in the build tree, then in the source tree
3253	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
3254	 # because $ac_f cannot contain `:'.
3255	 test -f "$ac_f" ||
3256	   case $ac_f in
3257	   [\\/$]*) false;;
3258	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3259	   esac ||
3260	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3261echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3262   { (exit 1); exit 1; }; };;
3263      esac
3264      ac_file_inputs="$ac_file_inputs $ac_f"
3265    done
3266
3267    # Let's still pretend it is `configure' which instantiates (i.e., don't
3268    # use $as_me), people would be surprised to read:
3269    #    /* config.h.  Generated by config.status.  */
3270    configure_input="Generated from "`IFS=:
3271	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
3272    if test x"$ac_file" != x-; then
3273      configure_input="$ac_file.  $configure_input"
3274      { echo "$as_me:$LINENO: creating $ac_file" >&5
3275echo "$as_me: creating $ac_file" >&6;}
3276    fi
3277
3278    case $ac_tag in
3279    *:-:* | *:-) cat >"$tmp/stdin";;
3280    esac
3281    ;;
3282  esac
3283
3284  ac_dir=`$as_dirname -- "$ac_file" ||
3285$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3286	 X"$ac_file" : 'X\(//\)[^/]' \| \
3287	 X"$ac_file" : 'X\(//\)$' \| \
3288	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3289echo X"$ac_file" |
3290    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3291	    s//\1/
3292	    q
3293	  }
3294	  /^X\(\/\/\)[^/].*/{
3295	    s//\1/
3296	    q
3297	  }
3298	  /^X\(\/\/\)$/{
3299	    s//\1/
3300	    q
3301	  }
3302	  /^X\(\/\).*/{
3303	    s//\1/
3304	    q
3305	  }
3306	  s/.*/./; q'`
3307  { as_dir="$ac_dir"
3308  case $as_dir in #(
3309  -*) as_dir=./$as_dir;;
3310  esac
3311  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3312    as_dirs=
3313    while :; do
3314      case $as_dir in #(
3315      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3316      *) as_qdir=$as_dir;;
3317      esac
3318      as_dirs="'$as_qdir' $as_dirs"
3319      as_dir=`$as_dirname -- "$as_dir" ||
3320$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3321	 X"$as_dir" : 'X\(//\)[^/]' \| \
3322	 X"$as_dir" : 'X\(//\)$' \| \
3323	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3324echo X"$as_dir" |
3325    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3326	    s//\1/
3327	    q
3328	  }
3329	  /^X\(\/\/\)[^/].*/{
3330	    s//\1/
3331	    q
3332	  }
3333	  /^X\(\/\/\)$/{
3334	    s//\1/
3335	    q
3336	  }
3337	  /^X\(\/\).*/{
3338	    s//\1/
3339	    q
3340	  }
3341	  s/.*/./; q'`
3342      test -d "$as_dir" && break
3343    done
3344    test -z "$as_dirs" || eval "mkdir $as_dirs"
3345  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3346echo "$as_me: error: cannot create directory $as_dir" >&2;}
3347   { (exit 1); exit 1; }; }; }
3348  ac_builddir=.
3349
3350case "$ac_dir" in
3351.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3352*)
3353  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3354  # A ".." for each directory in $ac_dir_suffix.
3355  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3356  case $ac_top_builddir_sub in
3357  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3358  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3359  esac ;;
3360esac
3361ac_abs_top_builddir=$ac_pwd
3362ac_abs_builddir=$ac_pwd$ac_dir_suffix
3363# for backward compatibility:
3364ac_top_builddir=$ac_top_build_prefix
3365
3366case $srcdir in
3367  .)  # We are building in place.
3368    ac_srcdir=.
3369    ac_top_srcdir=$ac_top_builddir_sub
3370    ac_abs_top_srcdir=$ac_pwd ;;
3371  [\\/]* | ?:[\\/]* )  # Absolute name.
3372    ac_srcdir=$srcdir$ac_dir_suffix;
3373    ac_top_srcdir=$srcdir
3374    ac_abs_top_srcdir=$srcdir ;;
3375  *) # Relative name.
3376    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3377    ac_top_srcdir=$ac_top_build_prefix$srcdir
3378    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3379esac
3380ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3381
3382
3383  case $ac_mode in
3384  :F)
3385  #
3386  # CONFIG_FILE
3387  #
3388
3389  case $INSTALL in
3390  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3391  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3392  esac
3393  ac_MKDIR_P=$MKDIR_P
3394  case $MKDIR_P in
3395  [\\/$]* | ?:[\\/]* ) ;;
3396  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3397  esac
3398_ACEOF
3399
3400cat >>$CONFIG_STATUS <<\_ACEOF
3401# If the template does not know about datarootdir, expand it.
3402# FIXME: This hack should be removed a few years after 2.60.
3403ac_datarootdir_hack=; ac_datarootdir_seen=
3404
3405case `sed -n '/datarootdir/ {
3406  p
3407  q
3408}
3409/@datadir@/p
3410/@docdir@/p
3411/@infodir@/p
3412/@localedir@/p
3413/@mandir@/p
3414' $ac_file_inputs` in
3415*datarootdir*) ac_datarootdir_seen=yes;;
3416*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3417  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3418echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3419_ACEOF
3420cat >>$CONFIG_STATUS <<_ACEOF
3421  ac_datarootdir_hack='
3422  s&@datadir@&$datadir&g
3423  s&@docdir@&$docdir&g
3424  s&@infodir@&$infodir&g
3425  s&@localedir@&$localedir&g
3426  s&@mandir@&$mandir&g
3427    s&\\\${datarootdir}&$datarootdir&g' ;;
3428esac
3429_ACEOF
3430
3431# Neutralize VPATH when `$srcdir' = `.'.
3432# Shell code in configure.ac might set extrasub.
3433# FIXME: do we really want to maintain this feature?
3434cat >>$CONFIG_STATUS <<_ACEOF
3435  sed "$ac_vpsub
3436$extrasub
3437_ACEOF
3438cat >>$CONFIG_STATUS <<\_ACEOF
3439:t
3440/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3441s&@configure_input@&$configure_input&;t t
3442s&@top_builddir@&$ac_top_builddir_sub&;t t
3443s&@srcdir@&$ac_srcdir&;t t
3444s&@abs_srcdir@&$ac_abs_srcdir&;t t
3445s&@top_srcdir@&$ac_top_srcdir&;t t
3446s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3447s&@builddir@&$ac_builddir&;t t
3448s&@abs_builddir@&$ac_abs_builddir&;t t
3449s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3450s&@INSTALL@&$ac_INSTALL&;t t
3451s&@MKDIR_P@&$ac_MKDIR_P&;t t
3452$ac_datarootdir_hack
3453" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
3454
3455test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3456  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3457  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3458  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3459which seems to be undefined.  Please make sure it is defined." >&5
3460echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3461which seems to be undefined.  Please make sure it is defined." >&2;}
3462
3463  rm -f "$tmp/stdin"
3464  case $ac_file in
3465  -) cat "$tmp/out"; rm -f "$tmp/out";;
3466  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3467  esac
3468 ;;
3469
3470
3471
3472  esac
3473
3474
3475  case $ac_file$ac_mode in
3476    "cvs2darcs":F) chmod +x cvs2darcs ;;
3477    "Makefile":F) chmod +x cvs2darcs ;;
3478
3479  esac
3480done # for ac_tag
3481
3482
3483{ (exit 0); exit 0; }
3484_ACEOF
3485chmod +x $CONFIG_STATUS
3486ac_clean_files=$ac_clean_files_save
3487
3488
3489# configure is writing to config.log, and then calls config.status.
3490# config.status does its own redirection, appending to config.log.
3491# Unfortunately, on DOS this fails, as config.log is still kept open
3492# by configure, so config.status won't be able to write to it; its
3493# output is simply discarded.  So we exec the FD to /dev/null,
3494# effectively closing config.log, so it can be properly (re)opened and
3495# appended to by config.status.  When coming back to configure, we
3496# need to make the FD available again.
3497if test "$no_create" != yes; then
3498  ac_cs_success=:
3499  ac_config_status_args=
3500  test "$silent" = yes &&
3501    ac_config_status_args="$ac_config_status_args --quiet"
3502  exec 5>/dev/null
3503  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3504  exec 5>>config.log
3505  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3506  # would make configure fail if this is the last instruction.
3507  $ac_cs_success || { (exit 1); exit 1; }
3508fi
3509
3510