From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5873 invoked by alias); 12 Jul 2003 02:40:34 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 5856 invoked from network); 12 Jul 2003 02:40:33 -0000 Received: from unknown (HELO ms-smtp-02.nyroc.rr.com) (24.92.226.49) by sources.redhat.com with SMTP; 12 Jul 2003 02:40:33 -0000 Received: from doctormoo (syr-24-24-18-148.twcny.rr.com [24.24.18.148]) by ms-smtp-02.nyroc.rr.com (8.12.5/8.12.2) with ESMTP id h6C2eWiY017682; Fri, 11 Jul 2003 22:40:32 -0400 (EDT) Received: from neroden by doctormoo with local (Exim 3.36 #1 (Debian)) id 19bAJE-0000k5-00; Fri, 11 Jul 2003 22:40:24 -0400 Date: Sat, 12 Jul 2003 02:40:00 -0000 To: gcc-patches@gcc.gnu.org Cc: gdb-patches@sources.redhat.com, binutils@sources.redhat.com Subject: [top level] autoconfiscate INSTALL usage Message-ID: <20030712024024.GA2833@doctormoo> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.4i From: Nathanael Nerode X-SW-Source: 2003-07/txt/msg00252.txt.bz2 Submitting for general consideration. Plus, it affects a bug. Tested on i686-pc-linux-gnu. PR bootstrap/11408 * Makefile.tpl: Set INSTALL and friends using autoconf. Remove unused INSTALL_PROGRAM_ARGS. * configure.in: Use AC_PROG_INSTALL. * Makefile.in: Regenerate. * configure: Regenerate. Index: Makefile.tpl =================================================================== RCS file: /cvs/gcc/gcc/Makefile.tpl,v retrieving revision 1.65 diff -u -r1.65 Makefile.tpl --- Makefile.tpl 8 Jul 2003 05:54:54 -0000 1.65 +++ Makefile.tpl 11 Jul 2003 04:56:20 -0000 @@ -64,14 +64,10 @@ man8dir = $(mandir)/man8 man9dir = $(mandir)/man9 -# INSTALL_PROGRAM_ARGS is changed by configure.in to use -x for a -# cygwin host. -INSTALL_PROGRAM_ARGS = - -INSTALL = $(SHELL) $$s/install-sh -c -INSTALL_PROGRAM = $(INSTALL) $(INSTALL_PROGRAM_ARGS) -INSTALL_SCRIPT = $(INSTALL) -INSTALL_DATA = $(INSTALL) -m 644 +INSTALL = @INSTALL@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_DATA = @INSTALL_DATA # ------------------------------------------------- # Miscellaneous non-standard autoconf-set variables Index: configure.in =================================================================== RCS file: /cvs/gcc/gcc/configure.in,v retrieving revision 1.243 diff -u -r1.243 configure.in --- configure.in 27 Jun 2003 17:33:51 -0000 1.243 +++ configure.in 11 Jul 2003 04:56:24 -0000 @@ -23,6 +23,9 @@ AC_CANONICAL_SYSTEM AC_ARG_PROGRAM +# Get 'install' or 'install-sh' and its variants. +AC_PROG_INSTALL + sinclude(config/acx.m4) ### we might need to use some other shell than /bin/sh for running subshells -- Nathanael Nerode http://home.twcny.rr.com/nerode/neroden/fdl.html