m4 didn't work with files in FAT system on Mac OS

2014-04-30 Thread 光先邹
hi, If the project was placed in FAT system, 1. run aclocal will not generate aclocal.m4 2. run auto header will output error: AC_CONFIG_HEADERS not found in % echo $M4 /Users/zouguangxian/tmp/m4-1.4.17/src/m4 % autoheader autoheader: error: AC_CONFIG_HEADERS not found in confi

Re: m4 didn't work with files in FAT system on Mac OS

2014-04-30 Thread 光先邹
Hi Eric, Following your suggestion, I tried to use fstatvfs() to get filesystem type, but i didn't find which field can be used to do that. The OS system is Mac OS Mavericks, the project lied in a TrueCrypt volume which was formatted as FAT filesystem. % uname -a Darwin zgx.local 13.1.0 Dar

Re: m4 didn't work with files in FAT system on Mac OS

2014-04-30 Thread Eric Blake
On 04/30/2014 10:10 PM, 光先邹 wrote: > > The reason is st_ino of empty file in FAT system is 9, which will > lead debug set back to stdout in function debug_set_file. Here is a patch > which will resolve this problem. Thanks for the report. However, I'd rather you get the filesystem bug f