Teach autogen.sh about beecrypt.

Use rpm optflags when compiling beecrypt.

CVS patchset: 5275
CVS date: 2002/01/28 15:08:56
This commit is contained in:
jbj 2002-01-28 15:08:56 +00:00
parent 69e97f28a0
commit 9b1df115e3
3 changed files with 12 additions and 10 deletions

View File

@ -22,6 +22,7 @@ recent versions of libtool/autoconf/automake.
(cd popt; ./autogen.sh --noconfigure "$@")
(cd zlib; ./autogen.sh --noconfigure "$@")
(cd beecrypt; ./autogen.sh --noconfigure "$@")
libtoolize --copy --force
aclocal
autoheader

View File

@ -193,12 +193,8 @@
#undef HAVE_LIBTHREAD
/* Name of package */
#if !defined(PACKAGE)
#undef PACKAGE
#endif
/* Version number of package */
#if !defined(VERSION)
#undef VERSION
#endif

View File

@ -424,16 +424,19 @@ else
CFLAGS="$CFLAGS -fomit-frame-pointer"
;;
i386)
CFLAGS="$CFLAGS -m386 -march=i386 -fomit-frame-pointer"
CFLAGS="$CFLAGS -mcpu=i386 -march=i386 -fomit-frame-pointer"
;;
i486)
CFLAGS="$CFLAGS -m486 -march=i486 -fomit-frame-pointer"
CFLAGS="$CFLAGS -mcpu=i386 -march=i486 -fomit-frame-pointer"
;;
i586)
CFLAGS="$CFLAGS -mpentium -march=pentium -fomit-frame-pointer"
CFLAGS="$CFLAGS -mcpu=i386 -march=i586 -fomit-frame-pointer"
;;
i686)
CFLAGS="$CFLAGS -mpentiumpro -march=pentiumpro -fomit-frame-pointer"
CFLAGS="$CFLAGS -mcpu=i386 -march=i686 -fomit-frame-pointer"
;;
sparc)
CFLAGS="$CFLAGS -m32 -mtune=ultrasparc"
;;
sparcv8)
CFLAGS="$CFLAGS -mv8"
@ -443,8 +446,10 @@ else
# CFLAGS="$CFLAGS -mv8plus"
# ;;
sparcv9*)
AC_MSG_WARN([gcc currently cannot build 64-bit objects])
CFLAGS="$CFLAGS -mcpu=v9 -m64 -mptr64"
CFLAGS="$CFLAGS -m32 -mcpu=ultrasparc"
;;
sparc64)
CFLAGS="$CFLAGS -m64 -mcpu=ultrasparc"
;;
esac
fi