source: trunk/configure

Last change on this file was 171, checked in by bas, 13 years ago

configure. configure.in, Makefile.in:

  • added new files

src/pxeconfigd.in:

  • new daemon code, like client side

src/pxeconfigd.py:

  • use the common function defined in pxe_global.py
  • reformat the code
  • added daemon hook script

setup.py:

  • added some new modules


  • Property svn:executable set to *
File size: 75.9 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="src/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
626DEBUG
627pxeconfig_conf
628SYSTEM_PXECONFIG_CONF
629LIBOBJS
630LTLIBOBJS'
631ac_subst_files=''
632      ac_precious_vars='build_alias
633host_alias
634target_alias'
635
636
637# Initialize some variables set by options.
638ac_init_help=
639ac_init_version=false
640# The variables have the same names as the options, with
641# dashes changed to underlines.
642cache_file=/dev/null
643exec_prefix=NONE
644no_create=
645no_recursion=
646prefix=NONE
647program_prefix=NONE
648program_suffix=NONE
649program_transform_name=s,x,x,
650silent=
651site=
652srcdir=
653verbose=
654x_includes=NONE
655x_libraries=NONE
656
657# Installation directory options.
658# These are left unexpanded so users can "make install exec_prefix=/foo"
659# and all the variables that are supposed to be based on exec_prefix
660# by default will actually change.
661# Use braces instead of parens because sh, perl, etc. also accept them.
662# (The list follows the same order as the GNU Coding Standards.)
663bindir='${exec_prefix}/bin'
664sbindir='${exec_prefix}/sbin'
665libexecdir='${exec_prefix}/libexec'
666datarootdir='${prefix}/share'
667datadir='${datarootdir}'
668sysconfdir='${prefix}/etc'
669sharedstatedir='${prefix}/com'
670localstatedir='${prefix}/var'
671includedir='${prefix}/include'
672oldincludedir='/usr/include'
673docdir='${datarootdir}/doc/${PACKAGE}'
674infodir='${datarootdir}/info'
675htmldir='${docdir}'
676dvidir='${docdir}'
677pdfdir='${docdir}'
678psdir='${docdir}'
679libdir='${exec_prefix}/lib'
680localedir='${datarootdir}/locale'
681mandir='${datarootdir}/man'
682
683ac_prev=
684ac_dashdash=
685for ac_option
686do
687  # If the previous option needs an argument, assign it.
688  if test -n "$ac_prev"; then
689    eval $ac_prev=\$ac_option
690    ac_prev=
691    continue
692  fi
693
694  case $ac_option in
695  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
696  *)    ac_optarg=yes ;;
697  esac
698
699  # Accept the important Cygnus configure options, so we can diagnose typos.
700
701  case $ac_dashdash$ac_option in
702  --)
703    ac_dashdash=yes ;;
704
705  -bindir | --bindir | --bindi | --bind | --bin | --bi)
706    ac_prev=bindir ;;
707  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
708    bindir=$ac_optarg ;;
709
710  -build | --build | --buil | --bui | --bu)
711    ac_prev=build_alias ;;
712  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
713    build_alias=$ac_optarg ;;
714
715  -cache-file | --cache-file | --cache-fil | --cache-fi \
716  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
717    ac_prev=cache_file ;;
718  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
719  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
720    cache_file=$ac_optarg ;;
721
722  --config-cache | -C)
723    cache_file=config.cache ;;
724
725  -datadir | --datadir | --datadi | --datad)
726    ac_prev=datadir ;;
727  -datadir=* | --datadir=* | --datadi=* | --datad=*)
728    datadir=$ac_optarg ;;
729
730  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
731  | --dataroo | --dataro | --datar)
732    ac_prev=datarootdir ;;
733  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
734  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
735    datarootdir=$ac_optarg ;;
736
737  -disable-* | --disable-*)
738    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
739    # Reject names that are not valid shell variable names.
740    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
741      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
742   { (exit 1); exit 1; }; }
743    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
744    eval enable_$ac_feature=no ;;
745
746  -docdir | --docdir | --docdi | --doc | --do)
747    ac_prev=docdir ;;
748  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
749    docdir=$ac_optarg ;;
750
751  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
752    ac_prev=dvidir ;;
753  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
754    dvidir=$ac_optarg ;;
755
756  -enable-* | --enable-*)
757    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
758    # Reject names that are not valid shell variable names.
759    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
760      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
761   { (exit 1); exit 1; }; }
762    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
763    eval enable_$ac_feature=\$ac_optarg ;;
764
765  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
766  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
767  | --exec | --exe | --ex)
768    ac_prev=exec_prefix ;;
769  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
770  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
771  | --exec=* | --exe=* | --ex=*)
772    exec_prefix=$ac_optarg ;;
773
774  -gas | --gas | --ga | --g)
775    # Obsolete; use --with-gas.
776    with_gas=yes ;;
777
778  -help | --help | --hel | --he | -h)
779    ac_init_help=long ;;
780  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
781    ac_init_help=recursive ;;
782  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
783    ac_init_help=short ;;
784
785  -host | --host | --hos | --ho)
786    ac_prev=host_alias ;;
787  -host=* | --host=* | --hos=* | --ho=*)
788    host_alias=$ac_optarg ;;
789
790  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
791    ac_prev=htmldir ;;
792  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
793  | --ht=*)
794    htmldir=$ac_optarg ;;
795
796  -includedir | --includedir | --includedi | --included | --include \
797  | --includ | --inclu | --incl | --inc)
798    ac_prev=includedir ;;
799  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
800  | --includ=* | --inclu=* | --incl=* | --inc=*)
801    includedir=$ac_optarg ;;
802
803  -infodir | --infodir | --infodi | --infod | --info | --inf)
804    ac_prev=infodir ;;
805  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
806    infodir=$ac_optarg ;;
807
808  -libdir | --libdir | --libdi | --libd)
809    ac_prev=libdir ;;
810  -libdir=* | --libdir=* | --libdi=* | --libd=*)
811    libdir=$ac_optarg ;;
812
813  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
814  | --libexe | --libex | --libe)
815    ac_prev=libexecdir ;;
816  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
817  | --libexe=* | --libex=* | --libe=*)
818    libexecdir=$ac_optarg ;;
819
820  -localedir | --localedir | --localedi | --localed | --locale)
821    ac_prev=localedir ;;
822  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
823    localedir=$ac_optarg ;;
824
825  -localstatedir | --localstatedir | --localstatedi | --localstated \
826  | --localstate | --localstat | --localsta | --localst | --locals)
827    ac_prev=localstatedir ;;
828  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
829  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
830    localstatedir=$ac_optarg ;;
831
832  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
833    ac_prev=mandir ;;
834  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
835    mandir=$ac_optarg ;;
836
837  -nfp | --nfp | --nf)
838    # Obsolete; use --without-fp.
839    with_fp=no ;;
840
841  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
842  | --no-cr | --no-c | -n)
843    no_create=yes ;;
844
845  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
846  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
847    no_recursion=yes ;;
848
849  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
850  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
851  | --oldin | --oldi | --old | --ol | --o)
852    ac_prev=oldincludedir ;;
853  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
854  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
855  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
856    oldincludedir=$ac_optarg ;;
857
858  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
859    ac_prev=prefix ;;
860  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
861    prefix=$ac_optarg ;;
862
863  -program-prefix | --program-prefix | --program-prefi | --program-pref \
864  | --program-pre | --program-pr | --program-p)
865    ac_prev=program_prefix ;;
866  -program-prefix=* | --program-prefix=* | --program-prefi=* \
867  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
868    program_prefix=$ac_optarg ;;
869
870  -program-suffix | --program-suffix | --program-suffi | --program-suff \
871  | --program-suf | --program-su | --program-s)
872    ac_prev=program_suffix ;;
873  -program-suffix=* | --program-suffix=* | --program-suffi=* \
874  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
875    program_suffix=$ac_optarg ;;
876
877  -program-transform-name | --program-transform-name \
878  | --program-transform-nam | --program-transform-na \
879  | --program-transform-n | --program-transform- \
880  | --program-transform | --program-transfor \
881  | --program-transfo | --program-transf \
882  | --program-trans | --program-tran \
883  | --progr-tra | --program-tr | --program-t)
884    ac_prev=program_transform_name ;;
885  -program-transform-name=* | --program-transform-name=* \
886  | --program-transform-nam=* | --program-transform-na=* \
887  | --program-transform-n=* | --program-transform-=* \
888  | --program-transform=* | --program-transfor=* \
889  | --program-transfo=* | --program-transf=* \
890  | --program-trans=* | --program-tran=* \
891  | --progr-tra=* | --program-tr=* | --program-t=*)
892    program_transform_name=$ac_optarg ;;
893
894  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
895    ac_prev=pdfdir ;;
896  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
897    pdfdir=$ac_optarg ;;
898
899  -psdir | --psdir | --psdi | --psd | --ps)
900    ac_prev=psdir ;;
901  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
902    psdir=$ac_optarg ;;
903
904  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
905  | -silent | --silent | --silen | --sile | --sil)
906    silent=yes ;;
907
908  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
909    ac_prev=sbindir ;;
910  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
911  | --sbi=* | --sb=*)
912    sbindir=$ac_optarg ;;
913
914  -sharedstatedir | --sharedstatedir | --sharedstatedi \
915  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
916  | --sharedst | --shareds | --shared | --share | --shar \
917  | --sha | --sh)
918    ac_prev=sharedstatedir ;;
919  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
920  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
921  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
922  | --sha=* | --sh=*)
923    sharedstatedir=$ac_optarg ;;
924
925  -site | --site | --sit)
926    ac_prev=site ;;
927  -site=* | --site=* | --sit=*)
928    site=$ac_optarg ;;
929
930  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
931    ac_prev=srcdir ;;
932  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
933    srcdir=$ac_optarg ;;
934
935  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
936  | --syscon | --sysco | --sysc | --sys | --sy)
937    ac_prev=sysconfdir ;;
938  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
939  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
940    sysconfdir=$ac_optarg ;;
941
942  -target | --target | --targe | --targ | --tar | --ta | --t)
943    ac_prev=target_alias ;;
944  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
945    target_alias=$ac_optarg ;;
946
947  -v | -verbose | --verbose | --verbos | --verbo | --verb)
948    verbose=yes ;;
949
950  -version | --version | --versio | --versi | --vers | -V)
951    ac_init_version=: ;;
952
953  -with-* | --with-*)
954    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
955    # Reject names that are not valid shell variable names.
956    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
957      { echo "$as_me: error: invalid package name: $ac_package" >&2
958   { (exit 1); exit 1; }; }
959    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
960    eval with_$ac_package=\$ac_optarg ;;
961
962  -without-* | --without-*)
963    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
964    # Reject names that are not valid shell variable names.
965    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
966      { echo "$as_me: error: invalid package name: $ac_package" >&2
967   { (exit 1); exit 1; }; }
968    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
969    eval with_$ac_package=no ;;
970
971  --x)
972    # Obsolete; use --with-x.
973    with_x=yes ;;
974
975  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
976  | --x-incl | --x-inc | --x-in | --x-i)
977    ac_prev=x_includes ;;
978  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
979  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
980    x_includes=$ac_optarg ;;
981
982  -x-libraries | --x-libraries | --x-librarie | --x-librari \
983  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
984    ac_prev=x_libraries ;;
985  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
986  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
987    x_libraries=$ac_optarg ;;
988
989  -*) { echo "$as_me: error: unrecognized option: $ac_option
990Try \`$0 --help' for more information." >&2
991   { (exit 1); exit 1; }; }
992    ;;
993
994  *=*)
995    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
996    # Reject names that are not valid shell variable names.
997    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
998      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
999   { (exit 1); exit 1; }; }
1000    eval $ac_envvar=\$ac_optarg
1001    export $ac_envvar ;;
1002
1003  *)
1004    # FIXME: should be removed in autoconf 3.0.
1005    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1006    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1007      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1008    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1009    ;;
1010
1011  esac
1012done
1013
1014if test -n "$ac_prev"; then
1015  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1016  { echo "$as_me: error: missing argument to $ac_option" >&2
1017   { (exit 1); exit 1; }; }
1018fi
1019
1020# Be sure to have absolute directory names.
1021for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1022                datadir sysconfdir sharedstatedir localstatedir includedir \
1023                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1024                libdir localedir mandir
1025do
1026  eval ac_val=\$$ac_var
1027  case $ac_val in
1028    [\\/$]* | ?:[\\/]* )  continue;;
1029    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1030  esac
1031  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1032   { (exit 1); exit 1; }; }
1033done
1034
1035# There might be people who depend on the old broken behavior: `$host'
1036# used to hold the argument of --host etc.
1037# FIXME: To remove some day.
1038build=$build_alias
1039host=$host_alias
1040target=$target_alias
1041
1042# FIXME: To remove some day.
1043if test "x$host_alias" != x; then
1044  if test "x$build_alias" = x; then
1045    cross_compiling=maybe
1046    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1047    If a cross compiler is detected then cross compile mode will be used." >&2
1048  elif test "x$build_alias" != "x$host_alias"; then
1049    cross_compiling=yes
1050  fi
1051fi
1052
1053ac_tool_prefix=
1054test -n "$host_alias" && ac_tool_prefix=$host_alias-
1055
1056test "$silent" = yes && exec 6>/dev/null
1057
1058
1059ac_pwd=`pwd` && test -n "$ac_pwd" &&
1060ac_ls_di=`ls -di .` &&
1061ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1062  { echo "$as_me: error: Working directory cannot be determined" >&2
1063   { (exit 1); exit 1; }; }
1064test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1065  { echo "$as_me: error: pwd does not report name of working directory" >&2
1066   { (exit 1); exit 1; }; }
1067
1068
1069# Find the source files, if location was not specified.
1070if test -z "$srcdir"; then
1071  ac_srcdir_defaulted=yes
1072  # Try the directory containing this script, then the parent directory.
1073  ac_confdir=`$as_dirname -- "$0" ||
1074$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1075         X"$0" : 'X\(//\)[^/]' \| \
1076         X"$0" : 'X\(//\)$' \| \
1077         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1078echo X"$0" |
1079    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1080            s//\1/
1081            q
1082          }
1083          /^X\(\/\/\)[^/].*/{
1084            s//\1/
1085            q
1086          }
1087          /^X\(\/\/\)$/{
1088            s//\1/
1089            q
1090          }
1091          /^X\(\/\).*/{
1092            s//\1/
1093            q
1094          }
1095          s/.*/./; q'`
1096  srcdir=$ac_confdir
1097  if test ! -r "$srcdir/$ac_unique_file"; then
1098    srcdir=..
1099  fi
1100else
1101  ac_srcdir_defaulted=no
1102fi
1103if test ! -r "$srcdir/$ac_unique_file"; then
1104  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1105  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1106   { (exit 1); exit 1; }; }
1107fi
1108ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1109ac_abs_confdir=`(
1110        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1111   { (exit 1); exit 1; }; }
1112        pwd)`
1113# When building in place, set srcdir=.
1114if test "$ac_abs_confdir" = "$ac_pwd"; then
1115  srcdir=.
1116fi
1117# Remove unnecessary trailing slashes from srcdir.
1118# Double slashes in file names in object file debugging info
1119# mess up M-x gdb in Emacs.
1120case $srcdir in
1121*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1122esac
1123for ac_var in $ac_precious_vars; do
1124  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1125  eval ac_env_${ac_var}_value=\$${ac_var}
1126  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1127  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1128done
1129
1130#
1131# Report the --help message.
1132#
1133if test "$ac_init_help" = "long"; then
1134  # Omit some internal or obsolete options to make the list less imposing.
1135  # This message is too long to be a string in the A/UX 3.1 sh.
1136  cat <<_ACEOF
1137\`configure' configures this package to adapt to many kinds of systems.
1138
1139Usage: $0 [OPTION]... [VAR=VALUE]...
1140
1141To assign environment variables (e.g., CC, CFLAGS...), specify them as
1142VAR=VALUE.  See below for descriptions of some of the useful variables.
1143
1144Defaults for the options are specified in brackets.
1145
1146Configuration:
1147  -h, --help              display this help and exit
1148      --help=short        display options specific to this package
1149      --help=recursive    display the short help of all the included packages
1150  -V, --version           display version information and exit
1151  -q, --quiet, --silent   do not print \`checking...' messages
1152      --cache-file=FILE   cache test results in FILE [disabled]
1153  -C, --config-cache      alias for \`--cache-file=config.cache'
1154  -n, --no-create         do not create output files
1155      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1156
1157Installation directories:
1158  --prefix=PREFIX         install architecture-independent files in PREFIX
1159                          [$ac_default_prefix]
1160  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1161                          [PREFIX]
1162
1163By default, \`make install' will install all the files in
1164\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1165an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1166for instance \`--prefix=\$HOME'.
1167
1168For better control, use the options below.
1169
1170Fine tuning of the installation directories:
1171  --bindir=DIR           user executables [EPREFIX/bin]
1172  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1173  --libexecdir=DIR       program executables [EPREFIX/libexec]
1174  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1175  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1176  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1177  --libdir=DIR           object code libraries [EPREFIX/lib]
1178  --includedir=DIR       C header files [PREFIX/include]
1179  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1180  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1181  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1182  --infodir=DIR          info documentation [DATAROOTDIR/info]
1183  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1184  --mandir=DIR           man documentation [DATAROOTDIR/man]
1185  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
1186  --htmldir=DIR          html documentation [DOCDIR]
1187  --dvidir=DIR           dvi documentation [DOCDIR]
1188  --pdfdir=DIR           pdf documentation [DOCDIR]
1189  --psdir=DIR            ps documentation [DOCDIR]
1190_ACEOF
1191
1192  cat <<\_ACEOF
1193_ACEOF
1194fi
1195
1196if test -n "$ac_init_help"; then
1197
1198  cat <<\_ACEOF
1199
1200_ACEOF
1201ac_status=$?
1202fi
1203
1204if test "$ac_init_help" = "recursive"; then
1205  # If there are subdirs, report their specific --help.
1206  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1207    test -d "$ac_dir" || continue
1208    ac_builddir=.
1209
1210case "$ac_dir" in
1211.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1212*)
1213  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1214  # A ".." for each directory in $ac_dir_suffix.
1215  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1216  case $ac_top_builddir_sub in
1217  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1218  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1219  esac ;;
1220esac
1221ac_abs_top_builddir=$ac_pwd
1222ac_abs_builddir=$ac_pwd$ac_dir_suffix
1223# for backward compatibility:
1224ac_top_builddir=$ac_top_build_prefix
1225
1226case $srcdir in
1227  .)  # We are building in place.
1228    ac_srcdir=.
1229    ac_top_srcdir=$ac_top_builddir_sub
1230    ac_abs_top_srcdir=$ac_pwd ;;
1231  [\\/]* | ?:[\\/]* )  # Absolute name.
1232    ac_srcdir=$srcdir$ac_dir_suffix;
1233    ac_top_srcdir=$srcdir
1234    ac_abs_top_srcdir=$srcdir ;;
1235  *) # Relative name.
1236    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1237    ac_top_srcdir=$ac_top_build_prefix$srcdir
1238    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1239esac
1240ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1241
1242    cd "$ac_dir" || { ac_status=$?; continue; }
1243    # Check for guested configure.
1244    if test -f "$ac_srcdir/configure.gnu"; then
1245      echo &&
1246      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1247    elif test -f "$ac_srcdir/configure"; then
1248      echo &&
1249      $SHELL "$ac_srcdir/configure" --help=recursive
1250    else
1251      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1252    fi || ac_status=$?
1253    cd "$ac_pwd" || { ac_status=$?; break; }
1254  done
1255fi
1256
1257test -n "$ac_init_help" && exit $ac_status
1258if $ac_init_version; then
1259  cat <<\_ACEOF
1260configure
1261generated by GNU Autoconf 2.61
1262
1263Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
12642002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1265This configure script is free software; the Free Software Foundation
1266gives unlimited permission to copy, distribute and modify it.
1267_ACEOF
1268  exit
1269fi
1270cat >config.log <<_ACEOF
1271This file contains any messages produced by compilers while
1272running configure, to aid debugging if configure makes a mistake.
1273
1274It was created by $as_me, which was
1275generated by GNU Autoconf 2.61.  Invocation command line was
1276
1277  $ $0 $@
1278
1279_ACEOF
1280exec 5>>config.log
1281{
1282cat <<_ASUNAME
1283## --------- ##
1284## Platform. ##
1285## --------- ##
1286
1287hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1288uname -m = `(uname -m) 2>/dev/null || echo unknown`
1289uname -r = `(uname -r) 2>/dev/null || echo unknown`
1290uname -s = `(uname -s) 2>/dev/null || echo unknown`
1291uname -v = `(uname -v) 2>/dev/null || echo unknown`
1292
1293/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1294/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1295
1296/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1297/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1298/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1299/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1300/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1301/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1302/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1303
1304_ASUNAME
1305
1306as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1307for as_dir in $PATH
1308do
1309  IFS=$as_save_IFS
1310  test -z "$as_dir" && as_dir=.
1311  echo "PATH: $as_dir"
1312done
1313IFS=$as_save_IFS
1314
1315} >&5
1316
1317cat >&5 <<_ACEOF
1318
1319
1320## ----------- ##
1321## Core tests. ##
1322## ----------- ##
1323
1324_ACEOF
1325
1326
1327# Keep a trace of the command line.
1328# Strip out --no-create and --no-recursion so they do not pile up.
1329# Strip out --silent because we don't want to record it for future runs.
1330# Also quote any args containing shell meta-characters.
1331# Make two passes to allow for proper duplicate-argument suppression.
1332ac_configure_args=
1333ac_configure_args0=
1334ac_configure_args1=
1335ac_must_keep_next=false
1336for ac_pass in 1 2
1337do
1338  for ac_arg
1339  do
1340    case $ac_arg in
1341    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1342    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1343    | -silent | --silent | --silen | --sile | --sil)
1344      continue ;;
1345    *\'*)
1346      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1347    esac
1348    case $ac_pass in
1349    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1350    2)
1351      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1352      if test $ac_must_keep_next = true; then
1353        ac_must_keep_next=false # Got value, back to normal.
1354      else
1355        case $ac_arg in
1356          *=* | --config-cache | -C | -disable-* | --disable-* \
1357          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1358          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1359          | -with-* | --with-* | -without-* | --without-* | --x)
1360            case "$ac_configure_args0 " in
1361              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1362            esac
1363            ;;
1364          -* ) ac_must_keep_next=true ;;
1365        esac
1366      fi
1367      ac_configure_args="$ac_configure_args '$ac_arg'"
1368      ;;
1369    esac
1370  done
1371done
1372$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1373$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1374
1375# When interrupted or exit'd, cleanup temporary files, and complete
1376# config.log.  We remove comments because anyway the quotes in there
1377# would cause problems or look ugly.
1378# WARNING: Use '\'' to represent an apostrophe within the trap.
1379# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1380trap 'exit_status=$?
1381  # Save into config.log some information that might help in debugging.
1382  {
1383    echo
1384
1385    cat <<\_ASBOX
1386## ---------------- ##
1387## Cache variables. ##
1388## ---------------- ##
1389_ASBOX
1390    echo
1391    # The following way of writing the cache mishandles newlines in values,
1392(
1393  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1394    eval ac_val=\$$ac_var
1395    case $ac_val in #(
1396    *${as_nl}*)
1397      case $ac_var in #(
1398      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1399echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1400      esac
1401      case $ac_var in #(
1402      _ | IFS | as_nl) ;; #(
1403      *) $as_unset $ac_var ;;
1404      esac ;;
1405    esac
1406  done
1407  (set) 2>&1 |
1408    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1409    *${as_nl}ac_space=\ *)
1410      sed -n \
1411        "s/'\''/'\''\\\\'\'''\''/g;
1412          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1413      ;; #(
1414    *)
1415      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1416      ;;
1417    esac |
1418    sort
1419)
1420    echo
1421
1422    cat <<\_ASBOX
1423## ----------------- ##
1424## Output variables. ##
1425## ----------------- ##
1426_ASBOX
1427    echo
1428    for ac_var in $ac_subst_vars
1429    do
1430      eval ac_val=\$$ac_var
1431      case $ac_val in
1432      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1433      esac
1434      echo "$ac_var='\''$ac_val'\''"
1435    done | sort
1436    echo
1437
1438    if test -n "$ac_subst_files"; then
1439      cat <<\_ASBOX
1440## ------------------- ##
1441## File substitutions. ##
1442## ------------------- ##
1443_ASBOX
1444      echo
1445      for ac_var in $ac_subst_files
1446      do
1447        eval ac_val=\$$ac_var
1448        case $ac_val in
1449        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1450        esac
1451        echo "$ac_var='\''$ac_val'\''"
1452      done | sort
1453      echo
1454    fi
1455
1456    if test -s confdefs.h; then
1457      cat <<\_ASBOX
1458## ----------- ##
1459## confdefs.h. ##
1460## ----------- ##
1461_ASBOX
1462      echo
1463      cat confdefs.h
1464      echo
1465    fi
1466    test "$ac_signal" != 0 &&
1467      echo "$as_me: caught signal $ac_signal"
1468    echo "$as_me: exit $exit_status"
1469  } >&5
1470  rm -f core *.core core.conftest.* &&
1471    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1472    exit $exit_status
1473' 0
1474for ac_signal in 1 2 13 15; do
1475  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1476done
1477ac_signal=0
1478
1479# confdefs.h avoids OS command line length limits that DEFS can exceed.
1480rm -f -r conftest* confdefs.h
1481
1482# Predefined preprocessor variables.
1483
1484cat >>confdefs.h <<_ACEOF
1485#define PACKAGE_NAME "$PACKAGE_NAME"
1486_ACEOF
1487
1488
1489cat >>confdefs.h <<_ACEOF
1490#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1491_ACEOF
1492
1493
1494cat >>confdefs.h <<_ACEOF
1495#define PACKAGE_VERSION "$PACKAGE_VERSION"
1496_ACEOF
1497
1498
1499cat >>confdefs.h <<_ACEOF
1500#define PACKAGE_STRING "$PACKAGE_STRING"
1501_ACEOF
1502
1503
1504cat >>confdefs.h <<_ACEOF
1505#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1506_ACEOF
1507
1508
1509# Let the site file select an alternate cache file if it wants to.
1510# Prefer explicitly selected file to automatically selected ones.
1511if test -n "$CONFIG_SITE"; then
1512  set x "$CONFIG_SITE"
1513elif test "x$prefix" != xNONE; then
1514  set x "$prefix/share/config.site" "$prefix/etc/config.site"
1515else
1516  set x "$ac_default_prefix/share/config.site" \
1517        "$ac_default_prefix/etc/config.site"
1518fi
1519shift
1520for ac_site_file
1521do
1522  if test -r "$ac_site_file"; then
1523    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1524echo "$as_me: loading site script $ac_site_file" >&6;}
1525    sed 's/^/| /' "$ac_site_file" >&5
1526    . "$ac_site_file"
1527  fi
1528done
1529
1530if test -r "$cache_file"; then
1531  # Some versions of bash will fail to source /dev/null (special
1532  # files actually), so we avoid doing that.
1533  if test -f "$cache_file"; then
1534    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1535echo "$as_me: loading cache $cache_file" >&6;}
1536    case $cache_file in
1537      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1538      *)                      . "./$cache_file";;
1539    esac
1540  fi
1541else
1542  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1543echo "$as_me: creating cache $cache_file" >&6;}
1544  >$cache_file
1545fi
1546
1547# Check that the precious variables saved in the cache have kept the same
1548# value.
1549ac_cache_corrupted=false
1550for ac_var in $ac_precious_vars; do
1551  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1552  eval ac_new_set=\$ac_env_${ac_var}_set
1553  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1554  eval ac_new_val=\$ac_env_${ac_var}_value
1555  case $ac_old_set,$ac_new_set in
1556    set,)
1557      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1558echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1559      ac_cache_corrupted=: ;;
1560    ,set)
1561      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1562echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1563      ac_cache_corrupted=: ;;
1564    ,);;
1565    *)
1566      if test "x$ac_old_val" != "x$ac_new_val"; then
1567        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1568echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1569        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1570echo "$as_me:   former value:  $ac_old_val" >&2;}
1571        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1572echo "$as_me:   current value: $ac_new_val" >&2;}
1573        ac_cache_corrupted=:
1574      fi;;
1575  esac
1576  # Pass precious variables to config.status.
1577  if test "$ac_new_set" = set; then
1578    case $ac_new_val in
1579    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1580    *) ac_arg=$ac_var=$ac_new_val ;;
1581    esac
1582    case " $ac_configure_args " in
1583      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1584      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1585    esac
1586  fi
1587done
1588if $ac_cache_corrupted; then
1589  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1590echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1591  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1592echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1593   { (exit 1); exit 1; }; }
1594fi
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612ac_ext=c
1613ac_cpp='$CPP $CPPFLAGS'
1614ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1615ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1616ac_compiler_gnu=$ac_cv_c_compiler_gnu
1617
1618
1619
1620
1621
1622
1623
1624
1625#DEBUG=0
1626
1627
1628
1629
1630
1631        # Find any Python interpreter.
1632    if test -z "$PYTHON"; then
1633      for ac_prog in python python2 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5
1634do
1635  # Extract the first word of "$ac_prog", so it can be a program name with args.
1636set dummy $ac_prog; ac_word=$2
1637{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1638echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1639if test "${ac_cv_path_PYTHON+set}" = set; then
1640  echo $ECHO_N "(cached) $ECHO_C" >&6
1641else
1642  case $PYTHON in
1643  [\\/]* | ?:[\\/]*)
1644  ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
1645  ;;
1646  *)
1647  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1648for as_dir in $PATH
1649do
1650  IFS=$as_save_IFS
1651  test -z "$as_dir" && as_dir=.
1652  for ac_exec_ext in '' $ac_executable_extensions; do
1653  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1654    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
1655    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1656    break 2
1657  fi
1658done
1659done
1660IFS=$as_save_IFS
1661
1662  ;;
1663esac
1664fi
1665PYTHON=$ac_cv_path_PYTHON
1666if test -n "$PYTHON"; then
1667  { echo "$as_me:$LINENO: result: $PYTHON" >&5
1668echo "${ECHO_T}$PYTHON" >&6; }
1669else
1670  { echo "$as_me:$LINENO: result: no" >&5
1671echo "${ECHO_T}no" >&6; }
1672fi
1673
1674
1675  test -n "$PYTHON" && break
1676done
1677test -n "$PYTHON" || PYTHON=":"
1678
1679    fi
1680    am_display_PYTHON=python
1681
1682
1683  if test "$PYTHON" = :; then
1684      { { echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5
1685echo "$as_me: error: no suitable Python interpreter found" >&2;}
1686   { (exit 1); exit 1; }; }
1687  else
1688
1689
1690  { echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
1691echo $ECHO_N "checking for $am_display_PYTHON version... $ECHO_C" >&6; }
1692if test "${am_cv_python_version+set}" = set; then
1693  echo $ECHO_N "(cached) $ECHO_C" >&6
1694else
1695  am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"`
1696fi
1697{ echo "$as_me:$LINENO: result: $am_cv_python_version" >&5
1698echo "${ECHO_T}$am_cv_python_version" >&6; }
1699  PYTHON_VERSION=$am_cv_python_version
1700
1701
1702
1703  PYTHON_PREFIX='${prefix}'
1704
1705  PYTHON_EXEC_PREFIX='${exec_prefix}'
1706
1707
1708
1709  { echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5
1710echo $ECHO_N "checking for $am_display_PYTHON platform... $ECHO_C" >&6; }
1711if test "${am_cv_python_platform+set}" = set; then
1712  echo $ECHO_N "(cached) $ECHO_C" >&6
1713else
1714  am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"`
1715fi
1716{ echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5
1717echo "${ECHO_T}$am_cv_python_platform" >&6; }
1718  PYTHON_PLATFORM=$am_cv_python_platform
1719
1720
1721
1722
1723                { echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5
1724echo $ECHO_N "checking for $am_display_PYTHON script directory... $ECHO_C" >&6; }
1725if test "${am_cv_python_pythondir+set}" = set; then
1726  echo $ECHO_N "(cached) $ECHO_C" >&6
1727else
1728  am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
1729     echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
1730fi
1731{ echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
1732echo "${ECHO_T}$am_cv_python_pythondir" >&6; }
1733  pythondir=$am_cv_python_pythondir
1734
1735
1736
1737  pkgpythondir=\${pythondir}/$PACKAGE
1738
1739
1740            { echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5
1741echo $ECHO_N "checking for $am_display_PYTHON extension module directory... $ECHO_C" >&6; }
1742if test "${am_cv_python_pyexecdir+set}" = set; then
1743  echo $ECHO_N "(cached) $ECHO_C" >&6
1744else
1745  am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
1746     echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
1747fi
1748{ echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
1749echo "${ECHO_T}$am_cv_python_pyexecdir" >&6; }
1750  pyexecdir=$am_cv_python_pyexecdir
1751
1752
1753
1754  pkgpyexecdir=\${pyexecdir}/$PACKAGE
1755
1756
1757
1758  fi
1759
1760
1761#AC_PROG_GCC_TRADITIONAL
1762
1763if test "x$DEBUG" = "x";then
1764  DEBUG=0
1765fi
1766
1767
1768# Now a user can specify the TRAC user
1769#
1770#AC_ARG_WITH(trac_user,
1771#[
1772#  --with-trac_user=USER    Specify the name of the user that trac use,
1773#                          default=www-data],
1774#
1775#  [case "${withval}" in
1776#        *) trac_user="${withval}" ;;
1777#  esac],
1778#
1779#  [trac_user="www-data"]
1780##)dnl
1781
1782
1783if test "$sysconfdir" = '${prefix}/etc'; then
1784  if test "x$prefix" = xNONE; then
1785    pxeconfig_conf="$ac_default_prefix/etc/pxeconfig.conf"
1786  else
1787    pxeconfig_conf="$prefix/etc/pxeconfig.conf"
1788  fi
1789else
1790  pxeconfig_conf="$sysconfdir/pxeconfig.conf"
1791fi
1792
1793cat >>confdefs.h <<_ACEOF
1794#define SYSTEM_PXECONFIG_CONF "$pxeconfig_conf"
1795_ACEOF
1796
1797
1798
1799
1800
1801
1802ac_config_files="$ac_config_files Makefile src/pxeconfig src/pxe_global.py src/pxeconfigd src/hexls examples/pxeconfigd.xinetd"
1803
1804cat >confcache <<\_ACEOF
1805# This file is a shell script that caches the results of configure
1806# tests run on this system so they can be shared between configure
1807# scripts and configure runs, see configure's option --config-cache.
1808# It is not useful on other systems.  If it contains results you don't
1809# want to keep, you may remove or edit it.
1810#
1811# config.status only pays attention to the cache file if you give it
1812# the --recheck option to rerun configure.
1813#
1814# `ac_cv_env_foo' variables (set or unset) will be overridden when
1815# loading this file, other *unset* `ac_cv_foo' will be assigned the
1816# following values.
1817
1818_ACEOF
1819
1820# The following way of writing the cache mishandles newlines in values,
1821# but we know of no workaround that is simple, portable, and efficient.
1822# So, we kill variables containing newlines.
1823# Ultrix sh set writes to stderr and can't be redirected directly,
1824# and sets the high bit in the cache file unless we assign to the vars.
1825(
1826  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
1827    eval ac_val=\$$ac_var
1828    case $ac_val in #(
1829    *${as_nl}*)
1830      case $ac_var in #(
1831      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1832echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1833      esac
1834      case $ac_var in #(
1835      _ | IFS | as_nl) ;; #(
1836      *) $as_unset $ac_var ;;
1837      esac ;;
1838    esac
1839  done
1840
1841  (set) 2>&1 |
1842    case $as_nl`(ac_space=' '; set) 2>&1` in #(
1843    *${as_nl}ac_space=\ *)
1844      # `set' does not quote correctly, so add quotes (double-quote
1845      # substitution turns \\\\ into \\, and sed turns \\ into \).
1846      sed -n \
1847        "s/'/'\\\\''/g;
1848          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1849      ;; #(
1850    *)
1851      # `set' quotes correctly as required by POSIX, so do not add quotes.
1852      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1853      ;;
1854    esac |
1855    sort
1856) |
1857  sed '
1858     /^ac_cv_env_/b end
1859     t clear
1860     :clear
1861     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1862     t end
1863     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1864     :end' >>confcache
1865if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
1866  if test -w "$cache_file"; then
1867    test "x$cache_file" != "x/dev/null" &&
1868      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
1869echo "$as_me: updating cache $cache_file" >&6;}
1870    cat confcache >$cache_file
1871  else
1872    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
1873echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1874  fi
1875fi
1876rm -f confcache
1877
1878test "x$prefix" = xNONE && prefix=$ac_default_prefix
1879# Let make expand exec_prefix.
1880test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1881
1882# Transform confdefs.h into DEFS.
1883# Protect against shell expansion while executing Makefile rules.
1884# Protect against Makefile macro expansion.
1885#
1886# If the first sed substitution is executed (which looks for macros that
1887# take arguments), then branch to the quote section.  Otherwise,
1888# look for a macro that doesn't take arguments.
1889ac_script='
1890t clear
1891:clear
1892s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
1893t quote
1894s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
1895t quote
1896b any
1897:quote
1898s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
1899s/\[/\\&/g
1900s/\]/\\&/g
1901s/\$/$$/g
1902H
1903:any
1904${
1905        g
1906        s/^\n//
1907        s/\n/ /g
1908        p
1909}
1910'
1911DEFS=`sed -n "$ac_script" confdefs.h`
1912
1913
1914ac_libobjs=
1915ac_ltlibobjs=
1916for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
1917  # 1. Remove the extension, and $U if already installed.
1918  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
1919  ac_i=`echo "$ac_i" | sed "$ac_script"`
1920  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
1921  #    will be set to the directory where LIBOBJS objects are built.
1922  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
1923  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
1924done
1925LIBOBJS=$ac_libobjs
1926
1927LTLIBOBJS=$ac_ltlibobjs
1928
1929
1930
1931: ${CONFIG_STATUS=./config.status}
1932ac_clean_files_save=$ac_clean_files
1933ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1934{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
1935echo "$as_me: creating $CONFIG_STATUS" >&6;}
1936cat >$CONFIG_STATUS <<_ACEOF
1937#! $SHELL
1938# Generated by $as_me.
1939# Run this file to recreate the current configuration.
1940# Compiler output produced by configure, useful for debugging
1941# configure, is in config.log if it exists.
1942
1943debug=false
1944ac_cs_recheck=false
1945ac_cs_silent=false
1946SHELL=\${CONFIG_SHELL-$SHELL}
1947_ACEOF
1948
1949cat >>$CONFIG_STATUS <<\_ACEOF
1950## --------------------- ##
1951## M4sh Initialization.  ##
1952## --------------------- ##
1953
1954# Be more Bourne compatible
1955DUALCASE=1; export DUALCASE # for MKS sh
1956if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1957  emulate sh
1958  NULLCMD=:
1959  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
1960  # is contrary to our usage.  Disable this feature.
1961  alias -g '${1+"$@"}'='"$@"'
1962  setopt NO_GLOB_SUBST
1963else
1964  case `(set -o) 2>/dev/null` in
1965  *posix*) set -o posix ;;
1966esac
1967
1968fi
1969
1970
1971
1972
1973# PATH needs CR
1974# Avoid depending upon Character Ranges.
1975as_cr_letters='abcdefghijklmnopqrstuvwxyz'
1976as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
1977as_cr_Letters=$as_cr_letters$as_cr_LETTERS
1978as_cr_digits='0123456789'
1979as_cr_alnum=$as_cr_Letters$as_cr_digits
1980
1981# The user is always right.
1982if test "${PATH_SEPARATOR+set}" != set; then
1983  echo "#! /bin/sh" >conf$$.sh
1984  echo  "exit 0"   >>conf$$.sh
1985  chmod +x conf$$.sh
1986  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1987    PATH_SEPARATOR=';'
1988  else
1989    PATH_SEPARATOR=:
1990  fi
1991  rm -f conf$$.sh
1992fi
1993
1994# Support unset when possible.
1995if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1996  as_unset=unset
1997else
1998  as_unset=false
1999fi
2000
2001
2002# IFS
2003# We need space, tab and new line, in precisely that order.  Quoting is
2004# there to prevent editors from complaining about space-tab.
2005# (If _AS_PATH_WALK were called with IFS unset, it would disable word
2006# splitting by setting IFS to empty value.)
2007as_nl='
2008'
2009IFS=" ""        $as_nl"
2010
2011# Find who we are.  Look in the path if we contain no directory separator.
2012case $0 in
2013  *[\\/]* ) as_myself=$0 ;;
2014  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2015for as_dir in $PATH
2016do
2017  IFS=$as_save_IFS
2018  test -z "$as_dir" && as_dir=.
2019  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2020done
2021IFS=$as_save_IFS
2022
2023     ;;
2024esac
2025# We did not find ourselves, most probably we were run as `sh COMMAND'
2026# in which case we are not to be found in the path.
2027if test "x$as_myself" = x; then
2028  as_myself=$0
2029fi
2030if test ! -f "$as_myself"; then
2031  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2032  { (exit 1); exit 1; }
2033fi
2034
2035# Work around bugs in pre-3.0 UWIN ksh.
2036for as_var in ENV MAIL MAILPATH
2037do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2038done
2039PS1='$ '
2040PS2='> '
2041PS4='+ '
2042
2043# NLS nuisances.
2044for as_var in \
2045  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2046  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2047  LC_TELEPHONE LC_TIME
2048do
2049  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2050    eval $as_var=C; export $as_var
2051  else
2052    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2053  fi
2054done
2055
2056# Required to use basename.
2057if expr a : '\(a\)' >/dev/null 2>&1 &&
2058   test "X`expr 00001 : '.*\(...\)'`" = X001; then
2059  as_expr=expr
2060else
2061  as_expr=false
2062fi
2063
2064if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2065  as_basename=basename
2066else
2067  as_basename=false
2068fi
2069
2070
2071# Name of the executable.
2072as_me=`$as_basename -- "$0" ||
2073$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2074         X"$0" : 'X\(//\)$' \| \
2075         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2076echo X/"$0" |
2077    sed '/^.*\/\([^/][^/]*\)\/*$/{
2078            s//\1/
2079            q
2080          }
2081          /^X\/\(\/\/\)$/{
2082            s//\1/
2083            q
2084          }
2085          /^X\/\(\/\).*/{
2086            s//\1/
2087            q
2088          }
2089          s/.*/./; q'`
2090
2091# CDPATH.
2092$as_unset CDPATH
2093
2094
2095
2096  as_lineno_1=$LINENO
2097  as_lineno_2=$LINENO
2098  test "x$as_lineno_1" != "x$as_lineno_2" &&
2099  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
2100
2101  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2102  # uniformly replaced by the line number.  The first 'sed' inserts a
2103  # line-number line after each line using $LINENO; the second 'sed'
2104  # does the real work.  The second script uses 'N' to pair each
2105  # line-number line with the line containing $LINENO, and appends
2106  # trailing '-' during substitution so that $LINENO is not a special
2107  # case at line end.
2108  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2109  # scripts with optimization help from Paolo Bonzini.  Blame Lee
2110  # E. McMahon (1931-1989) for sed's syntax.  :-)
2111  sed -n '
2112    p
2113    /[$]LINENO/=
2114  ' <$as_myself |
2115    sed '
2116      s/[$]LINENO.*/&-/
2117      t lineno
2118      b
2119      :lineno
2120      N
2121      :loop
2122      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
2123      t loop
2124      s/-\n.*//
2125    ' >$as_me.lineno &&
2126  chmod +x "$as_me.lineno" ||
2127    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
2128   { (exit 1); exit 1; }; }
2129
2130  # Don't try to exec as it changes $[0], causing all sort of problems
2131  # (the dirname of $[0] is not the place where we might find the
2132  # original and so on.  Autoconf is especially sensitive to this).
2133  . "./$as_me.lineno"
2134  # Exit status is that of the last command.
2135  exit
2136}
2137
2138
2139if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2140  as_dirname=dirname
2141else
2142  as_dirname=false
2143fi
2144
2145ECHO_C= ECHO_N= ECHO_T=
2146case `echo -n x` in
2147-n*)
2148  case `echo 'x\c'` in
2149  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
2150  *)   ECHO_C='\c';;
2151  esac;;
2152*)
2153  ECHO_N='-n';;
2154esac
2155
2156if expr a : '\(a\)' >/dev/null 2>&1 &&
2157   test "X`expr 00001 : '.*\(...\)'`" = X001; then
2158  as_expr=expr
2159else
2160  as_expr=false
2161fi
2162
2163rm -f conf$$ conf$$.exe conf$$.file
2164if test -d conf$$.dir; then
2165  rm -f conf$$.dir/conf$$.file
2166else
2167  rm -f conf$$.dir
2168  mkdir conf$$.dir
2169fi
2170echo >conf$$.file
2171if ln -s conf$$.file conf$$ 2>/dev/null; then
2172  as_ln_s='ln -s'
2173  # ... but there are two gotchas:
2174  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2175  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2176  # In both cases, we have to default to `cp -p'.
2177  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2178    as_ln_s='cp -p'
2179elif ln conf$$.file conf$$ 2>/dev/null; then
2180  as_ln_s=ln
2181else
2182  as_ln_s='cp -p'
2183fi
2184rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2185rmdir conf$$.dir 2>/dev/null
2186
2187if mkdir -p . 2>/dev/null; then
2188  as_mkdir_p=:
2189else
2190  test -d ./-p && rmdir ./-p
2191  as_mkdir_p=false
2192fi
2193
2194if test -x / >/dev/null 2>&1; then
2195  as_test_x='test -x'
2196else
2197  if ls -dL / >/dev/null 2>&1; then
2198    as_ls_L_option=L
2199  else
2200    as_ls_L_option=
2201  fi
2202  as_test_x='
2203    eval sh -c '\''
2204      if test -d "$1"; then
2205        test -d "$1/.";
2206      else
2207        case $1 in
2208        -*)set "./$1";;
2209        esac;
2210        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
2211        ???[sx]*):;;*)false;;esac;fi
2212    '\'' sh
2213  '
2214fi
2215as_executable_p=$as_test_x
2216
2217# Sed expression to map a string onto a valid CPP name.
2218as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2219
2220# Sed expression to map a string onto a valid variable name.
2221as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2222
2223
2224exec 6>&1
2225
2226# Save the log message, to keep $[0] and so on meaningful, and to
2227# report actual input values of CONFIG_FILES etc. instead of their
2228# values after options handling.
2229ac_log="
2230This file was extended by $as_me, which was
2231generated by GNU Autoconf 2.61.  Invocation command line was
2232
2233  CONFIG_FILES    = $CONFIG_FILES
2234  CONFIG_HEADERS  = $CONFIG_HEADERS
2235  CONFIG_LINKS    = $CONFIG_LINKS
2236  CONFIG_COMMANDS = $CONFIG_COMMANDS
2237  $ $0 $@
2238
2239on `(hostname || uname -n) 2>/dev/null | sed 1q`
2240"
2241
2242_ACEOF
2243
2244cat >>$CONFIG_STATUS <<_ACEOF
2245# Files that config.status was made for.
2246config_files="$ac_config_files"
2247
2248_ACEOF
2249
2250cat >>$CONFIG_STATUS <<\_ACEOF
2251ac_cs_usage="\
2252\`$as_me' instantiates files from templates according to the
2253current configuration.
2254
2255Usage: $0 [OPTIONS] [FILE]...
2256
2257  -h, --help       print this help, then exit
2258  -V, --version    print version number and configuration settings, then exit
2259  -q, --quiet      do not print progress messages
2260  -d, --debug      don't remove temporary files
2261      --recheck    update $as_me by reconfiguring in the same conditions
2262  --file=FILE[:TEMPLATE]
2263                   instantiate the configuration file FILE
2264
2265Configuration files:
2266$config_files
2267
2268Report bugs to <bug-autoconf@gnu.org>."
2269
2270_ACEOF
2271cat >>$CONFIG_STATUS <<_ACEOF
2272ac_cs_version="\\
2273config.status
2274configured by $0, generated by GNU Autoconf 2.61,
2275  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
2276
2277Copyright (C) 2006 Free Software Foundation, Inc.
2278This config.status script is free software; the Free Software Foundation
2279gives unlimited permission to copy, distribute and modify it."
2280
2281ac_pwd='$ac_pwd'
2282srcdir='$srcdir'
2283_ACEOF
2284
2285cat >>$CONFIG_STATUS <<\_ACEOF
2286# If no file are specified by the user, then we need to provide default
2287# value.  By we need to know if files were specified by the user.
2288ac_need_defaults=:
2289while test $# != 0
2290do
2291  case $1 in
2292  --*=*)
2293    ac_option=`expr "X$1" : 'X\([^=]*\)='`
2294    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2295    ac_shift=:
2296    ;;
2297  *)
2298    ac_option=$1
2299    ac_optarg=$2
2300    ac_shift=shift
2301    ;;
2302  esac
2303
2304  case $ac_option in
2305  # Handling of the options.
2306  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2307    ac_cs_recheck=: ;;
2308  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2309    echo "$ac_cs_version"; exit ;;
2310  --debug | --debu | --deb | --de | --d | -d )
2311    debug=: ;;
2312  --file | --fil | --fi | --f )
2313    $ac_shift
2314    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2315    ac_need_defaults=false;;
2316  --he | --h |  --help | --hel | -h )
2317    echo "$ac_cs_usage"; exit ;;
2318  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2319  | -silent | --silent | --silen | --sile | --sil | --si | --s)
2320    ac_cs_silent=: ;;
2321
2322  # This is an error.
2323  -*) { echo "$as_me: error: unrecognized option: $1
2324Try \`$0 --help' for more information." >&2
2325   { (exit 1); exit 1; }; } ;;
2326
2327  *) ac_config_targets="$ac_config_targets $1"
2328     ac_need_defaults=false ;;
2329
2330  esac
2331  shift
2332done
2333
2334ac_configure_extra_args=
2335
2336if $ac_cs_silent; then
2337  exec 6>/dev/null
2338  ac_configure_extra_args="$ac_configure_extra_args --silent"
2339fi
2340
2341_ACEOF
2342cat >>$CONFIG_STATUS <<_ACEOF
2343if \$ac_cs_recheck; then
2344  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2345  CONFIG_SHELL=$SHELL
2346  export CONFIG_SHELL
2347  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2348fi
2349
2350_ACEOF
2351cat >>$CONFIG_STATUS <<\_ACEOF
2352exec 5>>config.log
2353{
2354  echo
2355  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2356## Running $as_me. ##
2357_ASBOX
2358  echo "$ac_log"
2359} >&5
2360
2361_ACEOF
2362cat >>$CONFIG_STATUS <<_ACEOF
2363_ACEOF
2364
2365cat >>$CONFIG_STATUS <<\_ACEOF
2366
2367# Handling of arguments.
2368for ac_config_target in $ac_config_targets
2369do
2370  case $ac_config_target in
2371    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2372    "src/pxeconfig") CONFIG_FILES="$CONFIG_FILES src/pxeconfig" ;;
2373    "src/pxe_global.py") CONFIG_FILES="$CONFIG_FILES src/pxe_global.py" ;;
2374    "src/pxeconfigd") CONFIG_FILES="$CONFIG_FILES src/pxeconfigd" ;;
2375    "src/hexls") CONFIG_FILES="$CONFIG_FILES src/hexls" ;;
2376    "examples/pxeconfigd.xinetd") CONFIG_FILES="$CONFIG_FILES examples/pxeconfigd.xinetd" ;;
2377
2378  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2379echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2380   { (exit 1); exit 1; }; };;
2381  esac
2382done
2383
2384
2385# If the user did not use the arguments to specify the items to instantiate,
2386# then the envvar interface is used.  Set only those that are not.
2387# We use the long form for the default assignment because of an extremely
2388# bizarre bug on SunOS 4.1.3.
2389if $ac_need_defaults; then
2390  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2391fi
2392
2393# Have a temporary directory for convenience.  Make it in the build tree
2394# simply because there is no reason against having it here, and in addition,
2395# creating and moving files from /tmp can sometimes cause problems.
2396# Hook for its removal unless debugging.
2397# Note that there is a small window in which the directory will not be cleaned:
2398# after its creation but before its name has been assigned to `$tmp'.
2399$debug ||
2400{
2401  tmp=
2402  trap 'exit_status=$?
2403  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
2404' 0
2405  trap '{ (exit 1); exit 1; }' 1 2 13 15
2406}
2407# Create a (secure) tmp directory for tmp files.
2408
2409{
2410  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
2411  test -n "$tmp" && test -d "$tmp"
2412}  ||
2413{
2414  tmp=./conf$$-$RANDOM
2415  (umask 077 && mkdir "$tmp")
2416} ||
2417{
2418   echo "$me: cannot create a temporary directory in ." >&2
2419   { (exit 1); exit 1; }
2420}
2421
2422#
2423# Set up the sed scripts for CONFIG_FILES section.
2424#
2425
2426# No need to generate the scripts if there are no CONFIG_FILES.
2427# This happens for instance when ./config.status config.h
2428if test -n "$CONFIG_FILES"; then
2429
2430_ACEOF
2431
2432
2433
2434ac_delim='%!_!# '
2435for ac_last_try in false false false false false :; do
2436  cat >conf$$subs.sed <<_ACEOF
2437SHELL!$SHELL$ac_delim
2438PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
2439PACKAGE_NAME!$PACKAGE_NAME$ac_delim
2440PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
2441PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
2442PACKAGE_STRING!$PACKAGE_STRING$ac_delim
2443PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
2444exec_prefix!$exec_prefix$ac_delim
2445prefix!$prefix$ac_delim
2446program_transform_name!$program_transform_name$ac_delim
2447bindir!$bindir$ac_delim
2448sbindir!$sbindir$ac_delim
2449libexecdir!$libexecdir$ac_delim
2450datarootdir!$datarootdir$ac_delim
2451datadir!$datadir$ac_delim
2452sysconfdir!$sysconfdir$ac_delim
2453sharedstatedir!$sharedstatedir$ac_delim
2454localstatedir!$localstatedir$ac_delim
2455includedir!$includedir$ac_delim
2456oldincludedir!$oldincludedir$ac_delim
2457docdir!$docdir$ac_delim
2458infodir!$infodir$ac_delim
2459htmldir!$htmldir$ac_delim
2460dvidir!$dvidir$ac_delim
2461pdfdir!$pdfdir$ac_delim
2462psdir!$psdir$ac_delim
2463libdir!$libdir$ac_delim
2464localedir!$localedir$ac_delim
2465mandir!$mandir$ac_delim
2466DEFS!$DEFS$ac_delim
2467ECHO_C!$ECHO_C$ac_delim
2468ECHO_N!$ECHO_N$ac_delim
2469ECHO_T!$ECHO_T$ac_delim
2470LIBS!$LIBS$ac_delim
2471build_alias!$build_alias$ac_delim
2472host_alias!$host_alias$ac_delim
2473target_alias!$target_alias$ac_delim
2474pyexecdir!$pyexecdir$ac_delim
2475PYTHON!$PYTHON$ac_delim
2476PYTHON_VERSION!$PYTHON_VERSION$ac_delim
2477PYTHON_PREFIX!$PYTHON_PREFIX$ac_delim
2478PYTHON_EXEC_PREFIX!$PYTHON_EXEC_PREFIX$ac_delim
2479PYTHON_PLATFORM!$PYTHON_PLATFORM$ac_delim
2480pythondir!$pythondir$ac_delim
2481pkgpythondir!$pkgpythondir$ac_delim
2482pkgpyexecdir!$pkgpyexecdir$ac_delim
2483DEBUG!$DEBUG$ac_delim
2484pxeconfig_conf!$pxeconfig_conf$ac_delim
2485SYSTEM_PXECONFIG_CONF!$SYSTEM_PXECONFIG_CONF$ac_delim
2486LIBOBJS!$LIBOBJS$ac_delim
2487LTLIBOBJS!$LTLIBOBJS$ac_delim
2488_ACEOF
2489
2490  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 51; then
2491    break
2492  elif $ac_last_try; then
2493    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
2494echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
2495   { (exit 1); exit 1; }; }
2496  else
2497    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2498  fi
2499done
2500
2501ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
2502if test -n "$ac_eof"; then
2503  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
2504  ac_eof=`expr $ac_eof + 1`
2505fi
2506
2507cat >>$CONFIG_STATUS <<_ACEOF
2508cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
2509/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
2510_ACEOF
2511sed '
2512s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
2513s/^/s,@/; s/!/@,|#_!!_#|/
2514:n
2515t n
2516s/'"$ac_delim"'$/,g/; t
2517s/$/\\/; p
2518N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
2519' >>$CONFIG_STATUS <conf$$subs.sed
2520rm -f conf$$subs.sed
2521cat >>$CONFIG_STATUS <<_ACEOF
2522:end
2523s/|#_!!_#|//g
2524CEOF$ac_eof
2525_ACEOF
2526
2527
2528# VPATH may cause trouble with some makes, so we remove $(srcdir),
2529# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2530# trailing colons and then remove the whole line if VPATH becomes empty
2531# (actually we leave an empty line to preserve line numbers).
2532if test "x$srcdir" = x.; then
2533  ac_vpsub='/^[  ]*VPATH[        ]*=/{
2534s/:*\$(srcdir):*/:/
2535s/:*\${srcdir}:*/:/
2536s/:*@srcdir@:*/:/
2537s/^\([^=]*=[     ]*\):*/\1/
2538s/:*$//
2539s/^[^=]*=[       ]*$//
2540}'
2541fi
2542
2543cat >>$CONFIG_STATUS <<\_ACEOF
2544fi # test -n "$CONFIG_FILES"
2545
2546
2547for ac_tag in  :F $CONFIG_FILES
2548do
2549  case $ac_tag in
2550  :[FHLC]) ac_mode=$ac_tag; continue;;
2551  esac
2552  case $ac_mode$ac_tag in
2553  :[FHL]*:*);;
2554  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
2555echo "$as_me: error: Invalid tag $ac_tag." >&2;}
2556   { (exit 1); exit 1; }; };;
2557  :[FH]-) ac_tag=-:-;;
2558  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
2559  esac
2560  ac_save_IFS=$IFS
2561  IFS=:
2562  set x $ac_tag
2563  IFS=$ac_save_IFS
2564  shift
2565  ac_file=$1
2566  shift
2567
2568  case $ac_mode in
2569  :L) ac_source=$1;;
2570  :[FH])
2571    ac_file_inputs=
2572    for ac_f
2573    do
2574      case $ac_f in
2575      -) ac_f="$tmp/stdin";;
2576      *) # Look for the file first in the build tree, then in the source tree
2577         # (if the path is not absolute).  The absolute path cannot be DOS-style,
2578         # because $ac_f cannot contain `:'.
2579         test -f "$ac_f" ||
2580           case $ac_f in
2581           [\\/$]*) false;;
2582           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
2583           esac ||
2584           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
2585echo "$as_me: error: cannot find input file: $ac_f" >&2;}
2586   { (exit 1); exit 1; }; };;
2587      esac
2588      ac_file_inputs="$ac_file_inputs $ac_f"
2589    done
2590
2591    # Let's still pretend it is `configure' which instantiates (i.e., don't
2592    # use $as_me), people would be surprised to read:
2593    #    /* config.h.  Generated by config.status.  */
2594    configure_input="Generated from "`IFS=:
2595          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
2596    if test x"$ac_file" != x-; then
2597      configure_input="$ac_file.  $configure_input"
2598      { echo "$as_me:$LINENO: creating $ac_file" >&5
2599echo "$as_me: creating $ac_file" >&6;}
2600    fi
2601
2602    case $ac_tag in
2603    *:-:* | *:-) cat >"$tmp/stdin";;
2604    esac
2605    ;;
2606  esac
2607
2608  ac_dir=`$as_dirname -- "$ac_file" ||
2609$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2610         X"$ac_file" : 'X\(//\)[^/]' \| \
2611         X"$ac_file" : 'X\(//\)$' \| \
2612         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
2613echo X"$ac_file" |
2614    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2615            s//\1/
2616            q
2617          }
2618          /^X\(\/\/\)[^/].*/{
2619            s//\1/
2620            q
2621          }
2622          /^X\(\/\/\)$/{
2623            s//\1/
2624            q
2625          }
2626          /^X\(\/\).*/{
2627            s//\1/
2628            q
2629          }
2630          s/.*/./; q'`
2631  { as_dir="$ac_dir"
2632  case $as_dir in #(
2633  -*) as_dir=./$as_dir;;
2634  esac
2635  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
2636    as_dirs=
2637    while :; do
2638      case $as_dir in #(
2639      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
2640      *) as_qdir=$as_dir;;
2641      esac
2642      as_dirs="'$as_qdir' $as_dirs"
2643      as_dir=`$as_dirname -- "$as_dir" ||
2644$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2645         X"$as_dir" : 'X\(//\)[^/]' \| \
2646         X"$as_dir" : 'X\(//\)$' \| \
2647         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2648echo X"$as_dir" |
2649    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2650            s//\1/
2651            q
2652          }
2653          /^X\(\/\/\)[^/].*/{
2654            s//\1/
2655            q
2656          }
2657          /^X\(\/\/\)$/{
2658            s//\1/
2659            q
2660          }
2661          /^X\(\/\).*/{
2662            s//\1/
2663            q
2664          }
2665          s/.*/./; q'`
2666      test -d "$as_dir" && break
2667    done
2668    test -z "$as_dirs" || eval "mkdir $as_dirs"
2669  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
2670echo "$as_me: error: cannot create directory $as_dir" >&2;}
2671   { (exit 1); exit 1; }; }; }
2672  ac_builddir=.
2673
2674case "$ac_dir" in
2675.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2676*)
2677  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2678  # A ".." for each directory in $ac_dir_suffix.
2679  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2680  case $ac_top_builddir_sub in
2681  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2682  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2683  esac ;;
2684esac
2685ac_abs_top_builddir=$ac_pwd
2686ac_abs_builddir=$ac_pwd$ac_dir_suffix
2687# for backward compatibility:
2688ac_top_builddir=$ac_top_build_prefix
2689
2690case $srcdir in
2691  .)  # We are building in place.
2692    ac_srcdir=.
2693    ac_top_srcdir=$ac_top_builddir_sub
2694    ac_abs_top_srcdir=$ac_pwd ;;
2695  [\\/]* | ?:[\\/]* )  # Absolute name.
2696    ac_srcdir=$srcdir$ac_dir_suffix;
2697    ac_top_srcdir=$srcdir
2698    ac_abs_top_srcdir=$srcdir ;;
2699  *) # Relative name.
2700    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2701    ac_top_srcdir=$ac_top_build_prefix$srcdir
2702    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2703esac
2704ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2705
2706
2707  case $ac_mode in
2708  :F)
2709  #
2710  # CONFIG_FILE
2711  #
2712
2713_ACEOF
2714
2715cat >>$CONFIG_STATUS <<\_ACEOF
2716# If the template does not know about datarootdir, expand it.
2717# FIXME: This hack should be removed a few years after 2.60.
2718ac_datarootdir_hack=; ac_datarootdir_seen=
2719
2720case `sed -n '/datarootdir/ {
2721  p
2722  q
2723}
2724/@datadir@/p
2725/@docdir@/p
2726/@infodir@/p
2727/@localedir@/p
2728/@mandir@/p
2729' $ac_file_inputs` in
2730*datarootdir*) ac_datarootdir_seen=yes;;
2731*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
2732  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
2733echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
2734_ACEOF
2735cat >>$CONFIG_STATUS <<_ACEOF
2736  ac_datarootdir_hack='
2737  s&@datadir@&$datadir&g
2738  s&@docdir@&$docdir&g
2739  s&@infodir@&$infodir&g
2740  s&@localedir@&$localedir&g
2741  s&@mandir@&$mandir&g
2742    s&\\\${datarootdir}&$datarootdir&g' ;;
2743esac
2744_ACEOF
2745
2746# Neutralize VPATH when `$srcdir' = `.'.
2747# Shell code in configure.ac might set extrasub.
2748# FIXME: do we really want to maintain this feature?
2749cat >>$CONFIG_STATUS <<_ACEOF
2750  sed "$ac_vpsub
2751$extrasub
2752_ACEOF
2753cat >>$CONFIG_STATUS <<\_ACEOF
2754:t
2755/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2756s&@configure_input@&$configure_input&;t t
2757s&@top_builddir@&$ac_top_builddir_sub&;t t
2758s&@srcdir@&$ac_srcdir&;t t
2759s&@abs_srcdir@&$ac_abs_srcdir&;t t
2760s&@top_srcdir@&$ac_top_srcdir&;t t
2761s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
2762s&@builddir@&$ac_builddir&;t t
2763s&@abs_builddir@&$ac_abs_builddir&;t t
2764s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
2765$ac_datarootdir_hack
2766" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
2767
2768test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
2769  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
2770  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
2771  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
2772which seems to be undefined.  Please make sure it is defined." >&5
2773echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
2774which seems to be undefined.  Please make sure it is defined." >&2;}
2775
2776  rm -f "$tmp/stdin"
2777  case $ac_file in
2778  -) cat "$tmp/out"; rm -f "$tmp/out";;
2779  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
2780  esac
2781 ;;
2782
2783
2784
2785  esac
2786
2787done # for ac_tag
2788
2789
2790{ (exit 0); exit 0; }
2791_ACEOF
2792chmod +x $CONFIG_STATUS
2793ac_clean_files=$ac_clean_files_save
2794
2795
2796# configure is writing to config.log, and then calls config.status.
2797# config.status does its own redirection, appending to config.log.
2798# Unfortunately, on DOS this fails, as config.log is still kept open
2799# by configure, so config.status won't be able to write to it; its
2800# output is simply discarded.  So we exec the FD to /dev/null,
2801# effectively closing config.log, so it can be properly (re)opened and
2802# appended to by config.status.  When coming back to configure, we
2803# need to make the FD available again.
2804if test "$no_create" != yes; then
2805  ac_cs_success=:
2806  ac_config_status_args=
2807  test "$silent" = yes &&
2808    ac_config_status_args="$ac_config_status_args --quiet"
2809  exec 5>/dev/null
2810  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
2811  exec 5>>config.log
2812  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2813  # would make configure fail if this is the last instruction.
2814  $ac_cs_success || { (exit 1); exit 1; }
2815fi
2816
Note: See TracBrowser for help on using the repository browser.