aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 5 insertions, 3 deletions
diff --git a/configure b/configure
index 36a0af9e4f..7ac99d4fef 100755
--- a/configure
+++ b/configure
@@ -4179,9 +4179,11 @@ if test "$_libcurl" != "no"; then
LIBCURL_LIBS=`$_libcurlconfig --libs`
LIBCURL_CFLAGS=`$_libcurlconfig --cflags`
- if test "$_host" = "amigaos"; then
- append_var LIBCURL_LIBS "-lpthread"
- fi
+ case $_host_os in
+ amigaos*)
+ append_var LIBCURL_LIBS "-lpthread"
+ ;;
+ esac
if test "$_libcurl" = "auto"; then
_libcurl=no