source: trunk/configure @ 79

Last change on this file since 79 was 79, checked in by bas, 17 years ago

Added:

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