Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    r95d0a5db rc6bbcdb  
    5555AC_SUBST([DOendif])
    5656AM_SUBST_NOTMAKE([DOendif])
     57
     58#==============================================================================
     59# backend compiler implementation
     60AC_ARG_WITH(backend-compiler,
     61       [  --with-backend-compiler=PROGRAM     PROGRAM that performs the final code compilation (must be gcc-compatible) ],
     62       backendcompiler=$withval, backendcompiler="")
     63if test "x$backendcompiler" != "x"; then
     64       BACKEND_CC=${backendcompiler}
     65else
     66       AC_PATH_PROG(BACKEND_CC, gcc, [])       # check gcc installed
     67       if test "x$BACKEND_CC" = "x"; then
     68               AC_MSG_ERROR(some version of gcc is needed. Get it at ftp://ftp.gnu.org)
     69               exit 1
     70       fi
     71fi
     72AC_DEFINE_UNQUOTED(CFA_BACKEND_CC, "${BACKEND_CC}", [Location of include files.])
     73AC_SUBST(CFA_BACKEND_CC)
    5774
    5875#==============================================================================
     
    211228
    212229#==============================================================================
    213 # backend compiler implementation
    214 AC_DEFINE_UNQUOTED(CFA_BACKEND_CC, "${CC}", [Backend compiler to use.])
    215 AC_SUBST(CFA_BACKEND_CC)
    216 
    217 #==============================================================================
    218230AC_CONFIG_FILES([
    219231        Makefile
Note: See TracChangeset for help on using the changeset viewer.