re PR other/79046 (g++ -print-file-name=plugin uses full version number in path)
PR other/79046 * configure: Regenerated. config/ * acx.m4 (GCC_BASE_VER): New m4 function. (ACX_TOOL_DIRS): Require GCC_BASE_VER, for --with-gcc-major-version-only use just major number from BASE-VER. gcc/ * configure.ac: Add GCC_BASE_VER. * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get version from BASE-VER file. (CFLAGS-gcc.o): Add -DBASEVER=$(BASEVER_s). (gcc.o): Depend on $(BASEVER). * common.opt (dumpfullversion): New option. * gcc.c (driver_handle_option): Handle OPT_dumpfullversion. * doc/invoke.texi: Document -dumpfullversion. * doc/install.texi: Document --with-gcc-major-version-only. * configure: Regenerated. libatomic/ * configure.ac: Add GCC_BASE_VER. * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to get version from BASE-VER file. * testsuite/Makefile.in: Regenerated. * configure: Regenerated. * Makefile.in: Regenerated. libgomp/ * configure.ac: Add GCC_BASE_VER. * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to get version from BASE-VER file. * testsuite/Makefile.in: Regenerated. * configure: Regenerated. * Makefile.in: Regenerated. libgcc/ * configure.ac: Add GCC_BASE_VER. * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get version from BASE-VER file. * configure: Regenerated. libssp/ * configure.ac: Add GCC_BASE_VER. * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to get version from BASE-VER file. * configure: Regenerated. * Makefile.in: Regenerated. liboffloadmic/ * configure.ac: Add GCC_BASE_VER. * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to get version from BASE-VER file. * aclocal.m4: Include ../config/acx.m4. * configure: Regenerated. * Makefile.in: Regenerated. libquadmath/ * configure.ac: Add GCC_BASE_VER. * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to get version from BASE-VER file. * configure: Regenerated. * Makefile.in: Regenerated. libmpx/ * configure.ac: Add GCC_BASE_VER. * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to get version from BASE-VER file. * configure: Regenerated. * Makefile.in: Regenerated. libada/ * configure.ac: Add GCC_BASE_VER. * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get version from BASE-VER file. * configure: Regenerated. lto-plugin/ * configure.ac: Add GCC_BASE_VER. * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to get version from BASE-VER file. * configure: Regenerated. * Makefile.in: Regenerated. libitm/ * configure.ac: Add GCC_BASE_VER. * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to get version from BASE-VER file. * testsuite/Makefile.in: Regenerated. * configure: Regenerated. * Makefile.in: Regenerated. fixincludes/ * configure.ac: Add GCC_BASE_VER. * Makefile.in (gcc_version): Use @get_gcc_base_ver@ instead of cat to get version from BASE-VER file. * configure: Regenerated. libcilkrts/ * configure.ac: Add GCC_BASE_VER. * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to get version from BASE-VER file. * aclocal.m4: Include ../config/acx.m4. * configure: Regenerated. * Makefile.in: Regenerated. libcc1/ * configure.ac: Add GCC_BASE_VER. For --with-gcc-major-version-only use just major number from BASE-VER. * configure: Regenerated. * Makefile.in: Regenerated. libobjc/ * configure.ac: Add GCC_BASE_VER. * Makefile.in (gcc_version): Use @get_gcc_base_ver@ instead of cat to get version from BASE-VER file. * configure: Regenerated. libstdc++-v3/ * configure.ac: Add GCC_BASE_VER. * fragment.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to get version from BASE-VER file. * po/Makefile.in: Regenerated. * libsupc++/Makefile.in: Regenerated. * testsuite/Makefile.in: Regenerated. * src/Makefile.in: Regenerated. * configure: Regenerated. * Makefile.in: Regenerated. * include/Makefile.in: Regenerated. * doc/Makefile.in: Regenerated. * python/Makefile.in: Regenerated. * src/c++11/Makefile.in: Regenerated. * src/c++98/Makefile.in: Regenerated. * src/filesystem/Makefile.in: Regenerated. libvtv/ * configure.ac: Add GCC_BASE_VER. * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to get version from BASE-VER file. * testsuite/Makefile.in: Regenerated. * configure: Regenerated. * Makefile.in: Regenerated. libsanitizer/ * configure.ac: Add GCC_BASE_VER. * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to get version from BASE-VER file. * libbacktrace/Makefile.in: Regenerated. * interception/Makefile.in: Regenerated. * asan/Makefile.in: Regenerated. * ubsan/Makefile.in: Regenerated. * configure: Regenerated. * sanitizer_common/Makefile.in: Regenerated. * lsan/Makefile.in: Regenerated. * Makefile.in: Regenerated. * tsan/Makefile.in: Regenerated. libgfortran/ * configure.ac: Add GCC_BASE_VER. * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to get version from BASE-VER file. * configure: Regenerated. * Makefile.in: Regenerated. From-SVN: r244521
This commit is contained in:
parent
12314dc989
commit
3c36aa6ba2
@ -1,3 +1,8 @@
|
||||
2017-01-17 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR other/79046
|
||||
* configure: Regenerated.
|
||||
|
||||
2017-01-04 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* configure: Regenerate.
|
||||
|
@ -1,3 +1,10 @@
|
||||
2017-01-17 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR other/79046
|
||||
* acx.m4 (GCC_BASE_VER): New m4 function.
|
||||
(ACX_TOOL_DIRS): Require GCC_BASE_VER, for
|
||||
--with-gcc-major-version-only use just major number from BASE-VER.
|
||||
|
||||
2017-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
||||
|
||||
PR go/78978
|
||||
|
@ -235,8 +235,28 @@ fi
|
||||
])
|
||||
|
||||
|
||||
dnl ####
|
||||
dnl # GCC_BASE_VER
|
||||
dnl # Determine GCC version number to use in compiler directories.
|
||||
|
||||
AC_DEFUN([GCC_BASE_VER],
|
||||
[
|
||||
get_gcc_base_ver="cat"
|
||||
AC_ARG_WITH(gcc-major-version-only,
|
||||
[AS_HELP_STRING([--with-gcc-major-version-only], [use only GCC major number in filesystem paths])],
|
||||
[if test x$with_gcc_major_version_only = xyes ; then
|
||||
changequote(,)dnl
|
||||
get_gcc_base_ver="sed -e 's/^\([0-9]*\).*\$\$/\1/'"
|
||||
changequote([,])dnl
|
||||
fi
|
||||
])
|
||||
AC_SUBST(get_gcc_base_ver)
|
||||
])
|
||||
|
||||
|
||||
AC_DEFUN([ACX_TOOL_DIRS], [
|
||||
AC_REQUIRE([ACX_PATH_SEP])
|
||||
AC_REQUIRE([GCC_BASE_VER])
|
||||
if test "x$exec_prefix" = xNONE; then
|
||||
if test "x$prefix" = xNONE; then
|
||||
gcc_cv_tool_prefix=$ac_default_prefix
|
||||
@ -251,7 +271,13 @@ fi
|
||||
# case, if there is no compiler in the tree nobody should use
|
||||
# AS_FOR_TARGET and LD_FOR_TARGET.
|
||||
if test x$host = x$build && test -f $srcdir/gcc/BASE-VER; then
|
||||
gcc_version=`cat $srcdir/gcc/BASE-VER`
|
||||
if test x$with_gcc_major_version_only = xyes ; then
|
||||
changequote(,)dnl
|
||||
gcc_version=`sed -e 's/^\([0-9]*\).*$/\1/' $srcdir/gcc/BASE-VER`
|
||||
changequote([,])dnl
|
||||
else
|
||||
gcc_version=`cat $srcdir/gcc/BASE-VER`
|
||||
fi
|
||||
gcc_cv_tool_dirs="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
|
||||
gcc_cv_tool_dirs="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
|
||||
gcc_cv_tool_dirs="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
|
||||
|
24
configure
vendored
24
configure
vendored
@ -641,6 +641,7 @@ CXXFLAGS_FOR_TARGET
|
||||
CFLAGS_FOR_TARGET
|
||||
DEBUG_PREFIX_CFLAGS_FOR_TARGET
|
||||
SYSROOT_CFLAGS_FOR_TARGET
|
||||
get_gcc_base_ver
|
||||
extra_host_zlib_configure_flags
|
||||
extra_host_libiberty_configure_flags
|
||||
stage1_languages
|
||||
@ -786,6 +787,7 @@ enable_objc_gc
|
||||
with_target_bdw_gc
|
||||
with_target_bdw_gc_include
|
||||
with_target_bdw_gc_lib
|
||||
with_gcc_major_version_only
|
||||
with_build_sysroot
|
||||
with_debug_prefix_map
|
||||
with_build_config
|
||||
@ -1562,6 +1564,8 @@ Optional Packages:
|
||||
files
|
||||
--with-target-bdw-gc-lib=PATHLIST
|
||||
specify directories for installed bdw-gc library
|
||||
--with-gcc-major-version-only
|
||||
use only GCC major number in filesystem paths
|
||||
--with-build-sysroot=SYSROOT
|
||||
use sysroot as the system root during the build
|
||||
--with-debug-prefix-map='A=B C=D ...'
|
||||
@ -6619,6 +6623,20 @@ if test "${PATH_SEPARATOR+set}" != set; then
|
||||
fi
|
||||
|
||||
|
||||
get_gcc_base_ver="cat"
|
||||
|
||||
# Check whether --with-gcc-major-version-only was given.
|
||||
if test "${with_gcc_major_version_only+set}" = set; then :
|
||||
withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
|
||||
get_gcc_base_ver="sed -e 's/^\([0-9]*\).*\$\$/\1/'"
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
if test "x$exec_prefix" = xNONE; then
|
||||
if test "x$prefix" = xNONE; then
|
||||
@ -6634,7 +6652,11 @@ fi
|
||||
# case, if there is no compiler in the tree nobody should use
|
||||
# AS_FOR_TARGET and LD_FOR_TARGET.
|
||||
if test x$host = x$build && test -f $srcdir/gcc/BASE-VER; then
|
||||
gcc_version=`cat $srcdir/gcc/BASE-VER`
|
||||
if test x$with_gcc_major_version_only = xyes ; then
|
||||
gcc_version=`sed -e 's/^\([0-9]*\).*$/\1/' $srcdir/gcc/BASE-VER`
|
||||
else
|
||||
gcc_version=`cat $srcdir/gcc/BASE-VER`
|
||||
fi
|
||||
gcc_cv_tool_dirs="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
|
||||
gcc_cv_tool_dirs="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
|
||||
gcc_cv_tool_dirs="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
|
||||
|
@ -1,3 +1,11 @@
|
||||
2017-01-17 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR other/79046
|
||||
* configure.ac: Add GCC_BASE_VER.
|
||||
* Makefile.in (gcc_version): Use @get_gcc_base_ver@ instead of cat to
|
||||
get version from BASE-VER file.
|
||||
* configure: Regenerated.
|
||||
|
||||
2017-01-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
||||
|
||||
PR libstdc++/78979
|
||||
|
@ -49,7 +49,7 @@ target = @target@
|
||||
target_noncanonical:=@target_noncanonical@
|
||||
|
||||
# The version of GCC in this tree
|
||||
gcc_version := $(shell cat $(srcdir)/../gcc/BASE-VER)
|
||||
gcc_version := $(shell @get_gcc_base_ver@ $(srcdir)/../gcc/BASE-VER)
|
||||
|
||||
# Directory in which the compiler finds libraries etc.
|
||||
libsubdir = $(libdir)/gcc/$(target_noncanonical)/$(gcc_version)
|
||||
|
55
fixincludes/configure
vendored
55
fixincludes/configure
vendored
@ -590,6 +590,7 @@ ac_includes_default="\
|
||||
|
||||
ac_subst_vars='LTLIBOBJS
|
||||
LIBOBJS
|
||||
get_gcc_base_ver
|
||||
MAINT
|
||||
TARGET
|
||||
target_noncanonical
|
||||
@ -664,6 +665,7 @@ enable_werror_always
|
||||
with_local_prefix
|
||||
enable_twoprocess
|
||||
enable_maintainer_mode
|
||||
with_gcc_major_version_only
|
||||
'
|
||||
ac_precious_vars='build_alias
|
||||
host_alias
|
||||
@ -1298,6 +1300,8 @@ Optional Packages:
|
||||
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
||||
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
|
||||
--with-local-prefix=DIR specifies directory to put local include
|
||||
--with-gcc-major-version-only
|
||||
use only GCC major number in filesystem paths
|
||||
|
||||
Some influential environment variables:
|
||||
CC C compiler command
|
||||
@ -4561,6 +4565,12 @@ $as_echo "$ac_cv_path_SED" >&6; }
|
||||
# Figure out what compiler warnings we can enable.
|
||||
# See config/warnings.m4 for details.
|
||||
|
||||
ac_ext=c
|
||||
ac_cpp='$CPP $CPPFLAGS'
|
||||
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
||||
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
||||
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
||||
|
||||
WARN_CFLAGS=
|
||||
save_CFLAGS="$CFLAGS"
|
||||
for real_option in -W -Wall -Wwrite-strings -Wstrict-prototypes \
|
||||
@ -4607,6 +4617,18 @@ $as_echo "$ac_res" >&6; }
|
||||
fi
|
||||
done
|
||||
CFLAGS="$save_CFLAGS"
|
||||
ac_ext=c
|
||||
ac_cpp='$CPP $CPPFLAGS'
|
||||
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
||||
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
||||
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
||||
|
||||
|
||||
ac_ext=c
|
||||
ac_cpp='$CPP $CPPFLAGS'
|
||||
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
||||
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
||||
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
||||
|
||||
WARN_PEDANTIC=
|
||||
# Do the check with the no- prefix removed from the warning options
|
||||
@ -4645,10 +4667,22 @@ if test $acx_cv_prog_cc_pedantic__Wlong_long = yes; then :
|
||||
fi
|
||||
|
||||
fi
|
||||
ac_ext=c
|
||||
ac_cpp='$CPP $CPPFLAGS'
|
||||
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
||||
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
||||
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
||||
|
||||
|
||||
|
||||
# Only enable with --enable-werror-always until existing warnings are
|
||||
# corrected.
|
||||
ac_ext=c
|
||||
ac_cpp='$CPP $CPPFLAGS'
|
||||
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
||||
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
||||
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
||||
|
||||
WERROR=
|
||||
# Check whether --enable-werror-always was given.
|
||||
if test "${enable_werror_always+set}" = set; then :
|
||||
@ -4661,6 +4695,12 @@ if test $enable_werror_always = yes; then :
|
||||
WERROR="$WERROR${WERROR:+ }-Werror"
|
||||
fi
|
||||
|
||||
ac_ext=c
|
||||
ac_cpp='$CPP $CPPFLAGS'
|
||||
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
||||
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
||||
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
||||
|
||||
|
||||
|
||||
# Determine the noncanonical target name, for directory use.
|
||||
@ -5354,6 +5394,21 @@ cat >>confdefs.h <<_ACEOF
|
||||
_ACEOF
|
||||
|
||||
|
||||
# Determine what GCC version number to use in filesystem paths.
|
||||
|
||||
get_gcc_base_ver="cat"
|
||||
|
||||
# Check whether --with-gcc-major-version-only was given.
|
||||
if test "${with_gcc_major_version_only+set}" = set; then :
|
||||
withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
|
||||
get_gcc_base_ver="sed -e 's/^\([0-9]*\).*\$\$/\1/'"
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
||||
ac_config_headers="$ac_config_headers config.h"
|
||||
|
||||
ac_config_files="$ac_config_files Makefile mkheaders.almost:mkheaders.in"
|
||||
|
@ -114,6 +114,9 @@ AC_SUBST(MAINT)
|
||||
AC_DEFINE_UNQUOTED([SED_PROGRAM], "${SED}",
|
||||
[Defined to the best working sed program on the host system])
|
||||
|
||||
# Determine what GCC version number to use in filesystem paths.
|
||||
GCC_BASE_VER
|
||||
|
||||
AC_CONFIG_HEADERS(config.h, [echo timestamp > stamp-h])
|
||||
AC_CONFIG_FILES(Makefile mkheaders.almost:mkheaders.in)
|
||||
AC_OUTPUT
|
||||
|
@ -1,3 +1,17 @@
|
||||
2017-01-17 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR other/79046
|
||||
* configure.ac: Add GCC_BASE_VER.
|
||||
* Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
|
||||
version from BASE-VER file.
|
||||
(CFLAGS-gcc.o): Add -DBASEVER=$(BASEVER_s).
|
||||
(gcc.o): Depend on $(BASEVER).
|
||||
* common.opt (dumpfullversion): New option.
|
||||
* gcc.c (driver_handle_option): Handle OPT_dumpfullversion.
|
||||
* doc/invoke.texi: Document -dumpfullversion.
|
||||
* doc/install.texi: Document --with-gcc-major-version-only.
|
||||
* configure: Regenerated.
|
||||
|
||||
2017-01-17 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR tree-optimization/71433
|
||||
|
@ -856,7 +856,7 @@ else
|
||||
REVISION_c := $(shell cat $(REVISION))
|
||||
endif
|
||||
|
||||
version := $(BASEVER_c)
|
||||
version := $(shell @get_gcc_base_ver@ $(BASEVER))
|
||||
|
||||
PATCHLEVEL_c := \
|
||||
$(shell echo $(BASEVER_c) | sed -e 's/^[0-9]*\.[0-9]*\.\([0-9]*\)$$/\1/')
|
||||
@ -2124,7 +2124,8 @@ DRIVER_DEFINES = \
|
||||
$(if $(SHLIB),$(if $(filter yes,@enable_shared@),-DENABLE_SHARED_LIBGCC)) \
|
||||
-DCONFIGURE_SPECS="\"@CONFIGURE_SPECS@\""
|
||||
|
||||
CFLAGS-gcc.o += $(DRIVER_DEFINES)
|
||||
CFLAGS-gcc.o += $(DRIVER_DEFINES) -DBASEVER=$(BASEVER_s)
|
||||
gcc.o: $(BASEVER)
|
||||
|
||||
specs.h : s-specs ; @true
|
||||
s-specs : Makefile
|
||||
|
@ -849,6 +849,9 @@ Driver
|
||||
dumpversion
|
||||
Driver
|
||||
|
||||
dumpfullversion
|
||||
Driver
|
||||
|
||||
e
|
||||
Driver Joined Separate
|
||||
|
||||
|
23
gcc/configure
vendored
23
gcc/configure
vendored
@ -734,6 +734,7 @@ INCINTL
|
||||
LIBINTL_DEP
|
||||
LIBINTL
|
||||
USE_NLS
|
||||
get_gcc_base_ver
|
||||
extra_opt_files
|
||||
extra_modes_file
|
||||
NATIVE_SYSTEM_HEADER_DIR
|
||||
@ -918,6 +919,7 @@ with_multilib_list
|
||||
enable_rpath
|
||||
with_libiconv_prefix
|
||||
enable_sjlj_exceptions
|
||||
with_gcc_major_version_only
|
||||
enable_secureplt
|
||||
enable_leading_mingw64_underscores
|
||||
enable_cld
|
||||
@ -1721,6 +1723,8 @@ Optional Packages:
|
||||
--with-gnu-ld assume the C compiler uses GNU ld default=no
|
||||
--with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
|
||||
--without-libiconv-prefix don't search for libiconv in includedir and libdir
|
||||
--with-gcc-major-version-only
|
||||
use only GCC major number in filesystem paths
|
||||
--with-pic try to use only PIC/non-PIC objects [default=use
|
||||
both]
|
||||
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
|
||||
@ -11860,6 +11864,21 @@ static struct plugin_gcc_version gcc_version = {basever, datestamp,
|
||||
configuration_arguments};
|
||||
EOF
|
||||
|
||||
# Determine what GCC version number to use in filesystem paths.
|
||||
|
||||
get_gcc_base_ver="cat"
|
||||
|
||||
# Check whether --with-gcc-major-version-only was given.
|
||||
if test "${with_gcc_major_version_only+set}" = set; then :
|
||||
withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
|
||||
get_gcc_base_ver="sed -e 's/^\([0-9]*\).*\$\$/\1/'"
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
||||
# Internationalization
|
||||
# If we haven't got the data from the intl directory,
|
||||
# assume NLS is disabled.
|
||||
@ -18414,7 +18433,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 18417 "configure"
|
||||
#line 18436 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@ -18520,7 +18539,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 18523 "configure"
|
||||
#line 18542 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
|
@ -1794,6 +1794,9 @@ static struct plugin_gcc_version gcc_version = {basever, datestamp,
|
||||
EOF
|
||||
changequote([,])dnl
|
||||
|
||||
# Determine what GCC version number to use in filesystem paths.
|
||||
GCC_BASE_VER
|
||||
|
||||
# Internationalization
|
||||
ZW_GNU_GETTEXT_SISTER_DIR
|
||||
|
||||
|
@ -894,6 +894,10 @@ ideas of what it is for. People use it as if it specified where to
|
||||
install part of GCC@. Perhaps they make this assumption because
|
||||
installing GCC creates the directory.
|
||||
|
||||
@item --with-gcc-major-version-only
|
||||
Specifies that GCC should use only the major number rather than
|
||||
@var{major}.@var{minor}.@var{patchlevel} in filesystem paths.
|
||||
|
||||
@item --with-native-system-header-dir=@var{dirname}
|
||||
Specifies that @var{dirname} is the directory that contains native system
|
||||
header files, rather than @file{/usr/include}. This option is most useful
|
||||
|
@ -529,7 +529,7 @@ Objective-C and Objective-C++ Dialects}.
|
||||
@item Developer Options
|
||||
@xref{Developer Options,,GCC Developer Options}.
|
||||
@gccoptlist{-d@var{letters} -dumpspecs -dumpmachine -dumpversion @gol
|
||||
-fchecking -fchecking=@var{n} -fdbg-cnt-list @gol
|
||||
-dumpfullversion -fchecking -fchecking=@var{n} -fdbg-cnt-list @gol
|
||||
-fdbg-cnt=@var{counter-value-list} @gol
|
||||
-fdisable-ipa-@var{pass_name} @gol
|
||||
-fdisable-rtl-@var{pass_name} @gol
|
||||
@ -13772,8 +13772,17 @@ Print the compiler's target machine (for example,
|
||||
|
||||
@item -dumpversion
|
||||
@opindex dumpversion
|
||||
Print the compiler version (for example, @code{3.0})---and don't do
|
||||
anything else.
|
||||
Print the compiler version (for example, @code{3.0}, @code{6.3.0} or @code{7})---and don't do
|
||||
anything else. This is the compiler version used in filesystem paths,
|
||||
specs, can be depending on how the compiler has been configured just
|
||||
a single number (major version), two numbers separated by dot (major and
|
||||
minor version) or three numbers separated by dots (major, minor and patchlevel
|
||||
version).
|
||||
|
||||
@item -dumpfullversion
|
||||
@opindex dumpfullversion
|
||||
Print the full compiler version, always 3 numbers separated by dots,
|
||||
major, minor and patchlevel version.
|
||||
|
||||
@item -dumpspecs
|
||||
@opindex dumpspecs
|
||||
|
@ -3778,6 +3778,10 @@ driver_handle_option (struct gcc_options *opts,
|
||||
printf ("%s\n", spec_machine);
|
||||
exit (0);
|
||||
|
||||
case OPT_dumpfullversion:
|
||||
printf ("%s\n", BASEVER);
|
||||
exit (0);
|
||||
|
||||
case OPT__version:
|
||||
print_version = 1;
|
||||
|
||||
|
@ -1,3 +1,11 @@
|
||||
2017-01-17 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR other/79046
|
||||
* configure.ac: Add GCC_BASE_VER.
|
||||
* Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
|
||||
version from BASE-VER file.
|
||||
* configure: Regenerated.
|
||||
|
||||
2017-01-04 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* Makefile.in (configure_deps): Update and order as per
|
||||
|
@ -67,7 +67,7 @@ host_subdir = @host_subdir@
|
||||
GCC_DIR=$(MULTIBUILDTOP)../../$(host_subdir)/gcc
|
||||
|
||||
target_noncanonical:=@target_noncanonical@
|
||||
version := $(shell cat $(srcdir)/../gcc/BASE-VER)
|
||||
version := $(shell @get_gcc_base_ver@ $(srcdir)/../gcc/BASE-VER)
|
||||
libsubdir := $(libdir)/gcc/$(target_noncanonical)/$(version)$(MULTISUBDIR)
|
||||
ADA_RTS_DIR=$(GCC_DIR)/ada/rts$(subst /,_,$(MULTISUBDIR))
|
||||
ADA_RTS_SUBDIR=./rts$(subst /,_,$(MULTISUBDIR))
|
||||
|
19
libada/configure
vendored
19
libada/configure
vendored
@ -553,6 +553,7 @@ PACKAGE_URL=
|
||||
ac_unique_file="Makefile.in"
|
||||
ac_subst_vars='LTLIBOBJS
|
||||
LIBOBJS
|
||||
get_gcc_base_ver
|
||||
have_getipinfo
|
||||
default_gnatlib_target
|
||||
LN_S
|
||||
@ -633,6 +634,7 @@ enable_maintainer_mode
|
||||
enable_multilib
|
||||
enable_shared
|
||||
with_system_libunwind
|
||||
with_gcc_major_version_only
|
||||
'
|
||||
ac_precious_vars='build_alias
|
||||
host_alias
|
||||
@ -1261,6 +1263,8 @@ Optional Packages:
|
||||
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
|
||||
--with-build-libsubdir=DIR Directory where to find libraries for build system
|
||||
--with-system-libunwind use installed libunwind
|
||||
--with-gcc-major-version-only
|
||||
use only GCC major number in filesystem paths
|
||||
|
||||
Some influential environment variables:
|
||||
CC C compiler command
|
||||
@ -3008,6 +3012,21 @@ if test x$have_unwind_getipinfo = xyes; then
|
||||
fi
|
||||
|
||||
|
||||
# Determine what GCC version number to use in filesystem paths.
|
||||
|
||||
get_gcc_base_ver="cat"
|
||||
|
||||
# Check whether --with-gcc-major-version-only was given.
|
||||
if test "${with_gcc_major_version_only+set}" = set; then :
|
||||
withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
|
||||
get_gcc_base_ver="sed -e 's/^\([0-9]*\).*\$\$/\1/'"
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
||||
# Output: create a Makefile.
|
||||
ac_config_files="$ac_config_files Makefile"
|
||||
|
||||
|
@ -144,6 +144,9 @@ if test x$have_unwind_getipinfo = xyes; then
|
||||
fi
|
||||
AC_SUBST(have_getipinfo)
|
||||
|
||||
# Determine what GCC version number to use in filesystem paths.
|
||||
GCC_BASE_VER
|
||||
|
||||
# Output: create a Makefile.
|
||||
AC_CONFIG_FILES([Makefile])
|
||||
|
||||
|
@ -1,3 +1,13 @@
|
||||
2017-01-17 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR other/79046
|
||||
* configure.ac: Add GCC_BASE_VER.
|
||||
* Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
|
||||
get version from BASE-VER file.
|
||||
* testsuite/Makefile.in: Regenerated.
|
||||
* configure: Regenerated.
|
||||
* Makefile.in: Regenerated.
|
||||
|
||||
2017-01-01 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
Update copyright years.
|
||||
|
@ -26,7 +26,7 @@ ACLOCAL_AMFLAGS = -I .. -I ../config
|
||||
SUBDIRS = testsuite
|
||||
|
||||
## May be used by toolexeclibdir.
|
||||
gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
|
||||
gcc_version := $(shell @get_gcc_base_ver@ $(top_srcdir)/../gcc/BASE-VER)
|
||||
|
||||
config_path= @config_path@
|
||||
search_path = $(addprefix $(top_srcdir)/config/, $(config_path)) \
|
||||
|
@ -259,6 +259,7 @@ dvidir = @dvidir@
|
||||
enable_shared = @enable_shared@
|
||||
enable_static = @enable_static@
|
||||
exec_prefix = @exec_prefix@
|
||||
get_gcc_base_ver = @get_gcc_base_ver@
|
||||
host = @host@
|
||||
host_alias = @host_alias@
|
||||
host_cpu = @host_cpu@
|
||||
@ -298,7 +299,7 @@ top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
ACLOCAL_AMFLAGS = -I .. -I ../config
|
||||
SUBDIRS = testsuite
|
||||
gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
|
||||
gcc_version := $(shell @get_gcc_base_ver@ $(top_srcdir)/../gcc/BASE-VER)
|
||||
search_path = $(addprefix $(top_srcdir)/config/, $(config_path)) \
|
||||
$(top_srcdir) $(top_builddir)
|
||||
|
||||
|
23
libatomic/configure
vendored
23
libatomic/configure
vendored
@ -601,6 +601,7 @@ ac_subst_vars='am__EXEEXT_FALSE
|
||||
am__EXEEXT_TRUE
|
||||
LTLIBOBJS
|
||||
LIBOBJS
|
||||
get_gcc_base_ver
|
||||
ARCH_X86_64_FALSE
|
||||
ARCH_X86_64_TRUE
|
||||
ARCH_I386_FALSE
|
||||
@ -763,6 +764,7 @@ with_gnu_ld
|
||||
enable_libtool_lock
|
||||
enable_maintainer_mode
|
||||
enable_symvers
|
||||
with_gcc_major_version_only
|
||||
'
|
||||
ac_precious_vars='build_alias
|
||||
host_alias
|
||||
@ -1415,6 +1417,8 @@ Optional Packages:
|
||||
--with-pic try to use only PIC/non-PIC objects [default=use
|
||||
both]
|
||||
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
|
||||
--with-gcc-major-version-only
|
||||
use only GCC major number in filesystem paths
|
||||
|
||||
Some influential environment variables:
|
||||
CC C compiler command
|
||||
@ -11111,7 +11115,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 11114 "configure"
|
||||
#line 11118 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@ -11217,7 +11221,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 11220 "configure"
|
||||
#line 11224 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@ -15256,6 +15260,21 @@ else
|
||||
fi
|
||||
|
||||
|
||||
# Determine what GCC version number to use in filesystem paths.
|
||||
|
||||
get_gcc_base_ver="cat"
|
||||
|
||||
# Check whether --with-gcc-major-version-only was given.
|
||||
if test "${with_gcc_major_version_only+set}" = set; then :
|
||||
withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
|
||||
get_gcc_base_ver="sed -e 's/^\([0-9]*\).*\$\$/\1/'"
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
||||
if test ${multilib} = yes; then
|
||||
multilib_arg="--enable-multilib"
|
||||
else
|
||||
|
@ -254,6 +254,9 @@ AM_CONDITIONAL(ARCH_I386,
|
||||
AM_CONDITIONAL(ARCH_X86_64,
|
||||
[test "$ARCH" = x86 && test x$libat_cv_wordsize = x8])
|
||||
|
||||
# Determine what GCC version number to use in filesystem paths.
|
||||
GCC_BASE_VER
|
||||
|
||||
if test ${multilib} = yes; then
|
||||
multilib_arg="--enable-multilib"
|
||||
else
|
||||
|
@ -174,6 +174,7 @@ dvidir = @dvidir@
|
||||
enable_shared = @enable_shared@
|
||||
enable_static = @enable_static@
|
||||
exec_prefix = @exec_prefix@
|
||||
get_gcc_base_ver = @get_gcc_base_ver@
|
||||
host = @host@
|
||||
host_alias = @host_alias@
|
||||
host_cpu = @host_cpu@
|
||||
|
@ -1,3 +1,11 @@
|
||||
2017-01-17 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR other/79046
|
||||
* configure.ac: Add GCC_BASE_VER. For --with-gcc-major-version-only
|
||||
use just major number from BASE-VER.
|
||||
* configure: Regenerated.
|
||||
* Makefile.in: Regenerated.
|
||||
|
||||
2017-01-04 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
Update copyright years.
|
||||
|
@ -236,6 +236,7 @@ docdir = @docdir@
|
||||
dvidir = @dvidir@
|
||||
exec_prefix = @exec_prefix@
|
||||
gcc_version = @gcc_version@
|
||||
get_gcc_base_ver = @get_gcc_base_ver@
|
||||
host = @host@
|
||||
host_alias = @host_alias@
|
||||
host_cpu = @host_cpu@
|
||||
|
28
libcc1/configure
vendored
28
libcc1/configure
vendored
@ -610,6 +610,7 @@ WERROR
|
||||
WARN_FLAGS
|
||||
CONFIG_STATUS_DEPENDENCIES
|
||||
gcc_version
|
||||
get_gcc_base_ver
|
||||
visibility
|
||||
CXXCPP
|
||||
am__fastdepCXX_FALSE
|
||||
@ -747,6 +748,7 @@ with_pic
|
||||
enable_fast_install
|
||||
with_gnu_ld
|
||||
enable_libtool_lock
|
||||
with_gcc_major_version_only
|
||||
enable_werror_always
|
||||
enable_plugin
|
||||
'
|
||||
@ -1403,6 +1405,8 @@ Optional Packages:
|
||||
--with-pic try to use only PIC/non-PIC objects [default=use
|
||||
both]
|
||||
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
|
||||
--with-gcc-major-version-only
|
||||
use only GCC major number in filesystem paths
|
||||
|
||||
Some influential environment variables:
|
||||
CC C compiler command
|
||||
@ -10540,7 +10544,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 10543 "configure"
|
||||
#line 10547 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@ -10646,7 +10650,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 10649 "configure"
|
||||
#line 10653 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@ -14305,7 +14309,25 @@ cat >>confdefs.h <<_ACEOF
|
||||
_ACEOF
|
||||
|
||||
|
||||
gcc_version=`cat $srcdir/../gcc/BASE-VER`
|
||||
|
||||
get_gcc_base_ver="cat"
|
||||
|
||||
# Check whether --with-gcc-major-version-only was given.
|
||||
if test "${with_gcc_major_version_only+set}" = set; then :
|
||||
withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
|
||||
get_gcc_base_ver="sed -e 's/^\([0-9]*\).*\$\$/\1/'"
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
||||
if test x$with_gcc_major_version_only = xyes ; then
|
||||
gcc_version=`sed -e 's/^\([0-9]*\).*$/\1/' $srcdir/../gcc/BASE-VER`
|
||||
else
|
||||
gcc_version=`cat $srcdir/../gcc/BASE-VER`
|
||||
fi
|
||||
|
||||
CONFIG_STATUS_DEPENDENCIES='$(top_srcdir)/../gcc/BASE-VER'
|
||||
|
||||
|
@ -48,7 +48,15 @@ AC_SUBST(visibility)
|
||||
|
||||
AC_CHECK_DECLS([basename])
|
||||
|
||||
gcc_version=`cat $srcdir/../gcc/BASE-VER`
|
||||
GCC_BASE_VER
|
||||
|
||||
if test x$with_gcc_major_version_only = xyes ; then
|
||||
changequote(,)dnl
|
||||
gcc_version=`sed -e 's/^\([0-9]*\).*$/\1/' $srcdir/../gcc/BASE-VER`
|
||||
changequote([,])dnl
|
||||
else
|
||||
gcc_version=`cat $srcdir/../gcc/BASE-VER`
|
||||
fi
|
||||
AC_SUBST(gcc_version)
|
||||
AC_SUBST([CONFIG_STATUS_DEPENDENCIES], ['$(top_srcdir)/../gcc/BASE-VER'])
|
||||
|
||||
|
@ -1,3 +1,13 @@
|
||||
2017-01-17 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR other/79046
|
||||
* configure.ac: Add GCC_BASE_VER.
|
||||
* Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
|
||||
get version from BASE-VER file.
|
||||
* aclocal.m4: Include ../config/acx.m4.
|
||||
* configure: Regenerated.
|
||||
* Makefile.in: Regenerated.
|
||||
|
||||
2016-12-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
||||
|
||||
PR target/68945
|
||||
|
@ -62,7 +62,7 @@ AM_CPPFLAGS = $(GENERAL_FLAGS)
|
||||
AM_LDFLAGS = $(XLDFLAGS)
|
||||
|
||||
# May be used by toolexeclibdir.
|
||||
gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
|
||||
gcc_version := $(shell @get_gcc_base_ver@ $(top_srcdir)/../gcc/BASE-VER)
|
||||
|
||||
# Target list.
|
||||
nodist_toolexeclib_HEADERS = libcilkrts.spec
|
||||
|
@ -165,9 +165,10 @@ am__aclocal_m4_deps = $(top_srcdir)/../config/depstand.m4 \
|
||||
$(top_srcdir)/../config/lead-dot.m4 \
|
||||
$(top_srcdir)/../config/multi.m4 \
|
||||
$(top_srcdir)/../config/override.m4 \
|
||||
$(top_srcdir)/../libtool.m4 $(top_srcdir)/../ltoptions.m4 \
|
||||
$(top_srcdir)/../ltsugar.m4 $(top_srcdir)/../ltversion.m4 \
|
||||
$(top_srcdir)/../lt~obsolete.m4 $(top_srcdir)/configure.ac
|
||||
$(top_srcdir)/../config/acx.m4 $(top_srcdir)/../libtool.m4 \
|
||||
$(top_srcdir)/../ltoptions.m4 $(top_srcdir)/../ltsugar.m4 \
|
||||
$(top_srcdir)/../ltversion.m4 $(top_srcdir)/../lt~obsolete.m4 \
|
||||
$(top_srcdir)/configure.ac
|
||||
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||
$(ACLOCAL_M4)
|
||||
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
|
||||
@ -349,6 +350,7 @@ datarootdir = @datarootdir@
|
||||
docdir = @docdir@
|
||||
dvidir = @dvidir@
|
||||
exec_prefix = @exec_prefix@
|
||||
get_gcc_base_ver = @get_gcc_base_ver@
|
||||
host = @host@
|
||||
host_alias = @host_alias@
|
||||
host_cpu = @host_cpu@
|
||||
@ -406,7 +408,7 @@ AM_CPPFLAGS = $(GENERAL_FLAGS)
|
||||
AM_LDFLAGS = $(XLDFLAGS)
|
||||
|
||||
# May be used by toolexeclibdir.
|
||||
gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
|
||||
gcc_version := $(shell @get_gcc_base_ver@ $(top_srcdir)/../gcc/BASE-VER)
|
||||
|
||||
# Target list.
|
||||
nodist_toolexeclib_HEADERS = libcilkrts.spec
|
||||
|
1
libcilkrts/aclocal.m4
vendored
1
libcilkrts/aclocal.m4
vendored
@ -992,6 +992,7 @@ m4_include([../config/depstand.m4])
|
||||
m4_include([../config/lead-dot.m4])
|
||||
m4_include([../config/multi.m4])
|
||||
m4_include([../config/override.m4])
|
||||
m4_include([../config/acx.m4])
|
||||
m4_include([../libtool.m4])
|
||||
m4_include([../ltoptions.m4])
|
||||
m4_include([../ltsugar.m4])
|
||||
|
22
libcilkrts/configure
vendored
22
libcilkrts/configure
vendored
@ -604,6 +604,7 @@ ac_subst_vars='am__EXEEXT_FALSE
|
||||
am__EXEEXT_TRUE
|
||||
LTLIBOBJS
|
||||
LIBOBJS
|
||||
get_gcc_base_ver
|
||||
link_cilkrts
|
||||
XLDFLAGS
|
||||
XCFLAGS
|
||||
@ -749,6 +750,7 @@ with_pic
|
||||
enable_fast_install
|
||||
with_gnu_ld
|
||||
enable_libtool_lock
|
||||
with_gcc_major_version_only
|
||||
'
|
||||
ac_precious_vars='build_alias
|
||||
host_alias
|
||||
@ -1404,6 +1406,8 @@ Optional Packages:
|
||||
--with-pic try to use only PIC/non-PIC objects [default=use
|
||||
both]
|
||||
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
|
||||
--with-gcc-major-version-only
|
||||
use only GCC major number in filesystem paths
|
||||
|
||||
Some influential environment variables:
|
||||
CC C compiler command
|
||||
@ -11937,7 +11941,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 11940 "configure"
|
||||
#line 11944 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@ -12043,7 +12047,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 12046 "configure"
|
||||
#line 12050 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@ -15402,6 +15406,20 @@ else
|
||||
fi
|
||||
|
||||
|
||||
# Determine what GCC version number to use in filesystem paths.
|
||||
|
||||
get_gcc_base_ver="cat"
|
||||
|
||||
# Check whether --with-gcc-major-version-only was given.
|
||||
if test "${with_gcc_major_version_only+set}" = set; then :
|
||||
withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
|
||||
get_gcc_base_ver="sed -e 's/^\([0-9]*\).*\$\$/\1/'"
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
||||
# Must be last
|
||||
cat >confcache <<\_ACEOF
|
||||
|
@ -253,6 +253,8 @@ else
|
||||
fi
|
||||
AC_SUBST(link_cilkrts)
|
||||
|
||||
# Determine what GCC version number to use in filesystem paths.
|
||||
GCC_BASE_VER
|
||||
|
||||
# Must be last
|
||||
AC_OUTPUT
|
||||
|
@ -1,3 +1,11 @@
|
||||
2017-01-17 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR other/79046
|
||||
* configure.ac: Add GCC_BASE_VER.
|
||||
* Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
|
||||
version from BASE-VER file.
|
||||
* configure: Regenerated.
|
||||
|
||||
2017-01-13 Joe Seymour <joe.s@somniumtech.com>
|
||||
|
||||
* config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
|
||||
|
@ -224,7 +224,7 @@ export slibdir
|
||||
export toolexecdir
|
||||
export toolexeclibdir
|
||||
|
||||
version := $(shell cat $(srcdir)/../gcc/BASE-VER)
|
||||
version := $(shell @get_gcc_base_ver@ $(srcdir)/../gcc/BASE-VER)
|
||||
|
||||
ifeq ($(decimal_float),yes)
|
||||
ifeq ($(enable_decimal_float),bid)
|
||||
|
19
libgcc/configure
vendored
19
libgcc/configure
vendored
@ -561,6 +561,7 @@ enable_execute_stack
|
||||
asm_hidden_op
|
||||
extra_parts
|
||||
cpu_type
|
||||
get_gcc_base_ver
|
||||
thread_header
|
||||
tm_defines
|
||||
tm_file
|
||||
@ -676,6 +677,7 @@ with_system_libunwind
|
||||
enable_explicit_exception_frame_registration
|
||||
with_glibc_version
|
||||
enable_tls
|
||||
with_gcc_major_version_only
|
||||
'
|
||||
ac_precious_vars='build_alias
|
||||
host_alias
|
||||
@ -1330,6 +1332,8 @@ Optional Packages:
|
||||
--with-system-libunwind use installed libunwind
|
||||
--with-glibc-version=M.N
|
||||
assume GCC used with glibc version M.N or later
|
||||
--with-gcc-major-version-only
|
||||
use only GCC major number in filesystem paths
|
||||
|
||||
Some influential environment variables:
|
||||
CC C compiler command
|
||||
@ -5084,6 +5088,21 @@ esac
|
||||
|
||||
|
||||
|
||||
# Determine what GCC version number to use in filesystem paths.
|
||||
|
||||
get_gcc_base_ver="cat"
|
||||
|
||||
# Check whether --with-gcc-major-version-only was given.
|
||||
if test "${with_gcc_major_version_only+set}" = set; then :
|
||||
withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
|
||||
get_gcc_base_ver="sed -e 's/^\([0-9]*\).*\$\$/\1/'"
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
||||
# Substitute configuration variables
|
||||
|
||||
|
||||
|
@ -544,6 +544,9 @@ AC_SUBST(tm_defines)
|
||||
# Map from thread model to thread header.
|
||||
GCC_AC_THREAD_HEADER([$target_thread_file])
|
||||
|
||||
# Determine what GCC version number to use in filesystem paths.
|
||||
GCC_BASE_VER
|
||||
|
||||
# Substitute configuration variables
|
||||
AC_SUBST(cpu_type)
|
||||
AC_SUBST(extra_parts)
|
||||
|
@ -1,3 +1,12 @@
|
||||
2017-01-17 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR other/79046
|
||||
* configure.ac: Add GCC_BASE_VER.
|
||||
* Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
|
||||
get version from BASE-VER file.
|
||||
* configure: Regenerated.
|
||||
* Makefile.in: Regenerated.
|
||||
|
||||
2017-01-13 Andre Vehreschild <vehre@gcc.gnu.org>
|
||||
|
||||
PR fortran/70696
|
||||
|
@ -4,7 +4,7 @@
|
||||
ACLOCAL_AMFLAGS = -I .. -I ../config
|
||||
|
||||
## May be used by toolexeclibdir.
|
||||
gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
|
||||
gcc_version := $(shell @get_gcc_base_ver@ $(top_srcdir)/../gcc/BASE-VER)
|
||||
|
||||
## Symbol versioning (copied from libssp).
|
||||
if LIBGFOR_USE_SYMVER
|
||||
|
@ -525,6 +525,7 @@ enable_shared = @enable_shared@
|
||||
enable_static = @enable_static@
|
||||
exec_prefix = @exec_prefix@
|
||||
extra_ldflags_libgfortran = @extra_ldflags_libgfortran@
|
||||
get_gcc_base_ver = @get_gcc_base_ver@
|
||||
host = @host@
|
||||
host_alias = @host_alias@
|
||||
host_cpu = @host_cpu@
|
||||
@ -566,7 +567,7 @@ top_build_prefix = @top_build_prefix@
|
||||
top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
ACLOCAL_AMFLAGS = -I .. -I ../config
|
||||
gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
|
||||
gcc_version := $(shell @get_gcc_base_ver@ $(top_srcdir)/../gcc/BASE-VER)
|
||||
@LIBGFOR_USE_SYMVER_FALSE@version_arg =
|
||||
@LIBGFOR_USE_SYMVER_GNU_TRUE@@LIBGFOR_USE_SYMVER_TRUE@version_arg = -Wl,--version-script=$(srcdir)/gfortran.map
|
||||
@LIBGFOR_USE_SYMVER_SUN_TRUE@@LIBGFOR_USE_SYMVER_TRUE@version_arg = -Wl,-M,gfortran.map-sun
|
||||
|
23
libgfortran/configure
vendored
23
libgfortran/configure
vendored
@ -605,6 +605,7 @@ ac_subst_vars='am__EXEEXT_FALSE
|
||||
am__EXEEXT_TRUE
|
||||
LTLIBOBJS
|
||||
LIBOBJS
|
||||
get_gcc_base_ver
|
||||
IEEE_FLAGS
|
||||
IEEE_SUPPORT
|
||||
IEEE_SUPPORT_FALSE
|
||||
@ -779,6 +780,7 @@ enable_fast_install
|
||||
enable_libtool_lock
|
||||
enable_largefile
|
||||
enable_libquadmath_support
|
||||
with_gcc_major_version_only
|
||||
'
|
||||
ac_precious_vars='build_alias
|
||||
host_alias
|
||||
@ -1437,6 +1439,8 @@ Optional Packages:
|
||||
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
|
||||
--with-pic try to use only PIC/non-PIC objects [default=use
|
||||
both]
|
||||
--with-gcc-major-version-only
|
||||
use only GCC major number in filesystem paths
|
||||
|
||||
Some influential environment variables:
|
||||
CC C compiler command
|
||||
@ -12417,7 +12421,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 12420 "configure"
|
||||
#line 12424 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@ -12523,7 +12527,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 12526 "configure"
|
||||
#line 12530 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@ -26315,6 +26319,21 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
||||
CFLAGS="$ac_save_CFLAGS"
|
||||
|
||||
|
||||
# Determine what GCC version number to use in filesystem paths.
|
||||
|
||||
get_gcc_base_ver="cat"
|
||||
|
||||
# Check whether --with-gcc-major-version-only was given.
|
||||
if test "${with_gcc_major_version_only+set}" = set; then :
|
||||
withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
|
||||
get_gcc_base_ver="sed -e 's/^\([0-9]*\).*\$\$/\1/'"
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
||||
cat >confcache <<\_ACEOF
|
||||
# This file is a shell script that caches the results of configure
|
||||
# tests run on this system so they can be shared between configure
|
||||
|
@ -621,6 +621,9 @@ LIBGFOR_CHECK_AVX2
|
||||
# Check wether we support AVX512f extensions
|
||||
LIBGFOR_CHECK_AVX512F
|
||||
|
||||
# Determine what GCC version number to use in filesystem paths.
|
||||
GCC_BASE_VER
|
||||
|
||||
AC_CACHE_SAVE
|
||||
|
||||
if test ${multilib} = yes; then
|
||||
|
@ -1,3 +1,13 @@
|
||||
2017-01-17 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR other/79046
|
||||
* configure.ac: Add GCC_BASE_VER.
|
||||
* Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
|
||||
get version from BASE-VER file.
|
||||
* testsuite/Makefile.in: Regenerated.
|
||||
* configure: Regenerated.
|
||||
* Makefile.in: Regenerated.
|
||||
|
||||
2017-01-09 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
|
||||
|
||||
PR libgomp/60670
|
||||
|
@ -4,7 +4,7 @@ ACLOCAL_AMFLAGS = -I .. -I ../config
|
||||
SUBDIRS = testsuite
|
||||
|
||||
## May be used by toolexeclibdir.
|
||||
gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
|
||||
gcc_version := $(shell @get_gcc_base_ver@ $(top_srcdir)/../gcc/BASE-VER)
|
||||
|
||||
config_path = @config_path@
|
||||
search_path = $(addprefix $(top_srcdir)/config/, $(config_path)) $(top_srcdir) \
|
||||
|
@ -17,7 +17,7 @@
|
||||
|
||||
# Plugins for offload execution, Makefile.am fragment.
|
||||
#
|
||||
# Copyright (C) 2014-2016 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2014-2017 Free Software Foundation, Inc.
|
||||
#
|
||||
# Contributed by Mentor Embedded.
|
||||
#
|
||||
@ -358,6 +358,7 @@ dvidir = @dvidir@
|
||||
enable_shared = @enable_shared@
|
||||
enable_static = @enable_static@
|
||||
exec_prefix = @exec_prefix@
|
||||
get_gcc_base_ver = @get_gcc_base_ver@
|
||||
host = @host@
|
||||
host_alias = @host_alias@
|
||||
host_cpu = @host_cpu@
|
||||
@ -401,7 +402,7 @@ top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
ACLOCAL_AMFLAGS = -I .. -I ../config
|
||||
SUBDIRS = testsuite
|
||||
gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
|
||||
gcc_version := $(shell @get_gcc_base_ver@ $(top_srcdir)/../gcc/BASE-VER)
|
||||
search_path = $(addprefix $(top_srcdir)/config/, $(config_path)) $(top_srcdir) \
|
||||
$(top_srcdir)/../include
|
||||
|
||||
|
25
libgomp/configure
vendored
25
libgomp/configure
vendored
@ -603,6 +603,7 @@ ac_subst_vars='am__EXEEXT_FALSE
|
||||
am__EXEEXT_TRUE
|
||||
LTLIBOBJS
|
||||
LIBOBJS
|
||||
get_gcc_base_ver
|
||||
OMP_NEST_LOCK_25_KIND
|
||||
OMP_LOCK_25_KIND
|
||||
OMP_NEST_LOCK_25_ALIGN
|
||||
@ -798,6 +799,7 @@ with_hsa_runtime_lib
|
||||
enable_linux_futex
|
||||
enable_tls
|
||||
enable_symvers
|
||||
with_gcc_major_version_only
|
||||
'
|
||||
ac_precious_vars='build_alias
|
||||
host_alias
|
||||
@ -1476,6 +1478,8 @@ Optional Packages:
|
||||
--with-hsa-runtime-lib=PATH
|
||||
specify directory for the installed HSA run-time
|
||||
library
|
||||
--with-gcc-major-version-only
|
||||
use only GCC major number in filesystem paths
|
||||
|
||||
Some influential environment variables:
|
||||
CC C compiler command
|
||||
@ -11151,7 +11155,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 11154 "configure"
|
||||
#line 11158 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@ -11257,7 +11261,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 11260 "configure"
|
||||
#line 11264 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@ -15135,7 +15139,7 @@ fi
|
||||
|
||||
# Plugins for offload execution, configure.ac fragment. -*- mode: autoconf -*-
|
||||
#
|
||||
# Copyright (C) 2014-2016 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2014-2017 Free Software Foundation, Inc.
|
||||
#
|
||||
# Contributed by Mentor Embedded.
|
||||
#
|
||||
@ -16796,6 +16800,21 @@ fi
|
||||
|
||||
CFLAGS="$save_CFLAGS"
|
||||
|
||||
# Determine what GCC version number to use in filesystem paths.
|
||||
|
||||
get_gcc_base_ver="cat"
|
||||
|
||||
# Check whether --with-gcc-major-version-only was given.
|
||||
if test "${with_gcc_major_version_only+set}" = set; then :
|
||||
withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
|
||||
get_gcc_base_ver="sed -e 's/^\([0-9]*\).*\$\$/\1/'"
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
||||
ac_config_files="$ac_config_files omp.h omp_lib.h omp_lib.f90 libgomp_f.h"
|
||||
|
||||
ac_config_files="$ac_config_files Makefile testsuite/Makefile libgomp.spec"
|
||||
|
@ -379,6 +379,9 @@ AC_SUBST(OMP_LOCK_25_KIND)
|
||||
AC_SUBST(OMP_NEST_LOCK_25_KIND)
|
||||
CFLAGS="$save_CFLAGS"
|
||||
|
||||
# Determine what GCC version number to use in filesystem paths.
|
||||
GCC_BASE_VER
|
||||
|
||||
AC_CONFIG_FILES(omp.h omp_lib.h omp_lib.f90 libgomp_f.h)
|
||||
AC_CONFIG_FILES(Makefile testsuite/Makefile libgomp.spec)
|
||||
AC_CONFIG_FILES([testsuite/libgomp-test-support.pt.exp:testsuite/libgomp-test-support.exp.in])
|
||||
|
@ -201,6 +201,7 @@ dvidir = @dvidir@
|
||||
enable_shared = @enable_shared@
|
||||
enable_static = @enable_static@
|
||||
exec_prefix = @exec_prefix@
|
||||
get_gcc_base_ver = @get_gcc_base_ver@
|
||||
host = @host@
|
||||
host_alias = @host_alias@
|
||||
host_cpu = @host_cpu@
|
||||
|
@ -1,3 +1,13 @@
|
||||
2017-01-17 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR other/79046
|
||||
* configure.ac: Add GCC_BASE_VER.
|
||||
* Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
|
||||
get version from BASE-VER file.
|
||||
* testsuite/Makefile.in: Regenerated.
|
||||
* configure: Regenerated.
|
||||
* Makefile.in: Regenerated.
|
||||
|
||||
2017-01-04 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* Makefile.in: Regenerate.
|
||||
|
@ -4,7 +4,7 @@ ACLOCAL_AMFLAGS = -I .. -I ../config
|
||||
SUBDIRS = testsuite
|
||||
|
||||
## May be used by toolexeclibdir.
|
||||
gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
|
||||
gcc_version := $(shell @get_gcc_base_ver@ $(top_srcdir)/../gcc/BASE-VER)
|
||||
|
||||
abi_version = -fabi-version=4
|
||||
|
||||
|
@ -293,6 +293,7 @@ dvidir = @dvidir@
|
||||
enable_shared = @enable_shared@
|
||||
enable_static = @enable_static@
|
||||
exec_prefix = @exec_prefix@
|
||||
get_gcc_base_ver = @get_gcc_base_ver@
|
||||
host = @host@
|
||||
host_alias = @host_alias@
|
||||
host_cpu = @host_cpu@
|
||||
@ -332,7 +333,7 @@ top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
ACLOCAL_AMFLAGS = -I .. -I ../config
|
||||
SUBDIRS = testsuite
|
||||
gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
|
||||
gcc_version := $(shell @get_gcc_base_ver@ $(top_srcdir)/../gcc/BASE-VER)
|
||||
abi_version = -fabi-version=4
|
||||
search_path = $(addprefix $(top_srcdir)/config/, $(config_path)) $(top_srcdir)
|
||||
fincludedir = $(libdir)/gcc/$(target_alias)/$(gcc_version)/finclude
|
||||
|
23
libitm/configure
vendored
23
libitm/configure
vendored
@ -601,6 +601,7 @@ ac_subst_vars='am__EXEEXT_FALSE
|
||||
am__EXEEXT_TRUE
|
||||
LTLIBOBJS
|
||||
LIBOBJS
|
||||
get_gcc_base_ver
|
||||
ARCH_FUTEX_FALSE
|
||||
ARCH_FUTEX_TRUE
|
||||
ARCH_X86_AVX_FALSE
|
||||
@ -776,6 +777,7 @@ enable_maintainer_mode
|
||||
enable_linux_futex
|
||||
enable_tls
|
||||
enable_symvers
|
||||
with_gcc_major_version_only
|
||||
'
|
||||
ac_precious_vars='build_alias
|
||||
host_alias
|
||||
@ -1431,6 +1433,8 @@ Optional Packages:
|
||||
--with-pic try to use only PIC/non-PIC objects [default=use
|
||||
both]
|
||||
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
|
||||
--with-gcc-major-version-only
|
||||
use only GCC major number in filesystem paths
|
||||
|
||||
Some influential environment variables:
|
||||
CC C compiler command
|
||||
@ -11790,7 +11794,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 11793 "configure"
|
||||
#line 11797 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@ -11896,7 +11900,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 11899 "configure"
|
||||
#line 11903 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@ -17636,6 +17640,21 @@ else
|
||||
fi
|
||||
|
||||
|
||||
# Determine what GCC version number to use in filesystem paths.
|
||||
|
||||
get_gcc_base_ver="cat"
|
||||
|
||||
# Check whether --with-gcc-major-version-only was given.
|
||||
if test "${with_gcc_major_version_only+set}" = set; then :
|
||||
withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
|
||||
get_gcc_base_ver="sed -e 's/^\([0-9]*\).*\$\$/\1/'"
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
||||
ac_config_files="$ac_config_files Makefile testsuite/Makefile libitm.spec"
|
||||
|
||||
cat >confcache <<\_ACEOF
|
||||
|
@ -286,5 +286,8 @@ AM_CONDITIONAL([ARCH_X86], [test "$ARCH" = x86])
|
||||
AM_CONDITIONAL([ARCH_X86_AVX], [test "$libitm_cv_as_avx" = yes])
|
||||
AM_CONDITIONAL([ARCH_FUTEX], [test $enable_linux_futex = yes])
|
||||
|
||||
# Determine what GCC version number to use in filesystem paths.
|
||||
GCC_BASE_VER
|
||||
|
||||
AC_CONFIG_FILES(Makefile testsuite/Makefile libitm.spec)
|
||||
AC_OUTPUT
|
||||
|
@ -185,6 +185,7 @@ dvidir = @dvidir@
|
||||
enable_shared = @enable_shared@
|
||||
enable_static = @enable_static@
|
||||
exec_prefix = @exec_prefix@
|
||||
get_gcc_base_ver = @get_gcc_base_ver@
|
||||
host = @host@
|
||||
host_alias = @host_alias@
|
||||
host_cpu = @host_cpu@
|
||||
|
@ -1,3 +1,12 @@
|
||||
2017-01-17 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR other/79046
|
||||
* configure.ac: Add GCC_BASE_VER.
|
||||
* Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
|
||||
get version from BASE-VER file.
|
||||
* configure: Regenerated.
|
||||
* Makefile.in: Regenerated.
|
||||
|
||||
2016-12-27 H.J. Lu <hongjiu.lu@intel.com>
|
||||
Alexander Ivchenko <alexander.ivchenko@intel.com>
|
||||
|
||||
|
@ -9,7 +9,7 @@ nodist_toolexeclib_HEADERS = libmpx.spec
|
||||
endif
|
||||
|
||||
## May be used by toolexeclibdir.
|
||||
gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
|
||||
gcc_version := $(shell @get_gcc_base_ver@ $(top_srcdir)/../gcc/BASE-VER)
|
||||
|
||||
# Work around what appears to be a GNU make bug handling MAKEFLAGS
|
||||
# values defined in terms of make variables, as is the case for CC and
|
||||
|
@ -255,7 +255,7 @@ top_srcdir = @top_srcdir@
|
||||
ACLOCAL_AMFLAGS = -I .. -I ../config
|
||||
@LIBMPX_SUPPORTED_TRUE@SUBDIRS = mpxrt $(am__append_1)
|
||||
@LIBMPX_SUPPORTED_TRUE@nodist_toolexeclib_HEADERS = libmpx.spec
|
||||
gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
|
||||
gcc_version := $(shell @get_gcc_base_ver@ $(top_srcdir)/../gcc/BASE-VER)
|
||||
|
||||
# Work around what appears to be a GNU make bug handling MAKEFLAGS
|
||||
# values defined in terms of make variables, as is the case for CC and
|
||||
|
3
libmpx/configure
vendored
3
libmpx/configure
vendored
@ -11585,6 +11585,9 @@ else
|
||||
multilib_arg=
|
||||
fi
|
||||
|
||||
# Determine what GCC version number to use in filesystem paths.
|
||||
GCC_BASE_VER
|
||||
|
||||
ac_config_files="$ac_config_files Makefile libmpx.spec"
|
||||
|
||||
ac_config_headers="$ac_config_headers config.h"
|
||||
|
@ -125,6 +125,9 @@ else
|
||||
multilib_arg=
|
||||
fi
|
||||
|
||||
# Determine what GCC version number to use in filesystem paths.
|
||||
GCC_BASE_VER
|
||||
|
||||
AC_CONFIG_FILES([Makefile libmpx.spec])
|
||||
AC_CONFIG_HEADERS(config.h)
|
||||
AC_CONFIG_FILES(AC_FOREACH([DIR], [mpxrt mpxwrap], [DIR/Makefile ]),
|
||||
|
@ -1,3 +1,12 @@
|
||||
2017-01-17 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR other/79046
|
||||
* configure: Regenerated.
|
||||
* configure.ac: Add GCC_BASE_VER.
|
||||
* Makefile.in (gcc_version): Use @get_gcc_base_ver@ instead of cat to
|
||||
get version from BASE-VER file.
|
||||
* configure: Regenerated.
|
||||
|
||||
2017-01-01 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
Update copyright years.
|
||||
|
@ -31,7 +31,7 @@ VPATH = @glibcpp_srcdir@
|
||||
prefix = @prefix@
|
||||
exec_prefix = @exec_prefix@
|
||||
target_noncanonical = @target_noncanonical@
|
||||
gcc_version := $(shell cat $(srcdir)/../gcc/BASE-VER)
|
||||
gcc_version := $(shell @get_gcc_base_ver@ $(srcdir)/../gcc/BASE-VER)
|
||||
host_subdir = @host_subdir@
|
||||
top_srcdir = @top_srcdir@
|
||||
multi_basedir = @multi_basedir@
|
||||
|
23
libobjc/configure
vendored
23
libobjc/configure
vendored
@ -600,6 +600,7 @@ ac_includes_default="\
|
||||
|
||||
ac_subst_vars='LTLIBOBJS
|
||||
LIBOBJS
|
||||
get_gcc_base_ver
|
||||
OBJC_BOEHM_GC_LIBS
|
||||
OBJC_BOEHM_GC_INCLUDES
|
||||
OBJC_BOEHM_GC
|
||||
@ -725,6 +726,7 @@ enable_objc_gc
|
||||
with_target_bdw_gc
|
||||
with_target_bdw_gc_include
|
||||
with_target_bdw_gc_lib
|
||||
with_gcc_major_version_only
|
||||
'
|
||||
ac_precious_vars='build_alias
|
||||
host_alias
|
||||
@ -1379,6 +1381,8 @@ Optional Packages:
|
||||
files
|
||||
--with-target-bdw-gc-lib=PATHLIST
|
||||
specify directories for installed bdw-gc library
|
||||
--with-gcc-major-version-only
|
||||
use only GCC major number in filesystem paths
|
||||
|
||||
Some influential environment variables:
|
||||
CC C compiler command
|
||||
@ -10590,7 +10594,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 10593 "configure"
|
||||
#line 10597 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@ -10696,7 +10700,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 10699 "configure"
|
||||
#line 10703 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@ -11684,6 +11688,21 @@ fi
|
||||
|
||||
|
||||
|
||||
# Determine what GCC version number to use in filesystem paths.
|
||||
|
||||
get_gcc_base_ver="cat"
|
||||
|
||||
# Check whether --with-gcc-major-version-only was given.
|
||||
if test "${with_gcc_major_version_only+set}" = set; then :
|
||||
withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
|
||||
get_gcc_base_ver="sed -e 's/^\([0-9]*\).*\$\$/\1/'"
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
||||
# ------
|
||||
# Output
|
||||
# ------
|
||||
|
@ -347,6 +347,9 @@ AC_SUBST(OBJC_BOEHM_GC)
|
||||
AC_SUBST(OBJC_BOEHM_GC_INCLUDES)
|
||||
AC_SUBST(OBJC_BOEHM_GC_LIBS)
|
||||
|
||||
# Determine what GCC version number to use in filesystem paths.
|
||||
GCC_BASE_VER
|
||||
|
||||
# ------
|
||||
# Output
|
||||
# ------
|
||||
|
@ -1,3 +1,13 @@
|
||||
2017-01-17 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR other/79046
|
||||
* configure.ac: Add GCC_BASE_VER.
|
||||
* Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
|
||||
get version from BASE-VER file.
|
||||
* aclocal.m4: Include ../config/acx.m4.
|
||||
* configure: Regenerated.
|
||||
* Makefile.in: Regenerated.
|
||||
|
||||
2016-11-15 Matthias Klose <doko@ubuntu.com>
|
||||
|
||||
* configure: Regenerate.
|
||||
|
@ -41,7 +41,7 @@ libgomp_dir = $(build_dir)/../libgomp
|
||||
source_dir = $(top_srcdir)/runtime
|
||||
|
||||
# May be used by toolexeclibdir.
|
||||
gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
|
||||
gcc_version := $(shell @get_gcc_base_ver@ $(top_srcdir)/../gcc/BASE-VER)
|
||||
libsubincludedir = $(libdir)/gcc/$(target_alias)/$(gcc_version)/include
|
||||
|
||||
# Target list.
|
||||
|
@ -93,9 +93,10 @@ am__aclocal_m4_deps = $(top_srcdir)/../config/depstand.m4 \
|
||||
$(top_srcdir)/../config/lead-dot.m4 \
|
||||
$(top_srcdir)/../config/multi.m4 \
|
||||
$(top_srcdir)/../config/override.m4 \
|
||||
$(top_srcdir)/../libtool.m4 $(top_srcdir)/../ltoptions.m4 \
|
||||
$(top_srcdir)/../ltsugar.m4 $(top_srcdir)/../ltversion.m4 \
|
||||
$(top_srcdir)/../lt~obsolete.m4 $(top_srcdir)/configure.ac
|
||||
$(top_srcdir)/../config/acx.m4 $(top_srcdir)/../libtool.m4 \
|
||||
$(top_srcdir)/../ltoptions.m4 $(top_srcdir)/../ltsugar.m4 \
|
||||
$(top_srcdir)/../ltversion.m4 $(top_srcdir)/../lt~obsolete.m4 \
|
||||
$(top_srcdir)/configure.ac
|
||||
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||
$(ACLOCAL_M4)
|
||||
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
|
||||
@ -336,6 +337,7 @@ datarootdir = @datarootdir@
|
||||
docdir = @docdir@
|
||||
dvidir = @dvidir@
|
||||
exec_prefix = @exec_prefix@
|
||||
get_gcc_base_ver = @get_gcc_base_ver@
|
||||
host = @host@
|
||||
host_alias = @host_alias@
|
||||
host_cpu = @host_cpu@
|
||||
@ -388,7 +390,7 @@ libgomp_dir = $(build_dir)/../libgomp
|
||||
source_dir = $(top_srcdir)/runtime
|
||||
|
||||
# May be used by toolexeclibdir.
|
||||
gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
|
||||
gcc_version := $(shell @get_gcc_base_ver@ $(top_srcdir)/../gcc/BASE-VER)
|
||||
libsubincludedir = $(libdir)/gcc/$(target_alias)/$(gcc_version)/include
|
||||
@LIBOFFLOADMIC_HOST_FALSE@nodist_toolexeclib_HEADERS = liboffloadmic_target.spec
|
||||
|
||||
|
1
liboffloadmic/aclocal.m4
vendored
1
liboffloadmic/aclocal.m4
vendored
@ -992,6 +992,7 @@ m4_include([../config/depstand.m4])
|
||||
m4_include([../config/lead-dot.m4])
|
||||
m4_include([../config/multi.m4])
|
||||
m4_include([../config/override.m4])
|
||||
m4_include([../config/acx.m4])
|
||||
m4_include([../libtool.m4])
|
||||
m4_include([../ltoptions.m4])
|
||||
m4_include([../ltsugar.m4])
|
||||
|
25
liboffloadmic/configure
vendored
25
liboffloadmic/configure
vendored
@ -602,6 +602,7 @@ ac_subst_vars='am__EXEEXT_FALSE
|
||||
am__EXEEXT_TRUE
|
||||
LTLIBOBJS
|
||||
LIBOBJS
|
||||
get_gcc_base_ver
|
||||
link_offloadmic_target
|
||||
link_offloadmic_host
|
||||
lt_cv_dlopen_libs
|
||||
@ -744,6 +745,7 @@ with_pic
|
||||
enable_fast_install
|
||||
with_gnu_ld
|
||||
enable_libtool_lock
|
||||
with_gcc_major_version_only
|
||||
'
|
||||
ac_precious_vars='build_alias
|
||||
host_alias
|
||||
@ -1398,6 +1400,8 @@ Optional Packages:
|
||||
--with-pic try to use only PIC/non-PIC objects [default=use
|
||||
both]
|
||||
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
|
||||
--with-gcc-major-version-only
|
||||
use only GCC major number in filesystem paths
|
||||
|
||||
Some influential environment variables:
|
||||
CC C compiler command
|
||||
@ -11104,7 +11108,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 11107 "configure"
|
||||
#line 11111 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@ -11210,7 +11214,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 11213 "configure"
|
||||
#line 11217 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@ -14481,6 +14485,21 @@ fi
|
||||
|
||||
|
||||
|
||||
# Determine what GCC version number to use in filesystem paths.
|
||||
|
||||
get_gcc_base_ver="cat"
|
||||
|
||||
# Check whether --with-gcc-major-version-only was given.
|
||||
if test "${with_gcc_major_version_only+set}" = set; then :
|
||||
withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
|
||||
get_gcc_base_ver="sed -e 's/^\([0-9]*\).*\$\$/\1/'"
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
||||
# Must be last
|
||||
cat >confcache <<\_ACEOF
|
||||
# This file is a shell script that caches the results of configure
|
||||
@ -17075,7 +17094,7 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
||||
ac_sub_configure=$ac_srcdir/configure.gnu
|
||||
elif test -f "$ac_srcdir/configure"; then
|
||||
ac_sub_configure=$ac_srcdir/configure
|
||||
elif test -f "$ac_srcdir/configure.ac"; then
|
||||
elif test -f "$ac_srcdir/configure.in"; then
|
||||
# This should be Cygnus configure.
|
||||
ac_sub_configure=$ac_aux_dir/configure
|
||||
else
|
||||
|
@ -128,5 +128,8 @@ fi
|
||||
AC_SUBST(link_offloadmic_host)
|
||||
AC_SUBST(link_offloadmic_target)
|
||||
|
||||
# Determine what GCC version number to use in filesystem paths.
|
||||
GCC_BASE_VER
|
||||
|
||||
# Must be last
|
||||
AC_OUTPUT
|
||||
|
@ -1,3 +1,12 @@
|
||||
2017-01-17 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR other/79046
|
||||
* configure.ac: Add GCC_BASE_VER.
|
||||
* Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
|
||||
get version from BASE-VER file.
|
||||
* configure: Regenerated.
|
||||
* Makefile.in: Regenerated.
|
||||
|
||||
2017-01-01 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* libquadmath.texi: Bump @copying's copyright year.
|
||||
|
@ -9,7 +9,7 @@ ACLOCAL_AMFLAGS = -I .. -I ../config
|
||||
AM_CPPFLAGS = -I $(top_srcdir)/../include
|
||||
|
||||
## May be used by toolexeclibdir.
|
||||
gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
|
||||
gcc_version := $(shell @get_gcc_base_ver@ $(top_srcdir)/../gcc/BASE-VER)
|
||||
|
||||
## Symbol versioning (copied from libssp).
|
||||
if LIBQUAD_USE_SYMVER
|
||||
|
@ -300,6 +300,7 @@ dvidir = @dvidir@
|
||||
enable_shared = @enable_shared@
|
||||
enable_static = @enable_static@
|
||||
exec_prefix = @exec_prefix@
|
||||
get_gcc_base_ver = @get_gcc_base_ver@
|
||||
host = @host@
|
||||
host_alias = @host_alias@
|
||||
host_cpu = @host_cpu@
|
||||
@ -340,7 +341,7 @@ top_srcdir = @top_srcdir@
|
||||
AUTOMAKE_OPTIONS = 1.8 foreign
|
||||
@BUILD_LIBQUADMATH_TRUE@ACLOCAL_AMFLAGS = -I .. -I ../config
|
||||
@BUILD_LIBQUADMATH_TRUE@AM_CPPFLAGS = -I $(top_srcdir)/../include
|
||||
@BUILD_LIBQUADMATH_TRUE@gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
|
||||
@BUILD_LIBQUADMATH_TRUE@gcc_version := $(shell @get_gcc_base_ver@ $(top_srcdir)/../gcc/BASE-VER)
|
||||
@BUILD_LIBQUADMATH_TRUE@@LIBQUAD_USE_SYMVER_FALSE@version_arg =
|
||||
@BUILD_LIBQUADMATH_TRUE@@LIBQUAD_USE_SYMVER_GNU_TRUE@@LIBQUAD_USE_SYMVER_TRUE@version_arg = -Wl,--version-script=$(srcdir)/quadmath.map
|
||||
@BUILD_LIBQUADMATH_TRUE@@LIBQUAD_USE_SYMVER_SUN_TRUE@@LIBQUAD_USE_SYMVER_TRUE@version_arg = -Wl,-M,quadmath.map-sun
|
||||
|
22
libquadmath/configure
vendored
22
libquadmath/configure
vendored
@ -601,6 +601,7 @@ ac_subst_vars='am__EXEEXT_FALSE
|
||||
am__EXEEXT_TRUE
|
||||
LTLIBOBJS
|
||||
LIBOBJS
|
||||
get_gcc_base_ver
|
||||
GENINSRC_FALSE
|
||||
GENINSRC_TRUE
|
||||
BUILD_LIBQUADMATH_FALSE
|
||||
@ -750,6 +751,7 @@ enable_libtool_lock
|
||||
enable_maintainer_mode
|
||||
enable_symvers
|
||||
enable_generated_files_in_srcdir
|
||||
with_gcc_major_version_only
|
||||
'
|
||||
ac_precious_vars='build_alias
|
||||
host_alias
|
||||
@ -1406,6 +1408,8 @@ Optional Packages:
|
||||
--with-pic try to use only PIC/non-PIC objects [default=use
|
||||
both]
|
||||
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
|
||||
--with-gcc-major-version-only
|
||||
use only GCC major number in filesystem paths
|
||||
|
||||
Some influential environment variables:
|
||||
CC C compiler command
|
||||
@ -10568,7 +10572,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 10571 "configure"
|
||||
#line 10575 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@ -10674,7 +10678,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 10677 "configure"
|
||||
#line 10681 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@ -12918,6 +12922,20 @@ else
|
||||
fi
|
||||
|
||||
|
||||
# Determine what GCC version number to use in filesystem paths.
|
||||
|
||||
get_gcc_base_ver="cat"
|
||||
|
||||
# Check whether --with-gcc-major-version-only was given.
|
||||
if test "${with_gcc_major_version_only+set}" = set; then :
|
||||
withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
|
||||
get_gcc_base_ver="sed -e 's/^\([0-9]*\).*\$\$/\1/'"
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
||||
ac_config_files="$ac_config_files Makefile"
|
||||
|
||||
|
@ -364,6 +364,8 @@ AS_HELP_STRING([--enable-generated-files-in-srcdir],
|
||||
AC_MSG_RESULT($enable_generated_files_in_srcdir)
|
||||
AM_CONDITIONAL(GENINSRC, test "$enable_generated_files_in_srcdir" = yes)
|
||||
|
||||
# Determine what GCC version number to use in filesystem paths.
|
||||
GCC_BASE_VER
|
||||
|
||||
AC_CONFIG_FILES(Makefile)
|
||||
AC_OUTPUT
|
||||
|
@ -1,3 +1,19 @@
|
||||
2017-01-17 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR other/79046
|
||||
* configure.ac: Add GCC_BASE_VER.
|
||||
* Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
|
||||
get version from BASE-VER file.
|
||||
* libbacktrace/Makefile.in: Regenerated.
|
||||
* interception/Makefile.in: Regenerated.
|
||||
* asan/Makefile.in: Regenerated.
|
||||
* ubsan/Makefile.in: Regenerated.
|
||||
* configure: Regenerated.
|
||||
* sanitizer_common/Makefile.in: Regenerated.
|
||||
* lsan/Makefile.in: Regenerated.
|
||||
* Makefile.in: Regenerated.
|
||||
* tsan/Makefile.in: Regenerated.
|
||||
|
||||
2017-01-10 James Clarke <jrtc27@jrtc27.com>
|
||||
|
||||
PR sanitizer/78992
|
||||
|
@ -24,7 +24,7 @@ endif
|
||||
endif
|
||||
|
||||
## May be used by toolexeclibdir.
|
||||
gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
|
||||
gcc_version := $(shell @get_gcc_base_ver@ $(top_srcdir)/../gcc/BASE-VER)
|
||||
|
||||
# Work around what appears to be a GNU make bug handling MAKEFLAGS
|
||||
# values defined in terms of make variables, as is the case for CC and
|
||||
|
@ -244,6 +244,7 @@ dvidir = @dvidir@
|
||||
enable_shared = @enable_shared@
|
||||
enable_static = @enable_static@
|
||||
exec_prefix = @exec_prefix@
|
||||
get_gcc_base_ver = @get_gcc_base_ver@
|
||||
host = @host@
|
||||
host_alias = @host_alias@
|
||||
host_cpu = @host_cpu@
|
||||
@ -290,7 +291,7 @@ nodist_saninclude_HEADERS = $(am__append_1)
|
||||
@SANITIZER_SUPPORTED_TRUE@SUBDIRS = sanitizer_common $(am__append_2) \
|
||||
@SANITIZER_SUPPORTED_TRUE@ $(am__append_3) lsan asan ubsan \
|
||||
@SANITIZER_SUPPORTED_TRUE@ $(am__append_4)
|
||||
gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
|
||||
gcc_version := $(shell @get_gcc_base_ver@ $(top_srcdir)/../gcc/BASE-VER)
|
||||
|
||||
# Work around what appears to be a GNU make bug handling MAKEFLAGS
|
||||
# values defined in terms of make variables, as is the case for CC and
|
||||
|
@ -254,6 +254,7 @@ dvidir = @dvidir@
|
||||
enable_shared = @enable_shared@
|
||||
enable_static = @enable_static@
|
||||
exec_prefix = @exec_prefix@
|
||||
get_gcc_base_ver = @get_gcc_base_ver@
|
||||
host = @host@
|
||||
host_alias = @host_alias@
|
||||
host_cpu = @host_cpu@
|
||||
|
23
libsanitizer/configure
vendored
23
libsanitizer/configure
vendored
@ -604,6 +604,7 @@ ac_subst_vars='am__EXEEXT_FALSE
|
||||
am__EXEEXT_TRUE
|
||||
LTLIBOBJS
|
||||
LIBOBJS
|
||||
get_gcc_base_ver
|
||||
SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS
|
||||
TSAN_TARGET_DEPENDENT_OBJECTS
|
||||
LIBBACKTRACE_SUPPORTED_FALSE
|
||||
@ -772,6 +773,7 @@ with_pic
|
||||
enable_fast_install
|
||||
with_gnu_ld
|
||||
enable_libtool_lock
|
||||
with_gcc_major_version_only
|
||||
'
|
||||
ac_precious_vars='build_alias
|
||||
host_alias
|
||||
@ -1426,6 +1428,8 @@ Optional Packages:
|
||||
--with-pic try to use only PIC/non-PIC objects [default=use
|
||||
both]
|
||||
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
|
||||
--with-gcc-major-version-only
|
||||
use only GCC major number in filesystem paths
|
||||
|
||||
Some influential environment variables:
|
||||
CC C compiler command
|
||||
@ -12028,7 +12032,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 12031 "configure"
|
||||
#line 12035 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@ -12134,7 +12138,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 12137 "configure"
|
||||
#line 12141 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@ -16500,6 +16504,21 @@ fi
|
||||
|
||||
|
||||
|
||||
# Determine what GCC version number to use in filesystem paths.
|
||||
|
||||
get_gcc_base_ver="cat"
|
||||
|
||||
# Check whether --with-gcc-major-version-only was given.
|
||||
if test "${with_gcc_major_version_only+set}" = set; then :
|
||||
withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
|
||||
get_gcc_base_ver="sed -e 's/^\([0-9]*\).*\$\$/\1/'"
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
||||
cat >confcache <<\_ACEOF
|
||||
# This file is a shell script that caches the results of configure
|
||||
# tests run on this system so they can be shared between configure
|
||||
|
@ -377,4 +377,7 @@ fi
|
||||
AC_SUBST([TSAN_TARGET_DEPENDENT_OBJECTS])
|
||||
AC_SUBST([SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS])
|
||||
|
||||
# Determine what GCC version number to use in filesystem paths.
|
||||
GCC_BASE_VER
|
||||
|
||||
AC_OUTPUT
|
||||
|
@ -203,6 +203,7 @@ dvidir = @dvidir@
|
||||
enable_shared = @enable_shared@
|
||||
enable_static = @enable_static@
|
||||
exec_prefix = @exec_prefix@
|
||||
get_gcc_base_ver = @get_gcc_base_ver@
|
||||
host = @host@
|
||||
host_alias = @host_alias@
|
||||
host_cpu = @host_cpu@
|
||||
|
@ -245,6 +245,7 @@ dvidir = @dvidir@
|
||||
enable_shared = @enable_shared@
|
||||
enable_static = @enable_static@
|
||||
exec_prefix = @exec_prefix@
|
||||
get_gcc_base_ver = @get_gcc_base_ver@
|
||||
host = @host@
|
||||
host_alias = @host_alias@
|
||||
host_cpu = @host_cpu@
|
||||
|
@ -244,6 +244,7 @@ dvidir = @dvidir@
|
||||
enable_shared = @enable_shared@
|
||||
enable_static = @enable_static@
|
||||
exec_prefix = @exec_prefix@
|
||||
get_gcc_base_ver = @get_gcc_base_ver@
|
||||
host = @host@
|
||||
host_alias = @host_alias@
|
||||
host_cpu = @host_cpu@
|
||||
|
@ -247,6 +247,7 @@ dvidir = @dvidir@
|
||||
enable_shared = @enable_shared@
|
||||
enable_static = @enable_static@
|
||||
exec_prefix = @exec_prefix@
|
||||
get_gcc_base_ver = @get_gcc_base_ver@
|
||||
host = @host@
|
||||
host_alias = @host_alias@
|
||||
host_cpu = @host_cpu@
|
||||
|
@ -263,6 +263,7 @@ dvidir = @dvidir@
|
||||
enable_shared = @enable_shared@
|
||||
enable_static = @enable_static@
|
||||
exec_prefix = @exec_prefix@
|
||||
get_gcc_base_ver = @get_gcc_base_ver@
|
||||
host = @host@
|
||||
host_alias = @host_alias@
|
||||
host_cpu = @host_cpu@
|
||||
|
@ -242,6 +242,7 @@ dvidir = @dvidir@
|
||||
enable_shared = @enable_shared@
|
||||
enable_static = @enable_static@
|
||||
exec_prefix = @exec_prefix@
|
||||
get_gcc_base_ver = @get_gcc_base_ver@
|
||||
host = @host@
|
||||
host_alias = @host_alias@
|
||||
host_cpu = @host_cpu@
|
||||
|
@ -1,3 +1,12 @@
|
||||
2017-01-17 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR other/79046
|
||||
* configure.ac: Add GCC_BASE_VER.
|
||||
* Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
|
||||
get version from BASE-VER file.
|
||||
* configure: Regenerated.
|
||||
* Makefile.in: Regenerated.
|
||||
|
||||
2017-01-04 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
Update copyright years.
|
||||
|
@ -8,7 +8,7 @@ ACLOCAL_AMFLAGS = -I .. -I ../config
|
||||
MAINT_CHARSET = latin1
|
||||
|
||||
# May be used by various substitution variables.
|
||||
gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
|
||||
gcc_version := $(shell @get_gcc_base_ver@ $(top_srcdir)/../gcc/BASE-VER)
|
||||
|
||||
if LIBSSP_USE_SYMVER
|
||||
if LIBSSP_USE_SYMVER_GNU
|
||||
|
@ -235,6 +235,7 @@ dvidir = @dvidir@
|
||||
enable_shared = @enable_shared@
|
||||
enable_static = @enable_static@
|
||||
exec_prefix = @exec_prefix@
|
||||
get_gcc_base_ver = @get_gcc_base_ver@
|
||||
host = @host@
|
||||
host_alias = @host_alias@
|
||||
host_cpu = @host_cpu@
|
||||
@ -278,7 +279,7 @@ ACLOCAL_AMFLAGS = -I .. -I ../config
|
||||
MAINT_CHARSET = latin1
|
||||
|
||||
# May be used by various substitution variables.
|
||||
gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
|
||||
gcc_version := $(shell @get_gcc_base_ver@ $(top_srcdir)/../gcc/BASE-VER)
|
||||
@LIBSSP_USE_SYMVER_FALSE@version_arg =
|
||||
@LIBSSP_USE_SYMVER_GNU_TRUE@@LIBSSP_USE_SYMVER_TRUE@version_arg = -Wl,--version-script=$(srcdir)/ssp.map
|
||||
@LIBSSP_USE_SYMVER_SUN_TRUE@@LIBSSP_USE_SYMVER_TRUE@version_arg = -Wl,-M,ssp.map-sun
|
||||
|
23
libssp/configure
vendored
23
libssp/configure
vendored
@ -602,6 +602,7 @@ ac_subst_vars='am__EXEEXT_FALSE
|
||||
am__EXEEXT_TRUE
|
||||
LTLIBOBJS
|
||||
LIBOBJS
|
||||
get_gcc_base_ver
|
||||
toolexeclibdir
|
||||
toolexecdir
|
||||
enable_static
|
||||
@ -742,6 +743,7 @@ with_pic
|
||||
enable_fast_install
|
||||
with_gnu_ld
|
||||
enable_libtool_lock
|
||||
with_gcc_major_version_only
|
||||
'
|
||||
ac_precious_vars='build_alias
|
||||
host_alias
|
||||
@ -1387,6 +1389,8 @@ Optional Packages:
|
||||
--with-pic try to use only PIC/non-PIC objects [default=use
|
||||
both]
|
||||
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
|
||||
--with-gcc-major-version-only
|
||||
use only GCC major number in filesystem paths
|
||||
|
||||
Some influential environment variables:
|
||||
CC C compiler command
|
||||
@ -10667,7 +10671,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 10670 "configure"
|
||||
#line 10674 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@ -10773,7 +10777,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 10776 "configure"
|
||||
#line 10780 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@ -11071,6 +11075,21 @@ else
|
||||
multilib_arg=
|
||||
fi
|
||||
|
||||
# Determine what GCC version number to use in filesystem paths.
|
||||
|
||||
get_gcc_base_ver="cat"
|
||||
|
||||
# Check whether --with-gcc-major-version-only was given.
|
||||
if test "${with_gcc_major_version_only+set}" = set; then :
|
||||
withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
|
||||
get_gcc_base_ver="sed -e 's/^\([0-9]*\).*\$\$/\1/'"
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
||||
ac_config_files="$ac_config_files Makefile ssp/ssp.h"
|
||||
|
||||
cat >confcache <<\_ACEOF
|
||||
|
@ -195,5 +195,8 @@ else
|
||||
multilib_arg=
|
||||
fi
|
||||
|
||||
# Determine what GCC version number to use in filesystem paths.
|
||||
GCC_BASE_VER
|
||||
|
||||
AC_CONFIG_FILES([Makefile ssp/ssp.h])
|
||||
AC_OUTPUT
|
||||
|
@ -1,3 +1,22 @@
|
||||
2017-01-17 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR other/79046
|
||||
* configure.ac: Add GCC_BASE_VER.
|
||||
* fragment.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
|
||||
get version from BASE-VER file.
|
||||
* po/Makefile.in: Regenerated.
|
||||
* libsupc++/Makefile.in: Regenerated.
|
||||
* testsuite/Makefile.in: Regenerated.
|
||||
* src/Makefile.in: Regenerated.
|
||||
* configure: Regenerated.
|
||||
* Makefile.in: Regenerated.
|
||||
* include/Makefile.in: Regenerated.
|
||||
* doc/Makefile.in: Regenerated.
|
||||
* python/Makefile.in: Regenerated.
|
||||
* src/c++11/Makefile.in: Regenerated.
|
||||
* src/c++98/Makefile.in: Regenerated.
|
||||
* src/filesystem/Makefile.in: Regenerated.
|
||||
|
||||
2017-01-16 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
PR libstdc++/66145
|
||||
|
@ -262,6 +262,7 @@ dvidir = @dvidir@
|
||||
enable_shared = @enable_shared@
|
||||
enable_static = @enable_static@
|
||||
exec_prefix = @exec_prefix@
|
||||
get_gcc_base_ver = @get_gcc_base_ver@
|
||||
glibcxx_MOFILES = @glibcxx_MOFILES@
|
||||
glibcxx_PCHFLAGS = @glibcxx_PCHFLAGS@
|
||||
glibcxx_POFILES = @glibcxx_POFILES@
|
||||
@ -318,7 +319,7 @@ toplevel_builddir = @toplevel_builddir@
|
||||
toplevel_srcdir = @toplevel_srcdir@
|
||||
|
||||
# May be used by various substitution variables.
|
||||
gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
|
||||
gcc_version := $(shell @get_gcc_base_ver@ $(top_srcdir)/../gcc/BASE-VER)
|
||||
MAINT_CHARSET = latin1
|
||||
mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
|
||||
PWD_COMMAND = $${PWDCMD-pwd}
|
||||
|
37
libstdc++-v3/configure
vendored
37
libstdc++-v3/configure
vendored
@ -602,6 +602,7 @@ ac_subst_vars='am__EXEEXT_FALSE
|
||||
am__EXEEXT_TRUE
|
||||
LTLIBOBJS
|
||||
LIBOBJS
|
||||
get_gcc_base_ver
|
||||
WARN_FLAGS
|
||||
OPTIMIZE_CXXFLAGS
|
||||
TOPLEVEL_INCLUDES
|
||||
@ -897,6 +898,7 @@ enable_libstdcxx_threads
|
||||
enable_libstdcxx_filesystem_ts
|
||||
with_gxx_include_dir
|
||||
enable_version_specific_runtime_libs
|
||||
with_gcc_major_version_only
|
||||
'
|
||||
ac_precious_vars='build_alias
|
||||
host_alias
|
||||
@ -1616,6 +1618,8 @@ Optional Packages:
|
||||
set the std::string ABI to use by default
|
||||
--with-gxx-include-dir=DIR
|
||||
installation directory for include files
|
||||
--with-gcc-major-version-only
|
||||
use only GCC major number in filesystem paths
|
||||
|
||||
Some influential environment variables:
|
||||
CC C compiler command
|
||||
@ -11597,7 +11601,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 11600 "configure"
|
||||
#line 11604 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@ -11703,7 +11707,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 11706 "configure"
|
||||
#line 11710 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@ -15389,7 +15393,7 @@ $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
|
||||
# Fake what AC_TRY_COMPILE does.
|
||||
|
||||
cat > conftest.$ac_ext << EOF
|
||||
#line 15392 "configure"
|
||||
#line 15396 "configure"
|
||||
int main()
|
||||
{
|
||||
typedef bool atomic_type;
|
||||
@ -15424,7 +15428,7 @@ $as_echo "$glibcxx_cv_atomic_bool" >&6; }
|
||||
rm -f conftest*
|
||||
|
||||
cat > conftest.$ac_ext << EOF
|
||||
#line 15427 "configure"
|
||||
#line 15431 "configure"
|
||||
int main()
|
||||
{
|
||||
typedef short atomic_type;
|
||||
@ -15459,7 +15463,7 @@ $as_echo "$glibcxx_cv_atomic_short" >&6; }
|
||||
rm -f conftest*
|
||||
|
||||
cat > conftest.$ac_ext << EOF
|
||||
#line 15462 "configure"
|
||||
#line 15466 "configure"
|
||||
int main()
|
||||
{
|
||||
// NB: _Atomic_word not necessarily int.
|
||||
@ -15495,7 +15499,7 @@ $as_echo "$glibcxx_cv_atomic_int" >&6; }
|
||||
rm -f conftest*
|
||||
|
||||
cat > conftest.$ac_ext << EOF
|
||||
#line 15498 "configure"
|
||||
#line 15502 "configure"
|
||||
int main()
|
||||
{
|
||||
typedef long long atomic_type;
|
||||
@ -15576,7 +15580,7 @@ $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a resu
|
||||
# unnecessary for this test.
|
||||
|
||||
cat > conftest.$ac_ext << EOF
|
||||
#line 15579 "configure"
|
||||
#line 15583 "configure"
|
||||
int main()
|
||||
{
|
||||
_Decimal32 d1;
|
||||
@ -15618,7 +15622,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
||||
# unnecessary for this test.
|
||||
|
||||
cat > conftest.$ac_ext << EOF
|
||||
#line 15621 "configure"
|
||||
#line 15625 "configure"
|
||||
template<typename T1, typename T2>
|
||||
struct same
|
||||
{ typedef T2 type; };
|
||||
@ -15652,7 +15656,7 @@ $as_echo "$enable_int128" >&6; }
|
||||
rm -f conftest*
|
||||
|
||||
cat > conftest.$ac_ext << EOF
|
||||
#line 15655 "configure"
|
||||
#line 15659 "configure"
|
||||
template<typename T1, typename T2>
|
||||
struct same
|
||||
{ typedef T2 type; };
|
||||
@ -81621,6 +81625,21 @@ $as_echo "$gxx_include_dir" >&6; }
|
||||
|
||||
|
||||
|
||||
# Determine what GCC version number to use in filesystem paths.
|
||||
|
||||
get_gcc_base_ver="cat"
|
||||
|
||||
# Check whether --with-gcc-major-version-only was given.
|
||||
if test "${with_gcc_major_version_only+set}" = set; then :
|
||||
withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
|
||||
get_gcc_base_ver="sed -e 's/^\([0-9]*\).*\$\$/\1/'"
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
||||
ac_config_files="$ac_config_files Makefile"
|
||||
|
||||
ac_config_files="$ac_config_files scripts/testsuite_flags"
|
||||
|
@ -509,6 +509,9 @@ GLIBCXX_EXPORT_INSTALL_INFO
|
||||
GLIBCXX_EXPORT_INCLUDES
|
||||
GLIBCXX_EXPORT_FLAGS
|
||||
|
||||
# Determine what GCC version number to use in filesystem paths.
|
||||
GCC_BASE_VER
|
||||
|
||||
dnl In autoconf 2.5x, AC_OUTPUT is replaced by four AC_CONFIG_* macros,
|
||||
dnl which can all be called multiple times as needed, plus one (different)
|
||||
dnl AC_OUTPUT macro. This one lists the files to be created:
|
||||
|
@ -236,6 +236,7 @@ dvidir = @dvidir@
|
||||
enable_shared = @enable_shared@
|
||||
enable_static = @enable_static@
|
||||
exec_prefix = @exec_prefix@
|
||||
get_gcc_base_ver = @get_gcc_base_ver@
|
||||
glibcxx_MOFILES = @glibcxx_MOFILES@
|
||||
glibcxx_PCHFLAGS = @glibcxx_PCHFLAGS@
|
||||
glibcxx_POFILES = @glibcxx_POFILES@
|
||||
@ -300,7 +301,7 @@ toplevel_builddir = @toplevel_builddir@
|
||||
toplevel_srcdir = @toplevel_srcdir@
|
||||
|
||||
# May be used by various substitution variables.
|
||||
gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
|
||||
gcc_version := $(shell @get_gcc_base_ver@ $(top_srcdir)/../gcc/BASE-VER)
|
||||
MAINT_CHARSET = latin1
|
||||
mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
|
||||
PWD_COMMAND = $${PWDCMD-pwd}
|
||||
|
@ -2,7 +2,7 @@
|
||||
## This is used in all Makefile.am's. Set defaults here.
|
||||
|
||||
# May be used by various substitution variables.
|
||||
gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
|
||||
gcc_version := $(shell @get_gcc_base_ver@ $(top_srcdir)/../gcc/BASE-VER)
|
||||
|
||||
MAINT_CHARSET = latin1
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user