[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Automake-commit] [SCM] GNU Automake branch, master, updated. v1.11-332-
From: |
Peter Rosin |
Subject: |
[Automake-commit] [SCM] GNU Automake branch, master, updated. v1.11-332-g33a8e71 |
Date: |
Tue, 31 Aug 2010 20:07:51 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Automake".
http://git.sv.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=33a8e710257bdb9a61093172158af3b503febb66
The branch, master has been updated
via 33a8e710257bdb9a61093172158af3b503febb66 (commit)
via 8429d356654fe5248f039e57f5532b5aa68aee24 (commit)
from 81e3ce9548ad55f86b042b0dbb32e62bdf6314d3 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 33a8e710257bdb9a61093172158af3b503febb66
Merge: 81e3ce9 8429d35
Author: Peter Rosin <address@hidden>
Date: Tue Aug 31 21:58:29 2010 +0200
Merge branch 'msvc'
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 7 +++++++
lib/compile | 4 ++--
tests/compile4.test | 7 +++++--
3 files changed, 14 insertions(+), 4 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 13b2c88..57918e9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2010-08-31 Peter Rosin <address@hidden>
+
+ Do file name conversion for object files in the compile wrapper.
+ * lib/compile (func_cl_wrapper): Do file name conversion for object
+ files (i.e. extensions .obj, .OBJ, .o and .O) if needed.
+ * lib/compile4.test: Test the above.
+
2010-08-21 Ralf Wildenhues <address@hidden>
Speed up removal of auxiliary linker output files for ltlibraries.
diff --git a/lib/compile b/lib/compile
index b6419ce..77f8f31 100755
--- a/lib/compile
+++ b/lib/compile
@@ -1,7 +1,7 @@
#! /bin/sh
# Wrapper for compilers which do not understand `-c -o'.
-scriptversion=2010-08-16.11; # UTC
+scriptversion=2010-08-31.19; # UTC
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009, 2010 Free Software
# Foundation, Inc.
@@ -142,7 +142,7 @@ func_cl_wrapper ()
set x "$@" -Tp"$file"
shift
;;
- *.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib)
+ *.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO])
func_file_conv "$1" mingw
set x "$@" "$file"
shift
diff --git a/tests/compile4.test b/tests/compile4.test
index 9e7bcbb..5a0bdf3 100755
--- a/tests/compile4.test
+++ b/tests/compile4.test
@@ -42,7 +42,8 @@ main ()
EOF
absfoodir=`pwd`/sub
-absmain=`pwd`/main.c
+absmainc=`pwd`/main.c
+absmainobj=`pwd`/main.obj
cat >> configure.in << 'END'
AC_PROG_CC
@@ -67,6 +68,8 @@ $AUTOMAKE -a
./configure
$MAKE
+./compile cl $CPPFLAGS $CFLAGS -c -o "$absmainobj" "$absmainc"
+
# cl expects archives to be named foo.lib, not libfoo.a so
# make a simple copy here if needed. This is a severe case
# of badness, but ignore that since this is not what is
@@ -75,7 +78,7 @@ if test -f sub/libfoo.a; then
cp sub/libfoo.a sub/foo.lib
fi
-./compile cl $CPPFLAGS $CFLAGS $LDFLAGS -L"$absfoodir" "$absmain" -o main -lfoo
+./compile cl $CFLAGS $LDFLAGS -L"$absfoodir" "$absmainobj" -o main -lfoo
./main
hooks/post-receive
--
GNU Automake
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Automake-commit] [SCM] GNU Automake branch, master, updated. v1.11-332-g33a8e71,
Peter Rosin <=