]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
configure: make perl path with whitespace a warning, not error.
authorKarl Berry <karl@freefriends.org>
Sun, 24 Nov 2024 01:57:41 +0000 (17:57 -0800)
committerKarl Berry <karl@freefriends.org>
Sun, 24 Nov 2024 01:57:41 +0000 (17:57 -0800)
For https://bugs.gnu.org/74453.
See also https://bugs.gnu.org/62896.

* configure.ac (PERL): use AC_MSG_WARN.

configure.ac

index e4c7a126c06f40a34a2cb99db9672d1bbca09aea..fb2b3707624acb224453181b4adc8ba3bf24f167 100644 (file)
@@ -73,9 +73,11 @@ case $PERL in
    AC_MSG_ERROR([perl not found])
    ;;
  *' '* | *'    '*)
-  AC_MSG_ERROR([The path to your Perl contains spaces or tabs.
-This would cause build failures later or unusable programs.
-Please use a path without spaces and try again.])
+  AC_MSG_WARN([The path to your Perl contains spaces or tabs.
+This will likely cause build failures later or unusable programs.
+Unless you're specifying a full string for a #! line,
+as in "/usr/bin/env perl",
+please use a path without spaces and try again.])
   ;;
 esac