Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-istl
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
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
Core Modules
dune-istl
Commits
35f8fad5
Commit
35f8fad5
authored
19 years ago
by
Thimo Neubauer
Browse files
Options
Downloads
Patches
Plain Diff
some fixes so that "make distcheck" generally works
[[Imported from SVN: r181]]
parent
ba3c9e0f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitignore
+2
-1
2 additions, 1 deletion
.gitignore
Makefile.am
+3
-0
3 additions, 0 deletions
Makefile.am
configure.ac
+16
-5
16 additions, 5 deletions
configure.ac
with
21 additions
and
6 deletions
.gitignore
+
2
−
1
View file @
35f8fad5
...
...
@@ -13,4 +13,5 @@ dune.pc
semantic.cache
configure.lineno
stamp-h1
dune-*.tar.gz
\ No newline at end of file
dune-*.tar.gz
dune-?.?
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Makefile.am
+
3
−
0
View file @
35f8fad5
...
...
@@ -9,3 +9,6 @@ SUBDIRS = common fem grid operator quadrature solver lib istl doc bin m4 am
pkgconfigdir
=
$(
libdir
)
/pkgconfig
pkgconfig_DATA
=
dune.pc
# use configured compiler for "make distcheck"
# doxygen is difficult to convince to build in a special directory...
DISTCHECK_CONFIGURE_FLAGS
=
CXX
=
"
$(
CXX
)
"
CC
=
"
$(
CC
)
"
DOXYGEN
=
"true"
This diff is collapsed.
Click to expand it.
configure.ac
+
16
−
5
View file @
35f8fad5
#! /bin/bash
# $Id$
# Process this file with autoconf to produce a configure script.
AC_INIT
(
dune, 0.0, dune@hal.iwr.uni-heidelberg.de
)
...
...
@@ -49,23 +50,33 @@ AC_PROG_LN_S
if
test
x
"
$LN_S
"
==
x
"ln -s"
;
then
# Symlinks possible!
# Note: we are currently in the build directory which may be != the
# source directory
# does a file already exist?
if
test
-e
dune
;
then
# exists: is a symlink?
if
test
-L
dune
;
then
if test -
e
dune/grid/common/grid.hh ; then
if
test
-
r
dune/grid/common/grid.hh
;
then
# suppose that the link is ok and use it
AM_CPPFLAGS='-I$(top_
src
dir)';
AM_CPPFLAGS
=
'-I$(top_
build
dir)'
;
else
AC_MSG_ERROR
([
Symlink
'dune'
exists but appears to be wrong! Please remove it manually]
)
fi
fi
else
echo
Creating dune-symlink...
# set symlink
ln -s . dune ;
# set symlink in build directory to sources
ln
-s
$srcdir
dune
# sanity check
if
test
-r
dune/grid/common/grid.hh
;
then
AM_CPPFLAGS
=
'-I$(top_builddir)'
;
else
AC_MSG_ERROR
([
Sanity check
for
symlink failed! Please send a bugreport to dune@hal.iwr.uni-heidelberg.de]
)
fi
# set proper include-path
AM_CPPFLAGS='-I$(top_
src
dir)';
AM_CPPFLAGS
=
'-I$(top_
build
dir)'
;
fi
else
# no symlinks possible... check name of directory
...
...
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