X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=m4%2Fpsi%2Fpsi_const.m4;h=98aeed4054f0612a38fa29bfd1ab94e8b12e40a2;hp=57edff4a39032d0ec5c08dbcfa5b0a114f675d7f;hb=216e7ac3b97aed5a5d65c511dc061c78be90e79d;hpb=91f2f40eee4e1d1dd62ad5de06517f9b27b4aaee diff --git a/m4/psi/psi_const.m4 b/m4/psi/psi_const.m4 index 57edff4..98aeed4 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 - ],, [PSI_INCLUDES]) + case $2 in + str*) + psi_add_str_const "$1" + ;; + int) + psi_add_int_const "$1" + ;; + esac + ],, PSI_INCLUDES) ])