diff options
| author | Peter Hutterer <peter.hutterer@who-t.net> | 2014-07-02 17:23:46 +1000 |
|---|---|---|
| committer | Pekka Paalanen <pq@iki.fi> | 2014-07-06 12:39:16 +0300 |
| commit | 567977815a8eb73fa22908bb730b6ff395d95a28 (patch) | |
| tree | d0b0a68f4d48e0048558995917bcc9677c4f01f1 | |
| parent | doc: force publican to use fop (diff) | |
| download | wayland-567977815a8eb73fa22908bb730b6ff395d95a28.tar wayland-567977815a8eb73fa22908bb730b6ff395d95a28.tar.gz wayland-567977815a8eb73fa22908bb730b6ff395d95a28.tar.bz2 wayland-567977815a8eb73fa22908bb730b6ff395d95a28.tar.lz wayland-567977815a8eb73fa22908bb730b6ff395d95a28.tar.xz wayland-567977815a8eb73fa22908bb730b6ff395d95a28.tar.zst wayland-567977815a8eb73fa22908bb730b6ff395d95a28.zip | |
configure: fix publican version detection
Publican now adds a spurious "v" to the version output.
| -rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index c7ccace..e16c5b5 100644 --- a/configure.ac +++ b/configure.ac @@ -112,7 +112,7 @@ if test "x$enable_documentation" = "xyes"; then AC_PATH_PROG(PUBLICAN, publican) if test "x$PUBLICAN" != "x"; then - PUBLICAN_VERSION=[`$PUBLICAN -v | sed -e 's/version=\([0-9]*\.[0-9]*\).*/\1/'`] + PUBLICAN_VERSION=[`$PUBLICAN -v | sed -e 's/version=v\?\([0-9]*\.[0-9]*\).*/\1/'`] if test [ 1 -eq `echo "${PUBLICAN_VERSION} < 2.8" | bc` ]; then AC_MSG_ERROR([Publican version is not supported. Install publican >= 2.8 or disable the documentation using --disable-documentation]) |
