1 diff -urN thunar-thumbnailers-0.0.1svn-r02578/configure.in thunar-thumbnailers-0.0.1svn-r02578.new/configure.in
2 --- thunar-thumbnailers-0.0.1svn-r02578/configure.in 2007-03-30 13:44:17.000000000 +0200
3 +++ thunar-thumbnailers-0.0.1svn-r02578.new/configure.in 2007-04-05 21:59:29.000000000 +0200
5 dnl *** Check for basic programs ***
6 dnl ********************************
8 -AC_PATH_PROG(CONVERT, convert)
9 - if test -z "$CONVERT"; then
10 - AC_MSG_ERROR([ImageMagick is required to build thunar-thumbnailers])
13 dnl *** check if we want raw image thumbnailing ***
14 AC_ARG_ENABLE(enable-raw,
15 [ --enable-raw Enables thumbnailing of the Raw images used by some digital cameras (requires dcraw). ],
17 -if test "$enable_raw" = "yes"; then
18 - dnl *** check to see if dcraw, needed for raw image thumbnailing, is on the path ***
19 - AC_PATH_PROG(DCRAW, dcraw)
20 - if test -z "$DCRAW"; then
21 - AC_MSG_ERROR([Install dcraw before enabling raw image thumbnailing])
24 AM_CONDITIONAL(ENABLE_RAW, test "$enable_raw" = "yes")
26 dnl *** check if we want latex thumbnailing ***
27 AC_ARG_ENABLE(enable-tex,
28 [ --enable-tex Enables thumbnailing of latex and tex files (requires tetex). ],
30 -if test "$enable_tex" = "yes"; then
31 - dnl *** check to see if latex, needed for tex thumbnailing, is on the path ***
32 - AC_PATH_PROG(LATEX, latex)
33 - if test -z "$LATEX"; then
34 - AC_MSG_ERROR([Install tetex before enabling latex thumbnailing])
37 AM_CONDITIONAL(ENABLE_TEX, test "$enable_tex" = "yes")
39 dnl *** check if we want grace (agr) thumbnailing ***
40 AC_ARG_ENABLE(enable-grace,
41 [ --enable-grace Enables thumbnailing of xmgrace / grace (.agr) files (requires grace). ],
43 -if test "$enable_grace" = "yes"; then
44 - dnl *** check to see if gracebat, needed for tex thumbnailing, is on the path ***
45 - AC_PATH_PROG(GRACE, gracebat)
46 - if test -z "$GRACE"; then
47 - AC_MSG_ERROR([Install grace before enabling grace/xmgrace thumbnailing])
50 AM_CONDITIONAL(ENABLE_GRACE, test "$enable_grace" = "yes")
52 dnl *** check if we want video (ffmpeg) thumbnailing ***
53 AC_ARG_ENABLE(enable-ffmpeg,
54 [ --enable-ffmpeg Enables thumbnailing of video files supported by ffmpeg (requires ffmpegthumbnailer). ],
56 -if test "$enable_ffmpeg" = "yes"; then
57 - dnl *** check to see if ffmpegthumbnailer, needed for ffmpeg thumbnailing, is on the path ***
58 - AC_PATH_PROG(FFMPEG, ffmpegthumbnailer)
59 - if test -z "$FFMPEG"; then
60 - AC_MSG_ERROR([Install ffmpegthumbnailer before enabling ffmpeg-video thumbnailing])
63 AM_CONDITIONAL(ENABLE_FFMPEG, test "$enable_ffmpeg" = "yes")
65 dnl *** check if we want to run update-mime-database on installed mimetypes ***