File: extconf.rb

package info (click to toggle)
libintl-gettext-ruby 0.11-8
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 124 kB
  • ctags: 8
  • sloc: ansic: 95; makefile: 49; ruby: 13
file content (9 lines) | stat: -rw-r--r-- 293 bytes parent folder | download
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", "libintl.h" )) )
    create_makefile( "intl" );
end