migration from liblcms1 to liblcms2
@@ -39,16 +39,8 @@ | ||
39 | 39 | [POPPLER_SRCDIR=`eval echo $includedir`]) |
40 | 40 | AC_SUBST(POPPLER_SRCDIR) |
41 | 41 | |
42 | -dnl check poppler library | |
43 | -prefix_NONE= | |
44 | -test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix | |
45 | -if test $POPPLER_SRCDIR == `eval echo $includedir` ;then | |
46 | - POPPLER_LIBS=-lpoppler | |
47 | -else | |
48 | - POPPLER_LIBS=$POPPLER_SRCDIR/poppler/.libs/libpoppler.a | |
49 | -fi | |
42 | +POPPLER_LIBS=-lpoppler | |
50 | 43 | AC_SUBST(POPPLER_LIBS) |
51 | -test "$prefix_NONE" && prefix=NONE | |
52 | 44 | |
53 | 45 | dnl checks for programs |
54 | 46 |
@@ -149,7 +141,6 @@ | ||
149 | 141 | dnl check if cms is available |
150 | 142 | if grep "setDisplayProfileName" $POPPLER_SRCDIR/poppler/GfxState.h >/dev/null ;then |
151 | 143 | AC_DEFINE([USE_CMS],,[cms is available]) |
152 | - POPPLER_LIBS="$POPPLER_LIBS -llcms" | |
153 | 144 | fi |
154 | 145 | |
155 | 146 | AC_DEFINE_DIR(POPPLER_DATADIR, "{datarootdir}/poppler", [Poppler data dir]) |