Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Feb 2003 11:31:33 +0100
From:      "A. I. Sinclair" <aisinclair@zapp.ch>
To:        <roam@FreeBSD.org>
Cc:        <ports@FreeBSD.org>
Subject:   FW: bug
Message-ID:  <NDBBIMNLHGEMMAKNEPOBAEPLEFAA.aisinclair@zapp.ch>

next in thread | raw e-mail | index | archive | help
-----Original Message-----
From: Akim Demaille [mailto:akim@lrde.epita.fr]On Behalf Of Akim
Demaille
Sent: Wednesday, 26 Feb 26, 2003 11:23 AM
To: aisinclair@zapp.ch
Cc: bug-autoconf@gnu.org
Subject: Re: bug



| Hi,
| I think this was during the curl installation, when I was installing php with curl support.
| 
| 
| configure: WARNING: net/if.h: present but cannot be compiled
| configure: WARNING: net/if.h: check for missing prerequisite headers?
| configure: WARNING: net/if.h: proceeding with the preprocessor's result
| configure: WARNING:     ## ------------------------------------ ##
| configure: WARNING:     ## Report this to bug-autoconf@gnu.org. ##
| configure: WARNING:     ## ------------------------------------ ##
| checking for net/if.h... yes
| checking netinet/in.h usability... yes
| checking netinet/in.h presence... yes
| checking for netinet/in.h... yes
| checking netinet/if_ether.h usability... no
| checking netinet/if_ether.h presence... yes
| configure: WARNING: netinet/if_ether.h: present but cannot be compiled
| configure: WARNING: netinet/if_ether.h: check for missing prerequisite headers?
| configure: WARNING: netinet/if_ether.h: proceeding with the preprocessor's result
| configure: WARNING:     ## ------------------------------------ ##
| configure: WARNING:     ## Report this to bug-autoconf@gnu.org. ##
| configure: WARNING:     ## ------------------------------------ ##
| checking for netinet/if_ether.h... yes
| 
| Thanks/Regards
| 
| Abraham Sinclair
| 
| EmbassyLinks : http://embassylinks.com
| CD Online : http://c-d.org
| The home of the Diplomatic Community on the web.
| 
| European Tennis Network : http://euro-tennis.net
| Online Shopping, Sponsorships and other Resources.
| 
| The AIS Project : http://a-i-s.org
| The Alternate Internet System.
| 
| IRON : http://root-dns.org
| Independent Root (Server) Operator's Network.
|  
| 
| 
| 

Please, report this to the package maintainers, as it's a configure.ac
problem.  The Autoconf 2.57 doc says:

      Previous versions of Autoconf merely checked whether the header was
   accepted by the preprocessor.  This was changed because the old test was
   inappropriate for typical uses.  Headers are typically used to compile,
   not merely to preprocess, and the old behavior sometimes accepted
   headers that clashed at compile-time.  If you need to check whether a
   header is preprocessable, you can use `AC_PREPROC_IFELSE' (*note
   Running the Preprocessor::).
   
      This scheme, which improves the robustness of the test, also requires
   that you make sure that headers that must be included before the
   HEADER-FILE be part of the INCLUDES, (*note Default Includes::).  If
   looking for `bar.h', which requires that `foo.h' be included before if
   it exists, we suggest the following scheme:
   
   
   AC_CHECK_HEADERS([foo.h])
   AC_CHECK_HEADERS([bar.h], [], [],
   [#if HAVE_FOO_H
   # include <foo.h>
   # endif
   ])

Thanks!

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NDBBIMNLHGEMMAKNEPOBAEPLEFAA.aisinclair>