From 8ad80955d475ee0ae6009ba475fff18c3aabcae7 Mon Sep 17 00:00:00 2001 From: Renato Botelho do Couto Date: Mon, 3 Jul 2023 18:34:36 +0000 Subject: [PATCH] configure.ac: Set default exec_prefix=$prefix earlier --- configure.ac | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 014068dc..cf74c40d 100644 --- a/configure.ac +++ b/configure.ac @@ -169,6 +169,10 @@ if test "$prefix" = "NONE"; then prefix=${ac_default_prefix} fi +if test "$exec_prefix" = "NONE"; then + exec_prefix=${prefix} +fi + # Postfix for shared libs SH_SUFFIX=".so" # Postfix for static libs @@ -405,7 +409,6 @@ AH_BOTTOM([#include ]) # Expand for easy replacement in example/main/example.xml.in # Special case is $libdir, which is composed from $exec_prefix test "x$prefix" = xNONE && prefix=$ac_default_prefix -test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' SYSCONFDIR=`eval echo $sysconfdir` LIBDIR=`eval echo $libdir` LIBDIR=`eval echo $LIBDIR`