Branch: Tag:

2005-06-15

2005-06-15 11:01:16 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Moved ABI options to CC, since having them in LDFLAGS is not a good idea if ld is used to link the binary.

Rev: src/configure.in:1.897

1: - AC_REVISION("$Id: configure.in,v 1.896 2005/06/15 08:18:31 grubba Exp $") + AC_REVISION("$Id: configure.in,v 1.897 2005/06/15 11:01:16 grubba Exp $")   AC_INIT(interpret.c)   AC_CONFIG_HEADER(machine.h)   
456:    #    # We want 64bit mode if possible.    # -  AC_SYS_COMPILER_FLAG(-q64, q64, CPPFLAGS,,LDFLAGS="$LDFLAGS -q64") -  AC_SYS_COMPILER_FLAG(-m64, m64, CPPFLAGS,,LDFLAGS="$LDFLAGS -m64") +  AC_SYS_COMPILER_FLAG(-q64, q64, CC) +  AC_SYS_COMPILER_FLAG(-m64, m64, CC)    if test "$pike_cv_option_q64:$pike_cv_option_m64" = "no:no"; then -  AC_SYS_COMPILER_FLAG(-q32, q32, CPPFLAGS,,LDFLAGS="$LDFLAGS -q32") -  AC_SYS_COMPILER_FLAG(-m32, m32, CPPFLAGS,,LDFLAGS="$LDFLAGS -m32") +  AC_SYS_COMPILER_FLAG(-q32, q32, CC) +  AC_SYS_COMPILER_FLAG(-m32, m32, CC)    if test "$pike_cv_option_q32:$pike_cv_option_m32" = "no:no"; then    AC_MSG_WARN([Found no option to force 64 bit ABI.])    else
472:    #    # Try to force 32bit mode.    # -  AC_SYS_COMPILER_FLAG(-q32, q32, CPPFLAGS,,LDFLAGS="$LDFLAGS -q32") -  AC_SYS_COMPILER_FLAG(-m32, m32, CPPFLAGS,,LDFLAGS="$LDFLAGS -m32") +  AC_SYS_COMPILER_FLAG(-q32, q32, CC) +  AC_SYS_COMPILER_FLAG(-m32, m32, CC)    if test "$pike_cv_option_q32:$pike_cv_option_m32" = "no:no"; then -  AC_SYS_COMPILER_FLAG(-q64, q64, CPPFLAGS,,LDFLAGS="$LDFLAGS -q64") -  AC_SYS_COMPILER_FLAG(-m64, m64, CPPFLAGS,,LDFLAGS="$LDFLAGS -m64") +  AC_SYS_COMPILER_FLAG(-q64, q64, CC) +  AC_SYS_COMPILER_FLAG(-m64, m64, CC)    if test "$pike_cv_option_q64:$pike_cv_option_m64" = "no:no"; then    AC_MSG_WARN([Found no option to force 32 bit ABI.])    else
2351:    # MinGW system.    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.896 2005/06/15 08:18:31 grubba Exp $. + # Automatically generated by $Id: configure.in,v 1.897 2005/06/15 11:01:16 grubba Exp $.   # MinGW-version. Do NOT edit.   posix_name="`cat`"   posix_prefix="/"
2389:    # Native POSIX system.    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.896 2005/06/15 08:18:31 grubba Exp $. + # Automatically generated by $Id: configure.in,v 1.897 2005/06/15 11:01:16 grubba Exp $.   # POSIX-version. Do NOT edit.   cat   EOF
2398:    # rntcl-style    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.896 2005/06/15 08:18:31 grubba Exp $. + # Automatically generated by $Id: configure.in,v 1.897 2005/06/15 11:01:16 grubba Exp $.   # RNTCL-version. Do NOT edit.   sed -e "$PIKE_PATH_TRANSLATE"   EOF