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 ? #--------------------------------------------------------------------