home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: SysTools
/
SysTools.zip
/
ft-beta.zip
/
freetype
/
configure.in
< prev
next >
Wrap
Text File
|
1997-10-06
|
1KB
|
53 lines
dnl This file is part of the FreeType project.
dnl
dnl Process this file with autoconf to produce a configure script.
AC_INIT(lib/freetype.h)
dnl Checks for system type.
AC_CANONICAL_SYSTEM
dnl Checks for programs.
AC_PROG_CC
dnl get Compiler flags right.
if test "x$CC" = xgcc; then
XX_CFLAGS="-Wall -pedantic -ansi"
else
case "$host" in
alpha-dec-osf*)
XX_CFLAGS="-std1 -O2 -g3"
;;
*)
XX_CFLAGS=
;;
esac
fi
AC_SUBST(XX_CFLAGS)
dnl Check for RANLIB.
AC_PROG_RANLIB
dnl Checks for libraries.
dnl Checks for header files.
AC_PATH_XTRA
AC_HEADER_STDC
AC_CHECK_HEADERS(fcntl.h unistd.h getopt.h)
dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_C_BIGENDIAN
AC_CHECK_SIZEOF(int)
AC_CHECK_SIZEOF(long)
dnl Checks for library functions.
AC_FUNC_MMAP
AC_CHECK_FUNCS(memcpy)
AC_REPLACE_FUNCS(basename)
AC_CONFIG_HEADER(ft_conf.h)
AC_OUTPUT(Makefile lib/Makefile test/Makefile)