llvm.org GIT mirror llvm / c232a65
Put the path to the Graphviz program in the #defines so it can be used. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22430 91177308-0d34-0410-b5e6-96231b3b80d8 Reid Spencer 15 years ago
3 changed file(s) with 43 addition(s) and 33 deletion(s). Raw diff Collapse all Expand all
303303 AC_PATH_PROG(RM, [rm], [rm])
304304 AC_PATH_PROG(SED, [sed], [sed])
305305 AC_PATH_PROG(TAR, [tar], [gtar])
306 AC_PATH_PROG(GRAPHVIZ, [Graphviz], [echo GraphViz])
307 if test "$GRAPHVIZ" != "echo GraphViz" ; then
306 AC_PATH_PROG(GRAPHVIZ, [Graphviz], [echo Graphviz])
307 if test "$GRAPHVIZ" != "echo Graphviz" ; then
308308 AC_DEFINE([HAVE_GRAPHVIZ],[1],[Define if the Graphviz program is available])
309 AC_DEFINE([LLVM_PATH_GRAPHVIZ],"$GRAPHVIZ",
310 [Define to path to Graphviz program if found or 'echo Graphviz' otherwise])
309311 fi
310312
311313 dnl Find the install program
50795079 done
50805080 done
50815081
5082 test -z "$ac_cv_path_GRAPHVIZ" && ac_cv_path_GRAPHVIZ="echo GraphViz"
5082 test -z "$ac_cv_path_GRAPHVIZ" && ac_cv_path_GRAPHVIZ="echo Graphviz"
50835083 ;;
50845084 esac
50855085 fi
50935093 echo "${ECHO_T}no" >&6
50945094 fi
50955095
5096 if test "$GRAPHVIZ" != "echo GraphViz" ; then
5096 if test "$GRAPHVIZ" != "echo Graphviz" ; then
50975097
50985098 cat >>confdefs.h <<\_ACEOF
50995099 #define HAVE_GRAPHVIZ 1
5100 _ACEOF
5101
5102
5103 cat >>confdefs.h <<\_ACEOF
5104 #define LLVM_PATH_GRAPHVIZ "$GRAPHVIZ"
51005105 _ACEOF
51015106
51025107 fi
82758280 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
82768281 lt_status=$lt_dlunknown
82778282 cat > conftest.$ac_ext <
8278 #line 8279 "configure"
8283 #line 8284 "configure"
82798284 #include "confdefs.h"
82808285
82818286 #if HAVE_DLFCN_H
1026610271 ;;
1026710272 *-*-irix6*)
1026810273 # Find out which ABI we are using.
10269 echo '#line 10270 "configure"' > conftest.$ac_ext
10274 echo '#line 10275 "configure"' > conftest.$ac_ext
1027010275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1027110276 (eval $ac_compile) 2>&5
1027210277 ac_status=$?
1075110756
1075210757
1075310758 # Provide some information about the compiler.
10754 echo "$as_me:10755:" \
10759 echo "$as_me:10760:" \
1075510760 "checking for Fortran 77 compiler version" >&5
1075610761 ac_compiler=`set X $ac_compile; echo $2`
1075710762 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5
1180811813 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
1180911814 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1181011815 -e 's:$: $lt_compiler_flag:'`
11811 (eval echo "\"\$as_me:11812: $lt_compile\"" >&5)
11816 (eval echo "\"\$as_me:11817: $lt_compile\"" >&5)
1181211817 (eval "$lt_compile" 2>conftest.err)
1181311818 ac_status=$?
1181411819 cat conftest.err >&5
11815 echo "$as_me:11816: \$? = $ac_status" >&5
11820 echo "$as_me:11821: \$? = $ac_status" >&5
1181611821 if (exit $ac_status) && test -s "$ac_outfile"; then
1181711822 # The compiler can only warn and ignore the option if not recognized
1181811823 # So say no if there are warnings
1205112056 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
1205212057 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1205312058 -e 's:$: $lt_compiler_flag:'`
12054 (eval echo "\"\$as_me:12055: $lt_compile\"" >&5)
12059 (eval echo "\"\$as_me:12060: $lt_compile\"" >&5)
1205512060 (eval "$lt_compile" 2>conftest.err)
1205612061 ac_status=$?
1205712062 cat conftest.err >&5
12058 echo "$as_me:12059: \$? = $ac_status" >&5
12063 echo "$as_me:12064: \$? = $ac_status" >&5
1205912064 if (exit $ac_status) && test -s "$ac_outfile"; then
1206012065 # The compiler can only warn and ignore the option if not recognized
1206112066 # So say no if there are warnings
1211112116 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
1211212117 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1211312118 -e 's:$: $lt_compiler_flag:'`
12114 (eval echo "\"\$as_me:12115: $lt_compile\"" >&5)
12119 (eval echo "\"\$as_me:12120: $lt_compile\"" >&5)
1211512120 (eval "$lt_compile" 2>out/conftest.err)
1211612121 ac_status=$?
1211712122 cat out/conftest.err >&5
12118 echo "$as_me:12119: \$? = $ac_status" >&5
12123 echo "$as_me:12124: \$? = $ac_status" >&5
1211912124 if (exit $ac_status) && test -s out/conftest2.$ac_objext
1212012125 then
1212112126 # The compiler can only warn and ignore the option if not recognized
1429614301 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1429714302 lt_status=$lt_dlunknown
1429814303 cat > conftest.$ac_ext <
14299 #line 14300 "configure"
14304 #line 14305 "configure"
1430014305 #include "confdefs.h"
1430114306
1430214307 #if HAVE_DLFCN_H
1439414399 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1439514400 lt_status=$lt_dlunknown
1439614401 cat > conftest.$ac_ext <
14397 #line 14398 "configure"
14402 #line 14403 "configure"
1439814403 #include "confdefs.h"
1439914404
1440014405 #if HAVE_DLFCN_H
1658716592 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
1658816593 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1658916594 -e 's:$: $lt_compiler_flag:'`
16590 (eval echo "\"\$as_me:16591: $lt_compile\"" >&5)
16595 (eval echo "\"\$as_me:16596: $lt_compile\"" >&5)
1659116596 (eval "$lt_compile" 2>conftest.err)
1659216597 ac_status=$?
1659316598 cat conftest.err >&5
16594 echo "$as_me:16595: \$? = $ac_status" >&5
16599 echo "$as_me:16600: \$? = $ac_status" >&5
1659516600 if (exit $ac_status) && test -s "$ac_outfile"; then
1659616601 # The compiler can only warn and ignore the option if not recognized
1659716602 # So say no if there are warnings
1664716652 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
1664816653 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1664916654 -e 's:$: $lt_compiler_flag:'`
16650 (eval echo "\"\$as_me:16651: $lt_compile\"" >&5)
16655 (eval echo "\"\$as_me:16656: $lt_compile\"" >&5)
1665116656 (eval "$lt_compile" 2>out/conftest.err)
1665216657 ac_status=$?
1665316658 cat out/conftest.err >&5
16654 echo "$as_me:16655: \$? = $ac_status" >&5
16659 echo "$as_me:16660: \$? = $ac_status" >&5
1665516660 if (exit $ac_status) && test -s out/conftest2.$ac_objext
1665616661 then
1665716662 # The compiler can only warn and ignore the option if not recognized
1800818013 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1800918014 lt_status=$lt_dlunknown
1801018015 cat > conftest.$ac_ext <
18011 #line 18012 "configure"
18016 #line 18017 "configure"
1801218017 #include "confdefs.h"
1801318018
1801418019 #if HAVE_DLFCN_H
1810618111 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1810718112 lt_status=$lt_dlunknown
1810818113 cat > conftest.$ac_ext <
18109 #line 18110 "configure"
18114 #line 18115 "configure"
1811018115 #include "confdefs.h"
1811118116
1811218117 #if HAVE_DLFCN_H
1894318948 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
1894418949 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1894518950 -e 's:$: $lt_compiler_flag:'`
18946 (eval echo "\"\$as_me:18947: $lt_compile\"" >&5)
18951 (eval echo "\"\$as_me:18952: $lt_compile\"" >&5)
1894718952 (eval "$lt_compile" 2>conftest.err)
1894818953 ac_status=$?
1894918954 cat conftest.err >&5
18950 echo "$as_me:18951: \$? = $ac_status" >&5
18955 echo "$as_me:18956: \$? = $ac_status" >&5
1895118956 if (exit $ac_status) && test -s "$ac_outfile"; then
1895218957 # The compiler can only warn and ignore the option if not recognized
1895318958 # So say no if there are warnings
1900319008 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
1900419009 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1900519010 -e 's:$: $lt_compiler_flag:'`
19006 (eval echo "\"\$as_me:19007: $lt_compile\"" >&5)
19011 (eval echo "\"\$as_me:19012: $lt_compile\"" >&5)
1900719012 (eval "$lt_compile" 2>out/conftest.err)
1900819013 ac_status=$?
1900919014 cat out/conftest.err >&5
19010 echo "$as_me:19011: \$? = $ac_status" >&5
19015 echo "$as_me:19016: \$? = $ac_status" >&5
1901119016 if (exit $ac_status) && test -s out/conftest2.$ac_objext
1901219017 then
1901319018 # The compiler can only warn and ignore the option if not recognized
2104221047 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
2104321048 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
2104421049 -e 's:$: $lt_compiler_flag:'`
21045 (eval echo "\"\$as_me:21046: $lt_compile\"" >&5)
21050 (eval echo "\"\$as_me:21051: $lt_compile\"" >&5)
2104621051 (eval "$lt_compile" 2>conftest.err)
2104721052 ac_status=$?
2104821053 cat conftest.err >&5
21049 echo "$as_me:21050: \$? = $ac_status" >&5
21054 echo "$as_me:21055: \$? = $ac_status" >&5
2105021055 if (exit $ac_status) && test -s "$ac_outfile"; then
2105121056 # The compiler can only warn and ignore the option if not recognized
2105221057 # So say no if there are warnings
2128521290 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
2128621291 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
2128721292 -e 's:$: $lt_compiler_flag:'`
21288 (eval echo "\"\$as_me:21289: $lt_compile\"" >&5)
21293 (eval echo "\"\$as_me:21294: $lt_compile\"" >&5)
2128921294 (eval "$lt_compile" 2>conftest.err)
2129021295 ac_status=$?
2129121296 cat conftest.err >&5
21292 echo "$as_me:21293: \$? = $ac_status" >&5
21297 echo "$as_me:21298: \$? = $ac_status" >&5
2129321298 if (exit $ac_status) && test -s "$ac_outfile"; then
2129421299 # The compiler can only warn and ignore the option if not recognized
2129521300 # So say no if there are warnings
2134521350 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
2134621351 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
2134721352 -e 's:$: $lt_compiler_flag:'`
21348 (eval echo "\"\$as_me:21349: $lt_compile\"" >&5)
21353 (eval echo "\"\$as_me:21354: $lt_compile\"" >&5)
2134921354 (eval "$lt_compile" 2>out/conftest.err)
2135021355 ac_status=$?
2135121356 cat out/conftest.err >&5
21352 echo "$as_me:21353: \$? = $ac_status" >&5
21357 echo "$as_me:21358: \$? = $ac_status" >&5
2135321358 if (exit $ac_status) && test -s out/conftest2.$ac_objext
2135421359 then
2135521360 # The compiler can only warn and ignore the option if not recognized
2353023535 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
2353123536 lt_status=$lt_dlunknown
2353223537 cat > conftest.$ac_ext <
23533 #line 23534 "configure"
23538 #line 23539 "configure"
2353423539 #include "confdefs.h"
2353523540
2353623541 #if HAVE_DLFCN_H
2362823633 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
2362923634 lt_status=$lt_dlunknown
2363023635 cat > conftest.$ac_ext <
23631 #line 23632 "configure"
23636 #line 23637 "configure"
2363223637 #include "confdefs.h"
2363323638
2363423639 #if HAVE_DLFCN_H
390390
391391 /* Define if this is Win32ish platform */
392392 #undef LLVM_ON_WIN32
393
394 /* Define to path to Graphviz program if found or 'echo Graphviz' otherwise */
395 #undef LLVM_PATH_GRAPHVIZ
393396
394397 /* Installation prefix directory */
395398 #undef LLVM_PREFIX