version 1.58, 2017/02/16 15:12:32 |
version 1.61, 2017/02/18 12:24:24 |
|
|
# |
# |
# $Id$ |
# $Id$ |
# |
# |
# 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 |
Line 33 echo "config.log: writing..." |
|
Line 33 echo "config.log: writing..." |
|
# 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= |
|
|
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= |
Line 115 INSTALL_PROGRAM= |
|
Line 118 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 ----------------------------- |
|
|
Line 154 ${1}${3}: testing... |
|
Line 158 ${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 |
Line 217 runtest getsubopt GETSUBOPT || true |
|
Line 222 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 |
Line 354 echo "#define MANPATH_DEFAULT \"${MANPATH_DEFAULT}\"" |
|
Line 360 echo "#define MANPATH_DEFAULT \"${MANPATH_DEFAULT}\"" |
|
[ -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" |
Line 509 INSTALL_PROGRAM = ${INSTALL_PROGRAM} |
|
Line 516 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 |