From: Sven M. H. <pe...@gm...> - 2001-07-02 07:22:20
|
On Mon, Jun 25, 2001 at 10:55:08PM +0200, Marcelo E. Magallon wrote: > >> "Sven M. Hallberg" <pe...@gm...> writes: > > > Actually, I'm pretty sure that an explicit libtoolize is not needed, > > automake -a -c > > does it itself (I think it says so in the docs, too). > > Oh, cool. So, should I remove it again? It's explicit use is even discouraged when using automake, IIRC. > Perhaps you know how to fix this one... m4/assembler.m4 reads: > > AC_DEFUN(MESA_SYS_AS_FEATURE, [ > AC_CACHE_CHECK(whether the assembler supports $1, > mesa_cv_sys_as_$1, > MESA_TRY_ASSEMBLE([#include "src/X86/assyntax.h"], $2, > mesa_cv_sys_as_$1=yes, > mesa_cv_sys_as_$1=no)) > ]) > > I need to get -I$(srcdir) on the command line because I use VPATH to > compile mesa (cd buld/software && ../../configure). MESA_TRY_ASSEMBLE > looks like this: > > AC_DEFUN(MESA_TRY_ASSEMBLE, [ > cat > conftest.S <<EOF > $1 > > $2 > EOF > save_ac_ext="$ac_ext" > ac_ext=S > if AC_TRY_EVAL(ac_compile); then > $3; > else > $4; > fi···· > ac_ext="$save_ac_ext" > rm -f conftest.S > ]) > > doesn't ac_compile already include all the necessary -I's? I thought so but > on the config.log I have: > > configure:7290: gcc -c -g -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive > -optimizations -fstrict-aliasing -malign-loops=2 -malign-jumps=2 -malign-functio > ns=2 -D_REENTRANT -DPTHREADS -I../../src/X86 conftest.S >&5 > conftest.S:1: src/X86/assyntax.h: No such file or directory Look at that: '-I../../src/X86'. That's the correct include path to your $(top_srcdir)/src/X86, correct? How did it get there? Right now I'm trying to reproduce this, but I'm running into other problems myself... garrr. Hope I can resolve this soon. > I can fix this on the command line, but I'm wondering what's the nice > autoconf way of doing this... I'll first see where that -I switch came from and whether I can rely on it being there (for whatever reason...), otherwise it's probably just a matter of putting it manually into CFLAGS in the right place. So long, Sven -- "Would the All-Seeing Eye please look in my direction?" [ KeyID........: 0xC297FEAB ] [ Fingerprint..: FEA5 0F93 7320 3F39 66A5 AED3 073F 2D5F C297 FEAB ] |