Search notes:

AC_CHECK_LIB

AC_CHECK_LIB(m, pow, [echo library found], [echo library not found])
Checks if library m exists and symbol pow is found inside.
If successful, will prepend -lm to compiler flags and define the preprocessor macro HAVE_LIBm

Index