entered into RCS

This commit is contained in:
David MacKenzie 1994-03-18 02:55:23 +00:00
parent 655e23eed4
commit 63d75af989
15 changed files with 37 additions and 27 deletions

View File

@ -44,7 +44,7 @@ infodir = $(prefix)/info
SHELL = /bin/sh
DISTFILES = README Makefile.in INSTALL NEWS COPYING ChangeLog \
autoconf.texi autoconf.info* standards.texi make-stds.texi standards.info* \
autoconf.texi autoconf.info standards.texi make-stds.texi standards.info \
texinfo.tex acconfig.h autoconf.sh acgeneral.m4 acspecific.m4 \
configure configure.in autoheader.sh mkinstalldirs install.sh

View File

@ -174,7 +174,7 @@ if test "${LANG+set}" = 'set' ; then LANG=C; export LANG; fi
rm -rf conftest* confdefs.h
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
echo > confdefs.h
compile='${CC-cc} $CFLAGS conftest.c -o conftest $LIBS >/dev/null 2>&1'
compile='${CC-cc} $CFLAGS $LDFLAGS conftest.c -o conftest $LIBS >/dev/null 2>&1'
# A filename unique to this package, relative to the directory that
# configure is in, which we can look for to find out if srcdir is correct.

View File

@ -153,15 +153,21 @@ define(AC_PROG_INSTALL,
# or the SunOS /usr/etc/install directory, or the AIX /bin/install,
# or the AFS install, which mishandles nonexistent args, or
# /usr/ucb/install on SVR4, which tries to use the nonexistent group
# `staff'. On most BSDish systems install is in /usr/bin, not /usr/ucb
# anyway. Sigh.
# `staff', or /sbin/install on IRIX which has incompatible command-line
# syntax. Sigh.
#
# On most BSDish systems install is in /usr/bin, not /usr/ucb
# anyway.
# This turns out not to be true, so the mere pathname isn't an indication
# of whether the program works. What we really need is a set of tests for
# the install program to see if it actually works in all the required ways.
if test "z${INSTALL}" = "z" ; then
echo checking for install
IFS="${IFS= }"; saveifs="$IFS"; IFS="${IFS}:"
for dir in $PATH; do
#test -z "$dir" && dir=.
case "$dir" in
''|.|/etc|/usr/sbin|/usr/etc|/usr/afsws/bin|/usr/ucb) ;;
''|.|/etc|/sbin|/usr/sbin|/usr/etc|/usr/afsws/bin|/usr/ucb) ;;
*)
if test -f $dir/installbsd; then
INSTALL="$dir/installbsd -c" # OSF1

View File

@ -38,7 +38,7 @@ print_version=
while test $# -gt 0 ; do
case "z${1}" in
z-h | z--help | z--h* )
echo "${usage}" 1>&2; exit 1 ;;
echo "${usage}" 1>&2; exit 0 ;;
z--macrodir=* | z--m*=* )
AC_MACRODIR="`echo \"${1}\" | sed -e 's/^[^=]*=//'`"
shift ;;

View File

@ -38,7 +38,7 @@ print_version=
while test $# -gt 0 ; do
case "z${1}" in
z-h | z--help | z--h* )
echo "${usage}" 1>&2; exit 1 ;;
echo "${usage}" 1>&2; exit 0 ;;
z--macrodir=* | z--m*=* )
AC_MACRODIR="`echo \"${1}\" | sed -e 's/^[^=]*=//'`"
shift ;;

View File

@ -1619,8 +1619,8 @@ header file by substituting the correct values into @code{#define}
statements in a template file.
For example, suppose your @file{configure.in} calls
@code{AC_CONFIG_HEADER(conf.h)} and @code{AC_UNISTD_H}. You could have
code like this in @file{conf.h.in}:
@code{AC_CONFIG_HEADER(conf.h)} and @code{AC_HAVE_HEADERS(unistd.h)}.
You could have code like this in @file{conf.h.in}:
@example
@group
@ -2482,8 +2482,7 @@ AC_RSH
AC_CONST
AC_UID_T
AC_STDC_HEADERS
AC_UNISTD_H
AC_HAVE_HEADERS(string.h fcntl.h utime.h sys/io/trioctl.h)
AC_HAVE_HEADERS(string.h fcntl.h utime.h unistd.h sys/io/trioctl.h)
AC_REPLACE_FUNCS(fnmatch bcopy mkdir strdup)
AC_HAVE_FUNCS(strerror lchown)
AC_VPRINTF

View File

@ -184,7 +184,7 @@ 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_${sym}"
#undef HAVE_LIB${sym}"
done
status=0

View File

@ -184,7 +184,7 @@ 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_${sym}"
#undef HAVE_LIB${sym}"
done
status=0

View File

@ -38,7 +38,7 @@ print_version=
while test $# -gt 0 ; do
case "z${1}" in
z-h | z--help | z--h* )
echo "${usage}" 1>&2; exit 1 ;;
echo "${usage}" 1>&2; exit 0 ;;
z--macrodir=* | z--m*=* )
AC_MACRODIR="`echo \"${1}\" | sed -e 's/^[^=]*=//'`"
shift ;;

