File: extconf.rb

package info (click to toggle)
libintl-gettext-ruby 0.11-11
  • links: PTS
  • area: main
  • in suites: lenny, squeeze
  • size: 136 kB
  • ctags: 8
  • sloc: ansic: 100; sh: 24; ruby: 13; makefile: 3
file content (9 lines) | stat: -rw-r--r-- 280 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
require 'mkmf'

$LDFLAGS = "-L/usr/local/lib";
$CFLAGS = "-I/usr/local/include";
have_library( "xpg4", "setlocale" );
have_header( "locale.h" );
if ( have_header( "libintl.h" ) and (have_library( "intl", "gettext" ) or have_func( "gettext" )) )
    create_makefile( "intl" );
end