From 476ce88773e2544e654cb4e955531b9716386901 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Fri, 29 Sep 2006 10:44:58 +0200 Subject: [PATCH] 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. --- configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.in b/configure.in index fd76f828..607135f7 100644 --- a/configure.in +++ b/configure.in @@ -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 -- 2.47.1