Changeset a1e177d
- Timestamp:
- 08/03/10 16:41:07 (11 years ago)
- Branches:
- 4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
- Children:
- 9f1b6ee
- Parents:
- 11754a6
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
configure.in
r11754a6 ra1e177d 340 340 DAG_VERSION_NUM=$dag_drv_v 341 341 342 have_ncurses=yes 342 343 343 344 AC_CHECK_LIB(z, deflate) … … 345 346 AC_CHECK_LIB(lzo2, lzo1x_1_compress) 346 347 AC_CHECK_LIB(pthread, pthread_create) 347 AC_SEARCH_LIBS(mvprintw, ncurses, [], [ AC_MSG_ERROR([NCurses library not available]) ])348 AC_SEARCH_LIBS(mvprintw, ncurses, , have_ncurses=no) 348 349 AC_SEARCH_LIBS(getservent, socket, [], [], -lnsl) 349 350 AC_SEARCH_LIBS(inet_ntop, nsl, [], [], -lsocket) … … 404 405 AM_CONDITIONAL([HAVE_LIBGDC], [test "$ac_cv_header_gdc_h" = yes]) 405 406 AM_CONDITIONAL([HAVE_LLVM], [test "x$JIT" != "xno" ]) 407 AM_CONDITIONAL([HAVE_NCURSES], [test "x$have_ncurses" = "xyes"]) 406 408 407 409 # Check for miscellaneous programs … … 423 425 AC_SUBST([HAVE_LIBGDC]) 424 426 AC_SUBST([HAVE_LLVM]) 427 AC_SUBST([HAVE_NCURSES]) 425 428 AC_SUBST([LIBCFLAGS]) 426 429 AC_SUBST([LIBCXXFLAGS]) … … 455 458 reportopt "Compiled with LLVM BPF JIT support" $JIT 456 459 reportopt "Building man pages/documentation" $libtrace_doxygen 460 reportopt "Building tracetop (requires libncurses)" $have_ncurses 457 461 458 462 echo -
tools/tracetop/Makefile.am
r7ab7320 ra1e177d 1 if HAVE_NCURSES 1 2 bin_PROGRAMS = tracetop 2 3 man_MANS = tracetop.1 … … 4 5 5 6 include ../Makefile.tools 7 6 8 tracetop_SOURCES = tracetop.cc 7 9 tracetop_LDADD = -lncurses 8 10 tracetop_CPPFLAGS = -fno-strict-aliasing $(AM_CFLAGS) 11 endif
Note: See TracChangeset
for help on using the changeset viewer.