28 lines
1.2 KiB
Diff
28 lines
1.2 KiB
Diff
diff -ur apr-1.2.11/build/apr_hints.m4 apr-1.2.11-mint/build/apr_hints.m4
|
|
--- apr-1.2.11/build/apr_hints.m4 Tue Jun 26 23:47:46 2007
|
|
+++ apr-1.2.11-mint/build/apr_hints.m4 Tue Mar 25 12:00:14 2008
|
|
@@ -44,8 +44,9 @@
|
|
|
|
case "$host" in
|
|
*mint)
|
|
- APR_ADDTO(CPPFLAGS, [-DMINT])
|
|
- APR_ADDTO(LIBS, [-lportlib])
|
|
+ APR_ADDTO(CPPFLAGS, [-DMINT -D_GNU_SOURCE])
|
|
+ apr_cv_pthreads_cflags="none"
|
|
+ apr_cv_pthreads_lib="-lpthread"
|
|
;;
|
|
*MPE/iX*)
|
|
APR_ADDTO(CPPFLAGS, [-DMPE -D_POSIX_SOURCE -D_SOCKET_SOURCE])
|
|
diff -ur apr-1.2.11/build/apr_threads.m4 apr-1.2.11-mint/build/apr_threads.m4
|
|
--- apr-1.2.11/build/apr_threads.m4 Thu Aug 3 11:05:26 2006
|
|
+++ apr-1.2.11-mint/build/apr_threads.m4 Wed Mar 19 08:38:56 2008
|
|
@@ -198,7 +198,7 @@
|
|
AC_DEFUN(APR_CHECK_SIGWAIT_ONE_ARG,[
|
|
AC_CACHE_CHECK(whether sigwait takes one argument,ac_cv_sigwait_one_arg,[
|
|
AC_TRY_COMPILE([
|
|
-#if defined(__NETBSD__) || defined(DARWIN)
|
|
+#if defined(__NETBSD__) || defined(DARWIN) || defined(MINT)
|
|
/* When using the unproven-pthreads package, we need to pull in this
|
|
* header to get a prototype for sigwait(). Else things will fail later
|
|
* on. XXX Should probably be fixed in the unproven-pthreads package.
|