"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "configure" between
mdocml-1.14.1rc1.tar.gz and mdocml-1.14.1rc2.tar.gz

About: mdocml is a suite of tools compiling "-mdoc", the roff macro package of choice for BSD manual pages, and "-man", the predominant historical package for UNIX manuals. Hint: The installed binary name is "mandoc". Release candidate.

configure  (mdocml-1.14.1rc1):configure  (mdocml-1.14.1rc2)
#!/bin/sh #!/bin/sh
# #
# $Id: configure,v 1.57 2017/02/08 16:11:41 schwarze Exp $ # $Id: configure,v 1.61 2017/02/18 12:24:24 schwarze Exp $
# #
# Copyright (c) 2014, 2015, 2016 Ingo Schwarze <schwarze@openbsd.org> # Copyright (c) 2014, 2015, 2016, 2017 Ingo Schwarze <schwarze@openbsd.org>
# #
# Permission to use, copy, modify, and distribute this software for any # Permission to use, copy, modify, and distribute this software for any
# purpose with or without fee is hereby granted, provided that the above # purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies. # copyright notice and this permission notice appear in all copies.
# #
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
skipping to change at line 36 skipping to change at line 36
# 2 (stderr): original stderr, usually to the console # 2 (stderr): original stderr, usually to the console
# 3: config.log # 3: config.log
exec 3> config.log exec 3> config.log
echo "config.log: writing..." echo "config.log: writing..."
# --- default settings ------------------------------------------------- # --- default settings -------------------------------------------------
# Initialize all variables here, # Initialize all variables here,
# such that nothing can leak in from the environment. # such that nothing can leak in from the environment.
SOURCEDIR=`dirname "$0"`
MANPATH_DEFAULT="/usr/share/man:/usr/X11R6/man:/usr/local/man" MANPATH_DEFAULT="/usr/share/man:/usr/X11R6/man:/usr/local/man"
OSNAME= OSNAME=
UTF8_LOCALE= UTF8_LOCALE=
CC=`printf "all:\\n\\t@echo \\\$(CC)\\n" | env -i make -sf -` CC=`printf "all:\\n\\t@echo \\\$(CC)\\n" | env -i make -sf -`
CFLAGS="-g -W -Wall -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings" CFLAGS="-g -W -Wall -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings"
CFLAGS="${CFLAGS} -Wno-unused-parameter" CFLAGS="${CFLAGS} -Wno-unused-parameter"
LDADD= LDADD=
LDFLAGS= LDFLAGS=
LD_NANOSLEEP= LD_NANOSLEEP=
skipping to change at line 68 skipping to change at line 70
HAVE_ENDIAN= HAVE_ENDIAN=
HAVE_ERR= HAVE_ERR=
HAVE_FTS= HAVE_FTS=
HAVE_FTS_COMPARE_CONST= HAVE_FTS_COMPARE_CONST=
HAVE_GETLINE= HAVE_GETLINE=
HAVE_GETSUBOPT= HAVE_GETSUBOPT=
HAVE_ISBLANK= HAVE_ISBLANK=
HAVE_MKDTEMP= HAVE_MKDTEMP=
HAVE_NANOSLEEP= HAVE_NANOSLEEP=
HAVE_NTOHL= HAVE_NTOHL=
HAVE_O_DIRECTORY=
HAVE_OHASH= HAVE_OHASH=
HAVE_PATH_MAX= HAVE_PATH_MAX=
HAVE_PLEDGE= HAVE_PLEDGE=
HAVE_PROGNAME= HAVE_PROGNAME=
HAVE_REALLOCARRAY= HAVE_REALLOCARRAY=
HAVE_RECVMSG= HAVE_RECVMSG=
HAVE_REWB_BSD= HAVE_REWB_BSD=
HAVE_REWB_SYSV= HAVE_REWB_SYSV=
HAVE_SANDBOX_INIT= HAVE_SANDBOX_INIT=
HAVE_STRCASESTR= HAVE_STRCASESTR=
skipping to change at line 101 skipping to change at line 104
INCLUDEDIR= INCLUDEDIR=
LIBDIR= LIBDIR=
MANDIR= MANDIR=
HOMEBREWDIR= HOMEBREWDIR=
WWWPREFIX="/var/www" WWWPREFIX="/var/www"
HTDOCDIR= HTDOCDIR=
CGIBINDIR= CGIBINDIR=
BINM_APROPOS="apropos" BINM_APROPOS="apropos"
BINM_CATMAN="catman"
BINM_MAKEWHATIS="makewhatis" BINM_MAKEWHATIS="makewhatis"
BINM_MAN="man" BINM_MAN="man"
BINM_SOELIM="soelim" BINM_SOELIM="soelim"
BINM_WHATIS="whatis" BINM_WHATIS="whatis"
MANM_MAN="man" MANM_MAN="man"
MANM_MANCONF="man.conf" MANM_MANCONF="man.conf"
MANM_MDOC="mdoc" MANM_MDOC="mdoc"
MANM_ROFF="roff" MANM_ROFF="roff"
MANM_EQN="eqn" MANM_EQN="eqn"
MANM_TBL="tbl" MANM_TBL="tbl"
INSTALL="install" INSTALL="install"
INSTALL_PROGRAM= INSTALL_PROGRAM=
INSTALL_LIB= INSTALL_LIB=
INSTALL_MAN= INSTALL_MAN=
INSTALL_DATA= INSTALL_DATA=
LN="ln -f"
# --- manual settings from configure.local ----------------------------- # --- manual settings from configure.local -----------------------------
if [ -r ./configure.local ]; then if [ -r ./configure.local ]; then
echo "configure.local: reading..." 1>&2 echo "configure.local: reading..." 1>&2
echo "configure.local: reading..." 1>&3 echo "configure.local: reading..." 1>&3
cat ./configure.local 1>&3 cat ./configure.local 1>&3
. ./configure.local . ./configure.local
else else
echo "configure.local: no (fully automatic configuration)" 1>&2 echo "configure.local: no (fully automatic configuration)" 1>&2
skipping to change at line 156 skipping to change at line 161
# Run a single autoconfiguration test. # Run a single autoconfiguration test.
# In case of success, enable the feature. # In case of success, enable the feature.
# In case of failure, do not decide anything yet. # In case of failure, do not decide anything yet.
# Arguments: lower-case test name, upper-case test name, additional CFLAGS # Arguments: lower-case test name, upper-case test name, additional CFLAGS
singletest() { singletest() {
cat 1>&3 << __HEREDOC__ cat 1>&3 << __HEREDOC__
${1}${3}: testing... ${1}${3}: testing...
${COMP} -o test-${1} test-${1}.c ${3} ${COMP} -o test-${1} test-${1}.c ${3}
__HEREDOC__ __HEREDOC__
if ${COMP} -o "test-${1}" "test-${1}.c" ${3} 1>&3 2>&3; then if ${COMP} -o "test-${1}" "${SOURCEDIR}/test-${1}.c" ${3} 1>&3 2>&3
then
echo "${1}${3}: ${CC} succeeded" 1>&3 echo "${1}${3}: ${CC} succeeded" 1>&3
else else
echo "${1}${3}: ${CC} failed with $?" 1>&3 echo "${1}${3}: ${CC} failed with $?" 1>&3
echo 1>&3 echo 1>&3
return 1 return 1
fi fi
if ./test-${1} 1>&3 2>&3; then if ./test-${1} 1>&3 2>&3; then
echo "${1}${3}: yes" 1>&2 echo "${1}${3}: yes" 1>&2
echo "${1}${3}: yes" 1>&3 echo "${1}${3}: yes" 1>&3
skipping to change at line 218 skipping to change at line 224
runtest dirent-namlen DIRENT_NAMLEN || true runtest dirent-namlen DIRENT_NAMLEN || true
runtest be32toh ENDIAN || true runtest be32toh ENDIAN || true
runtest be32toh SYS_ENDIAN -DSYS_ENDIAN || true runtest be32toh SYS_ENDIAN -DSYS_ENDIAN || true
runtest EFTYPE EFTYPE || true runtest EFTYPE EFTYPE || true
runtest err ERR || true runtest err ERR || true
runtest getline GETLINE || true runtest getline GETLINE || true
runtest getsubopt GETSUBOPT || true runtest getsubopt GETSUBOPT || true
runtest isblank ISBLANK || true runtest isblank ISBLANK || true
runtest mkdtemp MKDTEMP || true runtest mkdtemp MKDTEMP || true
runtest ntohl NTOHL || true runtest ntohl NTOHL || true
runtest O_DIRECTORY O_DIRECTORY || true
runtest PATH_MAX PATH_MAX || true runtest PATH_MAX PATH_MAX || true
runtest pledge PLEDGE || true runtest pledge PLEDGE || true
runtest sandbox_init SANDBOX_INIT || true runtest sandbox_init SANDBOX_INIT || true
runtest progname PROGNAME || true runtest progname PROGNAME || true
runtest reallocarray REALLOCARRAY || true runtest reallocarray REALLOCARRAY || true
runtest rewb-bsd REWB_BSD || true runtest rewb-bsd REWB_BSD || true
runtest rewb-sysv REWB_SYSV || true runtest rewb-sysv REWB_SYSV || true
runtest strcasestr STRCASESTR || true runtest strcasestr STRCASESTR || true
runtest stringlist STRINGLIST || true runtest stringlist STRINGLIST || true
runtest strlcat STRLCAT || true runtest strlcat STRLCAT || true
skipping to change at line 355 skipping to change at line 362
[ ${HAVE_VASPRINTF} -eq 0 ] && echo "#include <stdarg.h>" [ ${HAVE_VASPRINTF} -eq 0 ] && echo "#include <stdarg.h>"
[ ${HAVE_GETLINE} -eq 0 ] && echo "#include <stdio.h>" [ ${HAVE_GETLINE} -eq 0 ] && echo "#include <stdio.h>"
echo echo
echo "#define MAN_CONF_FILE \"/etc/${MANM_MANCONF}\"" echo "#define MAN_CONF_FILE \"/etc/${MANM_MANCONF}\""
echo "#define MANPATH_DEFAULT \"${MANPATH_DEFAULT}\"" echo "#define MANPATH_DEFAULT \"${MANPATH_DEFAULT}\""
[ -n "${OSNAME}" ] && echo "#define OSNAME \"${OSNAME}\"" [ -n "${OSNAME}" ] && echo "#define OSNAME \"${OSNAME}\""
[ -n "${UTF8_LOCALE}" ] && echo "#define UTF8_LOCALE \"${UTF8_LOCALE}\"" [ -n "${UTF8_LOCALE}" ] && echo "#define UTF8_LOCALE \"${UTF8_LOCALE}\""
[ -n "${HOMEBREWDIR}" ] && echo "#define HOMEBREWDIR \"${HOMEBREWDIR}\"" [ -n "${HOMEBREWDIR}" ] && echo "#define HOMEBREWDIR \"${HOMEBREWDIR}\""
[ ${HAVE_EFTYPE} -eq 0 ] && echo "#define EFTYPE EINVAL" [ ${HAVE_EFTYPE} -eq 0 ] && echo "#define EFTYPE EINVAL"
[ ${HAVE_O_DIRECTORY} -eq 0 ] && echo "#define O_DIRECTORY 0"
[ ${HAVE_PATH_MAX} -eq 0 ] && echo "#define PATH_MAX 4096" [ ${HAVE_PATH_MAX} -eq 0 ] && echo "#define PATH_MAX 4096"
if [ ${HAVE_ENDIAN} -eq 0 -a ${HAVE_SYS_ENDIAN} -eq 0 ]; then if [ ${HAVE_ENDIAN} -eq 0 -a ${HAVE_SYS_ENDIAN} -eq 0 ]; then
echo "#define be32toh ntohl" echo "#define be32toh ntohl"
echo "#define htobe32 htonl" echo "#define htobe32 htonl"
fi fi
cat << __HEREDOC__ cat << __HEREDOC__
#define HAVE_CMSG_XPG42 ${HAVE_CMSG_XPG42} #define HAVE_CMSG_XPG42 ${HAVE_CMSG_XPG42}
#define HAVE_DIRENT_NAMLEN ${HAVE_DIRENT_NAMLEN} #define HAVE_DIRENT_NAMLEN ${HAVE_DIRENT_NAMLEN}
#define HAVE_ENDIAN ${HAVE_ENDIAN} #define HAVE_ENDIAN ${HAVE_ENDIAN}
skipping to change at line 392 skipping to change at line 400
#define HAVE_STRLCPY ${HAVE_STRLCPY} #define HAVE_STRLCPY ${HAVE_STRLCPY}
#define HAVE_STRPTIME ${HAVE_STRPTIME} #define HAVE_STRPTIME ${HAVE_STRPTIME}
#define HAVE_STRSEP ${HAVE_STRSEP} #define HAVE_STRSEP ${HAVE_STRSEP}
#define HAVE_STRTONUM ${HAVE_STRTONUM} #define HAVE_STRTONUM ${HAVE_STRTONUM}
#define HAVE_SYS_ENDIAN ${HAVE_SYS_ENDIAN} #define HAVE_SYS_ENDIAN ${HAVE_SYS_ENDIAN}
#define HAVE_VASPRINTF ${HAVE_VASPRINTF} #define HAVE_VASPRINTF ${HAVE_VASPRINTF}
#define HAVE_WCHAR ${HAVE_WCHAR} #define HAVE_WCHAR ${HAVE_WCHAR}
#define HAVE_OHASH ${HAVE_OHASH} #define HAVE_OHASH ${HAVE_OHASH}
#define BINM_APROPOS "${BINM_APROPOS}" #define BINM_APROPOS "${BINM_APROPOS}"
#define BINM_CATMAN "${BINM_CATMAN}"
#define BINM_MAKEWHATIS "${BINM_MAKEWHATIS}" #define BINM_MAKEWHATIS "${BINM_MAKEWHATIS}"
#define BINM_MAN "${BINM_MAN}" #define BINM_MAN "${BINM_MAN}"
#define BINM_SOELIM "${BINM_SOELIM}" #define BINM_SOELIM "${BINM_SOELIM}"
#define BINM_WHATIS "${BINM_WHATIS}" #define BINM_WHATIS "${BINM_WHATIS}"
__HEREDOC__ __HEREDOC__
if [ ${HAVE_ERR} -eq 0 ]; then if [ ${HAVE_ERR} -eq 0 ]; then
echo "extern void err(int, const char *, ...);" echo "extern void err(int, const char *, ...);"
echo "extern void errx(int, const char *, ...);" echo "extern void errx(int, const char *, ...);"
skipping to change at line 493 skipping to change at line 502
PREFIX = ${PREFIX} PREFIX = ${PREFIX}
BINDIR = ${BINDIR} BINDIR = ${BINDIR}
SBINDIR = ${SBINDIR} SBINDIR = ${SBINDIR}
INCLUDEDIR = ${INCLUDEDIR} INCLUDEDIR = ${INCLUDEDIR}
LIBDIR = ${LIBDIR} LIBDIR = ${LIBDIR}
MANDIR = ${MANDIR} MANDIR = ${MANDIR}
WWWPREFIX = ${WWWPREFIX} WWWPREFIX = ${WWWPREFIX}
HTDOCDIR = ${HTDOCDIR} HTDOCDIR = ${HTDOCDIR}
CGIBINDIR = ${CGIBINDIR} CGIBINDIR = ${CGIBINDIR}
BINM_APROPOS = ${BINM_APROPOS} BINM_APROPOS = ${BINM_APROPOS}
BINM_CATMAN = ${BINM_CATMAN}
BINM_MAKEWHATIS = ${BINM_MAKEWHATIS} BINM_MAKEWHATIS = ${BINM_MAKEWHATIS}
BINM_MAN = ${BINM_MAN} BINM_MAN = ${BINM_MAN}
BINM_SOELIM = ${BINM_SOELIM} BINM_SOELIM = ${BINM_SOELIM}
BINM_WHATIS = ${BINM_WHATIS} BINM_WHATIS = ${BINM_WHATIS}
MANM_MAN = ${MANM_MAN} MANM_MAN = ${MANM_MAN}
MANM_MANCONF = ${MANM_MANCONF} MANM_MANCONF = ${MANM_MANCONF}
MANM_MDOC = ${MANM_MDOC} MANM_MDOC = ${MANM_MDOC}
MANM_ROFF = ${MANM_ROFF} MANM_ROFF = ${MANM_ROFF}
MANM_EQN = ${MANM_EQN} MANM_EQN = ${MANM_EQN}
MANM_TBL = ${MANM_TBL} MANM_TBL = ${MANM_TBL}
INSTALL = ${INSTALL} INSTALL = ${INSTALL}
INSTALL_PROGRAM = ${INSTALL_PROGRAM} INSTALL_PROGRAM = ${INSTALL_PROGRAM}
INSTALL_LIB = ${INSTALL_LIB} INSTALL_LIB = ${INSTALL_LIB}
INSTALL_MAN = ${INSTALL_MAN} INSTALL_MAN = ${INSTALL_MAN}
INSTALL_DATA = ${INSTALL_DATA} INSTALL_DATA = ${INSTALL_DATA}
LN = ${LN}
__HEREDOC__ __HEREDOC__
echo "Makefile.local: written" 1>&2 echo "Makefile.local: written" 1>&2
echo "Makefile.local: written" 1>&3 echo "Makefile.local: written" 1>&3
exit 0 exit 0
 End of changes. 12 change blocks. 
3 lines changed or deleted 14 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS