From 3588a1c5bb73ee69841e7f1cfbd4b885d23c2ff0 Mon Sep 17 00:00:00 2001 From: Rickard Green Date: Thu, 6 Sep 2018 15:29:06 +0200 Subject: Fix PGO configure test --- erts/configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'erts') diff --git a/erts/configure.in b/erts/configure.in index 2563a29d08..bcdc6cd083 100644 --- a/erts/configure.in +++ b/erts/configure.in @@ -603,7 +603,7 @@ AC_MSG_CHECKING([whether to do PGO of erts]) if test $enable_pgo = no; then AC_MSG_RESULT([no, disabled by user]) elif test $CROSS_COMPILING = yes; then - if $enable_pgo = yes; then + if test $enable_pgo = yes; then AC_MSG_ERROR(cannot use PGO when cross-compiling) else AC_MSG_RESULT([no, cross compiling]) -- cgit v1.2.3