Develop and Download Open Source Software

Browse CVS Repository

Annotation of /freewnn/FreeWnn/configure.in

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


Revision 1.17 - (hide annotations) (download)
Sun Sep 16 11:35:57 2001 UTC (22 years, 7 months ago) by hiroo
Branch: MAIN
Changes since 1.16: +114 -47 lines
Fixed some comment descriptions.
--enable-ipv6, --enable-unsafe-path, --enable-debug options, etc.

1 ura 1.1 dnl
2 hiroo 1.17 dnl $Id: configure.in,v 1.16 2001/08/14 13:43:20 hiroo Exp $
3 ura 1.1 dnl
4    
5 ura 1.12 dnl
6 ura 1.1 dnl FreeWnn is a network-extensible Kana-to-Kanji conversion system.
7     dnl This file is part of FreeWnn.
8 ura 1.12 dnl
9 ura 1.1 dnl Copyright Kyoto University Research Institute for Mathematical Sciences
10     dnl 1987, 1988, 1989, 1990, 1991, 1992
11     dnl Copyright OMRON Corporation. 1987, 1988, 1989, 1990, 1991, 1992, 1999
12     dnl Copyright ASTEC, Inc. 1987, 1988, 1989, 1990, 1991, 1992
13 hiroo 1.16 dnl Copyright FreeWnn Project 1999, 2000, 2001
14 ura 1.12 dnl
15     dnl Maintainer: FreeWnn Project <freewnn@tomo.gr.jp>
16     dnl
17 ura 1.1 dnl This program is free software; you can redistribute it and/or modify
18     dnl it under the terms of the GNU General Public License as published by
19 ura 1.12 dnl the Free Software Foundation; either version 2 of the License, or
20     dnl (at your option) any later version.
21     dnl
22 ura 1.1 dnl This program is distributed in the hope that it will be useful,
23     dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
24     dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25     dnl GNU General Public License for more details.
26 ura 1.12 dnl
27 ura 1.1 dnl You should have received a copy of the GNU General Public License
28 ura 1.12 dnl along with this program; if not, write to the Free Software
29     dnl Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
30 ura 1.1 dnl
31 ura 1.5
32 ura 1.1 dnl
33     dnl Process this file with autoconf to produce a configure script.
34     dnl
35     AC_INIT(Wnn/conv/cvt_head.h)
36 ura 1.10 AC_CONFIG_HEADER(config.h)
37 ura 1.1
38     dnl
39 ura 1.5 dnl srcdir ������������������������������������������������������������
40 hiroo 1.17 dnl ���������� Makefile.in ������������������
41     dnl �������������������������������� comment out ����������
42 ura 1.5 dnl
43 hiroo 1.17 dnl case "$top_srcdir" in
44     dnl .) abs_top_srcdir=`pwd` ;;
45     dnl /*) abs_top_srcdir=top_srcdir;;
46     dnl *) # Relative path.
47     dnl abs_top_srcdir=`pwd`$ac_dots$ac_given_srcdir ;;
48     dnl esac
49     dnl AC_SUBST(abs_top_srcdir)
50 ura 1.5
51 ura 1.15 dnl ====================================================================
52     dnl Check optional features
53     dnl ====================================================================
54 ura 1.5
55 hiroo 1.16 AC_CANONICAL_HOST
56 ura 1.15
57 hiroo 1.17 dnl build and install libraries, server or client
58 ura 1.15
59 hiroo 1.17 AC_ARG_ENABLE(debug,
60     [ --enable-debug enable debug options [default=no]],
61     [case "${enableval}" in
62     yes) debug=true ;;
63     no) debug=false ;;
64     *) AC_MSG_ERROR(bad value for --enable-debug)
65     esac], debug=false)
66 ura 1.15
67     AC_ARG_ENABLE(libraries,
68 hiroo 1.17 [ --enable-libraries build and install libraries [default=yes]],
69 ura 1.15 [case "${enableval}" in
70     yes) libraries=true ;;
71     no) libraries=false ;;
72     *) AC_MSG_ERROR(bad value for --enable-libraries) ;;
73     esac], libraries=true)
74    
75     AC_ARG_ENABLE(server,
76     [ --enable-server build and install server [default=yes]],
77     [case "${enableval}" in
78     yes) server=true ;;
79     no) server=false ;;
80     *) AC_MSG_ERROR(bad value for --enable-server) ;;
81     esac], server=true)
82    
83 hiroo 1.17 AC_ARG_ENABLE(client,
84     [ --enable-client build and install clients [default=no]],
85     [case "${enableval}" in
86     yes) client=true ;;
87     no) client=false ;;
88     *) AC_MSG_ERROR(bad value for --enable-client) ;;
89     esac], client=false)
90 ura 1.15
91     if test $libraries = true; then
92     SUBDIRS="\$(LIB_SUBDIRS)"
93     WNNMANDIR="\$(LIB_WNNMANDIR)"
94     fi
95     if test $server = true; then
96     SUBDIRS="$SUBDIRS \$(SERVER_SUBDIRS)"
97     WNNMANDIR="$WNNMANDIR \$(SERVER_WNNMANDIR)"
98     fi
99 hiroo 1.17 if test $client = true; then
100     SUBDIRS="$SUBDIRS \$(CLIENT_SUBDIRS)"
101     dnl currently client is only uum and its man is in SERVER_WNNMANDIR
102     dnl WNNMANDIR=$WNNMANDIR \$(CLIENT_WNNMANDIR)"
103     fi
104 ura 1.15
105     AC_SUBST(SUBDIRS)
106     AC_SUBST(WNNMANDIR)
107    
108     dnl For Severs
109    
110     AC_ARG_ENABLE(Wnn,
111 hiroo 1.17 [ --enable-Wnn build and install Wnn [default=yes]],
112 ura 1.15 [case "${enableval}" in
113     yes) Wnn="Wnn";;
114     no) Wnn="" ;;
115     *) AC_MSG_ERROR(bad value for --enable-Wnn) ;;
116     esac], Wnn="Wnn")
117     AC_SUBST(Wnn)
118    
119     if test "$server" = true -a "$Wnn" = Wnn; then
120 hiroo 1.16 # JSERVER_SUBDIRS1="\$(JSERVER_SUBDIRS1)"
121 ura 1.15 JSERVER_SUBDIRS2="\$(JSERVER_SUBDIRS2)"
122     else
123 hiroo 1.16 # JSERVER_SUBDIRS1=""
124 ura 1.15 JSERVER_SUBDIRS2=""
125     fi
126 hiroo 1.16 dnl AC_SUBST(JSERVER_SUBDIRS1)
127 ura 1.15 AC_SUBST(JSERVER_SUBDIRS2)
128    
129     AC_ARG_ENABLE(cWnn,
130 hiroo 1.17 [ --enable-cWnn build and install cWnn [default=yes]],
131 ura 1.15 [case "${enableval}" in
132     yes) cWnn="cWnn" ;;
133     no) cWnn="" ;;
134     *) AC_MSG_ERROR(bad value for --enable-cWnn) ;;
135     esac], cWnn="cWnn")
136     AC_SUBST(cWnn)
137    
138     AC_ARG_ENABLE(kWnn,
139 hiroo 1.17 [ --enable-kWnn build and install kWnn [default=yes]],
140 ura 1.15 [case "${enableval}" in
141     yes) kWnn="kWnn" ;;
142     no) kWnn="" ;;
143     *) AC_MSG_ERROR(bad value for --enable-kWnn) ;;
144     esac], kWnn="kWnn")
145     AC_SUBST(kWnn)
146    
147     dnl For a library libwnn
148    
149     dnl AC_ARG_WITH(libwnn,
150     dnl [ --with-libwnn use installed Wnn library [default=no]],
151     dnl [case "${withval}" in
152     dnl yes|no) with_libwnn=${withval};;
153     dnl *) AC_MSG_ERROR(invalid argument to --with-libwnn) ;;
154     dnl esac], with_libwnn=no)
155     dnl
156    
157     AC_ARG_WITH(libwnn,
158     [ --with-libwnn use installed Wnn library [default=no]],
159     [ with_libwnn="${withval}"
160     AC_ARG_WITH(wnn-includes,
161     [ --with-wnn-includes=DIR WNN include files are in DIR],
162     [wnnincludedir="-I${withval}"], [wnnincludedir=''])
163     AC_ARG_WITH(wnn-libraries,
164     [ --with-wnn-libraries=DIR Search for WNN libraries in DIR[default=/usr/local/lib]],
165     [wnnlibdir="${withval}"], [wnnlibdir='/usr/local/lib'])
166     if test "X${with_libwnn}" = X-lwnn; then
167     WNNJLIB="-L${wnnlibdir} -lwnn"
168     elif test X"`echo ${with_libwnn} | grep '^/.*'`" != X ; then
169     WNNJLIB="${with_libwnn}"
170     else
171     WNNJLIB="${wnnlibdir}/libwnn.a"
172     fi
173     DEPWNNJLIB=""
174     HINSI_DATA="\$(JWNNWNNDIR)/hinsi.data"
175     ],
176     [ WNNJLIB="\$(WNNJLIBSRC)/libwnn.la"
177     DEPWNNJLIB="\$(WNNJLIB)"
178     HINSI_DATA="\$(WNNJDSRC)/hinsi.data"
179     ])
180     AC_SUBST(WNNJLIB)
181     AC_SUBST(DEPWNNJLIB)
182     AC_SUBST(HINSI_DATA)
183    
184     AC_ARG_WITH(libcwnn,
185     [ --with-libcwnn use installed cWnn library [default=no]],
186     [
187     AC_ARG_WITH(cwnn-includes,
188     [ --with-cwnn-includes=DIR CWNN include files are in DIR],
189     [cwnnincludedir="-I${withval}"], [cwnnincludedir=''])
190     AC_ARG_WITH(cwnn-libraries,
191     [ --with-cwnn-libraries=DIR Search for CWNN libraries in DIR[default=/usr/local/lib]],
192     [cwnnlibdir="${withval}"], [cwnnlibdir='/usr/local/lib'])
193     if test "X${with_libcwnn}" = X-lcwnn; then
194     CWNNJLIB="-L${cwnnlibdir} -lcwnn"
195     elif test X"`echo ${with_libcwnn} | grep '^/.*'`" != X ; then
196     CWNNJLIB="${with_libcwnn}"
197     else
198     CWNNJLIB="${cwnnlibdir}/libcwnn.a"
199     fi
200     DEPCWNNJLIB=""
201     CHINSI_DATA="\$(CWNNWNNDIR)/cixing.data"
202     THINSI_DATA="\$(TWNNTDSRC)/cixing.data"
203     ],
204     [ CWNNJLIB="\$(CWNNJLIBSRC)/libcwnn.la"
205     DEPCWNNJLIB="\$(CWNNJLIB)"
206     CHINSI_DATA="\$(CWNNCDSRC)/cixing.data"
207     THINSI_DATA="\$(TWNNTDSRC)/cixing.data"
208     ])
209     AC_SUBST(CWNNJLIB)
210     AC_SUBST(DEPCWNNJLIB)
211     AC_SUBST(CHINSI_DATA)
212     AC_SUBST(THINSI_DATA)
213    
214     AC_ARG_WITH(libkwnn,
215     [ --with-libkwnn use installed kWnn library [default=no]],
216     [
217     AC_ARG_WITH(kwnn-includes,
218     [ --with-kwnn-includes=DIR KWNN include files are in DIR],
219     [kwnnincludedir="-I${withval}"], [kwnnincludedir=''])
220     AC_ARG_WITH(kwnn-libraries,
221     [ --with-kwnn-libraries=DIR Search for KWNN libraries in DIR[default=/usr/local/lib]],
222     [kwnnlibdir="${withval}"], [kwnnlibdir='/usr/local/lib'])
223     if test "X${with_libkwnn}" = X-lkwnn; then
224     KWNNJLIB="-L${kwnnlibdir} -lkwnn"
225     elif test X"`echo ${with_libkwnn} | grep '^/.*'`" != X ; then
226     KWNNJLIB="${with_libkwnn}"
227     else
228     KWNNJLIB="${kwnnlibdir}/libkwnn.a"
229     fi
230     DEPKWNNJLIB=""
231     KHINSI_DATA="\$(KWNNWNNDIR)/hinsi.data"
232     ],
233     [ KWNNJLIB="\$(KWNNJLIBSRC)/libkwnn.la"
234     DEPKWNNJLIB="\$(KWNNJLIB)"
235     KHINSI_DATA="\$(KWNNKDSRC)/hinsi.data"
236     ])
237     AC_SUBST(KWNNJLIB)
238     AC_SUBST(DEPKWNNJLIB)
239     AC_SUBST(KHINSI_DATA)
240 ura 1.5
241 hiroo 1.17 AC_ARG_ENABLE(ipv6,
242     [ --enable-ipv6 build and install IPv6 [default=no]],
243 hiroo 1.16 [case "${enableval}" in
244 hiroo 1.17 yes) ipv6="-DINET6";;
245     no) ipv6="" ;;
246     *) AC_MSG_ERROR(bad value for --enable-ipv6) ;;
247     esac], ipv6="")
248     AC_SUBST(ipv6)
249    
250     AC_ARG_ENABLE(unsafe-path,
251     [ --enable-unsafe-path allow creating files in an arbitrary path [default=no]],
252     [case "${enableval}" in
253     yes) unsafe_path = true;;
254     no) unsafe_path = false;;
255     *) AC_MSG_ERROR(bad value for --enable-unsafe-path) ;;
256     esac], unsafe_path=false)
257     AC_SUBST(unsafe_path)
258    
259     if test ${unsafe_path} = true; then
260     AC_DEFINE(WNN_ALLOW_UNSAFE_PATH)
261     fi
262 hiroo 1.16
263 ura 1.5 dnl
264 ura 1.1 dnl Checks for cc and cpp.
265     dnl
266     AC_PROG_CC
267 hiroo 1.16
268     dnl Use environment variable (if set). It will be overridden
269     dnl in supported system though...
270     CDEBUGFLAGS=${CDEBUGFLAGS:-"-O"}
271     case $host in
272     *-*-linux*)
273 ura 1.1 CCOPTIONS="-Dlinux -D_POSIX_SOURCE -D_BSD_SOURCE"
274 hiroo 1.17 if test $debug = true; then
275     CDEBUGFLAGS="-g2 -O2 -fno-strength-reduce"
276     else
277     CDEBUGFLAGS="-O2 -fno-strength-reduce"
278     fi
279 ura 1.1 ;;
280 hiroo 1.16 *-*-freebsd*|*-*-netbsd*|*-*-openbsd*)
281 ura 1.1 CCOPTIONS="-DCSRG_BASED"
282 hiroo 1.17 if test $debug = true; then
283     CDEBUGFLAGS="-g2 -O2 -fno-strength-reduce"
284     else
285     CDEBUGFLAGS="-O2 -fno-strength-reduce"
286     fi
287 ura 1.1 ;;
288 hiroo 1.16 *-*-bsdi*)
289 ura 1.3 CCOPTIONS="-DCSRG_BASED"
290 hiroo 1.17 if test $debug = true; then
291     CDEBUGFLAGS="-g2 -O2 -fno-strength-reduce"
292     else
293     CDEBUGFLAGS="-O2 -fno-strength-reduce"
294     fi
295 ura 1.3 ;;
296 hiroo 1.16 *-*-sunos*)
297 hiroo 1.17 if test `basename $CC` = gcc; then
298 ura 1.2 CCOPTIONS="-Dsun -Dsparc"
299 hiroo 1.17 if test $debug = true; then
300     CDEBUGFLAGS="-g2 -O2"
301     else
302     CDEBUGFLAGS=-O2
303     fi
304 ura 1.2 else
305 hiroo 1.17 CCOPTIONS=""
306 ura 1.2 CDEBUGFLAGS=-O4
307     fi
308     ;;
309 hiroo 1.16 *-*-solaris2.*)
310     # Will 'solaris*' be OK?
311 hiroo 1.17 if test `basename $CC` = gcc; then
312     CCOPTIONS="-Dsun -D`uname -p` -DSVR4 -DSYSV"
313     if test $debug = true; then
314     CDEBUGFLAGS="-g2 -O2"
315     else
316 ura 1.2 CDEBUGFLAGS=-O2
317 hiroo 1.17 fi
318 ura 1.2 else
319 hiroo 1.17 CCOPTIONS="-Xc -xF -xcg92 -Dsun -D`uname -p` -DSVR4 -DSYSV"
320     CDEBUGFLAGS=-O4
321 ura 1.2 fi
322 ura 1.4 ;;
323 hiroo 1.16 *-*-hpux*)
324 hiroo 1.17 if test `basename $CC` = gcc; then
325 ura 1.4 CCOPTIONS="-Dhpux -DSYSV"
326 hiroo 1.17 if test $debug = true; then
327     CDEBUGFLAGS="-g2 -O2"
328     else
329     CDEBUGFLAGS=-O2
330     fi
331 ura 1.4 else
332     CCOPTIONS="-Ae -Dhpux -DSYSV"
333     fi
334 ura 1.2 ;;
335 hiroo 1.16 i[[34567]]86-pc-beos*)
336 hiroo 1.17 CCOPTIONS="-DBEOS -D_POSIX_SOURCE -D_BSD_SOURCE"
337     if test $debug = true; then
338     CDEBUGFLAGS="-g2 -O2 -fno-strength-reduce"
339     else
340 ura 1.5 CDEBUGFLAGS="-O2 -fno-strength-reduce"
341 hiroo 1.17 fi
342 ura 1.5 ;;
343 hiroo 1.16 powerpc-*-beos*)
344 hiroo 1.17 CCOPTIONS="-DBEOS -D_POSIX_SOURCE -D_BSD_SOURCE"
345     if test $debug = true; then
346     CDEBUGFLAGS="-g2"
347     else
348     CDEBUGFLAGS=""
349     fi
350 ura 1.5 ;;
351 hiroo 1.16 *-*-aix*)
352 hiroo 1.17 if test `basename $CC` = gcc; then
353 ura 1.6 CDEBUGFLAGS=-O2
354 hiroo 1.17 if test $debug = true; then
355     CDEBUGFLAGS="-g2"
356     else
357     CDEBUGFLAGS=""
358     fi
359 ura 1.6 else
360     CDEBUGFLAGS=-O
361     fi
362     CCOPTIONS="-DSYSV"
363     ;;
364 ura 1.1 *)
365 ura 1.15 AC_MSG_WARN("It is not reported if FreeWnn works on this system. But continuing...")
366 hiroo 1.16 AC_MSG_WARN([(It may or may not work if you set CCOPTIONS properly.)])
367 ura 1.1 ;;
368     esac
369 hiroo 1.17
370     if test ${debug} = true; then
371     INSTPGMFLAGS =
372     else
373     INSTPGMFLAGS = -s
374     fi
375     AC_SUBST(INSTPGMFLAGS)
376 hiroo 1.16
377     echo "Set CDEBUGFLAGS and CCOPTIONS to following:"
378     echo ' CDEBUGFLAGS="'"$CDEBUGFLAGS"'"'
379     echo ' CCOPTIONS="'"$CCOPTIONS"'"'
380    
381     dnl ��������������������������������configure������������CPP������������
382     dnl ������������������������������������CPP������������������������
383     dnl ��CPP=${CPP:-"/usr/ccs/lib/cpp"}������������������������������������
384     dnl ����������������
385 ura 1.1 AC_PROG_CPP
386    
387     dnl
388     dnl Checks for programs.
389     dnl
390 ura 1.7 dnl ### AC_PROG_YACC
391     dnl ### AC_PROG_LEX
392 ura 1.5 AC_PROG_INSTALL
393 ura 1.1 AC_PROG_LN_S
394     AC_PROG_MAKE_SET
395 hiroo 1.16 AC_PROG_LIBTOOL
396     AC_SUBST(LIBTOOL_DEPS)
397 ura 1.1 AC_SUBST(CCOPTIONS)
398     AC_SUBST(CDEBUGFLAGS)
399    
400     dnl Checks for libraries.
401 ura 1.7 dnl ### dnl Replace `main' with a function in -lFS:
402     dnl ### AC_CHECK_LIB(FS, main)
403     dnl ### dnl Replace `main' with a function in -lFresco:
404     dnl ### AC_CHECK_LIB(Fresco, main)
405     dnl ### dnl Replace `main' with a function in -lICE:
406     dnl ### AC_CHECK_LIB(ICE, main)
407     dnl ### dnl Replace `main' with a function in -lPEX5:
408     dnl ### AC_CHECK_LIB(PEX5, main)
409     dnl ### dnl Replace `main' with a function in -lSM:
410     dnl ### AC_CHECK_LIB(SM, main)
411     dnl ### dnl Replace `main' with a function in -lX11:
412     dnl ### AC_CHECK_LIB(X11, main)
413     dnl ### dnl Replace `main' with a function in -lXIE:
414     dnl ### AC_CHECK_LIB(XIE, main)
415     dnl ### dnl Replace `main' with a function in -lXau:
416     dnl ### AC_CHECK_LIB(Xau, main)
417     dnl ### dnl Replace `main' with a function in -lXaw:
418     dnl ### AC_CHECK_LIB(Xaw, main)
419     dnl ### dnl Replace `main' with a function in -lXbsd:
420     dnl ### AC_CHECK_LIB(Xbsd, main)
421     dnl ### dnl Replace `main' with a function in -lXdmcp:
422     dnl ### AC_CHECK_LIB(Xdmcp, main)
423     dnl ### dnl Replace `main' with a function in -lXext:
424     dnl ### AC_CHECK_LIB(Xext, main)
425     dnl ### dnl Replace `main' with a function in -lXi:
426     dnl ### AC_CHECK_LIB(Xi, main)
427     dnl ### dnl Replace `main' with a function in -lXmu:
428     dnl ### AC_CHECK_LIB(Xmu, main)
429     dnl ### dnl Replace `main' with a function in -lXt:
430     dnl ### AC_CHECK_LIB(Xt, main)
431     dnl ### dnl Replace `main' with a function in -lXtf:
432     dnl ### AC_CHECK_LIB(Xtf, main)
433     dnl ### dnl Replace `main' with a function in -lXtst:
434     dnl ### AC_CHECK_LIB(Xtst, main)
435     dnl ### dnl Replace `main' with a function in -lcurses:
436     dnl ### AC_CHECK_LIB(curses, main)
437     dnl ### dnl Replace `main' with a function in -lfl:
438     dnl ### AC_CHECK_LIB(fl, main)
439     dnl ### dnl Replace `main' with a function in -lfont:
440     dnl ### AC_CHECK_LIB(font, main)
441     dnl ### dnl Replace `main' with a function in -loldX:
442     dnl ### AC_CHECK_LIB(oldX, main)
443     dnl ### dnl Replace `main' with a function in -lphigs:
444     dnl ### AC_CHECK_LIB(phigs, main)
445     dnl ### dnl Replace `main' with a function in -lxpg4:
446     dnl ### AC_CHECK_LIB(xpg4, main)
447 ura 1.1
448 ura 1.9 AC_CHECK_LIB(crypt, crypt)
449     AC_CHECK_LIB(socket, connect)
450     AC_CHECK_LIB(nsl, gethostbyname)
451 ura 1.1
452     dnl
453     dnl Checks for header files.
454     dnl
455     AC_PATH_X
456     AC_HEADER_STDC
457     AC_HEADER_SYS_WAIT
458 ura 1.15 AC_CHECK_HEADERS(fcntl.h limits.h malloc.h sgtty.h strings.h termio.h unistd.h)
459     AC_CHECK_HEADERS(sys/file.h sys/ioctl.h sys/time.h sys/types.h sys/param.h)
460 ura 1.1
461     dnl
462     dnl Checks for typedefs, structures, and compiler characteristics.
463     dnl
464     AC_TYPE_MODE_T
465     AC_HEADER_TIME
466 ura 1.10 AC_CHECK_TYPE(time_t, long)
467 ura 1.13
468     dnl
469     dnl socklen_t �� sys/socket.h �� bits/socket.h ����������������������
470     dnl AC_CHECK_TYPE ����������������
471     dnl
472     AC_MSG_CHECKING(for socklen_t)
473     AC_EGREP_CPP(socklen_t, [#include <sys/socket.h>], AC_MSG_RESULT(yes),
474     [
475     AC_DEFINE(socklen_t, int)
476     AC_MSG_RESULT(no)
477     ])
478 ura 1.10
479     dnl
480     dnl Checks for symbol
481     dnl
482    
483     AC_MSG_CHECKING(for RAND_MAX)
484     AC_EGREP_CPP(yes,
485     [#include <stdlib.h>
486     #ifdef RAND_MAX
487     yes
488     #endif
489     ],AC_DEFINE(HAVE_RAND_MAX))
490 ura 1.1
491     dnl
492     dnl Checks for library functions.
493     dnl
494     AC_PROG_GCC_TRADITIONAL
495     AC_FUNC_MEMCMP
496     AC_TYPE_SIGNAL
497     AC_FUNC_WAIT3
498     AC_CHECK_FUNCS(gethostname mkdir select socket strtol)
499 ura 1.10 AC_CHECK_FUNCS(drand48)
500 ura 1.11 AC_CHECK_FUNCS(perror)
501 ura 1.14 AC_CHECK_FUNCS(closesocket setsockopt send recv)
502     AC_CHECK_FUNC(setpgrp)
503     AC_FUNC_SETPGRP
504 ura 1.1
505 ura 1.5
506     dnl
507 ura 1.1 dnl Creating Makefiles.
508     dnl
509 ura 1.8 AC_OUTPUT(makerule.mk Wnn/man/2.env/wnn/Makefile Wnn/pubdicplus/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 PubdicPlus/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