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
99714fb6
Commit
99714fb6
authored
17 years ago
by
Christian Engwer
Browse files
Options
Downloads
Patches
Plain Diff
link to dune-common/am if we are not building dune-common
[[Imported from SVN: r5114]]
parent
600b8ded
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/dune-autogen
+18
-5
18 additions, 5 deletions
bin/dune-autogen
with
18 additions
and
5 deletions
bin/dune-autogen
+
18
−
5
View file @
99714fb6
...
...
@@ -45,9 +45,8 @@ for OPT in "$@"; do
-h
|
--help
)
usage
;
exit
0
;;
*
)
if
test
-d
"
$OPT
/m4"
;
then
if
[
-d
m4
]
;
then
cat
"
$OPT
/m4/"
*
.m4
>>
dune-all.m4
fi
echo
"... merging
$OPT
/m4 into dune-all.m4"
cat
"
$OPT
/m4/"
*
.m4
>>
dune-all.m4
fi
if
test
-d
"
$OPT
/am"
;
then
am_dir
=
"
$OPT
/am"
...
...
@@ -58,7 +57,7 @@ for OPT in "$@"; do
if
test
-d
"
$OPT
/share/dune-common/am"
;
then
am_dir
=
"
$OPT
/share/dune-common/am"
fi
PATH
=
$PATH
:
$OPT
/bin
PATH
=
$OPT
/bin
:
$PATH
;;
esac
done
...
...
@@ -97,11 +96,25 @@ if [ -d m4 ]; then
fi
# prepare everything
echo
"--> aclocal...
$ACLOCAL_FLAGS
"
echo
"--> aclocal..."
rm
-f
aclocal.m4
rm
-rf
autom4te.cache
aclocal
$AMVERSION
-I
.
# create a link to the dune-common am directory
if
[
"
$name
"
!=
"dune-common"
]
;
then
if
[
-n
"
$am_dir
"
]
&&
[
-d
$am_dir
]
;
then
echo
"--> linking dune-common/am..."
rm
-f
am
ln
-s
$am_dir
am
else
echo
echo
"Error: Could not find dune-common/am!"
usage
exit
1
fi
fi
# applications should provide a config.h for now
echo
"--> autoheader..."
autoheader
$ACVERSION
...
...
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