This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
fixinc needs check for `atexit'
- To: gcc-patches at gcc dot gnu dot org (gcc-patches at gcc dot gnu dot org)
- Subject: fixinc needs check for `atexit'
- From: "Philippe De Muyter" <phdm at macqel dot be>
- Date: Fri, 26 Nov 1999 11:43:56 +0100 (CET)
Problem :
cc -o fixincl fixincl.o server.o procopen.o gnu-regex.o fixlib.o ../../libiberty
/libiberty.a ../../libiberty/libiberty.a
server.o: In function `server_setup':
server.c:224: undefined reference to `atexit'
Could not install binary fixincludes.
Fix (part 2) :
Fri Nov 26 10:50:05 1999 Philippe De Muyter <phdm@macqel.be>
* configure.in (AC_CHECK_FUNCS): Check also for `atexit'.
* configure, config.in : Files regenerated.
--- ./gcc/configure.in Thu Nov 25 18:26:27 1999
+++ ./gcc/configure.in Wed Nov 24 19:08:50 1999
@@ -365,7 +365,7 @@ AC_CHECK_PROG(gnat, gnatbind, yes, no)
AC_DEFINE(HAVE_INTTYPES_H)
fi
-AC_CHECK_FUNCS(strtoul bsearch strerror putenv popen bcopy bzero bcmp \
+AC_CHECK_FUNCS(atexit strtoul bsearch strerror putenv popen bcopy bzero bcmp \
index rindex strchr strrchr kill getrlimit setrlimit atoll atoq \
sysconf isascii gettimeofday strsignal putc_unlocked fputc_unlocked \
fputs_unlocked getrusage valloc)