1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 16:18:48 -05:00

configure: rephrase the notice in _XC_CHECK_VAR_*

Instead of claiming it is an error, we call it a "note" to reduce the
severity level. But the following text now says the [variable] "*should*
only be used to specify"... instead of previously having said "may".
This commit is contained in:
Daniel Stenberg 2013-08-03 23:39:23 +02:00
parent 784336deec
commit 045ccb59a4

View File

@ -39,7 +39,7 @@ AC_DEFUN([_XC_CHECK_VAR_LIBS], [
done done
if test $xc_bad_var_libs = yes; then if test $xc_bad_var_libs = yes; then
AC_MSG_NOTICE([using LIBS: $LIBS]) AC_MSG_NOTICE([using LIBS: $LIBS])
AC_MSG_NOTICE([LIBS error: LIBS may only be used to specify libraries (-lname).]) AC_MSG_NOTICE([LIBS note: LIBS should only be used to specify libraries (-lname).])
fi fi
]) ])
@ -68,7 +68,7 @@ AC_DEFUN([_XC_CHECK_VAR_LDFLAGS], [
done done
if test $xc_bad_var_ldflags = yes; then if test $xc_bad_var_ldflags = yes; then
AC_MSG_NOTICE([using LDFLAGS: $LDFLAGS]) AC_MSG_NOTICE([using LDFLAGS: $LDFLAGS])
xc_bad_var_msg="LDFLAGS error: LDFLAGS may only be used to specify linker flags, not" xc_bad_var_msg="LDFLAGS note: LDFLAGS should only be used to specify linker flags, not"
for xc_word in $LDFLAGS; do for xc_word in $LDFLAGS; do
case "$xc_word" in case "$xc_word" in
-D*) -D*)
@ -110,7 +110,7 @@ AC_DEFUN([_XC_CHECK_VAR_CPPFLAGS], [
done done
if test $xc_bad_var_cppflags = yes; then if test $xc_bad_var_cppflags = yes; then
AC_MSG_NOTICE([using CPPFLAGS: $CPPFLAGS]) AC_MSG_NOTICE([using CPPFLAGS: $CPPFLAGS])
xc_bad_var_msg="CPPFLAGS error: CPPFLAGS may only be used to specify C preprocessor flags, not" xc_bad_var_msg="CPPFLAGS note: CPPFLAGS should only be used to specify C preprocessor flags, not"
for xc_word in $CPPFLAGS; do for xc_word in $CPPFLAGS; do
case "$xc_word" in case "$xc_word" in
-rpath*) -rpath*)
@ -158,7 +158,7 @@ AC_DEFUN([_XC_CHECK_VAR_CFLAGS], [
done done
if test $xc_bad_var_cflags = yes; then if test $xc_bad_var_cflags = yes; then
AC_MSG_NOTICE([using CFLAGS: $CFLAGS]) AC_MSG_NOTICE([using CFLAGS: $CFLAGS])
xc_bad_var_msg="CFLAGS error: CFLAGS may only be used to specify C compiler flags, not" xc_bad_var_msg="CFLAGS note: CFLAGS should only be used to specify C compiler flags, not"
for xc_word in $CFLAGS; do for xc_word in $CFLAGS; do
case "$xc_word" in case "$xc_word" in
-D*) -D*)