File: extconf.rb

package info (click to toggle)
libgettext-ruby 1.7.0-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 3,892 kB
  • ctags: 1,198
  • sloc: ruby: 6,738; ansic: 67; makefile: 38; sql: 14; sh: 6
file content (20 lines) | stat: -rw-r--r-- 413 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
=begin
  extconf.rb

  Copyright (C) 2002-2006 Masao Mutoh <mutoh@highway.ne.jp>
 
  You may redistribute it and/or modify it under the same
  license terms as Ruby.

 $Id: extconf.rb,v 1.1 2006/02/07 00:24:45 mutoh Exp $
=end

require 'mkmf'

if RUBY_PLATFORM =~ /cygwin|mingw|mswin32|bccwin32/
  have_header 'windows.h'
else
  have_func 'setlocale'
  have_func 'nl_langinfo'
end
create_makefile 'locale_system'