<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/curl.git/configure.ac, branch bagder/vtls-conn-data-TLS-kill</title>
<subtitle>github.com: bagder/curl.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/'/>
<entry>
<title>configure: remove CURL_CHECK_NI_WITHSCOPEID too</title>
<updated>2018-06-27T11:53:26+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2018-06-27T11:52:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=a10c974e1a5c853354ad54c574ad22e1ed46ea9f'/>
<id>a10c974e1a5c853354ad54c574ad22e1ed46ea9f</id>
<content type='text'>
Since it isn't used either and requires the getnameinfo check

Follow-up to 0aeca41702d2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since it isn't used either and requires the getnameinfo check

Follow-up to 0aeca41702d2
</pre>
</div>
</content>
</entry>
<entry>
<title>getnameinfo: not used</title>
<updated>2018-06-27T11:49:18+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2018-06-27T06:20:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=0aeca41702d2a70f7d253451781fe52398aab257'/>
<id>0aeca41702d2a70f7d253451781fe52398aab257</id>
<content type='text'>
Closes #2687
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #2687
</pre>
</div>
</content>
</entry>
<entry>
<title>configure: Add dependent libraries after crypto</title>
<updated>2018-06-27T07:56:23+00:00</updated>
<author>
<name>Max Dymond</name>
<email>cmeister2@gmail.com</email>
</author>
<published>2018-06-26T08:29:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=b0a365f8a0e58b0f1929abb1c60dad31d34c0c2a'/>
<id>b0a365f8a0e58b0f1929abb1c60dad31d34c0c2a</id>
<content type='text'>
The linker is pretty dumb and processes things left to right, keeping a
tally of symbols it hasn't resolved yet. So, we need -ldl to appear
after -lcrypto otherwise the linker won't find the dl functions.

Closes #2684
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The linker is pretty dumb and processes things left to right, keeping a
tally of symbols it hasn't resolved yet. So, we need -ldl to appear
after -lcrypto otherwise the linker won't find the dl functions.

Closes #2684
</pre>
</div>
</content>
</entry>
<entry>
<title>configure: enhance ability to detect/build with static openssl</title>
<updated>2018-06-14T21:08:04+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2018-06-14T14:52:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=351dabbf3dfe1370045a29aa6dba3e0a3686eaeb'/>
<id>351dabbf3dfe1370045a29aa6dba3e0a3686eaeb</id>
<content type='text'>
Fix the -ldl and -ldl + -lpthread checks for OpenSSL, necessary for
building with static libs without pkg-config.

Reported-by: Marcel Raad
Fixes #2199
Closes #2659
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix the -ldl and -ldl + -lpthread checks for OpenSSL, necessary for
building with static libs without pkg-config.

Reported-by: Marcel Raad
Fixes #2199
Closes #2659
</pre>
</div>
</content>
</entry>
<entry>
<title>openssl: assume engine support in 1.0.1 or later</title>
<updated>2018-06-11T08:20:18+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2018-06-08T14:36:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=38203f1585da53e07e54e37c7d5da4d72f509a2e'/>
<id>38203f1585da53e07e54e37c7d5da4d72f509a2e</id>
<content type='text'>
Previously it was checked for in configure/cmake, but that would then
leave other build systems built without engine support.

While engine support probably existed prior to 1.0.1, I decided to play
safe. If someone experience a problem with this, we can widen the
version check.

Fixes #2641
Closes #2644
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously it was checked for in configure/cmake, but that would then
leave other build systems built without engine support.

While engine support probably existed prior to 1.0.1, I decided to play
safe. If someone experience a problem with this, we can widen the
version check.

Fixes #2641
Closes #2644
</pre>
</div>
</content>
</entry>
<entry>
<title>fnmatch: use the system one if available</title>
<updated>2018-06-01T10:29:21+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2018-05-31T13:57:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=a115c6bbe73175ad6157fce67338d4a18ed768b2'/>
<id>a115c6bbe73175ad6157fce67338d4a18ed768b2</id>
<content type='text'>
If configure detects fnmatch to be available, use that instead of our
custom one for FTP wildcard pattern matching. For standard compliance,
to reduce our footprint and to use already well tested and well
exercised code.

A POSIX fnmatch behaves slightly different than the internal function
for a few test patterns currently and the macOS one yet slightly
different. Test case 1307 is adjusted for these differences.

Closes #2626
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If configure detects fnmatch to be available, use that instead of our
custom one for FTP wildcard pattern matching. For standard compliance,
to reduce our footprint and to use already well tested and well
exercised code.

A POSIX fnmatch behaves slightly different than the internal function
for a few test patterns currently and the macOS one yet slightly
different. Test case 1307 is adjusted for these differences.

Closes #2626
</pre>
</div>
</content>
</entry>
<entry>
<title>configure: check for declaration of getpwuid_r</title>
<updated>2018-05-31T10:51:15+00:00</updated>
<author>
<name>Bernhard Walle</name>
<email>bernhard@bwalle.de</email>
</author>
<published>2018-05-27T17:51:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=9c33813d835dde214c1a9449f789dd72ab3d9dc3'/>
<id>9c33813d835dde214c1a9449f789dd72ab3d9dc3</id>
<content type='text'>
On our x86 Android toolchain, getpwuid_r is implemented but the header
is missing:

 netrc.c:81:7: error: implicit declaration of function 'getpwuid_r' [-Werror=implicit-function-declaration]

