mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-23 02:44:18 +08:00
PR modula2/110779: Add reduced acinclude.m4 to allow interrogation of time features
This patch adds libgm2/acinclude.m4 and libgm2/configure.host which are reduced versions from libstdc++-v3. They currently allow for discovering the time features available in libc and will be extended to discover availability of ieee128 long double support in the near future. These files were also added to provide the functions: GLIBCXX_CONFIGURE, GLIBCXX_CHECK_GETTIMEOFDAY and GLIBCXX_ENABLE_LIBSTDCXX_TIME called by configure.ac. libgm2/ChangeLog: PR modula2/110779 * Makefile.in: Regenerate. * aclocal.m4: Regenerate. * config.h.in: Regenerate. * configure: Regenerate. * configure.ac: Remove newline. * libm2cor/Makefile.in: Regenerate. * libm2iso/Makefile.in: Regenerate. * libm2log/Makefile.in: Regenerate. * libm2min/Makefile.in: Regenerate. * libm2pim/Makefile.in: Regenerate. * acinclude.m4: New file. * configure.host: New file. Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>
This commit is contained in:
parent
a6ac36d80a
commit
0036702555
@ -98,7 +98,10 @@ am__aclocal_m4_deps = $(top_srcdir)/../libtool.m4 \
|
||||
$(top_srcdir)/../config/lead-dot.m4 \
|
||||
$(top_srcdir)/../config/multi.m4 \
|
||||
$(top_srcdir)/../config/no-executables.m4 \
|
||||
$(top_srcdir)/../config/override.m4 $(top_srcdir)/configure.ac
|
||||
$(top_srcdir)/../config/override.m4 $(top_srcdir)/acinclude.m4 \
|
||||
$(top_srcdir)/../config/gc++filt.m4 \
|
||||
$(top_srcdir)/../config/tls.m4 $(top_srcdir)/../config/gthr.m4 \
|
||||
$(top_srcdir)/../config/cet.m4 $(top_srcdir)/configure.ac
|
||||
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||
$(ACLOCAL_M4)
|
||||
DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
|
||||
@ -169,6 +172,7 @@ ACLOCAL = @ACLOCAL@
|
||||
AMTAR = @AMTAR@
|
||||
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
|
||||
AR = @AR@
|
||||
AS = @AS@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
@ -197,6 +201,7 @@ ECHO_T = @ECHO_T@
|
||||
EGREP = @EGREP@
|
||||
EXEEXT = @EXEEXT@
|
||||
FGREP = @FGREP@
|
||||
GLIBCXX_LIBS = @GLIBCXX_LIBS@
|
||||
GM2_FOR_TARGET = @GM2_FOR_TARGET@
|
||||
GREP = @GREP@
|
||||
INSTALL = @INSTALL@
|
||||
@ -264,6 +269,8 @@ enable_shared = @enable_shared@
|
||||
enable_static = @enable_static@
|
||||
exec_prefix = @exec_prefix@
|
||||
get_gcc_base_ver = @get_gcc_base_ver@
|
||||
glibcxx_builddir = @glibcxx_builddir@
|
||||
glibcxx_srcdir = @glibcxx_srcdir@
|
||||
host = @host@
|
||||
host_alias = @host_alias@
|
||||
host_cpu = @host_cpu@
|
||||
@ -305,6 +312,8 @@ toolexeclibdir = @toolexeclibdir@
|
||||
top_build_prefix = @top_build_prefix@
|
||||
top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
toplevel_builddir = @toplevel_builddir@
|
||||
toplevel_srcdir = @toplevel_srcdir@
|
||||
|
||||
# Makefile for libgm2.
|
||||
# Copyright 2013-2022 Free Software Foundation, Inc.
|
||||
|
784
libgm2/acinclude.m4
Normal file
784
libgm2/acinclude.m4
Normal file
@ -0,0 +1,784 @@
|
||||
dnl acinclude.m4
|
||||
dnl
|
||||
dnl This file was derived from libstdc++-v3/acinclude.m4 and heavily pruned.
|
||||
dnl Its purpose is to check for glibc time, gettimeofday and
|
||||
dnl float128 availability.
|
||||
dnl
|
||||
dnl GLIBCXX_CONDITIONAL (NAME, SHELL-TEST)
|
||||
dnl
|
||||
dnl Exactly like AM_CONDITIONAL, but delays evaluation of the test until the
|
||||
dnl end of configure. This lets tested variables be reassigned, and the
|
||||
dnl conditional will depend on the final state of the variable. For a simple
|
||||
dnl example of why this is needed, see GLIBCXX_ENABLE_HOSTED.
|
||||
dnl
|
||||
m4_define([_m4_divert(glibcxx_diversion)], 8000)dnl
|
||||
AC_DEFUN([GLIBCXX_CONDITIONAL], [dnl
|
||||
m4_divert_text([glibcxx_diversion],dnl
|
||||
AM_CONDITIONAL([$1],[$2])
|
||||
)dnl
|
||||
])dnl
|
||||
AC_DEFUN([GLIBCXX_EVALUATE_CONDITIONALS], [m4_undivert([glibcxx_diversion])])dnl
|
||||
|
||||
|
||||
dnl
|
||||
dnl Check to see what architecture and operating system we are compiling
|
||||
dnl for. Also, if architecture- or OS-specific flags are required for
|
||||
dnl compilation, pick them up here.
|
||||
dnl
|
||||
AC_DEFUN([GLIBCXX_CHECK_HOST], [
|
||||
. $glibcxx_srcdir/configure.host
|
||||
AC_MSG_NOTICE([CPU config directory is $cpu_include_dir])
|
||||
AC_MSG_NOTICE([OS config directory is $os_include_dir])
|
||||
])
|
||||
|
||||
|
||||
dnl
|
||||
dnl Initialize the rest of the library configury. At this point we have
|
||||
dnl variables like $host.
|
||||
dnl
|
||||
dnl Sets:
|
||||
dnl SUBDIRS
|
||||
dnl Substs:
|
||||
dnl glibcxx_builddir (absolute path)
|
||||
dnl glibcxx_srcdir (absolute path)
|
||||
dnl toplevel_builddir (absolute path)
|
||||
dnl toplevel_srcdir (absolute path)
|
||||
dnl with_cross_host
|
||||
dnl with_newlib
|
||||
dnl with_target_subdir
|
||||
dnl plus
|
||||
dnl - the variables in GLIBCXX_CHECK_HOST / configure.host
|
||||
dnl - default settings for all AM_CONFITIONAL test variables
|
||||
dnl - lots of tools, like CC and CXX
|
||||
dnl
|
||||
AC_DEFUN([GLIBCXX_CONFIGURE], [
|
||||
# Keep these sync'd with the list in Makefile.am. The first provides an
|
||||
# expandable list at autoconf time; the second provides an expandable list
|
||||
# (i.e., shell variable) at configure time.
|
||||
m4_define([glibcxx_SUBDIRS],[])
|
||||
SUBDIRS='glibcxx_SUBDIRS'
|
||||
|
||||
# These need to be absolute paths, yet at the same time need to
|
||||
# canonicalize only relative paths, because then amd will not unmount
|
||||
# drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
|
||||
glibcxx_builddir=`${PWDCMD-pwd}`
|
||||
case $srcdir in
|
||||
[\\/$]* | ?:[\\/]*) glibcxx_srcdir=${srcdir} ;;
|
||||
*) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
|
||||
esac
|
||||
toplevel_builddir=${glibcxx_builddir}/..
|
||||
toplevel_srcdir=${glibcxx_srcdir}/..
|
||||
AC_SUBST(glibcxx_builddir)
|
||||
AC_SUBST(glibcxx_srcdir)
|
||||
AC_SUBST(toplevel_builddir)
|
||||
AC_SUBST(toplevel_srcdir)
|
||||
|
||||
# We use these options to decide which functions to include. They are
|
||||
# set from the top level.
|
||||
AC_ARG_WITH([target-subdir],
|
||||
AC_HELP_STRING([--with-target-subdir=SUBDIR],
|
||||
[configuring in a subdirectory]))
|
||||
|
||||
AC_ARG_WITH([cross-host],
|
||||
AC_HELP_STRING([--with-cross-host=HOST],
|
||||
[configuring with a cross compiler]))
|
||||
|
||||
AC_ARG_WITH([newlib],
|
||||
AC_HELP_STRING([--with-newlib],
|
||||
[assume newlib as a system C library]))
|
||||
|
||||
# Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
|
||||
# available). Uncomment the next line to force a particular method.
|
||||
AC_PROG_LN_S
|
||||
#LN_S='cp -p'
|
||||
|
||||
AC_CHECK_TOOL(AS, as)
|
||||
AC_CHECK_TOOL(AR, ar)
|
||||
AC_CHECK_TOOL(RANLIB, ranlib, ranlib-not-found-in-path-error)
|
||||
|
||||
AM_MAINTAINER_MODE
|
||||
|
||||
# Set up safe default values for all subsequent AM_CONDITIONAL tests
|
||||
# which are themselves conditionally expanded.
|
||||
## (Right now, this only matters for enable_wchar_t, but nothing prevents
|
||||
## other macros from doing the same. This should be automated.) -pme
|
||||
|
||||
# Check for C library flavor since GNU/Linux platforms use different
|
||||
# configuration directories depending on the C library in use.
|
||||
AC_EGREP_CPP([_using_uclibc], [
|
||||
#include <stdio.h>
|
||||
#if __UCLIBC__
|
||||
_using_uclibc
|
||||
#endif
|
||||
], uclibc=yes, uclibc=no)
|
||||
|
||||
AC_EGREP_CPP([_using_bionic], [
|
||||
#include <stdio.h>
|
||||
#if __BIONIC__
|
||||
_using_bionic
|
||||
#endif
|
||||
], bionic=yes, bionic=no)
|
||||
|
||||
# Find platform-specific directories containing configuration info.
|
||||
# Also possibly modify flags used elsewhere, as needed by the platform.
|
||||
GLIBCXX_CHECK_HOST
|
||||
])
|
||||
|
||||
|
||||
dnl
|
||||
dnl GLIBCXX_ENABLE
|
||||
dnl (FEATURE, DEFAULT, HELP-ARG, HELP-STRING)
|
||||
dnl (FEATURE, DEFAULT, HELP-ARG, HELP-STRING, permit a|b|c)
|
||||
dnl (FEATURE, DEFAULT, HELP-ARG, HELP-STRING, SHELL-CODE-HANDLER)
|
||||
dnl
|
||||
dnl See manual/appendix_porting.html#appendix.porting.build_hacking for
|
||||
dnl documentation.
|
||||
dnl
|
||||
m4_define([GLIBCXX_ENABLE],[dnl
|
||||
m4_define([_g_switch],[--enable-$1])dnl
|
||||
m4_define([_g_help],[AC_HELP_STRING([_g_switch$3],[$4 @<:@default=$2@:>@])])dnl
|
||||
AC_ARG_ENABLE([$1],m4_dquote(_g_help),
|
||||
m4_bmatch([$5],
|
||||
[^permit ],
|
||||
[[
|
||||
case "$enableval" in
|
||||
m4_bpatsubst([$5],[permit ])) ;;
|
||||
*) AC_MSG_ERROR(Unknown argument to enable/disable $1) ;;
|
||||
dnl Idea for future: generate a URL pointing to
|
||||
dnl "onlinedocs/configopts.html#whatever"
|
||||
esac
|
||||
]],
|
||||
[^$],
|
||||
[[
|
||||
case "$enableval" in
|
||||
yes|no) ;;
|
||||
*) AC_MSG_ERROR(Argument to enable/disable $1 must be yes or no) ;;
|
||||
esac
|
||||
]],
|
||||
[[$5]]),
|
||||
[enable_]m4_bpatsubst([$1],-,_)[=][$2])
|
||||
m4_undefine([_g_switch])dnl
|
||||
m4_undefine([_g_help])dnl
|
||||
])
|
||||
|
||||
|
||||
dnl
|
||||
dnl Check for clock_gettime, nanosleep and sched_yield, used in the
|
||||
dnl implementation of 20.11.7 [time.clock], and 30.3.2 [thread.thread.this]
|
||||
dnl in the C++11 standard.
|
||||
dnl
|
||||
dnl --enable-libstdcxx-time
|
||||
dnl --enable-libstdcxx-time=yes
|
||||
dnl checks for the availability of monotonic and realtime clocks,
|
||||
dnl nanosleep and sched_yield in libc.
|
||||
dnl --enable-libstdcxx-time=rt
|
||||
dnl also searches (and, if needed, links) librt. Note that this is
|
||||
dnl not always desirable because, in glibc 2.16 and earlier, for
|
||||
dnl example, in turn it triggers the linking of libpthread too,
|
||||
dnl which activates locking,
|
||||
dnl a large overhead for single-thread programs.
|
||||
dnl --enable-libstdcxx-time=no
|
||||
dnl --disable-libstdcxx-time
|
||||
dnl disables the checks completely
|
||||
dnl
|
||||
dnl N.B. Darwin provides nanosleep but doesn't support the whole POSIX
|
||||
dnl Timers option, so doesn't define _POSIX_TIMERS. Because the test
|
||||
dnl below fails Darwin unconditionally defines _GLIBCXX_USE_NANOSLEEP in
|
||||
dnl os_defines.h and also defines _GLIBCXX_USE_SCHED_YIELD.
|
||||
dnl
|
||||
dnl needed
|
||||
AC_DEFUN([GLIBCXX_ENABLE_LIBSTDCXX_TIME], [
|
||||
|
||||
GLIBCXX_ENABLE(libstdcxx-time,auto,[[[=KIND]]],
|
||||
[use KIND for check type],
|
||||
[permit yes|no|rt])
|
||||
|
||||
AC_LANG_SAVE
|
||||
AC_LANG_CPLUSPLUS
|
||||
ac_save_CXXFLAGS="$CXXFLAGS"
|
||||
CXXFLAGS="$CXXFLAGS -fno-exceptions"
|
||||
ac_save_LIBS="$LIBS"
|
||||
|
||||
ac_has_clock_monotonic=no
|
||||
ac_has_clock_realtime=no
|
||||
ac_has_nanosleep=no
|
||||
ac_has_sched_yield=no
|
||||
|
||||
if test x"$enable_libstdcxx_time" = x"auto"; then
|
||||
|
||||
case "${target_os}" in
|
||||
cygwin*)
|
||||
ac_has_nanosleep=yes
|
||||
;;
|
||||
mingw*)
|
||||
ac_has_win32_sleep=yes
|
||||
ac_has_sched_yield=yes
|
||||
;;
|
||||
darwin*)
|
||||
ac_has_nanosleep=yes
|
||||
ac_has_sched_yield=yes
|
||||
;;
|
||||
# VxWorks has nanosleep as soon as the kernel is configured with
|
||||
# INCLUDE_POSIX_TIMERS, which is normally/most-often the case.
|
||||
vxworks*)
|
||||
ac_has_nanosleep=yes
|
||||
;;
|
||||
gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
|
||||
# Don't use link test for freestanding library, in case gcc_no_link=yes
|
||||
if test x"$is_hosted" = xyes; then
|
||||
# Versions of glibc before 2.17 needed -lrt for clock_gettime.
|
||||
AC_SEARCH_LIBS(clock_gettime, [rt])
|
||||
if test x"$ac_cv_search_clock_gettime" = x"none required"; then
|
||||
ac_has_clock_monotonic=yes
|
||||
ac_has_clock_realtime=yes
|
||||
fi
|
||||
fi
|
||||
ac_has_nanosleep=yes
|
||||
ac_has_sched_yield=yes
|
||||
;;
|
||||
freebsd*|netbsd*|dragonfly*|rtems*)
|
||||
ac_has_clock_monotonic=yes
|
||||
ac_has_clock_realtime=yes
|
||||
ac_has_nanosleep=yes
|
||||
ac_has_sched_yield=yes
|
||||
;;
|
||||
openbsd*)
|
||||
ac_has_clock_monotonic=yes
|
||||
ac_has_clock_realtime=yes
|
||||
ac_has_nanosleep=yes
|
||||
;;
|
||||
solaris*)
|
||||
ac_has_clock_monotonic=yes
|
||||
ac_has_clock_realtime=yes
|
||||
ac_has_nanosleep=yes
|
||||
ac_has_sched_yield=yes
|
||||
;;
|
||||
uclinux*)
|
||||
ac_has_nanosleep=yes
|
||||
ac_has_sched_yield=yes
|
||||
esac
|
||||
|
||||
elif test x"$enable_libstdcxx_time" != x"no"; then
|
||||
|
||||
if test x"$enable_libstdcxx_time" = x"rt"; then
|
||||
AC_SEARCH_LIBS(clock_gettime, [rt])
|
||||
AC_SEARCH_LIBS(nanosleep, [rt])
|
||||
else
|
||||
AC_CHECK_FUNC(clock_gettime)
|
||||
AC_CHECK_FUNC(nanosleep)
|
||||
fi
|
||||
|
||||
case "$ac_cv_search_clock_gettime" in
|
||||
-l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
|
||||
;;
|
||||
esac
|
||||
case "$ac_cv_search_nanosleep" in
|
||||
-l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
|
||||
;;
|
||||
esac
|
||||
|
||||
AC_SEARCH_LIBS(sched_yield, [rt])
|
||||
|
||||
case "$ac_cv_search_sched_yield" in
|
||||
-lrt*)
|
||||
if test x"$enable_libstdcxx_time" = x"rt"; then
|
||||
GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
|
||||
ac_has_sched_yield=yes
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
ac_has_sched_yield=yes
|
||||
;;
|
||||
esac
|
||||
|
||||
AC_CHECK_HEADERS(unistd.h, ac_has_unistd_h=yes, ac_has_unistd_h=no)
|
||||
|
||||
if test x"$ac_has_unistd_h" = x"yes"; then
|
||||
AC_MSG_CHECKING([for monotonic clock])
|
||||
AC_TRY_LINK(
|
||||
[#include <unistd.h>
|
||||
#include <time.h>
|
||||
],
|
||||
[#if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
|
||||
timespec tp;
|
||||
#endif
|
||||
clock_gettime(CLOCK_MONOTONIC, &tp);
|
||||
], [ac_has_clock_monotonic=yes], [ac_has_clock_monotonic=no])
|
||||
|
||||
AC_MSG_RESULT($ac_has_clock_monotonic)
|
||||
|
||||
AC_MSG_CHECKING([for realtime clock])
|
||||
AC_TRY_LINK(
|
||||
[#include <unistd.h>
|
||||
#include <time.h>
|
||||
],
|
||||
[#if _POSIX_TIMERS > 0
|
||||
timespec tp;
|
||||
#endif
|
||||
clock_gettime(CLOCK_REALTIME, &tp);
|
||||
], [ac_has_clock_realtime=yes], [ac_has_clock_realtime=no])
|
||||
|
||||
AC_MSG_RESULT($ac_has_clock_realtime)
|
||||
|
||||
AC_MSG_CHECKING([for nanosleep])
|
||||
AC_TRY_LINK(
|
||||
[#include <unistd.h>
|
||||
#include <time.h>
|
||||
],
|
||||
[#if _POSIX_TIMERS > 0
|
||||
timespec tp;
|
||||
#endif
|
||||
nanosleep(&tp, 0);
|
||||
], [ac_has_nanosleep=yes], [ac_has_nanosleep=no])
|
||||
|
||||
AC_MSG_RESULT($ac_has_nanosleep)
|
||||
fi
|
||||
fi
|
||||
|
||||
if test x"$ac_has_clock_monotonic" != x"yes"; then
|
||||
case ${target_os} in
|
||||
linux* | uclinux*)
|
||||
AC_MSG_CHECKING([for clock_gettime syscall])
|
||||
AC_TRY_COMPILE(
|
||||
[#include <unistd.h>
|
||||
#include <time.h>
|
||||
#include <sys/syscall.h>
|
||||
],
|
||||
[#if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
|
||||
timespec tp;
|
||||
#endif
|
||||
syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
|
||||
syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
|
||||
], [ac_has_clock_gettime_syscall=yes], [ac_has_clock_gettime_syscall=no])
|
||||
AC_MSG_RESULT($ac_has_clock_gettime_syscall)
|
||||
if test x"$ac_has_clock_gettime_syscall" = x"yes"; then
|
||||
AC_DEFINE(_GLIBCXX_USE_CLOCK_GETTIME_SYSCALL, 1,
|
||||
[Defined if clock_gettime syscall has monotonic and realtime clock support. ])
|
||||
ac_has_clock_monotonic=yes
|
||||
ac_has_clock_realtime=yes
|
||||
AC_MSG_CHECKING([for struct timespec that matches syscall])
|
||||
AC_TRY_COMPILE(
|
||||
[#include <time.h>
|
||||
#include <sys/syscall.h>
|
||||
],
|
||||
[#ifdef SYS_clock_gettime64
|
||||
#if SYS_clock_gettime64 != SYS_clock_gettime
|
||||
// We need to use SYS_clock_gettime and libc appears to
|
||||
// also know about the SYS_clock_gettime64 syscall.
|
||||
// Check that userspace doesn't use time64 version of timespec.
|
||||
static_assert(sizeof(timespec::tv_sec) == sizeof(long),
|
||||
"struct timespec must be compatible with SYS_clock_gettime");
|
||||
#endif
|
||||
#endif
|
||||
],
|
||||
[ac_timespec_matches_syscall=yes],
|
||||
[ac_timespec_matches_syscall=no])
|
||||
AC_MSG_RESULT($ac_timespec_matches_syscall)
|
||||
if test x"$ac_timespec_matches_syscall" = no; then
|
||||
AC_MSG_ERROR([struct timespec is not compatible with SYS_clock_gettime, please report a bug to http://gcc.gnu.org/bugzilla])
|
||||
fi
|
||||
fi;;
|
||||
esac
|
||||
fi
|
||||
|
||||
if test x"$ac_has_clock_monotonic" = x"yes"; then
|
||||
AC_DEFINE(_GLIBCXX_USE_CLOCK_MONOTONIC, 1,
|
||||
[ Defined if clock_gettime has monotonic clock support. ])
|
||||
fi
|
||||
|
||||
if test x"$ac_has_clock_realtime" = x"yes"; then
|
||||
AC_DEFINE(_GLIBCXX_USE_CLOCK_REALTIME, 1,
|
||||
[ Defined if clock_gettime has realtime clock support. ])
|
||||
fi
|
||||
|
||||
if test x"$ac_has_sched_yield" = x"yes"; then
|
||||
AC_DEFINE(_GLIBCXX_USE_SCHED_YIELD, 1,
|
||||
[ Defined if sched_yield is available. ])
|
||||
fi
|
||||
|
||||
if test x"$ac_has_nanosleep" = x"yes"; then
|
||||
AC_DEFINE(_GLIBCXX_USE_NANOSLEEP, 1,
|
||||
[ Defined if nanosleep is available. ])
|
||||
elif test x"$ac_has_win32_sleep" = x"yes"; then
|
||||
AC_DEFINE(_GLIBCXX_USE_WIN32_SLEEP, 1,
|
||||
[Defined if Sleep exists.])
|
||||
else
|
||||
AC_MSG_CHECKING([for sleep])
|
||||
AC_TRY_COMPILE([#include <unistd.h>],
|
||||
[sleep(1)],
|
||||
[ac_has_sleep=yes],[ac_has_sleep=no])
|
||||
if test x"$ac_has_sleep" = x"yes"; then
|
||||
AC_DEFINE(HAVE_SLEEP,1, [Defined if sleep exists.])
|
||||
fi
|
||||
AC_MSG_RESULT($ac_has_sleep)
|
||||
AC_MSG_CHECKING([for usleep])
|
||||
AC_TRY_COMPILE([#include <unistd.h>],
|
||||
[sleep(1);
|
||||
usleep(100);],
|
||||
[ac_has_usleep=yes],[ac_has_usleep=no])
|
||||
if test x"$ac_has_usleep" = x"yes"; then
|
||||
AC_DEFINE(HAVE_USLEEP,1, [Defined if usleep exists.])
|
||||
fi
|
||||
AC_MSG_RESULT($ac_has_usleep)
|
||||
fi
|
||||
|
||||
if test x"$ac_has_nanosleep$ac_has_win32_sleep$ac_has_sleep" = x"nonono"; then
|
||||
AC_DEFINE(_GLIBCXX_NO_SLEEP,1, [Defined if no way to sleep is available.])
|
||||
fi
|
||||
|
||||
AC_SUBST(GLIBCXX_LIBS)
|
||||
|
||||
CXXFLAGS="$ac_save_CXXFLAGS"
|
||||
LIBS="$ac_save_LIBS"
|
||||
AC_LANG_RESTORE
|
||||
])
|
||||
|
||||
dnl
|
||||
dnl Check for gettimeofday, used in the implementation of 20.11.7
|
||||
dnl [time.clock] in the C++11 standard.
|
||||
dnl
|
||||
dnl needed
|
||||
AC_DEFUN([GLIBCXX_CHECK_GETTIMEOFDAY], [
|
||||
|
||||
AC_MSG_CHECKING([for gettimeofday])
|
||||
|
||||
AC_LANG_SAVE
|
||||
AC_LANG_CPLUSPLUS
|
||||
ac_save_CXXFLAGS="$CXXFLAGS"
|
||||
CXXFLAGS="$CXXFLAGS -fno-exceptions"
|
||||
|
||||
ac_has_gettimeofday=no;
|
||||
AC_CHECK_HEADERS(sys/time.h, ac_has_sys_time_h=yes, ac_has_sys_time_h=no)
|
||||
if test x"$ac_has_sys_time_h" = x"yes"; then
|
||||
AC_MSG_CHECKING([for gettimeofday])
|
||||
GCC_TRY_COMPILE_OR_LINK([#include <sys/time.h>],
|
||||
[timeval tv; gettimeofday(&tv, 0);],
|
||||
[ac_has_gettimeofday=yes], [ac_has_gettimeofday=no])
|
||||
|
||||
AC_MSG_RESULT($ac_has_gettimeofday)
|
||||
fi
|
||||
|
||||
if test x"$ac_has_gettimeofday" = x"yes"; then
|
||||
AC_DEFINE(_GLIBCXX_USE_GETTIMEOFDAY, 1,
|
||||
[ Defined if gettimeofday is available. ])
|
||||
fi
|
||||
|
||||
CXXFLAGS="$ac_save_CXXFLAGS"
|
||||
AC_LANG_RESTORE
|
||||
])
|
||||
|
||||
dnl
|
||||
dnl Check for which locale library to use. The choice is mapped to
|
||||
dnl a subdirectory of config/locale.
|
||||
dnl
|
||||
dnl Default is generic.
|
||||
dnl
|
||||
AC_DEFUN([GLIBCXX_ENABLE_CLOCALE], [
|
||||
GLIBCXX_ENABLE(clocale,auto,[[[=MODEL]]],
|
||||
[use MODEL for target locale package],
|
||||
[permit generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto])
|
||||
|
||||
# Deal with gettext issues. Default to not using it (=no) until we detect
|
||||
# support for it later. Let the user turn it off via --e/d, but let that
|
||||
# default to on for easier handling.
|
||||
USE_NLS=no
|
||||
AC_ARG_ENABLE(nls,
|
||||
AC_HELP_STRING([--enable-nls],[use Native Language Support (default)]),
|
||||
[],
|
||||
[enable_nls=yes])
|
||||
|
||||
# Either a known package, or "auto"
|
||||
if test $enable_clocale = no || test $enable_clocale = yes; then
|
||||
enable_clocale=auto
|
||||
fi
|
||||
enable_clocale_flag=$enable_clocale
|
||||
|
||||
# Probe for locale model to use if none specified.
|
||||
# Default to "generic".
|
||||
if test $enable_clocale_flag = auto; then
|
||||
case ${target_os} in
|
||||
linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
|
||||
enable_clocale_flag=gnu
|
||||
;;
|
||||
darwin*)
|
||||
enable_clocale_flag=darwin
|
||||
;;
|
||||
vxworks*)
|
||||
enable_clocale_flag=vxworks
|
||||
;;
|
||||
dragonfly* | freebsd*)
|
||||
enable_clocale_flag=dragonfly
|
||||
;;
|
||||
openbsd*)
|
||||
enable_clocale_flag=newlib
|
||||
;;
|
||||
*)
|
||||
if test x"$with_newlib" = x"yes"; then
|
||||
enable_clocale_flag=newlib
|
||||
else
|
||||
enable_clocale_flag=generic
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
# Sanity check model, and test for special functionality.
|
||||
if test $enable_clocale_flag = gnu; then
|
||||
AC_EGREP_CPP([_GLIBCXX_ok], [
|
||||
#include <features.h>
|
||||
#if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
|
||||
_GLIBCXX_ok
|
||||
#endif
|
||||
], enable_clocale_flag=gnu, enable_clocale_flag=generic)
|
||||
|
||||
# Set it to scream when it hurts.
|
||||
ac_save_CFLAGS="$CFLAGS"
|
||||
CFLAGS="-Wimplicit-function-declaration -Werror"
|
||||
|
||||
# Use strxfrm_l if available.
|
||||
AC_TRY_COMPILE([#define _GNU_SOURCE 1
|
||||
#include <string.h>
|
||||
#include <locale.h>],
|
||||
[char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);],
|
||||
AC_DEFINE(HAVE_STRXFRM_L, 1,
|
||||
[Define if strxfrm_l is available in <string.h>.]),)
|
||||
|
||||
# Use strerror_l if available.
|
||||
AC_TRY_COMPILE([#define _GNU_SOURCE 1
|
||||
#include <string.h>
|
||||
#include <locale.h>],
|
||||
[__locale_t loc; strerror_l(5, loc);],
|
||||
AC_DEFINE(HAVE_STRERROR_L, 1,
|
||||
[Define if strerror_l is available in <string.h>.]),)
|
||||
|
||||
CFLAGS="$ac_save_CFLAGS"
|
||||
fi
|
||||
|
||||
# Perhaps use strerror_r if available, and strerror_l isn't.
|
||||
ac_save_CFLAGS="$CFLAGS"
|
||||
CFLAGS="-Wimplicit-function-declaration -Werror"
|
||||
AC_TRY_COMPILE([#define _GNU_SOURCE 1
|
||||
#include <string.h>
|
||||
#include <locale.h>],
|
||||
[char s[128]; strerror_r(5, s, 128);],
|
||||
AC_DEFINE(HAVE_STRERROR_R, 1,
|
||||
[Define if strerror_r is available in <string.h>.]),)
|
||||
CFLAGS="$ac_save_CFLAGS"
|
||||
|
||||
# Set configure bits for specified locale package
|
||||
AC_MSG_CHECKING([for C locale to use])
|
||||
case ${enable_clocale_flag} in
|
||||
generic)
|
||||
AC_MSG_RESULT(generic)
|
||||
|
||||
CLOCALE_H=config/locale/generic/c_locale.h
|
||||
CLOCALE_CC=config/locale/generic/c_locale.cc
|
||||
CCODECVT_CC=config/locale/generic/codecvt_members.cc
|
||||
CCOLLATE_CC=config/locale/generic/collate_members.cc
|
||||
CCTYPE_CC=config/locale/generic/ctype_members.cc
|
||||
CMESSAGES_H=config/locale/generic/messages_members.h
|
||||
CMESSAGES_CC=config/locale/generic/messages_members.cc
|
||||
CMONEY_CC=config/locale/generic/monetary_members.cc
|
||||
CNUMERIC_CC=config/locale/generic/numeric_members.cc
|
||||
CTIME_H=config/locale/generic/time_members.h
|
||||
CTIME_CC=config/locale/generic/time_members.cc
|
||||
CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
|
||||
;;
|
||||
darwin)
|
||||
AC_MSG_RESULT(darwin)
|
||||
|
||||
CLOCALE_H=config/locale/generic/c_locale.h
|
||||
CLOCALE_CC=config/locale/generic/c_locale.cc
|
||||
CCODECVT_CC=config/locale/generic/codecvt_members.cc
|
||||
CCOLLATE_CC=config/locale/generic/collate_members.cc
|
||||
CCTYPE_CC=config/locale/darwin/ctype_members.cc
|
||||
CMESSAGES_H=config/locale/generic/messages_members.h
|
||||
CMESSAGES_CC=config/locale/generic/messages_members.cc
|
||||
CMONEY_CC=config/locale/generic/monetary_members.cc
|
||||
CNUMERIC_CC=config/locale/generic/numeric_members.cc
|
||||
CTIME_H=config/locale/generic/time_members.h
|
||||
CTIME_CC=config/locale/generic/time_members.cc
|
||||
CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
|
||||
;;
|
||||
vxworks)
|
||||
AC_MSG_RESULT(vxworks)
|
||||
|
||||
CLOCALE_H=config/locale/generic/c_locale.h
|
||||
CLOCALE_CC=config/locale/generic/c_locale.cc
|
||||
CCODECVT_CC=config/locale/generic/codecvt_members.cc
|
||||
CCOLLATE_CC=config/locale/generic/collate_members.cc
|
||||
CCTYPE_CC=config/locale/vxworks/ctype_members.cc
|
||||
CMESSAGES_H=config/locale/generic/messages_members.h
|
||||
CMESSAGES_CC=config/locale/generic/messages_members.cc
|
||||
CMONEY_CC=config/locale/generic/monetary_members.cc
|
||||
CNUMERIC_CC=config/locale/generic/numeric_members.cc
|
||||
CTIME_H=config/locale/generic/time_members.h
|
||||
CTIME_CC=config/locale/generic/time_members.cc
|
||||
CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
|
||||
;;
|
||||
dragonfly)
|
||||
AC_MSG_RESULT(dragonfly or freebsd)
|
||||
|
||||
CLOCALE_H=config/locale/dragonfly/c_locale.h
|
||||
CLOCALE_CC=config/locale/dragonfly/c_locale.cc
|
||||
CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
|
||||
CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
|
||||
CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
|
||||
CMESSAGES_H=config/locale/generic/messages_members.h
|
||||
CMESSAGES_CC=config/locale/generic/messages_members.cc
|
||||
CMONEY_CC=config/locale/dragonfly/monetary_members.cc
|
||||
CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
|
||||
CTIME_H=config/locale/dragonfly/time_members.h
|
||||
CTIME_CC=config/locale/dragonfly/time_members.cc
|
||||
CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
|
||||
;;
|
||||
|
||||
gnu)
|
||||
AC_MSG_RESULT(gnu)
|
||||
|
||||
# Declare intention to use gettext, and add support for specific
|
||||
# languages.
|
||||
# For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
|
||||
ALL_LINGUAS="de fr"
|
||||
|
||||
# Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
|
||||
AC_CHECK_PROG(check_msgfmt, msgfmt, yes, no)
|
||||
if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
|
||||
USE_NLS=yes
|
||||
fi
|
||||
# Export the build objects.
|
||||
for ling in $ALL_LINGUAS; do \
|
||||
glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
|
||||
glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
|
||||
done
|
||||
AC_SUBST(glibcxx_MOFILES)
|
||||
AC_SUBST(glibcxx_POFILES)
|
||||
|
||||
CLOCALE_H=config/locale/gnu/c_locale.h
|
||||
CLOCALE_CC=config/locale/gnu/c_locale.cc
|
||||
CCODECVT_CC=config/locale/gnu/codecvt_members.cc
|
||||
CCOLLATE_CC=config/locale/gnu/collate_members.cc
|
||||
CCTYPE_CC=config/locale/gnu/ctype_members.cc
|
||||
CMESSAGES_H=config/locale/gnu/messages_members.h
|
||||
CMESSAGES_CC=config/locale/gnu/messages_members.cc
|
||||
CMONEY_CC=config/locale/gnu/monetary_members.cc
|
||||
CNUMERIC_CC=config/locale/gnu/numeric_members.cc
|
||||
CTIME_H=config/locale/gnu/time_members.h
|
||||
CTIME_CC=config/locale/gnu/time_members.cc
|
||||
CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
|
||||
;;
|
||||
ieee_1003.1-2001)
|
||||
AC_MSG_RESULT(IEEE 1003.1)
|
||||
|
||||
CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
|
||||
CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
|
||||
CCODECVT_CC=config/locale/generic/codecvt_members.cc
|
||||
CCOLLATE_CC=config/locale/generic/collate_members.cc
|
||||
CCTYPE_CC=config/locale/generic/ctype_members.cc
|
||||
CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
|
||||
CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
|
||||
CMONEY_CC=config/locale/generic/monetary_members.cc
|
||||
CNUMERIC_CC=config/locale/generic/numeric_members.cc
|
||||
CTIME_H=config/locale/generic/time_members.h
|
||||
CTIME_CC=config/locale/generic/time_members.cc
|
||||
CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
|
||||
;;
|
||||
newlib)
|
||||
AC_MSG_RESULT(newlib)
|
||||
|
||||
CLOCALE_H=config/locale/generic/c_locale.h
|
||||
CLOCALE_CC=config/locale/generic/c_locale.cc
|
||||
CCODECVT_CC=config/locale/generic/codecvt_members.cc
|
||||
CCOLLATE_CC=config/locale/generic/collate_members.cc
|
||||
CCTYPE_CC=config/locale/newlib/ctype_members.cc
|
||||
CMESSAGES_H=config/locale/generic/messages_members.h
|
||||
CMESSAGES_CC=config/locale/generic/messages_members.cc
|
||||
CMONEY_CC=config/locale/generic/monetary_members.cc
|
||||
CNUMERIC_CC=config/locale/generic/numeric_members.cc
|
||||
CTIME_H=config/locale/generic/time_members.h
|
||||
CTIME_CC=config/locale/generic/time_members.cc
|
||||
CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
|
||||
;;
|
||||
esac
|
||||
|
||||
# This is where the testsuite looks for locale catalogs, using the
|
||||
# -DLOCALEDIR define during testsuite compilation.
|
||||
glibcxx_localedir=${glibcxx_builddir}/po/share/locale
|
||||
AC_SUBST(glibcxx_localedir)
|
||||
|
||||
# A standalone libintl (e.g., GNU libintl) may be in use.
|
||||
if test $USE_NLS = yes; then
|
||||
AC_CHECK_HEADERS([libintl.h], [], USE_NLS=no)
|
||||
AC_SEARCH_LIBS(gettext, intl, [], USE_NLS=no)
|
||||
fi
|
||||
if test $USE_NLS = yes; then
|
||||
AC_DEFINE(_GLIBCXX_USE_NLS, 1,
|
||||
[Define if NLS translations are to be used.])
|
||||
fi
|
||||
|
||||
AC_SUBST(USE_NLS)
|
||||
AC_SUBST(CLOCALE_H)
|
||||
AC_SUBST(CMESSAGES_H)
|
||||
AC_SUBST(CCODECVT_CC)
|
||||
AC_SUBST(CCOLLATE_CC)
|
||||
AC_SUBST(CCTYPE_CC)
|
||||
AC_SUBST(CMESSAGES_CC)
|
||||
AC_SUBST(CMONEY_CC)
|
||||
AC_SUBST(CNUMERIC_CC)
|
||||
AC_SUBST(CTIME_H)
|
||||
AC_SUBST(CTIME_CC)
|
||||
AC_SUBST(CLOCALE_CC)
|
||||
AC_SUBST(CLOCALE_INTERNAL_H)
|
||||
])
|
||||
|
||||
|
||||
dnl
|
||||
dnl Check for GNU 128-bit floating point type.
|
||||
dnl
|
||||
dnl Note: also checks that the type isn't a standard types.
|
||||
dnl
|
||||
dnl Defines:
|
||||
dnl ENABLE_FLOAT128
|
||||
dnl
|
||||
AC_DEFUN([GLIBCXX_ENABLE_FLOAT128], [
|
||||
|
||||
AC_LANG_SAVE
|
||||
AC_LANG_CPLUSPLUS
|
||||
|
||||
# Fake what AC_TRY_COMPILE does, without linking as this is
|
||||
# unnecessary for this test.
|
||||
|
||||
cat > conftest.$ac_ext << EOF
|
||||
[#]line __oline__ "configure"
|
||||
template<typename T1, typename T2>
|
||||
struct same
|
||||
{ typedef T2 type; };
|
||||
|
||||
template<typename T>
|
||||
struct same<T, T>;
|
||||
|
||||
int main()
|
||||
{
|
||||
typename same<double, __float128>::type f1;
|
||||
typename same<long double, __float128>::type f2;
|
||||
}
|
||||
EOF
|
||||
|
||||
AC_MSG_CHECKING([for __float128])
|
||||
if AC_TRY_EVAL(ac_compile); then
|
||||
enable_float128=yes
|
||||
else
|
||||
enable_float128=no
|
||||
fi
|
||||
AC_MSG_RESULT($enable_float128)
|
||||
GLIBCXX_CONDITIONAL(ENABLE_FLOAT128, test $enable_float128 = yes)
|
||||
rm -f conftest*
|
||||
|
||||
AC_LANG_RESTORE
|
||||
])
|
||||
|
||||
# Macros from the top-level gcc directory.
|
||||
m4_include([../config/gc++filt.m4])
|
||||
m4_include([../config/tls.m4])
|
||||
m4_include([../config/gthr.m4])
|
||||
m4_include([../config/cet.m4])
|
1
libgm2/aclocal.m4
vendored
1
libgm2/aclocal.m4
vendored
@ -1198,3 +1198,4 @@ m4_include([../config/lead-dot.m4])
|
||||
m4_include([../config/multi.m4])
|
||||
m4_include([../config/no-executables.m4])
|
||||
m4_include([../config/override.m4])
|
||||
m4_include([acinclude.m4])
|
||||
|
@ -6,6 +6,9 @@
|
||||
/* function brk exists */
|
||||
#undef HAVE_BRK
|
||||
|
||||
/* Define to 1 if the target assembler supports thread-local storage. */
|
||||
#undef HAVE_CC_TLS
|
||||
|
||||
/* function cfmakeraw exists */
|
||||
#undef HAVE_CFMAKERAW
|
||||
|
||||
@ -162,6 +165,9 @@
|
||||
/* function signbitl exists */
|
||||
#undef HAVE_SIGNBITL
|
||||
|
||||
/* Defined if sleep exists. */
|
||||
#undef HAVE_SLEEP
|
||||
|
||||
/* function stat exists */
|
||||
#undef HAVE_STAT
|
||||
|
||||
@ -273,6 +279,9 @@
|
||||
/* function unlink exists */
|
||||
#undef HAVE_UNLINK
|
||||
|
||||
/* Defined if usleep exists. */
|
||||
#undef HAVE_USLEEP
|
||||
|
||||
/* function wait exists */
|
||||
#undef HAVE_WAIT
|
||||
|
||||
@ -335,6 +344,31 @@
|
||||
/* Version number of package */
|
||||
#undef VERSION
|
||||
|
||||
/* Defined if no way to sleep is available. */
|
||||
#undef _GLIBCXX_NO_SLEEP
|
||||
|
||||
/* Defined if clock_gettime syscall has monotonic and realtime clock support.
|
||||
*/
|
||||
#undef _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL
|
||||
|
||||
/* Defined if clock_gettime has monotonic clock support. */
|
||||
#undef _GLIBCXX_USE_CLOCK_MONOTONIC
|
||||
|
||||
/* Defined if clock_gettime has realtime clock support. */
|
||||
#undef _GLIBCXX_USE_CLOCK_REALTIME
|
||||
|
||||
/* Defined if gettimeofday is available. */
|
||||
#undef _GLIBCXX_USE_GETTIMEOFDAY
|
||||
|
||||
/* Defined if nanosleep is available. */
|
||||
#undef _GLIBCXX_USE_NANOSLEEP
|
||||
|
||||
/* Defined if sched_yield is available. */
|
||||
#undef _GLIBCXX_USE_SCHED_YIELD
|
||||
|
||||
/* Defined if Sleep exists. */
|
||||
#undef _GLIBCXX_USE_WIN32_SLEEP
|
||||
|
||||
/* Define to 1 if on MINIX. */
|
||||
#undef _MINIX
|
||||
|
||||
|
2216
libgm2/configure
vendored
2216
libgm2/configure
vendored
File diff suppressed because it is too large
Load Diff
@ -77,7 +77,6 @@ GLIBCXX_CHECK_GETTIMEOFDAY
|
||||
# For clock_gettime, nanosleep and sched_yield support.
|
||||
GLIBCXX_ENABLE_LIBSTDCXX_TIME
|
||||
|
||||
|
||||
AM_INIT_AUTOMAKE([1.15.1 no-define foreign no-dist -Wall -Wno-portability])
|
||||
|
||||
AH_TEMPLATE(PACKAGE, [Name of package])
|
||||
|
381
libgm2/configure.host
Normal file
381
libgm2/configure.host
Normal file
@ -0,0 +1,381 @@
|
||||
# configure.host
|
||||
#
|
||||
# This shell script handles all host based configuration for libstdc++.
|
||||
# It sets various shell variables based on the the host and the
|
||||
# configuration options. You can modify this shell script without needing
|
||||
# to rerun autoconf/aclocal/etc. This file is "sourced" not executed.
|
||||
#
|
||||
# You should read docs/html/17_intro/porting.* to make sense of this file.
|
||||
#
|
||||
#
|
||||
# It uses the following shell variables as set by config.guess:
|
||||
# host The configuration host (full CPU-vendor-OS triplet)
|
||||
# host_cpu The configuration host CPU
|
||||
# host_os The configuration host OS
|
||||
#
|
||||
#
|
||||
# It sets the following shell variables:
|
||||
#
|
||||
# cpu_include_dir CPU-specific directory, defaults to cpu/generic
|
||||
# if cpu/host_cpu doesn't exist. This is not used
|
||||
# directly, but sets the default for others.
|
||||
#
|
||||
# os_include_dir OS-specific directory, defaults to os/generic.
|
||||
#
|
||||
# c_model the "C" header model, defaults to c_global.
|
||||
#
|
||||
# c_compatibility if "C" compatibility headers are necessary,
|
||||
# defaults to no.
|
||||
#
|
||||
# abi_baseline_pair directory name for ABI compat testing,
|
||||
# defaults to host_cpu-host_os (as per config.guess)
|
||||
#
|
||||
# abi_baseline_subdir_switch
|
||||
# g++ switch to determine ABI baseline subdir for
|
||||
# multilibbed targets,
|
||||
# defaults to --print-multi-directory
|
||||
#
|
||||
# abi_tweaks_dir location of cxxabi_tweaks.h,
|
||||
# defaults to cpu_include_dir
|
||||
#
|
||||
# atomicity_dir location of atomicity.h,
|
||||
# defaults to cpu_include_dir
|
||||
#
|
||||
# atomic_word_dir location of atomic_word.h
|
||||
# defaults to generic.
|
||||
#
|
||||
# atomic_flags extra flags to pass to use atomic instructions
|
||||
# defaults to nothing.
|
||||
#
|
||||
# cpu_defines_dir location of cpu_defines.h
|
||||
# defaults to generic.
|
||||
#
|
||||
# cpu_opt_bits_random path name of random.h containing CPU-specific
|
||||
# optimizations
|
||||
#
|
||||
# cpu_opt_ext_random path name of random.h containing CPU-specific
|
||||
# optimizations for extensions
|
||||
#
|
||||
# error_constants_dir location of error_constants.h
|
||||
# defaults to os/generic.
|
||||
#
|
||||
# It possibly modifies the following variables:
|
||||
#
|
||||
# OPT_LDFLAGS extra flags to pass when linking the library, of
|
||||
# the form '-Wl,blah'
|
||||
# (defaults to empty in acinclude.m4)
|
||||
#
|
||||
# port_specific_symbol_files
|
||||
# whitespace-separated list of files containing
|
||||
# additional symbols to export from the shared
|
||||
# library, when symbol versioning is in use
|
||||
#
|
||||
# tmake_file A list of machine-description-specific
|
||||
# makefile fragments.
|
||||
#
|
||||
#
|
||||
# If the defaults will not work for your platform, you need only change the
|
||||
# variables that won't work, i.e., you do not need to explicitly set a
|
||||
# working variable to its default. Most hosts only need to change the two
|
||||
# *_include_dir variables.
|
||||
|
||||
|
||||
# DEFAULTS
|
||||
# Try to guess a default cpu_include_dir based on the name of the CPU. We
|
||||
# cannot do this for os_include_dir; there are too many portable operating
|
||||
# systems out there. :-)
|
||||
c_model=c_global
|
||||
c_compatibility=no
|
||||
atomic_word_dir=cpu/generic
|
||||
atomic_flags=""
|
||||
atomicity_dir="cpu/generic"
|
||||
cpu_defines_dir="cpu/generic"
|
||||
try_cpu=generic
|
||||
abi_baseline_subdir_switch=--print-multi-directory
|
||||
abi_tweaks_dir="cpu/generic"
|
||||
error_constants_dir="os/generic"
|
||||
tmake_file=
|
||||
|
||||
# HOST-SPECIFIC OVERRIDES
|
||||
# Set any CPU-dependent bits.
|
||||
|
||||
# Provide a way to funnel exotic flavors and prefixed/postfixed chip
|
||||
# variants into the established source config/cpu/* sub-directories.
|
||||
# THIS TABLE IS SORTED. KEEP IT THAT WAY.
|
||||
case "${host_cpu}" in
|
||||
alpha*)
|
||||
try_cpu=alpha
|
||||
;;
|
||||
arm*)
|
||||
try_cpu=arm
|
||||
;;
|
||||
crisv32)
|
||||
try_cpu=cris
|
||||
;;
|
||||
i[567]86 | x86_64)
|
||||
try_cpu=i486
|
||||
;;
|
||||
hppa*)
|
||||
try_cpu=hppa
|
||||
;;
|
||||
mips*)
|
||||
try_cpu=mips
|
||||
;;
|
||||
powerpc* | rs6000)
|
||||
try_cpu=powerpc
|
||||
;;
|
||||
sparc* | ultrasparc)
|
||||
try_cpu=sparc
|
||||
;;
|
||||
*)
|
||||
if test -d ${glibcxx_srcdir}/config/cpu/${host_cpu}; then
|
||||
try_cpu=${host_cpu}
|
||||
fi
|
||||
esac
|
||||
|
||||
|
||||
# Now look for the file(s) usually tied to a CPU model, and make
|
||||
# default choices for those if they haven't been explicitly set
|
||||
# already.
|
||||
cpu_include_dir=cpu/${try_cpu}
|
||||
|
||||
|
||||
# Set specific CPU overrides for cpu_defines_dir. Most can just use generic.
|
||||
# THIS TABLE IS SORTED. KEEP IT THAT WAY.
|
||||
case "${host_cpu}" in
|
||||
arm*)
|
||||
cpu_defines_dir=cpu/arm
|
||||
;;
|
||||
powerpc* | rs6000)
|
||||
cpu_defines_dir=cpu/powerpc
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
# Set specific CPU overrides for atomic_word_dir and atomic_flags.
|
||||
# Most can just use generic.
|
||||
# THIS TABLE IS SORTED. KEEP IT THAT WAY.
|
||||
case "${host_cpu}" in
|
||||
cris*)
|
||||
atomic_word_dir=cpu/cris
|
||||
;;
|
||||
i[4567]86 | x86_64)
|
||||
atomic_flags="-march=native"
|
||||
;;
|
||||
sparc* | ultrasparc)
|
||||
atomic_word_dir=cpu/sparc
|
||||
atomic_flags="-mcpu=v9"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
# Set specific CPU overrides for atomicity_dir.
|
||||
# This can be over-ridden in GLIBCXX_ENABLE_ATOMIC_BUILTINS.
|
||||
# THIS TABLE IS SORTED. KEEP IT THAT WAY.
|
||||
if test -f ${glibcxx_srcdir}/config/${cpu_include_dir}/atomicity.h ; then
|
||||
atomicity_dir=$cpu_include_dir
|
||||
fi
|
||||
|
||||
|
||||
if test -f ${glibcxx_srcdir}/config/${cpu_include_dir}/cxxabi_tweaks.h ; then
|
||||
abi_tweaks_dir=$cpu_include_dir
|
||||
fi
|
||||
|
||||
|
||||
# Set directory with CPU-specific optimization
|
||||
cpu_opt_dir=${cpu_include_dir}/opt
|
||||
test -d ${glibcxx_srcdir}/config/${cpu_include_dir}/opt ||
|
||||
cpu_opt_dir=cpu/generic/opt
|
||||
# For each header with CPU-specific optimizations check whether it
|
||||
# exists in ${cpu_opt_dir}. If not, point the variable at the
|
||||
# appropriate file in the generic directory.
|
||||
cpu_opt_ext_random=${cpu_opt_dir}/ext/opt_random.h
|
||||
test -f ${glibcxx_srcdir}/config/${cpu_opt_ext_random} ||
|
||||
cpu_opt_ext_random=cpu/generic/opt/ext/opt_random.h
|
||||
|
||||
cpu_opt_bits_random=${cpu_opt_dir}/bits/opt_random.h
|
||||
test -f ${glibcxx_srcdir}/config/${cpu_opt_ext_random} ||
|
||||
cpu_opt_ext_random=cpu/generic/opt/bits/opt_random.h
|
||||
|
||||
|
||||
# Set any OS-dependent bits.
|
||||
# Set the os_include_dir.
|
||||
# Set the error_costants_dir.
|
||||
# Set c_model, c_compatibility here.
|
||||
# If atomic ops and/or numeric limits are OS-specific rather than
|
||||
# CPU-specifc, set those here too.
|
||||
# THIS TABLE IS SORTED. KEEP IT THAT WAY.
|
||||
case "${host_os}" in
|
||||
aix[56789]*)
|
||||
# Newer versions of AIX only support PowerPC architecture, so use
|
||||
# atomic instructions directly.
|
||||
os_include_dir="os/aix"
|
||||
tmake_file="os/aix/t-aix"
|
||||
;;
|
||||
aix*)
|
||||
os_include_dir="os/generic"
|
||||
atomicity_dir="cpu/generic"
|
||||
;;
|
||||
bsd*)
|
||||
# Plain BSD attempts to share FreeBSD files.
|
||||
os_include_dir="os/bsd/freebsd"
|
||||
;;
|
||||
cygwin*)
|
||||
os_include_dir="os/newlib"
|
||||
OPT_LDFLAGS="${OPT_LDFLAGS} \$(lt_host_flags)"
|
||||
;;
|
||||
darwin[4-7] | darwin[4-7].*)
|
||||
# For earlier Darwin, performance is improved if libstdc++ is
|
||||
# single-module. Up to at least 10.3.7, -flat_namespace is required
|
||||
# for proper treatment of coalesced symbols.
|
||||
OPT_LDFLAGS="${OPT_LDFLAGS} -Wl,-single_module -Wl,-flat_namespace"
|
||||
os_include_dir="os/bsd/darwin"
|
||||
;;
|
||||
darwin8 | darwin8.* )
|
||||
# For 8+ compatibility is better if not -flat_namespace.
|
||||
OPT_LDFLAGS="${OPT_LDFLAGS} -Wl,-single_module"
|
||||
case "${host_cpu}" in
|
||||
i[34567]86 | x86_64)
|
||||
OPTIMIZE_CXXFLAGS="${OPTIMIZE_CXXFLAGS} -fvisibility-inlines-hidden"
|
||||
;;
|
||||
esac
|
||||
os_include_dir="os/bsd/darwin"
|
||||
;;
|
||||
darwin*)
|
||||
# Post Darwin8, defaults should be sufficient.
|
||||
os_include_dir="os/bsd/darwin"
|
||||
;;
|
||||
*djgpp*) # leading * picks up "msdosdjgpp"
|
||||
os_include_dir="os/djgpp"
|
||||
error_constants_dir="os/djgpp"
|
||||
;;
|
||||
dragonfly*)
|
||||
os_include_dir="os/bsd/dragonfly"
|
||||
;;
|
||||
freebsd*)
|
||||
os_include_dir="os/bsd/freebsd"
|
||||
;;
|
||||
linux-musl*)
|
||||
os_include_dir="os/generic"
|
||||
;;
|
||||
gnu* | linux* | kfreebsd*-gnu | uclinux*)
|
||||
if [ "$uclibc" = "yes" ]; then
|
||||
os_include_dir="os/uclibc"
|
||||
elif [ "$bionic" = "yes" ]; then
|
||||
os_include_dir="os/bionic"
|
||||
else
|
||||
os_include_dir="os/gnu-linux"
|
||||
fi
|
||||
;;
|
||||
hpux*)
|
||||
os_include_dir="os/hpux"
|
||||
;;
|
||||
mingw32*)
|
||||
case "$host" in
|
||||
*-w64-*)
|
||||
os_include_dir="os/mingw32-w64"
|
||||
error_constants_dir="os/mingw32-w64"
|
||||
;;
|
||||
*)
|
||||
os_include_dir="os/mingw32"
|
||||
error_constants_dir="os/mingw32"
|
||||
;;
|
||||
esac
|
||||
OPT_LDFLAGS="${OPT_LDFLAGS} \$(lt_host_flags)"
|
||||
;;
|
||||
netbsd*)
|
||||
os_include_dir="os/bsd/netbsd"
|
||||
;;
|
||||
openbsd*)
|
||||
os_include_dir="os/bsd/openbsd"
|
||||
;;
|
||||
qnx6.[12]*)
|
||||
os_include_dir="os/qnx/qnx6.1"
|
||||
c_model=c
|
||||
;;
|
||||
rtems*)
|
||||
# Use libatomic if necessary and avoid libstdc++ specific atomicity support
|
||||
atomicity_dir="cpu/generic/atomicity_builtins"
|
||||
;;
|
||||
solaris2*)
|
||||
os_include_dir="os/solaris"
|
||||
;;
|
||||
tpf)
|
||||
os_include_dir="os/tpf"
|
||||
;;
|
||||
vxworks*)
|
||||
os_include_dir="os/vxworks"
|
||||
;;
|
||||
*)
|
||||
os_include_dir="os/generic"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
# Set any OS-dependent and CPU-dependent bits.
|
||||
# THIS TABLE IS SORTED. KEEP IT THAT WAY.
|
||||
case "${host}" in
|
||||
loongarch*)
|
||||
tmake_file="cpu/loongarch/t-loongarch"
|
||||
;;
|
||||
*-*-linux* | *-*-uclinux*)
|
||||
case "${host_cpu}" in
|
||||
i[567]86)
|
||||
abi_baseline_pair=i486-linux-gnu
|
||||
;;
|
||||
mips64*)
|
||||
abi_baseline_pair=mips64-linux-gnu
|
||||
;;
|
||||
powerpc64le*)
|
||||
abi_baseline_pair=powerpc64le-linux-gnu
|
||||
;;
|
||||
powerpc64*)
|
||||
abi_baseline_pair=powerpc64-linux-gnu
|
||||
;;
|
||||
s390)
|
||||
abi_baseline_pair=s390-linux-gnu
|
||||
;;
|
||||
s390x)
|
||||
abi_baseline_pair=s390x-linux-gnu
|
||||
;;
|
||||
sparc64)
|
||||
abi_baseline_pair=sparc64-linux-gnu
|
||||
;;
|
||||
x86_64)
|
||||
abi_baseline_pair=x86_64-linux-gnu
|
||||
;;
|
||||
*)
|
||||
if test $try_cpu = generic; then
|
||||
try_abi_cpu=$host_cpu
|
||||
else
|
||||
try_abi_cpu=$try_cpu
|
||||
fi
|
||||
if test -d ${glibcxx_srcdir}/config/abi/post/${try_abi_cpu}-linux-gnu; then
|
||||
abi_baseline_pair=${try_abi_cpu}-linux-gnu
|
||||
fi
|
||||
esac
|
||||
case "${host}" in
|
||||
arm*-*-linux-* | arm*-*-uclinuxfdpiceabi)
|
||||
port_specific_symbol_files="\$(srcdir)/../config/os/gnu-linux/arm-eabi-extra.ver"
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
arm*-*-freebsd*)
|
||||
port_specific_symbol_files="\$(srcdir)/../config/os/gnu-linux/arm-eabi-extra.ver"
|
||||
;;
|
||||
powerpc*-*-darwin*)
|
||||
port_specific_symbol_files="\$(srcdir)/../config/os/bsd/darwin/ppc-extra.ver"
|
||||
;;
|
||||
*-*-solaris2*)
|
||||
abi_baseline_pair=solaris
|
||||
case "${host_cpu}" in
|
||||
i?86 | x86_64)
|
||||
abi_baseline_pair=i386-${abi_baseline_pair}
|
||||
;;
|
||||
sparc*)
|
||||
abi_baseline_pair=sparc-${abi_baseline_pair}
|
||||
;;
|
||||
esac
|
||||
abi_baseline_subdir_switch=--print-multi-os-directory
|
||||
;;
|
||||
esac
|
@ -116,7 +116,10 @@ am__aclocal_m4_deps = $(top_srcdir)/../libtool.m4 \
|
||||
$(top_srcdir)/../config/lead-dot.m4 \
|
||||
$(top_srcdir)/../config/multi.m4 \
|
||||
$(top_srcdir)/../config/no-executables.m4 \
|
||||
$(top_srcdir)/../config/override.m4 $(top_srcdir)/configure.ac
|
||||
$(top_srcdir)/../config/override.m4 $(top_srcdir)/acinclude.m4 \
|
||||
$(top_srcdir)/../config/gc++filt.m4 \
|
||||
$(top_srcdir)/../config/tls.m4 $(top_srcdir)/../config/gthr.m4 \
|
||||
$(top_srcdir)/../config/cet.m4 $(top_srcdir)/configure.ac
|
||||
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||
$(ACLOCAL_M4)
|
||||
DIST_COMMON = $(srcdir)/Makefile.am
|
||||
@ -246,6 +249,7 @@ ACLOCAL = @ACLOCAL@
|
||||
AMTAR = @AMTAR@
|
||||
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
|
||||
AR = @AR@
|
||||
AS = @AS@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
@ -274,6 +278,7 @@ ECHO_T = @ECHO_T@
|
||||
EGREP = @EGREP@
|
||||
EXEEXT = @EXEEXT@
|
||||
FGREP = @FGREP@
|
||||
GLIBCXX_LIBS = @GLIBCXX_LIBS@
|
||||
GM2_FOR_TARGET = @GM2_FOR_TARGET@
|
||||
GREP = @GREP@
|
||||
INSTALL = @INSTALL@
|
||||
@ -341,6 +346,8 @@ enable_shared = @enable_shared@
|
||||
enable_static = @enable_static@
|
||||
exec_prefix = @exec_prefix@
|
||||
get_gcc_base_ver = @get_gcc_base_ver@
|
||||
glibcxx_builddir = @glibcxx_builddir@
|
||||
glibcxx_srcdir = @glibcxx_srcdir@
|
||||
host = @host@
|
||||
host_alias = @host_alias@
|
||||
host_cpu = @host_cpu@
|
||||
@ -383,6 +390,8 @@ toolexeclibdir = @toolexeclibdir@
|
||||
top_build_prefix = @top_build_prefix@
|
||||
top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
toplevel_builddir = @toplevel_builddir@
|
||||
toplevel_srcdir = @toplevel_srcdir@
|
||||
SUFFIXES = .c .cc .mod .def .o .obj .lo .a .la
|
||||
ACLOCAL_AMFLAGS = -I .. -I ../config
|
||||
|
||||
|
@ -116,7 +116,10 @@ am__aclocal_m4_deps = $(top_srcdir)/../libtool.m4 \
|
||||
$(top_srcdir)/../config/lead-dot.m4 \
|
||||
$(top_srcdir)/../config/multi.m4 \
|
||||
$(top_srcdir)/../config/no-executables.m4 \
|
||||
$(top_srcdir)/../config/override.m4 $(top_srcdir)/configure.ac
|
||||
$(top_srcdir)/../config/override.m4 $(top_srcdir)/acinclude.m4 \
|
||||
$(top_srcdir)/../config/gc++filt.m4 \
|
||||
$(top_srcdir)/../config/tls.m4 $(top_srcdir)/../config/gthr.m4 \
|
||||
$(top_srcdir)/../config/cet.m4 $(top_srcdir)/configure.ac
|
||||
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||
$(ACLOCAL_M4)
|
||||
DIST_COMMON = $(srcdir)/Makefile.am
|
||||
@ -270,6 +273,7 @@ ACLOCAL = @ACLOCAL@
|
||||
AMTAR = @AMTAR@
|
||||
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
|
||||
AR = @AR@
|
||||
AS = @AS@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
@ -298,6 +302,7 @@ ECHO_T = @ECHO_T@
|
||||
EGREP = @EGREP@
|
||||
EXEEXT = @EXEEXT@
|
||||
FGREP = @FGREP@
|
||||
GLIBCXX_LIBS = @GLIBCXX_LIBS@
|
||||
GM2_FOR_TARGET = @GM2_FOR_TARGET@
|
||||
GREP = @GREP@
|
||||
INSTALL = @INSTALL@
|
||||
@ -365,6 +370,8 @@ enable_shared = @enable_shared@
|
||||
enable_static = @enable_static@
|
||||
exec_prefix = @exec_prefix@
|
||||
get_gcc_base_ver = @get_gcc_base_ver@
|
||||
glibcxx_builddir = @glibcxx_builddir@
|
||||
glibcxx_srcdir = @glibcxx_srcdir@
|
||||
host = @host@
|
||||
host_alias = @host_alias@
|
||||
host_cpu = @host_cpu@
|
||||
@ -408,6 +415,8 @@ toolexeclibdir = @toolexeclibdir@
|
||||
top_build_prefix = @top_build_prefix@
|
||||
top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
toplevel_builddir = @toplevel_builddir@
|
||||
toplevel_srcdir = @toplevel_srcdir@
|
||||
SUFFIXES = .c .cc .mod .def .o .obj .lo .a .la
|
||||
ACLOCAL_AMFLAGS = -I .. -I ../config
|
||||
|
||||
|
@ -116,7 +116,10 @@ am__aclocal_m4_deps = $(top_srcdir)/../libtool.m4 \
|
||||
$(top_srcdir)/../config/lead-dot.m4 \
|
||||
$(top_srcdir)/../config/multi.m4 \
|
||||
$(top_srcdir)/../config/no-executables.m4 \
|
||||
$(top_srcdir)/../config/override.m4 $(top_srcdir)/configure.ac
|
||||
$(top_srcdir)/../config/override.m4 $(top_srcdir)/acinclude.m4 \
|
||||
$(top_srcdir)/../config/gc++filt.m4 \
|
||||
$(top_srcdir)/../config/tls.m4 $(top_srcdir)/../config/gthr.m4 \
|
||||
$(top_srcdir)/../config/cet.m4 $(top_srcdir)/configure.ac
|
||||
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||
$(ACLOCAL_M4)
|
||||
DIST_COMMON = $(srcdir)/Makefile.am
|
||||
@ -235,6 +238,7 @@ ACLOCAL = @ACLOCAL@
|
||||
AMTAR = @AMTAR@
|
||||
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
|
||||
AR = @AR@
|
||||
AS = @AS@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
@ -263,6 +267,7 @@ ECHO_T = @ECHO_T@
|
||||
EGREP = @EGREP@
|
||||
EXEEXT = @EXEEXT@
|
||||
FGREP = @FGREP@
|
||||
GLIBCXX_LIBS = @GLIBCXX_LIBS@
|
||||
GM2_FOR_TARGET = @GM2_FOR_TARGET@
|
||||
GREP = @GREP@
|
||||
INSTALL = @INSTALL@
|
||||
@ -330,6 +335,8 @@ enable_shared = @enable_shared@
|
||||
enable_static = @enable_static@
|
||||
exec_prefix = @exec_prefix@
|
||||
get_gcc_base_ver = @get_gcc_base_ver@
|
||||
glibcxx_builddir = @glibcxx_builddir@
|
||||
glibcxx_srcdir = @glibcxx_srcdir@
|
||||
host = @host@
|
||||
host_alias = @host_alias@
|
||||
host_cpu = @host_cpu@
|
||||
@ -372,6 +379,8 @@ toolexeclibdir = @toolexeclibdir@
|
||||
top_build_prefix = @top_build_prefix@
|
||||
top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
toplevel_builddir = @toplevel_builddir@
|
||||
toplevel_srcdir = @toplevel_srcdir@
|
||||
SUFFIXES = .c .mod .def .o .obj .lo .a .la
|
||||
ACLOCAL_AMFLAGS = -I .. -I ../config
|
||||
|
||||
|
@ -116,7 +116,10 @@ am__aclocal_m4_deps = $(top_srcdir)/../libtool.m4 \
|
||||
$(top_srcdir)/../config/lead-dot.m4 \
|
||||
$(top_srcdir)/../config/multi.m4 \
|
||||
$(top_srcdir)/../config/no-executables.m4 \
|
||||
$(top_srcdir)/../config/override.m4 $(top_srcdir)/configure.ac
|
||||
$(top_srcdir)/../config/override.m4 $(top_srcdir)/acinclude.m4 \
|
||||
$(top_srcdir)/../config/gc++filt.m4 \
|
||||
$(top_srcdir)/../config/tls.m4 $(top_srcdir)/../config/gthr.m4 \
|
||||
$(top_srcdir)/../config/cet.m4 $(top_srcdir)/configure.ac
|
||||
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||
$(ACLOCAL_M4)
|
||||
DIST_COMMON = $(srcdir)/Makefile.am
|
||||
@ -225,6 +228,7 @@ ACLOCAL = @ACLOCAL@
|
||||
AMTAR = @AMTAR@
|
||||
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
|
||||
AR = @AR@
|
||||
AS = @AS@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
@ -253,6 +257,7 @@ ECHO_T = @ECHO_T@
|
||||
EGREP = @EGREP@
|
||||
EXEEXT = @EXEEXT@
|
||||
FGREP = @FGREP@
|
||||
GLIBCXX_LIBS = @GLIBCXX_LIBS@
|
||||
GM2_FOR_TARGET = @GM2_FOR_TARGET@
|
||||
GREP = @GREP@
|
||||
INSTALL = @INSTALL@
|
||||
@ -320,6 +325,8 @@ enable_shared = @enable_shared@
|
||||
enable_static = @enable_static@
|
||||
exec_prefix = @exec_prefix@
|
||||
get_gcc_base_ver = @get_gcc_base_ver@
|
||||
glibcxx_builddir = @glibcxx_builddir@
|
||||
glibcxx_srcdir = @glibcxx_srcdir@
|
||||
host = @host@
|
||||
host_alias = @host_alias@
|
||||
host_cpu = @host_cpu@
|
||||
@ -362,6 +369,8 @@ toolexeclibdir = @toolexeclibdir@
|
||||
top_build_prefix = @top_build_prefix@
|
||||
top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
toplevel_builddir = @toplevel_builddir@
|
||||
toplevel_srcdir = @toplevel_srcdir@
|
||||
SUFFIXES = .c .mod .def .o .obj .lo .a .la
|
||||
ACLOCAL_AMFLAGS = -I .. -I ../config
|
||||
|
||||
|
@ -116,7 +116,10 @@ am__aclocal_m4_deps = $(top_srcdir)/../libtool.m4 \
|
||||
$(top_srcdir)/../config/lead-dot.m4 \
|
||||
$(top_srcdir)/../config/multi.m4 \
|
||||
$(top_srcdir)/../config/no-executables.m4 \
|
||||
$(top_srcdir)/../config/override.m4 $(top_srcdir)/configure.ac
|
||||
$(top_srcdir)/../config/override.m4 $(top_srcdir)/acinclude.m4 \
|
||||
$(top_srcdir)/../config/gc++filt.m4 \
|
||||
$(top_srcdir)/../config/tls.m4 $(top_srcdir)/../config/gthr.m4 \
|
||||
$(top_srcdir)/../config/cet.m4 $(top_srcdir)/configure.ac
|
||||
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||
$(ACLOCAL_M4)
|
||||
DIST_COMMON = $(srcdir)/Makefile.am
|
||||
@ -260,6 +263,7 @@ ACLOCAL = @ACLOCAL@
|
||||
AMTAR = @AMTAR@
|
||||
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
|
||||
AR = @AR@
|
||||
AS = @AS@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
@ -288,6 +292,7 @@ ECHO_T = @ECHO_T@
|
||||
EGREP = @EGREP@
|
||||
EXEEXT = @EXEEXT@
|
||||
FGREP = @FGREP@
|
||||
GLIBCXX_LIBS = @GLIBCXX_LIBS@
|
||||
GM2_FOR_TARGET = @GM2_FOR_TARGET@
|
||||
GREP = @GREP@
|
||||
INSTALL = @INSTALL@
|
||||
@ -355,6 +360,8 @@ enable_shared = @enable_shared@
|
||||
enable_static = @enable_static@
|
||||
exec_prefix = @exec_prefix@
|
||||
get_gcc_base_ver = @get_gcc_base_ver@
|
||||
glibcxx_builddir = @glibcxx_builddir@
|
||||
glibcxx_srcdir = @glibcxx_srcdir@
|
||||
host = @host@
|
||||
host_alias = @host_alias@
|
||||
host_cpu = @host_cpu@
|
||||
@ -397,6 +404,8 @@ toolexeclibdir = @toolexeclibdir@
|
||||
top_build_prefix = @top_build_prefix@
|
||||
top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
toplevel_builddir = @toplevel_builddir@
|
||||
toplevel_srcdir = @toplevel_srcdir@
|
||||
SUFFIXES = .c .mod .def .o .obj .lo .a .la
|
||||
ACLOCAL_AMFLAGS = -I .. -I ../config
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user