mirror of
git://git.sv.gnu.org/autoconf
synced 2025-03-19 14:40:24 +08:00
1999-10-31 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_COMPILE_CHECK, AC_TRY_COMPILE, AC_TRY_RUN_NATIVE, AC_OUTPUT_CONFIG_STATUS): Use @PND@ instead of [#]: it looses the editors that try to match the pairs of (), [] etc. Formatting changes. * acspecific.m4: Formatting changes.
This commit is contained in:
parent
2d7beaf15d
commit
71a65156f8
@ -1,3 +1,12 @@
|
||||
1999-10-31 Akim Demaille <akim@epita.fr>
|
||||
|
||||
* acgeneral.m4 (AC_COMPILE_CHECK, AC_TRY_COMPILE,
|
||||
AC_TRY_RUN_NATIVE, AC_OUTPUT_CONFIG_STATUS): Use @PND@ instead of
|
||||
[#]: it looses the editors that try to match the pairs of (), []
|
||||
etc.
|
||||
Formatting changes.
|
||||
* acspecific.m4: Formatting changes.
|
||||
|
||||
1999-10-31 Akim Demaille <akim@epita.fr>
|
||||
|
||||
Allow standard beta version numbers.
|
||||
|
230
Makefile.in
230
Makefile.in
@ -1,4 +1,4 @@
|
||||
# Makefile.in generated automatically by automake 1.4 from Makefile.am
|
||||
# Makefile.in generated automatically by automake 1.4a from Makefile.am
|
||||
|
||||
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
@ -10,7 +10,6 @@
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
SHELL = @SHELL@
|
||||
|
||||
srcdir = @srcdir@
|
||||
@ -46,9 +45,10 @@ AUTOMAKE = @AUTOMAKE@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_FLAG =
|
||||
transform = @program_transform_name@
|
||||
|
||||
NORMAL_INSTALL = :
|
||||
@ -57,14 +57,23 @@ POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
AMDEP = @AMDEP@
|
||||
AMTAR = @AMTAR@
|
||||
AWK = @AWK@
|
||||
CC = @CC@
|
||||
CPP = @CPP@
|
||||
CXX = @CXX@
|
||||
CXXCPP = @CXXCPP@
|
||||
DEPDIR = @DEPDIR@
|
||||
M4 = @M4@
|
||||
PACKAGE = @PACKAGE@
|
||||
PERL = @PERL@
|
||||
PERLSCRIPTS = @PERLSCRIPTS@
|
||||
VERSION = @VERSION@
|
||||
install_sh = @install_sh@
|
||||
standards_texi = @standards_texi@
|
||||
|
||||
|
||||
AUTOMAKE_OPTIONS = check-news 1.4
|
||||
|
||||
SUBDIRS = testsuite
|
||||
@ -81,7 +90,9 @@ EXTRA_SCRIPTS = autoscan
|
||||
# s/nodistpackageDATA/nodist_pkgdata_DATA/
|
||||
# and adapt dependencies once we use a more recent Automake
|
||||
|
||||
distpkgdataDATA = acfunctions acheaders acidentifiers acmakevars acprograms acgeneral.m4 acoldnames.m4 acspecific.m4 autoconf.m4 autoheader.m4
|
||||
distpkgdataDATA = \
|
||||
acfunctions acheaders acidentifiers acmakevars acprograms \
|
||||
acgeneral.m4 acoldnames.m4 acspecific.m4 autoconf.m4 autoheader.m4
|
||||
|
||||
|
||||
nodistpkgdataDATA = autoconf.m4f autoheader.m4f acversion.m4
|
||||
@ -93,40 +104,54 @@ autoconf_TEXINFOS = install.texi
|
||||
standards_TEXINFOS = make-stds.texi
|
||||
|
||||
OLDCHANGELOGS = ChangeLog.0 ChangeLog.1
|
||||
EXTRA_DIST = $(OLDCHANGELOGS) autoconf.sh autoheader.sh autoreconf.sh autoupdate.sh ifnames.sh autoscan.pl INSTALL.txt $(distpkgdataDATA)
|
||||
EXTRA_DIST = $(OLDCHANGELOGS) \
|
||||
autoconf.sh autoheader.sh autoreconf.sh autoupdate.sh \
|
||||
ifnames.sh autoscan.pl INSTALL.txt \
|
||||
$(distpkgdataDATA)
|
||||
|
||||
|
||||
# Files that should be removed, but which Automake does not know.
|
||||
# There are texi2dvi files, frozen files, and the scripts.
|
||||
CLEANFILES = autoconf.cvs autoconf.ev autoconf.evs autoconf.ma autoconf.mas autoconf.ov autoconf.ovs autoconf.m4f autoheader.m4f $(bin_SCRIPTS)
|
||||
CLEANFILES = autoconf.cvs autoconf.ev autoconf.evs autoconf.ma autoconf.mas \
|
||||
autoconf.ov autoconf.ovs autoconf.m4f autoheader.m4f $(bin_SCRIPTS)
|
||||
|
||||
|
||||
# The scripts.
|
||||
|
||||
editsh = sed -e 's,@''datadir''@,$(pkgdatadir),g' -e 's,@''M4''@,$(M4),g' -e 's,@''AWK''@,$(AWK),g' -e 's,@''SHELL''@,$(SHELL),g'
|
||||
editsh = sed -e 's,@''datadir''@,$(pkgdatadir),g' -e \
|
||||
's,@''M4''@,$(M4),g' -e 's,@''AWK''@,$(AWK),g' \
|
||||
-e 's,@''SHELL''@,$(SHELL),g' \
|
||||
-e 's,@''VERSION''@,$(VERSION),g' -e 's,@''PACKAGE''@,$(PACKAGE),g'
|
||||
|
||||
editpl = sed -e 's,@''datadir''@,$(pkgdatadir),g' -e 's,@''PERL''@,$(PERL),g'
|
||||
editpl = sed -e 's,@''datadir''@,$(pkgdatadir),g' -e 's,@''PERL''@,$(PERL),g' \
|
||||
-e 's,@''VERSION''@,$(VERSION),g' -e 's,@''PACKAGE''@,$(PACKAGE),g'
|
||||
|
||||
subdir = .
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
CONFIG_CLEAN_FILES = acversion.m4
|
||||
SCRIPTS = $(bin_SCRIPTS)
|
||||
|
||||
CFLAGS = @CFLAGS@
|
||||
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||
CCLD = $(CC)
|
||||
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||
DIST_SOURCES =
|
||||
TEXI2DVI = texi2dvi
|
||||
INFO_DEPS = autoconf.info standards.info
|
||||
DVIS = autoconf.dvi standards.dvi
|
||||
TEXINFOS = autoconf.texi standards.texi
|
||||
DATA = $(pkgdata_DATA)
|
||||
|
||||
DIST_COMMON = README $(autoconf_TEXINFOS) $(standards_TEXINFOS) AUTHORS \
|
||||
COPYING ChangeLog INSTALL Makefile.am Makefile.in NEWS THANKS TODO \
|
||||
aclocal.m4 acversion.m4.in config.guess config.sub configure \
|
||||
configure.in install-sh mdate-sh missing mkinstalldirs stamp-vti \
|
||||
texinfo.tex version.texi
|
||||
DIST_COMMON = README $(autoconf_TEXINFOS) $(pkgdata_DATA) \
|
||||
$(standards_TEXINFOS) AUTHORS COPYING ChangeLog INSTALL Makefile.am \
|
||||
Makefile.in NEWS THANKS TODO aclocal.m4 acversion.m4.in config.guess \
|
||||
config.sub configure configure.in depcomp install-sh mdate-sh missing \
|
||||
mkinstalldirs stamp-vti texinfo.tex version.texi
|
||||
|
||||
|
||||
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
|
||||
TAR = tar
|
||||
GZIP_ENV = --best
|
||||
all: all-redirect
|
||||
.SUFFIXES:
|
||||
@ -152,19 +177,22 @@ install-binSCRIPTS: $(bin_SCRIPTS)
|
||||
@$(NORMAL_INSTALL)
|
||||
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
||||
@list='$(bin_SCRIPTS)'; for p in $$list; do \
|
||||
f="`echo $$p|sed '$(transform)'`"; \
|
||||
if test -f $$p; then \
|
||||
echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
|
||||
$(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
|
||||
else if test -f $(srcdir)/$$p; then \
|
||||
echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
|
||||
$(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
|
||||
else :; fi; fi; \
|
||||
echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/$$f"; \
|
||||
$(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/$$f; \
|
||||
elif test -f $(srcdir)/$$p; then \
|
||||
echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/$$f"; \
|
||||
$(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/$$f; \
|
||||
else :; fi; \
|
||||
done
|
||||
|
||||
uninstall-binSCRIPTS:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
list='$(bin_SCRIPTS)'; for p in $$list; do \
|
||||
rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
|
||||
@list='$(bin_SCRIPTS)'; for p in $$list; do \
|
||||
f="`echo $$p|sed '$(transform)'`"; \
|
||||
echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
|
||||
rm -f $(DESTDIR)$(bindir)/$$f; \
|
||||
done
|
||||
|
||||
$(srcdir)/version.texi: stamp-vti
|
||||
@ -206,7 +234,7 @@ DVIPS = dvips
|
||||
&& $(MAKEINFO) `echo $< | sed 's,.*/,,'`
|
||||
|
||||
.texi.dvi:
|
||||
TEXINPUTS=.:$$TEXINPUTS \
|
||||
TEXINPUTS=$(srcdir):$$TEXINPUTS \
|
||||
MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
|
||||
|
||||
.texi:
|
||||
@ -225,7 +253,7 @@ DVIPS = dvips
|
||||
&& $(MAKEINFO) `echo $< | sed 's,.*/,,'`
|
||||
|
||||
.texinfo.dvi:
|
||||
TEXINPUTS=.:$$TEXINPUTS \
|
||||
TEXINPUTS=$(srcdir):$$TEXINPUTS \
|
||||
MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
|
||||
|
||||
.txi.info:
|
||||
@ -234,7 +262,7 @@ DVIPS = dvips
|
||||
&& $(MAKEINFO) `echo $< | sed 's,.*/,,'`
|
||||
|
||||
.txi.dvi:
|
||||
TEXINPUTS=.:$$TEXINPUTS \
|
||||
TEXINPUTS=$(srcdir):$$TEXINPUTS \
|
||||
MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
|
||||
|
||||
.txi:
|
||||
@ -250,7 +278,7 @@ install-info-am: $(INFO_DEPS)
|
||||
@list='$(INFO_DEPS)'; \
|
||||
for file in $$list; do \
|
||||
d=$(srcdir); \
|
||||
for ifile in `cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
|
||||
for ifile in `CDPATH=: && cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
|
||||
if test -f $$d/$$ifile; then \
|
||||
echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \
|
||||
$(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \
|
||||
@ -269,24 +297,26 @@ install-info-am: $(INFO_DEPS)
|
||||
uninstall-info:
|
||||
$(PRE_UNINSTALL)
|
||||
@if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
|
||||
ii=yes; \
|
||||
else ii=; fi; \
|
||||
list='$(INFO_DEPS)'; \
|
||||
for file in $$list; do \
|
||||
test -z "$ii" \
|
||||
|| install-info --info-dir=$(DESTDIR)$(infodir) --remove $$file; \
|
||||
done
|
||||
list='$(INFO_DEPS)'; \
|
||||
for file in $$list; do \
|
||||
echo " install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file"; \
|
||||
install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file; \
|
||||
done; \
|
||||
else :; fi
|
||||
@$(NORMAL_UNINSTALL)
|
||||
list='$(INFO_DEPS)'; \
|
||||
@list='$(INFO_DEPS)'; \
|
||||
for file in $$list; do \
|
||||
(cd $(DESTDIR)$(infodir) && rm -f $$file $$file-[0-9] $$file-[0-9][0-9]); \
|
||||
(if cd $(DESTDIR)$(infodir); then \
|
||||
echo " rm -f $$file $$file-[0-9] $$file-[0-9][0-9])"; \
|
||||
rm -f $$file $$file-[0-9] $$file-[0-9][0-9]; \
|
||||
else :; fi); \
|
||||
done
|
||||
|
||||
dist-info: $(INFO_DEPS)
|
||||
list='$(INFO_DEPS)'; \
|
||||
for base in $$list; do \
|
||||
d=$(srcdir); \
|
||||
for file in `cd $$d && eval echo $$base*`; do \
|
||||
for file in `CDPATH=: && cd $$d && eval echo $$base*`; do \
|
||||
test -f $(distdir)/$$file \
|
||||
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
||||
|| cp -p $$d/$$file $(distdir)/$$file; \
|
||||
@ -295,15 +325,16 @@ dist-info: $(INFO_DEPS)
|
||||
|
||||
mostlyclean-aminfo:
|
||||
-rm -f autoconf.aux autoconf.cp autoconf.cps autoconf.dvi autoconf.fn \
|
||||
autoconf.fns autoconf.ky autoconf.kys autoconf.ps \
|
||||
autoconf.log autoconf.pg autoconf.toc autoconf.tp \
|
||||
autoconf.fns autoconf.pgs autoconf.ky autoconf.kys \
|
||||
autoconf.ps autoconf.log autoconf.pg autoconf.toc autoconf.tp \
|
||||
autoconf.tps autoconf.vr autoconf.vrs autoconf.op autoconf.tr \
|
||||
autoconf.cv autoconf.cn standards.aux standards.cp \
|
||||
standards.cps standards.dvi standards.fn standards.fns \
|
||||
standards.ky standards.kys standards.ps standards.log \
|
||||
standards.pg standards.toc standards.tp standards.tps \
|
||||
standards.vr standards.vrs standards.op standards.tr \
|
||||
standards.cv standards.cn
|
||||
autoconf.cv autoconf.cn autoconf.cm autoconf.ov standards.aux \
|
||||
standards.cp standards.cps standards.dvi standards.fn \
|
||||
standards.fns standards.pgs standards.ky standards.kys \
|
||||
standards.ps standards.log standards.pg standards.toc \
|
||||
standards.tp standards.tps standards.vr standards.vrs \
|
||||
standards.op standards.tr standards.cv standards.cn \
|
||||
standards.cm standards.ov
|
||||
|
||||
clean-aminfo:
|
||||
|
||||
@ -321,19 +352,18 @@ install-pkgdataDATA: $(pkgdata_DATA)
|
||||
@$(NORMAL_INSTALL)
|
||||
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
|
||||
@list='$(pkgdata_DATA)'; for p in $$list; do \
|
||||
if test -f $(srcdir)/$$p; then \
|
||||
echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkgdatadir)/$$p"; \
|
||||
$(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkgdatadir)/$$p; \
|
||||
else if test -f $$p; then \
|
||||
echo " $(INSTALL_DATA) $$p $(DESTDIR)$(pkgdatadir)/$$p"; \
|
||||
$(INSTALL_DATA) $$p $(DESTDIR)$(pkgdatadir)/$$p; \
|
||||
fi; fi; \
|
||||
if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
|
||||
f="`echo $$p | sed -e 's|^.*/||'`"; \
|
||||
echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(pkgdatadir)/$$f"; \
|
||||
$(INSTALL_DATA) $$d$$p $(DESTDIR)$(pkgdatadir)/$$f; \
|
||||
done
|
||||
|
||||
uninstall-pkgdataDATA:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
list='$(pkgdata_DATA)'; for p in $$list; do \
|
||||
rm -f $(DESTDIR)$(pkgdatadir)/$$p; \
|
||||
@list='$(pkgdata_DATA)'; for p in $$list; do \
|
||||
f="`echo $$p | sed -e 's|^.*/||'`"; \
|
||||
echo " rm -f $(DESTDIR)$(pkgdatadir)/$$f"; \
|
||||
rm -f $(DESTDIR)$(pkgdatadir)/$$f; \
|
||||
done
|
||||
|
||||
# This directory's subdirectories are mostly independent; you can cd
|
||||
@ -372,7 +402,7 @@ maintainer-clean-recursive:
|
||||
dot_seen=no; \
|
||||
rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
rev="$$subdir $$rev"; \
|
||||
test "$$subdir" = "." && dot_seen=yes; \
|
||||
if test "$$subdir" = "."; then dot_seen=yes; else :; fi; \
|
||||
done; \
|
||||
test "$$dot_seen" = "no" && rev=". $$rev"; \
|
||||
target=`echo $@ | sed s/-recursive//`; \
|
||||
@ -393,15 +423,17 @@ tags-recursive:
|
||||
|
||||
tags: TAGS
|
||||
|
||||
ID: $(HEADERS) $(SOURCES) $(LISP)
|
||||
list='$(SOURCES) $(HEADERS)'; \
|
||||
unique=`for i in $$list; do echo $$i; done | \
|
||||
awk ' { files[$$0] = 1; } \
|
||||
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
||||
list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) ' { files[$$0] = 1; } \
|
||||
END { for (i in files) print i; }'`; \
|
||||
here=`pwd` && cd $(srcdir) \
|
||||
&& mkid -f$$here/ID $$unique $(LISP)
|
||||
mkid -f$$here/ID $$unique $(LISP)
|
||||
|
||||
TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
|
||||
TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
tags=; \
|
||||
here=`pwd`; \
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
@ -409,12 +441,14 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
|
||||
test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
|
||||
fi; \
|
||||
done; \
|
||||
list='$(SOURCES) $(HEADERS)'; \
|
||||
unique=`for i in $$list; do echo $$i; done | \
|
||||
awk ' { files[$$0] = 1; } \
|
||||
list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) ' { files[$$0] = 1; } \
|
||||
END { for (i in files) print i; }'`; \
|
||||
test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
|
||||
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
|
||||
|| etags $(ETAGS_ARGS) $$tags $$unique $(LISP)
|
||||
|
||||
mostlyclean-tags:
|
||||
|
||||
@ -428,54 +462,64 @@ maintainer-clean-tags:
|
||||
distdir = $(PACKAGE)-$(VERSION)
|
||||
top_distdir = $(distdir)
|
||||
|
||||
|
||||
# This target untars the dist file and tries a VPATH configuration. Then
|
||||
# it guarantees that the distribution is self-contained by making another
|
||||
# tarfile.
|
||||
distcheck: dist
|
||||
-rm -rf $(distdir)
|
||||
GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
|
||||
-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
|
||||
GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
|
||||
chmod -R a-w $(distdir); chmod a+w $(distdir)
|
||||
mkdir $(distdir)/=build
|
||||
mkdir $(distdir)/=inst
|
||||
dc_install_base=`cd $(distdir)/=inst && pwd`; \
|
||||
cd $(distdir)/=build \
|
||||
chmod a-w $(distdir)
|
||||
dc_install_base=`CDPATH=: && cd $(distdir)/=inst && pwd` \
|
||||
&& cd $(distdir)/=build \
|
||||
&& ../configure --srcdir=.. --prefix=$$dc_install_base \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) check \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) install \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) dist
|
||||
-rm -rf $(distdir)
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \
|
||||
&& test `find $$dc_install_base -type f -print | wc -l` -le 1 \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) dist \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) distclean \
|
||||
&& rm -f $(distdir).tar.gz \
|
||||
&& test `find . -type f -print | wc -l` -eq 0
|
||||
-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
|
||||
@banner="$(distdir).tar.gz is ready for distribution"; \
|
||||
dashes=`echo "$$banner" | sed s/./=/g`; \
|
||||
echo "$$dashes"; \
|
||||
echo "$$banner"; \
|
||||
echo "$$dashes"
|
||||
dist: distdir
|
||||
-chmod -R a+r $(distdir)
|
||||
GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
|
||||
-rm -rf $(distdir)
|
||||
-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
|
||||
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
|
||||
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
|
||||
! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
|
||||
|| chmod -R a+r $(distdir)
|
||||
$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c > $(distdir).tar.gz
|
||||
-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
|
||||
dist-all: distdir
|
||||
-chmod -R a+r $(distdir)
|
||||
GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
|
||||
-rm -rf $(distdir)
|
||||
-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
|
||||
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
|
||||
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
|
||||
! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
|
||||
|| chmod -R a+r $(distdir)
|
||||
$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c > $(distdir).tar.gz
|
||||
-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
|
||||
distdir: $(DISTFILES)
|
||||
@if sed 15q $(srcdir)/NEWS | fgrep -e "$(VERSION)" > /dev/null; then :; else \
|
||||
echo "NEWS not updated; not releasing" 1>&2; \
|
||||
exit 1; \
|
||||
fi
|
||||
-rm -rf $(distdir)
|
||||
-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
|
||||
mkdir $(distdir)
|
||||
-chmod 777 $(distdir)
|
||||
here=`cd $(top_builddir) && pwd`; \
|
||||
top_distdir=`cd $(distdir) && pwd`; \
|
||||
distdir=`cd $(distdir) && pwd`; \
|
||||
cd $(top_srcdir) \
|
||||
&& $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu Makefile
|
||||
@for file in $(DISTFILES); do \
|
||||
d=$(srcdir); \
|
||||
if test -d $$d/$$file; then \
|
||||
cp -pr $$d/$$file $(distdir)/$$file; \
|
||||
cp -pR $$d/$$file $(distdir); \
|
||||
else \
|
||||
test -f $(distdir)/$$file \
|
||||
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
||||
@ -487,7 +531,6 @@ distdir: $(DISTFILES)
|
||||
test -d $(distdir)/$$subdir \
|
||||
|| mkdir $(distdir)/$$subdir \
|
||||
|| exit 1; \
|
||||
chmod 777 $(distdir)/$$subdir; \
|
||||
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
@ -517,7 +560,7 @@ uninstall: uninstall-recursive
|
||||
all-am: Makefile $(INFO_DEPS) $(SCRIPTS) $(DATA)
|
||||
all-redirect: all-recursive
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
|
||||
installdirs: installdirs-recursive
|
||||
installdirs-am:
|
||||
$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(infodir) \
|
||||
@ -534,6 +577,7 @@ distclean-generic:
|
||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
||||
|
||||
maintainer-clean-generic:
|
||||
-rm -f Makefile.in
|
||||
mostlyclean-am: mostlyclean-vti mostlyclean-aminfo mostlyclean-tags \
|
||||
mostlyclean-generic
|
||||
|
||||
@ -563,7 +607,8 @@ maintainer-clean: maintainer-clean-recursive
|
||||
distclean-vti clean-vti maintainer-clean-vti install-info-am \
|
||||
uninstall-info mostlyclean-aminfo distclean-aminfo clean-aminfo \
|
||||
maintainer-clean-aminfo uninstall-pkgdataDATA install-pkgdataDATA \
|
||||
install-data-recursive uninstall-data-recursive install-exec-recursive \
|
||||
install-recursive uninstall-recursive install-data-recursive \
|
||||
uninstall-data-recursive install-exec-recursive \
|
||||
uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
|
||||
all-recursive check-recursive installcheck-recursive info-recursive \
|
||||
dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
|
||||
@ -571,9 +616,10 @@ maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
|
||||
distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
|
||||
dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
|
||||
install-exec install-data-am install-data install-am install \
|
||||
uninstall-am uninstall all-redirect all-am all installdirs-am \
|
||||
installdirs mostlyclean-generic distclean-generic clean-generic \
|
||||
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
|
||||
uninstall-am uninstall all-redirect all-am all install-strip \
|
||||
installdirs-am installdirs mostlyclean-generic distclean-generic \
|
||||
clean-generic maintainer-clean-generic clean mostlyclean distclean \
|
||||
maintainer-clean
|
||||
|
||||
|
||||
# INSTALL is a special case. Automake seems to have a single name space
|
||||
|
22
acgeneral.m4
22
acgeneral.m4
@ -765,7 +765,8 @@ popdef([AC_Prefix])dnl
|
||||
dnl ### Initialization
|
||||
|
||||
|
||||
dnl AC_INIT_NOTICE()
|
||||
dnl AC_INIT_NOTICE
|
||||
dnl --------------
|
||||
AC_DEFUN(AC_INIT_NOTICE,
|
||||
[# Guess values for system-dependent variables and create Makefiles.
|
||||
# Generated automatically using Autoconf version] AC_ACVERSION [
|
||||
@ -781,12 +782,15 @@ ac_arg_var_help=
|
||||
ac_default_prefix=/usr/local
|
||||
[#] Any additions from configure.in:])
|
||||
|
||||
|
||||
dnl AC_PREFIX_DEFAULT(PREFIX)
|
||||
dnl -------------------------
|
||||
AC_DEFUN(AC_PREFIX_DEFAULT,
|
||||
[AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)dnl
|
||||
ac_default_prefix=$1
|
||||
AC_DIVERT_POP()])
|
||||
|
||||
|
||||
dnl AC_INIT_PARSE_ARGS
|
||||
dnl ------------------
|
||||
AC_DEFUN(AC_INIT_PARSE_ARGS,
|
||||
@ -2524,6 +2528,7 @@ rm -f conftest*])
|
||||
|
||||
dnl AC_EGREP_HEADER(PATTERN, HEADER-FILE, ACTION-IF-FOUND [,
|
||||
dnl ACTION-IF-NOT-FOUND])
|
||||
dnl --------------------------------------------------------
|
||||
AC_DEFUN(AC_EGREP_HEADER,
|
||||
[AC_EGREP_CPP([$1], [#include <$2>], [$3], [$4])])
|
||||
|
||||
@ -2553,7 +2558,7 @@ ifelse([$4], , , [else
|
||||
])dnl
|
||||
fi
|
||||
rm -f conftest*
|
||||
])
|
||||
])dnl AC_EGREP_CPP
|
||||
|
||||
|
||||
dnl ### Examining syntax
|
||||
@ -2561,6 +2566,7 @@ dnl ### Examining syntax
|
||||
|
||||
dnl AC_TRY_COMPILE(INCLUDES, FUNCTION-BODY,
|
||||
dnl [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
|
||||
dnl ---------------------------------------------------------
|
||||
AC_DEFUN(AC_TRY_COMPILE,
|
||||
[cat >conftest.$ac_ext <<EOF
|
||||
ifelse(AC_LANG, [FORTRAN77],
|
||||
@ -2594,6 +2600,7 @@ dnl ### Examining libraries
|
||||
|
||||
dnl AC_COMPILE_CHECK(ECHO-TEXT, INCLUDES, FUNCTION-BODY,
|
||||
dnl ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND])
|
||||
dnl ---------------------------------------------------------
|
||||
AC_DEFUN(AC_COMPILE_CHECK,
|
||||
[AC_OBSOLETE([$0], [; instead use AC_TRY_COMPILE or AC_TRY_LINK, and AC_MSG_CHECKING and AC_MSG_RESULT])dnl
|
||||
ifelse([$1], , , [AC_CHECKING([for $1])
|
||||
@ -2603,6 +2610,7 @@ AC_TRY_LINK([$2], [$3], [$4], [$5])
|
||||
|
||||
dnl AC_TRY_LINK(INCLUDES, FUNCTION-BODY,
|
||||
dnl [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
|
||||
dnl ------------------------------------------------------
|
||||
AC_DEFUN(AC_TRY_LINK,
|
||||
[cat >conftest.$ac_ext <<EOF
|
||||
ifelse(AC_LANG, [FORTRAN77],
|
||||
@ -2630,7 +2638,8 @@ ifelse([$4], , , [ rm -rf conftest*
|
||||
$4
|
||||
])dnl
|
||||
fi
|
||||
rm -f conftest*])
|
||||
rm -f conftest*
|
||||
])dnl AC_TRY_LINK
|
||||
|
||||
|
||||
dnl ### Checking for run-time features
|
||||
@ -2672,7 +2681,8 @@ ifelse([$3], , , [ rm -fr conftest*
|
||||
$3
|
||||
])dnl
|
||||
fi
|
||||
rm -fr conftest*])
|
||||
rm -fr conftest*
|
||||
])dnl AC_TRY_RUN_NATIVE
|
||||
|
||||
|
||||
dnl ### Checking for header files
|
||||
@ -2785,7 +2795,7 @@ AC_CACHE_CHECK([whether `$1' is declared], ac_Symbol,
|
||||
#endif
|
||||
]),
|
||||
[#ifndef $1
|
||||
char *p = (char *) $1;
|
||||
char *p = (char *) $1;
|
||||
#endif
|
||||
],
|
||||
AC_VAR_SET(ac_Symbol, yes), AC_VAR_SET(ac_Symbol, no))])
|
||||
@ -3215,7 +3225,7 @@ dnl hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
|
||||
dnl so uname gets run too.
|
||||
# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
|
||||
#
|
||||
[#] [$]0 [$]ac_configure_args
|
||||
@PND@ [$]0 [$]ac_configure_args
|
||||
#
|
||||
# Compiler output produced by configure, useful for debugging
|
||||
# configure, is in ./config.log if it exists.
|
||||
|
234
aclocal.m4
vendored
234
aclocal.m4
vendored
@ -1,4 +1,4 @@
|
||||
dnl aclocal.m4 generated automatically by aclocal 1.4
|
||||
dnl aclocal.m4 generated automatically by aclocal 1.4a
|
||||
|
||||
dnl Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
@ -21,27 +21,40 @@ dnl AM_INIT_AUTOMAKE(package,version, [no-define])
|
||||
|
||||
AC_DEFUN(AM_INIT_AUTOMAKE,
|
||||
[AC_REQUIRE([AC_PROG_INSTALL])
|
||||
dnl We require 2.13 because we rely on SHELL being computed by configure.
|
||||
AC_PREREQ([2.13])
|
||||
PACKAGE=[$1]
|
||||
AC_SUBST(PACKAGE)
|
||||
VERSION=[$2]
|
||||
AC_SUBST(VERSION)
|
||||
dnl test to see if srcdir already configured
|
||||
if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
|
||||
if test "`CDPATH=: && cd $srcdir && pwd`" != "`pwd`" &&
|
||||
test -f $srcdir/config.status; then
|
||||
AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
|
||||
fi
|
||||
ifelse([$3],,
|
||||
AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
|
||||
AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package]))
|
||||
[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package.])
|
||||
AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package.])])
|
||||
AC_REQUIRE([AM_SANITY_CHECK])
|
||||
AC_REQUIRE([AC_ARG_PROGRAM])
|
||||
dnl FIXME This is truly gross.
|
||||
missing_dir=`cd $ac_aux_dir && pwd`
|
||||
AM_MISSING_PROG(ACLOCAL, aclocal, $missing_dir)
|
||||
AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir)
|
||||
AM_MISSING_PROG(AUTOMAKE, automake, $missing_dir)
|
||||
AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir)
|
||||
AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir)
|
||||
AC_REQUIRE([AC_PROG_MAKE_SET])])
|
||||
AM_MISSING_PROG(ACLOCAL, aclocal)
|
||||
AM_MISSING_PROG(AUTOCONF, autoconf)
|
||||
AM_MISSING_PROG(AUTOMAKE, automake)
|
||||
AM_MISSING_PROG(AUTOHEADER, autoheader)
|
||||
AM_MISSING_PROG(MAKEINFO, makeinfo)
|
||||
AM_MISSING_PROG(AMTAR, tar)
|
||||
AM_MISSING_INSTALL_SH
|
||||
dnl We need awk for the "check" target. The system "awk" is bad on
|
||||
dnl some platforms.
|
||||
AC_REQUIRE([AC_PROG_AWK])
|
||||
AC_REQUIRE([AC_PROG_MAKE_SET])
|
||||
AC_REQUIRE([AM_DEP_TRACK])
|
||||
AC_REQUIRE([AM_SET_DEPDIR])
|
||||
ifdef([AC_PROVIDE_AC_PROG_CC], [AM_DEPENDENCIES(CC)], [
|
||||
define([AC_PROG_CC], defn([AC_PROG_CC])[AM_DEPENDENCIES(CC)])])
|
||||
ifdef([AC_PROVIDE_AC_PROG_CXX], [AM_DEPENDENCIES(CXX)], [
|
||||
define([AC_PROG_CXX], defn([AC_PROG_CXX])[AM_DEPENDENCIES(CXX)])])
|
||||
])
|
||||
|
||||
#
|
||||
# Check to make sure that the build environment is sane.
|
||||
@ -86,19 +99,188 @@ fi
|
||||
rm -f conftest*
|
||||
AC_MSG_RESULT(yes)])
|
||||
|
||||
dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY)
|
||||
dnl The program must properly implement --version.
|
||||
AC_DEFUN(AM_MISSING_PROG,
|
||||
[AC_MSG_CHECKING(for working $2)
|
||||
# Run test in a subshell; some versions of sh will print an error if
|
||||
# an executable is not found, even if stderr is redirected.
|
||||
# Redirect stdin to placate older versions of autoconf. Sigh.
|
||||
if ($2 --version) < /dev/null > /dev/null 2>&1; then
|
||||
$1=$2
|
||||
AC_MSG_RESULT(found)
|
||||
else
|
||||
$1="$3/missing $2"
|
||||
AC_MSG_RESULT(missing)
|
||||
fi
|
||||
dnl AM_MISSING_PROG(NAME, PROGRAM)
|
||||
AC_DEFUN(AM_MISSING_PROG, [
|
||||
AC_REQUIRE([AM_MISSING_HAS_RUN])
|
||||
$1=${$1-"${am_missing_run}$2"}
|
||||
AC_SUBST($1)])
|
||||
|
||||
dnl Like AM_MISSING_PROG, but only looks for install-sh.
|
||||
dnl AM_MISSING_INSTALL_SH()
|
||||
AC_DEFUN(AM_MISSING_INSTALL_SH, [
|
||||
AC_REQUIRE([AM_MISSING_HAS_RUN])
|
||||
if test -z "$install_sh"; then
|
||||
install_sh="$ac_aux_dir/install-sh"
|
||||
test -f "$install_sh" || install_sh="$ac_aux_dir/install.sh"
|
||||
test -f "$install_sh" || install_sh="${am_missing_run}${ac_auxdir}/install-sh"
|
||||
dnl FIXME: an evil hack: we remove the SHELL invocation from
|
||||
dnl install_sh because automake adds it back in. Sigh.
|
||||
install_sh="`echo $install_sh | sed -e 's/\${SHELL}//'`"
|
||||
fi
|
||||
AC_SUBST(install_sh)])
|
||||
|
||||
dnl AM_MISSING_HAS_RUN.
|
||||
dnl Define MISSING if not defined so far and test if it supports --run.
|
||||
dnl If it does, set am_missing_run to use it, otherwise, to nothing.
|
||||
AC_DEFUN([AM_MISSING_HAS_RUN], [
|
||||
test x"${MISSING+set}" = xset || \
|
||||
MISSING=`CDPATH=: && cd $ac_aux_dir && pwd`/missing
|
||||
if AC_TRY_COMMAND($MISSING --run : >/dev/null) then
|
||||
am_missing_run="$MISSING --run "
|
||||
else
|
||||
am_missing_run=
|
||||
AC_MSG_WARN([`missing' script is too old or missing])
|
||||
fi
|
||||
])
|
||||
|
||||
dnl See how the compiler implements dependency checking.
|
||||
dnl Usage:
|
||||
dnl AM_DEPENDENCIES(NAME)
|
||||
dnl NAME is "CC", "CXX" or "OBJC".
|
||||
|
||||
dnl We try a few techniques and use that to set a single cache variable.
|
||||
|
||||
AC_DEFUN(AM_DEPENDENCIES,[
|
||||
AC_REQUIRE([AM_SET_DEPDIR])
|
||||
AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])
|
||||
ifelse([$1],CC,[
|
||||
AC_REQUIRE([AC_PROG_CC])
|
||||
AC_REQUIRE([AC_PROG_CPP])
|
||||
depcc="$CC"
|
||||
depcpp="$CPP"],[$1],CXX,[
|
||||
AC_REQUIRE([AC_PROG_CXX])
|
||||
AC_REQUIRE([AC_PROG_CXXCPP])
|
||||
depcc="$CXX"
|
||||
depcpp="$CXXCPP"],[$1],OBJC,[
|
||||
am_cv_OBJC_dependencies_compiler_type=gcc],[
|
||||
AC_REQUIRE([AC_PROG_][$1])
|
||||
depcc="$[$1]"
|
||||
depcpp=""])
|
||||
AC_MSG_CHECKING([dependency style of $depcc])
|
||||
AC_CACHE_VAL(am_cv_[$1]_dependencies_compiler_type,[
|
||||
if test -z "$AMDEP"; then
|
||||
echo '#include "conftest.h"' > conftest.c
|
||||
echo 'int i;' > conftest.h
|
||||
|
||||
am_cv_[$1]_dependencies_compiler_type=none
|
||||
for depmode in `sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < "$am_depcomp"`; do
|
||||
case "$depmode" in
|
||||
nosideeffect)
|
||||
# after this tag, mechanisms are not by side-effect, so they'll
|
||||
# only be used when explicitly requested
|
||||
if test "x$enable_dependency_tracking" = xyes; then
|
||||
continue
|
||||
else
|
||||
break
|
||||
fi
|
||||
;;
|
||||
none) break ;;
|
||||
esac
|
||||
if depmode="$depmode" \
|
||||
source=conftest.c object=conftest.o \
|
||||
depfile=conftest.Po tmpdepfile=conftest.TPo \
|
||||
$SHELL $am_depcomp $depcc -c conftest.c 2>/dev/null &&
|
||||
grep conftest.h conftest.Po > /dev/null 2>&1; then
|
||||
am_cv_[$1]_dependencies_compiler_type="$depmode"
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
rm -f conftest.*
|
||||
else
|
||||
am_cv_[$1]_dependencies_compiler_type=none
|
||||
fi
|
||||
])
|
||||
AC_MSG_RESULT($am_cv_[$1]_dependencies_compiler_type)
|
||||
[$1]DEPMODE="depmode=$am_cv_[$1]_dependencies_compiler_type"
|
||||
AC_SUBST([$1]DEPMODE)
|
||||
])
|
||||
|
||||
dnl Choose a directory name for dependency files.
|
||||
dnl This macro is AC_REQUIREd in AM_DEPENDENCIES
|
||||
|
||||
AC_DEFUN(AM_SET_DEPDIR,[
|
||||
if test -d .deps || mkdir .deps 2> /dev/null || test -d .deps; then
|
||||
DEPDIR=.deps
|
||||
else
|
||||
DEPDIR=_deps
|
||||
fi
|
||||
AC_SUBST(DEPDIR)
|
||||
])
|
||||
|
||||
AC_DEFUN(AM_DEP_TRACK,[
|
||||
AC_ARG_ENABLE(dependency-tracking,
|
||||
[ --disable-dependency-tracking Speeds up one-time builds
|
||||
--enable-dependency-tracking Do not reject slow dependency extractors])
|
||||
if test "x$enable_dependency_tracking" = xno; then
|
||||
AMDEP="#"
|
||||
else
|
||||
am_depcomp="$ac_aux_dir/depcomp"
|
||||
if test ! -f "$am_depcomp"; then
|
||||
AMDEP="#"
|
||||
else
|
||||
AMDEP=
|
||||
fi
|
||||
fi
|
||||
AC_SUBST(AMDEP)
|
||||
if test -z "$AMDEP"; then
|
||||
AMDEPBACKSLASH='\'
|
||||
else
|
||||
AMDEPBACKSLASH=
|
||||
fi
|
||||
pushdef([subst], defn([AC_SUBST]))
|
||||
subst(AMDEPBACKSLASH)
|
||||
popdef([subst])
|
||||
])
|
||||
|
||||
dnl Generate code to set up dependency tracking.
|
||||
dnl This macro should only be invoked once -- use via AC_REQUIRE.
|
||||
dnl Usage:
|
||||
dnl AM_OUTPUT_DEPENDENCY_COMMANDS
|
||||
|
||||
dnl
|
||||
dnl This code is only required when automatic dependency tracking
|
||||
dnl is enabled. FIXME. This creates each `.P' file that we will
|
||||
dnl need in order to bootstrap the dependency handling code.
|
||||
AC_DEFUN(AM_OUTPUT_DEPENDENCY_COMMANDS,[
|
||||
AC_OUTPUT_COMMANDS([
|
||||
test x"$AMDEP" != x"" ||
|
||||
for mf in $CONFIG_FILES; do
|
||||
case "$mf" in
|
||||
Makefile) dirpart=.;;
|
||||
*/Makefile) dirpart=`echo "$mf" | sed -e 's|/[^/]*$||'`;;
|
||||
*) continue;;
|
||||
esac
|
||||
grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
|
||||
# Extract the definition of DEP_FILES from the Makefile without
|
||||
# running `make'.
|
||||
DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
|
||||
test -z "$DEPDIR" && continue
|
||||
# When using ansi2knr, U may be empty or an underscore; expand it
|
||||
U=`sed -n -e '/^U = / s///p' < "$mf"`
|
||||
test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
|
||||
# We invoke sed twice because it is the simplest approach to
|
||||
# changing $(DEPDIR) to its actual value in the expansion.
|
||||
for file in `sed -n -e '
|
||||
/^DEP_FILES = .*\\\\$/ {
|
||||
s/^DEP_FILES = //
|
||||
:loop
|
||||
s/\\\\$//
|
||||
p
|
||||
n
|
||||
/\\\\$/ b loop
|
||||
p
|
||||
}
|
||||
/^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
|
||||
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
|
||||
# Make sure the directory exists.
|
||||
test -f "$dirpart/$file" && continue
|
||||
fdir=`echo "$file" | sed -e 's|/[^/]*$||'`
|
||||
$ac_aux_dir/mkinstalldirs "$dirpart/$fdir" > /dev/null 2>&1
|
||||
# echo "creating $dirpart/$file"
|
||||
echo '# dummy' > "$dirpart/$file"
|
||||
done
|
||||
done
|
||||
], [AMDEP="$AMDEP"
|
||||
ac_aux_dir="$ac_aux_dir"])])
|
||||
|
||||
|
182
acspecific.m4
182
acspecific.m4
@ -544,10 +544,8 @@ struct s1 {int (*f) (int a);};
|
||||
struct s2 {int (*f) (double a);};
|
||||
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
|
||||
int argc;
|
||||
char **argv;
|
||||
], [
|
||||
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
|
||||
],
|
||||
char **argv;],
|
||||
[return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];],
|
||||
[ac_cv_prog_cc_stdc="$ac_arg"; break])
|
||||
done
|
||||
CC="$ac_save_CC"
|
||||
@ -919,21 +917,29 @@ fi
|
||||
|
||||
if test $ac_cv_header_stdc = yes; then
|
||||
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
||||
AC_TRY_RUN([#include <ctype.h>
|
||||
AC_TRY_RUN(
|
||||
[#include <ctype.h>
|
||||
#if ((' ' & 0x0FF) == 0x020)
|
||||
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
||||
#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
||||
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
||||
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
||||
#else
|
||||
#define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
|
||||
|| ('j' <= (c) && (c) <= 'r') \
|
||||
|| ('s' <= (c) && (c) <= 'z'))
|
||||
#define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
||||
# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
|
||||
|| ('j' <= (c) && (c) <= 'r') \
|
||||
|| ('s' <= (c) && (c) <= 'z'))
|
||||
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
||||
#endif
|
||||
|
||||
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
||||
int main () { int i; for (i = 0; i < 256; i++)
|
||||
if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
|
||||
exit (0); }
|
||||
], , ac_cv_header_stdc=no, :)
|
||||
int
|
||||
main ()
|
||||
{
|
||||
int i;
|
||||
for (i = 0; i < 256; i++)
|
||||
if (XOR (islower (i), ISLOWER (i))
|
||||
|| toupper (i) != TOUPPER (i))
|
||||
exit(2);
|
||||
exit (0);
|
||||
}], , ac_cv_header_stdc=no, :)
|
||||
fi])
|
||||
if test $ac_cv_header_stdc = yes; then
|
||||
AC_DEFINE(STDC_HEADERS, 1, [Define if you have the ANSI C header files.])
|
||||
@ -1080,16 +1086,18 @@ dnl ------------------
|
||||
AC_DEFUN(AC_HEADER_SYS_WAIT,
|
||||
[AC_CACHE_CHECK([for sys/wait.h that is POSIX.1 compatible],
|
||||
ac_cv_header_sys_wait_h,
|
||||
[AC_TRY_COMPILE([#include <sys/types.h>
|
||||
[AC_TRY_COMPILE(
|
||||
[#include <sys/types.h>
|
||||
#include <sys/wait.h>
|
||||
#ifndef WEXITSTATUS
|
||||
#define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
|
||||
# define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
|
||||
#endif
|
||||
#ifndef WIFEXITED
|
||||
#define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
|
||||
#endif], [int s;
|
||||
wait (&s);
|
||||
s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;],
|
||||
# define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
|
||||
#endif],
|
||||
[ int s;
|
||||
wait (&s);
|
||||
s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;],
|
||||
ac_cv_header_sys_wait_h=yes, ac_cv_header_sys_wait_h=no)])
|
||||
if test $ac_cv_header_sys_wait_h = yes; then
|
||||
AC_DEFINE(HAVE_SYS_WAIT_H, 1,
|
||||
@ -1120,6 +1128,8 @@ AC_DEFUN(AC_DIR_HEADER,
|
||||
dnl ### Checks for typedefs
|
||||
|
||||
|
||||
dnl AC_TYPE_GETGROUPS
|
||||
dnl -----------------
|
||||
AC_DEFUN(AC_TYPE_GETGROUPS,
|
||||
[AC_REQUIRE([AC_TYPE_UID_T])dnl
|
||||
AC_CACHE_CHECK(type of array argument to getgroups, ac_cv_type_getgroups,
|
||||
@ -1145,8 +1155,7 @@ main()
|
||||
/* Exit non-zero if getgroups seems to require an array of ints. This
|
||||
happens when gid_t is short but getgroups modifies an array of ints. */
|
||||
exit ((n > 0 && gidset[n] != val.gval) ? 1 : 0);
|
||||
}
|
||||
>>,
|
||||
}>>,
|
||||
changequote([, ])dnl
|
||||
ac_cv_type_getgroups=gid_t, ac_cv_type_getgroups=int,
|
||||
ac_cv_type_getgroups=cross)
|
||||
@ -1162,6 +1171,8 @@ AC_DEFINE_UNQUOTED(GETGROUPS_T, $ac_cv_type_getgroups,
|
||||
`getgroups'. Usually this is either `int' or `gid_t'.])
|
||||
])dnl AC_TYPE_GETGROUPS
|
||||
|
||||
|
||||
|
||||
AC_DEFUN(AC_TYPE_UID_T,
|
||||
[AC_CACHE_CHECK(for uid_t in sys/types.h, ac_cv_type_uid_t,
|
||||
[AC_EGREP_HEADER(uid_t, sys/types.h,
|
||||
@ -1385,8 +1396,7 @@ main()
|
||||
close(fd);
|
||||
unlink("conftestmmap");
|
||||
exit(0);
|
||||
}
|
||||
], ac_cv_func_mmap_fixed_mapped=yes, ac_cv_func_mmap_fixed_mapped=no,
|
||||
}], ac_cv_func_mmap_fixed_mapped=yes, ac_cv_func_mmap_fixed_mapped=no,
|
||||
ac_cv_func_mmap_fixed_mapped=no)])
|
||||
if test $ac_cv_func_mmap_fixed_mapped = yes; then
|
||||
AC_DEFINE(HAVE_MMAP, 1,
|
||||
@ -1449,8 +1459,7 @@ main()
|
||||
wait(&s);
|
||||
exit(s>>8);
|
||||
}
|
||||
}
|
||||
], ac_cv_func_getpgrp_void=yes, ac_cv_func_getpgrp_void=no,
|
||||
}], ac_cv_func_getpgrp_void=yes, ac_cv_func_getpgrp_void=no,
|
||||
AC_MSG_ERROR(cannot check getpgrp if cross compiling))
|
||||
])
|
||||
if test $ac_cv_func_getpgrp_void = yes; then
|
||||
@ -1502,6 +1511,9 @@ AC_CHECK_FUNC(_doprnt,
|
||||
fi
|
||||
])
|
||||
|
||||
|
||||
dnl AC_FUNC_VFORK
|
||||
dnl -------------
|
||||
AC_DEFUN(AC_FUNC_VFORK,
|
||||
[AC_REQUIRE([AC_TYPE_PID_T])dnl
|
||||
AC_CHECK_HEADER(vfork.h,
|
||||
@ -1513,10 +1525,10 @@ AC_CACHE_CHECK(for working vfork, ac_cv_func_vfork_works,
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
#ifdef HAVE_VFORK_H
|
||||
#include <vfork.h>
|
||||
# include <vfork.h>
|
||||
#endif
|
||||
/* On some sparc systems, changes by the child to local and incoming
|
||||
argument registers are propagated back to the parent.
|
||||
@ -1527,7 +1539,7 @@ AC_CACHE_CHECK(for working vfork, ac_cv_func_vfork_works,
|
||||
static
|
||||
#ifdef __cplusplus
|
||||
sparc_address_test (int arg)
|
||||
#else
|
||||
# else
|
||||
sparc_address_test (arg) int arg;
|
||||
#endif
|
||||
{
|
||||
@ -2096,8 +2108,7 @@ main ()
|
||||
irix_6_4_bug ();
|
||||
spring_forward_gap ();
|
||||
exit (0);
|
||||
}
|
||||
>>,
|
||||
}>>,
|
||||
changequote([, ])dnl
|
||||
ac_cv_func_working_mktime=yes, ac_cv_func_working_mktime=no,
|
||||
ac_cv_func_working_mktime=no)])
|
||||
@ -2300,6 +2311,9 @@ dnl ### Checks for compiler characteristics
|
||||
AC_DEFUN(AC_C_CROSS,
|
||||
[AC_OBSOLETE([$0], [; it has been merged into AC_PROG_CC])])
|
||||
|
||||
|
||||
dnl AC_C_CHAR_UNSIGNED
|
||||
dnl ------------------
|
||||
AC_DEFUN(AC_C_CHAR_UNSIGNED,
|
||||
[AC_CACHE_CHECK(whether char is unsigned, ac_cv_c_char_unsigned,
|
||||
[if test "$GCC" = yes; then
|
||||
@ -2332,11 +2346,16 @@ AC_DEFUN(AC_C_LONG_DOUBLE,
|
||||
[if test "$GCC" = yes; then
|
||||
ac_cv_c_long_double=yes
|
||||
else
|
||||
AC_TRY_RUN([int main() {
|
||||
/* The Stardent Vistra knows sizeof(long double), but does not support it. */
|
||||
long double foo = 0.0;
|
||||
/* On Ultrix 4.3 cc, long double is 4 and double is 8. */
|
||||
exit(sizeof(long double) < sizeof(double)); }],
|
||||
AC_TRY_RUN(
|
||||
[int
|
||||
main()
|
||||
{
|
||||
/* The Stardent Vistra knows sizeof(long double), but does not
|
||||
support it. */
|
||||
long double foo = 0.0;
|
||||
/* On Ultrix 4.3 cc, long double is 4 and double is 8. */
|
||||
exit(sizeof(long double) < sizeof(double));
|
||||
}],
|
||||
ac_cv_c_long_double=yes, ac_cv_c_long_double=no)
|
||||
fi])
|
||||
if test $ac_cv_c_long_double = yes; then
|
||||
@ -2426,49 +2445,48 @@ dnl and with the result message.
|
||||
AC_CACHE_CHECK([for working const], ac_cv_c_const,
|
||||
[AC_TRY_COMPILE(,
|
||||
changequote(<<, >>)dnl
|
||||
<<
|
||||
/* Ultrix mips cc rejects this. */
|
||||
typedef int charset[2]; const charset x = {0, 0};
|
||||
/* SunOS 4.1.1 cc rejects this. */
|
||||
char const *const *ccp;
|
||||
char **p;
|
||||
/* NEC SVR4.0.2 mips cc rejects this. */
|
||||
struct point {int x, y;};
|
||||
static struct point const zero = {0,0};
|
||||
/* AIX XL C 1.02.0.0 rejects this.
|
||||
It does not let you subtract one const X* pointer from another in an arm
|
||||
of an if-expression whose if-part is not a constant expression */
|
||||
const char *g = "string";
|
||||
ccp = &g + (g ? g-g : 0);
|
||||
/* HPUX 7.0 cc rejects these. */
|
||||
++ccp;
|
||||
p = (char**) ccp;
|
||||
ccp = (char const *const *) p;
|
||||
{ /* SCO 3.2v4 cc rejects this. */
|
||||
char *t;
|
||||
char const *s = 0 ? (char *) 0 : (char const *) 0;
|
||||
<< /* Ultrix mips cc rejects this. */
|
||||
typedef int charset[2]; const charset x = {0, 0};
|
||||
/* SunOS 4.1.1 cc rejects this. */
|
||||
char const *const *ccp;
|
||||
char **p;
|
||||
/* NEC SVR4.0.2 mips cc rejects this. */
|
||||
struct point {int x, y;};
|
||||
static struct point const zero = {0,0};
|
||||
/* AIX XL C 1.02.0.0 rejects this.
|
||||
It does not let you subtract one const X* pointer from another in
|
||||
an arm of an if-expression whose if-part is not a constant
|
||||
expression */
|
||||
const char *g = "string";
|
||||
ccp = &g + (g ? g-g : 0);
|
||||
/* HPUX 7.0 cc rejects these. */
|
||||
++ccp;
|
||||
p = (char**) ccp;
|
||||
ccp = (char const *const *) p;
|
||||
{ /* SCO 3.2v4 cc rejects this. */
|
||||
char *t;
|
||||
char const *s = 0 ? (char *) 0 : (char const *) 0;
|
||||
|
||||
*t++ = 0;
|
||||
}
|
||||
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
|
||||
int x[] = {25, 17};
|
||||
const int *foo = &x[0];
|
||||
++foo;
|
||||
}
|
||||
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
|
||||
typedef const int *iptr;
|
||||
iptr p = 0;
|
||||
++p;
|
||||
}
|
||||
{ /* AIX XL C 1.02.0.0 rejects this saying
|
||||
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
|
||||
struct s { int j; const int *ap[3]; };
|
||||
struct s *b; b->j = 5;
|
||||
}
|
||||
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
|
||||
const int foo = 10;
|
||||
}
|
||||
>>,
|
||||
*t++ = 0;
|
||||
}
|
||||
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
|
||||
int x[] = {25, 17};
|
||||
const int *foo = &x[0];
|
||||
++foo;
|
||||
}
|
||||
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
|
||||
typedef const int *iptr;
|
||||
iptr p = 0;
|
||||
++p;
|
||||
}
|
||||
{ /* AIX XL C 1.02.0.0 rejects this saying
|
||||
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
|
||||
struct s { int j; const int *ap[3]; };
|
||||
struct s *b; b->j = 5;
|
||||
}
|
||||
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
|
||||
const int foo = 10;
|
||||
}>>,
|
||||
changequote([, ])dnl
|
||||
ac_cv_c_const=yes, ac_cv_c_const=no)])
|
||||
if test $ac_cv_c_const = no; then
|
||||
@ -3330,9 +3348,9 @@ dnl Check for Cygwin. This is a way to set the right value for
|
||||
dnl EXEEXT.
|
||||
AC_DEFUN(AC_CYGWIN,
|
||||
[AC_CACHE_CHECK(for Cygwin environment, ac_cv_cygwin,
|
||||
[AC_TRY_COMPILE(,[
|
||||
#ifndef __CYGWIN__
|
||||
#define __CYGWIN__ __CYGWIN32__
|
||||
[AC_TRY_COMPILE(,
|
||||
[#ifndef __CYGWIN__
|
||||
# define __CYGWIN__ __CYGWIN32__
|
||||
#endif
|
||||
return __CYGWIN__;],
|
||||
ac_cv_cygwin=yes, ac_cv_cygwin=no)])
|
||||
|
469
configure
vendored
469
configure
vendored
@ -1,6 +1,6 @@
|
||||
#! /bin/sh
|
||||
# Guess values for system-dependent variables and create Makefiles.
|
||||
# Generated automatically using Autoconf version 2.14.1
|
||||
# Generated automatically using Autoconf version 2.14a
|
||||
# Copyright (C) 1992, 93, 94, 95, 96, 98, 1999 Free Software Foundation, Inc.
|
||||
#
|
||||
# This configure script is free software; the Free Software Foundation
|
||||
@ -11,7 +11,35 @@ ac_arg_with_help=
|
||||
ac_arg_enable_help=
|
||||
ac_arg_var_help=
|
||||
ac_default_prefix=/usr/local
|
||||
# Factorizing default headers for most tests.
|
||||
ac_includes_default="\
|
||||
#include <stdio.h>
|
||||
#include <sys/types.h>
|
||||
#if STDC_HEADERS
|
||||
# include <stdlib.h>
|
||||
# include <stddef.h>
|
||||
#else
|
||||
# if HAVE_STDLIB_H
|
||||
# include <stdlib.h>
|
||||
# endif
|
||||
#endif
|
||||
#if HAVE_STRING_H
|
||||
# if !STDC_HEADERS && HAVE_MEMORY_H
|
||||
# include <memory.h>
|
||||
# endif
|
||||
# include <string.h>
|
||||
#else
|
||||
# if HAVE_STRINGS_H
|
||||
# include <strings.h>
|
||||
# endif
|
||||
#endif
|
||||
#if HAVE_UNISTD_H
|
||||
# include <unistd.h>
|
||||
#endif"
|
||||
# Any additions from configure.in:
|
||||
ac_arg_enable_help="$ac_arg_enable_help
|
||||
--disable-dependency-tracking Speeds up one-time builds
|
||||
--enable-dependency-tracking Do not reject slow dependency extractors"
|
||||
|
||||
# Initialize some variables set by options.
|
||||
# The variables have the same names as the options, with
|
||||
@ -52,7 +80,7 @@ subdirs=
|
||||
MFLAGS= MAKEFLAGS=
|
||||
SHELL=${CONFIG_SHELL-/bin/sh}
|
||||
# Maximum number of lines to put in a shell here document.
|
||||
: ${ac_max_here_lines=48}
|
||||
: ${ac_max_here_lines=12}
|
||||
# Sed expression to map a string onto a valid sh and CPP variable names.
|
||||
ac_tr_sh='sed -e y%*+%pp%;s%[^a-zA-Z0-9_]%_%g'
|
||||
ac_tr_cpp='sed -e y%*abcdefghijklmnopqrstuvwxyz%PABCDEFGHIJKLMNOPQRSTUVWXYZ%;s%[^A-Z0-9_]%_%g'
|
||||
@ -67,10 +95,7 @@ do
|
||||
continue
|
||||
fi
|
||||
|
||||
case "$ac_option" in
|
||||
-*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
|
||||
*) ac_optarg= ;;
|
||||
esac
|
||||
ac_optarg=`echo "$ac_option" | sed -n 's/^[^=]*=//p'`
|
||||
|
||||
# Accept the important Cygnus configure options, so we can diagnose typos.
|
||||
|
||||
@ -134,7 +159,7 @@ do
|
||||
# Obsolete; use --with-gas.
|
||||
with_gas=yes ;;
|
||||
|
||||
-help | --help | --hel | --he)
|
||||
-help | --help | --hel | --he | -h)
|
||||
# Omit some internal or obsolete options to make the list less imposing.
|
||||
# This message is too long to be a string in the A/UX 3.1 sh.
|
||||
cat <<\EOF
|
||||
@ -149,13 +174,13 @@ CFLAGS...), give to `configure' the definition as VAR=VALUE.
|
||||
Defaults for the options are specified in brackets.
|
||||
|
||||
Configuration:
|
||||
--cache-file=FILE cache test results in FILE
|
||||
--help print this message
|
||||
--no-create do not create output files
|
||||
--quiet, --silent do not print \`checking...' messages
|
||||
--version print the version of autoconf that created configure
|
||||
-h, --help print this message
|
||||
--version print the version of autoconf that created configure
|
||||
-q, --quiet, --silent do not print \`checking...' messages
|
||||
--cache-file=FILE cache test results in FILE
|
||||
-n, --no-create do not create output files
|
||||
|
||||
Directory and file names:
|
||||
Directories:
|
||||
--prefix=PREFIX install architecture-independent files in PREFIX
|
||||
[$ac_default_prefix]
|
||||
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
||||
@ -185,24 +210,26 @@ Program names:
|
||||
EOF
|
||||
cat <<\EOF
|
||||
Host type:
|
||||
--build=BUILD configure for building on BUILD [BUILD=HOST]
|
||||
--host=HOST configure for HOST [guessed]
|
||||
--target=TARGET configure for TARGET [TARGET=HOST]
|
||||
--build=BUILD configure for building on BUILD [BUILD=HOST]
|
||||
--host=HOST configure for HOST [guessed]
|
||||
--target=TARGET configure for TARGET [TARGET=HOST]
|
||||
|
||||
Features and packages:
|
||||
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
||||
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
||||
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
||||
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
|
||||
--x-includes=DIR X include files are in DIR
|
||||
--x-libraries=DIR X library files are in DIR
|
||||
X features:
|
||||
--x-includes=DIR X include files are in DIR
|
||||
--x-libraries=DIR X library files are in DIR
|
||||
EOF
|
||||
test -n "$ac_arg_enable_help" && echo "
|
||||
--enable options recognized:$ac_arg_enable_help"
|
||||
Optional features:
|
||||
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
||||
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]\
|
||||
$ac_arg_enable_help"
|
||||
test -n "$ac_arg_with_help" && echo "
|
||||
--with options recognized:$ac_arg_with_help"
|
||||
Optional packages:
|
||||
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
||||
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)\
|
||||
$ac_arg_with_help"
|
||||
test -n "$ac_arg_var_help" && echo "
|
||||
Some of the influent environment variables:$ac_arg_var_help"
|
||||
Some influent environment variables:$ac_arg_var_help"
|
||||
exit 0 ;;
|
||||
|
||||
-host | --host | --hos | --ho)
|
||||
@ -352,7 +379,7 @@ Some of the influent environment variables:$ac_arg_var_help"
|
||||
verbose=yes ;;
|
||||
|
||||
-version | --version | --versio | --versi | --vers)
|
||||
echo "configure generated by autoconf version 2.14.1"
|
||||
echo "configure generated by autoconf version 2.14a"
|
||||
exit 0 ;;
|
||||
|
||||
-with-* | --with-*)
|
||||
@ -399,12 +426,13 @@ Some of the influent environment variables:$ac_arg_var_help"
|
||||
;;
|
||||
|
||||
*=*)
|
||||
ac_envvar=`echo $ac_option|sed -e 's/=.*//'`
|
||||
ac_envvar=`echo "$ac_option" | sed -e 's/=.*//'`
|
||||
# Reject names that are not valid shell variable names.
|
||||
if test -n "`echo $ac_envvar| sed 's/[_a-zA-Z0-9]//g'`"; then
|
||||
if echo "$ac_envvar" | grep '[^a-zA-Z0-9_]' >/dev/null 2>&1; then
|
||||
{ echo "configure: error: $ac_envvar: invalid variable name" 1>&2; exit 1; }
|
||||
fi
|
||||
eval "${ac_envvar}='$ac_optarg'"
|
||||
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
|
||||
eval "$ac_envvar='$ac_optarg'"
|
||||
export $ac_envvar ;;
|
||||
|
||||
*)
|
||||
@ -456,8 +484,8 @@ do
|
||||
| --no-cr | --no-c) ;;
|
||||
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
|
||||
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
|
||||
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
|
||||
ac_arg=`echo "$ac_arg"|sed "s/'/'\\\\\\\\''/g"`
|
||||
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
|
||||
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
|
||||
ac_configure_args="$ac_configure_args '$ac_arg'" ;;
|
||||
*) ac_configure_args="$ac_configure_args $ac_arg" ;;
|
||||
esac
|
||||
@ -538,7 +566,7 @@ cross_compiling=$ac_cv_prog_cc_cross
|
||||
ac_exeext=
|
||||
ac_objext=o
|
||||
if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
|
||||
# Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
|
||||
# Stardent Vistra SVR4 grep lacks -e, says Kaveh Ghazi
|
||||
if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
|
||||
ac_n= ac_c='
|
||||
' ac_t=' '
|
||||
@ -549,7 +577,6 @@ else
|
||||
ac_n= ac_c='\c' ac_t=
|
||||
fi
|
||||
|
||||
|
||||
ac_aux_dir=
|
||||
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
|
||||
if test -f $ac_dir/install-sh; then
|
||||
@ -585,7 +612,7 @@ ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
|
||||
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
||||
# ./install, which can be erroneously created by make from ./install.sh.
|
||||
echo $ac_n "checking for a BSD compatible install... $ac_c" 1>&6
|
||||
echo "configure:589: checking for a BSD compatible install" 1>&5
|
||||
echo "configure:616: checking for a BSD compatible install" 1>&5
|
||||
if test -z "$INSTALL"; then
|
||||
if test "${ac_cv_path_install+set}" = set; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
@ -642,7 +669,7 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
|
||||
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
||||
|
||||
echo $ac_n "checking whether build environment is sane... $ac_c" 1>&6
|
||||
echo "configure:646: checking whether build environment is sane" 1>&5
|
||||
echo "configure:673: checking whether build environment is sane" 1>&5
|
||||
# Just in case
|
||||
sleep 1
|
||||
echo timestamp > conftestfile
|
||||
@ -686,7 +713,7 @@ else
|
||||
cat <<\EOF_SED >conftestsed
|
||||
s,\\,\\\\,g; s,\$,$$,g
|
||||
EOF_SED
|
||||
program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
|
||||
program_transform_name=`echo $program_transform_name|sed -f conftestsed`
|
||||
rm -f conftestsed
|
||||
fi
|
||||
test "$program_prefix" != NONE &&
|
||||
@ -698,8 +725,51 @@ test "$program_suffix" != NONE &&
|
||||
# sed with no file args requires a program.
|
||||
test "$program_transform_name" = "" && program_transform_name="s,x,x,"
|
||||
|
||||
test x"${MISSING+set}" = xset || \
|
||||
MISSING=`CDPATH=: && cd $ac_aux_dir && pwd`/missing
|
||||
if { ac_try='$MISSING --run : >/dev/null'; { (eval echo configure:731: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } then
|
||||
am_missing_run="$MISSING --run "
|
||||
else
|
||||
am_missing_run=
|
||||
echo "configure: warning: \`missing' script is too old or missing" 1>&2
|
||||
fi
|
||||
|
||||
for ac_prog in mawk gawk nawk awk
|
||||
do
|
||||
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
||||
set dummy $ac_prog; ac_word=$2
|
||||
echo $ac_n "checking for $ac_word... $ac_c" 1>&6
|
||||
echo "configure:743: checking for $ac_word" 1>&5
|
||||
if test "${ac_cv_prog_AWK+set}" = set; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
if test -n "$AWK"; then
|
||||
ac_cv_prog_AWK="$AWK" # Let the user override the test.
|
||||
else
|
||||
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
|
||||
ac_dummy="$PATH"
|
||||
for ac_dir in $ac_dummy; do
|
||||
test -z "$ac_dir" && ac_dir=.
|
||||
if test -f $ac_dir/$ac_word; then
|
||||
ac_cv_prog_AWK="$ac_prog"
|
||||
break
|
||||
fi
|
||||
done
|
||||
IFS="$ac_save_ifs"
|
||||
fi
|
||||
fi
|
||||
AWK="$ac_cv_prog_AWK"
|
||||
if test -n "$AWK"; then
|
||||
echo "$ac_t""$AWK" 1>&6
|
||||
else
|
||||
echo "$ac_t""no" 1>&6
|
||||
fi
|
||||
|
||||
test -n "$AWK" && break
|
||||
done
|
||||
|
||||
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}... $ac_c" 1>&6
|
||||
echo "configure:703: checking whether ${MAKE-make} sets \${MAKE}" 1>&5
|
||||
echo "configure:773: checking whether ${MAKE-make} sets \${MAKE}" 1>&5
|
||||
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
|
||||
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
@ -725,12 +795,41 @@ else
|
||||
SET_MAKE="MAKE=${MAKE-make}"
|
||||
fi
|
||||
|
||||
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
|
||||
if test "${enable_dependency_tracking+set}" = set; then
|
||||
enableval="$enable_dependency_tracking"
|
||||
:
|
||||
fi
|
||||
|
||||
if test "x$enable_dependency_tracking" = xno; then
|
||||
AMDEP="#"
|
||||
else
|
||||
am_depcomp="$ac_aux_dir/depcomp"
|
||||
if test ! -f "$am_depcomp"; then
|
||||
AMDEP="#"
|
||||
else
|
||||
AMDEP=
|
||||
fi
|
||||
fi
|
||||
|
||||
if test -z "$AMDEP"; then
|
||||
AMDEPBACKSLASH='\'
|
||||
else
|
||||
AMDEPBACKSLASH=
|
||||
fi
|
||||
|
||||
if test -d .deps || mkdir .deps 2> /dev/null || test -d .deps; then
|
||||
DEPDIR=.deps
|
||||
else
|
||||
DEPDIR=_deps
|
||||
fi
|
||||
|
||||
PACKAGE=autoconf
|
||||
|
||||
VERSION=2.14.1
|
||||
VERSION=2.14a
|
||||
|
||||
if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
|
||||
if test "`CDPATH=: && cd $srcdir && pwd`" != "`pwd`" &&
|
||||
test -f $srcdir/config.status; then
|
||||
{ echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
|
||||
fi
|
||||
cat >>confdefs.h <<EOF
|
||||
@ -741,82 +840,35 @@ cat >>confdefs.h <<EOF
|
||||
#define VERSION "$VERSION"
|
||||
EOF
|
||||
|
||||
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"}
|
||||
|
||||
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
|
||||
|
||||
missing_dir=`cd $ac_aux_dir && pwd`
|
||||
echo $ac_n "checking for working aclocal... $ac_c" 1>&6
|
||||
echo "configure:749: checking for working aclocal" 1>&5
|
||||
# Run test in a subshell; some versions of sh will print an error if
|
||||
# an executable is not found, even if stderr is redirected.
|
||||
# Redirect stdin to placate older versions of autoconf. Sigh.
|
||||
if (aclocal --version) < /dev/null > /dev/null 2>&1; then
|
||||
ACLOCAL=aclocal
|
||||
echo "$ac_t""found" 1>&6
|
||||
else
|
||||
ACLOCAL="$missing_dir/missing aclocal"
|
||||
echo "$ac_t""missing" 1>&6
|
||||
fi
|
||||
|
||||
echo $ac_n "checking for working autoconf... $ac_c" 1>&6
|
||||
echo "configure:762: checking for working autoconf" 1>&5
|
||||
# Run test in a subshell; some versions of sh will print an error if
|
||||
# an executable is not found, even if stderr is redirected.
|
||||
# Redirect stdin to placate older versions of autoconf. Sigh.
|
||||
if (autoconf --version) < /dev/null > /dev/null 2>&1; then
|
||||
AUTOCONF=autoconf
|
||||
echo "$ac_t""found" 1>&6
|
||||
else
|
||||
AUTOCONF="$missing_dir/missing autoconf"
|
||||
echo "$ac_t""missing" 1>&6
|
||||
fi
|
||||
|
||||
echo $ac_n "checking for working automake... $ac_c" 1>&6
|
||||
echo "configure:775: checking for working automake" 1>&5
|
||||
# Run test in a subshell; some versions of sh will print an error if
|
||||
# an executable is not found, even if stderr is redirected.
|
||||
# Redirect stdin to placate older versions of autoconf. Sigh.
|
||||
if (automake --version) < /dev/null > /dev/null 2>&1; then
|
||||
AUTOMAKE=automake
|
||||
echo "$ac_t""found" 1>&6
|
||||
else
|
||||
AUTOMAKE="$missing_dir/missing automake"
|
||||
echo "$ac_t""missing" 1>&6
|
||||
fi
|
||||
|
||||
echo $ac_n "checking for working autoheader... $ac_c" 1>&6
|
||||
echo "configure:788: checking for working autoheader" 1>&5
|
||||
# Run test in a subshell; some versions of sh will print an error if
|
||||
# an executable is not found, even if stderr is redirected.
|
||||
# Redirect stdin to placate older versions of autoconf. Sigh.
|
||||
if (autoheader --version) < /dev/null > /dev/null 2>&1; then
|
||||
AUTOHEADER=autoheader
|
||||
echo "$ac_t""found" 1>&6
|
||||
else
|
||||
AUTOHEADER="$missing_dir/missing autoheader"
|
||||
echo "$ac_t""missing" 1>&6
|
||||
fi
|
||||
|
||||
echo $ac_n "checking for working makeinfo... $ac_c" 1>&6
|
||||
echo "configure:801: checking for working makeinfo" 1>&5
|
||||
# Run test in a subshell; some versions of sh will print an error if
|
||||
# an executable is not found, even if stderr is redirected.
|
||||
# Redirect stdin to placate older versions of autoconf. Sigh.
|
||||
if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
|
||||
MAKEINFO=makeinfo
|
||||
echo "$ac_t""found" 1>&6
|
||||
else
|
||||
MAKEINFO="$missing_dir/missing makeinfo"
|
||||
echo "$ac_t""missing" 1>&6
|
||||
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake"}
|
||||
|
||||
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
|
||||
|
||||
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
|
||||
|
||||
AMTAR=${AMTAR-"${am_missing_run}tar"}
|
||||
|
||||
if test -z "$install_sh"; then
|
||||
install_sh="$ac_aux_dir/install-sh"
|
||||
test -f "$install_sh" || install_sh="$ac_aux_dir/install.sh"
|
||||
test -f "$install_sh" || install_sh="${am_missing_run}${ac_auxdir}/install-sh"
|
||||
install_sh="`echo $install_sh | sed -e 's/\${SHELL}//'`"
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
for ac_prog in gm4 gnum4 m4
|
||||
do
|
||||
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
||||
set dummy $ac_prog; ac_word=$2
|
||||
echo $ac_n "checking for $ac_word... $ac_c" 1>&6
|
||||
echo "configure:820: checking for $ac_word" 1>&5
|
||||
echo "configure:872: checking for $ac_word" 1>&5
|
||||
if test "${ac_cv_path_M4+set}" = set; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
@ -849,15 +901,15 @@ test -n "$M4" && break
|
||||
done
|
||||
test -n "$M4" || M4="m4"
|
||||
|
||||
echo $ac_n "checking whether we are using GNU m4... $ac_c" 1>&6
|
||||
echo "configure:854: checking whether we are using GNU m4" 1>&5
|
||||
echo $ac_n "checking whether m4 supports frozen files... $ac_c" 1>&6
|
||||
echo "configure:906: checking whether m4 supports frozen files" 1>&5
|
||||
if test "${ac_cv_prog_gnu_m4+set}" = set; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
ac_cv_prog_gnu_m4=no
|
||||
if test x"$M4" != x; then
|
||||
case `$M4 --help < /dev/null 2>&1` in
|
||||
*traditional*) ac_cv_prog_gnu_m4=yes ;;
|
||||
*reload-state*) ac_cv_prog_gnu_m4=yes ;;
|
||||
esac
|
||||
fi
|
||||
fi
|
||||
@ -871,7 +923,7 @@ do
|
||||
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
||||
set dummy $ac_prog; ac_word=$2
|
||||
echo $ac_n "checking for $ac_word... $ac_c" 1>&6
|
||||
echo "configure:875: checking for $ac_word" 1>&5
|
||||
echo "configure:927: checking for $ac_word" 1>&5
|
||||
if test "${ac_cv_prog_AWK+set}" = set; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
@ -900,11 +952,10 @@ fi
|
||||
test -n "$AWK" && break
|
||||
done
|
||||
|
||||
|
||||
# Extract the first word of "perl", so it can be a program name with args.
|
||||
set dummy perl; ac_word=$2
|
||||
echo $ac_n "checking for $ac_word... $ac_c" 1>&6
|
||||
echo "configure:908: checking for $ac_word" 1>&5
|
||||
echo "configure:959: checking for $ac_word" 1>&5
|
||||
if test "${ac_cv_path_PERL+set}" = set; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
@ -952,7 +1003,7 @@ fi
|
||||
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
||||
# ./install, which can be erroneously created by make from ./install.sh.
|
||||
echo $ac_n "checking for a BSD compatible install... $ac_c" 1>&6
|
||||
echo "configure:956: checking for a BSD compatible install" 1>&5
|
||||
echo "configure:1007: checking for a BSD compatible install" 1>&5
|
||||
if test -z "$INSTALL"; then
|
||||
if test "${ac_cv_path_install+set}" = set; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
@ -1008,7 +1059,6 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
|
||||
|
||||
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
||||
|
||||
|
||||
# Work with the GNU or Cygnus source tree layout.
|
||||
if test -f $srcdir/standards.texi; then
|
||||
standards_texi=standards.texi
|
||||
@ -1050,9 +1100,7 @@ EOF
|
||||
sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
|
||||
;;
|
||||
esac >>confcache
|
||||
if cmp -s $cache_file confcache; then
|
||||
:
|
||||
else
|
||||
if cmp -s $cache_file confcache; then :; else
|
||||
if test -w $cache_file; then
|
||||
echo "updating cache $cache_file"
|
||||
cat confcache >$cache_file
|
||||
@ -1075,8 +1123,6 @@ if test "x$srcdir" = x.; then
|
||||
ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
|
||||
fi
|
||||
|
||||
trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
|
||||
|
||||
# Transform confdefs.h into DEFS.
|
||||
# Protect against shell expansion while executing Makefile rules.
|
||||
# Protect against Makefile macro expansion.
|
||||
@ -1100,14 +1146,12 @@ EOF
|
||||
# single-quotes doesn't work because, if this script is created in a
|
||||
# platform that uses two characters for line-breaks (e.g., DOS), tr
|
||||
# would break.
|
||||
ac_LF_and_DOT="`echo; echo .`"
|
||||
ac_LF_and_DOT=`echo; echo .`
|
||||
DEFS=`sed -f $ac_cs_root.defs confdefs.h | tr "$ac_LF_and_DOT" ' .'`
|
||||
rm -f $ac_cs_root.defs
|
||||
|
||||
|
||||
|
||||
# Without the "./", some shells look in PATH for config.status.
|
||||
: ${CONFIG_STATUS=./config.status}
|
||||
trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
|
||||
echo creating $CONFIG_STATUS
|
||||
cat >$CONFIG_STATUS <<EOF
|
||||
#! /bin/sh
|
||||
@ -1123,7 +1167,7 @@ cat >$CONFIG_STATUS <<EOF
|
||||
|
||||
# Files that config.status was made for.
|
||||
config_files="\\
|
||||
acversion.m4 Makefile testsuite/Makefile"
|
||||
acversion.m4 Makefile testsuite/Makefile"
|
||||
|
||||
ac_cs_usage="\\
|
||||
\\\`$CONFIG_STATUS' instantiates files from templates according to the
|
||||
@ -1134,51 +1178,83 @@ Usage: $CONFIG_STATUS [OPTIONS] FILE...
|
||||
--recheck Update $CONFIG_STATUS by reconfiguring in the same conditions
|
||||
--version Print the version of Autoconf and exit
|
||||
--help Display this help and exit
|
||||
--file=FILE[:TEMPLATE]
|
||||
Instantiate the configuration file FILE
|
||||
|
||||
Files to instantiate:
|
||||
Configuration files:
|
||||
Configuration files:
|
||||
\$config_files
|
||||
|
||||
Report bugs to <bug-autoconf@gnu.org>."
|
||||
|
||||
ac_cs_version="\\
|
||||
$CONFIG_STATUS generated by autoconf version 2.14.1.
|
||||
Configured on host `(hostname || uname -n) 2>/dev/null | sed 1q` by running
|
||||
$0 $ac_configure_args"
|
||||
$CONFIG_STATUS generated by autoconf version 2.14a.
|
||||
Configured on host `(hostname || uname -n) 2>/dev/null | sed 1q` by
|
||||
`echo "$0 $ac_configure_args" | sed 's/[\\"\`\$]/\\\\&/g'`"
|
||||
|
||||
# Root of the tmp file names. Use pid to allow concurrent executions.
|
||||
ac_cs_root=cs\$\$
|
||||
ac_given_srcdir=$srcdir
|
||||
ac_given_INSTALL="$INSTALL"
|
||||
|
||||
for ac_option
|
||||
# If no file are specified by the user, then we need to provide default
|
||||
# value. By we need to know if files were specified by the user.
|
||||
ac_need_defaults=:
|
||||
while test \$# != 0
|
||||
do
|
||||
case "\$ac_option" in
|
||||
case "\$1" in
|
||||
--*=*)
|
||||
ac_option=\`echo "\$1" | sed -e 's/=.*//'\`
|
||||
ac_optarg=\`echo "\$1" | sed -e 's/[^=]*=//'\`
|
||||
shift
|
||||
set dummy "\$ac_option" "\$ac_optarg" \${1+"\$@"}
|
||||
shift
|
||||
;;
|
||||
-*);;
|
||||
*) # This is not an option, so the user has probably given explicit
|
||||
# arguments.
|
||||
ac_need_defaults=false;;
|
||||
esac
|
||||
|
||||
case "\$1" in
|
||||
|
||||
# Handling of the options.
|
||||
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
||||
echo "running \${CONFIG_SHELL-/bin/sh} $0 `echo "$ac_configure_args" | sed 's/[\\"\`\$]/\\\\&/g'` --no-create --no-recursion"
|
||||
exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
|
||||
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
|
||||
echo "\$ac_cs_version"; exit 0 ;;
|
||||
-help | --help | --hel | --he | --h)
|
||||
--he | --h)
|
||||
# Conflict between --help and --header
|
||||
echo "$CONFIG_STATUS: ambiguous option: \$ac_option"; exit 1 ;;
|
||||
-help | --help | --hel )
|
||||
echo "\$ac_cs_usage"; exit 0 ;;
|
||||
--file | --fil | --fi | --f )
|
||||
shift
|
||||
CONFIG_FILES="\$CONFIG_FILES \$1"
|
||||
ac_need_defaults=false;;
|
||||
--header | --heade | --head | --hea )
|
||||
shift
|
||||
CONFIG_HEADERS="\$CONFIG_FILES \$1"
|
||||
ac_need_defaults=false;;
|
||||
|
||||
# Handling of arguments.
|
||||
'acversion.m4' ) CONFIG_FILES="\$CONFIG_FILES acversion.m4" ;;
|
||||
'Makefile' ) CONFIG_FILES="\$CONFIG_FILES Makefile" ;;
|
||||
'testsuite/Makefile' ) CONFIG_FILES="\$CONFIG_FILES testsuite/Makefile" ;;
|
||||
|
||||
# This is an error.
|
||||
*) echo "$CONFIG_STATUS: invalid argument: \$ac_option"; exit 1 ;;
|
||||
-*) echo "$CONFIG_STATUS: invalid option: \$1"; exit 1 ;;
|
||||
*) echo "$CONFIG_STATUS: invalid argument: \$1"; exit 1 ;;
|
||||
esac
|
||||
shift
|
||||
done
|
||||
|
||||
EOF
|
||||
|
||||
cat >>$CONFIG_STATUS <<EOF
|
||||
# If there were arguments and we reach this point, then the user
|
||||
# has specified the files to intantiate. If there were no arguments,
|
||||
# then the files were specified by envvars. Set only the envvar that
|
||||
# are not set.
|
||||
if test \$# = 0; then
|
||||
# If the user did not use the arguments to specify the items to instantiate,
|
||||
# then the envvar interface is used. Set only those that are not.
|
||||
if \$ac_need_defaults; then
|
||||
: \${CONFIG_FILES="\$config_files"}
|
||||
fi
|
||||
|
||||
@ -1188,6 +1264,12 @@ trap 'rm -fr \$ac_cs_root*; exit 1' 1 2 15
|
||||
|
||||
EOF
|
||||
|
||||
cat >>$CONFIG_STATUS <<EOF
|
||||
#
|
||||
# INIT-COMMANDS section.
|
||||
#
|
||||
|
||||
EOF
|
||||
|
||||
cat >>$CONFIG_STATUS <<EOF
|
||||
|
||||
@ -1195,9 +1277,12 @@ cat >>$CONFIG_STATUS <<EOF
|
||||
# CONFIG_FILES section.
|
||||
#
|
||||
|
||||
# Protect against being on the right side of a sed subst in config.status.
|
||||
sed 's/%@/@@/; s/@%/@@/; s/%;t t\$/@;t t/; /@;t t\$/s/[\\\\&%]/\\\\&/g;
|
||||
s/@@/%@/; s/@@/@%/; s/@;t t\$/%;t t/' >\$ac_cs_root.subs <<\\CEOF
|
||||
# No need to generate the scripts if there are no CONFIG_FILES.
|
||||
# This happens for instance when ./config.status config.h
|
||||
if test -n "\$CONFIG_FILES"; then
|
||||
# Protect against being on the right side of a sed subst in config.status.
|
||||
sed 's/%@/@@/; s/@%/@@/; s/%;t t\$/@;t t/; /@;t t\$/s/[\\\\&%]/\\\\&/g;
|
||||
s/@@/%@/; s/@@/@%/; s/@;t t\$/%;t t/' >\$ac_cs_root.subs <<\\CEOF
|
||||
s%@SHELL@%$SHELL%;t t
|
||||
s%@CFLAGS@%$CFLAGS%;t t
|
||||
s%@CPPFLAGS@%$CPPFLAGS%;t t
|
||||
@ -1231,9 +1316,14 @@ s%@AUTOCONF@%$AUTOCONF%;t t
|
||||
s%@AUTOMAKE@%$AUTOMAKE%;t t
|
||||
s%@AUTOHEADER@%$AUTOHEADER%;t t
|
||||
s%@MAKEINFO@%$MAKEINFO%;t t
|
||||
s%@SET_MAKE@%$SET_MAKE%;t t
|
||||
s%@M4@%$M4%;t t
|
||||
s%@AMTAR@%$AMTAR%;t t
|
||||
s%@install_sh@%$install_sh%;t t
|
||||
s%@AWK@%$AWK%;t t
|
||||
s%@SET_MAKE@%$SET_MAKE%;t t
|
||||
s%@AMDEP@%$AMDEP%;t t
|
||||
s%@AMDEPBACKSLASH@%$AMDEPBACKSLASH%;t t
|
||||
s%@DEPDIR@%$DEPDIR%;t t
|
||||
s%@M4@%$M4%;t t
|
||||
s%@PERL@%$PERL%;t t
|
||||
s%@PERLSCRIPTS@%$PERLSCRIPTS%;t t
|
||||
s%@standards_texi@%$standards_texi%;t t
|
||||
@ -1241,47 +1331,47 @@ CEOF
|
||||
|
||||
EOF
|
||||
|
||||
cat >>$CONFIG_STATUS <<\EOF
|
||||
# Split the substitutions into bite-sized pieces for seds with
|
||||
# small command number limits, like on Digital OSF/1 and HP-UX.
|
||||
ac_max_sed_lines=48
|
||||
ac_sed_frag=1 # Number of current file.
|
||||
ac_beg=1 # First line for current file.
|
||||
ac_end=$ac_max_sed_lines # Line after last line for current file.
|
||||
ac_more_lines=:
|
||||
ac_sed_cmds=""
|
||||
while $ac_more_lines; do
|
||||
if test $ac_beg -gt 1; then
|
||||
sed "1,${ac_beg}d; ${ac_end}q" $ac_cs_root.subs >$ac_cs_root.sfrag
|
||||
else
|
||||
sed "${ac_end}q" $ac_cs_root.subs >$ac_cs_root.sfrag
|
||||
fi
|
||||
if test ! -s $ac_cs_root.sfrag; then
|
||||
ac_more_lines=false
|
||||
rm -f $ac_cs_root.sfrag
|
||||
else
|
||||
# The purpose of the label and of the branching condition is to
|
||||
# speed up the sed processing (if there are no `@' at all, there
|
||||
# is no need to browse any of the substitutions).
|
||||
# These are the two extra sed commands mentioned above.
|
||||
(echo ':t
|
||||
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $ac_cs_root.sfrag) >$ac_cs_root.s$ac_sed_frag
|
||||
if test -z "$ac_sed_cmds"; then
|
||||
ac_sed_cmds="sed -f $ac_cs_root.s$ac_sed_frag"
|
||||
cat >>$CONFIG_STATUS <<\EOF
|
||||
# Split the substitutions into bite-sized pieces for seds with
|
||||
# small command number limits, like on Digital OSF/1 and HP-UX.
|
||||
ac_max_sed_lines=48
|
||||
ac_sed_frag=1 # Number of current file.
|
||||
ac_beg=1 # First line for current file.
|
||||
ac_end=$ac_max_sed_lines # Line after last line for current file.
|
||||
ac_more_lines=:
|
||||
ac_sed_cmds=""
|
||||
while $ac_more_lines; do
|
||||
if test $ac_beg -gt 1; then
|
||||
sed "1,${ac_beg}d; ${ac_end}q" $ac_cs_root.subs >$ac_cs_root.sfrag
|
||||
else
|
||||
ac_sed_cmds="$ac_sed_cmds | sed -f $ac_cs_root.s$ac_sed_frag"
|
||||
sed "${ac_end}q" $ac_cs_root.subs >$ac_cs_root.sfrag
|
||||
fi
|
||||
ac_sed_frag=`expr $ac_sed_frag + 1`
|
||||
ac_beg=$ac_end
|
||||
ac_end=`expr $ac_end + $ac_max_sed_lines`
|
||||
if test ! -s $ac_cs_root.sfrag; then
|
||||
ac_more_lines=false
|
||||
rm -f $ac_cs_root.sfrag
|
||||
else
|
||||
# The purpose of the label and of the branching condition is to
|
||||
# speed up the sed processing (if there are no `@' at all, there
|
||||
# is no need to browse any of the substitutions).
|
||||
# These are the two extra sed commands mentioned above.
|
||||
(echo ':t
|
||||
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $ac_cs_root.sfrag) >$ac_cs_root.s$ac_sed_frag
|
||||
if test -z "$ac_sed_cmds"; then
|
||||
ac_sed_cmds="sed -f $ac_cs_root.s$ac_sed_frag"
|
||||
else
|
||||
ac_sed_cmds="$ac_sed_cmds | sed -f $ac_cs_root.s$ac_sed_frag"
|
||||
fi
|
||||
ac_sed_frag=`expr $ac_sed_frag + 1`
|
||||
ac_beg=$ac_end
|
||||
ac_end=`expr $ac_end + $ac_max_sed_lines`
|
||||
fi
|
||||
done
|
||||
if test -z "$ac_sed_cmds"; then
|
||||
ac_sed_cmds=cat
|
||||
fi
|
||||
done
|
||||
if test -z "$ac_sed_cmds"; then
|
||||
ac_sed_cmds=cat
|
||||
fi
|
||||
fi # test -n "$CONFIG_FILES"
|
||||
|
||||
EOF
|
||||
|
||||
cat >>$CONFIG_STATUS <<\EOF
|
||||
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
|
||||
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
|
||||
@ -1322,16 +1412,23 @@ for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
|
||||
|
||||
echo creating "$ac_file"
|
||||
rm -f "$ac_file"
|
||||
configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
|
||||
configure_input="Generated automatically from `echo $ac_file_in |
|
||||
sed 's%.*/%%'` by configure."
|
||||
case "$ac_file" in
|
||||
*[Mm]akefile*) ac_comsub="1i\\
|
||||
# $configure_input" ;;
|
||||
*) ac_comsub= ;;
|
||||
esac
|
||||
|
||||
# Don't redirect the output to AC_FILE directly: use `mv' so that updating
|
||||
# is atomic, and doesn't need trapping.
|
||||
ac_file_inputs=`echo $ac_file_in | sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
|
||||
# Don't redirect the output to AC_FILE directly: use `mv' so that updating
|
||||
# is atomic, and doesn't need trapping.
|
||||
ac_file_inputs=`echo $ac_file_in |
|
||||
sed -e "s%^%$ac_given_srcdir/%;s%:% $ac_given_srcdir/%g"`
|
||||
for ac_file_input in $ac_file_inputs;
|
||||
do
|
||||
test -f "$ac_file_input" ||
|
||||
{ echo "configure: error: cannot find input file \`$ac_file_input'" 1>&2; exit 1; }
|
||||
done
|
||||
EOF
|
||||
cat >>$CONFIG_STATUS <<EOF
|
||||
sed -e "$ac_comsub
|
||||
@ -1352,17 +1449,17 @@ fi; done
|
||||
rm -f $ac_cs_root.s*
|
||||
EOF
|
||||
|
||||
cat >>$CONFIG_STATUS <<EOF
|
||||
|
||||
EOF
|
||||
cat >>$CONFIG_STATUS <<\EOF
|
||||
|
||||
#
|
||||
# CONFIG_COMMANDS section.
|
||||
#
|
||||
|
||||
exit 0
|
||||
EOF
|
||||
chmod +x $CONFIG_STATUS
|
||||
rm -fr confdefs* $ac_clean_files
|
||||
trap 'exit 1' 1 2 15
|
||||
|
||||
|
||||
test "$no_create" = yes || $SHELL $CONFIG_STATUS || exit 1
|
||||
|
||||
|
230
doc/Makefile.in
230
doc/Makefile.in
@ -1,4 +1,4 @@
|
||||
# Makefile.in generated automatically by automake 1.4 from Makefile.am
|
||||
# Makefile.in generated automatically by automake 1.4a from Makefile.am
|
||||
|
||||
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
@ -10,7 +10,6 @@
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
SHELL = @SHELL@
|
||||
|
||||
srcdir = @srcdir@
|
||||
@ -46,9 +45,10 @@ AUTOMAKE = @AUTOMAKE@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_FLAG =
|
||||
transform = @program_transform_name@
|
||||
|
||||
NORMAL_INSTALL = :
|
||||
@ -57,14 +57,23 @@ POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
AMDEP = @AMDEP@
|
||||
AMTAR = @AMTAR@
|
||||
AWK = @AWK@
|
||||
CC = @CC@
|
||||
CPP = @CPP@
|
||||
CXX = @CXX@
|
||||
CXXCPP = @CXXCPP@
|
||||
DEPDIR = @DEPDIR@
|
||||
M4 = @M4@
|
||||
PACKAGE = @PACKAGE@
|
||||
PERL = @PERL@
|
||||
PERLSCRIPTS = @PERLSCRIPTS@
|
||||
VERSION = @VERSION@
|
||||
install_sh = @install_sh@
|
||||
standards_texi = @standards_texi@
|
||||
|
||||
|
||||
AUTOMAKE_OPTIONS = check-news 1.4
|
||||
|
||||
SUBDIRS = testsuite
|
||||
@ -81,7 +90,9 @@ EXTRA_SCRIPTS = autoscan
|
||||
# s/nodistpackageDATA/nodist_pkgdata_DATA/
|
||||
# and adapt dependencies once we use a more recent Automake
|
||||
|
||||
distpkgdataDATA = acfunctions acheaders acidentifiers acmakevars acprograms acgeneral.m4 acoldnames.m4 acspecific.m4 autoconf.m4 autoheader.m4
|
||||
distpkgdataDATA = \
|
||||
acfunctions acheaders acidentifiers acmakevars acprograms \
|
||||
acgeneral.m4 acoldnames.m4 acspecific.m4 autoconf.m4 autoheader.m4
|
||||
|
||||
|
||||
nodistpkgdataDATA = autoconf.m4f autoheader.m4f acversion.m4
|
||||
@ -93,40 +104,54 @@ autoconf_TEXINFOS = install.texi
|
||||
standards_TEXINFOS = make-stds.texi
|
||||
|
||||
OLDCHANGELOGS = ChangeLog.0 ChangeLog.1
|
||||
EXTRA_DIST = $(OLDCHANGELOGS) autoconf.sh autoheader.sh autoreconf.sh autoupdate.sh ifnames.sh autoscan.pl INSTALL.txt $(distpkgdataDATA)
|
||||
EXTRA_DIST = $(OLDCHANGELOGS) \
|
||||
autoconf.sh autoheader.sh autoreconf.sh autoupdate.sh \
|
||||
ifnames.sh autoscan.pl INSTALL.txt \
|
||||
$(distpkgdataDATA)
|
||||
|
||||
|
||||
# Files that should be removed, but which Automake does not know.
|
||||
# There are texi2dvi files, frozen files, and the scripts.
|
||||
CLEANFILES = autoconf.cvs autoconf.ev autoconf.evs autoconf.ma autoconf.mas autoconf.ov autoconf.ovs autoconf.m4f autoheader.m4f $(bin_SCRIPTS)
|
||||
CLEANFILES = autoconf.cvs autoconf.ev autoconf.evs autoconf.ma autoconf.mas \
|
||||
autoconf.ov autoconf.ovs autoconf.m4f autoheader.m4f $(bin_SCRIPTS)
|
||||
|
||||
|
||||
# The scripts.
|
||||
|
||||
editsh = sed -e 's,@''datadir''@,$(pkgdatadir),g' -e 's,@''M4''@,$(M4),g' -e 's,@''AWK''@,$(AWK),g' -e 's,@''SHELL''@,$(SHELL),g'
|
||||
editsh = sed -e 's,@''datadir''@,$(pkgdatadir),g' -e \
|
||||
's,@''M4''@,$(M4),g' -e 's,@''AWK''@,$(AWK),g' \
|
||||
-e 's,@''SHELL''@,$(SHELL),g' \
|
||||
-e 's,@''VERSION''@,$(VERSION),g' -e 's,@''PACKAGE''@,$(PACKAGE),g'
|
||||
|
||||
editpl = sed -e 's,@''datadir''@,$(pkgdatadir),g' -e 's,@''PERL''@,$(PERL),g'
|
||||
editpl = sed -e 's,@''datadir''@,$(pkgdatadir),g' -e 's,@''PERL''@,$(PERL),g' \
|
||||
-e 's,@''VERSION''@,$(VERSION),g' -e 's,@''PACKAGE''@,$(PACKAGE),g'
|
||||
|
||||
subdir = .
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
CONFIG_CLEAN_FILES = acversion.m4
|
||||
SCRIPTS = $(bin_SCRIPTS)
|
||||
|
||||
CFLAGS = @CFLAGS@
|
||||
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||
CCLD = $(CC)
|
||||
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||
DIST_SOURCES =
|
||||
TEXI2DVI = texi2dvi
|
||||
INFO_DEPS = autoconf.info standards.info
|
||||
DVIS = autoconf.dvi standards.dvi
|
||||
TEXINFOS = autoconf.texi standards.texi
|
||||
DATA = $(pkgdata_DATA)
|
||||
|
||||
DIST_COMMON = README $(autoconf_TEXINFOS) $(standards_TEXINFOS) AUTHORS \
|
||||
COPYING ChangeLog INSTALL Makefile.am Makefile.in NEWS THANKS TODO \
|
||||
aclocal.m4 acversion.m4.in config.guess config.sub configure \
|
||||
configure.in install-sh mdate-sh missing mkinstalldirs stamp-vti \
|
||||
texinfo.tex version.texi
|
||||
DIST_COMMON = README $(autoconf_TEXINFOS) $(pkgdata_DATA) \
|
||||
$(standards_TEXINFOS) AUTHORS COPYING ChangeLog INSTALL Makefile.am \
|
||||
Makefile.in NEWS THANKS TODO aclocal.m4 acversion.m4.in config.guess \
|
||||
config.sub configure configure.in depcomp install-sh mdate-sh missing \
|
||||
mkinstalldirs stamp-vti texinfo.tex version.texi
|
||||
|
||||
|
||||
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
|
||||
TAR = tar
|
||||
GZIP_ENV = --best
|
||||
all: all-redirect
|
||||
.SUFFIXES:
|
||||
@ -152,19 +177,22 @@ install-binSCRIPTS: $(bin_SCRIPTS)
|
||||
@$(NORMAL_INSTALL)
|
||||
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
||||
@list='$(bin_SCRIPTS)'; for p in $$list; do \
|
||||
f="`echo $$p|sed '$(transform)'`"; \
|
||||
if test -f $$p; then \
|
||||
echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
|
||||
$(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
|
||||
else if test -f $(srcdir)/$$p; then \
|
||||
echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
|
||||
$(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
|
||||
else :; fi; fi; \
|
||||
echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/$$f"; \
|
||||
$(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/$$f; \
|
||||
elif test -f $(srcdir)/$$p; then \
|
||||
echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/$$f"; \
|
||||
$(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/$$f; \
|
||||
else :; fi; \
|
||||
done
|
||||
|
||||
uninstall-binSCRIPTS:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
list='$(bin_SCRIPTS)'; for p in $$list; do \
|
||||
rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
|
||||
@list='$(bin_SCRIPTS)'; for p in $$list; do \
|
||||
f="`echo $$p|sed '$(transform)'`"; \
|
||||
echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
|
||||
rm -f $(DESTDIR)$(bindir)/$$f; \
|
||||
done
|
||||
|
||||
$(srcdir)/version.texi: stamp-vti
|
||||
@ -206,7 +234,7 @@ DVIPS = dvips
|
||||
&& $(MAKEINFO) `echo $< | sed 's,.*/,,'`
|
||||
|
||||
.texi.dvi:
|
||||
TEXINPUTS=.:$$TEXINPUTS \
|
||||
TEXINPUTS=$(srcdir):$$TEXINPUTS \
|
||||
MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
|
||||
|
||||
.texi:
|
||||
@ -225,7 +253,7 @@ DVIPS = dvips
|
||||
&& $(MAKEINFO) `echo $< | sed 's,.*/,,'`
|
||||
|
||||
.texinfo.dvi:
|
||||
TEXINPUTS=.:$$TEXINPUTS \
|
||||
TEXINPUTS=$(srcdir):$$TEXINPUTS \
|
||||
MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
|
||||
|
||||
.txi.info:
|
||||
@ -234,7 +262,7 @@ DVIPS = dvips
|
||||
&& $(MAKEINFO) `echo $< | sed 's,.*/,,'`
|
||||
|
||||
.txi.dvi:
|
||||
TEXINPUTS=.:$$TEXINPUTS \
|
||||
TEXINPUTS=$(srcdir):$$TEXINPUTS \
|
||||
MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
|
||||
|
||||
.txi:
|
||||
@ -250,7 +278,7 @@ install-info-am: $(INFO_DEPS)
|
||||
@list='$(INFO_DEPS)'; \
|
||||
for file in $$list; do \
|
||||
d=$(srcdir); \
|
||||
for ifile in `cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
|
||||
for ifile in `CDPATH=: && cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
|
||||
if test -f $$d/$$ifile; then \
|
||||
echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \
|
||||
$(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \
|
||||
@ -269,24 +297,26 @@ install-info-am: $(INFO_DEPS)
|
||||
uninstall-info:
|
||||
$(PRE_UNINSTALL)
|
||||
@if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
|
||||
ii=yes; \
|
||||
else ii=; fi; \
|
||||
list='$(INFO_DEPS)'; \
|
||||
for file in $$list; do \
|
||||
test -z "$ii" \
|
||||
|| install-info --info-dir=$(DESTDIR)$(infodir) --remove $$file; \
|
||||
done
|
||||
list='$(INFO_DEPS)'; \
|
||||
for file in $$list; do \
|
||||
echo " install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file"; \
|
||||
install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file; \
|
||||
done; \
|
||||
else :; fi
|
||||
@$(NORMAL_UNINSTALL)
|
||||
list='$(INFO_DEPS)'; \
|
||||
@list='$(INFO_DEPS)'; \
|
||||
for file in $$list; do \
|
||||
(cd $(DESTDIR)$(infodir) && rm -f $$file $$file-[0-9] $$file-[0-9][0-9]); \
|
||||
(if cd $(DESTDIR)$(infodir); then \
|
||||
echo " rm -f $$file $$file-[0-9] $$file-[0-9][0-9])"; \
|
||||
rm -f $$file $$file-[0-9] $$file-[0-9][0-9]; \
|
||||
else :; fi); \
|
||||
done
|
||||
|
||||
dist-info: $(INFO_DEPS)
|
||||
list='$(INFO_DEPS)'; \
|
||||
for base in $$list; do \
|
||||
d=$(srcdir); \
|
||||
for file in `cd $$d && eval echo $$base*`; do \
|
||||
for file in `CDPATH=: && cd $$d && eval echo $$base*`; do \
|
||||
test -f $(distdir)/$$file \
|
||||
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
||||
|| cp -p $$d/$$file $(distdir)/$$file; \
|
||||
@ -295,15 +325,16 @@ dist-info: $(INFO_DEPS)
|
||||
|
||||
mostlyclean-aminfo:
|
||||
-rm -f autoconf.aux autoconf.cp autoconf.cps autoconf.dvi autoconf.fn \
|
||||
autoconf.fns autoconf.ky autoconf.kys autoconf.ps \
|
||||
autoconf.log autoconf.pg autoconf.toc autoconf.tp \
|
||||
autoconf.fns autoconf.pgs autoconf.ky autoconf.kys \
|
||||
autoconf.ps autoconf.log autoconf.pg autoconf.toc autoconf.tp \
|
||||
autoconf.tps autoconf.vr autoconf.vrs autoconf.op autoconf.tr \
|
||||
autoconf.cv autoconf.cn standards.aux standards.cp \
|
||||
standards.cps standards.dvi standards.fn standards.fns \
|
||||
standards.ky standards.kys standards.ps standards.log \
|
||||
standards.pg standards.toc standards.tp standards.tps \
|
||||
standards.vr standards.vrs standards.op standards.tr \
|
||||
standards.cv standards.cn
|
||||
autoconf.cv autoconf.cn autoconf.cm autoconf.ov standards.aux \
|
||||
standards.cp standards.cps standards.dvi standards.fn \
|
||||
standards.fns standards.pgs standards.ky standards.kys \
|
||||
standards.ps standards.log standards.pg standards.toc \
|
||||
standards.tp standards.tps standards.vr standards.vrs \
|
||||
standards.op standards.tr standards.cv standards.cn \
|
||||
standards.cm standards.ov
|
||||
|
||||
clean-aminfo:
|
||||
|
||||
@ -321,19 +352,18 @@ install-pkgdataDATA: $(pkgdata_DATA)
|
||||
@$(NORMAL_INSTALL)
|
||||
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
|
||||
@list='$(pkgdata_DATA)'; for p in $$list; do \
|
||||
if test -f $(srcdir)/$$p; then \
|
||||
echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkgdatadir)/$$p"; \
|
||||
$(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkgdatadir)/$$p; \
|
||||
else if test -f $$p; then \
|
||||
echo " $(INSTALL_DATA) $$p $(DESTDIR)$(pkgdatadir)/$$p"; \
|
||||
$(INSTALL_DATA) $$p $(DESTDIR)$(pkgdatadir)/$$p; \
|
||||
fi; fi; \
|
||||
if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
|
||||
f="`echo $$p | sed -e 's|^.*/||'`"; \
|
||||
echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(pkgdatadir)/$$f"; \
|
||||
$(INSTALL_DATA) $$d$$p $(DESTDIR)$(pkgdatadir)/$$f; \
|
||||
done
|
||||
|
||||
uninstall-pkgdataDATA:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
list='$(pkgdata_DATA)'; for p in $$list; do \
|
||||
rm -f $(DESTDIR)$(pkgdatadir)/$$p; \
|
||||
@list='$(pkgdata_DATA)'; for p in $$list; do \
|
||||
f="`echo $$p | sed -e 's|^.*/||'`"; \
|
||||
echo " rm -f $(DESTDIR)$(pkgdatadir)/$$f"; \
|
||||
rm -f $(DESTDIR)$(pkgdatadir)/$$f; \
|
||||
done
|
||||
|
||||
# This directory's subdirectories are mostly independent; you can cd
|
||||
@ -372,7 +402,7 @@ maintainer-clean-recursive:
|
||||
dot_seen=no; \
|
||||
rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
rev="$$subdir $$rev"; \
|
||||
test "$$subdir" = "." && dot_seen=yes; \
|
||||
if test "$$subdir" = "."; then dot_seen=yes; else :; fi; \
|
||||
done; \
|
||||
test "$$dot_seen" = "no" && rev=". $$rev"; \
|
||||
target=`echo $@ | sed s/-recursive//`; \
|
||||
@ -393,15 +423,17 @@ tags-recursive:
|
||||
|
||||
tags: TAGS
|
||||
|
||||
ID: $(HEADERS) $(SOURCES) $(LISP)
|
||||
list='$(SOURCES) $(HEADERS)'; \
|
||||
unique=`for i in $$list; do echo $$i; done | \
|
||||
awk ' { files[$$0] = 1; } \
|
||||
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
||||
list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) ' { files[$$0] = 1; } \
|
||||
END { for (i in files) print i; }'`; \
|
||||
here=`pwd` && cd $(srcdir) \
|
||||
&& mkid -f$$here/ID $$unique $(LISP)
|
||||
mkid -f$$here/ID $$unique $(LISP)
|
||||
|
||||
TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
|
||||
TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
tags=; \
|
||||
here=`pwd`; \
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
@ -409,12 +441,14 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
|
||||
test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
|
||||
fi; \
|
||||
done; \
|
||||
list='$(SOURCES) $(HEADERS)'; \
|
||||
unique=`for i in $$list; do echo $$i; done | \
|
||||
awk ' { files[$$0] = 1; } \
|
||||
list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) ' { files[$$0] = 1; } \
|
||||
END { for (i in files) print i; }'`; \
|
||||
test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
|
||||
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
|
||||
|| etags $(ETAGS_ARGS) $$tags $$unique $(LISP)
|
||||
|
||||
mostlyclean-tags:
|
||||
|
||||
@ -428,54 +462,64 @@ maintainer-clean-tags:
|
||||
distdir = $(PACKAGE)-$(VERSION)
|
||||
top_distdir = $(distdir)
|
||||
|
||||
|
||||
# This target untars the dist file and tries a VPATH configuration. Then
|
||||
# it guarantees that the distribution is self-contained by making another
|
||||
# tarfile.
|
||||
distcheck: dist
|
||||
-rm -rf $(distdir)
|
||||
GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
|
||||
-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
|
||||
GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
|
||||
chmod -R a-w $(distdir); chmod a+w $(distdir)
|
||||
mkdir $(distdir)/=build
|
||||
mkdir $(distdir)/=inst
|
||||
dc_install_base=`cd $(distdir)/=inst && pwd`; \
|
||||
cd $(distdir)/=build \
|
||||
chmod a-w $(distdir)
|
||||
dc_install_base=`CDPATH=: && cd $(distdir)/=inst && pwd` \
|
||||
&& cd $(distdir)/=build \
|
||||
&& ../configure --srcdir=.. --prefix=$$dc_install_base \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) check \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) install \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) dist
|
||||
-rm -rf $(distdir)
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \
|
||||
&& test `find $$dc_install_base -type f -print | wc -l` -le 1 \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) dist \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) distclean \
|
||||
&& rm -f $(distdir).tar.gz \
|
||||
&& test `find . -type f -print | wc -l` -eq 0
|
||||
-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
|
||||
@banner="$(distdir).tar.gz is ready for distribution"; \
|
||||
dashes=`echo "$$banner" | sed s/./=/g`; \
|
||||
echo "$$dashes"; \
|
||||
echo "$$banner"; \
|
||||
echo "$$dashes"
|
||||
dist: distdir
|
||||
-chmod -R a+r $(distdir)
|
||||
GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
|
||||
-rm -rf $(distdir)
|
||||
-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
|
||||
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
|
||||
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
|
||||
! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
|
||||
|| chmod -R a+r $(distdir)
|
||||
$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c > $(distdir).tar.gz
|
||||
-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
|
||||
dist-all: distdir
|
||||
-chmod -R a+r $(distdir)
|
||||
GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
|
||||
-rm -rf $(distdir)
|
||||
-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
|
||||
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
|
||||
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
|
||||
! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
|
||||
|| chmod -R a+r $(distdir)
|
||||
$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c > $(distdir).tar.gz
|
||||
-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
|
||||
distdir: $(DISTFILES)
|
||||
@if sed 15q $(srcdir)/NEWS | fgrep -e "$(VERSION)" > /dev/null; then :; else \
|
||||
echo "NEWS not updated; not releasing" 1>&2; \
|
||||
exit 1; \
|
||||
fi
|
||||
-rm -rf $(distdir)
|
||||
-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
|
||||
mkdir $(distdir)
|
||||
-chmod 777 $(distdir)
|
||||
here=`cd $(top_builddir) && pwd`; \
|
||||
top_distdir=`cd $(distdir) && pwd`; \
|
||||
distdir=`cd $(distdir) && pwd`; \
|
||||
cd $(top_srcdir) \
|
||||
&& $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu Makefile
|
||||
@for file in $(DISTFILES); do \
|
||||
d=$(srcdir); \
|
||||
if test -d $$d/$$file; then \
|
||||
cp -pr $$d/$$file $(distdir)/$$file; \
|
||||
cp -pR $$d/$$file $(distdir); \
|
||||
else \
|
||||
test -f $(distdir)/$$file \
|
||||
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
||||
@ -487,7 +531,6 @@ distdir: $(DISTFILES)
|
||||
test -d $(distdir)/$$subdir \
|
||||
|| mkdir $(distdir)/$$subdir \
|
||||
|| exit 1; \
|
||||
chmod 777 $(distdir)/$$subdir; \
|
||||
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
@ -517,7 +560,7 @@ uninstall: uninstall-recursive
|
||||
all-am: Makefile $(INFO_DEPS) $(SCRIPTS) $(DATA)
|
||||
all-redirect: all-recursive
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
|
||||
installdirs: installdirs-recursive
|
||||
installdirs-am:
|
||||
$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(infodir) \
|
||||
@ -534,6 +577,7 @@ distclean-generic:
|
||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
||||
|
||||
maintainer-clean-generic:
|
||||
-rm -f Makefile.in
|
||||
mostlyclean-am: mostlyclean-vti mostlyclean-aminfo mostlyclean-tags \
|
||||
mostlyclean-generic
|
||||
|
||||
@ -563,7 +607,8 @@ maintainer-clean: maintainer-clean-recursive
|
||||
distclean-vti clean-vti maintainer-clean-vti install-info-am \
|
||||
uninstall-info mostlyclean-aminfo distclean-aminfo clean-aminfo \
|
||||
maintainer-clean-aminfo uninstall-pkgdataDATA install-pkgdataDATA \
|
||||
install-data-recursive uninstall-data-recursive install-exec-recursive \
|
||||
install-recursive uninstall-recursive install-data-recursive \
|
||||
uninstall-data-recursive install-exec-recursive \
|
||||
uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
|
||||
all-recursive check-recursive installcheck-recursive info-recursive \
|
||||
dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
|
||||
@ -571,9 +616,10 @@ maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
|
||||
distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
|
||||
dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
|
||||
install-exec install-data-am install-data install-am install \
|
||||
uninstall-am uninstall all-redirect all-am all installdirs-am \
|
||||
installdirs mostlyclean-generic distclean-generic clean-generic \
|
||||
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
|
||||
uninstall-am uninstall all-redirect all-am all install-strip \
|
||||
installdirs-am installdirs mostlyclean-generic distclean-generic \
|
||||
clean-generic maintainer-clean-generic clean mostlyclean distclean \
|
||||
maintainer-clean
|
||||
|
||||
|
||||
# INSTALL is a special case. Automake seems to have a single name space
|
||||
|
@ -765,7 +765,8 @@ popdef([AC_Prefix])dnl
|
||||
dnl ### Initialization
|
||||
|
||||
|
||||
dnl AC_INIT_NOTICE()
|
||||
dnl AC_INIT_NOTICE
|
||||
dnl --------------
|
||||
AC_DEFUN(AC_INIT_NOTICE,
|
||||
[# Guess values for system-dependent variables and create Makefiles.
|
||||
# Generated automatically using Autoconf version] AC_ACVERSION [
|
||||
@ -781,12 +782,15 @@ ac_arg_var_help=
|
||||
ac_default_prefix=/usr/local
|
||||
[#] Any additions from configure.in:])
|
||||
|
||||
|
||||
dnl AC_PREFIX_DEFAULT(PREFIX)
|
||||
dnl -------------------------
|
||||
AC_DEFUN(AC_PREFIX_DEFAULT,
|
||||
[AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)dnl
|
||||
ac_default_prefix=$1
|
||||
AC_DIVERT_POP()])
|
||||
|
||||
|
||||
dnl AC_INIT_PARSE_ARGS
|
||||
dnl ------------------
|
||||
AC_DEFUN(AC_INIT_PARSE_ARGS,
|
||||
@ -2524,6 +2528,7 @@ rm -f conftest*])
|
||||
|
||||
dnl AC_EGREP_HEADER(PATTERN, HEADER-FILE, ACTION-IF-FOUND [,
|
||||
dnl ACTION-IF-NOT-FOUND])
|
||||
dnl --------------------------------------------------------
|
||||
AC_DEFUN(AC_EGREP_HEADER,
|
||||
[AC_EGREP_CPP([$1], [#include <$2>], [$3], [$4])])
|
||||
|
||||
@ -2553,7 +2558,7 @@ ifelse([$4], , , [else
|
||||
])dnl
|
||||
fi
|
||||
rm -f conftest*
|
||||
])
|
||||
])dnl AC_EGREP_CPP
|
||||
|
||||
|
||||
dnl ### Examining syntax
|
||||
@ -2561,6 +2566,7 @@ dnl ### Examining syntax
|
||||
|
||||
dnl AC_TRY_COMPILE(INCLUDES, FUNCTION-BODY,
|
||||
dnl [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
|
||||
dnl ---------------------------------------------------------
|
||||
AC_DEFUN(AC_TRY_COMPILE,
|
||||
[cat >conftest.$ac_ext <<EOF
|
||||
ifelse(AC_LANG, [FORTRAN77],
|
||||
@ -2594,6 +2600,7 @@ dnl ### Examining libraries
|
||||
|
||||
dnl AC_COMPILE_CHECK(ECHO-TEXT, INCLUDES, FUNCTION-BODY,
|
||||
dnl ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND])
|
||||
dnl ---------------------------------------------------------
|
||||
AC_DEFUN(AC_COMPILE_CHECK,
|
||||
[AC_OBSOLETE([$0], [; instead use AC_TRY_COMPILE or AC_TRY_LINK, and AC_MSG_CHECKING and AC_MSG_RESULT])dnl
|
||||
ifelse([$1], , , [AC_CHECKING([for $1])
|
||||
@ -2603,6 +2610,7 @@ AC_TRY_LINK([$2], [$3], [$4], [$5])
|
||||
|
||||
dnl AC_TRY_LINK(INCLUDES, FUNCTION-BODY,
|
||||
dnl [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
|
||||
dnl ------------------------------------------------------
|
||||
AC_DEFUN(AC_TRY_LINK,
|
||||
[cat >conftest.$ac_ext <<EOF
|
||||
ifelse(AC_LANG, [FORTRAN77],
|
||||
@ -2630,7 +2638,8 @@ ifelse([$4], , , [ rm -rf conftest*
|
||||
$4
|
||||
])dnl
|
||||
fi
|
||||
rm -f conftest*])
|
||||
rm -f conftest*
|
||||
])dnl AC_TRY_LINK
|
||||
|
||||
|
||||
dnl ### Checking for run-time features
|
||||
@ -2672,7 +2681,8 @@ ifelse([$3], , , [ rm -fr conftest*
|
||||
$3
|
||||
])dnl
|
||||
fi
|
||||
rm -fr conftest*])
|
||||
rm -fr conftest*
|
||||
])dnl AC_TRY_RUN_NATIVE
|
||||
|
||||
|
||||
dnl ### Checking for header files
|
||||
@ -2785,7 +2795,7 @@ AC_CACHE_CHECK([whether `$1' is declared], ac_Symbol,
|
||||
#endif
|
||||
]),
|
||||
[#ifndef $1
|
||||
char *p = (char *) $1;
|
||||
char *p = (char *) $1;
|
||||
#endif
|
||||
],
|
||||
AC_VAR_SET(ac_Symbol, yes), AC_VAR_SET(ac_Symbol, no))])
|
||||
@ -3215,7 +3225,7 @@ dnl hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
|
||||
dnl so uname gets run too.
|
||||
# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
|
||||
#
|
||||
[#] [$]0 [$]ac_configure_args
|
||||
@PND@ [$]0 [$]ac_configure_args
|
||||
#
|
||||
# Compiler output produced by configure, useful for debugging
|
||||
# configure, is in ./config.log if it exists.
|
||||
|
@ -544,10 +544,8 @@ struct s1 {int (*f) (int a);};
|
||||
struct s2 {int (*f) (double a);};
|
||||
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
|
||||
int argc;
|
||||
char **argv;
|
||||
], [
|
||||
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
|
||||
],
|
||||
char **argv;],
|
||||
[return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];],
|
||||
[ac_cv_prog_cc_stdc="$ac_arg"; break])
|
||||
done
|
||||
CC="$ac_save_CC"
|
||||
@ -919,21 +917,29 @@ fi
|
||||
|
||||
if test $ac_cv_header_stdc = yes; then
|
||||
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
||||
AC_TRY_RUN([#include <ctype.h>
|
||||
AC_TRY_RUN(
|
||||
[#include <ctype.h>
|
||||
#if ((' ' & 0x0FF) == 0x020)
|
||||
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
||||
#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
||||
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
||||
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
||||
#else
|
||||
#define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
|
||||
|| ('j' <= (c) && (c) <= 'r') \
|
||||
|| ('s' <= (c) && (c) <= 'z'))
|
||||
#define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
||||
# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
|
||||
|| ('j' <= (c) && (c) <= 'r') \
|
||||
|| ('s' <= (c) && (c) <= 'z'))
|
||||
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
||||
#endif
|
||||
|
||||
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
||||
int main () { int i; for (i = 0; i < 256; i++)
|
||||
if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
|
||||
exit (0); }
|
||||
], , ac_cv_header_stdc=no, :)
|
||||
int
|
||||
main ()
|
||||
{
|
||||
int i;
|
||||
for (i = 0; i < 256; i++)
|
||||
if (XOR (islower (i), ISLOWER (i))
|
||||
|| toupper (i) != TOUPPER (i))
|
||||
exit(2);
|
||||
exit (0);
|
||||
}], , ac_cv_header_stdc=no, :)
|
||||
fi])
|
||||
if test $ac_cv_header_stdc = yes; then
|
||||
AC_DEFINE(STDC_HEADERS, 1, [Define if you have the ANSI C header files.])
|
||||
@ -1080,16 +1086,18 @@ dnl ------------------
|
||||
AC_DEFUN(AC_HEADER_SYS_WAIT,
|
||||
[AC_CACHE_CHECK([for sys/wait.h that is POSIX.1 compatible],
|
||||
ac_cv_header_sys_wait_h,
|
||||
[AC_TRY_COMPILE([#include <sys/types.h>
|
||||
[AC_TRY_COMPILE(
|
||||
[#include <sys/types.h>
|
||||
#include <sys/wait.h>
|
||||
#ifndef WEXITSTATUS
|
||||
#define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
|
||||
# define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
|
||||
#endif
|
||||
#ifndef WIFEXITED
|
||||
#define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
|
||||
#endif], [int s;
|
||||
wait (&s);
|
||||
s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;],
|
||||
# define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
|
||||
#endif],
|
||||
[ int s;
|
||||
wait (&s);
|
||||
s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;],
|
||||
ac_cv_header_sys_wait_h=yes, ac_cv_header_sys_wait_h=no)])
|
||||
if test $ac_cv_header_sys_wait_h = yes; then
|
||||
AC_DEFINE(HAVE_SYS_WAIT_H, 1,
|
||||
@ -1120,6 +1128,8 @@ AC_DEFUN(AC_DIR_HEADER,
|
||||
dnl ### Checks for typedefs
|
||||
|
||||
|
||||
dnl AC_TYPE_GETGROUPS
|
||||
dnl -----------------
|
||||
AC_DEFUN(AC_TYPE_GETGROUPS,
|
||||
[AC_REQUIRE([AC_TYPE_UID_T])dnl
|
||||
AC_CACHE_CHECK(type of array argument to getgroups, ac_cv_type_getgroups,
|
||||
@ -1145,8 +1155,7 @@ main()
|
||||
/* Exit non-zero if getgroups seems to require an array of ints. This
|
||||
happens when gid_t is short but getgroups modifies an array of ints. */
|
||||
exit ((n > 0 && gidset[n] != val.gval) ? 1 : 0);
|
||||
}
|
||||
>>,
|
||||
}>>,
|
||||
changequote([, ])dnl
|
||||
ac_cv_type_getgroups=gid_t, ac_cv_type_getgroups=int,
|
||||
ac_cv_type_getgroups=cross)
|
||||
@ -1162,6 +1171,8 @@ AC_DEFINE_UNQUOTED(GETGROUPS_T, $ac_cv_type_getgroups,
|
||||
`getgroups'. Usually this is either `int' or `gid_t'.])
|
||||
])dnl AC_TYPE_GETGROUPS
|
||||
|
||||
|
||||
|
||||
AC_DEFUN(AC_TYPE_UID_T,
|
||||
[AC_CACHE_CHECK(for uid_t in sys/types.h, ac_cv_type_uid_t,
|
||||
[AC_EGREP_HEADER(uid_t, sys/types.h,
|
||||
@ -1385,8 +1396,7 @@ main()
|
||||
close(fd);
|
||||
unlink("conftestmmap");
|
||||
exit(0);
|
||||
}
|
||||
], ac_cv_func_mmap_fixed_mapped=yes, ac_cv_func_mmap_fixed_mapped=no,
|
||||
}], ac_cv_func_mmap_fixed_mapped=yes, ac_cv_func_mmap_fixed_mapped=no,
|
||||
ac_cv_func_mmap_fixed_mapped=no)])
|
||||
if test $ac_cv_func_mmap_fixed_mapped = yes; then
|
||||
AC_DEFINE(HAVE_MMAP, 1,
|
||||
@ -1449,8 +1459,7 @@ main()
|
||||
wait(&s);
|
||||
exit(s>>8);
|
||||
}
|
||||
}
|
||||
], ac_cv_func_getpgrp_void=yes, ac_cv_func_getpgrp_void=no,
|
||||
}], ac_cv_func_getpgrp_void=yes, ac_cv_func_getpgrp_void=no,
|
||||
AC_MSG_ERROR(cannot check getpgrp if cross compiling))
|
||||
])
|
||||
if test $ac_cv_func_getpgrp_void = yes; then
|
||||
@ -1502,6 +1511,9 @@ AC_CHECK_FUNC(_doprnt,
|
||||
fi
|
||||
])
|
||||
|
||||
|
||||
dnl AC_FUNC_VFORK
|
||||
dnl -------------
|
||||
AC_DEFUN(AC_FUNC_VFORK,
|
||||
[AC_REQUIRE([AC_TYPE_PID_T])dnl
|
||||
AC_CHECK_HEADER(vfork.h,
|
||||
@ -1513,10 +1525,10 @@ AC_CACHE_CHECK(for working vfork, ac_cv_func_vfork_works,
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
#ifdef HAVE_VFORK_H
|
||||
#include <vfork.h>
|
||||
# include <vfork.h>
|
||||
#endif
|
||||
/* On some sparc systems, changes by the child to local and incoming
|
||||
argument registers are propagated back to the parent.
|
||||
@ -1527,7 +1539,7 @@ AC_CACHE_CHECK(for working vfork, ac_cv_func_vfork_works,
|
||||
static
|
||||
#ifdef __cplusplus
|
||||
sparc_address_test (int arg)
|
||||
#else
|
||||
# else
|
||||
sparc_address_test (arg) int arg;
|
||||
#endif
|
||||
{
|
||||
@ -2096,8 +2108,7 @@ main ()
|
||||
irix_6_4_bug ();
|
||||
spring_forward_gap ();
|
||||
exit (0);
|
||||
}
|
||||
>>,
|
||||
}>>,
|
||||
changequote([, ])dnl
|
||||
ac_cv_func_working_mktime=yes, ac_cv_func_working_mktime=no,
|
||||
ac_cv_func_working_mktime=no)])
|
||||
@ -2300,6 +2311,9 @@ dnl ### Checks for compiler characteristics
|
||||
AC_DEFUN(AC_C_CROSS,
|
||||
[AC_OBSOLETE([$0], [; it has been merged into AC_PROG_CC])])
|
||||
|
||||
|
||||
dnl AC_C_CHAR_UNSIGNED
|
||||
dnl ------------------
|
||||
AC_DEFUN(AC_C_CHAR_UNSIGNED,
|
||||
[AC_CACHE_CHECK(whether char is unsigned, ac_cv_c_char_unsigned,
|
||||
[if test "$GCC" = yes; then
|
||||
@ -2332,11 +2346,16 @@ AC_DEFUN(AC_C_LONG_DOUBLE,
|
||||
[if test "$GCC" = yes; then
|
||||
ac_cv_c_long_double=yes
|
||||
else
|
||||
AC_TRY_RUN([int main() {
|
||||
/* The Stardent Vistra knows sizeof(long double), but does not support it. */
|
||||
long double foo = 0.0;
|
||||
/* On Ultrix 4.3 cc, long double is 4 and double is 8. */
|
||||
exit(sizeof(long double) < sizeof(double)); }],
|
||||
AC_TRY_RUN(
|
||||
[int
|
||||
main()
|
||||
{
|
||||
/* The Stardent Vistra knows sizeof(long double), but does not
|
||||
support it. */
|
||||
long double foo = 0.0;
|
||||
/* On Ultrix 4.3 cc, long double is 4 and double is 8. */
|
||||
exit(sizeof(long double) < sizeof(double));
|
||||
}],
|
||||
ac_cv_c_long_double=yes, ac_cv_c_long_double=no)
|
||||
fi])
|
||||
if test $ac_cv_c_long_double = yes; then
|
||||
@ -2426,49 +2445,48 @@ dnl and with the result message.
|
||||
AC_CACHE_CHECK([for working const], ac_cv_c_const,
|
||||
[AC_TRY_COMPILE(,
|
||||
changequote(<<, >>)dnl
|
||||
<<
|
||||
/* Ultrix mips cc rejects this. */
|
||||
typedef int charset[2]; const charset x = {0, 0};
|
||||
/* SunOS 4.1.1 cc rejects this. */
|
||||
char const *const *ccp;
|
||||
char **p;
|
||||
/* NEC SVR4.0.2 mips cc rejects this. */
|
||||
struct point {int x, y;};
|
||||
static struct point const zero = {0,0};
|
||||
/* AIX XL C 1.02.0.0 rejects this.
|
||||
It does not let you subtract one const X* pointer from another in an arm
|
||||
of an if-expression whose if-part is not a constant expression */
|
||||
const char *g = "string";
|
||||
ccp = &g + (g ? g-g : 0);
|
||||
/* HPUX 7.0 cc rejects these. */
|
||||
++ccp;
|
||||
p = (char**) ccp;
|
||||
ccp = (char const *const *) p;
|
||||
{ /* SCO 3.2v4 cc rejects this. */
|
||||
char *t;
|
||||
char const *s = 0 ? (char *) 0 : (char const *) 0;
|
||||
<< /* Ultrix mips cc rejects this. */
|
||||
typedef int charset[2]; const charset x = {0, 0};
|
||||
/* SunOS 4.1.1 cc rejects this. */
|
||||
char const *const *ccp;
|
||||
char **p;
|
||||
/* NEC SVR4.0.2 mips cc rejects this. */
|
||||
struct point {int x, y;};
|
||||
static struct point const zero = {0,0};
|
||||
/* AIX XL C 1.02.0.0 rejects this.
|
||||
It does not let you subtract one const X* pointer from another in
|
||||
an arm of an if-expression whose if-part is not a constant
|
||||
expression */
|
||||
const char *g = "string";
|
||||
ccp = &g + (g ? g-g : 0);
|
||||
/* HPUX 7.0 cc rejects these. */
|
||||
++ccp;
|
||||
p = (char**) ccp;
|
||||
ccp = (char const *const *) p;
|
||||
{ /* SCO 3.2v4 cc rejects this. */
|
||||
char *t;
|
||||
char const *s = 0 ? (char *) 0 : (char const *) 0;
|
||||
|
||||
*t++ = 0;
|
||||
}
|
||||
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
|
||||
int x[] = {25, 17};
|
||||
const int *foo = &x[0];
|
||||
++foo;
|
||||
}
|
||||
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
|
||||
typedef const int *iptr;
|
||||
iptr p = 0;
|
||||
++p;
|
||||
}
|
||||
{ /* AIX XL C 1.02.0.0 rejects this saying
|
||||
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
|
||||
struct s { int j; const int *ap[3]; };
|
||||
struct s *b; b->j = 5;
|
||||
}
|
||||
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
|
||||
const int foo = 10;
|
||||
}
|
||||
>>,
|
||||
*t++ = 0;
|
||||
}
|
||||
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
|
||||
int x[] = {25, 17};
|
||||
const int *foo = &x[0];
|
||||
++foo;
|
||||
}
|
||||
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
|
||||
typedef const int *iptr;
|
||||
iptr p = 0;
|
||||
++p;
|
||||
}
|
||||
{ /* AIX XL C 1.02.0.0 rejects this saying
|
||||
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
|
||||
struct s { int j; const int *ap[3]; };
|
||||
struct s *b; b->j = 5;
|
||||
}
|
||||
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
|
||||
const int foo = 10;
|
||||
}>>,
|
||||
changequote([, ])dnl
|
||||
ac_cv_c_const=yes, ac_cv_c_const=no)])
|
||||
if test $ac_cv_c_const = no; then
|
||||
@ -3330,9 +3348,9 @@ dnl Check for Cygwin. This is a way to set the right value for
|
||||
dnl EXEEXT.
|
||||
AC_DEFUN(AC_CYGWIN,
|
||||
[AC_CACHE_CHECK(for Cygwin environment, ac_cv_cygwin,
|
||||
[AC_TRY_COMPILE(,[
|
||||
#ifndef __CYGWIN__
|
||||
#define __CYGWIN__ __CYGWIN32__
|
||||
[AC_TRY_COMPILE(,
|
||||
[#ifndef __CYGWIN__
|
||||
# define __CYGWIN__ __CYGWIN32__
|
||||
#endif
|
||||
return __CYGWIN__;],
|
||||
ac_cv_cygwin=yes, ac_cv_cygwin=no)])
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Makefile.in generated automatically by automake 1.4 from Makefile.am
|
||||
# Makefile.in generated automatically by automake 1.4a from Makefile.am
|
||||
|
||||
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
@ -10,7 +10,6 @@
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
SHELL = @SHELL@
|
||||
|
||||
srcdir = @srcdir@
|
||||
@ -45,9 +44,10 @@ AUTOMAKE = @AUTOMAKE@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_FLAG =
|
||||
transform = @program_transform_name@
|
||||
|
||||
NORMAL_INSTALL = :
|
||||
@ -56,15 +56,24 @@ POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
AMDEP = @AMDEP@
|
||||
AMTAR = @AMTAR@
|
||||
AWK = @AWK@
|
||||
CC = @CC@
|
||||
CPP = @CPP@
|
||||
CXX = @CXX@
|
||||
CXXCPP = @CXXCPP@
|
||||
DEPDIR = @DEPDIR@
|
||||
M4 = @M4@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
PACKAGE = @PACKAGE@
|
||||
PERL = @PERL@
|
||||
PERLSCRIPTS = @PERLSCRIPTS@
|
||||
VERSION = @VERSION@
|
||||
install_sh = @install_sh@
|
||||
standards_texi = @standards_texi@
|
||||
|
||||
|
||||
AUTOMAKE_OPTIONS = dejagnu
|
||||
|
||||
GENERIC_TESTS = autoconf.g/sizeof.exp autoconf.g/init.exp
|
||||
@ -76,14 +85,15 @@ AUTOCONFFLAGS = -m $(top_builddir)
|
||||
AUTOCONF = $(top_builddir)/autoconf
|
||||
|
||||
RUNTESTFLAGS = AUTOCONF="$(AUTOCONF)" AUTOCONFFLAGS="$(AUTOCONFFLAGS)"
|
||||
subdir = testsuite
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
CONFIG_CLEAN_FILES =
|
||||
DIST_SOURCES =
|
||||
DIST_COMMON = Makefile.am Makefile.in
|
||||
|
||||
|
||||
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
|
||||
TAR = tar
|
||||
GZIP_ENV = --best
|
||||
EXPECT = expect
|
||||
RUNTEST = runtest
|
||||
@ -102,20 +112,13 @@ TAGS:
|
||||
|
||||
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
|
||||
|
||||
subdir = testsuite
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
here=`cd $(top_builddir) && pwd`; \
|
||||
top_distdir=`cd $(top_distdir) && pwd`; \
|
||||
distdir=`cd $(distdir) && pwd`; \
|
||||
cd $(top_srcdir) \
|
||||
&& $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu testsuite/Makefile
|
||||
$(mkinstalldirs) $(distdir)/autoconf.g $(distdir)/autoconf.s \
|
||||
$(distdir)/config $(distdir)/lib
|
||||
@for file in $(DISTFILES); do \
|
||||
d=$(srcdir); \
|
||||
if test -d $$d/$$file; then \
|
||||
cp -pr $$d/$$file $(distdir)/$$file; \
|
||||
cp -pR $$d/$$file $(distdir); \
|
||||
else \
|
||||
test -f $(distdir)/$$file \
|
||||
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
||||
@ -128,7 +131,7 @@ DEJATOOL = $(PACKAGE)
|
||||
RUNTESTDEFAULTFLAGS = --tool $(DEJATOOL) --srcdir $$srcdir
|
||||
|
||||
check-DEJAGNU: site.exp
|
||||
srcdir=`cd $(srcdir) && pwd`; export srcdir; \
|
||||
srcdir=`CDPATH=: && cd $(srcdir) && pwd`; export srcdir; \
|
||||
EXPECT=$(EXPECT); export EXPECT; \
|
||||
runtest=$(RUNTEST); \
|
||||
if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
|
||||
@ -171,7 +174,7 @@ uninstall: uninstall-am
|
||||
all-am: Makefile
|
||||
all-redirect: all-am
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
|
||||
installdirs:
|
||||
|
||||
|
||||
@ -184,6 +187,7 @@ distclean-generic:
|
||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
||||
|
||||
maintainer-clean-generic:
|
||||
-rm -f Makefile.in
|
||||
mostlyclean-am: mostlyclean-generic
|
||||
|
||||
mostlyclean: mostlyclean-am
|
||||
@ -205,7 +209,7 @@ maintainer-clean: maintainer-clean-am
|
||||
.PHONY: tags distdir check-DEJAGNU info-am info dvi-am dvi check \
|
||||
check-am installcheck-am installcheck install-exec-am install-exec \
|
||||
install-data-am install-data install-am install uninstall-am uninstall \
|
||||
all-redirect all-am all installdirs mostlyclean-generic \
|
||||
all-redirect all-am all install-strip installdirs mostlyclean-generic \
|
||||
distclean-generic clean-generic maintainer-clean-generic clean \
|
||||
mostlyclean distclean maintainer-clean
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user