From 71707d824a13817d625f1da32799f9f85705ff48 Mon Sep 17 00:00:00 2001 From: Michael Lotz Date: Wed, 28 Jan 2009 16:09:58 +0000 Subject: [PATCH] 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 --- 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 -- gitore 0.2.2