Add 2.57 prereq. Subst OBJCFLAGS from configure

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@17944 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Adam Fedor 2003-10-21 02:25:44 +00:00
parent 2846c061b9
commit f576213327
6 changed files with 17 additions and 6 deletions

View file

@ -1,3 +1,8 @@
2003-10-20 Adam Fedor <fedor@gnu.org>
* configure.ac: Add 1.57 prereq, subst OBJCFLAGS
* config.make.in (OBJCFLAGS): New
Mon Oct 20 15:02:22 2003 Nicola Pero <n.pero@mi.flashnet.it>
* cpu.sh: Simplified code by removing unused echo command.

View file

@ -101,9 +101,8 @@ included parts of ffcall are under GNU LGPL.
@item libffi library (OPTIONAL)
This is a library that provides stack frame handling for NSInvocation
and NSConnection similar to ffcall. However, libffi is not as well tested
as ffcall so you should not use it unless you are familiar with
potential problems. Use this instead of ffcall. You don't need both.
and NSConnection similar to ffcall.
Use this instead of ffcall. You don't need both.
@item WindowMaker (Version >= 0.62) (OPTIONAL)
GNUstep and WindowMaker work together to provide a consistant interface.
@ -129,7 +128,7 @@ replacement, it can quickly be used by creating another bundle.
@item libiconv (OPTIONAL)
Note: Do not install this library unless you are sure you need it.
iconv support except perhaps MinGW.
You probably don't need it except perhaps on MinGW.
Unicode support functions (iconv) come with glibc version 2.1 or greater. If
you don't have glibc (try iconv --version), you can get the separate
libiconv library from
@ -138,6 +137,7 @@ neither one is required to use GNUstep.
@item gnustep-objc package (for gcc version < 3.0 ONLY) (RECOMMENDED)
Note: Do not install this library unless you are sure you need it.
You probably don't need it except on MinGW.
This is a special version of the Objective-C runtime that include several
bug fixes and features that were not in gcc versions previous to 3.0.
It is available at @url{ftp://ftp.gnustep.org/pub/gnustep/libs} which

View file

@ -444,7 +444,7 @@ AUXILIARY_CPPFLAGS += $(GNUSTEP_DEFINE) \
INTERNAL_OBJCFLAGS += $(ADDITIONAL_FLAGS) $(OPTFLAG) $(OBJCFLAGS) \
$(RUNTIME_FLAG)
INTERNAL_CFLAGS += $(ADDITIONAL_FLAGS) $(CFLAGS) $(OPTFLAG)
INTERNAL_CFLAGS += $(ADDITIONAL_FLAGS) $(OPTFLAG)
# trick needed to replace a space with nothing
empty:=

View file

@ -34,6 +34,7 @@ GNUSTEP_MAKE_VERSION=@GNUSTEP_MAKE_VERSION@
#
CC = @CC@
OPTFLAG = @CFLAGS@
OBJCFLAGS= @OBJCFLAGS@
CPPFLAGS = @CPPFLAGS@
OBJC_NO_IMPORT_FLAGS = @OBJC_NO_IMPORT_FLAGS@
CPP = @CPP@

5
configure vendored
View file

@ -317,7 +317,7 @@ ac_includes_default="\
# include <unistd.h>
#endif"
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os ac_cv_library_combo CYGWIN RANLIB AR DLLTOOL ac_ct_RANLIB INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S TAR CHOWN GNUSTEP_ROOT root_prefix MAKEFILES_SUFFIX HOST_INSTALL GNUSTEP_LOCAL_ROOT GNUSTEP_NETWORK_ROOT GNUSTEP_FLATTENED GNUSTEP_MULTI_PLATFORM BACKEND_BUNDLE EGREP objc_threaded ac_cv_objc_threaded AUTO_DEPENDENCIES INCLUDES LIB_DIR OBJC_NO_IMPORT_FLAGS GNUSTEP_STRIP_MAKEFILES GNUSTEP_MOVE_OBSOLETE GNUSTEP_MAKE_VERSION GNUSTEP_MAKE_MAJOR_VERSION GNUSTEP_MAKE_MINOR_VERSION GNUSTEP_MAKE_SUBMINOR_VERSION clean_target_os clean_target_cpu clean_target_vendor LIBOBJS LTLIBOBJS'
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os ac_cv_library_combo CYGWIN RANLIB AR DLLTOOL ac_ct_RANLIB INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S TAR CHOWN GNUSTEP_ROOT root_prefix MAKEFILES_SUFFIX HOST_INSTALL GNUSTEP_LOCAL_ROOT GNUSTEP_NETWORK_ROOT GNUSTEP_FLATTENED GNUSTEP_MULTI_PLATFORM BACKEND_BUNDLE EGREP objc_threaded ac_cv_objc_threaded AUTO_DEPENDENCIES INCLUDES LIB_DIR OBJCFLAGS OBJC_NO_IMPORT_FLAGS GNUSTEP_STRIP_MAKEFILES GNUSTEP_MOVE_OBSOLETE GNUSTEP_MAKE_VERSION GNUSTEP_MAKE_MAJOR_VERSION GNUSTEP_MAKE_MINOR_VERSION GNUSTEP_MAKE_SUBMINOR_VERSION clean_target_os clean_target_cpu clean_target_vendor LIBOBJS LTLIBOBJS'
ac_subst_files=''
# Initialize some variables set by options.
@ -1296,6 +1296,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
ac_config_headers="$ac_config_headers config.h"
@ -4533,6 +4534,7 @@ fi
#---------------------------------------------------------------------
# Enable/disable warnings for deprecated #import directive as required
#---------------------------------------------------------------------
@ -5328,6 +5330,7 @@ s,@ac_cv_objc_threaded@,$ac_cv_objc_threaded,;t t
s,@AUTO_DEPENDENCIES@,$AUTO_DEPENDENCIES,;t t
s,@INCLUDES@,$INCLUDES,;t t
s,@LIB_DIR@,$LIB_DIR,;t t
s,@OBJCFLAGS@,$OBJCFLAGS,;t t
s,@OBJC_NO_IMPORT_FLAGS@,$OBJC_NO_IMPORT_FLAGS,;t t
s,@GNUSTEP_STRIP_MAKEFILES@,$GNUSTEP_STRIP_MAKEFILES,;t t
s,@GNUSTEP_MOVE_OBSOLETE@,$GNUSTEP_MOVE_OBSOLETE,;t t

View file

@ -19,6 +19,7 @@
# If not, write to the Free Software Foundation,
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
AC_INIT
AC_PREREQ(2.57)
AC_CONFIG_SRCDIR([application.make])
AC_CONFIG_HEADER(config.h)
@ -492,6 +493,7 @@ fi
AC_SUBST(AUTO_DEPENDENCIES)
AC_SUBST(INCLUDES)
AC_SUBST(LIB_DIR)
AC_SUBST(OBJCFLAGS)
#---------------------------------------------------------------------
# Enable/disable warnings for deprecated #import directive as required