configure: Added a WINE_CHECK_LIB_FUNCS macro to check for functions
when linking with specific libraries.
diff --git a/configure b/configure
index 5e8852a..daee535 100755
--- a/configure
+++ b/configure
@@ -9757,8 +9757,8 @@
fi
- ac_save_LIBS="$LIBS"
- LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
+ ac_wine_check_funcs_save_LIBS="$LIBS"
+LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
@@ -9867,7 +9867,7 @@
fi
done
- LIBS="$ac_save_LIBS"
+LIBS="$ac_wine_check_funcs_save_LIBS"
fi
FREETYPELIBS=""
@@ -10567,7 +10567,7 @@
fi
-ac_save_LIBS="$LIBS"
+ac_wine_check_funcs_save_LIBS="$LIBS"
LIBS="$LIBS $LIBPTHREAD"
@@ -10575,8 +10575,7 @@
for ac_func in \
pthread_getattr_np \
pthread_get_stackaddr_np \
- pthread_get_stacksize_np \
-
+ pthread_get_stacksize_np
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $ac_func" >&5
@@ -10676,7 +10675,7 @@
fi
done
-LIBS="$ac_save_LIBS"
+LIBS="$ac_wine_check_funcs_save_LIBS"
# Extract the first word of "artsc-config", so it can be a program name with args.
set dummy artsc-config; ac_word=$2