File: configure.in

package info (click to toggle)
skkdic 20011121-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 12,436 kB
  • ctags: 16
  • sloc: asm: 3,307; makefile: 158; sh: 82; awk: 27
file content (49 lines) | stat: -rw-r--r-- 1,107 bytes parent folder | download
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
41
42
43
44
45
46
47
48
49
dnl Process this file with autoconf to produce a configure script.
AC_INIT()

AC_ARG_WITH(temp_dir,
  [  --with-temp-dir=DIR     directory where temporary files will go],
  temp_dir="$withval", temp_dir="")
if test x$temp_dir = x ; then
	temp_dir="."
fi

AC_SUBST(temp_dir)

dnl Checks for programs.
AC_PATH_PROG(grep, grep)
AC_PATH_PROG(rm, rm)
AC_PATH_PROG(wget, wget)
AC_PATH_PROG(lha, lha)
AC_PATH_PROG(skkdic_expr, skkdic-expr)
AC_PATH_PROG(skkdic_sort, skkdic-sort)

AC_ARG_WITH(emacs,
  [  --with-emacs=PROG       file name of Emacs],
  emacs="$withval", emacs="")

if test x$emacs != x ; then
   AC_PATH_PROG(emacs, $emacs)
else
   AC_PATH_PROG(emacs, emacs)
fi

if test x$ac_cv_path_skkdic_expr = x || test x$ac_cv_path_skkdic_sort = x; then
   echo " "
   echo "Error: SKK Tools are not found." >&2 && exit 1
fi

if test x$ac_cv_path_emacs = x; then
   echo " "
   echo "Error: Emacs is not found." >&2 && exit 1
fi

dnl Checks for libraries.

dnl Checks for header files.

dnl Checks for typedefs, structures, and compiler characteristics.

dnl Checks for library functions.

AC_OUTPUT(Makefile)