]> git.pld-linux.org Git - packages/urxvt.git/blame - urxvt-link.patch
- BR perl-devel
[packages/urxvt.git] / urxvt-link.patch
CommitLineData
6b1e2f2c
PS
1--- rxvt-unicode-7.7/aclocal.m4.orig 2006-01-22 01:48:13.000000000 +0100
2+++ rxvt-unicode-7.7/aclocal.m4 2006-03-09 14:05:56.048362500 +0100
3@@ -176,7 +176,7 @@
4 # Don't add to $LIBS permanently.
5 ac_save_LIBS="$LIBS"
6 LIBS="$LIBS $X_LIBS -lXpm -lX11"
7-AC_TRY_LINK(, [XpmReadFileToPixmap()],
8+AC_TRY_LINK([#include <X11/xpm.h>], [XpmReadFileToPixmap(0, 0, 0, 0, 0, 0);],
9 [LIBS="$ac_save_LIBS"
10 # We can link libXpm with no special library path.
11 vt_xpm_libraries=],
284a13f6 12diff -aurN rxvt-unicode-7.5.orig/configure.ac rxvt-unicode-7.5/configure.ac
13--- rxvt-unicode-7.5.orig/configure.ac 2006-01-28 22:26:37.000000000 +0100
14+++ rxvt-unicode-7.5/configure.ac 2006-02-04 20:46:00.617940000 +0100
15@@ -88,11 +88,11 @@
3e0e9474 16 dnl fi
a7c8109b
JB
17
18 dnl# FreeBSD needs to link libxpg4
f0dda195 19-AC_CHECK_FUNC(setlocale, [], [AC_CHECK_LIB(xpg4, setlocale, [LIBS="$LIBS -lxpg4"])])
a7c8109b
JB
20+AC_SEARCH_LIBS(setlocale, xpg4)
21
f0dda195 22 dnl# solaris needs to link libnsl and socket
23-AC_CHECK_FUNC(gethostbyname, [], [AC_CHECK_LIB(nsl, gethostbyname, [LIBS="$LIBS -lnsl"])])
24-AC_CHECK_FUNC(socket, [], [AC_CHECK_LIB(socket, socket, [LIBS="$LIBS -lsocket"])])
25+AC_SEARCH_LIBS(nsl, gethostbyname)
a7c8109b
JB
26+AC_SEARCH_LIBS(socket, socket)
27
284a13f6 28 dnl AC_ENABLE_SHARED(no)dnl# libtool
29 dnl AC_ENABLE_STATIC(yes)dnl# libtool
This page took 0.058902 seconds and 4 git commands to generate.