From 459facaec99d9a7a27a68e85b0ff518bef214be5 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Thu, 11 May 2017 22:58:10 -0700 Subject: dlopen: broken dlvsym configure test. * configure: the dlvsym test relies on a nonexistent make variable EXTRA_CFLAGS. The correct one is EXTRA_FLAGS. The function name is misspelled in the test code and the test message. --- configure | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure b/configure index 8bfa16e6..a59cdaf9 100755 --- a/configure +++ b/configure @@ -2768,7 +2768,7 @@ int main(void) void *lib = dlopen("foo.so", 0); void *sym = dlsym(lib, "bar"); #if TEST_DLVSYM - void *vsym = dlsvym(lib, "bar", "1"); + void *vsym = dlvsym(lib, "bar", "1"); #endif dlclose(lib); return 0; @@ -2786,8 +2786,8 @@ else printf "no\n" fi -printf "Checking for dlsvsym ... " -if conftest CONF_LDFLAGS="$conf_ldflags" EXTRA_CFLAGS=-DTEST_DLVSYM=1 ; then +printf "Checking for dlvsym ... " +if conftest CONF_LDFLAGS="$conf_ldflags" EXTRA_FLAGS=-DTEST_DLVSYM=1 ; then printf "yes\n" printf "#define HAVE_DLVSYM 1\n" >> config.h else -- cgit v1.2.3