# | (__| |_| | _ <| |___
# \___|\___/|_| \_\_____|
#
-# Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
+# Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms
AC_DEFUN([CURL_RUN_IFELSE], [
case $host_os in
darwin*)
- old=$DYLD_LIBRARY_PATH
- DYLD_LIBRARY_PATH=$CURL_LIBRARY_PATH:$old
- export DYLD_LIBRARY_PATH
AC_RUN_IFELSE([AC_LANG_SOURCE([$1])], $2, $3, $4)
- DYLD_LIBRARY_PATH=$old # restore
;;
*)
old=$LD_LIBRARY_PATH