[BACK]Return to configure CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/configure between version 1.3 and 1.9

version 1.3, 2014/04/23 21:06:41 version 1.9, 2014/08/11 01:39:00
Line 14 
Line 14 
 # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF  # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.  # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
   
   echo "/* RUNNING ./CONFIGURE - SHOULD BE USED ONLY VIA MAKE, READ INSTALL */"
   
 set -e  set -e
 exec > config.h 2> config.log  exec > config.h 2> config.log
   
 CFLAGS="${CFLAGS} -Wno-unused -Werror"  CFLAGS="${CFLAGS} -Wno-unused -Werror"
   
 runtest() {  runtest() {
         echo ${CC} ${CFLAGS} -o test-${1} test-${1}.c 1>&2          echo ${CC} ${CFLAGS} ${3} -o test-${1} test-${1}.c 1>&2
         ${CC} ${CFLAGS} -o "test-${1}" "test-${1}.c" 1>&2 || return 0          ${CC} ${CFLAGS} ${3} -o "test-${1}" "test-${1}.c" 1>&2 || return 0
         "./test-${1}" && echo "#define HAVE_${2}" \          "./test-${1}" && echo "#define HAVE_${2}" \
                 || echo FAILURE: test-${1} returned $? 1>&2                  || echo FAILURE: test-${1} returned $? 1>&2
         rm "test-${1}"          rm "test-${1}"
Line 31  cat config.h.pre
Line 33  cat config.h.pre
 echo  echo
 echo "#define VERSION \"${VERSION}\""  echo "#define VERSION \"${VERSION}\""
 runtest fgetln FGETLN  runtest fgetln FGETLN
   runtest fts FTS
 runtest getsubopt GETSUBOPT  runtest getsubopt GETSUBOPT
 runtest mmap MMAP  runtest mmap MMAP
 runtest ohash OHASH  runtest ohash OHASH "${DBLIB}"
 runtest reallocarray REALLOCARRAY  runtest reallocarray REALLOCARRAY
   runtest sqlite3_errstr SQLITE3_ERRSTR "${DBLIB}"
 runtest strcasestr STRCASESTR  runtest strcasestr STRCASESTR
 runtest strlcat STRLCAT  runtest strlcat STRLCAT
 runtest strlcpy STRLCPY  runtest strlcpy STRLCPY
 runtest strnlen STRNLEN  
 runtest strptime STRPTIME  runtest strptime STRPTIME
 runtest strsep STRSEP  runtest strsep STRSEP
 echo  echo

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.9

CVSweb