summaryrefslogtreecommitdiffstats
path: root/extras/ruby/extconf.rb
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--extras/ruby/extconf.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/extras/ruby/extconf.rb b/extras/ruby/extconf.rb
new file mode 100644
index 0000000..ad66ab0
--- /dev/null
+++ b/extras/ruby/extconf.rb
@@ -0,0 +1,6 @@
+require 'mkmf'
+
+dir_config( 'htp' )
+have_library( 'htp', 'htp_connp_create' ) || abort( "Can't find HTP library." )
+have_header( 'htp/htp.h' ) || abort( "Can't find htp.h" )
+create_makefile( 'htp' )