update for HEAD-2003021201
[reactos.git] / subsys / win32k / freetype / builds / unix / configure.in
1 dnl This file is part of the FreeType project.
2 dnl
3 dnl Process this file with autoconf to produce a configure script.
4 dnl
5
6 AC_INIT(ftconfig.in)
7
8 dnl Configuration file -- stay in 8.3 limit
9 AC_CONFIG_HEADER(ftconfig.h:ftconfig.in)
10
11 version_info='6:0:0'
12 AC_SUBST(version_info)
13
14 dnl checks for system type
15 AC_CANONICAL_SYSTEM
16
17 dnl checks for programs
18 AC_PROG_CC
19 AC_PROG_CPP
20
21 dnl get Compiler flags right.
22 if test "x$CC" = xgcc; then
23   XX_CFLAGS="-Wall"
24   XX_ANSIFLAGS="-pedantic -ansi"
25 else
26   case "$host" in
27     *-dec-osf*)
28       XX_CFLAGS="-std1 -O2 -g3"
29       XX_ANSIFLAGS=
30       ;;
31     *)
32       XX_CFLAGS=
33       XX_ANSIFLAGS=
34       ;;
35   esac
36 fi
37 AC_SUBST(XX_CFLAGS)
38 AC_SUBST(XX_ANSIFLAGS)
39
40 AC_CHECK_PROG(RMF, rm, rm -f)
41 AC_CHECK_PROG(RMDIR, rmdir, rmdir)
42 AC_PROG_INSTALL
43
44 dnl checks for header files
45 AC_HEADER_STDC
46 AC_CHECK_HEADERS(fcntl.h unistd.h)
47
48 dnl checks for typedefs, structures, and compiler characteristics
49 AC_C_CONST
50 AC_CHECK_SIZEOF(int)
51 AC_CHECK_SIZEOF(long)
52
53 dnl Checks for library functions.
54
55 dnl Here we check whether we can use our mmap file component.
56 AC_FUNC_MMAP
57 if test "$ac_cv_func_mmap_fixed_mapped" != yes; then
58   FTSYS_SRC='$(BASE_)ftsystem.c'
59 else
60   FTSYS_SRC='$(BUILD)/ftsystem.c'
61 fi
62 AC_SUBST(FTSYS_SRC)
63
64 AC_CHECK_FUNCS(memcpy memmove)
65
66 AM_PROG_LIBTOOL
67
68 dnl create the Unix-specific sub-Makefile `builds/unix/unix.mk' that will be
69 dnl used by the build system
70 dnl
71 AC_OUTPUT(unix.mk:unix.in)
72
73
74 dnl end of configure.in