annotate libvtv/acinclude.m4 @ 120:f93fa5091070

fix conv1.c
author mir3636
date Thu, 08 Mar 2018 14:53:42 +0900
parents 04ced10e8804
children 84e7813d76e9
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)
kono
parents:
diff changeset
5 dnl The lines below arrange for aclocal not to bring an installed
kono
parents:
diff changeset
6 dnl libtool.m4 into aclocal.m4, while still arranging for automake to
kono
parents:
diff changeset
7 dnl add a definition of LIBTOOL to Makefile.in.
kono
parents:
diff changeset
8 ifelse(,,,[AC_SUBST(LIBTOOL)
kono
parents:
diff changeset
9 AC_DEFUN([AM_PROG_LIBTOOL])
kono
parents:
diff changeset
10 ])
kono
parents:
diff changeset
11
kono
parents:
diff changeset
12
kono
parents:
diff changeset
13
kono
parents:
diff changeset
14 dnl
kono
parents:
diff changeset
15 dnl Initialize the rest of the library configury. At this point we have
kono
parents:
diff changeset
16 dnl variables like $host.
kono
parents:
diff changeset
17 dnl
kono
parents:
diff changeset
18 dnl Substs:
kono
parents:
diff changeset
19 dnl libvtv_builddir (absolute path)
kono
parents:
diff changeset
20 dnl libvtv_srcdir (absolute path)
kono
parents:
diff changeset
21 dnl toplevel_builddir (absolute path)
kono
parents:
diff changeset
22 dnl toplevel_srcdir (absolute path)
kono
parents:
diff changeset
23 dnl with_cross_host
kono
parents:
diff changeset
24 dnl with_newlib
kono
parents:
diff changeset
25 dnl with_target_subdir
kono
parents:
diff changeset
26 dnl plus
kono
parents:
diff changeset
27 dnl - the variables in LIBVTV_CHECK_HOST / configure.host
kono
parents:
diff changeset
28 dnl - default settings for all AM_CONDITIONAL test variables
kono
parents:
diff changeset
29 dnl - lots of tools, like CC and CXX
kono
parents:
diff changeset
30 dnl
kono
parents:
diff changeset
31 AC_DEFUN([LIBVTV_CONFIGURE], [
kono
parents:
diff changeset
32
kono
parents:
diff changeset
33 # These need to be absolute paths, yet at the same time need to
kono
parents:
diff changeset
34 # canonicalize only relative paths, because then amd will not unmount
kono
parents:
diff changeset
35 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
kono
parents:
diff changeset
36 libvtv_builddir=`${PWDCMD-pwd}`
kono
parents:
diff changeset
37 case $srcdir in
kono
parents:
diff changeset
38 [\\/$]* | ?:[\\/]*) libvtv_srcdir=${srcdir} ;;
kono
parents:
diff changeset
39 *) libvtv_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
kono
parents:
diff changeset
40 esac
kono
parents:
diff changeset
41 toplevel_builddir=${libvtv_builddir}/..
kono
parents:
diff changeset
42 toplevel_srcdir=${libvtv_srcdir}/..
kono
parents:
diff changeset
43 AC_SUBST(libvtv_builddir)
kono
parents:
diff changeset
44 AC_SUBST(libvtv_srcdir)
kono
parents:
diff changeset
45 AC_SUBST(toplevel_builddir)
kono
parents:
diff changeset
46 AC_SUBST(toplevel_srcdir)
kono
parents:
diff changeset
47 ])