summaryrefslogtreecommitdiff
path: root/dev-build/autoconf/files/autoconf-2.13-gentoo.patch
blob: 44f09cba92f0027ca72fb5aa81262bd3001e7d06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
--- 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.