Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
alberta3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ians-nmh-siebert
alberta
alberta3
Commits
31837632
Commit
31837632
authored
18 years ago
by
Claus-Justus Heine
Browse files
Options
Downloads
Patches
Plain Diff
merge init-element-branch -> trunk
parent
5394e92c
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
m4/gltools.m4
+29
-0
29 additions, 0 deletions
m4/gltools.m4
with
29 additions
and
0 deletions
m4/gltools.m4
0 → 100644
+
29
−
0
View file @
31837632
#
# check for gltools and stuff
#
AC_DEFUN([ALBERTA_GLTOOLS_CHECK],
[AC_REQUIRE([ALBERTA_OPENGL_CHECK])
ALBERTA_CHECK_PACKAGE([gltools],[gltools],[],[$OPENGL_ALL_LIB],
[glwin.h],[],[],[optional enabled])
if ! test "z${GLTOOLS_LIB}" = "z"; then
AC_MSG_CHECKING([for gltools version])
AC_LANG_PUSH([C])
ac_al_save_CPPFLAGS="${CPPFLAGS}"
CPPFLAGS="`eval eval eval echo ${GLTOOLS_ALL_INCLUDES}` ${CPPFLAGS}"
AC_COMPILE_IFELSE(
[AC_LANG_PROGRAM([[#include <glmesh.h>
static glMesh m;
static glmLoopCallback fptr;
static glmSimplexCallback splxcb;]],
[[fptr(m, (void *)0, splxcb, (int)0)]])],
[AC_MSG_RESULT([using cH's special hacked gltools version])
AC_DEFINE([HAVE_GLMLOOPCALLBACK_COORDS_ONLY], 1,
[Define if glmLoopCallback accepts an "coords_only" argument.])],
[AC_MSG_RESULT([using vanilla gltools version])
AC_DEFINE([HAVE_GLMLOOPCALLBACK_COORDS_ONLY], 0,
[Define if glmLoopCallback accepts an "coords_only" argument.])])
CPPFLAGS="${ac_al_save_CPPFLAGS}"
AC_LANG_POP([C])
fi])
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment