annotate libvtv/acinclude.m4 @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +0900
parents 84e7813d76e9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 dnl ----------------------------------------------------------------------
kono
parents:
diff changeset
2 dnl This whole bit snagged from libgfortran.
kono
parents:
diff changeset
3
kono
parents:
diff changeset
4 sinclude(../libtool.m4)
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
5 sinclude(../config/enable.m4)
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
6 sinclude(../config/cet.m4)
111
kono
parents:
diff changeset
7 dnl The lines below arrange for aclocal not to bring an installed
kono
parents:
diff changeset
8 dnl libtool.m4 into aclocal.m4, while still arranging for automake to
kono
parents:
diff changeset
9 dnl add a definition of LIBTOOL to Makefile.in.
kono
parents:
diff changeset
10 ifelse(,,,[AC_SUBST(LIBTOOL)
kono
parents:
diff changeset
11 AC_DEFUN([AM_PROG_LIBTOOL])
kono
parents:
diff changeset
12 ])
kono
parents:
diff changeset
13
kono
parents:
diff changeset
14
kono
parents:
diff changeset
15
kono
parents:
diff changeset
16 dnl
kono
parents:
diff changeset
17 dnl Initialize the rest of the library configury. At this point we have
kono
parents:
diff changeset
18 dnl variables like $host.
kono
parents:
diff changeset
19 dnl
kono
parents:
diff changeset
20 dnl Substs:
kono
parents:
diff changeset
21 dnl libvtv_builddir (absolute path)
kono
parents:
diff changeset
22 dnl libvtv_srcdir (absolute path)
kono
parents:
diff changeset
23 dnl toplevel_builddir (absolute path)
kono
parents:
diff changeset
24 dnl toplevel_srcdir (absolute path)
kono
parents:
diff changeset
25 dnl with_cross_host
kono
parents:
diff changeset
26 dnl with_newlib
kono
parents:
diff changeset
27 dnl with_target_subdir
kono
parents:
diff changeset
28 dnl plus
kono
parents:
diff changeset
29 dnl - the variables in LIBVTV_CHECK_HOST / configure.host
kono
parents:
diff changeset
30 dnl - default settings for all AM_CONDITIONAL test variables
kono
parents:
diff changeset
31 dnl - lots of tools, like CC and CXX
kono
parents:
diff changeset
32 dnl
kono
parents:
diff changeset
33 AC_DEFUN([LIBVTV_CONFIGURE], [
kono
parents:
diff changeset
34
kono
parents:
diff changeset
35 # These need to be absolute paths, yet at the same time need to
kono
parents:
diff changeset
36 # canonicalize only relative paths, because then amd will not unmount
kono
parents:
diff changeset
37 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
kono
parents:
diff changeset
38 libvtv_builddir=`${PWDCMD-pwd}`
kono
parents:
diff changeset
39 case $srcdir in
kono
parents:
diff changeset
40 [\\/$]* | ?:[\\/]*) libvtv_srcdir=${srcdir} ;;
kono
parents:
diff changeset
41 *) libvtv_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
kono
parents:
diff changeset
42 esac
kono
parents:
diff changeset
43 toplevel_builddir=${libvtv_builddir}/..
kono
parents:
diff changeset
44 toplevel_srcdir=${libvtv_srcdir}/..
kono
parents:
diff changeset
45 AC_SUBST(libvtv_builddir)
kono
parents:
diff changeset
46 AC_SUBST(libvtv_srcdir)
kono
parents:
diff changeset
47 AC_SUBST(toplevel_builddir)
kono
parents:
diff changeset
48 AC_SUBST(toplevel_srcdir)
kono
parents:
diff changeset
49 ])