if ! test -f sql/mysqld.cc then echo "You must run this script from the MySQL top-level directory" exit 1 fi nonono= just_configure= while test $# -gt 0 do case "$1" in -c | --just-configure ) just_configure=1; shift ;; -n | --just-print | --print ) nonono=1; shift ;; -h | --help ) cat < /dev/null 2>&1 then make=gmake else make=make fi if gcc -v 2>&1 | grep 'version 3' > /dev/null 2>&1 then CXX=c++ else CXX=gcc fi