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
fc53c53e
Commit
fc53c53e
authored
14 years ago
by
Christian Engwer
Browse files
Options
Downloads
Patches
Plain Diff
fix FS#832 -- sync FC and F77
[[Imported from SVN: r6340]]
parent
df6225c7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
m4/dune_all.m4
+1
-1
1 addition, 1 deletion
m4/dune_all.m4
m4/dune_fortran.m4
+31
-0
31 additions, 0 deletions
m4/dune_fortran.m4
with
32 additions
and
1 deletion
m4/dune_all.m4
+
1
−
1
View file @
fc53c53e
...
...
@@ -7,7 +7,6 @@
# the entries are more or less copied from an "autoscan"-run in the
# dune-directory
AC_DEFUN([DUNE_CHECK_ALL],[
# doxygen and latex take a lot of time...
AC_REQUIRE([DUNE_DOCUMENTATION])
...
...
@@ -18,6 +17,7 @@ AC_DEFUN([DUNE_CHECK_ALL],[
AC_REQUIRE([AC_PROG_CPP])
AC_REQUIRE([AC_PROG_CXX])
AC_REQUIRE([AC_PROG_CXXCPP])
AC_REQUIRE([DUNE_SYNC_FC_F77])
AC_REQUIRE([AC_PROG_F77])
AC_REQUIRE([AC_PROG_FC])
# don't build shared libs per default, this is way better for debugging...
...
...
This diff is collapsed.
Click to expand it.
m4/dune_fortran.m4
0 → 100644
+
31
−
0
View file @
fc53c53e
# a trick to make life for the user easier.
#
# some libs need the fortran test, while other use the f77 test. This
# requires the user to provide two variables, usually with the same
# parameter. In most cases the F77 compiler will be the same as teh FC
# compiler.
#
# We test for FC and F77. If the user has specified both, we do
# nothing, if the user has specified only one of them, we assume that
# the compiler supports both and copy the value. Usually this should
# be the sane default.
#
AC_DEFUN([DUNE_SYNC_FC_F77],[
# variant 1
# FC is set, while F77 is not set
AS_IF([test -n "$FC" && test -z "$F77"], [
AC_MSG_NOTICE([Fortran compiler FC (fortran 90) specified,
while F77 (fortran 77) wasn't set.
Trying to use FC as F77.])
F77="$FC"
])
# variant 2
# F77 is set, while FC is not set
AS_IF([test -z "$FC" && test -n "$F77"], [
AC_MSG_NOTICE([Fortran compiler F77 (fortran 77) specified,
while FC (fortran 90) wasn't set.
Trying to use F77 as FC.])
FC="$F77"
])
])
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