This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

fixinc needs check for `atexit'


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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]