one (more implementations are broken than not broken).
svn path=/trunk/yasm/; revision=776
fi
AC_SUBST(ANSI_CFLAGS)
-# Check for target-specific bogus sys/queue.h
-AH_TEMPLATE([HAVE_BOGUS_SYS_QUEUE_H],
- [Workaround for bad <sys/queue.h> implementations.])
-case "$host" in
-*-*-sunos4*)
- AC_DEFINE([HAVE_BOGUS_SYS_QUEUE_H])
- ;;
-*-sni-sysv*)
- AC_DEFINE([HAVE_BOGUS_SYS_QUEUE_H])
- ;;
-*-*-sco3.2v4*)
- AC_DEFINE([HAVE_BOGUS_SYS_QUEUE_H])
- ;;
-*-*-sco3.2v5*)
- AC_DEFINE([HAVE_BOGUS_SYS_QUEUE_H])
- ;;
-*-*-linux*)
- AC_DEFINE([HAVE_BOGUS_SYS_QUEUE_H])
- ;;
-esac
-
# Substitutions for libltdl
AC_SUBST(INCLTDL)
AC_SUBST(LIBLTDL)
# define toascii(c) ((c) & 0x7F)
#endif
-#if defined(HAVE_SYS_QUEUE_H) && !defined(HAVE_BOGUS_SYS_QUEUE_H)
-# include <sys/queue.h>
-#else
-# include "compat-queue.h"
-#endif
+#include "compat-queue.h"
#ifdef HAVE_SYS_CDEFS_H
# include <sys/cdefs.h>
# define toascii(c) ((c) & 0x7F)
#endif
-#if defined(HAVE_SYS_QUEUE_H) && !defined(HAVE_BOGUS_SYS_QUEUE_H)
-# include <sys/queue.h>
-#else
-# include "compat-queue.h"
-#endif
+#include "compat-queue.h"
#ifdef HAVE_SYS_CDEFS_H
# include <sys/cdefs.h>
# define toascii(c) ((c) & 0x7F)
#endif
-#if defined(HAVE_SYS_QUEUE_H) && !defined(HAVE_BOGUS_SYS_QUEUE_H)
-# include <sys/queue.h>
-#else
-# include "compat-queue.h"
-#endif
+#include "compat-queue.h"
#ifdef HAVE_SYS_CDEFS_H
# include <sys/cdefs.h>