configure pour C++ sans les header du langage C
Bonjour,
ça compile quand-même, mais...
configure.ac:
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
| # -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.71])
AC_INIT([hello], [1.0], [matser@matser.lautre.net])
AM_INIT_AUTOMAKE
AC_CONFIG_SRCDIR([hello.cpp])
AC_CONFIG_HEADERS([config.h])
AC_LANG([C++])
# Checks for programs.
AC_PROG_CXX
# Checks for libraries.
# Checks for header files.
AC_CHECK_HEADERS([iostream])
# Checks for typedefs, structures, and compiler characteristics.
# Checks for library functions.
AC_CONFIG_FILES([Makefile])
AC_OUTPUT |
le problème est que configure donne entre autres:
Code:
1 2 3 4 5 6 7 8 9
| checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.faire
checking for unistd.h... yes |
comment faire pour que configure ne vérifie pas ces headers du C?
quelqu'un a une idée?