forked from aniani/vim
patch 8.0.1826: configure uses old compiler flag
Problem: Configure uses old compiler flag. Solution: Remove _DARWIN_C_SOURCE. (Kazunobu Kuriyama)
This commit is contained in:
2
src/auto/configure
vendored
2
src/auto/configure
vendored
@@ -4556,7 +4556,7 @@ if test "`(uname) 2>/dev/null`" = Darwin; then
|
|||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||||
$as_echo "yes" >&6; }
|
$as_echo "yes" >&6; }
|
||||||
MACOS_X=yes
|
MACOS_X=yes
|
||||||
CPPFLAGS="$CPPFLAGS -D_DARWIN_C_SOURCE -DMACOS_X"
|
CPPFLAGS="$CPPFLAGS -DMACOS_X"
|
||||||
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking --disable-darwin argument" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking --disable-darwin argument" >&5
|
||||||
$as_echo_n "checking --disable-darwin argument... " >&6; }
|
$as_echo_n "checking --disable-darwin argument... " >&6; }
|
||||||
|
@@ -168,7 +168,7 @@ AC_MSG_CHECKING([for Darwin (Mac OS X)])
|
|||||||
if test "`(uname) 2>/dev/null`" = Darwin; then
|
if test "`(uname) 2>/dev/null`" = Darwin; then
|
||||||
AC_MSG_RESULT(yes)
|
AC_MSG_RESULT(yes)
|
||||||
MACOS_X=yes
|
MACOS_X=yes
|
||||||
CPPFLAGS="$CPPFLAGS -D_DARWIN_C_SOURCE -DMACOS_X"
|
CPPFLAGS="$CPPFLAGS -DMACOS_X"
|
||||||
|
|
||||||
AC_MSG_CHECKING(--disable-darwin argument)
|
AC_MSG_CHECKING(--disable-darwin argument)
|
||||||
AC_ARG_ENABLE(darwin,
|
AC_ARG_ENABLE(darwin,
|
||||||
|
@@ -761,6 +761,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1826,
|
||||||
/**/
|
/**/
|
||||||
1825,
|
1825,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user