configure: Set default libs if ***-config is missing.

This commit is contained in:
Shunichi Fuji 2009-01-20 15:24:46 +09:00 committed by Alexandre Julliard
parent 023df85183
commit 4bf77d6cf7
2 changed files with 6 additions and 0 deletions

3
configure vendored
View File

@ -14116,6 +14116,7 @@ fi
done
CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
fi
ac_gphoto2_libs=${ac_gphoto2_libs:-"-lgphoto2"}
if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
{ $as_echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
$as_echo_n "checking for gphoto2-camera.h... " >&6; }
@ -14551,6 +14552,7 @@ test -n "$ft_devel" || ft_devel="no"
ac_freetype_incl=`$ft_devel --cflags`
ac_freetype_libs=`$ft_devel --libs`
fi
ac_freetype_libs=${ac_freetype_libs:-"-lfreetype"}
{ $as_echo "$as_me:$LINENO: checking for -lfreetype" >&5
$as_echo_n "checking for -lfreetype... " >&6; }
if test "${ac_cv_lib_soname_freetype+set}" = set; then
@ -15443,6 +15445,7 @@ fi
ac_esd_libs=`$ESDCONFIG --libs`
CFLAGS="$CFLAGS $ac_esd_incl"
fi
ac_esd_libs=${ac_esd_libs:-"-lesd"}
if test "${ac_cv_header_esd_h+set}" = set; then
{ $as_echo "$as_me:$LINENO: checking for esd.h" >&5
$as_echo_n "checking for esd.h... " >&6; }

View File

@ -1013,6 +1013,7 @@ then
done
CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
fi
ac_gphoto2_libs=${ac_gphoto2_libs:-"-lgphoto2"}
AC_CHECK_HEADER(gphoto2-camera.h,
[AC_CHECK_LIB(gphoto2,gp_camera_new,
[AC_DEFINE(HAVE_GPHOTO2, 1, [Define if we have libgphoto2 development environment])
@ -1060,6 +1061,7 @@ then
ac_freetype_incl=`$ft_devel --cflags`
ac_freetype_libs=`$ft_devel --libs`
fi
ac_freetype_libs=${ac_freetype_libs:-"-lfreetype"}
WINE_CHECK_SONAME(freetype,FT_Init_FreeType,[ft_lib=yes],[ft_lib=no],[$ac_freetype_libs])
if test "$ft_lib" = "yes"
then
@ -1141,6 +1143,7 @@ then
ac_esd_libs=`$ESDCONFIG --libs`
CFLAGS="$CFLAGS $ac_esd_incl"
fi
ac_esd_libs=${ac_esd_libs:-"-lesd"}
AC_CHECK_HEADER(esd.h,
[AC_CHECK_LIB(esd,esd_open_sound,
[AC_SUBST(ESDINCL, "$ac_esd_incl")