X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=m4%2Fpsi%2Fpsi_const.m4;fp=m4%2Fpsi%2Fpsi_const.m4;h=e98561dced879e0d016f428157ed58a186774f21;hp=57edff4a39032d0ec5c08dbcfa5b0a114f675d7f;hb=21e56bfe786b2490cc02ba8b6b8275547171b048;hpb=91f2f40eee4e1d1dd62ad5de06517f9b27b4aaee diff --git a/m4/psi/psi_const.m4 b/m4/psi/psi_const.m4 index 57edff4..e98561d 100644 --- a/m4/psi/psi_const.m4 +++ b/m4/psi/psi_const.m4 @@ -17,16 +17,13 @@ dnl Check the value of a str/int constant and add it to the list of pre-defined dnl constants. AC_DEFUN(PSI_CONST, [ AC_CHECK_DECL($1, [ - if test "$psi_cv_const_$1" - then - case $2 in - str*) - psi_add_str_const "$1" - ;; - int) - psi_add_int_const "$1" - ;; - esac - fi + case $2 in + str*) + psi_add_str_const "$1" + ;; + int) + psi_add_int_const "$1" + ;; + esac ],, [PSI_INCLUDES]) ])