This is an automated email from the git hooks/post-receive script.
firstyear pushed a commit to branch master
in repository 389-ds-base.
commit b393875369bf0e1ab720cbee7d2c660c803ecd4d
Author: William Brown <firstyear(a)redhat.com>
Date: Thu Apr 20 14:00:22 2017 +1000
Ticket 49224 - without --prefix, $prefixdir would be NONE in defaults.
Bug Description: In the handling of $prefix, we set $prefix dir early
in the process, but later configure changes it to $ac_default_prefix
if $prefix == NONE.
Fix Description: Check if $prefix is none, and update the value
based on $ac_default_prefix from that instead.
https://pagure.io/389-ds-base/issue/49224
Author: wibrown
Review by: Ilias95, mreynolds (Thanks!)
---
configure.ac | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/configure.ac b/configure.ac
index 7b9f175..5fbf6ac 100644
--- a/configure.ac
+++ b/configure.ac
@@ -286,6 +286,13 @@ AM_CONDITIONAL(enable_nunc_stans,test "$enable_nunc_stans"
= "yes")
# the default prefix - override with --prefix or --with-fhs
AC_PREFIX_DEFAULT([/opt/$PACKAGE_NAME])
+# If we have no prefix specified, we need to fix the prefix variable.
+# If we don't what happens is $prefixdir ends up as NONE, and then
+# later configure changes $prefix to $ac_default_prefix underneath us.
+if test "$prefix" = "NONE"; then
+ prefix=$ac_default_prefix
+fi
+
m4_include(m4/fhs.m4)
localrundir='/run'
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.