summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@osg.samsung.com>2016-01-20 11:16:58 +0100
committerStefan Schmidt <stefan@osg.samsung.com>2016-01-20 11:20:16 +0100
commitac45e9e9af6d917529cde636d93e52f16fab92c0 (patch)
tree4939d40f265eaa915f978596ce605868338d08b5
parentd793dfc51c4725f95e5e3b590208ea1337f83176 (diff)
build: sane default setting for hyphen dir
Without this compilation would fail with undefinded EVAS_DICTS_HYPHEN_DIR if --with-xattr-tests-path was not given but hyphen enabled. Use a sane default (/usr/share/hyphen/) to avoid this. Customization is still possible.
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 1b92b6c742..0316e49e85 100644
--- a/configure.ac
+++ b/configure.ac
@@ -875,6 +875,7 @@ EINA_CONFIG([MAGIC_DEBUG], [test "x${have_magic_debug}" = "xyes"])
875AC_ARG_WITH([xattr-tests-path], 875AC_ARG_WITH([xattr-tests-path],
876 [AS_HELP_STRING([--with-xattr-tests-path=DIR],[path of xattr enabled directory to create test files])],[XATTR_TEST_DIR=${withval}][AC_DEFINE_UNQUOTED([XATTR_TEST_DIR],["$withval"], [xattr enabled directory])]) 876 [AS_HELP_STRING([--with-xattr-tests-path=DIR],[path of xattr enabled directory to create test files])],[XATTR_TEST_DIR=${withval}][AC_DEFINE_UNQUOTED([XATTR_TEST_DIR],["$withval"], [xattr enabled directory])])
877 877
878EVAS_DICTS_HYPHEN_DIR="/usr/share/hyphen/"
878AC_ARG_WITH([dictionaries-hyphen-dir], 879AC_ARG_WITH([dictionaries-hyphen-dir],
879 [AS_HELP_STRING([--with-dictionaries-hyphen-dir=DIR],[path of hunspell-compatible hyphen dictionaries])],[EVAS_DICTS_HYPHEN_DIR=${withval}][AC_DEFINE_UNQUOTED([EVAS_DICTS_HYPHEN_DIR],["$withval"], [Hunspell-compatible hyphen dictionaries install directory])]) 880 [AS_HELP_STRING([--with-dictionaries-hyphen-dir=DIR],[path of hunspell-compatible hyphen dictionaries])],[EVAS_DICTS_HYPHEN_DIR=${withval}][AC_DEFINE_UNQUOTED([EVAS_DICTS_HYPHEN_DIR],["$withval"], [Hunspell-compatible hyphen dictionaries install directory])])
880 881