mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 12:25:53 +00:00
Fixing a problem with my checkin for bug 165602 - don't mix the test for empty MACOS_DEPLOYMENT_TARGET and 10.2-or-greater, some versions of 'test' don't like this.
This commit is contained in:
parent
50269eff9a
commit
af188c0c66
11
configure.in
11
configure.in
@ -1998,7 +1998,16 @@ AC_CHECK_FUNCS(random strerror lchown fchmod snprintf statvfs memmove rint)
|
||||
AC_CHECK_FUNCS(nl_langinfo flockfile)
|
||||
|
||||
dnl localtime_r and strtok_r are only present on MacOS version 10.2 and higher
|
||||
if test -z "$MACOS_DEPLOYMENT_TARGET" -o "$MACOS_DEPLOYMENT_TARGET" -ge "100200"; then
|
||||
CHECK_MACOS_10_2_FUNCS=
|
||||
if test -z "$MACOS_DEPLOYMENT_TARGET"; then
|
||||
CHECK_MACOS_10_2_FUNCS=1
|
||||
else
|
||||
if test "$MACOS_DEPLOYMENT_TARGET" -ge "100200"; then
|
||||
CHECK_MACOS_10_2_FUNCS=1
|
||||
fi
|
||||
fi
|
||||
|
||||
if test "$CHECK_MACOS_10_2_FUNCS"; then
|
||||
AC_CHECK_FUNCS(localtime_r strtok_r)
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user