Develop and Download Open Source Software

Browse CVS Repository

Contents of /freewnn/FreeWnn/configure.in

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


Revision 1.5 - (show annotations) (download)
Sun Jan 16 06:37:13 2000 UTC (24 years, 3 months ago) by ura
Branch: MAIN
CVS Tags: freewnn-1-1-1-a004
Changes since 1.4: +48 -4 lines
FreeWnn-1.1.1-a004 is released.

1 dnl
2 dnl $Id: configure.in,v 1.1 1999/08/15 16:03:26 frkwtto Exp frkwtto $
3 dnl
4
5 dnl FreeWnn is a network-extensible Kana-to-Kanji conversion system.
6 dnl This file is part of FreeWnn.
7 dnl
8 dnl Copyright Kyoto University Research Institute for Mathematical Sciences
9 dnl 1987, 1988, 1989, 1990, 1991, 1992
10 dnl Copyright OMRON Corporation. 1987, 1988, 1989, 1990, 1991, 1992, 1999
11 dnl Copyright ASTEC, Inc. 1987, 1988, 1989, 1990, 1991, 1992
12 dnl
13 dnl Author: OMRON SOFTWARE Co., Ltd. <freewnn@rd.kyoto.omronsoft.co.jp>
14 dnl
15 dnl This program is free software; you can redistribute it and/or modify
16 dnl it under the terms of the GNU General Public License as published by
17 dnl the Free Software Foundation; either version 2, or (at your option)
18 dnl any later version.
19 dnl
20 dnl This program is distributed in the hope that it will be useful,
21 dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
22 dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 dnl GNU General Public License for more details.
24 dnl
25 dnl You should have received a copy of the GNU General Public License
26 dnl along with GNU Emacs; see the file COPYING. If not, write to the
27 dnl Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
28 dnl
29 dnl Commentary:
30 dnl
31 dnl Change log:
32 dnl
33 dnl Last modified date: 22,Mar.1999
34 dnl
35
36
37 dnl
38 dnl Process this file with autoconf to produce a configure script.
39 dnl
40 AC_INIT(Wnn/conv/cvt_head.h)
41
42 dnl
43 dnl srcdir ������������������������������������������������������������
44 dnl ���������� Makefile.in ��������������������������������������������
45 dnl ��������������
46 dnl
47 case "$top_srcdir" in
48 .) abs_top_srcdir=`pwd` ;;
49 /*) abs_top_srcdir=top_srcdir;;
50 *) # Relative path.
51 abs_top_srcdir=`pwd`$ac_dots$ac_given_srcdir ;;
52 esac
53 AC_SUBST(abs_top_srcdir)
54
55
56
57 dnl
58 dnl Checks for cc and cpp.
59 dnl
60 AC_PROG_CC
61 AC_MSG_CHECKING(for cpp)
62 hosttype=`uname`
63 CCOPTIONS=""
64 CDEBUGFLAGS=-O
65 case $hosttype in
66 "Linux")
67 CCOPTIONS="-Dlinux -D_POSIX_SOURCE -D_BSD_SOURCE"
68 CDEBUGFLAGS="-O2 -fno-strength-reduce"
69 if test -x /lib/cpp; then
70 CPP=/lib/cpp
71 fi
72 ;;
73 "FreeBSD"|"NetBSD"|"OpenBSD")
74 CCOPTIONS="-DCSRG_BASED"
75 CDEBUGFLAGS="-O2 -fno-strength-reduce"
76 if test -x /usr/libexec/cpp; then
77 CPP=/usr/libexec/cpp
78 fi
79 ;;
80 "BSD/OS")
81 CCOPTIONS="-DCSRG_BASED"
82 CDEBUGFLAGS="-O2 -fno-strength-reduce"
83 if test -x /usr/bin/cpp; then
84 CPP=/usr/bin/cpp
85 fi
86 ;;
87 "SunOS")
88 case `uname -r` in
89 4.*)
90 if test $CC = gcc; then
91 CDEBUGFLAGS=-O2
92 CCOPTIONS="-Dsun -Dsparc"
93 else
94 CDEBUGFLAGS=-O4
95 CCOPTIONS=""
96 fi
97 CPP=/usr/lib/cpp
98 ;;
99 5.*)
100 if test $CC = gcc; then
101 CDEBUGFLAGS=-O2
102 CCOPTIONS="-Dsun -Dsparc -DSVR4 -DSYSV"
103 else
104 CCOPTIONS="-Xc -xF -xcg92 -Dsun -Dsparc -DSVR4 -DSYSV"
105 fi
106 if test -x /usr/ccs/lib/cpp; then
107 CPP=/usr/ccs/lib/cpp
108 fi
109 ;;
110 *)
111 AC_MSG_ERROR("This system is not supported.")
112 ;;
113 esac
114 ;;
115 "HP-UX")
116 if test $CC = gcc; then
117 CDEBUGFLAGS=-O2
118 CCOPTIONS="-Dhpux -DSYSV"
119 else
120 CCOPTIONS="-Ae -Dhpux -DSYSV"
121 fi
122 case `uname -r` in
123 A.09.*)
124 if test -x /lib/cpp; then
125 CPP=/lib/cpp
126 fi
127 ;;
128 B.10.*|B.11.*)
129 if test -x /opt/langtools/lbin/cpp; then
130 CPP=/opt/langtools/lbin/cpp
131 fi
132 ;;
133 *)
134 AC_MSG_ERROR("This system is not supported.")
135 ;;
136 esac
137 ;;
138 "BeOS")
139 case `uname -m` in
140 "BePC")
141 CCOPTIONS="-DBEOS -D_POSIX_SOURCE -D_BSD_SOURCE"
142 CDEBUGFLAGS="-O2 -fno-strength-reduce"
143 if test -x /boot/develop/tools/gnupro/lib/gcc-lib/i586-beos/2.9-beos-980929/cpp; then
144 CPP=/boot/develop/tools/gnupro/lib/gcc-lib/i586-beos/2.9-beos-980929/cpp
145 fi
146 ;;
147 "BeBox"|"BeMac")
148 CCOPTIONS="-DBEOS -D_POSIX_SOURCE -D_BSD_SOURCE"
149 NON_GNU_CPP=/boot/apps/GeekGadgets/bin/cpp
150 ;;
151 *)
152 { echo "configure: error: "This system is not supported."" 1>&2; exit 1; }
153 ;;
154 esac
155 ;;
156 *)
157 AC_MSG_ERROR("This system is not supported.")
158 ;;
159 esac
160 AC_PROG_CPP
161
162 dnl
163 dnl Checks for programs.
164 dnl
165 AC_PROG_YACC
166 AC_PROG_LEX
167 AC_PROG_INSTALL
168 AC_PROG_LN_S
169 AC_PROG_MAKE_SET
170 AC_PROG_RANLIB
171 AC_SUBST(CCOPTIONS)
172 AC_SUBST(CDEBUGFLAGS)
173
174 dnl Checks for libraries.
175 dnl Replace `main' with a function in -lFS:
176 AC_CHECK_LIB(FS, main)
177 dnl Replace `main' with a function in -lFresco:
178 AC_CHECK_LIB(Fresco, main)
179 dnl Replace `main' with a function in -lICE:
180 AC_CHECK_LIB(ICE, main)
181 dnl Replace `main' with a function in -lPEX5:
182 AC_CHECK_LIB(PEX5, main)
183 dnl Replace `main' with a function in -lSM:
184 AC_CHECK_LIB(SM, main)
185 dnl Replace `main' with a function in -lX11:
186 AC_CHECK_LIB(X11, main)
187 dnl Replace `main' with a function in -lXIE:
188 AC_CHECK_LIB(XIE, main)
189 dnl Replace `main' with a function in -lXau:
190 AC_CHECK_LIB(Xau, main)
191 dnl Replace `main' with a function in -lXaw:
192 AC_CHECK_LIB(Xaw, main)
193 dnl Replace `main' with a function in -lXbsd:
194 AC_CHECK_LIB(Xbsd, main)
195 dnl Replace `main' with a function in -lXdmcp:
196 AC_CHECK_LIB(Xdmcp, main)
197 dnl Replace `main' with a function in -lXext:
198 AC_CHECK_LIB(Xext, main)
199 dnl Replace `main' with a function in -lXi:
200 AC_CHECK_LIB(Xi, main)
201 dnl Replace `main' with a function in -lXmu:
202 AC_CHECK_LIB(Xmu, main)
203 dnl Replace `main' with a function in -lXt:
204 AC_CHECK_LIB(Xt, main)
205 dnl Replace `main' with a function in -lXtf:
206 AC_CHECK_LIB(Xtf, main)
207 dnl Replace `main' with a function in -lXtst:
208 AC_CHECK_LIB(Xtst, main)
209 dnl Replace `main' with a function in -lcurses:
210 AC_CHECK_LIB(curses, main)
211 dnl Replace `main' with a function in -lfl:
212 AC_CHECK_LIB(fl, main)
213 dnl Replace `main' with a function in -lfont:
214 AC_CHECK_LIB(font, main)
215 dnl Replace `main' with a function in -loldX:
216 AC_CHECK_LIB(oldX, main)
217 dnl Replace `main' with a function in -lphigs:
218 AC_CHECK_LIB(phigs, main)
219 dnl Replace `main' with a function in -lxpg4:
220 AC_CHECK_LIB(xpg4, main)
221
222 AC_CHECK_LIB(crypt, main)
223 AC_CHECK_LIB(socket, main)
224 AC_CHECK_LIB(nsl, main)
225
226 dnl
227 dnl Checks for header files.
228 dnl
229 AC_PATH_X
230 AC_HEADER_STDC
231 AC_HEADER_SYS_WAIT
232 AC_CHECK_HEADERS(fcntl.h limits.h malloc.h sgtty.h strings.h sys/file.h sys/ioctl.h sys/time.h termio.h unistd.h)
233
234 dnl
235 dnl Checks for typedefs, structures, and compiler characteristics.
236 dnl
237 AC_TYPE_MODE_T
238 AC_HEADER_TIME
239
240 dnl
241 dnl Checks for library functions.
242 dnl
243 AC_PROG_GCC_TRADITIONAL
244 AC_FUNC_MEMCMP
245 AC_TYPE_SIGNAL
246 AC_FUNC_WAIT3
247 AC_CHECK_FUNCS(gethostname mkdir select socket strtol)
248
249 dnl
250 dnl
251 dnl
252 AC_CONFIG_HEADER(config.h)
253
254 dnl
255 dnl Creating Makefiles.
256 dnl
257 AC_OUTPUT(makerule.mk Wnn/man/2.env/wnn/Makefile Wnn/pubdic/Makefile cWnn/uum/Makefile cWnn/man/6.jutil/Makefile cWnn/man/Makefile Wnn/man/4.cmd/Makefile kWnn/uum/Makefile cWnn/td/rk/Makefile cWnn/include/Makefile Wnn/jd/rk.vi/Makefile Wnn/jd/Makefile Makefile kWnn/include/Makefile Wnn/ld/Makefile Wnn/man/2.env/dic/Makefile Wnn/man/2.env/Makefile Wnn/man/3.libwnn/Makefile Wnn/man/6.jutil/Makefile Wnn/uum/Makefile cWnn/man/1.intro/Makefile cWnn/conv/Makefile Wnn/jd/rk/Makefile cWnn/td/Makefile Wnn/man/Makefile cWnn/td/rk_z/Makefile kWnn/conv/Makefile cWnn/man/4.cmd/Makefile cWnn/jlib/Makefile Wnn/include/Makefile Wnn/jutil/Makefile kWnn/jlib/Makefile cWnn/cd/rk_z/Makefile cWnn/Makefile cWnn/cdic/Makefile cWnn/man/2.env/Makefile Wnn/man/3.libwnn/js_lib/Makefile Wnn/man/3.libwnn/rk_lib/Makefile Contrib/dic/gerodic/Makefile kWnn/Makefile cWnn/jserver/Makefile kWnn/kdic/Makefile cWnn/tdic/Makefile Wnn/romkan/Makefile cWnn/cd/Makefile cWnn/jutil/Makefile cWnn/romkan/Makefile kWnn/jserver/Makefile Wnn/Makefile Wnn/man/3.libwnn/jl_lib/Makefile kWnn/romkan/Makefile kWnn/jutil/Makefile Pubdic/Makefile Wnn/conv/Makefile cWnn/cd/rk/Makefile cWnn/td/rk_p/Makefile Wnn/jlib.V3/Makefile kWnn/kd/Makefile Wnn/ld/rk/Makefile cWnn/etc/Makefile Wnn/jlib/Makefile Wnn/jserver/Makefile Wnn/wnncons/dic/Makefile cWnn/cd/rk_p/Makefile kWnn/kd/rk/Makefile Wnn/wnncons/Makefile Wnn/man/3.libwnn/misc_lib/Makefile kWnn/etc/Makefile)

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