Changeset 3722

Show
Ignore:
Timestamp:
06/04/2012 08:42:14 PM (12 months ago)
Author:
kurtis.heimerl
Message:

Alexander's build fixes

Location:
openbts/trunk
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • openbts/trunk/apps/Makefile.am

    r3690 r3722  
    4747OpenBTSCLI_SOURCES = OpenBTSCLI.cpp 
    4848OpenBTSDo_SOURCES = OpenBTSDo.cpp 
    49 OpenBTSCLI_LDADD = -lreadline -lncurses 
    5049 
    5150EXTRA_DIST = \ 
  • openbts/trunk/apps/OpenBTSCLI.cpp

    r3690 r3722  
    2323*/ 
    2424 
     25#include <config.h> 
    2526#include <sys/types.h> 
    2627#include <unistd.h> 
     
    3031#include <stdlib.h> 
    3132#include <limits.h> 
    32  
    33 #define HAVE_LIBREADLINE 
    34  
     33#include <time.h> 
    3534 
    3635#ifdef HAVE_LIBREADLINE 
     
    5251 
    5352        char rspPath[200]; 
    54         sprintf(rspPath,"/tmp/OpenBTS.console.%d.%8x",getpid(),time(NULL)); 
     53        sprintf(rspPath,"/tmp/OpenBTS.console.%d.%8lx",getpid(),time(NULL)); 
    5554 
    5655 
  • openbts/trunk/configure.ac

    r2949 r3722  
    129129 
    130130# Prepends -lreadline to LIBS and defines HAVE_LIBREADLINE in config.h 
    131 #AC_CHECK_LIB(readline, readline) 
     131AC_CHECK_LIB(readline, readline) 
    132132 
    133133dnl Output files