diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2017-05-11 22:58:10 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2017-05-11 22:58:10 -0700 |
commit | 459facaec99d9a7a27a68e85b0ff518bef214be5 (patch) | |
tree | a38dcb2b6767ad5d28ec8ccf857936adbdc44bd5 | |
parent | 9969a593d667e73678fe1d98030aa0e35b9426fe (diff) | |
download | txr-459facaec99d9a7a27a68e85b0ff518bef214be5.tar.gz txr-459facaec99d9a7a27a68e85b0ff518bef214be5.tar.bz2 txr-459facaec99d9a7a27a68e85b0ff518bef214be5.zip |
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.
-rwxr-xr-x | configure | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |