SDL: Updated patches for HAIKU
diff --git a/configure.ac b/configure.ac
index 1dcb00f..10879ee 100644
--- a/configure.ac
+++ b/configure.ac
@@ -81,6 +81,17 @@ case "$host" in
;;
esac
+dnl use CXX for linker on Haiku
+case "$host" in
+ *-*-haiku*)
+ LINKER=CXX
+ ;;
+ *)
+ LINKER=CC
+ ;;
+esac
+AC_SUBST(LINKER)
+
if test x$srcdir != x.; then
INCLUDE="-Iinclude $INCLUDE"
elif test -d .git; then