[xiph-cvs] cvs commit: libshout configure.in
Karl Heyes
karl at xiph.org
Wed Mar 26 04:19:17 PST 2003
karl 03/03/26 07:19:16
Modified: . configure.in
. configure.in
Log:
on OpenBSD the compiler starts complaining about missing types in the
system headers. So I'll special case the _XOPEN_SOURCE define for OpenBSD
as that is what is being used to disable the needed typedefs.
Revision Changes Path
1.20 +8 -1 ices/configure.in
Index: configure.in
===================================================================
RCS file: /usr/local/cvsroot/ices/configure.in,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- configure.in 22 Mar 2003 02:28:04 -0000 1.19
+++ configure.in 26 Mar 2003 12:19:16 -0000 1.20
@@ -11,7 +11,14 @@
dnl Set some options based on environment
-AC_DEFINE(_XOPEN_SOURCE, 500, [Define if you have POSIX and XPG specifications])
+dnl openbsd headers break when _XOPEN_SOURCE is defined but without it seems
+dnl to be fine
+case "$ac_cv_host" in
+ *openbsd*)
+ ;;
+ *) AC_DEFINE(_XOPEN_SOURCE, 500, [Define if you have POSIX and XPG specifications])
+ ;;
+esac
case $host in
*-*-irix*)
DEBUG="-g -signed -D_REENTRANT"
<p><p>1.35 +9 -2 libshout/configure.in
Index: configure.in
===================================================================
RCS file: /usr/local/cvsroot/libshout/configure.in,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- configure.in 18 Mar 2003 01:40:39 -0000 1.34
+++ configure.in 26 Mar 2003 12:19:16 -0000 1.35
@@ -1,5 +1,5 @@
# Process this file with autoconf to produce a configure script.
-# $Id: configure.in,v 1.34 2003/03/18 01:40:39 karl Exp $
+# $Id: configure.in,v 1.35 2003/03/26 12:19:16 karl Exp $
m4_define(libshout_major, 2)
m4_define(libshout_minor, 0)
@@ -31,7 +31,14 @@
dnl Set some options based on environment
-AC_DEFINE(_XOPEN_SOURCE, 500, [Define if you have POSIX and XPG specifications])
+dnl openbsd headers break when _XOPEN_SOURCE is defined but without it seems
+dnl to be fine
+case "$ac_cv_host" in
+ *openbsd*)
+ ;;
+ *) AC_DEFINE(_XOPEN_SOURCE, 500, [Define if you have POSIX and XPG specifications])
+ ;;
+esac
if test -z "$GCC"; then
case $host in
*-*-irix*)
<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