diff options
author | Ian Lynagh <igloo@earth.li> | 2010-02-23 15:05:22 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2010-02-23 15:05:22 +0000 |
commit | bfd7960566a3033182087a411016a04bd74f5eed (patch) | |
tree | 9b4784303445266a4b1bf2d00c40b390fc42f8ff /aclocal.m4 | |
parent | f45b6f5ed3570f5907deb36388ba06446170c45a (diff) | |
download | haskell-bfd7960566a3033182087a411016a04bd74f5eed.tar.gz |
Fix the links to the base docs from the user guide
Diffstat (limited to 'aclocal.m4')
-rw-r--r-- | aclocal.m4 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/aclocal.m4 b/aclocal.m4 index 540ec3e64b..275b2e4326 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -1327,4 +1327,12 @@ case "$1" in esac ]) +# LIBRARY_VERSION(lib) +# -------------------------------- +# Gets the version number of a library +AC_DEFUN([LIBRARY_VERSION],[ +LIBRARY_$1_VERSION=`grep -i "^version:" libraries/$1/$1.cabal | sed "s/.* //"` +AC_SUBST(LIBRARY_$1_VERSION) +]) + # LocalWords: fi |