Clean very old deprecated optionS

This commit is contained in:
Stanislav Shwartsman 2008-01-21 21:03:34 +00:00
parent abe7373657
commit 4f7d5f5e28
3 changed files with 31 additions and 100 deletions

View File

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////
// $Id: config.cc,v 1.126 2007-12-23 17:21:27 sshwarts Exp $
// $Id: config.cc,v 1.127 2008-01-21 21:03:34 sshwarts Exp $
/////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2002 MandrakeSoft S.A.
@ -2517,8 +2517,6 @@ static Bit32s parse_line_formatted(const char *context, int num_params, char *pa
if (SIM->get_param_num(BXPN_KBD_PASTE_DELAY)->get() < 1000) {
PARSE_ERR (("%s: keyboard_paste_delay not big enough!", context));
}
} else if (!strcmp(params[0], "floppy_command_delay")) {
PARSE_WARN(("%s: floppy_command_delay is DEPRECATED (now using hardware timing).", context));
} else if (!strcmp(params[0], "ips")) {
PARSE_WARN(("%s: ips directive is DEPRECATED (use cpu directive parameter 'ips').", context));
if (num_params != 2) {
@ -3039,15 +3037,6 @@ static Bit32s parse_line_formatted(const char *context, int num_params, char *pa
}
}
}
// Old timing options have been replaced by the 'clock' option
else if (!strcmp(params[0], "pit")) // Deprecated
{
PARSE_ERR(("ERROR: pit directive is DEPRECATED, use clock: instead"));
}
else if (!strcmp(params[0], "time0")) // Deprectated
{
PARSE_ERR(("ERROR: time0 directive is DEPRECATED, use clock: instead"));
}
// user-defined options handled by registered functions
else if ((i = SIM->find_user_option(params[0])) >= 0)
{

96
bochs/configure vendored
View File

@ -1594,10 +1594,8 @@ Optional Features:
--enable-docbook build the Docbook documentation
--enable-xpm enable the check for XPM support
--enable-save-restore enables save/restore (deprecated)
--enable-processors select number of processors (deprecated)
--enable-reset-on-triple-fault reset when cpu detects a triple fault (deprecated)
--enable-pni PNI support (deprecated)
--enable-new-pit use Greg Alexander's new PIT model (deprecated)
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
@ -4504,7 +4502,7 @@ ia64-*-hpux*)
;;
*-*-irix6*)
# Find out which ABI we are using.
echo '#line 4507 "configure"' > conftest.$ac_ext
echo '#line 4505 "configure"' > conftest.$ac_ext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
@ -6870,11 +6868,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:6873: $lt_compile\"" >&5)
(eval echo "\"\$as_me:6871: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
echo "$as_me:6877: \$? = $ac_status" >&5
echo "$as_me:6875: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@ -7103,11 +7101,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:7106: $lt_compile\"" >&5)
(eval echo "\"\$as_me:7104: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
echo "$as_me:7110: \$? = $ac_status" >&5
echo "$as_me:7108: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@ -7170,11 +7168,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:7173: $lt_compile\"" >&5)
(eval echo "\"\$as_me:7171: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
echo "$as_me:7177: \$? = $ac_status" >&5
echo "$as_me:7175: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@ -9443,7 +9441,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
#line 9446 "configure"
#line 9444 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -9541,7 +9539,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
#line 9544 "configure"
#line 9542 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11748,11 +11746,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:11751: $lt_compile\"" >&5)
(eval echo "\"\$as_me:11749: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
echo "$as_me:11755: \$? = $ac_status" >&5
echo "$as_me:11753: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@ -11815,11 +11813,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:11818: $lt_compile\"" >&5)
(eval echo "\"\$as_me:11816: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
echo "$as_me:11822: \$? = $ac_status" >&5
echo "$as_me:11820: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@ -13237,7 +13235,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
#line 13240 "configure"
#line 13238 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -13335,7 +13333,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
#line 13338 "configure"
#line 13336 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -14158,11 +14156,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:14161: $lt_compile\"" >&5)
(eval echo "\"\$as_me:14159: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
echo "$as_me:14165: \$? = $ac_status" >&5
echo "$as_me:14163: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@ -14225,11 +14223,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:14228: $lt_compile\"" >&5)
(eval echo "\"\$as_me:14226: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
echo "$as_me:14232: \$? = $ac_status" >&5
echo "$as_me:14230: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@ -16268,11 +16266,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:16271: $lt_compile\"" >&5)
(eval echo "\"\$as_me:16269: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
echo "$as_me:16275: \$? = $ac_status" >&5
echo "$as_me:16273: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@ -16501,11 +16499,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:16504: $lt_compile\"" >&5)
(eval echo "\"\$as_me:16502: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
echo "$as_me:16508: \$? = $ac_status" >&5
echo "$as_me:16506: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@ -16568,11 +16566,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:16571: $lt_compile\"" >&5)
(eval echo "\"\$as_me:16569: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
echo "$as_me:16575: \$? = $ac_status" >&5
echo "$as_me:16573: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@ -18841,7 +18839,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
#line 18844 "configure"
#line 18842 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -18939,7 +18937,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
#line 18942 "configure"
#line 18940 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -21320,7 +21318,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
#line 21323 "configure"
#line 21321 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -23112,7 +23110,7 @@ if test "$ac_x_libraries" = no; then
# See if we find them without any special options.
# Don't add to $LIBS permanently.
ac_save_LIBS=$LIBS
LIBS="-lXt $LIBS"
LIBS="-lX11 $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@ -42915,24 +42913,6 @@ echo "${ECHO_T}no" >&6; }
fi
{ echo "$as_me:$LINENO: checking for number of processors (deprecated)" >&5
echo $ECHO_N "checking for number of processors (deprecated)... $ECHO_C" >&6; }
# Check whether --enable-processors was given.
if test "${enable_processors+set}" = set; then
enableval=$enable_processors; { echo "$as_me:$LINENO: result: $enableval" >&5
echo "${ECHO_T}$enableval" >&6; }
{ { echo "$as_me:$LINENO: error: DEPRECATED - use option --enable-smp instead" >&5
echo "$as_me: error: DEPRECATED - use option --enable-smp instead" >&2;}
{ (exit 1); exit 1; }; }
else
{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
fi
{ echo "$as_me:$LINENO: checking whether to reset on triple fault (deprecated)" >&5
echo $ECHO_N "checking whether to reset on triple fault (deprecated)... $ECHO_C" >&6; }
# Check whether --enable-reset-on-triple-fault was given.
@ -42969,24 +42949,6 @@ echo "${ECHO_T}no" >&6; }
fi
{ echo "$as_me:$LINENO: checking for new PIT model (deprecated)" >&5
echo $ECHO_N "checking for new PIT model (deprecated)... $ECHO_C" >&6; }
# Check whether --enable-new-pit was given.
if test "${enable_new_pit+set}" = set; then
enableval=$enable_new_pit; { echo "$as_me:$LINENO: result: $enableval" >&5
echo "${ECHO_T}$enableval" >&6; }
{ { echo "$as_me:$LINENO: error: DEPRECATED - the new PIT model is always present and the old one has been removed" >&5
echo "$as_me: error: DEPRECATED - the new PIT model is always present and the old one has been removed" >&2;}
{ (exit 1); exit 1; }; }
else
{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
fi
# Create some subdirectories for when you run configure from some other
# directory.
if test ! -d instrument; then mkdir instrument; fi

View File

@ -2,7 +2,7 @@ dnl // Process this file with autoconf to produce a configure script.
AC_PREREQ(2.50)
AC_INIT(bochs.h)
AC_REVISION([[$Id: configure.in,v 1.356 2007-12-26 13:13:55 vruppert Exp $]])
AC_REVISION([[$Id: configure.in,v 1.357 2008-01-21 21:03:34 sshwarts Exp $]])
AC_CONFIG_HEADER(config.h)
AC_CONFIG_HEADER(ltdlconf.h)
@ -2860,16 +2860,6 @@ AC_ARG_ENABLE(save-restore,
AC_MSG_RESULT(no)
])
AC_MSG_CHECKING(for number of processors (deprecated))
AC_ARG_ENABLE(processors,
[ --enable-processors select number of processors (deprecated)],
[AC_MSG_RESULT($enableval)
AC_MSG_ERROR([DEPRECATED - use option --enable-smp instead])
],
[
AC_MSG_RESULT(no)
])
AC_MSG_CHECKING(whether to reset on triple fault (deprecated))
AC_ARG_ENABLE(reset-on-triple-fault,
[ --enable-reset-on-triple-fault reset when cpu detects a triple fault (deprecated)],
@ -2890,16 +2880,6 @@ AC_ARG_ENABLE(--enable-pni,
AC_MSG_RESULT(no)
])
AC_MSG_CHECKING(for new PIT model (deprecated))
AC_ARG_ENABLE(new-pit,
[ --enable-new-pit use Greg Alexander's new PIT model (deprecated)],
[AC_MSG_RESULT($enableval)
AC_MSG_ERROR([DEPRECATED - the new PIT model is always present and the old one has been removed])
],
[
AC_MSG_RESULT(no)
])
# Create some subdirectories for when you run configure from some other
# directory.
if test ! -d instrument; then mkdir instrument; fi