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

Diff of /trunk/configure.ac

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

Revision 239 Revision 243
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 strtok_r \
57]) 57])
58
59dnl Verify people aren't doing stupid shit
60if test x"$enable_static" != xno ; then
61 AC_MSG_ERROR([dont be a Kumba, building a libsandbox.a is stupid])
62fi
63if test x"$enable_shared" != xyes ; then
64 AC_MSG_ERROR([dont be a Kumba, omitting a libsandbox.so is stupid])
65fi
66if echo $CFLAGS | $EGREP -e -static >/dev/null 2>&1; then
67 AC_MSG_ERROR([dont be a Kumba, using -static in CFLAGS is stupid])
68fi
69if echo $LDFLAGS | $EGREP -e -static >/dev/null 2>&1; then
70 AC_MSG_ERROR([dont be a Kumba, using -static in LDFLAGS is stupid])
71fi
58 72
59dnl Some libc's like those on bsd have dlopen() in libc, and not libdl 73dnl Some libc's like those on bsd have dlopen() in libc, and not libdl
60AC_CHECK_LIB([dl], [dlopen], 74AC_CHECK_LIB([dl], [dlopen],
61 [have_libdl="yes"], 75 [have_libdl="yes"],
62 [have_libdl="no"] 76 [have_libdl="no"]

Legend:
Removed from v.239  
changed lines
  Added in v.243

  ViewVC Help
Powered by ViewVC 1.1.20