The configure script sometimes fails on Sparc with the following error: ./configure --with-llvmgccdir=/localhome/tbrethou/cfrontend/sparc/llvm-gcc/ --with-f2c=/home/vadve/shared/localtools/sparc --with-llvmsrc=/localhome/tbrethou/llvm --with-llvmobj=/localhome/tbrethou/llvm Error: [cut lots of config output] checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking for f2c bin/lib/include locations... checking for nag-fortran bin/lib/include locations... ./configure: bad substitution Work around: If you have bash available on your machine, try to run the configure script with it: bash ./configure
Note, this may only be a problem if CONFIG_SHELL=sh is in the environment. -Chris
Is this still a problem? I need the config.log from solaris in order to debug this. I remember there being some bash code in the find_std_program.m4 script but I thought we fixed that a while back, per revision 1.3: date: 2005/07/25 20:25:08; author: reid; state: Exp; lines: +22 -22 Get rid of bash specific syntax for variable dereferencing, replacing it with the more crufty (but more widely available) "eval" command. Is this a new problem or the same one?
Mine
I just verified that this works on Solaris. Thanks for the fix Reid! -Chris