apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wilfredo Sanchez <wsanc...@MIT.EDU>
Subject Re: cvs commit: apr configure.in
Date Sat, 07 Apr 2001 18:31:29 GMT
> But APR_FLAG_HEADERS() can't handle that header file because the
> variable name it generates is invalid.  We're getting this on stderr
> from configure:
>
> /home/trawick/apache/httpd-2.0/srclib/apr/configure: mach-o_dyldh=0: 
> command not found

   Actually, the difference is probably my shell being wonky and not 
autoconf.

   Does this patch fix your problem?

	-Fred

[bartleby:httpd-2.0/srclib/apr] wsanchez% cvs diff build/apr_common.m4
Index: build/apr_common.m4
===================================================================
RCS file: /home/cvs/apr/build/apr_common.m4,v
retrieving revision 1.15
diff -w -u -d -r1.15 apr_common.m4
--- build/apr_common.m4 2001/04/03 18:20:48     1.15
+++ build/apr_common.m4 2001/04/07 18:26:11
@@ -393,7 +393,7 @@
  dnl  we set FLAG-TO-SET to 1 if we find HEADER-FILE, otherwise we set 
to 0
  dnl  if FLAG-TO-SET is null, we automagically determine it's name
  dnl  by changing all "/" to "_" in the HEADER-FILE and dropping
-dnl  all "." chars. If the 3rd parameter is "yes" then instead of
+dnl  all "." and "-" chars. If the 3rd parameter is "yes" then instead 
of
  dnl  setting to 1 or 0, we set FLAG-TO-SET to yes or no.
  dnl
  AC_DEFUN(APR_FLAG_HEADERS,[
@@ -401,7 +401,7 @@
  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' -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

Mime
View raw message