config/withdir: Make case for --without-X more clear
* Will display a message acknowledging the configure setting instead of 'simple ok' which is misleading. Signed-off-by: Joshua Hursey <jhursey@us.ibm.com>
Этот коммит содержится в:
родитель
39a83a25c1
Коммит
fe97d3ef5a
@ -8,6 +8,7 @@ dnl reserved.
|
||||
dnl Copyright (c) 2008-2009 Cisco Systems, Inc. All rights reserved.
|
||||
dnl Copyright (c) 2015 Research Organization for Information Science
|
||||
dnl and Technology (RIST). All rights reserved.
|
||||
dnl Copyright (c) 2017 IBM Corporation. All rights reserved.
|
||||
dnl $COPYRIGHT$
|
||||
dnl
|
||||
dnl Additional copyrights may follow
|
||||
@ -19,8 +20,10 @@ dnl
|
||||
# ----------------------------------------------------
|
||||
AC_DEFUN([OPAL_CHECK_WITHDIR],[
|
||||
AC_MSG_CHECKING([--with-$1 value])
|
||||
AS_IF([test "$2" = "yes" || test "$2" = "no" || test "x$2" = "x"],
|
||||
[AC_MSG_RESULT([simple ok (unspecified)])],
|
||||
AS_IF([test "$2" = "no" ],
|
||||
[AC_MSG_RESULT([simple no (specified --without-$1)])],
|
||||
[AS_IF([test "$2" = "yes" || test "x$2" = "x"],
|
||||
[AC_MSG_RESULT([simple ok (unspecified value)])],
|
||||
[AS_IF([test ! -d "$2"],
|
||||
[AC_MSG_RESULT([not found])
|
||||
AC_MSG_WARN([Directory $2 not found])
|
||||
@ -35,4 +38,6 @@ AC_DEFUN([OPAL_CHECK_WITHDIR],[
|
||||
)
|
||||
]
|
||||
)
|
||||
]
|
||||
)
|
||||
])dnl
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user