Skip to contentSkip to conversation

: AM_PATH_ALSA does not set prefix properly

ALSA - utils 0000936 [email protected] 1 participant 1 message Feb 26, 2005

lore
Share & tools
lore
#0 lore raw

A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=936>
======================================================================
Reported By: starling
Assigned To:
======================================================================

Project:                    ALSA - utils
Issue ID:                   936
Category:                   aconnect
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             02-23-2005 22:39 CET
Last Modified:              02-26-2005 03:28 CET

======================================================================
Summary: AM_PATH_ALSA does not set prefix properly
Description:
When configure calls AM_PATH_ALSA, it wrongly assumes that --with-alsa-prefix specifies the location of the library, not the prefix of alsa. In addition, --with-alsa-inc-prefix does not properly modify CFLAGS. The result is that every configure where alsa-lib is installed outside the hardcoded include/lib paths fails unconditionally.
======================================================================

----------------------------------------------------------------------
tiwai - 02-24-05 22:02
----------------------------------------------------------------------
I'm afraid it's too late to fix this since the macro is being used widely now. Your patch will result in the incompatible configure option and break e.g. for 64bit lib path.

----------------------------------------------------------------------
starling - 02-26-05 03:28
----------------------------------------------------------------------
I'm not sure how the number of bits per character would break my patch. As for it being an incompatible configure option, I don't see how the current configure can work at all. With the current (unpatched) alsa.m4, any installation outside of /usr, of alsa-utils will fail. With the patch applied it changes the interface, but installations into /usr (or /usr/local depending on your compiler) will not fail because they are checked regardless of which -I/-L flag is passed to the compiler. So the only configurations that would not be backwards compatible, and would become 'broken', are the configurations that do not work in the first place (for no good reason). Nothing to worry about.

Unless you know something I don't, which is likely. 64-bit whosamawhudda?
You mean like Unicode paths?

Issue History
Date Modified Username Field Change
======================================================================

02-23-05 22:39 starling       New Issue                                    
02-23-05 22:39 starling       File Added: alsa.diff                        
02-24-05 22:02 tiwai          Note Added: 0003726                          
02-26-05 03:28 starling       Note Added: 0003738                          

======================================================================

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click