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
3ab29d1f
Commit
3ab29d1f
authored
18 years ago
by
Christian Engwer
Browse files
Options
Downloads
Patches
Plain Diff
only warn for missing psurface, if user uses --with-psurface=...
[[Imported from SVN: r4663]]
parent
44c4488e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
m4/dune_psurface.m4
+6
-3
6 additions, 3 deletions
m4/dune_psurface.m4
with
6 additions
and
3 deletions
m4/dune_psurface.m4
+
6
−
3
View file @
3ab29d1f
...
...
@@ -40,14 +40,17 @@ AC_LANG_PUSH([C++])
AC_CHECK_HEADER([psurface.h],
[PSURFACE_CPPFLAGS="-I$PSURFACE_INCLUDE_PATH"
HAVE_PSURFACE="1"],
AC_MSG_WARN([psurface.h not found in $PSURFACE_INCLUDE_PATH]))
[if test "x$with_psurface" != x ; then
AC_MSG_WARN([psurface.h not found in $PSURFACE_INCLUDE_PATH])
fi
])
CPPFLAGS="$PSURFACE_CPPFLAGS"
# Psurface uses the AmiraMesh data format to read a write parametrized surfaces to disk.
# Therefore, its installation only makes sense if AmiraMesh support is installed as well.
if test x$HAVE_AMIRAMESH != x1 ; then
AC_MSG_
WARN
(Check for psurface library aborted because AmiraMesh is unavailable!)
AC_MSG_
NOTICE
(Check for psurface library aborted because AmiraMesh is unavailable!)
HAVE_PSURFACE="0"
fi
...
...
@@ -60,7 +63,7 @@ if test x$HAVE_PSURFACE = x1 ; then
PSURFACE_LDFLAGS="-L$PSURFACE_LIB_PATH"
LIBS="$LIBS $PSURFACE_LIBS"],
[HAVE_PSURFACE="0"
AC_MSG_WARN(
lib
psurface
not found
!)])
AC_MSG_WARN(psurface
header found, but libpsurface missing
!)])
fi
AC_LANG_POP([C++])
...
...
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