Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

From: Ralf Wildenhues (Ralf.Wildenhues_at_[hidden])
Date: 2005-08-31 01:48:44


Please apply the first patch (or a similar solution) to include
ltdl.h directly. This is both how it's documented and how
it will work with Libtool 1.5.x and 2.x: the latter has other
included files, which live one directory level further down.

Below is another tiny patch to please "make distcheck"
(on my machine all there is left to make it pass is one failing test
and the tarballs not being removed properly; the latter will be fixed
by computing the VERSION argument to AC_INIT properly.)

Cheers,
Ralf

        * opal/mca/base/base.h, opal/mca/base/Makefile.am:
        Adjust include paths for ltdl.h

Index: opal/mca/base/base.h
===================================================================
--- opal/mca/base/base.h (revision 7092)
+++ opal/mca/base/base.h (working copy)
@@ -20,7 +20,7 @@
 #include "ompi_config.h"
 
 #if OMPI_WANT_LIBLTDL
-#include "libltdl/ltdl.h"
+#include "ltdl.h"
 #endif
 
 #include "opal/class/opal_object.h"
Index: opal/mca/base/Makefile.am
===================================================================
--- opal/mca/base/Makefile.am (revision 7092)
+++ opal/mca/base/Makefile.am (working copy)
@@ -21,7 +21,8 @@
 
 AM_CPPFLAGS = \
         -DOMPI_PKGLIBDIR=\"$(pkglibdir)\" \
- -DOMPI_SYSCONFDIR=\"$(sysconfdir)\"
+ -DOMPI_SYSCONFDIR=\"$(sysconfdir)\" \
+ -I$(top_srcdir)/opal/libltdl
 AM_LFLAGS = -Pmca_base_yy
 LEX_OUTPUT_ROOT = lex.mca_base_yy
 

        * ompi/mpi/f90/Makefile.am: remove built header.
        
Index: ompi/mpi/f90/Makefile.am
===================================================================
--- ompi/mpi/f90/Makefile.am (revision 7092)
+++ ompi/mpi/f90/Makefile.am (working copy)
@@ -93,6 +93,8 @@
 
 mpi-f90-interfaces.h: fortran_kinds.sh
 
+CLEANFILES += mpi-f90-interfaces.h
+
 # Run scripts to generate the f90 source files. We only need to
 # generate the .f90 files once, so the "test" checks to see if the
 # file exists before running the script. However, the