projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2762ff
)
add -lm before checking for -lGL
author
Vadim Zeitlin
<vadim@wxwidgets.org>
Fri, 9 Nov 2001 00:00:04 +0000
(
00:00
+0000)
committer
Vadim Zeitlin
<vadim@wxwidgets.org>
Fri, 9 Nov 2001 00:00:04 +0000
(
00:00
+0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12360
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
configure.in
patch
|
blob
|
blame
|
history
diff --git
a/configure.in
b/configure.in
index c9dd14497ab8dda51e705214a9aca2d515753df0..1cc7b57f437451cbc665253eb9fb164567c85848 100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-2313,6
+2313,11
@@
if test "$wxUSE_OPENGL" = "yes"; then
if test "$wxUSE_MAC" = 1; then
OPENGL_LIBS="-framework OpenGL -framework AGL"
else
+ dnl -lGL requires -lm with soem OpenGL versions - although it would, of
+ dnl course, be cleaner to test first without -lm and then with it, I don't
+ dnl have time for this now so just always add -lm
+ LIBS="$LIBS -lm"
+
dnl check for OpenGL libs availability first
AC_CHECK_HEADER(GL/gl.h, [
AC_CHECK_LIB(GL, glFlush, [