1 dnl as-version.m4 0.1.0
3 dnl autostars m4 macro for versioning (modified)
5 dnl Thomas Vander Stichele <thomas at apestaart dot org>
6 dnl David Schleef <ds@schleef.org>
8 dnl $Id: as-nano.m4,v 1.2 2007-03-16 23:30:02 ds Exp $
10 dnl AS_VERSION(ACTION-IF-NO-NANO, [ACTION-IF-NANO])
14 AC_MSG_CHECKING(nano version)
16 NANO=$(echo AC_PACKAGE_VERSION | sed ['s/[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\.*//'])
19 if test x"$NANO" = x || test "x$NANO" = "x0" ; then
20 AC_MSG_RESULT([0 (release)])
22 ifelse([$1], , :, [$1])
25 ifelse([$2], , :, [$2])