Put AC_DEFINE symbols definitions directly in the configure script so
that we no longer need an acconfig.h. Cleaned up dlopen() tests a bit.
diff --git a/library/port.c b/library/port.c
index 01841d0..03ada14 100644
--- a/library/port.c
+++ b/library/port.c
@@ -40,9 +40,6 @@
#ifdef HAVE_LIBUTIL_H
# include <libutil.h>
#endif
-#ifdef HAVE_DL_API
-# include <dlfcn.h>
-#endif
/***********************************************************************
@@ -449,7 +446,7 @@
*/
void *wine_dlopen( const char *filename, int flag, char *error, int errorsize )
{
-#ifdef HAVE_DL_API
+#ifdef HAVE_DLOPEN
void *ret;
char *s;
dlerror(); dlerror();
@@ -477,7 +474,7 @@
*/
void *wine_dlsym( void *handle, const char *symbol, char *error, int errorsize )
{
-#ifdef HAVE_DL_API
+#ifdef HAVE_DLOPEN
void *ret;
char *s;
dlerror(); dlerror();
@@ -505,7 +502,7 @@
*/
int wine_dlclose( void *handle, char *error, int errorsize )
{
-#ifdef HAVE_DL_API
+#ifdef HAVE_DLOPEN
int ret;
char *s;
dlerror(); dlerror();