Jakub Jelinek d0c7c9
--- valgrind-3.2.3/configure.in.jj	2007-01-29 14:42:52.000000000 -0500
Jakub Jelinek d0c7c9
+++ valgrind-3.2.3/configure.in	2007-02-13 08:02:26.000000000 -0500
Jakub Jelinek d0c7c9
@@ -251,6 +251,7 @@ AC_MSG_CHECKING([for a supported CPU/OS 
Jakub Jelinek d0c7c9
 
Jakub Jelinek d0c7c9
 AC_SUBST(VG_PLATFORM_PRI)
Jakub Jelinek d0c7c9
 AC_SUBST(VG_PLATFORM_SEC)
Jakub Jelinek d0c7c9
+AC_SUBST(VG_PLATFORM)
Jakub Jelinek d0c7c9
 
Jakub Jelinek d0c7c9
 case "$VG_ARCH-$VG_OS" in
Jakub Jelinek d0c7c9
      x86-linux)
Jakub Jelinek d0c7c9
@@ -296,6 +297,7 @@ case "$VG_ARCH-$VG_OS" in
Jakub Jelinek d0c7c9
         AC_MSG_ERROR([Valgrind is platform specific. Sorry. Please consider doing a port.])
Jakub Jelinek d0c7c9
         ;;
Jakub Jelinek d0c7c9
 esac
Jakub Jelinek d0c7c9
+VG_PLATFORM=`echo "$VG_PLATFORM_PRI" | LC_ALL=C tr A-Z_ a-z-`
Jakub Jelinek d0c7c9
 
Jakub Jelinek d0c7c9
 # Set up VG_<platform>.  Either one or two of these become defined.
Jakub Jelinek d0c7c9
 #
Jakub Jelinek d0c7c9
--- valgrind-3.2.3/configure.jj	2007-01-29 14:45:30.000000000 -0500
Jakub Jelinek d0c7c9
+++ valgrind-3.2.3/configure	2007-02-13 08:04:33.000000000 -0500
Jakub Jelinek d0c7c9
@@ -311,7 +311,7 @@ ac_includes_default="\
Jakub Jelinek d0c7c9
 # include <unistd.h>
Jakub Jelinek d0c7c9
 #endif"
Jakub Jelinek d0c7c9
 
Jakub Jelinek d0c7c9
-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT VEX_DIR DISTCHECK_CONFIGURE_FLAGS LN_S CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE RANLIB ac_ct_RANLIB PERL GDB CCAS CCASFLAGS build build_cpu build_vendor build_os host host_cpu host_vendor host_os VG_ARCH VG_ARCH_ALL VALT_LOAD_ADDRESS VG_OS VG_PLATFORM_PRI VG_PLATFORM_SEC VG_X86_LINUX_TRUE VG_X86_LINUX_FALSE VG_AMD64_LINUX_TRUE VG_AMD64_LINUX_FALSE VG_PPC32_LINUX_TRUE VG_PPC32_LINUX_FALSE VG_PPC64_LINUX_TRUE VG_PPC64_LINUX_FALSE DEFAULT_SUPP EGREP FLAG_M32 FLAG_M64 FLAG_MMMX FLAG_MSSE PREFERRED_STACK_BOUNDARY FLAG_WDECL_AFTER_STMT LIBOBJS BUILD_MPIWRAP_TRUE BUILD_MPIWRAP_FALSE MPI_CC LTLIBOBJS'
Jakub Jelinek d0c7c9
+ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT VEX_DIR DISTCHECK_CONFIGURE_FLAGS LN_S CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE RANLIB ac_ct_RANLIB PERL GDB CCAS CCASFLAGS build build_cpu build_vendor build_os host host_cpu host_vendor host_os VG_ARCH VG_ARCH_ALL VALT_LOAD_ADDRESS VG_OS VG_PLATFORM_PRI VG_PLATFORM_SEC VG_PLATFORM VG_X86_LINUX_TRUE VG_X86_LINUX_FALSE VG_AMD64_LINUX_TRUE VG_AMD64_LINUX_FALSE VG_PPC32_LINUX_TRUE VG_PPC32_LINUX_FALSE VG_PPC64_LINUX_TRUE VG_PPC64_LINUX_FALSE DEFAULT_SUPP EGREP FLAG_M32 FLAG_M64 FLAG_MMMX FLAG_MSSE PREFERRED_STACK_BOUNDARY FLAG_WDECL_AFTER_STMT LIBOBJS BUILD_MPIWRAP_TRUE BUILD_MPIWRAP_FALSE MPI_CC LTLIBOBJS'
Jakub Jelinek d0c7c9
 ac_subst_files=''
Jakub Jelinek d0c7c9
 
Jakub Jelinek d0c7c9
 # Initialize some variables set by options.
Jakub Jelinek d0c7c9
@@ -4230,6 +4230,7 @@ echo "$as_me: error: Valgrind is platfor
Jakub Jelinek d0c7c9
    { (exit 1); exit 1; }; }
