diff options
author | CoprDistGit <infra@openeuler.org> | 2024-08-01 09:03:04 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-08-01 09:03:04 +0000 |
commit | d026ceb087a6bf4d7616572ba1853c011ea34b42 (patch) | |
tree | de39e5cc7b04ff50dc0d7e00c0aa615c40b5adcf /apr-1.7.0-r1894167.patch | |
parent | 697e7bf450581ae928eabd18fa93f6d4baefeb6d (diff) |
automatic import of apropeneuler24.03_LTS
Diffstat (limited to 'apr-1.7.0-r1894167.patch')
-rw-r--r-- | apr-1.7.0-r1894167.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/apr-1.7.0-r1894167.patch b/apr-1.7.0-r1894167.patch new file mode 100644 index 0000000..02a73de --- /dev/null +++ b/apr-1.7.0-r1894167.patch @@ -0,0 +1,37 @@ +# ./pullrev.sh 1894167 +http://svn.apache.org/viewvc?view=revision&revision=1894167 + +--- apr-1.7.0/build/apr_network.m4 ++++ apr-1.7.0/build/apr_network.m4 +@@ -906,8 +906,16 @@ + dnl + AC_DEFUN([APR_CHECK_SCTP], + [ +- AC_CACHE_CHECK([whether SCTP is supported], [apr_cv_sctp], [ +- AC_TRY_RUN([ ++AC_ARG_ENABLE([sctp], ++ APR_HELP_STRING([--disable-sctp], [disable SCTP protocol support]), ++ [apr_wants_sctp=$enableval], ++ [apr_wants_sctp=any]) ++ ++if test "$apr_wants_sctp" = no; then ++ apr_cv_sctp=no ++else ++ AC_CACHE_CHECK([whether SCTP is supported], [apr_cv_sctp], [ ++ AC_TRY_RUN([ + #ifdef HAVE_SYS_TYPES_H + #include <sys/types.h> + #endif +@@ -932,7 +940,12 @@ + exit(2); + exit(0); + }], [apr_cv_sctp=yes], [apr_cv_sctp=no], [apr_cv_sctp=no])]) ++fi + ++if test "${apr_wants_sctp}X${apr_cv_sctp}" = yesXno; then ++ AC_MSG_ERROR([SCTP support requested but not available]) ++fi ++ + if test "$apr_cv_sctp" = "yes"; then + have_sctp=1 + else |