Created at:

Autotools (autoconf and automake) notes

Troubleshooting

Error .../am/check2.am: error: am__EXEEXT does not appear in AM_CONDITIONAL

If you have get an error like::

    /usr/pkg/share/automake-1.15/am/check2.am: error: am__EXEEXT does not appear in AM_CONDITIONAL
    autoreconf: automake failed with exit status: 1

This can have different reasons. Make a search on the web but, before that, did you add the required AC_OUTPUT macro to configure.ac (or configure.in)?