Skip to contentSkip to conversation

: alsa.m4 AM_PATH_ALSA broken with libraries starting with m

ALSA - lib 0000482 [email protected] 1 participant 1 message Sep 5, 2004

lore
Share & tools
lore
#0 lore raw

The following bug has been SUBMITTED.
======================================================================
https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000482
======================================================================
Reported By: nate
Assigned To:
======================================================================

Project:                    ALSA - lib
Bug ID:                     482
Category:                   general
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             09-05-2004 22:26 CEST
Last Modified:              09-05-2004 22:26 CEST

======================================================================
Summary: alsa.m4 AM_PATH_ALSA broken with libraries starting with m
Description:
The macro for checking the path of the alsa lib is broken. If the existing LIBS includes any libraries that start with 'm', they are clobbered:

56: LIBS=echo $LIBS | sed 's/-lm//'
57: LIBS=echo $LIBS | sed 's/-ldl//'
58: LIBS=echo $LIBS | sed 's/-lpthread//'
59: LIBS=echo $LIBS | sed 's/ //'
60: LIBS="$ALSA_LIBS $LIBS"

There should be a better way of accomplishing this.
======================================================================

Bug History
Date Modified Username Field Change
======================================================================
09-05-04 22:26 nate New Bug
======================================================================

-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click