Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 182046 | Differences between
and this patch

Collapse All | Expand All

(-)afpfs-ng-0.8.1/configure.ac (-15 lines)
Lines 50-70 Link Here
50
	case $host in
50
	case $host in
51
		*-*-darwin*) 
51
		*-*-darwin*) 
52
		AC_MSG_CHECKING([for correct gcrypt version])
52
		AC_MSG_CHECKING([for correct gcrypt version])
53
		AC_RUN_IFELSE(
54
			[AC_LANG_PROGRAM([
55
				#include <gcrypt.h>
56
				#include <stdio.h>],[
57
				char*p= GCRYPT_VERSION;
58
				unsigned int vers;
59
				vers=atoi(p)*10000;
60
				p=strchr(p,'.')+1;
61
				vers+=atoi(p)*100;
62
				p=strchr(p,'.')+1;
63
				vers+=atoi(p);
64
				if (vers<10400) return 1;
65
			])],
66
			[AC_MSG_RESULT([yes])],
67
			[AC_MSG_ERROR([version is < 1.4.0])])
68
		AM_CONDITIONAL(HAVE_LIBGCRYPT, true)
53
		AM_CONDITIONAL(HAVE_LIBGCRYPT, true)
69
		AC_DEFINE([HAVE_LIBGCRYPT], [1] )
54
		AC_DEFINE([HAVE_LIBGCRYPT], [1] )
70
		;;
55
		;;

Return to bug 182046