| 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 | #
|
|---|
|
|---|