genr8eofl_ | can someone look into this for me ? https://github.com/eudev-project/eudev/blob/master/configure.ac#L48 the header check for mtd-user.h fails , but we have a ENABLE_MTD_PROBE AC_CONFIGURE variable, can we please gate this header check behind the --enable-mtd_probe configure option, so when --disable-mtd_probe is passed, it also skips the mtd-user.h header check (This is viable) | 21:07 |
---|---|---|
genr8eofl_ | i should specify this is because of a personal project where I am compiling eudev for kernel 2.6 where mtd-user.h does not exist, but the logic applies in general regardless | 21:09 |
genr8eofl_ | the mtd-user.h header is only needed if mtd is actually compiled, and the --disable-mtd_probe doesnt compile it. | 21:13 |
genr8eofl_ | the btrfs.h header check also fails on kernel 2.6 but that one doesnt actually trigger an error, so we could also adapt the mtd one to be more like that. which would technically be better than knowing to explicitly pass the --disable-mtd_probe option first | 21:17 |
genr8eofl_ | im not good at AUTOCONF scripts. instead of triggering [AC_MSG_ERROR([*** KERNEL header not found])] we could just force trigger ENABLE_MTD_PROBE = 0 (force the config option off) and the problem will be handled | 21:21 |
genr8eofl_ | actually I made a mistake (as usual). mtd-user.h does exist on 2.6 (I have no idea what made me think otherwise) | 23:14 |
genr8eofl_ | good thing nobody saw it. ctrl_alt_delete | 23:16 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!