Imported Upstream version 3.1.0
[debian/amanda] / config / amanda / swig.m4
index 483306d917d8dd6e06edf995cdf6d898e4a3af7f..ee579753db5d4ec36d5d8d47f3caf4b5cf11a51f 100644 (file)
@@ -30,7 +30,7 @@ AC_DEFUN([AMANDA_SETUP_SWIG],
        AC_MSG_ERROR([*** Amanda cannot be compiled without shared-library support (do not use --disable-shared)])
     fi
 
-    case "$target" in
+    case "$host" in
        *freebsd@<:@123456@:>@*) # up to and including FreeBSD 6.*
            # Before 7.0, FreeBSD systems don't include a DT_NEEDS segment in
            # libgthread to automatically pull in the desired threading library.