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) 2008-2009 Cisco Systems, Inc. All rights reserved.
|
||||||
dnl Copyright (c) 2015 Research Organization for Information Science
|
dnl Copyright (c) 2015 Research Organization for Information Science
|
||||||
dnl and Technology (RIST). All rights reserved.
|
dnl and Technology (RIST). All rights reserved.
|
||||||
|
dnl Copyright (c) 2017 IBM Corporation. All rights reserved.
|
||||||
dnl $COPYRIGHT$
|
dnl $COPYRIGHT$
|
||||||
dnl
|
dnl
|
||||||
dnl Additional copyrights may follow
|
dnl Additional copyrights may follow
|
||||||
@ -19,8 +20,10 @@ dnl
|
|||||||
# ----------------------------------------------------
|
# ----------------------------------------------------
|
||||||
AC_DEFUN([OPAL_CHECK_WITHDIR],[
|
AC_DEFUN([OPAL_CHECK_WITHDIR],[
|
||||||
AC_MSG_CHECKING([--with-$1 value])
|
AC_MSG_CHECKING([--with-$1 value])
|
||||||
AS_IF([test "$2" = "yes" || test "$2" = "no" || test "x$2" = "x"],
|
AS_IF([test "$2" = "no" ],
|
||||||
[AC_MSG_RESULT([simple ok (unspecified)])],
|
[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"],
|
[AS_IF([test ! -d "$2"],
|
||||||
[AC_MSG_RESULT([not found])
|
[AC_MSG_RESULT([not found])
|
||||||
AC_MSG_WARN([Directory $2 not found])
|
AC_MSG_WARN([Directory $2 not found])
|
||||||
@ -35,4 +38,6 @@ AC_DEFUN([OPAL_CHECK_WITHDIR],[
|
|||||||
)
|
)
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
]
|
||||||
|
)
|
||||||
])dnl
|
])dnl
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user