--- asterisk-1.8.25.0/configure.ac.orig 2014-01-24 16:52:23.000000000 -0600 +++ asterisk-1.8.25.0/configure.ac 2014-01-24 16:55:14.000000000 -0600 @@ -2283,11 +2283,13 @@ AC_OUTPUT ${ac_cv_path_EGREP} 'CURSES|GTK2|OSARCH|NEWT' makeopts > makeopts.acbak2 +if test "${cross_compiling}" = "no"; then if test "x${ac_cv_path_CMP}" = "x:"; then ( cd `pwd`/menuselect && ./configure ) else if ${ac_cv_path_CMP} -s makeopts.acbak makeopts.acbak2; then : ; else ( cd `pwd`/menuselect && ./configure ) fi ; fi +fi rm makeopts.acbak makeopts.acbak2