libbonobo r3522 - trunk



Author: strba
Date: Wed Jan 14 19:38:12 2009
New Revision: 3522
URL: http://svn.gnome.org/viewvc/libbonobo?rev=3522&view=rev

Log:
allow specify which orbit-idl-2 compiler to use and make cross-compiling possible by making running of executables during configure optional

Modified:
   trunk/ChangeLog
   trunk/configure.in

Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in	(original)
+++ trunk/configure.in	Wed Jan 14 19:38:12 2009
@@ -134,7 +134,7 @@
 fi
 
 # orbit-idl
-ORBIT_IDL="`$PKG_CONFIG --variable=orbit_idl ORBit-2.0`"
+test x$ORBIT_IDL = x && ORBIT_IDL="`$PKG_CONFIG --variable=orbit_idl ORBit-2.0`"
 AC_SUBST(ORBIT_IDL)
 
 AC_CHECK_HEADER(popt.h,,AC_MSG_ERROR([Failed to find popt.h - you may have to adjust your environment]))
@@ -162,8 +162,10 @@
 		AC_MSG_RESULT(no)
 		AC_MSG_ERROR(
 			[No working gthread-2.0 support found, using --disable-threads IS DISCOURAGED])
-	]
-  )
+	], [AC_MSG_RESULT(unknown)
+	    AC_MSG_WARN(
+	        [Couldn't check for working gthread-2.0 support while crosscompiling
+	])])
   CFLAGS=$libbonobo_save_CFLAGS
   LIBS=$libbonobo_save_LIBS
   AC_DEFINE(HAVE_GTHREADS,,[whether we use gthreads])



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]