From 2bb8ce5364a7e99674e712f2e4db4961f8acf080 Mon Sep 17 00:00:00 2001 From: "Alex Xu (Hello71)" Date: Thu, 6 Sep 2018 10:50:39 -0400 Subject: Fix autoconf install variables --- configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index b802932..c4f753c 100644 --- a/configure.ac +++ b/configure.ac @@ -88,10 +88,10 @@ AC_ARG_VAR([DEFAULT_RANDOM_SEED_PATH], [default seed path if no command line arg AS_IF([test -z "$DEFAULT_RANDOM_SEED_PATH"], [ DEFAULT_RANDOM_SEED_PATH=/var/lib/random-seed ]) -AC_DEFINE_UNQUOTED(DEFAULT_SEED_PATH, "$DEFAULT_SEED_PATH", [default seed path]) +AC_DEFINE_UNQUOTED(DEFAULT_SEED_PATH, "$DEFAULT_RANDOM_SEED_PATH", [default seed path]) # everybody has POSIX shell now. -DEFAULT_SEED_PATH_DIR=${DEFAULT_SEED_PATH%/*} -AC_SUBST(DEFAULT_SEED_PATH_DIR) +DEFAULT_SEED_DIR=${DEFAULT_RANDOM_SEED_PATH%/*} +AC_SUBST(DEFAULT_SEED_DIR) AX_APPEND_FLAG(-D_GNU_SOURCE, CPPFLAGS) AX_APPEND_FLAG(-D_DEFAULT_SOURCE, CPPFLAGS) -- cgit v1.2.3-70-g09d2