From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: Patch to replace some cpp with autoconf Date: Mon, 14 Sep 2009 11:52:31 -0700 (PDT) Message-ID: <200909141852.n8EIqVj6023652@godzilla.ics.uci.edu> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1252954623 12969 80.91.229.12 (14 Sep 2009 18:57:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Sep 2009 18:57:03 +0000 (UTC) Cc: emacs-devel@gnu.org To: Glenn Morris Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 14 20:56:56 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MnGjP-0006fC-HC for ged-emacs-devel@m.gmane.org; Mon, 14 Sep 2009 20:56:55 +0200 Original-Received: from localhost ([127.0.0.1]:34909 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MnGjO-0001CH-CT for ged-emacs-devel@m.gmane.org; Mon, 14 Sep 2009 14:56:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MnGiQ-0000dG-Dc for emacs-devel@gnu.org; Mon, 14 Sep 2009 14:55:54 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MnGiM-0000Ym-Sv for emacs-devel@gnu.org; Mon, 14 Sep 2009 14:55:54 -0400 Original-Received: from [199.232.76.173] (port=59181 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MnGiM-0000YZ-OT for emacs-devel@gnu.org; Mon, 14 Sep 2009 14:55:50 -0400 Original-Received: from sallyv2.ics.uci.edu ([128.195.1.120]:58307) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1MnGiI-0007Xr-Lz; Mon, 14 Sep 2009 14:55:46 -0400 Original-Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by sallyv2.ics.uci.edu (8.13.8+Sun/8.13.8) with ESMTP id n8EIqVlv029869; Mon, 14 Sep 2009 11:52:31 -0700 (PDT) Original-Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id n8EIqVj6023652; Mon, 14 Sep 2009 11:52:31 -0700 (PDT) In-Reply-To: (Glenn Morris's message of "Sat, 22 Aug 2009 18:54:24 -0400") Original-Lines: 32 X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: n8EIqVlv029869 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:115310 Archived-At: Glenn Morris writes: > Here is a patch to replace some of the cpp stuff used to generate the > Makefiles with autoconf. Is this acceptable for the trunk at this time? > > > 2009-08-22 Glenn Morris > > * configure.in (--with-mmdf, --with-mail-unlink): New options, off by > default. > (--with-mailhost): New option to set default POP host. > (LIBXPM, LIBJPEG, LIBPNG, LIBTIFF, LIBGIF, LIBGPM, LIBS_MAIL) > (LIBHESIOD, LIBRESOLV, COM_ERRLIB, CRYPTOLIB, KRB5LIB, DESLIB, KRB4LIB): > New variables, substituted in Makefiles. > (try_libungif, ac_gif_lib_name): Replace with HAVE_GIF=maybe, LIBGIF. > (LIBGIF): Use AC_SUBST rather than AC_DEFINE. > (HAVE_LIBMAIL, HAVE_LIBLOCKFILE, HAVE_LIBCOM_ERR, HAVE_LIBCRYPTO) > (HAVE_LIBK5CRYPTO, HAVE_LIBKRB5, HAVE_LIBDES425, HAVE_LIBDES) > (HAVE_LIBKRB4, HAVE_LIBKRB): New AC_DEFINEs. > > * lib-src/Makefile.in (KRB4LIB, DESLIB, KRB5LIB, CRYPTOLIB, COM_ERRLIB) > (HESIODLIB, LIBS_MAIL): Set using autoconf rather than cpp. > (BASE_CFLAGS): Remove (identical to CPP_CFLAGS). > > * src/Makefile.in (XFT_LIBS, LIBXPM, LIBJPEG, LIBPNG, LIBTIFF, LIBGIF) > (LIBGPM, LIBRESOLV): Set using autoconf rather than cpp. Does this allow us to get rid using cpp for lib-src/Makefile.in? (If not it should be very very close to it). Any reason this has not been checked in yet?