From a7ce99fa757b84d2157c25d04bd2bb97cd50b747 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 10 Dec 2007 09:17:25 +0000 Subject: Preparing 1.4.0. --- src/hwfeatures.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/hwfeatures.c') diff --git a/src/hwfeatures.c b/src/hwfeatures.c index 6908c587..200da2c2 100644 --- a/src/hwfeatures.c +++ b/src/hwfeatures.c @@ -44,6 +44,9 @@ _gcry_get_hw_features (void) static void detect_ia32_gnuc (void) { +#ifdef ENABLE_PADLOCK_SUPPORT + /* The code here is only useful for the PadLock engine thus we don't + build it if that support has been disabled. */ int has_cpuid = 0; char vendor_id[12+1]; @@ -137,9 +140,8 @@ detect_ia32_gnuc (void) : "%eax", "%edx", "cc" ); } - +#endif /*ENABLE_PADLOCK_SUPPORT*/ } - #endif /* __i386__ && SIZEOF_UNSIGNED_LONG == 4 && __GNUC__ */ -- cgit v1.2.1