Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dóra Kocsis
dynare
Commits
44e3bf59
Commit
44e3bf59
authored
Nov 22, 2012
by
Sébastien Villemot
Browse files
Improve matio workaround for RHEL 6
Previous workaround was crashing the Windows snapshot
parent
ebae08a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
m4/ax_matio.m4
View file @
44e3bf59
...
...
@@ -41,8 +41,10 @@ AC_ARG_WITH(matio, AC_HELP_STRING([--with-matio=DIR], [prefix to MATIO installat
LDFLAGS="$LDFLAGS_MATIO $LDFLAGS"
AC_CHECK_HEADER([matio.h], [], [has_matio=no])
dnl libz is explicitly added, as a workaround for the matio from EPEL 6 (used with RHEL 6)
AC_CHECK_LIB([matio], [Mat_Open], [LIBADD_MATIO="-lmatio -lz"], [has_matio=no], [-lz])
AC_CHECK_LIB([matio], [Mat_Open], [LIBADD_MATIO="-lmatio"], [
dnl Retest with libz explicitly added, as a workaround for the matio from RHEL 6 + EPEL 6
AC_CHECK_LIB([matio], [Mat_Open], [LIBADD_MATIO="-lmatio -lz"], [has_matio=no], [-lz])
])
CPPFLAGS="$ac_save_CPPFLAGS"
LDFLAGS="$ac_save_LDFLAGS"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment