Bug 17140

Summary: configure test bug
Product: [Retired] Red Hat Linux Reporter: kestes
Component: rpmAssignee: Paul Nasrat <nobody+pnasrat>
Status: CLOSED CANTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-09-29 17:49:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description kestes 2000-08-31 16:22:14 UTC
There is a test in ./configure to see if your command line
arguments will allow you to compile using CC.

This test is broken because this test does not use libtool.  To be
consistent with your makefile which will compile the code, you should
use libtool to run the test.  I have tried to 
pass libtool options at configuration time and they fail because 
CC gets these options and does not know what to do with them.

Comment 1 kestes 2000-08-31 16:34:12 UTC
In particular

at configure time
	LDFLAGS="-static" \
	CFLAGS="$RPM_OPT_FLAGS" \
	        ./configure --prefix=%{__prefix}

gives problems and you must use a compile time flag.  Why are these two 
LDFLAGS settings different?  Only because configure is not consistant.

	make LDFLAGS="-static"



Comment 2 Paul Nasrat 2005-09-29 17:49:02 UTC
Closing due to age of bug and RHL 6.2 is no longer supported.  

If you have more information to add to this report, related to current rpm
version in Fedora Core 4 or Rawhide please reopen.