⛏️ index : buildtools.git

author Michael Lotz <mmlr@mlotz.ch> 2009-01-28 16:09:58.0 +00:00:00
committer Michael Lotz <mmlr@mlotz.ch> 2009-01-28 16:09:58.0 +00:00:00
commit
71707d824a13817d625f1da32799f9f85705ff48 [patch]
tree
7f421207ea9ab9e9feaa779e0e55c3769354712a
parent
87cbf3a69a86f5f74e8fce0ab7f148ff6d9416e5
download
71707d824a13817d625f1da32799f9f85705ff48.tar.gz

Put the changes to the generated build files into their .ac/.am source.

git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29075 a95241bf-73f2-0310-859d-f6bbb57e9c96

Diff

 gcc/gcc/configure.ac |  9 +++++++++
 gcc/mpfr/Makefile.am |  2 +-
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/gcc/gcc/configure.ac b/gcc/gcc/configure.ac
index 63d3194..2b8cdee 100644
--- a/gcc/gcc/configure.ac
+++ b/gcc/gcc/configure.ac
@@ -945,6 +945,15 @@
# --------


# Configure -lm usage for host tools that need it
math_library="-lm"
case $host in
  *-*-haiku*)
    # no separate math library needed
    math_library=
    ;;
esac

# These libraries may be used by collect2.
# We may need a special search path to get them linked.
AC_CACHE_CHECK(for collect2 libraries, gcc_cv_collect2_libs,
diff --git a/gcc/mpfr/Makefile.am b/gcc/mpfr/Makefile.am
index 61662e3..d057aa2 100644
--- a/gcc/mpfr/Makefile.am
+++ b/gcc/mpfr/Makefile.am
@@ -33,7 +33,7 @@
MAKEINFOFLAGS = --enable-encoding

get_patches.c: PATCHES get_patches.sh
	./get_patches.sh > $@ || rm -f $@
	$(srcdir)/get_patches.sh > $@ || rm -f $@

# Do not add get_patches.c to CLEANFILES so that this file doesn't
# need to be (re)built as long as no patches are applied. Anyway the