mirror of
https://github.com/MariaDB/server.git
synced 2026-04-24 09:15:30 +02:00
Brian's "he is too lazy to commit this so Eric is going to have to do it" environmental variable hack for prefix. This allows you to just set a prefix in your profile which will be used in all of your builds. AKA you can be even lazier(!) about calling BUILD scripts. Don't blame Eric, Brian borrowed his keyboard.
BUILD/SETUP.sh: Added option to set environmental variable in case you are lazy about setting prefix (ala Brian) BUILD/autorun.sh: Change of syntax
This commit is contained in:
parent
7e138425f7
commit
0031af0685
2 changed files with 6 additions and 1 deletions
|
|
@ -10,6 +10,11 @@ prefix_configs="--prefix=/usr/local/mysql"
|
|||
just_print=
|
||||
just_configure=
|
||||
full_debug=
|
||||
if test -n $MYSQL_BUILD_PREFIX
|
||||
then
|
||||
prefix_configs="--prefix=$MYSQL_BUILD_PREFIX"
|
||||
fi
|
||||
|
||||
while test $# -gt 0
|
||||
do
|
||||
case "$1" in
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ aclocal || die "Can't execute aclocal"
|
|||
autoheader || die "Can't execute autoheader"
|
||||
# --force means overwrite ltmain.sh script if it already exists
|
||||
# Added glibtoolize reference to make native OSX autotools work
|
||||
if [ -f /usr/bin/glibtoolize ] ; then
|
||||
if test -f /usr/bin/glibtoolize ; then
|
||||
glibtoolize --automake --force || die "Can't execute glibtoolize"
|
||||
else
|
||||
libtoolize --automake --force || die "Can't execute libtoolize"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue