--- gforth/configure.in 2007/07/03 21:41:29 1.195 +++ gforth/configure.in 2007/12/04 14:55:03 1.197 @@ -619,7 +619,7 @@ AC_MSG_RESULT($MAYBE_UNUSED) #try if m4 understands -s AC_MSG_CHECKING([how to invoke m4]) -if m4 -s /dev/null; then +if m4 -s /dev/null >/dev/null 2>&1; then M4="m4 -s" else M4=m4 @@ -799,6 +799,7 @@ dnl Checks for library functions dnl This check is just for making later checks link with libm. dnl using sin here is no good idea since it is built-into gcc and typechecked AC_CHECK_LIB(m,asin) +AC_CHECK_LIB(ltdl,lt_dlinit) AC_CHECK_LIB(dl,dlopen) dnl check for libffi 2.x AC_CHECK_LIB(ffi,ffi_call)