summaryrefslogtreecommitdiff
path: root/src/runtime/c/setup.sh
blob: fdc8f7aec2ac65cb8860f590a3b127ed53b6aa4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

# Executable version of INSTALL

command="$1"
shift

case "$command" in
  configure)
    [ `uname` != Darwin ] || glibtoolize
    autoreconf -i
    ./configure "$@"
    ;;
  build)
    make -j "$@"
    ;;
  copy|install)
    make install "$@"
    ;;
  *)
    echo "Usage: setup.sh [configure|build|copy|install] ..."
esac