Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 63339 invoked from network); 5 Feb 2007 14:32:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Feb 2007 14:32:33 -0000 Received: (qmail 39092 invoked by uid 500); 5 Feb 2007 14:32:34 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 39021 invoked by uid 500); 5 Feb 2007 14:32:34 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 38986 invoked by uid 99); 5 Feb 2007 14:32:34 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Feb 2007 06:32:34 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [209.133.199.10] (HELO jimsys.jagunet.com) (209.133.199.10) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Feb 2007 06:32:24 -0800 Received: from [127.0.0.1] (localhost [127.0.0.1]) by jimsys.jagunet.com (Postfix) with ESMTP id B100F4919A4 for ; Mon, 5 Feb 2007 09:32:03 -0500 (EST) Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <1170661927.3124.16.camel@jfcpc> References: <20070202162754.88FC21A981A@eris.apache.org> <45C37165.9060906@kippdata.de> <25A80391-77EF-429D-AC36-DD52EA5401D8@jaguNET.com> <45C376AB.2070104@kippdata.de> <1170661927.3124.16.camel@jfcpc> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Jim Jagielski Subject: Re: svn commit: r502649 - /tomcat/connectors/trunk/jk/native/common/jk_global.h Date: Mon, 5 Feb 2007 09:32:02 -0500 To: "Tomcat Developers List" X-Mailer: Apple Mail (2.752.2) X-Virus-Checked: Checked by ClamAV on apache.org It sounds as though the problem is that even though the header exists under HPUX, it is unusable. So we may still need to explicit HPUX test... I'll review the autoconf stuff to see if we can force undef'ing the HAVE_* for HPUX. On Feb 5, 2007, at 2:52 AM, Jean-Frederic wrote: > Hi, > > I have tested, AC_CHECK_HEADERS() does not help: > +++ > checking sys/socketvar.h usability... no > checking sys/socketvar.h presence... yes > configure: WARNING: sys/socketvar.h: present but cannot be compiled > configure: WARNING: sys/socketvar.h: check for missing > prerequisite > headers? > configure: WARNING: sys/socketvar.h: see the Autoconf documentation > configure: WARNING: sys/socketvar.h: section "Present But > Cannot Be > Compiled" > configure: WARNING: sys/socketvar.h: proceeding with the > preprocessor's > result > configure: WARNING: sys/socketvar.h: in the future, the compiler will > take precedence > checking for sys/socketvar.h... yes > +++ > And in common/portable.h: > +++ > /* Define to 1 if you have the header file. */ > #define HAVE_SYS_SELECT_H 1 > > /* Define to 1 if you have the header file. */ > #define HAVE_SYS_SOCKETVAR_H 1 > +++ > > Cheers > > Jean-Frederic > > On Fri, 2007-02-02 at 18:36 +0100, Rainer Jung wrote: >> I can't test on HP-UX, but maybe you (jfc) could try: >> Index: configure.in >> =================================================================== >> --- configure.in (revision 502659) >> +++ configure.in (working copy) >> @@ -139,6 +139,10 @@ >> dnl check for filio.h used on Solaris to define FIONREAD ioctl. >> AC_CHECK_HEADERS(sys/filio.h) >> >> +dnl check for socketvar.h and select.h not used on HPUX11 >> +AC_CHECK_HEADERS(sys/socketvar.h) >> +AC_CHECK_HEADERS(sys/select.h) >> + >> AC_DEFUN([JK_CHECK_SETSOCKOPT], [ >> AC_MSG_CHECKING(whether to use $1 with setsockopt()) >> AC_TRY_RUN([ >> Index: common/jk_global.h >> =================================================================== >> --- common/jk_global.h (revision 502659) >> +++ common/jk_global.h (working copy) >> @@ -142,10 +142,10 @@ >> #include >> #include >> #include >> -#if !defined(_OSD_POSIX) && !defined(AS400) && !defined(CYGWIN) && >> !defined(HPUX11) >> +#if !defined(_OSD_POSIX) && !defined(AS400) && !defined(CYGWIN) && >> !defined(HAVE_SYS_SOCKETVAR_H) >> #include >> #endif >> -#if !defined(HPUX11) && !defined(AS400) >> +#if !defined(HAVE_SYS_SELECT_H) && !defined(AS400) >> #include >> #endif >> #endif >> >> Of course you would need to rebuild configure via buildconf.sh after >> changing configure.in. >> >> Regards, >> >> Rainer >> >> >> Jim Jagielski wrote: >>> Don't we also have a HPUX11 specific check like >>> the 2nd line after this one? Seems consistent to me :/ >>> >>> On Feb 2, 2007, at 12:14 PM, Rainer Jung wrote: >>> >>>> Hi Jean-Frederic, >>>> >>>> shouldn't we be able to find out about the necessity to include >>>> it via >>>> configure? At least HP-UX should be able to use the configure >>>> mechanism. I think we mostly use the hard coded defines for the >>>> platforms, where we can't use the configure mechanism. >>>> >>>> Regards, >>>> >>>> Rainer >>>> >>>> jfclere@apache.org wrote: >>>>> Author: jfclere >>>>> Date: Fri Feb 2 08:27:53 2007 >>>>> New Revision: 502649 >>>>> URL: http://svn.apache.org/viewvc?view=rev&rev=502649 >>>>> Log: >>>>> Otherwise it doesn't compile with gcc on HPUX. >>>>> Modified: >>>>> tomcat/connectors/trunk/jk/native/common/jk_global.h >>>>> Modified: tomcat/connectors/trunk/jk/native/common/jk_global.h >>>>> URL: >>>>> http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/ >>>>> common/jk_global.h?view=diff&rev=502649&r1=502648&r2=502649 >>>>> >>>>> ================================================================== >>>>> ============ >>>>> >>>>> --- tomcat/connectors/trunk/jk/native/common/jk_global.h >>>>> (original) >>>>> +++ tomcat/connectors/trunk/jk/native/common/jk_global.h Fri >>>>> Feb 2 >>>>> 08:27:53 2007 >>>>> @@ -142,7 +142,7 @@ >>>>> #include >>>>> #include >>>>> #include >>>>> -#if !defined(_OSD_POSIX) && !defined(AS400) && !defined(CYGWIN) >>>>> +#if !defined(_OSD_POSIX) && !defined(AS400) && !defined >>>>> (CYGWIN) && >>>>> !defined(HPUX11) >>>>> #include >>>>> #endif >>>>> #if !defined(HPUX11) && !defined(AS400) >>>>> ------------------------------------------------------------------ >>>>> --- >>>>> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org >>>>> For additional commands, e-mail: dev-help@tomcat.apache.org >>>> >>>> --kippdata informationstechnologie GmbH >>>> Bornheimer Str. 33a >>>> 53111 Bonn >>>> >>>> Tel.: 0228/98549-0 >>>> Fax: 0228/98549-50 >>>> www.kippdata.de >>>> ======================= >>>> kippdata informationstechnologie GmbH >>>> Bornheimer Str. 33a >>>> D-53111 Bonn >>>> >>>> Tel.: +49/0228/98549-0 >>>> Fax: +49/0228/98549-50 >>>> www.kippdata.de >>>> >>>> ------------------------------------------------------------------- >>>> -- >>>> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org >>>> For additional commands, e-mail: dev-help@tomcat.apache.org >>>> >>> >>> >>> -------------------------------------------------------------------- >>> - >>> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org >>> For additional commands, e-mail: dev-help@tomcat.apache.org >>> >> >> -- >> kippdata informationstechnologie GmbH >> Bornheimer Str. 33a >> 53111 Bonn >> >> Tel.: 0228/98549-0 >> Fax: 0228/98549-50 >> www.kippdata.de >> ======================= >> kippdata informationstechnologie GmbH >> Bornheimer Str. 33a >> D-53111 Bonn >> >> Tel.: +49/0228/98549-0 >> Fax: +49/0228/98549-50 >> www.kippdata.de >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org >> For additional commands, e-mail: dev-help@tomcat.apache.org >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org > For additional commands, e-mail: dev-help@tomcat.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org