From: Ross Burton Date: Mon, 30 Jan 2006 12:04:04 +0000 (+0000) Subject: Fix link X-Git-Tag: 2011-1~13152 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=275e03563710a10bba9746d3b4eb718b54dd6927;p=openembedded-core.git Fix link git-svn-id: https://svn.o-hand.com/repos/poky@242 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- 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 ac_x_includes=$ac_dir break fi -@@ -284,7 +284,7 @@ if test "$ac_x_libraries" = no; then +@@ -284,9 +284,9 @@ if test "$ac_x_libraries" = no; then # Don't add to $LIBS permanently. ac_save_LIBS=$LIBS - LIBS="-lXt $LIBS" +- LIBS="-lXt $LIBS" - AC_LINK_IFELSE([AC_LANG_PROGRAM([@%:@include ], - [XtMalloc (0)])], ++ LIBS="-lX11 $LIBS" + AC_LINK_IFELSE([AC_LANG_PROGRAM([@%:@include ], + [XrmInitialize ()])], [LIBS=$ac_save_LIBS # We can link X programs with no special library path. - ac_x_libraries=], \ No newline at end of file + ac_x_libraries=],