From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/12273 Path: main.gmane.org!not-for-mail From: wmperry@aventail.com (William M. Perry) Newsgroups: gmane.emacs.gnus.general Subject: Re: Please unbundle the custom and widget libraries from qgnus. Date: 22 Sep 1997 08:52:45 -0700 Message-ID: <86lo0p8hwy.fsf@kramer.in.aventail.com> References: <6fzpp7kocq.fsf@half.dna.lth.se> Reply-To: wmperry@aventail.com NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035151838 2867 80.91.224.250 (20 Oct 2002 22:10:38 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:10:38 +0000 (UTC) Return-Path: Original-Received: from xemacs.org (xemacs.cs.uiuc.edu [128.174.252.16]) by altair.xemacs.org (8.8.7/8.8.7) with ESMTP id KAA03833 for ; Mon, 22 Sep 1997 10:15:40 -0700 Original-Received: from ifi.uio.no (0@ifi.uio.no [129.240.64.2]) by xemacs.org (8.8.5/8.8.5) with SMTP id MAA04950 for ; Mon, 22 Sep 1997 12:11:25 -0500 (CDT) Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by ifi.uio.no with SMTP (8.6.11/ifi2.4) id for ; Mon, 22 Sep 1997 17:55:25 +0200 Original-Received: (qmail 11305 invoked by uid 504); 22 Sep 1997 15:55:19 -0000 Original-Received: (qmail 11302 invoked from network); 22 Sep 1997 15:55:18 -0000 Original-Received: from newman.aventail.com (root@199.238.236.1) by claymore.vcinet.com with SMTP; 22 Sep 1997 15:55:18 -0000 Original-Received: from kramer.in.aventail.com (wmperry@kramer.in.aventail.com [192.168.1.12]) by newman.aventail.com (8.8.5/8.8.5) with ESMTP id IAA08452 for ; Mon, 22 Sep 1997 08:55:17 -0700 (PDT) Original-Received: (from wmperry@localhost) by kramer.in.aventail.com (8.8.5/8.8.5) id IAA17788; Mon, 22 Sep 1997 08:52:45 -0700 Original-To: ding@gnus.org Errors-to: wmperry@aventail.com X-Face: O~Rn;(l][/-o1sALg4A@xpE:9-"'IR[%;,,!m7 writes: > Kurt Swanson writes: > > > My suggestion is putting an "echo How to obtain custom..." line into > > the makefile. > > I've now made dgnushack check for Custom and then issue instructions > if it can't find it. Have you ever considered using autoconf to create your makefiles for GNUS? I've been writing quite a few macros for Emacs/W3's configure.in for mucking about with the Emacs someone is trying to use. I've written equivalents of the AC_CHECK_LIB macro, so for Emacs/W3 to test whether the current emacs has a suitable version of the widget library I just do: AC_EMACS_CHECK_LIB(widget,widget-convert-text,"noecho") AC_EMACS_CHECK_LIB(wid_edit,widget-convert-text,"noecho") The 'noecho' stuff is just so routines called by AC_EMACS_CHECK_LIB don't echo their own 'checking ....' stuff. There is also AC_EMACS_CHECK_VAR macro, and AC_EMACS_LISP macro for executing arbitrary lisp. >>From configure.in: AC_CHECK_CUSTOM if test "${CUSTOM}" = "no"; then AC_MSG_WARN(" ") AC_MSG_WARN(No usable version of the widget/custom libraries have been) AC_MSG_WARN(detected on your system. This version of Emacs/W3 requires) AC_MSG_WARN(features present in newer versions of the widget library.) AC_MSG_WARN(" ") AC_MSG_WARN(Please upgrade to the latest version of custom available.) AC_MSG_WARN(This package is included with Emacs 20.1 and XEmacs 20.3) AC_MSG_WARN(or from http://www.dina.kvl.dk/~abraham/custom/) AC_MSG_WARN(" ") AC_MSG_WARN(You may still continue but you must modify lisp/Makefile) AC_MSG_WARN(to have the correct WIDGETDIR setting.) AC_MSG_WARN(" ") fi -Bill P.