LIBVISIO_* -> VISIO_* to avoid eventual conflict with pkg-config danse

This commit is contained in:
Fridrich Štrba
2011-10-05 10:21:08 +02:00
parent e991bba4ef
commit e531e8abae
3 changed files with 7 additions and 7 deletions

View File

@@ -505,9 +505,9 @@ ifeq ($(SYSTEM_LIBVISIO),YES)
define gb_LinkTarget__use_visio
$(call gb_LinkTarget_set_include,$(1),\
$$(INCLUDE) \
$(LIBVISIO_CFLAGS) \
$(VISIO_CFLAGS) \
)
$(call gb_LinkTarget_add_libs,$(1),$(LIBVISIO_LIBS))
$(call gb_LinkTarget_add_libs,$(1),$(VISIO_LIBS))
endef

View File

@@ -4613,15 +4613,15 @@ AC_MSG_CHECKING([which libvisio to use])
if test -n "$with_system_libvisio" -a "$with_system_libvisio" = "yes"; then
AC_MSG_RESULT([external])
SYSTEM_LIBVISIO=YES
PKG_CHECK_MODULES( LIBVISIO, libvisio-0.0 )
PKG_CHECK_MODULES( VISIO, libvisio-0.0 )
else
AC_MSG_RESULT([internal])
SYSTEM_LIBVISIO=NO
BUILD_TYPE="$BUILD_TYPE LIBVISIO"
fi
AC_SUBST(SYSTEM_LIBVISIO)
AC_SUBST(LIBVISIO_CFLAGS)
AC_SUBST(LIBVISIO_LIBS)
AC_SUBST(VISIO_CFLAGS)
AC_SUBST(VISIO_LIBS)
dnl ===================================================================
dnl Check for system libcmis

View File

@@ -1910,8 +1910,8 @@ ToFile( "SYSTEM_LIBWPG", "@SYSTEM_LIBWPG@", "e" );
ToFile( "WPG_CFLAGS", "@WPG_CFLAGS@", "e" );
ToFile( "WPG_LIBS", "@WPG_LIBS@", "e" );
ToFile( "SYSTEM_LIBVISIO", "@SYSTEM_LIBVISIO@", "e" );
ToFile( "LIBVISIO_CFLAGS", "@LIBVISIO_CFLAGS@", "e" );
ToFile( "LIBVISIO_LIBS", "@LIBVISIO_LIBS@", "e" );
ToFile( "VISIO_CFLAGS", "@VISIO_CFLAGS@", "e" );
ToFile( "VISIO_LIBS", "@VISIO_LIBS@", "e" );
ToFile( "SYSTEM_LIBCMIS", "@SYSTEM_LIBCMIS@", "e" );
ToFile( "LIBCMIS_CFLAGS", "@LIBCMIS_CFLAGS@", "e" );
ToFile( "LIBCMIS_LIBS", "@LIBCMIS_LIBS@", "e" );