Branch: Tag:

2005-11-07

2005-11-07 16:49:08 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Disable dependency tracking when configuring the bundled Nettle.
This may fix compilation problems with BSD make.

Rev: src/configure.in:1.923

1: - AC_REVISION("$Id: configure.in,v 1.922 2005/11/04 21:48:56 grubba Exp $") + AC_REVISION("$Id: configure.in,v 1.923 2005/11/07 16:49:08 grubba Exp $")   AC_INIT(interpret.c)   AC_CONFIG_HEADER(machine.h)   
2334:    # MinGW system.    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.922 2005/11/04 21:48:56 grubba Exp $. + # Automatically generated by $Id: configure.in,v 1.923 2005/11/07 16:49:08 grubba Exp $.   # MinGW-version. Do NOT edit.   posix_name="`cat`"   posix_prefix="/"
2372:    # Native POSIX system.    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.922 2005/11/04 21:48:56 grubba Exp $. + # Automatically generated by $Id: configure.in,v 1.923 2005/11/07 16:49:08 grubba Exp $.   # POSIX-version. Do NOT edit.   cat   EOF
2381:    # rntcl-style    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.922 2005/11/04 21:48:56 grubba Exp $. + # Automatically generated by $Id: configure.in,v 1.923 2005/11/07 16:49:08 grubba Exp $.   # RNTCL-version. Do NOT edit.   sed -e "$PIKE_PATH_TRANSLATE"   EOF
2534:    done   fi    + primary_path="" + fallback_path="" +    if test $ldflags_is_set = yes -a $cppflags_is_set = yes ; then :; else    for dd in \    `echo "${with_site_prefixes}"|sed -e 's/:/ /g'` \
2641:    fi    done    fi +  AC_MSG_CHECKING($dd/bin) +  if test -d "$dd/bin/."; then +  if test "x$libs_found" = "xno"; then +  AC_MSG_RESULT(yes - use as fallback) +  if test "x$fallback_path" = "x"; then +  fallback_path="$dd/bin" +  else +  fallback_path="$fallback_path:$dd/bin" +  fi +  else +  AC_MSG_RESULT(yes) +  if test "x$primary_path" = "x"; then +  primary_path="$dd/bin" +  else +  primary_path="$primary_path:$dd/bin" +  fi +  fi +  else +  AC_MSG_RESULT(no) +  fi    if test $cppflags_is_set = no -a "x$C_INCLUDE_PATH" = "x"; then    d="$dd/include"    AC_MSG_CHECKING($d)
2684:    done   fi    - #Restore preprocessor warning sensitivity - ac_c_preproc_warn_flag="$OLD_ac_c_preproc_warn_flag" -  - echo Searching for binary directories... - for d in `echo $exec_prefix | sed "s@^NONE@$prefix@g" | sed "s@^NONE@$with_root$ac_default_prefix@g"` \ -  `echo "${with_site_prefixes}"|sed -e 's/:/ /g'` \ -  "$with_root" $with_root/usr $with_root/usr/ccs $with_root/usr/vac \ -  $with_root/usr/local $with_root/sw/local $with_root/usr/gnu \ -  $with_root/opt/gnu $with_root/sw/gnu $with_root/sw \ -  $with_root/usr/sfw $with_root/opt/sfw $with_root/opt/csw \ -  $with_root/opt/gnome-1.4 \ -  $with_root/usr/freeware $with_root/usr/pkg - do -  AC_MSG_CHECKING($d/bin) -  if test -d "$d/bin/." ; then -  AC_MSG_RESULT(added) -  EXTRA_PATH="${EXTRA_PATH}:$d/bin" + if test "x$primary_path" = "x"; then +  EXTRA_PATH="$fallback_path" + elif test "x$fallback_path" = "x"; then +  EXTRA_PATH="$primary_path"   else -  AC_MSG_RESULT(no) +  EXTRA_PATH="$primary_path:$fallback_path"   fi - done +    export EXTRA_PATH    -  + #Restore preprocessor warning sensitivity + ac_c_preproc_warn_flag="$OLD_ac_c_preproc_warn_flag" +    else    # We are running NT    :
7946:    CFLAGS="$CCSHARED $CFLAGS"    export CFLAGS    -  extra_configure_args="$BUNDLE_FLAGS --disable-openssl" +  # --disable-openssl +  # The Nettle 1.13 checks for openssl aren't strict enough, so +  # linking with openssl is enabled even though there are +  # missing symbols. This also disables compilation of some +  # dead benchmark code. +  # +  # --disable-dependency-tracking +  # Nettles Makefiles aren't compatible with some makes +  # (BSD make in particular) if this is enabled, and +  # since we build from scratch the dependencies aren't +  # needed anyway. +  extra_configure_args="$BUNDLE_FLAGS --disable-openssl --disable-dependency-tracking" +     # Some libraries insist in using config.guess;    # they tend to have problems with rntcl...    # Let's help them along.