From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from tiger.gg3.net (142.13.111.219.st.bbexcite.jp [219.111.13.142]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j4K66Bv7019587 for ; Fri, 20 May 2005 06:06:13 GMT Received: (qmail 11568 invoked by uid 89); 20 May 2005 15:06:13 +0900 Received: from ols-dell.iic.hokudai.ac.jp (133.87.4.159) by 0 with AES256-SHA encrypted SMTP; 20 May 2005 15:06:13 +0900 Received: (qmail 10380 invoked by uid 1000); 20 May 2005 15:06:12 +0900 Date: Fri, 20 May 2005 15:06:12 +0900 From: Georgi Georgiev To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Unofficial Gentoo Development Guide and Autotools Message-ID: <20050520060612.GA10306@ols-dell.gg3.net> Mail-Followup-To: gentoo-dev@lists.gentoo.org References: <20050519044425.549e1f64@snowdrop> <20050520060621.6a82957a@snowdrop> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EeQfGwPcQSOJBaQU" Content-Disposition: inline In-Reply-To: <20050520060621.6a82957a@snowdrop> User-Agent: Mutt/1.5.8i X-Archives-Salt: b2e93a95-f552-4f9c-9221-5aeb3b336d13 X-Archives-Hash: bdbc01a9c7deff2d21b0fe6298a8e692 --EeQfGwPcQSOJBaQU Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable maillog: 20/05/2005-06:06:21(+0100): Ciaran McCreesh types > On Thu, 19 May 2005 04:44:25 +0100 Ciaran McCreesh > wrote: > | http://www.firedrop.org.uk/devmanual/general-concepts/autotools/ >=20 > Updated based upon the feedback, thanks guys. If someone who's > relatively clueless about autotools could give it a read and let me know > what is and isn't clear I'd appreciate it. That would be me. Notes: - typo? - The configure script is run to produce one or Makefile files from Makefi= le.in files. + The configure script is run to produce one or more Makefile files from M= akefile.in files. - clarification AC_MSG_CHECKING(--enable-cscope argument) AC_ARG_ENABLE(cscope, [ --enable-cscope Include cscope interface.], [enable_cscope=3D$enableval], [enable_cscope=3D"no"]) AC_MSG_RESULT($enable_cscope) if test "$enable_cscope" =3D "yes"; then AC_DEFINE(FEAT_CSCOPE) fi <1 paragraph skipped> Important: The third argument is used when an option is specified, and the fourth is used when an option is not specified. A common misconception is that the third is enable and the fourth is disable =E2=80=94 this is not the case. You may encounter packages that get this wrong. The phrase "when an option is specified" is a bit ambiguous, especially since it is later referred by the explanation of AC_ARG_WITH. I was not sure if "option" in this case means "option" as in "--enable-foo=3DOPTION". I was confused, because one paragarph before the example you talk about "--enable-foo and --disable-foo *switches* to =2E/configure". Maybe the above can be written as: =E2=80=9FThe third argument is used when either "--enable" or "--disable" is specified, and the fourth is used when neither is specified.=E2=80=9D Or you could simply stick to using "switches" instead of "options"? - coloring %.1 : %.in @regex_cmd@ -e "s,\@VERSION\@,$(VERSION),g" $? > $@ The first "@" is span.Special and the second one is span.Constant. Good job by the way. --=20 () Georgi Georgiev () There is only one thing in the world worse () () chutz@gg3.net () than being talked about, and that is not () () +81(90)2877-8845 () being talked about. -- Oscar Wilde () --EeQfGwPcQSOJBaQU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFCjX5UfXO2NUT1EmYRAtG/AJ451KzVcDZ4bNRdp2aW0M9rq4QmwQCcC64h YhnPrGZQOzS27Vpjga1VOgM= =LNiX -----END PGP SIGNATURE----- --EeQfGwPcQSOJBaQU-- -- gentoo-dev@gentoo.org mailing list