/[grub]/grub/configure
ViewVC logotype

Diff of /grub/configure

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.97 by okuji, Fri Mar 29 10:24:16 2002 UTC revision 1.98 by okuji, Mon Apr 15 22:09:16 2002 UTC
# Line 1  Line 1 
1  #! /bin/sh  #! /bin/sh
2  # Guess values for system-dependent variables and create Makefiles.  # Guess values for system-dependent variables and create Makefiles.
3  # Generated by Autoconf 2.52.  # Generated by GNU Autoconf 2.53.
4  #  #
5  # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001  # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6  # Free Software Foundation, Inc.  # Free Software Foundation, Inc.
7  # This configure script is free software; the Free Software Foundation  # This configure script is free software; the Free Software Foundation
8  # gives unlimited permission to copy, distribute and modify it.  # gives unlimited permission to copy, distribute and modify it.
9    
10  # Avoid depending upon Character Ranges.  if expr a : '\(a\)' >/dev/null 2>&1; then
11  as_cr_letters='abcdefghijklmnopqrstuvwxyz'    as_expr=expr
12  as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'  else
13  as_cr_Letters=$as_cr_letters$as_cr_LETTERS    as_expr=false
14  as_cr_digits='0123456789'  fi
 as_cr_alnum=$as_cr_Letters$as_cr_digits  
15    
 # Sed expression to map a string onto a valid variable name.  
 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"  
