diff options
author | Richard Purdie <richard@ted.(none)> | 2009-01-02 15:42:12 +0000 |
---|---|---|
committer | Richard Purdie <richard@ted.(none)> | 2009-01-02 15:42:12 +0000 |
commit | cf093fa0f307a4614585f711bf501885cf1fccf6 (patch) | |
tree | 0b1ffbfe33e5e633b6bcf4150c5f3b0eb50edb01 /meta/packages/autoconf/autoconf-2.63/autoconf-x.patch | |
parent | 2d749dc4cc5509a55bc9fa256a5cfd2df2fbdda5 (diff) | |
download | openembedded-core-cf093fa0f307a4614585f711bf501885cf1fccf6.tar.gz openembedded-core-cf093fa0f307a4614585f711bf501885cf1fccf6.tar.bz2 openembedded-core-cf093fa0f307a4614585f711bf501885cf1fccf6.tar.xz openembedded-core-cf093fa0f307a4614585f711bf501885cf1fccf6.zip |
autoconf: Add 2.63 (leaving GPLv2 2.61) leaving 2.61 as default since glib-2.0 breaks with 2.63 (site files aren't
being included)
Diffstat (limited to 'meta/packages/autoconf/autoconf-2.63/autoconf-x.patch')
-rw-r--r-- | meta/packages/autoconf/autoconf-2.63/autoconf-x.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta/packages/autoconf/autoconf-2.63/autoconf-x.patch b/meta/packages/autoconf/autoconf-2.63/autoconf-x.patch new file mode 100644 index 000000000..596535b7d --- /dev/null +++ b/meta/packages/autoconf/autoconf-2.63/autoconf-x.patch @@ -0,0 +1,36 @@ +Index: lib/autoconf/libs.m4 +=================================================================== +RCS file: /cvsroot/autoconf/autoconf/lib/autoconf/libs.m4,v +retrieving revision 1.13 +diff -p -u -r1.13 libs.m4 +--- autoconf-2.59/lib/autoconf/libs.m4 6 Sep 2005 15:34:06 -0000 1.13 ++++ autoconf-2.59/lib/autoconf/libs.m4 18 Sep 2005 17:09:58 -0000 +@@ -265,13 +265,13 @@ ac_x_header_dirs=' + /usr/openwin/share/include' + + if test "$ac_x_includes" = no; then +- # Guess where to find include files, by looking for Intrinsic.h. ++ # Guess where to find include files, by looking for Xlib.h. + # First, try using that file with no special directory specified. +- AC_PREPROC_IFELSE([AC_LANG_SOURCE([@%:@include <X11/Intrinsic.h>])], ++ AC_PREPROC_IFELSE([AC_LANG_SOURCE([@%:@include <X11/Xlib.h>])], + [# We can compile using X headers with no special include directory. + ac_x_includes=], + [for ac_dir in $ac_x_header_dirs; do +- if test -r "$ac_dir/X11/Intrinsic.h"; then ++ if test -r "$ac_dir/X11/Xlib.h"; then + ac_x_includes=$ac_dir + break + fi +@@ -284,9 +284,9 @@ if test "$ac_x_libraries" = no; then + # Don't add to $LIBS permanently. + ac_save_LIBS=$LIBS +- LIBS="-lXt $LIBS" +- AC_LINK_IFELSE([AC_LANG_PROGRAM([@%:@include <X11/Intrinsic.h>], +- [XtMalloc (0)])], ++ LIBS="-lX11 $LIBS" ++ AC_LINK_IFELSE([AC_LANG_PROGRAM([@%:@include <X11/Xlib.h>], ++ [XrmInitialize ()])], + [LIBS=$ac_save_LIBS + # We can link X programs with no special library path. + ac_x_libraries=], |