Mercurial > hg > CbC > CbC_gcc
view libphobos/m4/gdc.m4 @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 1830386684a0 |
children |
line wrap: on
line source
# # GDC feature checking and sanity check macros # # GDC_CHECK_COMPILE # ----------------- # Check if compiler can compile D code AC_DEFUN([GDC_CHECK_COMPILE], [ AC_LANG_PUSH(D) AC_MSG_CHECKING([[If $GDC can compile D sources]]) AC_COMPILE_IFELSE([AC_LANG_PROGRAM([], [[return 0;]])], [AC_MSG_RESULT([[yes]])], [AC_MSG_RESULT([[no]]) AC_MSG_ERROR([[can't compile D sources!]])]) AC_LANG_POP(D) ])