diff options
| author | Eugene Sandulenko | 2009-05-16 12:35:48 +0000 |
|---|---|---|
| committer | Eugene Sandulenko | 2009-05-16 12:35:48 +0000 |
| commit | bef36104e3eb68801d70c0325f9c0dc4f283fe78 (patch) | |
| tree | 9cde69627044d4d4f67aedd7004188df0406c541 /configure | |
| parent | a9c382a857e14db6970f7e084284f01849d15b75 (diff) | |
| download | scummvm-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-x | configure | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 |
