--- Frodo4/Src/configure.ac 2003/07/01 18:09:37 1.1 +++ Frodo4/Src/configure.ac 2003/07/01 19:30:24 1.4 @@ -1,6 +1,6 @@ dnl Process this file with autoconf to produce a configure script. -AC_INIT(Frodo, 4.2, [Christian.Bauer@uni-mainz.de]) +AC_INIT(Frodo, 4.2, [Christian.Bauer@uni-mainz.de], Frodo) AC_CONFIG_SRCDIR(main.cpp) AC_PREREQ(2.52) AC_CONFIG_HEADER(sysconfig.h) @@ -10,10 +10,11 @@ AC_PROG_CC AC_PROG_CXX AC_PROG_CPP AC_PROG_MAKE_SET +AC_PROG_INSTALL -dnl Don't want the default "-O2 -g" that autoconf uses for gcc. +dnl -fomit-frame-pointer makes things faster if [[ x"$GXX" = "xyes" ]]; then - CFLAGS="-O2 -g -fomit-frame-pointer -Wall -Wno-unused -Wno-format" + CFLAGS="$CFLAGS -fomit-frame-pointer -fno-exceptions" fi UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown @@ -150,8 +151,7 @@ fi rm -f conftest* if [[ "$HAVEGCC27" = "y" -a "$HAVEI386" = "y" ]]; then -# Don't want strength-reduce on the i386, makes the code slower usually. - CFLAGS="$CFLAGS -fno-strength-reduce -DREGPARAM=\"__attribute__((regparm(3)))\"" + CFLAGS="$CFLAGS -DREGPARAM=\"__attribute__((regparm(3)))\"" elif [[ "$TARGET" = "amigaos" ]]; then CFLAGS="$CFLAGS -DREGPARAM=\"__attribute__((regargs(4)))\" " else