Dynamic X11 build broken since the configure move. Fix after Mark Hessling.

This commit is contained in:
William McBrine
2018-01-26 13:42:54 -05:00
parent 719d1b81ff
commit bf4c9d3a58
2 changed files with 9 additions and 4 deletions

8
x11/configure vendored
View File

@@ -3799,7 +3799,9 @@ fi
for ac_header in fcntl.h \
sys/time.h \
sys/select.h
sys/select.h \
dlfcn.h \
dl.h
do :
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
@@ -4650,7 +4652,7 @@ if test "$DYN_COMP" = ""; then
$as_echo_n "checking compiler flags for a dynamic object... " >&6; }
cat > conftest.$ac_ext <<EOF
#line 4653 "configure"
#line 4655 "configure"
int a=0
EOF
@@ -4689,7 +4691,7 @@ $as_echo "none of $mh_cv_flags supported" >&6; }
mh_compile='${CC-cc} -c $DYN_COMP conftest.$ac_ext 1>&5'
cat > conftest.$ac_ext <<EOF
#line 4692 "configure"
#line 4694 "configure"
int foo()
{
return(0);

View File

@@ -47,9 +47,12 @@ fi
dnl Checks for libraries.
dnl we check for dlfcn.h or dl.h so we know if we can build shared objects
AC_CHECK_HEADERS(fcntl.h \
sys/time.h \
sys/select.h
sys/select.h \
dlfcn.h \
dl.h
)
dnl Checks for typedefs, structures, and compiler characteristics.