diff options
| -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=], |
