This is the mail archive of the
autoconf@gnu.org
mailing list for the autoconf project.
Re: autoconf: troubles of AC_FUNC_FNMATCH
- To: Stanislav Brabec <utx at k332 dot feld dot cvut dot cz>
- Subject: Re: autoconf: troubles of AC_FUNC_FNMATCH
- From: Akim Demaille <akim at epita dot fr>
- Date: 29 Sep 1999 13:31:17 +0200
- Cc: autoconf at gnu dot org
- References: <19990922102421.A4789@utx.cz>
>>>>> "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