Last change
on this file since 102 was 39, checked in by Paul Smedley, 18 years ago |
Upgrade source to 3.0.25a
|
File size:
476 bytes
|
Line | |
---|
1 | dnl dummies provided by dlfcn.c if not available
|
---|
2 | save_LIBS="$LIBS"
|
---|
3 | LIBS=""
|
---|
4 |
|
---|
5 | libreplace_cv_dlfcn=no
|
---|
6 | AC_SEARCH_LIBS(dlopen, dl)
|
---|
7 |
|
---|
8 | if test x"${ac_cv_search_dlopen}" = x"no"; then
|
---|
9 | libreplace_cv_dlfcn=yes
|
---|
10 | else
|
---|
11 | AC_CHECK_HEADERS(dlfcn.h)
|
---|
12 | AC_CHECK_FUNCS([dlopen dlsym dlerror dlclose],[],[libreplace_cv_dlfcn=yes])
|
---|
13 | fi
|
---|
14 |
|
---|
15 | if test x"${libreplace_cv_dlfcn}" = x"yes";then
|
---|
16 | LIBREPLACEOBJ="${LIBREPLACEOBJ} dlfcn.o"
|
---|
17 | fi
|
---|
18 |
|
---|
19 | LIBDL="$LIBS"
|
---|
20 | AC_SUBST(LIBDL)
|
---|
21 | LIBS="$save_LIBS"
|
---|
Note:
See
TracBrowser
for help on using the repository browser.