aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--README_d/ChangeLog4
-rw-r--r--README_d/README.macosx9
-rwxr-xr-xconfigure6
-rw-r--r--configure.ac8
5 files changed, 32 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index b8c45122..3ce0a2cc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2016-12-23 Arnold D. Robbins <arnold@skeeve.com>
+
+ * configure.ac (GNUPG_CHECK_MPFR): Don't call on PowerPC
+ Macintosh. C99 and the last version of MPFR that works on
+ that platform don't get along. Sigh.
+
2016-12-22 Arnold D. Robbins <arnold@skeeve.com>
* dfa.c: Sync with GNULIB.
diff --git a/README_d/ChangeLog b/README_d/ChangeLog
index 496195f9..0ef41704 100644
--- a/README_d/ChangeLog
+++ b/README_d/ChangeLog
@@ -1,3 +1,7 @@
+2016-12-23 Arnold D. Robbins <arnold@skeeve.com>
+
+ * README.macosx: Updated.
+
2016-10-31 Arnold D. Robbins <arnold@skeeve.com>
* README.aix: New file.
diff --git a/README_d/README.macosx b/README_d/README.macosx
index f147d4af..de9305de 100644
--- a/README_d/README.macosx
+++ b/README_d/README.macosx
@@ -1,3 +1,12 @@
+Fri Dec 23 13:42:58 IST 2016
+============================
+
+If anyone besides me still has a PowerPC Macintosh, it's no longer
+possible to build gawk using MPFR. C99 and the last version of MPFR
+that works on that platform don't get along, and I could not solve
+the problem. So I simply disabled the MPFR check in configure.ac on
+that platform.
+
Wed Aug 24 21:54:13 IDT 2016
============================
diff --git a/configure b/configure
index 0861198a..fa071e86 100755
--- a/configure
+++ b/configure
@@ -10508,6 +10508,10 @@ fi
fi
+case `uname -m` in
+*'Power Macintosh'*)
+ : ;;
+*)
# Check whether --with-mpfr was given.
@@ -10582,6 +10586,8 @@ $as_echo "#define HAVE_MPFR 1" >>confdefs.h
unset _found_mpfr
fi
+ ;;
+esac
ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
if test "x$ac_cv_member_struct_stat_st_blksize" = xyes; then :
diff --git a/configure.ac b/configure.ac
index 48c6980c..5a57904b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -366,7 +366,13 @@ dnl check for readline support
GAWK_CHECK_READLINE
dnl check for mpfr support
-GNUPG_CHECK_MPFR
+case `uname -m` in
+*'Power Macintosh'*)
+ : ;;
+*)
+ GNUPG_CHECK_MPFR
+ ;;
+esac
dnl checks for structure members
AC_CHECK_MEMBERS([struct stat.st_blksize])