Summary: | configure failes to invalidate usability of resolv.h on sun Solaris 8 | ||
---|---|---|---|
Product: | [Unmaintained] configure | Reporter: | David Rutitsky <drutitsky> |
Component: | general | Assignee: | Stephan Kulow <coolo> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Solaris | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Attempt at fixing the problem
The other one |
Description
David Rutitsky
2004-01-07 20:28:03 UTC
Created attachment 4032 [details]
Attempt at fixing the problem
Have I mentioned that I hate inter-header dependency? Thankfully no one
requires the headers in the *opposite* order to complicate things even further.
Created attachment 4033 [details]
The other one
For kdepim, no file has any reference to HAVE_RESOLV_H, which would indicate
that the check is unnecessary. I dare not remove the check before the release,
but maybe we can remove it later on to avoid further problems like this.
To be on the safe side, maybe including <sys/types.h> would be a good idea too.
Subject: / CVS commit by coolo: autoconf is fun, isn't it CCMAIL: 72081-done@bugs.kde.org M +2 -1 kdenetwork/configure.in.in 1.61 M +2 -1 kdepim/configure.in.in 1.32 --- kdenetwork/configure.in.in #1.60:1.61 @@ -9,5 +9,6 @@ AC_CHECK_HEADERS(sys/file.h sys/stat.h sys/time.h sys/cdefs.h sys/sockio.h) AC_CHECK_HEADERS(fcntl.h unistd.h fnmatch.h sysent.h strings.h paths.h) -AC_CHECK_HEADERS(utmp.h re_comp.h getopt.h resolv.h byteswap.h) +AC_CHECK_HEADERS(utmp.h re_comp.h getopt.h byteswap.h) +AC_CHECK_HEADER([resolv.h],,,[#include <netinet/in.h>]) --- kdepim/configure.in.in #1.31:1.32 @@ -60,5 +60,6 @@ AC_CHECK_HEADERS(sys/file.h sys/stat.h sys/time.h sys/cdefs.h sys/sockio.h) AC_CHECK_HEADERS(fcntl.h unistd.h fnmatch.h sysent.h strings.h paths.h) -AC_CHECK_HEADERS(utmp.h re_comp.h getopt.h resolv.h byteswap.h) +AC_CHECK_HEADERS(utmp.h re_comp.h getopt.h byteswap.h) +AC_CHECK_HEADER([resolv.h],,,[#include <netinet/in.h>]) |