automake
[Top][All Lists]
Advanced

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

Re: ok, new libtool for cygwin updates


From: edward
Subject: Re: ok, new libtool for cygwin updates
Date: Mon, 12 Mar 2001 07:51:17 -0500

----- Original Message -----
From: "Akim Demaille" <address@hidden>
To: "edward" <address@hidden>
Cc: <address@hidden>; <address@hidden>
Sent: Monday, March 12, 2001 6:21 AM
Subject: Re: ok, new libtool for cygwin updates


> "edward" <address@hidden> writes:
>
> > cond3.test fails for three reasons.
>
> Thanks, the fix has been applied.
>
> >     3) cond3.test has an incorrect comparison test function (the sed
script
> > skips a line!) sorry, i'm not a big fan of sed. oh well.
>
> I had reworked the snippet in the meanwhile.  It should be ok now.
>
> > > FAIL: pr19.test
> >
> > pr19.test fails for two reasons.
> >
> >     1) foo.exe isn't cleaned properly (automake.in patch enclosed as
> > automake-cygwin-exeext.patch)
> >
> > --- automake.in.orig Sat Mar 10 07:14:42 2001
> > +++ automake.in Sat Mar 10 07:15:21 2001
> > @@ -1048,7 +1048,7 @@
> >      # If OBJEXT/EXEEXT were not set in configure.in, do it, it
> >      # simplifies our task, and anyway starting with Autoconf 2.50, it
> >      # will always be defined, and this code will be dead.
> > -    $output_vars .= "EXEEXT =\n"
> > +    $output_vars .= "EXEEXT = address@hidden@\n"
>
> No, we cannot do that.  We precisely issue this line when we have not
> seen that AC_EXEEXT was used, so we cannot depend EXEEXT.  We need to
> understand why it failed in pr19.  I suppose you are not running Unix
> here?

ah, point taken. until autoconf 2.5 is released, how about:

--- orig/automake.in.orig Mon Mar 12 06:44:59 2001
+++ automake.in Mon Mar 12 07:44:57 2001
@@ -1048,8 +1048,17 @@
     # If OBJEXT/EXEEXT were not set in configure.in, do it, it
     # simplifies our task, and anyway starting with Autoconf 2.50, it
     # will always be defined, and this code will be dead.
-    $output_vars .= "EXEEXT =\n"
-      unless $seen_exeext;
+    unless($seen_exeext)
+    {
+      if ($^O =~ /(cygwin|MSWin32)/)
+      {
+        $output_vars .= "EXEEXT = .exe\n";
+      }
+      else
+      {
+ $output_vars .= "EXEEXT = \n";
+      }
+    }
     $output_vars .= "OBJEXT = o\n"
       unless $seen_objext;

while this patch offends me, at least it will allow testing, etc. to
continue until autoconf 2.5 comes out.

cheers,
edward





reply via email to

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