diff options
author | Sumit Bose <sbose@redhat.com> | 2010-02-16 21:19:09 +0100 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-02-16 16:06:54 -0500 |
commit | 26785017abee76e0eff95214f0c52fcdb04741e0 (patch) | |
tree | 51b743cc2c3118d670f3e76d377b8c4fc0c022c1 /replace/dlfcn.m4 | |
parent | 8f206092adc07f5f09e14d5dac53759bee33bcc6 (diff) | |
download | sssd-26785017abee76e0eff95214f0c52fcdb04741e0.tar.gz sssd-26785017abee76e0eff95214f0c52fcdb04741e0.tar.bz2 sssd-26785017abee76e0eff95214f0c52fcdb04741e0.zip |
Remove replace
Diffstat (limited to 'replace/dlfcn.m4')
-rw-r--r-- | replace/dlfcn.m4 | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/replace/dlfcn.m4 b/replace/dlfcn.m4 deleted file mode 100644 index 42f56f26..00000000 --- a/replace/dlfcn.m4 +++ /dev/null @@ -1,31 +0,0 @@ -dnl dummies provided by dlfcn.c if not available -save_LIBS="$LIBS" -LIBS="" - -libreplace_cv_dlfcn=no -AC_SEARCH_LIBS(dlopen, dl) - -AC_CHECK_HEADERS(dlfcn.h) -AC_CHECK_FUNCS([dlopen dlsym dlerror dlclose],[],[libreplace_cv_dlfcn=yes]) - -libreplace_cv_shl=no -AC_SEARCH_LIBS(shl_load, sl) -AC_CHECK_HEADERS(dl.h) -AC_CHECK_FUNCS([shl_load shl_unload shl_findsym],[],[libreplace_cv_shl=yes]) - -AC_VERIFY_C_PROTOTYPE([void *dlopen(const char* filename, unsigned int flags)], - [ - return 0; - ],[ - AC_DEFINE(DLOPEN_TAKES_UNSIGNED_FLAGS, 1, [Whether dlopen takes unsigned int flags]) - ],[],[ - #include <dlfcn.h> - ]) - -if test x"${libreplace_cv_dlfcn}" = x"yes";then - LIBREPLACEOBJ="${LIBREPLACEOBJ} dlfcn.o" -fi - -LIBDL="$LIBS" -AC_SUBST(LIBDL) -LIBS="$save_LIBS" |