summaryrefslogtreecommitdiff
path: root/libquadmath
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2013-12-04 10:49:14 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2013-12-04 10:49:14 +0000
commitb21fbbd29cee0d18b2e5babf2bee470db98ebb51 (patch)
tree8384e299ea2272fcb6b76c7a441d7527786db327 /libquadmath
parenta88bf705531216cbdb8637836caf2b228d49d175 (diff)
longlong.h: New file.
include/ * longlong.h: New file. libgcc/ * longlong.h: Delete (moved to include/). libquadmath/ * Makefile.am (AM_CPPFLAGS): Define. * Makefile.in: Regenerate. * printf/gmp-impl.h: Remove path from longlong.h include. From-SVN: r205659
Diffstat (limited to 'libquadmath')
-rw-r--r--libquadmath/ChangeLog6
-rw-r--r--libquadmath/Makefile.am1
-rw-r--r--libquadmath/Makefile.in1
-rw-r--r--libquadmath/printf/gmp-impl.h2
4 files changed, 9 insertions, 1 deletions
diff --git a/libquadmath/ChangeLog b/libquadmath/ChangeLog
index d3c17f67d5d..804a3d54551 100644
--- a/libquadmath/ChangeLog
+++ b/libquadmath/ChangeLog
@@ -1,3 +1,9 @@
+2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
+
+ * Makefile.am (AM_CPPFLAGS): Define.
+ * Makefile.in: Regenerate.
+ * printf/gmp-impl.h: Remove path from longlong.h include.
+
2013-09-20 Alan Modra <amodra@gmail.com>
* configure: Regenerate.
diff --git a/libquadmath/Makefile.am b/libquadmath/Makefile.am
index 6c97ee81c5c..6519731b9b9 100644
--- a/libquadmath/Makefile.am
+++ b/libquadmath/Makefile.am
@@ -6,6 +6,7 @@ AUTOMAKE_OPTIONS = 1.8 foreign
## Skip over everything if the quadlib is not available:
if BUILD_LIBQUADMATH
ACLOCAL_AMFLAGS = -I .. -I ../config
+AM_CPPFLAGS = -I $(top_srcdir)/../include
## May be used by toolexeclibdir.
gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
diff --git a/libquadmath/Makefile.in b/libquadmath/Makefile.in
index 92c5d256d5a..331780931af 100644
--- a/libquadmath/Makefile.in
+++ b/libquadmath/Makefile.in
@@ -310,6 +310,7 @@ top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
AUTOMAKE_OPTIONS = 1.8 foreign
@BUILD_LIBQUADMATH_TRUE@ACLOCAL_AMFLAGS = -I .. -I ../config
+@BUILD_LIBQUADMATH_TRUE@AM_CPPFLAGS = -I $(top_srcdir)/../include
@BUILD_LIBQUADMATH_TRUE@gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
@BUILD_LIBQUADMATH_TRUE@@LIBQUAD_USE_SYMVER_FALSE@version_arg =
@BUILD_LIBQUADMATH_TRUE@@LIBQUAD_USE_SYMVER_GNU_TRUE@@LIBQUAD_USE_SYMVER_TRUE@version_arg = -Wl,--version-script=$(srcdir)/quadmath.map
diff --git a/libquadmath/printf/gmp-impl.h b/libquadmath/printf/gmp-impl.h
index 0f1419277de..969574c853a 100644
--- a/libquadmath/printf/gmp-impl.h
+++ b/libquadmath/printf/gmp-impl.h
@@ -60,7 +60,7 @@ typedef unsigned int UHWtype;
#define attribute_hidden
#endif
-#include "../../libgcc/longlong.h"
+#include "longlong.h"
/* Copy NLIMBS *limbs* from SRC to DST. */
#define MPN_COPY_INCR(DST, SRC, NLIMBS) \