Skip to content

Commit

Permalink
trying to work around the compilation problem on HP-UX Daniel
Browse files Browse the repository at this point in the history
* config.h.in configure.in xmlmodule.c: trying to work around
  the compilation problem on HP-UX
Daniel
  • Loading branch information
Daniel Veillard committed Jan 13, 2005
1 parent c7c9fb1 commit dcd9390
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
Thu Jan 13 12:24:09 CET 2005 Daniel Veillard <[email protected]>

* config.h.in configure.in xmlmodule.c: trying to work around
the compilation problem on HP-UX

Wed Jan 12 22:03:33 CET 2005 Daniel Veillard <[email protected]>

* pattern.c: fixed the fixed size array structure problem reported by
Expand Down
3 changes: 3 additions & 0 deletions config.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@
/* Have dlopen based dso */
#undef HAVE_DLOPEN

/* 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

Expand Down
2 changes: 2 additions & 0 deletions configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,8 @@ AC_CHECK_HEADERS([resolv.h], [], [],
# include <arpa/nameser.h>
# endif
])
AC_CHECK_HEADERS([dl.h])
AC_CHECK_HEADERS([dlfcn.h])


echo Checking libraries
Expand Down
7 changes: 5 additions & 2 deletions xmlmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,9 @@ xmlModuleFree(xmlModulePtr module)
}

#ifdef HAVE_DLOPEN

#ifdef HAVE_DLFCN_H
#include <dlfcn.h>
#endif

/**
* xmlModulePlatformOpen:
Expand Down Expand Up @@ -239,7 +240,9 @@ xmlModulePlatformSymbol(void *handle, const char *name, void **symbol)
#endif /* HAVE_DLOPEN */

#ifdef HAVE_SHLLOAD /* HAVE_SHLLOAD */

#ifdef HAVE_DL_H
#include <dl.h>
#endif
/*
* xmlModulePlatformOpen:
* returns a handle on success, and zero on error.
Expand Down

0 comments on commit dcd9390

Please sign in to comment.