summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorRich Megginson <rmeggins@redhat.com>2008-10-13 16:32:43 +0000
committerRich Megginson <rmeggins@redhat.com>2008-10-13 16:32:43 +0000
commitf7bc5b0691f58138eeb7783af9743de4410b46c4 (patch)
tree263a237fc76955e43326b00b8450d7ad74b24ade /configure.ac
parentc556522a1848bdbe50842a5be8300a2e80cf4d3e (diff)
downloadds-f7bc5b0691f58138eeb7783af9743de4410b46c4.tar.gz
ds-f7bc5b0691f58138eeb7783af9743de4410b46c4.tar.xz
ds-f7bc5b0691f58138eeb7783af9743de4410b46c4.zip
fix inttypes build breakage on HP-UX
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 962d1157..ce0cf471 100644
--- a/configure.ac
+++ b/configure.ac
@@ -300,6 +300,7 @@ case $host in
AC_DEFINE([OS_hpux], [1], [OS HP-UX])
AC_DEFINE([_POSIX_C_SOURCE], [199506L], [POSIX revision])
AC_DEFINE([_HPUX_SOURCE], [1], [Source namespace])
+ AC_DEFINE([_INCLUDE_STDC__SOURCE_199901], [1], [to pick up all of the printf format macros in inttypes.h])
# assume 64 bit
perlexec='/opt/perl_64/bin/perl'
platform="hpux"
@@ -315,6 +316,7 @@ case $host in
AC_DEFINE([OS_hpux], [1], [OS HP-UX])
AC_DEFINE([_POSIX_C_SOURCE], [199506L], [POSIX revision])
AC_DEFINE([_HPUX_SOURCE], [1], [Source namespace])
+ AC_DEFINE([_INCLUDE_STDC__SOURCE_199901], [1], [to pick up all of the printf format macros in inttypes.h])
# assume 64 bit
initconfigdir="/$PACKAGE_NAME/config"
perlexec='/opt/perl_64/bin/perl'