]> git.alsa-project.org Git - alsa-lib.git/commitdiff
fixed check of libtool version for old libtool.
authorTakashi Iwai <tiwai@suse.de>
Tue, 7 Jan 2003 13:48:00 +0000 (13:48 +0000)
committerTakashi Iwai <tiwai@suse.de>
Tue, 7 Jan 2003 13:48:00 +0000 (13:48 +0000)
configure.in

index ddca7903e5eb554863a2376e68447722bcc0f135..915b5f36827f465e79f4e7f0f626614606a21024 100644 (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