16    
17  # Sed expression to map a string onto a valid CPP name.  ## --------------------- ##
18  as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"  ## M4sh Initialization.  ##
19    ## --------------------- ##
20    
21  # Be Bourne compatible  # Be Bourne compatible
22  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
# Line 28  elif test -n "${BASH_VERSION+set}" && (s Line 26  elif test -n "${BASH_VERSION+set}" && (s
26    set -o posix    set -o posix
27  fi  fi
28    
29    # NLS nuisances.
30    # Support unset when possible.
31    if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
32      as_unset=unset
33    else
34      as_unset=false
35    fi
36    
37    (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
38        { $as_unset LANG || test "${LANG+set}" != set; } ||
39          { LANG=C; export LANG; }
40    (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
41        { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
42          { LC_ALL=C; export LC_ALL; }
43    (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
44        { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
45          { LC_TIME=C; export LC_TIME; }
46    (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
47        { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
48          { LC_CTYPE=C; export LC_CTYPE; }
49    (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
50        { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
51          { LANGUAGE=C; export LANGUAGE; }
52    (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
53        { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
54          { LC_COLLATE=C; export LC_COLLATE; }
55    (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
56        { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
57          { LC_NUMERIC=C; export LC_NUMERIC; }
58    (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
59        { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
60          { LC_MESSAGES=C; export LC_MESSAGES; }
61    
62    
63  # Name of the executable.  # Name of the executable.
64  as_me=`echo "$0" |sed 's,.*[\\/],,'`  as_me=`(basename "$0") 2>/dev/null ||
65    $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66             X"$0" : 'X\(//\)$' \| \
67             X"$0" : 'X\(/\)$' \| \
68             .     : '\(.\)' 2>/dev/null ||
69    echo X/"$0" |
70        sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
71              /^X\/\(\/\/\)$/{ s//\1/; q; }
72              /^X\/\(\/\).*/{ s//\1/; q; }
73              s/.*/./; q'`
74    
75    # PATH needs CR, and LINENO needs CR and PATH.
76    # Avoid depending upon Character Ranges.
77    as_cr_letters='abcdefghijklmnopqrstuvwxyz'
78    as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
79    as_cr_Letters=$as_cr_letters$as_cr_LETTERS
80    as_cr_digits='0123456789'
81    as_cr_alnum=$as_cr_Letters$as_cr_digits
82    
83    # The user is always right.
84    if test "${PATH_SEPARATOR+set}" != set; then
85      echo "#! /bin/sh" >conftest.sh
86      echo  "exit 0"   >>conftest.sh
87      chmod +x conftest.sh
88      if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
89        PATH_SEPARATOR=';'
90      else
91        PATH_SEPARATOR=:
92      fi
93      rm -f conftest.sh
94    fi
95    
96    
97      as_lineno_1=$LINENO
98      as_lineno_2=$LINENO
99      as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
100      test "x$as_lineno_1" != "x$as_lineno_2" &&
101      test "x$as_lineno_3"  = "x$as_lineno_2"  || {
102      # Find who we are.  Look in the path if we contain no path at all
103      # relative or not.
104      case $0 in
105        *[\\/]* ) as_myself=$0 ;;
106        *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
107    for as_dir in $PATH
108    do
109      IFS=$as_save_IFS
110      test -z "$as_dir" && as_dir=.
111      test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
112    done
113    
114           ;;
115      esac
116      # We did not find ourselves, most probably we were run as `sh COMMAND'
117      # in which case we are not to be found in the path.
118      if test "x$as_myself" = x; then
119        as_myself=$0
120      fi
121      if test ! -f "$as_myself"; then
122        { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
123       { (exit 1); exit 1; }; }
124      fi
125      case $CONFIG_SHELL in
126      '')
127        as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
128    for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
129    do
130      IFS=$as_save_IFS
131      test -z "$as_dir" && as_dir=.
132      for as_base in sh bash ksh sh5; do
133             case $as_dir in
134             /*)
135               if ("$as_dir/$as_base" -c '
136      as_lineno_1=$LINENO
137      as_lineno_2=$LINENO
138      as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
139      test "x$as_lineno_1" != "x$as_lineno_2" &&
140      test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
141                 CONFIG_SHELL=$as_dir/$as_base
142                 export CONFIG_SHELL
143                 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
144               fi;;
145             esac
146           done
147    done
148    ;;
149      esac
150    
151      # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
152      # uniformly replaced by the line number.  The first 'sed' inserts a
153      # line-number line before each line; the second 'sed' does the real
154      # work.  The second script uses 'N' to pair each line-number line
155      # with the numbered line, and appends trailing '-' during
156      # substitution so that $LINENO is not a special case at line end.
157      # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
158      # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
159      sed '=' <$as_myself |
160        sed '
161          N
162          s,$,-,
163          : loop
164          s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
165          t loop
166          s,-$,,
167          s,^['$as_cr_digits']*\n,,
168        ' >$as_me.lineno &&
169      chmod +x $as_me.lineno ||
170        { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
171       { (exit 1); exit 1; }; }
172    
173      # Don't try to exec as it changes $[0], causing all sort of problems
174      # (the dirname of $[0] is not the place where we might find the
175      # original and so on.  Autoconf is especially sensible to this).
176      . ./$as_me.lineno
177      # Exit status is that of the last command.
178      exit
179    }
180    
181    
182    case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
183      *c*,-n*) ECHO_N= ECHO_C='
184    ' ECHO_T='      ' ;;
185      *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
186      *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
187    esac
188    
189  if expr a : '\(a\)' >/dev/null 2>&1; then  if expr a : '\(a\)' >/dev/null 2>&1; then
190    as_expr=expr    as_expr=expr
# Line 57  rm -f conf$$ conf$$.exe conf$$.file Line 212  rm -f conf$$ conf$$.exe conf$$.file
212    
213  as_executable_p="test -f"  as_executable_p="test -f"
214    
215  # Support unset when possible.  # Sed expression to map a string onto a valid CPP name.
216  if (FOO=FOO; unset FOO) >/dev/null 2>&1; then  as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
217    as_unset=unset  
218  else  # Sed expression to map a string onto a valid variable name.
219    as_unset=false  as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
 fi  
220    
 # NLS nuisances.  
 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }  
 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }  
 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }  
 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }  
 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }  
 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }  
 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }  
 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }  
221    
222  # IFS  # IFS
223  # We need space, tab and new line, in precisely that order.  # We need space, tab and new line, in precisely that order.
# Line 81  as_nl=' Line 226  as_nl='
226  IFS="   $as_nl"  IFS="   $as_nl"
227    
228  # CDPATH.  # CDPATH.
229  $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }  $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
230    
231    
232  # Name of the host.  # Name of the host.
233  # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,  # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
# Line 96  exec 6>&1 Line 242  exec 6>&1
242  ac_default_prefix=/usr/local  ac_default_prefix=/usr/local
243  cross_compiling=no  cross_compiling=no
244  subdirs=  subdirs=
245  MFLAGS= MAKEFLAGS=  MFLAGS=
246    MAKEFLAGS=
247  SHELL=${CONFIG_SHELL-/bin/sh}  SHELL=${CONFIG_SHELL-/bin/sh}
248    
249  # Maximum number of lines to put in a shell here document.  # Maximum number of lines to put in a shell here document.
# Line 104  SHELL=${CONFIG_SHELL-/bin/sh} Line 251  SHELL=${CONFIG_SHELL-/bin/sh}
251  # only ac_max_sed_lines should be used.  # only ac_max_sed_lines should be used.
252  : ${ac_max_here_lines=38}  : ${ac_max_here_lines=38}
253    
254    # Identity of this package.
255    PACKAGE_NAME=
256    PACKAGE_TARNAME=
257    PACKAGE_VERSION=
258    PACKAGE_STRING=
259    PACKAGE_BUGREPORT=
260    
261  ac_unique_file="stage2/stage2.c"  ac_unique_file="stage2/stage2.c"
262    # Factoring default headers for most tests.
263    ac_includes_default="\
264    #include <stdio.h>
265    #if HAVE_SYS_TYPES_H
266    # include <sys/types.h>
267    #endif
268    #if HAVE_SYS_STAT_H
269    # include <sys/stat.h>
270    #endif
271    #if STDC_HEADERS
272    # include <stdlib.h>
273    # include <stddef.h>
274    #else
275    # if HAVE_STDLIB_H
276    #  include <stdlib.h>
277    # endif
278    #endif
279    #if HAVE_STRING_H
280    # if !STDC_HEADERS && HAVE_MEMORY_H
281    #  include <memory.h>
282    # endif
283    # include <string.h>
284    #endif
285    #if HAVE_STRINGS_H
286    # include <strings.h>
287    #endif
288    #if HAVE_INTTYPES_H
289    # include <inttypes.h>
290    #else
291    # if HAVE_STDINT_H
292    #  include <stdint.h>
293    # endif
294    #endif
295    #if HAVE_UNISTD_H
296    # include <unistd.h>
297    #endif"
298    
299    
300  # Initialize some variables set by options.  # Initialize some variables set by options.
301  ac_init_help=  ac_init_help=
# Line 144  oldincludedir='/usr/include' Line 335  oldincludedir='/usr/include'
335  infodir='${prefix}/info'  infodir='${prefix}/info'
336  mandir='${prefix}/man'  mandir='${prefix}/man'
337    
 # Identity of this package.  
 PACKAGE_NAME=  
 PACKAGE_TARNAME=  
 PACKAGE_VERSION=  
 PACKAGE_STRING=  
 PACKAGE_BUGREPORT=  
   
338  ac_prev=  ac_prev=
339  for ac_option  for ac_option
340  do  do
# Line 283  do Line 467  do
467      with_fp=no ;;      with_fp=no ;;
468    
469    -no-create | --no-create | --no-creat | --no-crea | --no-cre \    -no-create | --no-create | --no-creat | --no-crea | --no-cre \
470    | --no-cr | --no-c)    | --no-cr | --no-c | -n)
471      no_create=yes ;;      no_create=yes ;;
472    
473    -no-recursion | --no-recursion | --no-recursio | --no-recursi \    -no-recursion | --no-recursion | --no-recursio | --no-recursi \
# Line 462  do Line 646  do
646    eval ac_val=$`echo $ac_var`    eval ac_val=$`echo $ac_var`
647    case $ac_val in    case $ac_val in
648      [\\/$]* | ?:[\\/]* | NONE | '' ) ;;      [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
649      *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2      *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
650     { (exit 1); exit 1; }; };;     { (exit 1); exit 1; }; };;
651    esac    esac
652  done  done
# Line 474  do Line 658  do
658    eval ac_val=$`echo $ac_var`    eval ac_val=$`echo $ac_var`
659    case $ac_val in    case $ac_val in
660      [\\/$]* | ?:[\\/]* ) ;;      [\\/$]* | ?:[\\/]* ) ;;
661      *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2      *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
662     { (exit 1); exit 1; }; };;     { (exit 1); exit 1; }; };;
663    esac    esac
664  done  done
665    
666  # There might be people who depend on the old broken behavior: `$host'  # There might be people who depend on the old broken behavior: `$host'
667  # used to hold the argument of --host etc.  # used to hold the argument of --host etc.
668    # FIXME: To remove some day.
669  build=$build_alias  build=$build_alias
670  host=$host_alias  host=$host_alias
671  target=$target_alias  target=$target_alias
672    
673  # FIXME: should be removed in autoconf 3.0.  # FIXME: To remove some day.
674  if test "x$host_alias" != x; then  if test "x$host_alias" != x; then
675    if test "x$build_alias" = x; then    if test "x$build_alias" = x; then
676      cross_compiling=maybe      cross_compiling=maybe
# Line 501  test -n "$host_alias" && ac_tool_prefix= Line 686  test -n "$host_alias" && ac_tool_prefix=
686    
687  test "$silent" = yes && exec 6>/dev/null  test "$silent" = yes && exec 6>/dev/null
688    
689    
690  # Find the source files, if location was not specified.  # Find the source files, if location was not specified.
691  if test -z "$srcdir"; then  if test -z "$srcdir"; then
692    ac_srcdir_defaulted=yes    ac_srcdir_defaulted=yes
693    # Try the directory containing this script, then its parent.    # Try the directory containing this script, then its parent.
694    ac_prog=$0    ac_confdir=`(dirname "$0") 2>/dev/null ||
695    ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`  $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
696    test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.           X"$0" : 'X\(//\)[^/]' \| \
697             X"$0" : 'X\(//\)$' \| \
698             X"$0" : 'X\(/\)' \| \
699             .     : '\(.\)' 2>/dev/null ||
700    echo X"$0" |
701        sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
702              /^X\(\/\/\)[^/].*/{ s//\1/; q; }
703              /^X\(\/\/\)$/{ s//\1/; q; }
704              /^X\(\/\).*/{ s//\1/; q; }
705              s/.*/./; q'`
706    srcdir=$ac_confdir    srcdir=$ac_confdir
707    if test ! -r $srcdir/$ac_unique_file; then    if test ! -r $srcdir/$ac_unique_file; then
708      srcdir=..      srcdir=..
# Line 517  else Line 712  else
712  fi  fi
713  if test ! -r $srcdir/$ac_unique_file; then  if test ! -r $srcdir/$ac_unique_file; then
714    if test "$ac_srcdir_defaulted" = yes; then    if test "$ac_srcdir_defaulted" = yes; then
715      { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2      { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
716     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
717    else    else
718      { echo "$as_me: error: cannot find sources in $srcdir" >&2      { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
719     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
720    fi    fi
721  fi  fi
# Line 564  ac_cv_env_CPP_value=$CPP Line 759  ac_cv_env_CPP_value=$CPP
759  if test "$ac_init_help" = "long"; then  if test "$ac_init_help" = "long"; then
760    # Omit some internal or obsolete options to make the list less imposing.    # Omit some internal or obsolete options to make the list less imposing.
761    # This message is too long to be a string in the A/UX 3.1 sh.    # This message is too long to be a string in the A/UX 3.1 sh.
762    cat <<EOF    cat <<_ACEOF
763  \`configure' configures this package to adapt to many kinds of systems.  \`configure' configures this package to adapt to many kinds of systems.
764    
765  Usage: $0 [OPTION]... [VAR=VALUE]...  Usage: $0 [OPTION]... [VAR=VALUE]...
# Line 585  Configuration: Line 780  Configuration:
780    -n, --no-create         do not create output files    -n, --no-create         do not create output files
781        --srcdir=DIR        find the sources in DIR [configure dir or \`..']        --srcdir=DIR        find the sources in DIR [configure dir or \`..']
782    
783  EOF  _ACEOF
784    
785    cat <<EOF    cat <<_ACEOF
786  Installation directories:  Installation directories:
787    --prefix=PREFIX         install architecture-independent files in PREFIX    --prefix=PREFIX         install architecture-independent files in PREFIX
788                            [$ac_default_prefix]                            [$ac_default_prefix]
# Line 614  Fine tuning of the installation director Line 809  Fine tuning of the installation director
809    --oldincludedir=DIR    C header files for non-gcc [/usr/include]    --oldincludedir=DIR    C header files for non-gcc [/usr/include]
810    --infodir=DIR          info documentation [PREFIX/info]    --infodir=DIR          info documentation [PREFIX/info]
811    --mandir=DIR           man documentation [PREFIX/man]    --mandir=DIR           man documentation [PREFIX/man]
812  EOF  _ACEOF
813    
814    cat <<\EOF    cat <<\_ACEOF
815    
816  Program names:  Program names:
817    --program-prefix=PREFIX            prepend PREFIX to installed program names    --program-prefix=PREFIX            prepend PREFIX to installed program names
# Line 625  Program names: Line 820  Program names:
820    
821  System types:  System types:
822    --build=BUILD     configure for building on BUILD [guessed]    --build=BUILD     configure for building on BUILD [guessed]
823    --host=HOST       build programs to run on HOST [BUILD]    --host=HOST       cross-compile to build programs to run on HOST [BUILD]
824  EOF  _ACEOF
825  fi  fi
826    
827  if test -n "$ac_init_help"; then  if test -n "$ac_init_help"; then
828    
829    cat <<\EOF    cat <<\_ACEOF
830    
831  Optional Features:  Optional Features:
832    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
# Line 724  Some influential environment variables: Line 919  Some influential environment variables:
919  Use these variables to override the choices made by `configure' or to help  Use these variables to override the choices made by `configure' or to help
920  it to find libraries and programs with nonstandard names/locations.  it to find libraries and programs with nonstandard names/locations.
921    
922  EOF  _ACEOF
923  fi  fi
924    
925  if test "$ac_init_help" = "recursive"; then  if test "$ac_init_help" = "recursive"; then
926    # If there are subdirs, report their specific --help.    # If there are subdirs, report their specific --help.
927    ac_popdir=`pwd`    ac_popdir=`pwd`
928    for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue    for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
929      cd $ac_subdir      test -d $ac_dir || continue
930      # A "../" for each directory in /$ac_subdir.      ac_builddir=.
931      ac_dots=`echo $ac_subdir |  
932               sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`  if test "$ac_dir" != .; then
933      ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
934      case $srcdir in    # A "../" for each directory in $ac_dir_suffix.
935      .) # No --srcdir option.  We are building in place.    ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
936        ac_sub_srcdir=$srcdir ;;  else
937      [\\/]* | ?:[\\/]* ) # Absolute path.    ac_dir_suffix= ac_top_builddir=
938        ac_sub_srcdir=$srcdir/$ac_subdir ;;  fi
939      *) # Relative path.  
940        ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;  case $srcdir in
941      esac    .)  # No --srcdir option.  We are building in place.
942        ac_srcdir=.
943        if test -z "$ac_top_builddir"; then
944           ac_top_srcdir=.
945        else
946           ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
947        fi ;;
948      [\\/]* | ?:[\\/]* )  # Absolute path.
949        ac_srcdir=$srcdir$ac_dir_suffix;
950        ac_top_srcdir=$srcdir ;;
951      *) # Relative path.
952        ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
953        ac_top_srcdir=$ac_top_builddir$srcdir ;;
954    esac
955    # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
956    # absolute.
957    ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
958    ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
959    ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
960    ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
961    
962        cd $ac_dir
963      # Check for guested configure; otherwise get Cygnus style configure.      # Check for guested configure; otherwise get Cygnus style configure.
964      if test -f $ac_sub_srcdir/configure.gnu; then      if test -f $ac_srcdir/configure.gnu; then
965        echo        echo
966        $SHELL $ac_sub_srcdir/configure.gnu  --help=recursive        $SHELL $ac_srcdir/configure.gnu  --help=recursive
967      elif test -f $ac_sub_srcdir/configure; then      elif test -f $ac_srcdir/configure; then
968        echo        echo
969        $SHELL $ac_sub_srcdir/configure  --help=recursive        $SHELL $ac_srcdir/configure  --help=recursive
970      elif test -f $ac_sub_srcdir/configure.ac ||      elif test -f $ac_srcdir/configure.ac ||
971             test -f $ac_sub_srcdir/configure.in; then             test -f $ac_srcdir/configure.in; then
972        echo        echo
973        $ac_configure --help        $ac_configure --help
974      else      else
975        echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2        echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
976      fi      fi
977      cd $ac_popdir      cd $ac_popdir
978    done    done
# Line 765  fi Line 980  fi
980    
981  test -n "$ac_init_help" && exit 0  test -n "$ac_init_help" && exit 0
982  if $ac_init_version; then  if $ac_init_version; then
983    cat <<\EOF    cat <<\_ACEOF
984    
985  Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001  Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
986  Free Software Foundation, Inc.  Free Software Foundation, Inc.
987  This configure script is free software; the Free Software Foundation  This configure script is free software; the Free Software Foundation
988  gives unlimited permission to copy, distribute and modify it.  gives unlimited permission to copy, distribute and modify it.
989  EOF  _ACEOF
990    exit 0    exit 0
991  fi  fi
992  exec 5>config.log  exec 5>config.log
993  cat >&5 <<EOF  cat >&5 <<_ACEOF
994  This file contains any messages produced by compilers while  This file contains any messages produced by compilers while
995  running configure, to aid debugging if configure makes a mistake.  running configure, to aid debugging if configure makes a mistake.
996    
997  It was created by $as_me, which was  It was created by $as_me, which was
998  generated by GNU Autoconf 2.52.  Invocation command line was  generated by GNU Autoconf 2.53.  Invocation command line was
999    
1000    $ $0 $@    $ $0 $@
1001    
1002  EOF  _ACEOF
1003  {  {
1004  cat <<_ASUNAME  cat <<_ASUNAME
1005  ## ---------- ##  ## --------- ##
1006  ## Platform.  ##  ## Platform. ##
1007  ## ---------- ##  ## --------- ##
1008    
1009  hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`  hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1010  uname -m = `(uname -m) 2>/dev/null || echo unknown`  uname -m = `(uname -m) 2>/dev/null || echo unknown`
# Line 808  hostinfo               = `(hostinfo) 2>/ Line 1023  hostinfo               = `(hostinfo) 2>/
1023  /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`  /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1024  /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`  /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1025    
 PATH = $PATH  
   
1026  _ASUNAME  _ASUNAME
1027    
1028    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1029    for as_dir in $PATH
1030    do
1031      IFS=$as_save_IFS
1032      test -z "$as_dir" && as_dir=.
1033      echo "PATH: $as_dir"
1034    done
1035    
1036  } >&5  } >&5
1037    
1038  cat >&5 <<EOF  cat >&5 <<_ACEOF
1039  ## ------------ ##  
1040  ## Core tests.  ##  
1041  ## ------------ ##  ## ----------- ##
1042    ## Core tests. ##
1043    ## ----------- ##
1044    
1045    _ACEOF
1046    
 EOF  
1047    
1048  # Keep a trace of the command line.  # Keep a trace of the command line.
1049  # Strip out --no-create and --no-recursion so they do not pile up.  # Strip out --no-create and --no-recursion so they do not pile up.
# Line 829  for ac_arg Line 1054  for ac_arg
1054  do  do
1055    case $ac_arg in    case $ac_arg in
1056    -no-create | --no-create | --no-creat | --no-crea | --no-cre \    -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1057    | --no-cr | --no-c) ;;    | --no-cr | --no-c | -n ) continue ;;
1058    -no-recursion | --no-recursion | --no-recursio | --no-recursi \    -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1059    | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;    | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1060        continue ;;
1061    *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)    *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1062      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1063      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"    esac
1064      ac_sep=" " ;;    case " $ac_configure_args " in
1065    *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1066       ac_sep=" " ;;      *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1067           ac_sep=" " ;;
1068    esac    esac
1069    # Get rid of the leading space.    # Get rid of the leading space.
1070  done  done
# Line 845  done Line 1072  done
1072  # When interrupted or exit'd, cleanup temporary files, and complete  # When interrupted or exit'd, cleanup temporary files, and complete
1073  # config.log.  We remove comments because anyway the quotes in there  # config.log.  We remove comments because anyway the quotes in there
1074  # would cause problems or look ugly.  # would cause problems or look ugly.
1075    # WARNING: Be sure not to use single quotes in there, as some shells,
1076    # such as our DU 5.0 friend, will then `close' the trap.
1077  trap 'exit_status=$?  trap 'exit_status=$?
1078    # Save into config.log some information that might help in debugging.    # Save into config.log some information that might help in debugging.
1079    echo >&5    {
1080    echo "## ----------------- ##" >&5      echo
1081    echo "## Cache variables.  ##" >&5      cat <<\_ASBOX
1082    echo "## ----------------- ##" >&5  ## ---------------- ##
1083    echo >&5  ## Cache variables. ##
1084    # The following way of writing the cache mishandles newlines in values,  ## ---------------- ##
1085    _ASBOX
1086        echo
1087        # The following way of writing the cache mishandles newlines in values,
1088  {  {
1089    (set) 2>&1 |    (set) 2>&1 |
1090      case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in      case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
# Line 866  trap 'exit_status=$? Line 1098  trap 'exit_status=$?
1098          "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"          "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1099        ;;        ;;
1100      esac;      esac;
1101  } >&5  }
1102    sed "/^$/d" confdefs.h >conftest.log      echo
1103    if test -s conftest.log; then      if test -s confdefs.h; then
1104      echo >&5        cat <<\_ASBOX
1105      echo "## ------------ ##" >&5  ## ----------- ##
1106      echo "## confdefs.h.  ##" >&5  ## confdefs.h. ##
1107      echo "## ------------ ##" >&5  ## ----------- ##
1108      echo >&5  _ASBOX
1109      cat conftest.log >&5        echo
1110    fi        sed "/^$/d" confdefs.h
1111    (echo; echo) >&5        echo
1112    test "$ac_signal" != 0 &&      fi
1113      echo "$as_me: caught signal $ac_signal" >&5      test "$ac_signal" != 0 &&
1114    echo "$as_me: exit $exit_status" >&5        echo "$as_me: caught signal $ac_signal"
1115    rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&      echo "$as_me: exit $exit_status"
1116      } >&5
1117      rm -f core core.* *.core &&
1118      rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1119      exit $exit_status      exit $exit_status
1120       ' 0       ' 0
1121  for ac_signal in 1 2 13 15; do  for ac_signal in 1 2 13 15; do
# Line 893  rm -rf conftest* confdefs.h Line 1128  rm -rf conftest* confdefs.h
1128  # AIX cpp loses on an empty file, so make sure it contains at least a newline.  # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1129  echo >confdefs.h  echo >confdefs.h
1130    
1131    # Predefined preprocessor variables.
1132    
1133    cat >>confdefs.h <<_ACEOF
1134    #define PACKAGE_NAME "$PACKAGE_NAME"
1135    _ACEOF
1136    
1137    
1138    cat >>confdefs.h <<_ACEOF
1139    #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1140    _ACEOF
1141    
1142    
1143    cat >>confdefs.h <<_ACEOF
1144    #define PACKAGE_VERSION "$PACKAGE_VERSION"
1145    _ACEOF
1146    
1147    
1148    cat >>confdefs.h <<_ACEOF
1149    #define PACKAGE_STRING "$PACKAGE_STRING"
1150    _ACEOF
1151    
1152    
1153    cat >>confdefs.h <<_ACEOF
1154    #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1155    _ACEOF
1156    
1157    
1158  # Let the site file select an alternate cache file if it wants to.  # Let the site file select an alternate cache file if it wants to.
1159  # Prefer explicitly selected file to automatically selected ones.  # Prefer explicitly selected file to automatically selected ones.
1160  if test -z "$CONFIG_SITE"; then  if test -z "$CONFIG_SITE"; then
# Line 904  if test -z "$CONFIG_SITE"; then Line 1166  if test -z "$CONFIG_SITE"; then
1166  fi  fi
1167  for ac_site_file in $CONFIG_SITE; do  for ac_site_file in $CONFIG_SITE; do
1168    if test -r "$ac_site_file"; then    if test -r "$ac_site_file"; then
1169      { echo "$as_me:907: loading site script $ac_site_file" >&5      { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1170  echo "$as_me: loading site script $ac_site_file" >&6;}  echo "$as_me: loading site script $ac_site_file" >&6;}
1171      cat "$ac_site_file" >&5      sed 's/^/| /' "$ac_site_file" >&5
1172      . "$ac_site_file"      . "$ac_site_file"
1173    fi    fi
1174  done  done
# Line 915  if test -r "$cache_file"; then Line 1177  if test -r "$cache_file"; then
1177    # Some versions of bash will fail to source /dev/null (special    # Some versions of bash will fail to source /dev/null (special
1178    # files actually), so we avoid doing that.    # files actually), so we avoid doing that.
1179    if test -f "$cache_file"; then    if test -f "$cache_file"; then
1180      { echo "$as_me:918: loading cache $cache_file" >&5      { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1181  echo "$as_me: loading cache $cache_file" >&6;}  echo "$as_me: loading cache $cache_file" >&6;}
1182      case $cache_file in      case $cache_file in
1183        [\\/]* | ?:[\\/]* ) . $cache_file;;        [\\/]* | ?:[\\/]* ) . $cache_file;;
# Line 923  echo "$as_me: loading cache $cache_file" Line 1185  echo "$as_me: loading cache $cache_file"
1185      esac      esac
1186    fi    fi
1187  else  else
1188    { echo "$as_me:926: creating cache $cache_file" >&5    { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1189  echo "$as_me: creating cache $cache_file" >&6;}  echo "$as_me: creating cache $cache_file" >&6;}
1190    >$cache_file    >$cache_file
1191  fi  fi
# Line 939  for ac_var in `(set) 2>&1 | Line 1201  for ac_var in `(set) 2>&1 |
1201    eval ac_new_val="\$ac_env_${ac_var}_value"    eval ac_new_val="\$ac_env_${ac_var}_value"
1202    case $ac_old_set,$ac_new_set in    case $ac_old_set,$ac_new_set in
1203      set,)      set,)
1204        { echo "$as_me:942: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5        { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1205  echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}  echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1206        ac_cache_corrupted=: ;;        ac_cache_corrupted=: ;;
1207      ,set)      ,set)
1208        { echo "$as_me:946: error: \`$ac_var' was not set in the previous run" >&5        { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1209  echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}  echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1210        ac_cache_corrupted=: ;;        ac_cache_corrupted=: ;;
1211      ,);;      ,);;
1212      *)      *)
1213        if test "x$ac_old_val" != "x$ac_new_val"; then        if test "x$ac_old_val" != "x$ac_new_val"; then
1214          { echo "$as_me:952: error: \`$ac_var' has changed since the previous run:" >&5          { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1215  echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}  echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1216          { echo "$as_me:954:   former value:  $ac_old_val" >&5          { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1217  echo "$as_me:   former value:  $ac_old_val" >&2;}  echo "$as_me:   former value:  $ac_old_val" >&2;}
1218          { echo "$as_me:956:   current value: $ac_new_val" >&5          { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1219  echo "$as_me:   current value: $ac_new_val" >&2;}  echo "$as_me:   current value: $ac_new_val" >&2;}
1220          ac_cache_corrupted=:          ac_cache_corrupted=:
1221        fi;;        fi;;
1222    esac    esac
1223    # Pass precious variables to config.status.  It doesn't matter if    # Pass precious variables to config.status.
   # we pass some twice (in addition to the command line arguments).  
1224    if test "$ac_new_set" = set; then    if test "$ac_new_set" = set; then
1225      case $ac_new_val in      case $ac_new_val in
1226      *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)      *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1227        ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`        ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1228        ac_configure_args="$ac_configure_args '$ac_arg'"      *) ac_arg=$ac_var=$ac_new_val ;;
1229        ;;      esac
1230      *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"      case " $ac_configure_args " in
1231         ;;        *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1232          *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1233      esac      esac
1234    fi    fi
1235  done  done
1236  if $ac_cache_corrupted; then  if $ac_cache_corrupted; then
1237    { echo "$as_me:975: error: changes in the environment can compromise the build" >&5    { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1238  echo "$as_me: error: changes in the environment can compromise the build" >&2;}  echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1239    { { echo "$as_me:977: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5    { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1240  echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}  echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1241     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1242  fi  fi
# Line 985  ac_compile='$CC -c $CFLAGS $CPPFLAGS con Line 1247  ac_compile='$CC -c $CFLAGS $CPPFLAGS con
1247  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1248  ac_compiler_gnu=$ac_cv_c_compiler_gnu  ac_compiler_gnu=$ac_cv_c_compiler_gnu
1249    
1250  case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in  
1251    *c*,-n*) ECHO_N= ECHO_C='  
1252  ' ECHO_T='      ' ;;  
1253    *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;  
1254    *)      ECHO_N= ECHO_C='\c' ECHO_T= ;;  
1255  esac  
1256  echo "#! $SHELL" >conftest.sh  
1257  echo  "exit 0"   >>conftest.sh  
1258  chmod +x conftest.sh  
1259  if { (echo "$as_me:997: PATH=\".;.\"; conftest.sh") >&5  
1260    (PATH=".;."; conftest.sh) 2>&5  
1261    ac_status=$?  
1262    echo "$as_me:1000: \$? = $ac_status" >&5  
1263    (exit $ac_status); }; then  
1264    ac_path_separator=';'  
1265  else  
   ac_path_separator=:  
 fi  
 PATH_SEPARATOR="$ac_path_separator"  
 rm -f conftest.sh  
1266    
1267  ac_aux_dir=  ac_aux_dir=
1268  for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do  for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
# Line 1023  for ac_dir in $srcdir $srcdir/.. $srcdir Line 1281  for ac_dir in $srcdir $srcdir/.. $srcdir
1281    fi    fi
1282  done  done
1283  if test -z "$ac_aux_dir"; then  if test -z "$ac_aux_dir"; then
1284    { { echo "$as_me:1026: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5    { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1285  echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}  echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1286     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1287  fi  fi
# Line 1043  ac_configure="$SHELL $ac_aux_dir/configu Line 1301  ac_configure="$SHELL $ac_aux_dir/configu
1301  # AFS /usr/afsws/bin/install, which mishandles nonexistent args  # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1302  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1303  # ./install, which can be erroneously created by make from ./install.sh.  # ./install, which can be erroneously created by make from ./install.sh.
1304  echo "$as_me:1046: checking for a BSD compatible install" >&5  echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1305  echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6  echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1306  if test -z "$INSTALL"; then  if test -z "$INSTALL"; then
1307  if test "${ac_cv_path_install+set}" = set; then  if test "${ac_cv_path_install+set}" = set; then
1308    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
1309  else  else
1310      ac_save_IFS=$IFS; IFS=$ac_path_separator    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1311    for ac_dir in $PATH; do  for as_dir in $PATH
1312      IFS=$ac_save_IFS  do
1313      # Account for people who put trailing slashes in PATH elements.    IFS=$as_save_IFS
1314      case $ac_dir/ in    test -z "$as_dir" && as_dir=.
1315      / | ./ | .// | /cC/* \    # Account for people who put trailing slashes in PATH elements.
1316      | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \  case $as_dir/ in
1317      | /usr/ucb/* ) ;;    ./ | .// | /cC/* | \
1318      *)    /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1319        # OSF1 and SCO ODT 3.0 have their own names for install.    /usr/ucb/* ) ;;
1320        # Don't use installbsd from OSF since it installs stuff as root    *)
1321        # by default.      # OSF1 and SCO ODT 3.0 have their own names for install.
1322        for ac_prog in ginstall scoinst install; do      # Don't use installbsd from OSF since it installs stuff as root
1323          if $as_executable_p "$ac_dir/$ac_prog"; then      # by default.
1324            if test $ac_prog = install &&      for ac_prog in ginstall scoinst install; do
1325              grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then        for ac_exec_ext in '' $ac_executable_extensions; do
1326              # AIX install.  It has an incompatible calling convention.          if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1327              :            if test $ac_prog = install &&
1328            elif test $ac_prog = install &&              grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1329              grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then              # AIX install.  It has an incompatible calling convention.
1330              # program-specific install script used by HP pwplus--don't use.              :
1331              :            elif test $ac_prog = install &&
1332            else              grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1333              ac_cv_path_install="$ac_dir/$ac_prog -c"              # program-specific install script used by HP pwplus--don't use.
1334              break 2              :
1335            fi            else
1336          fi              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1337                break 3
1338              fi
1339            fi
1340        done        done
1341        ;;      done
1342      esac      ;;
1343    done  esac
1344    done
1345    
1346    
1347  fi  fi
1348    if test "${ac_cv_path_install+set}" = set; then    if test "${ac_cv_path_install+set}" = set; then
# Line 1092  fi Line 1355  fi
1355      INSTALL=$ac_install_sh      INSTALL=$ac_install_sh
1356    fi    fi
1357  fi  fi
1358  echo "$as_me:1095: result: $INSTALL" >&5  echo "$as_me:$LINENO: result: $INSTALL" >&5
1359  echo "${ECHO_T}$INSTALL" >&6  echo "${ECHO_T}$INSTALL" >&6
1360    
1361  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
# Line 1103  test -z "$INSTALL_SCRIPT" && INSTALL_SCR Line 1366  test -z "$INSTALL_SCRIPT" && INSTALL_SCR
1366    
1367  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1368    
1369  echo "$as_me:1106: checking whether build environment is sane" >&5  echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1370  echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6  echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1371  # Just in case  # Just in case
1372  sleep 1  sleep 1
# Line 1127  if ( Line 1390  if (
1390        # if, for instance, CONFIG_SHELL is bash and it inherits a        # if, for instance, CONFIG_SHELL is bash and it inherits a
1391        # broken ls alias from the environment.  This has actually        # broken ls alias from the environment.  This has actually
1392        # happened.  Such a system could not be considered "sane".        # happened.  Such a system could not be considered "sane".
1393        { { echo "$as_me:1130: error: ls -t appears to fail.  Make sure there is not a broken        { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1394  alias in your environment" >&5  alias in your environment" >&5
1395  echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken  echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1396  alias in your environment" >&2;}  alias in your environment" >&2;}
# Line 1140  then Line 1403  then
1403     # Ok.     # Ok.
1404     :     :
1405  else  else
1406     { { echo "$as_me:1143: error: newly created file is older than distributed files!     { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1407  Check your system clock" >&5  Check your system clock" >&5
1408  echo "$as_me: error: newly created file is older than distributed files!  echo "$as_me: error: newly created file is older than distributed files!
1409  Check your system clock" >&2;}  Check your system clock" >&2;}
1410     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1411  fi  fi
1412  echo "$as_me:1149: result: yes" >&5  echo "$as_me:$LINENO: result: yes" >&5
1413  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
1414  test "$program_prefix" != NONE &&  test "$program_prefix" != NONE &&
1415    program_transform_name="s,^,$program_prefix,;$program_transform_name"    program_transform_name="s,^,$program_prefix,;$program_transform_name"
# Line 1161  _ACEOF Line 1424  _ACEOF
1424  program_transform_name=`echo $program_transform_name | sed -f conftest.sed`  program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1425  rm conftest.sed  rm conftest.sed
1426    
1427    
1428  # expand $ac_aux_dir to an absolute path  # expand $ac_aux_dir to an absolute path
1429  am_aux_dir=`CDPATH=:; cd $ac_aux_dir && pwd`  am_aux_dir=`CDPATH=:; cd $ac_aux_dir && pwd`
1430    
# Line 1171  if eval "$MISSING --run true"; then Line 1435  if eval "$MISSING --run true"; then
1435  else  else
1436    am_missing_run=    am_missing_run=
1437    am_backtick='`'    am_backtick='`'
1438    { echo "$as_me:1174: WARNING: ${am_backtick}missing' script is too old or missing" >&5    { echo "$as_me:$LINENO: WARNING: ${am_backtick}missing' script is too old or missing" >&5
1439  echo "$as_me: WARNING: ${am_backtick}missing' script is too old or missing" >&2;}  echo "$as_me: WARNING: ${am_backtick}missing' script is too old or missing" >&2;}
1440  fi  fi
1441    
1442  for ac_prog in mawk gawk nawk awk  for ac_prog in gawk mawk nawk awk
1443  do  do
1444    # Extract the first word of "$ac_prog", so it can be a program name with args.    # Extract the first word of "$ac_prog", so it can be a program name with args.
1445  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
1446  echo "$as_me:1182: checking for $ac_word" >&5  echo "$as_me:$LINENO: checking for $ac_word" >&5
1447  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1448  if test "${ac_cv_prog_AWK+set}" = set; then  if test "${ac_cv_prog_AWK+set}" = set; then
1449    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1187  else Line 1451  else
1451    if test -n "$AWK"; then    if test -n "$AWK"; then
1452    ac_cv_prog_AWK="$AWK" # Let the user override the test.    ac_cv_prog_AWK="$AWK" # Let the user override the test.
1453  else  else
1454    ac_save_IFS=$IFS; IFS=$ac_path_separator  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1455  ac_dummy="$PATH"  for as_dir in $PATH
1456  for ac_dir in $ac_dummy; do  do
1457    IFS=$ac_save_IFS    IFS=$as_save_IFS
1458    test -z "$ac_dir" && ac_dir=.    test -z "$as_dir" && as_dir=.
1459    $as_executable_p "$ac_dir/$ac_word" || continue    for ac_exec_ext in '' $ac_executable_extensions; do
1460  ac_cv_prog_AWK="$ac_prog"    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1461  echo "$as_me:1197: found $ac_dir/$ac_word" >&5      ac_cv_prog_AWK="$ac_prog"
1462  break      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1463        break 2
1464      fi
1465    done
1466  done  done
1467    
1468  fi  fi
1469  fi  fi
1470  AWK=$ac_cv_prog_AWK  AWK=$ac_cv_prog_AWK
1471  if test -n "$AWK"; then  if test -n "$AWK"; then
1472    echo "$as_me:1205: result: $AWK" >&5    echo "$as_me:$LINENO: result: $AWK" >&5
1473  echo "${ECHO_T}$AWK" >&6  echo "${ECHO_T}$AWK" >&6
1474  else  else
1475    echo "$as_me:1208: result: no" >&5    echo "$as_me:$LINENO: result: no" >&5
1476  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
1477  fi  fi
1478    
1479    test -n "$AWK" && break    test -n "$AWK" && break
1480  done  done
1481    
1482  echo "$as_me:1215: checking whether ${MAKE-make} sets \${MAKE}" >&5  echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
1483  echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6  echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1484  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1485  if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then  if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1486    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
1487  else  else
1488    cat >conftest.make <<\EOF    cat >conftest.make <<\_ACEOF
1489  all:  all:
1490          @echo 'ac_maketemp="${MAKE}"'          @echo 'ac_maketemp="${MAKE}"'
1491  EOF  _ACEOF
1492  # GNU make sometimes prints "make[1]: Entering...", which would confuse us.  # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1493  eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`  eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1494  if test -n "$ac_maketemp"; then  if test -n "$ac_maketemp"; then
# Line 1232  fi Line 1499  fi
1499  rm -f conftest.make  rm -f conftest.make
1500  fi  fi
1501  if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then  if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1502    echo "$as_me:1235: result: yes" >&5    echo "$as_me:$LINENO: result: yes" >&5
1503  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
1504    SET_MAKE=    SET_MAKE=
1505  else  else
1506    echo "$as_me:1239: result: no" >&5    echo "$as_me:$LINENO: result: no" >&5
1507  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
1508    SET_MAKE="MAKE=${MAKE-make}"    SET_MAKE="MAKE=${MAKE-make}"
1509  fi  fi
# Line 1251  if test "x$enable_dependency_tracking" ! Line 1518  if test "x$enable_dependency_tracking" !
1518    AMDEPBACKSLASH='\'    AMDEPBACKSLASH='\'
1519  fi  fi
1520    
1521    
1522  if test "x$enable_dependency_tracking" != xno; then  if test "x$enable_dependency_tracking" != xno; then
1523    AMDEP_TRUE=    AMDEP_TRUE=
1524    AMDEP_FALSE='#'    AMDEP_FALSE='#'
# Line 1259  else Line 1527  else
1527    AMDEP_FALSE=    AMDEP_FALSE=
1528  fi  fi
1529    
1530    
1531    
1532    
1533  rm -f .deps 2>/dev/null  rm -f .deps 2>/dev/null
1534  mkdir .deps 2>/dev/null  mkdir .deps 2>/dev/null
1535  if test -d .deps; then  if test -d .deps; then
# Line 1269  else Line 1540  else
1540  fi  fi
1541  rmdir .deps 2>/dev/null  rmdir .deps 2>/dev/null
1542    
1543    
1544  # test to see if srcdir already configured  # test to see if srcdir already configured
1545  if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&  if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
1546     test -f $srcdir/config.status; then     test -f $srcdir/config.status; then
1547    { { echo "$as_me:1275: error: source directory already configured; run \"make distclean\" there first" >&5    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1548  echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}  echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1549     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1550  fi  fi
# Line 1281  fi Line 1553  fi
1553  PACKAGE=grub  PACKAGE=grub
1554  VERSION=0.92  VERSION=0.92
1555    
1556  cat >>confdefs.h <<EOF  cat >>confdefs.h <<_ACEOF
1557  #define PACKAGE "$PACKAGE"  #define PACKAGE "$PACKAGE"
1558  EOF  _ACEOF
1559    
1560  cat >>confdefs.h <<EOF  
1561    cat >>confdefs.h <<_ACEOF
1562  #define VERSION "$VERSION"  #define VERSION "$VERSION"
1563  EOF  _ACEOF
1564    
1565    
1566  # Autoconf 2.50 wants to disallow AM_ names.  We explicitly allow  # Autoconf 2.50 wants to disallow AM_ names.  We explicitly allow
1567  # the ones we care about.  # the ones we care about.
# Line 1300  EOF Line 1574  EOF
1574  # requests that it be used.  This is a bit dumb.  # requests that it be used.  This is a bit dumb.
1575  : ${OBJEXT=o}  : ${OBJEXT=o}
1576    
1577    
1578  # Some tools Automake needs.  # Some tools Automake needs.
1579    
1580  ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"}  ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"}
1581    
1582    
1583  AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}  AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1584    
1585    
1586  AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake"}  AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake"}
1587    
1588    
1589  AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}  AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1590    
1591    
1592  MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}  MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1593    
1594    
1595  AMTAR=${AMTAR-"${am_missing_run}tar"}  AMTAR=${AMTAR-"${am_missing_run}tar"}
1596    
1597  install_sh=${install_sh-"$am_aux_dir/install-sh"}  install_sh=${install_sh-"$am_aux_dir/install-sh"}
# Line 1321  INSTALL_STRIP_PROGRAM="\${SHELL} \$(inst Line 1601  INSTALL_STRIP_PROGRAM="\${SHELL} \$(inst
1601  # We need awk for the "check" target.  The system "awk" is bad on  # We need awk for the "check" target.  The system "awk" is bad on
1602  # some platforms.  # some platforms.
1603    
1604    
1605    
1606    
1607                                                      ac_config_headers="$ac_config_headers config.h"                                                      ac_config_headers="$ac_config_headers config.h"
1608    
1609    
1610    
1611  # Make sure we can run config.sub.  # Make sure we can run config.sub.
1612  $ac_config_sub sun4 >/dev/null 2>&1 ||  $ac_config_sub sun4 >/dev/null 2>&1 ||
1613    { { echo "$as_me:1328: error: cannot run $ac_config_sub" >&5    { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1614  echo "$as_me: error: cannot run $ac_config_sub" >&2;}  echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1615     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1616    
1617  echo "$as_me:1332: checking build system type" >&5  echo "$as_me:$LINENO: checking build system type" >&5
1618  echo $ECHO_N "checking build system type... $ECHO_C" >&6  echo $ECHO_N "checking build system type... $ECHO_C" >&6
1619  if test "${ac_cv_build+set}" = set; then  if test "${ac_cv_build+set}" = set; then
1620    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1338  else Line 1623  else
1623  test -z "$ac_cv_build_alias" &&  test -z "$ac_cv_build_alias" &&
1624    ac_cv_build_alias=`$ac_config_guess`    ac_cv_build_alias=`$ac_config_guess`
1625  test -z "$ac_cv_build_alias" &&  test -z "$ac_cv_build_alias" &&
1626    { { echo "$as_me:1341: error: cannot guess build type; you must specify one" >&5    { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1627  echo "$as_me: error: cannot guess build type; you must specify one" >&2;}  echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1628     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1629  ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||  ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1630    { { echo "$as_me:1345: error: $ac_config_sub $ac_cv_build_alias failed." >&5    { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1631  echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}  echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1632     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1633    
1634  fi  fi
1635  echo "$as_me:1350: result: $ac_cv_build" >&5  echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1636  echo "${ECHO_T}$ac_cv_build" >&6  echo "${ECHO_T}$ac_cv_build" >&6
1637  build=$ac_cv_build  build=$ac_cv_build
1638  build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`  build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1639  build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`  build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1640  build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`  build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1641    
1642  echo "$as_me:1357: checking host system type" >&5  
1643    echo "$as_me:$LINENO: checking host system type" >&5
1644  echo $ECHO_N "checking host system type... $ECHO_C" >&6  echo $ECHO_N "checking host system type... $ECHO_C" >&6
1645  if test "${ac_cv_host+set}" = set; then  if test "${ac_cv_host+set}" = set; then
1646    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1363  else Line 1649  else
1649  test -z "$ac_cv_host_alias" &&  test -z "$ac_cv_host_alias" &&
1650    ac_cv_host_alias=$ac_cv_build_alias    ac_cv_host_alias=$ac_cv_build_alias
1651  ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||  ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1652    { { echo "$as_me:1366: error: $ac_config_sub $ac_cv_host_alias failed" >&5    { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1653  echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}  echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1654     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1655    
1656  fi  fi
1657  echo "$as_me:1371: result: $ac_cv_host" >&5  echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1658  echo "${ECHO_T}$ac_cv_host" >&6  echo "${ECHO_T}$ac_cv_host" >&6
1659  host=$ac_cv_host  host=$ac_cv_host
1660  host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`  host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1661  host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`  host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1662  host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`  host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1663    
1664    
1665    
1666  case "$host_cpu" in  case "$host_cpu" in
1667  i[3456]86) host_cpu=i386 ;;  i[3456]86) host_cpu=i386 ;;
1668  *) { { echo "$as_me:1380: error: unsupported CPU type" >&5  *) { { echo "$as_me:$LINENO: error: unsupported CPU type" >&5
1669  echo "$as_me: error: unsupported CPU type" >&2;}  echo "$as_me: error: unsupported CPU type" >&2;}
1670     { (exit 1); exit 1; }; } ;;     { (exit 1); exit 1; }; } ;;
1671  esac  esac
1672    
1673    
1674    
1675    
1676  #  #
1677  # Options  # Options
1678  #  #
1679    
1680  echo "$as_me:1389: checking whether to enable maintainer-specific portions of Makefiles" >&5  echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1681  echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6  echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1682      # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.      # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1683  if test "${enable_maintainer_mode+set}" = set; then  if test "${enable_maintainer_mode+set}" = set; then
# Line 1395  if test "${enable_maintainer_mode+set}" Line 1686  if test "${enable_maintainer_mode+set}"
1686  else  else
1687    USE_MAINTAINER_MODE=no    USE_MAINTAINER_MODE=no
1688  fi;  fi;
1689    echo "$as_me:1398: result: $USE_MAINTAINER_MODE" >&5    echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1690  echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6  echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1691    
1692    
1693  if test $USE_MAINTAINER_MODE = yes; then  if test $USE_MAINTAINER_MODE = yes; then
1694    MAINTAINER_MODE_TRUE=    MAINTAINER_MODE_TRUE=
1695    MAINTAINER_MODE_FALSE='#'    MAINTAINER_MODE_FALSE='#'
# Line 1407  else Line 1699  else
1699  fi  fi
1700    MAINT=$MAINTAINER_MODE_TRUE    MAINT=$MAINTAINER_MODE_TRUE
1701    
1702    
1703  if test "x$enable_maintainer_mode" = xyes; then  if test "x$enable_maintainer_mode" = xyes; then
1704    # Extract the first word of "perl", so it can be a program name with args.    # Extract the first word of "perl", so it can be a program name with args.
1705  set dummy perl; ac_word=$2  set dummy perl; ac_word=$2
1706  echo "$as_me:1413: checking for $ac_word" >&5  echo "$as_me:$LINENO: checking for $ac_word" >&5
1707  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1708  if test "${ac_cv_path_PERL+set}" = set; then  if test "${ac_cv_path_PERL+set}" = set; then
1709    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1420  else Line 1713  else
1713    ac_cv_path_PERL="$PERL" # Let the user override the test with a path.    ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
1714    ;;    ;;
1715    *)    *)
1716    ac_save_IFS=$IFS; IFS=$ac_path_separator    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1717  ac_dummy="$PATH"  for as_dir in $PATH
1718  for ac_dir in $ac_dummy; do  do
1719    IFS=$ac_save_IFS    IFS=$as_save_IFS
1720    test -z "$ac_dir" && ac_dir=.    test -z "$as_dir" && as_dir=.
1721    if $as_executable_p "$ac_dir/$ac_word"; then    for ac_exec_ext in '' $ac_executable_extensions; do
1722     ac_cv_path_PERL="$ac_dir/$ac_word"    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1723     echo "$as_me:1430: found $ac_dir/$ac_word" >&5      ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
1724     break      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1725  fi      break 2
1726      fi
1727    done
1728  done  done
1729    
1730    ;;    ;;
# Line 1438  fi Line 1733  fi
1733  PERL=$ac_cv_path_PERL  PERL=$ac_cv_path_PERL
1734    
1735  if test -n "$PERL"; then  if test -n "$PERL"; then
1736    echo "$as_me:1441: result: $PERL" >&5    echo "$as_me:$LINENO: result: $PERL" >&5
1737  echo "${ECHO_T}$PERL" >&6  echo "${ECHO_T}$PERL" >&6
1738  else  else
1739    echo "$as_me:1444: result: no" >&5    echo "$as_me:$LINENO: result: no" >&5
1740  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
1741  fi  fi
1742    
1743    if test -z "$PERL"; then    if test -z "$PERL"; then
1744      { { echo "$as_me:1449: error: perl not found" >&5      { { echo "$as_me:$LINENO: error: perl not found" >&5
1745  echo "$as_me: error: perl not found" >&2;}  echo "$as_me: error: perl not found" >&2;}
1746     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1747    fi    fi
# Line 1464  fi Line 1759  fi
1759  if test -n "$ac_tool_prefix"; then  if test -n "$ac_tool_prefix"; then
1760    # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.    # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1761  set dummy ${ac_tool_prefix}gcc; ac_word=$2  set dummy ${ac_tool_prefix}gcc; ac_word=$2
1762  echo "$as_me:1467: checking for $ac_word" >&5  echo "$as_me:$LINENO: checking for $ac_word" >&5
1763  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1764  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
1765    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1472  else Line 1767  else
1767    if test -n "$CC"; then    if test -n "$CC"; then
1768    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_CC="$CC" # Let the user override the test.
1769  else  else
1770    ac_save_IFS=$IFS; IFS=$ac_path_separator  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1771  ac_dummy="$PATH"  for as_dir in $PATH
1772  for ac_dir in $ac_dummy; do  do
1773    IFS=$ac_save_IFS    IFS=$as_save_IFS
1774    test -z "$ac_dir" && ac_dir=.    test -z "$as_dir" && as_dir=.
1775    $as_executable_p "$ac_dir/$ac_word" || continue    for ac_exec_ext in '' $ac_executable_extensions; do
1776  ac_cv_prog_CC="${ac_tool_prefix}gcc"    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1777  echo "$as_me:1482: found $ac_dir/$ac_word" >&5      ac_cv_prog_CC="${ac_tool_prefix}gcc"
1778  break      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1779        break 2
1780      fi
1781    done
1782  done  done
1783    
1784  fi  fi
1785  fi  fi
1786  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
1787  if test -n "$CC"; then  if test -n "$CC"; then
1788    echo "$as_me:1490: result: $CC" >&5    echo "$as_me:$LINENO: result: $CC" >&5
1789  echo "${ECHO_T}$CC" >&6  echo "${ECHO_T}$CC" >&6
1790  else  else
1791    echo "$as_me:1493: result: no" >&5    echo "$as_me:$LINENO: result: no" >&5
1792  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
1793  fi  fi
1794    
# Line 1499  if test -z "$ac_cv_prog_CC"; then Line 1797  if test -z "$ac_cv_prog_CC"; then
1797    ac_ct_CC=$CC    ac_ct_CC=$CC
1798    # Extract the first word of "gcc", so it can be a program name with args.    # Extract the first word of "gcc", so it can be a program name with args.
1799  set dummy gcc; ac_word=$2  set dummy gcc; ac_word=$2
1800  echo "$as_me:1502: checking for $ac_word" >&5  echo "$as_me:$LINENO: checking for $ac_word" >&5
1801  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1802  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1803    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1507  else Line 1805  else
1805    if test -n "$ac_ct_CC"; then    if test -n "$ac_ct_CC"; then
1806    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1807  else  else
1808    ac_save_IFS=$IFS; IFS=$ac_path_separator  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1809  ac_dummy="$PATH"  for as_dir in $PATH
1810  for ac_dir in $ac_dummy; do  do
1811    IFS=$ac_save_IFS    IFS=$as_save_IFS
1812    test -z "$ac_dir" && ac_dir=.    test -z "$as_dir" && as_dir=.
1813    $as_executable_p "$ac_dir/$ac_word" || continue    for ac_exec_ext in '' $ac_executable_extensions; do
1814  ac_cv_prog_ac_ct_CC="gcc"    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1815  echo "$as_me:1517: found $ac_dir/$ac_word" >&5      ac_cv_prog_ac_ct_CC="gcc"
1816  break      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1817        break 2
1818      fi
1819    done
1820  done  done
1821    
1822  fi  fi
1823  fi  fi
1824  ac_ct_CC=$ac_cv_prog_ac_ct_CC  ac_ct_CC=$ac_cv_prog_ac_ct_CC
1825  if test -n "$ac_ct_CC"; then  if test -n "$ac_ct_CC"; then
1826    echo "$as_me:1525: result: $ac_ct_CC" >&5    echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1827  echo "${ECHO_T}$ac_ct_CC" >&6  echo "${ECHO_T}$ac_ct_CC" >&6
1828  else  else
1829    echo "$as_me:1528: result: no" >&5    echo "$as_me:$LINENO: result: no" >&5
1830  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
1831  fi  fi
1832    
# Line 1542  ac_compiler_gnu=$ac_cv_c_compiler_gnu Line 1843  ac_compiler_gnu=$ac_cv_c_compiler_gnu
1843  if test -n "$ac_tool_prefix"; then  if test -n "$ac_tool_prefix"; then
1844    # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.    # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1845  set dummy ${ac_tool_prefix}gcc; ac_word=$2  set dummy ${ac_tool_prefix}gcc; ac_word=$2
1846  echo "$as_me:1545: checking for $ac_word" >&5  echo "$as_me:$LINENO: checking for $ac_word" >&5
1847  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1848  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
1849    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1550  else Line 1851  else
1851    if test -n "$CC"; then    if test -n "$CC"; then
1852    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_CC="$CC" # Let the user override the test.
1853  else  else
1854    ac_save_IFS=$IFS; IFS=$ac_path_separator  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1855  ac_dummy="$PATH"  for as_dir in $PATH
1856  for ac_dir in $ac_dummy; do  do
1857    IFS=$ac_save_IFS    IFS=$as_save_IFS
1858    test -z "$ac_dir" && ac_dir=.    test -z "$as_dir" && as_dir=.
1859    $as_executable_p "$ac_dir/$ac_word" || continue    for ac_exec_ext in '' $ac_executable_extensions; do
1860  ac_cv_prog_CC="${ac_tool_prefix}gcc"    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1861  echo "$as_me:1560: found $ac_dir/$ac_word" >&5      ac_cv_prog_CC="${ac_tool_prefix}gcc"
1862  break      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1863        break 2
1864      fi
1865    done
1866  done  done
1867    
1868  fi  fi
1869  fi  fi
1870  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
1871  if test -n "$CC"; then  if test -n "$CC"; then
1872    echo "$as_me:1568: result: $CC" >&5    echo "$as_me:$LINENO: result: $CC" >&5
1873  echo "${ECHO_T}$CC" >&6  echo "${ECHO_T}$CC" >&6
1874  else  else
1875    echo "$as_me:1571: result: no" >&5    echo "$as_me:$LINENO: result: no" >&5
1876  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
1877  fi  fi
1878    
# Line 1577  if test -z "$ac_cv_prog_CC"; then Line 1881  if test -z "$ac_cv_prog_CC"; then
1881    ac_ct_CC=$CC    ac_ct_CC=$CC
1882    # Extract the first word of "gcc", so it can be a program name with args.    # Extract the first word of "gcc", so it can be a program name with args.
1883  set dummy gcc; ac_word=$2  set dummy gcc; ac_word=$2
1884  echo "$as_me:1580: checking for $ac_word" >&5  echo "$as_me:$LINENO: checking for $ac_word" >&5
1885  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1886  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1887    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1585  else Line 1889  else
1889    if test -n "$ac_ct_CC"; then    if test -n "$ac_ct_CC"; then
1890    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1891  else  else
1892    ac_save_IFS=$IFS; IFS=$ac_path_separator  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1893  ac_dummy="$PATH"  for as_dir in $PATH
1894  for ac_dir in $ac_dummy; do  do
1895    IFS=$ac_save_IFS    IFS=$as_save_IFS
1896    test -z "$ac_dir" && ac_dir=.    test -z "$as_dir" && as_dir=.
1897    $as_executable_p "$ac_dir/$ac_word" || continue    for ac_exec_ext in '' $ac_executable_extensions; do
1898  ac_cv_prog_ac_ct_CC="gcc"    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1899  echo "$as_me:1595: found $ac_dir/$ac_word" >&5      ac_cv_prog_ac_ct_CC="gcc"
1900  break      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1901        break 2
1902      fi
1903    done
1904  done  done
1905    
1906  fi  fi
1907  fi  fi
1908  ac_ct_CC=$ac_cv_prog_ac_ct_CC  ac_ct_CC=$ac_cv_prog_ac_ct_CC
1909  if test -n "$ac_ct_CC"; then  if test -n "$ac_ct_CC"; then
1910    echo "$as_me:1603: result: $ac_ct_CC" >&5    echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1911  echo "${ECHO_T}$ac_ct_CC" >&6  echo "${ECHO_T}$ac_ct_CC" >&6
1912  else  else
1913    echo "$as_me:1606: result: no" >&5    echo "$as_me:$LINENO: result: no" >&5
1914  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
1915  fi  fi
1916    
# Line 1616  if test -z "$CC"; then Line 1923  if test -z "$CC"; then
1923    if test -n "$ac_tool_prefix"; then    if test -n "$ac_tool_prefix"; then
1924    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1925  set dummy ${ac_tool_prefix}cc; ac_word=$2  set dummy ${ac_tool_prefix}cc; ac_word=$2
1926  echo "$as_me:1619: checking for $ac_word" >&5  echo "$as_me:$LINENO: checking for $ac_word" >&5
1927  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1928  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
1929    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1624  else Line 1931  else
1931    if test -n "$CC"; then    if test -n "$CC"; then
1932    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_CC="$CC" # Let the user override the test.
1933  else  else
1934    ac_save_IFS=$IFS; IFS=$ac_path_separator  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1935  ac_dummy="$PATH"  for as_dir in $PATH
1936  for ac_dir in $ac_dummy; do  do
1937    IFS=$ac_save_IFS    IFS=$as_save_IFS
1938    test -z "$ac_dir" && ac_dir=.    test -z "$as_dir" && as_dir=.
1939    $as_executable_p "$ac_dir/$ac_word" || continue    for ac_exec_ext in '' $ac_executable_extensions; do
1940  ac_cv_prog_CC="${ac_tool_prefix}cc"    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1941  echo "$as_me:1634: found $ac_dir/$ac_word" >&5      ac_cv_prog_CC="${ac_tool_prefix}cc"
1942  break      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1943        break 2
1944      fi
1945    done
1946  done  done
1947    
1948  fi  fi
1949  fi  fi
1950  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
1951  if test -n "$CC"; then  if test -n "$CC"; then
1952    echo "$as_me:1642: result: $CC" >&5    echo "$as_me:$LINENO: result: $CC" >&5
1953  echo "${ECHO_T}$CC" >&6  echo "${ECHO_T}$CC" >&6
1954  else  else
1955    echo "$as_me:1645: result: no" >&5    echo "$as_me:$LINENO: result: no" >&5
1956  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
1957  fi  fi
1958    
# Line 1651  if test -z "$ac_cv_prog_CC"; then Line 1961  if test -z "$ac_cv_prog_CC"; then
1961    ac_ct_CC=$CC    ac_ct_CC=$CC
1962    # Extract the first word of "cc", so it can be a program name with args.    # Extract the first word of "cc", so it can be a program name with args.
1963  set dummy cc; ac_word=$2  set dummy cc; ac_word=$2
1964  echo "$as_me:1654: checking for $ac_word" >&5  echo "$as_me:$LINENO: checking for $ac_word" >&5
1965  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1966  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1967    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1659  else Line 1969  else
1969    if test -n "$ac_ct_CC"; then    if test -n "$ac_ct_CC"; then
1970    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1971  else  else
1972    ac_save_IFS=$IFS; IFS=$ac_path_separator  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1973  ac_dummy="$PATH"  for as_dir in $PATH
1974  for ac_dir in $ac_dummy; do  do
1975    IFS=$ac_save_IFS    IFS=$as_save_IFS
1976    test -z "$ac_dir" && ac_dir=.    test -z "$as_dir" && as_dir=.
1977    $as_executable_p "$ac_dir/$ac_word" || continue    for ac_exec_ext in '' $ac_executable_extensions; do
1978  ac_cv_prog_ac_ct_CC="cc"    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1979  echo "$as_me:1669: found $ac_dir/$ac_word" >&5      ac_cv_prog_ac_ct_CC="cc"
1980  break      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1981        break 2
1982      fi
1983    done
1984  done  done
1985    
1986  fi  fi
1987  fi  fi
1988  ac_ct_CC=$ac_cv_prog_ac_ct_CC  ac_ct_CC=$ac_cv_prog_ac_ct_CC
1989  if test -n "$ac_ct_CC"; then  if test -n "$ac_ct_CC"; then
1990    echo "$as_me:1677: result: $ac_ct_CC" >&5    echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1991  echo "${ECHO_T}$ac_ct_CC" >&6  echo "${ECHO_T}$ac_ct_CC" >&6
1992  else  else
1993    echo "$as_me:1680: result: no" >&5    echo "$as_me:$LINENO: result: no" >&5
1994  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
1995  fi  fi
1996    
# Line 1690  fi Line 2003  fi
2003  if test -z "$CC"; then  if test -z "$CC"; then
2004    # Extract the first word of "cc", so it can be a program name with args.    # Extract the first word of "cc", so it can be a program name with args.
2005  set dummy cc; ac_word=$2  set dummy cc; ac_word=$2
2006  echo "$as_me:1693: checking for $ac_word" >&5  echo "$as_me:$LINENO: checking for $ac_word" >&5
2007  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2008  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
2009    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1699  else Line 2012  else
2012    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_CC="$CC" # Let the user override the test.
2013  else  else
2014    ac_prog_rejected=no    ac_prog_rejected=no
2015    ac_save_IFS=$IFS; IFS=$ac_path_separator  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2016  ac_dummy="$PATH"  for as_dir in $PATH
2017  for ac_dir in $ac_dummy; do  do
2018    IFS=$ac_save_IFS    IFS=$as_save_IFS
2019    test -z "$ac_dir" && ac_dir=.    test -z "$as_dir" && as_dir=.
2020    $as_executable_p "$ac_dir/$ac_word" || continue    for ac_exec_ext in '' $ac_executable_extensions; do
2021  if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2022    ac_prog_rejected=yes      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2023    continue         ac_prog_rejected=yes
2024  fi         continue
2025  ac_cv_prog_CC="cc"       fi
2026  echo "$as_me:1713: found $ac_dir/$ac_word" >&5      ac_cv_prog_CC="cc"
2027  break      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2028        break 2
2029      fi
2030    done
2031  done  done
2032    
2033  if test $ac_prog_rejected = yes; then  if test $ac_prog_rejected = yes; then
# Line 1723  if test $ac_prog_rejected = yes; then Line 2039  if test $ac_prog_rejected = yes; then
2039      # However, it has the same basename, so the bogon will be chosen      # However, it has the same basename, so the bogon will be chosen
2040      # first if we set CC to just the basename; use the full file name.      # first if we set CC to just the basename; use the full file name.
2041      shift      shift
2042      set dummy "$ac_dir/$ac_word" ${1+"$@"}      set dummy "$as_dir/$ac_word" ${1+"$@"}
2043      shift      shift
2044      ac_cv_prog_CC="$@"      ac_cv_prog_CC="$@"
2045    fi    fi
# Line 1732  fi Line 2048  fi
2048  fi  fi
2049  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
2050  if test -n "$CC"; then  if test -n "$CC"; then
2051    echo "$as_me:1735: result: $CC" >&5    echo "$as_me:$LINENO: result: $CC" >&5
2052  echo "${ECHO_T}$CC" >&6  echo "${ECHO_T}$CC" >&6
2053  else  else
2054    echo "$as_me:1738: result: no" >&5    echo "$as_me:$LINENO: result: no" >&5
2055  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
2056  fi  fi
2057    
# Line 1746  if test -z "$CC"; then Line 2062  if test -z "$CC"; then
2062    do    do
2063      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2064  set dummy $ac_tool_prefix$ac_prog; ac_word=$2  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2065  echo "$as_me:1749: checking for $ac_word" >&5  echo "$as_me:$LINENO: checking for $ac_word" >&5
2066  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2067  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
2068    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1754  else Line 2070  else
2070    if test -n "$CC"; then    if test -n "$CC"; then
2071    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_CC="$CC" # Let the user override the test.
2072  else  else
2073    ac_save_IFS=$IFS; IFS=$ac_path_separator  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2074  ac_dummy="$PATH"  for as_dir in $PATH
2075  for ac_dir in $ac_dummy; do  do
2076    IFS=$ac_save_IFS    IFS=$as_save_IFS
2077    test -z "$ac_dir" && ac_dir=.    test -z "$as_dir" && as_dir=.
2078    $as_executable_p "$ac_dir/$ac_word" || continue    for ac_exec_ext in '' $ac_executable_extensions; do
2079  ac_cv_prog_CC="$ac_tool_prefix$ac_prog"    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2080  echo "$as_me:1764: found $ac_dir/$ac_word" >&5      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2081  break      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2082        break 2
2083      fi
2084    done
2085  done  done
2086    
2087  fi  fi
2088  fi  fi
2089  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
2090  if test -n "$CC"; then  if test -n "$CC"; then
2091    echo "$as_me:1772: result: $CC" >&5    echo "$as_me:$LINENO: result: $CC" >&5
2092  echo "${ECHO_T}$CC" >&6  echo "${ECHO_T}$CC" >&6
2093  else  else
2094    echo "$as_me:1775: result: no" >&5    echo "$as_me:$LINENO: result: no" >&5
2095  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
2096  fi  fi
2097    
# Line 1785  if test -z "$CC"; then Line 2104  if test -z "$CC"; then
2104  do  do
2105    # Extract the first word of "$ac_prog", so it can be a program name with args.    # Extract the first word of "$ac_prog", so it can be a program name with args.
2106  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
2107  echo "$as_me:1788: checking for $ac_word" >&5  echo "$as_me:$LINENO: checking for $ac_word" >&5
2108  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2109  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2110    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1793  else Line 2112  else
2112    if test -n "$ac_ct_CC"; then    if test -n "$ac_ct_CC"; then
2113    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2114  else  else
2115    ac_save_IFS=$IFS; IFS=$ac_path_separator  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2116  ac_dummy="$PATH"  for as_dir in $PATH
2117  for ac_dir in $ac_dummy; do  do
2118    IFS=$ac_save_IFS    IFS=$as_save_IFS
2119    test -z "$ac_dir" && ac_dir=.    test -z "$as_dir" && as_dir=.
2120    $as_executable_p "$ac_dir/$ac_word" || continue    for ac_exec_ext in '' $ac_executable_extensions; do
2121  ac_cv_prog_ac_ct_CC="$ac_prog"    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2122  echo "$as_me:1803: found $ac_dir/$ac_word" >&5      ac_cv_prog_ac_ct_CC="$ac_prog"
2123  break      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2124        break 2
2125      fi
2126    done
2127  done  done
2128    
2129  fi  fi
2130  fi  fi
2131  ac_ct_CC=$ac_cv_prog_ac_ct_CC  ac_ct_CC=$ac_cv_prog_ac_ct_CC
2132  if test -n "$ac_ct_CC"; then  if test -n "$ac_ct_CC"; then
2133    echo "$as_me:1811: result: $ac_ct_CC" >&5    echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2134  echo "${ECHO_T}$ac_ct_CC" >&6  echo "${ECHO_T}$ac_ct_CC" >&6
2135  else  else
2136    echo "$as_me:1814: result: no" >&5    echo "$as_me:$LINENO: result: no" >&5
2137  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
2138  fi  fi
2139    
# Line 1823  fi Line 2145  fi
2145    
2146  fi  fi
2147    
2148  test -z "$CC" && { { echo "$as_me:1826: error: no acceptable cc found in \$PATH" >&5  
2149  echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}  test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
2150    echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
2151     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
2152    
2153  # Provide some information about the compiler.  # Provide some information about the compiler.
2154  echo "$as_me:1831:" \  echo "$as_me:$LINENO:" \
2155       "checking for C compiler version" >&5       "checking for C compiler version" >&5
2156  ac_compiler=`set X $ac_compile; echo $2`  ac_compiler=`set X $ac_compile; echo $2`
2157  { (eval echo "$as_me:1834: \"$ac_compiler --version </dev/null >&5\"") >&5  { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2158    (eval $ac_compiler --version </dev/null >&5) 2>&5    (eval $ac_compiler --version </dev/null >&5) 2>&5
2159    ac_status=$?    ac_status=$?
2160    echo "$as_me:1837: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2161    (exit $ac_status); }    (exit $ac_status); }
2162  { (eval echo "$as_me:1839: \"$ac_compiler -v </dev/null >&5\"") >&5  { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2163    (eval $ac_compiler -v </dev/null >&5) 2>&5    (eval $ac_compiler -v </dev/null >&5) 2>&5
2164    ac_status=$?    ac_status=$?
2165    echo "$as_me:1842: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2166    (exit $ac_status); }    (exit $ac_status); }
2167  { (eval echo "$as_me:1844: \"$ac_compiler -V </dev/null >&5\"") >&5  { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2168    (eval $ac_compiler -V </dev/null >&5) 2>&5    (eval $ac_compiler -V </dev/null >&5) 2>&5
2169    ac_status=$?    ac_status=$?
2170    echo "$as_me:1847: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2171    (exit $ac_status); }    (exit $ac_status); }
2172    
2173  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
2174  #line 1851 "configure"  #line $LINENO "configure"
2175  #include "confdefs.h"  #include "confdefs.h"
2176    
2177    #ifdef F77_DUMMY_MAIN
2178    #  ifdef __cplusplus
2179         extern "C"
2180    #  endif
2181       int F77_DUMMY_MAIN() { return 1; }
2182    #endif
2183  int  int
2184  main ()  main ()
2185  {  {
# Line 1864  ac_clean_files="$ac_clean_files a.out a. Line 2193  ac_clean_files="$ac_clean_files a.out a.
2193  # Try to create an executable without -o first, disregard a.out.  # Try to create an executable without -o first, disregard a.out.
2194  # It will help us diagnose broken compilers, and finding out an intuition  # It will help us diagnose broken compilers, and finding out an intuition
2195  # of exeext.  # of exeext.
2196  echo "$as_me:1867: checking for C compiler default output" >&5  echo "$as_me:$LINENO: checking for C compiler default output" >&5
2197  echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6  echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2198  ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`  ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2199  if { (eval echo "$as_me:1870: \"$ac_link_default\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2200    (eval $ac_link_default) 2>&5    (eval $ac_link_default) 2>&5
2201    ac_status=$?    ac_status=$?
2202    echo "$as_me:1873: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2203    (exit $ac_status); }; then    (exit $ac_status); }; then
2204    # Find the output, starting from the most likely.  This scheme is    # Find the output, starting from the most likely.  This scheme is
2205  # not robust to junk in `.', hence go to wildcards (a.*) only as a last  # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2206  # resort.  # resort.
2207  for ac_file in `ls a.exe conftest.exe 2>/dev/null;  
2208    # Be careful to initialize this variable, since it used to be cached.
2209    # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2210    ac_cv_exeext=
2211    for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
2212                  ls a.out conftest 2>/dev/null;                  ls a.out conftest 2>/dev/null;
2213                  ls a.* conftest.* 2>/dev/null`; do                  ls a.* conftest.* 2>/dev/null`; do
2214    case $ac_file in    case $ac_file in
2215      *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;      *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
2216      a.out ) # We found the default executable, but exeext='' is most      a.out ) # We found the default executable, but exeext='' is most
2217              # certainly right.              # certainly right.
2218              break;;              break;;
# Line 1893  done Line 2226  done
2226  else  else
2227    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2228  cat conftest.$ac_ext >&5  cat conftest.$ac_ext >&5
2229  { { echo "$as_me:1896: error: C compiler cannot create executables" >&5  { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
2230  echo "$as_me: error: C compiler cannot create executables" >&2;}  echo "$as_me: error: C compiler cannot create executables" >&2;}
2231     { (exit 77); exit 77; }; }     { (exit 77); exit 77; }; }
2232  fi  fi
2233    
2234  ac_exeext=$ac_cv_exeext  ac_exeext=$ac_cv_exeext
2235  echo "$as_me:1902: result: $ac_file" >&5  echo "$as_me:$LINENO: result: $ac_file" >&5
2236  echo "${ECHO_T}$ac_file" >&6  echo "${ECHO_T}$ac_file" >&6
2237    
2238  # Check the compiler produces executables we can run.  If not, either  # Check the compiler produces executables we can run.  If not, either
2239  # the compiler is broken, or we cross compile.  # the compiler is broken, or we cross compile.
2240  echo "$as_me:1907: checking whether the C compiler works" >&5  echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2241  echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6  echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2242  # FIXME: These cross compiler hacks should be removed for Autoconf 3.0  # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2243  # If not cross compiling, check that we can run a simple program.  # If not cross compiling, check that we can run a simple program.
2244  if test "$cross_compiling" != yes; then  if test "$cross_compiling" != yes; then
2245    if { ac_try='./$ac_file'    if { ac_try='./$ac_file'
2246    { (eval echo "$as_me:1913: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2247    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2248    ac_status=$?    ac_status=$?
2249    echo "$as_me:1916: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2250    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2251      cross_compiling=no      cross_compiling=no
2252    else    else
2253      if test "$cross_compiling" = maybe; then      if test "$cross_compiling" = maybe; then
2254          cross_compiling=yes          cross_compiling=yes
2255      else      else
2256          { { echo "$as_me:1923: error: cannot run C compiled programs.          { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2257  If you meant to cross compile, use \`--host'." >&5  If you meant to cross compile, use \`--host'." >&5
2258  echo "$as_me: error: cannot run C compiled programs.  echo "$as_me: error: cannot run C compiled programs.
2259  If you meant to cross compile, use \`--host'." >&2;}  If you meant to cross compile, use \`--host'." >&2;}
# Line 1928  If you meant to cross compile, use \`--h Line 2261  If you meant to cross compile, use \`--h
2261      fi      fi
2262    fi    fi
2263  fi  fi
2264  echo "$as_me:1931: result: yes" >&5  echo "$as_me:$LINENO: result: yes" >&5
2265  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
2266    
2267  rm -f a.out a.exe conftest$ac_cv_exeext  rm -f a.out a.exe conftest$ac_cv_exeext
2268  ac_clean_files=$ac_clean_files_save  ac_clean_files=$ac_clean_files_save
2269  # Check the compiler produces executables we can run.  If not, either  # Check the compiler produces executables we can run.  If not, either
2270  # the compiler is broken, or we cross compile.  # the compiler is broken, or we cross compile.
2271  echo "$as_me:1938: checking whether we are cross compiling" >&5  echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2272  echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6  echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2273  echo "$as_me:1940: result: $cross_compiling" >&5  echo "$as_me:$LINENO: result: $cross_compiling" >&5
2274  echo "${ECHO_T}$cross_compiling" >&6  echo "${ECHO_T}$cross_compiling" >&6
2275    
2276  echo "$as_me:1943: checking for executable suffix" >&5  echo "$as_me:$LINENO: checking for suffix of executables" >&5
2277  echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6  echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2278  if { (eval echo "$as_me:1945: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2279    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
2280    ac_status=$?    ac_status=$?
2281    echo "$as_me:1948: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2282    (exit $ac_status); }; then    (exit $ac_status); }; then
2283    # If both `conftest.exe' and `conftest' are `present' (well, observable)    # If both `conftest.exe' and `conftest' are `present' (well, observable)
2284  # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will  # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
# Line 1961  for ac_file in `(ls conftest.exe; ls con Line 2294  for ac_file in `(ls conftest.exe; ls con
2294    esac    esac
2295  done  done
2296  else  else
2297    { { echo "$as_me:1964: error: cannot compute EXEEXT: cannot compile and link" >&5    { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
2298  echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}  echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
2299     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
2300  fi  fi
2301    
2302  rm -f conftest$ac_cv_exeext  rm -f conftest$ac_cv_exeext
2303  echo "$as_me:1970: result: $ac_cv_exeext" >&5  echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2304  echo "${ECHO_T}$ac_cv_exeext" >&6  echo "${ECHO_T}$ac_cv_exeext" >&6
2305    
2306  rm -f conftest.$ac_ext  rm -f conftest.$ac_ext
2307  EXEEXT=$ac_cv_exeext  EXEEXT=$ac_cv_exeext
2308  ac_exeext=$EXEEXT  ac_exeext=$EXEEXT
2309  echo "$as_me:1976: checking for object suffix" >&5  echo "$as_me:$LINENO: checking for suffix of object files" >&5
2310  echo $ECHO_N "checking for object suffix... $ECHO_C" >&6  echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2311  if test "${ac_cv_objext+set}" = set; then  if test "${ac_cv_objext+set}" = set; then
2312    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2313  else  else
2314    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2315  #line 1982 "configure"  #line $LINENO "configure"
2316  #include "confdefs.h"  #include "confdefs.h"
2317    
2318    #ifdef F77_DUMMY_MAIN
2319    #  ifdef __cplusplus
2320         extern "C"
2321    #  endif
2322       int F77_DUMMY_MAIN() { return 1; }
2323    #endif
2324  int  int
2325  main ()  main ()
2326  {  {
# Line 1991  main () Line 2330  main ()
2330  }  }
2331  _ACEOF  _ACEOF
2332  rm -f conftest.o conftest.obj  rm -f conftest.o conftest.obj
2333  if { (eval echo "$as_me:1994: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2334    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2335    ac_status=$?    ac_status=$?
2336    echo "$as_me:1997: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2337    (exit $ac_status); }; then    (exit $ac_status); }; then
2338    for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do    for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2339    case $ac_file in    case $ac_file in
# Line 2006  done Line 2345  done
2345  else  else
2346    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2347  cat conftest.$ac_ext >&5  cat conftest.$ac_ext >&5
2348  { { echo "$as_me:2009: error: cannot compute OBJEXT: cannot compile" >&5  { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
2349  echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}  echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
2350     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
2351  fi  fi
2352    
2353  rm -f conftest.$ac_cv_objext conftest.$ac_ext  rm -f conftest.$ac_cv_objext conftest.$ac_ext
2354  fi  fi
2355  echo "$as_me:2016: result: $ac_cv_objext" >&5  echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2356  echo "${ECHO_T}$ac_cv_objext" >&6  echo "${ECHO_T}$ac_cv_objext" >&6
2357  OBJEXT=$ac_cv_objext  OBJEXT=$ac_cv_objext
2358  ac_objext=$OBJEXT  ac_objext=$OBJEXT
2359  echo "$as_me:2020: checking whether we are using the GNU C compiler" >&5  echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2360  echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6  echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2361  if test "${ac_cv_c_compiler_gnu+set}" = set; then  if test "${ac_cv_c_compiler_gnu+set}" = set; then
2362    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2363  else  else
2364    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2365  #line 2026 "configure"  #line $LINENO "configure"
2366  #include "confdefs.h"  #include "confdefs.h"
2367    
2368    #ifdef F77_DUMMY_MAIN
2369    #  ifdef __cplusplus
2370         extern "C"
2371    #  endif
2372       int F77_DUMMY_MAIN() { return 1; }
2373    #endif
2374  int  int
2375  main ()  main ()
2376  {  {
# Line 2038  main () Line 2383  main ()
2383  }  }
2384  _ACEOF  _ACEOF
2385  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2386  if { (eval echo "$as_me:2041: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2387    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2388    ac_status=$?    ac_status=$?
2389    echo "$as_me:2044: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2390    (exit $ac_status); } &&    (exit $ac_status); } &&
2391           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
2392    { (eval echo "$as_me:2047: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2393    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2394    ac_status=$?    ac_status=$?
2395    echo "$as_me:2050: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2396    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2397    ac_compiler_gnu=yes    ac_compiler_gnu=yes
2398  else  else
# Line 2059  rm -f conftest.$ac_objext conftest.$ac_e Line 2404  rm -f conftest.$ac_objext conftest.$ac_e
2404  ac_cv_c_compiler_gnu=$ac_compiler_gnu  ac_cv_c_compiler_gnu=$ac_compiler_gnu
2405    
2406  fi  fi
2407  echo "$as_me:2062: result: $ac_cv_c_compiler_gnu" >&5  echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2408  echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6  echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2409  GCC=`test $ac_compiler_gnu = yes && echo yes`  GCC=`test $ac_compiler_gnu = yes && echo yes`
2410  ac_test_CFLAGS=${CFLAGS+set}  ac_test_CFLAGS=${CFLAGS+set}
2411  ac_save_CFLAGS=$CFLAGS  ac_save_CFLAGS=$CFLAGS
2412  CFLAGS="-g"  CFLAGS="-g"
2413  echo "$as_me:2068: checking whether $CC accepts -g" >&5  echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2414  echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6  echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2415  if test "${ac_cv_prog_cc_g+set}" = set; then  if test "${ac_cv_prog_cc_g+set}" = set; then
2416    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2417  else  else
2418    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2419  #line 2074 "configure"  #line $LINENO "configure"
2420  #include "confdefs.h"  #include "confdefs.h"
2421    
2422    #ifdef F77_DUMMY_MAIN
2423    #  ifdef __cplusplus
2424         extern "C"
2425    #  endif
2426       int F77_DUMMY_MAIN() { return 1; }
2427    #endif
2428  int  int
2429  main ()  main ()
2430  {  {
# Line 2083  main () Line 2434  main ()
2434  }  }
2435  _ACEOF  _ACEOF
2436  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2437  if { (eval echo "$as_me:2086: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2438    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2439    ac_status=$?    ac_status=$?
2440    echo "$as_me:2089: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2441    (exit $ac_status); } &&    (exit $ac_status); } &&
2442           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
2443    { (eval echo "$as_me:2092: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2444    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2445    ac_status=$?    ac_status=$?
2446    echo "$as_me:2095: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2447    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2448    ac_cv_prog_cc_g=yes    ac_cv_prog_cc_g=yes
2449  else  else
# Line 2102  ac_cv_prog_cc_g=no Line 2453  ac_cv_prog_cc_g=no
2453  fi  fi
2454  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
2455  fi  fi
2456  echo "$as_me:2105: result: $ac_cv_prog_cc_g" >&5  echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2457  echo "${ECHO_T}$ac_cv_prog_cc_g" >&6  echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2458  if test "$ac_test_CFLAGS" = set; then  if test "$ac_test_CFLAGS" = set; then
2459    CFLAGS=$ac_save_CFLAGS    CFLAGS=$ac_save_CFLAGS
# Line 2129  cat >conftest.$ac_ext <<_ACEOF Line 2480  cat >conftest.$ac_ext <<_ACEOF
2480  #endif  #endif
2481  _ACEOF  _ACEOF
2482  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2483  if { (eval echo "$as_me:2132: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2484    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2485    ac_status=$?    ac_status=$?
2486    echo "$as_me:2135: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2487    (exit $ac_status); } &&    (exit $ac_status); } &&
2488           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
2489    { (eval echo "$as_me:2138: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2490    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2491    ac_status=$?    ac_status=$?
2492    echo "$as_me:2141: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2493    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2494    for ac_declaration in \    for ac_declaration in \
2495     ''\     ''\
# Line 2150  if { (eval echo "$as_me:2132: \"$ac_comp Line 2501  if { (eval echo "$as_me:2132: \"$ac_comp
2501     'void exit (int);'     'void exit (int);'
2502  do  do
2503    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2504  #line 2153 "configure"  #line $LINENO "configure"
2505  #include "confdefs.h"  #include "confdefs.h"
2506  #include <stdlib.h>  #include <stdlib.h>
2507  $ac_declaration  $ac_declaration
2508    #ifdef F77_DUMMY_MAIN
2509    #  ifdef __cplusplus
2510         extern "C"
2511    #  endif
2512       int F77_DUMMY_MAIN() { return 1; }
2513    #endif
2514  int  int
2515  main ()  main ()
2516  {  {
# Line 2163  exit (42); Line 2520  exit (42);
2520  }  }
2521  _ACEOF  _ACEOF
2522  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2523  if { (eval echo "$as_me:2166: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2524    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2525    ac_status=$?    ac_status=$?
2526    echo "$as_me:2169: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2527    (exit $ac_status); } &&    (exit $ac_status); } &&
2528           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
2529    { (eval echo "$as_me:2172: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2530    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2531    ac_status=$?    ac_status=$?
2532    echo "$as_me:2175: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2533    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2534    :    :
2535  else  else
# Line 2182  continue Line 2539  continue
2539  fi  fi
2540  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
2541    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2542  #line 2185 "configure"  #line $LINENO "configure"
2543  #include "confdefs.h"  #include "confdefs.h"
2544  $ac_declaration  $ac_declaration
2545    #ifdef F77_DUMMY_MAIN
2546    #  ifdef __cplusplus
2547         extern "C"
2548    #  endif
2549       int F77_DUMMY_MAIN() { return 1; }
2550    #endif
2551  int  int
2552  main ()  main ()
2553  {  {
# Line 2194  exit (42); Line 2557  exit (42);
2557  }  }
2558  _ACEOF  _ACEOF
2559  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2560  if { (eval echo "$as_me:2197: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2561    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2562    ac_status=$?    ac_status=$?
2563    echo "$as_me:2200: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2564    (exit $ac_status); } &&    (exit $ac_status); } &&
2565           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
2566    { (eval echo "$as_me:2203: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2567    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2568    ac_status=$?    ac_status=$?
2569    echo "$as_me:2206: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2570    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2571    break    break
2572  else  else
# Line 2238  doit: Line 2601  doit:
2601          @echo done          @echo done
2602  END  END
2603  # If we don't find an include directive, just comment out the code.  # If we don't find an include directive, just comment out the code.
2604  echo "$as_me:2241: checking for style of include used by $am_make" >&5  echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2605  echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6  echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2606  am__include='#'  am__include='#'
2607  am__quote=  am__quote=
# Line 2265  if test "$am__include" = "#"; then Line 2628  if test "$am__include" = "#"; then
2628     fi     fi
2629  fi  fi
2630    
2631  echo "$as_me:2268: result: $_am_result" >&5  
2632    echo "$as_me:$LINENO: result: $_am_result" >&5
2633  echo "${ECHO_T}$_am_result" >&6  echo "${ECHO_T}$_am_result" >&6
2634  rm -f confinc confmf  rm -f confinc confmf
2635    
2636    
2637  depcc="$CC"   am_compiler_list=  depcc="$CC"   am_compiler_list=
2638    
2639  echo "$as_me:2274: checking dependency style of $depcc" >&5  echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2640  echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6  echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2641  if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then  if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2642    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2333  else Line 2698  else
2698  fi  fi
2699    
2700  fi  fi
2701  echo "$as_me:2336: result: $am_cv_CC_dependencies_compiler_type" >&5  echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2702  echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6  echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2703  CCDEPMODE="depmode=$am_cv_CC_dependencies_compiler_type"  CCDEPMODE="depmode=$am_cv_CC_dependencies_compiler_type"
2704    
2705    
2706  # We need this for older versions of Autoconf.  # We need this for older versions of Autoconf.
2707    
2708  depcc="$CC"   am_compiler_list=  depcc="$CC"   am_compiler_list=
2709    
2710  echo "$as_me:2344: checking dependency style of $depcc" >&5  echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2711  echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6  echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2712  if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then  if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2713    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2403  else Line 2769  else
2769  fi  fi
2770    
2771  fi  fi
2772  echo "$as_me:2406: result: $am_cv_CC_dependencies_compiler_type" >&5  echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2773  echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6  echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2774  CCDEPMODE="depmode=$am_cv_CC_dependencies_compiler_type"  CCDEPMODE="depmode=$am_cv_CC_dependencies_compiler_type"
2775    
2776    
2777    
2778  AS="$CC"  AS="$CC"
2779    
2780    
2781    
2782  # Check whether --with-binutils or --without-binutils was given.  # Check whether --with-binutils or --without-binutils was given.
2783  if test "${with_binutils+set}" = set; then  if test "${with_binutils+set}" = set; then
2784    withval="$with_binutils"    withval="$with_binutils"
# Line 2418  fi; Line 2788  fi;
2788  if test "x$with_binutils" != x; then  if test "x$with_binutils" != x; then
2789    # Extract the first word of "ranlib", so it can be a program name with args.    # Extract the first word of "ranlib", so it can be a program name with args.
2790  set dummy ranlib; ac_word=$2  set dummy ranlib; ac_word=$2
2791  echo "$as_me:2421: checking for $ac_word" >&5  echo "$as_me:$LINENO: checking for $ac_word" >&5
2792  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2793  if test "${ac_cv_path_RANLIB+set}" = set; then  if test "${ac_cv_path_RANLIB+set}" = set; then
2794    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2428  else Line 2798  else
2798    ac_cv_path_RANLIB="$RANLIB" # Let the user override the test with a path.    ac_cv_path_RANLIB="$RANLIB" # Let the user override the test with a path.
2799    ;;    ;;
2800    *)    *)
2801    ac_save_IFS=$IFS; IFS=$ac_path_separator    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2802  ac_dummy=""$with_binutils:$PATH""  for as_dir in "$with_binutils:$PATH"
2803  for ac_dir in $ac_dummy; do  do
2804    IFS=$ac_save_IFS    IFS=$as_save_IFS
2805    test -z "$ac_dir" && ac_dir=.    test -z "$as_dir" && as_dir=.
2806    if $as_executable_p "$ac_dir/$ac_word"; then    for ac_exec_ext in '' $ac_executable_extensions; do
2807     ac_cv_path_RANLIB="$ac_dir/$ac_word"    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2808     echo "$as_me:2438: found $ac_dir/$ac_word" >&5      ac_cv_path_RANLIB="$as_dir/$ac_word$ac_exec_ext"
2809     break      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2810  fi      break 2
2811      fi
2812    done
2813  done  done
2814    
2815    test -z "$ac_cv_path_RANLIB" && ac_cv_path_RANLIB=":"    test -z "$ac_cv_path_RANLIB" && ac_cv_path_RANLIB=":"
# Line 2447  fi Line 2819  fi
2819  RANLIB=$ac_cv_path_RANLIB  RANLIB=$ac_cv_path_RANLIB
2820    
2821  if test -n "$RANLIB"; then  if test -n "$RANLIB"; then
2822    echo "$as_me:2450: result: $RANLIB" >&5    echo "$as_me:$LINENO: result: $RANLIB" >&5
2823  echo "${ECHO_T}$RANLIB" >&6  echo "${ECHO_T}$RANLIB" >&6
2824  else  else
2825    echo "$as_me:2453: result: no" >&5    echo "$as_me:$LINENO: result: no" >&5
2826  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
2827  fi  fi
2828    
# Line 2458  else Line 2830  else
2830    if test -n "$ac_tool_prefix"; then    if test -n "$ac_tool_prefix"; then
2831    # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.    # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2832  set dummy ${ac_tool_prefix}ranlib; ac_word=$2  set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2833  echo "$as_me:2461: checking for $ac_word" >&5  echo "$as_me:$LINENO: checking for $ac_word" >&5
2834  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2835  if test "${ac_cv_prog_RANLIB+set}" = set; then  if test "${ac_cv_prog_RANLIB+set}" = set; then
2836    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2466  else Line 2838  else
2838    if test -n "$RANLIB"; then    if test -n "$RANLIB"; then
2839    ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.    ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2840  else  else
2841    ac_save_IFS=$IFS; IFS=$ac_path_separator  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2842  ac_dummy="$PATH"  for as_dir in $PATH
2843  for ac_dir in $ac_dummy; do  do
2844    IFS=$ac_save_IFS    IFS=$as_save_IFS
2845    test -z "$ac_dir" && ac_dir=.    test -z "$as_dir" && as_dir=.
2846    $as_executable_p "$ac_dir/$ac_word" || continue    for ac_exec_ext in '' $ac_executable_extensions; do
2847  ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2848  echo "$as_me:2476: found $ac_dir/$ac_word" >&5      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2849  break      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2850        break 2
2851      fi
2852    done
2853  done  done
2854    
2855  fi  fi
2856  fi  fi
2857  RANLIB=$ac_cv_prog_RANLIB  RANLIB=$ac_cv_prog_RANLIB
2858  if test -n "$RANLIB"; then  if test -n "$RANLIB"; then
2859    echo "$as_me:2484: result: $RANLIB" >&5    echo "$as_me:$LINENO: result: $RANLIB" >&5
2860  echo "${ECHO_T}$RANLIB" >&6  echo "${ECHO_T}$RANLIB" >&6
2861  else  else
2862    echo "$as_me:2487: result: no" >&5    echo "$as_me:$LINENO: result: no" >&5
2863  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
2864  fi  fi
2865    
# Line 2493  if test -z "$ac_cv_prog_RANLIB"; then Line 2868  if test -z "$ac_cv_prog_RANLIB"; then
2868    ac_ct_RANLIB=$RANLIB    ac_ct_RANLIB=$RANLIB
2869    # Extract the first word of "ranlib", so it can be a program name with args.    # Extract the first word of "ranlib", so it can be a program name with args.
2870  set dummy ranlib; ac_word=$2  set dummy ranlib; ac_word=$2
2871  echo "$as_me:2496: checking for $ac_word" >&5  echo "$as_me:$LINENO: checking for $ac_word" >&5
2872  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2873  if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then  if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2874    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2501  else Line 2876  else
2876    if test -n "$ac_ct_RANLIB"; then    if test -n "$ac_ct_RANLIB"; then
2877    ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.    ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2878  else  else
2879    ac_save_IFS=$IFS; IFS=$ac_path_separator  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2880  ac_dummy="$PATH"  for as_dir in $PATH
2881  for ac_dir in $ac_dummy; do  do
2882    IFS=$ac_save_IFS    IFS=$as_save_IFS
2883    test -z "$ac_dir" && ac_dir=.    test -z "$as_dir" && as_dir=.
2884    $as_executable_p "$ac_dir/$ac_word" || continue    for ac_exec_ext in '' $ac_executable_extensions; do
2885  ac_cv_prog_ac_ct_RANLIB="ranlib"    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2886  echo "$as_me:2511: found $ac_dir/$ac_word" >&5      ac_cv_prog_ac_ct_RANLIB="ranlib"
2887  break      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2888        break 2
2889      fi
2890    done
2891  done  done
2892    
2893    test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"    test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
# Line 2517  fi Line 2895  fi
2895  fi  fi
2896  ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB  ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2897  if test -n "$ac_ct_RANLIB"; then  if test -n "$ac_ct_RANLIB"; then
2898    echo "$as_me:2520: result: $ac_ct_RANLIB" >&5    echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2899  echo "${ECHO_T}$ac_ct_RANLIB" >&6  echo "${ECHO_T}$ac_ct_RANLIB" >&6
2900  else  else
2901    echo "$as_me:2523: result: no" >&5    echo "$as_me:$LINENO: result: no" >&5
2902  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
2903  fi  fi
2904    
# Line 2541  if test "x$ac_cv_c_compiler_gnu" = xyes; Line 2919  if test "x$ac_cv_c_compiler_gnu" = xyes;
2919      fi      fi
2920      STAGE1_CFLAGS="-O2"      STAGE1_CFLAGS="-O2"
2921      GRUB_CFLAGS="-O2"      GRUB_CFLAGS="-O2"
2922      echo "$as_me:2544: checking whether optimization for size works" >&5      echo "$as_me:$LINENO: checking whether optimization for size works" >&5
2923  echo $ECHO_N "checking whether optimization for size works... $ECHO_C" >&6  echo $ECHO_N "checking whether optimization for size works... $ECHO_C" >&6
2924  if test "${size_flag+set}" = set; then  if test "${size_flag+set}" = set; then
2925    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2551  else Line 2929  else
2929        CFLAGS="-Os -g"        CFLAGS="-Os -g"
2930    
2931  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
2932  #line 2554 "configure"  #line $LINENO "configure"
2933  #include "confdefs.h"  #include "confdefs.h"
2934    
2935    #ifdef F77_DUMMY_MAIN
2936    #  ifdef __cplusplus
2937         extern "C"
2938    #  endif
2939       int F77_DUMMY_MAIN() { return 1; }
2940    #endif
2941  int  int
2942  main ()  main ()
2943  {  {
# Line 2563  main () Line 2947  main ()
2947  }  }
2948  _ACEOF  _ACEOF
2949  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2950  if { (eval echo "$as_me:2566: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2951    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2952    ac_status=$?    ac_status=$?
2953    echo "$as_me:2569: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2954    (exit $ac_status); } &&    (exit $ac_status); } &&
2955           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
2956    { (eval echo "$as_me:2572: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2957    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2958    ac_status=$?    ac_status=$?
2959    echo "$as_me:2575: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2960    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2961    size_flag=yes    size_flag=yes
2962  else  else
# Line 2584  rm -f conftest.$ac_objext conftest.$ac_e Line 2968  rm -f conftest.$ac_objext conftest.$ac_e
2968        CFLAGS=$saved_CFLAGS        CFLAGS=$saved_CFLAGS
2969    
2970  fi  fi
2971  echo "$as_me:2587: result: $size_flag" >&5  echo "$as_me:$LINENO: result: $size_flag" >&5
2972  echo "${ECHO_T}$size_flag" >&6  echo "${ECHO_T}$size_flag" >&6
2973      if test "x$size_flag" = xyes; then      if test "x$size_flag" = xyes; then
2974        STAGE2_CFLAGS="-Os"        STAGE2_CFLAGS="-Os"
# Line 2594  echo "${ECHO_T}$size_flag" >&6 Line 2978  echo "${ECHO_T}$size_flag" >&6
2978    fi    fi
2979  fi  fi
2980    
2981    
2982    
2983    
2984    
2985  # Enforce coding standards.  # Enforce coding standards.
2986  CPPFLAGS="$CPPFLAGS -Wall -Wmissing-prototypes -Wunused -Wshadow"  CPPFLAGS="$CPPFLAGS -Wall -Wmissing-prototypes -Wunused -Wshadow"
2987  CPPFLAGS="$CPPFLAGS -Wpointer-arith"  CPPFLAGS="$CPPFLAGS -Wpointer-arith"
2988    
2989  echo "$as_me:2601: checking whether -Wundef works" >&5  echo "$as_me:$LINENO: checking whether -Wundef works" >&5
2990  echo $ECHO_N "checking whether -Wundef works... $ECHO_C" >&6  echo $ECHO_N "checking whether -Wundef works... $ECHO_C" >&6
2991  if test "${undef_flag+set}" = set; then  if test "${undef_flag+set}" = set; then
2992    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2607  else Line 2995  else
2995    saved_CPPFLAGS=$CPPFLAGS    saved_CPPFLAGS=$CPPFLAGS
2996    CPPFLAGS="-Wundef"    CPPFLAGS="-Wundef"
2997    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2998  #line 2610 "configure"  #line $LINENO "configure"
2999  #include "confdefs.h"  #include "confdefs.h"
3000    
3001    #ifdef F77_DUMMY_MAIN
3002    #  ifdef __cplusplus
3003         extern "C"
3004    #  endif
3005       int F77_DUMMY_MAIN() { return 1; }
3006    #endif
3007  int  int
3008  main ()  main ()
3009  {  {
# Line 2619  main () Line 3013  main ()
3013  }  }
3014  _ACEOF  _ACEOF
3015  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3016  if { (eval echo "$as_me:2622: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3017    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
3018    ac_status=$?    ac_status=$?
3019    echo "$as_me:2625: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3020    (exit $ac_status); } &&    (exit $ac_status); } &&
3021           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
3022    { (eval echo "$as_me:2628: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3023    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3024    ac_status=$?    ac_status=$?
3025    echo "$as_me:2631: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3026    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3027    undef_flag=yes    undef_flag=yes
3028  else  else
# Line 2640  rm -f conftest.$ac_objext conftest.$ac_e Line 3034  rm -f conftest.$ac_objext conftest.$ac_e
3034    CPPFLAGS=$saved_CPPFLAGS    CPPFLAGS=$saved_CPPFLAGS
3035    
3036  fi  fi
3037  echo "$as_me:2643: result: $undef_flag" >&5  echo "$as_me:$LINENO: result: $undef_flag" >&5
3038  echo "${ECHO_T}$undef_flag" >&6  echo "${ECHO_T}$undef_flag" >&6
3039    
3040  # Force no alignment to save space.  # Force no alignment to save space.
# Line 2653  fi Line 3047  fi
3047  if test "x$with_binutils" != x; then  if test "x$with_binutils" != x; then
3048    # Extract the first word of "objcopy", so it can be a program name with args.    # Extract the first word of "objcopy", so it can be a program name with args.
3049  set dummy objcopy; ac_word=$2  set dummy objcopy; ac_word=$2
3050  echo "$as_me:2656: checking for $ac_word" >&5  echo "$as_me:$LINENO: checking for $ac_word" >&5
3051  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3052  if test "${ac_cv_path_OBJCOPY+set}" = set; then  if test "${ac_cv_path_OBJCOPY+set}" = set; then
3053    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2663  else Line 3057  else
3057    ac_cv_path_OBJCOPY="$OBJCOPY" # Let the user override the test with a path.    ac_cv_path_OBJCOPY="$OBJCOPY" # Let the user override the test with a path.
3058    ;;    ;;
3059    *)    *)
3060    ac_save_IFS=$IFS; IFS=$ac_path_separator    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3061  ac_dummy=""$with_binutils:$PATH""  for as_dir in "$with_binutils:$PATH"
3062  for ac_dir in $ac_dummy; do  do
3063    IFS=$ac_save_IFS    IFS=$as_save_IFS
3064    test -z "$ac_dir" && ac_dir=.    test -z "$as_dir" && as_dir=.
3065    if $as_executable_p "$ac_dir/$ac_word"; then    for ac_exec_ext in '' $ac_executable_extensions; do
3066     ac_cv_path_OBJCOPY="$ac_dir/$ac_word"    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3067     echo "$as_me:2673: found $ac_dir/$ac_word" >&5      ac_cv_path_OBJCOPY="$as_dir/$ac_word$ac_exec_ext"
3068     break      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3069  fi      break 2
3070      fi
3071    done
3072  done  done
3073    
3074    ;;    ;;
# Line 2681  fi Line 3077  fi
3077  OBJCOPY=$ac_cv_path_OBJCOPY  OBJCOPY=$ac_cv_path_OBJCOPY
3078    
3079  if test -n "$OBJCOPY"; then  if test -n "$OBJCOPY"; then
3080    echo "$as_me:2684: result: $OBJCOPY" >&5    echo "$as_me:$LINENO: result: $OBJCOPY" >&5
3081  echo "${ECHO_T}$OBJCOPY" >&6  echo "${ECHO_T}$OBJCOPY" >&6
3082  else  else
3083    echo "$as_me:2687: result: no" >&5    echo "$as_me:$LINENO: result: no" >&5
3084  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
3085  fi  fi
3086    
# Line 2692  else Line 3088  else
3088    if test -n "$ac_tool_prefix"; then    if test -n "$ac_tool_prefix"; then
3089    # Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args.    # Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args.
3090  set dummy ${ac_tool_prefix}objcopy; ac_word=$2  set dummy ${ac_tool_prefix}objcopy; ac_word=$2
3091  echo "$as_me:2695: checking for $ac_word" >&5  echo "$as_me:$LINENO: checking for $ac_word" >&5
3092  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3093  if test "${ac_cv_prog_OBJCOPY+set}" = set; then  if test "${ac_cv_prog_OBJCOPY+set}" = set; then
3094    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2700  else Line 3096  else
3096    if test -n "$OBJCOPY"; then    if test -n "$OBJCOPY"; then
3097    ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.    ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
3098  else  else
3099    ac_save_IFS=$IFS; IFS=$ac_path_separator  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3100  ac_dummy="$PATH"  for as_dir in $PATH
3101  for ac_dir in $ac_dummy; do  do
3102    IFS=$ac_save_IFS    IFS=$as_save_IFS
3103    test -z "$ac_dir" && ac_dir=.    test -z "$as_dir" && as_dir=.
3104    $as_executable_p "$ac_dir/$ac_word" || continue    for ac_exec_ext in '' $ac_executable_extensions; do
3105  ac_cv_prog_OBJCOPY="${ac_tool_prefix}objcopy"    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3106  echo "$as_me:2710: found $ac_dir/$ac_word" >&5      ac_cv_prog_OBJCOPY="${ac_tool_prefix}objcopy"
3107  break      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3108        break 2
3109      fi
3110    done
3111  done  done
3112    
3113  fi  fi
3114  fi  fi
3115  OBJCOPY=$ac_cv_prog_OBJCOPY  OBJCOPY=$ac_cv_prog_OBJCOPY
3116  if test -n "$OBJCOPY"; then  if test -n "$OBJCOPY"; then
3117    echo "$as_me:2718: result: $OBJCOPY" >&5    echo "$as_me:$LINENO: result: $OBJCOPY" >&5
3118  echo "${ECHO_T}$OBJCOPY" >&6  echo "${ECHO_T}$OBJCOPY" >&6
3119  else  else
3120    echo "$as_me:2721: result: no" >&5    echo "$as_me:$LINENO: result: no" >&5
3121  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
3122  fi  fi
3123    
# Line 2727  if test -z "$ac_cv_prog_OBJCOPY"; then Line 3126  if test -z "$ac_cv_prog_OBJCOPY"; then
3126    ac_ct_OBJCOPY=$OBJCOPY    ac_ct_OBJCOPY=$OBJCOPY
3127    # Extract the first word of "objcopy", so it can be a program name with args.    # Extract the first word of "objcopy", so it can be a program name with args.
3128  set dummy objcopy; ac_word=$2  set dummy objcopy; ac_word=$2
3129  echo "$as_me:2730: checking for $ac_word" >&5  echo "$as_me:$LINENO: checking for $ac_word" >&5
3130  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3131  if test "${ac_cv_prog_ac_ct_OBJCOPY+set}" = set; then  if test "${ac_cv_prog_ac_ct_OBJCOPY+set}" = set; then
3132    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2735  else Line 3134  else
3134    if test -n "$ac_ct_OBJCOPY"; then    if test -n "$ac_ct_OBJCOPY"; then
3135    ac_cv_prog_ac_ct_OBJCOPY="$ac_ct_OBJCOPY" # Let the user override the test.    ac_cv_prog_ac_ct_OBJCOPY="$ac_ct_OBJCOPY" # Let the user override the test.
3136  else  else
3137    ac_save_IFS=$IFS; IFS=$ac_path_separator  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3138  ac_dummy="$PATH"  for as_dir in $PATH
3139  for ac_dir in $ac_dummy; do  do
3140    IFS=$ac_save_IFS    IFS=$as_save_IFS
3141    test -z "$ac_dir" && ac_dir=.    test -z "$as_dir" && as_dir=.
3142    $as_executable_p "$ac_dir/$ac_word" || continue    for ac_exec_ext in '' $ac_executable_extensions; do
3143  ac_cv_prog_ac_ct_OBJCOPY="objcopy"    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3144  echo "$as_me:2745: found $ac_dir/$ac_word" >&5      ac_cv_prog_ac_ct_OBJCOPY="objcopy"
3145  break      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3146        break 2
3147      fi
3148    done
3149  done  done
3150    
3151  fi  fi
3152  fi  fi
3153  ac_ct_OBJCOPY=$ac_cv_prog_ac_ct_OBJCOPY  ac_ct_OBJCOPY=$ac_cv_prog_ac_ct_OBJCOPY
3154  if test -n "$ac_ct_OBJCOPY"; then  if test -n "$ac_ct_OBJCOPY"; then
3155    echo "$as_me:2753: result: $ac_ct_OBJCOPY" >&5    echo "$as_me:$LINENO: result: $ac_ct_OBJCOPY" >&5
3156  echo "${ECHO_T}$ac_ct_OBJCOPY" >&6  echo "${ECHO_T}$ac_ct_OBJCOPY" >&6
3157  else  else
3158    echo "$as_me:2756: result: no" >&5    echo "$as_me:$LINENO: result: no" >&5
3159  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
3160  fi  fi
3161    
# Line 2766  fi Line 3168  fi
3168    
3169  # Defined in acinclude.m4.  # Defined in acinclude.m4.
3170    
3171  echo "$as_me:2769: checking if C symbols get an underscore after compilation" >&5  echo "$as_me:$LINENO: checking if C symbols get an underscore after compilation" >&5
3172  echo $ECHO_N "checking if C symbols get an underscore after compilation... $ECHO_C" >&6  echo $ECHO_N "checking if C symbols get an underscore after compilation... $ECHO_C" >&6
3173  if test "${grub_cv_asm_uscore+set}" = set; then  if test "${grub_cv_asm_uscore+set}" = set; then
3174    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2781  func (int *list) Line 3183  func (int *list)
3183  EOF  EOF
3184    
3185  if { ac_try='${CC-cc} ${CFLAGS} -S conftest.c'  if { ac_try='${CC-cc} ${CFLAGS} -S conftest.c'
3186    { (eval echo "$as_me:2784: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3187    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3188    ac_status=$?    ac_status=$?
3189    echo "$as_me:2787: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3190    (exit $ac_status); }; } && test -s conftest.s; then    (exit $ac_status); }; } && test -s conftest.s; then
3191    true    true
3192  else  else
3193    { { echo "$as_me:2791: error: ${CC-cc} failed to produce assembly code" >&5    { { echo "$as_me:$LINENO: error: ${CC-cc} failed to produce assembly code" >&5
3194  echo "$as_me: error: ${CC-cc} failed to produce assembly code" >&2;}  echo "$as_me: error: ${CC-cc} failed to produce assembly code" >&2;}
3195     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
3196  fi  fi
# Line 2802  fi Line 3204  fi
3204  rm -f conftest*  rm -f conftest*
3205  fi  fi
3206    
3207    
3208  if test "x$grub_cv_asm_uscore" = xyes; then  if test "x$grub_cv_asm_uscore" = xyes; then
3209    
3210  cat >>confdefs.h <<EOF  cat >>confdefs.h <<_ACEOF
3211  #define HAVE_ASM_USCORE $grub_cv_asm_uscore  #define HAVE_ASM_USCORE $grub_cv_asm_uscore
3212  EOF  _ACEOF
3213    
3214  fi  fi
3215    
3216  echo "$as_me:2813: result: $grub_cv_asm_uscore" >&5  echo "$as_me:$LINENO: result: $grub_cv_asm_uscore" >&5
3217  echo "${ECHO_T}$grub_cv_asm_uscore" >&6  echo "${ECHO_T}$grub_cv_asm_uscore" >&6
3218    
3219  echo "$as_me:2816: checking whether ${OBJCOPY} works for absolute addresses" >&5  echo "$as_me:$LINENO: checking whether ${OBJCOPY} works for absolute addresses" >&5
3220  echo $ECHO_N "checking whether ${OBJCOPY} works for absolute addresses... $ECHO_C" >&6  echo $ECHO_N "checking whether ${OBJCOPY} works for absolute addresses... $ECHO_C" >&6
3221  if test "${grub_cv_prog_objcopy_absolute+set}" = set; then  if test "${grub_cv_prog_objcopy_absolute+set}" = set; then
3222    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2826  cmain (void) Line 3229  cmain (void)
3229  }  }
3230  EOF  EOF
3231    
3232  if { (eval echo "$as_me:2829: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3233    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
3234    ac_status=$?    ac_status=$?
3235    echo "$as_me:2832: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3236    (exit $ac_status); } && test -s conftest.o; then :    (exit $ac_status); } && test -s conftest.o; then :
3237  else  else
3238    { { echo "$as_me:2835: error: ${CC-cc} cannot compile C source code" >&5    { { echo "$as_me:$LINENO: error: ${CC-cc} cannot compile C source code" >&5
3239  echo "$as_me: error: ${CC-cc} cannot compile C source code" >&2;}  echo "$as_me: error: ${CC-cc} cannot compile C source code" >&2;}
3240     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
3241  fi  fi
3242  grub_cv_prog_objcopy_absolute=yes  grub_cv_prog_objcopy_absolute=yes
3243  for link_addr in 2000 8000 7C00; do  for link_addr in 2000 8000 7C00; do
3244    if { ac_try='${CC-cc} ${CFLAGS} -nostdlib -Wl,-N -Wl,-Ttext -Wl,$link_addr conftest.o -o conftest.exec'    if { ac_try='${CC-cc} ${CFLAGS} -nostdlib -Wl,-N -Wl,-Ttext -Wl,$link_addr conftest.o -o conftest.exec'
3245    { (eval echo "$as_me:2842: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3246    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3247    ac_status=$?    ac_status=$?
3248    echo "$as_me:2845: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3249    (exit $ac_status); }; }; then :    (exit $ac_status); }; }; then :
3250    else    else
3251      { { echo "$as_me:2848: error: ${CC-cc} cannot link at address $link_addr" >&5      { { echo "$as_me:$LINENO: error: ${CC-cc} cannot link at address $link_addr" >&5
3252  echo "$as_me: error: ${CC-cc} cannot link at address $link_addr" >&2;}  echo "$as_me: error: ${CC-cc} cannot link at address $link_addr" >&2;}
3253     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
3254    fi    fi
3255    if { ac_try='${OBJCOPY-objcopy} -O binary conftest.exec conftest'    if { ac_try='${OBJCOPY-objcopy} -O binary conftest.exec conftest'
3256    { (eval echo "$as_me:2853: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3257    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3258    ac_status=$?    ac_status=$?
3259    echo "$as_me:2856: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3260    (exit $ac_status); }; }; then :    (exit $ac_status); }; }; then :
3261    else    else
3262      { { echo "$as_me:2859: error: ${OBJCOPY-objcopy} cannot create binary files" >&5      { { echo "$as_me:$LINENO: error: ${OBJCOPY-objcopy} cannot create binary files" >&5
3263  echo "$as_me: error: ${OBJCOPY-objcopy} cannot create binary files" >&2;}  echo "$as_me: error: ${OBJCOPY-objcopy} cannot create binary files" >&2;}
3264     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
3265    fi    fi
3266    if test ! -f conftest.old || { ac_try='cmp -s conftest.old conftest'    if test ! -f conftest.old || { ac_try='cmp -s conftest.old conftest'
3267    { (eval echo "$as_me:2864: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3268    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3269    ac_status=$?    ac_status=$?
3270    echo "$as_me:2867: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3271    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3272      mv -f conftest conftest.old      mv -f conftest conftest.old
3273    else    else
# Line 2875  done Line 3278  done
3278  rm -f conftest*  rm -f conftest*
3279  fi  fi
3280    
3281  echo "$as_me:2878: result: $grub_cv_prog_objcopy_absolute" >&5  echo "$as_me:$LINENO: result: $grub_cv_prog_objcopy_absolute" >&5
3282  echo "${ECHO_T}$grub_cv_prog_objcopy_absolute" >&6  echo "${ECHO_T}$grub_cv_prog_objcopy_absolute" >&6
3283  if test "x$grub_cv_prog_objcopy_absolute" != xyes; then  if test "x$grub_cv_prog_objcopy_absolute" != xyes; then
3284    { { echo "$as_me:2881: error: GRUB requires a working absolute objcopy; upgrade your binutils" >&5    { { echo "$as_me:$LINENO: error: GRUB requires a working absolute objcopy; upgrade your binutils" >&5
3285  echo "$as_me: error: GRUB requires a working absolute objcopy; upgrade your binutils" >&2;}  echo "$as_me: error: GRUB requires a working absolute objcopy; upgrade your binutils" >&2;}
3286     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
3287  fi  fi
3288    
3289  echo "$as_me:2886: checking whether addr32 must be in the same line as the instruction" >&5  
3290    echo "$as_me:$LINENO: checking whether addr32 must be in the same line as the instruction" >&5
3291  echo $ECHO_N "checking whether addr32 must be in the same line as the instruction... $ECHO_C" >&6  echo $ECHO_N "checking whether addr32 must be in the same line as the instruction... $ECHO_C" >&6
3292  if test "${grub_cv_asm_prefix_requirement+set}" = set; then  if test "${grub_cv_asm_prefix_requirement+set}" = set; then
3293    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2894  l1:    addr32  movb    %al, l1 Line 3298  l1:    addr32  movb    %al, l1
3298  EOF  EOF
3299    
3300  if { ac_try='${CC-cc} ${CFLAGS} -c conftest.s'  if { ac_try='${CC-cc} ${CFLAGS} -c conftest.s'
3301    { (eval echo "$as_me:2897: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3302    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3303    ac_status=$?    ac_status=$?
3304    echo "$as_me:2900: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3305    (exit $ac_status); }; } && test -s conftest.o; then    (exit $ac_status); }; } && test -s conftest.o; then
3306    grub_cv_asm_prefix_requirement=yes    grub_cv_asm_prefix_requirement=yes
3307  else  else
# Line 2907  fi Line 3311  fi
3311  rm -f conftest*  rm -f conftest*
3312  fi  fi
3313    
3314    
3315  if test "x$grub_cv_asm_prefix_requirement" = xyes; then  if test "x$grub_cv_asm_prefix_requirement" = xyes; then
3316    grub_tmp_addr32="addr32"    grub_tmp_addr32="addr32"
3317    grub_tmp_data32="data32"    grub_tmp_data32="data32"
# Line 2915  else Line 3320  else
3320    grub_tmp_data32="data32;"    grub_tmp_data32="data32;"
3321  fi  fi
3322    
3323  cat >>confdefs.h <<EOF  
3324    cat >>confdefs.h <<_ACEOF
3325  #define ADDR32 $grub_tmp_addr32  #define ADDR32 $grub_tmp_addr32
3326  EOF  _ACEOF
3327    
3328  cat >>confdefs.h <<EOF  
3329    cat >>confdefs.h <<_ACEOF
3330  #define DATA32 $grub_tmp_data32  #define DATA32 $grub_tmp_data32
3331  EOF  _ACEOF
3332    
3333  echo "$as_me:2926: result: $grub_cv_asm_prefix_requirement" >&5  
3334    echo "$as_me:$LINENO: result: $grub_cv_asm_prefix_requirement" >&5
3335  echo "${ECHO_T}$grub_cv_asm_prefix_requirement" >&6  echo "${ECHO_T}$grub_cv_asm_prefix_requirement" >&6
3336    
3337  echo "$as_me:2929: checking for .code16 addr32 assembler support" >&5  
3338    
3339    echo "$as_me:$LINENO: checking for .code16 addr32 assembler support" >&5
3340  echo $ECHO_N "checking for .code16 addr32 assembler support... $ECHO_C" >&6  echo $ECHO_N "checking for .code16 addr32 assembler support... $ECHO_C" >&6
3341  if test "${grub_cv_asm_addr32+set}" = set; then  if test "${grub_cv_asm_addr32+set}" = set; then
3342    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2943  else Line 3353  else
3353  fi  fi
3354    
3355  if { ac_try='${CC-cc} ${CFLAGS} -c conftest.s'  if { ac_try='${CC-cc} ${CFLAGS} -c conftest.s'
3356    { (eval echo "$as_me:2946: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3357    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3358    ac_status=$?    ac_status=$?
3359    echo "$as_me:2949: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3360    (exit $ac_status); }; } && test -s conftest.o; then    (exit $ac_status); }; } && test -s conftest.o; then
3361    grub_cv_asm_addr32=yes    grub_cv_asm_addr32=yes
3362  else  else
# Line 2956  fi Line 3366  fi
3366  rm -f conftest*  rm -f conftest*
3367  fi  fi
3368    
3369  echo "$as_me:2959: result: $grub_cv_asm_addr32" >&5  
3370    echo "$as_me:$LINENO: result: $grub_cv_asm_addr32" >&5
3371  echo "${ECHO_T}$grub_cv_asm_addr32" >&6  echo "${ECHO_T}$grub_cv_asm_addr32" >&6
3372  if test "x$grub_cv_asm_addr32" != xyes; then  if test "x$grub_cv_asm_addr32" != xyes; then
3373    { { echo "$as_me:2962: error: GRUB requires GAS .code16 addr32 support; upgrade your binutils" >&5    { { echo "$as_me:$LINENO: error: GRUB requires GAS .code16 addr32 support; upgrade your binutils" >&5
3374  echo "$as_me: error: GRUB requires GAS .code16 addr32 support; upgrade your binutils" >&2;}  echo "$as_me: error: GRUB requires GAS .code16 addr32 support; upgrade your binutils" >&2;}
3375     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
3376  fi  fi
3377    
3378  echo "$as_me:2967: checking whether an absolute indirect call/jump must not be prefixed with an asterisk" >&5  
3379    echo "$as_me:$LINENO: checking whether an absolute indirect call/jump must not be prefixed with an asterisk" >&5
3380  echo $ECHO_N "checking whether an absolute indirect call/jump must not be prefixed with an asterisk... $ECHO_C" >&6  echo $ECHO_N "checking whether an absolute indirect call/jump must not be prefixed with an asterisk... $ECHO_C" >&6
3381  if test "${grub_cv_asm_absolute_without_asterisk+set}" = set; then  if test "${grub_cv_asm_absolute_without_asterisk+set}" = set; then
3382    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2977  offset: Line 3389  offset:
3389  EOF  EOF
3390    
3391  if { ac_try='${CC-cc} ${CFLAGS} -c conftest.s'  if { ac_try='${CC-cc} ${CFLAGS} -c conftest.s'
3392    { (eval echo "$as_me:2980: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3393    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3394    ac_status=$?    ac_status=$?
3395    echo "$as_me:2983: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3396    (exit $ac_status); }; } && test -s conftest.o; then    (exit $ac_status); }; } && test -s conftest.o; then
3397    grub_cv_asm_absolute_without_asterisk=no    grub_cv_asm_absolute_without_asterisk=no
3398  else  else
# Line 2990  fi Line 3402  fi
3402  rm -f conftest*  rm -f conftest*
3403  fi  fi
3404    
3405    
3406  if test "x$grub_cv_asm_absolute_without_asterisk" = xyes; then  if test "x$grub_cv_asm_absolute_without_asterisk" = xyes; then
3407    cat >>confdefs.h <<\EOF    cat >>confdefs.h <<\_ACEOF
3408  #define ABSOLUTE_WITHOUT_ASTERISK 1  #define ABSOLUTE_WITHOUT_ASTERISK 1
3409  EOF  _ACEOF
3410    
3411  fi  fi
3412    
3413  echo "$as_me:3000: result: $grub_cv_asm_absolute_without_asterisk" >&5  echo "$as_me:$LINENO: result: $grub_cv_asm_absolute_without_asterisk" >&5
3414  echo "${ECHO_T}$grub_cv_asm_absolute_without_asterisk" >&6  echo "${ECHO_T}$grub_cv_asm_absolute_without_asterisk" >&6
3415    
3416  echo "$as_me:3003: checking if start is defined by the compiler" >&5  
3417    echo "$as_me:$LINENO: checking if start is defined by the compiler" >&5
3418  echo $ECHO_N "checking if start is defined by the compiler... $ECHO_C" >&6  echo $ECHO_N "checking if start is defined by the compiler... $ECHO_C" >&6
3419  if test "${grub_cv_check_start_symbol+set}" = set; then  if test "${grub_cv_check_start_symbol+set}" = set; then
3420    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3421  else  else
3422    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3423  #line 3009 "configure"  #line $LINENO "configure"
3424  #include "confdefs.h"  #include "confdefs.h"
3425    
3426    #ifdef F77_DUMMY_MAIN
3427    #  ifdef __cplusplus
3428         extern "C"
3429    #  endif
3430       int F77_DUMMY_MAIN() { return 1; }
3431    #endif
3432  int  int
3433  main ()  main ()
3434  {  {
# Line 3018  asm ("incl start") Line 3438  asm ("incl start")
3438  }  }
3439  _ACEOF  _ACEOF
3440  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
3441  if { (eval echo "$as_me:3021: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3442    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
3443    ac_status=$?    ac_status=$?
3444    echo "$as_me:3024: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3445    (exit $ac_status); } &&    (exit $ac_status); } &&
3446           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
3447    { (eval echo "$as_me:3027: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3448    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3449    ac_status=$?    ac_status=$?
3450    echo "$as_me:3030: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3451    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3452    grub_cv_check_start_symbol=yes    grub_cv_check_start_symbol=yes
3453  else  else
# Line 3038  fi Line 3458  fi
3458  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3459  fi  fi
3460    
3461    
3462  if test "x$grub_cv_check_start_symbol" = xyes; then  if test "x$grub_cv_check_start_symbol" = xyes; then
3463    cat >>confdefs.h <<\EOF    cat >>confdefs.h <<\_ACEOF
3464  #define HAVE_START_SYMBOL 1  #define HAVE_START_SYMBOL 1
3465  EOF  _ACEOF
3466    
3467  fi  fi
3468    
3469  echo "$as_me:3048: result: $grub_cv_check_start_symbol" >&5  echo "$as_me:$LINENO: result: $grub_cv_check_start_symbol" >&5
3470  echo "${ECHO_T}$grub_cv_check_start_symbol" >&6  echo "${ECHO_T}$grub_cv_check_start_symbol" >&6
3471    
3472  echo "$as_me:3051: checking if _start is defined by the compiler" >&5  
3473    echo "$as_me:$LINENO: checking if _start is defined by the compiler" >&5
3474  echo $ECHO_N "checking if _start is defined by the compiler... $ECHO_C" >&6  echo $ECHO_N "checking if _start is defined by the compiler... $ECHO_C" >&6
3475  if test "${grub_cv_check_uscore_start_symbol+set}" = set; then  if test "${grub_cv_check_uscore_start_symbol+set}" = set; then
3476    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3477  else  else
3478    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3479  #line 3057 "configure"  #line $LINENO "configure"
3480  #include "confdefs.h"  #include "confdefs.h"
3481    
3482    #ifdef F77_DUMMY_MAIN
3483    #  ifdef __cplusplus
3484         extern "C"
3485    #  endif
3486       int F77_DUMMY_MAIN() { return 1; }
3487    #endif
3488  int  int
3489  main ()  main ()
3490  {  {
# Line 3066  asm ("incl _start") Line 3494  asm ("incl _start")
3494  }  }
3495  _ACEOF  _ACEOF
3496  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
3497  if { (eval echo "$as_me:3069: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3498    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
3499    ac_status=$?    ac_status=$?
3500    echo "$as_me:3072: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3501    (exit $ac_status); } &&    (exit $ac_status); } &&
3502           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
3503    { (eval echo "$as_me:3075: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3504    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3505    ac_status=$?    ac_status=$?
3506    echo "$as_me:3078: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3507    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3508    grub_cv_check_uscore_start_symbol=yes    grub_cv_check_uscore_start_symbol=yes
3509  else  else
# Line 3086  fi Line 3514  fi
3514  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3515  fi  fi
3516    
3517    
3518  if test "x$grub_cv_check_uscore_start_symbol" = xyes; then  if test "x$grub_cv_check_uscore_start_symbol" = xyes; then
3519    cat >>confdefs.h <<\EOF    cat >>confdefs.h <<\_ACEOF
3520  #define HAVE_USCORE_START_SYMBOL 1  #define HAVE_USCORE_START_SYMBOL 1
3521  EOF  _ACEOF
3522    
3523  fi  fi
3524    
3525  echo "$as_me:3096: result: $grub_cv_check_uscore_start_symbol" >&5  echo "$as_me:$LINENO: result: $grub_cv_check_uscore_start_symbol" >&5
3526  echo "${ECHO_T}$grub_cv_check_uscore_start_symbol" >&6  echo "${ECHO_T}$grub_cv_check_uscore_start_symbol" >&6
3527    
3528  if test "x$grub_cv_check_start_symbol" != "xyes" \  if test "x$grub_cv_check_start_symbol" != "xyes" \
3529          -a "x$grub_cv_check_uscore_start_symbol" != "xyes"; then          -a "x$grub_cv_check_uscore_start_symbol" != "xyes"; then
3530    { { echo "$as_me:3101: error: Neither start nor _start is defined" >&5    { { echo "$as_me:$LINENO: error: Neither start nor _start is defined" >&5
3531  echo "$as_me: error: Neither start nor _start is defined" >&2;}  echo "$as_me: error: Neither start nor _start is defined" >&2;}
3532     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
3533  fi  fi
3534    
3535  echo "$as_me:3106: checking if __bss_start is defined by the compiler" >&5  
3536    echo "$as_me:$LINENO: checking if __bss_start is defined by the compiler" >&5
3537  echo $ECHO_N "checking if __bss_start is defined by the compiler... $ECHO_C" >&6  echo $ECHO_N "checking if __bss_start is defined by the compiler... $ECHO_C" >&6
3538  if test "${grub_cv_check_uscore_uscore_bss_start_symbol+set}" = set; then  if test "${grub_cv_check_uscore_uscore_bss_start_symbol+set}" = set; then
3539    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3540  else  else
3541    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3542  #line 3112 "configure"  #line $LINENO "configure"
3543  #include "confdefs.h"  #include "confdefs.h"
3544    
3545    #ifdef F77_DUMMY_MAIN
3546    #  ifdef __cplusplus
3547         extern "C"
3548    #  endif
3549       int F77_DUMMY_MAIN() { return 1; }
3550    #endif
3551  int  int
3552  main ()  main ()
3553  {  {
# Line 3121  asm ("incl __bss_start") Line 3557  asm ("incl __bss_start")
3557  }  }
3558  _ACEOF  _ACEOF
3559  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
3560  if { (eval echo "$as_me:3124: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3561    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
3562    ac_status=$?    ac_status=$?
3563    echo "$as_me:3127: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3564    (exit $ac_status); } &&    (exit $ac_status); } &&
3565           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
3566    { (eval echo "$as_me:3130: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3567    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3568    ac_status=$?    ac_status=$?
3569    echo "$as_me:3133: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3570    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3571    grub_cv_check_uscore_uscore_bss_start_symbol=yes    grub_cv_check_uscore_uscore_bss_start_symbol=yes
3572  else  else
# Line 3141  fi Line 3577  fi
3577  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3578  fi  fi
3579    
3580    
3581  if test "x$grub_cv_check_uscore_uscore_bss_start_symbol" = xyes; then  if test "x$grub_cv_check_uscore_uscore_bss_start_symbol" = xyes; then
3582    cat >>confdefs.h <<\EOF    cat >>confdefs.h <<\_ACEOF
3583  #define HAVE_USCORE_USCORE_BSS_START_SYMBOL 1  #define HAVE_USCORE_USCORE_BSS_START_SYMBOL 1
3584  EOF  _ACEOF
3585    
3586  fi  fi
3587    
3588  echo "$as_me:3151: result: $grub_cv_check_uscore_uscore_bss_start_symbol" >&5  echo "$as_me:$LINENO: result: $grub_cv_check_uscore_uscore_bss_start_symbol" >&5
3589  echo "${ECHO_T}$grub_cv_check_uscore_uscore_bss_start_symbol" >&6  echo "${ECHO_T}$grub_cv_check_uscore_uscore_bss_start_symbol" >&6
3590    
3591  echo "$as_me:3154: checking if _edata is defined by the compiler" >&5  
3592    echo "$as_me:$LINENO: checking if _edata is defined by the compiler" >&5
3593  echo $ECHO_N "checking if _edata is defined by the compiler... $ECHO_C" >&6  echo $ECHO_N "checking if _edata is defined by the compiler... $ECHO_C" >&6
3594  if test "${grub_cv_check_uscore_edata_symbol+set}" = set; then  if test "${grub_cv_check_uscore_edata_symbol+set}" = set; then
3595    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3596  else  else
3597    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3598  #line 3160 "configure"  #line $LINENO "configure"
3599  #include "confdefs.h"  #include "confdefs.h"
3600    
3601    #ifdef F77_DUMMY_MAIN
3602    #  ifdef __cplusplus
3603         extern "C"
3604    #  endif
3605       int F77_DUMMY_MAIN() { return 1; }
3606    #endif
3607  int  int
3608  main ()  main ()
3609  {  {
# Line 3169  asm ("incl _edata") Line 3613  asm ("incl _edata")
3613  }  }
3614  _ACEOF  _ACEOF
3615  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
3616  if { (eval echo "$as_me:3172: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3617    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
3618    ac_status=$?    ac_status=$?
3619    echo "$as_me:3175: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3620    (exit $ac_status); } &&    (exit $ac_status); } &&
3621           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
3622    { (eval echo "$as_me:3178: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3623    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3624    ac_status=$?    ac_status=$?
3625    echo "$as_me:3181: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3626    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3627    grub_cv_check_uscore_edata_symbol=yes    grub_cv_check_uscore_edata_symbol=yes
3628  else  else
# Line 3189  fi Line 3633  fi
3633  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3634  fi  fi
3635    
3636    
3637  if test "x$grub_cv_check_uscore_edata_symbol" = xyes; then  if test "x$grub_cv_check_uscore_edata_symbol" = xyes; then
3638    cat >>confdefs.h <<\EOF    cat >>confdefs.h <<\_ACEOF
3639  #define HAVE_USCORE_EDATA_SYMBOL 1  #define HAVE_USCORE_EDATA_SYMBOL 1
3640  EOF  _ACEOF
3641    
3642  fi  fi
3643    
3644  echo "$as_me:3199: result: $grub_cv_check_uscore_edata_symbol" >&5  echo "$as_me:$LINENO: result: $grub_cv_check_uscore_edata_symbol" >&5
3645  echo "${ECHO_T}$grub_cv_check_uscore_edata_symbol" >&6  echo "${ECHO_T}$grub_cv_check_uscore_edata_symbol" >&6
3646    
3647  echo "$as_me:3202: checking if edata is defined by the compiler" >&5  
3648    echo "$as_me:$LINENO: checking if edata is defined by the compiler" >&5
3649  echo $ECHO_N "checking if edata is defined by the compiler... $ECHO_C" >&6  echo $ECHO_N "checking if edata is defined by the compiler... $ECHO_C" >&6
3650  if test "${grub_cv_check_edata_symbol+set}" = set; then  if test "${grub_cv_check_edata_symbol+set}" = set; then
3651    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3652  else  else
3653    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3654  #line 3208 "configure"  #line $LINENO "configure"
3655  #include "confdefs.h"  #include "confdefs.h"
3656    
3657    #ifdef F77_DUMMY_MAIN
3658    #  ifdef __cplusplus
3659         extern "C"
3660    #  endif
3661       int F77_DUMMY_MAIN() { return 1; }
3662    #endif
3663  int  int
3664  main ()  main ()
3665  {  {
# Line 3217  asm ("incl edata") Line 3669  asm ("incl edata")
3669  }  }
3670  _ACEOF  _ACEOF
3671  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
3672  if { (eval echo "$as_me:3220: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3673    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
3674    ac_status=$?    ac_status=$?
3675    echo "$as_me:3223: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3676    (exit $ac_status); } &&    (exit $ac_status); } &&
3677           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
3678    { (eval echo "$as_me:3226: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3679    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3680    ac_status=$?    ac_status=$?
3681    echo "$as_me:3229: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3682    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3683    grub_cv_check_edata_symbol=yes    grub_cv_check_edata_symbol=yes
3684  else  else
# Line 3237  fi Line 3689  fi
3689  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3690  fi  fi
3691    
3692    
3693  if test "x$grub_cv_check_edata_symbol" = xyes; then  if test "x$grub_cv_check_edata_symbol" = xyes; then
3694    cat >>confdefs.h <<\EOF    cat >>confdefs.h <<\_ACEOF
3695  #define HAVE_EDATA_SYMBOL 1  #define HAVE_EDATA_SYMBOL 1
3696  EOF  _ACEOF
3697    
3698  fi  fi
3699    
3700  echo "$as_me:3247: result: $grub_cv_check_edata_symbol" >&5  echo "$as_me:$LINENO: result: $grub_cv_check_edata_symbol" >&5
3701  echo "${ECHO_T}$grub_cv_check_edata_symbol" >&6  echo "${ECHO_T}$grub_cv_check_edata_symbol" >&6
3702    
3703  if test "x$grub_cv_check_uscore_uscore_bss_start_symbol" != "xyes" \  if test "x$grub_cv_check_uscore_uscore_bss_start_symbol" != "xyes" \
3704          -a "x$grub_cv_check_uscore_edata_symbol" != "xyes" \          -a "x$grub_cv_check_uscore_edata_symbol" != "xyes" \
3705          -a "x$grub_cv_check_edata_symbol" != "xyes"; then          -a "x$grub_cv_check_edata_symbol" != "xyes"; then
3706    { { echo "$as_me:3253: error: None of __bss_start, _edata, edata defined" >&5    { { echo "$as_me:$LINENO: error: None of __bss_start, _edata, edata defined" >&5
3707  echo "$as_me: error: None of __bss_start, _edata, edata defined" >&2;}  echo "$as_me: error: None of __bss_start, _edata, edata defined" >&2;}
3708     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
3709  fi  fi
3710    
3711  echo "$as_me:3258: checking if end is defined by the compiler" >&5  
3712    echo "$as_me:$LINENO: checking if end is defined by the compiler" >&5
3713  echo $ECHO_N "checking if end is defined by the compiler... $ECHO_C" >&6  echo $ECHO_N "checking if end is defined by the compiler... $ECHO_C" >&6
3714  if test "${grub_cv_check_end_symbol+set}" = set; then  if test "${grub_cv_check_end_symbol+set}" = set; then
3715    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3716  else  else
3717    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3718  #line 3264 "configure"  #line $LINENO "configure"
3719  #include "confdefs.h"  #include "confdefs.h"
3720    
3721    #ifdef F77_DUMMY_MAIN
3722    #  ifdef __cplusplus
3723         extern "C"
3724    #  endif
3725       int F77_DUMMY_MAIN() { return 1; }
3726    #endif
3727  int  int
3728  main ()  main ()
3729  {  {
# Line 3273  asm ("incl end") Line 3733  asm ("incl end")
3733  }  }
3734  _ACEOF  _ACEOF
3735  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
3736  if { (eval echo "$as_me:3276: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3737    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
3738    ac_status=$?    ac_status=$?
3739    echo "$as_me:3279: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3740    (exit $ac_status); } &&    (exit $ac_status); } &&
3741           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
3742    { (eval echo "$as_me:3282: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3743    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3744    ac_status=$?    ac_status=$?
3745    echo "$as_me:3285: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3746    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3747    grub_cv_check_end_symbol=yes    grub_cv_check_end_symbol=yes
3748  else  else
# Line 3293  fi Line 3753  fi
3753  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3754  fi  fi
3755    
3756    
3757  if test "x$grub_cv_check_end_symbol" = xyes; then  if test "x$grub_cv_check_end_symbol" = xyes; then
3758    cat >>confdefs.h <<\EOF    cat >>confdefs.h <<\_ACEOF
3759  #define HAVE_END_SYMBOL 1  #define HAVE_END_SYMBOL 1
3760  EOF  _ACEOF
3761    
3762  fi  fi
3763    
3764  echo "$as_me:3303: result: $grub_cv_check_end_symbol" >&5  echo "$as_me:$LINENO: result: $grub_cv_check_end_symbol" >&5
3765  echo "${ECHO_T}$grub_cv_check_end_symbol" >&6  echo "${ECHO_T}$grub_cv_check_end_symbol" >&6
3766    
3767  echo "$as_me:3306: checking if _end is defined by the compiler" >&5  
3768    echo "$as_me:$LINENO: checking if _end is defined by the compiler" >&5
3769  echo $ECHO_N "checking if _end is defined by the compiler... $ECHO_C" >&6  echo $ECHO_N "checking if _end is defined by the compiler... $ECHO_C" >&6
3770  if test "${grub_cv_check_uscore_end_symbol+set}" = set; then  if test "${grub_cv_check_uscore_end_symbol+set}" = set; then
3771    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3772  else  else
3773    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3774  #line 3312 "configure"  #line $LINENO "configure"
3775  #include "confdefs.h"  #include "confdefs.h"
3776    
3777    #ifdef F77_DUMMY_MAIN
3778    #  ifdef __cplusplus
3779         extern "C"
3780    #  endif
3781       int F77_DUMMY_MAIN() { return 1; }
3782    #endif
3783  int  int
3784  main ()  main ()
3785  {  {
# Line 3321  asm ("incl _end") Line 3789  asm ("incl _end")
3789  }  }
3790  _ACEOF  _ACEOF
3791  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
3792  if { (eval echo "$as_me:3324: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3793    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
3794    ac_status=$?    ac_status=$?
3795    echo "$as_me:3327: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3796    (exit $ac_status); } &&    (exit $ac_status); } &&
3797           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
3798    { (eval echo "$as_me:3330: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3799    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3800    ac_status=$?    ac_status=$?
3801    echo "$as_me:3333: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3802    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3803    grub_cv_check_uscore_end_symbol=yes    grub_cv_check_uscore_end_symbol=yes
3804  else  else
# Line 3341  fi Line 3809  fi
3809  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3810  fi  fi
3811    
3812    
3813  if test "x$grub_cv_check_uscore_end_symbol" = xyes; then  if test "x$grub_cv_check_uscore_end_symbol" = xyes; then
3814    cat >>confdefs.h <<\EOF    cat >>confdefs.h <<\_ACEOF
3815  #define HAVE_USCORE_END_SYMBOL 1  #define HAVE_USCORE_END_SYMBOL 1
3816  EOF  _ACEOF
3817    
3818  fi  fi
3819    
3820  echo "$as_me:3351: result: $grub_cv_check_uscore_end_symbol" >&5  echo "$as_me:$LINENO: result: $grub_cv_check_uscore_end_symbol" >&5
3821  echo "${ECHO_T}$grub_cv_check_uscore_end_symbol" >&6  echo "${ECHO_T}$grub_cv_check_uscore_end_symbol" >&6
3822    
3823  if test "x$grub_cv_check_end_symbol" != "xyes" \  if test "x$grub_cv_check_end_symbol" != "xyes" \
3824          -a "x$grub_cv_check_uscore_end_symbol" != "xyes"; then          -a "x$grub_cv_check_uscore_end_symbol" != "xyes"; then
3825    { { echo "$as_me:3356: error: Neither end nor _end is defined" >&5    { { echo "$as_me:$LINENO: error: Neither end nor _end is defined" >&5
3826  echo "$as_me: error: Neither end nor _end is defined" >&2;}  echo "$as_me: error: Neither end nor _end is defined" >&2;}
3827     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
3828  fi  fi
# Line 3368  fi; Line 3837  fi;
3837    
3838  # Get the filename or the whole disk and open it.  # Get the filename or the whole disk and open it.
3839  # Known to work on NetBSD.  # Known to work on NetBSD.
3840  echo "$as_me:3371: checking for opendisk in -lutil" >&5  echo "$as_me:$LINENO: checking for opendisk in -lutil" >&5
3841  echo $ECHO_N "checking for opendisk in -lutil... $ECHO_C" >&6  echo $ECHO_N "checking for opendisk in -lutil... $ECHO_C" >&6
3842  if test "${ac_cv_lib_util_opendisk+set}" = set; then  if test "${ac_cv_lib_util_opendisk+set}" = set; then
3843    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3376  else Line 3845  else
3845    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
3846  LIBS="-lutil  $LIBS"  LIBS="-lutil  $LIBS"
3847  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
3848  #line 3379 "configure"  #line $LINENO "configure"
3849  #include "confdefs.h"  #include "confdefs.h"
3850    
3851  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 3386  extern "C" Line 3855  extern "C"
3855  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
3856     builtin and then its argument prototype would still apply.  */     builtin and then its argument prototype would still apply.  */
3857  char opendisk ();  char opendisk ();
3858    #ifdef F77_DUMMY_MAIN
3859    #  ifdef __cplusplus
3860         extern "C"
3861    #  endif
3862       int F77_DUMMY_MAIN() { return 1; }
3863    #endif
3864  int  int
3865  main ()  main ()
3866  {  {
# Line 3395  opendisk (); Line 3870  opendisk ();
3870  }  }
3871  _ACEOF  _ACEOF
3872  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
3873  if { (eval echo "$as_me:3398: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3874    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
3875    ac_status=$?    ac_status=$?
3876    echo "$as_me:3401: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3877    (exit $ac_status); } &&    (exit $ac_status); } &&
3878           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
3879    { (eval echo "$as_me:3404: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3880    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3881    ac_status=$?    ac_status=$?
3882    echo "$as_me:3407: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3883    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3884    ac_cv_lib_util_opendisk=yes    ac_cv_lib_util_opendisk=yes
3885  else  else
# Line 3415  fi Line 3890  fi
3890  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3891  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
3892  fi  fi
3893  echo "$as_me:3418: result: $ac_cv_lib_util_opendisk" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_util_opendisk" >&5
3894  echo "${ECHO_T}$ac_cv_lib_util_opendisk" >&6  echo "${ECHO_T}$ac_cv_lib_util_opendisk" >&6
3895  if test $ac_cv_lib_util_opendisk = yes; then  if test $ac_cv_lib_util_opendisk = yes; then
3896    GRUB_LIBS="$GRUB_LIBS -lutil"    GRUB_LIBS="$GRUB_LIBS -lutil"
3897    
3898  cat >>confdefs.h <<\EOF  cat >>confdefs.h <<\_ACEOF
3899  #define HAVE_OPENDISK 1  #define HAVE_OPENDISK 1
3900  EOF  _ACEOF
3901    
3902  fi  fi
3903    
3904    
3905  # Unless the user specify --without-curses, check for curses.  # Unless the user specify --without-curses, check for curses.
3906  if test "x$with_curses" != "xno"; then  if test "x$with_curses" != "xno"; then
3907    echo "$as_me:3431: checking for wgetch in -lncurses" >&5    echo "$as_me:$LINENO: checking for wgetch in -lncurses" >&5
3908  echo $ECHO_N "checking for wgetch in -lncurses... $ECHO_C" >&6  echo $ECHO_N "checking for wgetch in -lncurses... $ECHO_C" >&6
3909  if test "${ac_cv_lib_ncurses_wgetch+set}" = set; then  if test "${ac_cv_lib_ncurses_wgetch+set}" = set; then
3910    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3436  else Line 3912  else
3912    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
3913  LIBS="-lncurses  $LIBS"  LIBS="-lncurses  $LIBS"
3914  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
3915  #line 3439 "configure"  #line $LINENO "configure"
3916  #include "confdefs.h"  #include "confdefs.h"
3917    
3918  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 3446  extern "C" Line 3922  extern "C"
3922  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
3923     builtin and then its argument prototype would still apply.  */     builtin and then its argument prototype would still apply.  */
3924  char wgetch ();  char wgetch ();
3925    #ifdef F77_DUMMY_MAIN
3926    #  ifdef __cplusplus
3927         extern "C"
3928    #  endif
3929       int F77_DUMMY_MAIN() { return 1; }
3930    #endif
3931  int  int
3932  main ()  main ()
3933  {  {
# Line 3455  wgetch (); Line 3937  wgetch ();
3937  }  }
3938  _ACEOF  _ACEOF
3939  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
3940  if { (eval echo "$as_me:3458: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3941    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
3942    ac_status=$?    ac_status=$?
3943    echo "$as_me:3461: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3944    (exit $ac_status); } &&    (exit $ac_status); } &&
3945           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
3946    { (eval echo "$as_me:3464: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3947    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3948    ac_status=$?    ac_status=$?
3949    echo "$as_me:3467: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3950    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3951    ac_cv_lib_ncurses_wgetch=yes    ac_cv_lib_ncurses_wgetch=yes
3952  else  else
# Line 3475  fi Line 3957  fi
3957  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3958  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
3959  fi  fi
3960  echo "$as_me:3478: result: $ac_cv_lib_ncurses_wgetch" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_wgetch" >&5
3961  echo "${ECHO_T}$ac_cv_lib_ncurses_wgetch" >&6  echo "${ECHO_T}$ac_cv_lib_ncurses_wgetch" >&6
3962  if test $ac_cv_lib_ncurses_wgetch = yes; then  if test $ac_cv_lib_ncurses_wgetch = yes; then
3963    GRUB_LIBS="$GRUB_LIBS -lncurses"    GRUB_LIBS="$GRUB_LIBS -lncurses"
3964    cat >>confdefs.h <<\EOF    cat >>confdefs.h <<\_ACEOF
3965  #define HAVE_LIBCURSES 1  #define HAVE_LIBCURSES 1
3966  EOF  _ACEOF
3967    
3968  else  else
3969    echo "$as_me:3487: checking for wgetch in -lcurses" >&5    echo "$as_me:$LINENO: checking for wgetch in -lcurses" >&5
3970  echo $ECHO_N "checking for wgetch in -lcurses... $ECHO_C" >&6  echo $ECHO_N "checking for wgetch in -lcurses... $ECHO_C" >&6
3971  if test "${ac_cv_lib_curses_wgetch+set}" = set; then  if test "${ac_cv_lib_curses_wgetch+set}" = set; then
3972    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3492  else Line 3974  else
3974    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
3975  LIBS="-lcurses  $LIBS"  LIBS="-lcurses  $LIBS"
3976  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
3977  #line 3495 "configure"  #line $LINENO "configure"
3978  #include "confdefs.h"  #include "confdefs.h"
3979    
3980  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 3502  extern "C" Line 3984  extern "C"
3984  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
3985     builtin and then its argument prototype would still apply.  */     builtin and then its argument prototype would still apply.  */
3986  char wgetch ();  char wgetch ();
3987    #ifdef F77_DUMMY_MAIN
3988    #  ifdef __cplusplus
3989         extern "C"
3990    #  endif
3991       int F77_DUMMY_MAIN() { return 1; }
3992    #endif
3993  int  int
3994  main ()  main ()
3995  {  {
# Line 3511  wgetch (); Line 3999  wgetch ();
3999  }  }
4000  _ACEOF  _ACEOF
4001  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
4002  if { (eval echo "$as_me:3514: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4003    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
4004    ac_status=$?    ac_status=$?
4005    echo "$as_me:3517: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4006    (exit $ac_status); } &&    (exit $ac_status); } &&
4007           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
4008    { (eval echo "$as_me:3520: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4009    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4010    ac_status=$?    ac_status=$?
4011    echo "$as_me:3523: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4012    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4013    ac_cv_lib_curses_wgetch=yes    ac_cv_lib_curses_wgetch=yes
4014  else  else
# Line 3531  fi Line 4019  fi
4019  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4020  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
4021  fi  fi
4022  echo "$as_me:3534: result: $ac_cv_lib_curses_wgetch" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_curses_wgetch" >&5
4023  echo "${ECHO_T}$ac_cv_lib_curses_wgetch" >&6  echo "${ECHO_T}$ac_cv_lib_curses_wgetch" >&6
4024  if test $ac_cv_lib_curses_wgetch = yes; then  if test $ac_cv_lib_curses_wgetch = yes; then
4025    GRUB_LIBS="$GRUB_LIBS -lcurses"    GRUB_LIBS="$GRUB_LIBS -lcurses"
4026         cat >>confdefs.h <<\EOF         cat >>confdefs.h <<\_ACEOF
4027  #define HAVE_LIBCURSES 1  #define HAVE_LIBCURSES 1
4028  EOF  _ACEOF
4029    
4030  fi  fi
4031    
# Line 3545  fi Line 4033  fi
4033    
4034  fi  fi
4035    
4036    
4037    
4038  # Check for headers.  # Check for headers.
4039  ac_ext=c  ac_ext=c
4040  ac_cpp='$CPP $CPPFLAGS'  ac_cpp='$CPP $CPPFLAGS'
4041  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4042  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4043  ac_compiler_gnu=$ac_cv_c_compiler_gnu  ac_compiler_gnu=$ac_cv_c_compiler_gnu
4044  echo "$as_me:3554: checking how to run the C preprocessor" >&5  echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4045  echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6  echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4046  # On Suns, sometimes $CPP names a directory.  # On Suns, sometimes $CPP names a directory.
4047  if test -n "$CPP" && test -d "$CPP"; then  if test -n "$CPP" && test -d "$CPP"; then
# Line 3572  do Line 4062  do
4062    # On the NeXT, cc -E runs the code through the compiler's parser,    # On the NeXT, cc -E runs the code through the compiler's parser,
4063    # not just through cpp. "Syntax error" is here to catch this case.    # not just through cpp. "Syntax error" is here to catch this case.
4064    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4065  #line 3575 "configure"  #line $LINENO "configure"
4066  #include "confdefs.h"  #include "confdefs.h"
4067  #include <assert.h>  #include <assert.h>
4068                       Syntax error                       Syntax error
4069  _ACEOF  _ACEOF
4070  if { (eval echo "$as_me:3580: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4071    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4072    ac_status=$?    ac_status=$?
4073    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
4074    rm -f conftest.er1    rm -f conftest.er1
4075    cat conftest.err >&5    cat conftest.err >&5
4076    echo "$as_me:3586: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4077    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
4078    if test -s conftest.err; then    if test -s conftest.err; then
4079      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 3606  rm -f conftest.err conftest.$ac_ext Line 4096  rm -f conftest.err conftest.$ac_ext
4096    # OK, works on sane cases.  Now check whether non-existent headers    # OK, works on sane cases.  Now check whether non-existent headers
4097    # can be detected and how.    # can be detected and how.
4098    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4099  #line 3609 "configure"  #line $LINENO "configure"
4100  #include "confdefs.h"  #include "confdefs.h"
4101  #include <ac_nonexistent.h>  #include <ac_nonexistent.h>
4102  _ACEOF  _ACEOF
4103  if { (eval echo "$as_me:3613: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4104    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4105    ac_status=$?    ac_status=$?
4106    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
4107    rm -f conftest.er1    rm -f conftest.er1
4108    cat conftest.err >&5    cat conftest.err >&5
4109    echo "$as_me:3619: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4110    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
4111    if test -s conftest.err; then    if test -s conftest.err; then
4112      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 3653  fi Line 4143  fi
4143  else  else
4144    ac_cv_prog_CPP=$CPP    ac_cv_prog_CPP=$CPP
4145  fi  fi
4146  echo "$as_me:3656: result: $CPP" >&5  echo "$as_me:$LINENO: result: $CPP" >&5
4147  echo "${ECHO_T}$CPP" >&6  echo "${ECHO_T}$CPP" >&6
4148  ac_preproc_ok=false  ac_preproc_ok=false
4149  for ac_c_preproc_warn_flag in '' yes  for ac_c_preproc_warn_flag in '' yes
# Line 3663  do Line 4153  do
4153    # On the NeXT, cc -E runs the code through the compiler's parser,    # On the NeXT, cc -E runs the code through the compiler's parser,
4154    # not just through cpp. "Syntax error" is here to catch this case.    # not just through cpp. "Syntax error" is here to catch this case.
4155    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4156  #line 3666 "configure"  #line $LINENO "configure"
4157  #include "confdefs.h"  #include "confdefs.h"
4158  #include <assert.h>  #include <assert.h>
4159                       Syntax error                       Syntax error
4160  _ACEOF  _ACEOF
4161  if { (eval echo "$as_me:3671: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4162    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4163    ac_status=$?    ac_status=$?
4164    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
4165    rm -f conftest.er1    rm -f conftest.er1
4166    cat conftest.err >&5    cat conftest.err >&5
4167    echo "$as_me:3677: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4168    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
4169    if test -s conftest.err; then    if test -s conftest.err; then
4170      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 3697  rm -f conftest.err conftest.$ac_ext Line 4187  rm -f conftest.err conftest.$ac_ext
4187    # OK, works on sane cases.  Now check whether non-existent headers    # OK, works on sane cases.  Now check whether non-existent headers
4188    # can be detected and how.    # can be detected and how.
4189    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4190  #line 3700 "configure"  #line $LINENO "configure"
4191  #include "confdefs.h"  #include "confdefs.h"
4192  #include <ac_nonexistent.h>  #include <ac_nonexistent.h>
4193  _ACEOF  _ACEOF
4194  if { (eval echo "$as_me:3704: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4195    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4196    ac_status=$?    ac_status=$?
4197    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
4198    rm -f conftest.er1    rm -f conftest.er1
4199    cat conftest.err >&5    cat conftest.err >&5
4200    echo "$as_me:3710: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4201    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
4202    if test -s conftest.err; then    if test -s conftest.err; then
4203      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 3735  rm -f conftest.err conftest.$ac_ext Line 4225  rm -f conftest.err conftest.$ac_ext
4225  if $ac_preproc_ok; then  if $ac_preproc_ok; then
4226    :    :
4227  else  else
4228    { { echo "$as_me:3738: error: C preprocessor \"$CPP\" fails sanity check" >&5    { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
4229  echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}  echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
4230     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
4231  fi  fi
# Line 3746  ac_compile='$CC -c $CFLAGS $CPPFLAGS con Line 4236  ac_compile='$CC -c $CFLAGS $CPPFLAGS con
4236  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4237  ac_compiler_gnu=$ac_cv_c_compiler_gnu  ac_compiler_gnu=$ac_cv_c_compiler_gnu
4238    
4239  for ac_header in string.h strings.h ncurses/curses.h ncurses.h curses.h  
4240    echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4241    echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4242    if test "${ac_cv_header_stdc+set}" = set; then
4243      echo $ECHO_N "(cached) $ECHO_C" >&6
4244    else
4245      cat >conftest.$ac_ext <<_ACEOF
4246    #line $LINENO "configure"
4247    #include "confdefs.h"
4248    #include <stdlib.h>
4249    #include <stdarg.h>
4250    #include <string.h>
4251    #include <float.h>
4252    
4253    _ACEOF
4254    if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4255      (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4256      ac_status=$?
4257      egrep -v '^ *\+' conftest.er1 >conftest.err
4258      rm -f conftest.er1
4259      cat conftest.err >&5
4260      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4261      (exit $ac_status); } >/dev/null; then
4262      if test -s conftest.err; then
4263        ac_cpp_err=$ac_c_preproc_warn_flag
4264      else
4265        ac_cpp_err=
4266      fi
4267    else
4268      ac_cpp_err=yes
4269    fi
4270    if test -z "$ac_cpp_err"; then
4271      ac_cv_header_stdc=yes
4272    else
4273      echo "$as_me: failed program was:" >&5
4274      cat conftest.$ac_ext >&5
4275      ac_cv_header_stdc=no
4276    fi
4277    rm -f conftest.err conftest.$ac_ext
4278    
4279    if test $ac_cv_header_stdc = yes; then
4280      # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4281      cat >conftest.$ac_ext <<_ACEOF
4282    #line $LINENO "configure"
4283    #include "confdefs.h"
4284    #include <string.h>
4285    
4286    _ACEOF
4287    if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4288      egrep "memchr" >/dev/null 2>&1; then
4289      :
4290    else
4291      ac_cv_header_stdc=no
4292    fi
4293    rm -f conftest*
4294    
4295    fi
4296    
4297    if test $ac_cv_header_stdc = yes; then
4298      # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4299      cat >conftest.$ac_ext <<_ACEOF
4300    #line $LINENO "configure"
4301    #include "confdefs.h"
4302    #include <stdlib.h>
4303    
4304    _ACEOF
4305    if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4306      egrep "free" >/dev/null 2>&1; then
4307      :
4308    else
4309      ac_cv_header_stdc=no
4310    fi
4311    rm -f conftest*
4312    
4313    fi
4314    
4315    if test $ac_cv_header_stdc = yes; then
4316      # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4317      if test "$cross_compiling" = yes; then
4318      :
4319    else
4320      cat >conftest.$ac_ext <<_ACEOF
4321    #line $LINENO "configure"
4322    #include "confdefs.h"
4323    #include <ctype.h>
4324    #if ((' ' & 0x0FF) == 0x020)
4325    # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4326    # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4327    #else
4328    # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
4329                         || ('j' <= (c) && (c) <= 'r') \
4330                         || ('s' <= (c) && (c) <= 'z'))
4331    # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4332    #endif
4333    
4334    #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4335    int
4336    main ()
4337    {
4338      int i;
4339      for (i = 0; i < 256; i++)
4340        if (XOR (islower (i), ISLOWER (i))
4341            || toupper (i) != TOUPPER (i))
4342          exit(2);
4343      exit (0);
4344    }
4345    _ACEOF
4346    rm -f conftest$ac_exeext
4347    if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4348      (eval $ac_link) 2>&5
4349      ac_status=$?
4350      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4351      (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4352      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4353      (eval $ac_try) 2>&5
4354      ac_status=$?
4355      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4356      (exit $ac_status); }; }; then
4357      :
4358    else
4359      echo "$as_me: program exited with status $ac_status" >&5
4360    echo "$as_me: failed program was:" >&5
4361    cat conftest.$ac_ext >&5
4362    ( exit $ac_status )
4363    ac_cv_header_stdc=no
4364    fi
4365    rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4366    fi
4367    fi
4368    fi
4369    echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4370    echo "${ECHO_T}$ac_cv_header_stdc" >&6
4371    if test $ac_cv_header_stdc = yes; then
4372    
4373    cat >>confdefs.h <<\_ACEOF
4374    #define STDC_HEADERS 1
4375    _ACEOF
4376    
4377    fi
4378    
4379    # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4380    
4381    
4382    
4383    
4384    
4385    
4386    
4387    
4388    
4389    for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4390                      inttypes.h stdint.h unistd.h
4391  do  do
4392  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4393  echo "$as_me:3752: checking for $ac_header" >&5  echo "$as_me:$LINENO: checking for $ac_header" >&5
4394  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4395  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
4396    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4397  else  else
4398    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4399  #line 3758 "configure"  #line $LINENO "configure"
4400    #include "confdefs.h"
4401    $ac_includes_default
4402    
4403    #include <$ac_header>
4404    _ACEOF
4405    rm -f conftest.$ac_objext
4406    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4407      (eval $ac_compile) 2>&5
4408      ac_status=$?
4409      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4410      (exit $ac_status); } &&
4411             { ac_try='test -s conftest.$ac_objext'
4412      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4413      (eval $ac_try) 2>&5
4414      ac_status=$?
4415      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4416      (exit $ac_status); }; }; then
4417      eval "$as_ac_Header=yes"
4418    else
4419      echo "$as_me: failed program was:" >&5
4420    cat conftest.$ac_ext >&5
4421    eval "$as_ac_Header=no"
4422    fi
4423    rm -f conftest.$ac_objext conftest.$ac_ext
4424    fi
4425    echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4426    echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4427    if test `eval echo '${'$as_ac_Header'}'` = yes; then
4428      cat >>confdefs.h <<_ACEOF
4429    #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4430    _ACEOF
4431    
4432    fi
4433    
4434    done
4435    
4436    
4437    
4438    
4439    
4440    
4441    
4442    for ac_header in string.h strings.h ncurses/curses.h ncurses.h curses.h
4443    do
4444    as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4445    if eval "test \"\${$as_ac_Header+set}\" = set"; then
4446      echo "$as_me:$LINENO: checking for $ac_header" >&5
4447    echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4448    if eval "test \"\${$as_ac_Header+set}\" = set"; then
4449      echo $ECHO_N "(cached) $ECHO_C" >&6
4450    fi
4451    echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4452    echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4453    else
4454      # Is the header compilable?
4455    echo "$as_me:$LINENO: checking $ac_header usability" >&5
4456    echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4457    cat >conftest.$ac_ext <<_ACEOF
4458    #line $LINENO "configure"
4459    #include "confdefs.h"
4460    $ac_includes_default
4461    #include <$ac_header>
4462    _ACEOF
4463    rm -f conftest.$ac_objext
4464    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4465      (eval $ac_compile) 2>&5
4466      ac_status=$?
4467      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4468      (exit $ac_status); } &&
4469             { ac_try='test -s conftest.$ac_objext'
4470      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4471      (eval $ac_try) 2>&5
4472      ac_status=$?
4473      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4474      (exit $ac_status); }; }; then
4475      ac_header_compiler=yes
4476    else
4477      echo "$as_me: failed program was:" >&5
4478    cat conftest.$ac_ext >&5
4479    ac_header_compiler=no
4480    fi
4481    rm -f conftest.$ac_objext conftest.$ac_ext
4482    echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4483    echo "${ECHO_T}$ac_header_compiler" >&6
4484    
4485    # Is the header present?
4486    echo "$as_me:$LINENO: checking $ac_header presence" >&5
4487    echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4488    cat >conftest.$ac_ext <<_ACEOF
4489    #line $LINENO "configure"
4490  #include "confdefs.h"  #include "confdefs.h"
4491  #include <$ac_header>  #include <$ac_header>
4492  _ACEOF  _ACEOF
4493  if { (eval echo "$as_me:3762: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4494    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4495    ac_status=$?    ac_status=$?
4496    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
4497    rm -f conftest.er1    rm -f conftest.er1
4498    cat conftest.err >&5    cat conftest.err >&5
4499    echo "$as_me:3768: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4500    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
4501    if test -s conftest.err; then    if test -s conftest.err; then
4502      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 3776  else Line 4507  else
4507    ac_cpp_err=yes    ac_cpp_err=yes
4508  fi  fi
4509  if test -z "$ac_cpp_err"; then  if test -z "$ac_cpp_err"; then
4510    eval "$as_ac_Header=yes"    ac_header_preproc=yes
4511  else  else
4512    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
4513    cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
4514    eval "$as_ac_Header=no"    ac_header_preproc=no
4515  fi  fi
4516  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
4517    echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4518    echo "${ECHO_T}$ac_header_preproc" >&6
4519    
4520    # So?  What about this header?
4521    case $ac_header_compiler:$ac_header_preproc in
4522      yes:no )
4523        { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4524    echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4525        { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4526    echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4527      no:yes )
4528        { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4529    echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4530        { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4531    echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4532        { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4533    echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4534    esac
4535    echo "$as_me:$LINENO: checking for $ac_header" >&5
4536    echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4537    if eval "test \"\${$as_ac_Header+set}\" = set"; then
4538      echo $ECHO_N "(cached) $ECHO_C" >&6
4539    else
4540      eval "$as_ac_Header=$ac_header_preproc"
4541  fi  fi
4542  echo "$as_me:3787: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4543  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4544    
4545    fi
4546  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
4547    cat >>confdefs.h <<EOF    cat >>confdefs.h <<_ACEOF
4548  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4549  EOF  _ACEOF
4550    
4551  fi  fi
4552    
4553  done  done
4554    
4555    
4556  # Check for user options.  # Check for user options.
4557    
4558  # filesystems support.  # filesystems support.
# Line 3877  if test x"$enable_xfs" != xno; then Line 4636  if test x"$enable_xfs" != xno; then
4636    FSYS_CFLAGS="$FSYS_CFLAGS -DFSYS_XFS=1"    FSYS_CFLAGS="$FSYS_CFLAGS -DFSYS_XFS=1"
4637  fi  fi
4638    
4639    
4640  # Check whether --enable-gunzip or --disable-gunzip was given.  # Check whether --enable-gunzip or --disable-gunzip was given.
4641  if test "${enable_gunzip+set}" = set; then  if test "${enable_gunzip+set}" = set; then
4642    enableval="$enable_gunzip"    enableval="$enable_gunzip"
# Line 4224  if test "x$enable_w89c840" = xyes; then Line 4984  if test "x$enable_w89c840" = xyes; then
4984    NETBOOT_DRIVERS="$NETBOOT_DRIVERS w89c840.o"    NETBOOT_DRIVERS="$NETBOOT_DRIVERS w89c840.o"
4985  fi  fi
4986    
4987    
4988    
4989  if test "x$NET_CFLAGS" != x; then  if test "x$NET_CFLAGS" != x; then
4990    NETBOOT_SUPPORT_TRUE=    NETBOOT_SUPPORT_TRUE=
4991    NETBOOT_SUPPORT_FALSE='#'    NETBOOT_SUPPORT_FALSE='#'
# Line 4296  if test "${enable_diskless+set}" = set; Line 5058  if test "${enable_diskless+set}" = set;
5058    
5059  fi;  fi;
5060    
5061    
5062  if test "x$enable_diskless" = xyes; then  if test "x$enable_diskless" = xyes; then
5063    DISKLESS_SUPPORT_TRUE=    DISKLESS_SUPPORT_TRUE=
5064    DISKLESS_SUPPORT_FALSE='#'    DISKLESS_SUPPORT_FALSE='#'
# Line 4310  if test "${enable_hercules+set}" = set; Line 5073  if test "${enable_hercules+set}" = set;
5073    
5074  fi;  fi;
5075    
5076    
5077  if test "x$enable_hercules" != xno; then  if test "x$enable_hercules" != xno; then
5078    HERCULES_SUPPORT_TRUE=    HERCULES_SUPPORT_TRUE=
5079    HERCULES_SUPPORT_FALSE='#'    HERCULES_SUPPORT_FALSE='#'
# Line 4324  if test "${enable_serial+set}" = set; th Line 5088  if test "${enable_serial+set}" = set; th
5088    
5089  fi;  fi;
5090    
5091    
5092  if test "x$enable_serial" != xno; then  if test "x$enable_serial" != xno; then
5093    SERIAL_SUPPORT_TRUE=    SERIAL_SUPPORT_TRUE=
5094    SERIAL_SUPPORT_FALSE='#'    SERIAL_SUPPORT_FALSE='#'
# Line 4338  if test "${enable_serial_speed_simulatio Line 5103  if test "${enable_serial_speed_simulatio
5103    
5104  fi;  fi;
5105    
5106    
5107  if test "x$enable_serial_speed_simulation" = xyes; then  if test "x$enable_serial_speed_simulation" = xyes; then
5108    SERIAL_SPEED_SIMULATION_TRUE=    SERIAL_SPEED_SIMULATION_TRUE=
5109    SERIAL_SPEED_SIMULATION_FALSE='#'    SERIAL_SPEED_SIMULATION_FALSE='#'
# Line 4349  fi Line 5115  fi
5115  # Sanity check.  # Sanity check.
5116  if test "x$enable_diskless" = xyes; then  if test "x$enable_diskless" = xyes; then
5117    if test "x$NET_CFLAGS" = x; then    if test "x$NET_CFLAGS" = x; then
5118      { { echo "$as_me:4352: error: You must enable at least one network driver" >&5      { { echo "$as_me:$LINENO: error: You must enable at least one network driver" >&5
5119  echo "$as_me: error: You must enable at least one network driver" >&2;}  echo "$as_me: error: You must enable at least one network driver" >&2;}
5120     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
5121    fi    fi
# Line 4401  main (void) Line 5167  main (void)
5167  EOF  EOF
5168    
5169  if { ac_try='${CC-cc} ${CFLAGS} conftest.c -o conftest'  if { ac_try='${CC-cc} ${CFLAGS} conftest.c -o conftest'
5170    { (eval echo "$as_me:4404: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5171    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5172    ac_status=$?    ac_status=$?
5173    echo "$as_me:4407: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5174    (exit $ac_status); }; } && test -s conftest; then    (exit $ac_status); }; } && test -s conftest; then
5175    grub_tmp_value=`./conftest < "$enable_preset_menu"`    grub_tmp_value=`./conftest < "$enable_preset_menu"`
5176  else  else
5177    { { echo "$as_me:4411: error: ${CC-cc} failed to produce an executable file" >&5    { { echo "$as_me:$LINENO: error: ${CC-cc} failed to produce an executable file" >&5
5178  echo "$as_me: error: ${CC-cc} failed to produce an executable file" >&2;}  echo "$as_me: error: ${CC-cc} failed to produce an executable file" >&2;}
5179     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
5180  fi  fi
5181    
5182  cat >>confdefs.h <<EOF  cat >>confdefs.h <<_ACEOF
5183  #define PRESET_MENU_STRING "$grub_tmp_value"  #define PRESET_MENU_STRING "$grub_tmp_value"
5184  EOF  _ACEOF
5185    
5186  rm -f conftest*  rm -f conftest*
5187    
5188    else    else
5189      { { echo "$as_me:4423: error: Cannot read the preset menu file $enable_preset_menu" >&5      { { echo "$as_me:$LINENO: error: Cannot read the preset menu file $enable_preset_menu" >&5
5190  echo "$as_me: error: Cannot read the preset menu file $enable_preset_menu" >&2;}  echo "$as_me: error: Cannot read the preset menu file $enable_preset_menu" >&2;}
5191     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
5192    fi    fi
# Line 4432  if test "${enable_example_kernel+set}" = Line 5198  if test "${enable_example_kernel+set}" =
5198    
5199  fi;  fi;
5200    
5201    
5202  if test "x$enable_example_kernel" = xyes; then  if test "x$enable_example_kernel" = xyes; then
5203    BUILD_EXAMPLE_KERNEL_TRUE=    BUILD_EXAMPLE_KERNEL_TRUE=
5204    BUILD_EXAMPLE_KERNEL_FALSE='#'    BUILD_EXAMPLE_KERNEL_FALSE='#'
# Line 4448  fi; Line 5215  fi;
5215  if test "x$enable_auto_linux_mem_opt" = xno; then  if test "x$enable_auto_linux_mem_opt" = xno; then
5216    :    :
5217  else  else
5218    cat >>confdefs.h <<\EOF    cat >>confdefs.h <<\_ACEOF
5219  #define AUTO_LINUX_MEM_OPT 1  #define AUTO_LINUX_MEM_OPT 1
5220  EOF  _ACEOF
5221    
5222  fi  fi
5223    
5224    
5225    
5226    
5227    
5228    
5229  ASFLAGS='$(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)'  ASFLAGS='$(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)'
5230    
5231    
5232    
5233  ac_config_files="$ac_config_files Makefile stage1/Makefile stage2/Makefile docs/Makefile lib/Makefile util/Makefile grub/Makefile netboot/Makefile util/grub-image util/grub-install util/grub-md5-crypt"  ac_config_files="$ac_config_files Makefile stage1/Makefile stage2/Makefile docs/Makefile lib/Makefile util/Makefile grub/Makefile netboot/Makefile util/grub-image util/grub-install util/grub-md5-crypt"
5234  cat >confcache <<\_ACEOF  cat >confcache <<\_ACEOF
5235  # This file is a shell script that caches the results of configure  # This file is a shell script that caches the results of configure
# Line 4533  fi Line 5307  fi
5307    
5308  DEFS=-DHAVE_CONFIG_H  DEFS=-DHAVE_CONFIG_H
5309    
5310    
5311  : ${CONFIG_STATUS=./config.status}  : ${CONFIG_STATUS=./config.status}
5312  ac_clean_files_save=$ac_clean_files  ac_clean_files_save=$ac_clean_files
5313  ac_clean_files="$ac_clean_files $CONFIG_STATUS"  ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5314  { echo "$as_me:4539: creating $CONFIG_STATUS" >&5  { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5315  echo "$as_me: creating $CONFIG_STATUS" >&6;}  echo "$as_me: creating $CONFIG_STATUS" >&6;}
5316  cat >$CONFIG_STATUS <<_ACEOF  cat >$CONFIG_STATUS <<_ACEOF
5317  #! $SHELL  #! $SHELL
5318  # Generated automatically by configure.  # Generated by $as_me.
5319  # Run this file to recreate the current configuration.  # Run this file to recreate the current configuration.
5320  # Compiler output produced by configure, useful for debugging  # Compiler output produced by configure, useful for debugging
5321  # configure, is in config.log if it exists.  # configure, is in config.log if it exists.
5322    
5323  debug=false  debug=false
5324  SHELL=\${CONFIG_SHELL-$SHELL}  SHELL=\${CONFIG_SHELL-$SHELL}
 ac_cs_invocation="\$0 \$@"  
   
5325  _ACEOF  _ACEOF
5326    
5327  cat >>$CONFIG_STATUS <<\_ACEOF  cat >>$CONFIG_STATUS <<\_ACEOF
5328    
5329    ## --------------------- ##
5330    ## M4sh Initialization.  ##
5331    ## --------------------- ##
5332    
5333  # Be Bourne compatible  # Be Bourne compatible
5334  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5335    emulate sh    emulate sh
# Line 4560  elif test -n "${BASH_VERSION+set}" && (s Line 5338  elif test -n "${BASH_VERSION+set}" && (s
5338    set -o posix    set -o posix
5339  fi  fi
5340    
5341    # NLS nuisances.
5342    # Support unset when possible.
5343    if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
5344      as_unset=unset
5345    else
5346      as_unset=false
5347    fi
5348    
5349    (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
5350        { $as_unset LANG || test "${LANG+set}" != set; } ||
5351          { LANG=C; export LANG; }
5352    (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
5353        { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
5354          { LC_ALL=C; export LC_ALL; }
5355    (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
5356        { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
5357          { LC_TIME=C; export LC_TIME; }
5358    (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
5359        { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
5360          { LC_CTYPE=C; export LC_CTYPE; }
5361    (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
5362        { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
5363          { LANGUAGE=C; export LANGUAGE; }
5364    (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
5365        { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
5366          { LC_COLLATE=C; export LC_COLLATE; }
5367    (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
5368        { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
5369          { LC_NUMERIC=C; export LC_NUMERIC; }
5370    (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
5371        { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
5372          { LC_MESSAGES=C; export LC_MESSAGES; }
5373    
5374    
5375  # Name of the executable.  # Name of the executable.
5376  as_me=`echo "$0" |sed 's,.*[\\/],,'`  as_me=`(basename "$0") 2>/dev/null ||
5377    $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5378             X"$0" : 'X\(//\)$' \| \
5379             X"$0" : 'X\(/\)$' \| \
5380             .     : '\(.\)' 2>/dev/null ||
5381    echo X/"$0" |
5382        sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5383              /^X\/\(\/\/\)$/{ s//\1/; q; }
5384              /^X\/\(\/\).*/{ s//\1/; q; }
5385              s/.*/./; q'`
5386    
5387    # PATH needs CR, and LINENO needs CR and PATH.
5388    # Avoid depending upon Character Ranges.
5389    as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5390    as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5391    as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5392    as_cr_digits='0123456789'
5393    as_cr_alnum=$as_cr_Letters$as_cr_digits
5394    
5395    # The user is always right.
5396    if test "${PATH_SEPARATOR+set}" != set; then
5397      echo "#! /bin/sh" >conftest.sh
5398      echo  "exit 0"   >>conftest.sh
5399      chmod +x conftest.sh
5400      if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
5401        PATH_SEPARATOR=';'
5402      else
5403        PATH_SEPARATOR=:
5404      fi
5405      rm -f conftest.sh
5406    fi
5407    
5408    
5409      as_lineno_1=$LINENO
5410      as_lineno_2=$LINENO
5411      as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5412      test "x$as_lineno_1" != "x$as_lineno_2" &&
5413      test "x$as_lineno_3"  = "x$as_lineno_2"  || {
5414      # Find who we are.  Look in the path if we contain no path at all
5415      # relative or not.
5416      case $0 in
5417        *[\\/]* ) as_myself=$0 ;;
5418        *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5419    for as_dir in $PATH
5420    do
5421      IFS=$as_save_IFS
5422      test -z "$as_dir" && as_dir=.
5423      test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5424    done
5425    
5426           ;;
5427      esac
5428      # We did not find ourselves, most probably we were run as `sh COMMAND'
5429      # in which case we are not to be found in the path.
5430      if test "x$as_myself" = x; then
5431        as_myself=$0
5432      fi
5433      if test ! -f "$as_myself"; then
5434        { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5435    echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5436       { (exit 1); exit 1; }; }
5437      fi
5438      case $CONFIG_SHELL in
5439      '')
5440        as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5441    for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5442    do
5443      IFS=$as_save_IFS
5444      test -z "$as_dir" && as_dir=.
5445      for as_base in sh bash ksh sh5; do
5446             case $as_dir in
5447             /*)
5448               if ("$as_dir/$as_base" -c '
5449      as_lineno_1=$LINENO
5450      as_lineno_2=$LINENO
5451      as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5452      test "x$as_lineno_1" != "x$as_lineno_2" &&
5453      test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
5454                 CONFIG_SHELL=$as_dir/$as_base
5455                 export CONFIG_SHELL
5456                 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5457               fi;;
5458             esac
5459           done
5460    done
5461    ;;
5462      esac
5463    
5464      # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5465      # uniformly replaced by the line number.  The first 'sed' inserts a
5466      # line-number line before each line; the second 'sed' does the real
5467      # work.  The second script uses 'N' to pair each line-number line
5468      # with the numbered line, and appends trailing '-' during
5469      # substitution so that $LINENO is not a special case at line end.
5470      # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5471      # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
5472      sed '=' <$as_myself |
5473        sed '
5474          N
5475          s,$,-,
5476          : loop
5477          s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5478          t loop
5479          s,-$,,
5480          s,^['$as_cr_digits']*\n,,
5481        ' >$as_me.lineno &&
5482      chmod +x $as_me.lineno ||
5483        { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5484    echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5485       { (exit 1); exit 1; }; }
5486    
5487      # Don't try to exec as it changes $[0], causing all sort of problems
5488      # (the dirname of $[0] is not the place where we might find the
5489      # original and so on.  Autoconf is especially sensible to this).
5490      . ./$as_me.lineno
5491      # Exit status is that of the last command.
5492      exit
5493    }
5494    
5495    
5496    case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5497      *c*,-n*) ECHO_N= ECHO_C='
5498    ' ECHO_T='      ' ;;
5499      *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5500      *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
5501    esac
5502    
5503  if expr a : '\(a\)' >/dev/null 2>&1; then  if expr a : '\(a\)' >/dev/null 2>&1; then
5504    as_expr=expr    as_expr=expr
# Line 4589  rm -f conf$$ conf$$.exe conf$$.file Line 5526  rm -f conf$$ conf$$.exe conf$$.file
5526    
5527  as_executable_p="test -f"  as_executable_p="test -f"
5528    
5529  # Support unset when possible.  # Sed expression to map a string onto a valid CPP name.
5530  if (FOO=FOO; unset FOO) >/dev/null 2>&1; then  as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
5531    as_unset=unset  
5532  else  # Sed expression to map a string onto a valid variable name.
5533    as_unset=false  as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
 fi  
5534    
 # NLS nuisances.  
 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }  
 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }  
 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }  
 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }  
 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }  
 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }  
 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }  
 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }  
5535    
5536  # IFS  # IFS
5537  # We need space, tab and new line, in precisely that order.  # We need space, tab and new line, in precisely that order.
# Line 4613  as_nl=' Line 5540  as_nl='
5540  IFS="   $as_nl"  IFS="   $as_nl"
5541    
5542  # CDPATH.  # CDPATH.
5543  $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }  $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
5544    
5545  exec 6>&1  exec 6>&1
5546    
5547    # Open the log real soon, to keep \$[0] and so on meaningful, and to
5548    # report actual input values of CONFIG_FILES etc. instead of their
5549    # values after options handling.  Logging --version etc. is OK.
5550    exec 5>>config.log
5551    {
5552      echo
5553      sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5554    ## Running $as_me. ##
5555    _ASBOX
5556    } >&5
5557    cat >&5 <<_CSEOF
5558    
5559    This file was extended by $as_me, which was
5560    generated by GNU Autoconf 2.53.  Invocation command line was
5561    
5562      CONFIG_FILES    = $CONFIG_FILES
5563      CONFIG_HEADERS  = $CONFIG_HEADERS
5564      CONFIG_LINKS    = $CONFIG_LINKS
5565      CONFIG_COMMANDS = $CONFIG_COMMANDS
5566      $ $0 $@
5567    
5568    _CSEOF
5569    echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5570    echo >&5
5571  _ACEOF  _ACEOF
5572    
5573  # Files that config.status was made for.  # Files that config.status was made for.
# Line 4636  if test -n "$ac_config_commands"; then Line 5587  if test -n "$ac_config_commands"; then
5587    echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS    echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5588  fi  fi
5589    
5590  cat >>$CONFIG_STATUS <<\EOF  cat >>$CONFIG_STATUS <<\_ACEOF
5591    
5592  ac_cs_usage="\  ac_cs_usage="\
5593  \`$as_me' instantiates files from templates according to the  \`$as_me' instantiates files from templates according to the
# Line 4663  Configuration commands: Line 5614  Configuration commands:
5614  $config_commands  $config_commands
5615    
5616  Report bugs to <bug-autoconf@gnu.org>."  Report bugs to <bug-autoconf@gnu.org>."
5617  EOF  _ACEOF
5618    
5619  cat >>$CONFIG_STATUS <<EOF  cat >>$CONFIG_STATUS <<_ACEOF
5620  ac_cs_version="\\  ac_cs_version="\\
5621  config.status  config.status
5622  configured by $0, generated by GNU Autoconf 2.52,  configured by $0, generated by GNU Autoconf 2.53,
5623    with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"    with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5624    
5625  Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001  Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
# Line 4677  This config.status script is free softwa Line 5628  This config.status script is free softwa
5628  gives unlimited permission to copy, distribute and modify it."  gives unlimited permission to copy, distribute and modify it."
5629  srcdir=$srcdir  srcdir=$srcdir
5630  INSTALL="$INSTALL"  INSTALL="$INSTALL"
5631  EOF  _ACEOF
5632    
5633  cat >>$CONFIG_STATUS <<\EOF  cat >>$CONFIG_STATUS <<\_ACEOF
5634  # If no file are specified by the user, then we need to provide default  # If no file are specified by the user, then we need to provide default
5635  # value.  By we need to know if files were specified by the user.  # value.  By we need to know if files were specified by the user.
5636  ac_need_defaults=:  ac_need_defaults=:
# Line 4701  do Line 5652  do
5652    
5653    case $1 in    case $1 in
5654    # Handling of the options.    # Handling of the options.
5655  EOF  _ACEOF
5656  cat >>$CONFIG_STATUS <<EOF  cat >>$CONFIG_STATUS <<_ACEOF
5657    -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)    -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5658      echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"      echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
5659      exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;      exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
5660  EOF  _ACEOF
5661  cat >>$CONFIG_STATUS <<\EOF  cat >>$CONFIG_STATUS <<\_ACEOF
5662    --version | --vers* | -V )    --version | --vers* | -V )
5663      echo "$ac_cs_version"; exit 0 ;;      echo "$ac_cs_version"; exit 0 ;;
5664    --he | --h)    --he | --h)
5665      # Conflict between --help and --header      # Conflict between --help and --header
5666      { { echo "$as_me:4715: error: ambiguous option: $1      { { echo "$as_me:$LINENO: error: ambiguous option: $1
5667  Try \`$0 --help' for more information." >&5  Try \`$0 --help' for more information." >&5
5668  echo "$as_me: error: ambiguous option: $1  echo "$as_me: error: ambiguous option: $1
5669  Try \`$0 --help' for more information." >&2;}  Try \`$0 --help' for more information." >&2;}
# Line 4731  Try \`$0 --help' for more information." Line 5682  Try \`$0 --help' for more information."
5682      ac_need_defaults=false;;      ac_need_defaults=false;;
5683    
5684    # This is an error.    # This is an error.
5685    -*) { { echo "$as_me:4734: error: unrecognized option: $1    -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5686  Try \`$0 --help' for more information." >&5  Try \`$0 --help' for more information." >&5
5687  echo "$as_me: error: unrecognized option: $1  echo "$as_me: error: unrecognized option: $1
5688  Try \`$0 --help' for more information." >&2;}  Try \`$0 --help' for more information." >&2;}
# Line 4743  Try \`$0 --help' for more information." Line 5694  Try \`$0 --help' for more information."
5694    shift    shift
5695  done  done
5696    
 exec 5>>config.log  
 cat >&5 << _ACEOF  
   
 ## ----------------------- ##  
 ## Running config.status.  ##  
 ## ----------------------- ##  
   
 This file was extended by $as_me 2.52, executed with  
   CONFIG_FILES    = $CONFIG_FILES  
   CONFIG_HEADERS  = $CONFIG_HEADERS  
   CONFIG_LINKS    = $CONFIG_LINKS  
   CONFIG_COMMANDS = $CONFIG_COMMANDS  
   > $ac_cs_invocation  
 on `(hostname || uname -n) 2>/dev/null | sed 1q`  
   
5697  _ACEOF  _ACEOF
 EOF  
5698    
5699  cat >>$CONFIG_STATUS <<EOF  cat >>$CONFIG_STATUS <<_ACEOF
5700  #  #
5701  # INIT-COMMANDS section.  # INIT-COMMANDS section.
5702  #  #
# Line 4769  cat >>$CONFIG_STATUS <<EOF Line 5704  cat >>$CONFIG_STATUS <<EOF
5704  AMDEP_TRUE="$AMDEP_TRUE"  AMDEP_TRUE="$AMDEP_TRUE"
5705  ac_aux_dir="$ac_aux_dir"  ac_aux_dir="$ac_aux_dir"
5706    
5707  EOF  _ACEOF
5708    
5709    
5710  cat >>$CONFIG_STATUS <<\EOF  
5711    cat >>$CONFIG_STATUS <<\_ACEOF
5712  for ac_config_target in $ac_config_targets  for ac_config_target in $ac_config_targets
5713  do  do
5714    case "$ac_config_target" in    case "$ac_config_target" in
# Line 4789  do Line 5726  do
5726    "util/grub-md5-crypt" ) CONFIG_FILES="$CONFIG_FILES util/grub-md5-crypt" ;;    "util/grub-md5-crypt" ) CONFIG_FILES="$CONFIG_FILES util/grub-md5-crypt" ;;
5727    "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;    "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
5728    "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;    "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5729    *) { { echo "$as_me:4792: error: invalid argument: $ac_config_target" >&5    *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5730  echo "$as_me: error: invalid argument: $ac_config_target" >&2;}  echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5731     { (exit 1); exit 1; }; };;     { (exit 1); exit 1; }; };;
5732    esac    esac
# Line 4827  $debug || Line 5764  $debug ||
5764     { (exit 1); exit 1; }     { (exit 1); exit 1; }
5765  }  }
5766    
5767  EOF  _ACEOF
5768    
5769  cat >>$CONFIG_STATUS <<EOF  cat >>$CONFIG_STATUS <<_ACEOF
5770    
5771  #  #
5772  # CONFIG_FILES section.  # CONFIG_FILES section.
# Line 4842  if test -n "\$CONFIG_FILES"; then Line 5779  if test -n "\$CONFIG_FILES"; then
5779    sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;    sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5780     s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF     s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5781  s,@SHELL@,$SHELL,;t t  s,@SHELL@,$SHELL,;t t
5782    s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5783    s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5784    s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5785    s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5786    s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5787    s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5788  s,@exec_prefix@,$exec_prefix,;t t  s,@exec_prefix@,$exec_prefix,;t t
5789  s,@prefix@,$prefix,;t t  s,@prefix@,$prefix,;t t
5790  s,@program_transform_name@,$program_transform_name,;t t  s,@program_transform_name@,$program_transform_name,;t t
# Line 4857  s,@includedir@,$includedir,;t t Line 5800  s,@includedir@,$includedir,;t t
5800  s,@oldincludedir@,$oldincludedir,;t t  s,@oldincludedir@,$oldincludedir,;t t
5801  s,@infodir@,$infodir,;t t  s,@infodir@,$infodir,;t t
5802  s,@mandir@,$mandir,;t t  s,@mandir@,$mandir,;t t
 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t  
 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t  
 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t  
 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t  
 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t  
5803  s,@build_alias@,$build_alias,;t t  s,@build_alias@,$build_alias,;t t
5804  s,@host_alias@,$host_alias,;t t  s,@host_alias@,$host_alias,;t t
5805  s,@target_alias@,$target_alias,;t t  s,@target_alias@,$target_alias,;t t
5806    s,@DEFS@,$DEFS,;t t
5807  s,@ECHO_C@,$ECHO_C,;t t  s,@ECHO_C@,$ECHO_C,;t t
5808  s,@ECHO_N@,$ECHO_N,;t t  s,@ECHO_N@,$ECHO_N,;t t
5809  s,@ECHO_T@,$ECHO_T,;t t  s,@ECHO_T@,$ECHO_T,;t t
 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t  
 s,@DEFS@,$DEFS,;t t  
5810  s,@LIBS@,$LIBS,;t t  s,@LIBS@,$LIBS,;t t
5811  s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t  s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5812  s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t  s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
# Line 4941  s,@NETBOOT_DRIVERS@,$NETBOOT_DRIVERS,;t Line 5878  s,@NETBOOT_DRIVERS@,$NETBOOT_DRIVERS,;t
5878  s,@ASFLAGS@,$ASFLAGS,;t t  s,@ASFLAGS@,$ASFLAGS,;t t
5879  CEOF  CEOF
5880    
5881  EOF  _ACEOF
5882    
5883    cat >>$CONFIG_STATUS <<\EOF    cat >>$CONFIG_STATUS <<\_ACEOF
5884    # Split the substitutions into bite-sized pieces for seds with    # Split the substitutions into bite-sized pieces for seds with
5885    # small command number limits, like on Digital OSF/1 and HP-UX.    # small command number limits, like on Digital OSF/1 and HP-UX.
5886    ac_max_sed_lines=48    ac_max_sed_lines=48
# Line 4982  EOF Line 5919  EOF
5919    fi    fi
5920  fi # test -n "$CONFIG_FILES"  fi # test -n "$CONFIG_FILES"
5921    
5922  EOF  _ACEOF
5923  cat >>$CONFIG_STATUS <<\EOF  cat >>$CONFIG_STATUS <<\_ACEOF
5924  for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue  for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5925    # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".    # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5926    case $ac_file in    case $ac_file in
# Line 4997  for ac_file in : $CONFIG_FILES; do test Line 5934  for ac_file in : $CONFIG_FILES; do test
5934    esac    esac
5935    
5936    # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.    # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5937    ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \    ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5938    $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5939           X"$ac_file" : 'X\(//\)[^/]' \| \           X"$ac_file" : 'X\(//\)[^/]' \| \
5940           X"$ac_file" : 'X\(//\)$' \| \           X"$ac_file" : 'X\(//\)$' \| \
5941           X"$ac_file" : 'X\(/\)' \| \           X"$ac_file" : 'X\(/\)' \| \
# Line 5008  echo X"$ac_file" | Line 5946  echo X"$ac_file" |
5946            /^X\(\/\/\)$/{ s//\1/; q; }            /^X\(\/\/\)$/{ s//\1/; q; }
5947            /^X\(\/\).*/{ s//\1/; q; }            /^X\(\/\).*/{ s//\1/; q; }
5948            s/.*/./; q'`            s/.*/./; q'`
5949    if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then    { case "$ac_dir" in
     { case "$ac_dir" in  
5950    [\\/]* | ?:[\\/]* ) as_incr_dir=;;    [\\/]* | ?:[\\/]* ) as_incr_dir=;;
5951    *)                      as_incr_dir=.;;    *)                      as_incr_dir=.;;
5952  esac  esac
# Line 5020  for as_mkdir_dir in `IFS='/\\'; set X $a Line 5957  for as_mkdir_dir in `IFS='/\\'; set X $a
5957      ?:) as_incr_dir=$as_mkdir_dir ;;      ?:) as_incr_dir=$as_mkdir_dir ;;
5958      *)      *)
5959        as_incr_dir=$as_incr_dir/$as_mkdir_dir        as_incr_dir=$as_incr_dir/$as_mkdir_dir
5960        test -d "$as_incr_dir" || mkdir "$as_incr_dir"        test -d "$as_incr_dir" ||
5961            mkdir "$as_incr_dir" ||
5962            { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
5963    echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
5964       { (exit 1); exit 1; }; }
5965      ;;      ;;
5966    esac    esac
5967  done; }  done; }
5968    
5969      ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"    ac_builddir=.
     # A "../" for each directory in $ac_dir_suffix.  
     ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`  
   else  
     ac_dir_suffix= ac_dots=  
   fi  
5970    
5971    case $srcdir in  if test "$ac_dir" != .; then
5972    .)  ac_srcdir=.    ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5973        if test -z "$ac_dots"; then    # A "../" for each directory in $ac_dir_suffix.
5974           ac_top_srcdir=.    ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5975        else  else
5976           ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`    ac_dir_suffix= ac_top_builddir=
5977        fi ;;  fi
5978    [\\/]* | ?:[\\/]* )  
5979        ac_srcdir=$srcdir$ac_dir_suffix;  case $srcdir in
5980        ac_top_srcdir=$srcdir ;;    .)  # No --srcdir option.  We are building in place.
5981        ac_srcdir=.
5982        if test -z "$ac_top_builddir"; then
5983           ac_top_srcdir=.
5984        else
5985           ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5986        fi ;;
5987      [\\/]* | ?:[\\/]* )  # Absolute path.
5988        ac_srcdir=$srcdir$ac_dir_suffix;
5989        ac_top_srcdir=$srcdir ;;
5990    *) # Relative path.    *) # Relative path.
5991      ac_srcdir=$ac_dots$srcdir$ac_dir_suffix      ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5992      ac_top_srcdir=$ac_dots$srcdir ;;      ac_top_srcdir=$ac_top_builddir$srcdir ;;
5993    esac  esac
5994    # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
5995    # absolute.
5996    ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
5997    ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
5998    ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
5999    ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
6000    
6001    
6002    case $INSTALL in    case $INSTALL in
6003    [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;    [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6004    *) ac_INSTALL=$ac_dots$INSTALL ;;    *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
6005    esac    esac
6006    
6007    if test x"$ac_file" != x-; then    if test x"$ac_file" != x-; then
6008      { echo "$as_me:5056: creating $ac_file" >&5      { echo "$as_me:$LINENO: creating $ac_file" >&5
6009  echo "$as_me: creating $ac_file" >&6;}  echo "$as_me: creating $ac_file" >&6;}
6010      rm -f "$ac_file"      rm -f "$ac_file"
6011    fi    fi
6012    # Let's still pretend it is `configure' which instantiates (i.e., don't    # Let's still pretend it is `configure' which instantiates (i.e., don't
6013    # use $as_me), people would be surprised to read:    # use $as_me), people would be surprised to read:
6014    #    /* config.h.  Generated automatically by config.status.  */    #    /* config.h.  Generated by config.status.  */
6015    configure_input="Generated automatically from `echo $ac_file_in |    if test x"$ac_file" = x-; then
6016                                                   sed 's,.*/,,'` by configure."      configure_input=
6017      else
6018        configure_input="$ac_file.  "
6019      fi
6020      configure_input=$configure_input"Generated from `echo $ac_file_in |
6021                                         sed 's,.*/,,'` by configure."
6022    
6023    # First look for the input files in the build tree, otherwise in the    # First look for the input files in the build tree, otherwise in the
6024    # src tree.    # src tree.
# Line 5071  echo "$as_me: creating $ac_file" >&6;} Line 6028  echo "$as_me: creating $ac_file" >&6;}
6028        -) echo $tmp/stdin ;;        -) echo $tmp/stdin ;;
6029        [\\/$]*)        [\\/$]*)
6030           # Absolute (can't be DOS-style, as IFS=:)           # Absolute (can't be DOS-style, as IFS=:)
6031           test -f "$f" || { { echo "$as_me:5074: error: cannot find input file: $f" >&5           test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6032  echo "$as_me: error: cannot find input file: $f" >&2;}  echo "$as_me: error: cannot find input file: $f" >&2;}
6033     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
6034           echo $f;;           echo $f;;
# Line 5084  echo "$as_me: error: cannot find input f Line 6041  echo "$as_me: error: cannot find input f
6041             echo $srcdir/$f             echo $srcdir/$f
6042           else           else
6043             # /dev/null tree             # /dev/null tree
6044             { { echo "$as_me:5087: error: cannot find input file: $f" >&5             { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6045  echo "$as_me: error: cannot find input file: $f" >&2;}  echo "$as_me: error: cannot find input file: $f" >&2;}
6046     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
6047           fi;;           fi;;
6048        esac        esac
6049      done` || { (exit 1); exit 1; }      done` || { (exit 1); exit 1; }
6050  EOF  _ACEOF
6051  cat >>$CONFIG_STATUS <<EOF  cat >>$CONFIG_STATUS <<_ACEOF
6052    sed "$ac_vpsub    sed "$ac_vpsub
6053  $extrasub  $extrasub
6054  EOF  _ACEOF
6055  cat >>$CONFIG_STATUS <<\EOF  cat >>$CONFIG_STATUS <<\_ACEOF
6056  :t  :t
6057  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6058  s,@configure_input@,$configure_input,;t t  s,@configure_input@,$configure_input,;t t
6059  s,@srcdir@,$ac_srcdir,;t t  s,@srcdir@,$ac_srcdir,;t t
6060    s,@abs_srcdir@,$ac_abs_srcdir,;t t
6061  s,@top_srcdir@,$ac_top_srcdir,;t t  s,@top_srcdir@,$ac_top_srcdir,;t t
6062    s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
6063    s,@builddir@,$ac_builddir,;t t
6064    s,@abs_builddir@,$ac_abs_builddir,;t t
6065    s,@top_builddir@,$ac_top_builddir,;t t
6066    s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
6067  s,@INSTALL@,$ac_INSTALL,;t t  s,@INSTALL@,$ac_INSTALL,;t t
6068  " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out  " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6069    rm -f $tmp/stdin    rm -f $tmp/stdin
# Line 5112  s,@INSTALL@,$ac_INSTALL,;t t Line 6075  s,@INSTALL@,$ac_INSTALL,;t t
6075    fi    fi
6076    
6077  done  done
6078  EOF  _ACEOF
6079  cat >>$CONFIG_STATUS <<\EOF  cat >>$CONFIG_STATUS <<\_ACEOF
6080    
6081  #  #
6082  # CONFIG_HEADER section.  # CONFIG_HEADER section.
# Line 5145  for ac_file in : $CONFIG_HEADERS; do tes Line 6108  for ac_file in : $CONFIG_HEADERS; do tes
6108    * )   ac_file_in=$ac_file.in ;;    * )   ac_file_in=$ac_file.in ;;
6109    esac    esac
6110    
6111    test x"$ac_file" != x- && { echo "$as_me:5148: creating $ac_file" >&5    test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
6112  echo "$as_me: creating $ac_file" >&6;}  echo "$as_me: creating $ac_file" >&6;}
6113    
6114    # First look for the input files in the build tree, otherwise in the    # First look for the input files in the build tree, otherwise in the
# Line 5156  echo "$as_me: creating $ac_file" >&6;} Line 6119  echo "$as_me: creating $ac_file" >&6;}
6119        -) echo $tmp/stdin ;;        -) echo $tmp/stdin ;;
6120        [\\/$]*)        [\\/$]*)
6121           # Absolute (can't be DOS-style, as IFS=:)           # Absolute (can't be DOS-style, as IFS=:)
6122           test -f "$f" || { { echo "$as_me:5159: error: cannot find input file: $f" >&5           test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6123  echo "$as_me: error: cannot find input file: $f" >&2;}  echo "$as_me: error: cannot find input file: $f" >&2;}
6124     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
6125           echo $f;;           echo $f;;
# Line 5169  echo "$as_me: error: cannot find input f Line 6132  echo "$as_me: error: cannot find input f
6132             echo $srcdir/$f             echo $srcdir/$f
6133           else           else
6134             # /dev/null tree             # /dev/null tree
6135             { { echo "$as_me:5172: error: cannot find input file: $f" >&5             { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6136  echo "$as_me: error: cannot find input file: $f" >&2;}  echo "$as_me: error: cannot find input file: $f" >&2;}
6137     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
6138           fi;;           fi;;
# Line 5178  echo "$as_me: error: cannot find input f Line 6141  echo "$as_me: error: cannot find input f
6141    # Remove the trailing spaces.    # Remove the trailing spaces.
6142    sed 's/[      ]*$//' $ac_file_inputs >$tmp/in    sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
6143    
6144  EOF  _ACEOF
6145    
6146  # Transform confdefs.h into two sed scripts, `conftest.defines' and  # Transform confdefs.h into two sed scripts, `conftest.defines' and
6147  # `conftest.undefs', that substitutes the proper values into  # `conftest.undefs', that substitutes the proper values into
# Line 5194  rm -f conftest.defines conftest.undefs Line 6157  rm -f conftest.defines conftest.undefs
6157  # `end' is used to avoid that the second main sed command (meant for  # `end' is used to avoid that the second main sed command (meant for
6158  # 0-ary CPP macros) applies to n-ary macro definitions.  # 0-ary CPP macros) applies to n-ary macro definitions.
6159  # See the Autoconf documentation for `clear'.  # See the Autoconf documentation for `clear'.
6160  cat >confdef2sed.sed <<\EOF  cat >confdef2sed.sed <<\_ACEOF
6161  s/[\\&,]/\\&/g  s/[\\&,]/\\&/g
6162  s,[\\$`],\\&,g  s,[\\$`],\\&,g
6163  t clear  t clear
6164  : clear  : clear
6165  s,^[    ]*#[    ]*define[       ][      ]*\(\([^        (][^    (]*\)([^)]*)\)[         ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp  s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6166  t end  t end
6167  s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp  s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6168  : end  : end
6169  EOF  _ACEOF
6170  # If some macros were called several times there might be several times  # If some macros were called several times there might be several times
6171  # the same #defines, which is useless.  Nevertheless, we may not want to  # the same #defines, which is useless.  Nevertheless, we may not want to
6172  # sort them, since we want the *last* AC-DEFINE to be honored.  # sort them, since we want the *last* AC-DEFINE to be honored.
# Line 5214  rm -f confdef2sed.sed Line 6177  rm -f confdef2sed.sed
6177  # This sed command replaces #undef with comments.  This is necessary, for  # This sed command replaces #undef with comments.  This is necessary, for
6178  # example, in the case of _POSIX_SOURCE, which is predefined and required  # example, in the case of _POSIX_SOURCE, which is predefined and required
6179  # on some systems where configure will not decide to define it.  # on some systems where configure will not decide to define it.
6180  cat >>conftest.undefs <<\EOF  cat >>conftest.undefs <<\_ACEOF
6181  s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,  s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6182  EOF  _ACEOF
6183    
6184  # Break up conftest.defines because some shells have a limit on the size  # Break up conftest.defines because some shells have a limit on the size
6185  # of here documents, and old seds have small limits too (100 cmds).  # of here documents, and old seds have small limits too (100 cmds).
# Line 5273  do Line 6236  do
6236  done  done
6237  rm -f conftest.undefs  rm -f conftest.undefs
6238    
6239  cat >>$CONFIG_STATUS <<\EOF  cat >>$CONFIG_STATUS <<\_ACEOF
6240    # Let's still pretend it is `configure' which instantiates (i.e., don't    # Let's still pretend it is `configure' which instantiates (i.e., don't
6241    # use $as_me), people would be surprised to read:    # use $as_me), people would be surprised to read:
6242    #    /* config.h.  Generated automatically by config.status.  */    #    /* config.h.  Generated by config.status.  */
6243    if test x"$ac_file" = x-; then    if test x"$ac_file" = x-; then
6244      echo "/* Generated automatically by configure.  */" >$tmp/config.h      echo "/* Generated by configure.  */" >$tmp/config.h
6245    else    else
6246      echo "/* $ac_file.  Generated automatically by configure.  */" >$tmp/config.h      echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
6247    fi    fi
6248    cat $tmp/in >>$tmp/config.h    cat $tmp/in >>$tmp/config.h
6249    rm -f $tmp/in    rm -f $tmp/in
6250    if test x"$ac_file" != x-; then    if test x"$ac_file" != x-; then
6251      if cmp -s $ac_file $tmp/config.h 2>/dev/null; then      if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
6252        { echo "$as_me:5289: $ac_file is unchanged" >&5        { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6253  echo "$as_me: $ac_file is unchanged" >&6;}  echo "$as_me: $ac_file is unchanged" >&6;}
6254      else      else
6255        ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \        ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6256    $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6257           X"$ac_file" : 'X\(//\)[^/]' \| \           X"$ac_file" : 'X\(//\)[^/]' \| \
6258           X"$ac_file" : 'X\(//\)$' \| \           X"$ac_file" : 'X\(//\)$' \| \
6259           X"$ac_file" : 'X\(/\)' \| \           X"$ac_file" : 'X\(/\)' \| \
# Line 5300  echo X"$ac_file" | Line 6264  echo X"$ac_file" |
6264            /^X\(\/\/\)$/{ s//\1/; q; }            /^X\(\/\/\)$/{ s//\1/; q; }
6265            /^X\(\/\).*/{ s//\1/; q; }            /^X\(\/\).*/{ s//\1/; q; }
6266            s/.*/./; q'`            s/.*/./; q'`
6267        if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then        { case "$ac_dir" in
         { case "$ac_dir" in  
6268    [\\/]* | ?:[\\/]* ) as_incr_dir=;;    [\\/]* | ?:[\\/]* ) as_incr_dir=;;
6269    *)                      as_incr_dir=.;;    *)                      as_incr_dir=.;;
6270  esac  esac
# Line 5312  for as_mkdir_dir in `IFS='/\\'; set X $a Line 6275  for as_mkdir_dir in `IFS='/\\'; set X $a
6275      ?:) as_incr_dir=$as_mkdir_dir ;;      ?:) as_incr_dir=$as_mkdir_dir ;;
6276      *)      *)
6277        as_incr_dir=$as_incr_dir/$as_mkdir_dir        as_incr_dir=$as_incr_dir/$as_mkdir_dir
6278        test -d "$as_incr_dir" || mkdir "$as_incr_dir"        test -d "$as_incr_dir" ||
6279            mkdir "$as_incr_dir" ||
6280            { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
6281    echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
6282       { (exit 1); exit 1; }; }
6283      ;;      ;;
6284    esac    esac
6285  done; }  done; }
6286    
       fi  
6287        rm -f $ac_file        rm -f $ac_file
6288        mv $tmp/config.h $ac_file        mv $tmp/config.h $ac_file
6289      fi      fi
# Line 5332  echo timestamp >"./stamp-h1" Line 6298  echo timestamp >"./stamp-h1"
6298   ;;   ;;
6299    esac    esac
6300  done  done
6301  EOF  _ACEOF
6302  cat >>$CONFIG_STATUS <<\EOF  cat >>$CONFIG_STATUS <<\_ACEOF
6303    
6304  #  #
6305  # CONFIG_COMMANDS section.  # CONFIG_COMMANDS section.
# Line 5341  cat >>$CONFIG_STATUS <<\EOF Line 6307  cat >>$CONFIG_STATUS <<\EOF
6307  for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue  for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
6308    ac_dest=`echo "$ac_file" | sed 's,:.*,,'`    ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
6309    ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`    ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
6310      ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
6311    $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6312             X"$ac_dest" : 'X\(//\)[^/]' \| \
6313             X"$ac_dest" : 'X\(//\)$' \| \
6314             X"$ac_dest" : 'X\(/\)' \| \
6315             .     : '\(.\)' 2>/dev/null ||
6316    echo X"$ac_dest" |
6317        sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6318              /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6319              /^X\(\/\/\)$/{ s//\1/; q; }
6320              /^X\(\/\).*/{ s//\1/; q; }
6321              s/.*/./; q'`
6322      ac_builddir=.
6323    
6324    if test "$ac_dir" != .; then
6325      ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6326      # A "../" for each directory in $ac_dir_suffix.
6327      ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6328    else
6329      ac_dir_suffix= ac_top_builddir=
6330    fi
6331    
6332    case $srcdir in
6333      .)  # No --srcdir option.  We are building in place.
6334        ac_srcdir=.
6335        if test -z "$ac_top_builddir"; then
6336           ac_top_srcdir=.
6337        else
6338           ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6339        fi ;;
6340      [\\/]* | ?:[\\/]* )  # Absolute path.
6341        ac_srcdir=$srcdir$ac_dir_suffix;
6342        ac_top_srcdir=$srcdir ;;
6343      *) # Relative path.
6344        ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6345        ac_top_srcdir=$ac_top_builddir$srcdir ;;
6346    esac
6347    # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
6348    # absolute.
6349    ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
6350    ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
6351    ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
6352    ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
6353    
6354    
6355      { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6356    echo "$as_me: executing $ac_dest commands" >&6;}
6357    case $ac_dest in    case $ac_dest in
6358      default-1 )      default-1 )
6359  test x"$AMDEP_TRUE" != x"" ||  test x"$AMDEP_TRUE" != x"" ||
# Line 5384  done Line 6396  done
6396   ;;   ;;
6397    esac    esac
6398  done  done
6399  EOF  _ACEOF
6400    
6401  cat >>$CONFIG_STATUS <<\EOF  cat >>$CONFIG_STATUS <<\_ACEOF
6402    
6403  { (exit 0); exit 0; }  { (exit 0); exit 0; }
6404  EOF  _ACEOF
6405  chmod +x $CONFIG_STATUS  chmod +x $CONFIG_STATUS
6406  ac_clean_files=$ac_clean_files_save  ac_clean_files=$ac_clean_files_save
6407    
6408    
6409  # configure is writing to config.log, and then calls config.status.  # configure is writing to config.log, and then calls config.status.
6410  # config.status does its own redirection, appending to config.log.  # config.status does its own redirection, appending to config.log.
6411  # Unfortunately, on DOS this fails, as config.log is still kept open  # Unfortunately, on DOS this fails, as config.log is still kept open

Legend:
Removed from v.1.97  
changed lines
  Added in v.1.98

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26