'==' is not a legal test operator on BSD. Use '='.

llvm-svn: 33126
This commit is contained in:
Jeff Cohen 2007-01-12 18:22:38 +00:00
parent 0fd2b9f5c0
commit c5e5b27573
2 changed files with 12 additions and 12 deletions

View File

@ -444,7 +444,7 @@ AC_PATH_PROG(GRAPHVIZ, [Graphviz], [echo Graphviz])
if test "$GRAPHVIZ" != "echo Graphviz" ; then
AC_DEFINE([HAVE_GRAPHVIZ],[1],[Define if the Graphviz program is available])
dnl If we're targeting for mingw we should emit windows paths, not msys
if test "$llvm_cv_os_type" == "MingW" ; then
if test "$llvm_cv_os_type" = "MingW" ; then
GRAPHVIZ=`echo $GRAPHVIZ | sed 's/^\/\([[A-Za-z]]\)\//\1:\//' `
fi
AC_DEFINE_UNQUOTED([LLVM_PATH_GRAPHVIZ],"$GRAPHVIZ${EXEEXT}",
@ -454,7 +454,7 @@ AC_PATH_PROG(DOT, [dot], [echo dot])
if test "$DOT" != "echo dot" ; then
AC_DEFINE([HAVE_DOT],[1],[Define if the dot program is available])
dnl If we're targeting for mingw we should emit windows paths, not msys
if test "$llvm_cv_os_type" == "MingW" ; then
if test "$llvm_cv_os_type" = "MingW" ; then
DOT=`echo $DOT | sed 's/^\/\([[A-Za-z]]\)\//\1:\//' `
fi
AC_DEFINE_UNQUOTED([LLVM_PATH_DOT],"$DOT${EXEEXT}",
@ -464,7 +464,7 @@ AC_PATH_PROGS(GV, [gv gsview32], [echo gv])
if test "$GV" != "echo gv" ; then
AC_DEFINE([HAVE_GV],[1],[Define if the gv program is available])
dnl If we're targeting for mingw we should emit windows paths, not msys
if test "$llvm_cv_os_type" == "MingW" ; then
if test "$llvm_cv_os_type" = "MingW" ; then
GV=`echo $GV | sed 's/^\/\([[A-Za-z]]\)\//\1:\//' `
fi
AC_DEFINE_UNQUOTED([LLVM_PATH_GV],"$GV${EXEEXT}",
@ -474,7 +474,7 @@ AC_PATH_PROG(DOTTY, [dotty], [echo dotty])
if test "$DOTTY" != "echo dotty" ; then
AC_DEFINE([HAVE_DOTTY],[1],[Define if the dotty program is available])
dnl If we're targeting for mingw we should emit windows paths, not msys
if test "$llvm_cv_os_type" == "MingW" ; then
if test "$llvm_cv_os_type" = "MingW" ; then
DOTTY=`echo $DOTTY | sed 's/^\/\([[A-Za-z]]\)\//\1:\//' `
fi
AC_DEFINE_UNQUOTED([LLVM_PATH_DOTTY],"$DOTTY${EXEEXT}",
@ -600,7 +600,7 @@ dnl===-----------------------------------------------------------------------===
dnl libelf is for sparc only; we can ignore it if we don't have it
AC_CHECK_LIB(elf, elf_begin)
AC_CHECK_LIB(m,sin)
if test "$llvm_cv_os_type" == "MingW" ; then
if test "$llvm_cv_os_type" = "MingW" ; then
AC_CHECK_LIB(imagehlp, main)
AC_CHECK_LIB(psapi, main)
fi
@ -758,7 +758,7 @@ AC_SUBST(SHLIBEXT,$libltdl_cv_shlibext)
# Translate the various configuration directories and other basic
# information into substitutions that will end up in Makefile.config.in
# that these configured values can be used by the makefiles
if test "${prefix}" == "NONE" ; then
if test "${prefix}" = "NONE" ; then
prefix="/usr/local"
fi
eval LLVM_PREFIX="${prefix}";

12
llvm/configure vendored
View File

@ -7119,7 +7119,7 @@ cat >>confdefs.h <<\_ACEOF
#define HAVE_GRAPHVIZ 1
_ACEOF
if test "$llvm_cv_os_type" == "MingW" ; then
if test "$llvm_cv_os_type" = "MingW" ; then
GRAPHVIZ=`echo $GRAPHVIZ | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
fi
@ -7175,7 +7175,7 @@ cat >>confdefs.h <<\_ACEOF
#define HAVE_DOT 1
_ACEOF
if test "$llvm_cv_os_type" == "MingW" ; then
if test "$llvm_cv_os_type" = "MingW" ; then
DOT=`echo $DOT | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
fi
@ -7236,7 +7236,7 @@ cat >>confdefs.h <<\_ACEOF
#define HAVE_GV 1
_ACEOF
if test "$llvm_cv_os_type" == "MingW" ; then
if test "$llvm_cv_os_type" = "MingW" ; then
GV=`echo $GV | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
fi
@ -7292,7 +7292,7 @@ cat >>confdefs.h <<\_ACEOF
#define HAVE_DOTTY 1
_ACEOF
if test "$llvm_cv_os_type" == "MingW" ; then
if test "$llvm_cv_os_type" = "MingW" ; then
DOTTY=`echo $DOTTY | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
fi
@ -26899,7 +26899,7 @@ _ACEOF
fi
if test "$llvm_cv_os_type" == "MingW" ; then
if test "$llvm_cv_os_type" = "MingW" ; then
{ echo "$as_me:$LINENO: checking for main in -limagehlp" >&5
echo $ECHO_N "checking for main in -limagehlp... $ECHO_C" >&6; }
@ -33343,7 +33343,7 @@ SHLIBEXT=$libltdl_cv_shlibext
# Translate the various configuration directories and other basic
# information into substitutions that will end up in Makefile.config.in
# that these configured values can be used by the makefiles
if test "${prefix}" == "NONE" ; then
if test "${prefix}" = "NONE" ; then
prefix="/usr/local"
fi
eval LLVM_PREFIX="${prefix}";