From: Hugo Villeneuve Date: Tue, 25 Mar 2014 01:45:23 +0000 (-0400) Subject: Fix configure error when determining id3lib version X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=7d5558899d620af137ca36a58bb03f73e42ba593;hp=80bf85d44f1bf62e9f462127608adc6b78db982f;p=hvgrip.git Fix configure error when determining id3lib version Error message: checking for library containing ID3Tag_Link... -lid3 -lz -lstdc++ using shared id3lib checking for id3lib version... ./configure: line 16703: .: conftest.id3: file not found Explanation: The source command '.' in bash searches $PATH when given a file without a path. So you need to use '. ./conftest.id3' to search in current directory. Patch by Mike Frysinger taken from: http://sourceforge.net/p/grip/patches/152/ --- diff --git a/configure.in b/configure.in index ab8be14..a50617a 100644 --- a/configure.in +++ b/configure.in @@ -106,7 +106,7 @@ main () fclose(output); exit(0); } -], . conftest.id3 +], . ./conftest.id3 echo "${ID3LIB_MAJOR}.${ID3LIB_MINOR}.${ID3LIB_PATCH}", AC_MSG_WARN(could not determine id3lib version),[echo $ac_n "cross compiling; assuming ${ID3LIB_MAJOR}.${ID3LIB_MINOR}.${ID3LIB_PATCH} $ac_c"]) AC_DEFINE_UNQUOTED(ID3LIB_MAJOR, $ID3LIB_MAJOR, [Description])