Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
Icecast-Server
Commits
1de75830
Commit
1de75830
authored
Apr 21, 2003
by
Karl Heyes
Browse files
autoconf updates. Now builds on OpenBSD
svn path=/trunk/icecast/; revision=4620
parent
1f0fb0cf
Changes
2
Hide whitespace changes
Inline
Side-by-side
acinclude.m4
View file @
1de75830
...
...
@@ -465,7 +465,7 @@ if test "x$acx_pthread_ok" = xyes; then
if test "x$flag" != xno; then
PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
fi
AC_CHECK_TYPES(pthread_rwlock_t)
AC_CHECK_TYPES(pthread_rwlock_t
,,,[#include <pthread.h>]
)
LIBS="$save_LIBS"
CFLAGS="$save_CFLAGS"
...
...
configure.in
View file @
1de75830
...
...
@@ -12,7 +12,12 @@ dnl Set some options based on environment
SOCKET_LIBS=
AC_DEFINE(_XOPEN_SOURCE, 500, [Define if you have POSIX and XPG specifications])
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*)
...
...
@@ -24,7 +29,7 @@ if test -z "$GCC"; then
DEBUG="-v -g -D_REENTRANT"
CFLAGS="-xO4 -fast -w -fsimple -native -xcg92 -D_REENTRANT"
PROFILE="-v -xpg -g -xO4 -fast -native -fsimple -xcg92 -Dsuncc -D_REENTRANT"
SOCKET_LIBS="-lnsl -lsocket -lresolv"
SOCKET_LIBS="-lnsl -lsocket -lresolv"
;;
*)
DEBUG="-g -D_REENTRANT"
...
...
@@ -38,35 +43,30 @@ else
DEBUG="-g -Wall -fsigned-char -D_REENTRANT -D_GNU_SOURCE"
CFLAGS="-O20 -ffast-math -fsigned-char -D_REENTRANT -D_GNU_SOURCE"
PROFILE="-Wall -W -pg -g -O20 -ffast-math -fsigned-char -D_REENTRANT -D_GNU_SOURCE"
LIBS=" $LIBS -lpthread"
;;
sparc-sun-solaris*)
DEBUG="-g -Wall -fsigned-char -mv8 -D_REENTRANT"
CFLAGS="-O20 -ffast-math -fsigned-char -mv8 -D_REENTRANT"
PROFILE="-pg -g -O20 -fsigned-char -mv8 -D_REENTRANT"
SOCKET_LIBS="-lnsl -lsocket -lresolv"
LIBS=" $LIBS -lpthread"
SOCKET_LIBS="-lnsl -lsocket -lresolv"
;;
*-pc-solaris*)
*-pc-solaris*)
DEBUG="-g -Wall -fsigned-char -D_REENTRANT"
CFLAGS="-O20 -ffast-math -fsigned-char -D_REENTRANT"
PROFILE="-pg -g -O20 -fsigned-char -D_REENTRANT"
SOCKET_LIBS="-lnsl -lsocket -lresolv"
LIBS=" $LIBS -lpthread"
SOCKET_LIBS="-lnsl -lsocket -lresolv"
;;
*freebsd*)
DEBUG="-g -Wall -fsigned-char -D_REENTRANT"
CFLAGS="-O20 -fsigned-char -D_REENTRANT"
PROFILE="-O20 -g -pg -fsigned-char -D_REENTRANT"
LIBS=" $LIBS -pthread"
ogg_prefix="/usr/local"
vorbis_prefix="/usr/local"
DEBUG="-g -Wall -fsigned-char"
CFLAGS="-O20 -fsigned-char"
PROFILE="-O20 -g -pg -fsigned-char"
ogg_prefix="/usr/local"
vorbis_prefix="/usr/local"
;;
*)
DEBUG="-g -Wall -fsigned-char -D_REENTRANT"
CFLAGS="-O20 -fsigned-char -D_REENTRANT"
PROFILE="-O20 -g -pg -fsigned-char -D_REENTRANT"
LIBS=" $LIBS -lpthread"
DEBUG="-g -Wall -fsigned-char"
CFLAGS="-O20 -Wall -fsigned-char"
PROFILE="-O20 -g -pg -Wall -fsigned-char"
;;
esac
fi
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment