Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 302141 Details for
Bug 404099
net-libs/libtrace-3.0.13 - a library and tools for file/capture device trace manipulation
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix automagic dependency
libtrace-3.0.13-enable-foo.patch (text/plain), 5.26 KB, created by
Marcin Mirosław
on 2012-02-16 12:12:44 UTC
(
hide
)
Description:
fix automagic dependency
Filename:
MIME Type:
Creator:
Marcin Mirosław
Created:
2012-02-16 12:12:44 UTC
Size:
5.26 KB
patch
obsolete
>--- configure.in.orig 2012-02-16 12:36:56.359036000 +0100 >+++ configure.in 2012-02-16 12:32:36.000000000 +0100 >@@ -368,7 +368,6 @@ > #fi > #DAG_VERSION_NUM=$dag_drv_v > >-have_ncurses=yes > > # Checks for various "optional" libraries > AC_CHECK_LIB(z, deflate, have_zlib=1, have_zlib=0) >@@ -381,7 +380,7 @@ > LIBS= > > # These libraries have to be explicitly linked in OpenSolaris >-AC_SEARCH_LIBS(getservent, socket, have_socket=1, have_socket=0, -lnsl) >+AC_SEARCH_LIBS(getservent, socket, have_socket=1, have_socket=0, -lnsl) > LIBS= > > AC_SEARCH_LIBS(inet_ntop, nsl, have_nsl=1, have_nsl=0, -lsocket) >@@ -399,32 +398,11 @@ > LIBPKTDUMP_LIBS="$LIBPKTDUMP_LIBS $ac_cv_search_dlopen" > fi > >- >-if test "$have_zlib" = 1; then >- LIBTRACE_LIBS="$LIBTRACE_LIBS -lz" >- AC_DEFINE(HAVE_LIBZ, 1, [Set to 1 if zlib is supported]) >-fi >- >-if test "$have_bzip" = 1; then >- LIBTRACE_LIBS="$LIBTRACE_LIBS -lbz2" >- AC_DEFINE(HAVE_LIBBZ2, 1, [Set to 1 if bzip2 is supported]) >-fi >- >-if test "$have_lzo" = 1; then >- LIBTRACE_LIBS="$LIBTRACE_LIBS -llzo2" >- AC_DEFINE(HAVE_LIBLZO2, 1, [Set to 1 if lzo2 is supported]) >-fi >- > if test "$have_pthread" = 1; then > LIBTRACE_LIBS="$LIBTRACE_LIBS -lpthread" > AC_DEFINE(HAVE_LIBPTHREAD, 1, [Set to 1 if pthreads are supported]) > fi > >-if test "$have_ncurses" = "yes"; then >- if test "$ac_cv_search_mvprintw" != "none required"; then >- TOOLS_LIBS="$TOOLS_LIBS $ac_cv_search_mvprintw" >- fi >-fi > > if test "$have_nsl" = 1; then > if test "$ac_cv_search_inet_ntop" != "none required"; then >@@ -445,7 +423,6 @@ > # just set libs to null here to avoid linking against them by default > LIBS= > >- > # For now, the user has to explicitly ask for the LLVM stuff, as it's a bit > # rough around the edges :( > AC_ARG_WITH([llvm], >@@ -489,19 +466,74 @@ > fi > fi > >+AC_ARG_WITH([ncurses], >+ [AC_HELP_STRING([--with-ncurses], >+ [build tracetop (requires ncurses)])]) >+AS_IF([test "x$with_ncurses" = "xyes"], [ >+ if test "$have_ncurses" -a "$ac_cv_search_mvprintw" != "none required"; then >+ TOOLS_LIBS="$TOOLS_LIBS $ac_cv_search_mvprintw" >+ HAVE_NCURSES=1 >+ with_ncurses=yes >+ else >+ HAVE_NCURSES=0 >+ with_ncurses=no >+ fi >+]) >+AM_CONDITIONAL([HAVE_NCURSES], [test "$HAVE_NCURSES"]) >+ >+AC_ARG_WITH([bzip2], >+ [AC_HELP_STRING([--with-bzip2], >+ [build support for bzip2 compressed file])]) >+AS_IF([test "x$with_bzip2" = "xyes"], [ >+ if test "$have_bzip" -a "$ac_cv_lib_bz2_BZ2_bzDecompressInit" != "none required"; then >+ LIBTRACE_LIBS="$LIBTRACE_LIBS -lbz2" >+ HAVE_LIBBZ2=1 >+ with_bzip2=yes >+ else >+ HAVE_LIBBZ2=0 >+ with_bzip2=no >+ fi >+]) >+AM_CONDITIONAL([HAVE_BZLIB], [test "$HAVE_LIBBZ2"]) >+ >+AC_ARG_WITH([zlib], >+ [AC_HELP_STRING([--with-zlib], >+ [build support for zlib compressed file])]]) >+AS_IF([test "x$with_zlib" = "xyes"], [ >+ if test "$have_zlib" -a "$ac_cv_lib_z_deflate" != "none required"; then >+ LIBTRACE_LIBS="$LIBTRACE_LIBS -lz" >+ HAVE_LIBZ=1 >+ with_zlib=yes >+ else >+ HAVE_LIBZ=0 >+ with_zlib=no >+ fi >+]) >+AM_CONDITIONAL([HAVE_ZLIB], [test "$HAVE_LIBZ"]) >+ >+AC_ARG_WITH([lzo], >+ [AC_HELP_STRING([--with-lzo], >+ [build support for lzo compression (only for write)])]) >+AS_IF([test "x$with_lzo" = "xyes"], [ >+ if test "$have_lzo" -a "$ac_cv_lib_lzo2_lzo1x_1_compress" != "none required"; then >+ LIBTRACE_LIBS="$LIBTRACE_LIBS -llzo2" >+ HAVE_LIBLZO2=1 >+ with_lzo=yes >+ else >+ HAVE_LIBLZO2=0 >+ with_lzo=no >+ fi >+]) >+AM_CONDITIONAL([HAVE_LZO], [ test "$HAVE_LIBLZO2"]) > > # Define automake conditionals for use in our Makefile.am files > AM_CONDITIONAL([HAVE_BPF_CAPTURE], [test "$ac_cv_have_decl_BIOCSETIF" = yes ]) > AM_CONDITIONAL([HAVE_DAG], [test "$libtrace_dag" = true]) > AM_CONDITIONAL([DAG2_4], [test "$libtrace_dag_version" = 24]) > AM_CONDITIONAL([DAG2_5], [test "$libtrace_dag_version" = 25]) >-AM_CONDITIONAL([HAVE_ZLIB], [test "$have_zlib" = 1]) >-AM_CONDITIONAL([HAVE_BZLIB], [test "$have_bzip" = 1]) >-AM_CONDITIONAL([HAVE_LZO], [test "$have_lzo" = 1]) > AM_CONDITIONAL([HAVE_NETPACKET_PACKET_H], [test "$libtrace_netpacket_packet_h" = true]) > AM_CONDITIONAL([HAVE_LIBGDC], [test "$ac_cv_header_gdc_h" = yes]) > AM_CONDITIONAL([HAVE_LLVM], [test "x$JIT" != "xno" ]) >-AM_CONDITIONAL([HAVE_NCURSES], [test "x$have_ncurses" = "xyes"]) > > # Check for miscellaneous programs > AC_CHECK_PROG([libtrace_doxygen], [doxygen], [true], [false]) >@@ -552,9 +584,9 @@ > AC_MSG_NOTICE([Compiled with PCAP support: < 1.0]) > fi > >-reportopt "Compiled with compressed trace (zlib) support" $ac_cv_lib_z_deflate >-reportopt "Compiled with compressed trace (bz2) support" $ac_cv_lib_bz2_BZ2_bzDecompressInit >-reportopt "Compiled with compressed trace (lzo write only) support" $ac_cv_lib_lzo2_lzo1x_1_compress >+reportopt "Compiled with compressed trace (zlib) support" $with_zlib >+reportopt "Compiled with compressed trace (bz2) support" $with_bzip2 >+reportopt "Compiled with compressed trace (lzo write only) support" $with_lzo > if test x"$libtrace_dag" = xtrue; then > if test "$libtrace_dag_version" = 24; then > AC_MSG_NOTICE([Compiled with DAG live capture support: 2.4]) >@@ -568,7 +600,7 @@ > fi > reportopt "Compiled with LLVM BPF JIT support" $JIT > reportopt "Building man pages/documentation" $libtrace_doxygen >-reportopt "Building tracetop (requires libncurses)" $have_ncurses >+reportopt "Building tracetop (requires libncurses)" $with_ncurses > > # Report any errors relating to missing bison, flex, etc. > echo
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 404099
: 302141 |
302143
|
302145