ADT
aaron-thesis
arm-eh
ast-experimental
cleanup-dtors
deferred_resn
demangler
enum
forall-pointer-decay
jacob/cs343-translation
jenkins-sandbox
new-ast
new-ast-unique-expr
no_list
persistent-indexer
pthread-emulation
qualifiedEnum
stuck-waitfor-destruct
|
Last change
on this file since 534e4e4 was 534e4e4, checked in by Thierry Delisle <tdelisle@…>, 8 years ago |
|
Some clean-up before tackling finding directories
|
-
Property mode
set to
100644
|
|
File size:
991 bytes
|
| Line | |
|---|
| 1 |
|
|---|
| 2 | m4_define([M4CFA_PARSE_PREFIX], [
|
|---|
| 3 | if test "x$prefix" = "xNONE"; then
|
|---|
| 4 | cfa_prefix=${ac_default_prefix}
|
|---|
| 5 | else
|
|---|
| 6 | cfa_prefix=${prefix}
|
|---|
| 7 | fi
|
|---|
| 8 | AC_DEFINE_UNQUOTED(CFA_PREFIX, "${cfa_prefix}", [Location of cfa install.])
|
|---|
| 9 | AC_SUBST(CFA_PREFIX, ${cfa_prefix})
|
|---|
| 10 |
|
|---|
| 11 | if test "$includedir" = '${prefix}/include'; then
|
|---|
| 12 | cfa_incdir="${cfa_prefix}/include/${cfa_name}"
|
|---|
| 13 | else
|
|---|
| 14 | cfa_incdir=${includedir}
|
|---|
| 15 | fi
|
|---|
| 16 | AC_DEFINE_UNQUOTED(CFA_INCDIR, "${cfa_incdir}", [Location of include files.])
|
|---|
| 17 | AC_SUBST(CFA_INCDIR, ${cfa_incdir})
|
|---|
| 18 |
|
|---|
| 19 | if test "$bindir" = '${exec_prefix}/bin'; then
|
|---|
| 20 | cfa_bindir="${cfa_prefix}/bin"
|
|---|
| 21 | else
|
|---|
| 22 | cfa_bindir=${bindir}
|
|---|
| 23 | fi
|
|---|
| 24 | AC_DEFINE_UNQUOTED(CFA_BINDIR, "${cfa_bindir}", [Location of cfa command.])
|
|---|
| 25 | AC_SUBST(CFA_BINDIR, ${cfa_bindir})
|
|---|
| 26 |
|
|---|
| 27 | if test "$libdir" = '${exec_prefix}/lib'; then
|
|---|
| 28 | cfa_libdir="${cfa_prefix}/lib/${cfa_name}"
|
|---|
| 29 | else
|
|---|
| 30 | cfa_libdir=${libdir}
|
|---|
| 31 | fi
|
|---|
| 32 | AC_DEFINE_UNQUOTED(CFA_LIBDIR, "${cfa_libdir}", [Location of cc1 and cfa-cpp commands.])
|
|---|
| 33 | AC_SUBST(CFA_LIBDIR, ${cfa_libdir})
|
|---|
| 34 | ]) |
|---|
Note:
See
TracBrowser
for help on using the repository browser.