mirror of
https://github.com/cookiengineer/audacity
synced 2026-01-12 07:35:51 +01:00
Correctly quote AC_MSG_ERROR message.
configure will crash instead of showing the error message if the text contains a comma and is not quoted.
This commit is contained in:
@@ -276,7 +276,7 @@ dnl-------------------------------------------------------------
|
||||
dnl wxWidgets -- we assume that if wx-config is found, wxWidgets is successfully installed.
|
||||
AC_PATH_PROG(WX_CONFIG, wx-config, no, $PATH:/usr/local/bin )
|
||||
if [[ "$WX_CONFIG" = "no" ]] ; then
|
||||
AC_MSG_ERROR("Could not find wx-config: is wxWidgets installed? is wx-config in your path?")
|
||||
AC_MSG_ERROR([Could not find wx-config: is wxWidgets installed? is wx-config in your path?])
|
||||
fi
|
||||
|
||||
if test "x$debug_preference" = "xyes"; then
|
||||
@@ -398,7 +398,7 @@ for lib in $LIBRARIES ; do
|
||||
elif test "$LIB_ARGUMENT" = no ; then
|
||||
AC_MSG_NOTICE([disabling $lib at your request])
|
||||
else
|
||||
AC_MSG_ERROR(I did not understand the argument $LIB_ARGUMENT for $lib)
|
||||
AC_MSG_ERROR([I did not understand the argument $LIB_ARGUMENT for $lib])
|
||||
fi
|
||||
fi
|
||||
done
|
||||
@@ -593,12 +593,12 @@ case "${host_os}" in
|
||||
dnl On Unix we always use dlopen
|
||||
AC_SEARCH_LIBS([dlopen], [dl])
|
||||
if [[ "$ac_cv_search_dlopen" = no ]]; then
|
||||
AC_MSG_ERROR(dlopen not found, required by Audacity)
|
||||
AC_MSG_ERROR([dlopen not found, required by Audacity])
|
||||
fi
|
||||
|
||||
AC_SEARCH_LIBS([XML_ParserCreate], [expat])
|
||||
if [[ "$ac_cv_search_expat" = no ]]; then
|
||||
AC_MSG_ERROR(expat not found, required by Audacity)
|
||||
AC_MSG_ERROR([expat not found, required by Audacity])
|
||||
fi
|
||||
|
||||
AC_SUBST(HAVE_GTK)
|
||||
|
||||
Reference in New Issue
Block a user