llvm.org GIT mirror llvm / 28783c3
'==' is not a legal test operator on BSD. Use '='. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33126 91177308-0d34-0410-b5e6-96231b3b80d8 Jeff Cohen 12 years ago
2 changed file(s) with 12 addition(s) and 12 deletion(s). Raw diff Collapse all Expand all
443443 if test "$GRAPHVIZ" != "echo Graphviz" ; then
444444 AC_DEFINE([HAVE_GRAPHVIZ],[1],[Define if the Graphviz program is available])
445445 dnl If we're targeting for mingw we should emit windows paths, not msys
446 if test "$llvm_cv_os_type" == "MingW" ; then
446 if test "$llvm_cv_os_type" = "MingW" ; then
447447 GRAPHVIZ=`echo $GRAPHVIZ | sed 's/^\/\([[A-Za-z]]\)\//\1:\//' `
448448 fi
449449 AC_DEFINE_UNQUOTED([LLVM_PATH_GRAPHVIZ],"$GRAPHVIZ${EXEEXT}",
453453 if test "$DOT" != "echo dot" ; then
454454 AC_DEFINE([HAVE_DOT],[1],[Define if the dot program is available])
455455 dnl If we're targeting for mingw we should emit windows paths, not msys
456 if test "$llvm_cv_os_type" == "MingW" ; then
456 if test "$llvm_cv_os_type" = "MingW" ; then
457457 DOT=`echo $DOT | sed 's/^\/\([[A-Za-z]]\)\//\1:\//' `
458458 fi
459459 AC_DEFINE_UNQUOTED([LLVM_PATH_DOT],"$DOT${EXEEXT}",
463463 if test "$GV" != "echo gv" ; then
464464 AC_DEFINE([HAVE_GV],[1],[Define if the gv program is available])
465465 dnl If we're targeting for mingw we should emit windows paths, not msys
466 if test "$llvm_cv_os_type" == "MingW" ; then
466 if test "$llvm_cv_os_type" = "MingW" ; then
467467 GV=`echo $GV | sed 's/^\/\([[A-Za-z]]\)\//\1:\//' `
468468 fi
469469 AC_DEFINE_UNQUOTED([LLVM_PATH_GV],"$GV${EXEEXT}",
473473 if test "$DOTTY" != "echo dotty" ; then
474474 AC_DEFINE([HAVE_DOTTY],[1],[Define if the dotty program is available])
475475 dnl If we're targeting for mingw we should emit windows paths, not msys
476 if test "$llvm_cv_os_type" == "MingW" ; then
476 if test "$llvm_cv_os_type" = "MingW" ; then
477477 DOTTY=`echo $DOTTY | sed 's/^\/\([[A-Za-z]]\)\//\1:\//' `
478478 fi
479479 AC_DEFINE_UNQUOTED([LLVM_PATH_DOTTY],"$DOTTY${EXEEXT}",
599599 dnl libelf is for sparc only; we can ignore it if we don't have it
600600 AC_CHECK_LIB(elf, elf_begin)
601601 AC_CHECK_LIB(m,sin)
602 if test "$llvm_cv_os_type" == "MingW" ; then
602 if test "$llvm_cv_os_type" = "MingW" ; then
603603 AC_CHECK_LIB(imagehlp, main)
604604 AC_CHECK_LIB(psapi, main)
605605 fi
757757 # Translate the various configuration directories and other basic
758758 # information into substitutions that will end up in Makefile.config.in
759759 # that these configured values can be used by the makefiles
760 if test "${prefix}" == "NONE" ; then
760 if test "${prefix}" = "NONE" ; then
761761 prefix="/usr/local"
762762 fi
763763 eval LLVM_PREFIX="${prefix}";
71187118 #define HAVE_GRAPHVIZ 1
71197119 _ACEOF
71207120
7121 if test "$llvm_cv_os_type" == "MingW" ; then
7121 if test "$llvm_cv_os_type" = "MingW" ; then
71227122 GRAPHVIZ=`echo $GRAPHVIZ | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
71237123 fi
71247124
71747174 #define HAVE_DOT 1
71757175 _ACEOF
71767176
7177 if test "$llvm_cv_os_type" == "MingW" ; then
7177 if test "$llvm_cv_os_type" = "MingW" ; then
71787178 DOT=`echo $DOT | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
71797179 fi
71807180
72357235 #define HAVE_GV 1
72367236 _ACEOF
72377237
7238 if test "$llvm_cv_os_type" == "MingW" ; then
7238 if test "$llvm_cv_os_type" = "MingW" ; then
72397239 GV=`echo $GV | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
72407240 fi
72417241
72917291 #define HAVE_DOTTY 1
72927292 _ACEOF
72937293
7294 if test "$llvm_cv_os_type" == "MingW" ; then
7294 if test "$llvm_cv_os_type" = "MingW" ; then
72957295 DOTTY=`echo $DOTTY | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
72967296 fi
72977297
2689826898
2689926899 fi
2690026900
26901 if test "$llvm_cv_os_type" == "MingW" ; then
26901 if test "$llvm_cv_os_type" = "MingW" ; then
2690226902
2690326903 { echo "$as_me:$LINENO: checking for main in -limagehlp" >&5
2690426904 echo $ECHO_N "checking for main in -limagehlp... $ECHO_C" >&6; }
3334233342 # Translate the various configuration directories and other basic
3334333343 # information into substitutions that will end up in Makefile.config.in
3334433344 # that these configured values can be used by the makefiles
33345 if test "${prefix}" == "NONE" ; then
33345 if test "${prefix}" = "NONE" ; then
3334633346 prefix="/usr/local"
3334733347 fi
3334833348 eval LLVM_PREFIX="${prefix}";