]> git.pld-linux.org Git - packages/nautilus.git/blob - nautilus-ac25.patch
- BR: libtool; more specific Requires
[packages/nautilus.git] / nautilus-ac25.patch
1 --- nautilus-1.0.6/configure.in.ac25    Wed Nov  7 20:52:37 2001
2 +++ nautilus-1.0.6/configure.in Tue Jan 22 15:57:23 2002
3 @@ -98,10 +98,10 @@
4  FAM_MISSING_WARNING="Nautilus depends on FAM to provide notification when files are altered (either through filesystem polling, or a kernel notification mechanism). If Nautilus is built without FAM support, directories viewed with Nautilus will not remain in synch with the actual filesystem when they are altered by external processes. Particularly if you are a distributor please compile Nautilus with FAM support. FAM is available from http://oss.sgi.com/projects/fam/. A patch to add Linux Kernel 2.4 directory notify support to FAM (highly desirable) is available from http://people.redhat.com/alexl/files/"
5  FAM_LIBS=
6  AC_CHECK_LIB(fam, FAMOpen,
7 -  AC_CHECK_HEADERS(fam.h,
8 +  [ AC_CHECK_HEADERS(fam.h,
9      [AC_DEFINE(HAVE_LIBFAM)
10       FAM_LIBS="-lfam"],
11 -    AC_MSG_WARN(*** FAM support will not be built (header files not found) $FAM_MISSING_WARNING ***)),
12 +    AC_MSG_WARN(*** FAM support will not be built (header files not found) $FAM_MISSING_WARNING ***)) ],
13    AC_MSG_WARN(*** FAM support will not be built (FAM library not found) $FAM_MISSING_WARNING ***))
14  AC_SUBST(FAM_LIBS)
15  
16 @@ -585,9 +585,9 @@
17  dnl ====================================
18    if test -z "$LIBPNG"; then
19      AC_CHECK_LIB(png, png_read_info,
20 -      AC_CHECK_HEADER(png.h,
21 -        png_ok=yes,
22 -        png_ok=no),
23 +      [ AC_CHECK_HEADER(png.h,
24 +         png_ok=yes,
25 +         png_ok=no) ],
26        AC_MSG_ERROR(*** (PNG library not found) ***), -lz -lm)
27      if test "$png_ok" = yes; then
28        AC_MSG_CHECKING([for png_structp in png.h])
29 @@ -616,9 +616,9 @@
30  dnl ====================================
31    if test -z "$LIBJPEG"; then
32      AC_CHECK_LIB(jpeg, jpeg_start_decompress,
33 -      AC_CHECK_HEADER(jpeglib.h,
34 +      [ AC_CHECK_HEADER(jpeglib.h,
35          jpeg_ok=yes,
36 -        jpeg_ok=no),
37 +        jpeg_ok=no) ],
38        AC_MSG_WARN(*** (jpeg library not found) ***), -lm)
39      if test "$jpeg_ok" = yes; then
40        JPEG='jpeg'; LIBJPEG='-ljpeg'
This page took 0.069394 seconds and 3 git commands to generate.