We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4725022 commit fc52248Copy full SHA for fc52248
2 files changed
configure
@@ -4263,7 +4263,7 @@ fi
4263
# Detect OS
4264
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OS is FreeBSD" >&5
4265
$as_echo_n "checking whether OS is FreeBSD... " >&6; }
4266
-if test "x$host_os" = "x*FreeBSD*"; then :
+if expr "$host_os" : ".*freebsd.*" > /dev/null; then :
4267
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4268
$as_echo "yes" >&6; }
4269
LIBS="-lexecinfo $LIBS"
configure.ac
@@ -74,7 +74,7 @@ AC_ARG_ENABLE(qt-dbus,
74
75
76
AC_MSG_CHECKING([whether OS is FreeBSD])
77
-AS_IF([test "x$host_os" = "x*FreeBSD*"],
+AS_IF([expr "$host_os" : ".*freebsd.*" > /dev/null],
78
[AC_MSG_RESULT([yes])
79
LIBS="-lexecinfo $LIBS"],
80
[AC_MSG_RESULT([no])])
0 commit comments