configure.ac (86bbd642) | configure.ac (010ec03a) |
---|---|
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 * Date: $Date: 2008-09-08 07:38:40 $ 7dnl * 8dnl * Desc: This file serves as input for the GNU autoconf package --- 313 unchanged lines hidden (view full) --- 322],,) 323AC_ARG_ENABLE(randr, 324[ --disable-randr disable RandR support in the vcl project 325],,enable_randr=yes) 326AC_ARG_ENABLE(randr-link, 327[ --disable-randr-link disable linking with libXrandr, instead dynamically 328 open it at runtime 329],,enable_randr_link=yes) | 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 * Date: $Date: 2008-09-08 07:38:40 $ 7dnl * 8dnl * Desc: This file serves as input for the GNU autoconf package --- 313 unchanged lines hidden (view full) --- 322],,) 323AC_ARG_ENABLE(randr, 324[ --disable-randr disable RandR support in the vcl project 325],,enable_randr=yes) 326AC_ARG_ENABLE(randr-link, 327[ --disable-randr-link disable linking with libXrandr, instead dynamically 328 open it at runtime 329],,enable_randr_link=yes) |
330AC_ARG_WITH(bundled-extension-blobs, 331[ --with-bundled-extension-blobs Whitespace seperated list of files in the tarball directory 332 that are to be bundled as-is for installation as extensions 333 at the first program start. Make sure to only bundle extensions 334 which can be installed without requiring a license dialog 335],,) 336#AC_ARG_WITH(bundled-prereg-extensions, 337#[ --with-bundled-prereg-extensions Whitespace seperated list of files in the tarball directory that 338# are to be bundled as pre-registered extensions. Make sure to only bundle 339# extensions which can be installed without requiring a license dialog 340#],,) |
|
330AC_ARG_WITH(system-dicts, 331[ --with-system-dicts Use dictionaries from system paths- Specify 332 them via --with-{dict,hyph,thes}-path=/path 333 if you want to override the default ones 334],,) 335AC_ARG_WITH(external-dict-dir, 336[ --with-external-dict-dir Specify external dictionary dir 337],,) --- 1111 unchanged lines hidden (view full) --- 1449if test "$enable_rpath" = "no"; then 1450 ENABLE_RPATH="no" 1451else 1452 ENABLE_RPATH="yes" 1453fi 1454AC_MSG_RESULT([$ENABLE_RPATH]) 1455AC_SUBST(ENABLE_RPATH) 1456 | 341AC_ARG_WITH(system-dicts, 342[ --with-system-dicts Use dictionaries from system paths- Specify 343 them via --with-{dict,hyph,thes}-path=/path 344 if you want to override the default ones 345],,) 346AC_ARG_WITH(external-dict-dir, 347[ --with-external-dict-dir Specify external dictionary dir 348],,) --- 1111 unchanged lines hidden (view full) --- 1460if test "$enable_rpath" = "no"; then 1461 ENABLE_RPATH="no" 1462else 1463 ENABLE_RPATH="yes" 1464fi 1465AC_MSG_RESULT([$ENABLE_RPATH]) 1466AC_SUBST(ENABLE_RPATH) 1467 |
1457dnl Test whether to include system dictionaries | |
1458dnl =================================================================== | 1468dnl =================================================================== |
1459AC_MSG_CHECKING([whether to use dicts from external paths]) 1460if test -n "$with_system_dicts" -a "$with_system_dicts" = "yes"; then 1461 AC_MSG_RESULT([yes]) 1462 SYSTEM_DICTS=YES 1463 AC_MSG_CHECKING([for spelling dictionary directory]) 1464 if test -n "$with_external_dict_dir"; then 1465 DICT_SYSTEM_DIR=file://$with_external_dict_dir 1466 else 1467 DICT_SYSTEM_DIR=file:///usr/share/hunspell 1468 fi 1469 AC_MSG_RESULT([$DICT_SYSTEM_DIR]) 1470 AC_MSG_CHECKING([for hyphenation patterns directory]) 1471 if test -n "$with_external_hyph_dir"; then 1472 HYPH_SYSTEM_DIR=file://$with_external_hyph_dir 1473 else 1474 HYPH_SYSTEM_DIR=file:///usr/share/hyphen 1475 fi 1476 AC_MSG_RESULT([$HYPH_SYSTEM_DIR]) 1477 AC_MSG_CHECKING([for thesaurus directory]) 1478 if test -n "$with_external_thes_dir"; then 1479 THES_SYSTEM_DIR=file://$with_external_thes_dir 1480 else 1481 THES_SYSTEM_DIR=file:///usr/share/mythes 1482 fi 1483 AC_MSG_RESULT([$THES_SYSTEM_DIR]) | 1469dnl Check extensions to be bundled as literal blobs 1470dnl =================================================================== 1471if test -n "$with_bundled_extension_blobs"; then 1472 BUNDLED_EXTENSION_BLOBS="$with_bundled_extension_blobs" |
1484else | 1473else |
1485 AC_MSG_RESULT([no]) 1486 SYSTEM_DICTS=NO | 1474 BUNDLED_EXTENSION_BLOBS= |
1487fi | 1475fi |
1476AC_SUBST(BUNDLED_EXTENSION_BLOBS) 1477 1478#dnl =================================================================== 1479#dnl Check extensions that are to be bundled as pre-registerd 1480#dnl =================================================================== 1481if test -n "$with_bundled_prereg_extensions"; then 1482 BUNDLED_PREREG_EXTENSIONS="$with_bundled_prereg_extensions" 1483else 1484 BUNDLED_PREREG_EXTENSIONS= 1485fi 1486AC_SUBST(BUNDLED_PREREG_EXTENSIONS) 1487 1488dnl =================================================================== 1489dnl Configure system provided dictionary/hyphenation/thesaurus 1490dnl =================================================================== 1491 AC_MSG_CHECKING([whether to use dicts from external paths]) 1492 if test -n "$with_system_dicts" -a "$with_system_dicts" = "yes"; then 1493 AC_MSG_RESULT([yes]) 1494 SYSTEM_DICTS=YES 1495 AC_MSG_CHECKING([for spelling dictionary directory]) 1496 if test -n "$with_external_dict_dir"; then 1497 DICT_SYSTEM_DIR=file://$with_external_dict_dir 1498 else 1499 DICT_SYSTEM_DIR=file:///usr/share/hunspell 1500 fi 1501 AC_MSG_RESULT([$DICT_SYSTEM_DIR]) 1502 AC_MSG_CHECKING([for hyphenation patterns directory]) 1503 if test -n "$with_external_hyph_dir"; then 1504 HYPH_SYSTEM_DIR=file://$with_external_hyph_dir 1505 else 1506 HYPH_SYSTEM_DIR=file:///usr/share/hyphen 1507 fi 1508 AC_MSG_RESULT([$HYPH_SYSTEM_DIR]) 1509 AC_MSG_CHECKING([for thesaurus directory]) 1510 if test -n "$with_external_thes_dir"; then 1511 THES_SYSTEM_DIR=file://$with_external_thes_dir 1512 else 1513 THES_SYSTEM_DIR=file:///usr/share/mythes 1514 fi 1515 AC_MSG_RESULT([$THES_SYSTEM_DIR]) 1516 else 1517 AC_MSG_RESULT([no]) 1518 SYSTEM_DICTS=NO 1519 fi |
|
1488AC_SUBST(SYSTEM_DICTS) 1489AC_SUBST(DICT_SYSTEM_DIR) 1490AC_SUBST(HYPH_SYSTEM_DIR) 1491AC_SUBST(THES_SYSTEM_DIR) 1492 1493if test $_os = "WINNT"; then 1494 AC_MSG_CHECKING([Windows build environment sanity]) 1495 dnl =================================================================== --- 5794 unchanged lines hidden --- | 1520AC_SUBST(SYSTEM_DICTS) 1521AC_SUBST(DICT_SYSTEM_DIR) 1522AC_SUBST(HYPH_SYSTEM_DIR) 1523AC_SUBST(THES_SYSTEM_DIR) 1524 1525if test $_os = "WINNT"; then 1526 AC_MSG_CHECKING([Windows build environment sanity]) 1527 dnl =================================================================== --- 5794 unchanged lines hidden --- |