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