summaryrefslogtreecommitdiff
path: root/m4/ax_define_sub_path.m4
diff options
context:
space:
mode:
authorMichael Stapelberg <michael@stapelberg.de>2016-10-05 09:05:02 +0200
committerMichael Stapelberg <michael@stapelberg.de>2016-10-05 09:30:22 +0200
commitd63495eea2a934a36b721c5704f9316c332061bf (patch)
tree74d1f568446d3812ccc214cab326b4224c020dcb /m4/ax_define_sub_path.m4
parent8a6b028ace641df4458f575f93c4fa48ec98499c (diff)
downloadautoconf-archive-d63495eea2a934a36b721c5704f9316c332061bf.tar.gz
Remove extraneous whitespace to make ifelse() work
Diffstat (limited to 'm4/ax_define_sub_path.m4')
-rw-r--r--m4/ax_define_sub_path.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/ax_define_sub_path.m4 b/m4/ax_define_sub_path.m4
index 3ca5c15..240f1c2 100644
--- a/m4/ax_define_sub_path.m4
+++ b/m4/ax_define_sub_path.m4
@@ -79,7 +79,7 @@
# modified version of the Autoconf Macro, you may extend this special
# exception to the GPL to apply to your modified version as well.
-#serial 8
+#serial 9
AU_ALIAS([AC_DEFINE_SUB_PATH], [AX_DEFINE_SUB_PATH])
AC_DEFUN([AX_DEFINE_SUB_PATH],
@@ -87,7 +87,7 @@ AC_DEFUN([AX_DEFINE_SUB_PATH],
test "_$prefix" = _NONE && prefix="$ac_default_prefix"
test "_$exec_prefix" = _NONE && exec_prefix='${prefix}'
P=`echo ifelse( $2, , [$]$1, [$]$2) | sed -e 's:^\${[a-z_]*prefix}:.:'`
- ifelse ($3, ,
+ ifelse($3, ,
AC_DEFINE($1, $P, [sub path $2]),
AC_DEFINE($1, $P, $3))
])