bug-autoconf
[Top][All Lists]
Advanced

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

header files (autoconf 2.57; automake 1.7.6)


From: Michiel Jan Laurens de Hoon
Subject: header files (autoconf 2.57; automake 1.7.6)
Date: Mon, 10 Nov 2003 21:59:51 +0900
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)

I received messages of the form

checking stdio.h usability... yes
checking stdio.h presence... no
configure: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: stdio.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to address@hidden ##
configure: WARNING:     ## ------------------------------------ ##
checking for stdio.h... no

configure.ac and Makefile.am are attached. Thank you for autoconf / automake.

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
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 ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for egrep... grep -E
checking for ANSI C header files... no
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking float.h usability... yes
checking float.h presence... no
configure: WARNING: float.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: float.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to address@hidden ##
configure: WARNING:     ## ------------------------------------ ##
checking for float.h... no
checking math.h usability... yes
checking math.h presence... no
configure: WARNING: math.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: math.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to address@hidden ##
configure: WARNING:     ## ------------------------------------ ##
checking for math.h... no
checking stdio.h usability... yes
checking stdio.h presence... no
configure: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: stdio.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to address@hidden ##
configure: WARNING:     ## ------------------------------------ ##
checking for stdio.h... no
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking time.h usability... yes
checking time.h presence... no
configure: WARNING: time.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: time.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to address@hidden ##
configure: WARNING:     ## ------------------------------------ ##
checking for time.h... no
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for sqrt in -lm... yes
checking for pow in -lm... yes
configure: creating ./config.status
config.status: creating src/Makefile
config.status: creating Makefile
config.status: executing depfiles commands


--
Michiel de Hoon, Assistant Professor
University of Tokyo, Institute of Medical Science
Human Genome Center
4-6-1 Shirokane-dai, Minato-ku
Tokyo 108-8639
Japan
http://bonsai.ims.u-tokyo.ac.jp/~mdehoon

# Process this file with autoconf to produce a configure script.
AC_INIT(cluster, 1.24)
AC_CONFIG_SRCDIR(src/cluster.c)
AM_INIT_AUTOMAKE(cluster, 1.24)

# Check what we are building here
AC_ARG_WITH(motif,
[  --with-motif     Build Cluster 3.0 for Linux/Unix with a GUI using Motif],
  [motif=true],
  [motif=false])
AM_CONDITIONAL(MOTIF,test x$motif = xtrue)

# Checks for programs.
AC_PROG_CC
# AM_PROG_LIBTOOL

# Checks for libraries.
if "$motif"; then
AC_PATH_XTRA
fi

# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADER(float.h)
AC_CHECK_HEADER(math.h)
AC_CHECK_HEADER(stdio.h)
AC_CHECK_HEADER(stdlib.h)
AC_CHECK_HEADER(string.h)
AC_CHECK_HEADER(time.h)

# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_TYPE_SIZE_T

# Checks for library functions.
AC_FUNC_MALLOC
AC_CHECK_LIB([m],[sqrt])
AC_CHECK_LIB([m],[pow])

if "$motif"; then
AC_CONFIG_FILES([X11/Makefile])
else
AC_CONFIG_FILES([src/Makefile])
fi

AC_OUTPUT([Makefile])

## Process this file with automake to produce Makefile.in

DOCDIST = doc/*.pdf doc/*.texinfo doc/structure.eps doc/Makefile
WINDIST = windows/cluster.hhp windows/cluster.ico windows/cluster.iss \
  windows/gui.c windows/format.bmp windows/Makefile windows/resources.h \
  windows/resources.rc
PYTHONDIST = setup.py python
PERLDIST = Makefile.PL perl/Artistic.txt perl/MANIFEST.perl perl/Cluster.h \
  perl/Cluster.pm perl/Cluster.xs perl/Makefile.PL perl/typemap \
  src/Makefile.PL perl/t perl/examples
EXAMPLEDIST = example/example.c example/Makefile example/README


if MOTIF
TMPSUBDIRS = X11
else
TMPSUBDIRS = src
endif
SUBDIRS = $(TMPSUBDIRS)

EXTRA_DIST = $(WINDIST) $(PYTHONDIST) $(PERLDIST) $(DOCDIST) \
  $(EXAMPLEDIST) html mac data


reply via email to

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