summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2018-09-06 10:50:39 -0400
committerAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2018-09-06 10:50:39 -0400
commit2bb8ce5364a7e99674e712f2e4db4961f8acf080 (patch)
tree1365668411c1d5a948cce46f926615ed44f32abf /configure.ac
parentcba728f142fc7fa7219d1be49c8cb4aada4309f3 (diff)
downloadrandom-seed-2bb8ce5364a7e99674e712f2e4db4961f8acf080.tar.xz
random-seed-2bb8ce5364a7e99674e712f2e4db4961f8acf080.zip
Fix autoconf install variables
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 3 insertions, 3 deletions
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)