libxmlrpc: improve curl-config patch
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 27 Dec 2014 16:25:55 +0000 (17:25 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 27 Dec 2014 17:46:51 +0000 (18:46 +0100)
commit90a6675e18d60e0b077bc316261b7c0ebb773d88
tree5d64dd268ba78d1dff2a1c201a3f3834c7b3eb8a
parent7b5de43a03d432c28536cbb58fc50e5c393494b6
libxmlrpc: improve curl-config patch

The curl-config patch that makes sure to not use curl-config from the
PATH but the curl-config program specified at configure time was
forgetting a number of other places. So we change the strategy, and
make the configure.in script define a $CURL_CONFIG variable that can
be used in Makefiles where appropriate.

This means we need to run autoconf (but not AUTORECONF = YES since the
package uses autoconf but not automake).

This fixes build failures in cases where a curl-config program is in
the PATH. Fixes:

  http://autobuild.buildroot.org/results/06b/06b7eada721483eb57adde147768a1f306b7d0d7/
  (and many similar ones)

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
package/libxmlrpc/0004-use-correct-curl-config.patch
package/libxmlrpc/libxmlrpc.mk