Line 0
Link Here
|
|
|
1 |
--- pcem_emulator-pcem-faf5d6423060/configure.ac.orig 2019-04-19 02:24:58 UTC |
2 |
+++ pcem_emulator-pcem-faf5d6423060/configure.ac |
3 |
@@ -150,6 +150,18 @@ case "$host" in |
4 |
exit -1]) |
5 |
build_linux="yes" |
6 |
;; |
7 |
+ *-*-freebsd*) |
8 |
+ CFLAGS="$CFLAGS -I/usr/local/include" |
9 |
+ CXXFLAGS="$CXXFLAGS -I/usr/local/include" |
10 |
+ LDFLAGS="$LDFLAGS -L/usr/local/lib" |
11 |
+ AC_CHECK_LIB([GL], [glGetError], [], \ |
12 |
+ [echo "You need to install the OpenGL library." |
13 |
+ exit -1]) |
14 |
+ AC_CHECK_LIB([openal], [alGetError], [], \ |
15 |
+ [echo "You need to install the OpenAL library." |
16 |
+ exit -1]) |
17 |
+ build_other="yes" |
18 |
+ ;; |
19 |
*) |
20 |
AC_CHECK_LIB([GL], [glGetError], [], \ |
21 |
[echo "You need to install the OpenGL library." |