acinclude.m4

Checkout Tools
  • last updated 7 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Prepare for --avoid-dbm option to apu-1-config.
soften up the cookie parser

  1. … 4 more files in changeset.
add -fno-strict-aliasing to maintainer

mode, otherwise this beast won't compile.

Use --avoid-ldap with apu-1-config where available.
Make input brigade volatile in order to give hints to GCC.

Revert -fno-strict-aliasing, which breaks some compilers.

  1. … 2 more files in changeset.
Link APREQ docs to version specific APR/APU docs.
  1. … 2 more files in changeset.
libtool version 1.5.x on Sun OS (tested 5.10)

have a typo

shrext='.so'

this should be

shrext_cmds='.so'

since no version of libtool gets this correct, we

manually edit ./libtool after it is generated to correct this,

but only on Sun OS.

  1. … 1 more file in changeset.
line wrap

Apparently SunOS (tested 5.10) doesn't like -lexpat and -lhttpd/lib/libexpat.so to be specified simultaneously

In this case, we now strip -lexpat and use the one from httpd.

ld: fatal: recording name conflict: file `/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/../../../libexpat.so' and file `httpd/lib/libexpat.so'

provide identical dependency names: libexpat.so.0 (possible multiple inclusion of the same file)

bsdtar (default on FreeBSD) is nolonger with the Fedora Core series FC5 and higher.

Fortunately, FreeBSD has gtar available as a port (/usr/local/archivers/gtar)

which will be used by default now on this platform via some Makefile.am/acinclude.m4 foo.

This change should only affect release managers and make the resulting tarballs

usable by all.

Reported by: Bojan Smojver <bojan@rexursive.com>

Message ID : <1152563966.499.14.camel@coyote.rexursive.com> (start of thread)

Redhat Bug : https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=198305

  1. … 1 more file in changeset.
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=193740

based on this, add -fno-strict-aliasing to work around gcc oddities with the APR_{RING|BRIGRADE}_* macros

particularly on linux based platforms.

Reported by: bojan@rexursive.com

s/mod_perl/mod_perl2/g in version checks

Add MakeMaker options flag.

Submitted by: Philip Gollucci

  1. … 1 more file in changeset.
When testing perl prerequisites, warn, rather than die, on

failure, so as CPAN clients have a chance to install missing

prerequisites.

  1. … 1 more file in changeset.
Apply Max Kellermann's "[PATCN] apreq_quote() fixes and more":

http://marc.theaimsgroup.com/?l=apreq-dev&m=111471098727811&w=2

Submitted by: Max Kellermann

Reviewed by: joes

  1. … 4 more files in changeset.

aclocal wants brackets around APR_CONFIG_NICE.

Submitted by: Edward Sabol

Reviewed by: joes

Make our "libtool current interface" number depend on apr's

major number. This allows libapreq2 to be installed into a

system-wide location while avoiding ABI conflicts arising from

our apr-based interfaces.

  1. … 3 more files in changeset.

Add --with-apache2-httpd option so users can override apxs's

notion of where the httpd executable is. XSBuilder's header

parser runs from buildconf now instead of configure, so we

will include those tables in the release tarball. buildconf

gets an additional --with-perl option for running the xsbuilder.pl

parsing script. The XS generation code in xsbuilder.pl has moved

to glue/perl/Makefile.PL.

Notes: This patch probably breaks the Win32 build, and the new arg

parsing code for buildconf is copied from httpd's buildconf script.

  1. … 8 more files in changeset.

Allow --with-ap[ru]-config flags to override the apxs path

when --with-apache2-apxs is used. Users need this option

when ap[ru]-config is renamed/reshuffled after installation,

but the installed apxs isn't updated to reflect the change.

Replace the hardcoded "httpd" with `apxs -q progname`,

since vendors (eg. Mandrake) sometimes name it "httpd2"

or somesuch.

Also add --with-apache2-httpd flag to allow users to

override the path to httpd, which is normally

derived from

% apxs -q SBINDIR progname

Users need this option when httpd is renamed/reshuffled

after installation, but the installed apxs isn't updated

to reflect the change.

property cleanup

  1. … 115 more files in changeset.
Be a bit more generic and use apr-$APR_MAJOR_VERSION-config whenever $APR_MAJOR_VERSION != 0

Support ap[ru]-1-config via apxs

Add -pg to --enable-profile options for folks profiling with dprof (requires static linking because dprof doesn't profile shared libs).

  1. … 1 more file in changeset.
Introduce @AP[RU]_LDFLAGS@ so we don't mix these flags with @AP[RU]_LIBS@ until EU::MM forces us to (in build/xsbuilder.pl). Also list functions not covered by our tests in STATUS.

  1. … 5 more files in changeset.
Add --enable-profile configure option, which builds libapreq2 with gcov/gprof support. It's convenient to do this only for the shared library, because modules like mod_apreq.so won't dynaload into a normal httpd if profiling is enabled (for mod_apreq.c only, not sure what happens if httpd has profiling support compiled into it also).

  1. … 1 more file in changeset.
query apr-config for -D_LARGEFILE64_SOURCE and other interesting flags

Reviewed by: joe

LTLIBS shouldn't require --ldflags, and CPPFLAGS needs to be supplemented with those from apr-config (esp -D_LARGEFILE64_SOURCE is missing).

Reviewed by: joes

demand minimum ExtUtils::MakeMaker version - early versions

don't correctly place pm files under an Apache2/ subdirectory,

which can lead to clobbering an existing libapreq-1 installation

(reported by Chad Kreimendahl <Chad.Kreimendahl (at) umb.com>).

  1. … 2 more files in changeset.
Use ac_configure_args for constructing config.nice. Without this patch it was possible for config.status to add --no-create --disable-recursion arguments. ac_configure_args always filters these args out.