bug-autoconf
[Top][All Lists]
Advanced

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

misleading AC_CHECK_SIZEOF warning


From: Werner LEMBERG
Subject: misleading AC_CHECK_SIZEOF warning
Date: Sat, 08 Nov 2003 09:17:24 +0100 (CET)

[CVS 2003-11-06]

Using `AC_CHECK_SIZEOF(int)' produces the following warning with -Wall
(output lines shortened):

  configure.ac:78: warning:
    AC_RUN_IFELSE called without default to allow cross compiling
  general.m4:2281: AC_RUN_IFELSE is expanded from...
  general.m4:1799: AC_CACHE_VAL is expanded from...
  general.m4:1808: AC_CACHE_CHECK is expanded from...
  types.m4:405: AC_CHECK_SIZEOF is expanded from...
  configure.ac:78: the top level

but the documentation explicitly says that it `works now even when
cross-compiling'.  Since this AC_RUN_IFELSE is deeply buried within
autoconf itself I suggest to suppress the warning message since it is
misleading otherwise.


    Werner


PS: From a grammatical point of view, shouldn't it be rather `even
    *if* cross-compiling'?)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]