19 |
|
|
20 |
AM_CONFIG_HEADER(include/config.h) |
AM_CONFIG_HEADER(include/config.h) |
21 |
|
|
|
AC_DEFINE(HAVE_INT32_DEFINED, 1, [Define to 1 if you have uint32_t]) |
|
|
AC_DEFINE(HAVE_BSD_INT32_DEFINED, 1, [Define to 1 if you have BSD u_int32_t]) |
|
|
AC_DEFINE(DEBUG, 1, [Define to 1 if you want native library runtime debugging code enabled]) |
|
22 |
AC_PREFIX_DEFAULT(/usr/local/classpath) |
AC_PREFIX_DEFAULT(/usr/local/classpath) |
23 |
|
|
24 |
dnl required if SUBDIRS is used |
dnl required if SUBDIRS is used |
89 |
if test "x${COMPILE_JNI}" = xyes; then |
if test "x${COMPILE_JNI}" = xyes; then |
90 |
AC_HEADER_STDC |
AC_HEADER_STDC |
91 |
AC_CHECK_HEADERS(unistd.h sys/types.h sys/config.h inttypes.h stdint.h) |
AC_CHECK_HEADERS(unistd.h sys/types.h sys/config.h inttypes.h stdint.h) |
92 |
AC_EGREP_HEADER(uint32_t, stdint.h, AC_DEFINE(HAVE_INT32_DEFINED)) |
AC_EGREP_HEADER(uint32_t, stdint.h, AC_DEFINE(HAVE_INT32_DEFINED, 1, [Define to 1 if you have uint32_t])) |
93 |
AC_EGREP_HEADER(uint32_t, inttypes.h, AC_DEFINE(HAVE_INT32_DEFINED)) |
AC_EGREP_HEADER(uint32_t, inttypes.h, AC_DEFINE(HAVE_INT32_DEFINED, 1, [Define to 1 if you have uint32_t])) |
94 |
AC_EGREP_HEADER(u_int32_t, sys/types.h, AC_DEFINE(HAVE_BSD_INT32_DEFINED)) |
AC_EGREP_HEADER(u_int32_t, sys/types.h, AC_DEFINE(HAVE_BSD_INT32_DEFINED, 1, [Define to 1 if you have BSD u_int32_t])) |
95 |
AC_EGREP_HEADER(u_int32_t, sys/config.h, AC_DEFINE(HAVE_BSD_INT32_DEFINED)) |
AC_EGREP_HEADER(u_int32_t, sys/config.h, AC_DEFINE(HAVE_BSD_INT32_DEFINED, 1, [Define to 1 if you have BSD u_int32_t])) |
96 |
|
|
97 |
AC_CHECK_FUNCS(gethostname socket strerror fork pipe execve open close lseek \ |
AC_CHECK_FUNCS(gethostname socket strerror fork pipe execve open close lseek \ |
98 |
fstat read write htonl memset htons connect getsockname sizeof getpeername \ |
fstat read write htonl memset htons connect getsockname sizeof getpeername \ |
169 |
[case "${enableval}" in |
[case "${enableval}" in |
170 |
yes) |
yes) |
171 |
LIBDEBUG="true" |
LIBDEBUG="true" |
172 |
AC_DEFINE(DEBUG) |
AC_DEFINE(DEBUG, 1, [Define to 1 if you want native library runtime debugging code enabled]) |
173 |
;; |
;; |
174 |
no) LIBDEBUG="false" ;; |
no) LIBDEBUG="false" ;; |
175 |
*) AC_MSG_ERROR(bad value ${enableval} for --enable-debug) ;; |
*) AC_MSG_ERROR(bad value ${enableval} for --enable-debug) ;; |