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
64812e39
Commit
64812e39
authored
13 years ago
by
Oliver Sander
Browse files
Options
Downloads
Patches
Plain Diff
Remove the DUNE_SYMLINK macro.
It has been deprecated at least since dune 2.0. [[Imported from SVN: r6482]]
parent
57538d81
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/dune.m4
+0
-38
0 additions, 38 deletions
m4/dune.m4
with
0 additions
and
38 deletions
m4/dune.m4
+
0
−
38
View file @
64812e39
...
...
@@ -491,41 +491,3 @@ AC_DEFUN([DUNE_CHECK_MODULES],[
# restore previous language settings (leave C++)
AC_LANG_POP([C++])
])
AC_DEFUN([DUNE_SYMLINK],[
AC_PROG_LN_S
AC_MSG_WARN([Module is using the deprecated 'dune' symlink.])
# create symlink for consistent paths even when $(top_srcdir) is not
# called dune/ (if filesystem/OS supports symlinks)
AS_IF([test "x$LN_S" = "xln -s"],[
# Symlinks possible!
# Note: we are currently in the build directory which may be != the
# source directory
# does a file already exist?
AS_IF([test -e "dune"],[
# exists: is a symlink?
AS_IF([test -L "dune"],[
AS_IF([! test -r dune/$ac_unique_file],[
AC_MSG_ERROR([Symlink 'dune' exists but appears to be wrong! Please remove it manually])
])
],[
# if we are in the source directory we can make sure that there is no directory
AC_MSG_ERROR([Module is using the DUNE[]_SYMLINK directive but contains a directory 'dune'!])
])
],[
echo Creating dune-symlink...
# set symlink in build directory to sources
ln -s $srcdir dune
# sanity check
AS_IF([! test -r "dune/$ac_unique_file"],[
AC_MSG_ERROR([Sanity check for symlink failed! Please send a bugreport to dune@dune-project.org])
])
])
],[
# no symlinks possible... check name of directory
AC_MSG_ERROR([No symlinks supported! You have to install dune. No inplace usage possible!])
])
])
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