From 7e255940012b15081845e434bb93fa7f1e812625 Mon Sep 17 00:00:00 2001 From: Andreas Oberritter Date: Thu, 28 Oct 2010 20:50:50 +0200 Subject: [PATCH] fix configure in OE 1.6 --- configure.ac | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 08b0f81..110c92a 100644 --- a/configure.ac +++ b/configure.ac @@ -38,11 +38,14 @@ AC_CHECK_LIB([dl], [dlopen], [LIBDL_LIBS="-ldl"], [AC_MSG_ERROR([Could not find AC_SUBST(LIBDL_LIBS) AC_CHECK_LIB([jpeg], [jpeg_set_defaults], [LIBJPEG_LIBS="-ljpeg"], [AC_MSG_ERROR([Could not find libjpeg])]) AC_SUBST(LIBJPEG_LIBS) -AC_CHECK_LIB([xmlccwrap], [exit], [LIBXMLCCWRAP_LIBS="-lxmlccwrap"], [AC_MSG_ERROR([Could not find libxmlccwrap])]) -AC_SUBST(LIBXMLCCWRAP_LIBS) AC_CHECK_LIB([ungif], [DGifOpen], [LIBGIF_LIBS="-lungif"], [AC_CHECK_LIB([gif], [DGifOpen], [LIBGIF_LIBS="-lgif"], [AC_MSG_ERROR([Could not find libgif or libungif])])]) AC_SUBST(LIBGIF_LIBS) +AC_LANG_PUSH([C++]) +AC_CHECK_LIB([xmlccwrap], [exit], [LIBXMLCCWRAP_LIBS="-lxmlccwrap"], [AC_MSG_ERROR([Could not find libxmlccwrap])]) +AC_SUBST(LIBXMLCCWRAP_LIBS) +AC_LANG_POP + AC_ARG_WITH(libsdl, AS_HELP_STRING([--with-libsdl],[use libsdl, yes or no]), [with_libsdl=$withval],[with_libsdl=no]) -- 2.7.4