Commit 4bf77d6c authored by Shunichi Fuji's avatar Shunichi Fuji Committed by Alexandre Julliard

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

parent 023df851
......@@ -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; }
......
......@@ -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")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment