summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2016-12-23 11:45:03 (GMT)
committerArnold D. Robbins <arnold@skeeve.com>2016-12-23 11:45:03 (GMT)
commit6a92d47d1d95ead34e04c7f84fef729f59790c5d (patch)
treefbd897bef8bbb2003053ad7e2769d5aedf974378
parent0098373ed5cb15f4dc2e3a59e0efb872827fe7f1 (diff)
downloadgawk-6a92d47d1d95ead34e04c7f84fef729f59790c5d.zip
gawk-6a92d47d1d95ead34e04c7f84fef729f59790c5d.tar.gz
gawk-6a92d47d1d95ead34e04c7f84fef729f59790c5d.tar.bz2
Update for Mac OS X on PowerPC.
-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 b8c4512..3ce0a2c 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 496195f..0ef4170 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 f147d4a..de9305d 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 0861198..fa071e8 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 48c6980..5a57904 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])