ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/03/10/22:05:58

Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com
Message-ID: <04c301c0a9d8$2941ebb0$9865fea9@edward>
From: "edward" <tailbert AT yahoo DOT com>
To: <cygwin-apps AT cygwin DOT com>
Cc: <automake AT gnu DOT org>
References: <022b01c0a86a$d09a8080$9865fea9 AT edward> <002801c0a94a$e8e80e10$0200a8c0 AT lifelesswks> <038f01c0a96b$0b2bf980$9865fea9 AT edward> <001d01c0a972$fed9daf0$0200a8c0 AT lifelesswks>
Subject: automake updates (was Re: ok, new libtool for cygwin updates)
Date: Sat, 10 Mar 2001 22:05:39 -0500
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
X-Apparently-From: Swiftnsavv AT aol DOT com

This is a multi-part message in MIME format.

------=_NextPart_000_04C0_01C0A9AE.3E3FB4E0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

so, automake now behaves as well as could be expected. i've enclosed unified
diffs of all my cumulative changes against stock cvs automake as
attachments. still a couple of outstanding issues, but it's getting darn
close. you get

1) exe exec fix (remove exe everywhere and put it in where needed (install,
clean), see 2) and 3)
    fixes: script wrappers in libtool dll generation
2) exe install fix
    fixes: unbalanced exe problem, causing either foo.exe.exe or foo when it
should be foo.exe
3) exe clean fix
    fixes: clean should nuke foo.exe not foo (introduced because i
implemented 1)
4) missing embedded conditionals spaces
    fixes: nested conditionals showed up as FOO1_TRUEFOO2_TRUE instead of
FOO1_TRUE FOO2_TRUE (as demonstrated in cond3.test)
5) missing global space -> autoconf macro expansion for conditionals
    fixes: autoconf'd nested conditionals showed up as @FOO1_TRUE@@FOO2_TRUE
FOO3_TRUE@ (as demonstrated in cond3.test)
6) incorrect pr19 test validation fix
    fixes: compared 11 lines of Makefile.in against expected, when it should
compare all 12 relevant lines
7) incorrect subdir3.test validation fix
    fixes: uses the correct test (look for OBJEXT not .o)
8) freebie: my partially specified conditional targets patch
    fixes: allows one to use automake's built in rules for targets that are
conditionally specified

if HAVE_FOO
foo:
    echo imma script foo
    touch foo
else
foo_SOURCES = foo.c
endif

bin_PROGRAMS = $(foo)

    prior to this patch, automake would not generate rules for
foo_SOURCES -> foo_OBJECTS etc. now it does, and the conditionals determine
which get executed

----- Original Message -----
From: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
To: "edward" <tailbert AT Yahoo DOT com>; <cygwin-apps AT cygwin DOT com>
Cc: <automake AT gnu DOT org>
Sent: Saturday, March 10, 2001 10:01 AM
Subject: Re: ok, new libtool for cygwin updates


> Thanks edward,
>     when I started looking into those, I read somewhere in the automake
> pages, that the XFAIL results, are "expected fails", so only the
>
> FAIL: pr87.test

pr87.test fails because

    1) autodep isn't initialized correctly for C in automake.in

--- automake.in.orig Sat Mar 10 20:45:03 2001
+++ automake.in Sat Mar 10 20:47:12 2001
@@ -757,7 +757,7 @@
 ################################################################

 # Initialize our list of languages that are internally supported.
