yui 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,20 @@
1
+ #
2
+ # extconf.rb for yui Gem
3
+ #
4
+
5
+ require 'mkmf'
6
+ # $CFLAGS = "#{$CFLAGS} -Werror"
7
+
8
+ cpp_command('g++') if RUBY_VERSION < '1.9'
9
+
10
+ have_library('stdc++')
11
+
12
+ unless have_library('libyui', 'YUI::ui')
13
+ STDERR.puts "Cannot find libyui"
14
+ STDERR.puts "Is libyui-devel installed ?"
15
+ end
16
+ find_header 'YUI.h', '/usr/include/yui'
17
+
18
+ $CPPFLAGS = "-I/usr/include/yui -I.."
19
+
20
+ create_makefile('_yui')