Added Bochs version info for Win32 - patch from @SF tracker

This commit is contained in:
Stanislav Shwartsman 2008-02-09 07:51:15 +00:00
parent 452d8f0ac7
commit 7c97f38d59
3 changed files with 40 additions and 31 deletions

View File

@ -1,4 +1,5 @@
1 VERSIONINFO
FILEVERSION @WIN_VER_STRING@
{
BLOCK "StringFileInfo"
{

64
bochs/configure vendored
View File

@ -1,5 +1,5 @@
#! /bin/sh
# From configure.in Id: configure.in,v 1.358 2008/01/21 21:36:54 sshwarts Exp .
# From configure.in Id: configure.in,v 1.360 2008/02/05 22:57:39 sshwarts Exp .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.60.
#
@ -918,6 +918,7 @@ CD_UP_TWO
CD_UP_THREE
VERSION
VER_STRING
WIN_VER_STRING
REL_STRING
EXTRA_LINK_OPTS
GUI_NON_PLUGIN_OBJS
@ -2066,6 +2067,7 @@ ac_config_headers="$ac_config_headers ltdlconf.h"
VERSION="2.3.6.cvs"
VER_STRING="2.3.6.cvs"
WIN_VER_STRING="2, 3, 6, 1"
REL_STRING="Build from CVS snapshot, after release 2.3.6"
@ -4501,7 +4503,7 @@ ia64-*-hpux*)
;;
*-*-irix6*)
# Find out which ABI we are using.
echo '#line 4504 "configure"' > conftest.$ac_ext
echo '#line 4506 "configure"' > conftest.$ac_ext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
@ -6867,11 +6869,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:6870: $lt_compile\"" >&5)
(eval echo "\"\$as_me:6872: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
echo "$as_me:6874: \$? = $ac_status" >&5
echo "$as_me:6876: \$? = $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
@ -7100,11 +7102,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:7103: $lt_compile\"" >&5)
(eval echo "\"\$as_me:7105: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
echo "$as_me:7107: \$? = $ac_status" >&5
echo "$as_me:7109: \$? = $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
@ -7167,11 +7169,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:7170: $lt_compile\"" >&5)
(eval echo "\"\$as_me:7172: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
echo "$as_me:7174: \$? = $ac_status" >&5
echo "$as_me:7176: \$? = $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
@ -9440,7 +9442,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
#line 9443 "configure"
#line 9445 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -9538,7 +9540,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
#line 9541 "configure"
#line 9543 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11745,11 +11747,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:11748: $lt_compile\"" >&5)
(eval echo "\"\$as_me:11750: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
echo "$as_me:11752: \$? = $ac_status" >&5
echo "$as_me:11754: \$? = $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
@ -11812,11 +11814,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:11815: $lt_compile\"" >&5)
(eval echo "\"\$as_me:11817: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
echo "$as_me:11819: \$? = $ac_status" >&5
echo "$as_me:11821: \$? = $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
@ -13234,7 +13236,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
#line 13237 "configure"
#line 13239 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -13332,7 +13334,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
#line 13335 "configure"
#line 13337 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -14155,11 +14157,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:14158: $lt_compile\"" >&5)
(eval echo "\"\$as_me:14160: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
echo "$as_me:14162: \$? = $ac_status" >&5
echo "$as_me:14164: \$? = $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
@ -14222,11 +14224,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:14225: $lt_compile\"" >&5)
(eval echo "\"\$as_me:14227: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
echo "$as_me:14229: \$? = $ac_status" >&5
echo "$as_me:14231: \$? = $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
@ -16265,11 +16267,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:16268: $lt_compile\"" >&5)
(eval echo "\"\$as_me:16270: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
echo "$as_me:16272: \$? = $ac_status" >&5
echo "$as_me:16274: \$? = $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
@ -16498,11 +16500,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:16501: $lt_compile\"" >&5)
(eval echo "\"\$as_me:16503: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
echo "$as_me:16505: \$? = $ac_status" >&5
echo "$as_me:16507: \$? = $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
@ -16565,11 +16567,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:16568: $lt_compile\"" >&5)
(eval echo "\"\$as_me:16570: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
echo "$as_me:16572: \$? = $ac_status" >&5
echo "$as_me:16574: \$? = $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
@ -18838,7 +18840,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
#line 18841 "configure"
#line 18843 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -18936,7 +18938,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
#line 18939 "configure"
#line 18941 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -21317,7 +21319,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
#line 21320 "configure"
#line 21322 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -42968,6 +42970,7 @@ if test ! -d build/win32/nsis; then mkdir build/win32/nsis; fi
# Extract the first word of "gzip", so it can be a program name with args.
@ -43880,6 +43883,7 @@ CD_UP_TWO!$CD_UP_TWO$ac_delim
CD_UP_THREE!$CD_UP_THREE$ac_delim
VERSION!$VERSION$ac_delim
VER_STRING!$VER_STRING$ac_delim
WIN_VER_STRING!$WIN_VER_STRING$ac_delim
REL_STRING!$REL_STRING$ac_delim
EXTRA_LINK_OPTS!$EXTRA_LINK_OPTS$ac_delim
GUI_NON_PLUGIN_OBJS!$GUI_NON_PLUGIN_OBJS$ac_delim
@ -43895,7 +43899,7 @@ LIBOBJS!$LIBOBJS$ac_delim
LTLIBOBJS!$LTLIBOBJS$ac_delim
_ACEOF
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 81; then
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
break
elif $ac_last_try; then
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5

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.360 2008-02-05 22:57:39 sshwarts Exp $]])
AC_REVISION([[$Id: configure.in,v 1.361 2008-02-09 07:51:11 sshwarts Exp $]])
AC_CONFIG_HEADER(config.h)
AC_CONFIG_HEADER(ltdlconf.h)
@ -10,6 +10,9 @@ dnl // Put Bochs version information right here so that it gets substituted
dnl // into all the right places.
VERSION="2.3.6.cvs"
VER_STRING="2.3.6.cvs"
dnl // WIN_VER_STRING format is "a, b, c, d"
dnl // d should be 0 for release and 1 for cvs version
WIN_VER_STRING="2, 3, 6, 1"
REL_STRING="Build from CVS snapshot, after release 2.3.6"
changequote(<<, >>)
@ -2904,6 +2907,7 @@ AC_SUBST(CD_UP_TWO)
AC_SUBST(CD_UP_THREE)
AC_SUBST(VERSION)
AC_SUBST(VER_STRING)
AC_SUBST(WIN_VER_STRING)
AC_SUBST(REL_STRING)
AC_SUBST(EXTRA_LINK_OPTS)
AC_SUBST(GUI_NON_PLUGIN_OBJS)