Commits

Anonymous committed 8e4d7aa

r2513@LENOVO-6D4C2336: sugawara | 2008-09-14 11:26:58 +0900

  • Participants
  • Parent commits 586f1f5

Comments (0)

Files changed (1)

File ext/extconf.rb

   Dir.chdir('libtar')
 
   begin
-    return false unless system('sh configure')
-
-    if have_func('sigaction')
-      open('config.h', 'a') do |fout|
-        fout << "\n#define HAVE_SIGACTION 1\n"
-      end
-    end
-
-    system('make')
+    system('sh configure') and system('make')
   ensure
     Dir.chdir('..')
   end