Removed --enable-import from configuration

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@18619 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2004-02-18 16:55:11 +00:00
parent 7b58d33e41
commit 59ce206d42
3 changed files with 1 additions and 23 deletions

View file

@ -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 =

View file

@ -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@

View file

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