ext/extconf.rb
changeset 7 4460fc10c6a3
parent 5 41a1542b3b10
--- a/ext/extconf.rb	Sat Feb 28 06:52:48 2009 +0000
+++ b/ext/extconf.rb	Tue Mar 03 22:23:45 2009 +0000
@@ -22,15 +22,18 @@
 end
 
 
-dir_config( 'bsdjail' )
+dir_config( 'bsd/jail' )
 
-have_header( 'stdio.h' ) 		or fail "Can't find the stdio.h header."
-have_header( 'sys/param.h' ) 	or fail "Can't find the sys/param.h header."
-have_header( 'sys/jail.h' ) 	or fail "Can't find the sys/jail.h header."
-have_header( 'sys/types.h' ) 	or fail "Can't find the sys/types.h header."
-have_header( 'unistd.h' ) 		or fail "Can't find the unistd.h header."
+have_header( 'stdio.h' )      or fail "Can't find the stdio.h header."
+have_header( 'sys/param.h' )  or fail "Can't find the sys/param.h header."
+have_header( 'sys/jail.h' )   or fail "Can't find the sys/jail.h header."
+have_header( 'sys/types.h' )  or fail "Can't find the sys/types.h header."
+have_header( 'sys/sysctl.h' ) or fail "Can't find the sys/sysctl.h header."
+have_header( 'unistd.h' )     or fail "Can't find the unistd.h header."
+have_header( 'arpa/inet.h' )  or fail "Can't find the arpa/inet.h header."
+have_header( 'errno.h' )      or fail "Can't find the errno.h header."
 
-have_func( "jail_attach" )		or fail "Can't find jail_attach in the stdlib."
+have_func( "jail_attach" ) or fail "Can't find jail_attach in the stdlib."
 
-create_makefile( 'bsdjail' )
+create_makefile( 'bsd/jail' )