36 |
AC_MSG_ERROR([Couldn't find libgcj library!]) |
AC_MSG_ERROR([Couldn't find libgcj library!]) |
37 |
]) |
]) |
38 |
|
|
39 |
|
AC_ARG_ENABLE(netscape-api, |
40 |
|
[ --enable-netscape-api enable the Netscape API and disables the OJI API]) |
41 |
|
AM_CONDITIONAL([USE_NETSCAPE_API], [test "x$enable_netscape_api" = xyes]) |
42 |
|
|
43 |
|
AC_MSG_CHECKING([plugin installation diretory]) |
44 |
|
AC_ARG_WITH(plugin-dir, |
45 |
|
[ --with-plugin-dir directory to install the plugin into], |
46 |
|
PLUGIN_DIR=$withval;AC_MSG_RESULT([$PLUGIN_DIR]), |
47 |
|
AC_MSG_ERROR([Please provide an installation directory for the plugin (using --with-plugin-dir=...)]), |
48 |
|
) |
49 |
|
AC_SUBST(PLUGIN_DIR) |
50 |
|
|
51 |
|
AC_ARG_ENABLE(debug, |
52 |
|
[ --enable-debug enable debugging support], |
53 |
|
AC_DEFINE(DEBUG,, Define if debug output should be enabled), |
54 |
|
) |
55 |
|
|
56 |
AC_OUTPUT( \ |
AC_OUTPUT( \ |
57 |
Makefile \ |
Makefile \ |
58 |
src/Makefile \ |
src/Makefile \ |