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 | dfdb8754815c0f8d618e226bfb14cbf6b361e252 (patch) | |
tree | a38dcb2b6767ad5d28ec8ccf857936adbdc44bd5 /configure | |
parent | e43849b3f941b12e14571aa09a5c18c3e105440f (diff) | |
download | txr-dfdb8754815c0f8d618e226bfb14cbf6b361e252.tar.gz txr-dfdb8754815c0f8d618e226bfb14cbf6b361e252.tar.bz2 txr-dfdb8754815c0f8d618e226bfb14cbf6b361e252.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.
Diffstat (limited to 'configure')
-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 |