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 <[email protected]>
_______________________________________________
Autoconf mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/autoconf