Branch: Tag:

2006-08-10

2006-08-10 15:56:04 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Some more gcc LDFLAGS-related fixes.

Rev: src/configure.in:1.1000

1: - AC_REVISION("$Id: configure.in,v 1.999 2006/08/10 14:42:36 grubba Exp $") + AC_REVISION("$Id: configure.in,v 1.1000 2006/08/10 15:56:04 grubba Exp $")   AC_INIT(interpret.c)   AC_CONFIG_HEADER(machine.h)   
2295:    # MinGW system.    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.999 2006/08/10 14:42:36 grubba Exp $. + # Automatically generated by $Id: configure.in,v 1.1000 2006/08/10 15:56:04 grubba Exp $.   # MinGW-version. Do NOT edit.   posix_name="`cat`"   posix_prefix="/"
2333:    # Native POSIX system.    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.999 2006/08/10 14:42:36 grubba Exp $. + # Automatically generated by $Id: configure.in,v 1.1000 2006/08/10 15:56:04 grubba Exp $.   # POSIX-version. Do NOT edit.   cat   EOF
2342:    # rntcl-style    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.999 2006/08/10 14:42:36 grubba Exp $. + # Automatically generated by $Id: configure.in,v 1.1000 2006/08/10 15:56:04 grubba Exp $.   # RNTCL-version. Do NOT edit.   sed -e "$PIKE_PATH_TRANSLATE"   EOF
2381:    if test "x$GCC" = "xno"; then :; else    # Extract the default library paths from gcc,    # so that we can pass them along to ld later on. -  for dd in `$CC -print-search-dirs 2>/dev/null | sed -e '/^libraries:/s/^[[^=]]*=//p' -ed | sed -e 's/:/ /g'` /lib; do +  for dd in `$CC -print-search-dirs 2>/dev/null | sed -e '/^libraries:/s/^[[^=]]*=//p' -ed | sed -e 's/\/:/ /g' -e 's/:/ /g' -e 's/\/$//'` /lib; do    if test -d "$dd"; then :; else continue; fi -  +  # Normalize the paths. +  dd=`cd "$dd" && pwd`    if test "$dd" = "/lib"; then continue; fi    if test "$dd" = "/usr/lib"; then continue; fi    for suff in $pike_cv_abi_suffixes; do