Project: ThruDB
Revision: 361
Author: jake
Date: 23 Apr 2008 19:24:34
Diff at Trac: http://trac.thrudb.org/changeset/361
Changes:addressing compilation issues on osx
Files:modified: /trunk/thrudoc/bootstrap.sh (
try)
modified: /trunk/thrucommon/bootstrap.sh (
try)
modified: /trunk/thrucommon/src/FileLogger.cpp (
try)
modified: /trunk/thrudex/src/LogBackend.cpp (
try)
modified: /trunk/thrudex/bootstrap.sh (
try)
modified: /trunk/thrudex/configure.in (
try)
modified: /trunk/thrudoc/src/LogBackend.cpp (
try)
Diff:
| ... | ...@@ -1,9 +1,20 @@ |
| 1 | | #! /bin/sh |
| 1 | #!/bin/sh |
| 2 | 2 | |
| 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 |
| 4 | if test -d /opt/local/share/aclocal; then |
| 5 | aclocal -I /opt/local/share/aclocal || exit 1 |
| 6 | else |
| 7 | aclocal || exit 1 |
| 8 | fi |
| 9 | |
| 10 | autoscan || exit 1 |
| 11 | autoheader || exit 1 |
| 12 | |
| 13 | if libtoolize --version 1 >/dev/null 2>/dev/null; then |
| 14 | libtoolize --automake || exit 1 |
| 15 | elif glibtoolize --version 1 >/dev/null 2>/dev/null; then |
| 16 | glibtoolize --automake || exit 1 |
| 17 | fi |
| 18 | |
| 19 | autoconf |
| 20 | automake -ac --add-missing --foreign || exit 1 |
| ... | ...@@ -1,9 +1,20 @@ |
| 1 | | #! /bin/sh |
| 1 | #!/bin/sh |
| 2 | 2 | |
| 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 |
| 4 | if test -d /opt/local/share/aclocal; then |
| 5 | aclocal -I /opt/local/share/aclocal || exit 1 |
| 6 | else |
| 7 | aclocal || exit 1 |
| 8 | fi |
| 9 | |
| 10 | autoscan || exit 1 |
| 11 | autoheader || exit 1 |
| 12 | |
| 13 | if libtoolize --version 1 >/dev/null 2>/dev/null; then |
| 14 | libtoolize --automake || exit 1 |
| 15 | elif glibtoolize --version 1 >/dev/null 2>/dev/null; then |
| 16 | glibtoolize --automake || exit 1 |
| 17 | fi |
| 18 | |
| 19 | autoconf |
| 20 | automake -ac --add-missing --foreign || exit 1 |
| ... | ...@@ -19,6 +19,7 @@ |
| 19 | 19 | #include "utils.h" |
| 20 | 20 | |
| 21 | 21 | #include <stdexcept> |
| 22 | #include <sys/time.h> |
| 22 | 23 | |
| 23 | 24 | namespace fs = boost::filesystem; |
| 24 | 25 | using namespace boost; |
| ... | ...@@ -17,7 +17,7 @@ |
| 17 | 17 | |
| 18 | 18 | #include "LogBackend.h" |
| 19 | 19 | #include "utils.h" |
| 20 | | |
| 20 | #include <sys/time.h> |
| 21 | 21 | #include <stdexcept> |
| 22 | 22 | |
| 23 | 23 | namespace fs = boost::filesystem; |
| ... | ...@@ -1,9 +1,20 @@ |
| 1 | | #! /bin/sh |
| 1 | #!/bin/sh |
| 2 | 2 | |
| 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 |
| 4 | if test -d /opt/local/share/aclocal; then |
| 5 | aclocal -I /opt/local/share/aclocal || exit 1 |
| 6 | else |
| 7 | aclocal || exit 1 |
| 8 | fi |
| 9 | |
| 10 | autoscan || exit 1 |
| 11 | autoheader || exit 1 |
| 12 | |
| 13 | if libtoolize --version 1 >/dev/null 2>/dev/null; then |
| 14 | libtoolize --automake || exit 1 |
| 15 | elif glibtoolize --version 1 >/dev/null 2>/dev/null; then |
| 16 | glibtoolize --automake || exit 1 |
| 17 | fi |
| 18 | |
| 19 | autoconf |
| 20 | automake -ac --add-missing --foreign || exit 1 |
| ... | ...@@ -73,7 +73,7 @@ |
| 73 | 73 | |
| 74 | 74 | # misc |
| 75 | 75 | AC_C_CONST |
| 76 | | AC_CHECK_FUNCS([memset mkdir setlocale]) |
| 76 | AC_CHECK_FUNCS([clock_gettime gettimeofday memset poll socket strcasecmp strchr strdup mkdir setlocale]) |
| 77 | 77 | AC_CHECK_HEADERS([stdlib.h]) |
| 78 | 78 | AC_C_INLINE |
| 79 | 79 | AC_FUNC_MBRTOWC |
| ... | ...@@ -19,6 +19,7 @@ |
| 19 | 19 | #include "utils.h" |
| 20 | 20 | |
| 21 | 21 | #include <stdexcept> |
| 22 | #include <sys/time.h> |
| 22 | 23 | |
| 23 | 24 | namespace fs = boost::filesystem; |
| 24 | 25 | using namespace boost; |
To list