comparison libitm/configure.ac @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents 84e7813d76e9
children
comparison
equal deleted inserted replaced
131:84e7813d76e9 145:1830386684a0
1 # Process this file with autoreconf to produce a configure script. 1 # Process this file with autoreconf to produce a configure script.
2 # Copyright (C) 2011-2018 Free Software Foundation, Inc. 2 # Copyright (C) 2011-2020 Free Software Foundation, Inc.
3 3
4 # This program is free software; you can redistribute it and/or modify 4 # This program is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by 5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 2 of the License, or 6 # the Free Software Foundation; either version 2 of the License, or
7 # (at your option) any later version. 7 # (at your option) any later version.
13 # 13 #
14 # You should have received a copy of the GNU General Public License 14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software 15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 16 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17 17
18 AC_PREREQ(2.59)
19 AC_INIT([GNU TM Runtime Library], 1.0,,[libitm]) 18 AC_INIT([GNU TM Runtime Library], 1.0,,[libitm])
20 AC_CONFIG_HEADER(config.h) 19 AC_CONFIG_HEADER(config.h)
21 20
22 # ------- 21 # -------
23 # Options 22 # Options
77 # -Wno-portability: ...except this one, since GNU make is required. 76 # -Wno-portability: ...except this one, since GNU make is required.
78 # -Wno-override: ... and this one, since we do want this in testsuite. 77 # -Wno-override: ... and this one, since we do want this in testsuite.
79 AM_INIT_AUTOMAKE([1.9.0 foreign no-dist -Wall -Wno-portability -Wno-override]) 78 AM_INIT_AUTOMAKE([1.9.0 foreign no-dist -Wall -Wno-portability -Wno-override])
80 AM_ENABLE_MULTILIB(, ..) 79 AM_ENABLE_MULTILIB(, ..)
81 80
81 GCC_WITH_TOOLEXECLIBDIR
82
82 # Calculate toolexeclibdir 83 # Calculate toolexeclibdir
83 # Also toolexecdir, though it's only used in toolexeclibdir 84 # Also toolexecdir, though it's only used in toolexeclibdir
84 case ${enable_version_specific_runtime_libs} in 85 case ${enable_version_specific_runtime_libs} in
85 yes) 86 yes)
86 # Need the gcc compiler version to know where to install libraries 87 # Need the gcc compiler version to know where to install libraries
92 no) 93 no)
93 if test -n "$with_cross_host" && 94 if test -n "$with_cross_host" &&
94 test x"$with_cross_host" != x"no"; then 95 test x"$with_cross_host" != x"no"; then
95 # Install a library built with a cross compiler in tooldir, not libdir. 96 # Install a library built with a cross compiler in tooldir, not libdir.
96 toolexecdir='$(exec_prefix)/$(target_alias)' 97 toolexecdir='$(exec_prefix)/$(target_alias)'
97 toolexeclibdir='$(toolexecdir)/lib' 98 case ${with_toolexeclibdir} in
99 no)
100 toolexeclibdir='$(toolexecdir)/lib'
101 ;;
102 *)
103 toolexeclibdir=${with_toolexeclibdir}
104 ;;
105 esac
98 else 106 else
99 toolexecdir='$(libdir)/gcc-lib/$(target_alias)' 107 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
100 toolexeclibdir='$(libdir)' 108 toolexeclibdir='$(libdir)'
101 fi 109 fi
102 multi_os_directory=`$CC -print-multi-os-directory` 110 multi_os_directory=`$CC -print-multi-os-directory`