/[classpath]/cp-tools/configure.ac
ViewVC logotype

Diff of /cp-tools/configure.ac

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

revision 1.2 by cbj, Sun Jan 30 04:19:27 2005 UTC revision 1.3 by cbj, Wed Feb 9 01:42:36 2005 UTC
# Line 9  AM_PROG_GCJ Line 9  AM_PROG_GCJ
9  AC_PROG_LIBTOOL  AC_PROG_LIBTOOL
10  AC_PROG_JAR  AC_PROG_JAR
11  AC_CHECK_CLASSPATH  AC_CHECK_CLASSPATH
12  dnl AC_PROG_JAVA  AC_PROG_JAVA
13    AC_PROG_JAVAC
14    
15  dnl Check if required jars are in $prefix/share/java and prepend it to the  dnl Check if required jars are in $prefix/share/java and prepend it to the
16  dnl CLASSPATH.  dnl CLASSPATH.
# Line 39  fi Line 40  fi
40  dnl  dnl
41  dnl Compile natively with gcj?  dnl Compile natively with gcj?
42  dnl  dnl
43  AC_ARG_ENABLE([gcj],  AC_ARG_ENABLE([native],
44    [AS_HELP_STRING(--disable-gcj, disable native gcj build [[default=no]])],    [AS_HELP_STRING(--disable-native, disable generation of native binaries [[default=no]])],
45    [    [
46      if test "x${withval}" != xno; then      if test "x${withval}" != xno; then
47        enable_gcj=no        enable_gcj=no
# Line 52  AC_ARG_ENABLE([gcj], Line 53  AC_ARG_ENABLE([gcj],
53      enable_gcj=yes      enable_gcj=yes
54    ]    ]
55  )  )
56    if test "x${GCJ}" = xfalse; then
57      enable_gcj=no
58      echo "Native compilation disabled because gcj not found"
59    fi
60  AM_CONDITIONAL(ENABLE_GCJ_BINARY, test "x${enable_gcj}" = xyes)  AM_CONDITIONAL(ENABLE_GCJ_BINARY, test "x${enable_gcj}" = xyes)
61    
62  dnl  dnl

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

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