diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-05-02 01:25:12 +0200 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-05-02 01:25:12 +0200 |
commit | 0c13086eefdb3a61555f5d0199b4ba7aad08403c (patch) | |
tree | c16d76ab2a0d22ee7e14b3adecd3fbcdbbbc5b61 /configure.ac | |
parent | bcbd7f66cec3680b2580e20aaf31a9f4d2278a79 (diff) | |
download | gtk-vlc-player-0c13086eefdb3a61555f5d0199b4ba7aad08403c.tar.gz |
check for C99 support
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 00c7174..887a46e 100644 --- a/configure.ac +++ b/configure.ac @@ -19,8 +19,10 @@ AC_PROG_INSTALL AC_PROG_LIBTOOL AC_PROG_CC AC_PROG_CC_C99 +if [[ $ac_cv_prog_cc_c99 = no ]]; then + AC_MSG_ERROR([C compiler does not support C99 mode!]) +fi AC_PROG_CC_C_O -# FIXME: check whether c99 is actually available AC_CHECK_PROG(PKG_CONFIG, pkg-config, pkg-config) if [[ x$PKG_CONFIG = x ]]; then |