16 |
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA |
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA |
17 |
# 02111-1307 USA |
# 02111-1307 USA |
18 |
|
|
|
## -------------------------- ## |
|
|
## We need a modern Autotest. ## |
|
|
## -------------------------- ## |
|
|
AC_PREREQ([2.55]) |
|
|
|
|
|
|
|
19 |
|
|
20 |
## ------------------------ ## |
## ------------------------ ## |
21 |
## Autoconf initialisation. ## |
## Autoconf initialisation. ## |
152 |
## C headers required by M4. ## |
## C headers required by M4. ## |
153 |
## ------------------------- ## |
## ------------------------- ## |
154 |
AC_HEADER_STDC |
AC_HEADER_STDC |
155 |
AC_HEADER_STDBOOL |
AM_STDBOOL_H |
156 |
AC_CHECK_HEADERS(limits.h locale.h memory.h string.h unistd.h errno.h) |
AC_CHECK_HEADERS(limits.h locale.h memory.h string.h unistd.h errno.h) |
157 |
|
|
158 |
if test $ac_cv_header_stdbool_h = yes; then |
if test $ac_cv_header_stdbool_h = yes; then |
159 |
INCLUDE_STDBOOL_H='#include <stdbool.h>' |
INCLUDE_STDBOOL_H='#include <stdbool.h>' |
160 |
else |
else |
161 |
INCLUDE_STDBOOL_H='typedef enum {false = 0, true = 1} bool' |
INCLUDE_STDBOOL_H='#include <m4/stdbool.h>' |
162 |
fi |
fi |
163 |
AC_SUBST([INCLUDE_STDBOOL_H]) |
AC_SUBST([INCLUDE_STDBOOL_H]) |
164 |
|
|