diff options
author | Ben Maurer <benm@mono-cvs.ximian.com> | 2005-06-08 21:56:22 +0400 |
---|---|---|
committer | Ben Maurer <benm@mono-cvs.ximian.com> | 2005-06-08 21:56:22 +0400 |
commit | f7343a4b062490d9be0ce3ad3924ca09665c0244 (patch) | |
tree | d4015ab8ba9bd466244213de0a1d245272c635d2 /configure.in | |
parent | 5832729b13087049eaf57e87dba0e5a6b953fadb (diff) |
2005-06-08 Ben Maurer <bmaurer@ximian.com>
* configure.in: read the SONAME from libX11. This is the same
thing as will be used by a shared library, so it will really
work.
This will have us get libX11.so.6 rather than libX11.so.6.2.
svn path=/trunk/mono/; revision=45655
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 35b280fd09f..879a0aad5ca 100644 --- a/configure.in +++ b/configure.in @@ -223,6 +223,7 @@ AC_CHECK_TOOL(CC, gcc, gcc) AC_PROG_CC AM_PROG_CC_STDC AC_PROG_INSTALL +AC_PROG_AWK dnl We should use AM_PROG_AS, but it's not available on automake/aclocal 1.4 : ${CCAS='$(CC)'} # Set ASFLAGS if not already set. @@ -1539,7 +1540,7 @@ esac if test "x$X11" = "xlibX11.so"; then AC_PATH_X if test "x$no_x" != "xyes"; then - X11=`readlink $x_libraries/libX11.so` + X11=$(objdump -p $x_libraries/libX11.so | $AWK '/SONAME/ {print $2}') fi fi |