/[grub]/grub/configure
ViewVC logotype

Diff of /grub/configure

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

revision 1.94 by okuji, Sat Oct 27 16:04:24 2001 UTC revision 1.95 by okuji, Wed Jan 2 21:56:39 2002 UTC
# Line 655  Optional Features: Line 655  Optional Features:
655    --enable-pci-direct     access PCI directly instead of using BIOS    --enable-pci-direct     access PCI directly instead of using BIOS
656    --enable-3c509          enable 3Com509 driver    --enable-3c509          enable 3Com509 driver
657    --enable-3c529          enable 3Com529 driver    --enable-3c529          enable 3Com529 driver
   --enable-3c590          enable 3Com590 driver  
658    --enable-3c595          enable 3Com595 driver    --enable-3c595          enable 3Com595 driver
659    --enable-3c90x          enable 3Com90x driver    --enable-3c90x          enable 3Com90x driver
660    --enable-cs89x0         enable CS89x0 driver    --enable-cs89x0         enable CS89x0 driver
661      --enable-davicom        enable Davicom driver
662    --enable-depca          enable DEPCA and EtherWORKS driver    --enable-depca          enable DEPCA and EtherWORKS driver
663      --enable-eepro          enable Etherexpress Pro/10 driver
664    --enable-eepro100       enable Etherexpress Pro/100 driver    --enable-eepro100       enable Etherexpress Pro/100 driver
665    --enable-epic100        enable SMC 83c170 EPIC/100 driver    --enable-epic100        enable SMC 83c170 EPIC/100 driver
666    --enable-3c507          enable 3Com507 driver    --enable-3c507          enable 3Com507 driver
# Line 668  Optional Features: Line 669  Optional Features:
669    --enable-lance          enable Lance PCI PCNet/32 driver    --enable-lance          enable Lance PCI PCNet/32 driver
670    --enable-ne2100         enable Novell NE2100 driver    --enable-ne2100         enable Novell NE2100 driver
671    --enable-ni6510         enable Racal-Interlan NI6510 driver    --enable-ni6510         enable Racal-Interlan NI6510 driver
672      --enable-natsemi        enable NatSemi DP8381x driver
673      --enable-ni5010         enable Racal-Interlan NI5010 driver
674    --enable-3c503          enable 3Com503 driver    --enable-3c503          enable 3Com503 driver
675    --enable-ne             enable NE1000/2000 ISA driver    --enable-ne             enable NE1000/2000 ISA driver
676    --enable-ns8390         enable NE2000 PCI driver    --enable-ns8390         enable NE2000 PCI driver
677    --enable-wd             enable WD8003/8013, SMC8216/8416 driver    --enable-wd             enable WD8003/8013, SMC8216/8416 driver
678    --enable-otulip         enable old Tulip driver    --enable-otulip         enable old Tulip driver
679    --enable-rtl8139        enable Realtek 8139 driver    --enable-rtl8139        enable Realtek 8139 driver
680      --enable-sis900         enable SIS 900 and SIS 7016 driver
681    --enable-sk-g16         enable Schneider and Koch G16 driver    --enable-sk-g16         enable Schneider and Koch G16 driver
682    --enable-smc9000        enable SMC9000 driver    --enable-smc9000        enable SMC9000 driver
683    --enable-tiara          enable Tiara driver    --enable-tiara          enable Tiara driver
684    --enable-tulip          enable Tulip driver    --enable-tulip          enable Tulip driver
685    --enable-via-rhine      enable Rhine-I/II driver    --enable-via-rhine      enable Rhine-I/II driver
686      --enable-w89c840        enable Winbond W89c840, Compex RL100-ATX driver
687    --enable-3c503-shmem    use 3c503 shared memory mode    --enable-3c503-shmem    use 3c503 shared memory mode
688    --enable-3c503-aui      use AUI by default on 3c503 cards    --enable-3c503-aui      use AUI by default on 3c503 cards
   --enable-3c509-hack     make a 3c509 do bootp quicker  
689    --enable-compex-rl2000-fix    --enable-compex-rl2000-fix
690                            specify this if you have a Compex RL2000 PCI                            specify this if you have a Compex RL2000 PCI
   --enable-ns8390-force-16bit  
                           specify this if falsely 8 bit is detected  
