source: trunk/src/binutils/config-ml.in@ 160

Last change on this file since 160 was 10, checked in by bird, 23 years ago

Initial revision

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 22.5 KB
Line 
1# Configure fragment invoked in the post-target section for subdirs
2# wanting multilib support.
3#
4# It is advisable to support a few --enable/--disable options to let the
5# user select which libraries s/he really wants.
6#
7# Subdirectories wishing to use multilib should put the following lines
8# in the "post-target" section of configure.in.
9#
10# if [ "${srcdir}" = "." ] ; then
11# if [ "${with_target_subdir}" != "." ] ; then
12# . ${with_multisrctop}../../config-ml.in
13# else
14# . ${with_multisrctop}../config-ml.in
15# fi
16# else
17# . ${srcdir}/../config-ml.in
18# fi
19#
20# See librx/configure.in in the libg++ distribution for an example of how
21# to handle autoconf'd libraries.
22#
23# Things are complicated because 6 separate cases must be handled:
24# 2 (native, cross) x 3 (absolute-path, relative-not-dot, dot) = 6.
25#
26# srcdir=. is special. It must handle make programs that don't handle VPATH.
27# To implement this, a symlink tree is built for each library and for each
28# multilib subdir.
29#