It passes tests after the fix below; otherwise it complains that
apr_os_thread_t was never defined. Also, I needed to
mkdir /usr/local/apache2
ln -s /usr/local/include/apache2 /usr/local/apache2/include
to accomodate the different layout. Perhaps it could be reflected in the
build process?
/Autrijus/
--- APR__OS.old Sun May 26 21:15:18 2002
+++ APR__OS.h Sun May 26 21:15:08 2002
@@ -1,4 +1,4 @@
-static MP_INLINE apr_os_thread_t mpxs_apr_os_thread_current(pTHX)
+static MP_INLINE pthread_t mpxs_apr_os_thread_current(pTHX)
{
#if APR_HAS_THREADS
return apr_os_thread_current();
--- modperl_xs_typedefs.old Sun May 26 21:16:29 2002
+++ modperl_xs_typedefs.h Sun May 26 21:17:41 2002
@@ -64,6 +64,6 @@
typedef apr_hash_t * APR__Hash;
typedef apr_mmap_t * APR__Mmap;
typedef modperl_filter_t * Apache__OutputFilter;
-typedef apr_os_thread_t APR__OS__Thread;
+typedef pthread_t APR__OS__Thread;
#endif /* MODPERL_XS_TYPEDEFS_H */
|