aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/configure.in
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2010-11-18 10:56:25 +0100
committerDan Gudmundsson <[email protected]>2010-11-18 10:56:25 +0100
commitb69da5dbf60e0062982c89524df97066b95ce816 (patch)
tree485aa0a758477067e9622e25abce9024c55ea8fd /lib/wx/configure.in
parent8ecbdaf5eb54052d7b4756037e6dc481a36358ed (diff)
downloadotp-b69da5dbf60e0062982c89524df97066b95ce816.tar.gz
otp-b69da5dbf60e0062982c89524df97066b95ce816.tar.bz2
otp-b69da5dbf60e0062982c89524df97066b95ce816.zip
Add lib paths for *bsd variants
Diffstat (limited to 'lib/wx/configure.in')
-rwxr-xr-xlib/wx/configure.in8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/wx/configure.in b/lib/wx/configure.in
index a2e5ff0bf7..f7128db23a 100755
--- a/lib/wx/configure.in
+++ b/lib/wx/configure.in
@@ -179,8 +179,6 @@ case $host_os in
;;
esac
-AC_SUBST(GL_LIBS)
-
dnl ----------------------------------------------------------------------
dnl Include CPPFLAGS in CFLAGS
dnl ----------------------------------------------------------------------
@@ -223,13 +221,19 @@ if test X"$host_os" != X"win32" ; then
if test X"$ac_cv_header_GL_gl_h" != Xyes ; then
AC_MSG_WARN([No OpenGL headers found, wx will NOT be usable])
CPPFLAGS="$saved_CPPFLAGS"
+ else
+ GL_LIBS="-L/usr/local/lib $GL_LIBS"
fi
+ else
+ GL_LIBS="-L/usr/X11R6/lib $GL_LIBS"
fi
fi
else
AC_CHECK_HEADERS([gl/gl.h],[],[],[#include <windows.h>])
fi
+AC_SUBST(GL_LIBS)
+
CXXFLAGS="$CFLAGS $CPPFLAGS"
CFLAGS="$CFLAGS $CPPFLAGS $C_ONLY_FLAGS"