diff options
author | Craig Fields <cfields@mit.edu> | 1994-11-02 16:15:01 +0000 |
---|---|---|
committer | Craig Fields <cfields@mit.edu> | 1994-11-02 16:15:01 +0000 |
commit | 37c94247348048e9d15f0ab1b2718f301ca3f207 (patch) | |
tree | 624d647cb6928d3bd16f75d0fc357f97035f5805 /util/autoconf | |
parent | c1d4284f225b7f4a4e63d8ecfc62f47727671ee8 (diff) |
Initial revision
Diffstat (limited to 'util/autoconf')
-rw-r--r-- | util/autoconf/Makefile | 207 | ||||
-rw-r--r-- | util/autoconf/config.cache | 17 | ||||
-rw-r--r-- | util/autoconf/config.log | 3 | ||||
-rwxr-xr-x | util/autoconf/config.status | 113 | ||||
-rw-r--r-- | util/autoconf/testsuite/Makefile | 0 |
5 files changed, 340 insertions, 0 deletions
diff --git a/util/autoconf/Makefile b/util/autoconf/Makefile new file mode 100644 index 0000000..baffc63 --- /dev/null +++ b/util/autoconf/Makefile @@ -0,0 +1,207 @@ +# Generated automatically from Makefile.in by configure. +# Makefile for Autoconf. +# Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + +#### Start of system configuration section. #### + +srcdir = . + +INSTALL = /usr/athena/bin/install -c +INSTALL_PROGRAM = ${INSTALL} +INSTALL_DATA = ${INSTALL} -m 644 +MAKEINFO = makeinfo +TEXI2DVI = texi2dvi +M4 = /mit/gnu/rsaixbin/gm4 +PERL = /usr/athena/bin/perl + +# Programs that are always installed. +ASCRIPTS = autoconf autoheader autoreconf autoupdate ifnames +SCRIPTS = $(ASCRIPTS) autoscan + +transform=s,x,x, + +prefix = /usr/local +exec_prefix = ${prefix} + +# Directory in which to install scripts. +bindir = $(exec_prefix)/bin + +# Directory in which to install library files. +datadir = $(prefix)/share +acdatadir = $(datadir)/autoconf + +# Directory in which to install documentation info files. +infodir = $(prefix)/info + +#### End of system configuration section. #### + +SHELL = /bin/sh + +SUBDIRS = testsuite + +M4FILES = autoconf.m4 acgeneral.m4 acoldnames.m4 acspecific.m4 autoheader.m4 + +# Files that can be generated, but should be up to date for a distribution. +DISTDEP = info Makefile +# Files to distribute. +DISTFILES = COPYING ChangeLog ChangeLog.1 INSTALL \ + Makefile.in NEWS README TODO $(M4FILES) \ + acconfig.h acfunctions acheaders acidentifiers \ + acmakevars acprograms autoconf.info* \ + autoconf.sh autoconf.texi install.texi \ + autoheader.sh autoscan.pl autoreconf.sh autoupdate.sh ifnames.sh \ + config.guess config.sub configure configure.in \ + install-sh mkinstalldirs texinfo.tex \ + testsuite/Makefile.in testsuite/config/*.exp \ + testsuite/lib/*.exp testsuite/autoconf.[gs]/*.exp \ + standards.texi make-stds.texi standards.info* + +editsh = sed -e 's,@''datadir''@,$(acdatadir),g' -e 's,@''M4''@,$(M4),g' +editpl = sed -e 's,@''datadir''@,$(acdatadir),g' -e 's,@''PERL''@,$(PERL),g' + +all: ${SCRIPTS} + +.SUFFIXES: +.SUFFIXES: .sh .pl + +.sh: + rm -f $@ $@.tmp + $(editsh) $< > $@.tmp && chmod +x $@.tmp && mv $@.tmp $@ + +.pl: + rm -f $@ $@.tmp + $(editpl) $< > $@.tmp && chmod +x $@.tmp && mv $@.tmp $@ + +info: autoconf.info standards.info INSTALL + +autoconf.info: autoconf.texi install.texi + $(MAKEINFO) -I$(srcdir) $(srcdir)/autoconf.texi --output=$@ + +INSTALL: install.texi + $(MAKEINFO) -I$(srcdir) $(srcdir)/install.texi --output=$@ \ + --no-headers --no-validate + +standards.info: standards.texi make-stds.texi + $(MAKEINFO) -I$(srcdir) $(srcdir)/standards.texi --output=$@ + +dvi: autoconf.dvi standards.dvi + +autoconf.dvi: autoconf.texi + $(TEXI2DVI) $(srcdir)/autoconf.texi + +standards.dvi: standards.texi make-stds.texi + $(TEXI2DVI) $(srcdir)/standards.texi + +check: all + rootme=`pwd`; srcrootme=`cd $(srcdir); pwd`; \ + test -r install-sh || cp $(srcdir)/install-sh .; \ + cd testsuite && ${MAKE} $@ AUTOCONF=$$rootme/autoconf \ + AUTOCONFFLAGS="-m $$srcrootme" + +installcheck: all install + cd testsuite && ${MAKE} AUTOCONF=${bindir}/autoconf $@ + +installdirs: + $(SHELL) ${srcdir}/mkinstalldirs $(bindir) $(infodir) $(acdatadir) + +install: all $(M4FILES) acconfig.h installdirs install-info + @case `$(M4) --help < /dev/null 2>&1` in \ + *reload-state*) echo installing frozen m4 files; \ + $(M4) -F $(acdatadir)/autoconf.m4f -I${srcdir} ${srcdir}/autoconf.m4 ; \ + $(M4) -F $(acdatadir)/autoheader.m4f -I${srcdir} ${srcdir}/autoheader.m4 ;; \ + *traditional*) ;; \ + *) echo Error: Autoconf requires GNU m4 1.1 or later; exit 1 ;; \ + esac + for p in $(ASCRIPTS); do \ + $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \ + done + for i in $(M4FILES) acconfig.h; do \ + $(INSTALL_DATA) $(srcdir)/$$i $(acdatadir)/$$i; \ + done + -if test -f autoscan; then \ + $(INSTALL_PROGRAM) autoscan $(bindir)/`echo autoscan|sed '$(transform)'`; \ + for i in acfunctions acheaders acidentifiers acprograms \ + acmakevars; do \ + $(INSTALL_DATA) $(srcdir)/$$i $(acdatadir)/$$i; \ + done; \ + else :; fi + +install-info: info installdirs + -test -f autoconf.info || cd $(srcdir); \ + for i in autoconf.info*; do \ + $(INSTALL_DATA) $$i $(infodir)/$$i; \ + done + -test -f standards.info || cd $(srcdir); \ + for i in standards.info*; do \ + $(INSTALL_DATA) $$i $(infodir)/$$i; \ + done + +uninstall: + for p in $(SCRIPTS); do \ + rm -f $(bindir)/`echo $$p|sed '$(transform)'`; \ + done + rm -fr $(acdatadir) + cd $(infodir); rm -f autoconf.info* + if test -f standards.info || test -f $(srcdir)/standards.info; \ + then cd $(infodir); rm -f standards.info*; fi + +${srcdir}/configure: configure.in $(M4FILES) + cd $(srcdir); \ + rm -f $@ $@.tmp; \ + $(M4) autoconf.m4 configure.in > $@.tmp && \ + chmod +x $@.tmp && mv $@.tmp $@ +Makefile: Makefile.in config.status + ./config.status +config.status: configure + ./config.status --recheck + +clean mostlyclean distclean realclean:: + for dir in $(SUBDIRS); do \ + echo making $@ in $$dir ; \ + (cd $$dir; $(MAKE) $@) ; \ + done + +clean mostlyclean distclean realclean:: + rm -f $(SCRIPTS) *.tmp + rm -f *.aux *.cp *.cps *.dvi *.fn *.fns *.ky *.kys *.log + rm -f *.pg *.pgs *.toc *.tp *.tps *.vr *.vrs + rm -f *.ev *.evs *.ov *.ovs *.cv *.cvs *.ma *.mas + +distclean realclean:: + rm -f Makefile config.status config.cache config.log + +realclean:: + rm -f TAGS *.info* INSTALL + +TAGS: + etags ${srcdir}/*.m4 ${srcdir}/*.sh ${srcdir}/[a-z]*.in ${srcdir}/*.texi + +# Don't depend on DISTFILES because there's no rule for "standards.info*". +dist: $(DISTDEP) + distname=`sed -e '/define(AC_ACVERSION,/!d' \ + -e 's/[^0-9.]*\([0-9.]*\).*/autoconf-\1/' -e q acgeneral.m4`; \ + rm -fr $$distname; \ + mkdir $$distname $$distname/testsuite $$distname/testsuite/config \ + $$distname/testsuite/lib $$distname/testsuite/autoconf.g \ + $$distname/testsuite/autoconf.s; \ + for file in $(DISTFILES); do \ + ln $$file $$distname/$$file \ + || { echo copying $$file instead; cp -p $$file $$distname/$$file;}; \ + done; \ + chmod -R a+rX $$distname; \ + tar -chz -f $$distname.tar.gz $$distname; \ + rm -fr $$distname diff --git a/util/autoconf/config.cache b/util/autoconf/config.cache new file mode 100644 index 0000000..4f62b19 --- /dev/null +++ b/util/autoconf/config.cache @@ -0,0 +1,17 @@ +# This file is a shell script that caches the results of configure +# tests run on this system so they can be shared between configure +# scripts and configure runs. It is not useful on other systems. +# If it contains results you don't want to keep, you may remove or edit it. +# +# By default, configure uses ./config.cache as the cache file, +# creating it if it does not exist already. You can give configure +# the --cache-file=FILE option to use a different cache file; that is +# what configure does when it calls configure scripts in +# subdirectories, so they share the cache. +# Giving --cache-file=/dev/null disables caching, for debugging configure. +# config.status only pays attention to the cache file if you give it the +# --recheck option to rerun configure. +# +: ${ac_cv_path_M4='/mit/gnu/rsaixbin/gm4'} +: ${ac_cv_path_PERL='/usr/athena/bin/perl'} +: ${ac_cv_path_install='/usr/athena/bin/install -c'} diff --git a/util/autoconf/config.log b/util/autoconf/config.log new file mode 100644 index 0000000..fb9038e --- /dev/null +++ b/util/autoconf/config.log @@ -0,0 +1,3 @@ +This file contains any messages produced by compilers while +running configure, to aid debugging if configure makes a mistake. + diff --git a/util/autoconf/config.status b/util/autoconf/config.status new file mode 100755 index 0000000..4cfaf21 --- /dev/null +++ b/util/autoconf/config.status @@ -0,0 +1,113 @@ +#!/bin/sh +# Generated automatically by configure. +# Run this file to recreate the current configuration. +# This directory was configured as follows, +# on host tardis: +# +# ./configure +# +# Compiler output produced by configure, useful for debugging +# configure, is in ./config.log if it exists. + +ac_cs_usage="Usage: ./config.status [--recheck] [--version] [--help]" +for ac_option +do + case "$ac_option" in + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) + echo "running ${CONFIG_SHELL-/bin/sh} ./configure --no-create --no-recursion" + exec ${CONFIG_SHELL-/bin/sh} ./configure --no-create --no-recursion ;; + -version | --version | --versio | --versi | --vers | --ver | --ve | --v) + echo "./config.status generated by autoconf version 2.0" + exit 0 ;; + -help | --help | --hel | --he | --h) + echo "$ac_cs_usage"; exit 0 ;; + *) echo "$ac_cs_usage"; exit 1 ;; + esac +done + +ac_given_srcdir=. +ac_given_INSTALL="/usr/athena/bin/install -c" + +trap 'rm -f Makefile testsuite/Makefile; exit 1' 1 2 15 + +# Protect against being on the right side of a sed subst in config.status. +sed 's/%@/@@/; s/@%/@@/; s/%g$/@g/; /@g$/s/[\\&%]/\\&/g; + s/@@/%@/; s/@@/@%/; s/@g$/%g/' > conftest.subs <<\CEOF +/^[ ]*VPATH[ ]*=[^:]*$/d + +s%@CFLAGS@%%g +s%@CPPFLAGS@%%g +s%@CXXFLAGS@%%g +s%@DEFS@% %g +s%@LDFLAGS@%%g +s%@LIBS@%%g +s%@exec_prefix@%${prefix}%g +s%@prefix@%/usr/local%g +s%@program_transform_name@%s,x,x,%g +s%@M4@%/mit/gnu/rsaixbin/gm4%g +s%@PERL@%/usr/athena/bin/perl%g +s%@SCRIPTS@%autoscan%g +s%@INSTALL_PROGRAM@%${INSTALL}%g +s%@INSTALL_DATA@%${INSTALL} -m 644%g +s%@standards_info@%standards.info%g +s%@standards_dvi@%standards.dvi%g + +CEOF + +CONFIG_FILES=${CONFIG_FILES-"Makefile testsuite/Makefile"} +for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then + # Support "outfile[:infile]", defaulting infile="outfile.in". + case "$ac_file" in + *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'` + ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; + *) ac_file_in="${ac_file}.in" ;; + esac + + # Adjust relative srcdir, etc. for subdirectories. + + # Remove last slash and all that follows it. Not all systems have dirname. + ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` + if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then + # The file is in a subdirectory. + test ! -d "$ac_dir" && mkdir "$ac_dir" + ac_dir_suffix="/$ac_dir" + # A "../" for each directory in $ac_dir_suffix. + ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` + else + ac_dir_suffix= ac_dots= + fi + + case "$ac_given_srcdir" in + .) srcdir=. + if test -z "$ac_dots"; then top_srcdir=. + else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; + /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; + *) # Relative path. + srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" + top_srcdir="$ac_dots$ac_given_srcdir" ;; + esac + + case "$ac_given_INSTALL" in + [/$]*) INSTALL="$ac_given_INSTALL" ;; + *) INSTALL="$ac_dots$ac_given_INSTALL" ;; + esac + echo creating "$ac_file" + rm -f "$ac_file" + configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." + case "$ac_file" in + *Makefile*) ac_comsub="1i\\ +# $configure_input" ;; + *) ac_comsub= ;; + esac + sed -e "$ac_comsub +s%@configure_input@%$configure_input%g +s%@srcdir@%$srcdir%g +s%@top_srcdir@%$top_srcdir%g +s%@INSTALL@%$INSTALL%g +" -f conftest.subs $ac_given_srcdir/$ac_file_in > $ac_file +fi; done +rm -f conftest.subs + + + +exit 0 diff --git a/util/autoconf/testsuite/Makefile b/util/autoconf/testsuite/Makefile new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/util/autoconf/testsuite/Makefile |