Browse Source

configure: move exec_prefix sanitize

Move exec_prefix sanitize closer to prefix. This is not
functional change, just group functional tests together.

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Jan Friesse <jfriesse@redhat.com>
Fabio M. Di Nitto 5 years ago
parent
commit
4aee1a720c
1 changed files with 7 additions and 8 deletions
  1. 7 8
      configure.ac

+ 7 - 8
configure.ac

@@ -69,6 +69,13 @@ if test "$prefix" = "NONE"; then
 	fi
 fi
 
+AC_MSG_NOTICE(Sanitizing exec_prefix: ${exec_prefix})
+case $exec_prefix in
+  dnl For consistency with Corosync, map NONE->$prefix
+  NONE)   exec_prefix=$prefix;;
+  prefix) exec_prefix=$prefix;;
+esac
+
 if test "$srcdir" = "."; then
 	AC_MSG_NOTICE([building in place srcdir:$srcdir])
 	AC_DEFINE([BUILDING_IN_PLACE], 1, [building in place])
@@ -288,14 +295,6 @@ cc_supports_flag() {
 	return $RC
 }
 
-## cleanup
-AC_MSG_NOTICE(Sanitizing exec_prefix: ${exec_prefix})
-case $exec_prefix in
-  dnl For consistency with Corosync, map NONE->$prefix
-  NONE)   exec_prefix=$prefix;;
-  prefix) exec_prefix=$prefix;;
-esac
-
 ## local defines
 PACKAGE_FEATURES=""