root/ossiedev/branches/jgaeddert/0.8.0/components/configure.ac @ 10052

Revision 10052, 1.8 KB (checked in by jgaeddert, 3 years ago)

importing new components from git repo (ugly merge, sorry everyone)

Line 
1#
2# ossie-liquid-components configuration
3#
4
5AC_INIT([ossie-liquid-components],[0.8.0])
6#AC_CONFIG_SRCDIR([libliquid.c])
7
8#
9# Autoheader
10#
11AC_CONFIG_HEADER(config.h)
12AH_TOP([
13#ifndef __LIQUID_CONFIG_H__
14#define __LIQUID_CONFIG_H__
15])
16AH_BOTTOM([
17#endif // __LIQUID_CONFIG_H__
18])
19
20#
21# Checks for necessary programs
22#
23AC_PROG_CXX
24#AC_PROG_INSTALL
25
26#
27# Checks for necessary libraries
28#
29
30# push C++ language (omniORB4 complains if this action isn't taken)
31AC_LANG_PUSH([C++])
32
33# AC_CHECK_LIB (library, function, [action-if-found], [action-if-not-found], [other-libraries])
34AC_CHECK_LIB([omniORB4], [main], [], [AC_MSG_ERROR([cannot find omniORBi4 library])])
35AC_CHECK_LIB([omnithread], [main], [], [AC_MSG_ERROR([cannot find omnithread library])])
36AC_CHECK_LIB([omniDynamic4], [main], [], [AC_MSG_ERROR([cannot find omniDynamic4 library])])
37AC_CHECK_HEADERS([omniORB4/CORBA.h], [], [AC_MSG_ERROR([cannot find omniORB4 header files])])
38
39# check for OSSIE libraries, headers
40AC_CHECK_LIB([ossieidl], [main], [], [AC_MSG_ERROR([cannot find ossieidl])])
41AC_CHECK_LIB([ossieparser], [main], [], [AC_MSG_ERROR([cannot find ossieparser])])
42AC_CHECK_LIB([ossiecf], [main], [], [AC_MSG_ERROR([cannot find ossiecf])])
43AC_CHECK_LIB([standardInterfaces], [main], [], [AC_MSG_ERROR([cannot find standardInterfaces])])
44AC_CHECK_HEADERS([standardinterfaces/complexShort.h], [], [AC_MSG_ERROR([cannot find standardInterfaces header files])])
45
46dnl check for liquid DSP libraries, headers
47AC_CHECK_LIB([liquid], [main], [], [AC_MSG_ERROR([cannot find liquid-dsp library])])
48AC_CHECK_HEADERS([liquid/liquid.h], [], [AC_MSG_ERROR([cannot find liquid-dsp header files])])
49
50AC_LANG_POP
51
52#
53# Checks for typedefs, structures, and compiler characteristics.
54#
55AC_HEADER_STDBOOL
56AC_C_INLINE
57AC_TYPE_SIZE_T
58AC_TYPE_UINT32_T
59AC_TYPE_UINT8_T
60
61AC_CONFIG_FILES(makefile)
62
63AC_OUTPUT
Note: See TracBrowser for help on using the browser.