Develop and Download Open Source Software

Browse CVS Repository

Contents of /satellite/satellite4/configure.in

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1.1.1 - (show annotations) (download) (vendor branch)
Wed Mar 31 08:15:05 2004 UTC (20 years ago) by orrisroot
Branch: satellite4
CVS Tags: first
Changes since 1.1: +0 -0 lines
Import satellite version 4 current sources into CVS.

1 # Process this file with autoconf to produce a configure script.
2 AC_PREREQ(2.53)
3 AC_INIT(satellite, 4.21.1, okumura@brain.riken.go.jp)
4 AC_REVISION($Id: configure.in,v 1.40 2004/02/06 18:17:57 okumura Exp $)
5
6 AC_CONFIG_SRCDIR(satellite4-config.in)
7 AC_CONFIG_AUX_DIR(config)
8 AC_PREFIX_DEFAULT(/usr/local/satellite4)
9
10 AC_CANONICAL_TARGET
11 AM_INIT_AUTOMAKE(satellite, 4.21.1)
12 AM_CONFIG_HEADER(config.h)
13
14 sl4includedir=$includedir/satellite4
15 AC_SUBST(sl4includedir)
16
17 sl4libdir=$libdir
18 AC_SUBST(sl4libdir)
19
20 sl4libexecdir=$libexecdir/satellite4
21 AC_SUBST(sl4libexecdir)
22
23 docdir=$datadir/doc
24 AC_SUBST(docdir)
25 sl4docdir=$docdir/satellite4
26 AC_SUBST(sl4docdir)
27
28 sl4sharedir=$datadir/satellite4
29 AC_SUBST(sl4sharedir)
30
31 examplesdir=$datadir/examples/satellite4
32 AC_SUBST(examplesdir)
33
34 moduledir=$libdir/satellite4
35 AC_SUBST(moduledir)
36
37 systemrcdir=$sysconfdir/satellite4
38 AC_SUBST(systemrcdir)
39
40 modulercdir=$sysconfdir/satellite4
41 AC_SUBST(modulercdir)
42
43 MODULE_LDFLAGS='-no-undefined -module -avoid-version'
44 AC_SUBST(MODULE_LDFLAGS)
45
46 # Checks for programs.
47 AM_DISABLE_STATIC
48 AC_PROG_CC
49 AC_PROG_CXX
50 AC_PROG_YACC
51 AC_PROG_CPP
52 AC_PROG_INSTALL
53 AC_PROG_LN_S
54 AC_PROG_MAKE_SET
55 AC_PROG_MAKE_SET
56 AC_PROG_RANLIB
57 AC_PROG_AWK
58 AC_LIBTOOL_DLOPEN
59 AC_PROG_LIBTOOL
60 AM_PROG_LEX
61 AC_SHLIBPATH_VAR
62
63 AC_C_BIGENDIAN
64 AM_MAINTAINER_MODE
65
66 AM_PATH_PTHREAD
67
68 # Checks for libraries.
69 # FIXME: Replace `main' with a function in `-lm':
70 AC_CHECK_LIB(m, sin)
71
72 AC_CHECK_LIB(ncurses, tgetent, have_ncurses=yes, have_ncurses=no)
73 AC_CHECK_LIB(curses, tgetent, have_curses=yes, have_curses=no)
74 AC_CHECK_LIB(termcap, tgetent, have_termcap=yes, have_termcap=no)
75 TERMCAP_LIBS=""
76 if test x$have_ncurses = xyes; then
77 TERMCAP_LIBS="-lncurses"
78 elif test x$have_curses = xyes; then
79 TERMCAP_LIBS="-lcurses"
80 elif test x$have_termcap = xyes; then
81 TERMCAP_LIBS="-ltermcap"
82 else
83 AC_MSG_ERROR([*** curses or termcap lib not installed - please install first ***])
84 fi
85 AC_SUBST(TERMCAP_LIBS)
86
87 # FIXME: Replace `main' with a function in `-lsatellite':
88 #AC_CHECK_LIB([satellite], [main])
89 # FIXME: Replace `main' with a function in `-lslshell':
90 #AC_CHECK_LIB([slshell], [main])
91 AC_CHECK_LIB([dl], [dlopen])
92
93 # Checks for header files.
94 AC_PATH_X
95 AC_HEADER_DIRENT
96 AC_HEADER_STDC
97 AC_HEADER_SYS_WAIT
98 AC_CHECK_HEADERS([vfork.h errno.h fcntl.h float.h limits.h \
99 malloc.h memory.h stdlib.h string.h strings.h \
100 sys/ioctl.h sys/file.h sys/param.h sys/time.h \
101 sys/timeb.h termios.h unistd.h ncurses.h termcap.h \
102 curses.h term.h getopt.h pwd.h \
103 windows.h direct.h io.h process.h])
104
105 # Checks for typedefs, structures, and compiler characteristics.
106 AC_C_CONST
107 AC_C_INLINE
108 AC_TYPE_SIZE_T
109 AC_HEADER_TIME
110 AC_STRUCT_TM
111 AC_TYPE_UID_T
112 AC_CHECK_TYPE(time_t, long)
113
114 # Checks for library functions.
115 AC_FUNC_ERROR_AT_LINE
116 AC_FUNC_FORK
117 AC_PROG_GCC_TRADITIONAL
118 AC_FUNC_LSTAT
119 AC_FUNC_MALLOC
120 AC_FUNC_MMAP
121 AC_TYPE_SIGNAL
122 AC_FUNC_STAT
123 AC_FUNC_VPRINTF
124 AC_CHECK_FUNCS([bzero endpwent floor ftime getcwd gethostname gettimeofday memmove memset mkdir pow putenv rmdir setenv sqrt strchr strdup strerror strpbrk strrchr strstr strtol strncpy snprintf lockf flock vsnprintf])
125
126 AC_CONFIG_FILES([Makefile
127 satellite4-config
128 lib/Makefile
129 lib/common/Makefile
130 lib/shell/Makefile
131 shell/Makefile
132 etc/Makefile
133 modules/Makefile
134 modules/util/Makefile
135 modules/system/Makefile
136 modules/ispp/Makefile
137 modules/ncs/Makefile
138 modules/ncs/lib/Makefile
139 modules/ncs/lib/common/Makefile
140 modules/ncs/lib/simulation/Makefile
141 modules/ncs/lib/main/Makefile
142 modules/ncs/command/Makefile
143 modules/ncs/ncspp/Makefile
144 modules/npe/Makefile
145 modules/npe/lib/Makefile
146 modules/npe/lib/common/Makefile
147 modules/npe/lib/estimation/Makefile
148 modules/npe/lib/user/Makefile
149 modules/npe/lib/ncs/Makefile
150 modules/npe/command/Makefile
151 modules/dcm/Makefile
152 modules/statistics/Makefile
153 modules/statistics/script/Makefile
154 modules/statistics/script/data/Makefile])
155
156 AC_CONFIG_SUBDIRS(modules/gpm-gtk)
157
158 AC_OUTPUT

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26