1 |
|
dnl Process this file with autoconf to produce a configure script. |
2 |
|
|
3 |
< |
AC_INIT(Frodo, 4.2, [Christian.Bauer@uni-mainz.de]) |
3 |
> |
AC_INIT(Frodo, 4.2, [Christian.Bauer@uni-mainz.de], Frodo) |
4 |
|
AC_CONFIG_SRCDIR(main.cpp) |
5 |
|
AC_PREREQ(2.52) |
6 |
|
AC_CONFIG_HEADER(sysconfig.h) |
10 |
|
AC_PROG_CXX |
11 |
|
AC_PROG_CPP |
12 |
|
AC_PROG_MAKE_SET |
13 |
+ |
AC_PROG_INSTALL |
14 |
|
|
15 |
< |
dnl Don't want the default "-O2 -g" that autoconf uses for gcc. |
15 |
> |
dnl -fomit-frame-pointer makes things faster |
16 |
|
if [[ x"$GXX" = "xyes" ]]; then |
17 |
< |
CFLAGS="-O2 -g -fomit-frame-pointer -Wall -Wno-unused -Wno-format" |
17 |
> |
CFLAGS="$CFLAGS -fomit-frame-pointer -fno-exceptions" |
18 |
|
fi |
19 |
|
|
20 |
|
UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown |
151 |
|
rm -f conftest* |
152 |
|
|
153 |
|
if [[ "$HAVEGCC27" = "y" -a "$HAVEI386" = "y" ]]; then |
154 |
< |
# Don't want strength-reduce on the i386, makes the code slower usually. |
154 |
< |
CFLAGS="$CFLAGS -fno-strength-reduce -DREGPARAM=\"__attribute__((regparm(3)))\"" |
154 |
> |
CFLAGS="$CFLAGS -DREGPARAM=\"__attribute__((regparm(3)))\"" |
155 |
|
elif [[ "$TARGET" = "amigaos" ]]; then |
156 |
|
CFLAGS="$CFLAGS -DREGPARAM=\"__attribute__((regargs(4)))\" " |
157 |
|
else |