diff options
-rw-r--r-- | configure.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/configure.in b/configure.in index 650b365df..dc4a349d4 100644 --- a/configure.in +++ b/configure.in @@ -1254,6 +1254,10 @@ AC_ARG_ENABLE(dso, [ AC_CHECK_FUNCS(NSLinkModule, [ tempdso="dyld" ], [ tempdso="no" ]) if test "$tempdso" = "no"; then + AC_CHECK_LIB(dld, shl_load, [ tempdso="shl" APR_ADDTO(LIBS,-ldld) ], + tempdso="no") + fi + if test "$tempdso" = "no"; then AC_CHECK_FUNCS(dlopen, [ tempdso="dlfcn" ], [ tempdso="no" ]) fi if test "$tempdso" = "no"; then @@ -1264,10 +1268,6 @@ AC_ARG_ENABLE(dso, AC_CHECK_LIB(root, load_image, tempdso="yes", tempdso="no") fi if test "$tempdso" = "no"; then - AC_CHECK_LIB(dld, shl_load, [ tempdso="shl" APR_ADDTO(LIBS,-ldld) ], - tempdso="no") - fi - if test "$tempdso" = "no"; then case $host in *os390|*-os2*|*os400) tempdso="yes" |