summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRickard Green <rickard@erlang.org>2018-09-17 10:25:17 +0200
committerRickard Green <rickard@erlang.org>2018-09-17 10:25:17 +0200
commit01cb61c5dc84bd64acfdfb69f1b072d026cfa114 (patch)
tree793297686221553ce39e82a07a5e3079d14aef30
parent0a218353e4360e36bac304b6a4e0effe78d95615 (diff)
parent3588a1c5bb73ee69841e7f1cfbd4b885d23c2ff0 (diff)
downloaderlang-01cb61c5dc84bd64acfdfb69f1b072d026cfa114.tar.gz
Merge branch 'rickard/conf-pgo/OTP-15282' into maint
* rickard/conf-pgo/OTP-15282: 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])