mirror of
https://github.com/moparisthebest/curl
synced 2025-01-01 17:08:00 -05:00
experimental code to detect mips-sgi-irix systems that build without gcc
and if so, define _XOPEN_SOURCE to 500 in an attempt to build with less warnings (on the 64bit versions)
This commit is contained in:
parent
7ca7f7a725
commit
6060e7ed96
14
configure.ac
14
configure.ac
@ -115,6 +115,20 @@ esac
|
||||
AC_MSG_RESULT($mimpure)
|
||||
AM_CONDITIONAL(MIMPURE, test x$mimpure = xyes)
|
||||
|
||||
AC_MSG_CHECKING([if we need _XOPEN_SOURCE defined to 500])
|
||||
case $host in
|
||||
mips-sgi-irix*)
|
||||
if test "$GCC" != "yes"; then
|
||||
xopen="yes"
|
||||
CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=500"
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
xopen=no
|
||||
;;
|
||||
esac
|
||||
AC_MSG_RESULT($xopen)
|
||||
|
||||
dnl The install stuff has already been taken care of by the automake stuff
|
||||
dnl AC_PROG_INSTALL
|
||||
AC_PROG_MAKE_SET
|
||||
|
Loading…
Reference in New Issue
Block a user