File: configure.in

package info (click to toggle)
skk 10.47.2.p1u-3
  • links: PTS
  • area: main
  • in suites: slink
  • size: 7,284 kB
  • ctags: 1,607
  • sloc: lisp: 11,786; ansic: 3,717; asm: 2,931; sh: 529; makefile: 357; awk: 172; sql: 169
file content (40 lines) | stat: -rw-r--r-- 950 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
AC_INIT(skkserv/skkserv.c)
AC_CONFIG_HEADER(config.h)

AC_SUBST(DBMLIB)
AC_SUBST(EMACS)
AC_SUBST(JISYO)
AC_SUBST(PRIVATE)

AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_MAKE_SET

AC_CHECK_LIB(socket, setsockopt, [LIBS="$LIBS -lsocket -lnsl"])

AC_CHECK_HEADERS(sys/ioctl.h fcntl.h malloc.h)

AC_HEADER_STDC
AC_PROG_GCC_TRADITIONAL
AC_FUNC_SETPGRP
AC_TYPE_SIGNAL
AC_CHECK_FUNCS(bzero tiocnotty getdtablesize)

AC_CHECK_FUNC(dbm_open, , [DBMLIB="-ldbm"])

AC_ARG_WITH(emacs,
[  --with-emacs=emacs      Set Emacs program name if you use other Emacs],
[EMACS="$withval"],
[EMACS="emacs"])

AC_ARG_WITH(jisyo,
[  --with-jisyo=jisyo      Select jisyo file name (default is SKK-JISYO.L)],
[JISYO="$withval"],
[JISYO="SKK-JISYO.L"])

AC_ARG_ENABLE(private,
[  --enable-private        Make private skkserver if you can't be a superuser],
[PRIVATE="-DPRIVATE"])

AC_OUTPUT(Makefile skkserv/Makefile jisyo-tools/Makefile
          lisp/Makefile doc/Makefile etc/Makefile)