[Bug 3662] New: aclocal.m4:WINE_GET_SONAME() may get a multiline
result.
Wine Bugs
wine-bugs at winehq.org
Wed Oct 26 06:58:36 CDT 2005
http://bugs.winehq.org/show_bug.cgi?id=3662
Summary: aclocal.m4:WINE_GET_SONAME() may get a multiline result.
Product: Wine
Version: 0.9
Platform: PC
OS/Version: Solaris
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: wine-ports
AssignedTo: wine-bugs at winehq.org
ReportedBy: grubba at grubba.org
WINE_GET_SONAME does not protect against multiple lines in ldd output matching
the grep expression. This leads to configure failures on Solaris 10/x86.
>From config.log:
configure:13483: checking for -lGL soname
configure:13513: gcc -o conftest -I/usr/sfw/include -I/opt/sfw/include -I/opt/cs
w/include -L/usr/sfw/lib -R/usr/sfw/lib -L/usr/local/lib -R/usr/local/lib -L/op
t/sfw/lib -R/opt/sfw/lib -L/opt/csw/lib -R/opt/csw/lib conftest.c -lGL -L/usr/o
penwin/lib -R/usr/openwin/lib -lsocket -lnsl -lresolv -lsocket -lnsl >&5
configure:13519: $? = 0
configure:13522: test -z || test ! -s conftest.err
configure:13525: $? = 0
configure:13528: test -s conftest
configure:13531: $? = 0
configure:13548: result: libGL.so
libGL.so
configure:13557: checking for -ltxc_dxtn soname
WINE_GET_SONAME returning a multiline result causes all following configure
tests to fail due to the following lines in confdefs.h:
| #define SONAME_LIBGL "libGL.so
| libGL.so"
| /* end confdefs.h. */
Workaround:
Seed the configure cache by setting ac_cv_lib_soname_GL to "libGL.so":
ac_cv_lib_soname_GL="libGL.so" ./configure
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the wine-bugs
mailing list