1
0
mirror of https://github.com/aportelli/LatAnalyze.git synced 2024-09-19 21:25:36 +01:00

compatibility fix

This commit is contained in:
Antonin Portelli 2019-11-08 13:11:27 +00:00
parent 35a20ed713
commit 8cfbaeb9ce
2 changed files with 4 additions and 4 deletions

View File

@ -78,12 +78,12 @@ AC_CHECK_LIB([m],[cos],[],[AC_MSG_ERROR([libm library not found])])
AC_CHECK_LIB([gslcblas],[cblas_dgemm],[],
[AC_MSG_ERROR([GSL CBLAS library not found])])
AC_CHECK_LIB([gsl],[gsl_blas_dgemm],[],[AC_MSG_ERROR([GSL library not found])])
AC_CHECK_LIB([nlopt_cxx],[nlopt_create],
AC_CHECK_LIB([nlopt],[nlopt_create],
[AC_DEFINE([HAVE_NLOPT],
[1],
[Define to 1 if you have the `NLopt' library (-lnlopt_cxx).])]
[Define to 1 if you have the `NLopt' library (-lnlopt).])]
[have_nlopt=true]
[LIBS="$LIBS -lnlopt_cxx"],[])
[LIBS="$LIBS -lnlopt"],[])
AM_CONDITIONAL([HAVE_NLOPT], [test x$have_nlopt = xtrue])
AC_CHECK_LIB([hdf5_cpp],[H5Fopen],
[LIBS="$LIBS -lhdf5_cpp -lhdf5"],

View File

@ -10,7 +10,7 @@ endif
include eigen_files.mk
AM_LFLAGS = -olex.yy.c
AM_YFLAGS = -d
AM_YFLAGS = -y -d -Wno-yacc -Wno-deprecated
lib_LTLIBRARIES = libLatAnalyze.la
noinst_LTLIBRARIES = libLexers.la