summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSathishkumar2013-09-05 06:34:31 -0500
committerSaurabh Bipin Chandra2013-09-05 11:09:16 -0500
commite08aec49c5bee1a70ea4b8a6e1d29a5d09c8ec2e (patch)
tree45c3aee6f4fd8f47c7596534d48b7ffa065dcc0f /configure.ac
parentbdc17c43679f649cd46fec22f9dafc1c13130acc (diff)
downloadhardware-ti-libdce-e08aec49c5bee1a70ea4b8a6e1d29a5d09c8ec2e.tar.gz
hardware-ti-libdce-e08aec49c5bee1a70ea4b8a6e1d29a5d09c8ec2e.tar.xz
hardware-ti-libdce-e08aec49c5bee1a70ea4b8a6e1d29a5d09c8ec2e.zip
[LINUX] Fix for make install
This patch fixes make install. All the required headers are copied to $(includedir)/dce on make install. Unused variables(X11 and WAYLAND) are removed in Makefile.am and pkg-config on libmmrpc is removed as no libmmrpc.pc is available. xdc_target_types__=gnu/targets/std.h is added to libdce.h, so that applications need not do it when using libdce.h. Change-Id: I8cc70aa2102becdbdc4c6b1e38e2aaa91739c4cc Signed-off-by: Sathishkumar <x0203598@ti.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac61
1 files changed, 9 insertions, 52 deletions
diff --git a/configure.ac b/configure.ac
index fbf34b8..a27bd08 100644
--- a/configure.ac
+++ b/configure.ac
@@ -51,7 +51,7 @@ PKG_CHECK_MODULES(DRM, libdrm libdrm_omap)
51 51
52dnl *** checks for libraries *** 52dnl *** checks for libraries ***
53dnl Check for libmmrpc 53dnl Check for libmmrpc
54PKG_CHECK_MODULES(MMRPC, libmmrpc) 54#PKG_CHECK_MODULES(MMRPC, libmmrpc)
55 55
56dnl *** checks for header files *** 56dnl *** checks for header files ***
57dnl check if we have ANSI C header files 57dnl check if we have ANSI C header files
@@ -69,62 +69,19 @@ dnl *** checks for dependancy libraries ***
69 69
70dnl *** set variables based on configure arguments *** 70dnl *** set variables based on configure arguments ***
71 71
72 72if test "$IPC_HEADERS" != "" ; then
73if test "$CODEC_ENGINE" != "" ; then 73 AC_CHECK_FILES(["$IPC_HEADERS"],,[AC_MSG_ERROR(["$IPC_HEADERS" not found, Set path variable IPC_HEADERS])])
74 AC_MSG_NOTICE([Checking component : CODEC_ENGINE]) 74 AC_SUBST(IPC_HEADERS)
75 AC_CHECK_FILES(["$CODEC_ENGINE"],,[AC_MSG_ERROR(["$CODEC_ENGINE" not found Set path variable CODEC_ENGINE])])
76 AC_SUBST(CODEC_ENGINE)
77else
78 AC_MSG_ERROR([Set path variable CODEC_ENGINE])
79fi
80
81if test "$FRAMEWORK_COMPONENTS" != "" ; then
82 AC_MSG_NOTICE([Checking component : FRAMEWORK_COMPONENTS])
83 AC_CHECK_FILES(["$FRAMEWORK_COMPONENTS"],,[AC_MSG_ERROR(["$FRAMEWORK_COMPONENTS" not found Set path variable FRAMEWORK_COMPONENTS])])
84 AC_SUBST(FRAMEWORK_COMPONENTS)
85else 75else
86 AC_MSG_ERROR([Set path variable FRAMEWORK_COMPONENTS]) 76 AC_MSG_ERROR([Set path variable IPC_HEADERS])
87fi 77fi
88 78
89if test "$IVAHD_CODECS" != "" ; then
90 AC_MSG_NOTICE([Checking component : IVAHD_CODECS])
91 AC_CHECK_FILES(["$IVAHD_CODECS"],,[AC_MSG_ERROR(["$IVAHD_CODECS" not fou nd Set path variable IVAHD_CODECS])])
92 AC_SUBST(IVAHD_CODECS)
93else
94 AC_MSG_ERROR([Set path variable IVAHD_CODECS])
95fi
96
97if test "$XDAIAS" != "" ; then
98 AC_MSG_NOTICE([Checking component : XDAIAS])
99 AC_CHECK_FILES(["$XDAIAS"],,[AC_MSG_ERROR(["$XDAIAS" not found Set path variable XDAIAS])])
100 AC_SUBST(XDAIAS)
101else
102 AC_MSG_ERROR([Set path variable XDAIAS])
103fi
104
105if test "$XDCTOOLS" != "" ; then
106 AC_MSG_NOTICE([Checking component : XDCTOOLS])
107 AC_CHECK_FILES(["$XDCTOOLS"],,[AC_MSG_ERROR(["$XDCTOOLS" not found Set path variable XDCTOOLS])])
108 AC_SUBST(XDCTOOLS)
109else
110 AC_MSG_ERROR([Set path variable XDCTOOLS])
111fi
112
113if test "$IPC" != "" ; then
114 AC_MSG_NOTICE([Checking component : IPC])
115 AC_CHECK_FILES(["$IPC"],,[AC_MSG_ERROR(["$IPC" not found Set path variable IPC])])
116 AC_SUBST(IPC)
117else
118 AC_MSG_ERROR([Set path variable IPC])
119fi
120
121
122
123
124
125
126AC_CONFIG_FILES([ 79AC_CONFIG_FILES([
127libdce.pc 80libdce.pc
128Makefile 81Makefile
82packages/codec_engine/Makefile
83packages/ivahd_codecs/Makefile
84packages/xdais/Makefile
85packages/xdctools/Makefile
129]) 86])
130AC_OUTPUT 87AC_OUTPUT