mirror of
https://github.com/TREX-CoE/qmckl.git
synced 2024-08-18 11:21:44 +02:00
Fixed indent in configure.ac. #20
This commit is contained in:
parent
20a73f27c7
commit
79077f3a06
24
configure.ac
24
configure.ac
@ -124,8 +124,8 @@ if test "x$with_chameleon" != "xno"; then
|
|||||||
AC_MSG_ERROR([Required Chameleon library not found])
|
AC_MSG_ERROR([Required Chameleon library not found])
|
||||||
fi
|
fi
|
||||||
if test "x$LIBCHAMELEON_LIBS" != "x" ; then
|
if test "x$LIBCHAMELEON_LIBS" != "x" ; then
|
||||||
CXXFLAGS="$LIBCHAMELEON_CFLAGS $CXXFLAGS"
|
|
||||||
CFLAGS="$LIBCHAMELEON_CFLAGS $CFLAGS"
|
CFLAGS="$LIBCHAMELEON_CFLAGS $CFLAGS"
|
||||||
|
CXXFLAGS="$LIBCHAMELEON_CFLAGS $CXXFLAGS"
|
||||||
CPPFLAGS="$LIBCHAMELEON_CFLAGS $CPPFLAGS"
|
CPPFLAGS="$LIBCHAMELEON_CFLAGS $CPPFLAGS"
|
||||||
CHAMELEONLIB="$LIBCHAMELEON_PATH $LIBCHAMELEON_LIBS"
|
CHAMELEONLIB="$LIBCHAMELEON_PATH $LIBCHAMELEON_LIBS"
|
||||||
AC_DEFINE(USE_CHAMELEON,1,[CHAMELEON support is available])
|
AC_DEFINE(USE_CHAMELEON,1,[CHAMELEON support is available])
|
||||||
@ -136,19 +136,19 @@ if test "x$with_chameleon" != "xno"; then
|
|||||||
fi
|
fi
|
||||||
AC_MSG_NOTICE([CHAMELEON library support: ${with_CHAMELEON:=auto} ${LIBCHAMELEON_PATH} ${LIBCHAMELEON_LIBS}])
|
AC_MSG_NOTICE([CHAMELEON library support: ${with_CHAMELEON:=auto} ${LIBCHAMELEON_PATH} ${LIBCHAMELEON_LIBS}])
|
||||||
AC_SUBST(CHAMELEONLIB)
|
AC_SUBST(CHAMELEONLIB)
|
||||||
# auto-detect using pkg-config
|
# auto-detect using pkg-config
|
||||||
PKG_CHECK_MODULES([LIBCHAMELEON],[chameleon >= 1.0.0],,[
|
PKG_CHECK_MODULES([LIBCHAMELEON],[chameleon >= 1.0.0],,[
|
||||||
|
|
||||||
## something went wrong.
|
## something went wrong.
|
||||||
## try to find the package without pkg-config
|
## try to find the package without pkg-config
|
||||||
|
|
||||||
## check that the library is actually new enough.
|
## check that the library is actually new enough.
|
||||||
## by testing for a 1.0.0+ function which we use
|
## by testing for a 1.0.0+ function which we use
|
||||||
AC_CHECK_LIB(chameleon,CHAMELEON_finalize,[LIBCHAMELEON_LIBS="-lchameleon"])
|
AC_CHECK_LIB(chameleon,CHAMELEON_finalize,[LIBCHAMELEON_LIBS="-lchameleon"])
|
||||||
])
|
])
|
||||||
if test "x$LIBCHAMELEON_LIBS" != "x" ; then
|
if test "x$LIBCHAMELEON_LIBS" != "x" ; then
|
||||||
AC_CHECK_HEADERS(chameleon.h)
|
AC_CHECK_HEADERS(chameleon.h)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
## BLAS
|
## BLAS
|
||||||
#AX_BLAS([], [AC_MSG_ERROR([BLAS was not found.])])
|
#AX_BLAS([], [AC_MSG_ERROR([BLAS was not found.])])
|
||||||
|
Loading…
Reference in New Issue
Block a user