Article View: gnu.utils.bug
Article #68finger 1.37 configure on ISC 2.2.1
From: Karl Berry
Date: Wed, 04 Nov 1992 11:22
Date: Wed, 04 Nov 1992 11:22
53 lines
1974 bytes
1974 bytes
The configure script in finger 1.37 doesn't work properly on Interactive Unix 2.2.1, because the Autoconf checks for Unix variants depend on the right value for $(CC) already being set. Following is a patch. Also, the check for const and other features which use AC_COMPILE_CHECK do not work properly, because finger's configure.in does an explicit check for -lc ... but -lc defines `exit', and so does -lgcc (in GCC 2), and so ld complains about a multiply defined symbol. I'm not sure what the right fix is -- configure.in could be changed to only do those library checks on svr4 (according to the comment); or it could be changed to not check for -lc if gcc 2 is being used (that would require changing Autoconf). Neither of those sound too appealing. * configure.in: Do program checks (to get CC) before variant checks. *** ./ORIG/configure.in Thu Oct 15 17:48:53 1992 --- ./configure.in Thu Oct 29 07:19:42 1992 *************** *** 79,84 **** --- 79,92 ---- dnl ACX_I_AM(GNU Finger) + # Check for programs + + AC_PROG_CC + AC_PROG_CPP + AC_MINUS_C_MINUS_O + AC_PROG_INSTALL + AC_PROG_RANLIB + # Variants AC_AIX *************** *** 88,101 **** AC_MINIX AC_SCO_INTL AC_XENIX_DIR - - # Check for programs - - AC_PROG_CC - AC_PROG_CPP - AC_MINUS_C_MINUS_O - AC_PROG_INSTALL - AC_PROG_RANLIB # Check for header files --- 96,101 ----
Technical Details
Message-ID:
<199211042122.AA01482@claude.cs.umb.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!iggy.GW.Vitalink.COM!cs.widener.edu!umn.edu!spool.mu.edu!uwm.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!claude.cs.umb.edu!karlShow Full Headers
Complete Article Headers
Newsgroups: gnu.utils.bug Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!iggy.GW.Vitalink.COM!cs.widener.edu!umn.edu!spool.mu.edu!uwm.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!claude.cs.umb.edu!karl From: karl@claude.cs.umb.edu (Karl Berry) Subject: finger 1.37 configure on ISC 2.2.1 Message-ID: <199211042122.AA01482@claude.cs.umb.edu> Sender: gnulists@ai.mit.edu Reply-To: karl@cs.umb.edu Organization: GNUs Not Usenet Distribution: gnu Date: Wed, 4 Nov 1992 11:22:13 GMT Approved: bug-gnu-utils@prep.ai.mit.edu Lines: 54