Skip to content

Commit

Permalink
Merge pull request #18 from sambrightman/master
Browse files Browse the repository at this point in the history
Re-order IPP configure checks so they build properly
  • Loading branch information
nh13 authored Aug 4, 2016
2 parents cc3b6c5 + 039cfe7 commit 2b09f97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,14 @@ AC_ARG_ENABLE(bz2, [ --disable-bz2 use this option to disable bz2
AC_ARG_ENABLE(igzip, [ --enable-igzip use this option to enable igzip support], [AC_CHECK_LIB([igzip0c], [fast_lz])], [])
AC_ARG_ENABLE(ipp, [ --enable-ipp use this option to enable intel integrated performance primitives support (please set LDFLAGS and CFLAGS appropriately)],
[
AC_CHECK_LIB([ippcore], [ippGetLibVersion], [], [AC_MSG_ERROR(["--enable-ipp used but ippcore not found"])])
AC_CHECK_LIB([ippdc], [ippdcGetLibVersion], [], [AC_MSG_ERROR(["--enable-ipp used but ippdc not found"])])
AC_CHECK_LIB([ippcc], [ippccGetLibVersion], [], [AC_MSG_ERROR(["--enable-ipp used but ippcc not found"])])
AC_CHECK_LIB([ippcv], [ippcvGetLibVersion], [], [AC_MSG_ERROR(["--enable-ipp used but ippcv not found"])])
AC_CHECK_LIB([ippch], [ippchGetLibVersion], [], [AC_MSG_ERROR(["--enable-ipp used but ippch not found"])])
AC_CHECK_LIB([ippvm], [ippvmGetLibVersion], [], [AC_MSG_ERROR(["--enable-ipp used but ippvm not found"])])
AC_CHECK_LIB([ippi], [ippiGetLibVersion], [], [AC_MSG_ERROR(["--enable-ipp used but ippi not found"])])
AC_CHECK_LIB([ipps], [ippsGetLibVersion], [], [AC_MSG_ERROR(["--enable-ipp used but ipps not found"])])
AC_CHECK_LIB([ippcore], [ippGetLibVersion], [], [AC_MSG_ERROR(["--enable-ipp used but ippcore not found"])])
], [])

CFLAGS="${CFLAGS} ${default_CFLAGS} ${extended_CFLAGS}";
Expand Down

0 comments on commit 2b09f97

Please sign in to comment.