WWW--Curl
WWW--Curl copied to clipboard
AIX 7.3 has 32 and 64 bit curl libraries, Makefile.PL needs to select the correct curl-config_xx
IBM delivers AIX 7.3 with perl 5.38 in both 32 and 64 bit flavours, and curl-devel does the same. curl-config is symlinked to curl-config_64 at install. If I use perl 32 bit then Makefile.PL needs to choose curl-config_32 instead. Nice enough there's an option to override the filename. This should be mentioned in the documentation.
if perl -V | grep -q "ccflags.*32 " then CURL_CONFIG=curl-config_32 else CURL_CONFIG=curl-config_64 fi export CURL_CONFIG