summaryrefslogtreecommitdiffstats
path: root/support/apxs.in (follow)
Commit message (Collapse)AuthorAgeFilesLines
* silence an "uninitialized value" warningGiovanni Bechis2020-03-231-1/+6
| | | | | | | bz 63307 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1875534 13f79535-47bb-0310-9956-ffa450edef68
* fix apxs for non-destdir buildsEric Covener2020-03-191-1/+6
| | | | | | | | | | subtr(...,0, -1) chops off a character and leaves relative path. (you will need to re-run configure) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1875429 13f79535-47bb-0310-9956-ffa450edef68
* Allow instdso.sh to be found while cross compiling.Graham Leggett2019-12-281-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1872062 13f79535-47bb-0310-9956-ffa450edef68
* Add support for cross compiling to apxs. If apxs is being executed from ↵Graham Leggett2019-12-281-5/+10
| | | | | | | | | | somewhere other than its target location, add that prefix to includes and library directories. Without this, apxs would fail to find config_vars.mk and exit. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1872042 13f79535-47bb-0310-9956-ffa450edef68
* Remove unused APXS setting from template for generated MakefileJeff Trawick2013-10-251-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1535699 13f79535-47bb-0310-9956-ffa450edef68
* Make apxs use LDFLAGS from config_vars.mk in addition to CFLAGS and CPPFLAGSStefan Fritsch2012-05-271-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1343094 13f79535-47bb-0310-9956-ffa450edef68
* Support AP_DECLARE_MODULE declaration syntax in apxsNick Kew2010-06-221-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@956956 13f79535-47bb-0310-9956-ffa450edef68
* apxs -q: Stop filtering out ':' characters from the reported values.Jeff Trawick2010-05-141-1/+0
| | | | | | | | PR: 45343 Submitted by: Bill Cole <apachebugz-20090909 billmail.scconsult.com> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@944383 13f79535-47bb-0310-9956-ffa450edef68
* Fix the following:Philip M. Gollucci2010-05-071-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $> grep -e autoindex_ -e cgi_ httpd.conf LoadModule autoindex_module libexec/apache22/mod_autoindex.so LoadModule cgi_module libexec/apache22/mod_cgi.so fire up the following commands $> apxs -e -a -n autoindex mod_autoindex.so [activating module `autoindex' in /usr/local/etc/apache22/httpd.conf] $> apxs -e -a -n cgi mod_cgi.so [activating module `cgi' in /usr/local/etc/apache22/httpd.conf] This will result into the following httpd.conf $> grep -e autoindex_ -e cgi_ httpd.conf LoadModule autoindex_module libexec/apache22/mod_autoindex.so LoadModule cgi_module libexec/apache22/mod_cgi.so LoadModule autoindex_module libexec/apache22/mod_autoindex.so LoadModule cgi_module libexec/apache22/mod_cgi.so As you notice the modules are now loaded twice Now try to deactivate for the loaded ssl module $> grep ssl_ httpd.conf LoadModule ssl_module libexec/apache22/mod_ssl.so $> apxs -e -A -n ssl mod_ssl.so [preparing module `ssl' in /usr/local/etc/apache22/httpd.conf] $> grep ssl_ httpd.conf LoadModule ssl_module libexec/apache22/mod_ssl.so #LoadModule ssl_module libexec/apache22/mod_ssl.so As reported in FreeBSD ports PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/133704 Previously discussed with: wrowe@ This b/c '$lmd' expects the amount of space to be a fixed amount. Use \s+ to make any valid httpd.conf syntax work (i.e. at least 1 space) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@942209 13f79535-47bb-0310-9956-ffa450edef68
* Remove useless use of $[, which was long deprecated and is an error with ↵Stefan Fritsch2010-04-101-2/+1
| | | | | | | | | perl 5.12rc3. Submitted by: Roderich Schupp <roderich schupp googlemail com> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@932791 13f79535-47bb-0310-9956-ffa450edef68
* Bring back OS/2 support.Brian Havard2009-08-261-1/+1
| | | | | | | Reverses r758929 with a little bit of conflict resolution. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@807930 13f79535-47bb-0310-9956-ffa450edef68
* remove OS/2 platform supportJeff Trawick2009-03-271-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@758929 13f79535-47bb-0310-9956-ffa450edef68
* * Teach apxs to work with APR 2.x where there is no separate APR-UTILRuediger Pluem2009-03-251-8/+19
| | | | | | | any longer. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@758167 13f79535-47bb-0310-9956-ffa450edef68
* apxs: Enhance -q flag to print all known variables and their valuesSander Temme2007-02-011-5/+33
| | | | | | | when invoked without variable name(s). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@502323 13f79535-47bb-0310-9956-ffa450edef68
* * configure.in: Substitute MOD_SO_ENABLED variable.Joe Orton2007-01-101-19/+2
| | | | | | | | | | | * support/apxs.in: Use it to eliminate run-time check for whether httpd has mod_so built-in. Submitted by: David M. Lee <dmlee crossroads.com> PR: 40653 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@494781 13f79535-47bb-0310-9956-ffa450edef68
* update license header textRoy T. Fielding2006-07-111-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@420990 13f79535-47bb-0310-9956-ffa450edef68
* Update the last year of copyright.Colm MacCarthaigh2006-04-191-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@395229 13f79535-47bb-0310-9956-ffa450edef68
* * Makefile.in (install-build): Install mkdir.sh since it's used by theJoe Orton2005-06-101-1/+1
| | | | | | | | | installed special.mk now; install instdso.sh as 0755. * support/apxs.in: Fix Makefile template created by -g. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@189928 13f79535-47bb-0310-9956-ffa450edef68
* One issue I repeatedly have with 3rd party module builds is thatWilliam A. Rowe Jr2005-05-161-2/+4
| | | | | | | | | | | | | | | they may choose to build a platform-default library with the usual platform-default extension, as part of the compilation process. Modules built on HP/UX with the .sl extension, on OSX with .dylib, or on OS2 or Win32 with .dll are perfectly legitimate loadable modules, but don't pass muster with apxs. This patch allows any of the common source library extensions to be passed in, but makes .so the explicit target. The behavior already works for .la origin files with an .so target name. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@170383 13f79535-47bb-0310-9956-ffa450edef68
* Did not belong in r170253; evalute this patch seperately fromWilliam A. Rowe Jr2005-05-161-4/+2
| | | | | | the win32 /Oy- patch. Will recommit for seperate discussion. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@170380 13f79535-47bb-0310-9956-ffa450edef68
* Reintroduce stack frame construction with /Oy- (removal was implied by /O2).William A. Rowe Jr2005-05-151-2/+4
| | | | | | | | | This makes binaries far easier to debug, during operation and for post-crash .dmp analysis. Do not alter /Gs optimizations per brane. Reviewed by: stoddard, brane git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@170253 13f79535-47bb-0310-9956-ffa450edef68
* Update copyright year to 2005 and standardize on current copyright owner line.Justin Erenkrantz2005-02-041-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151408 13f79535-47bb-0310-9956-ffa450edef68
* * support/apxs.in: Ensure that only a .la target filename is passed onJoe Orton2004-09-281-1/+2
| | | | | | | | | the libtool link line otherwise libtool tries to link statically. PR: 31448 (more) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105310 13f79535-47bb-0310-9956-ffa450edef68
* * support/apxs.in: Reset $opt so that -I, -D and -Wc,* options are notJoe Orton2004-09-281-5/+2
| | | | | | | | | | | | passed to the libtool link line. For "-Wl,-foo" pass "-foo" on the link line regardless of whether gcc is used; without guessing whether libtool --mode=link will invoke gcc or some native ld the previous behaviour is not really correct. PR: 31448 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105309 13f79535-47bb-0310-9956-ffa450edef68
* * configure.in, acinclude.m4: Substitute AP[RU]_CONFIG with locationJoe Orton2004-08-131-11/+4
| | | | | | | | | | | of installed ap[ru]-config scripts so third-party modules can use `apxs -q APR_CONFIG`. * support/apxs.in: Use new AP[RU]_CONFIG variables; use apr-config --apr-libtool. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104641 13f79535-47bb-0310-9956-ffa450edef68
* Teach apxs how to find ap{ru}-$AP{RU}_MAJOR_VERSION-configJustin Erenkrantz2004-08-021-9/+15
| | | | | | | (httpd-2.1+ will be APR 1.0 or higher which uses this convention.) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104443 13f79535-47bb-0310-9956-ffa450edef68
* fix name of The Apache Software FoundationAndré Malo2004-02-091-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102619 13f79535-47bb-0310-9956-ffa450edef68
* fix copyright dates according the first cehck inAndré Malo2004-02-081-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102592 13f79535-47bb-0310-9956-ffa450edef68
* apply Apache License, Version 2.0André Malo2004-02-061-49/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102525 13f79535-47bb-0310-9956-ffa450edef68
* update license to 2004.André Malo2004-01-011-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102135 13f79535-47bb-0310-9956-ffa450edef68
* this won't work with 5.003, so bump up the require toJeff Trawick2003-09-191-1/+1
| | | | | | | | | 5.004: my $cntopen = () = ($before =~ m|^\s*<[^/].*$|mg); git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101296 13f79535-47bb-0310-9956-ffa450edef68
* Perform run-time query in apxs for apr and apr-util's includes.Justin Erenkrantz2003-05-211-7/+13
| | | | | | | | | This is required when they are in disjoint directories from httpd. Otherwise, apxs won't pass their include information into the compiler and the compilation will fail. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@99981 13f79535-47bb-0310-9956-ffa450edef68
* run libtool from the apr install directory (in case that is differentJeff Trawick2003-04-041-10/+14
| | | | | | | | | | | from the apache install directory) further changes are needed to automatically pick up apr and apr-util include directories; for now, "-Wc,-I/path" needs to be added to the apxs -c invocation to work around that problem git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@99213 13f79535-47bb-0310-9956-ffa450edef68
* break down the beast and explain the obvious >:->André Malo2003-02-191-1/+40
| | | | | | | Also catch the case that the substitution may fail. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98730 13f79535-47bb-0310-9956-ffa450edef68
* insert LoadModule directives only outside of sections.André Malo2003-02-191-2/+23
| | | | | | | PR: 9012 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98721 13f79535-47bb-0310-9956-ffa450edef68
* finished that boring job:André Malo2003-02-031-1/+1
| | | | | | | | | update license to 2003. Happy New Year! ;-)) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98573 13f79535-47bb-0310-9956-ffa450edef68
* apxs: Include any special APR ld flags when linking the DSO.Jeff Trawick2003-01-231-6/+10
| | | | | | | This resolves problems on AIX when building a DSO with apxs+gcc. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98469 13f79535-47bb-0310-9956-ffa450edef68
* Sun Forte requires having the same CFLAGS passed to the link stage as wasJustin Erenkrantz2002-12-231-1/+1
| | | | | | | | | passed to the compile stage. (Otherwise, it won't link the threaded APR right.) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98102 13f79535-47bb-0310-9956-ffa450edef68
* If an httpd.conf has commented out AddModule directives,Bill Stoddard2002-12-091-12/+2
| | | | | | | | | | | | | apxs -i -a will add an un-commented AddModule directive for the new module, which breaks the config. PR: 11212 Obtained from: Submitted by: Joe Orton Reviewed by: Bill Stoddard, Thom May git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97820 13f79535-47bb-0310-9956-ffa450edef68
* Rework the apxs -cp command to work when the source dir isn't available byJustin Erenkrantz2002-09-191-2/+19
| | | | | | | | | | | querying apr-config and apu-config at link-time instead. (Note that the $apr_config value in configure.in isn't sufficient as we need to know where apr-config will be when we execute apxs later on - hence the --bindir option to apr-config and apu-config.) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96905 13f79535-47bb-0310-9956-ffa450edef68
* Add -p option to apxs to allow unbundled modules (such as mod_mbox) toJustin Erenkrantz2002-09-191-3/+11
| | | | | | | compile and link helper programs that use apr/apr-util. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96900 13f79535-47bb-0310-9956-ffa450edef68
* Remove following warning:Justin Erenkrantz2002-09-191-2/+2
| | | | | | | | | Use of uninitialized value in string eq at ./apxs line 134. when the last option in getopt array is used. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96899 13f79535-47bb-0310-9956-ffa450edef68
* apxs lost the newline at the end of print "$result", so that apxs -q doesn'tSander Striker2002-08-071-1/+1
| | | | | | | | | return anything. Submitted by: Thom May <thom@planetarytramp.net> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96317 13f79535-47bb-0310-9956-ffa450edef68
* Fix some variable namesCliff Woolley2002-06-191-3/+3
| | | | | | | Submitted by: Brian Degenhardt <bmd@mp3.com> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95814 13f79535-47bb-0310-9956-ffa450edef68
* avoid a non-portable shell construct ("builddir=$(shell pwd)") so that theJeff Trawick2002-06-131-1/+1
| | | | | | | | | makefile created by apxs -g works on more systems it was broken on at least AIX and Tru64 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95646 13f79535-47bb-0310-9956-ffa450edef68
* Fix apxs to allow "apxs -q installbuilddir" and to allowJeff Trawick2002-06-061-0/+2
| | | | | | | | | querying certain other variables from config_vars.mk. PR: 9316 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95549 13f79535-47bb-0310-9956-ffa450edef68
* Get rid of some uninitialized value errors with apxs -q.Cliff Woolley2002-06-051-2/+2
| | | | | | | | Submitted by: Stas Bekman <stas@stason.org> Reviewed by: Heinrich G�tzger <goetzger@gmx.net>, Cliff Woolley git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95530 13f79535-47bb-0310-9956-ffa450edef68
* Fix apxs to allow it to work when the build directory is somewhereJeff Trawick2002-06-051-9/+12
| | | | | | | | | | | | | | besides server-root/build. PR: 8453 Submitted by: a number of people hit this problem and offered hints or partial fixes; Thom May and Pier Fumagalli had a patch to apxs, a subset of which mostly fixed this problem; there were hints in PRs 8453 and 9316 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95522 13f79535-47bb-0310-9956-ffa450edef68
* Make apxs look in the correct directory for envvars. It wasJeff Trawick2002-05-131-1/+1
| | | | | | | | | | | | | broken when sbindir != bindir. PR: 8869 Submitted by: Andreas Sundstr�m <sunkan@zappa.cx> Reviewed by: Jeff Trawick (This fix has been posted by others too.) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95065 13f79535-47bb-0310-9956-ffa450edef68
* finish getting apxs to work with a binary buildJeff Trawick2002-04-291-1/+4
| | | | | | | | | it now picks up any necessary ld environment variables from the envvars file when invoking "httpd -l" to verify that mod_so was included in the build git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94865 13f79535-47bb-0310-9956-ffa450edef68