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
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
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
Core Modules
dune-common
Commits
d0b97f7f
Commit
d0b97f7f
authored
18 years ago
by
Christian Engwer
Browse files
Options
Downloads
Patches
Plain Diff
fixed libs... now the first app compiles
[[Imported from SVN: r4502]]
parent
ee354ce3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
autogen.sh
+8
-0
8 additions, 0 deletions
autogen.sh
m4/dune.m4
+10
-3
10 additions, 3 deletions
m4/dune.m4
m4/dune_all.m4
+0
-1
0 additions, 1 deletion
m4/dune_all.m4
with
18 additions
and
4 deletions
autogen.sh
+
8
−
0
View file @
d0b97f7f
...
...
@@ -34,6 +34,14 @@ for OPT in "$@"; do
AMVERSION
=
$arg
;;
-h
|
--help
)
usage
;
exit
0
;;
*
)
if
test
-d
"
$OPT
/m4"
;
then
ACLOCAL_FLAGS
=
"
$ACLOCAL_FLAGS
-I
$OPT
/m4"
fi
if
test
-d
"
$OPT
/am"
;
then
am_dir
=
"
$OPT
/am"
fi
;;
esac
done
...
...
This diff is collapsed.
Click to expand it.
m4/dune.m4
+
10
−
3
View file @
d0b97f7f
...
...
@@ -64,9 +64,10 @@ AC_DEFUN([DUNE_CHECK_MODULES],[
## check for lib (if lib name was provided)
ifelse
(
_dune_lib,,[echo _dune_module does not provide libs],[
# did we find the headers?
if
test
x
$HAVE
[]
_DUNE_MODULE
=
x1
;
then
if
test
x
$HAVE
_
[]
_DUNE_MODULE
=
x1
;
then
ac_save_LDFLAGS
=
"
$LDFLAGS
"
ac_save_LIBS
=
"
$LIBS
"
HAVE[]_DUNE_MODULE
=
0
## special test for a local installation
if
test
x
$_DUNE_MODULE
[]
ROOT
!=
x
;
then
...
...
@@ -87,7 +88,7 @@ AC_DEFUN([DUNE_CHECK_MODULES],[
fi
## normal test for a systemwide install
if
test
x
$HAVE
[]
_DUNE_MODULE
=
x0
;
then
if
test
x
$HAVE
_
[]
_DUNE_MODULE
=
x0
;
then
# !!! should be pkg-config later (which would save the special
# header-check as well)
...
...
@@ -101,6 +102,10 @@ AC_DEFUN([DUNE_CHECK_MODULES],[
)
fi
if
test
x
$_DUNE_MODULE
[]
_LIBS
=
x
;
then
AC_MSG_ERROR
([
failed to find lib[]_dune_lib[] needed of module _dune_module]
)
fi
# reset variables
LDFLAGS
=
"
$ac_save_LDFLAGS
"
LIBS
=
"
$ac_save_LIBS
"
...
...
@@ -125,6 +130,8 @@ AC_DEFUN([DUNE_CHECK_MODULES],[
DUNE_PKG_CPPFLAGS
=
"
$DUNE_PKG_CPPFLAGS
$DUNE_CPPFLAGS
"
DUNE_PKG_LIBS
=
"
$DUNE_PKG_LIBS
$LIBS
"
DUNE_PKG_LDFLAGS
=
"
$DUNE_PKG_LDFLAGS
$DUNE_LDFLAGS
"
else
AC_MSG_ERROR
([
could not find required module _dune_module]
)
fi
# reset previous flags
...
...
@@ -143,7 +150,7 @@ AC_DEFUN([DUNE_CHECK_DISPATCH],[
DUNE_CHECK_MODULES
([
dunegrid],
[
grid/common/grid.hh],
[
grid],
[
grid],
[
Dune::PartitionName]
)]
,
[
$1
]
,
[
duneistl],[
DUNE_CHECK_MODULES
([
duneistl],
[
istl/allocator.hh],,,
)]
,
[
$1
]
,
[
dunedis
t
],[
[
$1
]
,
[
dunedis
c
],[
DUNE_CHECK_MODULES
([
dunedisc],
[
disc/functions/functions.hh],
[
disc],
[
disc],
[
Dune::LagrangeShapeFunctions<double, double, 3>::general]
)]
,
[
AC_MSG_ERROR
([
Unknown module
$1
])])
])
...
...
This diff is collapsed.
Click to expand it.
m4/dune_all.m4
+
0
−
1
View file @
d0b97f7f
...
...
@@ -173,7 +173,6 @@ AC_SUBST(revision, $with_revision)
AC_REQUIRE([DUNE_MODULE_DEPENDENCIES])
echo "Resolving Dependencies: $@"
echo "Resolving Dependencies: shift($@)"
DUNE_MODULE_DEPENDENCIES($@)
AC_REQUIRE([DUNE_CHECK_ALL])
AC_REQUIRE([DUNE_DEV_MODE])
...
...
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