mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2026-02-05 04:06:34 -05:00
configure.in - fix "checking for versioned symbols" error in ./configure
See: bug#2274 checking for versioned symbols... ./configure: line 19347: test: "1: integer expression expected ./configure: line 19350: test: "1: integer expression expected This is caused by my libtool VERSION string: VERSION="1.5.22 Debian 1.5.22-2" The test in configure.in can't currently deal with the quotes.
This commit is contained in:
parent
10c396516a
commit
476ce88773
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,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 | cut -d \" -f 2`
|
||||
major=`echo $xres | cut -d . -f 1`
|
||||
minor=`echo $xres | cut -d . -f 2`
|
||||
pass=0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue