summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2018-08-09 10:55:32 -0400
committerAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2018-08-09 10:55:32 -0400
commit33bd0afe7d44d1cc1142ad4384175c84ec20147e (patch)
tree78e42b6e3cb7589dadc68082a7f027e549aa2dc0
parent3e2b1ad14f427285128c0f9086fc03332af45c40 (diff)
downloadrandom-seed-33bd0afe7d44d1cc1142ad4384175c84ec20147e.tar.xz
random-seed-33bd0afe7d44d1cc1142ad4384175c84ec20147e.zip
rename --machine-id to --machine-id-path
-rw-r--r--configure.ac13
1 files changed, 6 insertions, 7 deletions
diff --git a/configure.ac b/configure.ac
index d13b943..813238a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -22,18 +22,17 @@ AS_CASE([$enable_debug],
[AC_MSG_ERROR([invalid argument to --enable-debug])]
)
-AC_ARG_WITH([machine-id],
- AC_HELP_STRING(--with-machine-id, [manually specify machine-id location [/etc/machine-id, /var/lib/dbus/machine-id]]),
- [machine_id=$withval]
+AC_ARG_WITH([machine-id-path],
+ AC_HELP_STRING(--with-machine-id-path, [manually specify machine-id location [/etc/machine-id, /var/lib/dbus/machine-id]]),
+ [machine_id_path=$withval]
)
-
-AS_IF([test -n "$machine_id"],
+AS_IF([test -n "$machine_id_path"],
[
- AS_CASE($machine_id,
+ AS_CASE($machine_id_path,
[/*], [],
[AC_MSG_ERROR([relative machine id path is invalid])]
)
- AC_DEFINE_UNQUOTED(MACHINE_ID_PATH, "$machine_id", [machine id location])
+ AC_DEFINE_UNQUOTED(MACHINE_ID_PATH, "$machine_id_path", [machine id location])
]
)