[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problems with AC 2.66 AC_CHECK_SIZEOF
From: |
Jeff Squyres |
Subject: |
Problems with AC 2.66 AC_CHECK_SIZEOF |
Date: |
Thu, 22 Jul 2010 09:37:24 -0400 |
I think my issue is a dup of
http://lists.gnu.org/archive/html/bug-autoconf/2010-07/msg00009.html, but I
figured I'd report it anyway on the off chance that it's not.
I reduced my problem to a trivial configure.ac script that mainly calls
AC_CHECK_SIZEOF([void *]). It fails in autoreconf -ivf.
Shell output is worth a 1,000 words:
-----
$ ls -l
total 8
drwxrwxr-x 4 jsquyres staff 136 Jul 22 09:28 ac266-install/
drwxr-xr-x 5 jsquyres staff 170 Jul 22 09:28 autom4te.cache/
-rw-r--r-- 1 jsquyres staff 70 Jul 22 09:24 configure.ac
$ ./ac266-install/bin/autoconf --version
autoconf (GNU Autoconf) 2.66
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+/Autoconf: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>, <http://gnu.org/licenses/exceptions.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by David J. MacKenzie and Akim Demaille.
$ cat configure.ac
AC_INIT([test], [123], [my_url])
AC_PROG_CC
AC_CHECK_SIZEOF([void *])
$ ./ac266-install/bin/autoreconf -ivf
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force
configure.ac:3: error: AC_CHECK_SIZEOF: requires literal arguments
../../lib/autoconf/types.m4:765: AC_CHECK_SIZEOF is expanded from...
configure.ac:3: the top level
autom4te: /opt/local/bin/gm4 failed with exit status: 1
aclocal: /Users/jsquyres/tmp/bogus/ac266-install/bin/autom4te failed with exit
status: 1
autoreconf: aclocal failed with exit status: 1
$
-----
--
Jeff Squyres
address@hidden
For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/
- Problems with AC 2.66 AC_CHECK_SIZEOF,
Jeff Squyres <=