This is the mail archive of the autoconf@gnu.org mailing list for the autoconf project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: autoconf: troubles of AC_FUNC_FNMATCH


>>>>> "Stanislav" == Stanislav Brabec <utx@k332.feld.cvut.cz> writes:

Stanislav> main() { exit (fnmatch ("a*", "abc", 0) != 0); }

Why do we exit instead of return?  I think I remember someone saying
that there was an arch which does not support properly return in main,
but then quite a few other AC_macros should be s/return/exit/!

What is the standard Autoconf way?

Akim


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]