No need to have this AC_ARG_WITH in every component configure.m4 -- just put it up in the framework-level configure.m4.
This commit was SVN r23890.
Этот коммит содержится в:
родитель
66d15035ab
Коммит
e09bbb49a9
@ -33,10 +33,6 @@ AC_DEFUN([MCA_opal_timer_aix_COMPILE_MODE], [
|
||||
AC_DEFUN([MCA_opal_timer_aix_CONFIG],[
|
||||
AC_CONFIG_FILES([opal/mca/timer/aix/Makefile])
|
||||
|
||||
AC_ARG_WITH([timer],
|
||||
[AC_HELP_STRING([--with-timer=TYPE],
|
||||
[Build high resolution timer component TYPE])])
|
||||
|
||||
AS_IF([test "$with_timer" = "aix"],
|
||||
[timer_aix_happy="yes"
|
||||
timer_aix_should_use=1],
|
||||
|
@ -32,10 +32,6 @@ AC_DEFUN([MCA_opal_timer_altix_COMPILE_MODE], [
|
||||
AC_DEFUN([MCA_opal_timer_altix_CONFIG],[
|
||||
AC_CONFIG_FILES([opal/mca/timer/altix/Makefile])
|
||||
|
||||
AC_ARG_WITH([timer],
|
||||
[AC_HELP_STRING([--with-timer=TYPE],
|
||||
[Build high resolution timer component TYPE])])
|
||||
|
||||
AS_IF([test "$with_timer" = "altix"],
|
||||
[timer_altix_happy="yes"
|
||||
timer_altix_should_use=1],
|
||||
|
@ -32,10 +32,6 @@ AC_DEFUN([MCA_opal_timer_catamount_COMPILE_MODE], [
|
||||
AC_DEFUN([MCA_opal_timer_catamount_CONFIG],[
|
||||
AC_CONFIG_FILES([opal/mca/timer/catamount/Makefile])
|
||||
|
||||
AC_ARG_WITH([timer],
|
||||
[AC_HELP_STRING([--with-timer=TYPE],
|
||||
[Build high resolution timer component TYPE])])
|
||||
|
||||
AS_IF([test "$with_timer" = "catamount"],
|
||||
[timer_catamount_happy="yes"
|
||||
timer_catamount_should_use=1],
|
||||
|
@ -10,6 +10,7 @@ dnl Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
||||
dnl University of Stuttgart. All rights reserved.
|
||||
dnl Copyright (c) 2004-2005 The Regents of the University of California.
|
||||
dnl All rights reserved.
|
||||
dnl Copyright (c) 2010 Cisco Systems, Inc. All rights reserved.
|
||||
dnl $COPYRIGHT$
|
||||
dnl
|
||||
dnl Additional copyrights may follow
|
||||
@ -23,6 +24,11 @@ m4_define(MCA_opal_timer_CONFIGURE_MODE, STOP_AT_FIRST)
|
||||
AC_DEFUN([MCA_opal_timer_CONFIG],[
|
||||
timer_base_include=
|
||||
|
||||
# All components look at this value
|
||||
AC_ARG_WITH([timer],
|
||||
[AC_HELP_STRING([--with-timer=TYPE],
|
||||
[Build high resolution timer component TYPE])])
|
||||
|
||||
# first, compile all the components
|
||||
MCA_CONFIGURE_FRAMEWORK($1, $2, 1)
|
||||
|
||||
|
@ -32,10 +32,6 @@ AC_DEFUN([MCA_opal_timer_darwin_COMPILE_MODE], [
|
||||
AC_DEFUN([MCA_opal_timer_darwin_CONFIG],[
|
||||
AC_CONFIG_FILES([opal/mca/timer/darwin/Makefile])
|
||||
|
||||
AC_ARG_WITH([timer],
|
||||
[AC_HELP_STRING([--with-timer=TYPE],
|
||||
[Build high resolution timer component TYPE])])
|
||||
|
||||
AS_IF([test "$with_timer" = "darwin"],
|
||||
[timer_darwin_happy="yes"
|
||||
timer_darwin_should_use=1],
|
||||
|
@ -32,10 +32,6 @@ AC_DEFUN([MCA_opal_timer_linux_COMPILE_MODE], [
|
||||
AC_DEFUN([MCA_opal_timer_linux_CONFIG],[
|
||||
AC_CONFIG_FILES([opal/mca/timer/linux/Makefile])
|
||||
|
||||
AC_ARG_WITH([timer],
|
||||
[AC_HELP_STRING([--with-timer=TYPE],
|
||||
[Build high resolution timer component TYPE])])
|
||||
|
||||
AS_IF([test "$with_timer" = "linux"],
|
||||
[timer_linux_happy="yes"
|
||||
timer_linux_should_use=1],
|
||||
|
@ -32,10 +32,6 @@ AC_DEFUN([MCA_opal_timer_solaris_COMPILE_MODE], [
|
||||
AC_DEFUN([MCA_opal_timer_solaris_CONFIG],[
|
||||
AC_CONFIG_FILES([opal/mca/timer/solaris/Makefile])
|
||||
|
||||
AC_ARG_WITH([timer],
|
||||
[AC_HELP_STRING([--with-timer=TYPE],
|
||||
[Build high resolution timer component TYPE])])
|
||||
|
||||
AS_IF([test "$with_timer" = "solaris"],
|
||||
[timer_solaris_happy="yes"
|
||||
timer_solaris_should_use=1],
|
||||
|
@ -32,10 +32,6 @@ AC_DEFUN([MCA_opal_timer_windows_COMPILE_MODE], [
|
||||
AC_DEFUN([MCA_opal_timer_windows_CONFIG],[
|
||||
AC_CONFIG_FILES([opal/mca/timer/windows/Makefile])
|
||||
|
||||
AC_ARG_WITH([timer],
|
||||
[AC_HELP_STRING([--with-timer=TYPE],
|
||||
[Build high resolution timer component TYPE])])
|
||||
|
||||
AS_IF([test "$with_timer" = "windows"],
|
||||
[timer_windows_happy="yes"
|
||||
timer_windows_should_use=1],
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user