Mercurial > pt1.oyama
comparison configure @ 139:5eab7c73a28a
Add PT3 driver
author | Naoya OYAMA <naoya.oyama@gmail.com> |
---|---|
date | Sat, 28 Jul 2012 16:05:28 +0900 |
parents | 2a9ac5ce2c7e |
children | faa0bc5fc2f5 |
comparison
equal
deleted
inserted
replaced
138:097d5aaf6b07 | 139:5eab7c73a28a |
---|---|
466 else | 466 else |
467 logfile=/dev/null | 467 logfile=/dev/null |
468 fi | 468 fi |
469 | 469 |
470 ################################################# | 470 ################################################# |
471 # check pt3 driver | |
472 ################################################# | |
473 if test -e pt3/mp_auto_pull ; then | |
474 if ! (cd pt3 && git pull --rebase) ; then | |
475 echo "git pull failed, (re)move pt3/auto_pull to disable pulling" | |
476 exit 1 | |
477 fi | |
478 fi | |
479 | |
480 if ! test -e pt3 ; then | |
481 echo "No pt3 checkout, press enter to download one with git or CTRL+C to abort" | |
482 read tmp | |
483 if ! git clone https://github.com/m-tsudo/pt3.git; then | |
484 rm -fr pt3 | |
485 echo "Faild to get a PT3 checkout" | |
486 exit 1; | |
487 fi | |
488 touch pt3/auto_pull | |
489 fi | |
490 | |
491 ################################################# | |
471 # compiler sanity check | 492 # compiler sanity check |
472 ################################################# | 493 ################################################# |
473 echolog "Checking for compiler available..." | 494 echolog "Checking for compiler available..." |
474 check_exec <<EOF | 495 check_exec <<EOF |
475 int main(){ | 496 int main(){ |