Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 925100 | Differences between
and this patch

Collapse All | Expand All

(-)a/m4/libtextstyle-optional.m4 (-1 / +1 lines)
Lines 22-28 dnl LTLIBTEXTSTYLE to empty. Link Here
22
AC_DEFUN([gl_LIBTEXTSTYLE_OPTIONAL],
22
AC_DEFUN([gl_LIBTEXTSTYLE_OPTIONAL],
23
[
23
[
24
  gl_LIBTEXTSTYLE([$1])
24
  gl_LIBTEXTSTYLE([$1])
25
  if test $HAVE_LIBTEXTSTYLE = yes; then
25
  if test "x$HAVE_LIBTEXTSTYLE" = xyes; then
26
    GL_GENERATE_TEXTSTYLE_H=false
26
    GL_GENERATE_TEXTSTYLE_H=false
27
  else
27
  else
28
    GL_GENERATE_TEXTSTYLE_H=true
28
    GL_GENERATE_TEXTSTYLE_H=true
(-)a/m4/libtextstyle.m4 (-4 / +23 lines)
Lines 38-43 AC_DEFUN([gl_LIBTEXTSTYLE_NEWEST_VERSION], [0.20.5]) Link Here
38
AC_DEFUN([gl_LIBTEXTSTYLE_INITIALIZE],
38
AC_DEFUN([gl_LIBTEXTSTYLE_INITIALIZE],
39
[
39
[
40
  m4_divert_text([DEFAULTS], [gl_libtextstyle_minversion=' 0.20 '])
40
  m4_divert_text([DEFAULTS], [gl_libtextstyle_minversion=' 0.20 '])
41
42
  AC_MSG_CHECKING([whether to link against libtextstyle])
43
  AC_ARG_WITH([libtextstyle],
44
    [AS_HELP_STRING([--with-libtextstyle],
45
      [support fancy colors @<:@default=auto@:>@])],
46
    [],
47
    [with_libtextstyle=auto])
48
  AC_MSG_RESULT([$with_libtextstyle])
41
])
49
])
42
50
43
AC_DEFUN([gl_LIBTEXTSTYLE_SEARCH],
51
AC_DEFUN([gl_LIBTEXTSTYLE_SEARCH],
Lines 53-59 AC_DEFUN([gl_LIBTEXTSTYLE_SEARCH], Link Here
53
      snippet='term_styled_ostream_create(1,"",TTYCTL_AUTO,"");'
61
      snippet='term_styled_ostream_create(1,"",TTYCTL_AUTO,"");'
54
      ;;
62
      ;;
55
  esac
63
  esac
56
  AC_LIB_HAVE_LINKFLAGS([textstyle], [],
64
57
    [#include <textstyle.h>], [$snippet],
65
  AS_IF(
58
    [no])
66
    [test "x$with_libtextstyle" != xno],
67
    [AC_LIB_HAVE_LINKFLAGS([textstyle], [],
68
      [#include <textstyle.h>], [$snippet],
69
      [no]
70
    )]
71
  )
72
73
  AS_IF(
74
    [test "x$with_libtextstyle" = xyes -a "x$HAVE_LIBTEXTSTYLE" != xyes],
75
    [AC_MSG_FAILURE(
76
      [--with-libtextstyle was given, but test for libtextstyle failed]
77
    )]
78
  )
59
])
79
])
60
- 

Return to bug 925100