Re: Tiny bit of autoconf/automake help on librsvg head?
- From: Havoc Pennington <hp redhat com>
- To: Darin Adler <darin bentspoon com>
- Cc: Gnome Hackers <gnome-hackers gnome org>
- Subject: Re: Tiny bit of autoconf/automake help on librsvg head?
- Date: 03 Jan 2002 16:28:16 -0500
Hi,
This should be roughly the right patch, I don't have old autoconf
isntalled anymore to test though.
Havoc
Index: configure.in
===================================================================
RCS file: /cvs/gnome/librsvg/configure.in,v
retrieving revision 1.21
diff -u -p -u -r1.21 configure.in
--- configure.in 2002/01/03 21:03:25 1.21
+++ configure.in 2002/01/03 21:26:38
@@ -1,9 +1,5 @@
-AC_PREREQ(2.52)
-AC_INIT(librsvg, 1.1,
- [http://bugzilla.gnome.org/enter_bug.cgi?product=librsvg])
-AC_CONFIG_SRCDIR(rsvg.h)
-AM_CONFIG_HEADER(config.h)
-AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
+
+AC_INIT(rsvg.h)
dnl ===========================================================================
@@ -14,10 +10,15 @@ AC_SUBST(LIBRSVG_MAJOR_VERSION)
AC_SUBST(LIBRSVG_MINOR_VERSION)
AC_SUBST(LIBRSVG_MICRO_VERSION)
+LIBRSVG_VERSION=$LIBRSVG_MAJOR_VERSION.$LIBRSVG_MINOR_VERSION.$LIBRSVG_MICRO_VERSION
+
VERSION_INFO=`expr $LIBRSVG_MAJOR_VERSION + $LIBRSVG_MINOR_VERSION`:$LIBRSVG_MICRO_VERSION:$LIBRSVG_MINOR_VERSION
AC_SUBST(VERSION_INFO)
dnl ===========================================================================
+
+AM_INIT_AUTOMAKE(librsvg, $LIBRSVG_VERSION)
+AM_CONFIG_HEADER(config.h)
GNOME_COMMON_INIT
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]