提交 8686b837 编写于 作者: M Marc G. Fournier

Made a copy of errors with the AC_TRY_RUN() macro...appears to work better
under FreeBSD for DBL_MIN check now...
上级 9391dd36
此差异已折叠。
......@@ -509,10 +509,13 @@ AC_TRY_LINK([#include <sys/types.h>
[AC_DEFINE(HAVE_UNION_SEMUN) AC_MSG_RESULT(yes)],
AC_MSG_RESULT(no))
AC_MSG_CHECKING(DBL_MIN good)
AC_TRY_RUN([#include <math.h>
main()
{ double d = DBL_MIN; if (d != DBL_MIN) exit -1; else exit 0; }],
AC_MSG_CHECKING(for good DBL_MIN)
AC_TRY_RUN([#include <stdlib.h>
#include <math.h>
#ifdef HAVE_FLOAT_H
# include <float.h>
#endif
main() { double d = DBL_MIN; if (d != DBL_MIN) exit(-1); else exit(0); }],
AC_MSG_RESULT(yes),
[AC_MSG_RESULT(no) AC_DEFINE(HAVE_DBL_MIN_PROBLEM)])
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册