Gentoo Archives: gentoo-commits

From: "Michael Haubenwallner (haubi)" <haubi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo commit in src/patchsets/mico/2.3.13: 012_all_early-header-check.patch
Date: Thu, 26 May 2011 09:17:12
Message-Id: 20110526091703.8136520054@flycatcher.gentoo.org
1 haubi 11/05/26 09:17:03
2
3 Added: 012_all_early-header-check.patch
4 Log:
5 fix function prototype checks due to first header check being conditional
6
7 Revision Changes Path
8 1.1 src/patchsets/mico/2.3.13/012_all_early-header-check.patch
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/mico/2.3.13/012_all_early-header-check.patch?rev=1.1&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/mico/2.3.13/012_all_early-header-check.patch?rev=1.1&content-type=text/plain
12
13 Index: 012_all_early-header-check.patch
14 ===================================================================
15 The first header-check resolves AC_REQUIRE(AC_PROG_EGREP). If that is not
16 run due to some condition, EGREP is unset for subsequent checks.
17 This breaks the checks for function prototypes.
18
19 --- configure.in.orig 2011-05-26 07:49:07.047082532 +0200
20 +++ configure.in 2011-05-26 07:52:48.130834617 +0200
21 @@ -411,6 +411,8 @@
22 AC_SUBST(EXTRA_CXXFLAGS)
23 ac_compile="$ac_compile "'$EXTRA_CXXFLAGS'
24
25 +AC_HEADER_STDC
26 +
27 #
28 # thread support
29 #
30 @@ -1342,7 +1344,6 @@
31 # Checks for header files.
32 #
33
34 -AC_HEADER_STDC
35 AC_CHECK_HEADERS(fcntl.h unistd.h sys/select.h strings.h float.h ieeefp.h)
36 AC_CHECK_HEADERS(sys/un.h netinet/in.h arpa/inet.h netdb.h dlfcn.h dl.h)
37 AC_CHECK_HEADERS(netinet/tcp.h stdlib.h sys/time.h sunmath.h sys/stat.h)