blob: 9e190434224a113148e200e0b44195d124735956 (
plain)
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
50
51
52
53
54
55
56
57
58
|
dnl Process this file with autoconf to produce a configure script.
AC_INIT(hbf2gf/hbf.h)
AC_CONFIG_HEADERS([hbf2gf/c-auto.h:hbf2gf/c-auto.in])
dnl check host
AC_CANONICAL_SYSTEM
AC_PROG_MAKE_SET
dnl Checks for programs.
AC_PROG_CC
dnl Checks for header files.
AC_HEADER_STDC
dnl get Compiler flags right.
if test "x$CC" = xgcc; then
XX_CFLAGS="-Wall"
else
case "$host" in
alpha-dec-osf*)
XX_CFLAGS="-std1 -O2 -g3"
;;
*)
XX_CFLAGS=
;;
esac
fi
AC_SUBST(XX_CFLAGS)
dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_STRUCT_TM
dnl Checks for library functions.
AC_FUNC_VPRINTF
AC_CHECK_FUNCS(strdup strstr strtol strtoul)
dnl we need this for hbf.c
if test "x$ac_cv_func_strdup" = xno; then
no_strdup=-DNO_STRDUP
fi
AC_SUBST(no_strdup)
AC_CHECK_PROG(RM, rm, rm)
AC_PROG_INSTALL
sinclude(../kpathsea/withenable.ac)
AC_CONFIG_FILES([Makefile])
KPSE_CONFIG_FILES([conv/Makefile hbf2gf/Makefile scripts/Makefile])
AC_OUTPUT
date >stamp-auto
|