mirror of
https://github.com/VARCem/PDCurses.git
synced 2026-09-24 07:45:21 +00:00
Don't test for errno.h, because it's ANSI, and because errno is used
regardless of the test.
This commit is contained in:
@@ -9,9 +9,6 @@
|
||||
/* Define to 1 if you have the <dl.h> header file. */
|
||||
#undef HAVE_DL_H
|
||||
|
||||
/* Define to 1 if you have the <errno.h> header file. */
|
||||
#undef HAVE_ERRNO_H
|
||||
|
||||
/* Define to 1 if you have the <fcntl.h> header file. */
|
||||
#undef HAVE_FCNTL_H
|
||||
|
||||
|
||||
8
configure
vendored
8
configure
vendored
@@ -3918,13 +3918,11 @@ fi
|
||||
|
||||
|
||||
|
||||
|
||||
for ac_header in fcntl.h \
|
||||
sys/time.h \
|
||||
sys/select.h \
|
||||
dlfcn.h \
|
||||
dl.h \
|
||||
errno.h
|
||||
dl.h
|
||||
|
||||
do
|
||||
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
||||
@@ -5367,7 +5365,7 @@ if test "$DYN_COMP" = ""; then
|
||||
echo $ECHO_N "checking compiler flags for a dynamic object... $ECHO_C" >&6; }
|
||||
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 5370 "configure"
|
||||
#line 5368 "configure"
|
||||
int a=0
|
||||
EOF
|
||||
|
||||
@@ -5406,7 +5404,7 @@ echo "${ECHO_T}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 5409 "configure"
|
||||
#line 5407 "configure"
|
||||
int foo()
|
||||
{
|
||||
return(0);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
dnl $Id: configure.ac,v 1.31 2007/06/17 18:48:53 wmcbrine Exp $
|
||||
dnl $Id: configure.ac,v 1.32 2007/06/23 22:59:13 wmcbrine Exp $
|
||||
dnl Process this file with autoconf to produce a configure script.
|
||||
|
||||
AC_INIT([PDCurses], [3.3], [wmcbrine@users.sf.net], [PDCurses])
|
||||
@@ -57,8 +57,7 @@ AC_CHECK_HEADERS(fcntl.h \
|
||||
sys/time.h \
|
||||
sys/select.h \
|
||||
dlfcn.h \
|
||||
dl.h \
|
||||
errno.h
|
||||
dl.h
|
||||
)
|
||||
|
||||
dnl Checks for typedefs, structures, and compiler characteristics.
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
* See the file maintain.er for details of the current maintainer. *
|
||||
************************************************************************/
|
||||
|
||||
/* $Id: pdcx11.h,v 1.57 2007/04/07 19:07:02 wmcbrine Exp $ */
|
||||
/* $Id: pdcx11.h,v 1.58 2007/06/23 22:59:13 wmcbrine Exp $ */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
@@ -47,9 +47,7 @@
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_ERRNO_H
|
||||
# include <errno.h>
|
||||
#endif
|
||||
#include <errno.h>
|
||||
|
||||
#include <Intrinsic.h>
|
||||
#include <StringDefs.h>
|
||||
|
||||
Reference in New Issue
Block a user