mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-24 11:24:05 +08:00
acinclude.m4: Uniform formatting.
2002-11-21 Phil Edwards <pme@gcc.gnu.org> * acinclude.m4: Uniform formatting. * configure.in: x * configure.target: x * aclocal.m4, configure: Regenerate. From-SVN: r59328
This commit is contained in:
parent
a8a4259d5c
commit
974e336bb1
@ -1,3 +1,10 @@
|
||||
2002-11-21 Phil Edwards <pme@gcc.gnu.org>
|
||||
|
||||
* acinclude.m4: Uniform formatting.
|
||||
* configure.in: x
|
||||
* configure.target: x
|
||||
* aclocal.m4, configure: Regenerate.
|
||||
|
||||
2002-11-21 Phil Edwards <pme@gcc.gnu.org>
|
||||
|
||||
* include/bits/streambuf.tcc (basic_streambuf::sputbackc): Prefix
|
||||
|
@ -921,9 +921,9 @@ dnl compilation, pick them up here.
|
||||
dnl
|
||||
dnl GLIBCPP_CHECK_TARGET
|
||||
AC_DEFUN(GLIBCPP_CHECK_TARGET, [
|
||||
. [$]{glibcpp_basedir}/configure.target
|
||||
AC_MSG_RESULT(CPU config directory is $cpu_include_dir)
|
||||
AC_MSG_RESULT(OS config directory is $os_include_dir)
|
||||
. [$]{glibcpp_basedir}/configure.target
|
||||
AC_MSG_RESULT(CPU config directory is $cpu_include_dir)
|
||||
AC_MSG_RESULT(OS config directory is $os_include_dir)
|
||||
])
|
||||
|
||||
|
||||
@ -1120,14 +1120,14 @@ fi
|
||||
dnl Run through flags (either default or command-line) and set anything
|
||||
dnl extra (e.g., #defines) that must accompany particular g++ options.
|
||||
if test -n "$enable_cxx_flags"; then
|
||||
for f in $enable_cxx_flags; do
|
||||
case "$f" in
|
||||
-fhonor-std) ;;
|
||||
-*) ;;
|
||||
*) # and we're trying to pass /what/ exactly?
|
||||
AC_MSG_ERROR([compiler flags start with a -]) ;;
|
||||
esac
|
||||
done
|
||||
for f in $enable_cxx_flags; do
|
||||
case "$f" in
|
||||
-fhonor-std) ;;
|
||||
-*) ;;
|
||||
*) # and we're trying to pass /what/ exactly?
|
||||
AC_MSG_ERROR([compiler flags start with a -]) ;;
|
||||
esac
|
||||
done
|
||||
fi
|
||||
EXTRA_CXX_FLAGS="$enable_cxx_flags"
|
||||
AC_SUBST(EXTRA_CXX_FLAGS)
|
||||
|
49
libstdc++-v3/aclocal.m4
vendored
49
libstdc++-v3/aclocal.m4
vendored
@ -933,9 +933,9 @@ dnl compilation, pick them up here.
|
||||
dnl
|
||||
dnl GLIBCPP_CHECK_TARGET
|
||||
AC_DEFUN(GLIBCPP_CHECK_TARGET, [
|
||||
. [$]{glibcpp_basedir}/configure.target
|
||||
AC_MSG_RESULT(CPU config directory is $cpu_include_dir)
|
||||
AC_MSG_RESULT(OS config directory is $os_include_dir)
|
||||
. [$]{glibcpp_basedir}/configure.target
|
||||
AC_MSG_RESULT(CPU config directory is $cpu_include_dir)
|
||||
AC_MSG_RESULT(OS config directory is $os_include_dir)
|
||||
])
|
||||
|
||||
|
||||
@ -1132,14 +1132,14 @@ fi
|
||||
dnl Run through flags (either default or command-line) and set anything
|
||||
dnl extra (e.g., #defines) that must accompany particular g++ options.
|
||||
if test -n "$enable_cxx_flags"; then
|
||||
for f in $enable_cxx_flags; do
|
||||
case "$f" in
|
||||
-fhonor-std) ;;
|
||||
-*) ;;
|
||||
*) # and we're trying to pass /what/ exactly?
|
||||
AC_MSG_ERROR([compiler flags start with a -]) ;;
|
||||
esac
|
||||
done
|
||||
for f in $enable_cxx_flags; do
|
||||
case "$f" in
|
||||
-fhonor-std) ;;
|
||||
-*) ;;
|
||||
*) # and we're trying to pass /what/ exactly?
|
||||
AC_MSG_ERROR([compiler flags start with a -]) ;;
|
||||
esac
|
||||
done
|
||||
fi
|
||||
EXTRA_CXX_FLAGS="$enable_cxx_flags"
|
||||
AC_SUBST(EXTRA_CXX_FLAGS)
|
||||
@ -2262,6 +2262,33 @@ AC_MSG_RESULT($enable_symvers)
|
||||
])
|
||||
|
||||
|
||||
# isc-posix.m4 serial 2 (gettext-0.11.2)
|
||||
dnl Copyright (C) 1995-2002 Free Software Foundation, Inc.
|
||||
dnl This file is free software, distributed under the terms of the GNU
|
||||
dnl General Public License. As a special exception to the GNU General
|
||||
dnl Public License, this file may be distributed as part of a program
|
||||
dnl that contains a configuration script generated by Autoconf, under
|
||||
dnl the same distribution terms as the rest of that program.
|
||||
|
||||
# This file is not needed with autoconf-2.53 and newer. Remove it in 2005.
|
||||
|
||||
# This test replaces the one in autoconf.
|
||||
# Currently this macro should have the same name as the autoconf macro
|
||||
# because gettext's gettext.m4 (distributed in the automake package)
|
||||
# still uses it. Otherwise, the use in gettext.m4 makes autoheader
|
||||
# give these diagnostics:
|
||||
# configure.in:556: AC_TRY_COMPILE was called before AC_ISC_POSIX
|
||||
# configure.in:556: AC_TRY_RUN was called before AC_ISC_POSIX
|
||||
|
||||
undefine([AC_ISC_POSIX])
|
||||
|
||||
AC_DEFUN([AC_ISC_POSIX],
|
||||
[
|
||||
dnl This test replaces the obsolescent AC_ISC_POSIX kludge.
|
||||
AC_CHECK_LIB(cposix, strerror, [LIBS="$LIBS -lcposix"])
|
||||
]
|
||||
)
|
||||
|
||||
# Add --enable-maintainer-mode option to configure.
|
||||
# From Jim Meyering
|
||||
|
||||
|
2543
libstdc++-v3/configure
vendored
2543
libstdc++-v3/configure
vendored
File diff suppressed because it is too large
Load Diff
@ -70,6 +70,19 @@ GLIBCPP_ENABLE_CONCEPT_CHECKS
|
||||
# Check for headers necessary for libsupc++ using dyn-string.c/cxa_demangle.c
|
||||
AC_CHECK_HEADERS(string.h stdlib.h)
|
||||
|
||||
# No surprises, no surprises...
|
||||
if test $ATOMICITYH = cpu/generic ; then
|
||||
AC_MSG_WARN([No native atomic operations are provided yet for this platform.])
|
||||
if test $target_thread_file = single; then
|
||||
AC_MSG_WARN([They cannot be faked when thread support is disabled.])
|
||||
AC_MSG_WARN([Thread-safety of certain classes is not guaranteed.])
|
||||
else
|
||||
AC_MSG_WARN([They will be faked using a mutex.])
|
||||
AC_MSG_WARN([Performance of certain classes will degrade as a result.])
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
if test -n "$with_cross_host" || test x"$build" != x"$host"; then
|
||||
|
||||
# We are being configured with some form of cross compiler.
|
||||
@ -417,7 +430,7 @@ GLIBCPP_ENABLE_SYMVERS([yes])
|
||||
|
||||
# Propagate the target-specific source directories through the build chain.
|
||||
# (Nothing currently uses cpu_include_dir directly; only ATOMICITYH
|
||||
# uses it, and they only get used here.)
|
||||
# uses it, and it only gets used in this file.)
|
||||
OS_INC_SRCDIR=config/${os_include_dir}
|
||||
ATOMICITY_INC_SRCDIR=config/${ATOMICITYH}
|
||||
AC_SUBST(OS_INC_SRCDIR)
|
||||
|
@ -18,7 +18,7 @@
|
||||
#
|
||||
# cpu_include_dir CPU-specific directory, defaults to cpu/generic
|
||||
# if cpu/target_cpu doesn't exist. This is
|
||||
# used to set the next two:
|
||||
# used to set ATOMICITYH.
|
||||
#
|
||||
# os_include_dir OS-specific directory, defaults to os/generic.
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user