autoconf-patches
[Top][All Lists]
Advanced

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

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


From: Pavel Roskin
Subject: Re: [Autoconf-patches] Re: Removing two hacks for Visual C/C++
Date: Mon, 25 Sep 2000 07:54:41 -0400 (EDT)

Hello, Alexandre!

> > +${1+"$@"}
> > +exit $?
> 
> Would `exec ${1+"$@"}' accomplish the same?  What am I missing?

Thank you!
ChangeLog:
        * tests/semantics.m4 (AC_PROG_CPP with warning): Simplified.
        From Alexandre Oliva.

______________________
Index: tests/semantics.m4
--- tests/semantics.m4  Mon Sep 25 07:50:06 2000
+++ tests/semantics.m4  Mon Sep 25 07:51:36 2000
@@ -321,8 +321,7 @@
 AT_DATA([mycpp],
 [[#! /bin/sh
 echo noise >&2
-${1+"$@"}
-exit $?
+exec ${1+"$@"}
 ]])
 
 chmod +x mycpp
______________________

Regards,
Pavel Roskin




reply via email to

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