fix for ppc and ppc64 build failure

This commit is contained in:
soochoi 2006-03-15 20:28:09 +00:00
parent b6ff2610b2
commit f52a96055f

View File

@ -21,7 +21,7 @@
AC_INIT(auth_token/linux/auth_token.c)
AC_CANONICAL_SYSTEM
AM_INIT_AUTOMAKE(CASA, 1.6.399)
AM_INIT_AUTOMAKE(CASA, 1.6.408)
RELEASE=`date +%Y%m%d_%H%M`
AC_SUBST(RELEASE)
AM_MAINTAINER_MODE
@ -93,16 +93,14 @@ AC_SUBST(SPACE)
# Check for a valid operating system
#
case $host_os in
linux*)
TARGET_OS='linux'
;;
cygwin*)
TARGET_OS='windows'
;;
*)
AC_MSG_ERROR([Unknown host_os: $host_os])
TARGET_OS='linux'
;;
esac
AC_SUBST(TARGET_OS)
AM_CONDITIONAL(LINUX, test "$TARGET_OS" = "linux")
AM_CONDITIONAL(WINDOWS, test "$TARGET_OS" = "windows")
@ -111,14 +109,11 @@ AM_CONDITIONAL(WINDOWS, test "$TARGET_OS" = "windows")
#
# Check for architecture
case $target_cpu in
x86_64*)
*64*)
TARGET_ARCH='X86'
;;
i*86)
TARGET_ARCH='I586'
;;
*)
AC_MSG_ERROR([Unknown host_os: $target_cpu])
TARGET_ARCH='I586'
;;
esac