X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fgc-camellia.m4;h=75b6770e8f93e2ffcbdf322c68afe0b86d375eaf;hb=56005a21e8f9f434212a19dcb628c6d3b179fd08;hp=fce57878f40fce89715fc6ba663a80804edf4088;hpb=42d1eda5dcce2d68deab7a642e7f29bcd7144a0d;p=gnulib.git diff --git a/m4/gc-camellia.m4 b/m4/gc-camellia.m4 index fce57878f..75b6770e8 100644 --- a/m4/gc-camellia.m4 +++ b/m4/gc-camellia.m4 @@ -1,5 +1,5 @@ -# gc-camellia.m4 serial 2 -dnl Copyright (C) 2007, 2009 Free Software Foundation, Inc. +# gc-camellia.m4 serial 3 +dnl Copyright (C) 2007, 2009-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. @@ -9,8 +9,8 @@ AC_DEFUN([gl_GC_CAMELLIA], AC_REQUIRE([gl_GC]) if test "$ac_cv_libgcrypt" = yes; then AC_CACHE_CHECK([for camellia in libgcrypt], [gl_cv_libgcrypt_camellia], [ - AC_TRY_COMPILE([#include ], - [return gcry_cipher_open (NULL, GCRY_CIPHER_CAMELLIA128, 0, 0);], + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], + [[return gcry_cipher_open (NULL, GCRY_CIPHER_CAMELLIA128, 0, 0);]])], [gl_cv_libgcrypt_camellia=yes], [gl_cv_libgcrypt_camellia=no])]) if test "$gl_cv_libgcrypt_camellia" = yes; then