rather than just generating code for this
processor family],
withcpu=$withval,
- withcpu=)
+ withcpu="")
AC_MSG_CHECKING(for CPU to optimize for)
case "$withcpu" in
PowerPC64)
AC_MSG_RESULT(PowerPC64)
- case $GXX_VERSION in
+ case "$GXX_VERSION" in
gcc*)
dnl Tune for this processor
CXXFLAGSG="$CXXFLAGSG -maix64"
LDFLAGS="$LDFLAGS -maix64"
dnl And we must always link with pthreads
- LIBS="$LIBS -lpthread
+ LIBS="$LIBS -lpthread"
;;
esac
;;
withval="$with_cpu"
withcpu=$withval
else
- withcpu=
+ withcpu=""
fi;
echo "$as_me:$LINENO: checking for CPU to optimize for" >&5
echo $ECHO_N "checking for CPU to optimize for... $ECHO_C" >&6
- case $withcpu in
+ case "$withcpu" in
PowerPC64)
echo "$as_me:$LINENO: result: PowerPC64" >&5
echo "${ECHO_T}PowerPC64" >&6
- case $GXX_VERSION in
+ case "$GXX_VERSION" in
gcc*)
CXXFLAGSG="$CXXFLAGSG -maix64"
CXXFLAGSO="$CXXFLAGSO -maix64 -mpowerpc64 -mcpu=powerpc64 -mtune=powerpc64"
AR="$AR -X 64"
LDFLAGS="$LDFLAGS -maix64"
- LIBS="$LIBS -lpthread
+ LIBS="$LIBS -lpthread"
;;
esac
;;
*)
echo "$as_me:$LINENO: result: none given or not recognized" >&5
echo "${ECHO_T}none given or not recognized" >&6
+ ;;
esac
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams