summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2017-05-11 22:58:10 -0700
committerKaz Kylheku <kaz@kylheku.com>2017-05-11 22:58:10 -0700
commitdfdb8754815c0f8d618e226bfb14cbf6b361e252 (patch)
treea38dcb2b6767ad5d28ec8ccf857936adbdc44bd5 /configure
parente43849b3f941b12e14571aa09a5c18c3e105440f (diff)
downloadtxr-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-xconfigure6
1 files 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