Your message dated Sat, 17 Sep 2005 13:04:00 -0700
with message-id <[EMAIL PROTECTED]>
has caused the Debian Bug report #327655,
regarding autoconf: AC_PATH_X* requires libxt-dev
to be marked as having been forwarded to the upstream software
author(s) [EMAIL PROTECTED]

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

---------------------------------------
Received: (at 327655-forwarded) by bugs.debian.org; 17 Sep 2005 20:03:59 +0000
>From [EMAIL PROTECTED] Sat Sep 17 13:03:59 2005
Return-path: <[EMAIL PROTECTED]>
Received: from smtp-roam.stanford.edu [171.64.10.152] 
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1EGiul-0007wH-00; Sat, 17 Sep 2005 13:03:59 -0700
Received: from localhost (c-24-7-50-224.hsd1.ca.comcast.net [24.7.50.224])
        (authenticated bits=0)
        by smtp-roam.Stanford.EDU (8.12.11/8.12.11) with ESMTP id j8HK3ugJ014035
        (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT);
        Sat, 17 Sep 2005 13:03:57 -0700
Received: from blp by localhost with local (Exim 4.52)
        id 1EGiun-00045F-4t; Sat, 17 Sep 2005 13:04:01 -0700
From: Ben Pfaff <[EMAIL PROTECTED]>
To: bug-autoconf@gnu.org
Subject: AC_PATH_X checks for Xt, not for X itself
CC: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Date: Sat, 17 Sep 2005 13:04:00 -0700
Message-ID: <[EMAIL PROTECTED]>
User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
        version=2.60-bugs.debian.org_2005_01_02

Debian bug 327655 complains that AC_PATH_X in Autoconf checks for
the presence of Xt development headers and libraries, whereas the
stated purpose of the macro is to check for X headers and
libraries.  In Debian, Xt was recently broken out from the main X
development package, so this check has become a bit of an issue:
some packages now need to build-depend on libxt-dev even though
they don't use it.

For the full history of this bug, you can view the Debian bug
report:
        http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=327655

The following patch fixes the problem.  It does have the
backward-compatibility implication that any program that expected
AC_PATH_X to check for Xt will now only know that X itself is
installed.

--- tmp/autoconf-2.59a/lib/autoconf/libs.m4     2005-09-14 21:50:55.000000000 
-0700
+++ autoconf-2.59a/lib/autoconf/libs.m4 2005-09-14 21:47:42.000000000 -0700
@@ -345,7 +345,7 @@
   else
 dnl If we are called with less than 3 arguments, use the defaults
     m4_ifval([$3], [_AC_PATH_X($@)],
-                   [_AC_PATH_X([Xt],[X11/Intrinsic.h],[XtMalloc (0)])])
+                   [_AC_PATH_X([X11],[X11/Xlib.h],[XrmInitialize ()])])
   fi
   eval "$ac_cv_have_x"
 fi # $with_x != no


-- 
"You know, they probably have special dorms for people like us."
--American Pie


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to