# HG changeset patch
# User Eduardo Lima (Etrunko) <eblima(a)br.ibm.com>
# Date 1305559378 10800
# Node ID 308920f42e59be2aa8a4055a277fed5c373a319e
# Parent bd7bf41ffea870361297f8327212f3a81aca1084
libcmpituil: Proper definition of LEX_OUTPUT_ROOT
Move definition from Makefile.am to configure.ac to shut up automake
Signed-off-by: Eduardo Lima (Etrunko) <eblima(a)br.ibm.com>
diff --git a/Makefile.am b/Makefile.am
--- a/Makefile.am
+++ b/Makefile.am
@@ -31,7 +31,6 @@
AM_YFLAGS = -d -p eo_parse_
if build_eoparser
-LEX_OUTPUT_ROOT = lex.eo_parse_
libcueoparser_la_SOURCES = eo_util_parser.y eo_util_lexer.l eo_parser.c
libcmpiutil_la_DEPENDENCIES += libcueoparser.la
libcmpiutil_la_LIBADD += -lcueoparser
diff --git a/configure.ac b/configure.ac
--- a/configure.ac
+++ b/configure.ac
@@ -37,6 +37,7 @@
AC_PROG_CC
AC_PROG_LEX
+AC_SUBST([LEX_OUTPUT_ROOT], [lex.eo_parse_])
AC_PROG_YACC
AC_C_CONST