root/ossiedev/branches/jsnyder/trunk/system/standardInterfaces-metadata/configure.ac @ 11049

Revision 11049, 0.9 KB (checked in by Snyder.Jason, 2 years ago)

changes to build scripts for 0.9.0

Line 
1AC_INIT(standardInterfaces-metadata, 0.6.0)
2AC_PREREQ(2.59)
3
4AM_INIT_AUTOMAKE(nostdinc)
5
6AC_PROG_CXX
7AC_PROG_INSTALL
8AC_PROG_MAKE_SET
9AC_PROG_LIBTOOL
10
11AC_LANG_PUSH([C++])
12
13AC_CHECK_LIB([omniORB4], [main], [], [AC_MSG_ERROR([cannot find omniORB library])])
14AC_CHECK_LIB([omnithread], [main], [], [AC_MSG_ERROR([cannot find omnithread library])])
15AC_CHECK_HEADERS([omniORB4/CORBA.h], [], [AC_MSG_ERROR([cannot find omniORB4 header files])])
16AC_CHECK_PROG([IDL], [omniidl], [omniidl], [AC_MSG_ERROR([cannot find omniidl prgram])])
17
18AM_PATH_PYTHON([2.5])
19
20AC_LANG_POP
21
22export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig"
23PKG_CHECK_MODULES(OSSIE, ossie >= 0.6.0,,exit)
24CXXFLAGS="$CXXFLAGS $OSSIE_CFLAGS"
25LIBS="$LIBS $OSSIE_LIBS"
26IDL_FLAGS="$OSSIE_CFLAGS"
27AC_SUBST(IDL_FLAGS)
28
29AC_CONFIG_FILES(
30        Makefile
31        python/Makefile
32        include/Makefile
33        include/standardinterfaces-metadata/Makefile
34        standardInterfaces-metadata.pc)
35AC_OUTPUT
36
Note: See TracBrowser for help on using the browser.