The TargetConditionals.h check is specific to Java -- move it to
ompi_setup_java.m4. This commit was SVN r29261.
Этот коммит содержится в:
родитель
7c6ff00da5
Коммит
7941c81caa
@ -67,6 +67,11 @@ AC_DEFUN([OMPI_SETUP_JAVA_BINDINGS],[
|
|||||||
AC_MSG_WARN([Please reconfigure the --with-jdk options to where Java])
|
AC_MSG_WARN([Please reconfigure the --with-jdk options to where Java])
|
||||||
AC_MSG_WARN([support can be found])
|
AC_MSG_WARN([support can be found])
|
||||||
AC_MSG_ERROR([Cannot continue])])
|
AC_MSG_ERROR([Cannot continue])])
|
||||||
|
|
||||||
|
# Mac Java requires this file (i.e., some other Java-related
|
||||||
|
# header file needs this file, so we need to check for
|
||||||
|
# it/include it in our sources when compiling on Mac).
|
||||||
|
AC_CHECK_HEADERS([TargetConditionals.h])
|
||||||
else
|
else
|
||||||
AC_MSG_RESULT([no])
|
AC_MSG_RESULT([no])
|
||||||
WANT_MPI_JAVA_SUPPORT=0
|
WANT_MPI_JAVA_SUPPORT=0
|
||||||
|
@ -612,8 +612,7 @@ AC_CHECK_HEADERS([alloca.h aio.h arpa/inet.h dirent.h \
|
|||||||
sys/types.h sys/uio.h net/uio.h sys/utsname.h sys/vfs.h sys/wait.h syslog.h \
|
sys/types.h sys/uio.h net/uio.h sys/utsname.h sys/vfs.h sys/wait.h syslog.h \
|
||||||
time.h termios.h ulimit.h unistd.h util.h utmp.h malloc.h \
|
time.h termios.h ulimit.h unistd.h util.h utmp.h malloc.h \
|
||||||
ifaddrs.h crt_externs.h regex.h signal.h \
|
ifaddrs.h crt_externs.h regex.h signal.h \
|
||||||
ioLib.h sockLib.h hostLib.h shlwapi.h sys/synch.h limits.h db.h ndbm.h \
|
ioLib.h sockLib.h hostLib.h shlwapi.h sys/synch.h limits.h db.h ndbm.h])
|
||||||
TargetConditionals.h])
|
|
||||||
|
|
||||||
AC_CHECK_HEADERS([sys/mount.h], [], [],
|
AC_CHECK_HEADERS([sys/mount.h], [], [],
|
||||||
[AC_INCLUDES_DEFAULT
|
[AC_INCLUDES_DEFAULT
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user