]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/gnokii/gnokii/configure.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / gnokii / gnokii / configure.patch
1 --- gnokii-0.6.4/configure.in.old       2005-01-09 20:15:53.000000000 +0000
2 +++ gnokii-0.6.4/configure.in   2005-01-09 20:15:55.000000000 +0000
3 @@ -379,11 +379,16 @@
4        AC_MSG_WARN(Cannot find library libX11.)
5        AC_MSG_WARN(Disabling xgnokii.)
6     else
7 +      if test "x$x_libraries" != "x"; then
8 +          l_x_libraries="-L$x_libraries"
9 +      else
10 +          l_x_libraries=""
11 +      fi
12        AC_CHECK_LIB(Xpm, XpmWriteFileFromXpmImage,
13 -            [ XPM_CFLAGS="$XINCL" XPM_LIBS="-L$x_libraries -lXpm -lX11"
14 +            [ XPM_CFLAGS="$XINCL" XPM_LIBS="$l_x_libraries -lXpm -lX11"
15                AC_DEFINE(XPM) ],
16              AC_MSG_WARN(Cannot found library libXpm - disabling XPM support.),
17 -            [ -L$x_libraries -lX11 ]
18 +            [ $l_x_libraries -lX11 ]
19        )
20  
21        if test "x$PTHREAD_LIBS" = xerror; then