Changeset 120


Ignore:
Timestamp:
04/11/08 10:48:46 (13 years ago)
Author:
bas
Message:

configure.in:

  • removed C-compiler requirement

debian/changelog:

  • version 2.0.0

pxeconfig.in:

  • working host-range with padding

pxeconfigd.in:

  • new version
Location:
trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/Changelog

    r119 r120  
    1 1.X.X
     12.0.0
    22 - Fixed a bug in -r/--remove option. Do not display
    33   pxe filemame menu.
     
    4040      - gb-r1n02
    4141
    42    
     42   Suggested by : Ole Holm Nielsen
     43   Implemented by : Bas van der Vlies
     44
     45 - We do need the check for a C-compiler so remove it from the configure.in
     46   and made a new configure
     47   Author: Bas van der Vlies
    4348
    44491.0.0
  • trunk/configure

    r116 r120  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.59.
     3# Generated by GNU Autoconf 2.61.
    44#
    5 # Copyright (C) 2003 Free Software Foundation, Inc.
     5# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
     6# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
    67# This configure script is free software; the Free Software Foundation
    78# gives unlimited permission to copy, distribute and modify it.
     
    1011## --------------------- ##
    1112
    12 # Be Bourne compatible
     13# Be more Bourne compatible
     14DUALCASE=1; export DUALCASE # for MKS sh
    1315if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    1416  emulate sh
     
    1719  # is contrary to our usage.  Disable this feature.
    1820  alias -g '${1+"$@"}'='"$@"'
    19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
    20   set -o posix
    21 fi
    22 DUALCASE=1; export DUALCASE # for MKS sh
    23 
    24 # Support unset when possible.
    25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    26   as_unset=unset
    27 else
    28   as_unset=false
    29 fi
    30 
    31 
    32 # Work around bugs in pre-3.0 UWIN ksh.
    33 $as_unset ENV MAIL MAILPATH
    34 PS1='$ '
    35 PS2='> '
    36 PS4='+ '
    37 
    38 # NLS nuisances.
    39 for as_var in \
    40   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    41   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    42   LC_TELEPHONE LC_TIME
    43 do
    44   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    45     eval $as_var=C; export $as_var
    46   else
    47     $as_unset $as_var
    48   fi
    49 done
    50 
    51 # Required to use basename.
    52 if expr a : '\(a\)' >/dev/null 2>&1; then
    53   as_expr=expr
    54 else
    55   as_expr=false
    56 fi
    57 
    58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
    59   as_basename=basename
    60 else
    61   as_basename=false
    62 fi
    63 
    64 
    65 # Name of the executable.
    66 as_me=`$as_basename "$0" ||
    67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    68          X"$0" : 'X\(//\)$' \| \
    69          X"$0" : 'X\(/\)$' \| \
    70          .     : '\(.\)' 2>/dev/null ||
    71 echo X/"$0" |
    72     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
    73           /^X\/\(\/\/\)$/{ s//\1/; q; }
    74           /^X\/\(\/\).*/{ s//\1/; q; }
    75           s/.*/./; q'`
    76 
    77 
    78 # PATH needs CR, and LINENO needs CR and PATH.
     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
    7933# Avoid depending upon Character Ranges.
    8034as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     
    9751fi
    9852
    99 
    100   as_lineno_1=$LINENO
    101   as_lineno_2=$LINENO
    102   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    103   test "x$as_lineno_1" != "x$as_lineno_2" &&
    104   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
    105   # Find who we are.  Look in the path if we contain no path at all
    106   # relative or not.
    107   case $0 in
    108     *[\\/]* ) as_myself=$0 ;;
    109     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     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
    11074for as_dir in $PATH
    11175do
     
    11478  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    11579done
    116 
    117        ;;
    118   esac
    119   # We did not find ourselves, most probably we were run as `sh COMMAND'
    120   # in which case we are not to be found in the path.
    121   if test "x$as_myself" = x; then
    122     as_myself=$0
     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
    123112  fi
    124   if test ! -f "$as_myself"; then
    125     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
    126    { (exit 1); exit 1; }; }
    127   fi
    128   case $CONFIG_SHELL in
    129   '')
     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=
    130221    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    131222for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
     
    133224  IFS=$as_save_IFS
    134225  test -z "$as_dir" && as_dir=.
    135   for as_base in sh bash ksh sh5; do
    136          case $as_dir in
     226  case $as_dir in
    137227         /*)
    138            if ("$as_dir/$as_base" -c '
     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(
    139328  as_lineno_1=$LINENO
    140329  as_lineno_2=$LINENO
    141   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    142330  test "x$as_lineno_1" != "x$as_lineno_2" &&
    143   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
    144              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
    145              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
    146              CONFIG_SHELL=$as_dir/$as_base
    147              export CONFIG_SHELL
    148              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
    149            fi;;
    150          esac
    151        done
    152 done
    153 ;;
    154   esac
     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" || {
    155427
    156428  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    157429  # uniformly replaced by the line number.  The first 'sed' inserts a
    158   # line-number line before each line; the second 'sed' does the real
    159   # work.  The second script uses 'N' to pair each line-number line
    160   # with the numbered line, and appends trailing '-' during
    161   # substitution so that $LINENO is not a special case at line end.
     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.
    162435  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    163   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
    164   sed '=' <$as_myself |
     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 |
    165442    sed '
     443      s/[$]LINENO.*/&-/
     444      t lineno
     445      b
     446      :lineno
    166447      N
    167       s,$,-,
    168       : loop
    169       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
     448      :loop
     449      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    170450      t loop
    171       s,-$,,
    172       s,^['$as_cr_digits']*\n,,
     451      s/-\n.*//
    173452    ' >$as_me.lineno &&
    174   chmod +x $as_me.lineno ||
     453  chmod +x "$as_me.lineno" ||
    175454    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    176455   { (exit 1); exit 1; }; }
     
    178457  # Don't try to exec as it changes $[0], causing all sort of problems
    179458  # (the dirname of $[0] is not the place where we might find the
    180   # original and so on.  Autoconf is especially sensible to this).
    181   . ./$as_me.lineno
     459  # original and so on.  Autoconf is especially sensitive to this).
     460  . "./$as_me.lineno"
    182461  # Exit status is that of the last command.
    183462  exit
     
    185464
    186465
    187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
    188   *c*,-n*) ECHO_N= ECHO_C='
    189 ' ECHO_T='      ' ;;
    190   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
    191   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
     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';;
    192481esac
    193482
    194 if expr a : '\(a\)' >/dev/null 2>&1; then
     483if expr a : '\(a\)' >/dev/null 2>&1 &&
     484   test "X`expr 00001 : '.*\(...\)'`" = X001; then
    195485  as_expr=expr
    196486else
     
    199489
    200490rm -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
    201497echo >conf$$.file
    202498if ln -s conf$$.file conf$$ 2>/dev/null; then
    203   # We could just check for DJGPP; but this test a) works b) is more generic
    204   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
    205   if test -f conf$$.exe; then
    206     # Don't use ln at all; we don't have any links
     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 ||
    207505    as_ln_s='cp -p'
    208   else
    209     as_ln_s='ln -s'
    210   fi
    211506elif ln conf$$.file conf$$ 2>/dev/null; then
    212507  as_ln_s=ln
     
    214509  as_ln_s='cp -p'
    215510fi
    216 rm -f conf$$ conf$$.exe conf$$.file
     511rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
     512rmdir conf$$.dir 2>/dev/null
    217513
    218514if mkdir -p . 2>/dev/null; then
     
    223519fi
    224520
    225 as_executable_p="test -f"
     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
    226543
    227544# Sed expression to map a string onto a valid CPP name.
     
    232549
    233550
    234 # IFS
    235 # We need space, tab and new line, in precisely that order.
    236 as_nl='
    237 '
    238 IFS="   $as_nl"
    239 
    240 # CDPATH.
    241 $as_unset CDPATH
    242 
     551
     552exec 7<&0 </dev/null 6>&1
    243553
    244554# Name of the host.
     
    247557ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    248558
    249 exec 6>&1
    250 
    251559#
    252560# Initializations.
    253561#
    254562ac_default_prefix=/usr/local
     563ac_clean_files=
    255564ac_config_libobj_dir=.
     565LIBOBJS=
    256566cross_compiling=no
    257567subdirs=
     
    259569MAKEFLAGS=
    260570SHELL=${CONFIG_SHELL-/bin/sh}
    261 
    262 # Maximum number of lines to put in a shell here document.
    263 # This variable seems obsolete.  It should probably be removed, and
    264 # only ac_max_sed_lines should be used.
    265 : ${ac_max_here_lines=38}
    266571
    267572# Identity of this package.
     
    273578
    274579ac_unique_file="pxeconfig.in"
    275 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS pyexecdir PYTHON PYTHON_VERSION PYTHON_PREFIX PYTHON_EXEC_PREFIX PYTHON_PLATFORM pythondir pkgpythondir pkgpyexecdir CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP DEBUG pxeconfig_conf SYSTEM_PXECONFIG_CONF LIBOBJS LTLIBOBJS'
     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'
    276631ac_subst_files=''
     632      ac_precious_vars='build_alias
     633host_alias
     634target_alias'
     635
    277636
    278637# Initialize some variables set by options.
     
    301660# by default will actually change.
    302661# Use braces instead of parens because sh, perl, etc. also accept them.
     662# (The list follows the same order as the GNU Coding Standards.)
    303663bindir='${exec_prefix}/bin'
    304664sbindir='${exec_prefix}/sbin'
    305665libexecdir='${exec_prefix}/libexec'
    306 datadir='${prefix}/share'
     666datarootdir='${prefix}/share'
     667datadir='${datarootdir}'
    307668sysconfdir='${prefix}/etc'
    308669sharedstatedir='${prefix}/com'
    309670localstatedir='${prefix}/var'
    310 libdir='${exec_prefix}/lib'
    311671includedir='${prefix}/include'
    312672oldincludedir='/usr/include'
    313 infodir='${prefix}/info'
    314 mandir='${prefix}/man'
     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'
    315682
    316683ac_prev=
     684ac_dashdash=
    317685for ac_option
    318686do
    319687  # If the previous option needs an argument, assign it.
    320688  if test -n "$ac_prev"; then
    321     eval "$ac_prev=\$ac_option"
     689    eval $ac_prev=\$ac_option
    322690    ac_prev=
    323691    continue
    324692  fi
    325693
    326   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
     694  case $ac_option in
     695  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
     696  *)    ac_optarg=yes ;;
     697  esac
    327698
    328699  # Accept the important Cygnus configure options, so we can diagnose typos.
    329700
    330   case $ac_option in
     701  case $ac_dashdash$ac_option in
     702  --)
     703    ac_dashdash=yes ;;
    331704
    332705  -bindir | --bindir | --bindi | --bind | --bin | --bi)
     
    350723    cache_file=config.cache ;;
    351724
    352   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
     725  -datadir | --datadir | --datadi | --datad)
    353726    ac_prev=datadir ;;
    354   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
    355   | --da=*)
     727  -datadir=* | --datadir=* | --datadi=* | --datad=*)
    356728    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 ;;
    357736
    358737  -disable-* | --disable-*)
    359738    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    360739    # Reject names that are not valid shell variable names.
    361     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     740    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    362741      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    363742   { (exit 1); exit 1; }; }
    364     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    365     eval "enable_$ac_feature=no" ;;
     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 ;;
    366755
    367756  -enable-* | --enable-*)
    368757    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    369758    # Reject names that are not valid shell variable names.
    370     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     759    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    371760      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    372761   { (exit 1); exit 1; }; }
    373     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    374     case $ac_option in
    375       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    376       *) ac_optarg=yes ;;
    377     esac
    378     eval "enable_$ac_feature='$ac_optarg'" ;;
     762    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
     763    eval enable_$ac_feature=\$ac_optarg ;;
    379764
    380765  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
     
    403788    host_alias=$ac_optarg ;;
    404789
     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
    405796  -includedir | --includedir | --includedi | --included | --include \
    406797  | --includ | --inclu | --incl | --inc)
     
    427818    libexecdir=$ac_optarg ;;
    428819
     820  -localedir | --localedir | --localedi | --localed | --locale)
     821    ac_prev=localedir ;;
     822  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
     823    localedir=$ac_optarg ;;
     824
    429825  -localstatedir | --localstatedir | --localstatedi | --localstated \
    430   | --localstate | --localstat | --localsta | --localst \
    431   | --locals | --local | --loca | --loc | --lo)
     826  | --localstate | --localstat | --localsta | --localst | --locals)
    432827    ac_prev=localstatedir ;;
    433828  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    434   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
    435   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
     829  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    436830    localstatedir=$ac_optarg ;;
    437831
     
    498892    program_transform_name=$ac_optarg ;;
    499893
     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
    500904  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    501905  | -silent | --silent | --silen | --sile | --sil)
     
    550954    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    551955    # Reject names that are not valid shell variable names.
    552     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     956    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    553957      { echo "$as_me: error: invalid package name: $ac_package" >&2
    554958   { (exit 1); exit 1; }; }
    555     ac_package=`echo $ac_package| sed 's/-/_/g'`
    556     case $ac_option in
    557       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    558       *) ac_optarg=yes ;;
    559     esac
    560     eval "with_$ac_package='$ac_optarg'" ;;
     959    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
     960    eval with_$ac_package=\$ac_optarg ;;
    561961
    562962  -without-* | --without-*)
    563963    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    564964    # Reject names that are not valid shell variable names.
    565     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     965    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    566966      { echo "$as_me: error: invalid package name: $ac_package" >&2
    567967   { (exit 1); exit 1; }; }
    568     ac_package=`echo $ac_package | sed 's/-/_/g'`
    569     eval "with_$ac_package=no" ;;
     968    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
     969    eval with_$ac_package=no ;;
    570970
    571971  --x)
     
    598998      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    599999   { (exit 1); exit 1; }; }
    600     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
    601     eval "$ac_envvar='$ac_optarg'"
     1000    eval $ac_envvar=\$ac_optarg
    6021001    export $ac_envvar ;;
    6031002
     
    6191018fi
    6201019
    621 # Be sure to have absolute paths.
    622 for ac_var in exec_prefix prefix
     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
    6231025do
    624   eval ac_val=$`echo $ac_var`
     1026  eval ac_val=\$$ac_var
    6251027  case $ac_val in
    626     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
    627     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    628    { (exit 1); exit 1; }; };;
     1028    [\\/$]* | ?:[\\/]* )  continue;;
     1029    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
    6291030  esac
    630 done
    631 
    632 # Be sure to have absolute paths.
    633 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
    634               localstatedir libdir includedir oldincludedir infodir mandir
    635 do
    636   eval ac_val=$`echo $ac_var`
    637   case $ac_val in
    638     [\\/$]* | ?:[\\/]* ) ;;
    639     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    640    { (exit 1); exit 1; }; };;
    641   esac
     1031  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
     1032   { (exit 1); exit 1; }; }
    6421033done
    6431034
     
    6661057
    6671058
     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
    6681069# Find the source files, if location was not specified.
    6691070if test -z "$srcdir"; then
    6701071  ac_srcdir_defaulted=yes
    671   # Try the directory containing this script, then its parent.
    672   ac_confdir=`(dirname "$0") 2>/dev/null ||
     1072  # Try the directory containing this script, then the parent directory.
     1073  ac_confdir=`$as_dirname -- "$0" ||
    6731074$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    6741075         X"$0" : 'X\(//\)[^/]' \| \
    6751076         X"$0" : 'X\(//\)$' \| \
    676          X"$0" : 'X\(/\)' \| \
    677          .     : '\(.\)' 2>/dev/null ||
     1077         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    6781078echo X"$0" |
    679     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    680           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    681           /^X\(\/\/\)$/{ s//\1/; q; }
    682           /^X\(\/\).*/{ s//\1/; q; }
    683           s/.*/./; q'`
     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'`
    6841096  srcdir=$ac_confdir
    685   if test ! -r $srcdir/$ac_unique_file; then
     1097  if test ! -r "$srcdir/$ac_unique_file"; then
    6861098    srcdir=..
    6871099  fi
     
    6891101  ac_srcdir_defaulted=no
    6901102fi
    691 if test ! -r $srcdir/$ac_unique_file; then
    692   if test "$ac_srcdir_defaulted" = yes; then
    693     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
     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
    6941106   { (exit 1); exit 1; }; }
    695   else
    696     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
     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
    6971111   { (exit 1); exit 1; }; }
    698   fi
    699 fi
    700 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
    701   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
    702    { (exit 1); exit 1; }; }
    703 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
    704 ac_env_build_alias_set=${build_alias+set}
    705 ac_env_build_alias_value=$build_alias
    706 ac_cv_env_build_alias_set=${build_alias+set}
    707 ac_cv_env_build_alias_value=$build_alias
    708 ac_env_host_alias_set=${host_alias+set}
    709 ac_env_host_alias_value=$host_alias
    710 ac_cv_env_host_alias_set=${host_alias+set}
    711 ac_cv_env_host_alias_value=$host_alias
    712 ac_env_target_alias_set=${target_alias+set}
    713 ac_env_target_alias_value=$target_alias
    714 ac_cv_env_target_alias_set=${target_alias+set}
    715 ac_cv_env_target_alias_value=$target_alias
    716 ac_env_CC_set=${CC+set}
    717 ac_env_CC_value=$CC
    718 ac_cv_env_CC_set=${CC+set}
    719 ac_cv_env_CC_value=$CC
    720 ac_env_CFLAGS_set=${CFLAGS+set}
    721 ac_env_CFLAGS_value=$CFLAGS
    722 ac_cv_env_CFLAGS_set=${CFLAGS+set}
    723 ac_cv_env_CFLAGS_value=$CFLAGS
    724 ac_env_LDFLAGS_set=${LDFLAGS+set}
    725 ac_env_LDFLAGS_value=$LDFLAGS
    726 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
    727 ac_cv_env_LDFLAGS_value=$LDFLAGS
    728 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
    729 ac_env_CPPFLAGS_value=$CPPFLAGS
    730 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
    731 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
    732 ac_env_CPP_set=${CPP+set}
    733 ac_env_CPP_value=$CPP
    734 ac_cv_env_CPP_set=${CPP+set}
    735 ac_cv_env_CPP_value=$CPP
     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
    7361129
    7371130#
     
    7621155      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
    7631156
    764 _ACEOF
    765 
    766   cat <<_ACEOF
    7671157Installation directories:
    7681158  --prefix=PREFIX         install architecture-independent files in PREFIX
     
    7821172  --sbindir=DIR          system admin executables [EPREFIX/sbin]
    7831173  --libexecdir=DIR       program executables [EPREFIX/libexec]
    784   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
    7851174  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
    7861175  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
     
    7891178  --includedir=DIR       C header files [PREFIX/include]
    7901179  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
    791   --infodir=DIR          info documentation [PREFIX/info]
    792   --mandir=DIR           man documentation [PREFIX/man]
     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]
    7931190_ACEOF
    7941191
     
    8011198  cat <<\_ACEOF
    8021199
    803 Some influential environment variables:
    804   CC          C compiler command
    805   CFLAGS      C compiler flags
    806   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
    807               nonstandard directory <lib dir>
    808   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
    809               headers in a nonstandard directory <include dir>
    810   CPP         C preprocessor
    811 
    812 Use these variables to override the choices made by `configure' or to help
    813 it to find libraries and programs with nonstandard names/locations.
    814 
    815 _ACEOF
     1200_ACEOF
     1201ac_status=$?
    8161202fi
    8171203
    8181204if test "$ac_init_help" = "recursive"; then
    8191205  # If there are subdirs, report their specific --help.
    820   ac_popdir=`pwd`
    8211206  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
    822     test -d $ac_dir || continue
     1207    test -d "$ac_dir" || continue
    8231208    ac_builddir=.
    8241209
    825 if test "$ac_dir" != .; then
     1210case "$ac_dir" in
     1211.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     1212*)
    8261213  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    827   # A "../" for each directory in $ac_dir_suffix.
    828   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
    829 else
    830   ac_dir_suffix= ac_top_builddir=
    831 fi
     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
    8321225
    8331226case $srcdir in
    834   .)  # No --srcdir option.  We are building in place.
     1227  .)  # We are building in place.
    8351228    ac_srcdir=.
    836     if test -z "$ac_top_builddir"; then
    837        ac_top_srcdir=.
    838     else
    839        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    840     fi ;;
    841   [\\/]* | ?:[\\/]* )  # Absolute path.
     1229    ac_top_srcdir=$ac_top_builddir_sub
     1230    ac_abs_top_srcdir=$ac_pwd ;;
     1231  [\\/]* | ?:[\\/]* )  # Absolute name.
    8421232    ac_srcdir=$srcdir$ac_dir_suffix;
    843     ac_top_srcdir=$srcdir ;;
    844   *) # Relative path.
    845     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    846     ac_top_srcdir=$ac_top_builddir$srcdir ;;
     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 ;;
    8471239esac
    848 
    849 # Do not use `cd foo && pwd` to compute absolute paths, because
    850 # the directories may not exist.
    851 case `pwd` in
    852 .) ac_abs_builddir="$ac_dir";;
    853 *)
    854   case "$ac_dir" in
    855   .) ac_abs_builddir=`pwd`;;
    856   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
    857   *) ac_abs_builddir=`pwd`/"$ac_dir";;
    858   esac;;
    859 esac
    860 case $ac_abs_builddir in
    861 .) ac_abs_top_builddir=${ac_top_builddir}.;;
    862 *)
    863   case ${ac_top_builddir}. in
    864   .) ac_abs_top_builddir=$ac_abs_builddir;;
    865   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
    866   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
    867   esac;;
    868 esac
    869 case $ac_abs_builddir in
    870 .) ac_abs_srcdir=$ac_srcdir;;
    871 *)
    872   case $ac_srcdir in
    873   .) ac_abs_srcdir=$ac_abs_builddir;;
    874   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
    875   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
    876   esac;;
    877 esac
    878 case $ac_abs_builddir in
    879 .) ac_abs_top_srcdir=$ac_top_srcdir;;
    880 *)
    881   case $ac_top_srcdir in
    882   .) ac_abs_top_srcdir=$ac_abs_builddir;;
    883   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
    884   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
    885   esac;;
    886 esac
    887 
    888     cd $ac_dir
    889     # Check for guested configure; otherwise get Cygnus style configure.
    890     if test -f $ac_srcdir/configure.gnu; then
    891       echo
    892       $SHELL $ac_srcdir/configure.gnu  --help=recursive
    893     elif test -f $ac_srcdir/configure; then
    894       echo
    895       $SHELL $ac_srcdir/configure  --help=recursive
    896     elif test -f $ac_srcdir/configure.ac ||
    897            test -f $ac_srcdir/configure.in; then
    898       echo
    899       $ac_configure --help
     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
    9001250    else
    9011251      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
    902     fi
    903     cd "$ac_popdir"
     1252    fi || ac_status=$?
     1253    cd "$ac_pwd" || { ac_status=$?; break; }
    9041254  done
    9051255fi
    9061256
    907 test -n "$ac_init_help" && exit 0
     1257test -n "$ac_init_help" && exit $ac_status
    9081258if $ac_init_version; then
    9091259  cat <<\_ACEOF
    910 
    911 Copyright (C) 2003 Free Software Foundation, Inc.
     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.
    9121265This configure script is free software; the Free Software Foundation
    9131266gives unlimited permission to copy, distribute and modify it.
    9141267_ACEOF
    915   exit 0
    916 fi
    917 exec 5>config.log
    918 cat >&5 <<_ACEOF
     1268  exit
     1269fi
     1270cat >config.log <<_ACEOF
    9191271This file contains any messages produced by compilers while
    9201272running configure, to aid debugging if configure makes a mistake.
    9211273
    9221274It was created by $as_me, which was
    923 generated by GNU Autoconf 2.59.  Invocation command line was
     1275generated by GNU Autoconf 2.61.  Invocation command line was
    9241276
    9251277  $ $0 $@
    9261278
    9271279_ACEOF
     1280exec 5>>config.log
    9281281{
    9291282cat <<_ASUNAME
     
    9441297/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
    9451298/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
    946 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
     1299/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
    9471300/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
    9481301/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
     
    9581311  echo "PATH: $as_dir"
    9591312done
     1313IFS=$as_save_IFS
    9601314
    9611315} >&5
     
    9791333ac_configure_args0=
    9801334ac_configure_args1=
    981 ac_sep=
    9821335ac_must_keep_next=false
    9831336for ac_pass in 1 2
     
    9901343    | -silent | --silent | --silen | --sile | --sil)
    9911344      continue ;;
    992     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
     1345    *\'*)
    9931346      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    9941347    esac
     
    10121365        esac
    10131366      fi
    1014       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
    1015       # Get rid of the leading space.
    1016       ac_sep=" "
     1367      ac_configure_args="$ac_configure_args '$ac_arg'"
    10171368      ;;
    10181369    esac
     
    10251376# config.log.  We remove comments because anyway the quotes in there
    10261377# would cause problems or look ugly.
    1027 # WARNING: Be sure not to use single quotes in there, as some shells,
    1028 # such as our DU 5.0 friend, will then `close' the trap.
     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.
    10291380trap 'exit_status=$?
    10301381  # Save into config.log some information that might help in debugging.
     
    10391390    echo
    10401391    # The following way of writing the cache mishandles newlines in values,
    1041 {
     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
    10421407  (set) 2>&1 |
    1043     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
    1044     *ac_space=\ *)
     1408    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
     1409    *${as_nl}ac_space=\ *)
    10451410      sed -n \
    1046         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
    1047           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
     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"
    10481416      ;;
    1049     *)
    1050       sed -n \
    1051         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
    1052       ;;
    1053     esac;
    1054 }
     1417    esac |
     1418    sort
     1419)
    10551420    echo
    10561421
     
    10631428    for ac_var in $ac_subst_vars
    10641429    do
    1065       eval ac_val=$`echo $ac_var`
    1066       echo "$ac_var='"'"'$ac_val'"'"'"
     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'\''"
    10671435    done | sort
    10681436    echo
     
    10701438    if test -n "$ac_subst_files"; then
    10711439      cat <<\_ASBOX
    1072 ## ------------- ##
    1073 ## Output files. ##
    1074 ## ------------- ##
     1440## ------------------- ##
     1441## File substitutions. ##
     1442## ------------------- ##
    10751443_ASBOX
    10761444      echo
    10771445      for ac_var in $ac_subst_files
    10781446      do
    1079         eval ac_val=$`echo $ac_var`
    1080         echo "$ac_var='"'"'$ac_val'"'"'"
     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'\''"
    10811452      done | sort
    10821453      echo
     
    10901461_ASBOX
    10911462      echo
    1092       sed "/^$/d" confdefs.h | sort
     1463      cat confdefs.h
    10931464      echo
    10941465    fi
     
    10971468    echo "$as_me: exit $exit_status"
    10981469  } >&5
    1099   rm -f core *.core &&
    1100   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
     1470  rm -f core *.core core.conftest.* &&
     1471    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
    11011472    exit $exit_status
    1102      ' 0
     1473' 0
    11031474for ac_signal in 1 2 13 15; do
    11041475  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
     
    11071478
    11081479# confdefs.h avoids OS command line length limits that DEFS can exceed.
    1109 rm -rf conftest* confdefs.h
    1110 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
    1111 echo >confdefs.h
     1480rm -f -r conftest* confdefs.h
    11121481
    11131482# Predefined preprocessor variables.
     
    11401509# Let the site file select an alternate cache file if it wants to.
    11411510# Prefer explicitly selected file to automatically selected ones.
    1142 if test -z "$CONFIG_SITE"; then
    1143   if test "x$prefix" != xNONE; then
    1144     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
    1145   else
    1146     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
    1147   fi
    1148 fi
    1149 for ac_site_file in $CONFIG_SITE; do
     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
    11501522  if test -r "$ac_site_file"; then
    11511523    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
     
    11631535echo "$as_me: loading cache $cache_file" >&6;}
    11641536    case $cache_file in
    1165       [\\/]* | ?:[\\/]* ) . $cache_file;;
    1166       *)                      . ./$cache_file;;
     1537      [\\/]* | ?:[\\/]* ) . "$cache_file";;
     1538      *)                      . "./$cache_file";;
    11671539    esac
    11681540  fi
     
    11761548# value.
    11771549ac_cache_corrupted=false
    1178 for ac_var in `(set) 2>&1 |
    1179                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
     1550for ac_var in $ac_precious_vars; do
    11801551  eval ac_old_set=\$ac_cv_env_${ac_var}_set
    11811552  eval ac_new_set=\$ac_env_${ac_var}_set
    1182   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
    1183   eval ac_new_val="\$ac_env_${ac_var}_value"
     1553  eval ac_old_val=\$ac_cv_env_${ac_var}_value
     1554  eval ac_new_val=\$ac_env_${ac_var}_value
    11841555  case $ac_old_set,$ac_new_set in
    11851556    set,)
     
    12061577  if test "$ac_new_set" = set; then
    12071578    case $ac_new_val in
    1208     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
    1209       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
     1579    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
    12101580    *) ac_arg=$ac_var=$ac_new_val ;;
    12111581    esac
     
    12241594fi
    12251595
     1596
     1597
     1598
     1599
     1600
     1601
     1602
     1603
     1604
     1605
     1606
     1607
     1608
     1609
     1610
     1611
    12261612ac_ext=c
    12271613ac_cpp='$CPP $CPPFLAGS'
     
    12291615ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    12301616ac_compiler_gnu=$ac_cv_c_compiler_gnu
    1231 
    1232 
    1233 
    1234 
    1235 
    1236 
    1237 
    1238 
    1239 
    1240 
    1241 
    1242 
    1243 
    1244 
    1245 
    1246 
    12471617
    12481618
     
    12651635  # Extract the first word of "$ac_prog", so it can be a program name with args.
    12661636set dummy $ac_prog; ac_word=$2
    1267 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1268 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1637{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     1638echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    12691639if test "${ac_cv_path_PYTHON+set}" = set; then
    12701640  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    12811651  test -z "$as_dir" && as_dir=.
    12821652  for ac_exec_ext in '' $ac_executable_extensions; do
    1283   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     1653  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    12841654    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
    12851655    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    12881658done
    12891659done
     1660IFS=$as_save_IFS
    12901661
    12911662  ;;
     
    12931664fi
    12941665PYTHON=$ac_cv_path_PYTHON
    1295 
    12961666if test -n "$PYTHON"; then
    1297   echo "$as_me:$LINENO: result: $PYTHON" >&5
    1298 echo "${ECHO_T}$PYTHON" >&6
    1299 else
    1300   echo "$as_me:$LINENO: result: no" >&5
    1301 echo "${ECHO_T}no" >&6
    1302 fi
     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
    13031674
    13041675  test -n "$PYTHON" && break
     
    13171688
    13181689
    1319   echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
    1320 echo $ECHO_N "checking for $am_display_PYTHON version... $ECHO_C" >&6
     1690  { echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
     1691echo $ECHO_N "checking for $am_display_PYTHON version... $ECHO_C" >&6; }
    13211692if test "${am_cv_python_version+set}" = set; then
    13221693  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    13241695  am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"`
    13251696fi
    1326 echo "$as_me:$LINENO: result: $am_cv_python_version" >&5
    1327 echo "${ECHO_T}$am_cv_python_version" >&6
     1697{ echo "$as_me:$LINENO: result: $am_cv_python_version" >&5
     1698echo "${ECHO_T}$am_cv_python_version" >&6; }
    13281699  PYTHON_VERSION=$am_cv_python_version
    13291700
     
    13361707
    13371708
    1338   echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5
    1339 echo $ECHO_N "checking for $am_display_PYTHON platform... $ECHO_C" >&6
     1709  { echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5
     1710echo $ECHO_N "checking for $am_display_PYTHON platform... $ECHO_C" >&6; }
    13401711if test "${am_cv_python_platform+set}" = set; then
    13411712  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    13431714  am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"`
    13441715fi
    1345 echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5
    1346 echo "${ECHO_T}$am_cv_python_platform" >&6
     1716{ echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5
     1717echo "${ECHO_T}$am_cv_python_platform" >&6; }
    13471718  PYTHON_PLATFORM=$am_cv_python_platform
    13481719
     
    13501721
    13511722
    1352                 echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5
    1353 echo $ECHO_N "checking for $am_display_PYTHON script directory... $ECHO_C" >&6
     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; }
    13541725if test "${am_cv_python_pythondir+set}" = set; then
    13551726  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    13581729     echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
    13591730fi
    1360 echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
    1361 echo "${ECHO_T}$am_cv_python_pythondir" >&6
     1731{ echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
     1732echo "${ECHO_T}$am_cv_python_pythondir" >&6; }
    13621733  pythondir=$am_cv_python_pythondir
    13631734
     
    13671738
    13681739
    1369             echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5
    1370 echo $ECHO_N "checking for $am_display_PYTHON extension module directory... $ECHO_C" >&6
     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; }
    13711742if test "${am_cv_python_pyexecdir+set}" = set; then
    13721743  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    13751746     echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
    13761747fi
    1377 echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
    1378 echo "${ECHO_T}$am_cv_python_pyexecdir" >&6
     1748{ echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
     1749echo "${ECHO_T}$am_cv_python_pyexecdir" >&6; }
    13791750  pyexecdir=$am_cv_python_pyexecdir
    13801751
     
    13881759
    13891760
    1390 ac_ext=c
    1391 ac_cpp='$CPP $CPPFLAGS'
    1392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    1393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    1394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    1395 if test -n "$ac_tool_prefix"; then
    1396   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    1397 set dummy ${ac_tool_prefix}gcc; ac_word=$2
    1398 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1399 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1400 if test "${ac_cv_prog_CC+set}" = set; then
    1401   echo $ECHO_N "(cached) $ECHO_C" >&6
    1402 else
    1403   if test -n "$CC"; then
    1404   ac_cv_prog_CC="$CC" # Let the user override the test.
    1405 else
    1406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    1407 for as_dir in $PATH
    1408 do
    1409   IFS=$as_save_IFS
    1410   test -z "$as_dir" && as_dir=.
    1411   for ac_exec_ext in '' $ac_executable_extensions; do
    1412   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1413     ac_cv_prog_CC="${ac_tool_prefix}gcc"
    1414     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    1415     break 2
    1416   fi
    1417 done
    1418 done
    1419 
    1420 fi
    1421 fi
    1422 CC=$ac_cv_prog_CC
    1423 if test -n "$CC"; then
    1424   echo "$as_me:$LINENO: result: $CC" >&5
    1425 echo "${ECHO_T}$CC" >&6
    1426 else
    1427   echo "$as_me:$LINENO: result: no" >&5
    1428 echo "${ECHO_T}no" >&6
    1429 fi
    1430 
    1431 fi
    1432 if test -z "$ac_cv_prog_CC"; then
    1433   ac_ct_CC=$CC
    1434   # Extract the first word of "gcc", so it can be a program name with args.
    1435 set dummy gcc; ac_word=$2
    1436 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1437 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1438 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    1439   echo $ECHO_N "(cached) $ECHO_C" >&6
    1440 else
    1441   if test -n "$ac_ct_CC"; then
    1442   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    1443 else
    1444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    1445 for as_dir in $PATH
    1446 do
    1447   IFS=$as_save_IFS
    1448   test -z "$as_dir" && as_dir=.
    1449   for ac_exec_ext in '' $ac_executable_extensions; do
    1450   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1451     ac_cv_prog_ac_ct_CC="gcc"
    1452     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    1453     break 2
    1454   fi
    1455 done
    1456 done
    1457 
    1458 fi
    1459 fi
    1460 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    1461 if test -n "$ac_ct_CC"; then
    1462   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    1463 echo "${ECHO_T}$ac_ct_CC" >&6
    1464 else
    1465   echo "$as_me:$LINENO: result: no" >&5
    1466 echo "${ECHO_T}no" >&6
    1467 fi
    1468 
    1469   CC=$ac_ct_CC
    1470 else
    1471   CC="$ac_cv_prog_CC"
    1472 fi
    1473 
    1474 if test -z "$CC"; then
    1475   if test -n "$ac_tool_prefix"; then
    1476   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    1477 set dummy ${ac_tool_prefix}cc; ac_word=$2
    1478 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1479 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1480 if test "${ac_cv_prog_CC+set}" = set; then
    1481   echo $ECHO_N "(cached) $ECHO_C" >&6
    1482 else
    1483   if test -n "$CC"; then
    1484   ac_cv_prog_CC="$CC" # Let the user override the test.
    1485 else
    1486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    1487 for as_dir in $PATH
    1488 do
    1489   IFS=$as_save_IFS
    1490   test -z "$as_dir" && as_dir=.
    1491   for ac_exec_ext in '' $ac_executable_extensions; do
    1492   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1493     ac_cv_prog_CC="${ac_tool_prefix}cc"
    1494     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    1495     break 2
    1496   fi
    1497 done
    1498 done
    1499 
    1500 fi
    1501 fi
    1502 CC=$ac_cv_prog_CC
    1503 if test -n "$CC"; then
    1504   echo "$as_me:$LINENO: result: $CC" >&5
    1505 echo "${ECHO_T}$CC" >&6
    1506 else
    1507   echo "$as_me:$LINENO: result: no" >&5
    1508 echo "${ECHO_T}no" >&6
    1509 fi
    1510 
    1511 fi
    1512 if test -z "$ac_cv_prog_CC"; then
    1513   ac_ct_CC=$CC
    1514   # Extract the first word of "cc", so it can be a program name with args.
    1515 set dummy cc; ac_word=$2
    1516 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1517 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1518 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    1519   echo $ECHO_N "(cached) $ECHO_C" >&6
    1520 else
    1521   if test -n "$ac_ct_CC"; then
    1522   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    1523 else
    1524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    1525 for as_dir in $PATH
    1526 do
    1527   IFS=$as_save_IFS
    1528   test -z "$as_dir" && as_dir=.
    1529   for ac_exec_ext in '' $ac_executable_extensions; do
    1530   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1531     ac_cv_prog_ac_ct_CC="cc"
    1532     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    1533     break 2
    1534   fi
    1535 done
    1536 done
    1537 
    1538 fi
    1539 fi
    1540 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    1541 if test -n "$ac_ct_CC"; then
    1542   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    1543 echo "${ECHO_T}$ac_ct_CC" >&6
    1544 else
    1545   echo "$as_me:$LINENO: result: no" >&5
    1546 echo "${ECHO_T}no" >&6
    1547 fi
    1548 
    1549   CC=$ac_ct_CC
    1550 else
    1551   CC="$ac_cv_prog_CC"
    1552 fi
    1553 
    1554 fi
    1555 if test -z "$CC"; then
    1556   # Extract the first word of "cc", so it can be a program name with args.
    1557 set dummy cc; ac_word=$2
    1558 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1559 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1560 if test "${ac_cv_prog_CC+set}" = set; then
    1561   echo $ECHO_N "(cached) $ECHO_C" >&6
    1562 else
    1563   if test -n "$CC"; then
    1564   ac_cv_prog_CC="$CC" # Let the user override the test.
    1565 else
    1566   ac_prog_rejected=no
    1567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    1568 for as_dir in $PATH
    1569 do
    1570   IFS=$as_save_IFS
    1571   test -z "$as_dir" && as_dir=.
    1572   for ac_exec_ext in '' $ac_executable_extensions; do
    1573   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1574     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    1575        ac_prog_rejected=yes
    1576        continue
    1577      fi
    1578     ac_cv_prog_CC="cc"
    1579     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    1580     break 2
    1581   fi
    1582 done
    1583 done
    1584 
    1585 if test $ac_prog_rejected = yes; then
    1586   # We found a bogon in the path, so make sure we never use it.
    1587   set dummy $ac_cv_prog_CC
    1588   shift
    1589   if test $# != 0; then
    1590     # We chose a different compiler from the bogus one.
    1591     # However, it has the same basename, so the bogon will be chosen
    1592     # first if we set CC to just the basename; use the full file name.
    1593     shift
    1594     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
    1595   fi
    1596 fi
    1597 fi
    1598 fi
    1599 CC=$ac_cv_prog_CC
    1600 if test -n "$CC"; then
    1601   echo "$as_me:$LINENO: result: $CC" >&5
    1602 echo "${ECHO_T}$CC" >&6
    1603 else
    1604   echo "$as_me:$LINENO: result: no" >&5
    1605 echo "${ECHO_T}no" >&6
    1606 fi
    1607 
    1608 fi
    1609 if test -z "$CC"; then
    1610   if test -n "$ac_tool_prefix"; then
    1611   for ac_prog in cl
    1612   do
    1613     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    1614 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    1615 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1616 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1617 if test "${ac_cv_prog_CC+set}" = set; then
    1618   echo $ECHO_N "(cached) $ECHO_C" >&6
    1619 else
    1620   if test -n "$CC"; then
    1621   ac_cv_prog_CC="$CC" # Let the user override the test.
    1622 else
    1623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    1624 for as_dir in $PATH
    1625 do
    1626   IFS=$as_save_IFS
    1627   test -z "$as_dir" && as_dir=.
    1628   for ac_exec_ext in '' $ac_executable_extensions; do
    1629   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1630     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    1631     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    1632     break 2
    1633   fi
    1634 done
    1635 done
    1636 
    1637 fi
    1638 fi
    1639 CC=$ac_cv_prog_CC
    1640 if test -n "$CC"; then
    1641   echo "$as_me:$LINENO: result: $CC" >&5
    1642 echo "${ECHO_T}$CC" >&6
    1643 else
    1644   echo "$as_me:$LINENO: result: no" >&5
    1645 echo "${ECHO_T}no" >&6
    1646 fi
    1647 
    1648     test -n "$CC" && break
    1649   done
    1650 fi
    1651 if test -z "$CC"; then
    1652   ac_ct_CC=$CC
    1653   for ac_prog in cl
    1654 do
    1655   # Extract the first word of "$ac_prog", so it can be a program name with args.
    1656 set dummy $ac_prog; ac_word=$2
    1657 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1658 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1659 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    1660   echo $ECHO_N "(cached) $ECHO_C" >&6
    1661 else
    1662   if test -n "$ac_ct_CC"; then
    1663   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    1664 else
    1665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    1666 for as_dir in $PATH
    1667 do
    1668   IFS=$as_save_IFS
    1669   test -z "$as_dir" && as_dir=.
    1670   for ac_exec_ext in '' $ac_executable_extensions; do
    1671   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1672     ac_cv_prog_ac_ct_CC="$ac_prog"
    1673     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    1674     break 2
    1675   fi
    1676 done
    1677 done
    1678 
    1679 fi
    1680 fi
    1681 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    1682 if test -n "$ac_ct_CC"; then
    1683   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    1684 echo "${ECHO_T}$ac_ct_CC" >&6
    1685 else
    1686   echo "$as_me:$LINENO: result: no" >&5
    1687 echo "${ECHO_T}no" >&6
    1688 fi
    1689 
    1690   test -n "$ac_ct_CC" && break
    1691 done
    1692 
    1693   CC=$ac_ct_CC
    1694 fi
    1695 
    1696 fi
    1697 
    1698 
    1699 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
    1700 See \`config.log' for more details." >&5
    1701 echo "$as_me: error: no acceptable C compiler found in \$PATH
    1702 See \`config.log' for more details." >&2;}
    1703    { (exit 1); exit 1; }; }
    1704 
    1705 # Provide some information about the compiler.
    1706 echo "$as_me:$LINENO:" \
    1707      "checking for C compiler version" >&5
    1708 ac_compiler=`set X $ac_compile; echo $2`
    1709 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
    1710   (eval $ac_compiler --version </dev/null >&5) 2>&5
    1711   ac_status=$?
    1712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1713   (exit $ac_status); }
    1714 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
    1715   (eval $ac_compiler -v </dev/null >&5) 2>&5
    1716   ac_status=$?
    1717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1718   (exit $ac_status); }
    1719 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
    1720   (eval $ac_compiler -V </dev/null >&5) 2>&5
    1721   ac_status=$?
    1722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1723   (exit $ac_status); }
    1724 
    1725 cat >conftest.$ac_ext <<_ACEOF
    1726 /* confdefs.h.  */
    1727 _ACEOF
    1728 cat confdefs.h >>conftest.$ac_ext
    1729 cat >>conftest.$ac_ext <<_ACEOF
    1730 /* end confdefs.h.  */
    1731 
    1732 int
    1733 main ()
    1734 {
    1735 
    1736   ;
    1737   return 0;
    1738 }
    1739 _ACEOF
    1740 ac_clean_files_save=$ac_clean_files
    1741 ac_clean_files="$ac_clean_files a.out a.exe b.out"
    1742 # Try to create an executable without -o first, disregard a.out.
    1743 # It will help us diagnose broken compilers, and finding out an intuition
    1744 # of exeext.
    1745 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
    1746 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
    1747 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    1748 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
    1749   (eval $ac_link_default) 2>&5
    1750   ac_status=$?
    1751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1752   (exit $ac_status); }; then
    1753   # Find the output, starting from the most likely.  This scheme is
    1754 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
    1755 # resort.
    1756 
    1757 # Be careful to initialize this variable, since it used to be cached.
    1758 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
    1759 ac_cv_exeext=
    1760 # b.out is created by i960 compilers.
    1761 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
    1762 do
    1763   test -f "$ac_file" || continue
    1764   case $ac_file in
    1765     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
    1766         ;;
    1767     conftest.$ac_ext )
    1768         # This is the source file.
    1769         ;;
    1770     [ab].out )
    1771         # We found the default executable, but exeext='' is most
    1772         # certainly right.
    1773         break;;
    1774     *.* )
    1775         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    1776         # FIXME: I believe we export ac_cv_exeext for Libtool,
    1777         # but it would be cool to find out if it's true.  Does anybody
    1778         # maintain Libtool? --akim.
    1779         export ac_cv_exeext
    1780         break;;
    1781     * )
    1782         break;;
    1783   esac
    1784 done
    1785 else
    1786   echo "$as_me: failed program was:" >&5
    1787 sed 's/^/| /' conftest.$ac_ext >&5
    1788 
    1789 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
    1790 See \`config.log' for more details." >&5
    1791 echo "$as_me: error: C compiler cannot create executables
    1792 See \`config.log' for more details." >&2;}
    1793    { (exit 77); exit 77; }; }
    1794 fi
    1795 
    1796 ac_exeext=$ac_cv_exeext
    1797 echo "$as_me:$LINENO: result: $ac_file" >&5
    1798 echo "${ECHO_T}$ac_file" >&6
    1799 
    1800 # Check the compiler produces executables we can run.  If not, either
    1801 # the compiler is broken, or we cross compile.
    1802 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
    1803 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
    1804 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
    1805 # If not cross compiling, check that we can run a simple program.
    1806 if test "$cross_compiling" != yes; then
    1807   if { ac_try='./$ac_file'
    1808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1809   (eval $ac_try) 2>&5
    1810   ac_status=$?
    1811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1812   (exit $ac_status); }; }; then
    1813     cross_compiling=no
    1814   else
    1815     if test "$cross_compiling" = maybe; then
    1816         cross_compiling=yes
    1817     else
    1818         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
    1819 If you meant to cross compile, use \`--host'.
    1820 See \`config.log' for more details." >&5
    1821 echo "$as_me: error: cannot run C compiled programs.
    1822 If you meant to cross compile, use \`--host'.
    1823 See \`config.log' for more details." >&2;}
    1824    { (exit 1); exit 1; }; }
    1825     fi
    1826   fi
    1827 fi
    1828 echo "$as_me:$LINENO: result: yes" >&5
    1829 echo "${ECHO_T}yes" >&6
    1830 
    1831 rm -f a.out a.exe conftest$ac_cv_exeext b.out
    1832 ac_clean_files=$ac_clean_files_save
    1833 # Check the compiler produces executables we can run.  If not, either
    1834 # the compiler is broken, or we cross compile.
    1835 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
    1836 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
    1837 echo "$as_me:$LINENO: result: $cross_compiling" >&5
    1838 echo "${ECHO_T}$cross_compiling" >&6
    1839 
    1840 echo "$as_me:$LINENO: checking for suffix of executables" >&5
    1841 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
    1842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    1843   (eval $ac_link) 2>&5
    1844   ac_status=$?
    1845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1846   (exit $ac_status); }; then
    1847   # If both `conftest.exe' and `conftest' are `present' (well, observable)
    1848 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
    1849 # work properly (i.e., refer to `conftest.exe'), while it won't with
    1850 # `rm'.
    1851 for ac_file in conftest.exe conftest conftest.*; do
    1852   test -f "$ac_file" || continue
    1853   case $ac_file in
    1854     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
    1855     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    1856           export ac_cv_exeext
    1857           break;;
    1858     * ) break;;
    1859   esac
    1860 done
    1861 else
    1862   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
    1863 See \`config.log' for more details." >&5
    1864 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
    1865 See \`config.log' for more details." >&2;}
    1866    { (exit 1); exit 1; }; }
    1867 fi
    1868 
    1869 rm -f conftest$ac_cv_exeext
    1870 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
    1871 echo "${ECHO_T}$ac_cv_exeext" >&6
    1872 
    1873 rm -f conftest.$ac_ext
    1874 EXEEXT=$ac_cv_exeext
    1875 ac_exeext=$EXEEXT
    1876 echo "$as_me:$LINENO: checking for suffix of object files" >&5
    1877 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
    1878 if test "${ac_cv_objext+set}" = set; then
    1879   echo $ECHO_N "(cached) $ECHO_C" >&6
    1880 else
    1881   cat >conftest.$ac_ext <<_ACEOF
    1882 /* confdefs.h.  */
    1883 _ACEOF
    1884 cat confdefs.h >>conftest.$ac_ext
    1885 cat >>conftest.$ac_ext <<_ACEOF
    1886 /* end confdefs.h.  */
    1887 
    1888 int
    1889 main ()
    1890 {
    1891 
    1892   ;
    1893   return 0;
    1894 }
    1895 _ACEOF
    1896 rm -f conftest.o conftest.obj
    1897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    1898   (eval $ac_compile) 2>&5
    1899   ac_status=$?
    1900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1901   (exit $ac_status); }; then
    1902   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
    1903   case $ac_file in
    1904     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
    1905     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
    1906        break;;
    1907   esac
    1908 done
    1909 else
    1910   echo "$as_me: failed program was:" >&5
    1911 sed 's/^/| /' conftest.$ac_ext >&5
    1912 
    1913 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
    1914 See \`config.log' for more details." >&5
    1915 echo "$as_me: error: cannot compute suffix of object files: cannot compile
    1916 See \`config.log' for more details." >&2;}
    1917    { (exit 1); exit 1; }; }
    1918 fi
    1919 
    1920 rm -f conftest.$ac_cv_objext conftest.$ac_ext
    1921 fi
    1922 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
    1923 echo "${ECHO_T}$ac_cv_objext" >&6
    1924 OBJEXT=$ac_cv_objext
    1925 ac_objext=$OBJEXT
    1926 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
    1927 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
    1928 if test "${ac_cv_c_compiler_gnu+set}" = set; then
    1929   echo $ECHO_N "(cached) $ECHO_C" >&6
    1930 else
    1931   cat >conftest.$ac_ext <<_ACEOF
    1932 /* confdefs.h.  */
    1933 _ACEOF
    1934 cat confdefs.h >>conftest.$ac_ext
    1935 cat >>conftest.$ac_ext <<_ACEOF
    1936 /* end confdefs.h.  */
    1937 
    1938 int
    1939 main ()
    1940 {
    1941 #ifndef __GNUC__
    1942        choke me
    1943 #endif
    1944 
    1945   ;
    1946   return 0;
    1947 }
    1948 _ACEOF
    1949 rm -f conftest.$ac_objext
    1950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    1951   (eval $ac_compile) 2>conftest.er1
    1952   ac_status=$?
    1953   grep -v '^ *+' conftest.er1 >conftest.err
    1954   rm -f conftest.er1
    1955   cat conftest.err >&5
    1956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1957   (exit $ac_status); } &&
    1958          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    1959   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1960   (eval $ac_try) 2>&5
    1961   ac_status=$?
    1962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1963   (exit $ac_status); }; } &&
    1964          { ac_try='test -s conftest.$ac_objext'
    1965   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1966   (eval $ac_try) 2>&5
    1967   ac_status=$?
    1968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1969   (exit $ac_status); }; }; then
    1970   ac_compiler_gnu=yes
    1971 else
    1972   echo "$as_me: failed program was:" >&5
    1973 sed 's/^/| /' conftest.$ac_ext >&5
    1974 
    1975 ac_compiler_gnu=no
    1976 fi
    1977 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    1978 ac_cv_c_compiler_gnu=$ac_compiler_gnu
    1979 
    1980 fi
    1981 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
    1982 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
    1983 GCC=`test $ac_compiler_gnu = yes && echo yes`
    1984 ac_test_CFLAGS=${CFLAGS+set}
    1985 ac_save_CFLAGS=$CFLAGS
    1986 CFLAGS="-g"
    1987 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
    1988 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
    1989 if test "${ac_cv_prog_cc_g+set}" = set; then
    1990   echo $ECHO_N "(cached) $ECHO_C" >&6
    1991 else
    1992   cat >conftest.$ac_ext <<_ACEOF
    1993 /* confdefs.h.  */
    1994 _ACEOF
    1995 cat confdefs.h >>conftest.$ac_ext
    1996 cat >>conftest.$ac_ext <<_ACEOF
    1997 /* end confdefs.h.  */
    1998 
    1999 int
    2000 main ()
    2001 {
    2002 
    2003   ;
    2004   return 0;
    2005 }
    2006 _ACEOF
    2007 rm -f conftest.$ac_objext
    2008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2009   (eval $ac_compile) 2>conftest.er1
    2010   ac_status=$?
    2011   grep -v '^ *+' conftest.er1 >conftest.err
    2012   rm -f conftest.er1
    2013   cat conftest.err >&5
    2014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2015   (exit $ac_status); } &&
    2016          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    2017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2018   (eval $ac_try) 2>&5
    2019   ac_status=$?
    2020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2021   (exit $ac_status); }; } &&
    2022          { ac_try='test -s conftest.$ac_objext'
    2023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2024   (eval $ac_try) 2>&5
    2025   ac_status=$?
    2026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2027   (exit $ac_status); }; }; then
    2028   ac_cv_prog_cc_g=yes
    2029 else
    2030   echo "$as_me: failed program was:" >&5
    2031 sed 's/^/| /' conftest.$ac_ext >&5
    2032 
    2033 ac_cv_prog_cc_g=no
    2034 fi
    2035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2036 fi
    2037 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
    2038 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
    2039 if test "$ac_test_CFLAGS" = set; then
    2040   CFLAGS=$ac_save_CFLAGS
    2041 elif test $ac_cv_prog_cc_g = yes; then
    2042   if test "$GCC" = yes; then
    2043     CFLAGS="-g -O2"
    2044   else
    2045     CFLAGS="-g"
    2046   fi
    2047 else
    2048   if test "$GCC" = yes; then
    2049     CFLAGS="-O2"
    2050   else
    2051     CFLAGS=
    2052   fi
    2053 fi
    2054 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
    2055 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
    2056 if test "${ac_cv_prog_cc_stdc+set}" = set; then
    2057   echo $ECHO_N "(cached) $ECHO_C" >&6
    2058 else
    2059   ac_cv_prog_cc_stdc=no
    2060 ac_save_CC=$CC
    2061 cat >conftest.$ac_ext <<_ACEOF
    2062 /* confdefs.h.  */
    2063 _ACEOF
    2064 cat confdefs.h >>conftest.$ac_ext
    2065 cat >>conftest.$ac_ext <<_ACEOF
    2066 /* end confdefs.h.  */
    2067 #include <stdarg.h>
    2068 #include <stdio.h>
    2069 #include <sys/types.h>
    2070 #include <sys/stat.h>
    2071 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
    2072 struct buf { int x; };
    2073 FILE * (*rcsopen) (struct buf *, struct stat *, int);
    2074 static char *e (p, i)
    2075      char **p;
    2076      int i;
    2077 {
    2078   return p[i];
    2079 }
    2080 static char *f (char * (*g) (char **, int), char **p, ...)
    2081 {
    2082   char *s;
    2083   va_list v;
    2084   va_start (v,p);
    2085   s = g (p, va_arg (v,int));
    2086   va_end (v);
    2087   return s;
    2088 }
    2089 
    2090 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
    2091    function prototypes and stuff, but not '\xHH' hex character constants.
    2092    These don't provoke an error unfortunately, instead are silently treated
    2093    as 'x'.  The following induces an error, until -std1 is added to get
    2094    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
    2095    array size at least.  It's necessary to write '\x00'==0 to get something
    2096    that's true only with -std1.  */
    2097 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
    2098 
    2099 int test (int i, double x);
    2100 struct s1 {int (*f) (int a);};
    2101 struct s2 {int (*f) (double a);};
    2102 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
    2103 int argc;
    2104 char **argv;
    2105 int
    2106 main ()
    2107 {
    2108 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
    2109   ;
    2110   return 0;
    2111 }
    2112 _ACEOF
    2113 # Don't try gcc -ansi; that turns off useful extensions and
    2114 # breaks some systems' header files.
    2115 # AIX                   -qlanglvl=ansi
    2116 # Ultrix and OSF/1      -std1
    2117 # HP-UX 10.20 and later -Ae
    2118 # HP-UX older versions  -Aa -D_HPUX_SOURCE
    2119 # SVR4                  -Xc -D__EXTENSIONS__
    2120 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
    2121 do
    2122   CC="$ac_save_CC $ac_arg"
    2123   rm -f conftest.$ac_objext
    2124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2125   (eval $ac_compile) 2>conftest.er1
    2126   ac_status=$?
    2127   grep -v '^ *+' conftest.er1 >conftest.err
    2128   rm -f conftest.er1
    2129   cat conftest.err >&5
    2130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2131   (exit $ac_status); } &&
    2132          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    2133   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2134   (eval $ac_try) 2>&5
    2135   ac_status=$?
    2136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2137   (exit $ac_status); }; } &&
    2138          { ac_try='test -s conftest.$ac_objext'
    2139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2140   (eval $ac_try) 2>&5
    2141   ac_status=$?
    2142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2143   (exit $ac_status); }; }; then
    2144   ac_cv_prog_cc_stdc=$ac_arg
    2145 break
    2146 else
    2147   echo "$as_me: failed program was:" >&5
    2148 sed 's/^/| /' conftest.$ac_ext >&5
    2149 
    2150 fi
    2151 rm -f conftest.err conftest.$ac_objext
    2152 done
    2153 rm -f conftest.$ac_ext conftest.$ac_objext
    2154 CC=$ac_save_CC
    2155 
    2156 fi
    2157 
    2158 case "x$ac_cv_prog_cc_stdc" in
    2159   x|xno)
    2160     echo "$as_me:$LINENO: result: none needed" >&5
    2161 echo "${ECHO_T}none needed" >&6 ;;
    2162   *)
    2163     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
    2164 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
    2165     CC="$CC $ac_cv_prog_cc_stdc" ;;
    2166 esac
    2167 
    2168 # Some people use a C++ compiler to compile C.  Since we use `exit',
    2169 # in C++ we need to declare it.  In case someone uses the same compiler
    2170 # for both compiling C and C++ we need to have the C++ compiler decide
    2171 # the declaration of exit, since it's the most demanding environment.
    2172 cat >conftest.$ac_ext <<_ACEOF
    2173 #ifndef __cplusplus
    2174   choke me
    2175 #endif
    2176 _ACEOF
    2177 rm -f conftest.$ac_objext
    2178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2179   (eval $ac_compile) 2>conftest.er1
    2180   ac_status=$?
    2181   grep -v '^ *+' conftest.er1 >conftest.err
    2182   rm -f conftest.er1
    2183   cat conftest.err >&5
    2184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2185   (exit $ac_status); } &&
    2186          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    2187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2188   (eval $ac_try) 2>&5
    2189   ac_status=$?
    2190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2191   (exit $ac_status); }; } &&
    2192          { ac_try='test -s conftest.$ac_objext'
    2193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2194   (eval $ac_try) 2>&5
    2195   ac_status=$?
    2196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2197   (exit $ac_status); }; }; then
    2198   for ac_declaration in \
    2199    '' \
    2200    'extern "C" void std::exit (int) throw (); using std::exit;' \
    2201    'extern "C" void std::exit (int); using std::exit;' \
    2202    'extern "C" void exit (int) throw ();' \
    2203    'extern "C" void exit (int);' \
    2204    'void exit (int);'
    2205 do
    2206   cat >conftest.$ac_ext <<_ACEOF
    2207 /* confdefs.h.  */
    2208 _ACEOF
    2209 cat confdefs.h >>conftest.$ac_ext
    2210 cat >>conftest.$ac_ext <<_ACEOF
    2211 /* end confdefs.h.  */
    2212 $ac_declaration
    2213 #include <stdlib.h>
    2214 int
    2215 main ()
    2216 {
    2217 exit (42);
    2218   ;
    2219   return 0;
    2220 }
    2221 _ACEOF
    2222 rm -f conftest.$ac_objext
    2223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2224   (eval $ac_compile) 2>conftest.er1
    2225   ac_status=$?
    2226   grep -v '^ *+' conftest.er1 >conftest.err
    2227   rm -f conftest.er1
    2228   cat conftest.err >&5
    2229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2230   (exit $ac_status); } &&
    2231          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    2232   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2233   (eval $ac_try) 2>&5
    2234   ac_status=$?
    2235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2236   (exit $ac_status); }; } &&
    2237          { ac_try='test -s conftest.$ac_objext'
    2238   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2239   (eval $ac_try) 2>&5
    2240   ac_status=$?
    2241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2242   (exit $ac_status); }; }; then
    2243   :
    2244 else
    2245   echo "$as_me: failed program was:" >&5
    2246 sed 's/^/| /' conftest.$ac_ext >&5
    2247 
    2248 continue
    2249 fi
    2250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2251   cat >conftest.$ac_ext <<_ACEOF
    2252 /* confdefs.h.  */
    2253 _ACEOF
    2254 cat confdefs.h >>conftest.$ac_ext
    2255 cat >>conftest.$ac_ext <<_ACEOF
    2256 /* end confdefs.h.  */
    2257 $ac_declaration
    2258 int
    2259 main ()
    2260 {
    2261 exit (42);
    2262   ;
    2263   return 0;
    2264 }
    2265 _ACEOF
    2266 rm -f conftest.$ac_objext
    2267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2268   (eval $ac_compile) 2>conftest.er1
    2269   ac_status=$?
    2270   grep -v '^ *+' conftest.er1 >conftest.err
    2271   rm -f conftest.er1
    2272   cat conftest.err >&5
    2273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2274   (exit $ac_status); } &&
    2275          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    2276   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2277   (eval $ac_try) 2>&5
    2278   ac_status=$?
    2279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2280   (exit $ac_status); }; } &&
    2281          { ac_try='test -s conftest.$ac_objext'
    2282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2283   (eval $ac_try) 2>&5
    2284   ac_status=$?
    2285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2286   (exit $ac_status); }; }; then
    2287   break
    2288 else
    2289   echo "$as_me: failed program was:" >&5
    2290 sed 's/^/| /' conftest.$ac_ext >&5
    2291 
    2292 fi
    2293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2294 done
    2295 rm -f conftest*
    2296 if test -n "$ac_declaration"; then
    2297   echo '#ifdef __cplusplus' >>confdefs.h
    2298   echo $ac_declaration      >>confdefs.h
    2299   echo '#endif'             >>confdefs.h
    2300 fi
    2301 
    2302 else
    2303   echo "$as_me: failed program was:" >&5
    2304 sed 's/^/| /' conftest.$ac_ext >&5
    2305 
    2306 fi
    2307 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2308 ac_ext=c
    2309 ac_cpp='$CPP $CPPFLAGS'
    2310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    2311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    2312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2313 
    2314 
    2315 ac_ext=c
    2316 ac_cpp='$CPP $CPPFLAGS'
    2317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    2318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    2319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2320 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
    2321 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
    2322 # On Suns, sometimes $CPP names a directory.
    2323 if test -n "$CPP" && test -d "$CPP"; then
    2324   CPP=
    2325 fi
    2326 if test -z "$CPP"; then
    2327   if test "${ac_cv_prog_CPP+set}" = set; then
    2328   echo $ECHO_N "(cached) $ECHO_C" >&6
    2329 else
    2330       # Double quotes because CPP needs to be expanded
    2331     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
    2332     do
    2333       ac_preproc_ok=false
    2334 for ac_c_preproc_warn_flag in '' yes
    2335 do
    2336   # Use a header file that comes with gcc, so configuring glibc
    2337   # with a fresh cross-compiler works.
    2338   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    2339   # <limits.h> exists even on freestanding compilers.
    2340   # On the NeXT, cc -E runs the code through the compiler's parser,
    2341   # not just through cpp. "Syntax error" is here to catch this case.
    2342   cat >conftest.$ac_ext <<_ACEOF
    2343 /* confdefs.h.  */
    2344 _ACEOF
    2345 cat confdefs.h >>conftest.$ac_ext
    2346 cat >>conftest.$ac_ext <<_ACEOF
    2347 /* end confdefs.h.  */
    2348 #ifdef __STDC__
    2349 # include <limits.h>
    2350 #else
    2351 # include <assert.h>
    2352 #endif
    2353                      Syntax error
    2354 _ACEOF
    2355 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    2356   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    2357   ac_status=$?
    2358   grep -v '^ *+' conftest.er1 >conftest.err
    2359   rm -f conftest.er1
    2360   cat conftest.err >&5
    2361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2362   (exit $ac_status); } >/dev/null; then
    2363   if test -s conftest.err; then
    2364     ac_cpp_err=$ac_c_preproc_warn_flag
    2365     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    2366   else
    2367     ac_cpp_err=
    2368   fi
    2369 else
    2370   ac_cpp_err=yes
    2371 fi
    2372 if test -z "$ac_cpp_err"; then
    2373   :
    2374 else
    2375   echo "$as_me: failed program was:" >&5
    2376 sed 's/^/| /' conftest.$ac_ext >&5
    2377 
    2378   # Broken: fails on valid input.
    2379 continue
    2380 fi
    2381 rm -f conftest.err conftest.$ac_ext
    2382 
    2383   # OK, works on sane cases.  Now check whether non-existent headers
    2384   # can be detected and how.
    2385   cat >conftest.$ac_ext <<_ACEOF
    2386 /* confdefs.h.  */
    2387 _ACEOF
    2388 cat confdefs.h >>conftest.$ac_ext
    2389 cat >>conftest.$ac_ext <<_ACEOF
    2390 /* end confdefs.h.  */
    2391 #include <ac_nonexistent.h>
    2392 _ACEOF
    2393 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    2394   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    2395   ac_status=$?
    2396   grep -v '^ *+' conftest.er1 >conftest.err
    2397   rm -f conftest.er1
    2398   cat conftest.err >&5
    2399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2400   (exit $ac_status); } >/dev/null; then
    2401   if test -s conftest.err; then
    2402     ac_cpp_err=$ac_c_preproc_warn_flag
    2403     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    2404   else
    2405     ac_cpp_err=
    2406   fi
    2407 else
    2408   ac_cpp_err=yes
    2409 fi
    2410 if test -z "$ac_cpp_err"; then
    2411   # Broken: success on invalid input.
    2412 continue
    2413 else
    2414   echo "$as_me: failed program was:" >&5
    2415 sed 's/^/| /' conftest.$ac_ext >&5
    2416 
    2417   # Passes both tests.
    2418 ac_preproc_ok=:
    2419 break
    2420 fi
    2421 rm -f conftest.err conftest.$ac_ext
    2422 
    2423 done
    2424 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    2425 rm -f conftest.err conftest.$ac_ext
    2426 if $ac_preproc_ok; then
    2427   break
    2428 fi
    2429 
    2430     done
    2431     ac_cv_prog_CPP=$CPP
    2432 
    2433 fi
    2434   CPP=$ac_cv_prog_CPP
    2435 else
    2436   ac_cv_prog_CPP=$CPP
    2437 fi
    2438 echo "$as_me:$LINENO: result: $CPP" >&5
    2439 echo "${ECHO_T}$CPP" >&6
    2440 ac_preproc_ok=false
    2441 for ac_c_preproc_warn_flag in '' yes
    2442 do
    2443   # Use a header file that comes with gcc, so configuring glibc
    2444   # with a fresh cross-compiler works.
    2445   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    2446   # <limits.h> exists even on freestanding compilers.
    2447   # On the NeXT, cc -E runs the code through the compiler's parser,
    2448   # not just through cpp. "Syntax error" is here to catch this case.
    2449   cat >conftest.$ac_ext <<_ACEOF
    2450 /* confdefs.h.  */
    2451 _ACEOF
    2452 cat confdefs.h >>conftest.$ac_ext
    2453 cat >>conftest.$ac_ext <<_ACEOF
    2454 /* end confdefs.h.  */
    2455 #ifdef __STDC__
    2456 # include <limits.h>
    2457 #else
    2458 # include <assert.h>
    2459 #endif
    2460                      Syntax error
    2461 _ACEOF
    2462 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    2463   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    2464   ac_status=$?
    2465   grep -v '^ *+' conftest.er1 >conftest.err
    2466   rm -f conftest.er1
    2467   cat conftest.err >&5
    2468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2469   (exit $ac_status); } >/dev/null; then
    2470   if test -s conftest.err; then
    2471     ac_cpp_err=$ac_c_preproc_warn_flag
    2472     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    2473   else
    2474     ac_cpp_err=
    2475   fi
    2476 else
    2477   ac_cpp_err=yes
    2478 fi
    2479 if test -z "$ac_cpp_err"; then
    2480   :
    2481 else
    2482   echo "$as_me: failed program was:" >&5
    2483 sed 's/^/| /' conftest.$ac_ext >&5
    2484 
    2485   # Broken: fails on valid input.
    2486 continue
    2487 fi
    2488 rm -f conftest.err conftest.$ac_ext
    2489 
    2490   # OK, works on sane cases.  Now check whether non-existent headers
    2491   # can be detected and how.
    2492   cat >conftest.$ac_ext <<_ACEOF
    2493 /* confdefs.h.  */
    2494 _ACEOF
    2495 cat confdefs.h >>conftest.$ac_ext
    2496 cat >>conftest.$ac_ext <<_ACEOF
    2497 /* end confdefs.h.  */
    2498 #include <ac_nonexistent.h>
    2499 _ACEOF
    2500 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    2501   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    2502   ac_status=$?
    2503   grep -v '^ *+' conftest.er1 >conftest.err
    2504   rm -f conftest.er1
    2505   cat conftest.err >&5
    2506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2507   (exit $ac_status); } >/dev/null; then
    2508   if test -s conftest.err; then
    2509     ac_cpp_err=$ac_c_preproc_warn_flag
    2510     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    2511   else
    2512     ac_cpp_err=
    2513   fi
    2514 else
    2515   ac_cpp_err=yes
    2516 fi
    2517 if test -z "$ac_cpp_err"; then
    2518   # Broken: success on invalid input.
    2519 continue
    2520 else
    2521   echo "$as_me: failed program was:" >&5
    2522 sed 's/^/| /' conftest.$ac_ext >&5
    2523 
    2524   # Passes both tests.
    2525 ac_preproc_ok=:
    2526 break
    2527 fi
    2528 rm -f conftest.err conftest.$ac_ext
    2529 
    2530 done
    2531 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    2532 rm -f conftest.err conftest.$ac_ext
    2533 if $ac_preproc_ok; then
    2534   :
    2535 else
    2536   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
    2537 See \`config.log' for more details." >&5
    2538 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
    2539 See \`config.log' for more details." >&2;}
    2540    { (exit 1); exit 1; }; }
    2541 fi
    2542 
    2543 ac_ext=c
    2544 ac_cpp='$CPP $CPPFLAGS'
    2545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    2546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    2547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2548 
    2549 
    2550 echo "$as_me:$LINENO: checking for egrep" >&5
    2551 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
    2552 if test "${ac_cv_prog_egrep+set}" = set; then
    2553   echo $ECHO_N "(cached) $ECHO_C" >&6
    2554 else
    2555   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
    2556     then ac_cv_prog_egrep='grep -E'
    2557     else ac_cv_prog_egrep='egrep'
    2558     fi
    2559 fi
    2560 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
    2561 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
    2562  EGREP=$ac_cv_prog_egrep
    2563 
    2564 
    2565 if test $ac_cv_c_compiler_gnu = yes; then
    2566     echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
    2567 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
    2568 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
    2569   echo $ECHO_N "(cached) $ECHO_C" >&6
    2570 else
    2571     ac_pattern="Autoconf.*'x'"
    2572   cat >conftest.$ac_ext <<_ACEOF
    2573 /* confdefs.h.  */
    2574 _ACEOF
    2575 cat confdefs.h >>conftest.$ac_ext
    2576 cat >>conftest.$ac_ext <<_ACEOF
    2577 /* end confdefs.h.  */
    2578 #include <sgtty.h>
    2579 Autoconf TIOCGETP
    2580 _ACEOF
    2581 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    2582   $EGREP "$ac_pattern" >/dev/null 2>&1; then
    2583   ac_cv_prog_gcc_traditional=yes
    2584 else
    2585   ac_cv_prog_gcc_traditional=no
    2586 fi
    2587 rm -f conftest*
    2588 
    2589 
    2590   if test $ac_cv_prog_gcc_traditional = no; then
    2591     cat >conftest.$ac_ext <<_ACEOF
    2592 /* confdefs.h.  */
    2593 _ACEOF
    2594 cat confdefs.h >>conftest.$ac_ext
    2595 cat >>conftest.$ac_ext <<_ACEOF
    2596 /* end confdefs.h.  */
    2597 #include <termio.h>
    2598 Autoconf TCGETA
    2599 _ACEOF
    2600 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    2601   $EGREP "$ac_pattern" >/dev/null 2>&1; then
    2602   ac_cv_prog_gcc_traditional=yes
    2603 fi
    2604 rm -f conftest*
    2605 
    2606   fi
    2607 fi
    2608 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
    2609 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
    2610   if test $ac_cv_prog_gcc_traditional = yes; then
    2611     CC="$CC -traditional"
    2612   fi
    2613 fi
    2614 
     1761#AC_PROG_GCC_TRADITIONAL
    26151762
    26161763if test "x$DEBUG" = "x";then
     
    26531800
    26541801
    2655                                                   ac_config_files="$ac_config_files Makefile pxeconfig pxeconfigd hexls examples/pxeconfigd.xinetd"
     1802ac_config_files="$ac_config_files Makefile pxeconfig pxeconfigd hexls examples/pxeconfigd.xinetd"
     1803
    26561804cat >confcache <<\_ACEOF
    26571805# This file is a shell script that caches the results of configure
     
    26721820# The following way of writing the cache mishandles newlines in values,
    26731821# but we know of no workaround that is simple, portable, and efficient.
    2674 # So, don't put newlines in cache variables' values.
     1822# So, we kill variables containing newlines.
    26751823# Ultrix sh set writes to stderr and can't be redirected directly,
    26761824# and sets the high bit in the cache file unless we assign to the vars.
    2677 {
     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
    26781841  (set) 2>&1 |
    2679     case `(ac_space=' '; set | grep ac_space) 2>&1` in
    2680     *ac_space=\ *)
     1842    case $as_nl`(ac_space=' '; set) 2>&1` in #(
     1843    *${as_nl}ac_space=\ *)
    26811844      # `set' does not quote correctly, so add quotes (double-quote
    26821845      # substitution turns \\\\ into \\, and sed turns \\ into \).
     
    26841847        "s/'/'\\\\''/g;
    26851848          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
    2686       ;;
     1849      ;; #(
    26871850    *)
    26881851      # `set' quotes correctly as required by POSIX, so do not add quotes.
    2689       sed -n \
    2690         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
     1852      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
    26911853      ;;
    2692     esac;
    2693 } |
     1854    esac |
     1855    sort
     1856) |
    26941857  sed '
     1858     /^ac_cv_env_/b end
    26951859     t clear
    2696      : clear
     1860     :clear
    26971861     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
    26981862     t end
    2699      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
    2700      : end' >>confcache
    2701 if diff $cache_file confcache >/dev/null 2>&1; then :; else
    2702   if test -w $cache_file; then
    2703     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
     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;}
    27041870    cat confcache >$cache_file
    27051871  else
    2706     echo "not updating unwritable cache $cache_file"
     1872    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
     1873echo "$as_me: not updating unwritable cache $cache_file" >&6;}
    27071874  fi
    27081875fi
     
    27121879# Let make expand exec_prefix.
    27131880test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
    2714 
    2715 # VPATH may cause trouble with some makes, so we remove $(srcdir),
    2716 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
    2717 # trailing colons and then remove the whole line if VPATH becomes empty
    2718 # (actually we leave an empty line to preserve line numbers).
    2719 if test "x$srcdir" = x.; then
    2720   ac_vpsub='/^[  ]*VPATH[        ]*=/{
    2721 s/:*\$(srcdir):*/:/;
    2722 s/:*\${srcdir}:*/:/;
    2723 s/:*@srcdir@:*/:/;
    2724 s/^\([^=]*=[     ]*\):*/\1/;
    2725 s/:*$//;
    2726 s/^[^=]*=[       ]*$//;
    2727 }'
    2728 fi
    27291881
    27301882# Transform confdefs.h into DEFS.
     
    27331885#
    27341886# If the first sed substitution is executed (which looks for macros that
    2735 # take arguments), then we branch to the quote section.  Otherwise,
     1887# take arguments), then branch to the quote section.  Otherwise,
    27361888# look for a macro that doesn't take arguments.
    2737 cat >confdef2opt.sed <<\_ACEOF
     1889ac_script='
    27381890t clear
    2739 : clear
    2740 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
     1891:clear
     1892s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
    27411893t quote
    2742 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
     1894s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
    27431895t quote
    2744 d
    2745 : quote
    2746 s,[      `~#$^&*(){}\\|;'"<>?],\\&,g
    2747 s,\[,\\&,g
    2748 s,\],\\&,g
    2749 s,\$,$$,g
    2750 p
    2751 _ACEOF
    2752 # We use echo to avoid assuming a particular line-breaking character.
    2753 # The extra dot is to prevent the shell from consuming trailing
    2754 # line-breaks from the sub-command output.  A line-break within
    2755 # single-quotes doesn't work because, if this script is created in a
    2756 # platform that uses two characters for line-breaks (e.g., DOS), tr
    2757 # would break.
    2758 ac_LF_and_DOT=`echo; echo .`
    2759 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
    2760 rm -f confdef2opt.sed
     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`
    27611912
    27621913
     
    27651916for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
    27661917  # 1. Remove the extension, and $U if already installed.
    2767   ac_i=`echo "$ac_i" |
    2768          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
    2769   # 2. Add them.
    2770   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
    2771   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
     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'
    27721924done
    27731925LIBOBJS=$ac_libobjs
     
    28001952## --------------------- ##
    28011953
    2802 # Be Bourne compatible
     1954# Be more Bourne compatible
     1955DUALCASE=1; export DUALCASE # for MKS sh
    28031956if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    28041957  emulate sh
     
    28071960  # is contrary to our usage.  Disable this feature.
    28081961  alias -g '${1+"$@"}'='"$@"'
    2809 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
    2810   set -o posix
    2811 fi
    2812 DUALCASE=1; export DUALCASE # for MKS sh
    2813 
    2814 # Support unset when possible.
    2815 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    2816   as_unset=unset
    2817 else
    2818   as_unset=false
    2819 fi
    2820 
    2821 
    2822 # Work around bugs in pre-3.0 UWIN ksh.
    2823 $as_unset ENV MAIL MAILPATH
    2824 PS1='$ '
    2825 PS2='> '
    2826 PS4='+ '
    2827 
    2828 # NLS nuisances.
    2829 for as_var in \
    2830   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    2831   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    2832   LC_TELEPHONE LC_TIME
    2833 do
    2834   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    2835     eval $as_var=C; export $as_var
    2836   else
    2837     $as_unset $as_var
    2838   fi
    2839 done
    2840 
    2841 # Required to use basename.
    2842 if expr a : '\(a\)' >/dev/null 2>&1; then
    2843   as_expr=expr
    2844 else
    2845   as_expr=false
    2846 fi
    2847 
    2848 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
    2849   as_basename=basename
    2850 else
    2851   as_basename=false
    2852 fi
    2853 
    2854 
    2855 # Name of the executable.
    2856 as_me=`$as_basename "$0" ||
    2857 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    2858          X"$0" : 'X\(//\)$' \| \
    2859          X"$0" : 'X\(/\)$' \| \
    2860          .     : '\(.\)' 2>/dev/null ||
    2861 echo X/"$0" |
    2862     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
    2863           /^X\/\(\/\/\)$/{ s//\1/; q; }
    2864           /^X\/\(\/\).*/{ s//\1/; q; }
    2865           s/.*/./; q'`
    2866 
    2867 
    2868 # PATH needs CR, and LINENO needs CR and PATH.
     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
    28691974# Avoid depending upon Character Ranges.
    28701975as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     
    28871992fi
    28881993
    2889 
    2890   as_lineno_1=$LINENO
    2891   as_lineno_2=$LINENO
    2892   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    2893   test "x$as_lineno_1" != "x$as_lineno_2" &&
    2894   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
    2895   # Find who we are.  Look in the path if we contain no path at all
    2896   # relative or not.
    2897   case $0 in
    2898     *[\\/]* ) as_myself=$0 ;;
    2899     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     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
    29002015for as_dir in $PATH
    29012016do
     
    29042019  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    29052020done
    2906 
    2907        ;;
    2908   esac
    2909   # We did not find ourselves, most probably we were run as `sh COMMAND'
    2910   # in which case we are not to be found in the path.
    2911   if test "x$as_myself" = x; then
    2912     as_myself=$0
     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
    29132053  fi
    2914   if test ! -f "$as_myself"; then
    2915     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
    2916 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
    2917    { (exit 1); exit 1; }; }
    2918   fi
    2919   case $CONFIG_SHELL in
    2920   '')
    2921     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2922 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    2923 do
    2924   IFS=$as_save_IFS
    2925   test -z "$as_dir" && as_dir=.
    2926   for as_base in sh bash ksh sh5; do
    2927          case $as_dir in
    2928          /*)
    2929            if ("$as_dir/$as_base" -c '
     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
    29302096  as_lineno_1=$LINENO
    29312097  as_lineno_2=$LINENO
    2932   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    29332098  test "x$as_lineno_1" != "x$as_lineno_2" &&
    2934   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
    2935              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
    2936              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
    2937              CONFIG_SHELL=$as_dir/$as_base
    2938              export CONFIG_SHELL
    2939              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
    2940            fi;;
    2941          esac
    2942        done
    2943 done
    2944 ;;
    2945   esac
     2099  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    29462100
    29472101  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    29482102  # uniformly replaced by the line number.  The first 'sed' inserts a
    2949   # line-number line before each line; the second 'sed' does the real
    2950   # work.  The second script uses 'N' to pair each line-number line
    2951   # with the numbered line, and appends trailing '-' during
    2952   # substitution so that $LINENO is not a special case at line end.
     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.
    29532108  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    2954   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
    2955   sed '=' <$as_myself |
     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 |
    29562115    sed '
     2116      s/[$]LINENO.*/&-/
     2117      t lineno
     2118      b
     2119      :lineno
    29572120      N
    2958       s,$,-,
    2959       : loop
    2960       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
     2121      :loop
     2122      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    29612123      t loop
    2962       s,-$,,
    2963       s,^['$as_cr_digits']*\n,,
     2124      s/-\n.*//
    29642125    ' >$as_me.lineno &&
    2965   chmod +x $as_me.lineno ||
    2966     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
    2967 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
     2126  chmod +x "$as_me.lineno" ||
     2127    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    29682128   { (exit 1); exit 1; }; }
    29692129
    29702130  # Don't try to exec as it changes $[0], causing all sort of problems
    29712131  # (the dirname of $[0] is not the place where we might find the
    2972   # original and so on.  Autoconf is especially sensible to this).
    2973   . ./$as_me.lineno
     2132  # original and so on.  Autoconf is especially sensitive to this).
     2133  . "./$as_me.lineno"
    29742134  # Exit status is that of the last command.
    29752135  exit
     
    29772137
    29782138
    2979 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
    2980   *c*,-n*) ECHO_N= ECHO_C='
    2981 ' ECHO_T='      ' ;;
    2982   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
    2983   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
     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';;
    29842154esac
    29852155
    2986 if expr a : '\(a\)' >/dev/null 2>&1; then
     2156if expr a : '\(a\)' >/dev/null 2>&1 &&
     2157   test "X`expr 00001 : '.*\(...\)'`" = X001; then
    29872158  as_expr=expr
    29882159else
     
    29912162
    29922163rm -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
    29932170echo >conf$$.file
    29942171if ln -s conf$$.file conf$$ 2>/dev/null; then
    2995   # We could just check for DJGPP; but this test a) works b) is more generic
    2996   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
    2997   if test -f conf$$.exe; then
    2998     # Don't use ln at all; we don't have any links
     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 ||
    29992178    as_ln_s='cp -p'
    3000   else
    3001     as_ln_s='ln -s'
    3002   fi
    30032179elif ln conf$$.file conf$$ 2>/dev/null; then
    30042180  as_ln_s=ln
     
    30062182  as_ln_s='cp -p'
    30072183fi
    3008 rm -f conf$$ conf$$.exe conf$$.file
     2184rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
     2185rmdir conf$$.dir 2>/dev/null
    30092186
    30102187if mkdir -p . 2>/dev/null; then
     
    30152192fi
    30162193
    3017 as_executable_p="test -f"
     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
    30182216
    30192217# Sed expression to map a string onto a valid CPP name.
     
    30242222
    30252223
    3026 # IFS
    3027 # We need space, tab and new line, in precisely that order.
    3028 as_nl='
    3029 '
    3030 IFS="   $as_nl"
    3031 
    3032 # CDPATH.
    3033 $as_unset CDPATH
    3034 
    30352224exec 6>&1
    30362225
    3037 # Open the log real soon, to keep \$[0] and so on meaningful, and to
     2226# Save the log message, to keep $[0] and so on meaningful, and to
    30382227# report actual input values of CONFIG_FILES etc. instead of their
    3039 # values after options handling.  Logging --version etc. is OK.
    3040 exec 5>>config.log
    3041 {
    3042   echo
    3043   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
    3044 ## Running $as_me. ##
    3045 _ASBOX
    3046 } >&5
    3047 cat >&5 <<_CSEOF
    3048 
     2228# values after options handling.
     2229ac_log="
    30492230This file was extended by $as_me, which was
    3050 generated by GNU Autoconf 2.59.  Invocation command line was
     2231generated by GNU Autoconf 2.61.  Invocation command line was
    30512232
    30522233  CONFIG_FILES    = $CONFIG_FILES
     
    30562237  $ $0 $@
    30572238
    3058 _CSEOF
    3059 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
    3060 echo >&5
    3061 _ACEOF
    3062 
     2239on `(hostname || uname -n) 2>/dev/null | sed 1q`
     2240"
     2241
     2242_ACEOF
     2243
     2244cat >>$CONFIG_STATUS <<_ACEOF
    30632245# Files that config.status was made for.
    3064 if test -n "$ac_config_files"; then
    3065   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
    3066 fi
    3067 
    3068 if test -n "$ac_config_headers"; then
    3069   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
    3070 fi
    3071 
    3072 if test -n "$ac_config_links"; then
    3073   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
    3074 fi
    3075 
    3076 if test -n "$ac_config_commands"; then
    3077   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
    3078 fi
     2246config_files="$ac_config_files"
     2247
     2248_ACEOF
    30792249
    30802250cat >>$CONFIG_STATUS <<\_ACEOF
    3081 
    30822251ac_cs_usage="\
    30832252\`$as_me' instantiates files from templates according to the
     
    30872256
    30882257  -h, --help       print this help, then exit
    3089   -V, --version    print version number, then exit
     2258  -V, --version    print version number and configuration settings, then exit
    30902259  -q, --quiet      do not print progress messages
    30912260  -d, --debug      don't remove temporary files
     
    30982267
    30992268Report bugs to <bug-autoconf@gnu.org>."
    3100 _ACEOF
    3101 
     2269
     2270_ACEOF
    31022271cat >>$CONFIG_STATUS <<_ACEOF
    31032272ac_cs_version="\\
    31042273config.status
    3105 configured by $0, generated by GNU Autoconf 2.59,
    3106   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
    3107 
    3108 Copyright (C) 2003 Free Software Foundation, Inc.
     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.
    31092278This config.status script is free software; the Free Software Foundation
    31102279gives unlimited permission to copy, distribute and modify it."
    3111 srcdir=$srcdir
     2280
     2281ac_pwd='$ac_pwd'
     2282srcdir='$srcdir'
    31122283_ACEOF
    31132284
     
    31202291  case $1 in
    31212292  --*=*)
    3122     ac_option=`expr "x$1" : 'x\([^=]*\)='`
    3123     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
     2293    ac_option=`expr "X$1" : 'X\([^=]*\)='`
     2294    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
    31242295    ac_shift=:
    31252296    ;;
    3126   -*)
     2297  *)
    31272298    ac_option=$1
    31282299    ac_optarg=$2
    31292300    ac_shift=shift
    31302301    ;;
    3131   *) # This is not an option, so the user has probably given explicit
    3132      # arguments.
    3133      ac_option=$1
    3134      ac_need_defaults=false;;
    31352302  esac
    31362303
    31372304  case $ac_option in
    31382305  # Handling of the options.
    3139 _ACEOF
    3140 cat >>$CONFIG_STATUS <<\_ACEOF
    31412306  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
    31422307    ac_cs_recheck=: ;;
    3143   --version | --vers* | -V )
    3144     echo "$ac_cs_version"; exit 0 ;;
    3145   --he | --h)
    3146     # Conflict between --help and --header
    3147     { { echo "$as_me:$LINENO: error: ambiguous option: $1
    3148 Try \`$0 --help' for more information." >&5
    3149 echo "$as_me: error: ambiguous option: $1
    3150 Try \`$0 --help' for more information." >&2;}
    3151    { (exit 1); exit 1; }; };;
    3152   --help | --hel | -h )
    3153     echo "$ac_cs_usage"; exit 0 ;;
    3154   --debug | --d* | -d )
     2308  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
     2309    echo "$ac_cs_version"; exit ;;
     2310  --debug | --debu | --deb | --de | --d | -d )
    31552311    debug=: ;;
    31562312  --file | --fil | --fi | --f )
     
    31582314    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
    31592315    ac_need_defaults=false;;
    3160   --header | --heade | --head | --hea )
    3161     $ac_shift
    3162     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
    3163     ac_need_defaults=false;;
     2316  --he | --h |  --help | --hel | -h )
     2317    echo "$ac_cs_usage"; exit ;;
    31642318  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    31652319  | -silent | --silent | --silen | --sile | --sil | --si | --s)
     
    31672321
    31682322  # This is an error.
    3169   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
    3170 Try \`$0 --help' for more information." >&5
    3171 echo "$as_me: error: unrecognized option: $1
    3172 Try \`$0 --help' for more information." >&2;}
     2323  -*) { echo "$as_me: error: unrecognized option: $1
     2324Try \`$0 --help' for more information." >&2
    31732325   { (exit 1); exit 1; }; } ;;
    31742326
    3175   *) ac_config_targets="$ac_config_targets $1" ;;
     2327  *) ac_config_targets="$ac_config_targets $1"
     2328     ac_need_defaults=false ;;
    31762329
    31772330  esac
     
    31892342cat >>$CONFIG_STATUS <<_ACEOF
    31902343if \$ac_cs_recheck; then
    3191   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
    3192   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
    3193 fi
    3194 
    3195 _ACEOF
    3196 
    3197 
    3198 
    3199 
    3200 
     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
    32012351cat >>$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.
    32022368for ac_config_target in $ac_config_targets
    32032369do
    3204   case "$ac_config_target" in
    3205   # Handling of arguments.
    3206   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
    3207   "pxeconfig" ) CONFIG_FILES="$CONFIG_FILES pxeconfig" ;;
    3208   "pxeconfigd" ) CONFIG_FILES="$CONFIG_FILES pxeconfigd" ;;
    3209   "hexls" ) CONFIG_FILES="$CONFIG_FILES hexls" ;;
    3210   "examples/pxeconfigd.xinetd" ) CONFIG_FILES="$CONFIG_FILES examples/pxeconfigd.xinetd" ;;
     2370  case $ac_config_target in
     2371    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
     2372    "pxeconfig") CONFIG_FILES="$CONFIG_FILES pxeconfig" ;;
     2373    "pxeconfigd") CONFIG_FILES="$CONFIG_FILES pxeconfigd" ;;
     2374    "hexls") CONFIG_FILES="$CONFIG_FILES hexls" ;;
     2375    "examples/pxeconfigd.xinetd") CONFIG_FILES="$CONFIG_FILES examples/pxeconfigd.xinetd" ;;
     2376
    32112377  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
    32122378echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
     
    32142380  esac
    32152381done
     2382
    32162383
    32172384# If the user did not use the arguments to specify the items to instantiate,
     
    32242391
    32252392# Have a temporary directory for convenience.  Make it in the build tree
    3226 # simply because there is no reason to put it here, and in addition,
     2393# simply because there is no reason against having it here, and in addition,
    32272394# creating and moving files from /tmp can sometimes cause problems.
    3228 # Create a temporary directory, and hook for its removal unless debugging.
     2395# Hook for its removal unless debugging.
     2396# Note that there is a small window in which the directory will not be cleaned:
     2397# after its creation but before its name has been assigned to `$tmp'.
    32292398$debug ||
    32302399{
    3231   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
     2400  tmp=
     2401  trap 'exit_status=$?
     2402  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
     2403' 0
    32322404  trap '{ (exit 1); exit 1; }' 1 2 13 15
    32332405}
    3234 
    32352406# Create a (secure) tmp directory for tmp files.
    32362407
    32372408{
    3238   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
     2409  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
    32392410  test -n "$tmp" && test -d "$tmp"
    32402411}  ||
    32412412{
    3242   tmp=./confstat$$-$RANDOM
    3243   (umask 077 && mkdir $tmp)
     2413  tmp=./conf$$-$RANDOM
     2414  (umask 077 && mkdir "$tmp")
    32442415} ||
    32452416{
     
    32482419}
    32492420
    3250 _ACEOF
    3251 
    3252 cat >>$CONFIG_STATUS <<_ACEOF
    3253 
    32542421#
    3255 # CONFIG_FILES section.
     2422# Set up the sed scripts for CONFIG_FILES section.
    32562423#
    32572424
    32582425# No need to generate the scripts if there are no CONFIG_FILES.
    32592426# This happens for instance when ./config.status config.h
    3260 if test -n "\$CONFIG_FILES"; then
    3261   # Protect against being on the right side of a sed subst in config.status.
    3262   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
    3263    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
    3264 s,@SHELL@,$SHELL,;t t
    3265 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
    3266 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
    3267 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
    3268 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
    3269 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
    3270 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
    3271 s,@exec_prefix@,$exec_prefix,;t t
    3272 s,@prefix@,$prefix,;t t
    3273 s,@program_transform_name@,$program_transform_name,;t t
    3274 s,@bindir@,$bindir,;t t
    3275 s,@sbindir@,$sbindir,;t t
    3276 s,@libexecdir@,$libexecdir,;t t
    3277 s,@datadir@,$datadir,;t t
    3278 s,@sysconfdir@,$sysconfdir,;t t
    3279 s,@sharedstatedir@,$sharedstatedir,;t t
    3280 s,@localstatedir@,$localstatedir,;t t
    3281 s,@libdir@,$libdir,;t t
    3282 s,@includedir@,$includedir,;t t
    3283 s,@oldincludedir@,$oldincludedir,;t t
    3284 s,@infodir@,$infodir,;t t
    3285 s,@mandir@,$mandir,;t t
    3286 s,@build_alias@,$build_alias,;t t
    3287 s,@host_alias@,$host_alias,;t t
    3288 s,@target_alias@,$target_alias,;t t
    3289 s,@DEFS@,$DEFS,;t t
    3290 s,@ECHO_C@,$ECHO_C,;t t
    3291 s,@ECHO_N@,$ECHO_N,;t t
    3292 s,@ECHO_T@,$ECHO_T,;t t
    3293 s,@LIBS@,$LIBS,;t t
    3294 s,@pyexecdir@,$pyexecdir,;t t
    3295 s,@PYTHON@,$PYTHON,;t t
    3296 s,@PYTHON_VERSION@,$PYTHON_VERSION,;t t
    3297 s,@PYTHON_PREFIX@,$PYTHON_PREFIX,;t t
    3298 s,@PYTHON_EXEC_PREFIX@,$PYTHON_EXEC_PREFIX,;t t
    3299 s,@PYTHON_PLATFORM@,$PYTHON_PLATFORM,;t t
    3300 s,@pythondir@,$pythondir,;t t
    3301 s,@pkgpythondir@,$pkgpythondir,;t t
    3302 s,@pkgpyexecdir@,$pkgpyexecdir,;t t
    3303 s,@CC@,$CC,;t t
    3304 s,@CFLAGS@,$CFLAGS,;t t
    3305 s,@LDFLAGS@,$LDFLAGS,;t t
    3306 s,@CPPFLAGS@,$CPPFLAGS,;t t
    3307 s,@ac_ct_CC@,$ac_ct_CC,;t t
    3308 s,@EXEEXT@,$EXEEXT,;t t
    3309 s,@OBJEXT@,$OBJEXT,;t t
    3310 s,@CPP@,$CPP,;t t
    3311 s,@EGREP@,$EGREP,;t t
    3312 s,@DEBUG@,$DEBUG,;t t
    3313 s,@pxeconfig_conf@,$pxeconfig_conf,;t t
    3314 s,@SYSTEM_PXECONFIG_CONF@,$SYSTEM_PXECONFIG_CONF,;t t
    3315 s,@LIBOBJS@,$LIBOBJS,;t t
    3316 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
    3317 CEOF
    3318 
    3319 _ACEOF
    3320 
    3321   cat >>$CONFIG_STATUS <<\_ACEOF
    3322   # Split the substitutions into bite-sized pieces for seds with
    3323   # small command number limits, like on Digital OSF/1 and HP-UX.
    3324   ac_max_sed_lines=48
    3325   ac_sed_frag=1 # Number of current file.
    3326   ac_beg=1 # First line for current file.
    3327   ac_end=$ac_max_sed_lines # Line after last line for current file.
    3328   ac_more_lines=:
    3329   ac_sed_cmds=
    3330   while $ac_more_lines; do
    3331     if test $ac_beg -gt 1; then
    3332       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
    3333     else
    3334       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
     2427if test -n "$CONFIG_FILES"; then
     2428
     2429_ACEOF
     2430
     2431
     2432
     2433ac_delim='%!_!# '
     2434for ac_last_try in false false false false false :; do
     2435  cat >conf$$subs.sed <<_ACEOF
     2436SHELL!$SHELL$ac_delim
     2437PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
     2438PACKAGE_NAME!$PACKAGE_NAME$ac_delim
     2439PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
     2440PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
     2441PACKAGE_STRING!$PACKAGE_STRING$ac_delim
     2442PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
     2443exec_prefix!$exec_prefix$ac_delim
     2444prefix!$prefix$ac_delim
     2445program_transform_name!$program_transform_name$ac_delim
     2446bindir!$bindir$ac_delim
     2447sbindir!$sbindir$ac_delim
     2448libexecdir!$libexecdir$ac_delim
     2449datarootdir!$datarootdir$ac_delim
     2450datadir!$datadir$ac_delim
     2451sysconfdir!$sysconfdir$ac_delim
     2452sharedstatedir!$sharedstatedir$ac_delim
     2453localstatedir!$localstatedir$ac_delim
     2454includedir!$includedir$ac_delim
     2455oldincludedir!$oldincludedir$ac_delim
     2456docdir!$docdir$ac_delim
     2457infodir!$infodir$ac_delim
     2458htmldir!$htmldir$ac_delim
     2459dvidir!$dvidir$ac_delim
     2460pdfdir!$pdfdir$ac_delim
     2461psdir!$psdir$ac_delim
     2462libdir!$libdir$ac_delim
     2463localedir!$localedir$ac_delim
     2464mandir!$mandir$ac_delim
     2465DEFS!$DEFS$ac_delim
     2466ECHO_C!$ECHO_C$ac_delim
     2467ECHO_N!$ECHO_N$ac_delim
     2468ECHO_T!$ECHO_T$ac_delim
     2469LIBS!$LIBS$ac_delim
     2470build_alias!$build_alias$ac_delim
     2471host_alias!$host_alias$ac_delim
     2472target_alias!$target_alias$ac_delim
     2473pyexecdir!$pyexecdir$ac_delim
     2474PYTHON!$PYTHON$ac_delim
     2475PYTHON_VERSION!$PYTHON_VERSION$ac_delim
     2476PYTHON_PREFIX!$PYTHON_PREFIX$ac_delim
     2477PYTHON_EXEC_PREFIX!$PYTHON_EXEC_PREFIX$ac_delim
     2478PYTHON_PLATFORM!$PYTHON_PLATFORM$ac_delim
     2479pythondir!$pythondir$ac_delim
     2480pkgpythondir!$pkgpythondir$ac_delim
     2481pkgpyexecdir!$pkgpyexecdir$ac_delim
     2482DEBUG!$DEBUG$ac_delim
     2483pxeconfig_conf!$pxeconfig_conf$ac_delim
     2484SYSTEM_PXECONFIG_CONF!$SYSTEM_PXECONFIG_CONF$ac_delim
     2485LIBOBJS!$LIBOBJS$ac_delim
     2486LTLIBOBJS!$LTLIBOBJS$ac_delim
     2487_ACEOF
     2488
     2489  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 51; then
     2490    break
     2491  elif $ac_last_try; then
     2492    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
     2493echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
     2494   { (exit 1); exit 1; }; }
     2495  else
     2496    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
     2497  fi
     2498done
     2499
     2500ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
     2501if test -n "$ac_eof"; then
     2502  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
     2503  ac_eof=`expr $ac_eof + 1`
     2504fi
     2505
     2506cat >>$CONFIG_STATUS <<_ACEOF
     2507cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
     2508/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
     2509_ACEOF
     2510sed '
     2511s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
     2512s/^/s,@/; s/!/@,|#_!!_#|/
     2513:n
     2514t n
     2515s/'"$ac_delim"'$/,g/; t
     2516s/$/\\/; p
     2517N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
     2518' >>$CONFIG_STATUS <conf$$subs.sed
     2519rm -f conf$$subs.sed
     2520cat >>$CONFIG_STATUS <<_ACEOF
     2521:end
     2522s/|#_!!_#|//g
     2523CEOF$ac_eof
     2524_ACEOF
     2525
     2526
     2527# VPATH may cause trouble with some makes, so we remove $(srcdir),
     2528# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
     2529# trailing colons and then remove the whole line if VPATH becomes empty
     2530# (actually we leave an empty line to preserve line numbers).
     2531if test "x$srcdir" = x.; then
     2532  ac_vpsub='/^[  ]*VPATH[        ]*=/{
     2533s/:*\$(srcdir):*/:/
     2534s/:*\${srcdir}:*/:/
     2535s/:*@srcdir@:*/:/
     2536s/^\([^=]*=[     ]*\):*/\1/
     2537s/:*$//
     2538s/^[^=]*=[       ]*$//
     2539}'
     2540fi
     2541
     2542cat >>$CONFIG_STATUS <<\_ACEOF
     2543fi # test -n "$CONFIG_FILES"
     2544
     2545
     2546for ac_tag in  :F $CONFIG_FILES
     2547do
     2548  case $ac_tag in
     2549  :[FHLC]) ac_mode=$ac_tag; continue;;
     2550  esac
     2551  case $ac_mode$ac_tag in
     2552  :[FHL]*:*);;
     2553  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
     2554echo "$as_me: error: Invalid tag $ac_tag." >&2;}
     2555   { (exit 1); exit 1; }; };;
     2556  :[FH]-) ac_tag=-:-;;
     2557  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
     2558  esac
     2559  ac_save_IFS=$IFS
     2560  IFS=:
     2561  set x $ac_tag
     2562  IFS=$ac_save_IFS
     2563  shift
     2564  ac_file=$1
     2565  shift
     2566
     2567  case $ac_mode in
     2568  :L) ac_source=$1;;
     2569  :[FH])
     2570    ac_file_inputs=
     2571    for ac_f
     2572    do
     2573      case $ac_f in
     2574      -) ac_f="$tmp/stdin";;
     2575      *) # Look for the file first in the build tree, then in the source tree
     2576         # (if the path is not absolute).  The absolute path cannot be DOS-style,
     2577         # because $ac_f cannot contain `:'.
     2578         test -f "$ac_f" ||
     2579           case $ac_f in
     2580           [\\/$]*) false;;
     2581           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
     2582           esac ||
     2583           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
     2584echo "$as_me: error: cannot find input file: $ac_f" >&2;}
     2585   { (exit 1); exit 1; }; };;
     2586      esac
     2587      ac_file_inputs="$ac_file_inputs $ac_f"
     2588    done
     2589
     2590    # Let's still pretend it is `configure' which instantiates (i.e., don't
     2591    # use $as_me), people would be surprised to read:
     2592    #    /* config.h.  Generated by config.status.  */
     2593    configure_input="Generated from "`IFS=:
     2594          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
     2595    if test x"$ac_file" != x-; then
     2596      configure_input="$ac_file.  $configure_input"
     2597      { echo "$as_me:$LINENO: creating $ac_file" >&5
     2598echo "$as_me: creating $ac_file" >&6;}
    33352599    fi
    3336     if test ! -s $tmp/subs.frag; then
    3337       ac_more_lines=false
    3338     else
    3339       # The purpose of the label and of the branching condition is to
    3340       # speed up the sed processing (if there are no `@' at all, there
    3341       # is no need to browse any of the substitutions).
    3342       # These are the two extra sed commands mentioned above.
    3343       (echo ':t
    3344   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
    3345       if test -z "$ac_sed_cmds"; then
    3346         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
    3347       else
    3348         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
    3349       fi
    3350       ac_sed_frag=`expr $ac_sed_frag + 1`
    3351       ac_beg=$ac_end
    3352       ac_end=`expr $ac_end + $ac_max_sed_lines`
    3353     fi
    3354   done
    3355   if test -z "$ac_sed_cmds"; then
    3356     ac_sed_cmds=cat
    3357   fi
    3358 fi # test -n "$CONFIG_FILES"
    3359 
    3360 _ACEOF
    3361 cat >>$CONFIG_STATUS <<\_ACEOF
    3362 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
    3363   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
    3364   case $ac_file in
    3365   - | *:- | *:-:* ) # input from stdin
    3366         cat >$tmp/stdin
    3367         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    3368         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    3369   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    3370         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    3371   * )   ac_file_in=$ac_file.in ;;
     2600
     2601    case $ac_tag in
     2602    *:-:* | *:-) cat >"$tmp/stdin";;
     2603    esac
     2604    ;;
    33722605  esac
    33732606
    3374   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
    3375   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
     2607  ac_dir=`$as_dirname -- "$ac_file" ||
    33762608$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    33772609         X"$ac_file" : 'X\(//\)[^/]' \| \
    33782610         X"$ac_file" : 'X\(//\)$' \| \
    3379          X"$ac_file" : 'X\(/\)' \| \
    3380          .     : '\(.\)' 2>/dev/null ||
     2611         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
    33812612echo X"$ac_file" |
    3382     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    3383           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    3384           /^X\(\/\/\)$/{ s//\1/; q; }
    3385           /^X\(\/\).*/{ s//\1/; q; }
    3386           s/.*/./; q'`
    3387   { if $as_mkdir_p; then
    3388     mkdir -p "$ac_dir"
    3389   else
    3390     as_dir="$ac_dir"
     2613    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     2614            s//\1/
     2615            q
     2616          }
     2617          /^X\(\/\/\)[^/].*/{
     2618            s//\1/
     2619            q
     2620          }
     2621          /^X\(\/\/\)$/{
     2622            s//\1/
     2623            q
     2624          }
     2625          /^X\(\/\).*/{
     2626            s//\1/
     2627            q
     2628          }
     2629          s/.*/./; q'`
     2630  { as_dir="$ac_dir"
     2631  case $as_dir in #(
     2632  -*) as_dir=./$as_dir;;
     2633  esac
     2634  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
    33912635    as_dirs=
    3392     while test ! -d "$as_dir"; do
    3393       as_dirs="$as_dir $as_dirs"
    3394       as_dir=`(dirname "$as_dir") 2>/dev/null ||
     2636    while :; do
     2637      case $as_dir in #(
     2638      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
     2639      *) as_qdir=$as_dir;;
     2640      esac
     2641      as_dirs="'$as_qdir' $as_dirs"
     2642      as_dir=`$as_dirname -- "$as_dir" ||
    33952643$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    33962644         X"$as_dir" : 'X\(//\)[^/]' \| \
    33972645         X"$as_dir" : 'X\(//\)$' \| \
    3398          X"$as_dir" : 'X\(/\)' \| \
    3399          .     : '\(.\)' 2>/dev/null ||
     2646         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    34002647echo X"$as_dir" |
    3401     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    3402           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    3403           /^X\(\/\/\)$/{ s//\1/; q; }
    3404           /^X\(\/\).*/{ s//\1/; q; }
    3405           s/.*/./; q'`
     2648    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     2649            s//\1/
     2650            q
     2651          }
     2652          /^X\(\/\/\)[^/].*/{
     2653            s//\1/
     2654            q
     2655          }
     2656          /^X\(\/\/\)$/{
     2657            s//\1/
     2658            q
     2659          }
     2660          /^X\(\/\).*/{
     2661            s//\1/
     2662            q
     2663          }
     2664          s/.*/./; q'`
     2665      test -d "$as_dir" && break
    34062666    done
    3407     test ! -n "$as_dirs" || mkdir $as_dirs
    3408   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
    3409 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
     2667    test -z "$as_dirs" || eval "mkdir $as_dirs"
     2668  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
     2669echo "$as_me: error: cannot create directory $as_dir" >&2;}
    34102670   { (exit 1); exit 1; }; }; }
    3411 
    34122671  ac_builddir=.
    34132672
    3414 if test "$ac_dir" != .; then
     2673case "$ac_dir" in
     2674.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     2675*)
    34152676  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    3416   # A "../" for each directory in $ac_dir_suffix.
    3417   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
    3418 else
    3419   ac_dir_suffix= ac_top_builddir=
    3420 fi
     2677  # A ".." for each directory in $ac_dir_suffix.
     2678  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
     2679  case $ac_top_builddir_sub in
     2680  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
     2681  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
     2682  esac ;;
     2683esac
     2684ac_abs_top_builddir=$ac_pwd
     2685ac_abs_builddir=$ac_pwd$ac_dir_suffix
     2686# for backward compatibility:
     2687ac_top_builddir=$ac_top_build_prefix
    34212688
    34222689case $srcdir in
    3423   .)  # No --srcdir option.  We are building in place.
     2690  .)  # We are building in place.
    34242691    ac_srcdir=.
    3425     if test -z "$ac_top_builddir"; then
    3426        ac_top_srcdir=.
    3427     else
    3428        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    3429     fi ;;
    3430   [\\/]* | ?:[\\/]* )  # Absolute path.
     2692    ac_top_srcdir=$ac_top_builddir_sub
     2693    ac_abs_top_srcdir=$ac_pwd ;;
     2694  [\\/]* | ?:[\\/]* )  # Absolute name.
    34312695    ac_srcdir=$srcdir$ac_dir_suffix;
    3432     ac_top_srcdir=$srcdir ;;
    3433   *) # Relative path.
    3434     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    3435     ac_top_srcdir=$ac_top_builddir$srcdir ;;
     2696    ac_top_srcdir=$srcdir
     2697    ac_abs_top_srcdir=$srcdir ;;
     2698  *) # Relative name.
     2699    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
     2700    ac_top_srcdir=$ac_top_build_prefix$srcdir
     2701    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
    34362702esac
    3437 
    3438 # Do not use `cd foo && pwd` to compute absolute paths, because
    3439 # the directories may not exist.
    3440 case `pwd` in
    3441 .) ac_abs_builddir="$ac_dir";;
    3442 *)
    3443   case "$ac_dir" in
    3444   .) ac_abs_builddir=`pwd`;;
    3445   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
    3446   *) ac_abs_builddir=`pwd`/"$ac_dir";;
    3447   esac;;
     2703ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
     2704
     2705
     2706  case $ac_mode in
     2707  :F)
     2708  #
     2709  # CONFIG_FILE
     2710  #
     2711
     2712_ACEOF
     2713
     2714cat >>$CONFIG_STATUS <<\_ACEOF
     2715# If the template does not know about datarootdir, expand it.
     2716# FIXME: This hack should be removed a few years after 2.60.
     2717ac_datarootdir_hack=; ac_datarootdir_seen=
     2718
     2719case `sed -n '/datarootdir/ {
     2720  p
     2721  q
     2722}
     2723/@datadir@/p
     2724/@docdir@/p
     2725/@infodir@/p
     2726/@localedir@/p
     2727/@mandir@/p
     2728' $ac_file_inputs` in
     2729*datarootdir*) ac_datarootdir_seen=yes;;
     2730*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
     2731  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
     2732echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
     2733_ACEOF
     2734cat >>$CONFIG_STATUS <<_ACEOF
     2735  ac_datarootdir_hack='
     2736  s&@datadir@&$datadir&g
     2737  s&@docdir@&$docdir&g
     2738  s&@infodir@&$infodir&g
     2739  s&@localedir@&$localedir&g
     2740  s&@mandir@&$mandir&g
     2741    s&\\\${datarootdir}&$datarootdir&g' ;;
    34482742esac
    3449 case $ac_abs_builddir in
    3450 .) ac_abs_top_builddir=${ac_top_builddir}.;;
    3451 *)
    3452   case ${ac_top_builddir}. in
    3453   .) ac_abs_top_builddir=$ac_abs_builddir;;
    3454   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
    3455   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
    3456   esac;;
    3457 esac
    3458 case $ac_abs_builddir in
    3459 .) ac_abs_srcdir=$ac_srcdir;;
    3460 *)
    3461   case $ac_srcdir in
    3462   .) ac_abs_srcdir=$ac_abs_builddir;;
    3463   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
    3464   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
    3465   esac;;
    3466 esac
    3467 case $ac_abs_builddir in
    3468 .) ac_abs_top_srcdir=$ac_top_srcdir;;
    3469 *)
    3470   case $ac_top_srcdir in
    3471   .) ac_abs_top_srcdir=$ac_abs_builddir;;
    3472   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
    3473   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
    3474   esac;;
    3475 esac
    3476 
    3477 
    3478 
    3479   # Let's still pretend it is `configure' which instantiates (i.e., don't
    3480   # use $as_me), people would be surprised to read:
    3481   #    /* config.h.  Generated by config.status.  */
    3482   if test x"$ac_file" = x-; then
    3483     configure_input=
    3484   else
    3485     configure_input="$ac_file.  "
    3486   fi
    3487   configure_input=$configure_input"Generated from `echo $ac_file_in |
    3488                                      sed 's,.*/,,'` by configure."
    3489 
    3490   # First look for the input files in the build tree, otherwise in the
    3491   # src tree.
    3492   ac_file_inputs=`IFS=:
    3493     for f in $ac_file_in; do
    3494       case $f in
    3495       -) echo $tmp/stdin ;;
    3496       [\\/$]*)
    3497          # Absolute (can't be DOS-style, as IFS=:)
    3498          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    3499 echo "$as_me: error: cannot find input file: $f" >&2;}
    3500    { (exit 1); exit 1; }; }
    3501          echo "$f";;
    3502       *) # Relative
    3503          if test -f "$f"; then
    3504            # Build tree
    3505            echo "$f"
    3506          elif test -f "$srcdir/$f"; then
    3507            # Source tree
    3508            echo "$srcdir/$f"
    3509          else
    3510            # /dev/null tree
    3511            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    3512 echo "$as_me: error: cannot find input file: $f" >&2;}
    3513    { (exit 1); exit 1; }; }
    3514          fi;;
    3515       esac
    3516     done` || { (exit 1); exit 1; }
    3517 
    3518   if test x"$ac_file" != x-; then
    3519     { echo "$as_me:$LINENO: creating $ac_file" >&5
    3520 echo "$as_me: creating $ac_file" >&6;}
    3521     rm -f "$ac_file"
    3522   fi
    3523 _ACEOF
     2743_ACEOF
     2744
     2745# Neutralize VPATH when `$srcdir' = `.'.
     2746# Shell code in configure.ac might set extrasub.
     2747# FIXME: do we really want to maintain this feature?
    35242748cat >>$CONFIG_STATUS <<_ACEOF
    35252749  sed "$ac_vpsub
     
    35292753:t
    35302754/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
    3531 s,@configure_input@,$configure_input,;t t
    3532 s,@srcdir@,$ac_srcdir,;t t
    3533 s,@abs_srcdir@,$ac_abs_srcdir,;t t
    3534 s,@top_srcdir@,$ac_top_srcdir,;t t
    3535 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
    3536 s,@builddir@,$ac_builddir,;t t
    3537 s,@abs_builddir@,$ac_abs_builddir,;t t
    3538 s,@top_builddir@,$ac_top_builddir,;t t
    3539 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
    3540 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
    3541   rm -f $tmp/stdin
    3542   if test x"$ac_file" != x-; then
    3543     mv $tmp/out $ac_file
    3544   else
    3545     cat $tmp/out
    3546     rm -f $tmp/out
    3547   fi
    3548 
    3549 done
    3550 _ACEOF
    3551 
    3552 cat >>$CONFIG_STATUS <<\_ACEOF
     2755s&@configure_input@&$configure_input&;t t
     2756s&@top_builddir@&$ac_top_builddir_sub&;t t
     2757s&@srcdir@&$ac_srcdir&;t t
     2758s&@abs_srcdir@&$ac_abs_srcdir&;t t
     2759s&@top_srcdir@&$ac_top_srcdir&;t t
     2760s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
     2761s&@builddir@&$ac_builddir&;t t
     2762s&@abs_builddir@&$ac_abs_builddir&;t t
     2763s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
     2764$ac_datarootdir_hack
     2765" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
     2766
     2767test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
     2768  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
     2769  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
     2770  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
     2771which seems to be undefined.  Please make sure it is defined." >&5
     2772echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
     2773which seems to be undefined.  Please make sure it is defined." >&2;}
     2774
     2775  rm -f "$tmp/stdin"
     2776  case $ac_file in
     2777  -) cat "$tmp/out"; rm -f "$tmp/out";;
     2778  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
     2779  esac
     2780 ;;
     2781
     2782
     2783
     2784  esac
     2785
     2786done # for ac_tag
     2787
    35532788
    35542789{ (exit 0); exit 0; }
  • trunk/configure.in

    r116 r120  
    1616
    1717AM_PATH_PYTHON
    18 AC_PROG_GCC_TRADITIONAL
     18#AC_PROG_GCC_TRADITIONAL
    1919
    2020if test "x$DEBUG" = "x";then
  • trunk/debian/changelog

    r116 r120  
     1pxeconfig (2.0.0-1) stable; urgency=low
     2
     3  * New version, we a lot of improvements. See Changelog
     4
     5 -- Bas van der Vlies <basv@sara.nl>  Fri, 11 Apr 2008 10:46:43 +0200
     6
    17pxeconfig (1.0.1-1) stable; urgency=low
    28
  • trunk/pxeconfig.conf

    r117 r120  
    11[DEFAULT]
    22pxe_config_dir  : ./pxelinux.cfg
    3 debug           : 1
     3debug           : 0
  • trunk/pxeconfig.in

    r119 r120  
    8888INTERACTIVE='interactive'
    8989EQUALWIDTH='equalwidth'
    90 VERSION='1.1.0'
     90VERSION='2.0.0'
    9191
    9292SHORTOPT_LIST='b:e:f:hin:s:rwvH:V'
     
    9898def verbose(str):
    9999        if VERBOSE:
    100                 print '%s'
     100                print '%s' %str
    101101
    102102class PxeConfig(Exception):
     
    239239                 else it must be a valid number.
    240240        """
    241 
    242241        try:
    243242                n = int(number_str)
     
    304303        manage_links(binfo)
    305304
    306 def check_command_line(binfo, hostnames):
     305def check_args(binfo, hostnames):
    307306        """
    308307        Do you we have the right and propper values
     
    310309        ### check_filename
    311310        #
     311        str = 'check_args: '
     312        verbose(str)   
    312313        try:
    313314                if not os.path.isfile(os.path.join(PXE_CONF_DIR, binfo[FILENAME])):
     
    329330
    330331        if binfo.has_key(BASENAME):
    331                 network_number = False
     332                set_padding(binfo)
    332333                create_links =  base_2_net
    333334
    334335        elif binfo.has_key(NETWORK):
    335                 network_number = True
     336                binfo[START] = check_number(binfo[START], True)
     337                binfo[END] = check_number(binfo[END], True)
    336338                create_links = manage_links
    337339
     
    340342                raise PxeConfig, error
    341343
    342         binfo[START] = check_number(binfo[START], network_number)
    343         binfo[END] = check_number(binfo[END], network_number)
    344 
    345344        if DEBUG:
    346345                print binfo
     
    348347        create_links(binfo)
    349348
    350 def set_padding(binfo, start, end):
    351         """
    352         find out th
    353         """
    354         if len(start) > 1 and start[0] == '0':
    355                 binfo[EQUALWIDTH] = True
    356         elif end[0] == '0':
    357                 binfo[EQUALWIDTH] = True
    358 
    359         if len(start) == len(end):
    360                 a =1   
    361                
    362 
    363 def parse_hostrange(binfo, arg):
     349def set_padding(binfo):
     350        """
     351        binfo          : boot info
     352        network_number : must we check if  start,end values are
     353                         valid network numbers
     354        return:
     355                - if equal_width is requested then the length will be set to end value
     356                - if start value length > 1 and start with a zero (0), width is set to
     357                  the end value
     358                - if end value starts with a zero (0), width will be set to the end
     359                  value
     360        """
     361        start_str = binfo[START]
     362        end_str = binfo[END]
     363
     364        print 'padding ', type(start_str), type(end_str)
     365
     366        start = check_number(start_str, False)
     367        end = check_number(end_str, False)
     368
     369
     370        print type(start_str), type(end_str)
     371
     372
     373        if binfo[EQUALWIDTH][0] == True:
     374                binfo[EQUALWIDTH][1] = len(end_str)
     375
     376        elif len(start_str) > 1 and start_str[0] == '0':
     377                binfo[EQUALWIDTH] = [ True, len(end_str) ]
     378
     379        elif end_str[0] == '0':
     380                binfo[EQUALWIDTH] = [ True, len(end_str) ]
     381
     382        binfo[START] = start
     383        binfo[END] = end
     384
     385
     386def parse_host_range(binfo, arg):
    364387        """
    365388        Parse if arg is of format <digit-digit>, if it starts
     
    374397                raise PxeConfig, error
    375398
    376         start = l[0]
    377         end = l[1]
    378 
    379 
    380         binfo[START] = check_number(start, False)
    381         binfo[END] = check_number(end, False)
    382        
    383 def check_args(argv, binfo):
     399        binfo[START] = l[0]
     400        binfo[END] = l[1]
     401
     402       
     403def parse_args(argv, binfo):
    384404        """
    385405        This function parses the command line options and returns the rest as
     
    439459
    440460                elif opt in ['-w', '--equal-width']:
    441                         binfo[EQUALWIDTH] = True
     461                        binfo[EQUALWIDTH] = [True, 0]
    442462
    443463                elif opt in ['-v', '--verbose']:
     
    445465
    446466                elif opt in ['-H', '--host-range']:
    447                         parse_hostrange(binfo, value)
     467                        parse_host_range(binfo, value)
    448468                       
    449469                elif opt in ['-V', '--version']:
     
    451471                        sys.exit(0)
    452472
    453         check_command_line(binfo, args)
     473        check_args(binfo, args)
    454474
    455475def host_2_net(hosts, binfo):
     
    483503                raise PxeConfig, error
    484504
    485         if binfo[EQUALWIDTH]:
    486                 width = len(str(end))
    487 
    488505        hostnames = list()
    489506        for i in xrange(start, end + 1):
    490                 if binfo[EQUALWIDTH]:
    491                         hostname = '%s%0*d' %(binfo[BASENAME], width, i)
     507                if binfo[EQUALWIDTH][0] == True:
     508                        hostname = '%s%0*d' %(binfo[BASENAME],  binfo[EQUALWIDTH][1], i)
    492509                else:
    493510                        hostname = '%s%d' %(binfo[BASENAME], i)
     
    507524        bootinfo = {}
    508525        bootinfo[REMOVE] = False
    509         bootinfo[EQUALWIDTH] = False
     526        bootinfo[EQUALWIDTH] = [ False, 0 ]
    510527       
    511528        configfile = '@pxeconfig_conf@'
     
    522539        PXE_CONF_DIR = os.path.realpath(PXE_CONF_DIR)
    523540        if not os.path.isdir(PXE_CONF_DIR):
    524                 print 'pxeconfig directory: %s does not exists' %(PXE_CONF_DIR)
    525                 sys.exit(1)
    526 
     541                error =  'pxeconfig directory: %s does not exists' %(PXE_CONF_DIR)
     542                raise PxeConfig, error
     543
     544        parse_args(sys.argv, bootinfo)
     545       
     546if __name__ == '__main__':
    527547        try:
    528                 check_args(sys.argv, bootinfo)
     548                main()
    529549        except PxeConfig, detail:
    530550                print detail
    531551                sys.exit(1)
    532        
    533 if __name__ == '__main__':
    534         main()
  • trunk/pxeconfigd.in

    r108 r120  
    6060
    6161PXE_CONF_DIR = '/tftpboot/pxelinux.cfg'
    62 VERSION = '1.0.0'
     62VERSION = '2.0.0'
    6363
    6464# Give the current time
Note: See TracChangeset for help on using the changeset viewer.