On Thu, Sep 9, 2010 at 6:01 AM, Stephen J. Turnbull <stephen(a)xemacs.org> wrote:
Mats Lidell writes:
> So you could argue that it was my cygwin installation that was
> broken by having portions of X11 installed and thus fooling
> configure.
Yes, I think I would argue that. I sympathize with, but on balance
disagree with Robert Pluim. It is not obvious that a user with a
partial X installation would want XEmacs to build a TTY-only version
(think of broken Linux distros which don't by default distribute
headers with the libraries they supply -- FVO "broken" == "almost all
Linux distros" with tongue firmly planted in cheek).
I was thinking more along the lines of continuing on and building an
MSW version even if the X installation was broken, thus only on
cygwin. I have no idea how much autoconf (re)work that would take, and
I'm not sure I want to find out :)
I think it's better to barf and have the user contact us or the
platform distro for help.
For this we should at least make the error message a little clearer.
Something like the following?
diff --git a/configure.ac b/configure.ac
--- a/configure.ac
+++ b/configure.ac
@@ -3089,7 +3089,7 @@
dnl make sure we can find Intrinsic.h
AC_CHECK_HEADER(X11/Intrinsic.h, ,
- [AC_MSG_ERROR([Unable to find X11 header files.])])
+ [AC_MSG_ERROR([X autodetected or requested, but unable to find X11
header files.])])
dnl -lXt and -lX11 are required
dnl Some broken systems require the magic "-b i486-linuxaout" flag
Robert
--
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/mailman/listinfo/xemacs-beta