diff options
author | guy Decoux <ts@moulon.inra.fr> | 2009-02-28 20:22:10 +0100 |
---|---|---|
committer | guy Decoux <ts@moulon.inra.fr> | 2009-02-28 20:22:10 +0100 |
commit | 50bb456cf469f73d3a32474dc07bd58c0c64dba1 (patch) | |
tree | b0cde072a1d25757acf9bbeb299adc1600c123b9 /extconf.rb | |
parent | 5bcbd1d5d3e74f07220cbda4014d408f97447e63 (diff) | |
download | mmap-ruby-50bb456cf469f73d3a32474dc07bd58c0c64dba1.zip mmap-ruby-50bb456cf469f73d3a32474dc07bd58c0c64dba1.tar.gz |
mmap-0.2.6
Diffstat (limited to 'extconf.rb')
-rw-r--r-- | extconf.rb | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -21,6 +21,14 @@ dir_config("mmap") end end +if enable_config("ipc") + unless have_func("semctl") && have_func("shmctl") + $stderr.puts "\tIPC will not be available" + end +end + +$CFLAGS += " -DRUBYLIBDIR='\"#{CONFIG['rubylibdir']}\"'" + create_makefile "mmap" begin |