Branch: Tag:

2009-09-24

2009-09-24 17:21:37 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added check for an abi indicator for the installation lib directory.

Rev: src/configure.in:1.1084

1: - AC_REVISION("$Id: configure.in,v 1.1083 2009/09/19 10:28:57 grubba Exp $") + AC_REVISION("$Id: configure.in,v 1.1084 2009/09/24 17:21:37 grubba Exp $")   AC_INIT(interpret.c)   AC_CONFIG_HEADER(machine.h)   
2451:    # MinGW system.    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.1083 2009/09/19 10:28:57 grubba Exp $. + # Automatically generated by $Id: configure.in,v 1.1084 2009/09/24 17:21:37 grubba Exp $.   # MinGW-version. Do NOT edit.   posix_name="`cat`"   posix_prefix="/"
2489:    # Native POSIX system.    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.1083 2009/09/19 10:28:57 grubba Exp $. + # Automatically generated by $Id: configure.in,v 1.1084 2009/09/24 17:21:37 grubba Exp $.   # POSIX-version. Do NOT edit.   cat   EOF
2498:    # rntcl-style    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.1083 2009/09/19 10:28:57 grubba Exp $. + # Automatically generated by $Id: configure.in,v 1.1084 2009/09/24 17:21:37 grubba Exp $.   # RNTCL-version. Do NOT edit.   sed -e "$PIKE_PATH_TRANSLATE"   EOF
2761:   CONF_CPPFLAGS_EXTRA="-I$srcdir -I`pwd`"   CPPFLAGS="${CPPFLAGS} ${CONF_CPPFLAGS_EXTRA}"    + # We want to know if we ought to append any abi indicator to the libdir. + AC_MSG_CHECKING(if an abi indicator would be appropriate) + AC_CACHE_VAL(pike_cv_lib_abi, [ +  pike_cv_lib_abi="" +  for dd in "$with_root/lib" "$with_root/usr/lib" "$prefix/lib"; do +  for d in $pike_cv_abi_suffixes; do +  if test "x$d" = "x/."; then :; +  elif test -d "$dd$d/."; then +  pike_cv_lib_abi="$d" +  break +  fi +  done +  done + ]) + AC_MSG_RESULT($pike_cv_lib_abi) + PIKE_LIB_ABI="$pike_cv_lib_abi" + AC_SUBST(PIKE_LIB_ABI) +    #############################################################################      ## At this point we have at last initialized the compiler!