revert removal of orc-stdint.h
authorDavid Schleef <ds@schleef.org>
Sat, 12 Jun 2010 05:37:48 +0000 (22:37 -0700)
committerDavid Schleef <ds@schleef.org>
Sat, 12 Jun 2010 05:39:08 +0000 (22:39 -0700)
Turns out this is part of the API.  Oops.

configure.ac
orc/Makefile.am
orc/orc.h

index a120c96..93cea8f 100644 (file)
@@ -43,6 +43,8 @@ AS_HOST_DEFINES()
 
 AC_C_BIGENDIAN
 
+AX_CREATE_STDINT_H([orc/orc-stdint.h])
+
 AC_FUNC_MMAP()
 
 AC_CHECK_HEADERS([inttypes.h])
index 7c4a304..1ad75bc 100644 (file)
@@ -84,6 +84,11 @@ pkginclude_HEADERS = \
        orcpowerpc.h \
        orcarm.h
 
+nodist_pkginclude_HEADERS = orc-stdint.h
+
+DISTCLEANFILES = orc-stdint.h
+
+
 orcfunctions:
        $(top_builddir)/tools/orcc$(EXEEXT) --implementation -o orcfunctions.c orcfunctions.orc
        $(top_builddir)/tools/orcc$(EXEEXT) --header -o orcfunctions.h orcfunctions.orc
index d6e8bc6..3f711be 100644 (file)
--- a/orc/orc.h
+++ b/orc/orc.h
@@ -3,6 +3,7 @@
 #define _ORC_ORC_H_
 
 #include <orc/orcprogram.h>
+#include <orc/orc-stdint.h>
 #include <orc/orcarm.h>
 #include <orc/orcdebug.h>
 #include <orc/orcfunctions.h>