do not use -R when testing for des functions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9721 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
		
							
								
								
									
										11
									
								
								configure.in
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								configure.in
									
									
									
									
									
								
							| @@ -156,6 +156,7 @@ if test "$with_krb4" != "no"; then | |||||||
| 	LIBS="$save_LIBS" | 	LIBS="$save_LIBS" | ||||||
| 	CFLAGS="$save_CFLAGS" | 	CFLAGS="$save_CFLAGS" | ||||||
| 	LIB_kdb="-lkdb -lkrb" | 	LIB_kdb="-lkdb -lkrb" | ||||||
|  | 	test_LIB_krb4="$LIB_krb4" | ||||||
| 	if test "$krb4_libdir"; then | 	if test "$krb4_libdir"; then | ||||||
| 		LIB_krb4="-R $krb4_libdir $LIB_krb4" | 		LIB_krb4="-R $krb4_libdir $LIB_krb4" | ||||||
| 		LIB_kdb="-R $krb4_libdir -L$krb4_libdir $LIB_kdb" | 		LIB_kdb="-R $krb4_libdir -L$krb4_libdir $LIB_kdb" | ||||||
| @@ -559,11 +560,11 @@ AC_CHECK_HEADERS([				\ | |||||||
| 	openssl/rc4.h				\ | 	openssl/rc4.h				\ | ||||||
| ]) | ]) | ||||||
|  |  | ||||||
| AC_FIND_FUNC_NO_LIBS2(MD4_Init, crypto des, [], [], [], [$LIB_krb4]) | AC_FIND_FUNC_NO_LIBS2(MD4_Init, crypto des, [], [], [], [$test_LIB_krb4]) | ||||||
| AC_FIND_FUNC_NO_LIBS2(MD5_Init, crypto des, [], [], [], [$LIB_krb4]) | AC_FIND_FUNC_NO_LIBS2(MD5_Init, crypto des, [], [], [], [$test_LIB_krb4]) | ||||||
| AC_FIND_FUNC_NO_LIBS2(SHA1_Init, crypto des, [], [], [], [$LIB_krb4]) | AC_FIND_FUNC_NO_LIBS2(SHA1_Init, crypto des, [], [], [], [$test_LIB_krb4]) | ||||||
| AC_FIND_FUNC_NO_LIBS2(des_cbc_encrypt, crypto des, [], [], [], [$LIB_krb4]) | AC_FIND_FUNC_NO_LIBS2(des_cbc_encrypt, crypto des, [], [], [], [$test_LIB_krb4]) | ||||||
| AC_FIND_FUNC_NO_LIBS2(RC4, crypto des, [], [], [], [$LIB_krb4]) | AC_FIND_FUNC_NO_LIBS2(RC4, crypto des, [], [], [], [$test_LIB_krb4]) | ||||||
| if test "$ac_cv_func_des_cbc_encrypt" = "yes" -a \ | if test "$ac_cv_func_des_cbc_encrypt" = "yes" -a \ | ||||||
| "$ac_cv_func_MD4_Init"  = "yes" -a \ | "$ac_cv_func_MD4_Init"  = "yes" -a \ | ||||||
| "$ac_cv_func_MD5_Init"  = "yes" -a \ | "$ac_cv_func_MD5_Init"  = "yes" -a \ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Assar Westerlund
					Assar Westerlund