Branch: Tag:

1996-10-11

1996-10-11 07:46:19 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

CFLAGS should now be handeled properly

Rev: src/configure.in:1.10

43:         WARN="" - if test x${GCC-} != xyes -a $cflags_is_set = no; then -  WARN="-g -W -Wformat" + OPTIMIZE="" + if test $cflags_is_set = no; then +  if test "x${GCC-}" = xyes ; then +  WARN="-W -Wformat" +  else    OLD_CFLAGS="$CFLAGS"    OPTIMIZE="";   
86:    esac    fi   fi + fi            if test "$GCC" = "yes"; then    if test $cflags_is_set = no; then    AC_MSG_CHECKING(-pipe) -  +  OLD_CFLAGS="$CFLAGS" +  CFLAGS="$CFLAGS -pipe"    AC_CACHE_VAL(pike_cv_option_pipe,    [ -  CFLAGS="$OLD_CFLAGS -pipe" +     AC_TRY_LINK([],[ exit(0); ],pike_cv_option_pipe=yes,pike_cv_option_pipe=no)    ])       if test "$pike_cv_option_pipe" = "yes" ; then -  CFLAGS="$OLD_CFLAGS -pipe" -  OPTIMIZE="$OPTIMIZE -pipe" +     AC_MSG_RESULT(-pipe found)    else    AC_MSG_RESULT(-pipe not found)
135:    exit 1   fi    +    #############################################################################      AC_CONFIG_HEADER(machine.h)