Bug#612389: [autoconf] configure: line 13283: ac_cv_cflags_gcc_option__std_c99=-std=c99: command not found

2011-02-09 Thread Ben Pfaff
reassign 612389 autoconf-archive
forcemerge 593838 612389
thanks

LACROIX Jean Marc jeanmarc.lacr...@free.fr writes:

 In attached file, please find our configure.ac file

The configure.ac that you attached contains the line:
AX_CFLAGS_GCC_OPTION(-std=c99)
which is the same line that triggers the issue in #593838.

So I'm reassigning this bug to the autoconf-archive package
(which provides AX_CFLAGS_GCC_OPTION) and merging it with 593838
(with this email).  If you want the details of the problem,
please read the log for 593838 at:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=593838

Thanks,

Ben.
-- 
The sound of peacocks being shredded can't possibly be
 any worse than the sound of peacocks not being shredded.
Tanuki the Raccoon-dog in the Monastery



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#612389: [autoconf] configure: line 13283: ac_cv_cflags_gcc_option__std_c99=-std=c99: command not found

2011-02-08 Thread Ralf Wildenhues
Hello Jean Marc,

thanks for the report.

* LACROIX Jean Marc wrote on Tue, Feb 08, 2011 at 08:13:58AM CET:
 Package: autoconf
 Version: 2.67-2
 Severity: normal
 
 
 When using bootstrap and autoconf tools on Debian Squeeze system,
 initial GCC option verified on Debian Lenny system was no more
 valid...please look at attached file
 
 checking CFLAGS for gcc -std=c99... ../../configure: line 13260:
 ac_cv_cflags_gcc_option__std_c99=no, unknown: command not found
 ../../configure: line 13283: ac_cv_cflags_gcc_option__std_c99=-std=c99:
 command not found

Please find out where this code comes from.  It is not from the Autoconf
package itself, but either from your configure.ac or a third-party macro
that you are using.  Please redirect this bug report to that third party
package.

Also, please tell them to not invade the Autoconf namespace: variables
named ac_* are not to be used by third-party macros (except of course as
documented in the Autoconf manual: to read and/or set results from
macros supplied with Autoconf).

For an analysis, it would probably help if you supplied information on
how to reproduce the issue: either a link to your source tree, or
configure.ac contents or so.

Thanks,
Ralf

[...]
 checking CFLAGS for gcc -pedantic... -pedantic
 checking CFLAGS for gcc -Wshadow... -Wshadow
 checking CFLAGS for gcc -Wunsafe-loop-optimizations... 
 -Wunsafe-loop-optimizations
 checking CFLAGS for gcc -std=c99... ../../configure: line 13260: 
 ac_cv_cflags_gcc_option__std_c99=no, unknown: command not found
 ../../configure: line 13283: ac_cv_cflags_gcc_option__std_c99=-std=c99: 
 command not found
 
 checking CFLAGS for gcc -Wreturn-type... no, unknown



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#612389: [autoconf] configure: line 13283: ac_cv_cflags_gcc_option__std_c99=-std=c99: command not found

2011-02-08 Thread Ben Pfaff
LACROIX Jean Marc jeanmarc.lacr...@free.fr writes:

 When using bootstrap and autoconf tools on Debian Squeeze system,
 initial GCC option verified on Debian Lenny system was no more
 valid...please look at attached file

 checking CFLAGS for gcc -std=c99... ../../configure: line 13260:
 ac_cv_cflags_gcc_option__std_c99=no, unknown: command not found
 ../../configure: line 13283:
 ac_cv_cflags_gcc_option__std_c99=-std=c99: command not found

What software were you configuring?
-- 
Ben Pfaff 
http://benpfaff.org



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#612389: [autoconf] configure: line 13283: ac_cv_cflags_gcc_option__std_c99=-std=c99: command not found

2011-02-08 Thread Ben Pfaff
Ralf Wildenhues ralf.wildenh...@gmx.de writes:
 checking CFLAGS for gcc -std=c99... ../../configure: line 13260:
 ac_cv_cflags_gcc_option__std_c99=no, unknown: command not found
 ../../configure: line 13283: ac_cv_cflags_gcc_option__std_c99=-std=c99:
 command not found

 Please find out where this code comes from.  It is not from the Autoconf
 package itself, but either from your configure.ac or a third-party macro
 that you are using.  Please redirect this bug report to that third party
 package.

