This is the mail archive of the gcc@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]

Re: configure guesses wrong "install" for AIX



  In message <9806112213.AA36048@rios1.watson.ibm.com>you write:
  > 	I thought that we had fixed the problem of configure choosing
  > /usr/bin/installbsd for AIX, but I notice that configure continues to use
  > one of the AIX install programs instead of choosing "install-sh".  The
  > test in configure seems to be:
  > 
  >         if test -f $ac_dir/$ac_prog; then
  >           if test $ac_prog = install &&
  >             grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
  >             # AIX install.  It has an incompatible calling convention.
  >             # OSF/1 installbsd also uses dspmsg, but is usable.
  >             :
  > 	  else
  > 
  > However, the string "dspmsg" no longer is present in the executable, so
  > that is a worthless test.  AIX no longer uses some script, so grepping the
  > executable is pretty silly.
  > 
  > 	None of the AIX install programs work correctly and configure
  > discovers that the host is AIX early on, so I think that install-sh should
  > be set early for AIX.
Is there some way I can identify this new losing "install" variant by
looking at the executable or how it operates?

That's really how autoconf tests are supposed to work.



jeff



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