forked from aniani/vim
updated for version 7.4.068
Problem: Cannot build Vim on Mac with non-Apple compilers. Solution: Remove the -no-cpp-precomp flag. (Misty De Meo)
This commit is contained in:
4
src/auto/configure
vendored
4
src/auto/configure
vendored
@@ -4221,7 +4221,7 @@ rm -f core conftest.err conftest.$ac_objext \
|
||||
MACOSX=yes
|
||||
OS_EXTRA_SRC="os_macosx.m os_mac_conv.c";
|
||||
OS_EXTRA_OBJ="objects/os_macosx.o objects/os_mac_conv.o"
|
||||
CPPFLAGS="$CPPFLAGS -DMACOS_X_UNIX -no-cpp-precomp"
|
||||
CPPFLAGS="$CPPFLAGS -DMACOS_X_UNIX"
|
||||
|
||||
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
|
||||
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
|
||||
@@ -4311,7 +4311,7 @@ fi
|
||||
|
||||
if test "$GCC" = yes -a "$local_dir" != no; then
|
||||
echo 'void f(){}' > conftest.c
|
||||
have_local_include=`${CC-cc} -no-cpp-precomp -c -v conftest.c 2>&1 | grep "${local_dir}/include"`
|
||||
have_local_include=`${CC-cc} -c -v conftest.c 2>&1 | grep "${local_dir}/include"`
|
||||
have_local_lib=`${CC-cc} -c -v conftest.c 2>&1 | grep "${local_dir}/lib"`
|
||||
rm -f conftest.c conftest.o
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user