projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
atoll: Move AC_LIBOBJ invocations to module description.
[gnulib.git]
/
m4
/
gc-camellia.m4
diff --git
a/m4/gc-camellia.m4
b/m4/gc-camellia.m4
index
c1fb02f
..
75b6770
100644
(file)
--- a/
m4/gc-camellia.m4
+++ b/
m4/gc-camellia.m4
@@
-1,5
+1,5
@@
-# gc-camellia.m4 serial
1
-dnl Copyright (C) 2007 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.
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,12
+9,12
@@
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_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 <gcrypt.h>
],
-
[return gcry_cipher_open (NULL, GCRY_CIPHER_CAMELLIA128, 0, 0);
],
+ AC_
COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <gcrypt.h>]
],
+
[[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
[gl_cv_libgcrypt_camellia=yes],
[gl_cv_libgcrypt_camellia=no])])
if test "$gl_cv_libgcrypt_camellia" = yes; then
- AC_DEFINE(
HAVE_CAMELLIA, 1
, [Define if your libgcrypt supports Camellia.])
+ AC_DEFINE(
[HAVE_CAMELLIA], [1]
, [Define if your libgcrypt supports Camellia.])
fi
fi
])
fi
fi
])