| configure.ac (8c0aa782) | configure.ac (6feea343) |
|---|---|
| 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 --- 297 unchanged lines hidden (view full) --- 306],,) 307AC_ARG_ENABLE(randr, 308[ --disable-randr disable RandR support in the vcl project 309],,enable_randr=yes) 310AC_ARG_ENABLE(randr-link, 311[ --disable-randr-link disable linking with libXrandr, instead dynamically 312 open it at runtime 313],,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 --- 297 unchanged lines hidden (view full) --- 306],,) 307AC_ARG_ENABLE(randr, 308[ --disable-randr disable RandR support in the vcl project 309],,enable_randr=yes) 310AC_ARG_ENABLE(randr-link, 311[ --disable-randr-link disable linking with libXrandr, instead dynamically 312 open it at runtime 313],,enable_randr_link=yes) |
| 314AC_ARG_WITH(myspell-dicts, 315[ --without-myspell-dicts Removes myspell dictionaries from openoffice.org 316 installation set, for people building for specific 317 distributions where the myspell dictionaries are 318 installed from other sources 319],,) | |
| 320AC_ARG_WITH(system-dicts, 321[ --with-system-dicts Use dictionaries from system paths- Specify 322 them via --with-{dict,hyph,thes}-path=/path 323 if you want to override the default ones 324],,) 325AC_ARG_WITH(external-dict-dir, 326[ --with-external-dict-dir Specify external dictionary dir 327],,) --- 931 unchanged lines hidden (view full) --- 1259dnl =================================================================== 1260 1261AC_MSG_CHECKING([whether to enable copyleft components]) 1262if test "$enable_copyleft" != "yes"; then 1263 1264 enable_mozilla="no" 1265 enable_nss_module="no" 1266 enable_gstreamer="no" | 314AC_ARG_WITH(system-dicts, 315[ --with-system-dicts Use dictionaries from system paths- Specify 316 them via --with-{dict,hyph,thes}-path=/path 317 if you want to override the default ones 318],,) 319AC_ARG_WITH(external-dict-dir, 320[ --with-external-dict-dir Specify external dictionary dir 321],,) --- 931 unchanged lines hidden (view full) --- 1253dnl =================================================================== 1254 1255AC_MSG_CHECKING([whether to enable copyleft components]) 1256if test "$enable_copyleft" != "yes"; then 1257 1258 enable_mozilla="no" 1259 enable_nss_module="no" 1260 enable_gstreamer="no" |
| 1267 with_myspell_dicts="no" | |
| 1268 1269 DISABLE_SAXON="TRUE" 1270 1271 AC_MSG_RESULT([no]) 1272 1273else 1274 1275 DISABLE_SAXON= --- 93 unchanged lines hidden (view full) --- 1369if test "$enable_rpath" = "no"; then 1370 ENABLE_RPATH="no" 1371else 1372 ENABLE_RPATH="yes" 1373fi 1374AC_MSG_RESULT([$ENABLE_RPATH]) 1375AC_SUBST(ENABLE_RPATH) 1376 | 1261 1262 DISABLE_SAXON="TRUE" 1263 1264 AC_MSG_RESULT([no]) 1265 1266else 1267 1268 DISABLE_SAXON= --- 93 unchanged lines hidden (view full) --- 1362if test "$enable_rpath" = "no"; then 1363 ENABLE_RPATH="no" 1364else 1365 ENABLE_RPATH="yes" 1366fi 1367AC_MSG_RESULT([$ENABLE_RPATH]) 1368AC_SUBST(ENABLE_RPATH) 1369 |
| 1377dnl Test whether to include MySpell dictionaries | 1370dnl Test whether to include system dictionaries |
| 1378dnl =================================================================== | 1371dnl =================================================================== |
| 1379AC_MSG_CHECKING([whether to include MySpell dictionaries]) 1380if test -z "$with_myspell_dicts" || test "$with_myspell_dicts" = "yes"; then | 1372AC_MSG_CHECKING([whether to use dicts from external paths]) 1373if test -n "$with_system_dicts" -a "$with_system_dicts" = "yes"; then |
| 1381 AC_MSG_RESULT([yes]) | 1374 AC_MSG_RESULT([yes]) |
| 1382 WITH_MYSPELL_DICTS=YES 1383 BUILD_TYPE="$BUILD_TYPE DICTIONARIES" | 1375 SYSTEM_DICTS=YES 1376 AC_MSG_CHECKING([for spelling dictionary directory]) 1377 if test -n "$with_external_dict_dir"; then 1378 DICT_SYSTEM_DIR=file://$with_external_dict_dir 1379 else 1380 DICT_SYSTEM_DIR=file:///usr/share/hunspell 1381 fi 1382 AC_MSG_RESULT([$DICT_SYSTEM_DIR]) 1383 AC_MSG_CHECKING([for hyphenation patterns directory]) 1384 if test -n "$with_external_hyph_dir"; then 1385 HYPH_SYSTEM_DIR=file://$with_external_hyph_dir 1386 else 1387 HYPH_SYSTEM_DIR=file:///usr/share/hyphen 1388 fi 1389 AC_MSG_RESULT([$HYPH_SYSTEM_DIR]) 1390 AC_MSG_CHECKING([for thesaurus directory]) 1391 if test -n "$with_external_thes_dir"; then 1392 THES_SYSTEM_DIR=file://$with_external_thes_dir 1393 else 1394 THES_SYSTEM_DIR=file:///usr/share/mythes 1395 fi 1396 AC_MSG_RESULT([$THES_SYSTEM_DIR]) |
| 1384else 1385 AC_MSG_RESULT([no]) | 1397else 1398 AC_MSG_RESULT([no]) |
| 1386 WITH_MYSPELL_DICTS=NO | 1399 SYSTEM_DICTS=NO |
| 1387fi | 1400fi |
| 1388AC_SUBST(WITH_MYSPELL_DICTS) 1389 1390if test "$WITH_MYSPELL_DICTS" = "NO"; then 1391 AC_MSG_CHECKING([whether to use dicts from external paths]) 1392 if test -n "$with_system_dicts" -a "$with_system_dicts" = "yes"; then 1393 AC_MSG_RESULT([yes]) 1394 SYSTEM_DICTS=YES 1395 AC_MSG_CHECKING([for spelling dictionary directory]) 1396 if test -n "$with_external_dict_dir"; then 1397 DICT_SYSTEM_DIR=file://$with_external_dict_dir 1398 else 1399 DICT_SYSTEM_DIR=file:///usr/share/hunspell 1400 fi 1401 AC_MSG_RESULT([$DICT_SYSTEM_DIR]) 1402 AC_MSG_CHECKING([for hyphenation patterns directory]) 1403 if test -n "$with_external_hyph_dir"; then 1404 HYPH_SYSTEM_DIR=file://$with_external_hyph_dir 1405 else 1406 HYPH_SYSTEM_DIR=file:///usr/share/hyphen 1407 fi 1408 AC_MSG_RESULT([$HYPH_SYSTEM_DIR]) 1409 AC_MSG_CHECKING([for thesaurus directory]) 1410 if test -n "$with_external_thes_dir"; then 1411 THES_SYSTEM_DIR=file://$with_external_thes_dir 1412 else 1413 THES_SYSTEM_DIR=file:///usr/share/mythes 1414 fi 1415 AC_MSG_RESULT([$THES_SYSTEM_DIR]) 1416 else 1417 AC_MSG_RESULT([no]) 1418 SYSTEM_DICTS=NO 1419 fi 1420fi | |
| 1421AC_SUBST(SYSTEM_DICTS) 1422AC_SUBST(DICT_SYSTEM_DIR) 1423AC_SUBST(HYPH_SYSTEM_DIR) 1424AC_SUBST(THES_SYSTEM_DIR) 1425 1426if test $_os = "WINNT"; then 1427 AC_MSG_CHECKING([Windows build environment sanity]) 1428 dnl =================================================================== --- 5785 unchanged lines hidden --- | 1401AC_SUBST(SYSTEM_DICTS) 1402AC_SUBST(DICT_SYSTEM_DIR) 1403AC_SUBST(HYPH_SYSTEM_DIR) 1404AC_SUBST(THES_SYSTEM_DIR) 1405 1406if test $_os = "WINNT"; then 1407 AC_MSG_CHECKING([Windows build environment sanity]) 1408 dnl =================================================================== --- 5785 unchanged lines hidden --- |