Mercurial > hg > CbC > CbC_gcc
comparison libvtv/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 # -*- Autoconf -*- | 1 # -*- Autoconf -*- |
2 # Process this file with autoconf to produce a configure script. | 2 # Process this file with autoconf to produce a configure script. |
3 | 3 |
4 AC_PREREQ([2.64]) | |
5 AC_INIT([GNU Vtable Verification Runtime Library], 1.0,,[libvtv]) | 4 AC_INIT([GNU Vtable Verification Runtime Library], 1.0,,[libvtv]) |
6 #AC_INIT(package-unused, version-unused, libvtv) | 5 #AC_INIT(package-unused, version-unused, libvtv) |
7 AC_CONFIG_SRCDIR([vtv_rts.h]) | 6 AC_CONFIG_SRCDIR([vtv_rts.h]) |
8 | 7 |
9 AM_ENABLE_MULTILIB(, ..) | 8 AM_ENABLE_MULTILIB(, ..) |
77 AM_INIT_AUTOMAKE(foreign no-dist) | 76 AM_INIT_AUTOMAKE(foreign no-dist) |
78 AM_MAINTAINER_MODE | 77 AM_MAINTAINER_MODE |
79 | 78 |
80 LIBVTV_CONFIGURE | 79 LIBVTV_CONFIGURE |
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 ${version_specific_libs} in | 85 case ${version_specific_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` |