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