From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9216 invoked by alias); 19 Aug 2002 12:36:02 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 9168 invoked by uid 71); 19 Aug 2002 12:36:02 -0000 Resent-Date: 19 Aug 2002 12:36:02 -0000 Resent-Message-ID: <20020819123602.9167.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-To: nobody@gcc.gnu.org Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org, java-prs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, china@thewrittenword.com Received: (qmail 8207 invoked by uid 61); 19 Aug 2002 12:31:23 -0000 Message-Id: <20020819123123.8206.qmail@sources.redhat.com> Date: Mon, 19 Aug 2002 06:16:00 -0000 From: china@thewrittenword.com Reply-To: china@thewrittenword.com To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: libgcj/7633: $(prefix)/share used rather than $(datadir) X-SW-Source: 2002-08/txt/msg00378.txt.bz2 List-Id: >Number: 7633 >Category: libgcj >Synopsis: $(prefix)/share used rather than $(datadir) >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Mon Aug 19 05:36:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: china@thewrittenword.com >Release: gcc-3.2 >Organization: >Environment: >Description: Any reason gcc/java/Make-lang.in has LIBGCJ_ZIP_FILE in '$(prefix)/share' rather than '$(datadir)'? It's not always the case that '$(prefix)/share' = '$(datadir)'. gcc/java/Make-lang.in: # jcf-path.o needs a -D. java/jcf-path.o: java/jcf-path.c $(CONFIG_H) $(SYSTEM_H) java/jcf.h $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \ -DLIBGCJ_ZIP_FILE='"$(prefix)/share/java/libgcj-$(version).jar"' \ -DDEFAULT_TARGET_VERSION=\"$(version)\" \ $(srcdir)/java/jcf-path.c $(OUTPUT_OPTION) libjava/Makefile.in: jardir = $(datadir)/java jar_DATA = libgcj-@gcc_version@.jar >How-To-Repeat: >Fix: Replace $(prefix)/share in gcc/java/Make-lang.in with $(datadir). >Release-Note: >Audit-Trail: >Unformatted: