Sha256: 89efbc465ccf6794e1076b19f67420757a256fe87699b6d71553f6091a612ffe

Contents?: true

Size: 510 Bytes

Versions: 5

Compression:

Stored size: 510 Bytes

Contents

dnl AC_TRY_CFLAGS (CFLAGS, [ACTION-IF-WORKS], [ACTION-IF-FAILS])
dnl check if $CC supports a given set of cflags
AC_DEFUN([AC_TRY_CFLAGS],
    [AC_MSG_CHECKING([if $CC supports $1 flags])
    SAVE_CFLAGS="$CFLAGS"
    CFLAGS="$1"
    AC_TRY_COMPILE([],[],[ac_cv_try_cflags_ok=yes],[ac_cv_try_cflags_ok=no])
    CFLAGS="$SAVE_CFLAGS"
    AC_MSG_RESULT([$ac_cv_try_cflags_ok])
    if test x"$ac_cv_try_cflags_ok" = x"yes"; then
        ifelse([$2],[],[:],[$2])
    else
        ifelse([$3],[],[:],[$3])
    fi])

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rbcdio-0.05 rubycdio.m4
rbcdio-0.01 rubycdio.m4
rbcdio-0.03 rubycdio.m4
rbcdio-0.04 rubycdio.m4
rbcdio-0.02 rubycdio.m4