From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=unavailable version=3.2.5 Date: Tue, 3 Nov 2009 19:22:16 +0300 From: Sergey Vlasov To: devel@lists.altlinux.org Message-ID: <20091103162216.GB10512@newmaster.mivlgu.local> Mail-Followup-To: devel@lists.altlinux.org, "Kirill A. Shutemov" References: <20091103153720.GB27829@wo.int.altlinux.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="1LKvkjL3sHcu1TtY" Content-Disposition: inline In-Reply-To: <20091103153720.GB27829@wo.int.altlinux.org> Cc: "Kirill A. Shutemov" Subject: Re: [devel] IA: Toolchain update X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Nov 2009 16:22:32 -0000 Archived-At: List-Archive: List-Post: --1LKvkjL3sHcu1TtY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Nov 03, 2009 at 06:37:20PM +0300, Dmitry V. Levin wrote: > Now sys/socket.h must be included before linux/netlink.h to compile the > latter. This is not an option for configure check, so it should be done > by linux/socket.h or linux/netlink.h. Actually recent autoconf versions can support this - an example for linux/netlink.h can be found, e.g., at http://svn.python.org/projects/python/branches/release26-maint/configure.in # On Linux, netlink.h requires asm/types.h AC_CHECK_HEADERS(linux/netlink.h,,,[ #ifdef HAVE_ASM_TYPES_H #include #endif #ifdef HAVE_SYS_SOCKET_H #include #endif ]) (AC_CHECK_HEADERS(asm/types.h sys/socket.h) must be called before) --1LKvkjL3sHcu1TtY Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD4DBQFK8Fi4W82GfkQfsqIRAnH9AJUY/okb9aZ6EjTMMew7tdDt3A87AJ4p4D+T c9y3axiyIsvzNzPxhzSVNg== =0470 -----END PGP SIGNATURE----- --1LKvkjL3sHcu1TtY--