--- libelwix/configure 2024/08/14 16:09:47 1.69.2.1 +++ libelwix/configure 2024/08/19 15:40:12 1.69.2.3 @@ -3938,8 +3938,14 @@ fi -CFLAGS="-Wall -O2 -fPIC ${CFLAGS}" -LDFLAGS="${LDFLAGS}" +if test "${ac_cv_env_CFLAGS_set}" != "set"; then + CFLAGS="-Wall -O2" +else + CFLAGS="${ac_cv_env_CFLAGS_value}" +fi +if test "${ac_cv_env_LDFLAGS_set}" = "set"; then + LDFLAGS="${ac_cv_env_LDFLAGS_value}" +fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_init in -lpthread" >&5