Changeset 8c17ab0 for configure.in


Ignore:
Timestamp:
Nov 13, 2014, 3:09:54 PM (8 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, string, with_gc
Children:
c8ffe20b
Parents:
134b86a
Message:

add quoted identifiers, add compilation include directory, reformatted some files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.in

    r134b86a r8c17ab0  
    4444        exit 1
    4545     fi
    46      AC_DEFINE_UNQUOTED(GCC_PATH, "${GCC_PATH}")
     46     AC_DEFINE_UNQUOTED(GCC_PATH, "${GCC_PATH}", [Path/name of C compiler.])
    4747     BACKEND_CC=${GCC_PATH}
    4848  fi
     
    5454   exit 1
    5555fi
    56 AC_DEFINE_UNQUOTED(CPP_PATH, "${CPP_PATH}")
     56AC_DEFINE_UNQUOTED(CPP_PATH, "${CPP_PATH}", [Path/name of cpp preprocessor.])
    5757
    5858# Purify instrumenting
     
    6767        cfa_prefix=${prefix}
    6868fi
    69 AC_DEFINE_UNQUOTED(CFA_PREFIX, "${cfa_prefix}")
     69AC_DEFINE_UNQUOTED(CFA_PREFIX, "${cfa_prefix}", [Location of cfa files.])
    7070CFA_PREFIX=${cfa_prefix}
    7171AC_SUBST(CFA_PREFIX)
     72
     73CFA_INCDIR=
     74if test "$includedir" = '${prefix}/include'; then
     75        cfa_incdir="${cfa_prefix}/include"
     76else
     77        cfa_incdir=${$includedir}
     78fi
     79AC_DEFINE_UNQUOTED(CFA_INCDIR, "${cfa_incdir}", [Location of include files.])
     80CFA_INCDIR=${cfa_incdir}
     81AC_SUBST(CFA_INCDIR)
    7282
    7383CFA_BINDIR=
     
    7787        cfa_bindir=${bindir}
    7888fi
    79 AC_DEFINE_UNQUOTED(CFA_BINDIR, "${cfa_bindir}")
     89AC_DEFINE_UNQUOTED(CFA_BINDIR, "${cfa_bindir}", [Location of cfa command.])
    8090CFA_BINDIR=${cfa_bindir}
    8191AC_SUBST(CFA_BINDIR)
     
    8797        cfa_libdir=${libdir}
    8898fi
    89 AC_DEFINE_UNQUOTED(CFA_LIBDIR, "${cfa_libdir}")
     99AC_DEFINE_UNQUOTED(CFA_LIBDIR, "${cfa_libdir}", [Location of cc1 and cfa-cpp commands.])
    90100CFA_LIBDIR=${cfa_libdir}
    91101AC_SUBST(CFA_LIBDIR)
Note: See TracChangeset for help on using the changeset viewer.