Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Timo Koch
dune-common
Commits
88a5b5ca
Commit
88a5b5ca
authored
15 years ago
by
Robert Klöfkorn
Browse files
Options
Downloads
Patches
Plain Diff
bugfix HAVE_GRAPE and CPP_FLAGS
[[Imported from SVN: r5711]]
parent
db9f0168
Branches
master
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
m4/grape.m4
+4
-2
4 additions, 2 deletions
m4/grape.m4
with
4 additions
and
2 deletions
m4/grape.m4
+
4
−
2
View file @
88a5b5ca
...
...
@@ -51,7 +51,7 @@ if test "x$X_LIBS" != x && test x$with_grape != xno ; then
# if GL was found, add it implicitly...
# This is not the best choice, but testing without GL first and
# then trying again fails due to caching...
CPPFLAGS="$GRAPE_CPPFLAGS $GL_CFLAGS"
CPPFLAGS="$GRAPE_CPPFLAGS $GL_CFLAGS
-DENABLE_GRAPE
"
LIBS="$LIBS $GL_LIBS -lXext"
LDFLAGS="$LDFLAGS $GL_LDFLAGS"
...
...
@@ -72,7 +72,9 @@ if test "x$X_LIBS" != x && test x$with_grape != xno ; then
AC_SUBST(GRAPE_LIBS, $GRAPE_LIBS)
AC_SUBST(GRAPE_LDFLAGS, $GRAPE_LDFLAGS)
AC_SUBST(GRAPE_CPPFLAGS, $GRAPE_CPPFLAGS)
AC_DEFINE(HAVE_GRAPE, 1, [Define to 1 if grape-library is found])
AC_DEFINE(HAVE_GRAPE, ENABLE_GRAPE,
[This is only true if grape-library was found by configure
_and_ if the application uses the GRAPE_CPPFLAGS])
# add to global list
DUNE_PKG_LDFLAGS="$DUNE_PKG_LDFLAGS $GRAPE_LDFLAGS"
...
...
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