#2721: Cactus does not detect `gettimeofday` timer
Reporter: Erik Schnetter Status: open Milestone: Version: Type: bug Priority: major Component:
Comment (by Roland Haas):
There is one other “odd' uses of `AC_TRY_XXX` in Cactus (not failures like this one thoug in `CCTK_CHECK_C_INLINE` we have
``` AC_TRY_COMPILE(, [} $ac_kw int foo() {], [cctk_cv_c_inline=$ac_kw; break]) ```
which probably would be nicer if it did:
``` AC_TRY_COMPILE($ac_kw int foo(){return 0;}], [], [cctk_cv_c_inline=$ac_kw; break]) ```
since it does not “trick” autoconf by closing the autoconf created `main` function with the leading `}`.
-- Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2721/cactus-does-not-de...
trac@lists.einsteintoolkit.org