aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/ruby-qt2/files/patch-extconf.rb
blob: 1ad2d9cba1cb0db398ab81b837ef4372ba4c1e68 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- extconf.rb.orig Sun Dec 24 18:55:56 2000
+++ extconf.rb  Wed Jan 10 05:18:54 2001
@@ -14,20 +14,15 @@
 # --with-qt2-dir=/usr/lib/qt-2
 dir_config('qt2')
 
-# e.g. --with-qti18n if you use i18n patched Qt lib.
-qti18n = with_config('qti18n')
+dir_config('x11')
 
-if qti18n
-  $CFLAGS += ' -DI18NQT'
-end
-
-qt = if qti18n.kind_of?(String) then qti18n else 'qt' end
+qt2 = with_config('qt2', 'qt')
 
 $CFLAGS += ' -I. -O -w ' 
 
 p $CFLAGS
 
-if have_header('qapplication.h') and have_library(qt)
+if have_header('qapplication.h') and have_library(qt2)
   create_makefile('qt2')
 else
   print "You do not seem to have qt library. Plrease check qt or extconf.rb.\n"