m4/python: fix checks for Python library support
authorDoug Goldstein <cardoe@cardoe.com>
Fri, 19 Feb 2016 02:57:04 +0000 (20:57 -0600)
committerIan Jackson <ian.jackson@eu.citrix.com>
Tue, 1 Mar 2016 18:05:19 +0000 (18:05 +0000)
commit3b54cd773d2d04b351ef92f7a994509c99c63a58
treea14cc8ea1fff4597c08e44e136142978712c8b4b
parenta4c2bd9f9eb7c0414303298db366f42bc28771f9
m4/python: fix checks for Python library support

AC_CHECK_LIB() was running gcc -Llib -lm -lutils conftest.c which on
platforms that do as needed operations by default will result in
underlinking. Instead AC_CHECK_LIB() suggests supplying the extra
libraries necessary in a 5th argument.

Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
m4/python_devel.m4
tools/configure