commit 755661cd67e42ef8a8b07c8b7f92094ed978fb16
Author: phantomjinx <p.g.richard...@phantomjinx.co.uk>
Date:   Tue Nov 2 11:01:59 2010 +0000

    Modifications to configure script to tar long filenames
    
    * Running make dist on current project layout causes errors when trying to 
tar
      since the file path lenghts exceed 99 characters.
    * Switched to using tar-ustar option which allows 256 characters.
    * Updated AC_INIT to take the project and version number
    * Updated AM_INIT_AUTOMAKE to take the tar option.

 configure.in |   26 ++++++++++----------------
 1 files changed, 10 insertions(+), 16 deletions(-)
---
diff --git a/configure.in b/configure.in
index 6740d20..eda5b8c 100644
--- a/configure.in
+++ b/configure.in
@@ -3,22 +3,18 @@ dnl Process this file with autoconf to produce a configure 
script.
 # Require autoconf 2.55 or higher
 AC_PREREQ(2.55)
 
-AC_INIT(configure.in, 2.0.0)
-AM_CONFIG_HEADER(config.h)
-AC_CONFIG_SRCDIR(src/main.c)
-
 # Making releases:
 #   LIBGTKPOD_MICRO_VERSION += 1;
 #   LIBGTKPOD_SO_VERSION - see comments
 #
-LIBGTKPOD_MAJOR_VERSION=2
-LIBGTKPOD_MINOR_VERSION=0
-LIBGTKPOD_MICRO_VERSION=0
+m4_define([LIBGTKPOD_MAJOR_VERSION], [2])
+m4_define([LIBGTKPOD_MINOR_VERSION], [0])
+m4_define([LIBGTKPOD_MICRO_VERSION], [0])
 # If you need a modifier for the version number. 
 # Normally empty, but can be used to make "fixup" releases.
-LIBGTKPOD_EXTRAVERSION=GIT
+m4_define([LIBGTKPOD_EXTRAVERSION], [GIT])
 
-LIBGTKPOD_VERSION=$LIBGTKPOD_MAJOR_VERSION.$LIBGTKPOD_MINOR_VERSION.$LIBGTKPOD_MICRO_VERSION$LIBGTKPOD_EXTRAVERSION
+m4_define([LIBGTKPOD_VERSION], 
m4_defn([LIBGTKPOD_MAJOR_VERSION]).m4_defn([LIBGTKPOD_MINOR_VERSION]).m4_defn([LIBGTKPOD_MICRO_VERSION])m4_defn([LIBGTKPOD_EXTRAVERSION]))
 
 dnl libtool versioning
 # +1 : 0 : +1  == adds new functions to the interface
@@ -26,15 +22,13 @@ dnl libtool versioning
 #                 changes to the signature and the semantic)
 #  ? :+1 : ?   == just internal changes
 # CURRENT : REVISION : AGE
-LIBGTKPOD_SO_VERSION=1:0:0
+m4_define([LIBGTKPOD_SO_VERSION], [1:0:0])
 
-AC_SUBST(LIBGTKPOD_SO_VERSION)
-AC_SUBST(LIBGTKPOD_MAJOR_VERSION)
-AC_SUBST(LIBGTKPOD_MINOR_VERSION)
-AC_SUBST(LIBGTKPOD_MICRO_VERSION)
-AC_SUBST(LIBGTKPOD_VERSION)
+AC_INIT([gtkpod], m4_defn([LIBGTKPOD_VERSION]))
+AM_CONFIG_HEADER(config.h)
+AC_CONFIG_SRCDIR(src/main.c)
 
-AM_INIT_AUTOMAKE(gtkpod, $LIBGTKPOD_VERSION)
+AM_INIT_AUTOMAKE([1.9 tar-ustar]) 
 AM_MAINTAINER_MODE
 AC_CANONICAL_HOST
 AC_ISC_POSIX

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
gtkpod-cvs2 mailing list
gtkpod-cvs2@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2

Reply via email to