AC_CHECK_SIZEOF([int *]) is error in autoconf-2.66

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <fut_nis@xxxxxxxxxxxxx>

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf


[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux