From d68ee9a3d76a3aaf6ae698ed7d5e92c0976b6905 Mon Sep 17 00:00:00 2001 From: Mark Eichin Date: Fri, 1 Jul 1994 00:54:40 +0000 Subject: [PATCH] remove generated files git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3933 dc483132-0cff-0310-8789-dd5450dbe970 --- src/util/autoconf/Makefile | 142 ------------------- src/util/autoconf/autoconf | 120 ---------------- src/util/autoconf/autoheader | 235 -------------------------------- src/util/autoconf/config.status | 91 ------------- 4 files changed, 588 deletions(-) delete mode 100644 src/util/autoconf/Makefile delete mode 100644 src/util/autoconf/autoconf delete mode 100644 src/util/autoconf/autoheader delete mode 100644 src/util/autoconf/config.status diff --git a/src/util/autoconf/Makefile b/src/util/autoconf/Makefile deleted file mode 100644 index 94f7ab127..000000000 --- a/src/util/autoconf/Makefile +++ /dev/null @@ -1,142 +0,0 @@ -# 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/latest/bin/install -c -INSTALL_PROGRAM = ${INSTALL} -INSTALL_DATA = ${INSTALL} -m 644 -MAKEINFO = makeinfo -TEXI2DVI = texi2dvi -M4 = /usr/latest/bin/m4 - -prefix = /usr/latest -exec_prefix = $(prefix) - -# Directory in which to install scripts. -bindir = $(exec_prefix)/bin - -# Directory in which to install library files. -datadir = $(prefix)/lib -acdatadir = $(datadir)/autoconf - -# Directory in which to install documentation info files. -infodir = $(prefix)/info - -#### End of system configuration section. #### - -SHELL = /bin/sh - -DISTFILES = README Makefile.in INSTALL NEWS COPYING ChangeLog \ -autoconf.texi acconfig.h autoconf.sh acgeneral.m4 acspecific.m4 \ -configure configure.in autoheader.sh mkinstalldirs install.sh \ -autoconf.info standards.texi make-stds.texi standards.info texinfo.tex - -editsh = sed -e 's,@''datadir''@,$(acdatadir),g' -e 's,@''M4''@,$(M4),g' - -all: autoconf autoheader - -autoconf: autoconf.sh - rm -f $@ $@.tmp - $(editsh) $(srcdir)/autoconf.sh > $@.tmp && mv $@.tmp $@ && chmod +x $@ - -autoheader: autoheader.sh - rm -f $@ $@.tmp - $(editsh) $(srcdir)/autoheader.sh > $@.tmp && mv $@.tmp $@ && chmod +x $@ - -info: autoconf.info standards.info - -autoconf.info: autoconf.texi - $(MAKEINFO) -I$(srcdir) $(srcdir)/autoconf.texi --no-split --output=$@ - -standards.info: standards.texi make-stds.texi - $(MAKEINFO) -I$(srcdir) $(srcdir)/standards.texi --no-split --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: -installcheck: - -installdirs: - $(SHELL) ${srcdir}/mkinstalldirs $(bindir) $(infodir) $(acdatadir) - -# References to install-info have been removed until it's released. -install: all acgeneral.m4 acspecific.m4 acconfig.h installdirs install-info - $(INSTALL_PROGRAM) autoconf $(bindir)/autoconf - $(INSTALL_PROGRAM) autoheader $(bindir)/autoheader - $(INSTALL_DATA) $(srcdir)/acgeneral.m4 $(acdatadir)/acgeneral.m4 - $(INSTALL_DATA) $(srcdir)/acspecific.m4 $(acdatadir)/acspecific.m4 - $(INSTALL_DATA) $(srcdir)/acconfig.h $(acdatadir)/acconfig.h - -install-info: info installdirs - -if test -f autoconf.info; then d=.; else d=$(srcdir); fi; \ - $(INSTALL_DATA) $$d/autoconf.info $(infodir)/autoconf.info - -if test -f standards.info; then d=.; else d=$(srcdir); fi; \ - $(INSTALL_DATA) $$d/standards.info $(infodir)/standards.info - -uninstall: - rm -f $(bindir)/autoconf $(bindir)/autoheader - cd $(acdatadir); rm -f acgeneral.m4 acspecific.m4 aclocal.m4 acconfig.h - -rmdir $(acdatadir) - cd $(infodir); rm -f autoconf.info standards.info - -configure: configure.in acgeneral.m4 acspecific.m4 - cd $(srcdir); \ - rm -f $@ $@.tmp; \ - $(M4) acgeneral.m4 acspecific.m4 configure.in > $@.tmp && \ - mv $@.tmp $@ && \ - chmod +x $@ -Makefile: Makefile.in config.status - ./config.status -config.status: configure - ./config.status --recheck - -clean: - rm -f autoconf autoheader *.tmp - rm -f *.aux *.cp *.cps *.dvi *.fn *.fns *.ky *.kys *.log - rm -f *.pg *.pgs *.toc *.tp *.tps *.vr *.vrs *.ma *.mas - -mostlyclean: clean - -distclean: clean - rm -f Makefile config.status - -realclean: distclean - rm -f TAGS *.info* - -TAGS: - etags ${srcdir}/*.m4 ${srcdir}/*.sh ${srcdir}/[a-z]*.in ${srcdir}/*.texi - -dist: Makefile $(DISTFILES) - echo autoconf-`sed -e '/define(AC_ACVERSION,/!d' -e 's/[^0-9.]*\([0-9.]*\).*/\1/' -e q acgeneral.m4` > .fname - rm -rf `cat .fname` - mkdir `cat .fname` - for file in $(DISTFILES); do \ - ln $$file `cat .fname` \ - || { echo copying $$file instead; cp -p $$file `cat .fname`; }; \ - done - tar --gzip -chf `cat .fname`.tar.gz `cat .fname` - rm -rf `cat .fname` .fname diff --git a/src/util/autoconf/autoconf b/src/util/autoconf/autoconf deleted file mode 100644 index 4edeea656..000000000 --- a/src/util/autoconf/autoconf +++ /dev/null @@ -1,120 +0,0 @@ -#!/bin/sh -# autoconf -- create `configure' using m4 macros -# 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. - -# If given no args, create `configure' from template file `configure.in'. -# With one arg, create a configure script on standard output from -# the given template file. - -usage="Usage: autoconf [-h] [--help] [-m dir] [--macrodir=dir] - [-v] [--version] [template-file]" - -# NLS nuisances. -# These must not be set unconditionally because not all systems understand -# e.g. LANG=C (notably SCO). -if test "${LC_ALL+set}" = 'set' ; then LC_ALL=C; export LC_ALL; fi -if test "${LANG+set}" = 'set' ; then LANG=C; export LANG; fi - -test -z "${AC_MACRODIR}" && AC_MACRODIR=/usr/latest/lib/autoconf -test -z "${M4}" && M4=/usr/latest/bin/m4 -case "${M4}" in -/*) # Handle the case that m4 has moved since we were configured. - # It may have been found originally in a build directory. - test -f "${M4}" || M4=m4 ;; -esac - -tmpout=/tmp/acout.$$ - -print_version= -while test $# -gt 0 ; do - case "z${1}" in - z-h | z--help | z--h* ) - echo "${usage}" 1>&2; exit 0 ;; - z--macrodir=* | z--m*=* ) - AC_MACRODIR="`echo \"${1}\" | sed -e 's/^[^=]*=//'`" - shift ;; - z-m | z--macrodir | z--m* ) - shift - test $# -eq 0 && { echo "${usage}" 1>&2; exit 1; } - AC_MACRODIR="${1}" - shift ;; - z-v | z--version | z--v* ) - print_version="-DAC_PRINT_VERSION" - infile=/dev/null tmpout=/dev/null - shift ;; - z-- ) # Stop option processing - shift; break ;; - z- ) # Use stdin as input. - break ;; - z-* ) - echo "${usage}" 1>&2; exit 1 ;; - * ) - break ;; - esac -done - -if test -z "$print_version"; then - case $# in - 0) infile=configure.in ;; - 1) infile="$1" ;; - *) echo "$usage" >&2; exit 1 ;; - esac - - trap 'rm -f $tmpin $tmpout; exit 1' 1 2 15 - - if test z$infile = z-; then - tmpin=/tmp/acin.$$ - infile=$tmpin - cat > $infile - elif test ! -s "${infile}"; then - echo "autoconf: ${infile}: No such file or directory" >&2 - exit 1 - fi -fi - -MACROFILES="${AC_MACRODIR}/acgeneral.m4 ${AC_MACRODIR}/acspecific.m4" -test -r ${AC_MACRODIR}/aclocal.m4 \ - && MACROFILES="${MACROFILES} ${AC_MACRODIR}/aclocal.m4" -test -r aclocal.m4 && MACROFILES="${MACROFILES} aclocal.m4" -MACROFILES="${print_version} ${MACROFILES}" - -$M4 $MACROFILES $infile > $tmpout || { st=$?; rm -f $tmpin $tmpout; exit $st; } - -test -n "$print_version" && exit 0 - -# You could add your own prefixes to pattern if you wanted to check for -# them too, e.g. pattern="AC_\|ILT_", except that UNIX sed doesn't do -# alternation. -pattern="AC_" - -status=0 -if grep "${pattern}" $tmpout > /dev/null 2>&1; then - echo "autoconf: Undefined macros:" >&2 - grep "${pattern}" $tmpout | sed "s/.*\(${pattern}[_A-Z0-9]*\).*/\1/" | - while read name; do - grep -n $name $infile /dev/null - done | sort -u >&2 - status=1 -fi - -case $# in - 0) cat $tmpout > configure; chmod +x configure ;; - 1) cat $tmpout ;; -esac - -rm -f $tmpout -exit $status diff --git a/src/util/autoconf/autoheader b/src/util/autoconf/autoheader deleted file mode 100644 index b49a0ee81..000000000 --- a/src/util/autoconf/autoheader +++ /dev/null @@ -1,235 +0,0 @@ -#!/bin/sh -# autoheader -- create `config.h.in' from `configure.in' -# 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. - -# Written by Roland McGrath. - -# If given no args, create `config.h.in' from template file `configure.in'. -# With one arg, create a header file on standard output from -# the given template file. - -usage="Usage: autoheader [-h] [--help] [-m dir] [--macrodir=dir] - [-v] [--version] [template-file]" - -# NLS nuisances. -# These must not be set unconditionally because not all systems understand -# e.g. LANG=C (notably SCO). -if test "${LC_ALL+set}" = 'set' ; then LC_ALL=C; export LC_ALL; fi -if test "${LANG+set}" = 'set' ; then LANG=C; export LANG; fi - -test -z "${AC_MACRODIR}" && AC_MACRODIR=/usr/latest/lib/autoconf -test -z "${M4}" && M4=/usr/latest/bin/m4 -case "${M4}" in -/*) # Handle the case that m4 has moved since we were configured. - # It may have been found originally in a build directory. - test -f "${M4}" || M4=m4 ;; -esac - -print_version="" -while test $# -gt 0 ; do - case "z${1}" in - z-h | z--help | z--h* ) - echo "${usage}"; exit 0 ;; - z--macrodir=* | z--m*=* ) - AC_MACRODIR="`echo \"${1}\" | sed -e 's/^[^=]*=//'`" - shift ;; - z-m | z--macrodir | z--m* ) - shift - test $# -eq 0 && { echo "${usage}" 1>&2; exit 1; } - AC_MACRODIR="${1}" - shift ;; - z-v | z--version | z--v* ) - print_version="-DAC_PRINT_VERSION" - shift ;; - z-- ) # Stop option processing - shift; break ;; - z- ) # Use stdin as input. - break ;; - z-* ) - echo "${usage}" 1>&2; exit 1 ;; - * ) - break ;; - esac -done - -TEMPLATES="${AC_MACRODIR}/acconfig.h" -test -r acconfig.h && TEMPLATES="${TEMPLATES} acconfig.h" -MACROFILES="${AC_MACRODIR}/acgeneral.m4 ${AC_MACRODIR}/acspecific.m4" -test -r ${AC_MACRODIR}/aclocal.m4 \ - && MACROFILES="${MACROFILES} ${AC_MACRODIR}/aclocal.m4" -test -r aclocal.m4 && MACROFILES="${MACROFILES} aclocal.m4" -MACROFILES="${print_version} ${MACROFILES}" - -case $# in - 0) if test -n "$print_version" - then infile=/dev/null - else infile=configure.in; fi ;; - 1) infile=$1 ;; - *) echo "$usage" >&2; exit 1 ;; -esac - -# These are the alternate definitions of the acgeneral.m4 macros we want to -# redefine. They produce strings in the output marked with "@@@" so we can -# easily extract the information we want. The `#' at the end of the first -# line of each definition seems to be necessary to prevent m4 from eating -# the newline, which makes the @@@ not always be at the beginning of a line. -frob='define([AC_DEFINE],[# -@@@syms="$syms $1"@@@ -])dnl -define([AC_SIZEOF_TYPE],[# -@@@types="$types,$1"@@@ -])dnl -define([AC_HAVE_FUNCS],[# -@@@funcs="$funcs $1"@@@ -])dnl -define([AC_HAVE_HEADERS],[# -@@@headers="$headers $1"@@@ -])dnl -define([AC_CONFIG_HEADER],[# -@@@config_h=$1@@@ -])dnl -define([AC_HAVE_LIBRARY], [# -changequote(/,/)dnl -define(/libname/, dnl -patsubst(patsubst($1, /lib\([^\.]*\)\.a/, /\1/), /-l/, //))dnl -changequote([,])dnl -@@@libs="$libs libname"@@@ -# If it was found, we do: -$2 -# If it was not found, we do: -$3 -])dnl -' - -config_h=config.h -syms= -types= -funcs= -headers= -libs= - -# We extract assignments of SYMS, TYPES, FUNCS, HEADERS, and LIBS from the -# modified autoconf processing of the input file. The sed hair is -# necessary to win for multi-line macro invocations. -eval "`echo \"$frob\" \ - | $M4 $MACROFILES - $infile \ - | sed -n -e ' - : again - /^@@@.*@@@$/s/^@@@\(.*\)@@@$/\1/p - /^@@@/{ - s/^@@@//p - n - s/^/@@@/ - b again - }'`" - -test -n "$print_version" && exit 0 - -# Make SYMS newline-separated rather than blank-separated, and remove dups. -syms="`for sym in $syms; do echo $sym; done | sort | uniq`" - -if test $# -eq 0; then - tmpout=autoh$$ - trap "rm -f $tmpout; exit 1" 1 2 15 - exec > $tmpout -fi - -# Don't write "do not edit" -- it will get copied into the -# config.h, which it's ok to edit. -echo "/* ${config_h}.in. Generated automatically from $infile by autoheader. */" - -test -f ${config_h}.top && cat ${config_h}.top - -# This puts each paragraph on its own line, separated by @s. -if test -n "$syms"; then - # Make sure the boundary of template files is also the boundary - # of the paragraph. Extra newlines don't hurt since they will - # be removed. - for t in $TEMPLATES; do cat $t; echo; echo; done | - # The sed script is suboptimal because it has to take care of - # some broken seds (e.g. AIX) that remove '\n' from the - # pattern/hold space if the line is empty. (junio@twinsun.com). - sed -n -e ' - /^[ ]*$/{ - x - s/\n/@/g - p - s/.*/@/ - x - } - H' | sed -e 's/@@*/@/g' | - # Select each paragraph that refers to a symbol we picked out above. - fgrep "$syms" | - tr @ \\012 -fi - -echo "$types" | tr , \\012 | sort | uniq | while read ctype; do - test -z "$ctype" && continue - # Solaris 2.3 tr rejects noncontiguous characters in character classes. - sym="`echo "${ctype}" | tr '[a-z] *' '[A-Z]_P'`" - echo " -/* The number of bytes in a ${ctype}. */ -#undef SIZEOF_${sym}" -done - -for func in `for x in $funcs; do echo $x; done | sort | uniq`; do - sym="`echo ${func} | sed 's/[^a-zA-Z0-9_]/_/g' | tr '[a-z]' '[A-Z]'`" - echo " -/* Define if you have ${func}. */ -#undef HAVE_${sym}" -done - -for header in `for x in $headers; do echo $x; done | sort | uniq`; do - sym="`echo ${header} | sed 's/[^a-zA-Z0-9_]/_/g' | tr '[a-z]' '[A-Z]'`" - echo " -/* Define if you have the <${header}> header file. */ -#undef HAVE_${sym}" -done - -for lib in `for x in $libs; do echo $x; done | sort | uniq`; do - sym="`echo ${lib} | sed 's/[^a-zA-Z0-9_]/_/g' | tr '[a-z]' '[A-Z]'`" - echo " -/* Define if you have the ${lib} library (-l${lib}). */ -#undef HAVE_LIB${sym}" -done - -test -f ${config_h}.bot && cat ${config_h}.bot - -status=0 - -for sym in $syms; do - if fgrep $sym $TEMPLATES >/dev/null; then - : # All is well. - else - echo "$0: Symbol \`${sym}' is not covered by $TEMPLATES" >&2 - status=1 - fi -done - -if test $# -eq 0; then - if test $status -eq 0; then - if cmp -s $tmpout ${config_h}.in; then - rm -f $tmpout - else - mv -f $tmpout ${config_h}.in - fi - else - rm -f $tmpout - fi -fi - -exit $status diff --git a/src/util/autoconf/config.status b/src/util/autoconf/config.status deleted file mode 100644 index 736384ce8..000000000 --- a/src/util/autoconf/config.status +++ /dev/null @@ -1,91 +0,0 @@ -#!/bin/sh -# Generated automatically by configure. -# Run this file to recreate the current configuration. -# This directory was configured as follows, -# on host tweedledumber.cygnus.com: -# -# ./configure -prefix /usr/latest - -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 -prefix /usr/latest --no-create - exec ${CONFIG_SHELL-/bin/sh} ./configure -prefix /usr/latest --no-create ;; - -version | --version | --versio | --versi | --vers | --ver | --ve | --v) - echo "config.status generated by autoconf version 1.11" - exit 0 ;; - -help | --help | --hel | --he | --h) - echo "$ac_cs_usage"; exit 0 ;; - *) echo "$ac_cs_usage"; exit 1 ;; - esac -done - -trap 'rm -f Makefile; exit 1' 1 2 15 -M4='/usr/latest/bin/m4' -INSTALL='/usr/latest/bin/install -c' -INSTALL_PROGRAM='${INSTALL}' -INSTALL_DATA='${INSTALL} -m 644' -LIBS='' -srcdir='.' -top_srcdir='' -prefix='/usr/latest' -exec_prefix='${prefix}' -DEFS='' -ac_prsub='s%^prefix\([ ]*\)=\([ ]*\).*$%prefix\1=\2/usr/latest%' -ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' -extrasub='' - -ac_given_srcdir=$srcdir - -CONFIG_FILES=${CONFIG_FILES-"Makefile"} -for ac_file in .. ${CONFIG_FILES}; do if test "x$ac_file" != x..; then - # 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" - else - ac_dir_suffix= - fi - - # A "../" for each directory in $ac_dir_suffix. - ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` - case "$ac_given_srcdir" in - .) srcdir=. - if test -z "$ac_dir_suffix"; 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 - - echo creating "$ac_file" - rm -f "$ac_file" - comment_str="Generated automatically from `echo $ac_file|sed 's|.*/||'`.in by configure." - case "$ac_file" in - *.c | *.h | *.C | *.cc | *.m ) echo "/* $comment_str */" > "$ac_file" ;; - * ) echo "# $comment_str" > "$ac_file" ;; - esac - sed -e " -$ac_prsub -$ac_vpsub -$extrasub -s%@M4@%$M4%g -s%@INSTALL@%$INSTALL%g -s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g -s%@INSTALL_DATA@%$INSTALL_DATA%g -s%@LIBS@%$LIBS%g -s%@srcdir@%$srcdir%g -s%@top_srcdir@%$top_srcdir%g -s%@prefix@%$prefix%g -s%@exec_prefix@%$exec_prefix%g -s%@DEFS@%$DEFS% -" $ac_given_srcdir/${ac_file}.in >> $ac_file -fi; done - - -exit 0 -- 2.26.2