Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 885534 Details for
Bug 925100
sys-devel/bison: Add --without-libtextstyle option
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
My failed attempt at adding the flag.
with-libtextstyle.patch (text/plain), 1.38 KB, created by
Raul Rangel
on 2024-02-20 18:54:02 UTC
(
hide
)
Description:
My failed attempt at adding the flag.
Filename:
MIME Type:
Creator:
Raul Rangel
Created:
2024-02-20 18:54:02 UTC
Size:
1.38 KB
patch
obsolete
>diff --git a/configure.ac.orig b/configure.ac >index 7f6133e..9fe92ad 100644 >--- a/configure.ac.orig >+++ b/configure.ac >@@ -55,8 +55,45 @@ AC_PROG_CXX > # Gnulib (early checks). > gl_EARLY > >-# We want ostream_printf and hyperlink support. >-gl_LIBTEXTSTYLE_OPTIONAL([0.20.5]) >+AC_ARG_WITH([libtextstyle], >+ [AS_HELP_STRING([--with-libtextstyle], >+ [support fancy colors @<:@default=check@:>@])], >+ [], >+ [with_libtextstyle=check]) >+ >+[echo "RX: with_libtextstyle: $with_libtextstyle"] >+ >+AC_DEFUN([gl_LIBTEXTSTYLE_WITH], >+[ >+ AS_IF([test "x$with_libtextstyle" = xyes -o "x$with_libtextstyle" = xcheck], >+ [gl_LIBTEXTSTYLE([$1])] >+ ) >+ >+ AS_IF([test "x$with_libtextstyle" = xyes], >+ AS_IF([test "x$HAVE_LIBTEXTSTYLE" != xyes], >+ AC_MSG_FAILURE( >+ [--with-libtextstyle was given, but test for libtextstyle failed]) >+ ) >+ ) >+ >+ [set -x] >+ # Copied from libtextstyle-optional.m4 >+ AS_IF([test $HAVE_LIBTEXTSTYLE = yes], >+ [TEXTSTYLE_H=], >+ [ >+ TEXTSTYLE_H=textstyle.h >+ AC_REQUIRE([AC_C_INLINE]) >+ AC_CHECK_FUNCS_ONCE([tcdrain]) >+ ] >+ ) >+ AC_SUBST([TEXTSTYLE_H]) >+ AM_CONDITIONAL([GL_GENERATE_TEXTSTYLE_H], [test -n "$TEXTSTYLE_H"]) >+ >+ [set +x] >+]) >+ >+# We want version 0.20.5 for ostream_printf and hyperlink support. >+gl_LIBTEXTSTYLE_WITH(0.20.5) > > # Gnulib uses '#pragma GCC diagnostic push' to silence some > # warnings, but older gcc doesn't support this.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 925100
: 885534 |
885556
|
885658