aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorEugene Sandulenko2009-05-16 12:35:48 +0000
committerEugene Sandulenko2009-05-16 12:35:48 +0000
commitbef36104e3eb68801d70c0325f9c0dc4f283fe78 (patch)
tree9cde69627044d4d4f67aedd7004188df0406c541 /configure
parenta9c382a857e14db6970f7e084284f01849d15b75 (diff)
downloadscummvm-rg350-bef36104e3eb68801d70c0325f9c0dc4f283fe78.tar.gz
scummvm-rg350-bef36104e3eb68801d70c0325f9c0dc4f283fe78.tar.bz2
scummvm-rg350-bef36104e3eb68801d70c0325f9c0dc4f283fe78.zip
Let ScummVM compile out of the box on FreeBSD
svn-id: r40626
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 6 insertions, 1 deletions
diff --git a/configure b/configure
index 325a2698b4..e56c266d61 100755
--- a/configure
+++ b/configure
@@ -1060,9 +1060,14 @@ echo "$_have_x86"
echo_n "Checking hosttype... "
echo $_host_os
case $_host_os in
- linux* | uclinux* | openbsd* | freebsd* | netbsd* | bsd* | sunos* | hpux*)
+ linux* | uclinux* | openbsd* | netbsd* | bsd* | sunos* | hpux*)
DEFINES="$DEFINES -DUNIX"
;;
+ freebsd*)
+ DEFINES="$DEFINES -DUNIX"
+ LDFLAGS="$LDFLAGS -L/usr/local/lib"
+ CXXFLAGS="$CXXFLAGS -I/usr/local/include"
+ ;;
beos*)
DEFINES="$DEFINES -DUNIX -DSYSTEM_NOT_SUPPORTING_D_TYPE"
# Needs -lbind -lsocket for the timidity MIDI driver