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
1 changed files with 3 additions and 3 deletions
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
|
# When not cross-compiling, enable large file support, but don't
|
||||||
# care if getconf doesn't exist or doesn't recognize LFS_CFLAGS.
|
# care if getconf doesn't exist or doesn't recognize LFS_CFLAGS.
|
||||||
if test -z "$_host"; then
|
if test -z "$_host"; then
|
||||||
CXXFLAGS="$CXXFLAGS $(getconf LFS_CFLAGS 2>/dev/null)"
|
CXXFLAGS="$CXXFLAGS `getconf LFS_CFLAGS 2>/dev/null`"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
maemo)
|
maemo)
|
||||||
|
@ -3563,8 +3563,8 @@ if test "$_libunity" = auto ; then
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
# Unity has a lots of dependencies, update the libs and cflags var with them
|
# 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_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_CFLAGS="$LIBUNITY_CFLAGS `pkg-config --cflags unity = 3.8.4 2>> "$TMPLOG"`"
|
||||||
_libunity=no
|
_libunity=no
|
||||||
cat > $TMPC << EOF
|
cat > $TMPC << EOF
|
||||||
#include <unity.h>
|
#include <unity.h>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue