summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2018-09-29 16:05:28 +0800
committerColin Watson <cjwatson@debian.org>2018-10-21 15:14:10 +0100
commit491a2f69120e6cf169902223ea490541cbf82406 (patch)
tree5cb2307f89c464bb2b0fce741a1a4a46f5776ecd /m4
parentba11076f9643974954341130d336f9ed393c1630 (diff)
man-arg-config-file: fix to use config_file
* m4/man-arg-config-file.m4: Compute config_file_basename based on config_file, not withval. Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Diffstat (limited to 'm4')
-rw-r--r--m4/man-arg-config-file.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/man-arg-config-file.m4 b/m4/man-arg-config-file.m4
index 6dc9fd38..41494af4 100644
--- a/m4/man-arg-config-file.m4
+++ b/m4/man-arg-config-file.m4
@@ -13,7 +13,7 @@ AC_ARG_WITH([config-file],
config_file=$withval
fi],
[: ${config_file=\$\{sysconfdir\}/man_db.conf}])
-config_file_basename=${withval##*/}
+config_file_basename=${config_file##*/}
config_file_dirname=`AS_DIRNAME(["$config_file"])`
AC_SUBST([config_file])
AC_SUBST([config_file_basename])