[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] Installing on cygwin -- add .exe extension when needed

From: egor duda <deo_at_logos-m.ru>
Date: 2002-10-16 15:25:47 CEST

Hi!

This patch should fix the problem with .exe extension during
'make install' on cygwin, which Noel Yap has reported recently. It
should be portable among autoconf-based platforms. I'm not sure if
MSVC build is affected, though.

Index: ./Makefile.in
===================================================================
--- ./Makefile.in
+++ ./Makefile.in Wed Oct 16 17:08:50 2002
@@ -73,6 +73,8 @@
 LINK = $(LIBTOOL) $(LTFLAGS) --mode=link $(LT_LDFLAGS) $(CC) $(CFLAGS) $(LDFLAGS) -rpath $(libdir)
 LINK_APACHE_MOD = $(LIBTOOL) $(LTFLAGS) --mode=link $(LT_LDFLAGS) $(CC) $(CFLAGS) $(LDFLAGS) -rpath $(APACHE_LIBEXECDIR)
 
+EXEEXT = @EXEEXT@
+
 INSTALL = @INSTALL@
 INSTALL_LIB = $(LIBTOOL) --mode=install $(INSTALL)
 INSTALL_BASE_LIB = $(INSTALL_LIB)
Index: ./configure.in
===================================================================
--- ./configure.in
+++ ./configure.in Mon Oct 14 12:28:20 2002
@@ -75,6 +75,8 @@
 AC_SUBST(SVN_EXTRA_LIBS)
 AC_SUBST(SVN_SUBDIRS)
 
+AC_EXEEXT
+
 dnl Configure APR, and local Berkeley DB if any --------------------------
 
 
Index: ./build/gen_make.py
===================================================================
--- ./build/gen_make.py
+++ ./build/gen_make.py Wed Oct 16 17:01:58 2002
@@ -13,7 +13,7 @@
 class MakefileGenerator(gen_base.GeneratorBase):
 
   _extension_map = {
- ('exe', 'target'): '',
+ ('exe', 'target'): '$(EXEEXT)',
     ('exe', 'object'): '.o',
     ('lib', 'target'): '.la',
     ('lib', 'object'): '.lo',
  

Egor. mailto:deo@logos-m.ru ICQ 5165414 FidoNet 2:5020/496.19

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Oct 16 15:27:22 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.