From ccf55719102d3a0c2933aceb3c370b8d06d1456a Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 27 Sep 2004 18:29:11 -0400 Subject: fixed a serious problem that prevented environment settings from being read --- acprep | 2 +- option.cc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/acprep b/acprep index 81a4a853..36193dea 100755 --- a/acprep +++ b/acprep @@ -29,7 +29,7 @@ elif [ "$1" = "--flat-opt" ]; then elif [ "$1" = "--safe-opt" ]; then ./configure CPPFLAGS="$INCDIRS" LDFLAGS="$LIBDIRS" \ CXXFLAGS="-fomit-frame-pointer -fastf -mcpu=7450 -DDEBUG_LEVEL=1" \ - --disable-shared + --enable-python --disable-shared elif [ "$1" = "--perf" ]; then ./configure CPPFLAGS="$INCDIRS" LDFLAGS="$LIBDIRS" CXXFLAGS="-g -pg" fi diff --git a/option.cc b/option.cc index b34a972b..b04865bc 100644 --- a/option.cc +++ b/option.cc @@ -155,9 +155,9 @@ void process_environment(std::list& options, *q && *q != '=' && r - buf < 128; q++) if (*q == '_') - *r++ += '-'; + *r++ = '-'; else - *r++ += std::tolower(*q); + *r++ = std::tolower(*q); *r = '\0'; if (*q == '=') -- cgit v1.2.3