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