changeset 20173:23c0f89700a4

configure.ac: set cross_mkoctfile = no if not cross compiling * configure.ac: when warning that cant create cross_mkoctfile, set variable to no
author John Donoghue <john.donoghue@ieee.org>
date Wed, 18 Mar 2015 21:00:51 -0400
parents 8ba35b7b355d
children d20dd211cc89
files configure.ac
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure.ac
+++ b/configure.ac
@@ -2983,6 +2983,7 @@
 if test "$cross_mkoctfile" = yes; then
   if test "$cross_compiling" = no; then
     AC_MSG_WARN([ignoring --enable-cross-mkoctfile when not cross compiling])
+    cross_mkoctfile=no
   fi
 fi
 AM_CONDITIONAL([AMCOND_CROSS_MKOCTFILE], [test $cross_mkoctfile = yes])