From: Ondřej Surý Date: Mon, 3 Jan 2022 14:32:12 +0000 (+0100) Subject: Override result of AC_PROG_LN_S to fix FTBFS on ppc64el X-Git-Tag: archive/raspbian/8.2.24-1+rpi1^2~6 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6aa67ee87874520648262ff98f9ba394efc55739;p=php8.2.git Override result of AC_PROG_LN_S to fix FTBFS on ppc64el Gbp-Pq: Name 0043-Override-result-of-AC_PROG_LN_S-to-fix-FTBFS-on-ppc6.patch --- diff --git a/configure.ac b/configure.ac index 1db407b9..23eb4453 100644 --- a/configure.ac +++ b/configure.ac @@ -135,6 +135,11 @@ AC_PROG_CPP AC_USE_SYSTEM_EXTENSIONS AC_PROG_LN_S +if test "$LN_S" != "ln -s"; then + AC_MSG_WARN([Overriding result of AC_PROG_LN_S, ln -s always works here]) + LN_S='ln -s' +fi + if test "$cross_compiling" = yes ; then AC_MSG_CHECKING(for native build C compiler) AC_CHECK_PROGS(BUILD_CC, [gcc clang c99 c89 cc cl],none)