diff options
author | eschnett <eschnett@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2011-08-14 17:28:52 +0000 |
---|---|---|
committer | eschnett <eschnett@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2011-08-14 17:28:52 +0000 |
commit | 1f2d8b4ac3b1c59550e2b97d6e7da332e9394afb (patch) | |
tree | 0b758abe9802a3498df87ea4353f05de4ab83693 /lib/make/aclocal.m4 | |
parent | ee5b89f39619c06dd5d6f103eb5e4eac5135946b (diff) |
#define HAVE_CCTK_C_INLINE when inlining is supported, even when the
"inline" keyword works as is.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4715 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/make/aclocal.m4')
-rw-r--r-- | lib/make/aclocal.m4 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/make/aclocal.m4 b/lib/make/aclocal.m4 index 5b9b6188..b7871e23 100644 --- a/lib/make/aclocal.m4 +++ b/lib/make/aclocal.m4 @@ -462,7 +462,8 @@ dnl AC_TRY_COMPILE(, [} $ac_kw int foo() {], [cctk_cv_c_inline=$ac_kw; break]) done ]) case "$cctk_cv_c_inline" in - inline | yes) ;; + inline | yes) + AC_DEFINE(HAVE_CCTK_C_INLINE, 1) ;; no) AC_DEFINE(inline, ) ;; *) AC_DEFINE_UNQUOTED(inline, $cctk_cv_c_inline) AC_DEFINE(HAVE_CCTK_C_INLINE, 1) ;; |