Changeset 12260


Ignore:
Timestamp:
06/03/09 23:19:21 (4 years ago)
Author:
BrainSlayer
Message:

ncurses patch

Location:
src/router/mtr
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • src/router/mtr/Makefile

    r12257 r12260  
    102102CC = armeb-linux-uclibc-gcc 
    103103CCDEPMODE = depmode=gcc3 
    104 CFLAGS = -Os -pipe -mtune=xscale -march=armv5te -Wa,-mcpu=xscale -mno-thumb-interwork -mno-thumb  -ffunction-sections -fdata-sections -Wl,--gc-sections -DNEED_PRINTF -Wall -Wno-pointer-sign 
     104CFLAGS = -Os -pipe -mtune=xscale -march=armv5te -Wa,-mcpu=xscale -mno-thumb-interwork -mno-thumb  -I/home/seg/DEV/xscale/src/router/ncurses/include -L/home/seg/DEV/xscale/src/router/ncurses/lib -ffunction-sections -fdata-sections -Wl,--gc-sections -DNEED_PRINTF -lncurses -Wall -Wno-pointer-sign 
    105105CPP = armeb-linux-uclibc-gcc -E 
    106106CPPFLAGS =  
    107 CURSES_OBJ =  
     107CURSES_OBJ = curses.o 
    108108CYGPATH_W = echo 
    109109DEFS = -DHAVE_CONFIG_H 
  • src/router/mtr/config.h.in

    r12257 r12260  
    1111 
    1212/* Define to 1 if you have the <curses.h> header file. */ 
    13 #undef HAVE_CURSES_H 
     13#define HAVE_CURSES_H 1 
    1414 
    1515/* Define to 1 if you have the declaration of `errno', and to 0 if you don't. 
     
    3030 
    3131/* Define to 1 if you have the `curses' library (-lcurses). */ 
    32 #undef HAVE_LIBCURSES 
     32#define HAVE_LIBCURSES 1 
    3333 
    3434/* Define to 1 if you have the `cursesX' library (-lcursesX). */ 
     
    3939 
    4040/* Define to 1 if you have the `ncurses' library (-lncurses). */ 
    41 #undef HAVE_LIBNCURSES 
     41#define HAVE_LIBNCURSES 1 
    4242 
    4343/* Define to 1 if you have the `nsl' library (-lnsl). */ 
  • src/router/mtr/configure

    r12257 r12260  
    56475647# So?  What about this header? 
    56485648case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5649   yes:no: ) 
     5649  no:yes: ) 
    56505650    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 
    56515651echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     
    62096209 
    62106210cat >>confdefs.h <<\_ACEOF 
    6211 #define NO_CURSES 1 
     6211#undef NO_CURSES 
    62126212_ACEOF 
    62136213 
  • src/router/mtr/net.c

    r12257 r12260  
    946946#ifdef ENABLE_IPV6 
    947947  recvsock6 = socket(AF_INET6, SOCK_RAW, IPPROTO_ICMPV6); 
    948 #endif 
    949948  set_fd_flags(recvsock6); 
     949#endif 
    950950 
    951951  return 0; 
Note: See TracChangeset for help on using the changeset viewer.