03-23-04 01:34 AM
Hi all,
(autoconf v2.13, gnu/linux)
With a simple autoconf/automake test, I got following error while ran
./configure:
#./configure --srcdir=/home/me/test/src
...
checking whether build environment is sane... configure: error: ls -t
appears to fail. Make sure there is not a broken alias in your environment
...
The src tree likes below:
/home/me/test
configure
Makefile.in
...
src/main.c
If I move main.c to /home/me/test, no error.
If I change AC_INIT(main.c) to AC_INIT(src/main.c) while src/main.c exists,
no error.
My question is that why option --srcdir=dir doesn't work?
TIA
-s
[ Post a follow-up to this message ]
|