/[classpath]/gjdoc/configure.ac
ViewVC logotype

Diff of /gjdoc/configure.ac

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

revision 1.7 by julian, Fri Feb 4 17:41:16 2005 UTC revision 1.8 by julian, Mon Feb 7 20:16:48 2005 UTC
# Line 10  AM_PROG_LIBTOOL Line 10  AM_PROG_LIBTOOL
10  AC_PROG_JAR  AC_PROG_JAR
11  AC_CHECK_CLASSPATH  AC_CHECK_CLASSPATH
12  AC_PROG_JAVA  AC_PROG_JAVA
13    AC_PROG_JAVAC
14  AC_PROG_ANTLR(2,7,1)  AC_PROG_ANTLR(2,7,1)
15    
16  AC_SUBST(CLASSPATH)  AC_SUBST(CLASSPATH)
# Line 49  jni_linkflag="" Line 50  jni_linkflag=""
50  enable_xmldoclet=no  enable_xmldoclet=no
51  ])  ])
52    
53    AC_ARG_ENABLE([native],
54                  AS_HELP_STRING([--enable-native],
55                                 [enable generation of native binaries]),
56                                 [enable_native=$enableval],
57                                 [enable_native=yes])
58    
59    if test "x${enable_native}" = "xno"; then
60      echo "Native compilation disabled."
61    else
62      if test "x${GCJ}" = "xgcj"; then
63        enable_native=no
64        echo "Native compilation disabled as gcj has not been found"
65      fi
66    fi
67    
68  AC_SUBST(jni_linkflag)  AC_SUBST(jni_linkflag)
69  AM_CONDITIONAL([ENABLE_XMLDOCLET], [test x${enable_xmldoclet} = xyes])  AM_CONDITIONAL([ENABLE_XMLDOCLET], [test x${enable_xmldoclet} = xyes])
70    AM_CONDITIONAL([ENABLE_NATIVE], [test x${enable_native} = xyes])
71    
72  AC_OUTPUT([Makefile])  AC_OUTPUT([Makefile])

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

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