You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@apache.org on 2009/08/28 09:06:54 UTC

svn commit: r808778 - /httpd/mod_ftp/trunk/configure.apxs

Author: wrowe
Date: Fri Aug 28 07:06:54 2009
New Revision: 808778

URL: http://svn.apache.org/viewvc?rev=808778&view=rev
Log:
May conflict with httpd/autoconf definitions once they land in ap_config.h
so define as 1 when detected.

Modified:
    httpd/mod_ftp/trunk/configure.apxs

Modified: httpd/mod_ftp/trunk/configure.apxs
URL: http://svn.apache.org/viewvc/httpd/mod_ftp/trunk/configure.apxs?rev=808778&r1=808777&r2=808778&view=diff
==============================================================================
--- httpd/mod_ftp/trunk/configure.apxs (original)
+++ httpd/mod_ftp/trunk/configure.apxs Fri Aug 28 07:06:54 2009
@@ -73,32 +73,32 @@
 
 if make local-clean conftest_arpa_ftp_h >>../config.apxs.log 2>&1; then
   found_features="$found_features \
-    -e \"s/^#undef \(HAVE_ARPA_FTP_H\)[ \t]*/#define \1/;\""
+    -e \"s/^#undef \(HAVE_ARPA_FTP_H\)[ \t]*/#define \1 1/;\""
 fi
 
 if make local-clean conftest_fchmod >>../config.apxs.log 2>&1; then
   found_features="$found_features \
-    -e \"s/^#undef \(HAVE_FCHMOD\)[ \t]*/#define \1/;\""
+    -e \"s/^#undef \(HAVE_FCHMOD\)[ \t]*/#define \1 1/;\""
 fi
 
 if make local-clean conftest_netinet_ip_h >>../config.apxs.log 2>&1; then
   found_features="$found_features \
-    -e \"s/^#undef \(HAVE_NETINET_IP_H\)[ \t]*/#define \1/;\""
+    -e \"s/^#undef \(HAVE_NETINET_IP_H\)[ \t]*/#define \1 1/;\""
 
   if make local-clean conftest_SOL_IP >>../config.apxs.log 2>&1; then
     found_features="$found_features \
-      -e \"s/^#undef \(HAVE_SOL_IP\)[ \t]*/#define \1/;\""
+      -e \"s/^#undef \(HAVE_SOL_IP\)[ \t]*/#define \1 1/;\""
   fi
 fi
 
 if make conftest_struct_msghdr_msg_control >>../config.apxs.log 2>&1; then
   found_features="$found_features \
-    -e \"s/^#undef \(HAVE_STRUCT_MSGHDR_MSG_CONTROL\)[ \t]*/#define \1/;\""
+    -e \"s/^#undef \(HAVE_STRUCT_MSGHDR_MSG_CONTROL\)[ \t]*/#define \1 1/;\""
 fi
 
 if make conftest_struct_msghdr_msg_accrights >>../config.apxs.log 2>&1; then
   found_features="$found_features \
-    -e \"s/^#undef \(HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS\)[ \t]*/#define \1/;\""
+    -e \"s/^#undef \(HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS\)[ \t]*/#define \1 1/;\""
 fi
 
 make local-distclean >>../config.apxs.log 2>&1