diff options
author | GMT 2004 Tony Gale <gale@gtk.org> | 2004-01-13 14:50:35 +0000 |
---|---|---|
committer | Tony Gale <gale@src.gnome.org> | 2004-01-13 14:50:35 +0000 |
commit | d5571613e27be7b43de22b3049279fccae4630bd (patch) | |
tree | 5b82c5f991516aa2e23131c6dcd36cb832dadaaf /docs | |
parent | 194c808194c7584056cb4172beb4054d61c8c14d (diff) | |
download | gtk+-d5571613e27be7b43de22b3049279fccae4630bd.tar.gz |
Update info on using autoconf
Tue Jan 13 14:48:27 GMT 2004 Tony Gale <gale@gtk.org>
* docs/faq/gtk-faq.sgml: Update info on using autoconf
Diffstat (limited to 'docs')
-rw-r--r-- | docs/faq/gtk-faq.sgml | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/docs/faq/gtk-faq.sgml b/docs/faq/gtk-faq.sgml index df91d4477f..5c5a6ad1f8 100644 --- a/docs/faq/gtk-faq.sgml +++ b/docs/faq/gtk-faq.sgml @@ -2,7 +2,7 @@ <book> <bookinfo> - <date>January 9th 2004</date> + <date>January 13th 2004</date> <title>GTK+ FAQ</title> <authorgroup> <author> @@ -976,7 +976,7 @@ url="ftp://ftp.gnu.org/gnu/make/">ftp://ftp.gnu.org/gnu/make/</ulink>).</para> <sect1> <title>I want to add some configure stuff, how could I do -this?</title> +this? <emphasis>[GTK 2.x]</emphasis></title> <para>To use autoconf/automake, you must first install the relevant packages. These are:</para> @@ -985,10 +985,10 @@ relevant packages. These are:</para> <listitem><simpara>the m4 preprocessor v1.4 or better</simpara> </listitem> -<listitem><simpara>autoconf v2.13 or better</simpara> +<listitem><simpara>autoconf v2.54 or better</simpara> </listitem> -<listitem><simpara>automake v1.4 or better</simpara> +<listitem><simpara>automake v1.7 or better suggested</simpara> </listitem> </itemizedlist> @@ -1003,20 +1003,20 @@ you must create a configure.in which may look like:</para> dnl Process this file with autoconf to produce a configure script. dnl configure.in for a GTK+ based program -AC_INIT(myprg.c)dnl -AM_INIT_AUTOMAKE(mypkgname,0.0.1)dnl -AM_CONFIG_HEADER(config.h)dnl +AC_INIT(myprg.c) +AM_INIT_AUTOMAKE(mypkgname, 0.0.1) +AM_CONFIG_HEADER(config.h) dnl Checks for programs. AC_PROG_CC dnl check for the c compiler dnl you should add CFLAGS="" here, 'cos it is set to -g by PROG_CC dnl Checks for libraries. -AM_PATH_GTK(1.2.0,,AC_MSG_ERROR(mypkgname 0.1 needs GTK))dnl +AM_PATH_GTK_2_0(2.2.0,,AC_MSG_ERROR(mypkgname 0.1 needs GTK+ 2.2.0)) AC_OUTPUT( Makefile -)dnl +) </programlisting> <para>You must add a Makefile.am file:</para> |