gentoo-ebuilds/dev-build/autoconf-vanilla/files/autoconf-2.13-gentoo.patch
Michał Górny 2211dfa066
Move {sys-devel → dev-build}/autoconf-vanilla
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2024-01-15 16:58:21 +01:00

36 lines
799 B
Diff

--- a/configure
+++ b/configure
@@ -654,12 +654,10 @@
echo "$ac_t""no" 1>&6
fi
-if test "$PERL" != no; then
- SCRIPTS=autoscan
-else
- echo "configure: warning: autoscan will not be built since perl is not found" 1>&2
+if test "$PERL" = no; then
+ PERL=/usr/bin/perl
fi
-
+SCRIPTS=autoscan
ac_aux_dir=
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
if test -f $ac_dir/install-sh; then
--- a/configure.in
+++ b/configure.in
@@ -14,12 +14,10 @@
AC_PATH_PROG(PERL, perl, no)
AC_SUBST(PERL)dnl
AC_SUBST(SCRIPTS)dnl
-if test "$PERL" != no; then
- SCRIPTS=autoscan
-else
- AC_MSG_WARN(autoscan will not be built since perl is not found)
+if test "$PERL" = no; then
+ PERL=/usr/bin/perl
fi
-
+SCRIPTS=autoscan
AC_PROG_INSTALL
# Work with the GNU or Cygnus source tree layout.