mirror of
https://github.com/VARCem/PDCurses.git
synced 2026-09-24 15:55:14 +00:00
Dynamic X11 build broken since the configure move. Fix after Mark Hessling.
This commit is contained in:
8
x11/configure
vendored
8
x11/configure
vendored
@@ -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);
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user