GUAC-745: Fix variable naming - should be have_freerdp.

This commit is contained in:
Michael Jumper 2014-08-12 15:16:00 -07:00
parent a29f0e8ccd
commit 8420ed7b13

View File

@ -382,7 +382,7 @@ fi
# libfreerdp-cache # libfreerdp-cache
if test "x${have_libfreerdp}" = "xyes" if test "x${have_freerdp}" = "xyes"
then then
AC_CHECK_LIB([freerdp-cache], [glyph_cache_register_callbacks], AC_CHECK_LIB([freerdp-cache], [glyph_cache_register_callbacks],
[RDP_LIBS="$RDP_LIBS -lfreerdp-cache"], [RDP_LIBS="$RDP_LIBS -lfreerdp-cache"],
@ -395,7 +395,7 @@ then
fi fi
# libfreerdp-channels (1.0) / libfreerdp-client (1.1) # libfreerdp-channels (1.0) / libfreerdp-client (1.1)
if test "x${have_libfreerdp}" = "xyes" if test "x${have_freerdp}" = "xyes"
then then
AC_CHECK_LIB([freerdp-client], [freerdp_channels_new], AC_CHECK_LIB([freerdp-client], [freerdp_channels_new],
[RDP_LIBS="$RDP_LIBS -lfreerdp-client"], [RDP_LIBS="$RDP_LIBS -lfreerdp-client"],
@ -405,7 +405,7 @@ then
fi fi
# libfreerdp-utils # libfreerdp-utils
if test "x${have_libfreerdp}" = "xyes" if test "x${have_freerdp}" = "xyes"
then then
AC_CHECK_LIB([freerdp-utils], [svc_plugin_init], AC_CHECK_LIB([freerdp-utils], [svc_plugin_init],
[RDP_LIBS="$RDP_LIBS -lfreerdp-utils"], [RDP_LIBS="$RDP_LIBS -lfreerdp-utils"],
@ -418,7 +418,7 @@ then
fi fi
# libfreerdp-codec # libfreerdp-codec
if test "x${have_libfreerdp}" = "xyes" if test "x${have_freerdp}" = "xyes"
then then
AC_CHECK_LIB([freerdp-codec], [freerdp_image_convert], AC_CHECK_LIB([freerdp-codec], [freerdp_image_convert],
[RDP_LIBS="$RDP_LIBS -lfreerdp-codec"], [RDP_LIBS="$RDP_LIBS -lfreerdp-codec"],
@ -431,14 +431,14 @@ then
fi fi
# Check for interval polling in plugins # Check for interval polling in plugins
if test "x${have_libfreerdp}" = "xyes" if test "x${have_freerdp}" = "xyes"
then then
AC_CHECK_MEMBERS([rdpSvcPlugin.interval_ms],,, AC_CHECK_MEMBERS([rdpSvcPlugin.interval_ms],,,
[[#include <freerdp/utils/svc_plugin.h>]]) [[#include <freerdp/utils/svc_plugin.h>]])
fi fi
# Keyboard layout header # Keyboard layout header
if test "x${have_libfreerdp}" = "xyes" if test "x${have_freerdp}" = "xyes"
then then
AC_CHECK_HEADERS([freerdp/locale/keyboard.h],, AC_CHECK_HEADERS([freerdp/locale/keyboard.h],,
[AC_CHECK_HEADERS([freerdp/kbd/layouts.h],, [AC_CHECK_HEADERS([freerdp/kbd/layouts.h],,
@ -451,13 +451,13 @@ then
fi fi
# New headers defining addins # New headers defining addins
if test "x${have_libfreerdp}" = "xyes" if test "x${have_freerdp}" = "xyes"
then then
AC_CHECK_HEADERS([freerdp/addin.h freerdp/client/channels.h]) AC_CHECK_HEADERS([freerdp/addin.h freerdp/client/channels.h])
fi fi
# Header defining cliprdr # Header defining cliprdr
if test "x${have_libfreerdp}" = "xyes" if test "x${have_freerdp}" = "xyes"
then then
AC_CHECK_HEADERS([freerdp/client/cliprdr.h],, AC_CHECK_HEADERS([freerdp/client/cliprdr.h],,
[AC_CHECK_HEADERS([freerdp/plugins/cliprdr.h],, [AC_CHECK_HEADERS([freerdp/plugins/cliprdr.h],,
@ -473,7 +473,7 @@ then
fi fi
# Addin registration variations # Addin registration variations
if test "x${have_libfreerdp}" = "xyes" if test "x${have_freerdp}" = "xyes"
then then
AC_CHECK_DECL([freerdp_register_addin_provider], AC_CHECK_DECL([freerdp_register_addin_provider],
[AC_DEFINE([HAVE_FREERDP_REGISTER_ADDIN_PROVIDER],, [AC_DEFINE([HAVE_FREERDP_REGISTER_ADDIN_PROVIDER],,
@ -491,7 +491,7 @@ fi
# #
# Check for stream support via WinPR # Check for stream support via WinPR
if test "x${have_libfreerdp}" = "xyes" if test "x${have_freerdp}" = "xyes"
then then
AC_CHECK_HEADER(winpr/stream.h,, AC_CHECK_HEADER(winpr/stream.h,,
[have_winpr=no, [have_winpr=no,
@ -506,7 +506,7 @@ then
fi fi
# Check for types in WinPR # Check for types in WinPR
if test "x${have_libfreerdp}" = "xyes" if test "x${have_freerdp}" = "xyes"
then then
AC_CHECK_HEADER(winpr/wtypes.h,, AC_CHECK_HEADER(winpr/wtypes.h,,
[have_winpr=no, [have_winpr=no,
@ -519,7 +519,7 @@ then
have_freerdp=no])]) have_freerdp=no])])
fi fi
if test "x${have_libfreerdp}" = "xyes" -a "x${have_winpr}" = "xyes" if test "x${have_freerdp}" = "xyes" -a "x${have_winpr}" = "xyes"
then then
AC_DEFINE([ENABLE_WINPR],, AC_DEFINE([ENABLE_WINPR],,
[Whether library support for WinPR types was found]) [Whether library support for WinPR types was found])
@ -529,7 +529,7 @@ fi
# FreeRDP: freerdp # FreeRDP: freerdp
# #
if test "x${have_libfreerdp}" = "xyes" if test "x${have_freerdp}" = "xyes"
then then
# Check for current (as of 1.1) freerdp interface # Check for current (as of 1.1) freerdp interface
AC_CHECK_MEMBERS([freerdp.ContextSize], AC_CHECK_MEMBERS([freerdp.ContextSize],
@ -562,7 +562,7 @@ fi
# FreeRDP: rdpSettings # FreeRDP: rdpSettings
# #
if test "x${have_libfreerdp}" = "xyes" if test "x${have_freerdp}" = "xyes"
then then
# Check for current (as of 1.1) rdpSettings interface # Check for current (as of 1.1) rdpSettings interface
AC_CHECK_MEMBERS([rdpSettings.Width, AC_CHECK_MEMBERS([rdpSettings.Width,
@ -605,13 +605,13 @@ then
fi fi
# Activate FastPath settings if present # Activate FastPath settings if present
if test "x${have_libfreerdp}" = "xyes" -a "x${rdpsettings_fastpath}" = "xyes"; then if test "x${have_freerdp}" = "xyes" -a "x${rdpsettings_fastpath}" = "xyes"; then
AC_DEFINE([HAVE_RDPSETTINGS_FASTPATH],, AC_DEFINE([HAVE_RDPSETTINGS_FASTPATH],,
[Whether the rdpSettings structure has FastPath settings]) [Whether the rdpSettings structure has FastPath settings])
fi fi
# Check if the type CHANNEL_ENTRY_POINTS_FREERDP exists, if not define it to CHANNEL_ENTRY_POINTS_EX # Check if the type CHANNEL_ENTRY_POINTS_FREERDP exists, if not define it to CHANNEL_ENTRY_POINTS_EX
if test "x${have_libfreerdp}" = "xyes" if test "x${have_freerdp}" = "xyes"
then then
AC_CHECK_TYPE([CHANNEL_ENTRY_POINTS_FREERDP],, AC_CHECK_TYPE([CHANNEL_ENTRY_POINTS_FREERDP],,
AC_DEFINE([CHANNEL_ENTRY_POINTS_FREERDP],[CHANNEL_ENTRY_POINTS_EX], [Type compatibility]), AC_DEFINE([CHANNEL_ENTRY_POINTS_FREERDP],[CHANNEL_ENTRY_POINTS_EX], [Type compatibility]),
@ -619,7 +619,7 @@ then
fi fi
# Check if the freerdp version header exists # Check if the freerdp version header exists
if test "x${have_libfreerdp}" = "xyes" if test "x${have_freerdp}" = "xyes"
then then
AC_CHECK_HEADERS([freerdp/version.h]) AC_CHECK_HEADERS([freerdp/version.h])
fi fi
@ -628,7 +628,7 @@ fi
# FreeRDP: rdpBitmap # FreeRDP: rdpBitmap
# #
if test "x${have_libfreerdp}" = "xyes" if test "x${have_freerdp}" = "xyes"
then then
AC_MSG_CHECKING([whether rdpBitmap.Decompress() requires the codec_id]) AC_MSG_CHECKING([whether rdpBitmap.Decompress() requires the codec_id])
AC_COMPILE_IFELSE([AC_LANG_SOURCE([[#include <winpr/wtypes.h> AC_COMPILE_IFELSE([AC_LANG_SOURCE([[#include <winpr/wtypes.h>
@ -653,7 +653,7 @@ fi
# FreeRDP: rdpPalette # FreeRDP: rdpPalette
# #
if test "x${have_libfreerdp}" = "xyes" if test "x${have_freerdp}" = "xyes"
then then
AC_MSG_CHECKING([whether rdpPalette.entries is static]) AC_MSG_CHECKING([whether rdpPalette.entries is static])
AC_COMPILE_IFELSE([AC_LANG_SOURCE([[#include <freerdp/update.h> AC_COMPILE_IFELSE([AC_LANG_SOURCE([[#include <freerdp/update.h>
@ -670,7 +670,7 @@ fi
# #
# Check for SetDefault and SetNull members of rdpPointer # Check for SetDefault and SetNull members of rdpPointer
if test "x${have_libfreerdp}" = "xyes" if test "x${have_freerdp}" = "xyes"
then then
AC_CHECK_MEMBERS([rdpPointer.SetDefault, AC_CHECK_MEMBERS([rdpPointer.SetDefault,
rdpPointer.SetNull], rdpPointer.SetNull],
@ -683,7 +683,7 @@ fi
# #
# Check for current (as of 1.1) wMessage interface # Check for current (as of 1.1) wMessage interface
if test "x${have_libfreerdp}" = "xyes" if test "x${have_freerdp}" = "xyes"
then then
AC_CHECK_MEMBERS([wMessage.id], AC_CHECK_MEMBERS([wMessage.id],
[event_interface=stable],, [event_interface=stable],,