[project @ 2002-03-26 16:36:09 by stolz]
authorstolz <unknown>
Tue, 26 Mar 2002 16:36:09 +0000 (16:36 +0000)
committerstolz <unknown>
Tue, 26 Mar 2002 16:36:09 +0000 (16:36 +0000)
Add dlopen() and friends to package 'posix'.
A configure-test for RTLD_NEXT is required. Record if -ldl is
required in posix.conf.

acconfig.h
configure.in
mk/config.h.in
mk/config.mk.in

index 386cb1d..0159b3a 100644 (file)
 /* Define if you need -ldl to get dlopen() */
 #undef HAVE_LIBDL
 
+/* Define if we can see RTLD_NEXT in dlfcn.h */
+#undef HAVE_RTLDNEXT
+
 /* Define if C compiler supports long long types */
 #undef HAVE_LONG_LONG
 
index ada52b6..53c0cd6 100644 (file)
@@ -958,6 +958,8 @@ dnl ################################################################
 dnl Check for libraries
 dnl ################################################################
 
+dnl ** check for libdl & RTLD_NEXT
+
 AC_CHECK_LIB(dl, dlopen, 
        [HaveLibDL=YES
         AC_DEFINE(HAVE_LIBDL)
@@ -966,6 +968,24 @@ AC_CHECK_LIB(dl, dlopen,
 AC_CHECK_FUNCS(dlopen)
 AC_SUBST(HaveLibDL)
 
+dnl ** sometimes RTLD_NEXT is hidden in #ifdefs we really don't wan to set
+AC_MSG_CHECKING(for RTLD_NEXT from dlfcn.h)
+AC_EGREP_CPP(yes,
+[
+ #include <dlfcn.h>
+ #ifdef RTLD_NEXT
+        yes
+ #endif
+], [
+  AC_MSG_RESULT(yes)
+  AC_DEFINE(HAVE_RTLDNEXT)
+  HaveRtldNext=YES
+], [
+  AC_MSG_RESULT(no)
+  HaveRtldNext=NO
+  ])    
+AC_SUBST(HaveRtldNext)
+
 FPTOOLS_CHECK_LIB_NOWARN(m, atan)
 
 dnl --------------------------------------------------
index 900e1b8..736f629 100644 (file)
 \f
 
 
-/* Define if using alloca.c.  */
-#undef C_ALLOCA
-
-/* Define to empty if the keyword does not work.  */
-#undef const
-
-/* 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 if you have alloca, as a function or macro.  */
-#undef HAVE_ALLOCA
-
-/* Define if you have <alloca.h> and it should be used (not on Ultrix).  */
-#undef HAVE_ALLOCA_H
-
-/* Define if your struct stat has st_blksize.  */
-#undef HAVE_ST_BLKSIZE
-
-/* Define if your struct tm has tm_zone.  */
-#undef HAVE_TM_ZONE
-
-/* Define if you don't have tm_zone but do have the external array
-   tzname.  */
-#undef HAVE_TZNAME
-
-/* Define as the return type of signal handlers (int or void).  */
-#undef RETSIGTYPE
-
-/* 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 if you have the ANSI C header files.  */
-#undef STDC_HEADERS
-
-/* Define if you can safely include both <sys/time.h> and <time.h>.  */
-#undef TIME_WITH_SYS_TIME
-
-/* Define if your <sys/time.h> declares struct tm.  */
-#undef TM_IN_SYS_TIME
-
-/* Define if your processor stores words with the most significant
-   byte first (like Motorola and SPARC, unlike Intel and VAX).  */
-#undef WORDS_BIGENDIAN
-
-/* Define if the X Window System is missing or not being used.  */
-#undef X_DISPLAY_MISSING
 
 /* Define to alignment constraint on chars */
 #undef ALIGNMENT_CHAR
 /* 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 if code lives before data in memory */
 #undef CODE_BEFORE_DATA
 
 /* Define if you need -ldl to get dlopen() */
 #undef HAVE_LIBDL
 
+/* Define if we can see RTLD_NEXT in dlfcn.h */
+#undef HAVE_RTLDNEXT
+
 /* Define if C compiler supports long long types */
 #undef HAVE_LONG_LONG
 
 
 /* Define to Haskell type for GLclampd */
 #undef HTYPE_GLCLAMPD
-
  
 /* Define to Haskell type for GLclampf */
 #undef HTYPE_GLCLAMPF
  * (Otherwise, they're assumed to have type int (*)(void).)
  */
 #undef VOID_INT_SIGNALS
+\f
+/* 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).  */
 
-/* The number of bytes in a char.  */
-#undef SIZEOF_CHAR
+\f
+/* autoheader doesn't grok AC_CHECK_LIB_NOWARN so we have to add them
+   manually.  */
 
-/* The number of bytes in a double.  */
-#undef SIZEOF_DOUBLE
 
-/* The number of bytes in a float.  */
-#undef SIZEOF_FLOAT
+/* 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
 
-/* The number of bytes in a int.  */
-#undef SIZEOF_INT
+/* Define if using `alloca.c'. */
+#undef C_ALLOCA
 
-/* The number of bytes in a long.  */
-#undef SIZEOF_LONG
+/* Define if you have the `access' function. */
+#undef HAVE_ACCESS
 
-/* The number of bytes in a long long.  */
-#undef SIZEOF_LONG_LONG
+/* Define if you have `alloca', as a function or macro. */
+#undef HAVE_ALLOCA
 
-/* The number of bytes in a short.  */
-#undef SIZEOF_SHORT
+/* Define if you have <alloca.h> and it should be used (not on Ultrix). */
+#undef HAVE_ALLOCA_H
 
-/* The number of bytes in a unsigned char.  */
-#undef SIZEOF_UNSIGNED_CHAR
+/* Define if you have the <arpa/inet.h> header file. */
+#undef HAVE_ARPA_INET_H
 
-/* The number of bytes in a unsigned int.  */
-#undef SIZEOF_UNSIGNED_INT
+/* Define if you have the <assert.h> header file. */
+#undef HAVE_ASSERT_H
 
-/* The number of bytes in a unsigned long.  */
-#undef SIZEOF_UNSIGNED_LONG
+/* Define if you have the <bfd.h> header file. */
+#undef HAVE_BFD_H
 
-/* The number of bytes in a unsigned long long.  */
-#undef SIZEOF_UNSIGNED_LONG_LONG
+/* Define if you have the <conio.h> header file. */
+#undef HAVE_CONIO_H
 
-/* The number of bytes in a unsigned short.  */
-#undef SIZEOF_UNSIGNED_SHORT
+/* Define if you have the <console.h> header file. */
+#undef HAVE_CONSOLE_H
 
-/* The number of bytes in a void *.  */
-#undef SIZEOF_VOID_P
+/* Define if you have the <ctype.h> header file. */
+#undef HAVE_CTYPE_H
 
-/* Define if you have the access function.  */
-#undef HAVE_ACCESS
+/* Define if you have the <dirent.h> header file. */
+#undef HAVE_DIRENT_H
+
+/* Define if you have the <dlfcn.h> header file. */
+#undef HAVE_DLFCN_H
 
-/* Define if you have the dlopen function.  */
+/* Define if you have the `dlopen' function. */
 #undef HAVE_DLOPEN
 
-/* Define if you have the farcalloc function.  */
+/* Define if you have the <dl.h> header file. */
+#undef HAVE_DL_H
+
+/* Define if you have the <dos.h> header file. */
+#undef HAVE_DOS_H
+
+/* Define if you have the <errno.h> header file. */
+#undef HAVE_ERRNO_H
+
+/* Define if you have the `farcalloc' function. */
 #undef HAVE_FARCALLOC
 
-/* Define if you have the fgetpos function.  */
+/* Define if you have the <fcntl.h> header file. */
+#undef HAVE_FCNTL_H
+
+/* Define if you have the `fgetpos' function. */
 #undef HAVE_FGETPOS
 
-/* Define if you have the fseek function.  */
+/* Define if you have the <Files.h> header file. */
+#undef HAVE_FILES_H
+
+/* Define if you have the <float.h> header file. */
+#undef HAVE_FLOAT_H
+
+/* Define if you have the `fseek' function. */
 #undef HAVE_FSEEK
 
-/* Define if you have the fsetpos function.  */
+/* Define if you have the `fsetpos' function. */
 #undef HAVE_FSETPOS
 
-/* Define if you have the ftell function.  */
+/* Define if you have the `ftell' function. */
 #undef HAVE_FTELL
 
-/* Define if you have the ftime function.  */
+/* Define if you have the `ftime' function. */
 #undef HAVE_FTIME
 
-/* Define if you have the _fullpath function.  */
-#undef HAVE__FULLPATH
+/* Define if you have the <ftw.h> header file. */
+#undef HAVE_FTW_H
 
-/* Define if you have the getclock function.  */
+/* Define if you have the `getclock' function. */
 #undef HAVE_GETCLOCK
 
-/* Define if you have the getpagesize function.  */
+/* Define if you have the `getpagesize' function. */
 #undef HAVE_GETPAGESIZE
 
-/* Define if you have the getrusage function.  */
+/* Define if you have the `getrusage' function. */
 #undef HAVE_GETRUSAGE
 
-/* Define if you have the gettimeofday function.  */
+/* Define if you have the `gettimeofday' function. */
 #undef HAVE_GETTIMEOFDAY
 
-/* Define if you have the gmtime_r function.  */
+/* Define if you have the <GL/gl.h> header file. */
+#undef HAVE_GL_GL_H
+
+/* Define if you have the `gmtime_r' function. */
 #undef HAVE_GMTIME_R
 
-/* Define if you have the localtime_r function.  */
+/* Define if you have the <grp.h> header file. */
+#undef HAVE_GRP_H
+
+/* Define if you have the <ieee754.h> header file. */
+#undef HAVE_IEEE754_H
+
+/* Define if you have the <inttypes.h> header file. */
+#undef HAVE_INTTYPES_H
+
+/* Define if you have the <io.h> header file. */
+#undef HAVE_IO_H
+
+/* Define if you have the `bfd' library (-lbfd). */
+#undef HAVE_LIBBFD
+
+/* Define if you have the `iberty' library (-liberty). */
+#undef HAVE_LIBIBERTY
+
+/* Define if you have the <limits.h> header file. */
+#undef HAVE_LIMITS_H
+
+/* Define if you have the `localtime_r' function. */
 #undef HAVE_LOCALTIME_R
 
-/* Define if you have the lstat function.  */
+/* Define if you have the `lstat' function. */
 #undef HAVE_LSTAT
 
-/* Define if you have the macsystem function.  */
+/* Define if you have the `macsystem' function. */
 #undef HAVE_MACSYSTEM
 
-/* Define if you have the mktime function.  */
+/* Define if you have the <malloc.h> header file. */
+#undef HAVE_MALLOC_H
+
+/* Define if you have the <memory.h> header file. */
+#undef HAVE_MEMORY_H
+
+/* Define if you have the `mktime' function. */
 #undef HAVE_MKTIME
 
-/* Define if you have the mprotect function.  */
+/* Define if you have the `mprotect' function. */
 #undef HAVE_MPROTECT
 
-/* Define if you have the PBHSetVolSync function.  */
+/* Define if you have the <netdb.h> header file. */
+#undef HAVE_NETDB_H
+
+/* Define if you have the <netinet/in.h> header file. */
+#undef HAVE_NETINET_IN_H
+
+/* Define if you have the <netinet/tcp.h> header file. */
+#undef HAVE_NETINET_TCP_H
+
+/* Define if you have the <nlist.h> header file. */
+#undef HAVE_NLIST_H
+
+/* Define if you have the <pascal.h> header file. */
+#undef HAVE_PASCAL_H
+
+/* Define if you have the `PBHSetVolSync' function. */
 #undef HAVE_PBHSETVOLSYNC
 
-/* Define if you have the pclose function.  */
+/* Define if you have the `pclose' function. */
 #undef HAVE_PCLOSE
 
-/* Define if you have the _pclose function.  */
-#undef HAVE__PCLOSE
-
-/* Define if you have the popen function.  */
+/* Define if you have the `popen' function. */
 #undef HAVE_POPEN
 
-/* Define if you have the _popen function.  */
-#undef HAVE__POPEN
+/* Define if you have the <pthread.h> header file. */
+#undef HAVE_PTHREAD_H
+
+/* Define if you have the <pwd.h> header file. */
+#undef HAVE_PWD_H
 
-/* Define if you have the readdir_r function.  */
+/* Define if you have the `readdir_r' function. */
 #undef HAVE_READDIR_R
 
-/* Define if you have the readlink function.  */
+/* Define if you have the `readlink' function. */
 #undef HAVE_READLINK
 
-/* Define if you have the realpath function.  */
+/* Define if you have the `realpath' function. */
 #undef HAVE_REALPATH
 
-/* Define if you have the setitimer function.  */
+/* Define if you have the `setitimer' function. */
 #undef HAVE_SETITIMER
 
-/* Define if you have the snprintf function.  */
-#undef HAVE_SNPRINTF
-
-/* Define if you have the _snprintf function.  */
-#undef HAVE__SNPRINTF
-
-/* Define if you have the stat function.  */
-#undef HAVE_STAT
+/* Define if you have the <sgtty.h> header file. */
+#undef HAVE_SGTTY_H
 
-/* Define if you have the strcasecmp function.  */
-#undef HAVE_STRCASECMP
+/* Define if you have the <siginfo.h> header file. */
+#undef HAVE_SIGINFO_H
 
-/* Define if you have the strcmp function.  */
-#undef HAVE_STRCMP
+/* Define if you have the <signal.h> header file. */
+#undef HAVE_SIGNAL_H
 
-/* Define if you have the strcmpi function.  */
-#undef HAVE_STRCMPI
+/* Define if you have the `snprintf' function. */
+#undef HAVE_SNPRINTF
 
-/* Define if you have the stricmp function.  */
-#undef HAVE_STRICMP
+/* Define if you have the `stat' function. */
+#undef HAVE_STAT
 
-/* Define if you have the _stricmp function.  */
-#undef HAVE__STRICMP
+/* Define if you have the <stat.h> header file. */
+#undef HAVE_STAT_H
 
-/* Define if you have the symlink function.  */
-#undef HAVE_SYMLINK
+/* Define if you have the <stdarg.h> header file. */
+#undef HAVE_STDARG_H
 
-/* Define if you have the sysconf function.  */
-#undef HAVE_SYSCONF
+/* Define if you have the <stddef.h> header file. */
+#undef HAVE_STDDEF_H
 
-/* Define if you have the timelocal function.  */
-#undef HAVE_TIMELOCAL
+/* Define if you have the <stdint.h> header file. */
+#undef HAVE_STDINT_H
 
-/* Define if you have the times function.  */
-#undef HAVE_TIMES
+/* Define if you have the <stdlib.h> header file. */
+#undef HAVE_STDLIB_H
 
-/* Define if you have the vadvise function.  */
-#undef HAVE_VADVISE
+/* Define if you have the <std.h> header file. */
+#undef HAVE_STD_H
 
-/* Define if you have the valloc function.  */
-#undef HAVE_VALLOC
+/* Define if you have the `strcasecmp' function. */
+#undef HAVE_STRCASECMP
 
-/* Define if you have the vfork function.  */
-#undef HAVE_VFORK
+/* Define if you have the `strcmp' function. */
+#undef HAVE_STRCMP
 
-/* Define if you have the vsnprintf function.  */
-#undef HAVE_VSNPRINTF
+/* Define if you have the `strcmpi' function. */
+#undef HAVE_STRCMPI
 
-/* Define if you have the _vsnprintf function.  */
-#undef HAVE__VSNPRINTF
+/* Define if you have the `stricmp' function. */
+#undef HAVE_STRICMP
 
-/* Define if you have the <arpa/inet.h> header file.  */
-#undef HAVE_ARPA_INET_H
+/* Define if you have the <strings.h> header file. */
+#undef HAVE_STRINGS_H
 
-/* Define if you have the <assert.h> header file.  */
-#undef HAVE_ASSERT_H
+/* Define if you have the <string.h> header file. */
+#undef HAVE_STRING_H
 
-/* Define if you have the <bfd.h> header file.  */
-#undef HAVE_BFD_H
+/* Define if `st_blksize' is member of `struct stat'. */
+#undef HAVE_STRUCT_STAT_ST_BLKSIZE
 
-/* Define if you have the <conio.h> header file.  */
-#undef HAVE_CONIO_H
+/* Define if `tm_zone' is member of `struct tm'. */
+#undef HAVE_STRUCT_TM_TM_ZONE
 
-/* Define if you have the <console.h> header file.  */
-#undef HAVE_CONSOLE_H
+/* Define if your `struct stat' has `st_blksize'. Deprecated, use
+   `HAVE_STRUCT_STAT_ST_BLKSIZE' instead. */
+#undef HAVE_ST_BLKSIZE
 
-/* Define if you have the <ctype.h> header file.  */
-#undef HAVE_CTYPE_H
+/* Define if you have the `symlink' function. */
+#undef HAVE_SYMLINK
 
-/* Define if you have the <dirent.h> header file.  */
-#undef HAVE_DIRENT_H
+/* Define if you have the `sysconf' function. */
+#undef HAVE_SYSCONF
 
-/* Define if you have the <dlfcn.h> header file.  */
-#undef HAVE_DLFCN_H
+/* Define if you have the <sys/fault.h> header file. */
+#undef HAVE_SYS_FAULT_H
 
-/* Define if you have the <dl.h> header file.  */
-#undef HAVE_DL_H
+/* Define if you have the <sys/file.h> header file. */
+#undef HAVE_SYS_FILE_H
 
-/* Define if you have the <dos.h> header file.  */
-#undef HAVE_DOS_H
+/* Define if you have the <sys/ioctl.h> header file. */
+#undef HAVE_SYS_IOCTL_H
 
-/* Define if you have the <errno.h> header file.  */
-#undef HAVE_ERRNO_H
+/* Define if you have the <sys/limits.h> header file. */
+#undef HAVE_SYS_LIMITS_H
 
-/* Define if you have the <fcntl.h> header file.  */
-#undef HAVE_FCNTL_H
+/* Define if you have the <sys/mman.h> header file. */
+#undef HAVE_SYS_MMAN_H
 
-/* Define if you have the <Files.h> header file.  */
-#undef HAVE_FILES_H
+/* Define if you have the <sys/param.h> header file. */
+#undef HAVE_SYS_PARAM_H
 
-/* Define if you have the <float.h> header file.  */
-#undef HAVE_FLOAT_H
+/* Define if you have the <sys/procfs.h> header file. */
+#undef HAVE_SYS_PROCFS_H
 
-/* Define if you have the <ftw.h> header file.  */
-#undef HAVE_FTW_H
+/* Define if you have the <sys/resource.h> header file. */
+#undef HAVE_SYS_RESOURCE_H
 
-/* Define if you have the <GL/gl.h> header file.  */
-#undef HAVE_GL_GL_H
+/* Define if you have the <sys/signal.h> header file. */
+#undef HAVE_SYS_SIGNAL_H
 
-/* Define if you have the <grp.h> header file.  */
-#undef HAVE_GRP_H
+/* Define if you have the <sys/socket.h> header file. */
+#undef HAVE_SYS_SOCKET_H
 
-/* Define if you have the <ieee754.h> header file.  */
-#undef HAVE_IEEE754_H
+/* Define if you have the <sys/stat.h> header file. */
+#undef HAVE_SYS_STAT_H
 
-/* Define if you have the <inttypes.h> header file.  */
-#undef HAVE_INTTYPES_H
+/* Define if you have the <sys/syscall.h> header file. */
+#undef HAVE_SYS_SYSCALL_H
 
-/* Define if you have the <io.h> header file.  */
-#undef HAVE_IO_H
+/* Define if you have the <sys/timeb.h> header file. */
+#undef HAVE_SYS_TIMEB_H
 
-/* Define if you have the <limits.h> header file.  */
-#undef HAVE_LIMITS_H
+/* Define if you have the <sys/timers.h> header file. */
+#undef HAVE_SYS_TIMERS_H
 
-/* Define if you have the <malloc.h> header file.  */
-#undef HAVE_MALLOC_H
+/* Define if you have the <sys/times.h> header file. */
+#undef HAVE_SYS_TIMES_H
 
-/* Define if you have the <memory.h> header file.  */
-#undef HAVE_MEMORY_H
+/* Define if you have the <sys/time.h> header file. */
+#undef HAVE_SYS_TIME_H
 
-/* Define if you have the <netdb.h> header file.  */
-#undef HAVE_NETDB_H
+/* Define if you have the <sys/types.h> header file. */
+#undef HAVE_SYS_TYPES_H
 
-/* Define if you have the <netinet/in.h> header file.  */
-#undef HAVE_NETINET_IN_H
+/* Define if you have the <sys/un.h> header file. */
+#undef HAVE_SYS_UN_H
 
-/* Define if you have the <netinet/tcp.h> header file.  */
-#undef HAVE_NETINET_TCP_H
+/* Define if you have the <sys/utsname.h> header file. */
+#undef HAVE_SYS_UTSNAME_H
 
-/* Define if you have the <nlist.h> header file.  */
-#undef HAVE_NLIST_H
+/* Define if you have the <sys/vadvise.h> header file. */
+#undef HAVE_SYS_VADVISE_H
 
-/* Define if you have the <pascal.h> header file.  */
-#undef HAVE_PASCAL_H
+/* Define if you have the <sys/wait.h> header file. */
+#undef HAVE_SYS_WAIT_H
 
-/* Define if you have the <pthread.h> header file.  */
-#undef HAVE_PTHREAD_H
+/* Define if you have the <termios.h> header file. */
+#undef HAVE_TERMIOS_H
 
-/* Define if you have the <pwd.h> header file.  */
-#undef HAVE_PWD_H
+/* Define if you have the <termio.h> header file. */
+#undef HAVE_TERMIO_H
 
-/* Define if you have the <sgtty.h> header file.  */
-#undef HAVE_SGTTY_H
+/* Define if you have the `timelocal' function. */
+#undef HAVE_TIMELOCAL
 
-/* Define if you have the <siginfo.h> header file.  */
-#undef HAVE_SIGINFO_H
+/* Define if you have the `times' function. */
+#undef HAVE_TIMES
 
-/* Define if you have the <signal.h> header file.  */
-#undef HAVE_SIGNAL_H
+/* Define if you have the <time.h> header file. */
+#undef HAVE_TIME_H
 
-/* Define if you have the <stat.h> header file.  */
-#undef HAVE_STAT_H
+/* Define if your `struct tm' has `tm_zone'. Deprecated, use
+   `HAVE_STRUCT_TM_TM_ZONE' instead. */
+#undef HAVE_TM_ZONE
 
-/* Define if you have the <stdarg.h> header file.  */
-#undef HAVE_STDARG_H
+/* Define if you have the <types.h> header file. */
+#undef HAVE_TYPES_H
 
-/* Define if you have the <stddef.h> header file.  */
-#undef HAVE_STDDEF_H
+/* Define if you don't have `tm_zone' but do have the external array `tzname'.
+   */
+#undef HAVE_TZNAME
 
-/* Define if you have the <std.h> header file.  */
-#undef HAVE_STD_H
+/* Define if you have the <unistd.h> header file. */
+#undef HAVE_UNISTD_H
 
-/* Define if you have the <stdint.h> header file.  */
-#undef HAVE_STDINT_H
+/* Define if you have the <utime.h> header file. */
+#undef HAVE_UTIME_H
 
-/* Define if you have the <stdlib.h> header file.  */
-#undef HAVE_STDLIB_H
+/* Define if you have the `vadvise' function. */
+#undef HAVE_VADVISE
 
-/* Define if you have the <string.h> header file.  */
-#undef HAVE_STRING_H
+/* Define if you have the `valloc' function. */
+#undef HAVE_VALLOC
 
-/* Define if you have the <sys/fault.h> header file.  */
-#undef HAVE_SYS_FAULT_H
+/* Define if you have the <values.h> header file. */
+#undef HAVE_VALUES_H
 
-/* Define if you have the <sys/file.h> header file.  */
-#undef HAVE_SYS_FILE_H
+/* Define if you have the `vfork' function. */
+#undef HAVE_VFORK
 
-/* Define if you have the <sys/ioctl.h> header file.  */
-#undef HAVE_SYS_IOCTL_H
+/* Define if you have the <vfork.h> header file. */
+#undef HAVE_VFORK_H
 
-/* Define if you have the <sys/limits.h> header file.  */
-#undef HAVE_SYS_LIMITS_H
+/* Define if you have the `vsnprintf' function. */
+#undef HAVE_VSNPRINTF
 
-/* Define if you have the <sys/mman.h> header file.  */
-#undef HAVE_SYS_MMAN_H
+/* Define if you have the <windows.h> header file. */
+#undef HAVE_WINDOWS_H
 
-/* Define if you have the <sys/param.h> header file.  */
-#undef HAVE_SYS_PARAM_H
+/* Define if you have the <winsock.h> header file. */
+#undef HAVE_WINSOCK_H
 
-/* Define if you have the <sys/procfs.h> header file.  */
-#undef HAVE_SYS_PROCFS_H
+/* Define if you have the `_fullpath' function. */
+#undef HAVE__FULLPATH
 
-/* Define if you have the <sys/resource.h> header file.  */
-#undef HAVE_SYS_RESOURCE_H
+/* Define if you have the `_pclose' function. */
+#undef HAVE__PCLOSE
 
-/* Define if you have the <sys/signal.h> header file.  */
-#undef HAVE_SYS_SIGNAL_H
+/* Define if you have the `_popen' function. */
+#undef HAVE__POPEN
 
-/* Define if you have the <sys/socket.h> header file.  */
-#undef HAVE_SYS_SOCKET_H
+/* Define if you have the `_snprintf' function. */
+#undef HAVE__SNPRINTF
 
-/* Define if you have the <sys/stat.h> header file.  */
-#undef HAVE_SYS_STAT_H
+/* Define if you have the `_stricmp' function. */
+#undef HAVE__STRICMP
 
-/* Define if you have the <sys/syscall.h> header file.  */
-#undef HAVE_SYS_SYSCALL_H
+/* Define if you have the `_vsnprintf' function. */
+#undef HAVE__VSNPRINTF
 
-/* Define if you have the <sys/timeb.h> header file.  */
-#undef HAVE_SYS_TIMEB_H
+/* Define as the return type of signal handlers (`int' or `void'). */
+#undef RETSIGTYPE
 
-/* Define if you have the <sys/time.h> header file.  */
-#undef HAVE_SYS_TIME_H
+/* The size of a `char', as computed by sizeof. */
+#undef SIZEOF_CHAR
 
-/* Define if you have the <sys/timers.h> header file.  */
-#undef HAVE_SYS_TIMERS_H
+/* The size of a `double', as computed by sizeof. */
+#undef SIZEOF_DOUBLE
 
-/* Define if you have the <sys/times.h> header file.  */
-#undef HAVE_SYS_TIMES_H
+/* The size of a `float', as computed by sizeof. */
+#undef SIZEOF_FLOAT
 
-/* Define if you have the <sys/types.h> header file.  */
-#undef HAVE_SYS_TYPES_H
+/* The size of a `int', as computed by sizeof. */
+#undef SIZEOF_INT
 
-/* Define if you have the <sys/un.h> header file.  */
-#undef HAVE_SYS_UN_H
+/* The size of a `long', as computed by sizeof. */
+#undef SIZEOF_LONG
 
-/* Define if you have the <sys/utsname.h> header file.  */
-#undef HAVE_SYS_UTSNAME_H
+/* The size of a `long long', as computed by sizeof. */
+#undef SIZEOF_LONG_LONG
 
-/* Define if you have the <sys/vadvise.h> header file.  */
-#undef HAVE_SYS_VADVISE_H
+/* The size of a `short', as computed by sizeof. */
+#undef SIZEOF_SHORT
 
-/* Define if you have the <sys/wait.h> header file.  */
-#undef HAVE_SYS_WAIT_H
+/* The size of a `unsigned char', as computed by sizeof. */
+#undef SIZEOF_UNSIGNED_CHAR
 
-/* Define if you have the <termio.h> header file.  */
-#undef HAVE_TERMIO_H
+/* The size of a `unsigned int', as computed by sizeof. */
+#undef SIZEOF_UNSIGNED_INT
 
-/* Define if you have the <termios.h> header file.  */
-#undef HAVE_TERMIOS_H
+/* The size of a `unsigned long', as computed by sizeof. */
+#undef SIZEOF_UNSIGNED_LONG
 
-/* Define if you have the <time.h> header file.  */
-#undef HAVE_TIME_H
+/* The size of a `unsigned long long', as computed by sizeof. */
+#undef SIZEOF_UNSIGNED_LONG_LONG
 
-/* Define if you have the <types.h> header file.  */
-#undef HAVE_TYPES_H
+/* The size of a `unsigned short', as computed by sizeof. */
+#undef SIZEOF_UNSIGNED_SHORT
 
-/* Define if you have the <unistd.h> header file.  */
-#undef HAVE_UNISTD_H
+/* The size of a `void *', as computed by sizeof. */
+#undef SIZEOF_VOID_P
 
-/* Define if you have the <utime.h> header file.  */
-#undef HAVE_UTIME_H
+/* 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 if you have the <values.h> header file.  */
-#undef HAVE_VALUES_H
+/* Define if you have the ANSI C header files. */
+#undef STDC_HEADERS
 
-/* Define if you have the <vfork.h> header file.  */
-#undef HAVE_VFORK_H
+/* Define if you can safely include both <sys/time.h> and <time.h>. */
+#undef TIME_WITH_SYS_TIME
 
-/* Define if you have the <windows.h> header file.  */
-#undef HAVE_WINDOWS_H
+/* Define if your <sys/time.h> declares `struct tm'. */
+#undef TM_IN_SYS_TIME
 
-/* Define if you have the <winsock.h> header file.  */
-#undef HAVE_WINSOCK_H
+/* Define if your processor stores words with the most significant byte first
+   (like Motorola and SPARC, unlike Intel and VAX). */
+#undef WORDS_BIGENDIAN
 
-/* Define if you have the bfd library (-lbfd).  */
-#undef HAVE_LIBBFD
+/* Define if the X Window System is missing or not being used. */
+#undef X_DISPLAY_MISSING
 
-/* Define if you have the iberty library (-liberty).  */
-#undef HAVE_LIBIBERTY
+/* Define to empty if `const' does not conform to ANSI C. */
+#undef const
index f8d42ab..1ae53b7 100644 (file)
@@ -205,6 +205,7 @@ endif
 GhcWithJavaGen=NO
 
 HaveLibDL = @HaveLibDL@
+HaveRtldNext = @HaveRtldNext@
 
 # Include GHCi in the compiler.  Default to NO for the time being.
 
@@ -233,7 +234,7 @@ BuildingGranSim=$(subst mg,YES,$(filter mg,$(WAYS)))
 ifeq "$(BootingFromHc)" "YES"
 GhcLibWays=
 else
-GhcLibWays=p
+GhcLibWays=
 endif
 
 # Option flags to pass to GHC when it's compiling modules in