Merge pull request #27 from MaddTheSane/patch-3
Declare HAVE_UNISTD_H for FreeBSD and Linux
This commit is contained in:
commit
95a24e5ba8
1 changed files with 2 additions and 0 deletions
|
|
@ -160,6 +160,7 @@ case "$host" in
|
|||
[echo "You need to install the OpenAL library."
|
||||
exit -1])
|
||||
build_linux="yes"
|
||||
CFLAGS="$CFLAGS -DHAVE_UNISTD_H"
|
||||
;;
|
||||
*-*-freebsd*)
|
||||
CFLAGS="$CFLAGS -I/usr/local/include"
|
||||
|
|
@ -172,6 +173,7 @@ case "$host" in
|
|||
[echo "You need to install the OpenAL library."
|
||||
exit -1])
|
||||
build_other="yes"
|
||||
CFLAGS="$CFLAGS -DHAVE_UNISTD_H"
|
||||
;;
|
||||
*)
|
||||
AC_CHECK_LIB([GL], [glGetError], [], \
|
||||
|
|
|
|||
Loading…
Reference in a new issue