Commit a4a7c78ce8c3d47a91ab5cd9502119c1201879de

Ryan C. Gordon 2013-11-14T14:45:00

Apparently Haiku is removing /boot/common (thanks, scottmc!). See http://lists.libsdl.org/pipermail/sdl-libsdl.org/2013-November/091877.html

diff --git a/configure b/configure
index 5fe3622..a849f7c 100755
--- a/configure
+++ b/configure
@@ -22407,7 +22407,7 @@ fi
 
     *-*-haiku*)
         ARCH=haiku
-        ac_default_prefix=/boot/common
+        ac_default_prefix=/boot/system
         CheckDummyVideo
         CheckDiskAudio
         CheckDummyAudio
@@ -22463,7 +22463,7 @@ $as_echo "#define SDL_FILESYSTEM_HAIKU 1" >>confdefs.h
             SOURCES="$SOURCES $srcdir/src/filesystem/haiku/*.cc"
             have_filesystem=yes
         fi
-        # The BeOS platform requires special setup.
+        # The Haiku platform requires special setup.
         SOURCES="$srcdir/src/main/haiku/*.cc $SOURCES"
         EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lroot -lbe -lmedia -lgame -ldevice -ltextencoding"
         ;;
diff --git a/configure.in b/configure.in
index e00f1d6..da62830 100644
--- a/configure.in
+++ b/configure.in
@@ -2627,7 +2627,7 @@ AC_HELP_STRING([--enable-render-d3d], [enable the Direct3D render driver [[defau
 
     *-*-haiku*)
         ARCH=haiku
-        ac_default_prefix=/boot/common
+        ac_default_prefix=/boot/system
         CheckDummyVideo
         CheckDiskAudio
         CheckDummyAudio