1
1

Going to need these files to support change to configure.ac

This commit was SVN r30499.
Этот коммит содержится в:
Ralph Castain 2014-01-30 11:36:44 +00:00
родитель e1f0af85aa
Коммит b84b8a2d52
2 изменённых файлов: 67 добавлений и 0 удалений

26
config/orcm_config_files.m4 Обычный файл
Просмотреть файл

@ -0,0 +1,26 @@
# -*- shell-script -*-
#
# Copyright (c) 2013 Intel, Inc. All rights reserved.
# $COPYRIGHT$
#
# Additional copyrights may follow
#
# $HEADER$
#
AC_DEFUN([ORCM_CONFIG_FILES],[
AC_CONFIG_FILES([
orcm/Makefile
orcm/etc/Makefile
orcm/include/Makefile
orcm/tools/orcmctrld/Makefile
orcm/tools/orcmd/Makefile
orcm/tools/ops/Makefile
orcm/tools/otop/Makefile
orcm/tools/orun/Makefile
orcm/tools/wrappers/Makefile
orcm/tools/wrappers/orcm.pc
orcm/tools/wrappers/orcmcc-wrapper-data.txt
])
])

41
config/orcm_configure_options.m4 Обычный файл
Просмотреть файл

@ -0,0 +1,41 @@
dnl -*- shell-script -*-
dnl
dnl Copyright (c) 2013 Intel, Inc. All rights reserved.
dnl
dnl $COPYRIGHT$
dnl
dnl Additional copyrights may follow
dnl
dnl $HEADER$
dnl
AC_DEFUN([ORCM_CONFIGURE_OPTIONS],[
orcm_show_subtitle "ORCM Configuration options"
#
# Disable ORCM?
#
AC_ARG_ENABLE([orcm],
[AC_HELP_STRING([--disable-orcm],
[Disable building the ORCM code])])
])dnl
AC_DEFUN([ORCM_LOAD_CONFIGURATION],[
if test "$with_platform" != "" ; then
AC_MSG_CHECKING([for config file])
# define an ORCM site configuration filename
platform_site_config_file="`basename $platform_loaded`.xml"
# look where platform file is located for platform.xml name
if test -r "${platform_file_dir}/${platform_site_config_file}" ; then
AC_SUBST(OPAL_SITE_CONFIG_FILE, [$platform_file_dir/$platform_site_config_file])
AC_MSG_RESULT([$platform_file_dir/$platform_site_config_file])
AC_SUBST(OPAL_SITE_CONFIG_FILE_FOUND, "yes")
else
AC_MSG_RESULT([no])
AC_SUBST(OPAL_SITE_CONFIG_FILE_FOUND, "no")
fi
fi
])dnl