Dear all, Sorry if the question is trivial. I am wondering how one should proceed to determine the object file format used on a target system in a configure.ac script? To be more precise: I am working on a project which tests this by trying to compile a C program that has a different behaviour according to whether __ELF__ is defined or not. I am supposed to replace a hand-written configure script that uses this program by an autoconf-generated one for this project and I wonder how I should deal with this test. I notice that config.guess does probe for __ELF__ but I don't know whether there is a way to access this information from within the configure.ac script, or whether I will perhaps need to write a dedicated test that compiles the program as in the original project? Many thanks in advance for any hint, Sébastien. _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx https://lists.gnu.org/mailman/listinfo/autoconf