Bug 45754

Summary: autoconf macros
Product: Apache httpd-2 Reporter: ms419
Component: BuildAssignee: Apache HTTPD Bugs Mailing List <bugs>
Status: NEW ---    
Severity: enhancement    
Priority: P2    
Version: 2.5-HEAD   
Target Milestone: ---   
Hardware: PC   
OS: Linux   

Description ms419 2008-09-06 13:22:58 UTC
I would like to distribute the CHECK_APACHE() autoconf macro from mod_skeleton, which is useful for building Apache modules, with Apache httpd, like Apache already distributes Makefile fragments in build/*.mk: http://modskeleton.googlecode.com/svn/trunk/m4/apache.m4

This macro checks that Apche is installed, that it is at least a given version, and sets up appropriate build flags.

Many Apache modules already use this macro in their build systems, e.g. mod_gnutls: http://svn.outoforder.cc/svn/mod_gnutls/trunk/m4/apache.m4

- and it is common for projects to distribute autoconf macros which help other projects build against them, e.g. the AM_PATH_LIBGNUTLS() macro from libgnutls.m4: http://git.savannah.gnu.org/gitweb/?p=gnutls.git;a=blob;f=lib/libgnutls.m4

I would like to distribute the CHECK_APACHE() autoconf macro with Apache httpd because then when improvements are made, they would benefit all modules, instead of each module maintaining their own version of this macro.