[Top][All Lists]

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

Re: Autoconf 2.60a on UnixWare 7.1.4

From: Paul Eggert
Subject: Re: Autoconf 2.60a on UnixWare 7.1.4
Date: Tue, 12 Sep 2006 00:10:09 -0700
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

Tim Rice <address@hidden> writes:

> So I tried this patch (on a fresh tree). Tests passed.

That's really weird.  It depends on the spelling of "_ASEOF"?  Wow.

I just now undid the change to the documentation, since my guess
apparently was not correct.  Instead, I installed the following change
which I hope works around the problem by avoiding the here-document

2006-09-12  Paul Eggert  <address@hidden>

        * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Avoid bug in UnixWare
        7.1.4 /usr/bin/posix/sh described by Tim Rice in

--- m4sh.m4     20 Jun 2006 05:35:38 -0000      1.192
+++ m4sh.m4     12 Sep 2006 07:07:32 -0000      1.193
@@ -1021,10 +1021,7 @@ esac[]dnl
 [# Find out whether ``test -x'' works.  Don't use a zero-byte file, as
 # systems may use methods other than mode bits to determine executability.
-cat >conf$$.file <<_ASEOF
-#! /bin/sh
-exit 0
+echo '#! /bin/sh' >conf$$.file
 chmod +x conf$$.file
 if test -x conf$$.file >/dev/null 2>&1; then
   as_executable_p="test -x"

reply via email to

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