Gah! Fix confusion about what files are in the source tree and what
files are in the build tree. This commit was SVN r26023.
Этот коммит содержится в:
родитель
e1d4eb3248
Коммит
9c8b2a3489
@ -169,16 +169,16 @@ AC_DEFUN([_OPAL_SETUP_LIBLTDL_INTERNAL],[
|
|||||||
CPPFLAGS_save="$CPPFLAGS"
|
CPPFLAGS_save="$CPPFLAGS"
|
||||||
CPPFLAGS="-I."
|
CPPFLAGS="-I."
|
||||||
# Must specifically mention $srcdir here for VPATH builds
|
# Must specifically mention $srcdir here for VPATH builds
|
||||||
|
# (this file is in the src tree).
|
||||||
AC_EGREP_HEADER([lt_dladvise_init], [$srcdir/opal/libltdl/ltdl.h],
|
AC_EGREP_HEADER([lt_dladvise_init], [$srcdir/opal/libltdl/ltdl.h],
|
||||||
[OPAL_HAVE_LTDL_ADVISE=1])
|
[OPAL_HAVE_LTDL_ADVISE=1])
|
||||||
CPPFLAGS="$CPPFLAGS_save"
|
CPPFLAGS="$CPPFLAGS_save"
|
||||||
|
|
||||||
# Arrgh. This is gross. But I can't think of any other
|
# Arrgh. This is gross. But I can't think of any other way
|
||||||
# way to do it. :-(
|
# to do it. :-( These files are in the build tree; don't list
|
||||||
# Must specifically mention $srcdir here for VPATH builds
|
# $srcdir here.
|
||||||
flags=`$EGREP ^LIBADD_DL $srcdir/opal/libltdl/Makefile | cut -d= -f2-`
|
flags=`$EGREP ^LIBADD_DL opal/libltdl/Makefile | cut -d= -f2-`
|
||||||
# Must specifically mention $srcdir here for VPATH builds
|
OMPI_CHECK_LINKER_FLAGS([opal/libltdl/libtool],
|
||||||
OMPI_CHECK_LINKER_FLAGS([$srcdir/opal/libltdl/libtool],
|
|
||||||
[-export-dynamic $flags])
|
[-export-dynamic $flags])
|
||||||
|
|
||||||
WRAPPER_EXTRA_LIBS="$WRAPPER_EXTRA_LIBS $extra_ldflags"
|
WRAPPER_EXTRA_LIBS="$WRAPPER_EXTRA_LIBS $extra_ldflags"
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user