1 |
dnl Some useful functions for xformss configure.in -*- sh -*- |
dnl Some useful functions for xforms configure.in -*- sh -*- |
2 |
dnl Author: Jean-Marc Lasgouttes (Jean-Marc.Lasgouttes@inria.fr) |
dnl Author: Jean-Marc Lasgouttes (lasgouttes@lyx.org) |
3 |
dnl Lars Gullik Bjønnes (larsbj@lyx.org) |
dnl Lars Gullik Bjønnes (larsbj@lyx.org) |
4 |
dnl Allan Rae (rae@lyx.org) |
dnl Allan Rae (rae@lyx.org) |
5 |
|
|
7 |
dnl Usage XFORMS_SET_VERSION(Version, Revision, Fixlevel) |
dnl Usage XFORMS_SET_VERSION(Version, Revision, Fixlevel) |
8 |
dnl Sets variables VERSION, FL_VERSION, FL_REVISION, FL_FIXLEVEL. |
dnl Sets variables VERSION, FL_VERSION, FL_REVISION, FL_FIXLEVEL. |
9 |
AC_DEFUN(XFORMS_SET_VERSION,[ |
AC_DEFUN(XFORMS_SET_VERSION,[ |
|
VERSION="$1.$2.$3" |
|
10 |
AC_SUBST(FL_VERSION, $1) |
AC_SUBST(FL_VERSION, $1) |
11 |
AC_SUBST(FL_REVISION, $2) |
AC_SUBST(FL_REVISION, $2) |
12 |
AC_SUBST(FL_FIXLEVEL, $3) |
AC_SUBST(FL_FIXLEVEL, $3) |
13 |
AC_SUBST(VERSION, $VERSION) |
AC_SUBST(VERSION, $1.$2.$3) |
14 |
]) |
]) |
15 |
|
|
16 |
dnl Usage XFORMS_CHECK_VERSION Displays version of xforms being built and |
dnl Usage XFORMS_CHECK_VERSION Displays version of xforms being built and |