From c6e4268872df05405c3d99877063f4927f9c96cc Mon Sep 17 00:00:00 2001 From: brendan Date: Wed, 15 Jan 2003 05:58:09 +0000 Subject: [PATCH] OS X 10.2.3 doesn't define socklen_t. This version is compatible with autoconf 2.13. I believe it should also work in 2.5x, although the semantics of AC_CHECK_TYPE have changed. svn path=/trunk/icecast/; revision=4243 --- acconfig.h | 2 ++ configure.in | 1 + 2 files changed, 3 insertions(+) create mode 100644 acconfig.h diff --git a/acconfig.h b/acconfig.h new file mode 100644 index 00000000..cbf7b2f9 --- /dev/null +++ b/acconfig.h @@ -0,0 +1,2 @@ +/* Define if you lack the socklen_t type */ +#undef socklen_t diff --git a/configure.in b/configure.in index b430afbd..bf43a67c 100644 --- a/configure.in +++ b/configure.in @@ -91,6 +91,7 @@ dnl Checks for typedefs, structures, and compiler characteristics. AC_C_CONST dnl Check for types +AC_CHECK_TYPE([socklen_t], int) dnl Checks for library functions. AC_CHECK_FUNCS(nanosleep)