View File

@ -184,7 +184,7 @@ 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_${sym}"
#undef HAVE_LIB${sym}"
done
status=0

View File

@ -1,5 +1,5 @@
dnl Process this file with autoconf to produce a configure script.
AC_INIT(acgeneral.m4)
AC_PROGRAMS_CHECK(M4, gnum4 gm4, m4)
AC_PROGRAMS_PATH(M4, gnum4 gm4 m4, m4)
AC_PROG_INSTALL
AC_OUTPUT(Makefile)

View File

@ -44,7 +44,7 @@ infodir = $(prefix)/info
SHELL = /bin/sh
DISTFILES = README Makefile.in INSTALL NEWS COPYING ChangeLog \
autoconf.texi autoconf.info* standards.texi make-stds.texi standards.info* \
autoconf.texi autoconf.info standards.texi make-stds.texi standards.info \
texinfo.tex acconfig.h autoconf.sh acgeneral.m4 acspecific.m4 \
configure configure.in autoheader.sh mkinstalldirs install.sh

View File

@ -1619,8 +1619,8 @@ header file by substituting the correct values into @code{#define}
statements in a template file.
For example, suppose your @file{configure.in} calls
@code{AC_CONFIG_HEADER(conf.h)} and @code{AC_UNISTD_H}. You could have
code like this in @file{conf.h.in}:
@code{AC_CONFIG_HEADER(conf.h)} and @code{AC_HAVE_HEADERS(unistd.h)}.
You could have code like this in @file{conf.h.in}:
@example
@group
@ -2482,8 +2482,7 @@ AC_RSH
AC_CONST
AC_UID_T
AC_STDC_HEADERS
AC_UNISTD_H
AC_HAVE_HEADERS(string.h fcntl.h utime.h sys/io/trioctl.h)
AC_HAVE_HEADERS(string.h fcntl.h utime.h unistd.h sys/io/trioctl.h)
AC_REPLACE_FUNCS(fnmatch bcopy mkdir strdup)
AC_HAVE_FUNCS(strerror lchown)
AC_VPRINTF

View File

@ -174,7 +174,7 @@ if test "${LANG+set}" = 'set' ; then LANG=C; export LANG; fi
rm -rf conftest* confdefs.h
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
echo > confdefs.h
compile='${CC-cc} $CFLAGS conftest.c -o conftest $LIBS >/dev/null 2>&1'
compile='${CC-cc} $CFLAGS $LDFLAGS conftest.c -o conftest $LIBS >/dev/null 2>&1'
# A filename unique to this package, relative to the directory that
# configure is in, which we can look for to find out if srcdir is correct.

View File

@ -153,15 +153,21 @@ define(AC_PROG_INSTALL,
# or the SunOS /usr/etc/install directory, or the AIX /bin/install,
# or the AFS install, which mishandles nonexistent args, or
# /usr/ucb/install on SVR4, which tries to use the nonexistent group
# `staff'. On most BSDish systems install is in /usr/bin, not /usr/ucb
# anyway. Sigh.
# `staff', or /sbin/install on IRIX which has incompatible command-line
# syntax. Sigh.
#
# On most BSDish systems install is in /usr/bin, not /usr/ucb
# anyway.
# This turns out not to be true, so the mere pathname isn't an indication
# of whether the program works. What we really need is a set of tests for
# the install program to see if it actually works in all the required ways.
if test "z${INSTALL}" = "z" ; then
echo checking for install
IFS="${IFS= }"; saveifs="$IFS"; IFS="${IFS}:"
for dir in $PATH; do
#test -z "$dir" && dir=.
case "$dir" in
''|.|/etc|/usr/sbin|/usr/etc|/usr/afsws/bin|/usr/ucb) ;;
''|.|/etc|/sbin|/usr/sbin|/usr/etc|/usr/afsws/bin|/usr/ucb) ;;
*)
if test -f $dir/installbsd; then
INSTALL="$dir/installbsd -c" # OSF1