[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
AC_CHECK_SIZEOF([int *]) is error in autoconf-2.66
From: |
Nishio Futoshi |
Subject: |
AC_CHECK_SIZEOF([int *]) is error in autoconf-2.66 |
Date: |
Sat, 3 Jul 2010 19:18:21 +0900 |
I caught error with AC_CHECK_SIZEOF macro.
AC_CHECK_SIZEOF([int]) works well and SIZEOF_INT was defined
in config.h. But AC_CHECK_SIZEOF([int *]) does not work well.
I wrote AC_CHECK_SIZEOF([int *]) in configure.ac, and then
ran autoscan and autoconf command, I caught error below...
configure.ac:11: error: AC_CHECK_SIZEOF: requires literal arguments
../../lib/autoconf/types.m4:765: AC_CHECK_SIZEOF is expanded from...
configure.ac:11: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
autoscan: /usr/bin/autom4te failed with exit status: 1
Autoconf info says
"For example, the call
AC_CHECK_SIZEOF([int *])
defines `SIZEOF_INT_P' to be 8 on DEC Alpha AXP systems."
I did something wrong, maybe.
thanks in advance!
--
Nishio Futoshi <address@hidden>
- AC_CHECK_SIZEOF([int *]) is error in autoconf-2.66,
Nishio Futoshi <=
Re: AC_CHECK_SIZEOF([int *]) is error in autoconf-2.66, Eric Blake, 2010/07/07