summaryrefslogtreecommitdiff
path: root/openembedded/packages/autoconf/autoconf-2.59
diff options
context:
space:
mode:
authorRoss Burton <ross@openedhand.com>2006-01-26 15:17:51 +0000
committerRoss Burton <ross@openedhand.com>2006-01-26 15:17:51 +0000
commit6c96daa682afd66d1c18f7107821f0a1825cd4f8 (patch)
treeb44bf936355cd4a5e28fa59eda3a26125fe2a925 /openembedded/packages/autoconf/autoconf-2.59
parent88565a78e152fe96cafaf1173ffbfb23fde07e35 (diff)
downloadopenembedded-core-6c96daa682afd66d1c18f7107821f0a1825cd4f8.tar.gz
openembedded-core-6c96daa682afd66d1c18f7107821f0a1825cd4f8.tar.bz2
openembedded-core-6c96daa682afd66d1c18f7107821f0a1825cd4f8.tar.xz
openembedded-core-6c96daa682afd66d1c18f7107821f0a1825cd4f8.zip
Take patch from upstream to check Xlib instead of Xt for X presence
git-svn-id: https://svn.o-hand.com/repos/poky@239 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/packages/autoconf/autoconf-2.59')
-rw-r--r--openembedded/packages/autoconf/autoconf-2.59/autoconf-x.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/openembedded/packages/autoconf/autoconf-2.59/autoconf-x.patch b/openembedded/packages/autoconf/autoconf-2.59/autoconf-x.patch
new file mode 100644
index 000000000..983869320
--- /dev/null
+++ b/openembedded/packages/autoconf/autoconf-2.59/autoconf-x.patch
@@ -0,0 +1,35 @@
+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,7 +284,7 @@ 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)])],
++ 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=], \ No newline at end of file