configure.ac (39ddf648) configure.ac (764319a5)
1dnl /******************************************************************
2dnl * vi:set sw=3 ts=3 et:
3dnl *
4dnl * Name: configure.in
5dnl * Auth: Willem van Dorp, Ross Nicholson, Oisin Boydell - Sun Microsystems Ireland
6dnl *
7dnl * Desc: This file serves as input for the GNU autoconf package
8dnl * in order to create a configure script.

--- 323 unchanged lines hidden (view full) ---

332 at the first program start. Make sure to only bundle extensions
333 which can be installed without requiring a license dialog
334],,)
335#AC_ARG_WITH(bundled-prereg-extensions,
336#[ --with-bundled-prereg-extensions Whitespace seperated list of files in the tarball directory that
337# are to be bundled as pre-registered extensions. Make sure to only bundle
338# extensions which can be installed without requiring a license dialog
339#],,)
1dnl /******************************************************************
2dnl * vi:set sw=3 ts=3 et:
3dnl *
4dnl * Name: configure.in
5dnl * Auth: Willem van Dorp, Ross Nicholson, Oisin Boydell - Sun Microsystems Ireland
6dnl *
7dnl * Desc: This file serves as input for the GNU autoconf package
8dnl * in order to create a configure script.

--- 323 unchanged lines hidden (view full) ---

332 at the first program start. Make sure to only bundle extensions
333 which can be installed without requiring a license dialog
334],,)
335#AC_ARG_WITH(bundled-prereg-extensions,
336#[ --with-bundled-prereg-extensions Whitespace seperated list of files in the tarball directory that
337# are to be bundled as pre-registered extensions. Make sure to only bundle
338# extensions which can be installed without requiring a license dialog
339#],,)
340AC_ARG_ENABLE(bundled-dictionaries,
341[ --enable-bundled-dictionaries Download dictionaries (spelling, hyphenation, thesaurus)
342 according to main/extensions.lst and bundle them.
343],,)
344
345# Remove the following switches when not in release mode.
340AC_ARG_WITH(system-dicts,
341[ --with-system-dicts Use dictionaries from system paths- Specify
342 them via --with-{dict,hyph,thes}-path=/path
343 if you want to override the default ones
344],,)
345AC_ARG_WITH(external-dict-dir,
346[ --with-external-dict-dir Specify external dictionary dir
347],,)
348AC_ARG_WITH(external-hyph-dir,
349[ --with-external-hyph-dir Specify external hyphenation pattern dir
350],,)
351AC_ARG_WITH(external-thes-dir,
352[ --with-external-thes-dir Specify external thesaurus dir
353],,)
346AC_ARG_WITH(system-dicts,
347[ --with-system-dicts Use dictionaries from system paths- Specify
348 them via --with-{dict,hyph,thes}-path=/path
349 if you want to override the default ones
350],,)
351AC_ARG_WITH(external-dict-dir,
352[ --with-external-dict-dir Specify external dictionary dir
353],,)
354AC_ARG_WITH(external-hyph-dir,
355[ --with-external-hyph-dir Specify external hyphenation pattern dir
356],,)
357AC_ARG_WITH(external-thes-dir,
358[ --with-external-thes-dir Specify external thesaurus dir
359],,)
360# End of remove.
361
362
354AC_ARG_WITH(system-libs,
355[ --with-system-libs Use libs already on system -- enables all
356 --with-system-* flags except mozilla and
357 odbc/sane/xrender-header(s)
358],,)
359AC_ARG_WITH(system-headers,
360[ --with-system-headers Use headers already on system -- enables all
361 --with-system-* flags for external packages

--- 4951 unchanged lines hidden (view full) ---

5313 ENABLE_HYPHEN=YES
5314 AC_SUBST(SYSTEM_HYPH)
5315 AC_SUBST(HYPHEN_LIB)
5316else
5317 AC_MSG_RESULT([no])
5318fi
5319AC_SUBST(ENABLE_HYPHEN)
5320
363AC_ARG_WITH(system-libs,
364[ --with-system-libs Use libs already on system -- enables all
365 --with-system-* flags except mozilla and
366 odbc/sane/xrender-header(s)
367],,)
368AC_ARG_WITH(system-headers,
369[ --with-system-headers Use headers already on system -- enables all
370 --with-system-* flags for external packages

--- 4951 unchanged lines hidden (view full) ---

5322 ENABLE_HYPHEN=YES
5323 AC_SUBST(SYSTEM_HYPH)
5324 AC_SUBST(HYPHEN_LIB)
5325else
5326 AC_MSG_RESULT([no])
5327fi
5328AC_SUBST(ENABLE_HYPHEN)
5329
5330
5331#dnl ===================================================================
5332#dnl Check whether we are allowed to bundle dictionaries and whether
5333#dnl hunspell is available.
5334#dnl ===================================================================
5335ENABLE_BUNDLED_DICTIONARIES=
5336if test "x$enable_bundled_dictionaries" != "xno" -a "x$ENABLE_HUNSPELL" = "xYES"; then
5337 ENABLE_BUNDLED_DICTIONARIES=YES
5338fi
5339AC_SUBST(ENABLE_BUNDLED_DICTIONARIES)
5340
5341
5342
5321dnl ===================================================================
5322dnl Checking for mythes
5323dnl ===================================================================
5324AC_MSG_CHECKING([which mythes to use])
5325if test -n "$with_system_mythes" -o -n "$with_system_libs" && \
5326 test "$with_system_mythes" != "no"; then
5327 AC_MSG_RESULT([external])
5328 SYSTEM_MYTHES=YES

--- 2029 unchanged lines hidden ---
5343dnl ===================================================================
5344dnl Checking for mythes
5345dnl ===================================================================
5346AC_MSG_CHECKING([which mythes to use])
5347if test -n "$with_system_mythes" -o -n "$with_system_libs" && \
5348 test "$with_system_mythes" != "no"; then
5349 AC_MSG_RESULT([external])
5350 SYSTEM_MYTHES=YES

--- 2029 unchanged lines hidden ---