summaryrefslogtreecommitdiff
path: root/libcdr
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-10-05 22:30:21 +0200
committerMichael Stahl <mstahl@redhat.com>2012-10-05 22:30:21 +0200
commite80f565c3886f8bc87b03d43acbb1453f7edcc48 (patch)
tree2f40a27c7ac8112e3bbd0e828c1550a1aba5c65c /libcdr
parent2b7536a99839543cc535c1c60a019bd2f784a847 (diff)
libcdr: remove boilerplate:
Define the various FOO_CFLAGS/FOO_LIBS used by libcdr in configure even for the case of internal FOO, and then just pass those variables into libcdr configure to get rid of SYSTEM_FOO conditionals. Change-Id: I0edabc13f8a068cb13792a16499593b8c589da1a
Diffstat (limited to 'libcdr')
-rw-r--r--libcdr/ExternalProject_libcdr.mk60
-rw-r--r--libcdr/UnpackedTarball_cdr.mk4
-rw-r--r--libcdr/libcdr-configure.patch.1466
3 files changed, 478 insertions, 52 deletions
diff --git a/libcdr/ExternalProject_libcdr.mk b/libcdr/ExternalProject_libcdr.mk
index fe6ce5f6898e..eb48909484c7 100644
--- a/libcdr/ExternalProject_libcdr.mk
+++ b/libcdr/ExternalProject_libcdr.mk
@@ -33,61 +33,17 @@ $(call gb_ExternalProject_get_state_target,libcdr,build) :
else
-libcdr_cflags :=
-libcdr_libs :=
-
-ifeq ($(SYSTEM_LIBWPD),YES)
-
-libcdr_cflags += $(WPD_CFLAGS)
-libcdr_libs += $(WPD_LIBS)
-
-else # !SYSTEM_LIBWPD
-
-libcdr_cflags += -I$(OUTDIR)/inc/external
-libcdr_libs += $(SOLARLIB)
-
-endif # SYSTEM_LIBWPD
-
-
-ifeq ($(SYSTEM_LIBWPG),YES)
-
-libcdr_cflags += $(WPG_CFLAGS)
-libcdr_libs += $(WPG_LIBS)
-
-else # !SYSTEM_LIBWPG
-
-libcdr_cflags += -I$(OUTDIR)/inc/external
-libcdr_libs += $(SOLARLIB)
-
-endif # SYSTEM_LIBWPG
-
-
-ifeq ($(SYSTEM_LCMS2),YES)
-
-else # !SYSTEM_LCMS2
-
-libcdr_cflags += -I$(OUTDIR)/inc/lcms2
-libcdr_libs += $(SOLARLIB)
-
-endif # SYSTEM_LCMS2
-
-zlib_cflags :=
-zlib_libs :=
-
-ifneq ($(SYSTEM_ZLIB),YES)
-
-zlib_cflags += -I$(OUTDIR)/inc/external/zlib
-zlib_libs += $(SOLARLIB)
-
-endif # !SYSTEM_ZLIB
-
$(call gb_ExternalProject_get_state_target,libcdr,build) :
cd $(EXTERNAL_WORKDIR) \
&& PKG_CONFIG="" \
- LIBCDR_CFLAGS="$(libcdr_cflags)" \
- LIBCDR_LIBS="$(libcdr_libs)" \
- ZLIB_CFLAGS="$(zlib_cflags)" \
- ZLIB_LIBS="$(zlib_libs)" \
+ WPD_CFLAGS="$(WPD_CFLAGS)" \
+ WPD_LIBS="$(WPD_LIBS)" \
+ WPG_CFLAGS="$(WPG_CFLAGS)" \
+ WPG_LIBS="$(WPG_LIBS)" \
+ LCMS2_CFLAGS="$(LCMS2_CFLAGS)" \
+ LCMS2_LIBS="$(LCMS2_LIBS)" \
+ ZLIB_CFLAGS="$(ZLIB_CFLAGS)" \
+ ZLIB_LIBS="$(ZLIB_LIBS)" \
./configure \
--with-pic \
--enable-static \
diff --git a/libcdr/UnpackedTarball_cdr.mk b/libcdr/UnpackedTarball_cdr.mk
index be1e7d762a87..32d898bcaa8c 100644
--- a/libcdr/UnpackedTarball_cdr.mk
+++ b/libcdr/UnpackedTarball_cdr.mk
@@ -11,4 +11,8 @@ $(eval $(call gb_UnpackedTarball_UnpackedTarball,cdr))
$(eval $(call gb_UnpackedTarball_set_tarball,cdr,$(CDR_TARBALL)))
+$(eval $(call gb_UnpackedTarball_add_patches,cdr,\
+ libcdr/libcdr-configure.patch.1 \
+))
+
# vim: set noet sw=4 ts=4:
diff --git a/libcdr/libcdr-configure.patch.1 b/libcdr/libcdr-configure.patch.1
new file mode 100644
index 000000000000..5100732cd7bd
--- /dev/null
+++ b/libcdr/libcdr-configure.patch.1
@@ -0,0 +1,466 @@
+diff -u cdr.old/configure cdr/configure
+--- cdr.old/configure 2012-10-05 21:47:11.246958344 +0200
++++ cdr/configure 2012-10-05 22:05:33.913874511 +0200
+@@ -637,6 +617,7 @@
+ DOXYGEN
+ STATIC_TOOLS_FALSE
+ STATIC_TOOLS_TRUE
++LIBCDR_LIBS
+ LIBCDR_CXXFLAGS
+ DEBUG_CXXFLAGS
+ WINDRES
+@@ -658,8 +639,12 @@
+ CDR_MAJOR_VERSION
+ ZLIB_LIBS
+ ZLIB_CFLAGS
+-LIBCDR_LIBS
+-LIBCDR_CFLAGS
++LCMS2_LIBS
++LCMS2_CFLAGS
++WPG_LIBS
++WPG_CFLAGS
++WPD_LIBS
++WPD_CFLAGS
+ PKG_CONFIG_LIBDIR
+ PKG_CONFIG_PATH
+ PKG_CONFIG
+@@ -816,8 +801,12 @@
+ PKG_CONFIG
+ PKG_CONFIG_PATH
+ PKG_CONFIG_LIBDIR
+-LIBCDR_CFLAGS
+-LIBCDR_LIBS
++WPD_CFLAGS
++WPD_LIBS
++WPG_CFLAGS
++WPG_LIBS
++LCMS2_CFLAGS
++LCMS2_LIBS
+ ZLIB_CFLAGS
+ ZLIB_LIBS'
+
+@@ -1481,9 +1472,13 @@
+ directories to add to pkg-config's search path
+ PKG_CONFIG_LIBDIR
+ path overriding pkg-config's built-in search path
+- LIBCDR_CFLAGS
+- C compiler flags for LIBCDR, overriding pkg-config
+- LIBCDR_LIBS linker flags for LIBCDR, overriding pkg-config
++ WPD_CFLAGS C compiler flags for WPD, overriding pkg-config
++ WPD_LIBS linker flags for WPD, overriding pkg-config
++ WPG_CFLAGS C compiler flags for WPG, overriding pkg-config
++ WPG_LIBS linker flags for WPG, overriding pkg-config
++ LCMS2_CFLAGS
++ C compiler flags for LCMS2, overriding pkg-config
++ LCMS2_LIBS linker flags for LCMS2, overriding pkg-config
+ ZLIB_CFLAGS C compiler flags for ZLIB, overriding pkg-config
+ ZLIB_LIBS linker flags for ZLIB, overriding pkg-config
+
+@@ -16098,33 +16094,27 @@
+ # ====================
+
+ pkg_failed=no
+-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBCDR" >&5
+-$as_echo_n "checking for LIBCDR... " >&6; }
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for WPD" >&5
++$as_echo_n "checking for WPD... " >&6; }
+
+-if test -n "$LIBCDR_CFLAGS"; then
+- pkg_cv_LIBCDR_CFLAGS="$LIBCDR_CFLAGS"
++if test -n "$WPD_CFLAGS"; then
++ pkg_cv_WPD_CFLAGS="$WPD_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
+ libwpd-0.9
+ libwpd-stream-0.9
+- libwpg-0.2
+- lcms2
+ \""; } >&5
+ ($PKG_CONFIG --exists --print-errors "
+ libwpd-0.9
+ libwpd-stream-0.9
+- libwpg-0.2
+- lcms2
+ ") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+- pkg_cv_LIBCDR_CFLAGS=`$PKG_CONFIG --cflags "
++ pkg_cv_WPD_CFLAGS=`$PKG_CONFIG --cflags "
+ libwpd-0.9
+ libwpd-stream-0.9
+- libwpg-0.2
+- lcms2
+ " 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+ else
+@@ -16133,30 +16123,24 @@
+ else
+ pkg_failed=untried
+ fi
+-if test -n "$LIBCDR_LIBS"; then
+- pkg_cv_LIBCDR_LIBS="$LIBCDR_LIBS"
++if test -n "$WPD_LIBS"; then
++ pkg_cv_WPD_LIBS="$WPD_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
+ libwpd-0.9
+ libwpd-stream-0.9
+- libwpg-0.2
+- lcms2
+ \""; } >&5
+ ($PKG_CONFIG --exists --print-errors "
+ libwpd-0.9
+ libwpd-stream-0.9
+- libwpg-0.2
+- lcms2
+ ") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+- pkg_cv_LIBCDR_LIBS=`$PKG_CONFIG --libs "
++ pkg_cv_WPD_LIBS=`$PKG_CONFIG --libs "
+ libwpd-0.9
+ libwpd-stream-0.9
+- libwpg-0.2
+- lcms2
+ " 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+ else
+@@ -16178,37 +16162,251 @@
+ _pkg_short_errors_supported=no
+ fi
+ if test $_pkg_short_errors_supported = yes; then
+- LIBCDR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
++ WPD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
+ libwpd-0.9
+ libwpd-stream-0.9
+- libwpg-0.2
+- lcms2
+ " 2>&1`
+ else
+- LIBCDR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
++ WPD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
+ libwpd-0.9
+ libwpd-stream-0.9
+- libwpg-0.2
+- lcms2
+ " 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+- echo "$LIBCDR_PKG_ERRORS" >&5
++ echo "$WPD_PKG_ERRORS" >&5
+
+ as_fn_error $? "Package requirements (
+ libwpd-0.9
+ libwpd-stream-0.9
++) were not met:
++
++$WPD_PKG_ERRORS
++
++Consider adjusting the PKG_CONFIG_PATH environment variable if you
++installed software in a non-standard prefix.
++
++Alternatively, you may set the environment variables WPD_CFLAGS
++and WPD_LIBS to avoid the need to call pkg-config.
++See the pkg-config man page for more details." "$LINENO" 5
++elif test $pkg_failed = untried; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
++as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
++is in your PATH or set the PKG_CONFIG environment variable to the full
++path to pkg-config.
++
++Alternatively, you may set the environment variables WPD_CFLAGS
++and WPD_LIBS to avoid the need to call pkg-config.
++See the pkg-config man page for more details.
++
++To get pkg-config, see <http://pkg-config.freedesktop.org/>.
++See \`config.log' for more details" "$LINENO" 5; }
++else
++ WPD_CFLAGS=$pkg_cv_WPD_CFLAGS
++ WPD_LIBS=$pkg_cv_WPD_LIBS
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
++$as_echo "yes" >&6; }
++
++fi
++
++
++pkg_failed=no
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for WPG" >&5
++$as_echo_n "checking for WPG... " >&6; }
++
++if test -n "$WPG_CFLAGS"; then
++ pkg_cv_WPG_CFLAGS="$WPG_CFLAGS"
++ elif test -n "$PKG_CONFIG"; then
++ if test -n "$PKG_CONFIG" && \
++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
++ libwpg-0.2
++\""; } >&5
++ ($PKG_CONFIG --exists --print-errors "
++ libwpg-0.2
++") 2>&5
++ ac_status=$?
++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
++ test $ac_status = 0; }; then
++ pkg_cv_WPG_CFLAGS=`$PKG_CONFIG --cflags "
++ libwpg-0.2
++" 2>/dev/null`
++ test "x$?" != "x0" && pkg_failed=yes
++else
++ pkg_failed=yes
++fi
++ else
++ pkg_failed=untried
++fi
++if test -n "$WPG_LIBS"; then
++ pkg_cv_WPG_LIBS="$WPG_LIBS"
++ elif test -n "$PKG_CONFIG"; then
++ if test -n "$PKG_CONFIG" && \
++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
++ libwpg-0.2
++\""; } >&5
++ ($PKG_CONFIG --exists --print-errors "
++ libwpg-0.2
++") 2>&5
++ ac_status=$?
++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
++ test $ac_status = 0; }; then
++ pkg_cv_WPG_LIBS=`$PKG_CONFIG --libs "
++ libwpg-0.2
++" 2>/dev/null`
++ test "x$?" != "x0" && pkg_failed=yes
++else
++ pkg_failed=yes
++fi
++ else
++ pkg_failed=untried
++fi
++
++
++
++if test $pkg_failed = yes; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++
++if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
++ _pkg_short_errors_supported=yes
++else
++ _pkg_short_errors_supported=no
++fi
++ if test $_pkg_short_errors_supported = yes; then
++ WPG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
++ libwpg-0.2
++" 2>&1`
++ else
++ WPG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
++ libwpg-0.2
++" 2>&1`
++ fi
++ # Put the nasty error message in config.log where it belongs
++ echo "$WPG_PKG_ERRORS" >&5
++
++ as_fn_error $? "Package requirements (
+ libwpg-0.2
++) were not met:
++
++$WPG_PKG_ERRORS
++
++Consider adjusting the PKG_CONFIG_PATH environment variable if you
++installed software in a non-standard prefix.
++
++Alternatively, you may set the environment variables WPG_CFLAGS
++and WPG_LIBS to avoid the need to call pkg-config.
++See the pkg-config man page for more details." "$LINENO" 5
++elif test $pkg_failed = untried; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
++as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
++is in your PATH or set the PKG_CONFIG environment variable to the full
++path to pkg-config.
++
++Alternatively, you may set the environment variables WPG_CFLAGS
++and WPG_LIBS to avoid the need to call pkg-config.
++See the pkg-config man page for more details.
++
++To get pkg-config, see <http://pkg-config.freedesktop.org/>.
++See \`config.log' for more details" "$LINENO" 5; }
++else
++ WPG_CFLAGS=$pkg_cv_WPG_CFLAGS
++ WPG_LIBS=$pkg_cv_WPG_LIBS
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
++$as_echo "yes" >&6; }
++
++fi
++
++
++pkg_failed=no
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LCMS2" >&5
++$as_echo_n "checking for LCMS2... " >&6; }
++
++if test -n "$LCMS2_CFLAGS"; then
++ pkg_cv_LCMS2_CFLAGS="$LCMS2_CFLAGS"
++ elif test -n "$PKG_CONFIG"; then
++ if test -n "$PKG_CONFIG" && \
++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
++ lcms2
++\""; } >&5
++ ($PKG_CONFIG --exists --print-errors "
++ lcms2
++") 2>&5
++ ac_status=$?
++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
++ test $ac_status = 0; }; then
++ pkg_cv_LCMS2_CFLAGS=`$PKG_CONFIG --cflags "
++ lcms2
++" 2>/dev/null`
++ test "x$?" != "x0" && pkg_failed=yes
++else
++ pkg_failed=yes
++fi
++ else
++ pkg_failed=untried
++fi
++if test -n "$LCMS2_LIBS"; then
++ pkg_cv_LCMS2_LIBS="$LCMS2_LIBS"
++ elif test -n "$PKG_CONFIG"; then
++ if test -n "$PKG_CONFIG" && \
++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
++ lcms2
++\""; } >&5
++ ($PKG_CONFIG --exists --print-errors "
++ lcms2
++") 2>&5
++ ac_status=$?
++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
++ test $ac_status = 0; }; then
++ pkg_cv_LCMS2_LIBS=`$PKG_CONFIG --libs "
++ lcms2
++" 2>/dev/null`
++ test "x$?" != "x0" && pkg_failed=yes
++else
++ pkg_failed=yes
++fi
++ else
++ pkg_failed=untried
++fi
++
++
++
++if test $pkg_failed = yes; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++
++if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
++ _pkg_short_errors_supported=yes
++else
++ _pkg_short_errors_supported=no
++fi
++ if test $_pkg_short_errors_supported = yes; then
++ LCMS2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
++ lcms2
++" 2>&1`
++ else
++ LCMS2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
++ lcms2
++" 2>&1`
++ fi
++ # Put the nasty error message in config.log where it belongs
++ echo "$LCMS2_PKG_ERRORS" >&5
++
++ as_fn_error $? "Package requirements (
+ lcms2
+ ) were not met:
+
+-$LIBCDR_PKG_ERRORS
++$LCMS2_PKG_ERRORS
+
+ Consider adjusting the PKG_CONFIG_PATH environment variable if you
+ installed software in a non-standard prefix.
+
+-Alternatively, you may set the environment variables LIBCDR_CFLAGS
+-and LIBCDR_LIBS to avoid the need to call pkg-config.
++Alternatively, you may set the environment variables LCMS2_CFLAGS
++and LCMS2_LIBS to avoid the need to call pkg-config.
+ See the pkg-config man page for more details." "$LINENO" 5
+ elif test $pkg_failed = untried; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+@@ -16219,15 +16417,15 @@
+ is in your PATH or set the PKG_CONFIG environment variable to the full
+ path to pkg-config.
+
+-Alternatively, you may set the environment variables LIBCDR_CFLAGS
+-and LIBCDR_LIBS to avoid the need to call pkg-config.
++Alternatively, you may set the environment variables LCMS2_CFLAGS
++and LCMS2_LIBS to avoid the need to call pkg-config.
+ See the pkg-config man page for more details.
+
+ To get pkg-config, see <http://pkg-config.freedesktop.org/>.
+ See \`config.log' for more details" "$LINENO" 5; }
+ else
+- LIBCDR_CFLAGS=$pkg_cv_LIBCDR_CFLAGS
+- LIBCDR_LIBS=$pkg_cv_LIBCDR_LIBS
++ LCMS2_CFLAGS=$pkg_cv_LCMS2_CFLAGS
++ LCMS2_LIBS=$pkg_cv_LCMS2_LIBS
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+ $as_echo "yes" >&6; }
+
+@@ -16574,7 +16772,7 @@
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_ac_ct_WINDRES="windres"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+@@ -16678,7 +16876,9 @@
+ DEBUG_CXXFLAGS="-DNDEBUG"
+
+ fi
+-LIBCDR_CXXFLAGS="$LIBCDR_CFLAGS"
++LIBCDR_CXXFLAGS="${WPD_CFLAGS} ${WPG_CFLAGS} ${LCMS2_CFLAGS}"
++LIBCDR_LIBS="${WPD_LIBS} ${WPG_LIBS} ${LCMS2_LIBS}"
++
+
+
+
+diff -u cdr.old/configure.ac cdr/configure.ac
+--- cdr.old/configure.ac 2012-10-05 21:47:11.248958454 +0200
++++ cdr/configure.ac 2012-10-05 22:05:22.847875386 +0200
+@@ -37,10 +37,16 @@
+ # ====================
+ # Find additional apps
+ # ====================
+-PKG_CHECK_MODULES([LIBCDR],[
++PKG_CHECK_MODULES([WPD],[
+ libwpd-0.9
+ libwpd-stream-0.9
++])
++
++PKG_CHECK_MODULES([WPG],[
+ libwpg-0.2
++])
++
++PKG_CHECK_MODULES([LCMS2],[
+ lcms2
+ ])
+
+@@ -168,8 +174,10 @@
+ ], [
+ DEBUG_CXXFLAGS="-DNDEBUG"
+ ])
+-LIBCDR_CXXFLAGS="$LIBCDR_CFLAGS"
++LIBCDR_CXXFLAGS="${WPD_CFLAGS} ${WPG_CFLAGS} ${LCMS2_CFLAGS}"
++LIBCDR_LIBS="${WPD_LIBS} ${WPG_LIBS} ${LCMS2_LIBS}"
+ AC_SUBST(LIBCDR_CXXFLAGS)
++AC_SUBST(LIBCDR_LIBS)
+ AC_SUBST(DEBUG_CXXFLAGS)
+
+ # ============