fixed check of libtool version for old libtool.

This commit is contained in:
Takashi Iwai 2003-01-07 13:48:00 +00:00
parent 8750215edb
commit 2b85584eb2

View file

@ -73,7 +73,7 @@ AC_ARG_WITH(versioned,
versioned="$withval", versioned="yes")
if test "$versioned" = "yes"; then
# it seems that GNU ld versions since 2.10 are not broken
xres=`grep VERSION= $ac_aux_dir/libtool | cut -d = -f 2`
xres=`grep '^VERSION=' $ac_aux_dir/libtool | cut -d = -f 2`
major=`echo $xres | cut -d . -f 1`
minor=`echo $xres | cut -d . -f 2`
pass=0