Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dkrz-sw
sct
Commits
d7c6367b
Commit
d7c6367b
authored
May 02, 2018
by
Hendryk Bockelmann
☕
Browse files
add patch by Sergey Kosukhin to use autogen.sh with libtool higher than 2.4.2
parent
1c989af5
Changes
1
Hide whitespace changes
Inline
Side-by-side
autogen.sh
View file @
d7c6367b
...
...
@@ -4,7 +4,7 @@ verlte() {
[
"
$1
"
=
"
`
echo
-e
"
$1
\n
$2
"
|
sort
-V
|
head
-n1
`
"
]
}
autoreconf
-fvi
autoreconf
-fvi
||
exit
$?
libtool_version
=
`
libtool
--version
|
awk
'NR==1 {print $4}'
`
...
...
@@ -14,8 +14,10 @@ verlte $libtool_version 2.4.2 && {
patch
--forward
--no-backup-if-mismatch
-p0
-s
-l
< maint/libtool.m4.patch
# rebuild configure
autoconf
-f
||
exit
1
autoconf
-f
||
exit
$?
# Reset libtool.m4 timestamps to avoid confusing make
touch
-r
m4/ltversion.m4 m4/libtool.m4
}
\ No newline at end of file
}
exit
0
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment