mirror of
https://github.com/gnustep/tools-make.git
synced 2025-05-06 03:40:44 +00:00
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:
parent
7b58d33e41
commit
59ce206d42
3 changed files with 1 additions and 23 deletions
|
@ -358,7 +358,7 @@ endif
|
||||||
# compiler warnings. But we really need to investigate why the
|
# compiler warnings. But we really need to investigate why the
|
||||||
# warning appear in the first place, if they are serious or not, and
|
# warning appear in the first place, if they are serious or not, and
|
||||||
# what can be done about it.
|
# what can be done about it.
|
||||||
OBJCFLAGS = $(OBJC_NO_IMPORT_FLAGS) -fno-strict-aliasing
|
OBJCFLAGS = -fno-strict-aliasing
|
||||||
CFLAGS =
|
CFLAGS =
|
||||||
OBJ_DIR_PREFIX =
|
OBJ_DIR_PREFIX =
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,6 @@ CC = @CC@
|
||||||
OPTFLAG = @CFLAGS@
|
OPTFLAG = @CFLAGS@
|
||||||
OBJCFLAGS= @OBJCFLAGS@
|
OBJCFLAGS= @OBJCFLAGS@
|
||||||
CPPFLAGS = @CPPFLAGS@
|
CPPFLAGS = @CPPFLAGS@
|
||||||
OBJC_NO_IMPORT_FLAGS = @OBJC_NO_IMPORT_FLAGS@
|
|
||||||
CPP = @CPP@
|
CPP = @CPP@
|
||||||
CC_TYPE = @cc_type@
|
CC_TYPE = @cc_type@
|
||||||
|
|
||||||
|
|
21
configure.ac
21
configure.ac
|
@ -507,27 +507,6 @@ AC_SUBST(INCLUDES)
|
||||||
AC_SUBST(LIB_DIR)
|
AC_SUBST(LIB_DIR)
|
||||||
AC_SUBST(OBJCFLAGS)
|
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 ?
|
# Shall we strip makefiles upon installation ?
|
||||||
#--------------------------------------------------------------------
|
#--------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in a new issue