From 6b4abadb6b860d53ed20d795cd2274bd7fc275f8 Mon Sep 17 00:00:00 2001 From: panne Date: Tue, 19 Aug 2003 14:22:16 +0000 Subject: [PATCH] [project @ 2003-08-19 14:22:14 by panne] Death to the acconfig.h hack! --- Makefile | 2 +- acconfig.h | 598 ------------------------------ aclocal.m4 | 27 +- configure.ac | 59 ++- ghc/ghc.spec.in | 7 +- mk/config.h.in | 1107 ------------------------------------------------------- 6 files changed, 54 insertions(+), 1746 deletions(-) delete mode 100644 acconfig.h delete mode 100644 mk/config.h.in diff --git a/Makefile b/Makefile index 44ac9ac..794860b 100644 --- a/Makefile +++ b/Makefile @@ -350,7 +350,7 @@ SRC_DIST_DIR=$(shell pwd)/$(SRC_DIST_NAME) SRC_DIST_DIRS += docs distrib $(SUBDIRS) SRC_DIST_FILES += \ configure.ac config.guess config.sub configure \ - aclocal.m4 acconfig.h README Makefile Makefile.config install-sh \ + aclocal.m4 README Makefile Makefile.config install-sh \ mk/bootstrap.mk \ mk/boilerplate.mk mk/config.h.in mk/config.mk.in mk/opts.mk \ mk/paths.mk mk/package.mk mk/suffix.mk mk/target.mk diff --git a/acconfig.h b/acconfig.h deleted file mode 100644 index 9fbaec7..0000000 --- a/acconfig.h +++ /dev/null @@ -1,598 +0,0 @@ -/* acconfig.h - - Descriptive text for the C preprocessor macros that - the fptools configuration script can define. - The current version may not use all of them; autoheader copies the ones - your configure.ac uses into your configuration header file templates. - - The entries are in sort -df order: alphabetical, case insensitive, - ignoring punctuation (such as underscores). Although this order - can split up related entries, it makes it easier to check whether - a given entry is in the file. - - Leave the following blank line there!! Autoheader needs it. */ - - -@TOP@ - -/* Define to alignment constraint on chars */ -#undef ALIGNMENT_CHAR - -/* Define to alignment constraint on doubles */ -#undef ALIGNMENT_DOUBLE - -/* Define to alignment constraint on floats */ -#undef ALIGNMENT_FLOAT - -/* Define to alignment constraint on ints */ -#undef ALIGNMENT_INT - -/* Define to alignment constraint on longs */ -#undef ALIGNMENT_LONG - -/* Define to alignment constraint on long longs */ -#undef ALIGNMENT_LONG_LONG - -/* Define to alignment constraint on shorts */ -#undef ALIGNMENT_SHORT - -/* Define to alignment constraint on unsigned chars */ -#undef ALIGNMENT_UNSIGNED_CHAR - -/* Define to alignment constraint on unsigned ints */ -#undef ALIGNMENT_UNSIGNED_INT - -/* Define to alignment constraint on unsigned longs */ -#undef ALIGNMENT_UNSIGNED_LONG - -/* Define to alignment constraint on unsigned long longs */ -#undef ALIGNMENT_UNSIGNED_LONG_LONG - -/* Define to alignment constraint on unsigned shorts */ -#undef ALIGNMENT_UNSIGNED_SHORT - -/* Define to alignment constraint on void pointers */ -#undef ALIGNMENT_VOID_P - -/* The value of E2BIG. */ -#undef CCONST_E2BIG - -/* The value of EACCES. */ -#undef CCONST_EACCES - -/* The value of EADDRINUSE. */ -#undef CCONST_EADDRINUSE - -/* The value of EADDRNOTAVAIL. */ -#undef CCONST_EADDRNOTAVAIL - -/* The value of EADV. */ -#undef CCONST_EADV - -/* The value of EAFNOSUPPORT. */ -#undef CCONST_EAFNOSUPPORT - -/* The value of EAGAIN. */ -#undef CCONST_EAGAIN - -/* The value of EALREADY. */ -#undef CCONST_EALREADY - -/* The value of EBADF. */ -#undef CCONST_EBADF - -/* The value of EBADMSG. */ -#undef CCONST_EBADMSG - -/* The value of EBADRPC. */ -#undef CCONST_EBADRPC - -/* The value of EBUSY. */ -#undef CCONST_EBUSY - -/* The value of ECHILD. */ -#undef CCONST_ECHILD - -/* The value of ECOMM. */ -#undef CCONST_ECOMM - -/* The value of ECONNABORTED. */ -#undef CCONST_ECONNABORTED - -/* The value of ECONNREFUSED. */ -#undef CCONST_ECONNREFUSED - -/* The value of ECONNRESET. */ -#undef CCONST_ECONNRESET - -/* The value of EDEADLK. */ -#undef CCONST_EDEADLK - -/* The value of EDESTADDRREQ. */ -#undef CCONST_EDESTADDRREQ - -/* The value of EDIRTY. */ -#undef CCONST_EDIRTY - -/* The value of EDOM. */ -#undef CCONST_EDOM - -/* The value of EDQUOT. */ -#undef CCONST_EDQUOT - -/* The value of EEXIST. */ -#undef CCONST_EEXIST - -/* The value of EFAULT. */ -#undef CCONST_EFAULT - -/* The value of EFBIG. */ -#undef CCONST_EFBIG - -/* The value of EFTYPE. */ -#undef CCONST_EFTYPE - -/* The value of EHOSTDOWN. */ -#undef CCONST_EHOSTDOWN - -/* The value of EHOSTUNREACH. */ -#undef CCONST_EHOSTUNREACH - -/* The value of EIDRM. */ -#undef CCONST_EIDRM - -/* The value of EILSEQ. */ -#undef CCONST_EILSEQ - -/* The value of EINPROGRESS. */ -#undef CCONST_EINPROGRESS - -/* The value of EINTR. */ -#undef CCONST_EINTR - -/* The value of EINVAL. */ -#undef CCONST_EINVAL - -/* The value of EIO. */ -#undef CCONST_EIO - -/* The value of EISCONN. */ -#undef CCONST_EISCONN - -/* The value of EISDIR. */ -#undef CCONST_EISDIR - -/* The value of ELOOP. */ -#undef CCONST_ELOOP - -/* The value of EMFILE. */ -#undef CCONST_EMFILE - -/* The value of EMLINK. */ -#undef CCONST_EMLINK - -/* The value of EMSGSIZE. */ -#undef CCONST_EMSGSIZE - -/* The value of EMULTIHOP. */ -#undef CCONST_EMULTIHOP - -/* The value of ENAMETOOLONG. */ -#undef CCONST_ENAMETOOLONG - -/* The value of ENETDOWN. */ -#undef CCONST_ENETDOWN - -/* The value of ENETRESET. */ -#undef CCONST_ENETRESET - -/* The value of ENETUNREACH. */ -#undef CCONST_ENETUNREACH - -/* The value of ENFILE. */ -#undef CCONST_ENFILE - -/* The value of ENOBUFS. */ -#undef CCONST_ENOBUFS - -/* The value of ENODATA. */ -#undef CCONST_ENODATA - -/* The value of ENODEV. */ -#undef CCONST_ENODEV - -/* The value of ENOENT. */ -#undef CCONST_ENOENT - -/* The value of ENOEXEC. */ -#undef CCONST_ENOEXEC - -/* The value of ENOLCK. */ -#undef CCONST_ENOLCK - -/* The value of ENOLINK. */ -#undef CCONST_ENOLINK - -/* The value of ENOMEM. */ -#undef CCONST_ENOMEM - -/* The value of ENOMSG. */ -#undef CCONST_ENOMSG - -/* The value of ENONET. */ -#undef CCONST_ENONET - -/* The value of ENOPROTOOPT. */ -#undef CCONST_ENOPROTOOPT - -/* The value of ENOSPC. */ -#undef CCONST_ENOSPC - -/* The value of ENOSR. */ -#undef CCONST_ENOSR - -/* The value of ENOSTR. */ -#undef CCONST_ENOSTR - -/* The value of ENOSYS. */ -#undef CCONST_ENOSYS - -/* The value of ENOTBLK. */ -#undef CCONST_ENOTBLK - -/* The value of ENOTCONN. */ -#undef CCONST_ENOTCONN - -/* The value of ENOTDIR. */ -#undef CCONST_ENOTDIR - -/* The value of ENOTEMPTY. */ -#undef CCONST_ENOTEMPTY - -/* The value of ENOTSOCK. */ -#undef CCONST_ENOTSOCK - -/* The value of ENOTTY. */ -#undef CCONST_ENOTTY - -/* The value of ENXIO. */ -#undef CCONST_ENXIO - -/* The value of EOPNOTSUPP. */ -#undef CCONST_EOPNOTSUPP - -/* The value of EPERM. */ -#undef CCONST_EPERM - -/* The value of EPFNOSUPPORT. */ -#undef CCONST_EPFNOSUPPORT - -/* The value of EPIPE. */ -#undef CCONST_EPIPE - -/* The value of EPROCLIM. */ -#undef CCONST_EPROCLIM - -/* The value of EPROCUNAVAIL. */ -#undef CCONST_EPROCUNAVAIL - -/* The value of EPROGMISMATCH. */ -#undef CCONST_EPROGMISMATCH - -/* The value of EPROGUNAVAIL. */ -#undef CCONST_EPROGUNAVAIL - -/* The value of EPROTO. */ -#undef CCONST_EPROTO - -/* The value of EPROTONOSUPPORT. */ -#undef CCONST_EPROTONOSUPPORT - -/* The value of EPROTOTYPE. */ -#undef CCONST_EPROTOTYPE - -/* The value of ERANGE. */ -#undef CCONST_ERANGE - -/* The value of EREMCHG. */ -#undef CCONST_EREMCHG - -/* The value of EREMOTE. */ -#undef CCONST_EREMOTE - -/* The value of EROFS. */ -#undef CCONST_EROFS - -/* The value of ERPCMISMATCH. */ -#undef CCONST_ERPCMISMATCH - -/* The value of ERREMOTE. */ -#undef CCONST_ERREMOTE - -/* The value of ESHUTDOWN. */ -#undef CCONST_ESHUTDOWN - -/* The value of ESOCKTNOSUPPORT. */ -#undef CCONST_ESOCKTNOSUPPORT - -/* The value of ESPIPE. */ -#undef CCONST_ESPIPE - -/* The value of ESRCH. */ -#undef CCONST_ESRCH - -/* The value of ESRMNT. */ -#undef CCONST_ESRMNT - -/* The value of ESTALE. */ -#undef CCONST_ESTALE - -/* The value of ETIME. */ -#undef CCONST_ETIME - -/* The value of ETIMEDOUT. */ -#undef CCONST_ETIMEDOUT - -/* The value of ETOOMANYREFS. */ -#undef CCONST_ETOOMANYREFS - -/* The value of ETXTBSY. */ -#undef CCONST_ETXTBSY - -/* The value of EUSERS. */ -#undef CCONST_EUSERS - -/* The value of EWOULDBLOCK. */ -#undef CCONST_EWOULDBLOCK - -/* The value of EXDEV. */ -#undef CCONST_EXDEV - -/* Define to 1 if you have the declaration of `altzone', and to 0 if you - don't. */ -#undef HAVE_DECL_ALTZONE - -/* Define if you have /bin/sh */ -#undef HAVE_BIN_SH - -/* Define if the HaskellSupport.framework is installed (Mac OS X only) */ -#undef HAVE_FRAMEWORK_HASKELLSUPPORT - -/* Define if gcc supports -mno-omit-leaf-frame-pointer */ -#undef HAVE_GCC_MNO_OMIT_LFPTR - -/* Define if you have the GetModuleFileName function. */ -#undef HAVE_GETMODULEFILENAME - -/* Define if in_addr_t is available */ -#undef HAVE_IN_ADDR_T - -/* Define if you need -ldl to get dlopen() */ -#undef HAVE_LIBDL - -/* Define if you have the mingwex library. */ -#undef HAVE_MINGWEX - -/* Define if struct msghdr contains msg_accrights field */ -#undef HAVE_MSGHDR_MSG_ACCRIGHTS - -/* Define if struct msghdr contains msg_control field */ -#undef HAVE_MSGHDR_MSG_CONTROL - -/* Define if RTLD_GLOBAL is available */ -#undef HAVE_RTLDGLOBAL - -/* Define if RTLD_LOCAL is available */ -#undef HAVE_RTLDLOCAL - -/* Define if we can see RTLD_NEXT in dlfcn.h */ -#undef HAVE_RTLDNEXT - -/* Define if we can see RTLD_NOW in dlfcn.h */ -#undef HAVE_RTLDNOW - -/* Define if usleep returns void */ -#undef USLEEP_RETURNS_VOID - -/* Define if it looks like a Linux sendfile(2) implementation */ -#undef HAVE_LINUX_SENDFILE - -/* Define if it looks like a BSDish sendfile(2) implementation */ -#undef HAVE_BSD_SENDFILE - -/* Define if C compiler supports long long types */ -#undef HAVE_LONG_LONG - -/* Define if fcntl.h defines O_BINARY */ -#undef HAVE_O_BINARY - -/* Define if readline/readline.h and readline/history.h exist */ -#undef HAVE_READLINE_HEADERS - -/* Define if readline plus any additional libs needed for it exist */ -#undef HAVE_READLINE_LIBS - -/* Define if readline has version >= 4.0. */ -#undef HAVE_READLINE_4 - -/* Define if readline has version >= 4.2. */ -#undef HAVE_READLINE_4_2 - -/* Define if defines _SC_GETGR_R_SIZE_MAX */ -#undef HAVE_SC_GETGR_R_SIZE_MAX - -/* Define if defines _SC_GETPW_R_SIZE_MAX */ -#undef HAVE_SC_GETPW_R_SIZE_MAX - -/* Define if you have the sigpoll() function */ -#undef HAVE_SIGPOLL - -/* Define if you support the production (and use) of Win32 DLLs. */ -#undef HAVE_WIN32_DLL_SUPPORT - -/* Define if you have the WinExec function. */ -#undef HAVE_WINEXEC - -/* Define to Haskell type for blkcnt_t */ -#undef HTYPE_BLKCNT_T - -/* Define to Haskell type for cc_t */ -#undef HTYPE_CC_T - -/* Define to Haskell type for char */ -#undef HTYPE_CHAR - -/* Define to Haskell type for clock_t */ -#undef HTYPE_CLOCK_T - -/* Define to Haskell type for dev_t */ -#undef HTYPE_DEV_T - -/* Define to Haskell type for signed double */ -#undef HTYPE_DOUBLE - -/* Define to Haskell type for float */ -#undef HTYPE_FLOAT - -/* Define to Haskell type for gid_t */ -#undef HTYPE_GID_T - -/* Define to Haskell type for GLbitfield */ -#undef HTYPE_GLBITFIELD - -/* Define to Haskell type for GLboolean */ -#undef HTYPE_GLBOOLEAN - -/* Define to Haskell type for GLbyte */ -#undef HTYPE_GLBYTE - -/* Define to Haskell type for GLclampd */ -#undef HTYPE_GLCLAMPD - -/* Define to Haskell type for GLclampf */ -#undef HTYPE_GLCLAMPF - -/* Define to Haskell type for GLdouble */ -#undef HTYPE_GLDOUBLE - -/* Define to Haskell type for GLenum */ -#undef HTYPE_GLENUM - -/* Define to Haskell type for GLfloat */ -#undef HTYPE_GLFLOAT - -/* Define to Haskell type for GLint */ -#undef HTYPE_GLINT - -/* Define to Haskell type for GLshort */ -#undef HTYPE_GLSHORT - -/* Define to Haskell type for GLsizei */ -#undef HTYPE_GLSIZEI - -/* Define to Haskell type for GLubyte */ -#undef HTYPE_GLUBYTE - -/* Define to Haskell type for GLuint */ -#undef HTYPE_GLUINT - -/* Define to Haskell type for GLushort */ -#undef HTYPE_GLUSHORT - -/* Define to Haskell type for int */ -#undef HTYPE_INT - -/* Define to Haskell type for ino_t */ -#undef HTYPE_INO_T - -/* Define to Haskell type for long */ -#undef HTYPE_LONG - -/* Define to Haskell type for long long */ -#undef HTYPE_LONG_LONG - -/* Define to Haskell type for mode_t */ -#undef HTYPE_MODE_T - -/* Define to Haskell type for nlink_t */ -#undef HTYPE_NLINK_T - -/* Define to Haskell type for off_t */ -#undef HTYPE_OFF_T - -/* Define to Haskell type for pid_t */ -#undef HTYPE_PID_T - -/* Define to Haskell type for ptrdiff_t */ -#undef HTYPE_PTRDIFF_T - -/* Define to Haskell type for rlim_t */ -#undef HTYPE_RLIM_T - -/* Define to Haskell type for short */ -#undef HTYPE_SHORT - -/* Define to Haskell type for sig_atomic_t */ -#undef HTYPE_SIG_ATOMIC_T - -/* Define to Haskell type for signed char */ -#undef HTYPE_SIGNED_CHAR - -/* Define to Haskell type for size_t */ -#undef HTYPE_SIZE_T - -/* Define to Haskell type for speed_t */ -#undef HTYPE_SPEED_T - -/* Define to Haskell type for ssize_t */ -#undef HTYPE_SSIZE_T - -/* Define to Haskell type for time_t */ -#undef HTYPE_TIME_T - -/* Define to Haskell type for tcflag_t */ -#undef HTYPE_TCFLAG_T - -/* Define to Haskell type for uid_t */ -#undef HTYPE_UID_T - -/* Define to Haskell type for unsigned char */ -#undef HTYPE_UNSIGNED_CHAR - -/* Define to Haskell type for unsigned int */ -#undef HTYPE_UNSIGNED_INT - -/* Define to Haskell type for unsigned long */ -#undef HTYPE_UNSIGNED_LONG - -/* Define to Haskell type for unsigned long long */ -#undef HTYPE_UNSIGNED_LONG_LONG - -/* Define to Haskell type for unsigned short */ -#undef HTYPE_UNSIGNED_SHORT - -/* Define to Haskell type for wchar_t */ -#undef HTYPE_WCHAR_T - -/* Define if C Symbols have a leading underscore added by the compiler */ -#undef LEADING_UNDERSCORE - -/* Define if signal handlers have type void (*)(int) - * (Otherwise, they're assumed to have type int (*)(void).) - */ -#undef VOID_INT_SIGNALS - -/* Define if you want to include .NET interop support. */ -#undef WANT_DOTNET_SUPPORT - - -/* Leave that blank line there!! Autoheader needs it. - If you're adding to this file, keep in mind: - The entries are in sort -df order: alphabetical, case insensitive, - ignoring punctuation (such as underscores). */ - - -/* autoheader doesn't grok AC_CHECK_LIB_NOWARN so we have to add them - manually. */ - -@BOTTOM@ diff --git a/aclocal.m4 b/aclocal.m4 index f4bff2d..2a418c1 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -146,7 +146,7 @@ esac); LeadingUnderscore=`echo $fptools_cv_lead_uscore | sed 'y/yesno/YESNO/'` AC_SUBST(LeadingUnderscore) case $LeadingUnderscore in -YES) AC_DEFINE(LEADING_UNDERSCORE);; +YES) AC_DEFINE([LEADING_UNDERSCORE], [1], [Define to 1 if C symbols have a leading underscore added by the compiler.]);; esac ]) @@ -450,7 +450,7 @@ AC_DEFUN(FPTOOLS_GCC_NEEDS_NO_OMIT_LFPTR, fptools_cv_gcc_needs_no_omit_lfptr='yes') ]) if test "$fptools_cv_gcc_needs_no_omit_lfptr" = "yes"; then - AC_DEFINE(HAVE_GCC_MNO_OMIT_LFPTR) + AC_DEFINE([HAVE_GCC_MNO_OMIT_LFPTR], [1], [Define to 1 if gcc supports -mno-omit-leaf-frame-pointer.]) fi ]) @@ -649,7 +649,7 @@ main() { ifelse([$2], , AC_CV_NAME=NotReallyAType, AC_CV_NAME=$2), ifelse([$3], , AC_CV_NAME=NotReallyATypeCross, AC_CV_NAME=$3))]) dnl AC_MSG_RESULT($AC_CV_NAME) -AC_DEFINE_UNQUOTED(AC_TYPE_NAME, $AC_CV_NAME) +AC_DEFINE_UNQUOTED(AC_TYPE_NAME, $AC_CV_NAME, [Define to Haskell type for $1]) undefine([AC_TYPE_NAME])dnl undefine([AC_CV_NAME])dnl ]) @@ -679,15 +679,26 @@ eval "$cv_name=-1", eval "$cv_name=-1")])dnl eval "fptools_check_cconst_result=`echo '$'{$cv_name}`" AC_MSG_RESULT($fptools_check_cconst_result) -AC_DEFINE_UNQUOTED(CCONST_$1, $fptools_check_cconst_result) +AC_DEFINE_UNQUOTED(CCONST_$1, $fptools_check_cconst_result, [The value of $1.]) unset fptools_check_cconst_result ]) + +# FP_CHECK_CCONSTS_TEMPLATE(CONST...) +# ----------------------------------- +m4_define([FP_CHECK_CCONSTS_TEMPLATE], +[AC_FOREACH([FP_Const], [$1], + [AH_TEMPLATE(AS_TR_CPP(CCONST_[]FP_Const), + [The value of ]FP_Const[.])])[]dnl +])# FP_CHECK_CCONSTS_TEMPLATE + + dnl ** Invoke AC_CHECK_CCONST on each argument (which have to separate with dnl spaces) dnl AC_DEFUN(FPTOOLS_CHECK_CCONSTS, -[for ac_const_name in $1 +[FP_CHECK_CCONSTS_TEMPLATE([$1])dnl +for ac_const_name in $1 do FPTOOLS_CHECK_CCONST($ac_const_name)dnl done @@ -715,7 +726,7 @@ AC_LANG_RESTORE ]) AC_MSG_RESULT($fptools_cv_have_o_binary) if test "$fptools_cv_have_o_binary" = yes; then -AC_DEFINE(HAVE_O_BINARY) + AC_DEFINE([HAVE_O_BINARY], [1], [Define to 1 if fcntl.h defines O_BINARY.]) fi ]) @@ -1103,7 +1114,7 @@ AC_DEFUN(FPTOOLS_MSGHDR_MSG_CONTROL, #include ], [struct msghdr m; m.msg_control;], fptools_cv_struct_msghdr_msg_control=yes, fptools_cv_struct_msghdr_msg_control=no)]) if test $fptools_cv_struct_msghdr_msg_control = yes; then - AC_DEFINE(HAVE_MSGHDR_MSG_CONTROL) + AC_DEFINE([HAVE_MSGHDR_MSG_CONTROL], [1], [Define if struct msghdr contains msg_control field.]) fi AC_SUBST(HAVE_MSGHDR_MSG_CONTROL)dnl ]) @@ -1118,7 +1129,7 @@ AC_DEFUN(FPTOOLS_MSGHDR_MSG_ACCRIGHTS, #include ], [struct msghdr m; m.msg_accrights;], fptools_cv_struct_msghdr_msg_accrights=yes, fptools_cv_struct_msghdr_msg_accrights=no)]) if test $fptools_cv_struct_msghdr_msg_accrights = yes; then - AC_DEFINE(HAVE_MSGHDR_MSG_ACCRIGHTS) + AC_DEFINE([HAVE_MSGHDR_MSG_ACCRIGHTS], [1], [Define to 1 if struct msghdr contains msg_accrights field.]) fi AC_SUBST(HAVE_MSGHDR_MSG_ACCRIGHTS)dnl ]) diff --git a/configure.ac b/configure.ac index 84e83a5..41a9260 100644 --- a/configure.ac +++ b/configure.ac @@ -586,7 +586,7 @@ AC_ARG_ENABLE(dotnet, [ --enable-dotnet Build .NET interop layer. ], -[DotnetSupport=YES; AC_DEFINE(WANT_DOTNET_SUPPORT)], +[DotnetSupport=YES; AC_DEFINE([WANT_DOTNET_SUPPORT], [1], [Define to 1 if you want to include .NET interop support.])], [DotnetSupport=NO] ) AC_SUBST(DotnetSupport) @@ -663,7 +663,7 @@ dnl ** figure out how to do a BSD-ish install AC_PROG_INSTALL dnl If you can run configure, you certainly have /bin/sh -AC_DEFINE(HAVE_BIN_SH) +AC_DEFINE([HAVE_BIN_SH], [1], [Define to 1 if you have /bin/sh.]) dnl ** how to invoke `ar' and `ranlib' FPTOOLS_PROG_AR_AND_RANLIB @@ -800,10 +800,10 @@ AC_CHECK_HEADER(readline/history.h, [HaveReadlineHistoryH=YES], [HaveReadlineHis if test $HaveReadlineReadlineH = YES && test $HaveReadlineHistoryH = YES ; then HaveReadlineHeaders=YES - AC_DEFINE(HAVE_READLINE_HEADERS,1) + AC_DEFINE([HAVE_READLINE_HEADERS], [1], [Define to 1 if readline/readline.h and readline/history.h exist.]) else HaveReadlineHeaders=NO - AC_DEFINE(HAVE_READLINE_HEADERS,0) + AC_DEFINE([HAVE_READLINE_HEADERS], [0], [Define to 1 if readline/readline.h and readline/history.h exist.]) fi AC_SUBST(HaveReadlineHeaders) @@ -969,7 +969,7 @@ main() { [have_winexec=1], [have_winexec=0]) if test "$have_winexec" = "1"; then -AC_DEFINE(HAVE_WINEXEC) + AC_DEFINE([HAVE_WINEXEC], [1], [Define to 1 if you have the WinExec function.]) fi FPTOOLS_TRY_LINK_NOWARN(,[ @@ -985,7 +985,7 @@ main() { [have_getmodulefilename=1], [have_getmodulefilename=0]) if test "$have_getmodulefilename" = "1"; then -AC_DEFINE(HAVE_GETMODULEFILENAME) +AC_DEFINE([HAVE_GETMODULEFILENAME], [1], [Define to 1 if you have the GetModuleFileName function.]) fi dnl ** check return type of signal handlers @@ -1009,7 +1009,7 @@ dnl fi dnl On BCC, signal handlers have type "int(void)", elsewhere its "void(int)". AC_TYPE_SIGNAL if test "$ac_cv_type_signal" = void; then -AC_DEFINE(VOID_INT_SIGNALS) + AC_DEFINE([VOID_INT_SIGNALS], [1], [Define to 1 if signal handlers have type void (*)(int). Otherwise, they're assumed to have type int (*)(void).]) fi dnl ** check for more functions @@ -1051,7 +1051,7 @@ if test $HostPlatform = "powerpc-apple-darwin"; then LIBS="-framework HaskellSupport" AC_TRY_LINK_FUNC(__gmpz_fdiv_qr, HaveFrameworkHaskellSupport=YES,) if test $HaveFrameworkHaskellSupport = YES; then - AC_DEFINE(HAVE_FRAMEWORK_HASKELLSUPPORT) + AC_DEFINE([HAVE_FRAMEWORK_HASKELLSUPPORT], [1], [Define to 1 if the HaskellSupport.framework is installed (Mac OS X only).]) fi; LIBS="$save_libs" AC_MSG_RESULT([$HaveFrameworkHaskellSupport]) @@ -1063,7 +1063,7 @@ AC_CHECK_LIB(mingwex, closedir, HaveLibMingwEx=YES, HaveLibMingwEx=NO) AC_SUBST(HaveLibMingwEx) if test $HaveLibMingwEx = YES ; then - AC_DEFINE(HAVE_MINGWEX) + AC_DEFINE([HAVE_MINGWEX], [1], [Define to 1 if you have the mingwex library.]) fi if test "$HaveLibGmp" = "NO"; then @@ -1091,24 +1091,24 @@ if test $HaveLibTermcap = YES ; then fi if test $HaveLibTermcap = YES && test x"$HaveLibReadline" = xYES ; then - AC_DEFINE(HAVE_READLINE_LIBS,1) + AC_DEFINE([HAVE_READLINE_LIBS], [1], [Define to 1 if readline plus any additional libs needed for it exist.]) LibsReadline="readline $LibTermcap" else - AC_DEFINE(HAVE_READLINE_LIBS,0) + AC_DEFINE([HAVE_READLINE_LIBS], [0], [Define to 1 if readline plus any additional libs needed for it exist.]) LibsReadline= fi AC_SUBST(LibsReadline) if test "$HaveLibReadline"; then AC_CHECK_LIB(readline, rl_erase_empty_line, - [AC_DEFINE(HAVE_READLINE_4, 1)], - [AC_DEFINE(HAVE_READLINE_4, 0)]) + [AC_DEFINE([HAVE_READLINE_4], [1], [Define to 1 if readline has version >= 4.0.])], + [AC_DEFINE([HAVE_READLINE_4], [0], [Define to 1 if readline has version >= 4.0.])]) AC_CHECK_LIB(readline, rl_free_undo_list, - [AC_DEFINE(HAVE_READLINE_4_2, 1)], - [AC_DEFINE(HAVE_READLINE_4_2, 0)]) + [AC_DEFINE([HAVE_READLINE_4_2], [1], [Define to 1 if readline has version >= 4.2.])], + [AC_DEFINE([HAVE_READLINE_4_2], [0], [Define to 1 if readline has version >= 4.2.])]) else - AC_DEFINE(HAVE_READLINE_4, 0) - AC_DEFINE(HAVE_READLINE_4_2, 0) + AC_DEFINE([HAVE_READLINE_4], [0], [Define to 1 if readline has version >= 4.0.]) + AC_DEFINE([HAVE_READLINE_4_2], [0], [Define to 1 if readline has version >= 4.2.]) fi dnl ** check for math library @@ -1147,11 +1147,11 @@ if test $HaveFrameworkHaskellSupport = YES; then HaveLibDL=NO HaveRtldNext=NO HaveRtldLocal=YES - AC_DEFINE(HAVE_RTLDLOCAL) + AC_DEFINE([HAVE_RTLDLOCAL], [1], [Define to 1 if RTLD_LOCAL is available.]) HaveRtldGlobal=YES - AC_DEFINE(HAVE_RTLDGLOBAL) + AC_DEFINE([HAVE_RTLDGLOBAL], [1], [Define to 1 if RTLD_GLOBAL is available.]) HaveRtldNow=YES - AC_DEFINE(HAVE_RTLDNOW) + AC_DEFINE([HAVE_RTLDNOW], [1], [Define to 1 if we can see RTLD_NOW in dlfcn.h.]) AC_SUBST(HaveLibDL) AC_SUBST(HaveRtldNext) AC_SUBST(HaveRtldLocal) @@ -1160,7 +1160,7 @@ if test $HaveFrameworkHaskellSupport = YES; then else AC_CHECK_LIB(dl, dlopen, [HaveLibDL=YES - AC_DEFINE(HAVE_LIBDL) + AC_DEFINE([HAVE_LIBDL], [1], [Define to 1 if you need -ldl to get dlopen().]) LIBS="$LIBS -ldl"], [HaveLibDL=NO]) AC_CHECK_FUNCS(dlopen) @@ -1176,7 +1176,7 @@ else #endif ], [ AC_MSG_RESULT(yes) - AC_DEFINE(HAVE_RTLDNEXT) + AC_DEFINE([HAVE_RTLDNEXT], [1], [Define to 1 if we can see RTLD_NEXT in dlfcn.h.]) HaveRtldNext=YES ], [ AC_MSG_RESULT(no) @@ -1254,8 +1254,7 @@ AC_CACHE_CHECK([return type of usleep], cv_func_usleep_return_type, [cv_func_usleep_return_type=int])]) case "$cv_func_usleep_return_type" in "void" ) - AC_DEFINE(USLEEP_RETURNS_VOID, 1, - [Define if the system headers declare usleep to return void.]) + AC_DEFINE([USLEEP_RETURNS_VOID], [1], [Define if the system headers declare usleep to return void.]) ;; esac @@ -1264,7 +1263,7 @@ dnl * test for in_addr_t dnl -------------------------------------------------- AC_MSG_CHECKING(for in_addr_t in netinet/in.h) AC_EGREP_HEADER(in_addr_t, netinet/in.h, - [ AC_DEFINE(HAVE_IN_ADDR_T) AC_MSG_RESULT(yes) ], + [ AC_DEFINE([HAVE_IN_ADDR_T], [1], [Define to 1 if in_addr_t is available.]) AC_MSG_RESULT(yes) ], AC_MSG_RESULT(no)) dnl -------------------------------------------------- @@ -1272,7 +1271,7 @@ dnl * test for Linux sendfile(2) dnl -------------------------------------------------- AC_MSG_CHECKING(for sendfile in sys/sendfile.h) AC_EGREP_HEADER(sendfile, sys/sendfile.h, - [ AC_DEFINE(HAVE_LINUX_SENDFILE) AC_MSG_RESULT(yes) ], + [ AC_DEFINE([HAVE_LINUX_SENDFILE], [1], [Define to 1 if you have a Linux sendfile(2) implementation.]) AC_MSG_RESULT(yes) ], AC_MSG_RESULT(no)) dnl -------------------------------------------------- @@ -1280,7 +1279,7 @@ dnl * test for BSD sendfile(2) dnl -------------------------------------------------- AC_MSG_CHECKING(for sendfile in sys/socket.h) AC_EGREP_HEADER(sendfile, sys/socket.h, - [ AC_DEFINE(HAVE_BSD_SENDFILE) AC_MSG_RESULT(yes) ], + [ AC_DEFINE([HAVE_BSD_SENDFILE], [1], [Define to 1 if you have a BSDish sendfile(2) implementation.]) AC_MSG_RESULT(yes) ], AC_MSG_RESULT(no)) dnl -------------------------------------------------- @@ -1343,7 +1342,7 @@ AC_EGREP_CPP(we_have_sigpoll, #ifdef SIGPOLL we_have_sigpoll #endif -], AC_DEFINE(HAVE_SIGPOLL) haveSIGPOLL=yes, haveSIGPOLL=no) +], AC_DEFINE([HAVE_SIGPOLL], [1], [Define to 1 if you have the sigpoll() function.]) haveSIGPOLL=yes, haveSIGPOLL=no) AC_MSG_RESULT([$haveSIGPOLL]) AC_MSG_CHECKING([for _SC_GETGR_R_SIZE_MAX]) @@ -1355,7 +1354,7 @@ we_have_that_sysconf_thing #endif ], [AC_MSG_RESULT([yes]) -AC_DEFINE(HAVE_SC_GETGR_R_SIZE_MAX)], +AC_DEFINE([HAVE_SC_GETGR_R_SIZE_MAX], [1], [Define to 1 if defines _SC_GETGR_R_SIZE_MAX.])], [AC_MSG_RESULT([no])]) AC_MSG_CHECKING([for _SC_GETPW_R_SIZE_MAX]) @@ -1367,7 +1366,7 @@ we_have_that_sysconf_thing #endif ], [AC_MSG_RESULT([yes]) -AC_DEFINE(HAVE_SC_GETPW_R_SIZE_MAX)], +AC_DEFINE([HAVE_SC_GETPW_R_SIZE_MAX], [1], [Define to 1 if defines _SC_GETPW_R_SIZE_MAX.])], [AC_MSG_RESULT([no])]) AC_OUTPUT(mk/config.mk, echo timestamp > mk/stamp-h ) diff --git a/ghc/ghc.spec.in b/ghc/ghc.spec.in index 482dc94..c1d5fdd 100644 --- a/ghc/ghc.spec.in +++ b/ghc/ghc.spec.in @@ -68,6 +68,9 @@ the documentation is available online at %changelog +* Tue Aug 19 2003 Sven Panne +- use autoreconf + * Wed Sep 26 2001 Manuel Chakravarty - small changes for 5.04 @@ -123,9 +126,9 @@ SRC_HAPPY_OPTS += -agc GhcWithInterpreter=YES END -# run autoconf if necessary +# run autoheader and autoconf if necessary # -[ ! -x configure ] && autoconf && cd ghc && autoconf +test -f configure || autoreconf %build ./configure --prefix=%{prefix} diff --git a/mk/config.h.in b/mk/config.h.in deleted file mode 100644 index 5c7e6a3..0000000 --- a/mk/config.h.in +++ /dev/null @@ -1,1107 +0,0 @@ -/* mk/config.h.in. Generated from configure.ac by autoheader. */ -/* acconfig.h - - Descriptive text for the C preprocessor macros that - the fptools configuration script can define. - The current version may not use all of them; autoheader copies the ones - your configure.ac uses into your configuration header file templates. - - The entries are in sort -df order: alphabetical, case insensitive, - ignoring punctuation (such as underscores). Although this order - can split up related entries, it makes it easier to check whether - a given entry is in the file. - - Leave the following blank line there!! Autoheader needs it. */ - - - -/* Define to alignment constraint on chars */ -#undef ALIGNMENT_CHAR - -/* Define to alignment constraint on doubles */ -#undef ALIGNMENT_DOUBLE - -/* Define to alignment constraint on floats */ -#undef ALIGNMENT_FLOAT - -/* Define to alignment constraint on ints */ -#undef ALIGNMENT_INT - -/* Define to alignment constraint on longs */ -#undef ALIGNMENT_LONG - -/* Define to alignment constraint on long longs */ -#undef ALIGNMENT_LONG_LONG - -/* Define to alignment constraint on shorts */ -#undef ALIGNMENT_SHORT - -/* Define to alignment constraint on unsigned chars */ -#undef ALIGNMENT_UNSIGNED_CHAR - -/* Define to alignment constraint on unsigned ints */ -#undef ALIGNMENT_UNSIGNED_INT - -/* Define to alignment constraint on unsigned longs */ -#undef ALIGNMENT_UNSIGNED_LONG - -/* Define to alignment constraint on unsigned long longs */ -#undef ALIGNMENT_UNSIGNED_LONG_LONG - -/* Define to alignment constraint on unsigned shorts */ -#undef ALIGNMENT_UNSIGNED_SHORT - -/* Define to alignment constraint on void pointers */ -#undef ALIGNMENT_VOID_P - -/* The value of E2BIG. */ -#undef CCONST_E2BIG - -/* The value of EACCES. */ -#undef CCONST_EACCES - -/* The value of EADDRINUSE. */ -#undef CCONST_EADDRINUSE - -/* The value of EADDRNOTAVAIL. */ -#undef CCONST_EADDRNOTAVAIL - -/* The value of EADV. */ -#undef CCONST_EADV - -/* The value of EAFNOSUPPORT. */ -#undef CCONST_EAFNOSUPPORT - -/* The value of EAGAIN. */ -#undef CCONST_EAGAIN - -/* The value of EALREADY. */ -#undef CCONST_EALREADY - -/* The value of EBADF. */ -#undef CCONST_EBADF - -/* The value of EBADMSG. */ -#undef CCONST_EBADMSG - -/* The value of EBADRPC. */ -#undef CCONST_EBADRPC - -/* The value of EBUSY. */ -#undef CCONST_EBUSY - -/* The value of ECHILD. */ -#undef CCONST_ECHILD - -/* The value of ECOMM. */ -#undef CCONST_ECOMM - -/* The value of ECONNABORTED. */ -#undef CCONST_ECONNABORTED - -/* The value of ECONNREFUSED. */ -#undef CCONST_ECONNREFUSED - -/* The value of ECONNRESET. */ -#undef CCONST_ECONNRESET - -/* The value of EDEADLK. */ -#undef CCONST_EDEADLK - -/* The value of EDESTADDRREQ. */ -#undef CCONST_EDESTADDRREQ - -/* The value of EDIRTY. */ -#undef CCONST_EDIRTY - -/* The value of EDOM. */ -#undef CCONST_EDOM - -/* The value of EDQUOT. */ -#undef CCONST_EDQUOT - -/* The value of EEXIST. */ -#undef CCONST_EEXIST - -/* The value of EFAULT. */ -#undef CCONST_EFAULT - -/* The value of EFBIG. */ -#undef CCONST_EFBIG - -/* The value of EFTYPE. */ -#undef CCONST_EFTYPE - -/* The value of EHOSTDOWN. */ -#undef CCONST_EHOSTDOWN - -/* The value of EHOSTUNREACH. */ -#undef CCONST_EHOSTUNREACH - -/* The value of EIDRM. */ -#undef CCONST_EIDRM - -/* The value of EILSEQ. */ -#undef CCONST_EILSEQ - -/* The value of EINPROGRESS. */ -#undef CCONST_EINPROGRESS - -/* The value of EINTR. */ -#undef CCONST_EINTR - -/* The value of EINVAL. */ -#undef CCONST_EINVAL - -/* The value of EIO. */ -#undef CCONST_EIO - -/* The value of EISCONN. */ -#undef CCONST_EISCONN - -/* The value of EISDIR. */ -#undef CCONST_EISDIR - -/* The value of ELOOP. */ -#undef CCONST_ELOOP - -/* The value of EMFILE. */ -#undef CCONST_EMFILE - -/* The value of EMLINK. */ -#undef CCONST_EMLINK - -/* The value of EMSGSIZE. */ -#undef CCONST_EMSGSIZE - -/* The value of EMULTIHOP. */ -#undef CCONST_EMULTIHOP - -/* The value of ENAMETOOLONG. */ -#undef CCONST_ENAMETOOLONG - -/* The value of ENETDOWN. */ -#undef CCONST_ENETDOWN - -/* The value of ENETRESET. */ -#undef CCONST_ENETRESET - -/* The value of ENETUNREACH. */ -#undef CCONST_ENETUNREACH - -/* The value of ENFILE. */ -#undef CCONST_ENFILE - -/* The value of ENOBUFS. */ -#undef CCONST_ENOBUFS - -/* The value of ENODATA. */ -#undef CCONST_ENODATA - -/* The value of ENODEV. */ -#undef CCONST_ENODEV - -/* The value of ENOENT. */ -#undef CCONST_ENOENT - -/* The value of ENOEXEC. */ -#undef CCONST_ENOEXEC - -/* The value of ENOLCK. */ -#undef CCONST_ENOLCK - -/* The value of ENOLINK. */ -#undef CCONST_ENOLINK - -/* The value of ENOMEM. */ -#undef CCONST_ENOMEM - -/* The value of ENOMSG. */ -#undef CCONST_ENOMSG - -/* The value of ENONET. */ -#undef CCONST_ENONET - -/* The value of ENOPROTOOPT. */ -#undef CCONST_ENOPROTOOPT - -/* The value of ENOSPC. */ -#undef CCONST_ENOSPC - -/* The value of ENOSR. */ -#undef CCONST_ENOSR - -/* The value of ENOSTR. */ -#undef CCONST_ENOSTR - -/* The value of ENOSYS. */ -#undef CCONST_ENOSYS - -/* The value of ENOTBLK. */ -#undef CCONST_ENOTBLK - -/* The value of ENOTCONN. */ -#undef CCONST_ENOTCONN - -/* The value of ENOTDIR. */ -#undef CCONST_ENOTDIR - -/* The value of ENOTEMPTY. */ -#undef CCONST_ENOTEMPTY - -/* The value of ENOTSOCK. */ -#undef CCONST_ENOTSOCK - -/* The value of ENOTTY. */ -#undef CCONST_ENOTTY - -/* The value of ENXIO. */ -#undef CCONST_ENXIO - -/* The value of EOPNOTSUPP. */ -#undef CCONST_EOPNOTSUPP - -/* The value of EPERM. */ -#undef CCONST_EPERM - -/* The value of EPFNOSUPPORT. */ -#undef CCONST_EPFNOSUPPORT - -/* The value of EPIPE. */ -#undef CCONST_EPIPE - -/* The value of EPROCLIM. */ -#undef CCONST_EPROCLIM - -/* The value of EPROCUNAVAIL. */ -#undef CCONST_EPROCUNAVAIL - -/* The value of EPROGMISMATCH. */ -#undef CCONST_EPROGMISMATCH - -/* The value of EPROGUNAVAIL. */ -#undef CCONST_EPROGUNAVAIL - -/* The value of EPROTO. */ -#undef CCONST_EPROTO - -/* The value of EPROTONOSUPPORT. */ -#undef CCONST_EPROTONOSUPPORT - -/* The value of EPROTOTYPE. */ -#undef CCONST_EPROTOTYPE - -/* The value of ERANGE. */ -#undef CCONST_ERANGE - -/* The value of EREMCHG. */ -#undef CCONST_EREMCHG - -/* The value of EREMOTE. */ -#undef CCONST_EREMOTE - -/* The value of EROFS. */ -#undef CCONST_EROFS - -/* The value of ERPCMISMATCH. */ -#undef CCONST_ERPCMISMATCH - -/* The value of ERREMOTE. */ -#undef CCONST_ERREMOTE - -/* The value of ESHUTDOWN. */ -#undef CCONST_ESHUTDOWN - -/* The value of ESOCKTNOSUPPORT. */ -#undef CCONST_ESOCKTNOSUPPORT - -/* The value of ESPIPE. */ -#undef CCONST_ESPIPE - -/* The value of ESRCH. */ -#undef CCONST_ESRCH - -/* The value of ESRMNT. */ -#undef CCONST_ESRMNT - -/* The value of ESTALE. */ -#undef CCONST_ESTALE - -/* The value of ETIME. */ -#undef CCONST_ETIME - -/* The value of ETIMEDOUT. */ -#undef CCONST_ETIMEDOUT - -/* The value of ETOOMANYREFS. */ -#undef CCONST_ETOOMANYREFS - -/* The value of ETXTBSY. */ -#undef CCONST_ETXTBSY - -/* The value of EUSERS. */ -#undef CCONST_EUSERS - -/* The value of EWOULDBLOCK. */ -#undef CCONST_EWOULDBLOCK - -/* The value of EXDEV. */ -#undef CCONST_EXDEV - -/* Define to 1 if you have the declaration of `altzone', and to 0 if you - don't. */ -#undef HAVE_DECL_ALTZONE - -/* Define if you have /bin/sh */ -#undef HAVE_BIN_SH - -/* Define if the HaskellSupport.framework is installed (Mac OS X only) */ -#undef HAVE_FRAMEWORK_HASKELLSUPPORT - -/* Define if gcc supports -mno-omit-leaf-frame-pointer */ -#undef HAVE_GCC_MNO_OMIT_LFPTR - -/* Define if you have the GetModuleFileName function. */ -#undef HAVE_GETMODULEFILENAME - -/* Define if in_addr_t is available */ -#undef HAVE_IN_ADDR_T - -/* Define if you need -ldl to get dlopen() */ -#undef HAVE_LIBDL - -/* Define if you have the mingwex library. */ -#undef HAVE_MINGWEX - -/* Define if struct msghdr contains msg_accrights field */ -#undef HAVE_MSGHDR_MSG_ACCRIGHTS - -/* Define if struct msghdr contains msg_control field */ -#undef HAVE_MSGHDR_MSG_CONTROL - -/* Define if RTLD_GLOBAL is available */ -#undef HAVE_RTLDGLOBAL - -/* Define if RTLD_LOCAL is available */ -#undef HAVE_RTLDLOCAL - -/* Define if we can see RTLD_NEXT in dlfcn.h */ -#undef HAVE_RTLDNEXT - -/* Define if we can see RTLD_NOW in dlfcn.h */ -#undef HAVE_RTLDNOW - -/* Define if usleep returns void */ -#undef USLEEP_RETURNS_VOID - -/* Define if it looks like a Linux sendfile(2) implementation */ -#undef HAVE_LINUX_SENDFILE - -/* Define if it looks like a BSDish sendfile(2) implementation */ -#undef HAVE_BSD_SENDFILE - -/* Define if C compiler supports long long types */ -#undef HAVE_LONG_LONG - -/* Define if fcntl.h defines O_BINARY */ -#undef HAVE_O_BINARY - -/* Define if readline/readline.h and readline/history.h exist */ -#undef HAVE_READLINE_HEADERS - -/* Define if readline plus any additional libs needed for it exist */ -#undef HAVE_READLINE_LIBS - -/* Define if readline has version >= 4.0. */ -#undef HAVE_READLINE_4 - -/* Define if readline has version >= 4.2. */ -#undef HAVE_READLINE_4_2 - -/* Define if defines _SC_GETGR_R_SIZE_MAX */ -#undef HAVE_SC_GETGR_R_SIZE_MAX - -/* Define if defines _SC_GETPW_R_SIZE_MAX */ -#undef HAVE_SC_GETPW_R_SIZE_MAX - -/* Define if you have the sigpoll() function */ -#undef HAVE_SIGPOLL - -/* Define if you support the production (and use) of Win32 DLLs. */ -#undef HAVE_WIN32_DLL_SUPPORT - -/* Define if you have the WinExec function. */ -#undef HAVE_WINEXEC - -/* Define to Haskell type for blkcnt_t */ -#undef HTYPE_BLKCNT_T - -/* Define to Haskell type for cc_t */ -#undef HTYPE_CC_T - -/* Define to Haskell type for char */ -#undef HTYPE_CHAR - -/* Define to Haskell type for clock_t */ -#undef HTYPE_CLOCK_T - -/* Define to Haskell type for dev_t */ -#undef HTYPE_DEV_T - -/* Define to Haskell type for signed double */ -#undef HTYPE_DOUBLE - -/* Define to Haskell type for float */ -#undef HTYPE_FLOAT - -/* Define to Haskell type for gid_t */ -#undef HTYPE_GID_T - -/* Define to Haskell type for GLbitfield */ -#undef HTYPE_GLBITFIELD - -/* Define to Haskell type for GLboolean */ -#undef HTYPE_GLBOOLEAN - -/* Define to Haskell type for GLbyte */ -#undef HTYPE_GLBYTE - -/* Define to Haskell type for GLclampd */ -#undef HTYPE_GLCLAMPD - -/* Define to Haskell type for GLclampf */ -#undef HTYPE_GLCLAMPF - -/* Define to Haskell type for GLdouble */ -#undef HTYPE_GLDOUBLE - -/* Define to Haskell type for GLenum */ -#undef HTYPE_GLENUM - -/* Define to Haskell type for GLfloat */ -#undef HTYPE_GLFLOAT - -/* Define to Haskell type for GLint */ -#undef HTYPE_GLINT - -/* Define to Haskell type for GLshort */ -#undef HTYPE_GLSHORT - -/* Define to Haskell type for GLsizei */ -#undef HTYPE_GLSIZEI - -/* Define to Haskell type for GLubyte */ -#undef HTYPE_GLUBYTE - -/* Define to Haskell type for GLuint */ -#undef HTYPE_GLUINT - -/* Define to Haskell type for GLushort */ -#undef HTYPE_GLUSHORT - -/* Define to Haskell type for int */ -#undef HTYPE_INT - -/* Define to Haskell type for ino_t */ -#undef HTYPE_INO_T - -/* Define to Haskell type for long */ -#undef HTYPE_LONG - -/* Define to Haskell type for long long */ -#undef HTYPE_LONG_LONG - -/* Define to Haskell type for mode_t */ -#undef HTYPE_MODE_T - -/* Define to Haskell type for nlink_t */ -#undef HTYPE_NLINK_T - -/* Define to Haskell type for off_t */ -#undef HTYPE_OFF_T - -/* Define to Haskell type for pid_t */ -#undef HTYPE_PID_T - -/* Define to Haskell type for ptrdiff_t */ -#undef HTYPE_PTRDIFF_T - -/* Define to Haskell type for rlim_t */ -#undef HTYPE_RLIM_T - -/* Define to Haskell type for short */ -#undef HTYPE_SHORT - -/* Define to Haskell type for sig_atomic_t */ -#undef HTYPE_SIG_ATOMIC_T - -/* Define to Haskell type for signed char */ -#undef HTYPE_SIGNED_CHAR - -/* Define to Haskell type for size_t */ -#undef HTYPE_SIZE_T - -/* Define to Haskell type for speed_t */ -#undef HTYPE_SPEED_T - -/* Define to Haskell type for ssize_t */ -#undef HTYPE_SSIZE_T - -/* Define to Haskell type for time_t */ -#undef HTYPE_TIME_T - -/* Define to Haskell type for tcflag_t */ -#undef HTYPE_TCFLAG_T - -/* Define to Haskell type for uid_t */ -#undef HTYPE_UID_T - -/* Define to Haskell type for unsigned char */ -#undef HTYPE_UNSIGNED_CHAR - -/* Define to Haskell type for unsigned int */ -#undef HTYPE_UNSIGNED_INT - -/* Define to Haskell type for unsigned long */ -#undef HTYPE_UNSIGNED_LONG - -/* Define to Haskell type for unsigned long long */ -#undef HTYPE_UNSIGNED_LONG_LONG - -/* Define to Haskell type for unsigned short */ -#undef HTYPE_UNSIGNED_SHORT - -/* Define to Haskell type for wchar_t */ -#undef HTYPE_WCHAR_T - -/* Define if C Symbols have a leading underscore added by the compiler */ -#undef LEADING_UNDERSCORE - -/* Define if signal handlers have type void (*)(int) - * (Otherwise, they're assumed to have type int (*)(void).) - */ -#undef VOID_INT_SIGNALS - -/* Define if you want to include .NET interop support. */ -#undef WANT_DOTNET_SUPPORT - - -/* Leave that blank line there!! Autoheader needs it. - If you're adding to this file, keep in mind: - The entries are in sort -df order: alphabetical, case insensitive, - ignoring punctuation (such as underscores). */ - - -/* autoheader doesn't grok AC_CHECK_LIB_NOWARN so we have to add them - manually. */ - - -/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP - systems. This function is required for `alloca.c' support on those systems. - */ -#undef CRAY_STACKSEG_END - -/* Define to 1 if using `alloca.c'. */ -#undef C_ALLOCA - -/* Define to 1 if you have the `access' function. */ -#undef HAVE_ACCESS - -/* Define to 1 if you have `alloca', as a function or macro. */ -#undef HAVE_ALLOCA - -/* Define to 1 if you have and it should be used (not on Ultrix). - */ -#undef HAVE_ALLOCA_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_ARPA_INET_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_ASSERT_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_BFD_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_CONIO_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_CONSOLE_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_CTYPE_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_DIRENT_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_DLFCN_H - -/* Define to 1 if you have the `dlopen' function. */ -#undef HAVE_DLOPEN - -/* Define to 1 if you have the header file. */ -#undef HAVE_DL_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_DOS_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_ERRNO_H - -/* Define to 1 if you have the `farcalloc' function. */ -#undef HAVE_FARCALLOC - -/* Define to 1 if you have the header file. */ -#undef HAVE_FCNTL_H - -/* Define to 1 if you have the `fgetpos' function. */ -#undef HAVE_FGETPOS - -/* Define to 1 if you have the header file. */ -#undef HAVE_FILES_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_FLOAT_H - -/* Define to 1 if you have the `fseek' function. */ -#undef HAVE_FSEEK - -/* Define to 1 if you have the `fsetpos' function. */ -#undef HAVE_FSETPOS - -/* Define to 1 if you have the `ftell' function. */ -#undef HAVE_FTELL - -/* Define to 1 if you have the `ftime' function. */ -#undef HAVE_FTIME - -/* Define to 1 if you have the header file. */ -#undef HAVE_FTW_H - -/* Define to 1 if you have the `getclock' function. */ -#undef HAVE_GETCLOCK - -/* Define to 1 if you have the `getgrgid_r' function. */ -#undef HAVE_GETGRGID_R - -/* Define to 1 if you have the `getgrnam_r' function. */ -#undef HAVE_GETGRNAM_R - -/* Define to 1 if you have the `getpagesize' function. */ -#undef HAVE_GETPAGESIZE - -/* Define to 1 if you have the `getpwnam_r' function. */ -#undef HAVE_GETPWNAM_R - -/* Define to 1 if you have the `getpwuid_r' function. */ -#undef HAVE_GETPWUID_R - -/* Define to 1 if you have the `getrusage' function. */ -#undef HAVE_GETRUSAGE - -/* Define to 1 if you have the `gettimeofday' function. */ -#undef HAVE_GETTIMEOFDAY - -/* Define to 1 if you have the header file. */ -#undef HAVE_GL_GL_H - -/* Define to 1 if you have the `gmtime_r' function. */ -#undef HAVE_GMTIME_R - -/* Define to 1 if you have the header file. */ -#undef HAVE_GRP_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_IEEE754_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_INTTYPES_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_IO_H - -/* Define to 1 if you have the `lchown' function. */ -#undef HAVE_LCHOWN - -/* Define to 1 if you have the `bfd' library (-lbfd). */ -#undef HAVE_LIBBFD - -/* Define to 1 if you have the `iberty' library (-liberty). */ -#undef HAVE_LIBIBERTY - -/* Define to 1 if you have the header file. */ -#undef HAVE_LIMITS_H - -/* Define to 1 if you have the `localtime_r' function. */ -#undef HAVE_LOCALTIME_R - -/* Define to 1 if you have the `lstat' function. */ -#undef HAVE_LSTAT - -/* Define to 1 if you have the `macsystem' function. */ -#undef HAVE_MACSYSTEM - -/* Define to 1 if you have the header file. */ -#undef HAVE_MALLOC_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_MEMORY_H - -/* Define to 1 if you have the `mktime' function. */ -#undef HAVE_MKTIME - -/* Define to 1 if you have the `mprotect' function. */ -#undef HAVE_MPROTECT - -/* Define to 1 if you have the header file. */ -#undef HAVE_NETDB_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_NETINET_IN_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_NETINET_TCP_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_NLIST_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_PASCAL_H - -/* Define to 1 if you have the `PBHSetVolSync' function. */ -#undef HAVE_PBHSETVOLSYNC - -/* Define to 1 if you have the `pclose' function. */ -#undef HAVE_PCLOSE - -/* Define to 1 if you have the `popen' function. */ -#undef HAVE_POPEN - -/* Define to 1 if you have the header file. */ -#undef HAVE_PTHREAD_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_PWD_H - -/* Define to 1 if you have the `readdir_r' function. */ -#undef HAVE_READDIR_R - -/* Define to 1 if you have the `readlink' function. */ -#undef HAVE_READLINK - -/* Define to 1 if you have the `realpath' function. */ -#undef HAVE_REALPATH - -/* Define to 1 if you have the `setenv' function. */ -#undef HAVE_SETENV - -/* Define to 1 if you have the `setitimer' function. */ -#undef HAVE_SETITIMER - -/* Define to 1 if you have the header file. */ -#undef HAVE_SGTTY_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SIGINFO_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SIGNAL_H - -/* Define to 1 if you have the `snprintf' function. */ -#undef HAVE_SNPRINTF - -/* Define to 1 if you have the `stat' function. */ -#undef HAVE_STAT - -/* Define to 1 if you have the header file. */ -#undef HAVE_STAT_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_STDARG_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_STDDEF_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_STDINT_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_STDLIB_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_STD_H - -/* Define to 1 if you have the `strcasecmp' function. */ -#undef HAVE_STRCASECMP - -/* Define to 1 if you have the `strcmp' function. */ -#undef HAVE_STRCMP - -/* Define to 1 if you have the `strcmpi' function. */ -#undef HAVE_STRCMPI - -/* Define to 1 if you have the `stricmp' function. */ -#undef HAVE_STRICMP - -/* Define to 1 if you have the header file. */ -#undef HAVE_STRINGS_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_STRING_H - -/* Define to 1 if `st_blksize' is member of `struct stat'. */ -#undef HAVE_STRUCT_STAT_ST_BLKSIZE - -/* Define to 1 if `tm_zone' is member of `struct tm'. */ -#undef HAVE_STRUCT_TM_TM_ZONE - -/* Define to 1 if your `struct stat' has `st_blksize'. Deprecated, use - `HAVE_STRUCT_STAT_ST_BLKSIZE' instead. */ -#undef HAVE_ST_BLKSIZE - -/* Define to 1 if you have the `symlink' function. */ -#undef HAVE_SYMLINK - -/* Define to 1 if you have the `sysconf' function. */ -#undef HAVE_SYSCONF - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_FAULT_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_FILE_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_IOCTL_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_LIMITS_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_MMAN_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_PARAM_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_PROCFS_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_RESOURCE_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_SIGNAL_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_SOCKET_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_STAT_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_SYSCALL_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_TIMEB_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_TIMERS_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_TIMES_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_TIME_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_TYPES_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_UIO_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_UN_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_UTSNAME_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_VADVISE_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_WAIT_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_TERMIOS_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_TERMIO_H - -/* Define to 1 if you have the `timelocal' function. */ -#undef HAVE_TIMELOCAL - -/* Define to 1 if you have the `times' function. */ -#undef HAVE_TIMES - -/* Define to 1 if you have the header file. */ -#undef HAVE_TIME_H - -/* Define to 1 if your `struct tm' has `tm_zone'. Deprecated, use - `HAVE_STRUCT_TM_TM_ZONE' instead. */ -#undef HAVE_TM_ZONE - -/* Define to 1 if you have the header file. */ -#undef HAVE_TYPES_H - -/* Define to 1 if you don't have `tm_zone' but do have the external array - `tzname'. */ -#undef HAVE_TZNAME - -/* Define to 1 if you have the header file. */ -#undef HAVE_UNISTD_H - -/* Define to 1 if you have the `unsetenv' function. */ -#undef HAVE_UNSETENV - -/* Define to 1 if you have the header file. */ -#undef HAVE_UTIME_H - -/* Define to 1 if you have the `vadvise' function. */ -#undef HAVE_VADVISE - -/* Define to 1 if you have the `valloc' function. */ -#undef HAVE_VALLOC - -/* Define to 1 if you have the header file. */ -#undef HAVE_VALUES_H - -/* Define to 1 if you have the `vfork' function. */ -#undef HAVE_VFORK - -/* Define to 1 if you have the header file. */ -#undef HAVE_VFORK_H - -/* Define to 1 if you have the `vsnprintf' function. */ -#undef HAVE_VSNPRINTF - -/* Define to 1 if you have the header file. */ -#undef HAVE_WINDOWS_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_WINSOCK_H - -/* Define to 1 if you have the `_fullpath' function. */ -#undef HAVE__FULLPATH - -/* Define to 1 if you have the `_pclose' function. */ -#undef HAVE__PCLOSE - -/* Define to 1 if you have the `_popen' function. */ -#undef HAVE__POPEN - -/* Define to 1 if you have the `_snprintf' function. */ -#undef HAVE__SNPRINTF - -/* Define to 1 if you have the `_stricmp' function. */ -#undef HAVE__STRICMP - -/* Define to 1 if you have the `_vsnprintf' function. */ -#undef HAVE__VSNPRINTF - -/* Define to the address where bug reports for this package should be sent. */ -#undef PACKAGE_BUGREPORT - -/* Define to the full name of this package. */ -#undef PACKAGE_NAME - -/* Define to the full name and version of this package. */ -#undef PACKAGE_STRING - -/* Define to the one symbol short name of this package. */ -#undef PACKAGE_TARNAME - -/* Define to the version of this package. */ -#undef PACKAGE_VERSION - -/* Define as the return type of signal handlers (`int' or `void'). */ -#undef RETSIGTYPE - -/* The size of a `char', as computed by sizeof. */ -#undef SIZEOF_CHAR - -/* The size of a `double', as computed by sizeof. */ -#undef SIZEOF_DOUBLE - -/* The size of a `float', as computed by sizeof. */ -#undef SIZEOF_FLOAT - -/* The size of a `int', as computed by sizeof. */ -#undef SIZEOF_INT - -/* The size of a `long', as computed by sizeof. */ -#undef SIZEOF_LONG - -/* The size of a `long long', as computed by sizeof. */ -#undef SIZEOF_LONG_LONG - -/* The size of a `short', as computed by sizeof. */ -#undef SIZEOF_SHORT - -/* The size of a `unsigned char', as computed by sizeof. */ -#undef SIZEOF_UNSIGNED_CHAR - -/* The size of a `unsigned int', as computed by sizeof. */ -#undef SIZEOF_UNSIGNED_INT - -/* The size of a `unsigned long', as computed by sizeof. */ -#undef SIZEOF_UNSIGNED_LONG - -/* The size of a `unsigned long long', as computed by sizeof. */ -#undef SIZEOF_UNSIGNED_LONG_LONG - -/* The size of a `unsigned short', as computed by sizeof. */ -#undef SIZEOF_UNSIGNED_SHORT - -/* The size of a `void *', as computed by sizeof. */ -#undef SIZEOF_VOID_P - -/* If using the C implementation of alloca, define if you know the - direction of stack growth for your system; otherwise it will be - automatically deduced at run-time. - STACK_DIRECTION > 0 => grows toward higher addresses - STACK_DIRECTION < 0 => grows toward lower addresses - STACK_DIRECTION = 0 => direction of growth unknown */ -#undef STACK_DIRECTION - -/* Define to 1 if you have the ANSI C header files. */ -#undef STDC_HEADERS - -/* Define to 1 if you can safely include both and . */ -#undef TIME_WITH_SYS_TIME - -/* Define to 1 if your declares `struct tm'. */ -#undef TM_IN_SYS_TIME - -/* Define if the system headers declare usleep to return void. */ -#undef USLEEP_RETURNS_VOID - -/* Define to 1 if your processor stores words with the most significant byte - first (like Motorola and SPARC, unlike Intel and VAX). */ -#undef WORDS_BIGENDIAN - -/* Define to 1 if the X Window System is missing or not being used. */ -#undef X_DISPLAY_MISSING - -/* Number of bits in a file offset, on hosts where this is settable. */ -#undef _FILE_OFFSET_BITS - -/* Define for large files, on AIX-style hosts. */ -#undef _LARGE_FILES - -/* Define to empty if `const' does not conform to ANSI C. */ -#undef const - -/* Define if we want to use Apple's OpenGL for the Quartz Display System on Mac OS X (instead of X11) */ -#undef USE_QUARTZ_OPENGL -- 1.7.10.4