Revision: 40907
http://brlcad.svn.sourceforge.net/brlcad/?rev=40907&view=rev
Author: brlcad
Date: 2010-10-06 22:16:29 +0000 (Wed, 06 Oct 2010)
Log Message:
-----------
add actions if cross-compiling so configure won't halt. the flags are assumed
to work if it compiled as is the sanity test.
Modified Paths:
--------------
brlcad/trunk/m4/compiler.m4
brlcad/trunk/m4/epsilon.m4
Modified: brlcad/trunk/m4/compiler.m4
===================================================================
--- brlcad/trunk/m4/compiler.m4 2010-10-06 20:19:26 UTC (rev 40906)
+++ brlcad/trunk/m4/compiler.m4 2010-10-06 22:16:29 UTC (rev 40907)
@@ -69,7 +69,7 @@
AC_TRY_RUN( [
#include <stdlib.h>
int main(){exit(0);}
-], [], [bc_[$2]_works=no])
+], [], [bc_[$2]_works=no], [bc_[$2]_works=maybe])
AC_MSG_RESULT($bc_[$2]_works)
if test "x$bc_[$2]_works" = "xno" -o "x$__keep" != "x" ; then
CFLAGS="$PRECFLAGS"
@@ -173,7 +173,8 @@
AC_MSG_RESULT(no)
AC_MSG_NOTICE([}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}])
AC_MSG_ERROR([*** compiler cannot create working executables,
check config.log ***])
- ]
+ ],
+ [ AC_MSG_RESULT(dunno, cross-compiling)]
)
])
Modified: brlcad/trunk/m4/epsilon.m4
===================================================================
--- brlcad/trunk/m4/epsilon.m4 2010-10-06 20:19:26 UTC (rev 40906)
+++ brlcad/trunk/m4/epsilon.m4 2010-10-06 22:16:29 UTC (rev 40907)
@@ -167,7 +167,7 @@
}
return 0;
}
-], [bc_compliant_float=yes], [bc_compliant_float=no])
+], [bc_compliant_float=yes], [bc_compliant_float=no],
[bc_compliant_float=dunno])
AC_MSG_RESULT([$bc_compliant_float])
])
@@ -211,6 +211,6 @@
}
return 0;
}
-], [bc_compliant_double=yes], [bc_compliant_double=no])
+], [bc_compliant_double=yes], [bc_compliant_double=no],
[bc_compliant_double=dunno])
AC_MSG_RESULT([$bc_compliant_double])
])
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits