aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorMemphis <memphis@machzwo.de>2011-09-29 17:46:45 +0200
committerMemphis <memphis@machzwo.de>2011-09-29 17:46:45 +0200
commitbbd0cf3835e0dcc910bd83f09e8bd426110519a1 (patch)
tree0d5bab85d6960d49074997f6c49694da3397349d /configure.in
parent08924336dbf2f60216f8efe33974027896f84e34 (diff)
[change] - allow afp support detection for linux aswell
Diffstat (limited to 'configure.in')
-rwxr-xr-xconfigure.in30
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