comparison configure.ac @ 19999: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
comparison
equal deleted inserted replaced
19998:8ba35b7b355d 19999:23c0f89700a4
2981 [if test "$enableval" = yes; then cross_mkoctfile=yes; fi]) 2981 [if test "$enableval" = yes; then cross_mkoctfile=yes; fi])
2982 2982
2983 if test "$cross_mkoctfile" = yes; then 2983 if test "$cross_mkoctfile" = yes; then
2984 if test "$cross_compiling" = no; then 2984 if test "$cross_compiling" = no; then
2985 AC_MSG_WARN([ignoring --enable-cross-mkoctfile when not cross compiling]) 2985 AC_MSG_WARN([ignoring --enable-cross-mkoctfile when not cross compiling])
2986 cross_mkoctfile=no
2986 fi 2987 fi
2987 fi 2988 fi
2988 AM_CONDITIONAL([AMCOND_CROSS_MKOCTFILE], [test $cross_mkoctfile = yes]) 2989 AM_CONDITIONAL([AMCOND_CROSS_MKOCTFILE], [test $cross_mkoctfile = yes])
2989 2990
2990 2991