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
502c808f
Commit
502c808f
authored
18 years ago
by
Markus Blatt
Browse files
Options
Downloads
Patches
Plain Diff
Check only for modules we depend on!
[[Imported from SVN: r4606]]
parent
9be9fe25
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
bin/duneproject
+12
-17
12 additions, 17 deletions
bin/duneproject
with
12 additions
and
17 deletions
bin/duneproject
+
12
−
17
View file @
502c808f
...
...
@@ -69,6 +69,17 @@ Depends:$DEPENDENCIES
C_DELIM
################## CONFIGURE.AC ##################
## Create the parameters passed to DUNE_CHECK_ALL
j
=
0
for
i
in
$DEPENDENCIES
;
do
if
[
"
$j
"
=
"0"
]
;
then
CHECK
=
"[
$i
]"
j
=
1
else
CHECK
=
"
$CHECK
,[
$i
]"
fi
done
cat
>
"
$PROJECT
/configure.ac"
<<
C_DELIM
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
...
...
@@ -80,23 +91,7 @@ AM_CONFIG_HEADER([config.h])
# we need no more than the standard DUNE-stuff
DUNE_CHECK_ALL([dunecommon],[dunegrid],[duneistl],[dunedisc])
if test x
\$
HAVE_DUNECOMMON != x1 ; then
AC_MSG_ERROR([Can't work without the dune-common module. Maybe you have to supply your dune-common directory as --with-dunecommon=dir])
fi
if test x
\$
HAVE_DUNEGRID != x1 ; then
AC_MSG_ERROR([Can't work without the dune-grid module. Maybe you have to supply your dune-grid directory as --with-dunegrid=dir])
fi
if test x
\$
HAVE_DUNEDISC != x1 ; then
AC_MSG_ERROR([Can't work without the dune-disc module. Maybe you have to supply your dune-disc directory as --with-dunedisc=dir])
fi
if test x
\$
HAVE_DUNEISTL != x1 ; then
AC_MSG_ERROR([Can't work without the dune-istl module. Maybe you have to supply your dune-istl directory as --with-duneistl=dir])
fi
DUNE_CHECK_ALL(
$CHECK
)
# implicitly set the Dune-flags everywhere
AC_SUBST(AM_CPPFLAGS,
\$
DUNE_CPPFLAGS)
...
...
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