Lines 1095-1105
Link Here
|
1095 |
# Check for gtkhtml2 |
1095 |
# Check for gtkhtml2 |
1096 |
#################### |
1096 |
#################### |
1097 |
|
1097 |
|
|
|
1098 |
AC_ARG_ENABLE(gtkhtml, |
1099 |
AC_HELP_STRING([--enable-gtkhtml], |
1100 |
[build with gtkhtml (by default disabled)]),, |
1101 |
[enable_gtkhtml=no]) |
1102 |
if test "x$enable_gtkhtml" = xno; then |
1103 |
have_gtkhtml2=no |
1104 |
else |
1098 |
PKG_CHECK_MODULES(GTKHTML2, libgtkhtml-2.0 >= gtkhtml2_required_version, |
1105 |
PKG_CHECK_MODULES(GTKHTML2, libgtkhtml-2.0 >= gtkhtml2_required_version, |
1099 |
have_gtkhtml2=yes, |
1106 |
have_gtkhtml2=yes, |
1100 |
AC_MSG_WARN([*** Help browser plug-in will not be built (GtkHtml2 not found) ***])) |
1107 |
AC_MSG_WARN([*** Help browser plug-in will not be built (GtkHtml2 not found) ***])) |
1101 |
AC_SUBST(GTKHTML2_CFLAGS) |
1108 |
AC_SUBST(GTKHTML2_CFLAGS) |
1102 |
AC_SUBST(GTKHTML2_LIBS) |
1109 |
AC_SUBST(GTKHTML2_LIBS) |
|
|
1110 |
fi |
1111 |
|
1103 |
AM_CONDITIONAL(BUILD_HELPBROWSER, test x$have_gtkhtml2 = xyes) |
1112 |
AM_CONDITIONAL(BUILD_HELPBROWSER, test x$have_gtkhtml2 = xyes) |
1104 |
|
1113 |
|
1105 |
|
1114 |
|
Lines 1107-1116
Link Here
|
1107 |
# Check for librsvg |
1116 |
# Check for librsvg |
1108 |
################### |
1117 |
################### |
1109 |
|
1118 |
|
|
|
1119 |
AC_ARG_ENABLE(svg, |
1120 |
AC_HELP_STRING([--enable-svg], |
1121 |
[build with librsvg library (by default disabled)]),, |
1122 |
[enable_svg=no]) |
1123 |
|
1124 |
if test "x$enable_svg" != xno; then |
1110 |
PKG_CHECK_MODULES(SVG, librsvg-2.0 >= rsvg_required_version, |
1125 |
PKG_CHECK_MODULES(SVG, librsvg-2.0 >= rsvg_required_version, |
1111 |
SVG='svg$(EXEEXT)' |
1126 |
SVG='svg$(EXEEXT)' |
1112 |
LIBSVG=$SVG_LIBS, |
1127 |
LIBSVG=$SVG_LIBS, |
1113 |
AC_MSG_WARN([*** SVG import plug-in will not be built (librsvg not found) ***])) |
1128 |
AC_MSG_WARN([*** SVG import plug-in will not be built (librsvg not found) ***])) |
|
|
1129 |
fi |
1114 |
AC_SUBST(SVG) |
1130 |
AC_SUBST(SVG) |
1115 |
AC_SUBST(SVG_CFLAGS) |
1131 |
AC_SUBST(SVG_CFLAGS) |
1116 |
AC_SUBST(LIBSVG) |
1132 |
AC_SUBST(LIBSVG) |
Lines 1183-1205
Link Here
|
1183 |
# Check for lcms |
1199 |
# Check for lcms |
1184 |
################ |
1200 |
################ |
1185 |
|
1201 |
|
|
|
1202 |
AC_ARG_ENABLE(lcms, [ --disable-lcms build without color proof support (requires lcms)]) |
1203 |
|
1186 |
have_lcms=no |
1204 |
have_lcms=no |
1187 |
AC_CHECK_LIB(lcms, cmsCreate_sRGBProfile, [ |
1205 |
if test "x$enable_lcms" != "xno"; then |
1188 |
AC_CHECK_HEADER(lcms.h, |
1206 |
AC_CHECK_LIB(lcms, cmsCreate_sRGBProfile, [ |
1189 |
have_lcms=yes, [ |
1207 |
AC_CHECK_HEADER(lcms.h, |
1190 |
AC_CHECK_HEADER(lcms/lcms.h, |
1208 |
have_lcms=yes, [ |
1191 |
have_lcms=yes |
1209 |
AC_CHECK_HEADER(lcms/lcms.h, |
1192 |
AC_DEFINE(HAVE_LCMS_LCMS_H, 1, |
1210 |
have_lcms=yes |
1193 |
[Define to 1 if the lcms header must be included as lcms/lcms.h])) |
1211 |
AC_DEFINE(HAVE_LCMS_LCMS_H, 1, |
1194 |
]) |
1212 |
[Define to 1 if the lcms header must be included as lcms/lcms.h])) |
1195 |
]) |
1213 |
]) |
|
|
1214 |
]) |
1196 |
|
1215 |
|
1197 |
if test $have_lcms = yes; then |
1216 |
if test $have_lcms = yes; then |
1198 |
LCMS_LIBS="-llcms" |
1217 |
LCMS_LIBS="-llcms" |
1199 |
else |
1218 |
else |
1200 |
AC_MSG_WARN([*** color proof module will not be built (lcms not found or unuseable) ***]) |
1219 |
AC_MSG_WARN([*** color proof module will not be built (lcms not found or unuseable) ***]) |
|
|
1220 |
fi |
1201 |
fi |
1221 |
fi |
1202 |
|
|
|
1203 |
AC_SUBST(LCMS_LIBS) |
1222 |
AC_SUBST(LCMS_LIBS) |
1204 |
AM_CONDITIONAL(HAVE_LCMS, test $have_lcms = yes) |
1223 |
AM_CONDITIONAL(HAVE_LCMS, test $have_lcms = yes) |
1205 |
|
1224 |
|