diff configure.in @ 1202:6041a741b6d6

[xemacs-hg @ 2003-01-12 11:03:13 by michaels] 2003-01-12 Mike Sperber <mike@xemacs.org> * configure.in: Check for strupr and strlwr. 2002-12-16 Ben Wing <ben@xemacs.org> * INSTALL (Rationale): * configure.in (XE_COMPUTE_RUNPATH): * configure.usage (Usage): * configure.usage (--xemacs-compiler): * configure.usage (--srcdir): * configure.usage (--with-prefix): * configure.usage (--bindir): New. * configure.usage (--datadir): New. * configure.usage (--statedir): New. * configure.usage (--libdir): New. * configure.usage (--infodir): New. * configure.usage (--mandir): New. * configure.usage (--lispdir): New. * configure.usage (--sitelispdir): New. * configure.usage (--etcdir): New. * configure.usage (--lockdir): New. * configure.usage (--archlibdir): New. * configure.usage (--docdir): New. * configure.usage (--moduledir): New. * configure.usage (--with-site-lisp): New. * configure.usage (--with-site-modules): New. * configure.usage (--package-path): New. * configure.usage (--infopath): New. * configure.usage (--with-xmu): * configure.usage (--with-tty): * configure.usage (--with-gif): * configure.usage (--native-sound-lib): * configure.usage (--with-xim): New. * configure.usage (--with-clash-detection): New. * configure.usage (--with-database): * configure.usage (--mail-locking): * configure.usage (--with-ipv6-cname): Removed. * configure.usage (--error-checking): Redo usage message more logically, fix some problems. In configure, when outputting the compilation options, put in a big ugly warning about using union-type, since it's been known to trigger so many compiler bugs, invariably leading to weird crashes.
author michaels
date Sun, 12 Jan 2003 11:03:16 +0000
parents 2e45c3beb9dc
children d9c553868a01
line wrap: on
line diff
--- a/configure.in	Sun Jan 12 10:45:53 2003 +0000
+++ b/configure.in	Sun Jan 12 11:03:16 2003 +0000
@@ -3973,7 +3973,7 @@
 dnl Check for POSIX functions.
 dnl ----------------------------------------------------------------
 
-AC_CHECK_FUNCS(cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getwd link logb lrand48 matherr mkdir mktime perror poll random readlink rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror symlink tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask wcslen wcscmp)
+AC_CHECK_FUNCS(cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getwd link logb lrand48 matherr mkdir mktime perror poll random readlink rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror strlwr strupr symlink tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask wcslen wcscmp)
 
 dnl getaddrinfo() is borked under hpux11
 if test "$ac_cv_func_getaddrinfo" != "no" ; then
@@ -5167,7 +5167,16 @@
 test "$with_socks" = yes && echo "  Compiling in support for SOCKS."
 test "$with_dnet" = yes && echo "  Compiling in support for DNET."
 test "$with_modules" = "yes" && echo "  Compiling in support for dynamic shared object modules."
-test "$use_union_type" = yes && echo "  Using the union type for Lisp_Objects."
+if test "$use_union_type" = yes ; then
+  echo "  Using the union type for Lisp_Objects."
+  echo "  WARNING: ---------------------------------------------------------"
+  echo "  WARNING: This tends to trigger compiler bugs, especially when"
+  echo "  WARNING: combined with MULE and ERROR_CHECKING.  Crashes have"
+  echo "  WARNING: been seen with various versions of GCC, and recently"
+  echo "  WARNING: with Visual C++ as well."
+  echo "  WARNING: ---------------------------------------------------------"
+fi
+test "$use_union_type" = yes && echo "  WARNING: Use of the union type may cause crashes due to compiler bugs."
 test "$use_kkcc" = yes && echo "  Using the new GC algorithms."
 test "$pdump" = yes && echo "  Using the new portable dumper."
 test "$debug" = yes && echo "  Compiling in support for extra debugging code."