1 |
# Process this file with autoconf to produce a configure script. |
# Process this file with autoconf to produce a configure script. |
2 |
|
|
3 |
# Copyright (C) 2002 Yoshinori K. Okuji <okuji@enbug.org> |
# Copyright (C) 2002,2003 Yoshinori K. Okuji <okuji@enbug.org> |
4 |
# |
# |
5 |
# This configure.ac is free software; the author |
# This configure.ac is free software; the author |
6 |
# gives unlimited permission to copy and/or distribute it, |
# gives unlimited permission to copy and/or distribute it, |
117 |
CC="$BUILD_CC" |
CC="$BUILD_CC" |
118 |
CFLAGS="$BUILD_CFLAGS" |
CFLAGS="$BUILD_CFLAGS" |
119 |
CPPFLAGS="$BUILD_CPPFLAGS" |
CPPFLAGS="$BUILD_CPPFLAGS" |
120 |
|
|
121 |
|
# Identify characteristics of the build architecture. |
122 |
AC_C_BIGENDIAN |
AC_C_BIGENDIAN |
123 |
AC_CHECK_SIZEOF(void *) |
AC_CHECK_SIZEOF(void *) |
124 |
AC_CHECK_SIZEOF(long) |
AC_CHECK_SIZEOF(long) |
125 |
|
|
126 |
|
# Check LZO. |
127 |
|
AC_CHECK_LIB(lzo, __lzo_init2, , |
128 |
|
AC_MSG_ERROR([LZO library version 1.02 or later is required])) |
129 |
|
AC_CHECK_FUNC(lzo1x_999_compress, , |
130 |
|
[AC_MSG_ERROR([LZO1X-999 must be enabled])]) |
131 |
|
|
132 |
CC="$tmp_CC" |
CC="$tmp_CC" |
133 |
CFLAGS="$tmp_CFLAGS" |
CFLAGS="$tmp_CFLAGS" |
134 |
CPPFLAGS="$tmp_CPPFLAGS" |
CPPFLAGS="$tmp_CPPFLAGS" |