mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
15 lines
352 B
Bash
15 lines
352 B
Bash
|
#!/bin/sh
|
||
|
# Choose whether to use autoconf created configure
|
||
|
# of perl script that calls cmake.
|
||
|
|
||
|
# 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
|
||
|
|