Hi Fabrizio - sorry for the absurdly delayed reply. Also sorry, but I don't exactly understand.
dnl Use absolute path of lib MYLIB_PATH=`readlink -f ${MYLIB_PATH}` ... testApp_SOURCES = main.c @MYLIB_PATH@/mylib_log.c testApp_CFLAGS = -I@MYLIB_PATH@/lib ... After running configure, I get the .deps directory created here: /home/fabrizio/test/autotool-issue/proj/src/home/fabrizio/test/autotool-issue/lib/.deps/testApp-mylib_log.Po Are you saying an older version used to not insert the full directory path when making the .deps? So that it ended up being (I guess): /home/fabrizio/test/autotool-issue/proj/src/lib/.deps/testApp-mylib_log.Po Do you know what version worked? If it worked with an older version and doesn't work now, I could try to look. Otherwise it is hard to guess what could have changed. My first reaction is that automake is just using the path it's given; I wouldn't expect it to the relativization itself? I suspect I'm misunderstanding something. I have a full reproducible project I could attach. Just let me know. For sure a reproducible case would be helpful in understanding. The smaller the better. Thanks, Karl