summaryrefslogtreecommitdiffstats
path: root/cpukit/aclocal/rtems-ampolish.m4
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/aclocal/rtems-ampolish.m4')
-rw-r--r--cpukit/aclocal/rtems-ampolish.m45
1 files changed, 3 insertions, 2 deletions
diff --git a/cpukit/aclocal/rtems-ampolish.m4 b/cpukit/aclocal/rtems-ampolish.m4
index 9413045509..edb8fc4b51 100644
--- a/cpukit/aclocal/rtems-ampolish.m4
+++ b/cpukit/aclocal/rtems-ampolish.m4
@@ -2,9 +2,10 @@
AC_DEFUN([RTEMS_AMPOLISH3],
[
-AC_PATH_PROG([AMPOLISH3],[ampolish3],[])
+AC_PATH_PROG([PERL],[perl],[])
+AC_SUBST(AMPOLISH3,["\$(PERL) \$(top_srcdir)/${rtems_updir}ampolish3"])
AM_CONDITIONAL([AMPOLISH3],
[test x"$USE_MAINTAINER_MODE" = x"yes" \
- && test -n "$AMPOLISH3"])
+ && test -n "${PERL}"])
])