mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 23:10:58 +00:00
Check for crypt in external library
Check to see if we need to explicitly include a library in order to get the crypt() function Change-Id: I9bd1d70e420d4d1656bd86cd3215525102fa6259 Reviewed-on: http://gerrit.openafs.org/2404 Tested-by: Derrick Brashear <shadow@dementia.org> Reviewed-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
parent
c6f7bb80ee
commit
c3fc948e34
@ -1380,4 +1380,8 @@ AC_SUBST(HELPER_SPLINTCFG)
|
|||||||
|
|
||||||
mkdir -p ${TOP_OBJDIR}/src/JAVA/libjafs
|
mkdir -p ${TOP_OBJDIR}/src/JAVA/libjafs
|
||||||
|
|
||||||
|
|
||||||
|
dnl Check to see if crypt lives in a different library
|
||||||
|
AC_CHECK_LIB(crypt, crypt, LIB_crypt="-lcrypt")
|
||||||
|
AC_SUBST(LIB_crypt)
|
||||||
])
|
])
|
||||||
|
@ -50,6 +50,7 @@ KERN_OPTMZ = @KERN_OPTMZ@
|
|||||||
LD = @LD@
|
LD = @LD@
|
||||||
LEX = @LEX@
|
LEX = @LEX@
|
||||||
LIB_AFSDB = @LIB_AFSDB@
|
LIB_AFSDB = @LIB_AFSDB@
|
||||||
|
LIB_crypt = @LIB_crypt@
|
||||||
LIBS = @LIBS@
|
LIBS = @LIBS@
|
||||||
LIB_LIBINTL = @LIB_libintl@
|
LIB_LIBINTL = @LIB_libintl@
|
||||||
LINUX_KERNEL_PATH = @LINUX_KERNEL_PATH@
|
LINUX_KERNEL_PATH = @LINUX_KERNEL_PATH@
|
||||||
|
@ -133,7 +133,7 @@ dest: ${LIBAFSAUTHENT} libafsauthent_pic.a
|
|||||||
${LIBAFSAUTHENT}: ${LIBOBJS} libafsauthent.map
|
${LIBAFSAUTHENT}: ${LIBOBJS} libafsauthent.map
|
||||||
../config/shlib-build -d $(srcdir) -l libafsauthent \
|
../config/shlib-build -d $(srcdir) -l libafsauthent \
|
||||||
-M ${LIBAFSAUTHENTMAJOR} -m ${LIBAFSAUTHENTMINOR} -- \
|
-M ${LIBAFSAUTHENTMAJOR} -m ${LIBAFSAUTHENTMINOR} -- \
|
||||||
-L${TOP_LIBDIR} -lafsrpc ${LIBOBJS} ${LIB_AFSDB} ${MT_LIBS}
|
-L${TOP_LIBDIR} -lafsrpc ${LIB_crypt} ${LIBOBJS} ${LIB_AFSDB} ${MT_LIBS}
|
||||||
|
|
||||||
libafsauthent_pic.a: ${LIBOBJS}
|
libafsauthent_pic.a: ${LIBOBJS}
|
||||||
$(RM) -f $@
|
$(RM) -f $@
|
||||||
|
Loading…
Reference in New Issue
Block a user