33 |
AC_SUBST(LIBGCJ_CFLAGS) |
AC_SUBST(LIBGCJ_CFLAGS) |
34 |
AC_SUBST(LIBGCJ_LIBS) |
AC_SUBST(LIBGCJ_LIBS) |
35 |
|
|
36 |
AC_ARG_ENABLE(netscape-api, |
AC_ARG_ENABLE(debug, [ --enable-debug enable debugging support], |
37 |
[ --enable-netscape-api enable the Netscape API and disables the OJI API]) |
AC_DEFINE(DEBUG,, Define if debug output should be enabled), |
38 |
|
) |
39 |
|
|
40 |
|
AC_ARG_ENABLE(netscape-api, [ --enable-netscape-api enable the Netscape API and disables the OJI API]) |
41 |
AM_CONDITIONAL([USE_NETSCAPE_API], [test "x$enable_netscape_api" = xyes]) |
AM_CONDITIONAL([USE_NETSCAPE_API], [test "x$enable_netscape_api" = xyes]) |
42 |
|
|
43 |
|
AC_ARG_ENABLE(cni, [ --enable-cni enable CNI usage (only works together with --enable-netscape-api)]) |
44 |
|
AM_CONDITIONAL([USE_CNI], [test "x$enable_cni" = xyes]) |
45 |
|
|
46 |
AC_MSG_CHECKING([plugin installation diretory]) |
AC_MSG_CHECKING([plugin installation diretory]) |
47 |
AC_ARG_WITH(plugin-dir, |
AC_ARG_WITH(plugin-dir, [ --with-plugin-dir directory to install the plugin into], |
48 |
[ --with-plugin-dir directory to install the plugin into], |
[ |
49 |
PLUGIN_DIR=$withval;AC_MSG_RESULT([$PLUGIN_DIR]), |
PLUGIN_DIR=$withval |
50 |
AC_MSG_ERROR([Please provide an installation directory for the plugin (using --with-plugin-dir=...)]), |
], |
51 |
|
[ |
52 |
|
PLUGIN_DIR=$HOME/.mozilla/plugins/ |
53 |
|
], |
54 |
) |
) |
55 |
|
AC_MSG_RESULT([$PLUGIN_DIR]) |
56 |
AC_SUBST(PLUGIN_DIR) |
AC_SUBST(PLUGIN_DIR) |
57 |
|
|
|
AC_ARG_ENABLE(debug, |
|
|
[ --enable-debug enable debugging support], |
|
|
AC_DEFINE(DEBUG,, Define if debug output should be enabled), |
|
|
) |
|
|
|
|
58 |
AC_OUTPUT( \ |
AC_OUTPUT( \ |
59 |
Makefile \ |
Makefile \ |
60 |
src/Makefile \ |
src/Makefile \ |