From fc3f537464bd50a92da085eb82c138ff6217fa4c Mon Sep 17 00:00:00 2001 From: Christoph Date: Wed, 21 Oct 2026 20:51:03 +0200 Subject: [PATCH] mod_php_install.sh: add buildcon command if necessary. --- mod_php_install.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/mod_php_install.sh b/mod_php_install.sh index 50c978f..d0eb588 100755 --- a/mod_php_install.sh +++ b/mod_php_install.sh @@ -6387,6 +6387,19 @@ if ! $WITHOUT_APACHE_MOD_PHP ; then fi cd $_builddir || exit 1 + +if [ ! -f "${_builddir}/configure" ] ; then + echononl "\tconfigure script with buildconf" + ./buildconf --force >> ${_logdir}/php-buildconf.log 2>&1 + if [ "$?" = "0" ]; then + echo_ok + else + echo_failed + fatal "'./buildconf --force' failed!\n\t see ${_logdir}/php-buildconf.log for more details" + fi +fi + + # : ${_arch:=i686} # : ${_arch:=athlon} # : ${_arch:=k8} ## --> x86-64 instructionset