X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=m4%2Fpsi%2Fpsi_const.m4;h=e3555838b69e9ac0901cd5327148f9369f6a8762;hb=refs%2Fheads%2Fmaster;hp=57edff4a39032d0ec5c08dbcfa5b0a114f675d7f;hpb=91f2f40eee4e1d1dd62ad5de06517f9b27b4aaee;p=m6w6%2Fext-psi diff --git a/m4/psi/psi_const.m4 b/m4/psi/psi_const.m4 index 57edff4..e355583 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 + ]) ])