/[gcjwebplugin]/gcjwebplugin/acinclude.m4
ViewVC logotype

Diff of /gcjwebplugin/acinclude.m4

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

revision 1.14 by mkoch, Wed Jul 7 15:12:01 2004 UTC revision 1.15 by mkoch, Wed Jul 7 15:17:42 2004 UTC
# Line 34  AC_ARG_WITH([javac], Line 34  AC_ARG_WITH([javac],
34              [AC_SUBST([JAVAC], ["$withval"])],              [AC_SUBST([JAVAC], ["$withval"])],
35              [AC_SUBST([JAVAC], ["gcj -C"])])              [AC_SUBST([JAVAC], ["gcj -C"])])
36  AC_MSG_RESULT([$JAVAC])  AC_MSG_RESULT([$JAVAC])
37    dnl No fancy checking of the executable here.
38    dnl GCJWEBPLUGIN_CHECK_FEATURE_EMBEDDEDWINDOW will do this for us.
39  ])  ])
40    
41  dnl ---------------------------------------------------------------------------  dnl ---------------------------------------------------------------------------
# Line 91  dnl ------------------------------------ Line 93  dnl ------------------------------------
93  AC_DEFUN([GCJWEBPLUGIN_ENABLE_NATIVE_VIEWER],[  AC_DEFUN([GCJWEBPLUGIN_ENABLE_NATIVE_VIEWER],[
94  AC_ARG_ENABLE([native-viewer],  AC_ARG_ENABLE([native-viewer],
95                [AS_HELP_STRING([--enable-native-viewer],                [AS_HELP_STRING([--enable-native-viewer],
96                                [build native viewer process (default: disabled)])])                                [build native viewer process (default: enabled if libgcj found)])])
97  AM_CONDITIONAL([NATIVE_VIEWER],  AM_CONDITIONAL([NATIVE_VIEWER],
98                 [test "x$enable_native_viewer" = xyes])                 [test "x$enable_native_viewer" = xyes])
99    
100  if test "x$enable_native_viewer" = xyes  if test "x$enable_native_viewer" = xyes
101  then  then
102     PKG_CHECK_MODULES(LIBGCJ, libgcj >= 3.4)     if test "FOUND_LIBGCJ" = "yes"
103     AC_SUBST(LIBGCJ_CFLAGS)     then
104     AC_SUBST(LIBGCJ_LIBS)        AC_SUBST([USE_NATIVE_VIEWER],[yes])
105     AC_SUBST([USE_NATIVE_VIEWER],[yes])     else
106          AC_SUBST([USE_NATIVE_VIEWER],[no])
107       fi
108  else  else
109     AC_SUBST([USE_NATIVE_VIEWER],[no])     AC_SUBST([USE_NATIVE_VIEWER],[no])
110  fi  fi

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

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