diff options
author | Memphis <memphis@machzwo.de> | 2011-09-29 17:46:45 +0200 |
---|---|---|
committer | Memphis <memphis@machzwo.de> | 2011-09-29 17:46:45 +0200 |
commit | bbd0cf3835e0dcc910bd83f09e8bd426110519a1 (patch) | |
tree | 0d5bab85d6960d49074997f6c49694da3397349d /configure.in | |
parent | 08924336dbf2f60216f8efe33974027896f84e34 (diff) |
[change] - allow afp support detection for linux aswell
Diffstat (limited to 'configure.in')
-rwxr-xr-x | configure.in | 30 |
1 files changed, 13 insertions, 17 deletions
diff --git a/configure.in b/configure.in index 845288daca..08ef959902 100755 --- a/configure.in +++ b/configure.in @@ -996,26 +996,22 @@ fi # libafpclient USE_LIBAFPCLIENT=0 -if test "$host_vendor" = "apple" ; then - if test "x$use_libafpclient" != "xno"; then - AC_CHECK_HEADERS([afpfs-ng/libafpclient.h],, - [if test "x$use_libafpclient" = "xyes"; then - AC_MSG_ERROR($libafpclient_not_found) - elif test "x$use_libafpclient" != "xno"; then - AC_MSG_NOTICE($libafpclient_not_found) - use_libafpclient="no" - fi - ]) - if test "x$use_libafpclient" != "xno"; then - XB_FIND_SONAME([AFPCLIENT], [afpclient], [use_libafpclient]) - AC_DEFINE([HAVE_LIBAFPCLIENT], [1], [Whether to use libafpclient library.]) - USE_LIBAFPCLIENT=1 +if test "x$use_libafpclient" != "xno"; then + AC_CHECK_HEADERS([afpfs-ng/libafpclient.h],, + [if test "x$use_libafpclient" = "xyes"; then + AC_MSG_ERROR($libafpclient_not_found) + elif test "x$use_libafpclient" != "xno"; then + AC_MSG_NOTICE($libafpclient_not_found) + use_libafpclient="no" fi - else - AC_MSG_NOTICE($libafpclient_disabled) + ]) + if test "x$use_libafpclient" != "xno"; then + XB_FIND_SONAME([AFPCLIENT], [afpclient], [use_libafpclient]) + AC_DEFINE([HAVE_LIBAFPCLIENT], [1], [Whether to use libafpclient library.]) + USE_LIBAFPCLIENT=1 fi else - use_libafpclient="no" + AC_MSG_NOTICE($libafpclient_disabled) fi # libplist for airplay feature |