Unfortunately, the function is used in curl_ntlm_wb.c, too, so I moved
the prototype to curl_setup.h.

Signed-off-by: Bernhard Walle &lt;bernhard@bwalle.de&gt;
Closes #2609
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On our x86 Android toolchain, getpwuid_r is implemented but the header
is missing:

 netrc.c:81:7: error: implicit declaration of function 'getpwuid_r' [-Werror=implicit-function-declaration]

Unfortunately, the function is used in curl_ntlm_wb.c, too, so I moved
the prototype to curl_setup.h.

Signed-off-by: Bernhard Walle &lt;bernhard@bwalle.de&gt;
Closes #2609
</pre>
</div>
</content>
</entry>
<entry>
<title>configure: override AR_FLAGS to silence warning</title>
<updated>2018-05-29T13:41:14+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2018-05-29T08:26:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=5005ade2ce57e0e71439aa6639eb70414db949b8'/>
<id>5005ade2ce57e0e71439aa6639eb70414db949b8</id>
<content type='text'>
The automake default ar flags are 'cru', but the 'u' flag in there
causes warnings on many modern Linux distros. Removing 'u' may have a
minor performance impact on older distros but should not cause harm.

Explained on the automake mailing list already back in April 2015:

https://www.mail-archive.com/automake-patches@gnu.org/msg07705.html

Reported-by: elephoenix on github
Fixes #2617
Closes #2619
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The automake default ar flags are 'cru', but the 'u' flag in there
causes warnings on many modern Linux distros. Removing 'u' may have a
minor performance impact on older distros but should not cause harm.

Explained on the automake mailing list already back in April 2015:

https://www.mail-archive.com/automake-patches@gnu.org/msg07705.html

Reported-by: elephoenix on github
Fixes #2617
Closes #2619
</pre>
</div>
</content>
</entry>
<entry>
<title>configure: fix ssh2 linking when built with a static mbedtls</title>
<updated>2018-05-28T18:31:20+00:00</updated>
<author>
<name>Fabrice Fontaine</name>
<email>fontaine.fabrice@gmail.com</email>
</author>
<published>2018-05-21T10:07:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=536e9f828997c39d67fcf09cb3b2c19d4cf216cc'/>
<id>536e9f828997c39d67fcf09cb3b2c19d4cf216cc</id>
<content type='text'>
The ssh2 pkg-config file could contain the following lines when build
with a static version of mbedtls:
   Libs: -L${libdir} -lssh2 /xxx/libmbedcrypto.a
   Libs.private: /xxx/libmbedcrypto.a

This static mbedtls library must be used to correctly detect ssh2
support and this library must be copied in libcurl.pc otherwise
compilation of any application (such as upmpdcli) with libcurl will fail
when trying to found mbedtls functions included in libssh2.  So, replace
pkg-config --libs-only-l by pkg-config --libs.

Fixes:
 - http://autobuild.buildroot.net/results/43e24b22a77f616d6198c10435dcc23cc3b9088a

Signed-off-by: Fabrice Fontaine &lt;fontaine.fabrice@gmail.com&gt;
Closes #2613
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The ssh2 pkg-config file could contain the following lines when build
with a static version of mbedtls:
   Libs: -L${libdir} -lssh2 /xxx/libmbedcrypto.a
   Libs.private: /xxx/libmbedcrypto.a

This static mbedtls library must be used to correctly detect ssh2
support and this library must be copied in libcurl.pc otherwise
compilation of any application (such as upmpdcli) with libcurl will fail
when trying to found mbedtls functions included in libssh2.  So, replace
pkg-config --libs-only-l by pkg-config --libs.

Fixes:
 - http://autobuild.buildroot.net/results/43e24b22a77f616d6198c10435dcc23cc3b9088a

Signed-off-by: Fabrice Fontaine &lt;fontaine.fabrice@gmail.com&gt;
Closes #2613
</pre>
</div>
</content>
</entry>
<entry>
<title>configure: add basic test of --with-ssl prefix</title>
<updated>2018-05-23T21:51:52+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2018-05-23T12:26:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=d353af001420574210605ba132dfd31a0e3876a5'/>
<id>d353af001420574210605ba132dfd31a0e3876a5</id>
<content type='text'>
When given a prefix, the $PREFIX_OPENSSL/lib/openssl.pc or
$PREFIX_OPENSSL/include/openssl/ssl.h files must be present or cause an
error. Helps users detect when giving configure the wrong path.

Reported-by: Oleg Pudeyev
Assisted-by: Per Malmberg
Fixes #2580
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When given a prefix, the $PREFIX_OPENSSL/lib/openssl.pc or
$PREFIX_OPENSSL/include/openssl/ssl.h files must be present or cause an
error. Helps users detect when giving configure the wrong path.

Reported-by: Oleg Pudeyev
Assisted-by: Per Malmberg
Fixes #2580
</pre>
</div>
</content>
</entry>
</feed>
