diff options
author | Ross Burton <ross@openedhand.com> | 2006-01-30 12:04:04 +0000 |
---|---|---|
committer | Ross Burton <ross@openedhand.com> | 2006-01-30 12:04:04 +0000 |
commit | 275e03563710a10bba9746d3b4eb718b54dd6927 (patch) | |
tree | ffadc558b8a99d0db6678649c879ee77d8074fee | |
parent | c73514c92af75a0127080634e576a210e3a682a0 (diff) | |
download | poky-275e03563710a10bba9746d3b4eb718b54dd6927.tar.gz |
Fix link
git-svn-id: https://svn.o-hand.com/repos/poky@242 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r-- | openembedded/packages/autoconf/autoconf-2.59/autoconf-x.patch | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/openembedded/packages/autoconf/autoconf-2.59/autoconf-x.patch b/openembedded/packages/autoconf/autoconf-2.59/autoconf-x.patch index 983869320d..596535b7d6 100644 --- a/openembedded/packages/autoconf/autoconf-2.59/autoconf-x.patch +++ b/openembedded/packages/autoconf/autoconf-2.59/autoconf-x.patch | |||
@@ -22,14 +22,15 @@ diff -p -u -r1.13 libs.m4 | |||
22 | ac_x_includes=$ac_dir | 22 | ac_x_includes=$ac_dir |
23 | break | 23 | break |
24 | fi | 24 | fi |
25 | @@ -284,7 +284,7 @@ if test "$ac_x_libraries" = no; then | 25 | @@ -284,9 +284,9 @@ if test "$ac_x_libraries" = no; then |
26 | # Don't add to $LIBS permanently. | 26 | # Don't add to $LIBS permanently. |
27 | ac_save_LIBS=$LIBS | 27 | ac_save_LIBS=$LIBS |
28 | LIBS="-lXt $LIBS" | 28 | - LIBS="-lXt $LIBS" |
29 | - AC_LINK_IFELSE([AC_LANG_PROGRAM([@%:@include <X11/Intrinsic.h>], | 29 | - AC_LINK_IFELSE([AC_LANG_PROGRAM([@%:@include <X11/Intrinsic.h>], |
30 | - [XtMalloc (0)])], | 30 | - [XtMalloc (0)])], |
31 | + LIBS="-lX11 $LIBS" | ||
31 | + AC_LINK_IFELSE([AC_LANG_PROGRAM([@%:@include <X11/Xlib.h>], | 32 | + AC_LINK_IFELSE([AC_LANG_PROGRAM([@%:@include <X11/Xlib.h>], |
32 | + [XrmInitialize ()])], | 33 | + [XrmInitialize ()])], |
33 | [LIBS=$ac_save_LIBS | 34 | [LIBS=$ac_save_LIBS |
34 | # We can link X programs with no special library path. | 35 | # We can link X programs with no special library path. |
35 | ac_x_libraries=], \ No newline at end of file | 36 | ac_x_libraries=], |