From: Marcelo E. M. <mar...@bi...> - 2001-06-25 20:55:12
|
>> "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. > Oh, thanks for pointing this out, I've just fixed it. I had missed a > minor point of the automake doc, which says that generated source > files must be mentioned in a BUILT_SOURCES variable. It's in there > now, and matypes.h is _really_ generated automagically whenever > needed now. Oh, even cooler! 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=3Dyes, mesa_cv_sys_as_$1=3Dno)) ]) 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=3D"$ac_ext" ac_ext=3DS if AC_TRY_EVAL(ac_compile); then $3; else $4; fi=B7=B7=B7=B7 ac_ext=3D"$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 -fex= pensive -optimizations -fstrict-aliasing -malign-loops=3D2 -malign-jumps=3D2 -mal= ign-functio ns=3D2 -D_REENTRANT -DPTHREADS -I../../src/X86 conftest.S >&5 conftest.S:1: src/X86/assyntax.h: No such file or directory I can fix this on the command line, but I'm wondering what's the nice autoconf way of doing this... Cheers, --=20 Marcelo |