aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
AgeCommit message (Collapse)Author
2013-01-08configure: update req to 2.59Daniel Stenberg
I ran the 2.59 version of autoupdate that updates obsoleted configure.ac constructs to the 2.59 standard. With a little hands-on fiddling I prevented it from ruining the quoting in AS_HELP_STRING() uses. I subsequently also bumped the required autoconf version to 2.59 (released in December 2003) as I don't have an older autoconf version around to test with and I can't be bothered to install one either... Inspired by: Björn Stenberg Related blog post: http://cazfi.livejournal.com/195108.html
2013-01-06Revert changes relative to lib/*.[ch] recent renamingYang Tse
This reverts renaming and usage of lib/*.h header files done 28-12-2012, reverting 2 commits: f871de0... build: make use of 76 lib/*.h renamed files ffd8e12... build: rename 76 lib/*.h files This also reverts removal of redundant include guard (redundant thanks to changes in above commits) done 2-12-2013, reverting 1 commit: c087374... curl_setup.h: remove redundant include guard This also reverts renaming and usage of lib/*.c source files done 3-12-2013, reverting 3 commits: 13606bb... build: make use of 93 lib/*.c renamed files 5b6e792... build: rename 93 lib/*.c files 7d83dff... build: commit 13606bbfde follow-up 1 Start of related discussion thread: http://curl.haxx.se/mail/lib-2013-01/0012.html Asking for confirmation on pushing this revertion commit: http://curl.haxx.se/mail/lib-2013-01/0048.html Confirmation summary: http://curl.haxx.se/mail/lib-2013-01/0079.html NOTICE: The list of 2 files that have been modified by other intermixed commits, while renamed, and also by at least one of the 6 commits this one reverts follows below. These 2 files will exhibit a hole in history unless git's '--follow' option is used when viewing logs. lib/curl_imap.h lib/curl_smtp.h
2013-01-01configure.ac: replace AM_CONFIG_HEADER with AC_CONFIG_HEADERSYang Tse
automake 1.13 errors if AM_CONFIG_HEADER is used in configure script. automake 1.13 no longer autoupdates AM_CONFIG_HEADER to AC_CONFIG_HEADERS, thing which automake has been doing since automake version 1.7 Given that our first automake supported version is automake 1.7, simply replacing AM_CONFIG_HEADER usage with AC_CONFIG_HEADERS seems enough to yet support same automake versions. Dave Reisner reported issue with 1.13 and provided patch. http://curl.haxx.se/mail/lib-2012-12/0246.html
2012-12-28build: make use of 76 lib/*.h renamed filesYang Tse
76 private header files renamed to use our standard naming scheme. This change affects 322 files in libcurl's source tree.
2012-12-21configure: add internal sanity check (warn only) on vars for makefilesYang Tse
2012-12-21configure: LIBMETALINK_CFLAGS actually is LIBMETALINK_CPPFLAGSYang Tse
2012-12-20configure: add minimal sanity check on user provided CFLAGS and CPPFLAGSYang Tse
2012-12-19configure.ac: clear local test intended variables before useYang Tse
2012-12-16configure: check if compiler halts on function prototype mismatchYang Tse
2012-12-04build: explain current role of LIBS in our Makefile.am filesYang Tse
BLANK_AT_MAKETIME may be used in our Makefile.am files to blank LIBS variable used in generated makefile at makefile processing time. Doing this functionally prevents LIBS from being used for all link targets in given makefile.
2012-12-04configure: add minimal sanity check on user provided LIBS and LDFLAGSYang Tse
2012-12-03build: prevent global LIBS from influencing src and lib build targetsYang Tse
Currently, LIBS is already used through other macros.
2012-11-30build: prevent global LIBS from influencing libtest build targetsYang Tse
2012-11-29build: prevent global LIBS from influencing test server build targetsYang Tse
2012-11-28build: avoid linkage of directly unused librariesYang Tse
2012-11-23build: fix AIX compilation and usageYang Tse
AIX sys/poll.h header file defines 'events' and 'revents' as C preprocessor macros. Usage of these literals in libcurl's external API was introduced in commit de24d7bd4c causing AIX build failures. Appropriate inclusion of sys/poll.h by libcurl's external interface fixes AIX build and usage issues while avoiding a SONAME bump.
2012-08-19configure: update the copyright years for the outputDaniel Stenberg
2012-08-16configure: remove the --enable/disable-nonblocking optionsDaniel Stenberg
Removing this option as it currently only functions to lure people into wrongly using it and falsely believing that libcurl will work fine without using nonblocking sockets internally - which leads to hard to track or understand errors.
2012-07-27Added --with-winidn to configure.Guenter Knauf
This needs another look from the configure experts. I tested that it works so far with MinGW64 cross-compiler; libcurl builds and links fine, but curl not yet ...
2012-07-02configure.ac: verify that libmetalink is new enoughYang Tse
Enabling test2017 to test2022.
2012-06-27DarwinSSL: allow using NTLM authenticationNick Zitzmann
Allow NTLM authentication when building using SecureTransport (Darwin) for SSL. This uses CommonCrypto, a cryptography library that ships with all versions of iOS and Mac OS X. It's like OpenSSL's libcrypto, except that it's missing a few less-common cyphers and doesn't have a big number data structure.
2012-06-26darwinssl: add support for native Mac OS X/iOS SSLNick Zitzmann
2012-06-13configure: new option --with-winsslYang Tse
This option may be used to build curl/libcurl using SSL/TLS support provided by MS windows system libraries. Option is mutually exclusive with any other SSL library. Default value is --without-winssl. --with-winssl option implies --with-sspi option. Option meaningful only for Windows builds.
2012-06-13schannel: remove version number and identify its use with 'schannel' literalYang Tse
Version number is removed in order to make this info consistent with how we do it with other MS and Linux system libraries for which we don't provide this info. Identifier changed from 'WinSSPI' to 'schannel' given that this is the actual provider of the SSL/TLS support. libcurl can still be built with SSPI and without SCHANNEL support.
2012-06-11configure.ac: Added -lversion if built with SSPIGuenter Knauf
2012-06-07metalink: build fixes and adjustments IYang Tse
2012-05-30configure: fix LDAPS disabling related misplaced closing parenthesisYang Tse
2012-05-26Fixed HAVE_LIBMETALINK conditional is always trueTatsuhiro Tsujikawa
2012-05-26Applied patches from DanielTatsuhiro Tsujikawa
2012-05-26Support Metalink.Tatsuhiro Tsujikawa
This change adds experimental Metalink support to curl. To enable Metalink support, run configure with --with-libmetalink. To feed Metalink file to curl, use --metalink option like this: $ curl -O --metalink foo.metalink We use libmetalink to parse Metalink files.
2012-05-26Fix libcurl.pc and curl-config generation for static MingW* cross buildsYang Tse
2012-05-14disable-versioned-symbols: removed superfluous 'fi'Daniel Stenberg
The commit e315927a1a left this in
2012-05-12autoconf: improve handling of versioned symbolsPierre Chapuis
It checks whether versioned symbols should be enabled before checking whether it is possible (i.e. the linker supports --version-script) or not. This avoids a useless warning when building cURL on a platform that does not use GNU ld. Moreover, it fixes broken indentation of this chunk of code.
2012-04-23Revert "Add -lversion if build with SSPI."Yang Tse
This reverts commit 9ec0b7e0c44d29eca6f45916fe5af3501168fe85.
2012-04-23Add -lversion if build with SSPI.Guenter Knauf
2012-04-13nss: use NSS_InitContext() to initialize NSS if availableKamil Dudka
NSS_InitContext() was introduced in NSS 3.12.5 and helps to prevent collisions on NSS initialization/shutdown with other libraries. Bug: https://bugzilla.redhat.com/738456
2012-04-13nss: unconditionally require PK11_CreateGenericObject()Kamil Dudka
This bumps the minimal supported version of NSS to 3.12.x.
2012-04-11build adjustments: CURL_HIDDEN_SYMBOLS no longer defined in config filesYang Tse
configure script now provides conditional definitions for Makefile.am that result in CURL_HIDDEN_SYMBOLS being defined by resulting makefiles when appropriate. Additionally, configure script option for symbol hiding control is now named --enable-symbol-hiding --disable-symbol-hiding. While still valid, old option name --enable-hidden-symbols --disable-hidden-symbols will be deprecated in some future release.
2012-04-09configure: Windows cross-compilation fixesYang Tse
BUILDING_LIBCURL and CURL_STATICLIB are no longer defined in curl_config.h, configure will generate appropriate conditionals so that mentioned symbols get defined and used in Makefiles at compilation time
2012-04-06curl tool: use configuration files from lib directoryYang Tse
Configuration files such as curl_config.h and all config-*.h no longer exist nor are generated/copied into 'src' directory, now these only exist in 'lib' directory from where curl tool sources uses them. Additionally old src/setup.h has been refactored into src/tool_setup.h which now pulls lib/setup.h The possibility of a makefile needing an include path adjustment exists.
2012-03-22configure: check for gethostbyname in the watt libBenjamin Johnson
This allows building of libcurl on DOS using DJGPP 2.04 and Watt-32 sockets. I know there's already Makefile.djgpp, but I find this more convenient since I'm used to using the ./configure script from other platforms
2012-02-14cyassl: update to CyaSSL 2.0.x APItoddouska
Modify configure.ac to test for new CyaSSL Init function and remove default install path to system. Change to CyaSSL OpenSSL header and proper Init in code as well. Note that this no longer detects or works with CyaSSL before v2
2012-02-13configure: add option disable --libcurl outputColin Hogben
2012-02-09configure: don't modify LD_LIBRARY_PATH for cross compilesRob Ward
2012-01-28Explicitly link to the nettle/gcrypt librariesMartin Storsjo
When support for nettle was added in 64f328c787ab, I overlooked the fact that AC_CHECK_LIB doesn't add the tested lib to LIBS if the check succeeded, if a custom success code block was present. (The previous version of the check had an empty block for successful checks, adding the lib to LIBS implicitly.) Therefore, explicitly add either nettle or gcrypt to LIBS, after deciding which one to use. Even if they can be linked in transitively, it is safer to actually link explicitly to them. This fixes building with gnutls with linkers that don't allow linking transitively, such as for windows.
2011-12-19configure: add symbols versioning optionAlessandro Ghedini
Allow, at configure time, the production of versioned symbols. The symbols will look like "CURL_<FLAVOUR>_<VERSION> <SYMBOL>", where <FLAVOUR> represents the SSL flavour (e.g. OPENSSL, GNUTLS, NSS, ...), <VERSION> is the major SONAME version and <SYMBOL> is the actual symbol name. If no SSL library is enabled the symbols will be just "CURL_<VERSION> <SYMBOL>".
2011-12-15configure: libtool 1.5 tweaksYang Tse
2011-12-06OpenSSL: check for the SSLv2 function in configureDaniel Stenberg
If no SSLv2 was detected in OpenSSL by configure, then we enforce the OPENSSL_NO_SSL2 define as it seems some people report it not being defined properly in the OpenSSL headers.
2011-11-29configure: avoid usage of macro PKG_CHECK_MODULESYang Tse
libidn option adjusted in order to use pkg-config info when available in a similar way as we already do for other libraries.
2011-11-27configure: fix to make older pkg-config play wellDaniel Stenberg
configure.ac:1349: error: possibly undefined macro: PKG_CONFIG_LIBDIR Obviously this is not a problem with pkg-config 0.26 but older versions seem to show this. Fix suggested by: Kamil Dudka Reported by: Guenter Bug: http://curl.haxx.se/mail/lib-2011-11/0298.html