Author: benm
Date: 2005-06-09 13:06:31 -0400 (Thu, 09 Jun 2005)
New Revision: 45711
Modified:
trunk/mono/ChangeLog
trunk/mono/configure.in
Log:
2005-06-09 Ben Maurer <[EMAIL PROTECTED]>
* configure.in: Handle more gracefully if objdump or X isn't
there. Warn the user about possible breakage.
Modified: trunk/mono/ChangeLog
===================================================================
--- trunk/mono/ChangeLog 2005-06-09 17:04:55 UTC (rev 45710)
+++ trunk/mono/ChangeLog 2005-06-09 17:06:31 UTC (rev 45711)
@@ -1,3 +1,8 @@
+2005-06-09 Ben Maurer <[EMAIL PROTECTED]>
+
+ * configure.in: Handle more gracefully if objdump or X isn't
+ there. Warn the user about possible breakage.
+
2005-06-08 Ben Maurer <[EMAIL PROTECTED]>
* configure.in: read the SONAME from libX11. This is the same
Modified: trunk/mono/configure.in
===================================================================
--- trunk/mono/configure.in 2005-06-09 17:04:55 UTC (rev 45710)
+++ trunk/mono/configure.in 2005-06-09 17:06:31 UTC (rev 45711)
@@ -1539,8 +1539,18 @@
if test "x$X11" = "xlibX11.so"; then
AC_PATH_X
+ AC_PATH_PROG(OBJDUMP, objdump, no)
if test "x$no_x" != "xyes"; then
- X11=$(objdump -p $x_libraries/libX11.so | $AWK '/SONAME/
{print $2}')
+ if test "x$OBJDUMP" != xno; then
+ AC_MSG_CHECKING(for the soname of libX11.so)
+ X11=$($OBJDUMP -p $x_libraries/libX11.so | $AWK
'/SONAME/ {print $2}')
+ AC_MSG_RESULT($X11)
+ else
+ AC_MSG_WARN([Could not find objdump. WinForms will not
work if you install this mono on a box without the X -devel package.]);
+ fi
+
+ else
+ AC_MSG_WARN([Could not find X development libs. Do you have the
-devel package installed? WinForms may not work...]);
fi
fi
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches