Code Review
/
packages
/
precise
/
mcollective.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Update mcollective.init according to OSCI-855
[packages/precise/mcollective.git]
/
lib
/
mcollective
/
vendor
/
json
/
ext
/
json
/
ext
/
parser
/
extconf.rb
1
require 'mkmf'
2
require 'rbconfig'
3
4
unless $CFLAGS.gsub!(/ -O[\dsz]?/, ' -O3')
5
$CFLAGS << ' -O3'
6
end
7
if CONFIG['CC'] =~ /gcc/
8
$CFLAGS << ' -Wall'
9
#unless $CFLAGS.gsub!(/ -O[\dsz]?/, ' -O0 -ggdb')
10
# $CFLAGS << ' -O0 -ggdb'
11
#end
12
end
13
14
have_header("re.h")
15
have_header("ruby/st.h")
16
create_makefile 'json/ext/parser'