[build] Defining LIBPOSTAL_DATA_DIR at compile time, not configure

This commit is contained in:
Al
2016-01-30 02:18:04 -05:00
parent 45607e659e
commit 9b3296914a
3 changed files with 4 additions and 8 deletions

View File

@@ -59,8 +59,4 @@ AC_CHECK_PROG([FOUND_SHUF], [shuf], [yes])
AS_IF([test "x$FOUND_SHUF" = xyes], [AC_DEFINE([HAVE_SHUF], [1], [shuf available])])
LIBPOSTAL_DATA_DIR=$datadir/libpostal
AC_DEFINE_UNQUOTED([LIBPOSTAL_DATA_DIR], ["$LIBPOSTAL_DATA_DIR"], [Data directory for libpostsal])
AC_SUBST(LIBPOSTAL_DATA_DIR)
AC_OUTPUT