gphoto2.ds: Make use of `gphoto2-config --libs` for the configure check.

This commit is contained in:
Francois Gouget 2008-07-21 17:10:45 +02:00 committed by Alexandre Julliard
parent 7a27f8b665
commit 4bc03fe857
2 changed files with 2 additions and 2 deletions

2
configure vendored
View File

@ -13488,7 +13488,7 @@ if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
LIBS="-lgphoto2 $GPHOTO2LIBS $LIBS"
LIBS="-lgphoto2 $ac_gphoto2_libs $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF

View File

@ -951,7 +951,7 @@ then
[AC_DEFINE(HAVE_GPHOTO2, 1, [Define if we have libgphoto2 development environment])
AC_SUBST(GPHOTO2LIBS,"$ac_gphoto2_libs")
AC_SUBST(GPHOTO2INCL,"$ac_gphoto2_incl")],,
[$GPHOTO2LIBS])])
[$ac_gphoto2_libs])])
CPPFLAGS="$ac_save_CPPFLAGS"
fi
WINE_NOTICE_WITH(gphoto,[test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"],