1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
|
1. If you are reconfiguring this product, you _must_ use
the config/bootstrap script. The standard "configure"
script is edited to produce a working script. Specifically,
this product will not build correctly when the source
and build directories are different. The following
text is inserted at the beginning of the configure
script:
top_builddir=`pwd`
top_srcdir=`echo $0 | sed 's@/[^/]*$@@'`
top_srcdir=`cd $top_srcdir && pwd`
if test "$top_srcdir" = "$top_builddir" ; then : ; else
( cd $top_srcdir
find . -type d -print ) |
grep -v '/CVS\|/RCS' |
while read f
do test -d $f || mkdir $f
done
( cd $top_srcdir
find . -type f -o -type l -print ) |
grep -v '/CVS\|/RCS\|~$\|,v$\|/#' |
while read f
do
test -f $f || ln -sf $top_srcdir/$f $f
done
sh ./configure $@
exit $?
fi
This script basically turns the build directory into a symlink
copy of the source directory.
2. You _must_ have a libtool more recent than:
ltmain.sh (GNU libtool) 1.3c (1.607 1999/09/22 00:14:08)
If you do not, then the resulting product will not work if
someone uses a GNU ld that does not understand the option:
--no-whole-archive
|