> On Tue, Oct 16, 2012 at 12:17:43PM +0200, Szabolcs Nagy wrote: >> * Isaac Dunham [2012-10-15 21:12:31 -0700]: >> > +# Older PCC versions don't define __PIC__ with -fPIC >> > +# >> > +tryflag CFLAG_TEST "-x c" >> > +printf '#ifndef __PIC__\n__PIC__=0\n#endif\n' | \ >> > +$CC -E $CFLAG_TEST -fPIC - | grep __PIC__ && \ >> > +CFLAGS_SHARED_ALL="$CFLAGS_SHARED_ALL -D__PIC__=1" >> > + >> >> i don't think it's worth adding such checks >> > Agreed. I don't think there's a point in supporting old compiler > versions except when there are possibly-compelling reasons to use > them. Dropping that.