source: trunk/configure @ 81

Last change on this file since 81 was 81, checked in by bas, 15 years ago

configure, configure.in:

  • Added hexls


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