[libvirt] [libvirt-php][PATCH 2/4] Get rid of $DEFINES

Neal Gompa ngompa13 at gmail.com
Thu Apr 21 11:16:47 UTC 2016


On Thu, Apr 21, 2016 at 5:51 AM, Michal Privoznik <mprivozn at redhat.com> wrote:
> This variable only defines -DHAVE_CONFIG_H which is defined by
> libtool anyway.
>
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
>  src/Makefile.am | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/src/Makefile.am b/src/Makefile.am
> index d988a32..15a4ac4 100644
> --- a/src/Makefile.am
> +++ b/src/Makefile.am
> @@ -1,10 +1,9 @@
> -DEFINES=-DHAVE_CONFIG_H
>  WL=@WL@
>  SHLIB_FLAGS=@SHLIB_FLAGS@
>
>  AM_CFLAGS = \
>         $(PHP_CFLAGS) $(LIBXML_CFLAGS) \
> -       $(LIBVIRT_CFLAGS) $(QEMU_CFLAGS) $(DEFINES) \
> +       $(LIBVIRT_CFLAGS) $(QEMU_CFLAGS) \
>         -I$(top_srcdir)/winsrc
>
>  AM_LDFLAGS = \
> --
> 2.7.3
>

Okay for me.



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




More information about the libvir-list mailing list