--- libaitcfg/configure 2024/08/19 19:33:19 1.30.2.2 +++ libaitcfg/configure 2024/10/29 00:56:21 1.30.2.5 @@ -3926,6 +3926,13 @@ fi +if test x"${prefix}" = x"NONE"; then + prefix="/usr/local" +fi +if test x"${exec_prefix}" = x"NONE"; then + exec_prefix=${prefix} +fi + if test "${ac_cv_env_CFLAGS_set}" != "set"; then CFLAGS="-Wall -O2 -I${includedir}" else @@ -3934,7 +3941,7 @@ fi if test "${ac_cv_env_LDFLAGS_set}" = "set"; then LDFLAGS="${ac_cv_env_LDFLAGS_value}" else - LDFLAGS="-L${libdir}" + LDFLAGS="-L$(eval echo ${libdir})" fi