summaryrefslogtreecommitdiff
path: root/devel/libbegemot/files/patch-configure.ac
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2005-09-20 10:54:55 +0000
committerRenato Botelho <garga@FreeBSD.org>2005-09-20 10:54:55 +0000
commit35a2d230ba9b8aa3ae90c63ff4070dda29ca26ce (patch)
tree3344af35a25b28bc2ca930637352373786489e39 /devel/libbegemot/files/patch-configure.ac
parent- fix build on 7-current [1] (diff)
Add libbegemot 1.11, a function library for begemot tools.
PR: ports/86327 Submitted by: Andrey V. Elsukov <bu7cher@yandex.ru>
Notes
Notes: svn path=/head/; revision=143200
Diffstat (limited to 'devel/libbegemot/files/patch-configure.ac')
-rw-r--r--devel/libbegemot/files/patch-configure.ac28
1 files changed, 28 insertions, 0 deletions
diff --git a/devel/libbegemot/files/patch-configure.ac b/devel/libbegemot/files/patch-configure.ac
new file mode 100644
index 000000000000..4ce632092c33
--- /dev/null
+++ b/devel/libbegemot/files/patch-configure.ac
@@ -0,0 +1,28 @@
+--- configure.ac.orig Thu Sep 15 14:18:10 2005
++++ configure.ac Thu Sep 15 15:34:24 2005
+@@ -232,8 +232,14 @@
+ AC_CACHE_CHECK([how to print quads],
+ ac_cv_quad_fmt,
+ [if test "$ac_have_inttypes_h" = "yes" ; then
+- ac_cv_quad_fmt=PRIu64
+- else
++ AC_EGREP_CPP(yes,
++[
++# include <inttypes.h>
++# ifdef PRIu64
++yes
++# endif
++],
++ ac_cv_quad_fmt=PRIu64,
+ AC_TRY_RUN(
+ [[
+ # include <stdio.h>
+@@ -251,7 +257,7 @@
+ ac_cv_quad_fmt='"q"',
+ ac_cv_quad_fmt='"ll"',
+ ac_cv_quad_fmt='"ll"')
+- fi ])
++ fi ]))
+ AC_DEFINE_UNQUOTED(QUADFMT, $ac_cv_quad_fmt)
+
+ # ------------------------------------------------------------