httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Havard" <bri...@kheldar.apana.org.au>
Subject Re: Apache v2.0 compile currently broken...
Date Sat, 07 Apr 2001 16:06:24 GMT
On Sat, 07 Apr 2001 17:28:54 +0200, Graham Leggett wrote:

>While compiling Apache v2.0 (checked out a few minutes ago) like this:
>
>./configure --prefix=/opt/local/apache2 --enable-debug
>--enable-maintainer-mode --enable-proxy
>
>an error crops up in the ./configure script like this:
>
>checking for sys/syslimits.h... no
>checking for sys/time.h... yes
>checking for sys/types.h... (cached) yes
>checking for sys/uio.h... yes
>checking for sys/wait.h... yes
>/home/minfrin/src/apache/sandbox/proxy/httpd-2.0/srclib/apr/configure:
>mach-o_dyldh=0: command not found
>checking for netinet/tcp.h... yes
>checking for h_errno in netdb.h... yes
>checking for off_t... yes
>checking for pid_t... yes

This should get it going, works for me. Makes it remove dashes as well as
dots when making a variable name from an include file name.


Index: apr_common.m4
===================================================================
RCS file: /home/cvs/apr/build/apr_common.m4,v
retrieving revision 1.15
diff -u -r1.15 apr_common.m4
--- apr_common.m4	2001/04/03 18:20:48	1.15
+++ apr_common.m4	2001/04/07 16:02:05
@@ -398,16 +398,18 @@
 dnl  
 AC_DEFUN(APR_FLAG_HEADERS,[
 AC_CHECK_HEADERS($1)
+changequote(, )dnl
 for aprt_i in $1
 do
     ac_safe=`echo "$aprt_i" | sed 'y%./+-%__p_%'`
-    aprt_2=`echo "$aprt_i" | sed -e 's%/%_%g' -e 's/\.//g'`
+    aprt_2=`echo "$aprt_i" | sed -e 's%/%_%g' -e 's/[-.]//g'`
     if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
        eval "ifelse($2,,$aprt_2,$2)=ifelse($3,yes,yes,1)"
     else
        eval "ifelse($2,,$aprt_2,$2)=ifelse($3,yes,no,0)"
     fi
 done
+changequote([, ])dnl
 ])
 
 dnl APR_FLAG_FUNCS(FUNC ... [, FLAG-TO-SET] [, "yes" ])

-- 
 ______________________________________________________________________________
 |  Brian Havard                 |  "He is not the messiah!                   |
 |  brianh@kheldar.apana.org.au  |  He's a very naughty boy!" - Life of Brian |
 ------------------------------------------------------------------------------


Mime
View raw message