[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Configure test output split
From: |
Jay Cornwall |
Subject: |
Configure test output split |
Date: |
Fri, 18 Apr 2003 00:26:19 +0100 (BST) |
Hi
I've written a configure test using AC_RUN_IFELSE, and a stripped down
version of my configure.in looks like:
AC_INIT(test,0.1)
AC_LANG_C
AC_MSG_CHECKING([for MMX support])
AC_RUN_IFELSE(
[AC_LANG_PROGRAM([[]],
[[ exit(0); ]])],
[AC_MSG_RESULT([yes])],
[AC_MSG_RESULT([no])],
[AC_MSG_RESULT([no])]
)
AC_CONFIG_FILES([ Makefile ])
AC_OUTPUT
The configure test runs fine (obviously with real code inserted), but
the output seems to be split in two by other configure tests:
address@hidden test]$ ./configure
checking for MMX support... checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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
yes
configure: creating ./config.status
config.status: creating Makefile
Could anyone point out what I'm doing wrong?
Cheers,
Jay
--
http://www.evilrealms.net/ - Systems Administrator & Developer
http://www.ic.ac.uk/ - Imperial College, 2nd year CS student
- Configure test output split,
Jay Cornwall <=