Branch: Tag:

2008-07-21

2008-07-21 18:13:48 by Martin Stjernholm <mast@lysator.liu.se>

Fixed problem with AC_PROG_CC not putting -g into CFLAGS due to the
variable already being set by the icc workaround test.

Rev: src/configure.in:1.1065

1: - AC_REVISION("$Id: configure.in,v 1.1064 2008/07/13 19:22:37 marcus Exp $") + AC_REVISION("$Id: configure.in,v 1.1065 2008/07/21 18:13:48 mast Exp $")   AC_INIT(interpret.c)   AC_CONFIG_HEADER(machine.h)   
295:    fi   fi    + # AC_PROG_CC won't modify CFLAGS if it's already set from icc + # workaround test above, so we make sure it's always set and then + # modify CFLAGS ourselves afterwards. + ${CFLAGS:=} +    AC_PROG_CC -  +  + # Only need to think of -g since -O2 or other optimization flags gets + # added through other configure tests. + test "$ac_cv_prog_cc_g" = yes && CFLAGS="-g $CFLAGS" +    AC_PROG_CPP   AC_PROG_EGREP   
930:   fi   fi    - # Restore the -O2 that the default AC_PROG_CC adds. -  +    AC_SYS_COMPILER_FLAG(+O3,plus_O3,OPTIMIZE, [    AC_SYS_COMPILER_FLAG(-O3,O3,OPTIMIZE, [    AC_SYS_COMPILER_FLAG(-O2,O2,OPTIMIZE, [
2384:    # MinGW system.    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.1064 2008/07/13 19:22:37 marcus Exp $. + # Automatically generated by $Id: configure.in,v 1.1065 2008/07/21 18:13:48 mast Exp $.   # MinGW-version. Do NOT edit.   posix_name="`cat`"   posix_prefix="/"
2422:    # Native POSIX system.    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.1064 2008/07/13 19:22:37 marcus Exp $. + # Automatically generated by $Id: configure.in,v 1.1065 2008/07/21 18:13:48 mast Exp $.   # POSIX-version. Do NOT edit.   cat   EOF
2431:    # rntcl-style    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.1064 2008/07/13 19:22:37 marcus Exp $. + # Automatically generated by $Id: configure.in,v 1.1065 2008/07/21 18:13:48 mast Exp $.   # RNTCL-version. Do NOT edit.   sed -e "$PIKE_PATH_TRANSLATE"   EOF