version 1.72, 2020/02/05 15:12:11 |
version 1.73, 2020/03/13 17:31:44 |
|
|
# |
# |
# $Id$ |
# $Id$ |
# |
# |
# Copyright (c) 2014-2019 Ingo Schwarze <schwarze@openbsd.org> |
# Copyright (c) 2014-2020 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 327 if [ ${HAVE_ENDIAN} -eq 0 -a \ |
|
Line 327 if [ ${HAVE_ENDIAN} -eq 0 -a \ |
|
exit 1 |
exit 1 |
fi |
fi |
|
|
if ismanual fts FTS ${HAVE_FTS}; then |
if [ "$1" == "-depend" ]; then |
|
HAVE_FTS=0 |
HAVE_FTS_COMPARE_CONST=0 |
HAVE_FTS_COMPARE_CONST=0 |
|
echo "tested fts: HAVE_FTS=0 (for make depend)" 1>&2 |
|
echo "tested fts: HAVE_FTS=0 (for make depend)" 1>&3 |
|
echo 1>&3 |
|
elif ismanual fts FTS ${HAVE_FTS}; then |
|
HAVE_FTS_COMPARE_CONST=0 |
elif runtest fts FTS_COMPARE_CONST -DFTS_COMPARE_CONST; then |
elif runtest fts FTS_COMPARE_CONST -DFTS_COMPARE_CONST; then |
HAVE_FTS=1 |
HAVE_FTS=1 |
else |
else |
Line 406 if [ ${BUILD_CATMAN} -gt 0 ]; then |
|
Line 412 if [ ${BUILD_CATMAN} -gt 0 ]; then |
|
fi |
fi |
|
|
# --- ohash --- |
# --- ohash --- |
if ismanual ohash OHASH "${HAVE_OHASH}"; then |
if [ "$1" == "-depend" ]; then |
|
HAVE_OHASH=0 |
|
echo "tested ohash: HAVE_OHASH=0 (for make depend)" 1>&2 |
|
echo "tested ohash: HAVE_OHASH=0 (for make depend)" 1>&3 |
|
echo 1>&3 |
|
elif ismanual ohash OHASH "${HAVE_OHASH}"; then |
: |
: |
elif [ -n "${LD_OHASH}" ]; then |
elif [ -n "${LD_OHASH}" ]; then |
runtest ohash OHASH "${LD_OHASH}" || true |
runtest ohash OHASH "${LD_OHASH}" || true |