summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2018-05-23 02:05:43 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2018-05-23 02:05:43 +0200
commit66e39e76d7f9acc27522b0a25cd6e538ecc920f0 (patch)
treec432bd3b746af62baf820827263b55d4f10f2392
parent5ee5394ccec1e9fa07f2a84d73209472c8a1daab (diff)
downloadcppunit-66e39e76d7f9acc27522b0a25cd6e538ecc920f0.tar.gz
fix make distcheck, part1
-rwxr-xr-xautogen.sh2
-rw-r--r--m4/ax_cxx_have_isfinite.m427
2 files changed, 0 insertions, 29 deletions
diff --git a/autogen.sh b/autogen.sh
index 7f22237..479564b 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -33,8 +33,6 @@ if [ "$LIBTOOLIZEFOUND" = "0" ]; then
exit 1
fi
-rm -rf autom4te*.cache
-
$LIBTOOLIZE --force --copy || {
echo "error: libtoolize failed"
exit 1
diff --git a/m4/ax_cxx_have_isfinite.m4 b/m4/ax_cxx_have_isfinite.m4
deleted file mode 100644
index 5f9c7fc..0000000
--- a/m4/ax_cxx_have_isfinite.m4
+++ /dev/null
@@ -1,27 +0,0 @@
-dnl @synopsis AX_CXX_HAVE_ISFINITE
-dnl
-dnl If isfinite() is available to the C++ compiler:
-dnl define HAVE_ISFINITE
-dnl add "-lm" to LIBS
-dnl
-AC_DEFUN([AX_CXX_HAVE_ISFINITE],
- [ax_cxx_have_isfinite_save_LIBS=$LIBS
- LIBS="$LIBS -lm"
-
- AC_CACHE_CHECK(for isfinite, ax_cv_cxx_have_isfinite,
- [AC_LANG_SAVE
- AC_LANG_CPLUSPLUS
- AC_LINK_IFELSE(
- [AC_LANG_PROGRAM(
- [[#include <math.h>]],
- [[int f = isfinite( 3 );]])],
- [ax_cv_cxx_have_isfinite=yes],
- [ax_cv_cxx_have_isfinite=no])
- AC_LANG_RESTORE])
-
- if test "$ax_cv_cxx_have_isfinite" = yes; then
- AC_DEFINE([HAVE_ISFINITE],1,[define if compiler has isfinite])
- else
- LIBS=$ax_cxx_have_isfinite_save_LIBS
- fi
-])