Changeset 10436


Ignore:
Timestamp:
Apr 1, 2010, 10:17:52 PM (13 years ago)
Author:
charles
Message:

(trunk) #3111 "configure --disable-FOO doesn't quite work" -- fixed in trunk for 2.00. patch by naddy

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r10435 r10436  
    294294                  [enable_libnotify=yes])
    295295    use_libnotify=no
    296     if test "x$enable_libnotify" = "xyes" ; then
    297         if test "x$have_libnotify" = "xyes"; then
     296    if test "x$have_libnotify" = "xyes"; then
     297        if test "x$enable_libnotify" = "xyes" ; then
    298298            use_libnotify=yes
    299299            AC_DEFINE([HAVE_LIBNOTIFY], 1)
     300        else
     301            LIBNOTIFY_CFLAGS=
     302            LIBNOTIFY_LIBS=
    300303        fi
    301304    fi
     
    310313                  [enable_libappindicator=yes])
    311314    use_libappindicator=no
    312     if test "x$enable_libappindicator" = "xyes" ; then
    313         if test "x$have_libappindicator" = "xyes"; then
     315    if test "x$have_libappindicator" = "xyes"; then
     316        if test "x$enable_libappindicator" = "xyes" ; then
    314317            use_libappindicator=yes
    315             AC_SUBST(LIBAPPINDICATOR_LIBS)
    316             AC_SUBST(LIBAPPINDICATOR_CFLAGS)
    317318            AC_DEFINE([HAVE_LIBAPPINDICATOR], 1)
     319        else
     320            LIBAPPINDICATOR_CFLAGS=
     321            LIBAPPINDICATOR_LIBS=
    318322        fi
    319323    fi
     
    326330                  AS_HELP_STRING([--enable-libcanberra],[enable sounds]),,
    327331                  [enable_libcanberra=yes])
    328     if test "x$enable_libcanberra" = "xyes" ; then
    329         if test "x$have_libcanberra" = "xyes"; then
     332    if test "x$have_libcanberra" = "xyes"; then
     333        if test "x$enable_libcanberra" = "xyes" ; then
    330334            use_canberra=yes
    331335            AC_DEFINE([HAVE_LIBCANBERRA], 1)
     336        else
     337            LIBCANBERRA_CFLAGS=
     338            LIBCANBERRA_LIBS=
    332339        fi
    333340    fi
     
    340347                  AS_HELP_STRING([--enable-gconf2],[enable GConf support]),,
    341348                  [enable_gconf2=yes])
    342     if test "x$enable_gconf2" = "xyes" ; then
    343         if test "x$have_gconf2" = "xyes"; then
     349    if test "x$have_gconf2" = "xyes"; then
     350        if test "x$enable_gconf2" = "xyes" ; then
    344351            use_gconf2=yes
    345352            AC_DEFINE([HAVE_GCONF2], 1)
     353        else
     354            GCONF2_CFLAGS=
     355            GCONF2_LIBS=
    346356        fi
    347357    fi
Note: See TracChangeset for help on using the changeset viewer.