ext/extconf.rb
changeset 5 41a1542b3b10
parent 3 7f6da371e2ce
child 7 4460fc10c6a3
equal deleted inserted replaced
4:9e4a97b20fcb 5:41a1542b3b10
    22 end
    22 end
    23 
    23 
    24 
    24 
    25 dir_config( 'bsdjail' )
    25 dir_config( 'bsdjail' )
    26 
    26 
    27 have_header( "sys/param.h" ) or fail "Can't find the sys/param.h header."
    27 have_header( 'stdio.h' ) 		or fail "Can't find the stdio.h header."
    28 have_header( "sys/jail.h" )  or fail "Can't find the sys/jail.h header."
    28 have_header( 'sys/param.h' ) 	or fail "Can't find the sys/param.h header."
       
    29 have_header( 'sys/jail.h' ) 	or fail "Can't find the sys/jail.h header."
       
    30 have_header( 'sys/types.h' ) 	or fail "Can't find the sys/types.h header."
       
    31 have_header( 'unistd.h' ) 		or fail "Can't find the unistd.h header."
    29 
    32 
    30 have_func( "jail_attach" )   or fail "Can't find jail_attach in the stdlib."
    33 have_func( "jail_attach" )		or fail "Can't find jail_attach in the stdlib."
    31 
    34 
    32 create_makefile( 'bsdjail' )
    35 create_makefile( 'bsdjail' )
    33 
    36