Bug 3212 - values in site script CONFIG_SITE are not propagated to popt directory
values in site script CONFIG_SITE are not propagated to popt directory
Status: CLOSED CURRENTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
6.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jay Turner
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-06-02 09:23 EDT by benedict
Modified: 2015-01-07 18:37 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-06-16 16:01:40 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description benedict 1999-06-02 09:23:26 EDT
When running configure like this:

sh -c 'CONFIG_SITE=./config.site ./configure'

the site script is loaded ...

loading site script ./config.site

but not propagated to the popt directory

configuring in popt
running /bin/sh ./configure  --cache-file=.././config.cache
--srcdir=.
loading cache .././config.cache

This is not very good as it makes it impossible to use the
site script to e.g. turn optimisation off by writing
CFLAGS='-g' in the file.  If you try, optimization will be
off everywhere except in the popt code ;-((
Comment 1 Jeff Johnson 1999-06-16 16:01:59 EDT
Fixed as below. Thanks for the report.

Index: configure.in
===================================================================
RCS file: /cvs/devel/rpm/configure.in,v
retrieving revision 1.143
diff -u -r1.143 configure.in
--- configure.in        1999/06/09 14:13:33     1.143
+++ configure.in        1999/06/16 20:00:17
@@ -776,7 +776,7 @@
 AC_SUBST(RPM)

 # XXX Propagate -lucb to popt ...
-export LIBS INCPATH
+export LIBS INCPATH CONFIG_SITE

 AC_CONFIG_SUBDIRS(popt)
 AC_OUTPUT([Makefile rpmrc macros lib/Makefile

Note You need to log in before you can comment on or make changes to this bug.