Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 719442
Collapse All | Expand All

(-)a/configure.ac (-4 / +4 lines)
Lines 67-73 Link Here
67
    AS_IF([test "x$on_s390" = "xno" -a "x$with_s390" = "xyes"],
67
    AS_IF([test "x$on_s390" = "xno" -a "x$with_s390" = "xyes"],
68
           [LIBBLOCKDEV_SOFT_FAILURE([s390 support requested, but not on s390 arch])
68
           [LIBBLOCKDEV_SOFT_FAILURE([s390 support requested, but not on s390 arch])
69
            AM_CONDITIONAL(WITH_S390, false)],
69
            AM_CONDITIONAL(WITH_S390, false)],
70
          [test "x$on_s390" == "xyes" -a "x$with_s390" != "xno"],
70
          [test "x$on_s390" = "xyes" -a "x$with_s390" != "xno"],
71
           [AC_SUBST(WITH_S390, 1)
71
           [AC_SUBST(WITH_S390, 1)
72
            AM_CONDITIONAL(WITH_S390, true)
72
            AM_CONDITIONAL(WITH_S390, true)
73
           ],
73
           ],
Lines 86-92 Link Here
86
AC_SUBST(WITH_PYTHON2, 0)
86
AC_SUBST(WITH_PYTHON2, 0)
87
if test "x$with_python2" != "xno"; then
87
if test "x$with_python2" != "xno"; then
88
    AC_PATH_PROG([python2], [python2], [no])
88
    AC_PATH_PROG([python2], [python2], [no])
89
    AS_IF([test "x$python2" == "xno"],
89
    AS_IF([test "x$python2" = "xno"],
90
    [if test "x$with_python2" = "xyes"; then
90
    [if test "x$with_python2" = "xyes"; then
91
      LIBBLOCKDEV_SOFT_FAILURE([Python2 support requested, but python2 is not available])
91
      LIBBLOCKDEV_SOFT_FAILURE([Python2 support requested, but python2 is not available])
92
      fi],
92
      fi],
Lines 102-108 Link Here
102
AC_SUBST(WITH_PYTHON3, 0)
102
AC_SUBST(WITH_PYTHON3, 0)
103
if test "x$with_python3" != "xno"; then
103
if test "x$with_python3" != "xno"; then
104
    AC_PATH_PROG([python3], [python3], [no])
104
    AC_PATH_PROG([python3], [python3], [no])
105
    AS_IF([test "x$python3" == "xno"],
105
    AS_IF([test "x$python3" = "xno"],
106
    [if test "x$with_python3" = "xyes"; then
106
    [if test "x$with_python3" = "xyes"; then
107
      LIBBLOCKDEV_SOFT_FAILURE([Python3 support requested, but python3 is not available])
107
      LIBBLOCKDEV_SOFT_FAILURE([Python3 support requested, but python3 is not available])
108
      fi],
108
      fi],
Lines 119-125 Link Here
119
AC_SUBST(WITH_GTK_DOC, 0)
119
AC_SUBST(WITH_GTK_DOC, 0)
120
if test "x$with_gtk_doc" != "xno"; then
120
if test "x$with_gtk_doc" != "xno"; then
121
    AC_PATH_PROG([gtkdoc_scan], [gtkdoc-scan], [no])
121
    AC_PATH_PROG([gtkdoc_scan], [gtkdoc-scan], [no])
122
    AS_IF([test "x$gtkdoc_scan" == "xno"],
122
    AS_IF([test "x$gtkdoc_scan" = "xno"],
123
    [if test "x$with_gtk_doc" = "xyes"; then
123
    [if test "x$with_gtk_doc" = "xyes"; then
124
      LIBBLOCKDEV_SOFT_FAILURE([Building documentation with gtk-doc requested, but not available])
124
      LIBBLOCKDEV_SOFT_FAILURE([Building documentation with gtk-doc requested, but not available])
125
      fi],
125
      fi],

Return to bug 719442