summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--c/src/aclocal/rtems-ampolish.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/aclocal/rtems-ampolish.m4 b/c/src/aclocal/rtems-ampolish.m4
index edb8fc4b51..9a7c0adf39 100644
--- a/c/src/aclocal/rtems-ampolish.m4
+++ b/c/src/aclocal/rtems-ampolish.m4
@@ -3,7 +3,7 @@
AC_DEFUN([RTEMS_AMPOLISH3],
[
AC_PATH_PROG([PERL],[perl],[])
-AC_SUBST(AMPOLISH3,["\$(PERL) \$(top_srcdir)/${rtems_updir}ampolish3"])
+AC_SUBST(AMPOLISH3,["\$(PERL) ${ac_aux_dir}/ampolish3"])
AM_CONDITIONAL([AMPOLISH3],
[test x"$USE_MAINTAINER_MODE" = x"yes" \
&& test -n "${PERL}"])