mirror of
https://github.com/libretro/scummvm.git
synced 2024-11-27 03:10:37 +00:00
CONFIGURE: Remove POSIXisms in configure.
This allows configure to work fine on Solaris 10 again. This fixes bug #3614513 "A few posixisms have crept into configure (w/ patch)". Thanks to lblume for his patch.
This commit is contained in:
parent
e457fc2a26
commit
83f7055836
6
configure
vendored
6
configure
vendored
@ -2176,7 +2176,7 @@ case $_host_os in
|
||||
# When not cross-compiling, enable large file support, but don't
|
||||
# care if getconf doesn't exist or doesn't recognize LFS_CFLAGS.
|
||||
if test -z "$_host"; then
|
||||
CXXFLAGS="$CXXFLAGS $(getconf LFS_CFLAGS 2>/dev/null)"
|
||||
CXXFLAGS="$CXXFLAGS `getconf LFS_CFLAGS 2>/dev/null`"
|
||||
fi
|
||||
;;
|
||||
maemo)
|
||||
@ -3563,8 +3563,8 @@ if test "$_libunity" = auto ; then
|
||||
;;
|
||||
*)
|
||||
# Unity has a lots of dependencies, update the libs and cflags var with them
|
||||
LIBUNITY_LIBS="$LIBUNITY_LIBS $(pkg-config --libs unity = 3.8.4 2>> "$TMPLOG")"
|
||||
LIBUNITY_CFLAGS="$LIBUNITY_CFLAGS $(pkg-config --cflags unity = 3.8.4 2>> "$TMPLOG")"
|
||||
LIBUNITY_LIBS="$LIBUNITY_LIBS `pkg-config --libs unity = 3.8.4 2>> "$TMPLOG"`"
|
||||
LIBUNITY_CFLAGS="$LIBUNITY_CFLAGS `pkg-config --cflags unity = 3.8.4 2>> "$TMPLOG"`"
|
||||
_libunity=no
|
||||
cat > $TMPC << EOF
|
||||
#include <unity.h>
|
||||
|
Loading…
Reference in New Issue
Block a user