summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2001-04-03 20:07:59 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2001-04-03 20:07:59 (GMT)
commit852a24da19891d03600d4038ed0bc6f42639d36c (patch)
treebe4c855936853ddbc51f1df310c362de8c26ecbe /bin
parent88b51be743a6c4048670e39b7635fa6583859fac (diff)
downloadhdf5-852a24da19891d03600d4038ed0bc6f42639d36c.zip
hdf5-852a24da19891d03600d4038ed0bc6f42639d36c.tar.gz
hdf5-852a24da19891d03600d4038ed0bc6f42639d36c.tar.bz2
[svn-r3772] Purpose:
Update Description: Updated so that it's roughly consistent with the 1.3.5 release of libtool. The only difference between the two is some sharedlibrary path which Albert put in once a long time ago and it seems to work...Trying not to break^Wfix what's not broken. Platforms tested: Linux (with diff)
Diffstat (limited to 'bin')
-rw-r--r--bin/ltmain.sh12
1 files changed, 8 insertions, 4 deletions
diff --git a/bin/ltmain.sh b/bin/ltmain.sh
index 605ea80..c39588a 100644
--- a/bin/ltmain.sh
+++ b/bin/ltmain.sh
@@ -1656,7 +1656,7 @@ compiler."
# Check that each of the things are valid numbers.
case "$current" in
- 0 | [1-9] | [1-9][0-9]*) ;;
+ [0-9]*) ;;
*)
$echo "$modename: CURRENT \`$current' is not a nonnegative integer" 1>&2
$echo "$modename: \`$vinfo' is not valid version information" 1>&2
@@ -1665,7 +1665,7 @@ compiler."
esac
case "$revision" in
- 0 | [1-9] | [1-9][0-9]*) ;;
+ [0-9]*) ;;
*)
$echo "$modename: REVISION \`$revision' is not a nonnegative integer" 1>&2
$echo "$modename: \`$vinfo' is not valid version information" 1>&2
@@ -1674,7 +1674,7 @@ compiler."
esac
case "$age" in
- 0 | [1-9] | [1-9][0-9]*) ;;
+ [0-9]*) ;;
*)
$echo "$modename: AGE \`$age' is not a nonnegative integer" 1>&2
$echo "$modename: \`$vinfo' is not valid version information" 1>&2
@@ -3462,7 +3462,11 @@ libdir='$install_libdir'\
if test "$finalize" = yes && test -z "$run"; then
tmpdir="/tmp"
test -n "$TMPDIR" && tmpdir="$TMPDIR"
- tmpdir="$tmpdir/libtool-$$"
+ tmpdir=`mktemp -d $tmpdir/libtool-XXXXXX 2> /dev/null`
+ if test $? = 0 ; then :
+ else
+ tmpdir="$tmpdir/libtool-$$"
+ fi
if $mkdir -p "$tmpdir" && chmod 700 "$tmpdir"; then :
else
$echo "$modename: error: cannot create temporary directory \`$tmpdir'" 1>&2