fix commit 3fe5d80512ec5dbfbb2ee7dbb426be7d582e262e

Shunichi Fuji palglowr at gmail.com
Fri Jan 16 18:28:52 CST 2009


>http://source.winehq.org/git/wine.git/?a=commit;h=3fe5d80512ec5dbfbb2ee7dbb426be7d582e262e
>configure: Check for ESound, FreeType, GPhoto2 and SANE even if their 'xxx-config' tool is missing.

if xxx-config is missing, and header and libs exist,
these lines export libs nothing even that are needed at least.
succeed in AC_CHECK_LIB, then, we will export by AC_SUBST.
so, this patch assumes that the minimum required libs are based on used to AC_CHECK_LIB.


BTW i noticed that ac_sane_libs uses '--ldflags' to get libs.
is this legal for $ac_***_libs usage?
i also attached 'use --libs' patch.

FYI, i got following for sane-config
>$ sane-config --ldflags
>-L/usr/lib  -Wl,-rpath,/usr/lib
>$ sane-config --libs
>-lsane -lusb -lpthread -lm  -ljpeg -ltiff -lieee1284 -ldl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-configure-Add-default-libs-before-get-by-confi.patch
Type: text/x-patch
Size: 0 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20090117/c66eed80/attachment.bin 


More information about the wine-patches mailing list