summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2011-04-11 16:26:35 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2011-04-11 20:37:42 +0200
commit0baa0937de0e5534b2010039ab047ce8eb7cf92a (patch)
treeb090bce8b5c8398aa6a9f9274e32e4e6725ffd7d /m4
parent69fd4dd53e25de3794ea368391fc35585a1808d1 (diff)
downloadgnutls-0baa0937de0e5534b2010039ab047ce8eb7cf92a.tar.gz
fixes in acceleration detection.
Added Intel's library code for AES-NI acceleration.
Diffstat (limited to 'm4')
-rw-r--r--m4/gcc.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/gcc.m4 b/m4/gcc.m4
index ad40adac7e..78ba57017a 100644
--- a/m4/gcc.m4
+++ b/m4/gcc.m4
@@ -15,7 +15,7 @@ AC_DEFUN([GCC_FLAG_ADD],
AC_CACHE_CHECK([whether compiler handles $1], [GCC_FLAG], [
save_CFLAGS="$CFLAGS"
CFLAGS="${CFLAGS} $1"
- AC_PREPROC_IFELSE([AC_LANG_PROGRAM([])],
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([])],
[AS_VAR_SET([GCC_FLAG], [yes])],
[AS_VAR_SET([GCC_FLAG], [no])])
CFLAGS="$save_CFLAGS"