diff options
author | Gaetan Nadon <memsize@videotron.ca> | 2011-06-22 20:46:26 -0400 |
---|---|---|
committer | Gaetan Nadon <memsize@videotron.ca> | 2011-06-28 11:29:12 -0400 |
commit | 445b0b3efc04a74fc77cd3e483b25cfb5da82f12 (patch) | |
tree | 5316c33b74b0af2b6925129b98ab66fe5ff6e97f | |
parent | 47d99a324db9232029a22dd523e3bc3ed0936aca (diff) |
config: use XORG_WITH_PERL macro to replace custom program check
New in version util-macros 1.15, the macro does the usual checking
for program path and provides an interface for makefile variables.
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-rw-r--r-- | configure.ac | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/configure.ac b/configure.ac index 0231de65..0c68ff4c 100644 --- a/configure.ac +++ b/configure.ac @@ -31,6 +31,7 @@ XORG_WITH_FOP([],[no]) XORG_WITH_XSLTPROC XORG_CHECK_SGML_DOCTOOLS(1.8) XORG_PROG_RAWCPP +XORG_WITH_PERL # Required when PKG_CHECK_MODULES called within an if statement PKG_PROG_PKG_CONFIG @@ -65,15 +66,6 @@ if test x"$LDFLAGS_FOR_BUILD" = x; then fi AC_SUBST(LDFLAGS_FOR_BUILD) -# Find perl for "make check" tests in nls/Makefile.am -AC_ARG_WITH(perl, - AS_HELP_STRING([--with-perl=<path>], - [path to perl interpreter for build-time tests]), - [PERL=$withval ; AC_MSG_CHECKING([perl]) ; - AC_MSG_RESULT([(from --with-perl) $PERL])], - AC_CHECK_PROGS([PERL], [perl], [no])) -AM_CONDITIONAL(HAVE_PERL, test x$PERL != xno) - # Checks for pkg-config packages # Always required |