Remove crypt.h
gb.crypt does not need crypt.h because it only uses crypt functions from unistd.h. On non-linux systems there is no crypt.h which causes autoconf to fail.
This commit is contained in:
parent
502244a23c
commit
f04492c9ac
@ -9,7 +9,6 @@ AC_PROG_LIBTOOL
|
||||
|
||||
GB_COMPONENT(
|
||||
crypt, CRYPT, gb.crypt, [src],
|
||||
[GB_FIND(crypt.h, $prefix /usr/lib /usr, include)],
|
||||
[GB_FIND(libcrypt.$SHLIBEXT, $prefix /usr/local /usr, lib)],
|
||||
[-lcrypt])
|
||||
|
||||
|
@ -30,10 +30,6 @@
|
||||
|
||||
#include "gb_common.h"
|
||||
|
||||
#ifndef OS_BSD
|
||||
#include <crypt.h>
|
||||
#endif
|
||||
|
||||
#include "c_crypt.h"
|
||||
#include "main.h"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user