Work on fixing bug #462960

* add Apache's version of config.guess and config.sub, which are both
  recent, and have some helpful mods

* buildconf.sh: tweak call to libtoolize to avoid overwriting the above

* conftools/.cvsignore: the new files are supposed to be there

* Makefile.in: tweak to use $(prefix) for the manual page so that it
  picks up install-time prefix changes. tossed an old comment. tweak
  the 'extraclean' rule to avoid tossing the added config.* files.
This commit is contained in:
Greg Stein 2002-06-01 22:29:30 +00:00
parent 6f7d95c4af
commit 72ced69405
5 changed files with 2860 additions and 17 deletions

View File

@ -17,16 +17,6 @@
# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE # TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
# SOFTWARE OR THE USE OR OTHER DEALINGS IN EXPAT. # SOFTWARE OR THE USE OR OTHER DEALINGS IN EXPAT.
# #
# ---
# I started using automake, but
# 1) it seemed like overkill
# 2) I don't want all the GNU policies
# 3) I wanted more explicit control over what gets built
#
# So I'm doing my Makefile.in files manually. But a fair part is based
# on what I learned from perusing the Makefile.in's generated by automake,
# and the automake authors still get my kudos.
#
SHELL = @SHELL@ SHELL = @SHELL@
@ -40,7 +30,7 @@ exec_prefix = @exec_prefix@
bindir = @bindir@ bindir = @bindir@
libdir = @libdir@ libdir = @libdir@
includedir = @includedir@ includedir = @includedir@
mandir = @prefix@/man/man1 mandir = ${prefix}/man/man1
top_builddir = . top_builddir = .
@ -72,7 +62,6 @@ distclean: clean
extraclean: distclean extraclean: distclean
rm -f expat_config.h.in configure rm -f expat_config.h.in configure
rm -f conftools/config.guess conftools/config.sub
rm -f conftools/ltconfig conftools/ltmain.sh rm -f conftools/ltconfig conftools/ltmain.sh
check: tests/runtests check: tests/runtests

View File

@ -14,13 +14,18 @@ if [ "x$libtoolize" = "x" ]; then
exit 1 exit 1
fi fi
# Remove any libtool files so one can switch between libtool 1.3
# and libtool 1.4 by simply rerunning the buildconf script.
(cd conftools/; rm -f ltmain.sh ltconfig)
#
# Note: we don't use --force (any more) since we have a special
# config.guess/config.sub that we want to ensure is used.
# #
# --force to ensure that we replace with current files
# --copy to avoid symlinks; we want originals for the distro # --copy to avoid symlinks; we want originals for the distro
# --automake to make it shut up about "things to do" # --automake to make it shut up about "things to do"
# #
(cd conftools/; rm -f ltmain.sh ltconfig) $libtoolize --copy --automake
$libtoolize --force --copy --automake
ltpath=`dirname $libtoolize` ltpath=`dirname $libtoolize`
ltfile=`cd $ltpath/../share/aclocal ; pwd`/libtool.m4 ltfile=`cd $ltpath/../share/aclocal ; pwd`/libtool.m4

View File

@ -1,5 +1,3 @@
libtool.m4 libtool.m4
config.guess
config.sub
ltconfig ltconfig
ltmain.sh ltmain.sh

1344
expat/conftools/config.guess vendored Executable file

File diff suppressed because it is too large Load Diff

1507
expat/conftools/config.sub vendored Executable file

File diff suppressed because it is too large Load Diff