Re: [libvirt-php][PATCH 2/2] configure.ac: Slightly rework

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 19, 2016 at 12:59 PM, Michal Privoznik <mprivozn@xxxxxxxxxx> wrote:
> Firstly, AC_INIT() macro accepts more arguments than we currently
> pass. Then, it's considered a good practice to specify
> AC_CONFIG_SRCDIR() too. The rest is just some reorganization so
> that common things are close to each other rather than
> distributed randomly in the file.
>
> Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
> ---
>  configure.ac | 11 ++++++-----
>  1 file changed, 6 insertions(+), 5 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index 51a2cfe..2549b55 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -1,6 +1,7 @@
> -AC_INIT([libvirt-php], [0.5.1], [http://libvirt.org])
> +AC_INIT([libvirt-php], [0.5.1], [libvir-list@xxxxxxxxxx], [], [http://libvirt.org])
> +AC_CONFIG_SRCDIR([src/libvirt-php.c])
> +AC_CONFIG_HEADERS([config.h])
>  AM_INIT_AUTOMAKE([-Wall -Werror -Wno-portability])
> -AC_CONFIG_FILES([Makefile tools/Makefile src/Makefile tests/Makefile docs/Makefile])
>  AM_MAINTAINER_MODE([enable])
>
>  m4_ifndef([LT_INIT], [
> @@ -157,10 +158,10 @@ if test "$OS" = "Darwin"; then
>  else
>      SHLIB_FLAGS="-shared -rdynamic"
>  fi
> -AC_SUBST([SHLIB_FLAGS])
>
> +AC_SUBST([SHLIB_FLAGS])
>  AC_SUBST([PHPIZE])
>  AC_SUBST([PHPCONFIG])
> -AC_CONFIG_HEADERS([config.h])
> -AC_CONFIG_FILES([libvirt-php.spec])
> +AC_CONFIG_FILES([Makefile tools/Makefile src/Makefile \
> +                 tests/Makefile docs/Makefile libvirt-php.spec])
>  AC_OUTPUT
> --
> 2.7.3
>

Looks good to me.



-- 
真実はいつも一つ!/ Always, there's only one truth!

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]