]> Pileus Git - ~andy/gtk/commitdiff
Update info on using autoconf
authorGMT 2004 Tony Gale <gale@gtk.org>
Tue, 13 Jan 2004 14:50:35 +0000 (14:50 +0000)
committerTony Gale <gale@src.gnome.org>
Tue, 13 Jan 2004 14:50:35 +0000 (14:50 +0000)
Tue Jan 13 14:48:27 GMT 2004  Tony Gale <gale@gtk.org>

        * docs/faq/gtk-faq.sgml: Update info on using autoconf

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
docs/faq/gtk-faq.sgml

index 9a0730566703b81ca34df04d54718118ea0c7121..fcd7524bbae262b4f23ded4adc6ec333c9806b3f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Tue Jan 13 14:48:27 GMT 2004  Tony Gale <gale@gtk.org>
+
+       * docs/faq/gtk-faq.sgml: Update info on using autoconf
+
 Mon Jan 12 23:40:34 2004  Matthias Clasen  <maclas@gmx.de>
 
        * tests/testmerge.c: Adjust to the new connect_proxy signals.
index 9a0730566703b81ca34df04d54718118ea0c7121..fcd7524bbae262b4f23ded4adc6ec333c9806b3f 100644 (file)
@@ -1,3 +1,7 @@
+Tue Jan 13 14:48:27 GMT 2004  Tony Gale <gale@gtk.org>
+
+       * docs/faq/gtk-faq.sgml: Update info on using autoconf
+
 Mon Jan 12 23:40:34 2004  Matthias Clasen  <maclas@gmx.de>
 
        * tests/testmerge.c: Adjust to the new connect_proxy signals.
index 9a0730566703b81ca34df04d54718118ea0c7121..fcd7524bbae262b4f23ded4adc6ec333c9806b3f 100644 (file)
@@ -1,3 +1,7 @@
+Tue Jan 13 14:48:27 GMT 2004  Tony Gale <gale@gtk.org>
+
+       * docs/faq/gtk-faq.sgml: Update info on using autoconf
+
 Mon Jan 12 23:40:34 2004  Matthias Clasen  <maclas@gmx.de>
 
        * tests/testmerge.c: Adjust to the new connect_proxy signals.
index 9a0730566703b81ca34df04d54718118ea0c7121..fcd7524bbae262b4f23ded4adc6ec333c9806b3f 100644 (file)
@@ -1,3 +1,7 @@
+Tue Jan 13 14:48:27 GMT 2004  Tony Gale <gale@gtk.org>
+
+       * docs/faq/gtk-faq.sgml: Update info on using autoconf
+
 Mon Jan 12 23:40:34 2004  Matthias Clasen  <maclas@gmx.de>
 
        * tests/testmerge.c: Adjust to the new connect_proxy signals.
index 9a0730566703b81ca34df04d54718118ea0c7121..fcd7524bbae262b4f23ded4adc6ec333c9806b3f 100644 (file)
@@ -1,3 +1,7 @@
+Tue Jan 13 14:48:27 GMT 2004  Tony Gale <gale@gtk.org>
+
+       * docs/faq/gtk-faq.sgml: Update info on using autoconf
+
 Mon Jan 12 23:40:34 2004  Matthias Clasen  <maclas@gmx.de>
 
        * tests/testmerge.c: Adjust to the new connect_proxy signals.
index df91d4477fb1a6eb49cb61a6c518d4cb5a496d43..5c5a6ad1f86b7771b1003e711e867a9e1e3df427 100644 (file)
@@ -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>