diff options
author | Gaetan Nadon <memsize@videotron.ca> | 2011-06-22 12:42:30 -0400 |
---|---|---|
committer | Gaetan Nadon <memsize@videotron.ca> | 2011-06-22 20:31:19 -0400 |
commit | b87c5e7f6c9e856cf82c3c531255adccbd9fae5c (patch) | |
tree | b3265aa474c0cfb0b3737a1c7e28108458cbd7c3 | |
parent | f3332a7214af43878691b4f4876c39dc7d546266 (diff) |
XORG_WITH_XSLTPROC: warn at development time rather than config time
Catching up unimplemented features should be done earlier by the developer
during autoconf rather than during configure.
Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-rw-r--r-- | xorg-macros.m4.in | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/xorg-macros.m4.in b/xorg-macros.m4.in index e8c14c3..0527dfe 100644 --- a/xorg-macros.m4.in +++ b/xorg-macros.m4.in @@ -457,6 +457,8 @@ AM_CONDITIONAL([HAVE_XMLTO], [test "$have_xmlto" = yes]) # AC_DEFUN([XORG_WITH_XSLTPROC],[ AC_ARG_VAR([XSLTPROC], [Path to xsltproc command]) +# Preserves the interface, should it be implemented later +m4_ifval([$1], [m4_warn([syntax], [Checking for xsltproc MIN-VERSION is not implemented])]) m4_define([_defopt], m4_default([$2], [auto])) AC_ARG_WITH(xsltproc, AS_HELP_STRING([--with-xsltproc], @@ -487,10 +489,6 @@ else AC_MSG_ERROR([--with-xsltproc expects 'yes' or 'no']) fi -# Checking for minimum version is not implemented -# but we want to keep the interface consistent with other commands -m4_ifval([$1],[AC_MSG_WARN(Checking for MIN-VERSION is not implemented.)]) - AM_CONDITIONAL([HAVE_XSLTPROC], [test "$have_xsltproc" = yes]) ]) # XORG_WITH_XSLTPROC |