[xiph-cvs] cvs commit: net sock.h
Karl Heyes
karl at xiph.org
Mon Mar 17 08:47:20 PST 2003
karl 03/03/17 11:47:20
Modified: . configure.in
. sock.h
Log:
better fix for cases with missing inet_aton
Revision Changes Path
1.29 +2 -2 libshout/configure.in
Index: configure.in
===================================================================
RCS file: /usr/local/cvsroot/libshout/configure.in,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- configure.in 14 Mar 2003 00:39:18 -0000 1.28
+++ configure.in 17 Mar 2003 16:47:20 -0000 1.29
@@ -1,5 +1,5 @@
# Process this file with autoconf to produce a configure script.
-# $Id: configure.in,v 1.28 2003/03/14 00:39:18 karl Exp $
+# $Id: configure.in,v 1.29 2003/03/17 16:47:20 karl Exp $
m4_define(libshout_major, 2)
m4_define(libshout_minor, 0)
@@ -78,7 +78,7 @@
dnl Checks for library functions.
AC_CHECK_FUNCS(nanosleep)
AC_CHECK_FUNCS(sethostent endhostent)
-AC_CHECK_FUNCS(getnameinfo getaddrinfo inet_pton)
+AC_CHECK_FUNCS(getnameinfo getaddrinfo inet_pton inet_aton)
dnl Extra dependencies
<p><p>1.13 +1 -1 net/sock.h
Index: sock.h
===================================================================
RCS file: /usr/local/cvsroot/net/sock.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- sock.h 7 Mar 2003 14:57:36 -0000 1.12
+++ sock.h 17 Mar 2003 16:47:20 -0000 1.13
@@ -43,7 +43,7 @@
#endif
#endif
-#ifdef HAVE_INET_PTON
+#if !defined(HAVE_INET_ATON) && defined(HAVE_INET_PTON)
#define inet_aton(a,b) inet_pton(AF_INET, (a), (b))
#endif
<p><p>--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the commits
mailing list