Michael Jennings wrote:
On Thursday, 02 June 2005, at 13:56:28 (-0400),
John Ellson wrote:
Sure, but then there should be a configure test for the cases that need it.
Patches welcome. :)
Michael
RCS file: /cvsroot/enlightenment/eterm/libast/configure.in,v
retrieving revision 1.24
diff -u -r1.24 configure.in
--- configure.in 7 Mar 2005 20:07:10 -0000 1.24
+++ configure.in 2 Jun 2005 19:53:08 -0000
@@ -77,6 +77,24 @@
]
)
+AC_MSG_CHECKING(if STRICT_ISO_C99 required)
+AC_TRY_RUN([
+ int main () {
+ int a = 0, b = 0;
+ (long)a = (long)b;
+ return 0;
+ }]
+ ,
+ AC_MSG_RESULT(no)
+ ,
+ AC_MSG_RESULT(yes)
+ AC_DEFINE_UNQUOTED(STRICT_ISO_C99,1,[Define if compiler needs it])
+ ,
+ AC_MSG_RESULT(no - assumed because cross-compiling)
+ )
+
+
+
AST_X11_SUPPORT()
AST_IMLIB2_SUPPORT()
AST_MMX_SUPPORT()
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel