display: Export the include directory headers.

CRs-Fixed: 3041007
Change-Id: I7b09f42769f7a852b39fe304ee3d48509663ad24
This commit is contained in:
Avdhesh Singh Chauhan
2021-09-16 10:57:10 +05:30
parent b09df6ddfd
commit 6383d0eeaa
2 changed files with 5 additions and 18 deletions

View File

@@ -1,2 +1,5 @@
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = libqdmetadata
HEADER_PATH = ${srcdir}/include
display_commonsys_h_sources = $(HEADER_PATH)/*.h
display_commonsys_includedir = $(includedir)
display_commonsys_include_HEADERS = $(display_commonsys_h_sources)

View File

@@ -17,21 +17,6 @@ AC_CONFIG_HEADERS([config.h])
AC_CONFIG_MACRO_DIR([m4])
AC_SUBST([AM_CPPFLAGS], [--std=c++11])
AC_ARG_WITH([core_includes],
AC_HELP_STRING([--with-core-includes=@<:@dir@:>@],
[Specify the location of the core headers]),
[core_incdir=$withval],
with_core_includes=no)
if test "x$with_core_includes" != "xno"; then
CFLAGS="${CFLAGS} -I${core_incdir}"
fi
AC_ARG_WITH(sanitized-headers,
AS_HELP_STRING([--with-sanitized-headers=DIR],
[Specify the location of the sanitized Linux headers]),
[CPPFLAGS="$CPPFLAGS -I$withval"])
# Checks for programs.
AC_PROG_CC
AM_PROG_CC_C_O
@@ -46,7 +31,6 @@ AC_PROG_MAKE_SET
AC_SUBST([CFLAGS])
AC_SUBST([CC])
AC_CONFIG_FILES([ \
Makefile \
libqdmetadata/Makefile
Makefile
])
AC_OUTPUT