Skip to content
Snippets Groups Projects
Commit 79bd8f8f authored by Sergey Kosukhin's avatar Sergey Kosukhin
Browse files

Get rid of 'rm: conftest.dSYM: is a directory when configuring on MacOS.

The shortcut for the ISO C99 test, which simplifies the implementation, is copied from PPM.
parent 19280451
No related branches found
No related tags found
2 merge requests!14Draft: K202125/cdi 1.8.x pio merge followup,!8Consolidation with CDI-PIO (1.8.x)
......@@ -21,9 +21,11 @@ AM_INIT_AUTOMAKE([foreign])
AM_MAINTAINER_MODE([enable])
AM_EXTRA_RECURSIVE_TARGETS([examples])
AC_PROG_CC_C99
AS_VAR_IF([ac_cv_prog_cc_c99], [no],
[AC_MSG_FAILURE([C compiler does not support ISO C99])])
m4_pushdef([_AC_PROG_CC_C89],
[rm -rf conftest.dSYM # needed when configured on MacOS with CFLAGS='-g'
_AC_PROG_CC_C99([], [AC_MSG_FAILURE([C compiler does not support ISO C99])])])dnl
AC_PROG_CC
m4_popdef([_AC_PROG_CC_C89])dnl
ACX_PROG_CC_POSIX([2001])
AC_C_RESTRICT
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment