From efcbcd6d44bd098025cead6fb990d1f9dfb907fb Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Fri, 7 Mar 2003 14:34:34 +0000 Subject: [PATCH] Update doc git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@370 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/autoconf/acconfig.h | 2 ++ bacula/autoconf/config.h.in | 7 +++++-- bacula/autoconf/configure.in | 3 +-- bacula/configure | 3 +-- bacula/src/baconfig.h | 4 +--- 5 files changed, 10 insertions(+), 9 deletions(-) diff --git a/bacula/autoconf/acconfig.h b/bacula/autoconf/acconfig.h index f6936c6ad4..160594e0dd 100644 --- a/bacula/autoconf/acconfig.h +++ b/bacula/autoconf/acconfig.h @@ -200,5 +200,7 @@ #undef HAVE_GETHOSTBYNAME_R #undef HAVE_INET_PTON + +#undef HAVE_SOCKLEN_T #undef HAVE_BIGENDIAN diff --git a/bacula/autoconf/config.h.in b/bacula/autoconf/config.h.in index 7f2c5f5607..2e2116d2a8 100644 --- a/bacula/autoconf/config.h.in +++ b/bacula/autoconf/config.h.in @@ -21,8 +21,8 @@ /* Define to `int' if doesn't define. */ #undef ssize_t -/* Set if socklen_t defined */ -#undef HAVE_SOCKLEN_T +/* Set if socklen_t is not defined in sys/types.h */ +#undef socklen_t /* Define if you want to use MySQL */ #undef HAVE_MYSQL @@ -278,6 +278,8 @@ #undef HAVE_INET_PTON +#undef HAVE_SOCKLEN_T + #undef HAVE_BIGENDIAN @@ -511,3 +513,4 @@ /* Define for large files, on AIX-style hosts. */ #undef _LARGE_FILES + diff --git a/bacula/autoconf/configure.in b/bacula/autoconf/configure.in index f74515a1ec..2bcccced3f 100644 --- a/bacula/autoconf/configure.in +++ b/bacula/autoconf/configure.in @@ -1164,7 +1164,7 @@ llu="llu" PFILES="platforms/Makefile" PSCMD="ps -e" WIN32= -hostname=`hostname` +hostname=`uname -n` case "$DISTNAME" in aix) DISTVER=`uname -r` @@ -1239,7 +1239,6 @@ irix) DISTVER=`uname -r` TAPEDRIVE="/dev/rmt/0cbn" PSCMD="ps -e -o pid,comm" - hostname=`/usr/bsd/hostname -s` PFILES="${PFILES} \ platforms/irix/Makefile \ platforms/irix/bacula-fd \ diff --git a/bacula/configure b/bacula/configure index 69f84d2c22..bbcf53672d 100755 --- a/bacula/configure +++ b/bacula/configure @@ -9298,7 +9298,7 @@ llu="llu" PFILES="platforms/Makefile" PSCMD="ps -e" WIN32= -hostname=`hostname` +hostname=`uname -n` case "$DISTNAME" in aix) DISTVER=`uname -r` @@ -9373,7 +9373,6 @@ irix) DISTVER=`uname -r` TAPEDRIVE="/dev/rmt/0cbn" PSCMD="ps -e -o pid,comm" - hostname=`/usr/bsd/hostname -s` PFILES="${PFILES} \ platforms/irix/Makefile \ platforms/irix/bacula-fd \ diff --git a/bacula/src/baconfig.h b/bacula/src/baconfig.h index c36f2dee68..7bf7bc64bd 100644 --- a/bacula/src/baconfig.h +++ b/bacula/src/baconfig.h @@ -386,11 +386,9 @@ extern "C" int getdomainname(char *name, size_t len); #endif #ifdef HAVE_AIX_OS -#define crid_t int -#define class_id_t unsigned int #endif - +/* This probably should be done on a machine by machine basic, but it works */ #define ALIGN_SIZE (sizeof(double)) #define BALIGN(x) (((x) + ALIGN_SIZE - 1) & ~(ALIGN_SIZE -1)) -- 2.39.5