1
1

The TargetConditionals.h check is specific to Java -- move it to

ompi_setup_java.m4.

This commit was SVN r29261.
Этот коммит содержится в:
Jeff Squyres 2013-09-26 21:34:00 +00:00
родитель 7c6ff00da5
Коммит 7941c81caa
2 изменённых файлов: 6 добавлений и 2 удалений

@ -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([support can be found])
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
AC_MSG_RESULT([no])
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 \
time.h termios.h ulimit.h unistd.h util.h utmp.h malloc.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 \
TargetConditionals.h])
ioLib.h sockLib.h hostLib.h shlwapi.h sys/synch.h limits.h db.h ndbm.h])
AC_CHECK_HEADERS([sys/mount.h], [], [],
[AC_INCLUDES_DEFAULT