Changeset 361

Show
Ignore:
Timestamp:
04/23/08 23:24:34 (7 months ago)
Author:
jake
Message:

addressing compilation issues on osx

Location:
trunk
Files:
7 modified

Legend:

Unmodified
Added
Removed
  • trunk/thrucommon/bootstrap.sh

    r319 r361  
    1 #! /bin/sh 
     1#!/bin/sh 
    22 
    3 #autoscan 
    4 libtoolize --copy --force 
    5 aclocal -I config/ac-macros 
    6 autoheader 
    7 touch NEWS README AUTHORS ChangeLog 
    8 automake --add-missing --copy 
    9 autoconf   
     3#for macports 
     4if test -d /opt/local/share/aclocal; then 
     5  aclocal -I /opt/local/share/aclocal || exit 1 
     6else 
     7  aclocal || exit 1 
     8fi 
     9 
     10autoscan || exit 1 
     11autoheader || exit 1 
     12 
     13if libtoolize --version 1 >/dev/null 2>/dev/null; then 
     14  libtoolize --automake || exit 1 
     15elif glibtoolize --version 1 >/dev/null 2>/dev/null; then 
     16  glibtoolize --automake || exit 1 
     17fi 
     18 
     19autoconf 
     20automake -ac --add-missing --foreign || exit 1 
  • trunk/thrucommon/src/FileLogger.cpp

    r339 r361  
    2020 
    2121#include <stdexcept> 
     22#include <sys/time.h> 
    2223 
    2324namespace fs = boost::filesystem; 
  • trunk/thrudex/bootstrap.sh

    r325 r361  
    1 #! /bin/sh 
     1#!/bin/sh 
    22 
    3 #autoscan 
    4 libtoolize --copy --force 
    5 aclocal -I config 
    6 autoheader 
    7 touch NEWS README AUTHORS ChangeLog 
    8 automake --add-missing --copy 
    9 autoconf   
     3#for macports 
     4if test -d /opt/local/share/aclocal; then 
     5  aclocal -I /opt/local/share/aclocal || exit 1 
     6else 
     7  aclocal || exit 1 
     8fi 
     9 
     10autoscan || exit 1 
     11autoheader || exit 1 
     12 
     13if libtoolize --version 1 >/dev/null 2>/dev/null; then 
     14  libtoolize --automake || exit 1 
     15elif glibtoolize --version 1 >/dev/null 2>/dev/null; then 
     16  glibtoolize --automake || exit 1 
     17fi 
     18 
     19autoconf 
     20automake -ac --add-missing --foreign || exit 1 
  • trunk/thrudex/configure.in

    r339 r361  
    7474# misc 
    7575AC_C_CONST 
    76 AC_CHECK_FUNCS([memset mkdir setlocale]) 
     76AC_CHECK_FUNCS([clock_gettime gettimeofday memset poll socket strcasecmp strchr strdup mkdir setlocale]) 
    7777AC_CHECK_HEADERS([stdlib.h]) 
    7878AC_C_INLINE 
  • trunk/thrudex/src/LogBackend.cpp

    r339 r361  
    1818#include "LogBackend.h" 
    1919#include "utils.h" 
    20  
     20#include <sys/time.h> 
    2121#include <stdexcept> 
    2222 
  • trunk/thrudoc/bootstrap.sh

    r216 r361  
    1 #! /bin/sh 
     1#!/bin/sh 
    22 
    3 #autoscan 
    4 libtoolize --copy --force 
    5 aclocal -I config 
    6 autoheader 
    7 touch NEWS README AUTHORS ChangeLog 
    8 automake --add-missing --copy 
    9 autoconf   
     3#for macports 
     4if test -d /opt/local/share/aclocal; then 
     5  aclocal -I /opt/local/share/aclocal || exit 1 
     6else 
     7  aclocal || exit 1 
     8fi 
     9 
     10autoscan || exit 1 
     11autoheader || exit 1 
     12 
     13if libtoolize --version 1 >/dev/null 2>/dev/null; then 
     14  libtoolize --automake || exit 1 
     15elif glibtoolize --version 1 >/dev/null 2>/dev/null; then 
     16  glibtoolize --automake || exit 1 
     17fi 
     18 
     19autoconf 
     20automake -ac --add-missing --foreign || exit 1 
  • trunk/thrudoc/src/LogBackend.cpp

    r339 r361  
    2020 
    2121#include <stdexcept> 
     22#include <sys/time.h> 
    2223 
    2324namespace fs = boost::filesystem;