/[classpath]/classpath/configure.in
ViewVC logotype

Diff of /classpath/configure.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.106 by mark, Sun Oct 6 21:01:57 2002 UTC revision 1.107 by cbj, Thu Oct 10 23:14:51 2002 UTC
# Line 19  AM_INIT_AUTOMAKE(${PACKAGE}, ${VERSION}) Line 19  AM_INIT_AUTOMAKE(${PACKAGE}, ${VERSION})
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
# Line 92  dnl Checks for programs. Line 89  dnl Checks for programs.
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 \
# Line 172  AC_ARG_ENABLE(debug, Line 169  AC_ARG_ENABLE(debug,
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) ;;

Legend:
Removed from v.1.106  
changed lines
  Added in v.1.107

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26