mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
c71bd7e1d0
The "cmake" way still shows issues in our release build environment. Block it temporarily, but in a way that can easily be undone. This change is to be reverted once the problems are solved. BUILD/choose_configure.sh: Easiest way: Preset "HAVE_CMAKE=no"
19 lines
552 B
Bash
19 lines
552 B
Bash
#!/bin/sh
|
|
# Choose whether to use autoconf created configure
|
|
# of perl script that calls cmake.
|
|
|
|
# This is a temporary hack to build 5.5.3-m3:
|
|
# The "cmake" way still shows issues in our release build environment.
|
|
# Block it temporarily, but in a way that can easily be undone.
|
|
HAVE_CMAKE=no
|
|
|
|
# Ensure cmake and perl are there
|
|
cmake -P cmake/check_minimal_version.cmake >/dev/null 2>&1 || HAVE_CMAKE=no
|
|
perl --version >/dev/null 2>&1 || HAVE_CMAKE=no
|
|
if test "$HAVE_CMAKE" = "no"
|
|
then
|
|
sh ./configure.am "$@"
|
|
else
|
|
perl ./cmake/configure.pl "$@"
|
|
fi
|
|
|