mirror of
https://kernel.googlesource.com/pub/scm/network/tftp/tftp-hpa
synced 2025-04-26 01:49:52 +03:00

Use my modular m4 library used for other things as well; update autoconf macros to 2.71 standard. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
13 lines
477 B
Text
13 lines
477 B
Text
dnl --------------------------------------------------------------------------
|
|
dnl PA_PROG_CC()
|
|
dnl
|
|
dnl Similar to AC_PROG_CC, but add a prototype for main() to
|
|
dnl AC_INCLUDES_DEFAULT to avoid -Werror from breaking compilation.
|
|
dnl --------------------------------------------------------------------------
|
|
AC_DEFUN([PA_PROG_CC],
|
|
[AC_PROG_CC
|
|
AS_IF([test x$ac_cv_prog != xno],
|
|
[ac_includes_default="$ac_includes_default
|
|
#ifndef __cplusplus
|
|
extern int main(void);
|
|
#endif"])])
|