X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=config%2Famanda%2Flibs.m4;h=e22038f5eb94e288f8525568277340ca9a029de6;hb=fd48f3e498442f0cbff5f3606c7c403d0566150e;hp=1c3ae6cb92ee06dafc3c7e87fed0f8c122ff3bf2;hpb=96f35b20267e8b1a1c846d476f27fcd330e0b018;p=debian%2Famanda diff --git a/config/amanda/libs.m4 b/config/amanda/libs.m4 index 1c3ae6c..e22038f 100644 --- a/config/amanda/libs.m4 +++ b/config/amanda/libs.m4 @@ -17,7 +17,7 @@ # the libcurl distribution for details. # AC_DEFUN([AMANDA_CHECK_LIBCURL], [ - case "$target" in + case "$host" in sparc-sun-solaris2.10) # Solaris 10 # curl is not in the LD_LIBRARY_PATH on Solaris 10, so we search # for it in a few common paths; we then extract the -L flags and @@ -76,7 +76,7 @@ AC_DEFUN([AMANDA_CHECK_HMAC], [ # AC_DEFUN([AMANDA_CHECK_NET_LIBS], [ # Make sure we don't use -lnsl and -lsun on Irix systems. - case "$target" in + case "$host" in *sgi-irix*) AC_CHECK_LIB(socket,main) ;; @@ -104,7 +104,7 @@ AC_DEFUN([AMANDA_CHECK_GLIB], [ # system-specific search paths. AC_PATH_PROG(PKG_CONFIG, pkg-config, [], $LOCSYSPATH:/opt/csw/bin:/usr/local/bin:/opt/local/bin) - case "$target" in + case "$host" in sparc-sun-solaris2.8) # Solaris 8 # give the linker a runtime search path; pkg-config doesn't supply this. # Users could also specify this with LD_LIBRARY_PATH to both ./configure