You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "Philip M. Gollucci" <ph...@p6m7g8.com> on 2003/03/01 21:26:29 UTC
Writing Apache 2 Modules
First of all, I'll take any and all pointers to documentation on this.
Second, I am trying to setup
autoconf/automake/CVS build environment
in my configure.ac
dnl Compile time options
AC_ARG_WITH(
apxs,
[AC_HELP_STRING([--with-apxs path to apxs binary])],
[
if test -x $withval; then
APXS=$withval
AC_SUBST($APXS)
AC_MSG_RESULT([Using apxs....`$APXS`])
else
AC_MSG_ERROR([Can't find a usable apxs])
fi
],
[AC_MSG_ERROR([Can't find a usable apxs])]
)
I have yet to find a module that actually does this. I even scoured mod_php4.
mod_perl2 the one I would know best doesn't help since it uses perl
Makefile.PL. I've seen lots of --with-apache=DIR, but doesn't help me very
much.
--
END
------------------------------------------------------------------------------
Philip M. Gollucci philip@p6m7g8.com 301.474.9294 301.646.3011 (cell)
Science, Discovery, & the Universe (UMCP)
Webmaster & Webship Teacher
URL: http://www.sdu.umd.edu
eJournalPress
Database/PERL Programmer & System Admin
URL : http://www.ejournalpress.com
Resume : http://p6m7g8.net/Resume
Re: Writing Apache 2 Modules
Posted by "Philip M. Gollucci" <ph...@p6m7g8.com>.
Thanks a bunch that is unbelievably helpful.
FYI: now I got side tracked and have to update the FreeBSD ports of
Subversion. :)
Thanks again
On Sunday 02 March 2003 04:56, Chris Monson wrote:
> Try looking at the subversion code. It uses APXS and has a fairly
> intelligent set of macros to do it. It also looks for and uses
> apr-config and apu-config. It's pretty cool.
>
> http://subversion.tigris.org/project_source.html
>
> Good luck. I can also send you the appropriate m4 files if you are
> interested.
>
> C
>
> Philip M. Gollucci wrote:
> >First of all, I'll take any and all pointers to documentation on this.
> >
> >Second, I am trying to setup
> > autoconf/automake/CVS build environment
> >
> >in my configure.ac
> > dnl Compile time options
> >AC_ARG_WITH(
> > apxs,
> > [AC_HELP_STRING([--with-apxs path to apxs binary])],
> > [
> > if test -x $withval; then
> > APXS=$withval
> > AC_SUBST($APXS)
> > AC_MSG_RESULT([Using apxs....`$APXS`])
> > else
> > AC_MSG_ERROR([Can't find a usable apxs])
> > fi
> > ],
> > [AC_MSG_ERROR([Can't find a usable apxs])]
> > )
> >
> >I have yet to find a module that actually does this. I even scoured
> > mod_php4. mod_perl2 the one I would know best doesn't help since it uses
> > perl Makefile.PL. I've seen lots of --with-apache=DIR, but doesn't help
> > me very much.
--
END
------------------------------------------------------------------------------
Philip M. Gollucci philip@p6m7g8.com 301.474.9294 301.646.3011 (cell)
Science, Discovery, & the Universe (UMCP)
Webmaster & Webship Teacher
URL: http://www.sdu.umd.edu
eJournalPress
Database/PERL Programmer & System Admin
URL : http://www.ejournalpress.com
Resume : http://p6m7g8.net/Resume
Re: Writing Apache 2 Modules
Posted by Chris Monson <ch...@orangatango.net>.
Try looking at the subversion code. It uses APXS and has a fairly
intelligent set of macros to do it. It also looks for and uses
apr-config and apu-config. It's pretty cool.
http://subversion.tigris.org/project_source.html
Good luck. I can also send you the appropriate m4 files if you are
interested.
C
Philip M. Gollucci wrote:
>First of all, I'll take any and all pointers to documentation on this.
>
>Second, I am trying to setup
> autoconf/automake/CVS build environment
>
>in my configure.ac
> dnl Compile time options
>AC_ARG_WITH(
> apxs,
> [AC_HELP_STRING([--with-apxs path to apxs binary])],
> [
> if test -x $withval; then
> APXS=$withval
> AC_SUBST($APXS)
> AC_MSG_RESULT([Using apxs....`$APXS`])
> else
> AC_MSG_ERROR([Can't find a usable apxs])
> fi
> ],
> [AC_MSG_ERROR([Can't find a usable apxs])]
> )
>
>I have yet to find a module that actually does this. I even scoured mod_php4.
>mod_perl2 the one I would know best doesn't help since it uses perl
>Makefile.PL. I've seen lots of --with-apache=DIR, but doesn't help me very
>much.
>
>
>
>
>
>