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
Rob Latham
MPICH-BlueGene
Commits
0fd484df
Commit
0fd484df
authored
Aug 26, 2010
by
Anthony Chan
Browse files
[svn-r7105] better messages + cleanup..
parent
c1064a89
Changes
1
Hide whitespace changes
Inline
Side-by-side
maint/updatefiles
View file @
0fd484df
...
...
@@ -42,7 +42,7 @@ ProgHomeDir() {
prog
=
$1
progpath
=
"
`
which
$prog
`
"
progbindir
=
"
`
dirname
$progpath
`
"
saved_wd
=
`
pwd
`
&&
cd
$progbindir
/..
&&
p
roghome
=
`
pwd
`
&&
cd
$saved_
wd
proghome
=
`
(
cd
$progbindir
/..
&&
pwd
)
`
eval
$2
=
$proghome
}
...
...
@@ -334,13 +334,6 @@ else
libtoolize
=
${
LIBTOOLIZE
:-
libtoolize
}
fi
# FIXME:
# Given the code below use "$autoconf" instead of "autoconf" from user's PATH.
# The following 3 lines should at least use "which $autoconf" instead of
# "which autoconf" or it could use "ProgHomeDir $autoconf autoconfdir".
# autoconfdir=`which autoconf | sed -e 's_/[^/]*$__g'`
# automakedir=`which automake | sed -e 's_/[^/]*$__g'`
# libtooldir=`which libtool | sed -e 's_/[^/]*$__g'`
ProgHomeDir
$autoconf
autoconfdir
ProgHomeDir
$automake
automakedir
ProgHomeDir
$libtoolize
libtooldir
...
...
@@ -348,18 +341,20 @@ ProgHomeDir $libtoolize libtooldir
echo_n
"Checking if autotools are in the same location... "
if
[
"
$autoconfdir
"
=
"
$automakedir
"
-a
"
$autoconfdir
"
=
"
$libtooldir
"
]
;
then
same_atdir
=
yes
echo
"yes, all in
$autoconfdir
"
else
same_atdir
=
no
fi
echo
"
$same_at
dir
"
# Emit a big warning message if $same_atdir = no.
if
[
"
$same_atdir
"
!=
"yes"
]
;
then
echo
"no"
echo
"
autoconf is in
$autoconf
dir
"
echo
" automake is in
$automakedir
"
echo
" libtool is in
$libtooldir
"
# Emit a big warning message if $same_atdir = no.
warn
"Experimental support of autotools being in different locations."
warn
"Configure or even make may fail in some unexpected ways."
fi
########################################################################
## Verify autoconf version
########################################################################
...
...
Write
Preview
Markdown
is supported
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