File: extconf.rb

package info (click to toggle)
ruby-redcloth 4.3.4-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 712 kB
  • sloc: ruby: 1,233; ansic: 201; makefile: 22
file content (6 lines) | stat: -rw-r--r-- 227 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
require 'mkmf'
CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
$CFLAGS << ' -O0 -Wall ' if CONFIG['CC'] =~ /gcc/
dir_config("redcloth_scan")
have_library("c", "main")
create_makefile("redcloth_scan")