diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2018-05-23 02:05:43 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2018-05-23 02:05:43 +0200 |
commit | 66e39e76d7f9acc27522b0a25cd6e538ecc920f0 (patch) | |
tree | c432bd3b746af62baf820827263b55d4f10f2392 | |
parent | 5ee5394ccec1e9fa07f2a84d73209472c8a1daab (diff) | |
download | cppunit-66e39e76d7f9acc27522b0a25cd6e538ecc920f0.tar.gz |
fix make distcheck, part1
-rwxr-xr-x | autogen.sh | 2 | ||||
-rw-r--r-- | m4/ax_cxx_have_isfinite.m4 | 27 |
2 files changed, 0 insertions, 29 deletions
@@ -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 -]) |