Gentoo Archives: gentoo-doc-cvs

From: Josh Saddler <nightmorph@×××××××××××.org>
To: gentoo-doc-cvs@l.g.o
Subject: [gentoo-doc-cvs] cvs commit: autotools-practices.xml
Date: Fri, 08 Sep 2006 13:42:08
Message-Id: 20060908134204.EE2ED648D7@smtp.gentoo.org
1 nightmorph 06/09/08 13:42:04
2
3 Modified: autotools-practices.xml
4 Log:
5 typo fix, thanks to leio and flameeyes on irc
6
7 Revision Changes Path
8 1.2 xml/htdocs/doc/en/articles/autotools-practices.xml
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/articles/autotools-practices.xml?rev=1.2&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/articles/autotools-practices.xml?rev=1.2&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/articles/autotools-practices.xml?r1=1.1&r2=1.2
13
14 Index: autotools-practices.xml
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/articles/autotools-practices.xml,v
17 retrieving revision 1.1
18 retrieving revision 1.2
19 diff -u -r1.1 -r1.2
20 --- autotools-practices.xml 16 Dec 2005 15:03:59 -0000 1.1
21 +++ autotools-practices.xml 8 Sep 2006 13:42:04 -0000 1.2
22 @@ -1,6 +1,6 @@
23 <?xml version='1.0' encoding="UTF-8"?>
24 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
25 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/articles/autotools-practices.xml,v 1.1 2005/12/16 15:03:59 rane Exp $ -->
26 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/articles/autotools-practices.xml,v 1.2 2006/09/08 13:42:04 nightmorph Exp $ -->
27
28 <guide link="/doc/en/articles/autotools-practices.xml">
29 <title>Best practices with autotools</title>
30 @@ -94,17 +94,17 @@
31
32 <p>
33 The most commonly used macros in configure.ac are AC_CHECK_HEADERS,
34 -AC_CHECK_FUNCTS, and AC_CHECK_LIB, which test for the presence of,
35 -respectively, some header files, some library functions, and a given library
36 -(with a specific function in it). They are important for portability as they
37 -provides a way to check which headers are present and which are not (for
38 -example system headers that have different locations in different operating
39 -systems), and to check whether a function is present in the system library
40 -(asprintf() is missing in OpenBSD for example, while it's present on GNU C
41 -library and FreeBSD), and finally to check for the presence of some third-party
42 -library or to see if a specific link to a library is needed to get some
43 -functions (for example dlopen() function is in libdl library on GNU systems,
44 -while it's provided by the system's C library on FreeBSD).
45 +AC_CHECK_FUNCS, and AC_CHECK_LIB, which test for the presence of, respectively,
46 +some header files, some library functions, and a given library (with a specific
47 +function in it). They are important for portability as they provides a way to
48 +check which headers are present and which are not (for example system headers
49 +that have different locations in different operating systems), and to check
50 +whether a function is present in the system library (asprintf() is missing in
51 +OpenBSD for example, while it's present on GNU C library and FreeBSD), and
52 +finally to check for the presence of some third-party library or to see if a
53 +specific link to a library is needed to get some functions (for example
54 +dlopen() function is in libdl library on GNU systems, while it's provided by
55 +the system's C library on FreeBSD).
56 </p>
57
58 <p>
59
60
61
62 --
63 gentoo-doc-cvs@g.o mailing list