Mailing List Archive

Use apxs to install module? (patch)
I'm not as handy with auto(conf|make) as I'd (like|should) be,
but I think this may go a long ways towards making mod_backhand easier
to install (esp via the ports for FreeBSD).

-sc

PS Careful: tab may not be preserved by MUA.


--- Makefile.in.orig Mon Oct 1 21:28:24 2001
+++ Makefile.in Mon Oct 1 21:29:59 2001
@@ -51,6 +51,7 @@
$(top_srcdir)/mkinstalldirs $(libdir)
$(top_srcdir)/mkinstalldirs $(infodir)
$(INSTALL) $(BINNAME) $(bindir)/$(BINNAME)
+ $(bindir)/apxs -i -A -n backhand $(BINNAME).so

#$(INSTALL) mod_backhand.so $(bindir)/mod_backhand.so



--
Sean Chittenden
Use apxs to install module? (patch) [ In reply to ]
On Tuesday, October 2, 2001, at 12:35 AM, Sean Chittenden wrote:
> $(bindir)/apxs -i -A -n backhand $(BINNAME).so

$(BINNAME) should be "mod_backhand.so" so you don't need the .so on the
end of that line, right?

--
Theo Schlossnagle
1024D/82844984/95FD 30F1 489E 4613 F22E 491A 7E88 364C 8284 4984
2047R/33131B65/71 F7 95 64 49 76 5D BA 3D 90 B9 9F BE 27 24 E7
Use apxs to install module? (patch) [ In reply to ]
> > $(bindir)/apxs -i -A -n backhand $(BINNAME).so
>
> $(BINNAME) should be "mod_backhand.so" so you don't need the .so on the
> end of that line, right?

If binname is mod_backhand.so, then yeah. I wasn't sure if the .so
ueber modular and supported being renamed. ;) the apxs utility will
copy the file into the right place and should enable it in the config.
I've noticed that with apxs however, that sometimes it'll add my DSO's
into my <IfDefine SSL> section, but it goes a long way toward making
DSO's easy to install. -sc

--
Sean Chittenden