PDA

View Full Version : AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body



shahinab123
May 2nd, 2012, 12:36 AM
Hi,

When I run configure -isf command, I get this warning:
configure.in:189: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body.

In line 189 I have: GLD_GET_NPROCS

and in gld_get_nprocs.m4 I have:

AC_DEFUN([GLD_GET_NPROCS],[
AC_MSG_CHECKING([for get_nprocs])
AC_COMPILE_IFELSE([#include <sys/sysinfo.h>
int main() { get_nprocs(); return 0; }],
AC_MSG_RESULT([yes]); AC_DEFINE(HAVE_GET_NPROCS, 1, [Define this if get_nprocs is available]),
AC_MSG_RESULT([no]))
])
What do you think is generating that warning?

oldos2er
May 2nd, 2012, 03:01 AM
Moved to Packaging and Compiling Programs.