root/vtcross/trunk/configure.ac @ 453

Revision 453, 1.8 KB (checked in by trnewman, 15 years ago)

Fixed bug for older versions of automake where macro didnt propagate

Line 
1dnl Copyright 2009 Virginia Polytechnic Institute and State University 
2dnl
3dnl Licensed under the Apache License, Version 2.0 (the "License");
4dnl you may not use this file except in compliance with the License.
5dnl You may obtain a copy of the License at
6dnl
7dnl http://www.apache.org/licenses/LICENSE-2.0
8dnl
9dnl Unless required by applicable law or agreed to in writing, software
10dnl distributed under the License is distributed on an "AS IS" BASIS,
11dnl WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12dnl See the License for the specific language governing permissions and
13dnl limitations under the License.
14
15
16AC_INIT([cross], [0.1.1])
17AM_INIT_AUTOMAKE([cross], [0.1.1])
18AM_CONFIG_HEADER([src/include/vtcross/config.h])
19
20AC_CONFIG_MACRO_DIR([m4])
21
22AC_PROG_CC
23AC_PROG_CXX
24AC_PROG_SWIG
25AC_PROG_LIBTOOL
26AC_PROG_INSTALL
27
28AC_DISABLE_STATIC
29AM_PATH_PYTHON(2.6)
30SWIG_ENABLE_CXX
31SWIG_PYTHON
32
33AC_LANG_PUSH([C])
34AC_CHECK_LIB([sqlite3], [sqlite3_open], [], [AC_MSG_ERROR([Cannot find sqlite3 library!])])
35AC_LANG_POP
36
37
38# fix for older autotools that don't define these by default
39AC_SUBST(abs_top_srcdir)
40AC_SUBST(abs_top_builddir)
41
42
43AC_CONFIG_FILES(Makefile doc/Makefile src/Makefile src/shell/Makefile
44                src/shell/configs/Makefile src/libvtcross/Makefile
45                    src/cognitive_engines/Makefile src/cognitive_engines/CBR_CE/Makefile
46                src/cognitive_engines/OSSIE_DEMO_CE/Makefile src/cognitive_engines/DSA_CE/Makefile
47                src/policy_engines/Makefile src/service_management_layer/Makefile
48                src/lib/tinyxml/Makefile  src/lib/socketcomm/Makefile src/include/Makefile
49                src/include/vtcross/Makefile src/include/tinyxml/Makefile
50                src/lib/Makefile src/libvtcross/swig/Makefile)
51AC_OUTPUT
52
Note: See TracBrowser for help on using the browser.