summaryrefslogtreecommitdiff
path: root/apr-config.in
Commit message (Collapse)AuthorAgeFilesLines
* Fix crosscompiling detection in apr-1-configRuediger Pluem2023-03-101-7/+22
| | | | | | | | | | | | | | | | | | | Since r1872148 apr-1-config tries to detect if it runs in a crosscompile scenario. Fix the detection to correctly distinguish between crosscompiling and DESTDIR installations for packaging. * configure.in: Set APR_CROSS_COMPILING to 'no', 'yes' or 'maybe' based on possible --host and --build parameters given to configure to determine if configure was called for a crosscompiling scenario. This was inspired by how autoconf itself detects crosscompiling scenarios. * apr-config.in: Use the value from APR_CROSS_COMPILING to determine if we are in a crosscompiling scenario. Furthermore normalize the pathes we use for suffix matches by collapsing multiple consecutive '/' to one. PR: 66510 git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1908248 13f79535-47bb-0310-9956-ffa450edef68
* Fix the name of libtool when cross compiling.Graham Leggett2020-01-011-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1872164 13f79535-47bb-0310-9956-ffa450edef68
* Add the ability to cross compile APR.Graham Leggett2019-12-311-0/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1872146 13f79535-47bb-0310-9956-ffa450edef68
* Drop the incomplete LDAP abstraction layer from APR 2.0 as decided on-list.William A. Rowe Jr2011-05-311-5/+0
| | | | | | | | It was not possible to use this interface without ldap provider internals. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1129809 13f79535-47bb-0310-9956-ffa450edef68
* Revert r799085 for now; vote on the list was to retain this functionalityWilliam A. Rowe Jr2009-09-091-0/+5
| | | | | | | | until the APR 2.0.0 rollout, to help ease developers into a new ldap interface, or to drop the ldap interface altogether. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@813152 13f79535-47bb-0310-9956-ffa450edef68
* Drop incomplete abstrations from apr-2.0; for today, simply omit the abilityWilliam A. Rowe Jr2009-07-291-5/+0
| | | | | | | | | | | | | | | to inspect ldap linkage binding. apr_ldap either needs to be refactored as a proper abstration or dropped from the apr 'suite' of portability abstractions, as previously discussed on list. This commit might encourge some forward progress to accomplishing this. Note there is nothing wrong with abstracting our build/autogunk m4 macros to the point where authors can borrow the logic when they want an apr-ish method of picking one of many interfaces. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@799085 13f79535-47bb-0310-9956-ffa450edef68
* * Add --ldap-libs to apr-config to emit the same information apu-configRuediger Pluem2009-03-281-0/+5
| | | | | | | previously did about the LDAP libraries that need to be linked. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@759593 13f79535-47bb-0310-9956-ffa450edef68
* Silence apr-config.in seems to ignore the --datarootdir settingWilliam A. Rowe Jr2008-06-201-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@669954 13f79535-47bb-0310-9956-ffa450edef68
* Update license header.Joe Orton2006-08-031-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@428313 13f79535-47bb-0310-9956-ffa450edef68
* this is the C preprocessor flags.Paul Querna2005-02-051-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@151482 13f79535-47bb-0310-9956-ffa450edef68
* Update copyright year to 2005 and standardize on current copyright owner line.Justin Erenkrantz2005-02-041-3/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@151412 13f79535-47bb-0310-9956-ffa450edef68
* Emit the run-time link path option in apr-config after installation if the userJustin Erenkrantz2004-12-091-1/+3
| | | | | | | is linking with libtool. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@111346 13f79535-47bb-0310-9956-ffa450edef68
* Only install apr-$MAJOR-config and add appropriate detection code toJustin Erenkrantz2004-08-011-3/+3
| | | | | | | | | | | | | | | find_apr.m4 (APR_FIND_APR). Justin made a few changes to Max's latest patch: - Emit a warning at autoconf-time and default to [0 1] if 4th arg is missing. - Fix some tpyos - Change apr-config.in to not use multiple @APR_MAJOR_VERSION@ substs. Submitted by: Max Bowsher Reviewed by: Justin Erenkrantz git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65293 13f79535-47bb-0310-9956-ffa450edef68
* Relicense.Joe Orton2004-02-281-49/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64930 13f79535-47bb-0310-9956-ffa450edef68
* Remove "location detection" from apr-config:Joe Orton2004-02-011-33/+12
| | | | | | | | | | | | | | | | | * configure.in: Substitute APR_CONFIG_LOCATION as "build" or "source" appropriately. * apr-config.in: Set location to @APR_CONFIG_LOCATION@ rather than fragile pwd/realpath guesswork; pick up and use APR_BUILD_DIR instead of $thisdir. * Makefile.in (apr-config.out): New target. (install): Install apr-config.out instead of apr-config. PR: 8867 git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64888 13f79535-47bb-0310-9956-ffa450edef68
* Don't prefix $(SHELL) on the apr-libtool argument, as we're not guaranteedJustin Erenkrantz2003-08-241-2/+2
| | | | | | | that libtool is a shell script. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64594 13f79535-47bb-0310-9956-ffa450edef68
* Fix unquoted argument to test -n.Thom May2003-06-201-1/+1
| | | | | | | | | | PR: 20959 Obtained from: Submitted by: max@faidor.de (Maximilian Kolmhuber) Reviewed by: Thom May git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64546 13f79535-47bb-0310-9956-ffa450edef68
* Add a check to see if the sourcedir actually exists. If it doesn't,Sander Striker2003-06-021-1/+3
| | | | | | | | which is likely when installed by a package, don't try and expand the path using realpath. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64525 13f79535-47bb-0310-9956-ffa450edef68
* Add --cc and --cpp flags to apr-config.Jeff Trawick2003-04-211-0/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64489 13f79535-47bb-0310-9956-ffa450edef68
* Fix error in apr-config when symlinks are involved.Justin Erenkrantz2003-03-231-6/+9
| | | | | | | | Submitted by: Garrett Rooney <rooneg@electricjellyfish.net> Reviewed by: Justin Erenkrantz git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64447 13f79535-47bb-0310-9956-ffa450edef68
* Add --installbuilddir option to apr-configJustin Erenkrantz2003-03-061-0/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64398 13f79535-47bb-0310-9956-ffa450edef68
* If we have realpath available, we need to transform APR_SOURCE_DIR too.Justin Erenkrantz2003-02-221-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64370 13f79535-47bb-0310-9956-ffa450edef68
* Add --includedir flag to apr-config.Justin Erenkrantz2003-01-301-0/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64320 13f79535-47bb-0310-9956-ffa450edef68
* The which line should be double-quoted.Justin Erenkrantz2003-01-081-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64279 13f79535-47bb-0310-9956-ffa450edef68
* Allow apr-config to work in symlinked install directories when 'realpath' isJustin Erenkrantz2003-01-081-0/+5
| | | | | | | | | available. (Darwin and FreeBSD have realpath. Solaris doesn't.) git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64278 13f79535-47bb-0310-9956-ffa450edef68
* Update copyright notices to 2003.Thom May2003-01-011-1/+1
| | | | | | | No functional changes git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64251 13f79535-47bb-0310-9956-ffa450edef68
* Add a little comment.Aaron Bannert2002-12-101-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64134 13f79535-47bb-0310-9956-ffa450edef68
* Add --bindir option to apr-config so that users of APR have an idea whereJustin Erenkrantz2002-09-191-0/+5
| | | | | | | | apr-config will end up so that they can do later queries after apr-config is installed. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63878 13f79535-47bb-0310-9956-ffa450edef68
* Fix the result of "apr-config --link-ld --libs". It did not includeGreg Stein2002-08-291-5/+5
| | | | | | | | | | | | the "-0" suffix on the lib name. - Remove "lib" prefix from APR_LIBNAME definition. - Determine ld-style library name from APR_LIBNAME for correct suffix. Submitted by: Scott Lamb <slamb@slamb.org> git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63841 13f79535-47bb-0310-9956-ffa450edef68
* - Add parallel-apr layout which confines the 'parallel install' logic to aJustin Erenkrantz2002-08-191-1/+3
| | | | | | | | | | | | | layout rather than unchangeable values. - Delay layout parsing until after we have setup the directory variables and determined our APR version. - Use ${libsuffix} instead of hardcoded -${APR_MAJOR_VERSION}. - Parse libsuffix in config.layout. - Add version info to rules.mk - Add APR_MAJOR_VERSION to apr-config. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63816 13f79535-47bb-0310-9956-ffa450edef68
* Various changes to clean up APR for a release.Greg Stein2002-08-141-3/+9
| | | | | | | | | | | | | | | | | * Add a version number to the library name to support parallel installation. See: http://www106.pair.com/rhp/parallel.html (assuming the app uses apr-config to fetch linking information, then users should not have anything to change) * Get rid of APRVARS. Apps should be using apr-config by now. * Add --version to apr-config so that apps can see what they're building against. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63811 13f79535-47bb-0310-9956-ffa450edef68
* silly change to make emacs happierGreg Stein2002-08-141-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63809 13f79535-47bb-0310-9956-ffa450edef68
* fix a mispelling of shared in a help messageJeff Trawick2002-05-151-1/+1
| | | | | | | Submitted by: Justin Erenkrantz git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63402 13f79535-47bb-0310-9956-ffa450edef68
* expose the name of the shared library path variableJeff Trawick2002-05-151-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63401 13f79535-47bb-0310-9956-ffa450edef68
* Revert and fix ala gstein.Justin Erenkrantz2002-05-141-2/+15
| | | | | | | | | The better thing to do here is if we're installed and the file doesn't exist, we MUST print the -L/-l options. But, if we're in build mode, then we'll be optimistic and assume that at some point we'll create the LA_FILE. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63398 13f79535-47bb-0310-9956-ffa450edef68
* Always print the LA_FILE information even if the .la file doesn't existJustin Erenkrantz2002-05-141-11/+2
| | | | | | | yet. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63394 13f79535-47bb-0310-9956-ffa450edef68
* Fix apr-config so that it will not attempt to cd to bindir if it doesn'tJustin Erenkrantz2002-04-011-1/+5
| | | | | | | exist yet. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63213 13f79535-47bb-0310-9956-ffa450edef68
* Fix the install detection code in case the install area uses aGreg Stein2002-03-141-1/+2
| | | | | | | | | symbolic link. Submitted by: Garrett Rooney <rooneg@electricjellyfish.net> git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63119 13f79535-47bb-0310-9956-ffa450edef68
* Update our copyright for this year.Roy T. Fielding2002-03-131-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63117 13f79535-47bb-0310-9956-ffa450edef68
* Allow APR to install its own libtool into an installbuilddir.Justin Erenkrantz2002-03-091-0/+11
| | | | | | | | | | | Add --with-installbuilddir to configure. Add --apr-libtool option to apr-config so that third-parties can figure out where this generated libtool is. (Previously, httpd-2.0 would copy libtool for APR which isn't very nice.) git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63098 13f79535-47bb-0310-9956-ffa450edef68
* Add autoconf-2.52f+ support. (It sets abs_builddir to be relative notJustin Erenkrantz2002-02-151-1/+1
| | | | | | | | | | absolute!) Submitted by: Blair Zajac <blair@orcaware.com> Reviewed by: Justin Erenkrantz git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62988 13f79535-47bb-0310-9956-ffa450edef68
* Like --srcdir, these flags can *not* be part of a series of flags.Justin Erenkrantz2002-02-081-2/+4
| | | | | | | | If you want this, you get it by itself. (The leading spaces killed the apr-util build.) git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62936 13f79535-47bb-0310-9956-ffa450edef68
* Add apr-so-ext and apr-lib-target which the APR-util build system depends on.Justin Erenkrantz2002-02-081-0/+8
| | | | | | | | (It was previously getting them from APRVARS, but let's remove that dependency from apr-util.) git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62935 13f79535-47bb-0310-9956-ffa450edef68
* Fix a typo in the construction of $flags.Greg Stein2002-02-061-1/+1
| | | | | | | Submitted by: Aaron Bannert <aaron@clove.org> git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62920 13f79535-47bb-0310-9956-ffa450edef68
* Big revamp of the find_apr.m4 script for locating an installed/bundledGreg Stein2002-02-061-13/+21
| | | | | | | | | | | | | | | | | | copy of APR. Some associated changes in apr-config to better support the concept, and to fix some issues with apps using it for flags. * find_apr.m4: dramatic simplification. if we can find apr-config, then we can get all the possible information we might need: libraries, includes, linker flags, etc. So, most of the code was cut and we now just look for apr-config. The parameters to APR_FIND_APR have been clarified and cleand up to better support VPATH builds. * apr-config.in: glom all flags together to prevent newlines from getting in there. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62918 13f79535-47bb-0310-9956-ffa450edef68
* fix detection of the "installed" caseGreg Stein2002-02-041-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62904 13f79535-47bb-0310-9956-ffa450edef68
* Rename the link options so we can standardize the name across ourGreg Stein2002-02-041-6/+6
| | | | | | | different *-config scripts. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62903 13f79535-47bb-0310-9956-ffa450edef68
* Provide more outputs for the apr-config file. Corrected some handlingGreg Stein2002-02-031-10/+71
| | | | | | | | | | of the prefix, and the exit code for the --help switch. Make the chmod +x for apr-config part of the "config commands" so that it will occur every time that config.status is run. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62900 13f79535-47bb-0310-9956-ffa450edef68
* Fix a nit pointed out by Greg Stein.Justin Erenkrantz2001-12-121-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62630 13f79535-47bb-0310-9956-ffa450edef68
* Add license info and brief description of this file.Justin Erenkrantz2001-12-121-0/+55
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62629 13f79535-47bb-0310-9956-ffa450edef68