By the way, I suspect that this bug is either a duplicate of
Bug#593838 or the same underlying issue:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=593838

The configure error message reported there was similar:
checking CFLAGS for gcc -std=c99... ./configure: line 2493: 
ax_cv_cflags_gcc_option__std_c99=no, unknown: command not found

-- 
Ben Pfaff 
http://benpfaff.org



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#612389: [autoconf] configure: line 13283: ac_cv_cflags_gcc_option__std_c99=-std=c99: command not found

2011-02-08 Thread LACROIX Jean Marc

It is perhaps the same bug as #93838 (?)

Sorry, but i am not autoconf/autotools guru (!)

Our project try to elaborate a very restrictive C Ansi library.
( http://www.thelibcommonproject.org/ ).
This is why we are trying to make maximum efforts to suppress all
warnings in our lib at compile time.

I confirm that my configure.ac file is ok on Lenny (autoconf 2.65)

In attached file, please find our configure.ac file

Thanks for your help


Le 08/02/2011 20:18, Ben Pfaff a écrit :

Ralf Wildenhuesralf.wildenh...@gmx.de  writes:

checking CFLAGS for gcc -std=c99... ../../configure: line 13260:
ac_cv_cflags_gcc_option__std_c99=no, unknown: command not found
../../configure: line 13283: ac_cv_cflags_gcc_option__std_c99=-std=c99:
command not found


Please find out where this code comes from.  It is not from the Autoconf
package itself, but either from your configure.ac or a third-party macro
that you are using.  Please redirect this bug report to that third party
package.


By the way, I suspect that this bug is either a duplicate of
Bug#593838 or the same underlying issue:
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=593838

The configure error message reported there was similar:
 checking CFLAGS for gcc -std=c99... ./configure: line 2493: 
ax_cv_cflags_gcc_option__std_c99=no, unknown: command not found




--
--
 -- Jean-Marc LACROIX --
  -- mailto : jeanmarc.lacr...@free.fr --
---
##
##
## configure.ac libcommon project
##
## Login   philippe.thie...@reseau-libre.net
##
## Started on  Wed Apr 22 16:50:48 2009 t0090690
## Last update Sat Oct  9 10:56:15 2010 Philippe THIERRY
##




# basic init   #

AC_INIT([libcommon], [0.98.9-jml-rc3], [jeanmarc.lacr...@free.fr], [libcommon])
AC_PREREQ(2.61)
AM_INIT_AUTOMAKE([1.9.5 foreign dist-bzip2 no-dist-gzip foreign])
AC_CONFIG_SRCDIR([src/cm_libcommon.h])
AC_CONFIG_MACRO_DIR([build-aux])
AC_CONFIG_HEADERS([config.h])
AM_MAINTAINER_MODE
AC_LANG([C])

#
# C specific standard verifications #
#
AC_SEARCH_LIBS([strerror],[cposix])
AC_PROG_CC
AC_PROG_CC_STDC
AC_HEADER_STDC
# check if the compiler support inline, or replace each occurence by blank
AC_C_CONST
AC_C_INLINE
AC_C_VOLATILE
AC_HEADER_STDC

AC_PROG_LIBTOOL

#
# Checking some basic headers and funcs #
#
AC_CHECK_HEADER([sys/types.h],,AC_MSG_ERROR([Cannot find sys/types.h ! Check 
your installation !]))
AC_CHECK_HEADER([ctype.h],,AC_MSG_ERROR([Cannot find ctype.h ! Check your 
installation !]))
AC_CHECK_HEADER([inttypes.h],,AC_MSG_ERROR([Cannot find inttypes.h ! Check your 
installation !]))
AC_CHECK_HEADER([errno.h],,AC_MSG_ERROR([Cannot find errno.h ! Check your 
installation !]))
AC_CHECK_HEADER([string.h],,AC_MSG_ERROR([Cannot find string.h ! Check your 
installation !]))
AC_CHECK_HEADER([sys/stat.h],,AC_MSG_ERROR([Cannot find sys/stat.h ! Check your 
installation !]))

AC_CHECK_FUNCS([strndup strncpy strdup strcat strcpy dup dup2 sigaction \
sigprocmask htons htonl snprintf sprintf fcntl])

# checking sizeofs... forbidden by requirements

#
# Checking libraries presence   #
#
AC_CHECK_LIB(m, powf, [], AC_MSG_ERROR([Cannot find libm match library ! Check 
your installation !]), [])

#
# Support for compiler capacity to manage warning flags #
#
AC_CONFIG_FILES([build-aux/Makefile])

# please consider potential pb on Bug#612389 for -std=c99 with autoconf 2.67

AX_CFLAGS_GCC_OPTION(-Wall)
AX_CFLAGS_GCC_OPTION(-W)
AX_CFLAGS_GCC_OPTION(-Werror)
AX_CFLAGS_GCC_OPTION(-Wundef)
AX_CFLAGS_GCC_OPTION(-Wno-multichar)
AX_CFLAGS_GCC_OPTION(-Wextra)
AX_CFLAGS_GCC_OPTION(-Wtrigraphs)
AX_CFLAGS_GCC_OPTION(-Wundef)
AX_CFLAGS_GCC_OPTION(-Wswitch)
AX_CFLAGS_GCC_OPTION(-Wunused)
AX_CFLAGS_GCC_OPTION(-Wmissing-prototypes)
AX_CFLAGS_GCC_OPTION(-Wpacked)
AX_CFLAGS_GCC_OPTION(-Waggregate-return)
AX_CFLAGS_GCC_OPTION(-Wimplicit)
AX_CFLAGS_GCC_OPTION(-Wcast-qual)
AX_CFLAGS_GCC_OPTION(-Wcast-align)
AX_CFLAGS_GCC_OPTION(-Wwrite-strings)
AX_CFLAGS_GCC_OPTION(-Wuninitialized)

Bug#612389: [autoconf] configure: line 13283: ac_cv_cflags_gcc_option__std_c99=-std=c99: command not found

2011-02-07 Thread LACROIX Jean Marc

Package: autoconf
Version: 2.67-2
Severity: normal


When using bootstrap and autoconf tools on Debian Squeeze system,
initial GCC option verified on Debian Lenny system was no more
valid...please look at attached file

checking CFLAGS for gcc -std=c99... ../../configure: line 13260: 
ac_cv_cflags_gcc_option__std_c99=no, unknown: command not found
../../configure: line 13283: ac_cv_cflags_gcc_option__std_c99=-std=c99: 
command not found

-

-
 system information generated with...
reportbug -q --template -T none -s none -S normal -b --list-cc none -q 
autoconf

-

-- System Information:
Debian Release: 6.0
  APT prefers oldstable
  APT policy: (500, 'oldstable'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/dash

Versions of packages autoconf depends on:
ii  debianutils   3.4Miscellaneous utilities 
specific t

ii  m41.4.14-3   a macro processing language
ii  perl  5.10.1-17  Larry Wall's Practical 
Extraction


Versions of packages autoconf recommends:
ii  automake1.9 [automaken] 1.9.6+nogfdl-3.1 A tool for generating GNU 
Standard


Versions of packages autoconf suggests:
pn  autoconf-archive  none (no description available)
pn  autoconf-doc  none (no description available)
pn  autoconf2.13  none (no description available)
pn  gettext   none (no description available)
pn  gnu-standards none (no description available)
ii  libtool   2.2.6b-2   Generic libra


-
command line in my project
reset  \
 cd ../..  \
./bootstrap  \
cd -   \
../../configure --program-prefix=/tmp 21 | \
tee ~/tmp/bug_report_autoconf_2.67_debian_squeeze.txt
-

best regards

--
--
 -- Jean-Marc LACROIX --
  -- mailto : jeanmarc.lacr...@free.fr --
---
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gcc option to accept ISO C99... -std=gnu99
checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) 
-std=gnu99
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for working volatile... yes
checking for ANSI C header files... (cached) yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc -std=gnu99... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands +=... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc -std=gnu99 object... ok
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes