[xiph-cvs] cvs commit: libshout configure.in
Brendan
brendan at xiph.org
Mon Jun 9 17:56:19 PDT 2003
brendan 03/06/09 20:56:18
Modified: . configure.in
Log:
Solaris 8 portability:
test for -lsocket with -lnsl
don't define _XOPEN_SOURCE
Revision Changes Path
1.46 +5 -2 libshout/configure.in
Index: configure.in
===================================================================
RCS file: /usr/local/cvsroot/libshout/configure.in,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -p -u -r1.45 -r1.46
--- configure.in 10 Jun 2003 00:17:57 -0000 1.45
+++ configure.in 10 Jun 2003 00:56:18 -0000 1.46
@@ -1,5 +1,5 @@
# Process this file with autoconf to produce a configure script.
-# $Id: configure.in,v 1.45 2003/06/10 00:17:57 brendan Exp $
+# $Id: configure.in,v 1.46 2003/06/10 00:56:18 brendan Exp $
m4_define(libshout_major, 2)
m4_define(libshout_minor, 0)
@@ -36,6 +36,8 @@ dnl to be fine
case "$ac_cv_host" in
*openbsd*)
;;
+ *solaris*)
+ ;;
*) AC_DEFINE(_XOPEN_SOURCE, 600, [Define if you have POSIX and XPG specifications])
;;
esac
@@ -126,7 +128,8 @@ dnl Checks for library functions.
AC_CHECK_FUNCS(nanosleep)
AC_CHECK_FUNCS(sethostent endhostent)
AC_SEARCH_LIBS([inet_pton], [socket],
- [AC_DEFINE([HAVE_INET_PTON], [1], [Define if you have the inet_pton function])])
+ [AC_DEFINE([HAVE_INET_PTON], [1], [Define if you have the inet_pton function])],
+ [], [-lnsl])
AC_CHECK_FUNCS(getnameinfo getaddrinfo inet_aton)
dnl Extra dependencies
<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