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
b73edd38
Commit
b73edd38
authored
18 years ago
by
Christian Engwer
Browse files
Options
Downloads
Patches
Plain Diff
added configure option to enable ug lgm domain
[[Imported from SVN: r4807]]
parent
7af41566
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/ug.m4
+9
-1
9 additions, 1 deletion
m4/ug.m4
with
9 additions
and
1 deletion
m4/ug.m4
+
9
−
1
View file @
b73edd38
...
...
@@ -42,6 +42,15 @@ AC_DEFUN([DUNE_PATH_UG],[
LDFLAGS
=
"
$LDFLAGS
-L
$UG_LIB_PATH
"
CPPFLAGS
=
"
$CPPFLAGS
-I
$UG_INCLUDE_PATH
"
AC_ARG_ENABLE
(
ug-lgmdomain,
AC_HELP_STRING
([
--enable-ug-lgmdomain
]
,[use UG LGM domain
(
default is standard domain
)]))
if
test
x
"
$enable_ug_lgmdomain
"
=
xyes
;
then
AC_DEFINE
(
UG_LGMDOMAIN, 1,
[
use UG LGM domain]
)
UG_LIBS
=
"-lug2 -ldomL2 -lgg2 -lug3 -ldomL3 -lgg3 -ldevS"
else
UG_LIBS
=
"-lug2 -ldomS2 -lgg2 -lug3 -ldomS3 -lgg3 -ldevS"
fi
# backup CPPFLAGS so I can add an additional flag just for AC_CHECk_HEADER
CPPFLAGS_BACKUP
=
"
$CPPFLAGS
"
CPPFLAGS
=
"
$CPPFLAGS
-D_2"
...
...
@@ -66,7 +75,6 @@ AC_DEFUN([DUNE_PATH_UG],[
if
test
x
$HAVE_UG
=
x1
;
then
CPPFLAGS
=
"
$UG_CPPFLAGS
"
UG_LIBS
=
"-lug2 -ldomS2 -lgg2 -lug3 -ldomS3 -lgg3 -ldevS"
AC_MSG_CHECKING
([
UG libraries
(
without MPI
)])
LIBS
=
"
$UG_LIBS
"
...
...
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