[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Check for getcwd(NULL, 0) Was: Re: Bug#636568: xerces-c: Updated patch, submitted upstream



Hi,

Alle mercoledì 17 ottobre 2012, Svante Signell ha scritto:
> AC_CHECK_FUNCS([getcwd])

If you assume getcwd is available, this check is pointless; if you
don't, then you need to skip the check below is getcwd has not been
found.

>   AC_MSG_RESULT([checking for getcwd(NULL, 0)... yes])

Usually AC_MSG_CHECKING + AC_MSG_RESULT are used, see [1].

[1] http://www.gnu.org/software/autoconf/manual/autoconf-2.67/html_node/Printing-Messages.html

>   AC_MSG_WARN([cannot run test program while cross compiling])

A "warn" seem to strong for what is a normal situation (cross
compiling), so just a notice would be enough.

-- 
Pino Toscano

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: