=================================================================== RCS file: /cvs/mandoc/configure,v retrieving revision 1.43.2.7 retrieving revision 1.43.2.9 diff -u -p -r1.43.2.7 -r1.43.2.9 --- mandoc/configure 2016/10/20 19:34:18 1.43.2.7 +++ mandoc/configure 2017/02/16 16:21:04 1.43.2.9 @@ -1,8 +1,8 @@ #!/bin/sh # -# $Id: configure,v 1.43.2.7 2016/10/20 19:34:18 schwarze Exp $ +# $Id: configure,v 1.43.2.9 2017/02/16 16:21:04 schwarze Exp $ # -# Copyright (c) 2014, 2015, 2016 Ingo Schwarze +# Copyright (c) 2014, 2015, 2016, 2017 Ingo Schwarze # # Permission to use, copy, modify, and distribute this software for any # purpose with or without fee is hereby granted, provided that the above @@ -111,6 +111,7 @@ INSTALL_PROGRAM= INSTALL_LIB= INSTALL_MAN= INSTALL_DATA= +LN="ln -f" # --- manual settings from configure.local ----------------------------- @@ -147,10 +148,10 @@ ismanual() { singletest() { cat 1>&3 << __HEREDOC__ ${1}${3}: testing... -${COMP} ${3} -o test-${1} test-${1}.c +${COMP} -o test-${1} test-${1}.c ${3} __HEREDOC__ - if ${COMP} ${3} -o "test-${1}" "test-${1}.c" 1>&3 2>&3; then + if ${COMP} -o "test-${1}" "test-${1}.c" ${3} 1>&3 2>&3; then echo "${1}${3}: ${CC} succeeded" 1>&3 else echo "${1}${3}: ${CC} failed with $?" 1>&3 @@ -518,6 +519,7 @@ INSTALL_PROGRAM = ${INSTALL_PROGRAM} INSTALL_LIB = ${INSTALL_LIB} INSTALL_MAN = ${INSTALL_MAN} INSTALL_DATA = ${INSTALL_DATA} +LN = ${LN} __HEREDOC__ [ ${BUILD_DB} -gt 0 ] && \