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

Diff of /trunk/configure.ac

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

Revision 217 Revision 218
53 mempcpy memset mkdir pathconf realpath \ 53 mempcpy 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]) 56])
57 57
58dnl Some libc's like those on bsd have dlopen() in libc, and not libdl
59AC_CHECK_LIB([dl], [dlopen],
60 [have_libdl="yes"],
61 [have_libdl="no"]
62)
63if test x"$have_libdl" = xyes ; then
64 LIBDL="-ldl"
65 AC_SUBST([LIBDL])
66 DL_LIB="dl"
67else
68 DL_LIB="c"
69 AC_CHECK_LIB([c], [dlopen],
70 [],
71 [AC_MSG_ERROR([Unable to determine library providing dlopen])]
72 )
73fi
74
58dnl uClibc doesn't currently provide dlvsym() so lets 75dnl uClibc doesn't currently provide dlvsym() so lets
59dnl verify the toolchain supports it 76dnl verify the toolchain supports it
60AC_CHECK_LIB([dl], [dlvsym], 77AC_CHECK_LIB([$DL_LIB], [dlvsym],
61 [AC_DEFINE([HAVE_DLVSYM], [1], [libdl supports dlvsym])], 78 [AC_DEFINE([HAVE_DLVSYM], [1], [libdl supports dlvsym])],
62 [AC_DEFINE([HAVE_DLVSYM], [0], [libdl does not support dlvsym])] 79 [AC_DEFINE([HAVE_DLVSYM], [0], [libdl does not support dlvsym])]
63) 80)
64 81
65dnl when using libc5, (f)trucate's offset argument type is size_t with 82dnl when using libc5, (f)trucate's offset argument type is size_t with

Legend:
Removed from v.217  
changed lines
  Added in v.218

  ViewVC Help
Powered by ViewVC 1.1.20