-&register_language ('c', 'ansi-p=1', 'autodep=', 'flags=CFLAGS',
+&register_language ('c', 'ansi-p=1', 'autodep=no', 'flags=CFLAGS',
       'compile=$(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS)
$(AM_CFLAGS) $(CFLAGS)',
       'compiler-name=COMPILE',
       'output-arg=-c',

    2) the install target in progs.am isn't fully cygwin aware.
specifically, /usr/bin/install is picky about the usage of .exe in the
following: /usr/bin/install -c SRC DST

    if SRC and DST is really SRC.exe and DST.exe, then it's ok
    if SRC and DST *neither* have .exe, then it's ok
    if SRC xor DST have .exe then it's bad bad bad.

--- progs.am.orig Sat Mar 10 20:46:49 2001
+++ progs.am Sat Mar 10 20:47:30 2001
@@ -35,7 +35,10 @@
 ## Note that we explicitly set the libtool mode.  This avoids any
 ## lossage if the install program doesn't have a name that libtool
 ## expects.
-?INSTALL?     f=`echo $$p|sed
's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+?INSTALL?     case $$p in \
+?INSTALL?     *.exe) f=`echo $$p|sed
's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`;; \
+?INSTALL?     *) f=`echo $$p|sed '$(transform)'`;; \
+?INSTALL?     esac; \
 ?INSTALL??LIBTOOL?    echo " $(INSTALL_PROGRAM_ENV)
$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p
$(DESTDIR)$(%NDIR%dir)/$$f"; \
 ?INSTALL??LIBTOOL?    $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install
$(INSTALL_PROGRAM) $$p $(DESTDIR)$(%NDIR%dir)/$$f; \
 ?INSTALL??!LIBTOOL?    echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$p
$(DESTDIR)$(%NDIR%dir)/$$f"; \

> FAIL: subdirbuiltsources.test
>

works for me.

> Still need to be looked at. Sorry for the slight misdirection.
>
> Rob

edward


------=_NextPart_000_04C0_01C0A9AE.3E3FB4E0
Content-Type: application/x-compressed;
	name="automake-cygwin.patch.gz"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
	filename="automake-cygwin.patch.gz"

H4sICPLqqjoAA2F1dG9tYWtlLWN5Z3dpbi5wYXRjaAC1Wnt32sYS/xs+xYQoBsLbzxiXFOqQXvfa
JsfQ3p5TN3QtFlAtJKpHbOpyP/ud2YcknjbJuT4nSNrZmd2dx29mdzOwhkMohR6UHuH8l654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zk8Cp9P3F
dbfXurz8Xub9xh/cHLtgGNN/CPuyfiVKSwadFBm5ACtNH4Nqkj9DohHTK9k/zuA2XViUaDL0PhRH
JyorxLdl/sjz3zzqmmHfrpGalLKei/vMpGaImr+/vPih1+lIuhCXEdeigqpPlfrt61/o5lP1zWOg
kv0a2jQrDHmhEbpm7fY+XNzkjdwbDPSbNwPLy+Pqhpktk/j/j740+KtdVPA1C/3aAKfTYL9CoHEg
Tobj8FymrAn45S4L/+3gsF7DwK+uCfwVtgQAVE/rVYSM/RgADqvF2hEU6FFVB5ZG6+de56r17zZV
o6IAqNEGlxy05ECJQ7aC1QxlkD7d1p73utDAMvXWqNAuFy1Qt113Kt7kryN+K6LHHawlzrMbBFdg
msXZ32NmtcV/13iPKDIITT5IY0ZhD/eQTRdW2H77fHv7e8GonG2aabEiuhgVlTWmnuVQRp9vGgz1
YqIe30tYQlV89x1k252P2TQ0ad8r8kWz2fvXTTv++E9HJJDmyiQgeHDLRk5edue/0b2w6vCXzU9t
G12KiKluqLLIIdSO69WjenVdFkkyJPJIrX5QrR/UYjfaLx5DYT/KIvBBnQnQBW5LCQMSRuUpd75Y
nuvQsXqZOvfcCfQ8d8Jn8F0gnk1zNnJCv2y6k/eo+gImkt8g82j80r75odNtZ+BVAz8z8PsZJRiH
bEjpqfSYLgwtuk17DW3HJ4UZvmdiKAuy6XoeGs+e4ajypnGo6VKJ6O9P4hpbYgi11XX2EnfxwD3P
9TJQe7+3/41Ww9IGx10PC0naRismO6V6IYefsOavHUMVjXNQr55stOYC46JVj2r1/WrCqrXiIZqV
frdCw8jjU8h+/vu27NbhsYJP01gIpHQh7hK5/Yau/wOLmveq1CUAAA==

------=_NextPart_000_04C0_01C0A9AE.3E3FB4E0--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019