
This merges the branch containing the revamped build system based around converting autogen from a bash script to a Perl program. Jeff has provided emails explaining the features contained in the change. Please note that configure requirements on components HAVE CHANGED. For example. a configure.params file is no longer required in each component directory. See Jeff's emails for an explanation. This commit was SVN r23764.
34 строки
847 B
Bash
34 строки
847 B
Bash
# -*- shell-script -*-
|
|
#
|
|
# Copyright (c) 2009-2010 Cisco Systems, Inc. All rights reserved.
|
|
#
|
|
# $COPYRIGHT$
|
|
#
|
|
# Additional copyrights may follow
|
|
#
|
|
# $HEADER$
|
|
#
|
|
AC_DEFUN([MCA_opal_sysinfo_linux_PRIORITY], [60])
|
|
|
|
# MCA_sysinfo_linux_CONFIG(action-if-can-compile,
|
|
# [action-if-cant-compile])
|
|
# ------------------------------------------------
|
|
AC_DEFUN([MCA_opal_sysinfo_linux_CONFIG],[
|
|
AC_CONFIG_FILES([opal/mca/sysinfo/linux/Makefile])
|
|
|
|
case "${host}" in
|
|
i?86-*|x86_64*|ia64-*|powerpc-*|powerpc64-*|sparc*-*)
|
|
AS_IF([test -r "/proc/cpuinfo"],
|
|
[sysinfo_linux_happy="yes"],
|
|
[sysinfo_linux_happy="no"])
|
|
;;
|
|
*)
|
|
sysinfo_linux_happy="no"
|
|
;;
|
|
esac
|
|
|
|
AS_IF([test "$sysinfo_linux_happy" = "yes"],
|
|
[$1],
|
|
[$2])
|
|
])
|