secrets of GHC configuration?

Simon Peyton-Jones simonpj at microsoft.com
Mon Jan 10 23:31:17 EST 2005


Widening to cvs-ghc, because there are autoconf-savvy folk there.

I added the AC_PATH_PROG call to configure.ac, but I have no idea how it
works; I just copied other places.  So I hope one of you can help Norman

Simon

| -----Original Message-----
| From: Norman Ramsey [mailto:nr at eecs.harvard.edu]
| Sent: 07 January 2005 21:15
| To: Simon Marlow; Simon Peyton-Jones
| Cc: nr at eecs.harvard.edu
| Subject: secrets of GHC configuration?
| 
| Gentlemen,
| 
| In fptools/ghc/configure.ac, I have found the following lines:
| 
| dnl ** Which C-- compiler to use?
| dnl --------------------------------------------------------------
| AC_PATH_PROG(WhatCmmIsCalled,qc--)
| 
| 
| I would like to modify these lines to get GHC to use qc--.opt if
| qc--.opt is available, and to use qc-- otherwise.  But I have no idea
| what is going on here or how AC_PATH_PROG works.  Would it help to
write
| 
| 
|    AC_PATH_PROG(WhatCmmIsCalled,[qc--.opt qc--])
| 
| 
| ?
| 
| 
| Norman



More information about the Cvs-ghc mailing list