source: trunk/configure.in @ 492

Last change on this file since 492 was 492, checked in by dkearney, 18 years ago

adding new template for rappture app script, adjusted configure.in and Makefile.in to use rappture.in

File size: 1.3 KB
Line 
1AC_INIT(src/core/RpLibrary.cc)
2
3VERSION=0.0.1
4
5#------------------------------------------------------------------------
6# Handle the --prefix=... option
7#------------------------------------------------------------------------
8
9if test "${prefix}" = "NONE"; then
10    prefix=/usr/local
11fi
12if test "${exec_prefix}" = "NONE"; then
13    exec_prefix=$prefix
14fi
15
16# AC_PROG_INSTALL
17AC_PROG_MAKE_SET
18
19dnl find and test the C compiler
20AC_PROG_CC
21AC_LANG_C
22
23AC_HEADER_STDC
24AC_CHECK_FUNC(atol,,AC_MSG_ERROR(oops! no atol ?!?))
25
26AC_PROG_CXX
27AC_LANG_CPLUSPLUS
28
29AC_CHECK_LIB(stdc++, main,,AC_MSG_ERROR(librappture requires libstdc++))
30AC_CHECK_HEADERS(stack,,AC_MSG_WARN(STL classes missing ?))
31AC_CHECK_HEADERS(string,,AC_MSG_WARN(STL classes missing ?))
32AC_CHECK_HEADERS(list,,AC_MSG_WARN(STL classes missing ?))
33AC_CHECK_HEADERS(vector,,AC_MSG_WARN(STL classes missing ?))
34
35AC_PROG_F77([f77 fort77 g77 f90 xlf xlf90 fl32])
36
37AC_SUBST(VERSION)
38
39RP_BASE=`pwd`
40AC_SUBST(RP_BASE)
41
42dnl read Makefile.in and write Makefile
43AC_OUTPUT(  Makefile \
44            examples/app-fermi/cee/Makefile \
45            examples/app-fermi/fortran/Makefile \
46            examples/c-example/Makefile \
47            src/Makefile \
48            src/matlab/Makefile \
49            src/octave/Makefile \
50            gui/apps/rappture   )
Note: See TracBrowser for help on using the repository browser.