[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] libcacard: use the library?
From: |
Markus Armbruster |
Subject: |
Re: [Qemu-devel] libcacard: use the library? |
Date: |
Thu, 18 Jun 2015 11:07:53 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Paolo Bonzini <address@hidden> writes:
> On 18/06/2015 10:11, Michael Tokarev wrote:
>> 18.06.2015 11:09, Paolo Bonzini пишет:
>>> On 17/06/2015 22:15, Michael Tokarev wrote:
>>>> I tried autoconf&automake&libtool. It is a HugeMess, I disliked it.
>>>> So I rewrote it as a simple shell script.
>>>>
>>>> The result of both attempts is available at
>>>> http://www.corpit.ru/mjt/tmp/libcacard/
>>>> There are 4 files in there:
>>>>
>>>> configure.ac Makefile.am -- auto*shit version, requires bootstrap like
>>>> libtoolize && aclocal && automake --foreign --add-missing && autoconf
>>>
>>> More like autoreconf -fvi.
>>
>> My 10-minute expirience with auto*tools did't go that far :)
>
> You got everything else right, though. Kudos.
>
>>>> configure Makefile.in -- my small version based on what qemu ./configure
>>>> currently does.
>>>
>>> Doesn't have dependency tracking. That's already a no-no I think.
>>
>> Well, it is trivial to add. For a first cut it works.
>
> And then it will be something else with cross-compilation, or something
> else. Let's just use autotools and call it a day...
In my experience, the Autotools are the worst build system, except for
all the others.
Libtool is particularly horrible. But when you actually have the
problem it solves (building shared libraries on almost every rotten OS
known to man), you're in a particularly horrible place already.
So, Paolo's recommendation seconded.