[PATCH xorg-gtest 3/3] config: remove unused LIB_VERSION variable

Gaetan Nadon memsize at videotron.ca
Fri Mar 9 07:53:21 PST 2012


On 12-03-09 10:20 AM, Chase Douglas wrote:
> On 03/08/2012 04:48 PM, Gaetan Nadon wrote:
>> This appears to be an unused library versioning scheme.
>>
>> Signed-off-by: Gaetan Nadon<memsize at videotron.ca>
>> ---
>>   configure.ac |    3 ---
>>   1 files changed, 0 insertions(+), 3 deletions(-)
>>
>> diff --git a/configure.ac b/configure.ac
>> index 9d04d40..84860f4 100644
>> --- a/configure.ac
>> +++ b/configure.ac
>> @@ -11,9 +11,6 @@ AC_CONFIG_MACRO_DIR([m4])
>>   AM_INIT_AUTOMAKE([foreign dist-bzip2])
>>   AM_MAINTAINER_MODE([enable])
>>
>> -LIB_VERSION=0:0:0
>> -AC_SUBST([LIB_VERSION])
>> -
>>   # Initialize libtool
>>   AC_PROG_LIBTOOL
>>
>
> It is used by libtool to determine the .so version. Right now the
> library is libxorg-gtest.so.0.0.0. Bumping the LIB_VERSION bumps the
> numbers at the end of the so. See
> http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
> for version details.
>
> However, I have a bunch of patches that change xorg-gtest from a
> precompiled library distribution to a source distribution to match
> what gtest recommends. I'll fold this into those changes since the
> library will be going away.
Ok. I could not find where LIB_VERSION variable is documented. I see it
used on the net a lot, but it is always set in the script as opposed to
being recognized by Autotools (like AM_CFLAGS for example). Anyway, it's
just for my learning.
>
> Thanks!
>
> -- Chase
>



More information about the xorg-devel mailing list