comparison configure @ 106514:d079dad917ed

configure.in: Don't check for RSVG or GConf unless X11 is used.
author Jan Djärv <jan.h.d@swipnet.se>
date Wed, 09 Dec 2009 18:46:53 +0000
parents 2400073344ef
children 12138f085fa7
comparison
equal deleted inserted replaced
106513:ee739656ad20 106514:d079dad917ed
11325 fi 11325 fi
11326 11326
11327 11327
11328 ### Use -lrsvg-2 if available, unless `--with-rsvg=no' is specified. 11328 ### Use -lrsvg-2 if available, unless `--with-rsvg=no' is specified.
11329 HAVE_RSVG=no 11329 HAVE_RSVG=no
11330 if test "${HAVE_X11}" = "yes" || test "${HAVE_NS}" = "yes"; then 11330 if test "${HAVE_X11}" = "yes"; then
11331 if test "${with_rsvg}" != "no"; then 11331 if test "${with_rsvg}" != "no"; then
11332 RSVG_REQUIRED=2.11.0 11332 RSVG_REQUIRED=2.11.0
11333 RSVG_MODULE="librsvg-2.0 >= $RSVG_REQUIRED" 11333 RSVG_MODULE="librsvg-2.0 >= $RSVG_REQUIRED"
11334 11334
11335 11335
12586 12586
12587 fi 12587 fi
12588 fi 12588 fi
12589 12589
12590 HAVE_GCONF=no 12590 HAVE_GCONF=no
12591 if test "X$with_x" != "Xno" && test "${with_gconf}" = "yes"; then 12591 if test "${HAVE_X11}" = "yes" && test "${with_gconf}" = "yes"; then
12592 12592
12593 succeeded=no 12593 succeeded=no
12594 12594
12595 # Extract the first word of "pkg-config", so it can be a program name with args. 12595 # Extract the first word of "pkg-config", so it can be a program name with args.
12596 set dummy pkg-config; ac_word=$2 12596 set dummy pkg-config; ac_word=$2