From 59ce206d421557630143b5050b507a63a8290cf8 Mon Sep 17 00:00:00 2001 From: Nicola Pero Date: Wed, 18 Feb 2004 16:55:11 +0000 Subject: [PATCH] Removed --enable-import from configuration git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@18619 72102866-910b-0410-8b05-ffd578937521 --- common.make | 2 +- config.make.in | 1 - configure.ac | 21 --------------------- 3 files changed, 1 insertion(+), 23 deletions(-) diff --git a/common.make b/common.make index 444bc8c4..80dfd1dd 100644 --- a/common.make +++ b/common.make @@ -358,7 +358,7 @@ endif # compiler warnings. But we really need to investigate why the # warning appear in the first place, if they are serious or not, and # what can be done about it. -OBJCFLAGS = $(OBJC_NO_IMPORT_FLAGS) -fno-strict-aliasing +OBJCFLAGS = -fno-strict-aliasing CFLAGS = OBJ_DIR_PREFIX = diff --git a/config.make.in b/config.make.in index 0e9100f7..75d5fe90 100644 --- a/config.make.in +++ b/config.make.in @@ -36,7 +36,6 @@ CC = @CC@ OPTFLAG = @CFLAGS@ OBJCFLAGS= @OBJCFLAGS@ CPPFLAGS = @CPPFLAGS@ -OBJC_NO_IMPORT_FLAGS = @OBJC_NO_IMPORT_FLAGS@ CPP = @CPP@ CC_TYPE = @cc_type@ diff --git a/configure.ac b/configure.ac index 0bd62458..d08eb142 100644 --- a/configure.ac +++ b/configure.ac @@ -507,27 +507,6 @@ AC_SUBST(INCLUDES) AC_SUBST(LIB_DIR) AC_SUBST(OBJCFLAGS) -#--------------------------------------------------------------------- -# Enable/disable warnings for deprecated #import directive as required -#--------------------------------------------------------------------- -AC_MSG_CHECKING(whether to disable compiler warnings about deprecated import) - -# -# GCC recommends that you use `--disable-import' here, since #import -# is seriously deprecated. If you are unsure, please use --disable-import. -# -AC_ARG_ENABLE(import, -[--enable-import Don't warn about usage of deprecated import directive], - ac_cv_import=$enableval, - ac_cv_import="no") - -AC_MSG_RESULT($ac_cv_import) - -if test "$ac_cv_import" = "yes"; then - OBJC_NO_IMPORT_FLAGS=-Wno-import; -fi -AC_SUBST(OBJC_NO_IMPORT_FLAGS) - #-------------------------------------------------------------------- # Shall we strip makefiles upon installation ? #--------------------------------------------------------------------