blitzpp / blitz

Blitz++ Multi-Dimensional Array Library for C++
https://github.com/blitzpp/blitz/wiki
Other
405 stars 84 forks source link

papi library linking #71

Open slayoo opened 5 years ago

slayoo commented 5 years ago

Migrated from: https://sourceforge.net/p/blitz/bugs/70/

As reported by @kmjohnson3:

Configure only checks for papi library but does not check headers which are required for compile with library. Fixed locally by checking for headers first and checking for library if header is found: AC_CHECK_HEADERS([papi.h],AC_CHECK_LIB([papi],[main]))