From ac45e9e9af6d917529cde636d93e52f16fab92c0 Mon Sep 17 00:00:00 2001 From: Stefan Schmidt Date: Wed, 20 Jan 2016 11:16:58 +0100 Subject: [PATCH] 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. --- configure.ac | 1 + 1 file changed, 1 insertion(+) 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"]) AC_ARG_WITH([xattr-tests-path], [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])]) +EVAS_DICTS_HYPHEN_DIR="/usr/share/hyphen/" AC_ARG_WITH([dictionaries-hyphen-dir], [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])])