summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorFrantišek Dvořák <valtri@users.sourceforge.net>2004-08-28 20:03:42 +0000
committerFrantišek Dvořák <valtri@users.sourceforge.net>2004-08-28 20:03:42 +0000
commita2df0544eebb05b5be78fe6ce6358688d7df7de8 (patch)
treebb010c34eda20e9041d405038ca1d441266cbbf5 /configure.ac
parent202bc840c6d4821d24a8b5b0c44037e2b38ee79d (diff)
downloadxine-lib-a2df0544eebb05b5be78fe6ce6358688d7df7de8.tar.gz
xine-lib-a2df0544eebb05b5be78fe6ce6358688d7df7de8.tar.bz2
Various fixes and improvements of mingw port:
- HAVE_SETENV - Cygwin build - win32/contrib Makefile CVS patchset: 6915 CVS date: 2004/08/28 20:03:42
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac9
1 files changed, 7 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index ebf25e9c3..1cd9acc52 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1401,7 +1401,11 @@ dnl Some extra checks.
dnl ---------------------------------------------
AC_CHECK_LIB(posix4, sched_get_priority_min)
-AC_CHECK_FUNCS([vsscanf sigaction sigset getpwuid_r nanosleep strsep strpbrk setenv basename hstrerror memset])
+AC_CHECK_FUNCS([vsscanf sigaction sigset getpwuid_r nanosleep strsep strpbrk basename hstrerror memset])
+AC_CHECK_FUNC(setenv, [
+ AC_DEFINE(HAVE_SETENV, 1, [Define this if you have setenv function])
+ ac_have_setenv=yes
+])
AC_FUNC_FSEEKO
AC_CHECK_HEADERS(byteswap.h malloc.h execinfo.h ucontext.h sys/mman.h sys/mixer.h libgen.h sys/times.h sys/ioctl.h)
AM_CONDITIONAL(HAVE_SETENV, test x$ac_have_setenv = "xyes")
@@ -1606,6 +1610,7 @@ case "$host_or_hostalias" in
case "$host_or_hostalias" in
*-*-cygwin)
enable_w32dll="no"
+ LIBS="$LIBS @INTLLIBS@"
;;
esac
else
@@ -2483,7 +2488,7 @@ fi
dnl warn if no X11 plugins will be built
if test x"$no_x" = "xyes" \
- -a x$SYS != "xmingw32" -a x$SYS = "xcygwin" ; then
+ -a x$SYS != "xmingw32" -a x$SYS != "xcygwin" ; then
echo
echo "****************************************************************"
echo "WARNING! No X11 output plugins will be built."