From e15adf9b52db905f16349ecefa2785443d16fdfd Mon Sep 17 00:00:00 2001
From: Derek Tse <arrestrose@gmail.com>
Date: Sun, 18 Jan 2015 04:09:22 +0000
Subject: Fixed configure


diff --git a/configure.in b/configure.in
index de1bf8b..7d3494d 100644
--- a/configure.in
+++ b/configure.in
@@ -207,6 +207,14 @@ if test x$enable_shared != xno; then
 			DSOFLAGS="$DSOFLAGS -Wl,-soname,libmxml.so.1,-R\$(libdir) -shared \$(OPTIM)"
 			LDFLAGS="$LDFLAGS -Wl,-R\$(libdir)"
                         ;;
+                        
+        Haiku*)
+			AC_MSG_RESULT(yes)
+			LIBMXML="libmxml.so.1.5"
+			DSO="\$(CC)"
+			DSOFLAGS="$DSOFLAGS -Wl,-soname,libmxml.so.1,-R\$(libdir) -shared \$(OPTIM)"
+			LDFLAGS="$LDFLAGS -Wl,-R\$(libdir)"
+                        ;;                
 
 		Darwin*)
 			AC_MSG_RESULT(yes)
-- 
1.8.3.4

