7 LLVM_TOP=`echo "$arg" | sed -e 's/LLVM_TOP=//'`
10 PREFIX=`echo "$arg" | sed -e 's/PREFIX=//'`
13 build_opts="$build_opts $arg"
16 config_opts="$config_opts $arg"
21 # See if we have previously been configured by sensing the presense
22 # of the config.status scripts
23 if test ! -x "config.status" ; then
24 # We must configure so build a list of configure options
25 config_options="--prefix=$PREFIX --with-llvmgccdir=$PREFIX"
26 config_options="$config_options $config_opts"
27 echo ./configure $config_options
28 ./configure $config_options || (echo "Can't configure llvm" ; exit 1)
31 echo make $build_opts '&&' make install $build_opts
32 make $build_opts tools-only