Skip to content

Commit

Permalink
create installable stdint.h and use that
Browse files Browse the repository at this point in the history
  • Loading branch information
bit committed Jun 28, 2010
1 parent 5f0ffb8 commit c595356
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Makefile.am
Expand Up @@ -22,7 +22,7 @@ pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = nestegg.pc

nesteggincludedir = $(includedir)/nestegg
nestegginclude_HEADERS = include/nestegg/nestegg.h
nestegginclude_HEADERS = include/nestegg/nestegg.h include/nestegg/nestegg-stdint.h

lib_LTLIBRARIES = src/libnestegg.la

Expand All @@ -39,7 +39,7 @@ check_PROGRAMS = test/test
test_test_SOURCES = test/test.c
test_test_LDADD = src/libnestegg.la

DISTCLEANFILES = _stdint.h
DISTCLEANFILES = include/nestegg/nestegg-stdint.h

dist-hook:
find $(distdir) -type d -name '.git' | xargs rm -rf
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Expand Up @@ -65,7 +65,7 @@ if test $HAVE_DOXYGEN = "false"; then
fi

# Generate portable stdint.h replacement
AX_CREATE_STDINT_H
AX_CREATE_STDINT_H(include/nestegg/nestegg-stdint.h)

# Test whenever ld supports -version-script
AC_PROG_LD
Expand Down
2 changes: 1 addition & 1 deletion include/nestegg/nestegg.h
Expand Up @@ -7,7 +7,7 @@
#ifndef NESTEGG_671cac2a_365d_ed69_d7a3_4491d3538d79
#define NESTEGG_671cac2a_365d_ed69_d7a3_4491d3538d79

#include "_stdint.h"
#include <nestegg/nestegg-stdint.h>

#ifdef __cplusplus
extern "C" {
Expand Down

0 comments on commit c595356

Please sign in to comment.