diff --git a/src/runtime/c/setup.sh b/src/runtime/c/setup.sh new file mode 100644 index 000000000..d77bf6873 --- /dev/null +++ b/src/runtime/c/setup.sh @@ -0,0 +1,21 @@ + +# Executable version of INSTALL + +command="$1" +shift + +case "$command" in + configure) + [ `uname` != Darwin ] || glibtoolize + autoreconf -i + ./configure "$@" + ;; + build) + make "$@" + ;; + copy|install) + make install "$@" + ;; + *) + echo "Usage: setup.sh [configure|build|copy|install] ..." +esac