Branch: Tag:

2005-06-13

2005-06-13 15:49:33 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added some extra scanning for abi-specific libraries.

Rev: src/configure.in:1.890

1: - AC_REVISION("$Id: configure.in,v 1.889 2005/06/09 16:35:51 grubba Exp $") + AC_REVISION("$Id: configure.in,v 1.890 2005/06/13 15:49:33 grubba Exp $")   AC_INIT(interpret.c)   AC_CONFIG_HEADER(machine.h)   
2348:    # MinGW system.    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.889 2005/06/09 16:35:51 grubba Exp $. + # Automatically generated by $Id: configure.in,v 1.890 2005/06/13 15:49:33 grubba Exp $.   # MinGW-version. Do NOT edit.   posix_name="`cat`"   posix_prefix="/"
2386:    # Native POSIX system.    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.889 2005/06/09 16:35:51 grubba Exp $. + # Automatically generated by $Id: configure.in,v 1.890 2005/06/13 15:49:33 grubba Exp $.   # POSIX-version. Do NOT edit.   cat   EOF
2395:    # rntcl-style    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.889 2005/06/09 16:35:51 grubba Exp $. + # Automatically generated by $Id: configure.in,v 1.890 2005/06/13 15:49:33 grubba Exp $.   # RNTCL-version. Do NOT edit.   sed -e "$PIKE_PATH_TRANSLATE"   EOF
2483:   #Restore preprocessor warning sensitivity   ac_c_preproc_warn_flag="$OLD_ac_c_preproc_warn_flag"    + extra_abi_dirs="" + if type isainfo 2>/dev/null >/dev/null; then +  # Solaris +  # Some installations lack the symlink 64 -> amd64 or sparcv9, +  # or the corresponding 32 link. +  extra_abi_dirs=`isainfo -v 2>/dev/null|awk "/$with_abi"'-bit/ { print $2 }'` +  if "x$extra_abi_dirs" = "x"; then :; else +  extra_abi_dirs="/$extra_abi_dirs" +  fi + fi +    echo Searching for library directories...   if test $ldflags_is_set = no ; then    for dd in `echo ${with_lib_path} | sed 's/:/ /g'` \
2497:    do    if test "$dd" = "/lib"; then continue; fi    if test "$dd" = "/usr/lib"; then continue; fi -  for suff in "$with_abi" "/$with_abi" ""; do +  for suff in "$with_abi" "/$with_abi" $extra_abi_dirs ""; do    d="$dd$suff"    AC_MSG_CHECKING($d)    if test -d "$d/." ; then