changeset 1155:2e45c3beb9dc

[xemacs-hg @ 2002-12-12 03:22:50 by stephent] pdump for Linux <873cp37wik.fsf@tleepslib.sk.tsukuba.ac.jp>
author stephent
date Thu, 12 Dec 2002 03:22:50 +0000
parents 3136b3c99ceb
children 64df484c9156
files ChangeLog configure.in
diffstat 2 files changed, 18 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Dec 12 03:20:43 2002 +0000
+++ b/ChangeLog	Thu Dec 12 03:22:50 2002 +0000
@@ -1,3 +1,8 @@
+2002-12-04  Stephen J. Turnbull  <stephen@xemacs.org>
+
+	* configure.in: Make --pdump default per opsys; move Darwin's
+	setting and change Linux's default to yes.
+
 2002-11-27  Ben Wing  <ben@xemacs.org>
 
 	* configure.in (CANONICALIZE_PATH):
--- a/configure.in	Thu Dec 12 03:20:43 2002 +0000
+++ b/configure.in	Thu Dec 12 03:22:50 2002 +0000
@@ -381,7 +381,8 @@
 with_tty=""
 use_union_type="no"
 with_dnet=""
-pdump="no"
+dnl pdump defaults per opsys
+pdump=""
 dnl dragndrop is still experimental, except on Windows.  When it is stable, comment out the following line:
 with_dragndrop_default="no"
 dnl Too annoying, even if mandated by IPv6 (and I'm not even sure of that)
@@ -1240,7 +1241,6 @@
   *-*-darwin*)
     opsys=darwin
     RANLIB="ranlib -c" dnl Avoids a link error with lwlib-config.c
-    pdump=yes          dnl No "native" working dumper available
     ;;
 
   dnl Data General AViiON Machines
@@ -1595,6 +1595,17 @@
   echo "Using configure-time autodetection only."
 fi
 
+dnl --------------------------------------------------------------
+dnl $opsys detection complete; defaults depending on $opsys follow
+dnl --------------------------------------------------------------
+
+if test -z "$pdump"; then
+  case "$opsys" in
+    linux* )      pdump=yes ;;    dnl glibc 2.3.1 seems to hose unexec
+    *-*-darwin* ) pdump=yes ;;    dnl No "native" working dumper available
+    *)            pdump=no ;;
+  esac
+fi
 
 if test -z "$dynamic"; then
   case "$opsys" in