mirror of
https://github.com/reactos/wine.git
synced 2025-02-10 14:23:52 +00:00
Fixed FreeBDS xpg4 check.
This commit is contained in:
parent
f34f418926
commit
66fb6075aa
10
configure
vendored
10
configure
vendored
@ -2741,9 +2741,9 @@ fi
|
||||
fi
|
||||
done
|
||||
|
||||
echo $ac_n "checking for setrunelocale in -lxpg4""... $ac_c" 1>&6
|
||||
echo "configure:2746: checking for setrunelocale in -lxpg4" >&5
|
||||
ac_lib_var=`echo xpg4'_'setrunelocale | sed 'y%./+-%__p_%'`
|
||||
echo $ac_n "checking for _xpg4_setrunelocale in -lxpg4""... $ac_c" 1>&6
|
||||
echo "configure:2746: checking for _xpg4_setrunelocale in -lxpg4" >&5
|
||||
ac_lib_var=`echo xpg4'_'_xpg4_setrunelocale | sed 'y%./+-%__p_%'`
|
||||
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
@ -2755,10 +2755,10 @@ cat > conftest.$ac_ext <<EOF
|
||||
/* Override any gcc2 internal prototype to avoid an error. */
|
||||
/* We use char because int might match the return type of a gcc2
|
||||
builtin and then its argument prototype would still apply. */
|
||||
char setrunelocale();
|
||||
char _xpg4_setrunelocale();
|
||||
|
||||
int main() {
|
||||
setrunelocale()
|
||||
_xpg4_setrunelocale()
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:2765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
|
@ -104,7 +104,7 @@ AC_CHECK_FUNCS(gethostbyname,,AC_CHECK_LIB(nsl,gethostbyname))
|
||||
dnl Check for -lsocket for Solaris
|
||||
AC_CHECK_FUNCS(connect,,AC_CHECK_LIB(socket,connect))
|
||||
dnl Check for -lxpg4 for FreeBSD
|
||||
AC_CHECK_LIB(xpg4,setrunelocale)
|
||||
AC_CHECK_LIB(xpg4,_xpg4_setrunelocale)
|
||||
dnl Check for -lmmap for OS/2
|
||||
AC_CHECK_LIB(mmap,mmap)
|
||||
dnl Check for openpty
|
||||
|
Loading…
x
Reference in New Issue
Block a user