root/vtcross/trunk/configure.ac @ 300

Revision 300, 0.8 KB (checked in by trnewman, 15 years ago)

Added python and swig checks

RevLine 
[300]1AC_INIT([cross], [0.0.0])
2AM_INIT_AUTOMAKE([cross], [0.0.0])
[161]3AM_CONFIG_HEADER([src/include/vtcross/config.h])
4
5AC_CONFIG_MACRO_DIR([m4])
6
7AC_PROG_CC
8AC_PROG_CXX
[300]9AC_PROG_SWIG
[161]10AC_PROG_LIBTOOL
11AC_PROG_INSTALL
12
[300]13AC_DISABLE_STATIC
14AM_PATH_PYTHON(2.6)
15SWIG_ENABLE_CXX
16SWIG_PYTHON
17
[161]18AC_LANG_PUSH([C])
19AC_CHECK_LIB([sqlite3], [sqlite3_open], [], [AC_MSG_ERROR([Cannot find sqlite3 library!])])
20AC_LANG_POP
21
22AC_CONFIG_FILES(Makefile doc/Makefile src/Makefile src/shell/Makefile
23          src/libvtcross/Makefile src/cognitive_engines/Makefile
24          src/policy_engines/Makefile src/service_management_layer/Makefile
25          src/lib/tinyxml/Makefile  src/lib/socketcomm/Makefile src/include/Makefile
26          src/include/vtcross/Makefile src/include/tinyxml/Makefile
[300]27          src/lib/Makefile src/libvtcross/swig/Makefile)
[161]28AC_OUTPUT
[300]29
Note: See TracBrowser for help on using the browser.