From 448cf0cfe686c5bd6c1d28c08807c6c99b4c49d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= Date: Tue, 15 Nov 2011 16:40:49 +0100 Subject: MacOS X: Completely remove obsolete -no-cpp-precomp option clang does not recognize the -no-cpp-precomp option and generates a warning. -no-cpp-precomp is an obsolete Apple-specific gcc option, which last had any effect in gcc 3.1 for Jaguar. Since we cannot build for Jaguar anyway, the configure test added in 8412a400e92d5cbcd is not needed. --- erts/configure.in | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'erts/configure.in') diff --git a/erts/configure.in b/erts/configure.in index e3eb6034e6..1d07c74f5f 100644 --- a/erts/configure.in +++ b/erts/configure.in @@ -490,19 +490,6 @@ CFLAG_RUNTIME_LIBRARY_PATH="-Wl,-R" case $host_os in darwin*) CFLAG_RUNTIME_LIBRARY_PATH= - AC_TRY_COMPILE([],[ - #if __GNUC__ >= 4 - ; - #else - #error old or no gcc - #endif - ], - gcc_need_no_cpp_precomp=no, - gcc_need_no_cpp_precomp=yes) - - if test x$gcc_need_no_cpp_precomp = xyes; then - CFLAGS="$CFLAGS -no-cpp-precomp" - fi ;; win32) CFLAG_RUNTIME_LIBRARY_PATH= -- cgit v1.2.3