Develop and Download Open Source Software

Browse CVS Repository

Annotation of /satellite/satellite4/configure.in

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


Revision 1.9 - (hide annotations) (download)
Mon Oct 24 15:03:11 2005 UTC (18 years, 5 months ago) by orrisroot
Branch: MAIN
Changes since 1.8: +3 -6 lines
updated autotools versions.
supported 'make dist' command.

1 orrisroot 1.1 # Process this file with autoconf to produce a configure script.
2 orrisroot 1.9 AC_PREREQ(2.59)
3 orrisroot 1.8 AC_INIT(satellite, 4.2.2, okumura@brain.riken.go.jp)
4 orrisroot 1.9 AC_REVISION($Id: configure.in,v 1.8 2005/02/18 13:46:06 orrisroot Exp $)
5 orrisroot 1.1
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 orrisroot 1.9 AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
12 orrisroot 1.1 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     # Checks for programs.
44     AM_DISABLE_STATIC
45 orrisroot 1.2 AC_PROG_CXX
46 orrisroot 1.1 AC_PROG_CC
47     AC_PROG_CPP
48     AC_PROG_INSTALL
49     AC_PROG_LN_S
50     AC_PROG_MAKE_SET
51     AC_PROG_RANLIB
52 orrisroot 1.2 AC_PROG_YACC
53 orrisroot 1.1 AC_PROG_AWK
54     AC_LIBTOOL_DLOPEN
55     AC_PROG_LIBTOOL
56     AM_PROG_LEX
57     AC_SHLIBPATH_VAR
58    
59     AC_C_BIGENDIAN
60     AM_MAINTAINER_MODE
61    
62     # Checks for libraries.
63     # FIXME: Replace `main' with a function in `-lm':
64     AC_CHECK_LIB(m, sin)
65    
66 orrisroot 1.4 # check pthread library
67     AM_PATH_PTHREAD
68 orrisroot 1.3 # check termcap library
69     AM_PATH_TERMCAP
70 orrisroot 1.4 # check X Toolkit
71     AM_PATH_XTOOLKIT
72 orrisroot 1.1
73     # FIXME: Replace `main' with a function in `-lsatellite':
74     #AC_CHECK_LIB([satellite], [main])
75     # FIXME: Replace `main' with a function in `-lslshell':
76     #AC_CHECK_LIB([slshell], [main])
77     AC_CHECK_LIB([dl], [dlopen])
78    
79     # Checks for header files.
80     AC_HEADER_DIRENT
81     AC_HEADER_STDC
82     AC_HEADER_SYS_WAIT
83 orrisroot 1.2 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 \
84     vfork.h errno.h limits.h memory.h getopt.h pwd.h \
85 orrisroot 1.1 windows.h direct.h io.h process.h])
86    
87     # Checks for typedefs, structures, and compiler characteristics.
88 orrisroot 1.2 AC_HEADER_STDBOOL
89 orrisroot 1.1 AC_C_CONST
90     AC_C_INLINE
91 orrisroot 1.2 AC_TYPE_PID_T
92 orrisroot 1.1 AC_TYPE_SIZE_T
93     AC_HEADER_TIME
94     AC_STRUCT_TM
95     AC_TYPE_UID_T
96     AC_CHECK_TYPE(time_t, long)
97    
98     # Checks for library functions.
99 orrisroot 1.2 AC_FUNC_CLOSEDIR_VOID
100 orrisroot 1.1 AC_FUNC_FORK
101     AC_PROG_GCC_TRADITIONAL
102     AC_FUNC_LSTAT
103 orrisroot 1.2 AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK
104 orrisroot 1.1 AC_FUNC_MALLOC
105     AC_FUNC_MMAP
106 orrisroot 1.2 AC_FUNC_REALLOC
107 orrisroot 1.1 AC_TYPE_SIGNAL
108     AC_FUNC_STAT
109 orrisroot 1.2 AC_FUNC_STRTOD
110 orrisroot 1.1 AC_FUNC_VPRINTF
111 orrisroot 1.7 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 \
112 orrisroot 1.2 bzero memmove strerror strncpy snprintf lockf flock vsnprintf])
113 orrisroot 1.1
114     AC_CONFIG_FILES([Makefile
115     satellite4-config
116     lib/Makefile
117     lib/common/Makefile
118     lib/shell/Makefile
119     shell/Makefile
120     etc/Makefile
121     modules/Makefile
122     modules/util/Makefile
123     modules/system/Makefile
124     modules/ispp/Makefile
125 orrisroot 1.2 modules/gpm/Makefile
126     modules/gpm/lib/Makefile
127     modules/gpm/command/Makefile
128     modules/gpm/gpm2ps/Makefile
129     modules/gpm/gpmwin/Makefile
130 orrisroot 1.5 modules/bps/Makefile
131     modules/bps/command/Makefile
132 orrisroot 1.1 modules/ncs/Makefile
133     modules/ncs/lib/Makefile
134     modules/ncs/lib/common/Makefile
135     modules/ncs/lib/simulation/Makefile
136     modules/ncs/lib/main/Makefile
137     modules/ncs/command/Makefile
138     modules/ncs/ncspp/Makefile
139     modules/npe/Makefile
140     modules/npe/lib/Makefile
141     modules/npe/lib/common/Makefile
142     modules/npe/lib/estimation/Makefile
143     modules/npe/lib/user/Makefile
144     modules/npe/lib/ncs/Makefile
145     modules/npe/command/Makefile
146     modules/dcm/Makefile
147     modules/statistics/Makefile
148     modules/statistics/script/Makefile
149     modules/statistics/script/data/Makefile])
150     AC_OUTPUT

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