Commit 542e1c18 authored by unknown's avatar unknown

Add --just-configure (-c) option to BUILD scripts.


BUILD/FINISH.sh:
  Add --just-configure option
BUILD/SETUP.sh:
  Add --just-configure option
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
parent 87d79bdd
...@@ -17,19 +17,24 @@ cd innobase ...@@ -17,19 +17,24 @@ cd innobase
aclocal; autoheader; aclocal; automake; autoconf aclocal; autoheader; aclocal; automake; autoconf
cd .. cd ..
CFLAGS=\"$cflags\" CXX=gcc CXXFLAGS=\"$cxxflags\" $configure CFLAGS=\"$cflags\" CXX=gcc CXXFLAGS=\"$cxxflags\" $configure"
$make $AM_MAKEFLAGS" if [ -z "$just_configure" ]
if [ "x$strip" = "xyes" ]
then then
commands="$commands commands="$commands
$make $AM_MAKEFLAGS"
if [ "x$strip" = "xyes" ]
then
commands="$commands
mkdir -p tmp mkdir -p tmp
nm --numeric-sort sql/mysqld > tmp/mysqld.sym nm --numeric-sort sql/mysqld > tmp/mysqld.sym
objdump -d sql/mysqld > tmp/mysqld.S objdump -d sql/mysqld > tmp/mysqld.S
strip sql/mysqld" strip sql/mysqld"
fi fi
fi
if test -z "$nonono" if test -z "$nonono"
then then
......
...@@ -5,18 +5,25 @@ then ...@@ -5,18 +5,25 @@ then
fi fi
nonono= nonono=
case "$1" in just_configure=
-n | --just-print ) nonono=1; shift ;; while test $# -gt 0
-h | --help ) cat <<EOF; exit 0 ;; do
case "$1" in
-c | --just-configure ) just_configure=1; shift ;;
-n | --just-print ) nonono=1; shift ;;
-h | --help ) cat <<EOF; exit 0 ;;
Usage: $0 [-h|-n] [configure-options] Usage: $0 [-h|-n] [configure-options]
-h, --help Show this help message. -h, --help Show this help message.
-n, --just-print Don't actually run any commands; just print them. -n, --just-print Don't actually run any commands; just print them.
-c, --just-configure Stop after running configure.
Any other options will be passed directly to configure. Any other options will be passed directly to configure.
Note: this script is intended for internal use by MySQL developers. Note: this script is intended for internal use by MySQL developers.
EOF EOF
esac * ) break ;;
esac
done
set -e set -e
......
...@@ -5,3 +5,4 @@ sasha@mysql.sashanet.com ...@@ -5,3 +5,4 @@ sasha@mysql.sashanet.com
serg@serg.mysql.com serg@serg.mysql.com
monty@donna.mysql.fi monty@donna.mysql.fi
tim@threads.polyesthetic.msg tim@threads.polyesthetic.msg
tim@work.mysql.com
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment