configure(.in)? has this line CFLAGS_NOOPT=`echo $CFLAGS | sed -e s/-O2// | sed -e s/-O//` This obviosuly fails for other flags than -O2. i686-pc-linux-gnu-gcc: 3: No such file or directory It seems to only be used for splinerefigure.c so it takes a while to fail. Reproducible: Always Steps to Reproduce:
Created attachment 206695 [details, diff] fontforge-20090923-configure.patch (sent upstream)
Fixed.
Brr, my build was longer, but I've sent fix upstream too. :) And my sed is twice faster! :P -CFLAGS_NOOPT=`echo $CFLAGS | sed -e s/-O2// | sed -e s/-O//` +CFLAGS_NOOPT=`echo $CFLAGS | sed 's/-O.\?//'`