/[gcjwebplugin]/gcjwebplugin/configure.ac
ViewVC logotype

Diff of /gcjwebplugin/configure.ac

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

revision 1.51 by mkoch, Fri Feb 18 10:34:37 2005 UTC revision 1.52 by fitzsim, Sun Feb 20 08:29:43 2005 UTC
# Line 30  GCJWEBPLUGIN_ENABLE_EXTERNAL_MOZILLA_INC Line 30  GCJWEBPLUGIN_ENABLE_EXTERNAL_MOZILLA_INC
30  GCJWEBPLUGIN_WITH_PLUGIN_DIR  GCJWEBPLUGIN_WITH_PLUGIN_DIR
31    
32  gcj_present=no  gcj_present=no
33  PKG_CHECK_MODULES([LIBGCJ],[libgcj >= 3.4],  PKG_CHECK_MODULES([LIBGCJ],[libgcj >= 3.4.0],
34                    [gcj_present=yes                    [gcj_present=yes
35                     AC_SUBST(LIBGCJ_CFLAGS)                     AC_SUBST(LIBGCJ_CFLAGS)
36                    ],                    ],
# Line 38  PKG_CHECK_MODULES([LIBGCJ],[libgcj >= 3. Line 38  PKG_CHECK_MODULES([LIBGCJ],[libgcj >= 3.
38    
39  AC_ARG_ENABLE([native-viewer],  AC_ARG_ENABLE([native-viewer],
40                [AS_HELP_STRING([--disable-native-viewer]                [AS_HELP_STRING([--disable-native-viewer]
41                                [disable building of native viewer (enabled by default if libgcj got found)])])                                [disable building of native viewer (enabled by default)])],
42                  [enable_native_viewer=no],[enable_native_viewer=yes])
 if test "x$enable_native_viewer" != xyes ; then  
   gcj_present=no  
 fi  
43    
44  AM_CONDITIONAL([BUILD_NATIVE_VIEWER],  AM_CONDITIONAL([BUILD_NATIVE_VIEWER],
45                 [test "x$gcj_present" = xyes])                 [test "x${gcj_present}" = xyes -a "x${enable_native_viewer}" = xyes])
46    
47  AC_DEFINE(GCJAPPLETVIEWER_EXECUTABLE,"gcjappletviewer", [gcjappletviewer executable])  AC_DEFINE(GCJAPPLETVIEWER_EXECUTABLE,"gcjappletviewer", [gcjappletviewer executable])
48    
# Line 57  GCJWEBPLUGIN_CHECK_JAR Line 54  GCJWEBPLUGIN_CHECK_JAR
54  GCJWEBPLUGIN_CHECK_FEATURE_EMBEDDEDWINDOW  GCJWEBPLUGIN_CHECK_FEATURE_EMBEDDEDWINDOW
55    
56  AC_CONFIG_FILES([Makefile])  AC_CONFIG_FILES([Makefile])
 AC_CONFIG_FILES([include/Makefile])  
 AC_CONFIG_FILES([include/classpath/Makefile])  
 AC_CONFIG_FILES([include/mozilla/Makefile])  
 AC_CONFIG_FILES([include/mozilla/obsolete/Makefile])  
 AC_CONFIG_FILES([src/Makefile])  
 AC_CONFIG_FILES([src/gnu/Makefile])  
 AC_CONFIG_FILES([src/gnu/gcjwebplugin/Makefile])  
57  AC_CONFIG_FILES([src/gnu/gcjwebplugin/Configuration.java])  AC_CONFIG_FILES([src/gnu/gcjwebplugin/Configuration.java])
58  AC_CONFIG_FILES([src/gnu/gcjwebplugin/locale/Makefile])  if test "x${gcj_present}" != xyes -o "x${enable_native_viewer}" != xyes
59  AC_CONFIG_FILES([src/gnu/getopt/Makefile])  then
60  AC_CONFIG_FILES([src/gcjappletviewer])    AC_CONFIG_FILES([gcjappletviewer:src/gcjappletviewer.in],[chmod +x gcjappletviewer])
61    fi
62  AC_CONFIG_FILES([tests/atlocal])  AC_CONFIG_FILES([tests/atlocal])
63  AC_OUTPUT  AC_OUTPUT

Legend:
Removed from v.1.51  
changed lines
  Added in v.1.52

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