Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(131)

Side by Side Diff: third_party/talloc/libreplace/dlfcn.m4

Issue 2282793002: Remove unused third_party/talloc (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/talloc/libreplace/dlfcn.c ('k') | third_party/talloc/libreplace/getaddrinfo.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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 AC_CHECK_HEADERS(dlfcn.h)
9 AC_CHECK_FUNCS([dlopen dlsym dlerror dlclose],[],[libreplace_cv_dlfcn=yes])
10
11 libreplace_cv_shl=no
12 AC_SEARCH_LIBS(shl_load, sl)
13 AC_CHECK_HEADERS(dl.h)
14 AC_CHECK_FUNCS([shl_load shl_unload shl_findsym],[],[libreplace_cv_shl=yes])
15
16 AC_VERIFY_C_PROTOTYPE([void *dlopen(const char* filename, unsigned int flags)],
17 [
18 return 0;
19 ],[
20 AC_DEFINE(DLOPEN_TAKES_UNSIGNED_FLAGS, 1, [Whether dlopen takes unsigned int flags])
21 ],[],[
22 #include <dlfcn.h>
23 ])
24
25 if test x"${libreplace_cv_dlfcn}" = x"yes";then
26 LIBREPLACEOBJ="${LIBREPLACEOBJ} $libreplacedir/dlfcn.o"
27 fi
28
29 LIBDL="$LIBS"
30 AC_SUBST(LIBDL)
31 LIBS="$save_LIBS"
OLDNEW
« no previous file with comments | « third_party/talloc/libreplace/dlfcn.c ('k') | third_party/talloc/libreplace/getaddrinfo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698