Bug 60533 - SDL detection in AM_PATH_SDL automake macro is incorrect
Summary: SDL detection in AM_PATH_SDL automake macro is incorrect
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: SDL
Version: 1.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: wdovlrrw
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-03-01 06:44 UTC by vvs
Modified: 2008-05-01 15:38 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-03-01 06:55:01 UTC
Embargoed:


Attachments (Terms of Use)
configure script (136 bytes, text/plain)
2002-03-01 06:54 UTC, vvs
no flags Details

Description vvs 2002-03-01 06:44:05 UTC
Description of Problem:

AM_PATH_SDL macro can't detect SDL presence when C++ compiler is used. This
happens because it sets up CFLAGS only, but not CXXFLAGS.

Version-Release number of selected component (if applicable):

SDL-1.2.3-5

How Reproducible:

Always

Steps to Reproduce:
1. Save attached configure.ac
2. touch Makefile.am
3. aclocal
4. automake -a -c
5. autoconf
6. ./configure

Actual Results:

SDL was not detected.

Expected Results:

It should say SDL version >= 1.2.0 yes

Additional Information:
	
If you remove AC_LANG from configure.ac all will be ok.

Comment 1 vvs 2002-03-01 06:54:56 UTC
Created attachment 47060 [details]
configure script

Comment 2 Bernhard Rosenkraenzer 2002-03-11 14:19:48 UTC
Fixed in 1.2.3-7


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