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 | |
---|
1 | AC_INIT(src/core/RpLibrary.cc) |
---|
2 | |
---|
3 | VERSION=0.0.1 |
---|
4 | |
---|
5 | #------------------------------------------------------------------------ |
---|
6 | # Handle the --prefix=... option |
---|
7 | #------------------------------------------------------------------------ |
---|
8 | |
---|
9 | if test "${prefix}" = "NONE"; then |
---|
10 | prefix=/usr/local |
---|
11 | fi |
---|
12 | if test "${exec_prefix}" = "NONE"; then |
---|
13 | exec_prefix=$prefix |
---|
14 | fi |
---|
15 | |
---|
16 | # AC_PROG_INSTALL |
---|
17 | AC_PROG_MAKE_SET |
---|
18 | |
---|
19 | dnl find and test the C compiler |
---|
20 | AC_PROG_CC |
---|
21 | AC_LANG_C |
---|
22 | |
---|
23 | AC_HEADER_STDC |
---|
24 | AC_CHECK_FUNC(atol,,AC_MSG_ERROR(oops! no atol ?!?)) |
---|
25 | |
---|
26 | AC_PROG_CXX |
---|
27 | AC_LANG_CPLUSPLUS |
---|
28 | |
---|
29 | AC_CHECK_LIB(stdc++, main,,AC_MSG_ERROR(librappture requires libstdc++)) |
---|
30 | AC_CHECK_HEADERS(stack,,AC_MSG_WARN(STL classes missing ?)) |
---|
31 | AC_CHECK_HEADERS(string,,AC_MSG_WARN(STL classes missing ?)) |
---|
32 | AC_CHECK_HEADERS(list,,AC_MSG_WARN(STL classes missing ?)) |
---|
33 | AC_CHECK_HEADERS(vector,,AC_MSG_WARN(STL classes missing ?)) |
---|
34 | |
---|
35 | AC_PROG_F77([f77 fort77 g77 f90 xlf xlf90 fl32]) |
---|
36 | |
---|
37 | AC_SUBST(VERSION) |
---|
38 | |
---|
39 | RP_BASE=`pwd` |
---|
40 | AC_SUBST(RP_BASE) |
---|
41 | |
---|
42 | dnl read Makefile.in and write Makefile |
---|
43 | AC_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.