build cleanup
[m6w6/ext-psi] / m4 / psi / psi_const.m4
index 57edff4a39032d0ec5c08dbcfa5b0a114f675d7f..e3555838b69e9ac0901cd5327148f9369f6a8762 100644 (file)
@@ -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
+       ])
 ])