repo.or.cz
/
rbx.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Imported File#ftype spec from rubyspecs.
[rbx.git]
/
shotgun
/
config
/
run
blob
6b99f8af3ca415c8f707b9e1f916ccf21b15e5f9
1
#!/bin/sh
2
3
name
=
$1
4
5
if
test
!
-f
run
;
then
6
cd
config
7
fi
8
9
if
test -z
"
$CC
"
;
then
10
CC
=
'cc'
11
fi
12
13
$CC $CFLAGS
-o
$name $name
.c
14
if
test
$?
!=
0
;
then
15
echo
"[CONFIG]
$1
: error"
16
exit
2
17
fi
18
19
if
.
/
$name
;
then
20
rm
$name
21
echo
"[CONFIG]
$1
: yes"
22
exit
0
23
else
24
rm
$name
25
echo
"[CONFIG]
$1
: no"
26
exit
1
27
fi