|
Revision 2, 1.0 kB
(checked in by jordi, 2 years ago)
|
Added the initial source layout with autotools and gettext support. Still no code for the project.
|
| Line | |
|---|
| 1 |
|
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 |
AC_DEFUN([gt_INTTYPES_PRI], |
|---|
| 13 |
[ |
|---|
| 14 |
AC_REQUIRE([gt_HEADER_INTTYPES_H]) |
|---|
| 15 |
if test $gt_cv_header_inttypes_h = yes; then |
|---|
| 16 |
AC_CACHE_CHECK([whether the inttypes.h PRIxNN macros are broken], |
|---|
| 17 |
gt_cv_inttypes_pri_broken, |
|---|
| 18 |
[ |
|---|
| 19 |
AC_TRY_COMPILE([ |
|---|
| 20 |
|
|---|
| 21 |
char *p = PRId32; |
|---|
| 22 |
|
|---|
| 23 |
], [], gt_cv_inttypes_pri_broken=no, gt_cv_inttypes_pri_broken=yes) |
|---|
| 24 |
]) |
|---|
| 25 |
fi |
|---|
| 26 |
if test "$gt_cv_inttypes_pri_broken" = yes; then |
|---|
| 27 |
AC_DEFINE_UNQUOTED(PRI_MACROS_BROKEN, 1, |
|---|
| 28 |
[Define if <inttypes.h> exists and defines unusable PRI* macros.]) |
|---|
| 29 |
fi |
|---|
| 30 |
]) |
|---|