691    --enable-smc9000-scan=LIST    --enable-smc9000-scan=LIST
692                            probe for SMC9000 I/O addresses using LIST                            probe for SMC9000 I/O addresses using LIST
693    --enable-ne-scan=LIST   probe for NE base address using LIST    --enable-ne-scan=LIST   probe for NE base address using LIST
# Line 902  if test -z "$CONFIG_SITE"; then Line 904  if test -z "$CONFIG_SITE"; then
904  fi  fi
905  for ac_site_file in $CONFIG_SITE; do  for ac_site_file in $CONFIG_SITE; do
906    if test -r "$ac_site_file"; then    if test -r "$ac_site_file"; then
907      { echo "$as_me:905: loading site script $ac_site_file" >&5      { echo "$as_me:907: loading site script $ac_site_file" >&5
908  echo "$as_me: loading site script $ac_site_file" >&6;}  echo "$as_me: loading site script $ac_site_file" >&6;}
909      cat "$ac_site_file" >&5      cat "$ac_site_file" >&5
910      . "$ac_site_file"      . "$ac_site_file"
# Line 913  if test -r "$cache_file"; then Line 915  if test -r "$cache_file"; then
915    # Some versions of bash will fail to source /dev/null (special    # Some versions of bash will fail to source /dev/null (special
916    # files actually), so we avoid doing that.    # files actually), so we avoid doing that.
917    if test -f "$cache_file"; then    if test -f "$cache_file"; then
918      { echo "$as_me:916: loading cache $cache_file" >&5      { echo "$as_me:918: loading cache $cache_file" >&5
919  echo "$as_me: loading cache $cache_file" >&6;}  echo "$as_me: loading cache $cache_file" >&6;}
920      case $cache_file in      case $cache_file in
921        [\\/]* | ?:[\\/]* ) . $cache_file;;        [\\/]* | ?:[\\/]* ) . $cache_file;;
# Line 921  echo "$as_me: loading cache $cache_file" Line 923  echo "$as_me: loading cache $cache_file"
923      esac      esac
924    fi    fi
925  else  else
926    { echo "$as_me:924: creating cache $cache_file" >&5    { echo "$as_me:926: creating cache $cache_file" >&5
927  echo "$as_me: creating cache $cache_file" >&6;}  echo "$as_me: creating cache $cache_file" >&6;}
928    >$cache_file    >$cache_file
929  fi  fi
# Line 937  for ac_var in `(set) 2>&1 | Line 939  for ac_var in `(set) 2>&1 |
939    eval ac_new_val="\$ac_env_${ac_var}_value"    eval ac_new_val="\$ac_env_${ac_var}_value"
940    case $ac_old_set,$ac_new_set in    case $ac_old_set,$ac_new_set in
941      set,)      set,)
942        { echo "$as_me:940: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5        { echo "$as_me:942: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
943  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;}
944        ac_cache_corrupted=: ;;        ac_cache_corrupted=: ;;
945      ,set)      ,set)
946        { echo "$as_me:944: error: \`$ac_var' was not set in the previous run" >&5        { echo "$as_me:946: error: \`$ac_var' was not set in the previous run" >&5
947  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;}
948        ac_cache_corrupted=: ;;        ac_cache_corrupted=: ;;
949      ,);;      ,);;
950      *)      *)
951        if test "x$ac_old_val" != "x$ac_new_val"; then        if test "x$ac_old_val" != "x$ac_new_val"; then
952          { echo "$as_me:950: error: \`$ac_var' has changed since the previous run:" >&5          { echo "$as_me:952: error: \`$ac_var' has changed since the previous run:" >&5
953  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;}
954          { echo "$as_me:952:   former value:  $ac_old_val" >&5          { echo "$as_me:954:   former value:  $ac_old_val" >&5
955  echo "$as_me:   former value:  $ac_old_val" >&2;}  echo "$as_me:   former value:  $ac_old_val" >&2;}
956          { echo "$as_me:954:   current value: $ac_new_val" >&5          { echo "$as_me:956:   current value: $ac_new_val" >&5
957  echo "$as_me:   current value: $ac_new_val" >&2;}  echo "$as_me:   current value: $ac_new_val" >&2;}
958          ac_cache_corrupted=:          ac_cache_corrupted=:
959        fi;;        fi;;
# Line 970  echo "$as_me:   current value: $ac_new_v Line 972  echo "$as_me:   current value: $ac_new_v
972    fi    fi
973  done  done
974  if $ac_cache_corrupted; then  if $ac_cache_corrupted; then
975    { echo "$as_me:973: error: changes in the environment can compromise the build" >&5    { echo "$as_me:975: error: changes in the environment can compromise the build" >&5
976  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;}
977    { { echo "$as_me:975: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5    { { echo "$as_me:977: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
978  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;}
979     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
980  fi  fi
# Line 992  esac Line 994  esac
994  echo "#! $SHELL" >conftest.sh  echo "#! $SHELL" >conftest.sh
995  echo  "exit 0"   >>conftest.sh  echo  "exit 0"   >>conftest.sh
996  chmod +x conftest.sh  chmod +x conftest.sh
997  if { (echo "$as_me:995: PATH=\".;.\"; conftest.sh") >&5  if { (echo "$as_me:997: PATH=\".;.\"; conftest.sh") >&5
998    (PATH=".;."; conftest.sh) 2>&5    (PATH=".;."; conftest.sh) 2>&5
999    ac_status=$?    ac_status=$?
1000    echo "$as_me:998: \$? = $ac_status" >&5    echo "$as_me:1000: \$? = $ac_status" >&5
1001    (exit $ac_status); }; then    (exit $ac_status); }; then
1002    ac_path_separator=';'    ac_path_separator=';'
1003  else  else
# Line 1021  for ac_dir in $srcdir $srcdir/.. $srcdir Line 1023  for ac_dir in $srcdir $srcdir/.. $srcdir
1023    fi    fi
1024  done  done
1025  if test -z "$ac_aux_dir"; then  if test -z "$ac_aux_dir"; then
1026    { { echo "$as_me:1024: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5    { { echo "$as_me:1026: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1027  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;}
1028     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1029  fi  fi
# Line 1041  ac_configure="$SHELL $ac_aux_dir/configu Line 1043  ac_configure="$SHELL $ac_aux_dir/configu
1043  # AFS /usr/afsws/bin/install, which mishandles nonexistent args  # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1044  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1045  # ./install, which can be erroneously created by make from ./install.sh.  # ./install, which can be erroneously created by make from ./install.sh.
1046  echo "$as_me:1044: checking for a BSD compatible install" >&5  echo "$as_me:1046: checking for a BSD compatible install" >&5
1047  echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6  echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
1048  if test -z "$INSTALL"; then  if test -z "$INSTALL"; then
1049  if test "${ac_cv_path_install+set}" = set; then  if test "${ac_cv_path_install+set}" = set; then
# Line 1090  fi Line 1092  fi
1092      INSTALL=$ac_install_sh      INSTALL=$ac_install_sh
1093    fi    fi
1094  fi  fi
1095  echo "$as_me:1093: result: $INSTALL" >&5  echo "$as_me:1095: result: $INSTALL" >&5
1096  echo "${ECHO_T}$INSTALL" >&6  echo "${ECHO_T}$INSTALL" >&6
1097    
1098  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
# Line 1101  test -z "$INSTALL_SCRIPT" && INSTALL_SCR Line 1103  test -z "$INSTALL_SCRIPT" && INSTALL_SCR
1103    
1104  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1105    
1106  echo "$as_me:1104: checking whether build environment is sane" >&5  echo "$as_me:1106: checking whether build environment is sane" >&5
1107  echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6  echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1108  # Just in case  # Just in case
1109  sleep 1  sleep 1
# Line 1125  if ( Line 1127  if (
1127        # if, for instance, CONFIG_SHELL is bash and it inherits a        # if, for instance, CONFIG_SHELL is bash and it inherits a
1128        # broken ls alias from the environment.  This has actually        # broken ls alias from the environment.  This has actually
1129        # happened.  Such a system could not be considered "sane".        # happened.  Such a system could not be considered "sane".
1130        { { echo "$as_me:1128: error: ls -t appears to fail.  Make sure there is not a broken        { { echo "$as_me:1130: error: ls -t appears to fail.  Make sure there is not a broken
1131  alias in your environment" >&5  alias in your environment" >&5
1132  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
1133  alias in your environment" >&2;}  alias in your environment" >&2;}
# Line 1138  then Line 1140  then
1140     # Ok.     # Ok.
1141     :     :
1142  else  else
1143     { { echo "$as_me:1141: error: newly created file is older than distributed files!     { { echo "$as_me:1143: error: newly created file is older than distributed files!
1144  Check your system clock" >&5  Check your system clock" >&5
1145  echo "$as_me: error: newly created file is older than distributed files!  echo "$as_me: error: newly created file is older than distributed files!
1146  Check your system clock" >&2;}  Check your system clock" >&2;}
1147     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1148  fi  fi
1149  echo "$as_me:1147: result: yes" >&5  echo "$as_me:1149: result: yes" >&5
1150  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
1151  test "$program_prefix" != NONE &&  test "$program_prefix" != NONE &&
1152    program_transform_name="s,^,$program_prefix,;$program_transform_name"    program_transform_name="s,^,$program_prefix,;$program_transform_name"
# Line 1169  if eval "$MISSING --run true"; then Line 1171  if eval "$MISSING --run true"; then
1171  else  else
1172    am_missing_run=    am_missing_run=
1173    am_backtick='`'    am_backtick='`'
1174    { echo "$as_me:1172: WARNING: ${am_backtick}missing' script is too old or missing" >&5    { echo "$as_me:1174: WARNING: ${am_backtick}missing' script is too old or missing" >&5
1175  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;}
1176  fi  fi
1177    
# Line 1177  for ac_prog in mawk gawk nawk awk Line 1179  for ac_prog in mawk gawk nawk awk
1179  do  do
1180    # 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.
1181  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
1182  echo "$as_me:1180: checking for $ac_word" >&5  echo "$as_me:1182: checking for $ac_word" >&5
1183  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1184  if test "${ac_cv_prog_AWK+set}" = set; then  if test "${ac_cv_prog_AWK+set}" = set; then
1185    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1192  for ac_dir in $ac_dummy; do Line 1194  for ac_dir in $ac_dummy; do
1194    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
1195    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
1196  ac_cv_prog_AWK="$ac_prog"  ac_cv_prog_AWK="$ac_prog"
1197  echo "$as_me:1195: found $ac_dir/$ac_word" >&5  echo "$as_me:1197: found $ac_dir/$ac_word" >&5
1198  break  break
1199  done  done
1200    
# Line 1200  fi Line 1202  fi
1202  fi  fi
1203  AWK=$ac_cv_prog_AWK  AWK=$ac_cv_prog_AWK
1204  if test -n "$AWK"; then  if test -n "$AWK"; then
1205    echo "$as_me:1203: result: $AWK" >&5    echo "$as_me:1205: result: $AWK" >&5
1206  echo "${ECHO_T}$AWK" >&6  echo "${ECHO_T}$AWK" >&6
1207  else  else
1208    echo "$as_me:1206: result: no" >&5    echo "$as_me:1208: result: no" >&5
1209  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
1210  fi  fi
1211    
1212    test -n "$AWK" && break    test -n "$AWK" && break
1213  done  done
1214    
1215  echo "$as_me:1213: checking whether ${MAKE-make} sets \${MAKE}" >&5  echo "$as_me:1215: checking whether ${MAKE-make} sets \${MAKE}" >&5
1216  echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6  echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1217  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1218  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
# Line 1230  fi Line 1232  fi
1232  rm -f conftest.make  rm -f conftest.make
1233  fi  fi
1234  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
1235    echo "$as_me:1233: result: yes" >&5    echo "$as_me:1235: result: yes" >&5
1236  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
1237    SET_MAKE=    SET_MAKE=
1238  else  else
1239    echo "$as_me:1237: result: no" >&5    echo "$as_me:1239: result: no" >&5
1240  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
1241    SET_MAKE="MAKE=${MAKE-make}"    SET_MAKE="MAKE=${MAKE-make}"
1242  fi  fi
# Line 1270  rmdir .deps 2>/dev/null Line 1272  rmdir .deps 2>/dev/null
1272  # test to see if srcdir already configured  # test to see if srcdir already configured
1273  if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&  if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
1274     test -f $srcdir/config.status; then     test -f $srcdir/config.status; then
1275    { { echo "$as_me:1273: error: source directory already configured; run \"make distclean\" there first" >&5    { { echo "$as_me:1275: error: source directory already configured; run \"make distclean\" there first" >&5
1276  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;}
1277     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1278  fi  fi
# Line 1323  INSTALL_STRIP_PROGRAM="\${SHELL} \$(inst Line 1325  INSTALL_STRIP_PROGRAM="\${SHELL} \$(inst
1325    
1326  # Make sure we can run config.sub.  # Make sure we can run config.sub.
1327  $ac_config_sub sun4 >/dev/null 2>&1 ||  $ac_config_sub sun4 >/dev/null 2>&1 ||
1328    { { echo "$as_me:1326: error: cannot run $ac_config_sub" >&5    { { echo "$as_me:1328: error: cannot run $ac_config_sub" >&5
1329  echo "$as_me: error: cannot run $ac_config_sub" >&2;}  echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1330     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1331    
1332  echo "$as_me:1330: checking build system type" >&5  echo "$as_me:1332: checking build system type" >&5
1333  echo $ECHO_N "checking build system type... $ECHO_C" >&6  echo $ECHO_N "checking build system type... $ECHO_C" >&6
1334  if test "${ac_cv_build+set}" = set; then  if test "${ac_cv_build+set}" = set; then
1335    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1336  else Line 1338  else
1338  test -z "$ac_cv_build_alias" &&  test -z "$ac_cv_build_alias" &&
1339    ac_cv_build_alias=`$ac_config_guess`    ac_cv_build_alias=`$ac_config_guess`
1340  test -z "$ac_cv_build_alias" &&  test -z "$ac_cv_build_alias" &&
1341    { { echo "$as_me:1339: error: cannot guess build type; you must specify one" >&5    { { echo "$as_me:1341: error: cannot guess build type; you must specify one" >&5
1342  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;}
1343     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1344  ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||  ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1345    { { echo "$as_me:1343: error: $ac_config_sub $ac_cv_build_alias failed." >&5    { { echo "$as_me:1345: error: $ac_config_sub $ac_cv_build_alias failed." >&5
1346  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;}
1347     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1348    
1349  fi  fi
1350  echo "$as_me:1348: result: $ac_cv_build" >&5  echo "$as_me:1350: result: $ac_cv_build" >&5
1351  echo "${ECHO_T}$ac_cv_build" >&6  echo "${ECHO_T}$ac_cv_build" >&6
1352  build=$ac_cv_build  build=$ac_cv_build
1353  build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`  build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1354  build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`  build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1355  build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`  build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1356    
1357  echo "$as_me:1355: checking host system type" >&5  echo "$as_me:1357: checking host system type" >&5
1358  echo $ECHO_N "checking host system type... $ECHO_C" >&6  echo $ECHO_N "checking host system type... $ECHO_C" >&6
1359  if test "${ac_cv_host+set}" = set; then  if test "${ac_cv_host+set}" = set; then
1360    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1361  else Line 1363  else
1363  test -z "$ac_cv_host_alias" &&  test -z "$ac_cv_host_alias" &&
1364    ac_cv_host_alias=$ac_cv_build_alias    ac_cv_host_alias=$ac_cv_build_alias
1365  ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||  ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1366    { { echo "$as_me:1364: error: $ac_config_sub $ac_cv_host_alias failed" >&5    { { echo "$as_me:1366: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1367  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;}
1368     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1369    
1370  fi  fi
1371  echo "$as_me:1369: result: $ac_cv_host" >&5  echo "$as_me:1371: result: $ac_cv_host" >&5
1372  echo "${ECHO_T}$ac_cv_host" >&6  echo "${ECHO_T}$ac_cv_host" >&6
1373  host=$ac_cv_host  host=$ac_cv_host
1374  host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`  host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
# Line 1375  host_os=`echo $ac_cv_host | sed 's/^\([^ Line 1377  host_os=`echo $ac_cv_host | sed 's/^\([^
1377    
1378  case "$host_cpu" in  case "$host_cpu" in
1379  i[3456]86) host_cpu=i386 ;;  i[3456]86) host_cpu=i386 ;;
1380  *) { { echo "$as_me:1378: error: unsupported CPU type" >&5  *) { { echo "$as_me:1380: error: unsupported CPU type" >&5
1381  echo "$as_me: error: unsupported CPU type" >&2;}  echo "$as_me: error: unsupported CPU type" >&2;}
1382     { (exit 1); exit 1; }; } ;;     { (exit 1); exit 1; }; } ;;
1383  esac  esac
# Line 1384  esac Line 1386  esac
1386  # Options  # Options
1387  #  #
1388    
1389  echo "$as_me:1387: checking whether to enable maintainer-specific portions of Makefiles" >&5  echo "$as_me:1389: checking whether to enable maintainer-specific portions of Makefiles" >&5
1390  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
1391      # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.      # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1392  if test "${enable_maintainer_mode+set}" = set; then  if test "${enable_maintainer_mode+set}" = set; then
# Line 1393  if test "${enable_maintainer_mode+set}" Line 1395  if test "${enable_maintainer_mode+set}"
1395  else  else
1396    USE_MAINTAINER_MODE=no    USE_MAINTAINER_MODE=no
1397  fi;  fi;
1398    echo "$as_me:1396: result: $USE_MAINTAINER_MODE" >&5    echo "$as_me:1398: result: $USE_MAINTAINER_MODE" >&5
1399  echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6  echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1400    
1401  if test $USE_MAINTAINER_MODE = yes; then  if test $USE_MAINTAINER_MODE = yes; then
# Line 1408  fi Line 1410  fi
1410  if test "x$enable_maintainer_mode" = xyes; then  if test "x$enable_maintainer_mode" = xyes; then
1411    # 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.
1412  set dummy perl; ac_word=$2  set dummy perl; ac_word=$2
1413  echo "$as_me:1411: checking for $ac_word" >&5  echo "$as_me:1413: checking for $ac_word" >&5
1414  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1415  if test "${ac_cv_path_PERL+set}" = set; then  if test "${ac_cv_path_PERL+set}" = set; then
1416    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1425  for ac_dir in $ac_dummy; do Line 1427  for ac_dir in $ac_dummy; do
1427    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
1428    if $as_executable_p "$ac_dir/$ac_word"; then    if $as_executable_p "$ac_dir/$ac_word"; then
1429     ac_cv_path_PERL="$ac_dir/$ac_word"     ac_cv_path_PERL="$ac_dir/$ac_word"
1430     echo "$as_me:1428: found $ac_dir/$ac_word" >&5     echo "$as_me:1430: found $ac_dir/$ac_word" >&5
1431     break     break
1432  fi  fi
1433  done  done
# Line 1436  fi Line 1438  fi
1438  PERL=$ac_cv_path_PERL  PERL=$ac_cv_path_PERL
1439    
1440  if test -n "$PERL"; then  if test -n "$PERL"; then
1441    echo "$as_me:1439: result: $PERL" >&5    echo "$as_me:1441: result: $PERL" >&5
1442  echo "${ECHO_T}$PERL" >&6  echo "${ECHO_T}$PERL" >&6
1443  else  else
1444    echo "$as_me:1442: result: no" >&5    echo "$as_me:1444: result: no" >&5
1445  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
1446  fi  fi
1447    
1448    if test -z "$PERL"; then    if test -z "$PERL"; then
1449      { { echo "$as_me:1447: error: perl not found" >&5      { { echo "$as_me:1449: error: perl not found" >&5
1450  echo "$as_me: error: perl not found" >&2;}  echo "$as_me: error: perl not found" >&2;}
1451     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1452    fi    fi
# Line 1462  fi Line 1464  fi
1464  if test -n "$ac_tool_prefix"; then  if test -n "$ac_tool_prefix"; then
1465    # 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.
1466  set dummy ${ac_tool_prefix}gcc; ac_word=$2  set dummy ${ac_tool_prefix}gcc; ac_word=$2
1467  echo "$as_me:1465: checking for $ac_word" >&5  echo "$as_me:1467: checking for $ac_word" >&5
1468  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1469  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
1470    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1477  for ac_dir in $ac_dummy; do Line 1479  for ac_dir in $ac_dummy; do
1479    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
1480    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
1481  ac_cv_prog_CC="${ac_tool_prefix}gcc"  ac_cv_prog_CC="${ac_tool_prefix}gcc"
1482  echo "$as_me:1480: found $ac_dir/$ac_word" >&5  echo "$as_me:1482: found $ac_dir/$ac_word" >&5
1483  break  break
1484  done  done
1485    
# Line 1485  fi Line 1487  fi
1487  fi  fi
1488  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
1489  if test -n "$CC"; then  if test -n "$CC"; then
1490    echo "$as_me:1488: result: $CC" >&5    echo "$as_me:1490: result: $CC" >&5
1491  echo "${ECHO_T}$CC" >&6  echo "${ECHO_T}$CC" >&6
1492  else  else
1493    echo "$as_me:1491: result: no" >&5    echo "$as_me:1493: result: no" >&5
1494  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
1495  fi  fi
1496    
# Line 1497  if test -z "$ac_cv_prog_CC"; then Line 1499  if test -z "$ac_cv_prog_CC"; then
1499    ac_ct_CC=$CC    ac_ct_CC=$CC
1500    # 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.
1501  set dummy gcc; ac_word=$2  set dummy gcc; ac_word=$2
1502  echo "$as_me:1500: checking for $ac_word" >&5  echo "$as_me:1502: checking for $ac_word" >&5
1503  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1504  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1505    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1512  for ac_dir in $ac_dummy; do Line 1514  for ac_dir in $ac_dummy; do
1514    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
1515    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
1516  ac_cv_prog_ac_ct_CC="gcc"  ac_cv_prog_ac_ct_CC="gcc"
1517  echo "$as_me:1515: found $ac_dir/$ac_word" >&5  echo "$as_me:1517: found $ac_dir/$ac_word" >&5
1518  break  break
1519  done  done
1520    
# Line 1520  fi Line 1522  fi
1522  fi  fi
1523  ac_ct_CC=$ac_cv_prog_ac_ct_CC  ac_ct_CC=$ac_cv_prog_ac_ct_CC
1524  if test -n "$ac_ct_CC"; then  if test -n "$ac_ct_CC"; then
1525    echo "$as_me:1523: result: $ac_ct_CC" >&5    echo "$as_me:1525: result: $ac_ct_CC" >&5
1526  echo "${ECHO_T}$ac_ct_CC" >&6  echo "${ECHO_T}$ac_ct_CC" >&6
1527  else  else
1528    echo "$as_me:1526: result: no" >&5    echo "$as_me:1528: result: no" >&5
1529  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
1530  fi  fi
1531    
# Line 1540  ac_compiler_gnu=$ac_cv_c_compiler_gnu Line 1542  ac_compiler_gnu=$ac_cv_c_compiler_gnu
1542  if test -n "$ac_tool_prefix"; then  if test -n "$ac_tool_prefix"; then
1543    # 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.
1544  set dummy ${ac_tool_prefix}gcc; ac_word=$2  set dummy ${ac_tool_prefix}gcc; ac_word=$2
1545  echo "$as_me:1543: checking for $ac_word" >&5  echo "$as_me:1545: checking for $ac_word" >&5
1546  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1547  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
1548    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1555  for ac_dir in $ac_dummy; do Line 1557  for ac_dir in $ac_dummy; do
1557    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
1558    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
1559  ac_cv_prog_CC="${ac_tool_prefix}gcc"  ac_cv_prog_CC="${ac_tool_prefix}gcc"
1560  echo "$as_me:1558: found $ac_dir/$ac_word" >&5  echo "$as_me:1560: found $ac_dir/$ac_word" >&5
1561  break  break
1562  done  done
1563    
# Line 1563  fi Line 1565  fi
1565  fi  fi
1566  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
1567  if test -n "$CC"; then  if test -n "$CC"; then
1568    echo "$as_me:1566: result: $CC" >&5    echo "$as_me:1568: result: $CC" >&5
1569  echo "${ECHO_T}$CC" >&6  echo "${ECHO_T}$CC" >&6
1570  else  else
1571    echo "$as_me:1569: result: no" >&5    echo "$as_me:1571: result: no" >&5
1572  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
1573  fi  fi
1574    
# Line 1575  if test -z "$ac_cv_prog_CC"; then Line 1577  if test -z "$ac_cv_prog_CC"; then
1577    ac_ct_CC=$CC    ac_ct_CC=$CC
1578    # 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.
1579  set dummy gcc; ac_word=$2  set dummy gcc; ac_word=$2
1580  echo "$as_me:1578: checking for $ac_word" >&5  echo "$as_me:1580: checking for $ac_word" >&5
1581  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1582  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1583    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1590  for ac_dir in $ac_dummy; do Line 1592  for ac_dir in $ac_dummy; do
1592    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
1593    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
1594  ac_cv_prog_ac_ct_CC="gcc"  ac_cv_prog_ac_ct_CC="gcc"
1595  echo "$as_me:1593: found $ac_dir/$ac_word" >&5  echo "$as_me:1595: found $ac_dir/$ac_word" >&5
1596  break  break
1597  done  done
1598    
# Line 1598  fi Line 1600  fi
1600  fi  fi
1601  ac_ct_CC=$ac_cv_prog_ac_ct_CC  ac_ct_CC=$ac_cv_prog_ac_ct_CC
1602  if test -n "$ac_ct_CC"; then  if test -n "$ac_ct_CC"; then
1603    echo "$as_me:1601: result: $ac_ct_CC" >&5    echo "$as_me:1603: result: $ac_ct_CC" >&5
1604  echo "${ECHO_T}$ac_ct_CC" >&6  echo "${ECHO_T}$ac_ct_CC" >&6
1605  else  else
1606    echo "$as_me:1604: result: no" >&5    echo "$as_me:1606: result: no" >&5
1607  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
1608  fi  fi
1609    
# Line 1614  if test -z "$CC"; then Line 1616  if test -z "$CC"; then
1616    if test -n "$ac_tool_prefix"; then    if test -n "$ac_tool_prefix"; then
1617    # 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.
1618  set dummy ${ac_tool_prefix}cc; ac_word=$2  set dummy ${ac_tool_prefix}cc; ac_word=$2
1619  echo "$as_me:1617: checking for $ac_word" >&5  echo "$as_me:1619: checking for $ac_word" >&5
1620  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1621  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
1622    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1629  for ac_dir in $ac_dummy; do Line 1631  for ac_dir in $ac_dummy; do
1631    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
1632    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
1633  ac_cv_prog_CC="${ac_tool_prefix}cc"  ac_cv_prog_CC="${ac_tool_prefix}cc"
1634  echo "$as_me:1632: found $ac_dir/$ac_word" >&5  echo "$as_me:1634: found $ac_dir/$ac_word" >&5
1635  break  break
1636  done  done
1637    
# Line 1637  fi Line 1639  fi
1639  fi  fi
1640  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
1641  if test -n "$CC"; then  if test -n "$CC"; then
1642    echo "$as_me:1640: result: $CC" >&5    echo "$as_me:1642: result: $CC" >&5
1643  echo "${ECHO_T}$CC" >&6  echo "${ECHO_T}$CC" >&6
1644  else  else
1645    echo "$as_me:1643: result: no" >&5    echo "$as_me:1645: result: no" >&5
1646  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
1647  fi  fi
1648    
# Line 1649  if test -z "$ac_cv_prog_CC"; then Line 1651  if test -z "$ac_cv_prog_CC"; then
1651    ac_ct_CC=$CC    ac_ct_CC=$CC
1652    # 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.
1653  set dummy cc; ac_word=$2  set dummy cc; ac_word=$2
1654  echo "$as_me:1652: checking for $ac_word" >&5  echo "$as_me:1654: checking for $ac_word" >&5
1655  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1656  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1657    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1664  for ac_dir in $ac_dummy; do Line 1666  for ac_dir in $ac_dummy; do
1666    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
1667    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
1668  ac_cv_prog_ac_ct_CC="cc"  ac_cv_prog_ac_ct_CC="cc"
1669  echo "$as_me:1667: found $ac_dir/$ac_word" >&5  echo "$as_me:1669: found $ac_dir/$ac_word" >&5
1670  break  break
1671  done  done
1672    
# Line 1672  fi Line 1674  fi
1674  fi  fi
1675  ac_ct_CC=$ac_cv_prog_ac_ct_CC  ac_ct_CC=$ac_cv_prog_ac_ct_CC
1676  if test -n "$ac_ct_CC"; then  if test -n "$ac_ct_CC"; then
1677    echo "$as_me:1675: result: $ac_ct_CC" >&5    echo "$as_me:1677: result: $ac_ct_CC" >&5
1678  echo "${ECHO_T}$ac_ct_CC" >&6  echo "${ECHO_T}$ac_ct_CC" >&6
1679  else  else
1680    echo "$as_me:1678: result: no" >&5    echo "$as_me:1680: result: no" >&5
1681  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
1682  fi  fi
1683    
# Line 1688  fi Line 1690  fi
1690  if test -z "$CC"; then  if test -z "$CC"; then
1691    # 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.
1692  set dummy cc; ac_word=$2  set dummy cc; ac_word=$2
1693  echo "$as_me:1691: checking for $ac_word" >&5  echo "$as_me:1693: checking for $ac_word" >&5
1694  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1695  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
1696    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1708  if test "$ac_dir/$ac_word" = "/usr/ucb/c Line 1710  if test "$ac_dir/$ac_word" = "/usr/ucb/c
1710    continue    continue
1711  fi  fi
1712  ac_cv_prog_CC="cc"  ac_cv_prog_CC="cc"
1713  echo "$as_me:1711: found $ac_dir/$ac_word" >&5  echo "$as_me:1713: found $ac_dir/$ac_word" >&5
1714  break  break
1715  done  done
1716    
# Line 1730  fi Line 1732  fi
1732  fi  fi
1733  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
1734  if test -n "$CC"; then  if test -n "$CC"; then
1735    echo "$as_me:1733: result: $CC" >&5    echo "$as_me:1735: result: $CC" >&5
1736  echo "${ECHO_T}$CC" >&6  echo "${ECHO_T}$CC" >&6
1737  else  else
1738    echo "$as_me:1736: result: no" >&5    echo "$as_me:1738: result: no" >&5
1739  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
1740  fi  fi
1741    
# Line 1744  if test -z "$CC"; then Line 1746  if test -z "$CC"; then
1746    do    do
1747      # 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.
1748  set dummy $ac_tool_prefix$ac_prog; ac_word=$2  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1749  echo "$as_me:1747: checking for $ac_word" >&5  echo "$as_me:1749: checking for $ac_word" >&5
1750  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1751  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
1752    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1759  for ac_dir in $ac_dummy; do Line 1761  for ac_dir in $ac_dummy; do
1761    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
1762    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
1763  ac_cv_prog_CC="$ac_tool_prefix$ac_prog"  ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1764  echo "$as_me:1762: found $ac_dir/$ac_word" >&5  echo "$as_me:1764: found $ac_dir/$ac_word" >&5
1765  break  break
1766  done  done
1767    
# Line 1767  fi Line 1769  fi
1769  fi  fi
1770  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
1771  if test -n "$CC"; then  if test -n "$CC"; then
1772    echo "$as_me:1770: result: $CC" >&5    echo "$as_me:1772: result: $CC" >&5
1773  echo "${ECHO_T}$CC" >&6  echo "${ECHO_T}$CC" >&6
1774  else  else
1775    echo "$as_me:1773: result: no" >&5    echo "$as_me:1775: result: no" >&5
1776  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
1777  fi  fi
1778    
# Line 1783  if test -z "$CC"; then Line 1785  if test -z "$CC"; then
1785  do  do
1786    # 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.
1787  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
1788  echo "$as_me:1786: checking for $ac_word" >&5  echo "$as_me:1788: checking for $ac_word" >&5
1789  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1790  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1791    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1798  for ac_dir in $ac_dummy; do Line 1800  for ac_dir in $ac_dummy; do
1800    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
1801    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
1802  ac_cv_prog_ac_ct_CC="$ac_prog"  ac_cv_prog_ac_ct_CC="$ac_prog"
1803  echo "$as_me:1801: found $ac_dir/$ac_word" >&5  echo "$as_me:1803: found $ac_dir/$ac_word" >&5
1804  break  break
1805  done  done
1806    
# Line 1806  fi Line 1808  fi
1808  fi  fi
1809  ac_ct_CC=$ac_cv_prog_ac_ct_CC  ac_ct_CC=$ac_cv_prog_ac_ct_CC
1810  if test -n "$ac_ct_CC"; then  if test -n "$ac_ct_CC"; then
1811    echo "$as_me:1809: result: $ac_ct_CC" >&5    echo "$as_me:1811: result: $ac_ct_CC" >&5
1812  echo "${ECHO_T}$ac_ct_CC" >&6  echo "${ECHO_T}$ac_ct_CC" >&6
1813  else  else
1814    echo "$as_me:1812: result: no" >&5    echo "$as_me:1814: result: no" >&5
1815  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
1816  fi  fi
1817    
# Line 1821  fi Line 1823  fi
1823    
1824  fi  fi
1825    
1826  test -z "$CC" && { { echo "$as_me:1824: error: no acceptable cc found in \$PATH" >&5  test -z "$CC" && { { echo "$as_me:1826: error: no acceptable cc found in \$PATH" >&5
1827  echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}  echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
1828     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1829    
1830  # Provide some information about the compiler.  # Provide some information about the compiler.
1831  echo "$as_me:1829:" \  echo "$as_me:1831:" \
1832       "checking for C compiler version" >&5       "checking for C compiler version" >&5
1833  ac_compiler=`set X $ac_compile; echo $2`  ac_compiler=`set X $ac_compile; echo $2`
1834  { (eval echo "$as_me:1832: \"$ac_compiler --version </dev/null >&5\"") >&5  { (eval echo "$as_me:1834: \"$ac_compiler --version </dev/null >&5\"") >&5
1835    (eval $ac_compiler --version </dev/null >&5) 2>&5    (eval $ac_compiler --version </dev/null >&5) 2>&5
1836    ac_status=$?    ac_status=$?
1837    echo "$as_me:1835: \$? = $ac_status" >&5    echo "$as_me:1837: \$? = $ac_status" >&5
1838    (exit $ac_status); }    (exit $ac_status); }
1839  { (eval echo "$as_me:1837: \"$ac_compiler -v </dev/null >&5\"") >&5  { (eval echo "$as_me:1839: \"$ac_compiler -v </dev/null >&5\"") >&5
1840    (eval $ac_compiler -v </dev/null >&5) 2>&5    (eval $ac_compiler -v </dev/null >&5) 2>&5
1841    ac_status=$?    ac_status=$?
1842    echo "$as_me:1840: \$? = $ac_status" >&5    echo "$as_me:1842: \$? = $ac_status" >&5
1843    (exit $ac_status); }    (exit $ac_status); }
1844  { (eval echo "$as_me:1842: \"$ac_compiler -V </dev/null >&5\"") >&5  { (eval echo "$as_me:1844: \"$ac_compiler -V </dev/null >&5\"") >&5
1845    (eval $ac_compiler -V </dev/null >&5) 2>&5    (eval $ac_compiler -V </dev/null >&5) 2>&5
1846    ac_status=$?    ac_status=$?
1847    echo "$as_me:1845: \$? = $ac_status" >&5    echo "$as_me:1847: \$? = $ac_status" >&5
1848    (exit $ac_status); }    (exit $ac_status); }
1849    
1850  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
1851  #line 1849 "configure"  #line 1851 "configure"
1852  #include "confdefs.h"  #include "confdefs.h"
1853    
1854  int  int
# Line 1862  ac_clean_files="$ac_clean_files a.out a. Line 1864  ac_clean_files="$ac_clean_files a.out a.
1864  # Try to create an executable without -o first, disregard a.out.  # Try to create an executable without -o first, disregard a.out.
1865  # It will help us diagnose broken compilers, and finding out an intuition  # It will help us diagnose broken compilers, and finding out an intuition
1866  # of exeext.  # of exeext.
1867  echo "$as_me:1865: checking for C compiler default output" >&5  echo "$as_me:1867: checking for C compiler default output" >&5
1868  echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6  echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1869  ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`  ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1870  if { (eval echo "$as_me:1868: \"$ac_link_default\"") >&5  if { (eval echo "$as_me:1870: \"$ac_link_default\"") >&5
1871    (eval $ac_link_default) 2>&5    (eval $ac_link_default) 2>&5
1872    ac_status=$?    ac_status=$?
1873    echo "$as_me:1871: \$? = $ac_status" >&5    echo "$as_me:1873: \$? = $ac_status" >&5
1874    (exit $ac_status); }; then    (exit $ac_status); }; then
1875    # Find the output, starting from the most likely.  This scheme is    # Find the output, starting from the most likely.  This scheme is
1876  # 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
# Line 1891  done Line 1893  done
1893  else  else
1894    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
1895  cat conftest.$ac_ext >&5  cat conftest.$ac_ext >&5
1896  { { echo "$as_me:1894: error: C compiler cannot create executables" >&5  { { echo "$as_me:1896: error: C compiler cannot create executables" >&5
1897  echo "$as_me: error: C compiler cannot create executables" >&2;}  echo "$as_me: error: C compiler cannot create executables" >&2;}
1898     { (exit 77); exit 77; }; }     { (exit 77); exit 77; }; }
1899  fi  fi
1900    
1901  ac_exeext=$ac_cv_exeext  ac_exeext=$ac_cv_exeext
1902  echo "$as_me:1900: result: $ac_file" >&5  echo "$as_me:1902: result: $ac_file" >&5
1903  echo "${ECHO_T}$ac_file" >&6  echo "${ECHO_T}$ac_file" >&6
1904    
1905  # Check the compiler produces executables we can run.  If not, either  # Check the compiler produces executables we can run.  If not, either
1906  # the compiler is broken, or we cross compile.  # the compiler is broken, or we cross compile.
1907  echo "$as_me:1905: checking whether the C compiler works" >&5  echo "$as_me:1907: checking whether the C compiler works" >&5
1908  echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6  echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1909  # FIXME: These cross compiler hacks should be removed for Autoconf 3.0  # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1910  # If not cross compiling, check that we can run a simple program.  # If not cross compiling, check that we can run a simple program.
1911  if test "$cross_compiling" != yes; then  if test "$cross_compiling" != yes; then
1912    if { ac_try='./$ac_file'    if { ac_try='./$ac_file'
1913    { (eval echo "$as_me:1911: \"$ac_try\"") >&5    { (eval echo "$as_me:1913: \"$ac_try\"") >&5
1914    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
1915    ac_status=$?    ac_status=$?
1916    echo "$as_me:1914: \$? = $ac_status" >&5    echo "$as_me:1916: \$? = $ac_status" >&5
1917    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
1918      cross_compiling=no      cross_compiling=no
1919    else    else
1920      if test "$cross_compiling" = maybe; then      if test "$cross_compiling" = maybe; then
1921          cross_compiling=yes          cross_compiling=yes
1922      else      else
1923          { { echo "$as_me:1921: error: cannot run C compiled programs.          { { echo "$as_me:1923: error: cannot run C compiled programs.
1924  If you meant to cross compile, use \`--host'." >&5  If you meant to cross compile, use \`--host'." >&5
1925  echo "$as_me: error: cannot run C compiled programs.  echo "$as_me: error: cannot run C compiled programs.
1926  If you meant to cross compile, use \`--host'." >&2;}  If you meant to cross compile, use \`--host'." >&2;}
# Line 1926  If you meant to cross compile, use \`--h Line 1928  If you meant to cross compile, use \`--h
1928      fi      fi
1929    fi    fi
1930  fi  fi
1931  echo "$as_me:1929: result: yes" >&5  echo "$as_me:1931: result: yes" >&5
1932  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
1933    
1934  rm -f a.out a.exe conftest$ac_cv_exeext  rm -f a.out a.exe conftest$ac_cv_exeext
1935  ac_clean_files=$ac_clean_files_save  ac_clean_files=$ac_clean_files_save
1936  # Check the compiler produces executables we can run.  If not, either  # Check the compiler produces executables we can run.  If not, either
1937  # the compiler is broken, or we cross compile.  # the compiler is broken, or we cross compile.
1938  echo "$as_me:1936: checking whether we are cross compiling" >&5  echo "$as_me:1938: checking whether we are cross compiling" >&5
1939  echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6  echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1940  echo "$as_me:1938: result: $cross_compiling" >&5  echo "$as_me:1940: result: $cross_compiling" >&5
1941  echo "${ECHO_T}$cross_compiling" >&6  echo "${ECHO_T}$cross_compiling" >&6
1942    
1943  echo "$as_me:1941: checking for executable suffix" >&5  echo "$as_me:1943: checking for executable suffix" >&5
1944  echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6  echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
1945  if { (eval echo "$as_me:1943: \"$ac_link\"") >&5  if { (eval echo "$as_me:1945: \"$ac_link\"") >&5
1946    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
1947    ac_status=$?    ac_status=$?
1948    echo "$as_me:1946: \$? = $ac_status" >&5    echo "$as_me:1948: \$? = $ac_status" >&5
1949    (exit $ac_status); }; then    (exit $ac_status); }; then
1950    # If both `conftest.exe' and `conftest' are `present' (well, observable)    # If both `conftest.exe' and `conftest' are `present' (well, observable)
1951  # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will  # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
# Line 1959  for ac_file in `(ls conftest.exe; ls con Line 1961  for ac_file in `(ls conftest.exe; ls con
1961    esac    esac
1962  done  done
1963  else  else
1964    { { echo "$as_me:1962: error: cannot compute EXEEXT: cannot compile and link" >&5    { { echo "$as_me:1964: error: cannot compute EXEEXT: cannot compile and link" >&5
1965  echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}  echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
1966     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1967  fi  fi
1968    
1969  rm -f conftest$ac_cv_exeext  rm -f conftest$ac_cv_exeext
1970  echo "$as_me:1968: result: $ac_cv_exeext" >&5  echo "$as_me:1970: result: $ac_cv_exeext" >&5
1971  echo "${ECHO_T}$ac_cv_exeext" >&6  echo "${ECHO_T}$ac_cv_exeext" >&6
1972    
1973  rm -f conftest.$ac_ext  rm -f conftest.$ac_ext
1974  EXEEXT=$ac_cv_exeext  EXEEXT=$ac_cv_exeext
1975  ac_exeext=$EXEEXT  ac_exeext=$EXEEXT
1976  echo "$as_me:1974: checking for object suffix" >&5  echo "$as_me:1976: checking for object suffix" >&5
1977  echo $ECHO_N "checking for object suffix... $ECHO_C" >&6  echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
1978  if test "${ac_cv_objext+set}" = set; then  if test "${ac_cv_objext+set}" = set; then
1979    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
1980  else  else
1981    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
1982  #line 1980 "configure"  #line 1982 "configure"
1983  #include "confdefs.h"  #include "confdefs.h"
1984    
1985  int  int
# Line 1989  main () Line 1991  main ()
1991  }  }
1992  _ACEOF  _ACEOF
1993  rm -f conftest.o conftest.obj  rm -f conftest.o conftest.obj
1994  if { (eval echo "$as_me:1992: \"$ac_compile\"") >&5  if { (eval echo "$as_me:1994: \"$ac_compile\"") >&5
1995    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
1996    ac_status=$?    ac_status=$?
1997    echo "$as_me:1995: \$? = $ac_status" >&5    echo "$as_me:1997: \$? = $ac_status" >&5
1998    (exit $ac_status); }; then    (exit $ac_status); }; then
1999    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
2000    case $ac_file in    case $ac_file in
# Line 2004  done Line 2006  done
2006  else  else
2007    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2008  cat conftest.$ac_ext >&5  cat conftest.$ac_ext >&5
2009  { { echo "$as_me:2007: error: cannot compute OBJEXT: cannot compile" >&5  { { echo "$as_me:2009: error: cannot compute OBJEXT: cannot compile" >&5
2010  echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}  echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
2011     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
2012  fi  fi
2013    
2014  rm -f conftest.$ac_cv_objext conftest.$ac_ext  rm -f conftest.$ac_cv_objext conftest.$ac_ext
2015  fi  fi
2016  echo "$as_me:2014: result: $ac_cv_objext" >&5  echo "$as_me:2016: result: $ac_cv_objext" >&5
2017  echo "${ECHO_T}$ac_cv_objext" >&6  echo "${ECHO_T}$ac_cv_objext" >&6
2018  OBJEXT=$ac_cv_objext  OBJEXT=$ac_cv_objext
2019  ac_objext=$OBJEXT  ac_objext=$OBJEXT
2020  echo "$as_me:2018: checking whether we are using the GNU C compiler" >&5  echo "$as_me:2020: checking whether we are using the GNU C compiler" >&5
2021  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
2022  if test "${ac_cv_c_compiler_gnu+set}" = set; then  if test "${ac_cv_c_compiler_gnu+set}" = set; then
2023    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2024  else  else
2025    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2026  #line 2024 "configure"  #line 2026 "configure"
2027  #include "confdefs.h"  #include "confdefs.h"
2028    
2029  int  int
# Line 2036  main () Line 2038  main ()
2038  }  }
2039  _ACEOF  _ACEOF
2040  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2041  if { (eval echo "$as_me:2039: \"$ac_compile\"") >&5  if { (eval echo "$as_me:2041: \"$ac_compile\"") >&5
2042    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2043    ac_status=$?    ac_status=$?
2044    echo "$as_me:2042: \$? = $ac_status" >&5    echo "$as_me:2044: \$? = $ac_status" >&5
2045    (exit $ac_status); } &&    (exit $ac_status); } &&
2046           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
2047    { (eval echo "$as_me:2045: \"$ac_try\"") >&5    { (eval echo "$as_me:2047: \"$ac_try\"") >&5
2048    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2049    ac_status=$?    ac_status=$?
2050    echo "$as_me:2048: \$? = $ac_status" >&5    echo "$as_me:2050: \$? = $ac_status" >&5
2051    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2052    ac_compiler_gnu=yes    ac_compiler_gnu=yes
2053  else  else
# Line 2057  rm -f conftest.$ac_objext conftest.$ac_e Line 2059  rm -f conftest.$ac_objext conftest.$ac_e
2059  ac_cv_c_compiler_gnu=$ac_compiler_gnu  ac_cv_c_compiler_gnu=$ac_compiler_gnu
2060    
2061  fi  fi
2062  echo "$as_me:2060: result: $ac_cv_c_compiler_gnu" >&5  echo "$as_me:2062: result: $ac_cv_c_compiler_gnu" >&5
2063  echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6  echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2064  GCC=`test $ac_compiler_gnu = yes && echo yes`  GCC=`test $ac_compiler_gnu = yes && echo yes`
2065  ac_test_CFLAGS=${CFLAGS+set}  ac_test_CFLAGS=${CFLAGS+set}
2066  ac_save_CFLAGS=$CFLAGS  ac_save_CFLAGS=$CFLAGS
2067  CFLAGS="-g"  CFLAGS="-g"
2068  echo "$as_me:2066: checking whether $CC accepts -g" >&5  echo "$as_me:2068: checking whether $CC accepts -g" >&5
2069  echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6  echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2070  if test "${ac_cv_prog_cc_g+set}" = set; then  if test "${ac_cv_prog_cc_g+set}" = set; then
2071    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2072  else  else
2073    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2074  #line 2072 "configure"  #line 2074 "configure"
2075  #include "confdefs.h"  #include "confdefs.h"
2076    
2077  int  int
# Line 2081  main () Line 2083  main ()
2083  }  }
2084  _ACEOF  _ACEOF
2085  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2086  if { (eval echo "$as_me:2084: \"$ac_compile\"") >&5  if { (eval echo "$as_me:2086: \"$ac_compile\"") >&5
2087    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2088    ac_status=$?    ac_status=$?
2089    echo "$as_me:2087: \$? = $ac_status" >&5    echo "$as_me:2089: \$? = $ac_status" >&5
2090    (exit $ac_status); } &&    (exit $ac_status); } &&
2091           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
2092    { (eval echo "$as_me:2090: \"$ac_try\"") >&5    { (eval echo "$as_me:2092: \"$ac_try\"") >&5
2093    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2094    ac_status=$?    ac_status=$?
2095    echo "$as_me:2093: \$? = $ac_status" >&5    echo "$as_me:2095: \$? = $ac_status" >&5
2096    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2097    ac_cv_prog_cc_g=yes    ac_cv_prog_cc_g=yes
2098  else  else
# Line 2100  ac_cv_prog_cc_g=no Line 2102  ac_cv_prog_cc_g=no
2102  fi  fi
2103  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
2104  fi  fi
2105  echo "$as_me:2103: result: $ac_cv_prog_cc_g" >&5  echo "$as_me:2105: result: $ac_cv_prog_cc_g" >&5
2106  echo "${ECHO_T}$ac_cv_prog_cc_g" >&6  echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2107  if test "$ac_test_CFLAGS" = set; then  if test "$ac_test_CFLAGS" = set; then
2108    CFLAGS=$ac_save_CFLAGS    CFLAGS=$ac_save_CFLAGS
# Line 2127  cat >conftest.$ac_ext <<_ACEOF Line 2129  cat >conftest.$ac_ext <<_ACEOF
2129  #endif  #endif
2130  _ACEOF  _ACEOF
2131  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2132  if { (eval echo "$as_me:2130: \"$ac_compile\"") >&5  if { (eval echo "$as_me:2132: \"$ac_compile\"") >&5
2133    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2134    ac_status=$?    ac_status=$?
2135    echo "$as_me:2133: \$? = $ac_status" >&5    echo "$as_me:2135: \$? = $ac_status" >&5
2136    (exit $ac_status); } &&    (exit $ac_status); } &&
2137           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
2138    { (eval echo "$as_me:2136: \"$ac_try\"") >&5    { (eval echo "$as_me:2138: \"$ac_try\"") >&5
2139    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2140    ac_status=$?    ac_status=$?
2141    echo "$as_me:2139: \$? = $ac_status" >&5    echo "$as_me:2141: \$? = $ac_status" >&5
2142    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2143    for ac_declaration in \    for ac_declaration in \
2144     ''\     ''\
# Line 2148  if { (eval echo "$as_me:2130: \"$ac_comp Line 2150  if { (eval echo "$as_me:2130: \"$ac_comp
2150     'void exit (int);'     'void exit (int);'
2151  do  do
2152    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2153  #line 2151 "configure"  #line 2153 "configure"
2154  #include "confdefs.h"  #include "confdefs.h"
2155  #include <stdlib.h>  #include <stdlib.h>
2156  $ac_declaration  $ac_declaration
# Line 2161  exit (42); Line 2163  exit (42);
2163  }  }
2164  _ACEOF  _ACEOF
2165  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2166  if { (eval echo "$as_me:2164: \"$ac_compile\"") >&5  if { (eval echo "$as_me:2166: \"$ac_compile\"") >&5
2167    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2168    ac_status=$?    ac_status=$?
2169    echo "$as_me:2167: \$? = $ac_status" >&5    echo "$as_me:2169: \$? = $ac_status" >&5
2170    (exit $ac_status); } &&    (exit $ac_status); } &&
2171           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
2172    { (eval echo "$as_me:2170: \"$ac_try\"") >&5    { (eval echo "$as_me:2172: \"$ac_try\"") >&5
2173    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2174    ac_status=$?    ac_status=$?
2175    echo "$as_me:2173: \$? = $ac_status" >&5    echo "$as_me:2175: \$? = $ac_status" >&5
2176    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2177    :    :
2178  else  else
# Line 2180  continue Line 2182  continue
2182  fi  fi
2183  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
2184    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2185  #line 2183 "configure"  #line 2185 "configure"
2186  #include "confdefs.h"  #include "confdefs.h"
2187  $ac_declaration  $ac_declaration
2188  int  int
# Line 2192  exit (42); Line 2194  exit (42);
2194  }  }
2195  _ACEOF  _ACEOF
2196  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2197  if { (eval echo "$as_me:2195: \"$ac_compile\"") >&5  if { (eval echo "$as_me:2197: \"$ac_compile\"") >&5
2198    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2199    ac_status=$?    ac_status=$?
2200    echo "$as_me:2198: \$? = $ac_status" >&5    echo "$as_me:2200: \$? = $ac_status" >&5
2201    (exit $ac_status); } &&    (exit $ac_status); } &&
2202           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
2203    { (eval echo "$as_me:2201: \"$ac_try\"") >&5    { (eval echo "$as_me:2203: \"$ac_try\"") >&5
2204    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2205    ac_status=$?    ac_status=$?
2206    echo "$as_me:2204: \$? = $ac_status" >&5    echo "$as_me:2206: \$? = $ac_status" >&5
2207    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2208    break    break
2209  else  else
# Line 2236  doit: Line 2238  doit:
2238          @echo done          @echo done
2239  END  END
2240  # 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.
2241  echo "$as_me:2239: checking for style of include used by $am_make" >&5  echo "$as_me:2241: checking for style of include used by $am_make" >&5
2242  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
2243  am__include='#'  am__include='#'
2244  am__quote=  am__quote=
# Line 2263  if test "$am__include" = "#"; then Line 2265  if test "$am__include" = "#"; then
2265     fi     fi
2266  fi  fi
2267    
2268  echo "$as_me:2266: result: $_am_result" >&5  echo "$as_me:2268: result: $_am_result" >&5
2269  echo "${ECHO_T}$_am_result" >&6  echo "${ECHO_T}$_am_result" >&6
2270  rm -f confinc confmf  rm -f confinc confmf
2271    
2272  depcc="$CC"   am_compiler_list=  depcc="$CC"   am_compiler_list=
2273    
2274  echo "$as_me:2272: checking dependency style of $depcc" >&5  echo "$as_me:2274: checking dependency style of $depcc" >&5
2275  echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6  echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2276  if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then  if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2277    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2331  else Line 2333  else
2333  fi  fi
2334    
2335  fi  fi
2336  echo "$as_me:2334: result: $am_cv_CC_dependencies_compiler_type" >&5  echo "$as_me:2336: result: $am_cv_CC_dependencies_compiler_type" >&5
2337  echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6  echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2338  CCDEPMODE="depmode=$am_cv_CC_dependencies_compiler_type"  CCDEPMODE="depmode=$am_cv_CC_dependencies_compiler_type"
2339    
# Line 2339  CCDEPMODE="depmode=$am_cv_CC_dependencie Line 2341  CCDEPMODE="depmode=$am_cv_CC_dependencie
2341    
2342  depcc="$CC"   am_compiler_list=  depcc="$CC"   am_compiler_list=
2343    
2344  echo "$as_me:2342: checking dependency style of $depcc" >&5  echo "$as_me:2344: checking dependency style of $depcc" >&5
2345  echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6  echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2346  if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then  if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2347    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2401  else Line 2403  else
2403  fi  fi
2404    
2405  fi  fi
2406  echo "$as_me:2404: result: $am_cv_CC_dependencies_compiler_type" >&5  echo "$as_me:2406: result: $am_cv_CC_dependencies_compiler_type" >&5
2407  echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6  echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2408  CCDEPMODE="depmode=$am_cv_CC_dependencies_compiler_type"  CCDEPMODE="depmode=$am_cv_CC_dependencies_compiler_type"
2409    
# Line 2416  fi; Line 2418  fi;
2418  if test "x$with_binutils" != x; then  if test "x$with_binutils" != x; then
2419    # 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.
2420  set dummy ranlib; ac_word=$2  set dummy ranlib; ac_word=$2
2421  echo "$as_me:2419: checking for $ac_word" >&5  echo "$as_me:2421: checking for $ac_word" >&5
2422  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2423  if test "${ac_cv_path_RANLIB+set}" = set; then  if test "${ac_cv_path_RANLIB+set}" = set; then
2424    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2433  for ac_dir in $ac_dummy; do Line 2435  for ac_dir in $ac_dummy; do
2435    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
2436    if $as_executable_p "$ac_dir/$ac_word"; then    if $as_executable_p "$ac_dir/$ac_word"; then
2437     ac_cv_path_RANLIB="$ac_dir/$ac_word"     ac_cv_path_RANLIB="$ac_dir/$ac_word"
2438     echo "$as_me:2436: found $ac_dir/$ac_word" >&5     echo "$as_me:2438: found $ac_dir/$ac_word" >&5
2439     break     break
2440  fi  fi
2441  done  done
# Line 2445  fi Line 2447  fi
2447  RANLIB=$ac_cv_path_RANLIB  RANLIB=$ac_cv_path_RANLIB
2448    
2449  if test -n "$RANLIB"; then  if test -n "$RANLIB"; then
2450    echo "$as_me:2448: result: $RANLIB" >&5    echo "$as_me:2450: result: $RANLIB" >&5
2451  echo "${ECHO_T}$RANLIB" >&6  echo "${ECHO_T}$RANLIB" >&6
2452  else  else
2453    echo "$as_me:2451: result: no" >&5    echo "$as_me:2453: result: no" >&5
2454  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
2455  fi  fi
2456    
# Line 2456  else Line 2458  else
2458    if test -n "$ac_tool_prefix"; then    if test -n "$ac_tool_prefix"; then
2459    # 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.
2460  set dummy ${ac_tool_prefix}ranlib; ac_word=$2  set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2461  echo "$as_me:2459: checking for $ac_word" >&5  echo "$as_me:2461: checking for $ac_word" >&5
2462  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2463  if test "${ac_cv_prog_RANLIB+set}" = set; then  if test "${ac_cv_prog_RANLIB+set}" = set; then
2464    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2471  for ac_dir in $ac_dummy; do Line 2473  for ac_dir in $ac_dummy; do
2473    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
2474    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
2475  ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"  ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2476  echo "$as_me:2474: found $ac_dir/$ac_word" >&5  echo "$as_me:2476: found $ac_dir/$ac_word" >&5
2477  break  break
2478  done  done
2479    
# Line 2479  fi Line 2481  fi
2481  fi  fi
2482  RANLIB=$ac_cv_prog_RANLIB  RANLIB=$ac_cv_prog_RANLIB
2483  if test -n "$RANLIB"; then  if test -n "$RANLIB"; then
2484    echo "$as_me:2482: result: $RANLIB" >&5    echo "$as_me:2484: result: $RANLIB" >&5
2485  echo "${ECHO_T}$RANLIB" >&6  echo "${ECHO_T}$RANLIB" >&6
2486  else  else
2487    echo "$as_me:2485: result: no" >&5    echo "$as_me:2487: result: no" >&5
2488  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
2489  fi  fi
2490    
# Line 2491  if test -z "$ac_cv_prog_RANLIB"; then Line 2493  if test -z "$ac_cv_prog_RANLIB"; then
2493    ac_ct_RANLIB=$RANLIB    ac_ct_RANLIB=$RANLIB
2494    # 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.
2495  set dummy ranlib; ac_word=$2  set dummy ranlib; ac_word=$2
2496  echo "$as_me:2494: checking for $ac_word" >&5  echo "$as_me:2496: checking for $ac_word" >&5
2497  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2498  if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then  if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2499    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2506  for ac_dir in $ac_dummy; do Line 2508  for ac_dir in $ac_dummy; do
2508    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
2509    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
2510  ac_cv_prog_ac_ct_RANLIB="ranlib"  ac_cv_prog_ac_ct_RANLIB="ranlib"
2511  echo "$as_me:2509: found $ac_dir/$ac_word" >&5  echo "$as_me:2511: found $ac_dir/$ac_word" >&5
2512  break  break
2513  done  done
2514    
# Line 2515  fi Line 2517  fi
2517  fi  fi
2518  ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB  ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2519  if test -n "$ac_ct_RANLIB"; then  if test -n "$ac_ct_RANLIB"; then
2520    echo "$as_me:2518: result: $ac_ct_RANLIB" >&5    echo "$as_me:2520: result: $ac_ct_RANLIB" >&5
2521  echo "${ECHO_T}$ac_ct_RANLIB" >&6  echo "${ECHO_T}$ac_ct_RANLIB" >&6
2522  else  else
2523    echo "$as_me:2521: result: no" >&5    echo "$as_me:2523: result: no" >&5
2524  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
2525  fi  fi
2526    
# Line 2539  if test "x$ac_cv_c_compiler_gnu" = xyes; Line 2541  if test "x$ac_cv_c_compiler_gnu" = xyes;
2541      fi      fi
2542      STAGE1_CFLAGS="-O2"      STAGE1_CFLAGS="-O2"
2543      GRUB_CFLAGS="-O2"      GRUB_CFLAGS="-O2"
2544      echo "$as_me:2542: checking whether optimization for size works" >&5      echo "$as_me:2544: checking whether optimization for size works" >&5
2545  echo $ECHO_N "checking whether optimization for size works... $ECHO_C" >&6  echo $ECHO_N "checking whether optimization for size works... $ECHO_C" >&6
2546  if test "${size_flag+set}" = set; then  if test "${size_flag+set}" = set; then
2547    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2549  else Line 2551  else
2551        CFLAGS="-Os -g"        CFLAGS="-Os -g"
2552    
2553  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
2554  #line 2552 "configure"  #line 2554 "configure"
2555  #include "confdefs.h"  #include "confdefs.h"
2556    
2557  int  int
# Line 2561  main () Line 2563  main ()
2563  }  }
2564  _ACEOF  _ACEOF
2565  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2566  if { (eval echo "$as_me:2564: \"$ac_compile\"") >&5  if { (eval echo "$as_me:2566: \"$ac_compile\"") >&5
2567    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2568    ac_status=$?    ac_status=$?
2569    echo "$as_me:2567: \$? = $ac_status" >&5    echo "$as_me:2569: \$? = $ac_status" >&5
2570    (exit $ac_status); } &&    (exit $ac_status); } &&
2571           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
2572    { (eval echo "$as_me:2570: \"$ac_try\"") >&5    { (eval echo "$as_me:2572: \"$ac_try\"") >&5
2573    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2574    ac_status=$?    ac_status=$?
2575    echo "$as_me:2573: \$? = $ac_status" >&5    echo "$as_me:2575: \$? = $ac_status" >&5
2576    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2577    size_flag=yes    size_flag=yes
2578  else  else
# Line 2582  rm -f conftest.$ac_objext conftest.$ac_e Line 2584  rm -f conftest.$ac_objext conftest.$ac_e
2584        CFLAGS=$saved_CFLAGS        CFLAGS=$saved_CFLAGS
2585    
2586  fi  fi
2587  echo "$as_me:2585: result: $size_flag" >&5  echo "$as_me:2587: result: $size_flag" >&5
2588  echo "${ECHO_T}$size_flag" >&6  echo "${ECHO_T}$size_flag" >&6
2589      if test "x$size_flag" = xyes; then      if test "x$size_flag" = xyes; then
2590        STAGE2_CFLAGS="-Os"        STAGE2_CFLAGS="-Os"
# Line 2596  fi Line 2598  fi
2598  CPPFLAGS="$CPPFLAGS -Wall -Wmissing-prototypes -Wunused -Wshadow"  CPPFLAGS="$CPPFLAGS -Wall -Wmissing-prototypes -Wunused -Wshadow"
2599  CPPFLAGS="$CPPFLAGS -Wpointer-arith"  CPPFLAGS="$CPPFLAGS -Wpointer-arith"
2600    
2601  echo "$as_me:2599: checking whether -Wundef works" >&5  echo "$as_me:2601: checking whether -Wundef works" >&5
2602  echo $ECHO_N "checking whether -Wundef works... $ECHO_C" >&6  echo $ECHO_N "checking whether -Wundef works... $ECHO_C" >&6
2603  if test "${undef_flag+set}" = set; then  if test "${undef_flag+set}" = set; then
2604    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2605  else Line 2607  else
2607    saved_CPPFLAGS=$CPPFLAGS    saved_CPPFLAGS=$CPPFLAGS
2608    CPPFLAGS="-Wundef"    CPPFLAGS="-Wundef"
2609    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2610  #line 2608 "configure"  #line 2610 "configure"
2611  #include "confdefs.h"  #include "confdefs.h"
2612    
2613  int  int
# Line 2617  main () Line 2619  main ()
2619  }  }
2620  _ACEOF  _ACEOF
2621  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2622  if { (eval echo "$as_me:2620: \"$ac_compile\"") >&5  if { (eval echo "$as_me:2622: \"$ac_compile\"") >&5
2623    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2624    ac_status=$?    ac_status=$?
2625    echo "$as_me:2623: \$? = $ac_status" >&5    echo "$as_me:2625: \$? = $ac_status" >&5
2626    (exit $ac_status); } &&    (exit $ac_status); } &&
2627           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
2628    { (eval echo "$as_me:2626: \"$ac_try\"") >&5    { (eval echo "$as_me:2628: \"$ac_try\"") >&5
2629    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2630    ac_status=$?    ac_status=$?
2631    echo "$as_me:2629: \$? = $ac_status" >&5    echo "$as_me:2631: \$? = $ac_status" >&5
2632    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2633    undef_flag=yes    undef_flag=yes
2634  else  else
# Line 2638  rm -f conftest.$ac_objext conftest.$ac_e Line 2640  rm -f conftest.$ac_objext conftest.$ac_e
2640    CPPFLAGS=$saved_CPPFLAGS    CPPFLAGS=$saved_CPPFLAGS
2641    
2642  fi  fi
2643  echo "$as_me:2641: result: $undef_flag" >&5  echo "$as_me:2643: result: $undef_flag" >&5
2644  echo "${ECHO_T}$undef_flag" >&6  echo "${ECHO_T}$undef_flag" >&6
2645    
2646  # Force no alignment to save space.  # Force no alignment to save space.
# Line 2651  fi Line 2653  fi
2653  if test "x$with_binutils" != x; then  if test "x$with_binutils" != x; then
2654    # 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.
2655  set dummy objcopy; ac_word=$2  set dummy objcopy; ac_word=$2
2656  echo "$as_me:2654: checking for $ac_word" >&5  echo "$as_me:2656: checking for $ac_word" >&5
2657  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2658  if test "${ac_cv_path_OBJCOPY+set}" = set; then  if test "${ac_cv_path_OBJCOPY+set}" = set; then
2659    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2668  for ac_dir in $ac_dummy; do Line 2670  for ac_dir in $ac_dummy; do
2670    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
2671    if $as_executable_p "$ac_dir/$ac_word"; then    if $as_executable_p "$ac_dir/$ac_word"; then
2672     ac_cv_path_OBJCOPY="$ac_dir/$ac_word"     ac_cv_path_OBJCOPY="$ac_dir/$ac_word"
2673     echo "$as_me:2671: found $ac_dir/$ac_word" >&5     echo "$as_me:2673: found $ac_dir/$ac_word" >&5
2674     break     break
2675  fi  fi
2676  done  done
# Line 2679  fi Line 2681  fi
2681  OBJCOPY=$ac_cv_path_OBJCOPY  OBJCOPY=$ac_cv_path_OBJCOPY
2682    
2683  if test -n "$OBJCOPY"; then  if test -n "$OBJCOPY"; then
2684    echo "$as_me:2682: result: $OBJCOPY" >&5    echo "$as_me:2684: result: $OBJCOPY" >&5
2685  echo "${ECHO_T}$OBJCOPY" >&6  echo "${ECHO_T}$OBJCOPY" >&6
2686  else  else
2687    echo "$as_me:2685: result: no" >&5    echo "$as_me:2687: result: no" >&5
2688  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
2689  fi  fi
2690    
# Line 2690  else Line 2692  else
2692    if test -n "$ac_tool_prefix"; then    if test -n "$ac_tool_prefix"; then
2693    # 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.
2694  set dummy ${ac_tool_prefix}objcopy; ac_word=$2  set dummy ${ac_tool_prefix}objcopy; ac_word=$2
2695  echo "$as_me:2693: checking for $ac_word" >&5  echo "$as_me:2695: checking for $ac_word" >&5
2696  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2697  if test "${ac_cv_prog_OBJCOPY+set}" = set; then  if test "${ac_cv_prog_OBJCOPY+set}" = set; then
2698    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2705  for ac_dir in $ac_dummy; do Line 2707  for ac_dir in $ac_dummy; do
2707    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
2708    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
2709  ac_cv_prog_OBJCOPY="${ac_tool_prefix}objcopy"  ac_cv_prog_OBJCOPY="${ac_tool_prefix}objcopy"
2710  echo "$as_me:2708: found $ac_dir/$ac_word" >&5  echo "$as_me:2710: found $ac_dir/$ac_word" >&5
2711  break  break
2712  done  done
2713    
# Line 2713  fi Line 2715  fi
2715  fi  fi
2716  OBJCOPY=$ac_cv_prog_OBJCOPY  OBJCOPY=$ac_cv_prog_OBJCOPY
2717  if test -n "$OBJCOPY"; then  if test -n "$OBJCOPY"; then
2718    echo "$as_me:2716: result: $OBJCOPY" >&5    echo "$as_me:2718: result: $OBJCOPY" >&5
2719  echo "${ECHO_T}$OBJCOPY" >&6  echo "${ECHO_T}$OBJCOPY" >&6
2720  else  else
2721    echo "$as_me:2719: result: no" >&5    echo "$as_me:2721: result: no" >&5
2722  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
2723  fi  fi
2724    
# Line 2725  if test -z "$ac_cv_prog_OBJCOPY"; then Line 2727  if test -z "$ac_cv_prog_OBJCOPY"; then
2727    ac_ct_OBJCOPY=$OBJCOPY    ac_ct_OBJCOPY=$OBJCOPY
2728    # 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.
2729  set dummy objcopy; ac_word=$2  set dummy objcopy; ac_word=$2
2730  echo "$as_me:2728: checking for $ac_word" >&5  echo "$as_me:2730: checking for $ac_word" >&5
2731  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2732  if test "${ac_cv_prog_ac_ct_OBJCOPY+set}" = set; then  if test "${ac_cv_prog_ac_ct_OBJCOPY+set}" = set; then
2733    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2740  for ac_dir in $ac_dummy; do Line 2742  for ac_dir in $ac_dummy; do
2742    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
2743    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
2744  ac_cv_prog_ac_ct_OBJCOPY="objcopy"  ac_cv_prog_ac_ct_OBJCOPY="objcopy"
2745  echo "$as_me:2743: found $ac_dir/$ac_word" >&5  echo "$as_me:2745: found $ac_dir/$ac_word" >&5
2746  break  break
2747  done  done
2748    
# Line 2748  fi Line 2750  fi
2750  fi  fi
2751  ac_ct_OBJCOPY=$ac_cv_prog_ac_ct_OBJCOPY  ac_ct_OBJCOPY=$ac_cv_prog_ac_ct_OBJCOPY
2752  if test -n "$ac_ct_OBJCOPY"; then  if test -n "$ac_ct_OBJCOPY"; then
2753    echo "$as_me:2751: result: $ac_ct_OBJCOPY" >&5    echo "$as_me:2753: result: $ac_ct_OBJCOPY" >&5
2754  echo "${ECHO_T}$ac_ct_OBJCOPY" >&6  echo "${ECHO_T}$ac_ct_OBJCOPY" >&6
2755  else  else
2756    echo "$as_me:2754: result: no" >&5    echo "$as_me:2756: result: no" >&5
2757  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
2758  fi  fi
2759    
# Line 2764  fi Line 2766  fi
2766    
2767  # Defined in acinclude.m4.  # Defined in acinclude.m4.
2768    
2769  echo "$as_me:2767: checking if C symbols get an underscore after compilation" >&5  echo "$as_me:2769: checking if C symbols get an underscore after compilation" >&5
2770  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
2771  if test "${grub_cv_asm_uscore+set}" = set; then  if test "${grub_cv_asm_uscore+set}" = set; then
2772    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2779  func (int *list) Line 2781  func (int *list)
2781  EOF  EOF
2782    
2783  if { ac_try='${CC-cc} ${CFLAGS} -S conftest.c'  if { ac_try='${CC-cc} ${CFLAGS} -S conftest.c'
2784    { (eval echo "$as_me:2782: \"$ac_try\"") >&5    { (eval echo "$as_me:2784: \"$ac_try\"") >&5
2785    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2786    ac_status=$?    ac_status=$?
2787    echo "$as_me:2785: \$? = $ac_status" >&5    echo "$as_me:2787: \$? = $ac_status" >&5
2788    (exit $ac_status); }; } && test -s conftest.s; then    (exit $ac_status); }; } && test -s conftest.s; then
2789    true    true
2790  else  else
2791    { { echo "$as_me:2789: error: ${CC-cc} failed to produce assembly code" >&5    { { echo "$as_me:2791: error: ${CC-cc} failed to produce assembly code" >&5
2792  echo "$as_me: error: ${CC-cc} failed to produce assembly code" >&2;}  echo "$as_me: error: ${CC-cc} failed to produce assembly code" >&2;}
2793     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
2794  fi  fi
# Line 2808  EOF Line 2810  EOF
2810    
2811  fi  fi
2812    
2813  echo "$as_me:2811: result: $grub_cv_asm_uscore" >&5  echo "$as_me:2813: result: $grub_cv_asm_uscore" >&5
2814  echo "${ECHO_T}$grub_cv_asm_uscore" >&6  echo "${ECHO_T}$grub_cv_asm_uscore" >&6
2815    
2816  echo "$as_me:2814: checking whether ${OBJCOPY} works for absolute addresses" >&5  echo "$as_me:2816: checking whether ${OBJCOPY} works for absolute addresses" >&5
2817  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
2818  if test "${grub_cv_prog_objcopy_absolute+set}" = set; then  if test "${grub_cv_prog_objcopy_absolute+set}" = set; then
2819    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2824  cmain (void) Line 2826  cmain (void)
2826  }  }
2827  EOF  EOF
2828    
2829  if { (eval echo "$as_me:2827: \"$ac_compile\"") >&5  if { (eval echo "$as_me:2829: \"$ac_compile\"") >&5
2830    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2831    ac_status=$?    ac_status=$?
2832    echo "$as_me:2830: \$? = $ac_status" >&5    echo "$as_me:2832: \$? = $ac_status" >&5
2833    (exit $ac_status); } && test -s conftest.o; then :    (exit $ac_status); } && test -s conftest.o; then :
2834  else  else
2835    { { echo "$as_me:2833: error: ${CC-cc} cannot compile C source code" >&5    { { echo "$as_me:2835: error: ${CC-cc} cannot compile C source code" >&5
2836  echo "$as_me: error: ${CC-cc} cannot compile C source code" >&2;}  echo "$as_me: error: ${CC-cc} cannot compile C source code" >&2;}
2837     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
2838  fi  fi
2839  grub_cv_prog_objcopy_absolute=yes  grub_cv_prog_objcopy_absolute=yes
2840  for link_addr in 2000 8000 7C00; do  for link_addr in 2000 8000 7C00; do
2841    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'
2842    { (eval echo "$as_me:2840: \"$ac_try\"") >&5    { (eval echo "$as_me:2842: \"$ac_try\"") >&5
2843    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2844    ac_status=$?    ac_status=$?
2845    echo "$as_me:2843: \$? = $ac_status" >&5    echo "$as_me:2845: \$? = $ac_status" >&5
2846    (exit $ac_status); }; }; then :    (exit $ac_status); }; }; then :
2847    else    else
2848      { { echo "$as_me:2846: error: ${CC-cc} cannot link at address $link_addr" >&5      { { echo "$as_me:2848: error: ${CC-cc} cannot link at address $link_addr" >&5
2849  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;}
2850     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
2851    fi    fi
2852    if { ac_try='${OBJCOPY-objcopy} -O binary conftest.exec conftest'    if { ac_try='${OBJCOPY-objcopy} -O binary conftest.exec conftest'
2853    { (eval echo "$as_me:2851: \"$ac_try\"") >&5    { (eval echo "$as_me:2853: \"$ac_try\"") >&5
2854    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2855    ac_status=$?    ac_status=$?
2856    echo "$as_me:2854: \$? = $ac_status" >&5    echo "$as_me:2856: \$? = $ac_status" >&5
2857    (exit $ac_status); }; }; then :    (exit $ac_status); }; }; then :
2858    else    else
2859      { { echo "$as_me:2857: error: ${OBJCOPY-objcopy} cannot create binary files" >&5      { { echo "$as_me:2859: error: ${OBJCOPY-objcopy} cannot create binary files" >&5
2860  echo "$as_me: error: ${OBJCOPY-objcopy} cannot create binary files" >&2;}  echo "$as_me: error: ${OBJCOPY-objcopy} cannot create binary files" >&2;}
2861     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
2862    fi    fi
2863    if test ! -f conftest.old || { ac_try='cmp -s conftest.old conftest'    if test ! -f conftest.old || { ac_try='cmp -s conftest.old conftest'
2864    { (eval echo "$as_me:2862: \"$ac_try\"") >&5    { (eval echo "$as_me:2864: \"$ac_try\"") >&5
2865    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2866    ac_status=$?    ac_status=$?
2867    echo "$as_me:2865: \$? = $ac_status" >&5    echo "$as_me:2867: \$? = $ac_status" >&5
2868    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2869      mv -f conftest conftest.old      mv -f conftest conftest.old
2870    else    else
# Line 2873  done Line 2875  done
2875  rm -f conftest*  rm -f conftest*
2876  fi  fi
2877    
2878  echo "$as_me:2876: result: $grub_cv_prog_objcopy_absolute" >&5  echo "$as_me:2878: result: $grub_cv_prog_objcopy_absolute" >&5
2879  echo "${ECHO_T}$grub_cv_prog_objcopy_absolute" >&6  echo "${ECHO_T}$grub_cv_prog_objcopy_absolute" >&6
2880  if test "x$grub_cv_prog_objcopy_absolute" != xyes; then  if test "x$grub_cv_prog_objcopy_absolute" != xyes; then
2881    { { echo "$as_me:2879: error: GRUB requires a working absolute objcopy; upgrade your binutils" >&5    { { echo "$as_me:2881: error: GRUB requires a working absolute objcopy; upgrade your binutils" >&5
2882  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;}
2883     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
2884  fi  fi
2885    
2886  echo "$as_me:2884: checking whether addr32 must be in the same line as the instruction" >&5  echo "$as_me:2886: checking whether addr32 must be in the same line as the instruction" >&5
2887  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
2888  if test "${grub_cv_asm_prefix_requirement+set}" = set; then  if test "${grub_cv_asm_prefix_requirement+set}" = set; then
2889    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2892  l1:    addr32  movb    %al, l1 Line 2894  l1:    addr32  movb    %al, l1
2894  EOF  EOF
2895    
2896  if { ac_try='${CC-cc} ${CFLAGS} -c conftest.s'  if { ac_try='${CC-cc} ${CFLAGS} -c conftest.s'
2897    { (eval echo "$as_me:2895: \"$ac_try\"") >&5    { (eval echo "$as_me:2897: \"$ac_try\"") >&5
2898    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2899    ac_status=$?    ac_status=$?
2900    echo "$as_me:2898: \$? = $ac_status" >&5    echo "$as_me:2900: \$? = $ac_status" >&5
2901    (exit $ac_status); }; } && test -s conftest.o; then    (exit $ac_status); }; } && test -s conftest.o; then
2902    grub_cv_asm_prefix_requirement=yes    grub_cv_asm_prefix_requirement=yes
2903  else  else
# Line 2921  cat >>confdefs.h <<EOF Line 2923  cat >>confdefs.h <<EOF
2923  #define DATA32 $grub_tmp_data32  #define DATA32 $grub_tmp_data32
2924  EOF  EOF
2925    
2926  echo "$as_me:2924: result: $grub_cv_asm_prefix_requirement" >&5  echo "$as_me:2926: result: $grub_cv_asm_prefix_requirement" >&5
2927  echo "${ECHO_T}$grub_cv_asm_prefix_requirement" >&6  echo "${ECHO_T}$grub_cv_asm_prefix_requirement" >&6
2928    
2929  echo "$as_me:2927: checking for .code16 addr32 assembler support" >&5  echo "$as_me:2929: checking for .code16 addr32 assembler support" >&5
2930  echo $ECHO_N "checking for .code16 addr32 assembler support... $ECHO_C" >&6  echo $ECHO_N "checking for .code16 addr32 assembler support... $ECHO_C" >&6
2931  if test "${grub_cv_asm_addr32+set}" = set; then  if test "${grub_cv_asm_addr32+set}" = set; then
2932    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2941  else Line 2943  else
2943  fi  fi
2944    
2945  if { ac_try='${CC-cc} ${CFLAGS} -c conftest.s'  if { ac_try='${CC-cc} ${CFLAGS} -c conftest.s'
2946    { (eval echo "$as_me:2944: \"$ac_try\"") >&5    { (eval echo "$as_me:2946: \"$ac_try\"") >&5
2947    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2948    ac_status=$?    ac_status=$?
2949    echo "$as_me:2947: \$? = $ac_status" >&5    echo "$as_me:2949: \$? = $ac_status" >&5
2950    (exit $ac_status); }; } && test -s conftest.o; then    (exit $ac_status); }; } && test -s conftest.o; then
2951    grub_cv_asm_addr32=yes    grub_cv_asm_addr32=yes
2952  else  else
# Line 2954  fi Line 2956  fi
2956  rm -f conftest*  rm -f conftest*
2957  fi  fi
2958    
2959  echo "$as_me:2957: result: $grub_cv_asm_addr32" >&5  echo "$as_me:2959: result: $grub_cv_asm_addr32" >&5
2960  echo "${ECHO_T}$grub_cv_asm_addr32" >&6  echo "${ECHO_T}$grub_cv_asm_addr32" >&6
2961  if test "x$grub_cv_asm_addr32" != xyes; then  if test "x$grub_cv_asm_addr32" != xyes; then
2962    { { echo "$as_me:2960: error: GRUB requires GAS .code16 addr32 support; upgrade your binutils" >&5    { { echo "$as_me:2962: error: GRUB requires GAS .code16 addr32 support; upgrade your binutils" >&5
2963  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;}
2964     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
2965  fi  fi
2966    
2967  echo "$as_me:2965: checking whether an absolute indirect call/jump must not be prefixed with an asterisk" >&5  echo "$as_me:2967: checking whether an absolute indirect call/jump must not be prefixed with an asterisk" >&5
2968  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
2969  if test "${grub_cv_asm_absolute_without_asterisk+set}" = set; then  if test "${grub_cv_asm_absolute_without_asterisk+set}" = set; then
2970    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2975  offset: Line 2977  offset:
2977  EOF  EOF
2978    
2979  if { ac_try='${CC-cc} ${CFLAGS} -c conftest.s'  if { ac_try='${CC-cc} ${CFLAGS} -c conftest.s'
2980    { (eval echo "$as_me:2978: \"$ac_try\"") >&5    { (eval echo "$as_me:2980: \"$ac_try\"") >&5
2981    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2982    ac_status=$?    ac_status=$?
2983    echo "$as_me:2981: \$? = $ac_status" >&5    echo "$as_me:2983: \$? = $ac_status" >&5
2984    (exit $ac_status); }; } && test -s conftest.o; then    (exit $ac_status); }; } && test -s conftest.o; then
2985    grub_cv_asm_absolute_without_asterisk=no    grub_cv_asm_absolute_without_asterisk=no
2986  else  else
# Line 2995  EOF Line 2997  EOF
2997    
2998  fi  fi
2999    
3000  echo "$as_me:2998: result: $grub_cv_asm_absolute_without_asterisk" >&5  echo "$as_me:3000: result: $grub_cv_asm_absolute_without_asterisk" >&5
3001  echo "${ECHO_T}$grub_cv_asm_absolute_without_asterisk" >&6  echo "${ECHO_T}$grub_cv_asm_absolute_without_asterisk" >&6
3002    
3003  echo "$as_me:3001: checking if start is defined by the compiler" >&5  echo "$as_me:3003: checking if start is defined by the compiler" >&5
3004  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
3005  if test "${grub_cv_check_start_symbol+set}" = set; then  if test "${grub_cv_check_start_symbol+set}" = set; then
3006    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3007  else  else
3008    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3009  #line 3007 "configure"  #line 3009 "configure"
3010  #include "confdefs.h"  #include "confdefs.h"
3011    
3012  int  int
# Line 3016  asm ("incl start") Line 3018  asm ("incl start")
3018  }  }
3019  _ACEOF  _ACEOF
3020  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
3021  if { (eval echo "$as_me:3019: \"$ac_link\"") >&5  if { (eval echo "$as_me:3021: \"$ac_link\"") >&5
3022    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
3023    ac_status=$?    ac_status=$?
3024    echo "$as_me:3022: \$? = $ac_status" >&5    echo "$as_me:3024: \$? = $ac_status" >&5
3025    (exit $ac_status); } &&    (exit $ac_status); } &&
3026           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
3027    { (eval echo "$as_me:3025: \"$ac_try\"") >&5    { (eval echo "$as_me:3027: \"$ac_try\"") >&5
3028    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3029    ac_status=$?    ac_status=$?
3030    echo "$as_me:3028: \$? = $ac_status" >&5    echo "$as_me:3030: \$? = $ac_status" >&5
3031    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3032    grub_cv_check_start_symbol=yes    grub_cv_check_start_symbol=yes
3033  else  else
# Line 3043  EOF Line 3045  EOF
3045    
3046  fi  fi
3047    
3048  echo "$as_me:3046: result: $grub_cv_check_start_symbol" >&5  echo "$as_me:3048: result: $grub_cv_check_start_symbol" >&5
3049  echo "${ECHO_T}$grub_cv_check_start_symbol" >&6  echo "${ECHO_T}$grub_cv_check_start_symbol" >&6
3050    
3051  echo "$as_me:3049: checking if _start is defined by the compiler" >&5  echo "$as_me:3051: checking if _start is defined by the compiler" >&5
3052  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
3053  if test "${grub_cv_check_uscore_start_symbol+set}" = set; then  if test "${grub_cv_check_uscore_start_symbol+set}" = set; then
3054    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3055  else  else
3056    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3057  #line 3055 "configure"  #line 3057 "configure"
3058  #include "confdefs.h"  #include "confdefs.h"
3059    
3060  int  int
# Line 3064  asm ("incl _start") Line 3066  asm ("incl _start")
3066  }  }
3067  _ACEOF  _ACEOF
3068  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
3069  if { (eval echo "$as_me:3067: \"$ac_link\"") >&5  if { (eval echo "$as_me:3069: \"$ac_link\"") >&5
3070    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
3071    ac_status=$?    ac_status=$?
3072    echo "$as_me:3070: \$? = $ac_status" >&5    echo "$as_me:3072: \$? = $ac_status" >&5
3073    (exit $ac_status); } &&    (exit $ac_status); } &&
3074           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
3075    { (eval echo "$as_me:3073: \"$ac_try\"") >&5    { (eval echo "$as_me:3075: \"$ac_try\"") >&5
3076    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3077    ac_status=$?    ac_status=$?
3078    echo "$as_me:3076: \$? = $ac_status" >&5    echo "$as_me:3078: \$? = $ac_status" >&5
3079    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3080    grub_cv_check_uscore_start_symbol=yes    grub_cv_check_uscore_start_symbol=yes
3081  else  else
# Line 3091  EOF Line 3093  EOF
3093    
3094  fi  fi
3095    
3096  echo "$as_me:3094: result: $grub_cv_check_uscore_start_symbol" >&5  echo "$as_me:3096: result: $grub_cv_check_uscore_start_symbol" >&5
3097  echo "${ECHO_T}$grub_cv_check_uscore_start_symbol" >&6  echo "${ECHO_T}$grub_cv_check_uscore_start_symbol" >&6
3098    
3099  if test "x$grub_cv_check_start_symbol" != "xyes" \  if test "x$grub_cv_check_start_symbol" != "xyes" \
3100          -a "x$grub_cv_check_uscore_start_symbol" != "xyes"; then          -a "x$grub_cv_check_uscore_start_symbol" != "xyes"; then
3101    { { echo "$as_me:3099: error: Neither start nor _start is defined" >&5    { { echo "$as_me:3101: error: Neither start nor _start is defined" >&5
3102  echo "$as_me: error: Neither start nor _start is defined" >&2;}  echo "$as_me: error: Neither start nor _start is defined" >&2;}
3103     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
3104  fi  fi
3105    
3106  echo "$as_me:3104: checking if __bss_start is defined by the compiler" >&5  echo "$as_me:3106: checking if __bss_start is defined by the compiler" >&5
3107  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
3108  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
3109    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3110  else  else
3111    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3112  #line 3110 "configure"  #line 3112 "configure"
3113  #include "confdefs.h"  #include "confdefs.h"
3114    
3115  int  int
# Line 3119  asm ("incl __bss_start") Line 3121  asm ("incl __bss_start")
3121  }  }
3122  _ACEOF  _ACEOF
3123  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
3124  if { (eval echo "$as_me:3122: \"$ac_link\"") >&5  if { (eval echo "$as_me:3124: \"$ac_link\"") >&5
3125    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
3126    ac_status=$?    ac_status=$?
3127    echo "$as_me:3125: \$? = $ac_status" >&5    echo "$as_me:3127: \$? = $ac_status" >&5
3128    (exit $ac_status); } &&    (exit $ac_status); } &&
3129           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
3130    { (eval echo "$as_me:3128: \"$ac_try\"") >&5    { (eval echo "$as_me:3130: \"$ac_try\"") >&5
3131    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3132    ac_status=$?    ac_status=$?
3133    echo "$as_me:3131: \$? = $ac_status" >&5    echo "$as_me:3133: \$? = $ac_status" >&5
3134    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3135    grub_cv_check_uscore_uscore_bss_start_symbol=yes    grub_cv_check_uscore_uscore_bss_start_symbol=yes
3136  else  else
# Line 3146  EOF Line 3148  EOF
3148    
3149  fi  fi
3150    
3151  echo "$as_me:3149: result: $grub_cv_check_uscore_uscore_bss_start_symbol" >&5  echo "$as_me:3151: result: $grub_cv_check_uscore_uscore_bss_start_symbol" >&5
3152  echo "${ECHO_T}$grub_cv_check_uscore_uscore_bss_start_symbol" >&6  echo "${ECHO_T}$grub_cv_check_uscore_uscore_bss_start_symbol" >&6
3153    
3154  echo "$as_me:3152: checking if _edata is defined by the compiler" >&5  echo "$as_me:3154: checking if _edata is defined by the compiler" >&5
3155  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
3156  if test "${grub_cv_check_uscore_edata_symbol+set}" = set; then  if test "${grub_cv_check_uscore_edata_symbol+set}" = set; then
3157    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3158  else  else
3159    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3160  #line 3158 "configure"  #line 3160 "configure"
3161  #include "confdefs.h"  #include "confdefs.h"
3162    
3163  int  int
# Line 3167  asm ("incl _edata") Line 3169  asm ("incl _edata")
3169  }  }
3170  _ACEOF  _ACEOF
3171  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
3172  if { (eval echo "$as_me:3170: \"$ac_link\"") >&5  if { (eval echo "$as_me:3172: \"$ac_link\"") >&5
3173    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
3174    ac_status=$?    ac_status=$?
3175    echo "$as_me:3173: \$? = $ac_status" >&5    echo "$as_me:3175: \$? = $ac_status" >&5
3176    (exit $ac_status); } &&    (exit $ac_status); } &&
3177           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
3178    { (eval echo "$as_me:3176: \"$ac_try\"") >&5    { (eval echo "$as_me:3178: \"$ac_try\"") >&5
3179    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3180    ac_status=$?    ac_status=$?
3181    echo "$as_me:3179: \$? = $ac_status" >&5    echo "$as_me:3181: \$? = $ac_status" >&5
3182    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3183    grub_cv_check_uscore_edata_symbol=yes    grub_cv_check_uscore_edata_symbol=yes
3184  else  else
# Line 3194  EOF Line 3196  EOF
3196    
3197  fi  fi
3198    
3199  echo "$as_me:3197: result: $grub_cv_check_uscore_edata_symbol" >&5  echo "$as_me:3199: result: $grub_cv_check_uscore_edata_symbol" >&5
3200  echo "${ECHO_T}$grub_cv_check_uscore_edata_symbol" >&6  echo "${ECHO_T}$grub_cv_check_uscore_edata_symbol" >&6
3201    
3202  echo "$as_me:3200: checking if edata is defined by the compiler" >&5  echo "$as_me:3202: checking if edata is defined by the compiler" >&5
3203  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
3204  if test "${grub_cv_check_edata_symbol+set}" = set; then  if test "${grub_cv_check_edata_symbol+set}" = set; then
3205    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3206  else  else
3207    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3208  #line 3206 "configure"  #line 3208 "configure"
3209  #include "confdefs.h"  #include "confdefs.h"
3210    
3211  int  int
# Line 3215  asm ("incl edata") Line 3217  asm ("incl edata")
3217  }  }
3218  _ACEOF  _ACEOF
3219  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
3220  if { (eval echo "$as_me:3218: \"$ac_link\"") >&5  if { (eval echo "$as_me:3220: \"$ac_link\"") >&5
3221    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
3222    ac_status=$?    ac_status=$?
3223    echo "$as_me:3221: \$? = $ac_status" >&5    echo "$as_me:3223: \$? = $ac_status" >&5
3224    (exit $ac_status); } &&    (exit $ac_status); } &&
3225           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
3226    { (eval echo "$as_me:3224: \"$ac_try\"") >&5    { (eval echo "$as_me:3226: \"$ac_try\"") >&5
3227    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3228    ac_status=$?    ac_status=$?
3229    echo "$as_me:3227: \$? = $ac_status" >&5    echo "$as_me:3229: \$? = $ac_status" >&5
3230    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3231    grub_cv_check_edata_symbol=yes    grub_cv_check_edata_symbol=yes
3232  else  else
# Line 3242  EOF Line 3244  EOF
3244    
3245  fi  fi
3246    
3247  echo "$as_me:3245: result: $grub_cv_check_edata_symbol" >&5  echo "$as_me:3247: result: $grub_cv_check_edata_symbol" >&5
3248  echo "${ECHO_T}$grub_cv_check_edata_symbol" >&6  echo "${ECHO_T}$grub_cv_check_edata_symbol" >&6
3249    
3250  if test "x$grub_cv_check_uscore_uscore_bss_start_symbol" != "xyes" \  if test "x$grub_cv_check_uscore_uscore_bss_start_symbol" != "xyes" \
3251          -a "x$grub_cv_check_uscore_edata_symbol" != "xyes" \          -a "x$grub_cv_check_uscore_edata_symbol" != "xyes" \
3252          -a "x$grub_cv_check_edata_symbol" != "xyes"; then          -a "x$grub_cv_check_edata_symbol" != "xyes"; then
3253    { { echo "$as_me:3251: error: None of __bss_start, _edata, edata defined" >&5    { { echo "$as_me:3253: error: None of __bss_start, _edata, edata defined" >&5
3254  echo "$as_me: error: None of __bss_start, _edata, edata defined" >&2;}  echo "$as_me: error: None of __bss_start, _edata, edata defined" >&2;}
3255     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
3256  fi  fi
3257    
3258  echo "$as_me:3256: checking if end is defined by the compiler" >&5  echo "$as_me:3258: checking if end is defined by the compiler" >&5
3259  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
3260  if test "${grub_cv_check_end_symbol+set}" = set; then  if test "${grub_cv_check_end_symbol+set}" = set; then
3261    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3262  else  else
3263    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3264  #line 3262 "configure"  #line 3264 "configure"
3265  #include "confdefs.h"  #include "confdefs.h"
3266    
3267  int  int
# Line 3271  asm ("incl end") Line 3273  asm ("incl end")
3273  }  }
3274  _ACEOF  _ACEOF
3275  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
3276  if { (eval echo "$as_me:3274: \"$ac_link\"") >&5  if { (eval echo "$as_me:3276: \"$ac_link\"") >&5
3277    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
3278    ac_status=$?    ac_status=$?
3279    echo "$as_me:3277: \$? = $ac_status" >&5    echo "$as_me:3279: \$? = $ac_status" >&5
3280    (exit $ac_status); } &&    (exit $ac_status); } &&
3281           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
3282    { (eval echo "$as_me:3280: \"$ac_try\"") >&5    { (eval echo "$as_me:3282: \"$ac_try\"") >&5
3283    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3284    ac_status=$?    ac_status=$?
3285    echo "$as_me:3283: \$? = $ac_status" >&5    echo "$as_me:3285: \$? = $ac_status" >&5
3286    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3287    grub_cv_check_end_symbol=yes    grub_cv_check_end_symbol=yes
3288  else  else
# Line 3298  EOF Line 3300  EOF
3300    
3301  fi  fi
3302    
3303  echo "$as_me:3301: result: $grub_cv_check_end_symbol" >&5  echo "$as_me:3303: result: $grub_cv_check_end_symbol" >&5
3304  echo "${ECHO_T}$grub_cv_check_end_symbol" >&6  echo "${ECHO_T}$grub_cv_check_end_symbol" >&6
3305    
3306  echo "$as_me:3304: checking if _end is defined by the compiler" >&5  echo "$as_me:3306: checking if _end is defined by the compiler" >&5
3307  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
3308  if test "${grub_cv_check_uscore_end_symbol+set}" = set; then  if test "${grub_cv_check_uscore_end_symbol+set}" = set; then
3309    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3310  else  else
3311    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3312  #line 3310 "configure"  #line 3312 "configure"
3313  #include "confdefs.h"  #include "confdefs.h"
3314    
3315  int  int
# Line 3319  asm ("incl _end") Line 3321  asm ("incl _end")
3321  }  }
3322  _ACEOF  _ACEOF
3323  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
3324  if { (eval echo "$as_me:3322: \"$ac_link\"") >&5  if { (eval echo "$as_me:3324: \"$ac_link\"") >&5
3325    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
3326    ac_status=$?    ac_status=$?
3327    echo "$as_me:3325: \$? = $ac_status" >&5    echo "$as_me:3327: \$? = $ac_status" >&5
3328    (exit $ac_status); } &&    (exit $ac_status); } &&
3329           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
3330    { (eval echo "$as_me:3328: \"$ac_try\"") >&5    { (eval echo "$as_me:3330: \"$ac_try\"") >&5
3331    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3332    ac_status=$?    ac_status=$?
3333    echo "$as_me:3331: \$? = $ac_status" >&5    echo "$as_me:3333: \$? = $ac_status" >&5
3334    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3335    grub_cv_check_uscore_end_symbol=yes    grub_cv_check_uscore_end_symbol=yes
3336  else  else
# Line 3346  EOF Line 3348  EOF
3348    
3349  fi  fi
3350    
3351  echo "$as_me:3349: result: $grub_cv_check_uscore_end_symbol" >&5  echo "$as_me:3351: result: $grub_cv_check_uscore_end_symbol" >&5
3352  echo "${ECHO_T}$grub_cv_check_uscore_end_symbol" >&6  echo "${ECHO_T}$grub_cv_check_uscore_end_symbol" >&6
3353    
3354  if test "x$grub_cv_check_end_symbol" != "xyes" \  if test "x$grub_cv_check_end_symbol" != "xyes" \
3355          -a "x$grub_cv_check_uscore_end_symbol" != "xyes"; then          -a "x$grub_cv_check_uscore_end_symbol" != "xyes"; then
3356    { { echo "$as_me:3354: error: Neither end nor _end is defined" >&5    { { echo "$as_me:3356: error: Neither end nor _end is defined" >&5
3357  echo "$as_me: error: Neither end nor _end is defined" >&2;}  echo "$as_me: error: Neither end nor _end is defined" >&2;}
3358     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
3359  fi  fi
# Line 3366  fi; Line 3368  fi;
3368    
3369  # Get the filename or the whole disk and open it.  # Get the filename or the whole disk and open it.
3370  # Known to work on NetBSD.  # Known to work on NetBSD.
3371  echo "$as_me:3369: checking for opendisk in -lutil" >&5  echo "$as_me:3371: checking for opendisk in -lutil" >&5
3372  echo $ECHO_N "checking for opendisk in -lutil... $ECHO_C" >&6  echo $ECHO_N "checking for opendisk in -lutil... $ECHO_C" >&6
3373  if test "${ac_cv_lib_util_opendisk+set}" = set; then  if test "${ac_cv_lib_util_opendisk+set}" = set; then
3374    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3374  else Line 3376  else
3376    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
3377  LIBS="-lutil  $LIBS"  LIBS="-lutil  $LIBS"
3378  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
3379  #line 3377 "configure"  #line 3379 "configure"
3380  #include "confdefs.h"  #include "confdefs.h"
3381    
3382  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 3393  opendisk (); Line 3395  opendisk ();
3395  }  }
3396  _ACEOF  _ACEOF
3397  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
3398  if { (eval echo "$as_me:3396: \"$ac_link\"") >&5  if { (eval echo "$as_me:3398: \"$ac_link\"") >&5
3399    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
3400    ac_status=$?    ac_status=$?
3401    echo "$as_me:3399: \$? = $ac_status" >&5    echo "$as_me:3401: \$? = $ac_status" >&5
3402    (exit $ac_status); } &&    (exit $ac_status); } &&
3403           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
3404    { (eval echo "$as_me:3402: \"$ac_try\"") >&5    { (eval echo "$as_me:3404: \"$ac_try\"") >&5
3405    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3406    ac_status=$?    ac_status=$?
3407    echo "$as_me:3405: \$? = $ac_status" >&5    echo "$as_me:3407: \$? = $ac_status" >&5
3408    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3409    ac_cv_lib_util_opendisk=yes    ac_cv_lib_util_opendisk=yes
3410  else  else
# Line 3413  fi Line 3415  fi
3415  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3416  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
3417  fi  fi
3418  echo "$as_me:3416: result: $ac_cv_lib_util_opendisk" >&5  echo "$as_me:3418: result: $ac_cv_lib_util_opendisk" >&5
3419  echo "${ECHO_T}$ac_cv_lib_util_opendisk" >&6  echo "${ECHO_T}$ac_cv_lib_util_opendisk" >&6
3420  if test $ac_cv_lib_util_opendisk = yes; then  if test $ac_cv_lib_util_opendisk = yes; then
3421    GRUB_LIBS="$GRUB_LIBS -lutil"    GRUB_LIBS="$GRUB_LIBS -lutil"
# Line 3426  fi Line 3428  fi
3428    
3429  # Unless the user specify --without-curses, check for curses.  # Unless the user specify --without-curses, check for curses.
3430  if test "x$with_curses" != "xno"; then  if test "x$with_curses" != "xno"; then
3431    echo "$as_me:3429: checking for wgetch in -lncurses" >&5    echo "$as_me:3431: checking for wgetch in -lncurses" >&5
3432  echo $ECHO_N "checking for wgetch in -lncurses... $ECHO_C" >&6  echo $ECHO_N "checking for wgetch in -lncurses... $ECHO_C" >&6
3433  if test "${ac_cv_lib_ncurses_wgetch+set}" = set; then  if test "${ac_cv_lib_ncurses_wgetch+set}" = set; then
3434    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3434  else Line 3436  else
3436    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
3437  LIBS="-lncurses  $LIBS"  LIBS="-lncurses  $LIBS"
3438  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
3439  #line 3437 "configure"  #line 3439 "configure"
3440  #include "confdefs.h"  #include "confdefs.h"
3441    
3442  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 3453  wgetch (); Line 3455  wgetch ();
3455  }  }
3456  _ACEOF  _ACEOF
3457  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
3458  if { (eval echo "$as_me:3456: \"$ac_link\"") >&5  if { (eval echo "$as_me:3458: \"$ac_link\"") >&5
3459    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
3460    ac_status=$?    ac_status=$?
3461    echo "$as_me:3459: \$? = $ac_status" >&5    echo "$as_me:3461: \$? = $ac_status" >&5
3462    (exit $ac_status); } &&    (exit $ac_status); } &&
3463           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
3464    { (eval echo "$as_me:3462: \"$ac_try\"") >&5    { (eval echo "$as_me:3464: \"$ac_try\"") >&5
3465    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3466    ac_status=$?    ac_status=$?
3467    echo "$as_me:3465: \$? = $ac_status" >&5    echo "$as_me:3467: \$? = $ac_status" >&5
3468    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3469    ac_cv_lib_ncurses_wgetch=yes    ac_cv_lib_ncurses_wgetch=yes
3470  else  else
# Line 3473  fi Line 3475  fi
3475  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3476  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
3477  fi  fi
3478  echo "$as_me:3476: result: $ac_cv_lib_ncurses_wgetch" >&5  echo "$as_me:3478: result: $ac_cv_lib_ncurses_wgetch" >&5
3479  echo "${ECHO_T}$ac_cv_lib_ncurses_wgetch" >&6  echo "${ECHO_T}$ac_cv_lib_ncurses_wgetch" >&6
3480  if test $ac_cv_lib_ncurses_wgetch = yes; then  if test $ac_cv_lib_ncurses_wgetch = yes; then
3481    GRUB_LIBS="$GRUB_LIBS -lncurses"    GRUB_LIBS="$GRUB_LIBS -lncurses"
# Line 3482  if test $ac_cv_lib_ncurses_wgetch = yes; Line 3484  if test $ac_cv_lib_ncurses_wgetch = yes;
3484  EOF  EOF
3485    
3486  else  else
3487    echo "$as_me:3485: checking for wgetch in -lcurses" >&5    echo "$as_me:3487: checking for wgetch in -lcurses" >&5
3488  echo $ECHO_N "checking for wgetch in -lcurses... $ECHO_C" >&6  echo $ECHO_N "checking for wgetch in -lcurses... $ECHO_C" >&6
3489  if test "${ac_cv_lib_curses_wgetch+set}" = set; then  if test "${ac_cv_lib_curses_wgetch+set}" = set; then
3490    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3490  else Line 3492  else
3492    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
3493  LIBS="-lcurses  $LIBS"  LIBS="-lcurses  $LIBS"
3494  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
3495  #line 3493 "configure"  #line 3495 "configure"
3496  #include "confdefs.h"  #include "confdefs.h"
3497    
3498  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 3509  wgetch (); Line 3511  wgetch ();
3511  }  }
3512  _ACEOF  _ACEOF
3513  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
3514  if { (eval echo "$as_me:3512: \"$ac_link\"") >&5  if { (eval echo "$as_me:3514: \"$ac_link\"") >&5
3515    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
3516    ac_status=$?    ac_status=$?
3517    echo "$as_me:3515: \$? = $ac_status" >&5    echo "$as_me:3517: \$? = $ac_status" >&5
3518    (exit $ac_status); } &&    (exit $ac_status); } &&
3519           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
3520    { (eval echo "$as_me:3518: \"$ac_try\"") >&5    { (eval echo "$as_me:3520: \"$ac_try\"") >&5
3521    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3522    ac_status=$?    ac_status=$?
3523    echo "$as_me:3521: \$? = $ac_status" >&5    echo "$as_me:3523: \$? = $ac_status" >&5
3524    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3525    ac_cv_lib_curses_wgetch=yes    ac_cv_lib_curses_wgetch=yes
3526  else  else
# Line 3529  fi Line 3531  fi
3531  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3532  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
3533  fi  fi
3534  echo "$as_me:3532: result: $ac_cv_lib_curses_wgetch" >&5  echo "$as_me:3534: result: $ac_cv_lib_curses_wgetch" >&5
3535  echo "${ECHO_T}$ac_cv_lib_curses_wgetch" >&6  echo "${ECHO_T}$ac_cv_lib_curses_wgetch" >&6
3536  if test $ac_cv_lib_curses_wgetch = yes; then  if test $ac_cv_lib_curses_wgetch = yes; then
3537    GRUB_LIBS="$GRUB_LIBS -lcurses"    GRUB_LIBS="$GRUB_LIBS -lcurses"
# Line 3549  ac_cpp='$CPP $CPPFLAGS' Line 3551  ac_cpp='$CPP $CPPFLAGS'
3551  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3552  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'
3553  ac_compiler_gnu=$ac_cv_c_compiler_gnu  ac_compiler_gnu=$ac_cv_c_compiler_gnu
3554  echo "$as_me:3552: checking how to run the C preprocessor" >&5  echo "$as_me:3554: checking how to run the C preprocessor" >&5
3555  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
3556  # On Suns, sometimes $CPP names a directory.  # On Suns, sometimes $CPP names a directory.
3557  if test -n "$CPP" && test -d "$CPP"; then  if test -n "$CPP" && test -d "$CPP"; then
# Line 3570  do Line 3572  do
3572    # 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,
3573    # not just through cpp. "Syntax error" is here to catch this case.    # not just through cpp. "Syntax error" is here to catch this case.
3574    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3575  #line 3573 "configure"  #line 3575 "configure"
3576  #include "confdefs.h"  #include "confdefs.h"
3577  #include <assert.h>  #include <assert.h>
3578                       Syntax error                       Syntax error
3579  _ACEOF  _ACEOF
3580  if { (eval echo "$as_me:3578: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:3580: \"$ac_cpp conftest.$ac_ext\"") >&5
3581    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3582    ac_status=$?    ac_status=$?
3583    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
3584    rm -f conftest.er1    rm -f conftest.er1
3585    cat conftest.err >&5    cat conftest.err >&5
3586    echo "$as_me:3584: \$? = $ac_status" >&5    echo "$as_me:3586: \$? = $ac_status" >&5
3587    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
3588    if test -s conftest.err; then    if test -s conftest.err; then
3589      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 3604  rm -f conftest.err conftest.$ac_ext Line 3606  rm -f conftest.err conftest.$ac_ext
3606    # OK, works on sane cases.  Now check whether non-existent headers    # OK, works on sane cases.  Now check whether non-existent headers
3607    # can be detected and how.    # can be detected and how.
3608    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3609  #line 3607 "configure"  #line 3609 "configure"
3610  #include "confdefs.h"  #include "confdefs.h"
3611  #include <ac_nonexistent.h>  #include <ac_nonexistent.h>
3612  _ACEOF  _ACEOF
3613  if { (eval echo "$as_me:3611: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:3613: \"$ac_cpp conftest.$ac_ext\"") >&5
3614    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3615    ac_status=$?    ac_status=$?
3616    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
3617    rm -f conftest.er1    rm -f conftest.er1
3618    cat conftest.err >&5    cat conftest.err >&5
3619    echo "$as_me:3617: \$? = $ac_status" >&5    echo "$as_me:3619: \$? = $ac_status" >&5
3620    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
3621    if test -s conftest.err; then    if test -s conftest.err; then
3622      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 3651  fi Line 3653  fi
3653  else  else
3654    ac_cv_prog_CPP=$CPP    ac_cv_prog_CPP=$CPP
3655  fi  fi
3656  echo "$as_me:3654: result: $CPP" >&5  echo "$as_me:3656: result: $CPP" >&5
3657  echo "${ECHO_T}$CPP" >&6  echo "${ECHO_T}$CPP" >&6
3658  ac_preproc_ok=false  ac_preproc_ok=false
3659  for ac_c_preproc_warn_flag in '' yes  for ac_c_preproc_warn_flag in '' yes
# Line 3661  do Line 3663  do
3663    # 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,
3664    # not just through cpp. "Syntax error" is here to catch this case.    # not just through cpp. "Syntax error" is here to catch this case.
3665    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3666  #line 3664 "configure"  #line 3666 "configure"
3667  #include "confdefs.h"  #include "confdefs.h"
3668  #include <assert.h>  #include <assert.h>
3669                       Syntax error                       Syntax error
3670  _ACEOF  _ACEOF
3671  if { (eval echo "$as_me:3669: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:3671: \"$ac_cpp conftest.$ac_ext\"") >&5
3672    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3673    ac_status=$?    ac_status=$?
3674    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
3675    rm -f conftest.er1    rm -f conftest.er1
3676    cat conftest.err >&5    cat conftest.err >&5
3677    echo "$as_me:3675: \$? = $ac_status" >&5    echo "$as_me:3677: \$? = $ac_status" >&5
3678    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
3679    if test -s conftest.err; then    if test -s conftest.err; then
3680      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 3695  rm -f conftest.err conftest.$ac_ext Line 3697  rm -f conftest.err conftest.$ac_ext
3697    # OK, works on sane cases.  Now check whether non-existent headers    # OK, works on sane cases.  Now check whether non-existent headers
3698    # can be detected and how.    # can be detected and how.
3699    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3700  #line 3698 "configure"  #line 3700 "configure"
3701  #include "confdefs.h"  #include "confdefs.h"
3702  #include <ac_nonexistent.h>  #include <ac_nonexistent.h>
3703  _ACEOF  _ACEOF
3704  if { (eval echo "$as_me:3702: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:3704: \"$ac_cpp conftest.$ac_ext\"") >&5
3705    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3706    ac_status=$?    ac_status=$?
3707    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
3708    rm -f conftest.er1    rm -f conftest.er1
3709    cat conftest.err >&5    cat conftest.err >&5
3710    echo "$as_me:3708: \$? = $ac_status" >&5    echo "$as_me:3710: \$? = $ac_status" >&5
3711    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
3712    if test -s conftest.err; then    if test -s conftest.err; then
3713      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 3733  rm -f conftest.err conftest.$ac_ext Line 3735  rm -f conftest.err conftest.$ac_ext
3735  if $ac_preproc_ok; then  if $ac_preproc_ok; then
3736    :    :
3737  else  else
3738    { { echo "$as_me:3736: error: C preprocessor \"$CPP\" fails sanity check" >&5    { { echo "$as_me:3738: error: C preprocessor \"$CPP\" fails sanity check" >&5
3739  echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}  echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
3740     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
3741  fi  fi
# Line 3747  ac_compiler_gnu=$ac_cv_c_compiler_gnu Line 3749  ac_compiler_gnu=$ac_cv_c_compiler_gnu
3749  for ac_header in string.h strings.h ncurses/curses.h ncurses.h curses.h  for ac_header in string.h strings.h ncurses/curses.h ncurses.h curses.h
3750  do  do
3751  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3752  echo "$as_me:3750: checking for $ac_header" >&5  echo "$as_me:3752: checking for $ac_header" >&5
3753  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3754  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
3755    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3756  else  else
3757    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3758  #line 3756 "configure"  #line 3758 "configure"
3759  #include "confdefs.h"  #include "confdefs.h"
3760  #include <$ac_header>  #include <$ac_header>
3761  _ACEOF  _ACEOF
3762  if { (eval echo "$as_me:3760: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:3762: \"$ac_cpp conftest.$ac_ext\"") >&5
3763    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3764    ac_status=$?    ac_status=$?
3765    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
3766    rm -f conftest.er1    rm -f conftest.er1
3767    cat conftest.err >&5    cat conftest.err >&5
3768    echo "$as_me:3766: \$? = $ac_status" >&5    echo "$as_me:3768: \$? = $ac_status" >&5
3769    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
3770    if test -s conftest.err; then    if test -s conftest.err; then
3771      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 3782  else Line 3784  else
3784  fi  fi
3785  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
3786  fi  fi
3787  echo "$as_me:3785: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:3787: result: `eval echo '${'$as_ac_Header'}'`" >&5
3788  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3789  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
3790    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 3932  if test "x$enable_3c529" = xyes; then Line 3934  if test "x$enable_3c529" = xyes; then
3934    NETBOOT_DRIVERS="$NETBOOT_DRIVERS 3c529.o"    NETBOOT_DRIVERS="$NETBOOT_DRIVERS 3c529.o"
3935  fi  fi
3936    
 # Check whether --enable-3c590 or --disable-3c590 was given.  
 if test "${enable_3c590+set}" = set; then  
   enableval="$enable_3c590"  
   
 fi;  
 if test "x$enable_3c590" = xyes; then  
   NET_CFLAGS="$NET_CFLAGS -DINCLUDE_3C590=1"  
   NETBOOT_DRIVERS="$NETBOOT_DRIVERS 3c590.o"  
 fi  
   
3937  # Check whether --enable-3c595 or --disable-3c595 was given.  # Check whether --enable-3c595 or --disable-3c595 was given.
3938  if test "${enable_3c595+set}" = set; then  if test "${enable_3c595+set}" = set; then
3939    enableval="$enable_3c595"    enableval="$enable_3c595"
# Line 3972  if test "x$enable_cs89x0" = xyes; then Line 3964  if test "x$enable_cs89x0" = xyes; then
3964    NETBOOT_DRIVERS="$NETBOOT_DRIVERS cs89x0.o"    NETBOOT_DRIVERS="$NETBOOT_DRIVERS cs89x0.o"
3965  fi  fi
3966    
3967    # Check whether --enable-davicom or --disable-davicom was given.
3968    if test "${enable_davicom+set}" = set; then
3969      enableval="$enable_davicom"
3970    
3971    fi;
3972    if test "x$enable_davicom" = xyes; then
3973      NET_CFLAGS="$NET_CFLAGS -DINCLUDE_DAVICOM=1"
3974      NETBOOT_DRIVERS="$NETBOOT_DRIVERS davicom.o"
3975    fi
3976    
3977  # Check whether --enable-depca or --disable-depca was given.  # Check whether --enable-depca or --disable-depca was given.
3978  if test "${enable_depca+set}" = set; then  if test "${enable_depca+set}" = set; then
3979    enableval="$enable_depca"    enableval="$enable_depca"
# Line 3982  if test "x$enable_depca" = xyes; then Line 3984  if test "x$enable_depca" = xyes; then
3984    NETBOOT_DRIVERS="$NETBOOT_DRIVERS depca.o"    NETBOOT_DRIVERS="$NETBOOT_DRIVERS depca.o"
3985  fi  fi
3986    
3987    # Check whether --enable-eepro or --disable-eepro was given.
3988    if test "${enable_eepro+set}" = set; then
3989      enableval="$enable_eepro"
3990    
3991    fi;
3992    if test "x$enable_eepro" = xyes; then
3993      NET_CFLAGS="$NET_CFLAGS -DINCLUDE_EEPRO=1"
3994      NETBOOT_DRIVERS="$NETBOOT_DRIVERS eepro.o"
3995    fi
3996    
3997  # Check whether --enable-eepro100 or --disable-eepro100 was given.  # Check whether --enable-eepro100 or --disable-eepro100 was given.
3998  if test "${enable_eepro100+set}" = set; then  if test "${enable_eepro100+set}" = set; then
3999    enableval="$enable_eepro100"    enableval="$enable_eepro100"
# Line 4062  if test "x$enable_ni6510" = xyes; then Line 4074  if test "x$enable_ni6510" = xyes; then
4074    NETBOOT_DRIVERS="$NETBOOT_DRIVERS ni6510.o"    NETBOOT_DRIVERS="$NETBOOT_DRIVERS ni6510.o"
4075  fi  fi
4076    
4077    # Check whether --enable-natsemi or --disable-natsemi was given.
4078    if test "${enable_natsemi+set}" = set; then
4079      enableval="$enable_natsemi"
4080    
4081    fi;
4082    if test "x$enable_natsemi" = xyes; then
4083      NET_CFLAGS="$NET_CFLAGS -DINCLUDE_NATSEMI=1"
4084      NETBOOT_DRIVERS="$NETBOOT_DRIVERS natsemi.o"
4085    fi
4086    
4087    # Check whether --enable-ni5010 or --disable-ni5010 was given.
4088    if test "${enable_ni5010+set}" = set; then
4089      enableval="$enable_ni5010"
4090    
4091    fi;
4092    if test "x$enable_ni5010" = xyes; then
4093      NET_CFLAGS="$NET_CFLAGS -DINCLUDE_NI5010=1"
4094      NETBOOT_DRIVERS="$NETBOOT_DRIVERS ni5010.o"
4095    fi
4096    
4097  # Check whether --enable-3c503 or --disable-3c503 was given.  # Check whether --enable-3c503 or --disable-3c503 was given.
4098  if test "${enable_3c503+set}" = set; then  if test "${enable_3c503+set}" = set; then
4099    enableval="$enable_3c503"    enableval="$enable_3c503"
# Line 4122  if test "x$enable_rtl8139" = xyes; then Line 4154  if test "x$enable_rtl8139" = xyes; then
4154    NETBOOT_DRIVERS="$NETBOOT_DRIVERS rtl8139.o"    NETBOOT_DRIVERS="$NETBOOT_DRIVERS rtl8139.o"
4155  fi  fi
4156    
4157    # Check whether --enable-sis900 or --disable-sis900 was given.
4158    if test "${enable_sis900+set}" = set; then
4159      enableval="$enable_sis900"
4160    
4161    fi;
4162    if test "x$enable_sis900" = xyes; then
4163      NET_CFLAGS="$NET_CFLAGS -DINCLUDE_SIS900=1"
4164      NETBOOT_DRIVERS="$NETBOOT_DRIVERS sis900.o"
4165    fi
4166    
4167  # Check whether --enable-sk-g16 or --disable-sk-g16 was given.  # Check whether --enable-sk-g16 or --disable-sk-g16 was given.
4168  if test "${enable_sk_g16+set}" = set; then  if test "${enable_sk_g16+set}" = set; then
4169    enableval="$enable_sk_g16"    enableval="$enable_sk_g16"
# Line 4172  if test "x$enable_via_rhine" = xyes; the Line 4214  if test "x$enable_via_rhine" = xyes; the
4214    NETBOOT_DRIVERS="$NETBOOT_DRIVERS via_rhine.o"    NETBOOT_DRIVERS="$NETBOOT_DRIVERS via_rhine.o"
4215  fi  fi
4216    
4217    # Check whether --enable-w89c840 or --disable-w89c840 was given.
4218    if test "${enable_w89c840+set}" = set; then
4219      enableval="$enable_w89c840"
4220    
4221    fi;
4222    if test "x$enable_w89c840" = xyes; then
4223      NET_CFLAGS="$NET_CFLAGS -DINCLUDE_W89C840=1"
4224      NETBOOT_DRIVERS="$NETBOOT_DRIVERS w89c840.o"
4225    fi
4226    
4227  if test "x$NET_CFLAGS" != x; then  if test "x$NET_CFLAGS" != x; then
4228    NETBOOT_SUPPORT_TRUE=    NETBOOT_SUPPORT_TRUE=
4229    NETBOOT_SUPPORT_FALSE='#'    NETBOOT_SUPPORT_FALSE='#'
# Line 4201  if test "x$enable_3c503_aui" = xyes; the Line 4253  if test "x$enable_3c503_aui" = xyes; the
4253    NET_EXTRAFLAGS="$NET_EXTRAFLAGS -DT503_AUI=1"    NET_EXTRAFLAGS="$NET_EXTRAFLAGS -DT503_AUI=1"
4254  fi  fi
4255    
 # Check whether --enable-3c509-hack or --disable-3c509-hack was given.  
 if test "${enable_3c509_hack+set}" = set; then  
   enableval="$enable_3c509_hack"  
   
 fi;  
 if test "x$enable_3c509_hack" = xyes; then  
   NET_EXTRAFLAGS="$NET_EXTRAFLAGS -DT509HACK=1"  
 fi  
   
4256  # Check whether --enable-compex-rl2000-fix or --disable-compex-rl2000-fix was given.  # Check whether --enable-compex-rl2000-fix or --disable-compex-rl2000-fix was given.
4257  if test "${enable_compex_rl2000_fix+set}" = set; then  if test "${enable_compex_rl2000_fix+set}" = set; then
4258    enableval="$enable_compex_rl2000_fix"    enableval="$enable_compex_rl2000_fix"
# Line 4219  if test "x$enable_compex_rl2000_fix" = x Line 4262  if test "x$enable_compex_rl2000_fix" = x
4262    NET_EXTRAFLAGS="$NET_EXTRAFLAGS -DCOMPEX_RL2000_FIX=1"    NET_EXTRAFLAGS="$NET_EXTRAFLAGS -DCOMPEX_RL2000_FIX=1"
4263  fi  fi
4264    
 # Check whether --enable-ns8390-force-16bit or --disable-ns8390-force-16bit was given.  
 if test "${enable_ns8390_force_16bit+set}" = set; then  
   enableval="$enable_ns8390_force_16bit"  
   
 fi;  
 if test "x$enable_ns8390_force_16bit" = xyes; then  
   NET_EXTRAFLAGS="$NET_EXTRAFLAGS -DNS8390_FORCE_16BIT=1"  
 fi  
   
4265  # Check whether --enable-smc9000-scan or --disable-smc9000-scan was given.  # Check whether --enable-smc9000-scan or --disable-smc9000-scan was given.
4266  if test "${enable_smc9000_scan+set}" = set; then  if test "${enable_smc9000_scan+set}" = set; then
4267    enableval="$enable_smc9000_scan"    enableval="$enable_smc9000_scan"
# Line 4315  fi Line 4349  fi
4349  # Sanity check.  # Sanity check.
4350  if test "x$enable_diskless" = xyes; then  if test "x$enable_diskless" = xyes; then
4351    if test "x$NET_CFLAGS" = x; then    if test "x$NET_CFLAGS" = x; then
4352      { { echo "$as_me:4318: error: You must enable at least one network driver" >&5      { { echo "$as_me:4352: error: You must enable at least one network driver" >&5
4353  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;}
4354     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
4355    fi    fi
# Line 4367  main (void) Line 4401  main (void)
4401  EOF  EOF
4402    
4403  if { ac_try='${CC-cc} ${CFLAGS} conftest.c -o conftest'  if { ac_try='${CC-cc} ${CFLAGS} conftest.c -o conftest'
4404    { (eval echo "$as_me:4370: \"$ac_try\"") >&5    { (eval echo "$as_me:4404: \"$ac_try\"") >&5
4405    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4406    ac_status=$?    ac_status=$?
4407    echo "$as_me:4373: \$? = $ac_status" >&5    echo "$as_me:4407: \$? = $ac_status" >&5
4408    (exit $ac_status); }; } && test -s conftest; then    (exit $ac_status); }; } && test -s conftest; then
4409    grub_tmp_value=`./conftest < "$enable_preset_menu"`    grub_tmp_value=`./conftest < "$enable_preset_menu"`
4410  else  else
4411    { { echo "$as_me:4377: error: ${CC-cc} failed to produce an executable file" >&5    { { echo "$as_me:4411: error: ${CC-cc} failed to produce an executable file" >&5
4412  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;}
4413     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
4414  fi  fi
# Line 4386  EOF Line 4420  EOF
4420  rm -f conftest*  rm -f conftest*
4421    
4422    else    else
4423      { { echo "$as_me:4389: error: Cannot read the preset menu file $enable_preset_menu" >&5      { { echo "$as_me:4423: error: Cannot read the preset menu file $enable_preset_menu" >&5
4424  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;}
4425     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
4426    fi    fi
# Line 4502  DEFS=-DHAVE_CONFIG_H Line 4536  DEFS=-DHAVE_CONFIG_H
4536  : ${CONFIG_STATUS=./config.status}  : ${CONFIG_STATUS=./config.status}
4537  ac_clean_files_save=$ac_clean_files  ac_clean_files_save=$ac_clean_files
4538  ac_clean_files="$ac_clean_files $CONFIG_STATUS"  ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4539  { echo "$as_me:4505: creating $CONFIG_STATUS" >&5  { echo "$as_me:4539: creating $CONFIG_STATUS" >&5
4540  echo "$as_me: creating $CONFIG_STATUS" >&6;}  echo "$as_me: creating $CONFIG_STATUS" >&6;}
4541  cat >$CONFIG_STATUS <<_ACEOF  cat >$CONFIG_STATUS <<_ACEOF
4542  #! $SHELL  #! $SHELL
# Line 4678  cat >>$CONFIG_STATUS <<\EOF Line 4712  cat >>$CONFIG_STATUS <<\EOF
4712      echo "$ac_cs_version"; exit 0 ;;      echo "$ac_cs_version"; exit 0 ;;
4713    --he | --h)    --he | --h)
4714      # Conflict between --help and --header      # Conflict between --help and --header
4715      { { echo "$as_me:4681: error: ambiguous option: $1      { { echo "$as_me:4715: error: ambiguous option: $1
4716  Try \`$0 --help' for more information." >&5  Try \`$0 --help' for more information." >&5
4717  echo "$as_me: error: ambiguous option: $1  echo "$as_me: error: ambiguous option: $1
4718  Try \`$0 --help' for more information." >&2;}  Try \`$0 --help' for more information." >&2;}
# Line 4697  Try \`$0 --help' for more information." Line 4731  Try \`$0 --help' for more information."
4731      ac_need_defaults=false;;      ac_need_defaults=false;;
4732    
4733    # This is an error.    # This is an error.
4734    -*) { { echo "$as_me:4700: error: unrecognized option: $1    -*) { { echo "$as_me:4734: error: unrecognized option: $1
4735  Try \`$0 --help' for more information." >&5  Try \`$0 --help' for more information." >&5
4736  echo "$as_me: error: unrecognized option: $1  echo "$as_me: error: unrecognized option: $1
4737  Try \`$0 --help' for more information." >&2;}  Try \`$0 --help' for more information." >&2;}
# Line 4755  do Line 4789  do
4789    "util/grub-md5-crypt" ) CONFIG_FILES="$CONFIG_FILES util/grub-md5-crypt" ;;    "util/grub-md5-crypt" ) CONFIG_FILES="$CONFIG_FILES util/grub-md5-crypt" ;;
4790    "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;    "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
4791    "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;    "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4792    *) { { echo "$as_me:4758: error: invalid argument: $ac_config_target" >&5    *) { { echo "$as_me:4792: error: invalid argument: $ac_config_target" >&5
4793  echo "$as_me: error: invalid argument: $ac_config_target" >&2;}  echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4794     { (exit 1); exit 1; }; };;     { (exit 1); exit 1; }; };;
4795    esac    esac
# Line 5019  done; } Line 5053  done; }
5053    esac    esac
5054    
5055    if test x"$ac_file" != x-; then    if test x"$ac_file" != x-; then
5056      { echo "$as_me:5022: creating $ac_file" >&5      { echo "$as_me:5056: creating $ac_file" >&5
5057  echo "$as_me: creating $ac_file" >&6;}  echo "$as_me: creating $ac_file" >&6;}
5058      rm -f "$ac_file"      rm -f "$ac_file"
5059    fi    fi
# Line 5037  echo "$as_me: creating $ac_file" >&6;} Line 5071  echo "$as_me: creating $ac_file" >&6;}
5071        -) echo $tmp/stdin ;;        -) echo $tmp/stdin ;;
5072        [\\/$]*)        [\\/$]*)
5073           # Absolute (can't be DOS-style, as IFS=:)           # Absolute (can't be DOS-style, as IFS=:)
5074           test -f "$f" || { { echo "$as_me:5040: error: cannot find input file: $f" >&5           test -f "$f" || { { echo "$as_me:5074: error: cannot find input file: $f" >&5
5075  echo "$as_me: error: cannot find input file: $f" >&2;}  echo "$as_me: error: cannot find input file: $f" >&2;}
5076     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
5077           echo $f;;           echo $f;;
# Line 5050  echo "$as_me: error: cannot find input f Line 5084  echo "$as_me: error: cannot find input f
5084             echo $srcdir/$f             echo $srcdir/$f
5085           else           else
5086             # /dev/null tree             # /dev/null tree
5087             { { echo "$as_me:5053: error: cannot find input file: $f" >&5             { { echo "$as_me:5087: error: cannot find input file: $f" >&5
5088  echo "$as_me: error: cannot find input file: $f" >&2;}  echo "$as_me: error: cannot find input file: $f" >&2;}
5089     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
5090           fi;;           fi;;
# Line 5111  for ac_file in : $CONFIG_HEADERS; do tes Line 5145  for ac_file in : $CONFIG_HEADERS; do tes
5145    * )   ac_file_in=$ac_file.in ;;    * )   ac_file_in=$ac_file.in ;;
5146    esac    esac
5147    
5148    test x"$ac_file" != x- && { echo "$as_me:5114: creating $ac_file" >&5    test x"$ac_file" != x- && { echo "$as_me:5148: creating $ac_file" >&5
5149  echo "$as_me: creating $ac_file" >&6;}  echo "$as_me: creating $ac_file" >&6;}
5150    
5151    # 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 5122  echo "$as_me: creating $ac_file" >&6;} Line 5156  echo "$as_me: creating $ac_file" >&6;}
5156        -) echo $tmp/stdin ;;        -) echo $tmp/stdin ;;
5157        [\\/$]*)        [\\/$]*)
5158           # Absolute (can't be DOS-style, as IFS=:)           # Absolute (can't be DOS-style, as IFS=:)
5159           test -f "$f" || { { echo "$as_me:5125: error: cannot find input file: $f" >&5           test -f "$f" || { { echo "$as_me:5159: error: cannot find input file: $f" >&5
5160  echo "$as_me: error: cannot find input file: $f" >&2;}  echo "$as_me: error: cannot find input file: $f" >&2;}
5161     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
5162           echo $f;;           echo $f;;
# Line 5135  echo "$as_me: error: cannot find input f Line 5169  echo "$as_me: error: cannot find input f
5169             echo $srcdir/$f             echo $srcdir/$f
5170           else           else
5171             # /dev/null tree             # /dev/null tree
5172             { { echo "$as_me:5138: error: cannot find input file: $f" >&5             { { echo "$as_me:5172: error: cannot find input file: $f" >&5
5173  echo "$as_me: error: cannot find input file: $f" >&2;}  echo "$as_me: error: cannot find input file: $f" >&2;}
5174     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
5175           fi;;           fi;;
# Line 5252  cat >>$CONFIG_STATUS <<\EOF Line 5286  cat >>$CONFIG_STATUS <<\EOF
5286    rm -f $tmp/in    rm -f $tmp/in
5287    if test x"$ac_file" != x-; then    if test x"$ac_file" != x-; then
5288      if cmp -s $ac_file $tmp/config.h 2>/dev/null; then      if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
5289        { echo "$as_me:5255: $ac_file is unchanged" >&5        { echo "$as_me:5289: $ac_file is unchanged" >&5
5290  echo "$as_me: $ac_file is unchanged" >&6;}  echo "$as_me: $ac_file is unchanged" >&6;}
5291      else      else
5292        ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \        ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \

Legend:
Removed from v.1.94  
changed lines
  Added in v.1.95

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