Jakub Jelinek d0c7c9
         ;;
Jakub Jelinek d0c7c9
 esac
Jakub Jelinek d0c7c9
+VG_PLATFORM=`echo "$VG_PLATFORM_PRI" | LC_ALL=C tr A-Z_ a-z-`
Jakub Jelinek d0c7c9
 
Jakub Jelinek d0c7c9
 # Set up VG_<platform>.  Either one or two of these become defined.
Jakub Jelinek d0c7c9
 #
Jakub Jelinek d0c7c9
@@ -7615,6 +7616,7 @@ s,@VALT_LOAD_ADDRESS@,$VALT_LOAD_ADDRESS
Jakub Jelinek d0c7c9
 s,@VG_OS@,$VG_OS,;t t
Jakub Jelinek d0c7c9
 s,@VG_PLATFORM_PRI@,$VG_PLATFORM_PRI,;t t
Jakub Jelinek d0c7c9
 s,@VG_PLATFORM_SEC@,$VG_PLATFORM_SEC,;t t
Jakub Jelinek d0c7c9
+s,@VG_PLATFORM@,$VG_PLATFORM,;t t
Jakub Jelinek d0c7c9
 s,@VG_X86_LINUX_TRUE@,$VG_X86_LINUX_TRUE,;t t
Jakub Jelinek d0c7c9
 s,@VG_X86_LINUX_FALSE@,$VG_X86_LINUX_FALSE,;t t
Jakub Jelinek d0c7c9
 s,@VG_AMD64_LINUX_TRUE@,$VG_AMD64_LINUX_TRUE,;t t
Jakub Jelinek d0c7c9
--- valgrind-3.2.3/valgrind.pc.in.jj	2007-01-02 09:52:30.000000000 -0500
Jakub Jelinek d0c7c9
+++ valgrind-3.2.3/valgrind.pc.in	2007-02-13 08:04:57.000000000 -0500
Jakub Jelinek d0c7c9
@@ -4,13 +4,13 @@ libdir=@libdir@
Jakub Jelinek d0c7c9
 includedir=@includedir@/valgrind
Jakub Jelinek d0c7c9
 arch=@VG_ARCH@
Jakub Jelinek d0c7c9
 os=@VG_OS@
Jakub Jelinek d0c7c9
-platform=@VG_PLATFORM_PRI@
Jakub Jelinek d0c7c9
+platform=@VG_PLATFORM@
Jakub Jelinek d0c7c9
 valt_load_address=@VALT_LOAD_ADDRESS@
Jakub Jelinek d0c7c9
 
Jakub Jelinek d0c7c9
 Name: Valgrind
Jakub Jelinek d0c7c9
 Description: A dynamic binary instrumentation framework
Jakub Jelinek d0c7c9
 Version: @VERSION@
Jakub Jelinek d0c7c9
 Requires:
Jakub Jelinek d0c7c9
-Libs: -L${libdir}/valgrind/@VG_PLATFORM_PRI@ -lcoregrind -lvex -lgcc
Jakub Jelinek d0c7c9
+Libs: -L${libdir}/valgrind/@VG_PLATFORM@ -lcoregrind -lvex -lgcc
Jakub Jelinek d0c7c9
 Cflags: -I${includedir}
Jakub Jelinek d0c7c9