Alexander's build fixes

git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@3722 19bc5d8c-e614-43d4-8b26-e1612bc8e597
This commit is contained in:
kurtis.heimerl
2012-06-05 01:42:14 +00:00
parent 7f158bd824
commit df484ccd0a
3 changed files with 4 additions and 6 deletions

View File

@@ -46,7 +46,6 @@ OpenBTS_LDADD = \
OpenBTSCLI_SOURCES = OpenBTSCLI.cpp OpenBTSCLI_SOURCES = OpenBTSCLI.cpp
OpenBTSDo_SOURCES = OpenBTSDo.cpp OpenBTSDo_SOURCES = OpenBTSDo.cpp
OpenBTSCLI_LDADD = -lreadline -lncurses
EXTRA_DIST = \ EXTRA_DIST = \
OpenBTS.example.sql OpenBTS.example.sql

View File

@@ -22,6 +22,7 @@
*/ */
#include <config.h>
#include <sys/types.h> #include <sys/types.h>
#include <unistd.h> #include <unistd.h>
#include <sys/socket.h> #include <sys/socket.h>
@@ -29,9 +30,7 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <limits.h> #include <limits.h>
#include <time.h>
#define HAVE_LIBREADLINE
#ifdef HAVE_LIBREADLINE #ifdef HAVE_LIBREADLINE
# include <readline/readline.h> # include <readline/readline.h>
@@ -51,7 +50,7 @@ int main(int argc, char *argv[])
} }
char rspPath[200]; char rspPath[200];
sprintf(rspPath,"/tmp/OpenBTS.console.%d.%8x",getpid(),time(NULL)); sprintf(rspPath,"/tmp/OpenBTS.console.%d.%8lx",getpid(),time(NULL));
printf("command socket path is %s\n", cmdPath); printf("command socket path is %s\n", cmdPath);

View File

@@ -128,7 +128,7 @@ PKG_CHECK_MODULES(ORTP, ortp)
PKG_CHECK_MODULES(LIBUSB, libusb-1.0) PKG_CHECK_MODULES(LIBUSB, libusb-1.0)
# Prepends -lreadline to LIBS and defines HAVE_LIBREADLINE in config.h # Prepends -lreadline to LIBS and defines HAVE_LIBREADLINE in config.h
#AC_CHECK_LIB(readline, readline) AC_CHECK_LIB(readline, readline)
dnl Output files dnl Output files
AC_CONFIG_FILES([\ AC_CONFIG_FILES([\