Branch: Tag:

2005-02-04

2005-02-04 10:47:18 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added --with-extra-debug-checks

Rev: src/acconfig.h:1.146
Rev: src/configure.in:1.874

1: - AC_REVISION("$Id: configure.in,v 1.873 2005/01/10 18:20:48 grubba Exp $") + AC_REVISION("$Id: configure.in,v 1.874 2005/02/04 10:47:18 grubba Exp $")   AC_INIT(interpret.c)   AC_CONFIG_HEADER(machine.h)   
784:   # Workaround for compiling Pike on some OS that have some clues   case "$pike_cv_sys_os" in    CYGWIN*) -  # Cygwin have both Windows includes and Unix ones. +  # Cygwin has both Windows includes and Unix ones.    # Hiding them make it a somewhat Unix compliant OS.    echo 'Cygwin host detected. Enabling workarounds...'    # winsock.h, winbase.h, winsock2.h, windows.h, wingdi.h, windef.h    # are part of VC api but given as headers in cygwin. We -  # should detect them when using cygwin +  # should not detect them when using cygwin    ac_cv_header_wingdi_h="no"    ac_cv_header_windef_h="no"    ac_cv_header_winsock_h="no"
805:    fi    ;;    FreeBSD*) -  # FreeBSD have other naming convention for gtk-config and sdl-config +  # FreeBSD has different naming convention for gtk-config and sdl-config    if test "x${GTK_CONFIG}" = "x"; then    GTK_CONFIG=`which ${ac_tool_prefix}gtk12-config`    export GTK_CONFIG
1061:      #############################################################################    + AC_ARG_WITH(extra_debug_checks, +  MY_DESCR([--with-extra-debug-checks], +  [enable some extra (possibly verbose) debug checks.]), +  [], [ +  if test "x$pike_cv_sys_os" = "xOSF1"; then +  # Attempt to detect the cause for test_resolv to fail on Unicode.so. +  with_extra_debug_checks="yes" +  else +  with_extra_debug_checks=no +  fi +  ]) +  + if test "x$with_extra_debug_checks" = "xno"; then :; else +  AC_MSG_WARN([Enabling extra debug checks.]) +  AC_DEFINE([PIKE_EXTRA_DEBUG]) + fi +  + ############################################################################# +    AC_ARG_WITH(patch_gcc, MY_DESCR([--with-patch-gcc],    [attempt to patch the UA32 relocation bug.]),    [], [with_patch_gcc=no])
2200:    # MinGW system.    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.873 2005/01/10 18:20:48 grubba Exp $. + # Automatically generated by $Id: configure.in,v 1.874 2005/02/04 10:47:18 grubba Exp $.   # MinGW-version. Do NOT edit.   posix_name="`cat`"   posix_prefix="/"
2238:    # Native POSIX system.    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.873 2005/01/10 18:20:48 grubba Exp $. + # Automatically generated by $Id: configure.in,v 1.874 2005/02/04 10:47:18 grubba Exp $.   # POSIX-version. Do NOT edit.   cat   EOF
2247:    # rntcl-style    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.873 2005/01/10 18:20:48 grubba Exp $. + # Automatically generated by $Id: configure.in,v 1.874 2005/02/04 10:47:18 grubba Exp $.   # RNTCL-version. Do NOT edit.   sed -e "$PIKE_PATH_TRANSLATE"   EOF