configure: fix consts; rel paths for lemon; stabilize
[m6w6/ext-psi] / m4 / psi / psi_const.m4
index 57edff4a39032d0ec5c08dbcfa5b0a114f675d7f..e98561dced879e0d016f428157ed58a186774f21 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
+               case $2 in
+               str*)
+                       psi_add_str_const "$1"
+                       ;;
+               int)
+                       psi_add_int_const "$1"
+                       ;;
+               esac
        ],, [PSI_INCLUDES])
 ])