This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Disabling optimization


Hello,

On Wed, Nov 17, 2004 at 08:01:45PM -0500, Braden McDaniel wrote:
>         if test -n "${CXXFLAGS}"; then
>           user_set_cxxflags=yes
>         fi
>         AC_PROG_CXX
>         if test X$user_set_cxxflags != Xyes; then
>           CXXFLAGS="-g"
>         fi

out of curiosity, what would be wrong with the following?

        if test -n "${CXXFLAGS}"; then
          CXXFLAGS="-g"
        fi
        AC_PROG_CXX

Thanks,
	Stepan Kasal



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]