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

[PATCH] mod_dav_svn instead of libmod_dav_svn

From: Sander Striker <striker_at_apache.org>
Date: 2002-04-12 12:04:03 CEST

This has been bothering me for a while now. Might aswell
scratch this itch.

Comments?

Sander

Log:
* (build.conf): Rename libmod_dav_svn target to mod_dav_svn.
    Pass -module to libtool to keep it happy; it won't except
    names starting with anything else than 'lib' otherwise.

* build/

  (gen_base.py): Adjust to the above change on install.

Index: ./build.conf
===================================================================
--- ./build.conf
+++ ./build.conf Fri Apr 12 11:37:53 2002
@@ -152,12 +152,13 @@
 libs = libsvn_delta libsvn_subr $(SVN_APR_LIBS)

 # Subversion plugin for Apache's mod_dav
-[libmod_dav_svn]
+[mod_dav_svn]
 type = lib
 path = subversion/mod_dav_svn
 libs = libsvn_repos libsvn_fs libsvn_delta libsvn_subr
 # we don't need the .so version stuff for an Apache module, so avoid them
-link-flags = -avoid-version
+# pass -module to allow name to start with something else than 'lib'
+link-flags = -avoid-version -module
 # need special build rules to include the Apache headers
 custom = apache-mod
 install = apache-mod
Index: ./build/gen_base.py
===================================================================
--- ./build/gen_base.py
+++ ./build/gen_base.py Fri Apr 12 11:45:47 2002
@@ -213,7 +213,7 @@
           # cd to dirname before install to work around libtool 1.4.2 bug.
           dirname, fname = os.path.split(file)
           base, ext = os.path.splitext(fname)
- name = string.replace(base, 'libmod_', '')
+ name = string.replace(base, 'mod_', '')
           self.ofile.write('\tcd %s ; $(INSTALL_MOD_SHARED) -n %s %s\n'
                            % (dirname, name, fname))
           if ext == '.la':

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Apr 12 11:58:07 2002

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