Am Sun, 08. Aug 2010 um 10:34:32 -0700 schrieb Niels Mayer:
Niels,
Is the above an accepted&proper way of adding
"-lm" to an autoconf file?
add two lines to your configure.ac:
dnl check for math library
AC_CHECK_LIB(m, roundf,,AC_MSG_ERROR([required library missing]))
and
autoreconf && ./configure && make
should do the rest.
Guido
--
http://www.bayernline.de/~gscholz/
http://www.lug-burghausen.org/