From d5571613e27be7b43de22b3049279fccae4630bd Mon Sep 17 00:00:00 2001 From: GMT 2004 Tony Gale Date: Tue, 13 Jan 2004 14:50:35 +0000 Subject: Update info on using autoconf Tue Jan 13 14:48:27 GMT 2004 Tony Gale * docs/faq/gtk-faq.sgml: Update info on using autoconf --- docs/faq/gtk-faq.sgml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'docs') diff --git a/docs/faq/gtk-faq.sgml b/docs/faq/gtk-faq.sgml index df91d4477..5c5a6ad1f 100644 --- a/docs/faq/gtk-faq.sgml +++ b/docs/faq/gtk-faq.sgml @@ -2,7 +2,7 @@ - January 9th 2004 + January 13th 2004 GTK+ FAQ @@ -976,7 +976,7 @@ url="ftp://ftp.gnu.org/gnu/make/">ftp://ftp.gnu.org/gnu/make/). I want to add some configure stuff, how could I do -this? +this? [GTK 2.x] To use autoconf/automake, you must first install the relevant packages. These are: @@ -985,10 +985,10 @@ relevant packages. These are: the m4 preprocessor v1.4 or better -autoconf v2.13 or better +autoconf v2.54 or better -automake v1.4 or better +automake v1.7 or better suggested @@ -1003,20 +1003,20 @@ you must create a configure.in which may look like: 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 +) You must add a Makefile.am file: -- cgit v1.2.1