[Scummvm-cvs-logs] SF.net SVN: scummvm:[47293] scummvm/trunk/configure

sev at users.sourceforge.net sev at users.sourceforge.net
Wed Jan 13 21:56:26 CET 2010


Revision: 47293
          http://scummvm.svn.sourceforge.net/scummvm/?rev=47293&view=rev
Author:   sev
Date:     2010-01-13 20:56:21 +0000 (Wed, 13 Jan 2010)

Log Message:
-----------
Fix bug #2924680: "Large file support" with patch from same bugreport. Thanks to wjp.

Modified Paths:
--------------
    scummvm/trunk/configure

Modified: scummvm/trunk/configure
===================================================================
--- scummvm/trunk/configure	2010-01-13 17:34:42 UTC (rev 47292)
+++ scummvm/trunk/configure	2010-01-13 20:56:21 UTC (rev 47293)
@@ -1236,9 +1236,17 @@
 echo_n "Checking hosttype... "
 echo $_host_os
 case $_host_os in
-	linux* | uclinux* | openbsd* | netbsd* | bsd* | sunos* | hpux*)
+	linux* | uclinux*)
+		# When not cross-compiling, enable large file support, but don't
+		# care if getconf doesn't exist or doesn't recognize LFS_CFLAGS.
+		if test -z "$_host"; then
+			CXXFLAGS="$CXXFLAGS $(getconf LFS_CFLAGS 2>/dev/null)"
+		fi
 		DEFINES="$DEFINES -DUNIX"
 		;;
+	openbsd* | netbsd* | bsd* | sunos* | hpux*)
+		DEFINES="$DEFINES -DUNIX"
+		;;
 	freebsd*)
 		DEFINES="$DEFINES -DUNIX"
 		LDFLAGS="$LDFLAGS -L/usr/local/lib"


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list