• Ondřej Surý's avatar
    Use couple more autoconf convenience macros to cleanup configure.ac · a654756c
    Ondřej Surý authored
    Pull and use several autoconf archive convenience macros to simplify
    configure.ac.
    
    * AX_CHECK_COMPILE_FLAG(FLAG, ...) - check whether given CFLAG works
    * AX_CHECK_LINK_FLAG(FLAG, ...) - check whether given LDFLAG works
    * AX_CHECK_PREPROC_FLAG(FLAG, ...) - check whether give CPPFLAG works
    * AX_SAVE_FLAGS/AX_RESTORE_FLAGS - save and restore *FLAGS
    a654756c