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.7 - (show annotations) (download)
Thu Feb 17 12:45:04 2005 UTC (19 years, 1 month ago) by orrisroot
Branch: MAIN
Changes since 1.6: +2 -2 lines
added has lrand48() checking.

1 # Process this file with autoconf to produce a configure script.
2 AC_PREREQ(2.57)
3 AC_INIT(satellite, 4.21.1, okumura@brain.riken.go.jp)
4 AC_REVISION($Id: configure.in,v 1.6 2005/02/10 02:37:33 orrisroot 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_CXX
49 AC_PROG_CC
50 AC_PROG_CPP
51 AC_PROG_INSTALL
52 AC_PROG_LN_S
53 AC_PROG_MAKE_SET
54 AC_PROG_RANLIB
55 AC_PROG_YACC
56 AC_PROG_AWK
57 AC_LIBTOOL_DLOPEN
58 AC_PROG_LIBTOOL
59 AM_PROG_LEX
60 AC_SHLIBPATH_VAR
61
62 AC_C_BIGENDIAN
63 AM_MAINTAINER_MODE
64
65 # Checks for libraries.
66 # FIXME: Replace `main' with a function in `-lm':
67 AC_CHECK_LIB(m, sin)
68
69 # check pthread library
70 AM_PATH_PTHREAD
71 # check termcap library
72 AM_PATH_TERMCAP
73 # check X Toolkit
74 AM_PATH_XTOOLKIT
75
76 # FIXME: Replace `main' with a function in `-lsatellite':
77 #AC_CHECK_LIB([satellite], [main])
78 # FIXME: Replace `main' with a function in `-lslshell':
79 #AC_CHECK_LIB([slshell], [main])
80 AC_CHECK_LIB([dl], [dlopen])
81
82 # Checks for header files.
83 AC_HEADER_DIRENT
84 AC_HEADER_STDC
85 AC_HEADER_SYS_WAIT
86 AC_CHECK_HEADERS([fcntl.h float.h locale.h malloc.h stddef.h stdlib.h string.h strings.h sys/file.h sys/ioctl.h sys/param.h sys/time.h sys/timeb.h termios.h unistd.h \
87 vfork.h errno.h limits.h memory.h getopt.h pwd.h \
88 windows.h direct.h io.h process.h])
89
90 # Checks for typedefs, structures, and compiler characteristics.
91 AC_HEADER_STDBOOL
92 AC_C_CONST
93 AC_C_INLINE
94 AC_TYPE_PID_T
95 AC_TYPE_SIZE_T
96 AC_HEADER_TIME
97 AC_STRUCT_TM
98 AC_TYPE_UID_T
99 AC_CHECK_TYPE(time_t, long)
100
101 # Checks for library functions.
102 AC_FUNC_CLOSEDIR_VOID
103 AC_FUNC_FORK
104 AC_PROG_GCC_TRADITIONAL
105 AC_FUNC_LSTAT
106 AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK
107 AC_FUNC_MALLOC
108 AC_FUNC_MMAP
109 AC_FUNC_REALLOC
110 AC_TYPE_SIGNAL
111 AC_FUNC_STAT
112 AC_FUNC_STRTOD
113 AC_FUNC_VPRINTF
114 AC_CHECK_FUNCS([endpwent floor ftime getcwd gethostname gettimeofday memset mkdir munmap pow putenv rmdir setenv setlocale sqrt strchr strdup strpbrk strrchr strstr strtol lrand48 \
115 bzero memmove strerror strncpy snprintf lockf flock vsnprintf])
116
117 AC_CONFIG_FILES([Makefile
118 satellite4-config
119 lib/Makefile
120 lib/common/Makefile
121 lib/shell/Makefile
122 shell/Makefile
123 etc/Makefile
124 modules/Makefile
125 modules/util/Makefile
126 modules/system/Makefile
127 modules/ispp/Makefile
128 modules/gpm/Makefile
129 modules/gpm/lib/Makefile
130 modules/gpm/command/Makefile
131 modules/gpm/gpm2ps/Makefile
132 modules/gpm/gpmwin/Makefile
133 modules/bps/Makefile
134 modules/bps/command/Makefile
135 modules/ncs/Makefile
136 modules/ncs/lib/Makefile
137 modules/ncs/lib/common/Makefile
138 modules/ncs/lib/simulation/Makefile
139 modules/ncs/lib/main/Makefile
140 modules/ncs/command/Makefile
141 modules/ncs/ncspp/Makefile
142 modules/npe/Makefile
143 modules/npe/lib/Makefile
144 modules/npe/lib/common/Makefile
145 modules/npe/lib/estimation/Makefile
146 modules/npe/lib/user/Makefile
147 modules/npe/lib/ncs/Makefile
148 modules/npe/command/Makefile
149 modules/dcm/Makefile
150 modules/statistics/Makefile
151 modules/statistics/script/Makefile
152 modules/statistics/script/data/Makefile])
153 AC_OUTPUT

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