Ethereal-dev: [Ethereal-dev] Cross-compile error in Ethereal configure.in

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Paul Smith" <pausmith@xxxxxxxxxxxxxxxxxx>
Date: Thu, 13 May 2004 16:17:29 -0400
I was looking for some kind of bug reporting interface but couldn't find
one anywhere... is there such a thing?  If so it would be good to add a
link to it to the ethereal web pages :).

Anyway, there's a bug in ethereal/configure.in when you're doing
cross-compilation: the code to check for loadable module support in glib
prints "cross compiling; assumed OK...", but then it doesn't actually
set the value and so it defaults to "no".

The patch below should fix it.


--- /tmp/configure.in-dist	2004-05-13 16:14:10.000000000 -0400
+++ /tmp/configure.in	2004-05-13 16:13:40.000000000 -0400
@@ -323,7 +323,8 @@
     return 1;	/* failure */
 }
 ], ac_cv_glib_supports_modules=yes, ac_cv_glib_supports_modules=no,
-   [echo $ac_n "cross compiling; assumed OK... $ac_c"])
+   [echo $ac_n "cross compiling; assumed OK... $ac_c"
+    ac_cv_glib_supports_modules=yes])
 CFLAGS="$ac_save_CFLAGS"
 LIBS="$ac_save_LIBS"
 if test "$ac_cv_glib_supports_modules" = yes ; then
-- 
-------------------------------------------------------------------------------
 Paul D. Smith <psmith@xxxxxxxxxxxxxxxxxx>   HASMAT: HA Software Mthds & Tools
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist
-------------------------------------------------------------------------------
   These are my opinions---Nortel Networks takes no responsibility for them.