/[path-sandbox]/trunk/configure.ac
Gentoo

Diff of /trunk/configure.ac

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 234 Revision 235
51AC_CHECK_FUNCS([ \ 51AC_CHECK_FUNCS([ \
52 bzero ftruncate getcwd lchown memmove \ 52 bzero ftruncate getcwd lchown memmove \
53 memcpy memset mkdir pathconf realpath \ 53 memcpy memset mkdir pathconf realpath \
54 rmdir setenv strcasecmp strchr strdup \ 54 rmdir setenv strcasecmp strchr strdup \
55 strerror strndup strrchr strspn strstr \ 55 strerror strndup strrchr strspn strstr \
56 strtok_r \
56]) 57])
57 58
58dnl Some libc's like those on bsd have dlopen() in libc, and not libdl 59dnl Some libc's like those on bsd have dlopen() in libc, and not libdl
59AC_CHECK_LIB([dl], [dlopen], 60AC_CHECK_LIB([dl], [dlopen],
60 [have_libdl="yes"], 61 [have_libdl="yes"],
103 ], 104 ],
104 [have_rtld_next="yes"], 105 [have_rtld_next="yes"],
105 [have_rtld_next="no"] 106 [have_rtld_next="no"]
106) 107)
107AC_MSG_RESULT([$have_rtld_next]) 108AC_MSG_RESULT([$have_rtld_next])
108AM_CONDITIONAL([HAVE_RTLD_NEXT], [test x"$have_rtld_next" = xyes]) 109if test x"$have_rtld_next" = xyes ; then
110 AC_DEFINE([HAVE_RTLD_NEXT], [1], [Have RTLD_NEXT enabled libc])
111fi
109 112
110dnl we need to handle symbols differently based upon their version, 113dnl we need to handle symbols differently based upon their version,
111dnl but we have to know which symbols the libc supports first 114dnl but we have to know which symbols the libc supports first
112AC_MSG_CHECKING([libc path]) 115AC_MSG_CHECKING([libc path])
113echo "int main(void) { return 0; }" > libctest.c 116echo "int main(void) { return 0; }" > libctest.c

Legend:
Removed from v.234  
changed lines
  Added in v.235

  ViewVC Help
Powered by ViewVC 1.1.20