~ubuntu-branches/ubuntu/quantal/libgc/quantal

« back to all changes in this revision

Viewing changes to acinclude.m4

  • Committer: Bazaar Package Importer
  • Author(s): Christoph Egger
  • Date: 2011-02-19 12:19:56 UTC
  • mfrom: (1.3.2 upstream) (0.1.5 experimental)
  • mto: This revision was merged to the branch mainline in revision 14.
  • Revision ID: james.westby@ubuntu.com-20110219121956-67rb69xlt5nud3v2
Tags: 1:7.1-5
Upload to unstable

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
# [0-9]+[.][0-9]+(alpha[0.9]+)? 
18
18
# in lex syntax; if there is no alpha number, GC_ALPHA_VERSION is empty
19
19
#
20
 
AC_DEFUN([GC_SET_VERSION], [
 
20
AC_DEFUN(GC_SET_VERSION, [
21
21
  AC_MSG_CHECKING(GC version numbers)
22
22
  GC_VERSION_MAJOR=`echo $PACKAGE_VERSION | sed 's/^\([[0-9]][[0-9]]*\)[[.]].*$/\1/g'`
23
23
  GC_VERSION_MINOR=`echo $PACKAGE_VERSION | sed 's/^[[^.]]*[[.]]\([[0-9]][[0-9]]*\).*$/\1/g'`
46
46
${GC_ALPHA_VERSION:+alpha=}$GC_ALPHA_VERSION)
47
47
])
48
48
 
 
49
sinclude(libtool.m4)