summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2002-01-28 15:08:56 +0000
committerjbj <devnull@localhost>2002-01-28 15:08:56 +0000
commit9b1df115e358f4925015f8ca4742cb7aa3fcffb5 (patch)
treefaf8f6b0355e8e913a80ba2b8a534ea48f2b15bf
parent69e97f28a018b37580e1d6daad02a38875592f92 (diff)
downloadlibrpm-tizen-9b1df115e358f4925015f8ca4742cb7aa3fcffb5.tar.gz
librpm-tizen-9b1df115e358f4925015f8ca4742cb7aa3fcffb5.tar.bz2
librpm-tizen-9b1df115e358f4925015f8ca4742cb7aa3fcffb5.zip
Teach autogen.sh about beecrypt.
Use rpm optflags when compiling beecrypt. CVS patchset: 5275 CVS date: 2002/01/28 15:08:56
-rwxr-xr-xautogen.sh1
-rw-r--r--beecrypt/config.gnu.h.in4
-rw-r--r--beecrypt/configure.in17
3 files changed, 12 insertions, 10 deletions
diff --git a/autogen.sh b/autogen.sh
index 8dc5cb21a..5a09e3a4c 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -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
diff --git a/beecrypt/config.gnu.h.in b/beecrypt/config.gnu.h.in
index bf2818f3b..d33dbd846 100644
--- a/beecrypt/config.gnu.h.in
+++ b/beecrypt/config.gnu.h.in
@@ -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
diff --git a/beecrypt/configure.in b/beecrypt/configure.in
index 2b060427b..e6adfe226 100644
--- a/beecrypt/configure.in
+++ b/beecrypt/configure.in
@@ -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