autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Autoconf-patches] Re: Removing two hacks for Visual C/C++


From: Pavel Roskin
Subject: [Autoconf-patches] Re: Removing two hacks for Visual C/C++
Date: Tue, 19 Sep 2000 09:59:33 -0400 (EDT)

Hello, Akim!

> Thanks for the test Pavel.  Here is what I checked in (this is the
> test suite, so I can, eh eh eh :) based on your proposal.  We
> certainly can discuss improvements of the atspecific macros interface.

Thank you! While I'm on it, mycpp can be slightly simplified. The
"err_code" variable is not needed. I realized it one minute after I sent
the patch.

ChangeLog:
        * tests/semantics.m4 (AC_PROG_CPP with warnings): minor
        simplification

=======================
Index: tests/semantics.m4
--- tests/semantics.m4  Tue Sep 19 09:50:09 2000
+++ tests/semantics.m4  Tue Sep 19 09:51:10 2000
@@ -320,10 +320,9 @@
 
 AT_DATA([mycpp],
 [[#! /bin/sh
-${1+"$@"}
-err_code=$?
 echo noise >&2
-exit $err_code
+${1+"$@"}
+exit $?
 ]])
 
 chmod +x mycpp
=======================

Regards,
Pavel Roskin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]