[PATCH 1/2] configure: Add default libs before get by '***-config' tool.
Shunichi Fuji
palglowr at gmail.com
Fri Jan 16 16:13:25 CST 2009
Signed-off-by: Shunichi Fuji <palglowr at gmail.com>
---
configure.ac | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/configure.ac b/configure.ac
index 72f93b7..7a5fd59 100644
--- a/configure.ac
+++ b/configure.ac
@@ -980,6 +980,7 @@ dnl **** Check for SANE ****
if test "x$with_sane" != "xno"
then
ac_save_CPPFLAGS="$CPPFLAGS"
+ ac_sane_libs="-lsane"
AC_CHECK_PROG(sane_devel,sane-config,sane-config,no)
if test "$sane_devel" != "no"
then
@@ -998,6 +999,7 @@ dnl **** Check for libgphoto2 ****
if test "x$with_gphoto" != "xno"
then
ac_save_CPPFLAGS="$CPPFLAGS"
+ ac_gphoto2_libs="-lgphoto2"
AC_CHECK_PROG(gphoto2_devel,gphoto2-config,gphoto2-config,no)
AC_CHECK_PROG(gphoto2port_devel,gphoto2-port-config,gphoto2-port-config,no)
if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
@@ -1054,6 +1056,7 @@ WINE_NOTICE_WITH(cms,[test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"],
dnl **** Check for FreeType 2 ****
if test "x$with_freetype" != "xno"
then
+ ac_freetype_libs="-lfreetype"
AC_CHECK_PROGS(ft_devel,[freetype-config freetype2-config],no)
if test "$ft_devel" != "no"
then
@@ -1128,6 +1131,7 @@ dnl **** Check for EsounD ****
if test "x$with_esd" != xno
then
save_CFLAGS="$CFLAGS"
+ ac_esd_libs="-lesd"
AC_PATH_PROG(ESDCONFIG, esd-config, no)
if test "x$ESDCONFIG" != "xno"
then
--
1.6.1
--Multipart=_Sat__17_Jan_2009_09_28_52_+0900_REs_Njv++m5AxWB6
Content-Type: text/x-patch;
name="0002-configure-Typo-in-sane-use-libs-not-ldflags-f.patch"
Content-Disposition: attachment;
filename="0002-configure-Typo-in-sane-use-libs-not-ldflags-f.patch"
Content-Transfer-Encoding: 7bit
More information about the wine-patches
mailing list