[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tutorial with minimal autoconf script for using gnulib
From: |
Eric Blake |
Subject: |
Re: Tutorial with minimal autoconf script for using gnulib |
Date: |
Wed, 16 Nov 2016 08:33:24 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 |
On 11/13/2016 07:03 AM, Peng Yu wrote:
> Hi, To read the following document, readers need to be familiar with autoconf.
>
> https://www.gnu.org/software/gnulib/manual/html_node/Invoking-gnulib_002dtool.html
>
> Does anyone have simple example autoconf configuration files that can
> be used with gnulib to import a specific module so that users (without
> knowledge of autoconf) can try them easily to see how gnulib can be
> integrated with user's code? Thanks.
You could always use:
./gnulib-tool --create-testdir --dir=/path/to/dir $module
to have gnulib-tool create an autoconf configuration file that uses just
that module and its dependencies.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature