/[xforms]/xforms/config/xformsinclude.m4
ViewVC logotype

Diff of /xforms/config/xformsinclude.m4

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by leeming, Thu Apr 24 12:48:19 2003 UTC revision 1.2 by leeming, Mon May 19 21:28:58 2003 UTC
# Line 4  dnl         Lars Gullik Bjønnes (larsbj@ Line 4  dnl         Lars Gullik Bjønnes (larsbj@
4  dnl         Allan Rae (rae@lyx.org)  dnl         Allan Rae (rae@lyx.org)
5    
6    
7    dnl Usage XFORMS_SET_VERSION(Version, Revision, Fixlevel)
8    dnl Sets variables VERSION, FL_VERSION, FL_REVISION, FL_FIXLEVEL.
9    AC_DEFUN(XFORMS_SET_VERSION,[
10    VERSION="$1.$2.$3"
11    AC_SUBST(FL_VERSION, $1)
12    AC_SUBST(FL_REVISION, $2)
13    AC_SUBST(FL_FIXLEVEL, $3)
14    AC_SUBST(VERSION, $VERSION)
15    ])
16    
17  dnl Usage XFORMS_CHECK_VERSION   Displays version of xforms being built and  dnl Usage XFORMS_CHECK_VERSION   Displays version of xforms being built and
18  dnl sets variables "xforms_devel_version" and "xforms_prerelease"  dnl sets variables "xforms_devel_version" and "xforms_prerelease"
19  AC_DEFUN(XFORMS_CHECK_VERSION,[  AC_DEFUN(XFORMS_CHECK_VERSION,[
 changequote(, ) dnl  
20  echo "configuring xforms version $VERSION"  echo "configuring xforms version $VERSION"
21  if echo "$VERSION" | grep 'cvs' >/dev/null ; then  xforms_prerelease=no
22    xforms_devel_version=yes  xforms_devel_version=no
23    echo "WARNING: This is a development version. Expect bugs."  case $VERSION in
24  else    *cvs*) xforms_devel_version=yes
25    xforms_devel_version=no           AC_DEFINE(DEVEL_VERSION, 1, Define if you are building a development version of xforms)
26  fi           echo "WARNING: This is a development version. Expect bugs." ;;
27  if echo "$VERSION" | grep 'pre' > /dev/null ; then    *pre*) xforms_prerelease=yes
28      xforms_prerelease=yes           echo "WARNING: This is a prerelease. Be careful!" ;;
29      echo "WARNING: This is a prerelease. Be careful!"  esac])
 else  
     xforms_prerelease=no  
 fi  
 changequote([, ]) dnl  
 AC_SUBST(xforms_devel_version)  
 if test $xforms_devel_version = yes ; then  
   AC_DEFINE(DEVEL_VERSION, 1, Define if you are building a development version of xforms)  
 fi])  
   
30    
31  dnl Usage XFORMS_CHECK_LIB_JPEG: Checks for jpeg library  dnl Usage XFORMS_CHECK_LIB_JPEG: Checks for jpeg library
32  AC_DEFUN(XFORMS_CHECK_LIB_JPEG,[  AC_DEFUN(XFORMS_CHECK_LIB_JPEG,[

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26