On Sun, 7 Oct 2007, Tilman Sauerbeck wrote:
> Can we switch to this: > AC_INIT(package, version) > AC_CONFIG_SRCDIR([configure.in]) > AM_INIT_AUTOMAKE([dist-bzip2]) > instead? I believe that's the current way to initialize > autoconf/automake. Tilman, here is a patch below. Is it sufficient for you ? If so, I'll commit it Vincent Index: configure.in =================================================================== RCS file: /cvs/e/e17/libs/edje/configure.in,v retrieving revision 1.87 diff -u -r1.87 configure.in --- configure.in 7 Oct 2007 08:02:53 -0000 1.87 +++ configure.in 7 Oct 2007 15:09:15 -0000 @@ -3,13 +3,14 @@ # get rid of that stupid cache mechanism rm -f config.cache -AC_INIT(configure.in) +AC_INIT(edje, 0.5.0.041) +AC_PREREQ(2.52) +AC_CONFIG_SRCDIR(configure.in) AC_CANONICAL_BUILD AC_CANONICAL_HOST AC_ISC_POSIX -VER=0.5.0.041 -AM_INIT_AUTOMAKE(edje, $VER) +AM_INIT_AUTOMAKE(1.6 dist-bzip2) AM_CONFIG_HEADER(config.h) AC_PROG_CC @@ -22,10 +23,10 @@ define([AC_LIBTOOL_LANG_F77_CONFIG], [:])dnl AC_PROG_LIBTOOL -VMAJ=`echo $VER | awk -F . '{printf("%s", $1);}'` -VMIN=`echo $VER | awk -F . '{printf("%s", $2);}'` -VMIC=`echo $VER | awk -F . '{printf("%s", $3);}'` -SNAP=`echo $VER | awk -F . '{printf("%s", $4);}'` +VMAJ=`echo $PACKAGE_VERSION | awk -F . '{printf("%s", $1);}'` +VMIN=`echo $PACKAGE_VERSION | awk -F . '{printf("%s", $2);}'` +VMIC=`echo $PACKAGE_VERSION | awk -F . '{printf("%s", $3);}'` +SNAP=`echo $PACKAGE_VERSION | awk -F . '{printf("%s", $4);}'` version_info=`expr $VMAJ + $VMIN`":$VMIC:$VMIN" AC_SUBST(version_info) ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel