diff options
author | Jakub Jelinek <jakub@redhat.com> | 2017-01-19 13:23:00 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2017-01-19 13:23:00 +0100 |
commit | f67f94b8e2a276b70c51871e8ca0b85a98190b0a (patch) | |
tree | 46937c5cd15c370711fcda876dee15f978ed6674 /libmpx/configure | |
parent | 54740d7d82a8e16020c33b0387463ceea5f3d2be (diff) | |
download | gcc-f67f94b8e2a276b70c51871e8ca0b85a98190b0a.zip gcc-f67f94b8e2a276b70c51871e8ca0b85a98190b0a.tar.gz gcc-f67f94b8e2a276b70c51871e8ca0b85a98190b0a.tar.bz2 |
re PR other/79046 (g++ -print-file-name=plugin uses full version number in path)
PR other/79046
* aclocal.m4: Include ../config/acx.m4.
* configure: Regenerated.
* Makefile.in: Regenerated.
* mpxrt/Makefile.in: Regenerated.
* mpxwrap/Makefile.in: Regenerated.
From-SVN: r244627
Diffstat (limited to 'libmpx/configure')
-rw-r--r-- | libmpx/configure | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/libmpx/configure b/libmpx/configure index 115f53e..853993a 100644 --- a/libmpx/configure +++ b/libmpx/configure @@ -603,6 +603,7 @@ ac_subst_vars='am__EXEEXT_FALSE am__EXEEXT_TRUE LTLIBOBJS LIBOBJS +get_gcc_base_ver XCFLAGS enable_static enable_shared @@ -731,6 +732,7 @@ with_pic enable_fast_install with_gnu_ld enable_libtool_lock +with_gcc_major_version_only ' ac_precious_vars='build_alias host_alias @@ -1377,6 +1379,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 @@ -11230,7 +11234,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11233 "configure" +#line 11237 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11336,7 +11340,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11339 "configure" +#line 11343 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11586,7 +11590,19 @@ else fi # Determine what GCC version number to use in filesystem paths. -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 + + + ac_config_files="$ac_config_files Makefile libmpx.spec" |