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

Diff of /trunk/configure.ac

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

Revision 256 Revision 278
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])
58dnl For librcutil
59AC_CHECK_FUNCS([remove])
60
61dnl Check if gcc provides va_copy or __va_copy (for librcutil)
62AC_MSG_CHECKING([for va_copy])
63AC_TRY_COMPILE([
64 #include <stdarg.h>
65 ], [
66 va_list ap, aq;
67 va_copy(ap, aq);
68 ],
69 [va_copy="va_copy"],
70 [AC_TRY_COMPILE([
71 #include <stdarg.h>
72 ], [
73 va_list ap, aq;
74 __va_copy(ap, aq);
75 ],
76 [va_copy="__va_copy"],
77 [AC_MSG_ERROR([Unable to determine name of va_copy macro])]
78 )]
79)
80AC_MSG_RESULT([$va_copy])
81if test x"$va_copy" != xva_copy ; then
82 AC_DEFINE_UNQUOTED([va_copy], [$va_copy],
83 [Define to name of va_copy macro proviced by gcc if its not `va_copy'.]
84 )
85fi
58 86
59dnl Verify people aren't doing stupid shit 87dnl Verify people aren't doing stupid shit
60if test x"$enable_static" != xno ; then 88if test x"$enable_static" != xno ; then
61 AC_MSG_ERROR([dont be a Kumba, building a libsandbox.a is stupid]) 89 AC_MSG_ERROR([dont be a Kumba, building a libsandbox.a is stupid])
62fi 90fi
167 195
168AC_OUTPUT([ 196AC_OUTPUT([
169 Makefile 197 Makefile
170 scripts/Makefile 198 scripts/Makefile
171 data/Makefile 199 data/Makefile
200 librcutil/Makefile
172 src/Makefile 201 src/Makefile
173]) 202])

Legend:
Removed from v.256  
changed lines
  Added in v.278

  ViewVC Help
Powered by ViewVC 1.1.20