summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRickard Green <rickard@erlang.org>2018-09-06 15:29:06 +0200
committerRickard Green <rickard@erlang.org>2018-09-06 15:29:06 +0200
commit3588a1c5bb73ee69841e7f1cfbd4b885d23c2ff0 (patch)
tree9fdcb31f623836cd32ec0e32ead76965b935f157
parentdb0ebbb8e7eb02b78bce9e87ab67ae15d6d65ff3 (diff)
downloaderlang-3588a1c5bb73ee69841e7f1cfbd4b885d23c2ff0.tar.gz
Fix PGO configure test
-rw-r--r--erts/configure.in2
1 files changed, 1 insertions, 1 deletions
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])