From 1bf10fafcbb0143297b1f9dcb1cfac43e083fea8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Sun, 12 Oct 2003 20:55:52 +0000 Subject: [PATCH] Fixed the new version identification (now uses -dumpversion instead of --version), also added a semi-colon to the Jam line defining GCC_RAW_VERSION. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4998 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index ab1f8890e7..2145698e92 100755 --- a/configure +++ b/configure @@ -42,7 +42,7 @@ standard_gcc_settings() # PLATFORM_LINKLIBS gcclib=`gcc -print-libgcc-file-name` gccdir=`dirname ${gcclib}` - gcc_version=`gcc --version` + gcc_version=`gcc -dumpversion` if [ "x${PLATFORM_LINKLIBS}" == "x" ] ; then PLATFORM_LINKLIBS="-L ${gccdir} -lgcc" fi @@ -101,7 +101,7 @@ cat << EOF > build/BuildConfig FLOPPY_PATH ?= "${floppy}" ; PLATFORM_LINKLIBS ?= ${PLATFORM_LINKLIBS} ; PLATFORM_HEADERS ?= ${PLATFORM_HEADERS} ; -GCC_RAW_VERSION ?= ${gcc_version} +GCC_RAW_VERSION ?= ${gcc_version} ; BOCHS_DEBUG_HACK ?= ${bochs_debug} ; EOF