Commit c8c89429 authored by Adam Mercer's avatar Adam Mercer
Browse files

Merge branch 'lalframe-fix-define' into 'master'

lalframe/lib/LALFrameU.c: use correct Autoconf-defined symbol

See merge request lscsoft/lalsuite!1332
parents ba78224d bd4c6133
......@@ -31,7 +31,7 @@ enum {
};
/* enable FrameL support if available */
#if defined HAVE_FRAMEL_H && defined HAVE_FRAMEL
#if defined HAVE_FRAMEL_H && defined HAVE_LIBFRAMEL
# include "LALFrameUFrameL.h"
# define CASE_FRAMEL(errval, function, ...) case LAL_FRAMEU_FRAME_LIBRARY_FRAMEL: return function ## _FrameL_ (__VA_ARGS__)
# ifndef LAL_FRAMEU_FRAME_LIBRARY_DEFAULT
......@@ -88,7 +88,7 @@ static int XLALFrameLibrary(void)
const char *env = getenv("LAL_FRAME_LIBRARY");
if (env) {
if (strcmp(env, "FrameL") == 0) {
#if defined HAVE_FRAMEL_H && defined HAVE_FRAMEL
#if defined HAVE_FRAMEL_H && defined HAVE_LIBFRAMEL
lalFrameLibrary = LAL_FRAMEU_FRAME_LIBRARY_FRAMEL;
#else
XLAL_ERROR_VAL(LAL_FRAMEU_FRAME_LIBRARY_UNAVAILABLE, XLAL_ESYS,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment