diff options
author | Andrew Bartlett <abartlet@samba.org> | 2013-05-22 12:23:20 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2013-05-28 12:17:10 +1000 |
commit | cd4b413cb0574c459c1c24cf07f8d6b44f5fc077 (patch) | |
tree | 692104ce22e21cb0e8320b5c7aa9c4c2102eafc0 /lib/replace/dlfcn.m4 | |
parent | 97cceb5f8b9fc68cb8942092e92fde2b965883e4 (diff) | |
download | samba-cd4b413cb0574c459c1c24cf07f8d6b44f5fc077.tar.gz samba-cd4b413cb0574c459c1c24cf07f8d6b44f5fc077.tar.bz2 samba-cd4b413cb0574c459c1c24cf07f8d6b44f5fc077.zip |
build: Remove autoconf build system
We are now confident that that waf build system meets enough of our needs
that we will work to improve it, rather than maintain two build systems.
Andrew Bartlett
Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
Diffstat (limited to 'lib/replace/dlfcn.m4')
-rw-r--r-- | lib/replace/dlfcn.m4 | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/lib/replace/dlfcn.m4 b/lib/replace/dlfcn.m4 deleted file mode 100644 index 722e0246b7..0000000000 --- a/lib/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} $libreplacedir/dlfcn.o" -fi - -LIBDL="$LIBS" -AC_SUBST(LIBDL) -LIBS="$save_LIBS" |