Hi, I am aware of that method, but that method requires this to be done for each application when it is being built... I am looking for a solution which doesnt make any changes to how the user uses autoconf, so that it is not required for each application... moreover this is just for C/C++ compilers, which will definitely work in a majority of application, but apart from this Sun Studio provides a much more efficient(on solaris) fortran compiler and also sun performance libraries... therefore i am looking for a way to modify autoconf itself so that when it is run on Solaris, it would be default look for the Sun studio compilers and libraries, not the gnu ones.. so in effect such a thing can just be added into autoconf so that it wud run as it runs on any other system right now, but when it is run on solaris machines it would work in a different manner( i.e. go for sun studio stuff instead of gnu stuff) thanks~! On 9/7/07, Benoit SIGOURE <tsuna@xxxxxxxxxxxxx> wrote: > > On Sep 7, 2007, at 2:55 PM, Sanjay Gianchandani wrote: > > > Hi fellas, > > I have been working on Solaris, and have been trying to increase the > > efficiency of autoconf built softwares on the system. > > The main issue here is that autoconf by default, and as a rule, > > uses the GNU > > based compilers to make the software, while > > on Solaris, Sun Studio compilers prove to be much more efficient. > > I am a big dud when it comes to M4 experience, so any directions > > that any of > > you could give would be really helpful!! > > any starting point, which files of autoconf I would need to focus > > on, or > > what changes would i need to incorporate...just anything > > actually... > > thanks! > > > > Hi, > what about ./configure CC=<your_C_compiler> CXX=<your_C++_compiler> > etc... ? > > If you always want to override this, you can use a config.site (see: > http://www.gnu.org/software/automake/manual/autoconf/Site- > Defaults.html#Site-Defaults > for more information). > > Cheers, > > -- > Benoit Sigoure aka Tsuna > EPITA Research and Development Laboratory > > > > -- **************************************************************************** §âñjây ************************Words from my heart**************************** We dont need no education! give us free pizza instead ;) ***************************************************************************** _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf