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

Diff of /classpath/configure.in

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

revision 1.92 by cbj, Thu Mar 21 05:40:11 2002 UTC revision 1.93 by ericb, Thu Mar 28 20:38:07 2002 UTC
# Line 55  AC_ARG_ENABLE(cni, Line 55  AC_ARG_ENABLE(cni,
55  esac],  esac],
56  [COMPILE_CNI=no])  [COMPILE_CNI=no])
57    
58  AM_CONDITIONAL(CREATE_JNI_HEADERS, test x$COMPILE_JNI = xyes)  AM_CONDITIONAL(CREATE_JNI_HEADERS, test "x${COMPILE_JNI}" = xyes)
59  AM_CONDITIONAL(CREATE_JNI_LIBRARIES, test x$COMPILE_JNI = xyes)  AM_CONDITIONAL(CREATE_JNI_LIBRARIES, test "x${COMPILE_JNI}" = xyes)
60  AM_CONDITIONAL(CREATE_CNI_LIBRARIES, test x$COMPILE_CNI = xyes)  AM_CONDITIONAL(CREATE_CNI_LIBRARIES, test "x${COMPILE_CNI}" = xyes)
61    
62  AC_PROG_LN_S  AC_PROG_LN_S
63  AC_PROG_INSTALL  AC_PROG_INSTALL
# Line 73  dnl Checks for programs. Line 73  dnl Checks for programs.
73    AC_PROG_CC    AC_PROG_CC
74    AC_PROG_CPP    AC_PROG_CPP
75    
76  if test "${COMPILE_JNI}" = "yes"; then  if test "x${COMPILE_JNI}" = xyes; then
77    AC_HEADER_STDC    AC_HEADER_STDC
78    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)
79    AC_EGREP_HEADER(uint32_t, stdint.h, AC_DEFINE(HAVE_INT32_DEFINED))    AC_EGREP_HEADER(uint32_t, stdint.h, AC_DEFINE(HAVE_INT32_DEFINED))
# Line 103  if test "${COMPILE_JNI}" = "yes"; then Line 103  if test "${COMPILE_JNI}" = "yes"; then
103    CFLAGS="-g"    CFLAGS="-g"
104    
105    dnl We want warnings, lots of warnings :-)    dnl We want warnings, lots of warnings :-)
106    if eval "test x$GCC = xyes"; then    if test "x${GCC}" = xyes; then
107      JAPHAR_GREP_CFLAGS(-Wall, [ CFLAGS="$CFLAGS -Wall" ])      JAPHAR_GREP_CFLAGS(-Wall, [ CFLAGS="$CFLAGS -Wall" ])
108    fi    fi
109    
# Line 114  if test "${COMPILE_JNI}" = "yes"; then Line 114  if test "${COMPILE_JNI}" = "yes"; then
114    dnl XXX Fix me when libart.m4 has the compile test fixed!    dnl XXX Fix me when libart.m4 has the compile test fixed!
115    enable_libarttest=no    enable_libarttest=no
116    AM_PATH_LIBART(2.1.0,,exit 1)    AM_PATH_LIBART(2.1.0,,exit 1)
117    fi
118    
119    CLASSPATH_WITH_JAVAH  CLASSPATH_WITH_JAVAH
120    
121    CLASSPATH_WITH_INCLUDEDIR  CLASSPATH_WITH_INCLUDEDIR
122    
123    if test "x${COMPILE_JNI}" = xyes; then
124    AC_MSG_CHECKING("jni_md.h support")    AC_MSG_CHECKING("jni_md.h support")
125    if test -f ${srcdir}/include/jni_md-${target_cpu}-${target_os}.h; then    if test -f ${srcdir}/include/jni_md-${target_cpu}-${target_os}.h; then
126      AC_MSG_RESULT("yes")      AC_MSG_RESULT("yes")
# Line 177  AC_ARG_ENABLE(load-library, Line 179  AC_ARG_ENABLE(load-library,
179    *) AC_MSG_ERROR(bad value ${enableval} for --enable-load-library) ;;    *) AC_MSG_ERROR(bad value ${enableval} for --enable-load-library) ;;
180  esac],  esac],
181  [  [
182    if test "$COMPILE_CNI" = "yes"; then    if test "x${COMPILE_CNI}" = xyes; then
183      INIT_LOAD_LIBRARY="false"      INIT_LOAD_LIBRARY="false"
184    else    else
185      INIT_LOAD_LIBRARY="true"      INIT_LOAD_LIBRARY="true"
# Line 205  dnl ------------------------------------ Line 207  dnl ------------------------------------
207    
208    
209  dnl Create a link to the VM specific files we're compiling with  dnl Create a link to the VM specific files we're compiling with
210  if test x"$JVM_REFERENCE" = x; then  if test "x${JVM_REFERENCE}" = x; then
211    JVM_REFERENCE=reference    JVM_REFERENCE=reference
212  fi  fi
213  AC_LINK_FILES(vm/$JVM_REFERENCE, vm/current)  AC_LINK_FILES(vm/$JVM_REFERENCE, vm/current)
# Line 225  AC_PATH_PROG(ZIP, zip) Line 227  AC_PATH_PROG(ZIP, zip)
227  dnl AC_PATH_PROG(UNZIP, unzip)  dnl AC_PATH_PROG(UNZIP, unzip)
228  dnl AC_PATH_PROG(PERL, perl)  dnl AC_PATH_PROG(PERL, perl)
229    
230  AM_CONDITIONAL(HAVE_ZIP, test x$ZIP != x)  AM_CONDITIONAL(HAVE_ZIP, test "x${ZIP}" != x)
231    
232  AC_OUTPUT(Makefile  AC_OUTPUT(Makefile
233  com/Makefile  com/Makefile

Legend:
Removed from v.1.92  
changed lines
  Added in v.1.93

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