]> granicus.if.org Git - graphviz/commitdiff
fix to target_cpu v host_cpu canonicalization - reported by rc040203@freenet.de
authorellson <devnull@localhost>
Tue, 18 Oct 2005 19:06:21 +0000 (19:06 +0000)
committerellson <devnull@localhost>
Tue, 18 Oct 2005 19:06:21 +0000 (19:06 +0000)
configure.ac

index a081c49185e123da9662f7ebd3e5f543ff91e18d..0930cdde082cca27e9bdfd54b691ec172dbff8aa 100644 (file)
@@ -47,13 +47,10 @@ AM_CONDITIONAL(DISABLE_LTDL, [test "x$enable_ltdl" = "xno"])
 AC_SUBST(INCLTDL)
 AC_SUBST(LIBLTDL)
 
-# Checks for system type
-AC_CANONICAL_TARGET
-
 LIBPOSTFIX=
-case "${target_os}" in
+case "${host_os}" in
   *linux* )
-    case "${target_cpu}" in
+    case "${host_cpu}" in
       powerpc64 | s390x | x86_64 )
         LIBPOSTFIX="64"
         ;;
@@ -64,7 +61,7 @@ esac
 CYGWIN=no
 MINGW32=no
 DARWIN=no
-case "${target_os}" in
+case "${host_os}" in
   *cygwin* )
        CYGWIN=yes
        DEFAULT_FONTPATH="C:/WINDOWS/FONTS;C:/WINNT/Fonts;C:/winnt/fonts"