configure.ac: Do not generate libada-mk.
gcc: 2008-08-01 Paolo Bonzini <bonzini@gnu.org> * configure.ac: Do not generate libada-mk. Do not subst host_cc_for_libada. * libada-mk.in: Remove. * Makefile.in: Pass TARGET_LIBGCC2_CFLAGS to libgcc.mvars. * configure: Regenerate. libada: 2008-08-01 Paolo Bonzini <bonzini@gnu.org> * configure.ac (warn_cflags): Substitute. * configure: Regenerate. * Makefile.in (libdir, WARN_CFLAGS): Substitute. (GCC_WARN_CFLAGS): Remove NOCOMMON_FLAG. (ADA_CFLAGS, T_ADA_CFLAGS, X_ADA_CFLAGS, ALL_ADA_CFLAGS): Remove, they were unused. (libada-mk): Do not include. Include libgcc.mvars instead. (tmake_file): Remove, do not include. (FLAGS_TO_PASS): Pass dummy values for exeext and CC. * configure: Regenerate. gnattools: 2008-08-01 Paolo Bonzini <bonzini@gnu.org> * configure.ac (warn_cflags): Substitute. * configure: Regenerate. * Makefile.in (libdir, exeext, WARN_CFLAGS): Substitute. (GCC_WARN_CFLAGS): Remove NOCOMMON_FLAG. (ADA_INCLUDE_DIR, ADA_RTL_OBJ_DIR): Remove as they were unused. (libsubdir): Remove. (libada-mk): Do not include. Include libgcc.mvars instead. (xmake_file): Remove, do not include. From-SVN: r138479
This commit is contained in:
parent
e1bb4e7129
commit
47ad7893fb
@ -1,4 +1,13 @@
|
||||
2008-08-01 Basile Starynkevitch <basile@starynkevitch>
|
||||
2008-08-01 Paolo Bonzini <bonzini@gnu.org>
|
||||
|
||||
* configure.ac: Do not generate libada-mk. Do not subst
|
||||
host_cc_for_libada.
|
||||
* libada-mk.in: Remove.
|
||||
* Makefile.in: Pass TARGET_LIBGCC2_CFLAGS to libgcc.mvars.
|
||||
* configure: Regenerate.
|
||||
|
||||
2008-08-01 Basile Starynkevitch <basile@starynkevitch.net>
|
||||
|
||||
* tree-pass.h: Added comment about not dumping passes with name
|
||||
starting with star in struct opt_pass.
|
||||
* passes.c (register_dump_files_1): Don't do dump for a pass with
|
||||
|
@ -1680,6 +1680,7 @@ libgcc.mvars: config.status Makefile $(LIB2ADD) $(LIB2ADD_ST) specs \
|
||||
echo SHLIB_MAPFILES = '$(call srcdirify,$(SHLIB_MAPFILES))' >> tmp-libgcc.mvars
|
||||
echo SHLIB_NM_FLAGS = '$(SHLIB_NM_FLAGS)' >> tmp-libgcc.mvars
|
||||
echo LIBGCC2_CFLAGS = '$(LIBGCC2_CFLAGS)' >> tmp-libgcc.mvars
|
||||
echo TARGET_LIBGCC2_CFLAGS = '$(TARGET_LIBGCC2_CFLAGS)' >> tmp-libgcc.mvars
|
||||
echo LIBGCC_SYNC = '$(LIBGCC_SYNC)' >> tmp-libgcc.mvars
|
||||
echo LIBGCC_SYNC_CFLAGS = '$(LIBGCC_SYNC_CFLAGS)' >> tmp-libgcc.mvars
|
||||
echo CRTSTUFF_CFLAGS = '$(CRTSTUFF_CFLAGS)' >> tmp-libgcc.mvars
|
||||
|
37
gcc/configure
vendored
37
gcc/configure
vendored
@ -458,7 +458,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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os target_noncanonical build_libsubdir build_subdir host_subdir target_subdir GENINSRC CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT GNATBIND ac_ct_GNATBIND GNATMAKE ac_ct_GNATMAKE NO_MINUS_C_MINUS_O OUTPUT_OPTION CPP EGREP loose_warn strict_warn warn_cflags nocommon_flag TREEBROWSER valgrind_path valgrind_path_defines valgrind_command coverage_flags enable_multilib enable_decimal_float enable_fixed_point enable_shared TARGET_SYSTEM_ROOT TARGET_SYSTEM_ROOT_DEFINE CROSS_SYSTEM_HEADER_DIR onestep PKGVERSION REPORT_BUGS_TO REPORT_BUGS_TEXI datarootdir docdir htmldir SET_MAKE AWK LN_S LN RANLIB ac_ct_RANLIB ranlib_flags INSTALL INSTALL_PROGRAM INSTALL_DATA make_compare_target have_mktemp_command MAKEINFO BUILD_INFO GENERATED_MANPAGES FLEX BISON NM AR COLLECT2_LIBS GNAT_LIBEXC LDEXP_LIB TARGET_GETGROUPS_T LIBICONV LTLIBICONV LIBICONV_DEP manext objext gthread_flags extra_modes_file extra_opt_files USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT host_cc_for_libada CROSS ALL SYSTEM_HEADER_DIR inhibit_libc CC_FOR_BUILD BUILD_CFLAGS BUILD_LDFLAGS STMP_FIXINC STMP_FIXPROTO collect2 LIBTOOL SED FGREP GREP LD DUMPBIN ac_ct_DUMPBIN ac_ct_AR STRIP ac_ct_STRIP lt_ECHO objdir enable_fast_install gcc_cv_as ORIGINAL_AS_FOR_TARGET gcc_cv_ld ORIGINAL_LD_FOR_TARGET gcc_cv_nm ORIGINAL_NM_FOR_TARGET gcc_cv_objdump libgcc_visibility GGC zlibdir zlibinc MAINT gcc_tooldir dollar slibdir subdirs srcdir all_compilers all_gtfiles all_lang_makefrags all_lang_makefiles all_languages all_selected_languages build_exeext build_install_headers_dir build_xm_file_list build_xm_include_list build_xm_defines build_file_translate check_languages cpp_install_dir xmake_file tmake_file extra_gcc_objs extra_headers_list extra_objs extra_parts extra_passes extra_programs float_h_file gcc_config_arguments gcc_gxx_include_dir host_exeext host_xm_file_list host_xm_include_list host_xm_defines out_host_hook_obj install lang_opt_files lang_specs_files lang_tree_files local_prefix md_file objc_boehm_gc out_file out_object_file thread_file tm_file_list tm_include_list tm_defines tm_p_file_list tm_p_include_list xm_file_list xm_include_list xm_defines c_target_objs cxx_target_objs fortran_target_objs target_cpu_default GMPLIBS GMPINC 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os target_noncanonical build_libsubdir build_subdir host_subdir target_subdir GENINSRC CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT GNATBIND ac_ct_GNATBIND GNATMAKE ac_ct_GNATMAKE NO_MINUS_C_MINUS_O OUTPUT_OPTION CPP EGREP loose_warn strict_warn warn_cflags nocommon_flag TREEBROWSER valgrind_path valgrind_path_defines valgrind_command coverage_flags enable_multilib enable_decimal_float enable_fixed_point enable_shared TARGET_SYSTEM_ROOT TARGET_SYSTEM_ROOT_DEFINE CROSS_SYSTEM_HEADER_DIR onestep PKGVERSION REPORT_BUGS_TO REPORT_BUGS_TEXI datarootdir docdir htmldir SET_MAKE AWK LN_S LN RANLIB ac_ct_RANLIB ranlib_flags INSTALL INSTALL_PROGRAM INSTALL_DATA make_compare_target have_mktemp_command MAKEINFO BUILD_INFO GENERATED_MANPAGES FLEX BISON NM AR COLLECT2_LIBS GNAT_LIBEXC LDEXP_LIB TARGET_GETGROUPS_T LIBICONV LTLIBICONV LIBICONV_DEP manext objext gthread_flags extra_modes_file extra_opt_files USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT CROSS ALL SYSTEM_HEADER_DIR inhibit_libc CC_FOR_BUILD BUILD_CFLAGS BUILD_LDFLAGS STMP_FIXINC STMP_FIXPROTO collect2 LIBTOOL SED FGREP GREP LD DUMPBIN ac_ct_DUMPBIN ac_ct_AR STRIP ac_ct_STRIP lt_ECHO objdir enable_fast_install gcc_cv_as ORIGINAL_AS_FOR_TARGET gcc_cv_ld ORIGINAL_LD_FOR_TARGET gcc_cv_nm ORIGINAL_NM_FOR_TARGET gcc_cv_objdump libgcc_visibility GGC zlibdir zlibinc MAINT gcc_tooldir dollar slibdir subdirs srcdir all_compilers all_gtfiles all_lang_makefrags all_lang_makefiles all_languages all_selected_languages build_exeext build_install_headers_dir build_xm_file_list build_xm_include_list build_xm_defines build_file_translate check_languages cpp_install_dir xmake_file tmake_file extra_gcc_objs extra_headers_list extra_objs extra_parts extra_passes extra_programs float_h_file gcc_config_arguments gcc_gxx_include_dir host_exeext host_xm_file_list host_xm_include_list host_xm_defines out_host_hook_obj install lang_opt_files lang_specs_files lang_tree_files local_prefix md_file objc_boehm_gc out_file out_object_file thread_file tm_file_list tm_include_list tm_defines tm_p_file_list tm_p_include_list xm_file_list xm_include_list xm_defines c_target_objs cxx_target_objs fortran_target_objs target_cpu_default GMPLIBS GMPINC LIBOBJS LTLIBOBJS'
|
||||
ac_subst_files='language_hooks'
|
||||
ac_pwd=`pwd`
|
||||
|
||||
@ -13964,10 +13964,6 @@ do
|
||||
done
|
||||
tmake_file="${tmake_file_}"
|
||||
|
||||
# This is a terrible hack which will go away some day.
|
||||
host_cc_for_libada=${CC}
|
||||
|
||||
|
||||
out_object_file=`basename $out_file .c`.o
|
||||
|
||||
tm_file_list="options.h"
|
||||
@ -14725,13 +14721,13 @@ if test "${lt_cv_nm_interface+set}" = set; then
|
||||
else
|
||||
lt_cv_nm_interface="BSD nm"
|
||||
echo "int some_variable = 0;" > conftest.$ac_ext
|
||||
(eval echo "\"\$as_me:14728: $ac_compile\"" >&5)
|
||||
(eval echo "\"\$as_me:14724: $ac_compile\"" >&5)
|
||||
(eval "$ac_compile" 2>conftest.err)
|
||||
cat conftest.err >&5
|
||||
(eval echo "\"\$as_me:14731: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
|
||||
(eval echo "\"\$as_me:14727: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
|
||||
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
|
||||
cat conftest.err >&5
|
||||
(eval echo "\"\$as_me:14734: output\"" >&5)
|
||||
(eval echo "\"\$as_me:14730: output\"" >&5)
|
||||
cat conftest.out >&5
|
||||
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
|
||||
lt_cv_nm_interface="MS dumpbin"
|
||||
@ -15786,7 +15782,7 @@ ia64-*-hpux*)
|
||||
;;
|
||||
*-*-irix6*)
|
||||
# Find out which ABI we are using.
|
||||
echo '#line 15789 "configure"' > conftest.$ac_ext
|
||||
echo '#line 15785 "configure"' > conftest.$ac_ext
|
||||
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
||||
(eval $ac_compile) 2>&5
|
||||
ac_status=$?
|
||||
@ -16406,11 +16402,11 @@ else
|
||||
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||
-e 's:$: $lt_compiler_flag:'`
|
||||
(eval echo "\"\$as_me:16409: $lt_compile\"" >&5)
|
||||
(eval echo "\"\$as_me:16405: $lt_compile\"" >&5)
|
||||
(eval "$lt_compile" 2>conftest.err)
|
||||
ac_status=$?
|
||||
cat conftest.err >&5
|
||||
echo "$as_me:16413: \$? = $ac_status" >&5
|
||||
echo "$as_me:16409: \$? = $ac_status" >&5
|
||||
if (exit $ac_status) && test -s "$ac_outfile"; then
|
||||
# The compiler can only warn and ignore the option if not recognized
|
||||
# So say no if there are warnings other than the usual output.
|
||||
@ -16728,11 +16724,11 @@ else
|
||||
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||
-e 's:$: $lt_compiler_flag:'`
|
||||
(eval echo "\"\$as_me:16731: $lt_compile\"" >&5)
|
||||
(eval echo "\"\$as_me:16727: $lt_compile\"" >&5)
|
||||
(eval "$lt_compile" 2>conftest.err)
|
||||
ac_status=$?
|
||||
cat conftest.err >&5
|
||||
echo "$as_me:16735: \$? = $ac_status" >&5
|
||||
echo "$as_me:16731: \$? = $ac_status" >&5
|
||||
if (exit $ac_status) && test -s "$ac_outfile"; then
|
||||
# The compiler can only warn and ignore the option if not recognized
|
||||
# So say no if there are warnings other than the usual output.
|
||||
@ -16833,11 +16829,11 @@ else
|
||||
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||
-e 's:$: $lt_compiler_flag:'`
|
||||
(eval echo "\"\$as_me:16836: $lt_compile\"" >&5)
|
||||
(eval echo "\"\$as_me:16832: $lt_compile\"" >&5)
|
||||
(eval "$lt_compile" 2>out/conftest.err)
|
||||
ac_status=$?
|
||||
cat out/conftest.err >&5
|
||||
echo "$as_me:16840: \$? = $ac_status" >&5
|
||||
echo "$as_me:16836: \$? = $ac_status" >&5
|
||||
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
||||
then
|
||||
# The compiler can only warn and ignore the option if not recognized
|
||||
@ -16888,11 +16884,11 @@ else
|
||||
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||
-e 's:$: $lt_compiler_flag:'`
|
||||
(eval echo "\"\$as_me:16891: $lt_compile\"" >&5)
|
||||
(eval echo "\"\$as_me:16887: $lt_compile\"" >&5)
|
||||
(eval "$lt_compile" 2>out/conftest.err)
|
||||
ac_status=$?
|
||||
cat out/conftest.err >&5
|
||||
echo "$as_me:16895: \$? = $ac_status" >&5
|
||||
echo "$as_me:16891: \$? = $ac_status" >&5
|
||||
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
||||
then
|
||||
# The compiler can only warn and ignore the option if not recognized
|
||||
@ -19685,7 +19681,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 19688 "configure"
|
||||
#line 19684 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@ -19785,7 +19781,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 19788 "configure"
|
||||
#line 19784 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@ -23587,7 +23583,7 @@ lang_tree_files=
|
||||
# `language' must be a single word so is spelled singularly.
|
||||
all_languages=
|
||||
all_compilers=
|
||||
all_outputs='Makefile gccbug libada-mk'
|
||||
all_outputs='Makefile gccbug'
|
||||
# List of language makefile fragments.
|
||||
all_lang_makefrags=
|
||||
# List of language subdirectory makefiles. Deprecated.
|
||||
@ -24614,7 +24610,6 @@ s,@DATADIRNAME@,$DATADIRNAME,;t t
|
||||
s,@INSTOBJEXT@,$INSTOBJEXT,;t t
|
||||
s,@GENCAT@,$GENCAT,;t t
|
||||
s,@CATOBJEXT@,$CATOBJEXT,;t t
|
||||
s,@host_cc_for_libada@,$host_cc_for_libada,;t t
|
||||
s,@CROSS@,$CROSS,;t t
|
||||
s,@ALL@,$ALL,;t t
|
||||
s,@SYSTEM_HEADER_DIR@,$SYSTEM_HEADER_DIR,;t t
|
||||
|
@ -1607,10 +1607,6 @@ do
|
||||
done
|
||||
tmake_file="${tmake_file_}"
|
||||
|
||||
# This is a terrible hack which will go away some day.
|
||||
host_cc_for_libada=${CC}
|
||||
AC_SUBST(host_cc_for_libada)
|
||||
|
||||
out_object_file=`basename $out_file .c`.o
|
||||
|
||||
tm_file_list="options.h"
|
||||
@ -3569,7 +3565,7 @@ lang_tree_files=
|
||||
# `language' must be a single word so is spelled singularly.
|
||||
all_languages=
|
||||
all_compilers=
|
||||
all_outputs='Makefile gccbug libada-mk'
|
||||
all_outputs='Makefile gccbug'
|
||||
# List of language makefile fragments.
|
||||
all_lang_makefrags=
|
||||
# List of language subdirectory makefiles. Deprecated.
|
||||
|
@ -1,29 +0,0 @@
|
||||
# Copyright 2004, 2007 Free Software Foundation, Inc.
|
||||
|
||||
#This file is part of GCC.
|
||||
|
||||
#GCC is free software; you can redistribute it and/or modify
|
||||
#it under the terms of the GNU General Public License as published by
|
||||
#the Free Software Foundation; either version 3, or (at your option)
|
||||
#any later version.
|
||||
|
||||
#GCC is distributed in the hope that it will be useful,
|
||||
#but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
#GNU General Public License for more details.
|
||||
|
||||
#You should have received a copy of the GNU General Public License
|
||||
#along with GCC; see the file COPYING3. If not see
|
||||
#<http://www.gnu.org/licenses/>.
|
||||
|
||||
# GCC's Makefile fragment for libada.
|
||||
# libada needs some information from the GCC configure file at the moment,
|
||||
# and this exists to transfer that information in as clean a way as possible.
|
||||
|
||||
exeext=@host_exeext@
|
||||
libdir=@libdir@
|
||||
NOCOMMON_FLAG=@nocommon_flag@
|
||||
WARN_CFLAGS=@warn_cflags@
|
||||
gcc_tmake_file=@tmake_file@
|
||||
gcc_xmake_file=@xmake_file@
|
||||
host_cc_for_libada=@host_cc_for_libada@
|
@ -1,3 +1,14 @@
|
||||
2008-08-01 Paolo Bonzini <bonzini@gnu.org>
|
||||
|
||||
* configure.ac (warn_cflags): Substitute.
|
||||
* configure: Regenerate.
|
||||
* Makefile.in (libdir, exeext, WARN_CFLAGS): Substitute.
|
||||
(GCC_WARN_CFLAGS): Remove NOCOMMON_FLAG.
|
||||
(ADA_INCLUDE_DIR, ADA_RTL_OBJ_DIR): Remove as they were unused.
|
||||
(libsubdir): Remove.
|
||||
(libada-mk): Do not include. Include libgcc.mvars instead.
|
||||
(xmake_file): Remove, do not include.
|
||||
|
||||
2008-07-30 Paolo Bonzini <bonzini@gnu.org>
|
||||
|
||||
* configure.ac (x_ada_cflags): Remove.
|
||||
|
@ -21,6 +21,7 @@ all: gnattools
|
||||
# Standard autoconf-set variables.
|
||||
SHELL = @SHELL@
|
||||
srcdir = @srcdir@
|
||||
libdir = @libdir@
|
||||
build = @build@
|
||||
target = @target@
|
||||
prefix = @prefix@
|
||||
@ -33,6 +34,7 @@ LN_S=@LN_S@
|
||||
target_noncanonical=@target_noncanonical@
|
||||
|
||||
# Variables for the user (or the top level) to override.
|
||||
exeext = @EXEEXT@
|
||||
objext=.o
|
||||
TRACE=no
|
||||
ADA_FOR_BUILD=
|
||||
@ -43,27 +45,16 @@ PWD_COMMAND = $${PWDCMD-pwd}
|
||||
# The tedious process of getting CFLAGS right.
|
||||
CFLAGS=-g
|
||||
LOOSE_WARN = -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
|
||||
GCC_WARN_CFLAGS = $(LOOSE_WARN) $(NOCOMMON_FLAG)
|
||||
GCC_WARN_CFLAGS = $(LOOSE_WARN)
|
||||
WARN_CFLAGS = @warn_cflags@
|
||||
|
||||
ADA_CFLAGS=@ADA_CFLAGS@
|
||||
|
||||
# Variables for gnattools.
|
||||
ADAFLAGS= -gnatpg -gnata
|
||||
ADA_INCLUDE_DIR = $(libsubdir)/adainclude
|
||||
ADA_RTL_OBJ_DIR = $(libsubdir)/adalib
|
||||
|
||||
# For finding the GCC build dir, which is used far too much
|
||||
GCC_DIR=../gcc
|
||||
# Include fragment generated by GCC configure; shared with libada for now.
|
||||
include $(GCC_DIR)/libada-mk
|
||||
# Variables based on those gleaned from the GCC makefile. :-P
|
||||
libsubdir=$(libdir)/gcc/$(target_noncanonical)/$(gcc_version)
|
||||
|
||||
# Get possible host-specific override for libsubdir (ick).
|
||||
xmake_file=$(subst /config,/../gcc/config,$(gcc_xmake_file))
|
||||
ifneq ($(xmake_file),)
|
||||
include $(xmake_file)
|
||||
endif
|
||||
|
||||
# Absolute srcdir for gcc/ada (why do we want absolute? I dunno)
|
||||
fsrcdir := $(shell cd $(srcdir)/../gcc/ada/; ${PWD_COMMAND})
|
||||
|
983
gnattools/configure
vendored
983
gnattools/configure
vendored
File diff suppressed because it is too large
Load Diff
@ -156,6 +156,13 @@ esac
|
||||
# From user or toplevel makefile.
|
||||
AC_SUBST(ADA_CFLAGS)
|
||||
|
||||
AC_PROG_CC
|
||||
warn_cflags=
|
||||
if test "x$GCC" = "xyes"; then
|
||||
warn_cflags='$(GCC_WARN_CFLAGS)'
|
||||
fi
|
||||
AC_SUBST(warn_cflags)
|
||||
|
||||
# Output: create a Makefile.
|
||||
AC_CONFIG_FILES([Makefile])
|
||||
|
||||
|
@ -1,3 +1,16 @@
|
||||
2008-08-01 Paolo Bonzini <bonzini@gnu.org>
|
||||
|
||||
* configure.ac (warn_cflags): Substitute.
|
||||
* configure: Regenerate.
|
||||
* Makefile.in (libdir, WARN_CFLAGS): Substitute.
|
||||
(GCC_WARN_CFLAGS): Remove NOCOMMON_FLAG.
|
||||
(ADA_CFLAGS, T_ADA_CFLAGS, X_ADA_CFLAGS, ALL_ADA_CFLAGS): Remove,
|
||||
they were unused.
|
||||
(libada-mk): Do not include. Include libgcc.mvars instead.
|
||||
(tmake_file): Remove, do not include.
|
||||
(FLAGS_TO_PASS): Pass dummy values for exeext and CC.
|
||||
* configure: Regenerate.
|
||||
|
||||
2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||
|
||||
* configure.ac: move sinclude of acx.m4 before AC_INIT,
|
||||
|
@ -21,6 +21,7 @@ all: gnatlib
|
||||
# Standard autoconf-set variables.
|
||||
SHELL = @SHELL@
|
||||
srcdir = @srcdir@
|
||||
libdir = @libdir@
|
||||
build = @build@
|
||||
target = @target@
|
||||
prefix = @prefix@
|
||||
@ -39,41 +40,30 @@ LDFLAGS=
|
||||
# The tedious process of getting CFLAGS right.
|
||||
CFLAGS=-g
|
||||
LOOSE_WARN = -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
|
||||
GCC_WARN_CFLAGS = $(LOOSE_WARN) $(NOCOMMON_FLAG)
|
||||
|
||||
ADA_CFLAGS=
|
||||
T_ADA_CFLAGS=
|
||||
# HPPA is literally the only target which sets X_ADA_CFLAGS
|
||||
X_ADA_CFLAGS=@x_ada_cflags@
|
||||
ALL_ADA_CFLAGS=$(X_ADA_CFLAGS) $(T_ADA_CFLAGS) $(ADA_CFLAGS)
|
||||
|
||||
# For finding the GCC build dir, which is used far too much
|
||||
host_subdir = @host_subdir@
|
||||
GCC_DIR=../../$(host_subdir)/gcc
|
||||
# Include fragment generated by GCC configure.
|
||||
include $(GCC_DIR)/libada-mk
|
||||
GCC_WARN_CFLAGS = $(LOOSE_WARN)
|
||||
WARN_CFLAGS = @warn_cflags@
|
||||
|
||||
TARGET_LIBGCC2_CFLAGS=
|
||||
GNATLIBCFLAGS= -g -O2
|
||||
# Get target-specific overrides for TARGET_LIBGCC2_CFLAGS
|
||||
# and possibly GNATLIBCFLAGS. Currently this uses files
|
||||
# in gcc/config. The 'subst' call is used to rerelativize them
|
||||
# from their gcc locations. This is hackery, but there isn't
|
||||
# yet a better way to do this.
|
||||
tmake_file=$(subst /config,/../gcc/config,$(gcc_tmake_file))
|
||||
ifneq ($(tmake_file),)
|
||||
include $(tmake_file)
|
||||
endif
|
||||
|
||||
# Get target-specific overrides for TARGET_LIBGCC2_CFLAGS.
|
||||
host_subdir = @host_subdir@
|
||||
GCC_DIR=../../$(host_subdir)/gcc
|
||||
include $(GCC_DIR)/libgcc.mvars
|
||||
|
||||
# exeext should not be used because it's the *host* exeext. We're building
|
||||
# a *target* library, aren't we?!? Likewise for CC. Still, provide bogus
|
||||
# definitions just in case something slips through the safety net provided
|
||||
# by recursive make invocations in gcc/ada/Makefile.in
|
||||
FLAGS_TO_PASS = \
|
||||
"MAKEOVERRIDES=" \
|
||||
"LDFLAGS=$(LDFLAGS)" \
|
||||
"LN_S=$(LN_S)" \
|
||||
"SHELL=$(SHELL)" \
|
||||
"exeext=$(exeext)" \
|
||||
"objext=$(objext)" \
|
||||
"prefix=$(prefix)" \
|
||||
"CC=$(host_cc_for_libada)" \
|
||||
"exeext=.exeext.should.not.be.used " \
|
||||
'CC=the.host.compiler.should.not.be.needed' \
|
||||
"GCC_FOR_TARGET=$(CC)" \
|
||||
"CFLAGS=$(CFLAGS) $(WARN_CFLAGS)"
|
||||
|
||||
|
983
libada/configure
vendored
983
libada/configure
vendored
File diff suppressed because it is too large
Load Diff
@ -73,13 +73,6 @@ AC_SUBST([enable_shared])
|
||||
# Need to pass this down for now :-P
|
||||
AC_PROG_LN_S
|
||||
|
||||
# Determine x_ada_cflags
|
||||
case $host in
|
||||
hppa*) x_ada_cflags=-mdisable-indexing ;;
|
||||
*) x_ada_cflags= ;;
|
||||
esac
|
||||
AC_SUBST([x_ada_cflags])
|
||||
|
||||
# Determine what to build for 'gnatlib'
|
||||
if test $build = $target \
|
||||
&& test ${enable_shared} = yes ; then
|
||||
@ -90,6 +83,13 @@ else
|
||||
fi
|
||||
AC_SUBST([default_gnatlib_target])
|
||||
|
||||
AC_PROG_CC
|
||||
warn_cflags=
|
||||
if test "x$GCC" = "xyes"; then
|
||||
warn_cflags='$(GCC_WARN_CFLAGS)'
|
||||
fi
|
||||
AC_SUBST(warn_cflags)
|
||||
|
||||
# Output: create a Makefile.
|
||||
AC_CONFIG_FILES([Makefile])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user