[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fwd: M4 on OS/2]
From: |
Andy Willis |
Subject: |
[Fwd: M4 on OS/2] |
Date: |
Sun, 07 Aug 2005 11:30:32 -0600 |
User-agent: |
Mozilla/5.0 (OS/2; U; Warp 4.5; en-US; rv:1.8b4) Gecko/20050806 SeaMonkey/1.0a |
I have just built M4 1.4.3 on OS/2 and found 2 small problems. The
first is that despite a config.site file it overrode my AR=emxomfar and
set AR=ar in the makefile in lib. Don't know anyway around that other
than manually fixing it.
The second was when I issued 'make install'. It copied m4 and not
m4.exe. I am attaching a diff that fixed that and as far as I know
shouldn't break anything else.
Andy
--- makefile.old 2005-08-07 11:20:06.000000000 -0600
+++ makefile.in 2005-08-07 11:17:08.000000000 -0600
@@ -36,7 +36,7 @@
exec_prefix = @exec_prefix@
transform = @program_transform_name@
bindir = $(exec_prefix)/bin
-
+EXEEXT = @EXEEXT@
COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
LINK = $(CC) $(LDFLAGS) -o $@
@@ -86,11 +86,11 @@
install: all
$(srcdir)/../mkinstalldirs $(DESTDIR)$(bindir)
- $(INSTALL_PROGRAM) m4 \
- $(DESTDIR)$(bindir)/`echo m4 | sed '$(transform)'`
+ $(INSTALL_PROGRAM) m4$(EXEEXT) \
+ $(DESTDIR)$(bindir)/`echo m4$(EXEEXT) | sed '$(transform)'`
uninstall:
- rm -f $(DESTDIR)$(bindir)/`echo m4 | sed '$(transform)'`
+ rm -f $(DESTDIR)$(bindir)/`echo m4$(EXEEXT) | sed '$(transform)'`
tags: TAGS
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fwd: M4 on OS/2],
Andy Willis <=