summaryrefslogtreecommitdiffstats
path: root/kjs/configure.in.in
diff options
context:
space:
mode:
Diffstat (limited to 'kjs/configure.in.in')
-rw-r--r--kjs/configure.in.in40
1 files changed, 0 insertions, 40 deletions
diff --git a/kjs/configure.in.in b/kjs/configure.in.in
index fd23612e0..1c4d3ac52 100644
--- a/kjs/configure.in.in
+++ b/kjs/configure.in.in
@@ -1,46 +1,6 @@
dnl KDE JavaScript specific configure tests
AC_CHECK_HEADERS(ieeefp.h float.h)
-AC_CHECK_LIB(m, finite, [
- AC_DEFINE_UNQUOTED(HAVE_FUNC_FINITE, 1, [Define if you have finite])
-])
-AC_CHECK_LIB(m, _finite, [
- AC_DEFINE_UNQUOTED(HAVE_FUNC__FINITE, 1, [Define if you have _finite])
-])
-
-dnl The C99 standard says that isinf and isnan are macros, but they might
-dnl be functions on some platforms.
-AC_DEFUN([AC_CHECK_ISNAN],
-[
- ac_save_libs="$LIBS"
- LIBS="-lm"
- AC_MSG_CHECKING([for isnan with <math.h>])
- AC_TRY_LINK(
- [#include <math.h>
- float f;], [return isnan(f)],
- [AC_MSG_RESULT(yes)
- AC_DEFINE([HAVE_FUNC_ISNAN], [1], [Define if you have isnan])],
- AC_MSG_RESULT(no)
- )
- LIBS="$ac_save_libs"
-])
-AC_DEFUN([AC_CHECK_ISINF],
-[
- ac_save_libs="$LIBS"
- LIBS="-lm"
- AC_MSG_CHECKING([for isinf with <math.h>])
- AC_TRY_LINK(
- [#include <math.h>
- float f;], [return isinf(f)],
- [AC_MSG_RESULT(yes)
- AC_DEFINE([HAVE_FUNC_ISINF], [1], [Define if you have isinf])],
- AC_MSG_RESULT(no)
- )
- LIBS="$ac_save_libs"
-])
-
-AC_CHECK_ISNAN
-AC_CHECK_ISINF
AC_DEFUN([AC_CHECK_PCREPOSIX],
[